@univerjs-pro/sheets-chart-ui 0.8.1-nightly.202506131607 → 0.8.1-nightly.202506151606

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.
@@ -1 +1 @@
1
- 'use strict';const _0x2ff2aa=_0x2afe;(function(_0x4e5141,_0x264aa7){const _0x598a44=_0x2afe,_0x41af2b=_0x4e5141();while(!![]){try{const _0x43e87b=parseInt(_0x598a44(0x1a7))/0x1*(parseInt(_0x598a44(0x195))/0x2)+-parseInt(_0x598a44(0x1cd))/0x3+parseInt(_0x598a44(0x199))/0x4*(-parseInt(_0x598a44(0x175))/0x5)+parseInt(_0x598a44(0x1f1))/0x6*(-parseInt(_0x598a44(0x1c9))/0x7)+parseInt(_0x598a44(0x18e))/0x8+-parseInt(_0x598a44(0x1ab))/0x9+-parseInt(_0x598a44(0x17d))/0xa*(-parseInt(_0x598a44(0x1e9))/0xb);if(_0x43e87b===_0x264aa7)break;else _0x41af2b['push'](_0x41af2b['shift']());}catch(_0x393fa2){_0x41af2b['push'](_0x41af2b['shift']());}}}(_0x492f,0x21dcc));function _0x492f(){const _0x5562be=['日期格式將日期和時間系列數值顯示為日期值。','空心三角形','佈局類型','線類型','百分比堆疊','圓角矩形','2068FWrvFK','指示線','標籤旋轉','X軸標題','堆疊方式','力導向','標籤位置','()','84792XOdHGJ','氣泡圖','漸變填充','副標題','貨幣類型','趨勢線粗細','小數位數','堆疊條形圖','用直線連接數據點','使用日期軸','日期類型','顯示標籤線','{0}\x20大小','氣泡大小','數據點','負數類型','隱藏圖表面板','空心針形','類別\x20{0}','正值圖例文本','214355RFbDmS','添加趨勢線','顯示軸線','堆疊面積圖','指示線類型','多邊形','更多設置','格式類型','26430guNoww','空心矩形','圖表樣式','系列\x20{0}','水平軸','指示線顏色','詞雲圖','標題文本','自定義圖表','股票圖','顯示數據標籤','右Y軸標題','標題位置','{0}\x20顏色','背景顏色','趨勢線','空心箭頭','17552FzTZpE','右對齊','負值圖例文本','小計圖例文本','累積占比','圖表類型','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','116922jkkWSI','字段設置','右垂直軸','請先添加系列開始數據可視化','16cqZqer','正方形','瀑布圖','標籤文本','關係圖','exports','趨勢線顏色','趨勢線線類型','常規格式不包含任何特定的數字格式。','面積圖','{0}\x20形狀','移動平均周期','百分比堆疊條形圖','小計樣式','4VCknTl','三角形','顯示空單元格為','添加系列','1051803TPaiaY','空心菱形','插入圖表','漏斗圖','刻度線位置','多項式','詞雲形狀','圖表邊框顏色','顯示標籤','{0}\x20類型','添加數據點','顯示R平方','主標題','圖例選擇模式','組合圖','開啟選中淡入特效','環形圖','網格線和刻度線','重複詞雲標籤','最小值','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','使用絕對值','使用\x20{0}\x20作為類別標籤','圓環孔','長條圖系列','百分比','柱狀圖','設置圖表','數據點樣式','多項式階數','56fVJVhH','累積占比系列','空心正方形','主刻度線','578445GAakhw','標題對齊','{0}\x20透明度','{0}\x20粗細','千分位符','負值樣式','垂直軸','散點圖','折線圖','圖表數據源必須包含多於1行和1列。','編輯圖表','數據範圍','顯示小計','使用右軸','雷達圖','節點距離','圖表和軸標題','扇形間距','百分比堆疊面積圖','指示值','趨勢線類型','Y軸標題'];_0x492f=function(){return _0x5562be;};return _0x492f();}const e={'chart':{'insertChart':_0x2ff2aa(0x1ad),'editChart':_0x2ff2aa(0x1d7),'openChartPanel':'打開圖表面板','deleteChart':'刪除圖表','hideChartPanel':_0x2ff2aa(0x171),'setupChart':_0x2ff2aa(0x1c6),'customChart':_0x2ff2aa(0x185),'default':'默認','reset':'重置','chartType':_0x2ff2aa(0x193),'themes':'主題','dataRange':_0x2ff2aa(0x1d8),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x2ff2aa(0x1aa),'moreSettings':_0x2ff2aa(0x17b),'min':_0x2ff2aa(0x1be),'max':'最大值','invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x2ff2aa(0x169)},'blank':_0x2ff2aa(0x1f0),'seriesBlock':{'format':'格式','dataPointStyle':_0x2ff2aa(0x1c7)},'backgroundColor':_0x2ff2aa(0x18b),'chartBorderColor':_0x2ff2aa(0x1b2),'titles':{'title':'標題','mainTitle':_0x2ff2aa(0x1b7),'subTitle':_0x2ff2aa(0x1f4),'xAxisTitle':_0x2ff2aa(0x1ec),'yAxisTitle':_0x2ff2aa(0x1e2),'rightYAxisTitle':_0x2ff2aa(0x188),'titleFormat':'標題格式','titleText':_0x2ff2aa(0x184),'titlePosition':_0x2ff2aa(0x189),'titleAlign':_0x2ff2aa(0x1ce)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x2ff2aa(0x1f3),'settingsLabels':{'switchToRowOrColumn':'切換行或列','useAsCategoryLabels':_0x2ff2aa(0x1c1),'showEmptyCellsAs':_0x2ff2aa(0x1a9)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':_0x2ff2aa(0x18f)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x2ff2aa(0x17f),'chartAndAxisTitles':_0x2ff2aa(0x1dd),'legend':'圖例','legendSelectMode':_0x2ff2aa(0x1b8),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':_0x2ff2aa(0x181),'verticalAxis':_0x2ff2aa(0x1d3),'rightVerticalAxis':_0x2ff2aa(0x197),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x2ff2aa(0x1da)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x2ff2aa(0x1bc),'indicatorLine':_0x2ff2aa(0x1ea),'indicatorLineType':_0x2ff2aa(0x179),'indicatorLineColor':_0x2ff2aa(0x182),'indicatorLabel':'指示標籤','indicatorValue':_0x2ff2aa(0x1e0),'shape':{'polygon':_0x2ff2aa(0x17a),'circle':'圓形','square':_0x2ff2aa(0x19a),'triangle':_0x2ff2aa(0x1a8),'diamond':'菱形','rect':'矩形','roundRect':_0x2ff2aa(0x1e8),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x2ff2aa(0x1cb),'emptyTriangle':_0x2ff2aa(0x1e4),'emptyDiamond':_0x2ff2aa(0x1ac),'emptyRect':_0x2ff2aa(0x17e),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x2ff2aa(0x172),'emptyArrow':_0x2ff2aa(0x18d)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x2ff2aa(0x1cf),'withColor':_0x2ff2aa(0x18a),'withThickness':_0x2ff2aa(0x1d0),'withType':_0x2ff2aa(0x1b4),'withSize':_0x2ff2aa(0x16d),'withShape':_0x2ff2aa(0x1a3),'withFormat':'{0}\x20格式','dataPoint':_0x2ff2aa(0x16f),'addDataPoint':_0x2ff2aa(0x1b5),'point':_0x2ff2aa(0x16f),'percentage':_0x2ff2aa(0x1c4),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x2ff2aa(0x1e7)},'lineDashType':_0x2ff2aa(0x1e6),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':'網格線'},'ticks':{'majorTick':_0x2ff2aa(0x1cc),'tickPosition':_0x2ff2aa(0x1af),'tickLength':'刻度線長度'},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x2ff2aa(0x180),'categoryDefaultName':_0x2ff2aa(0x173),'styleEditPanel':{'showLabels':_0x2ff2aa(0x1b3),'showDataLabels':_0x2ff2aa(0x187),'padAngle':_0x2ff2aa(0x1de),'halfPie':'半餅','rosePie':'玫瑰圖','showLabelLine':_0x2ff2aa(0x16c),'reverseAxisOrder':'逆序軸','showAxisLine':_0x2ff2aa(0x177),'labelPosition':_0x2ff2aa(0x1ef),'labelText':_0x2ff2aa(0x19c),'repeatWordCould':_0x2ff2aa(0x1bd),'gap':'間隔','useAbsValue':_0x2ff2aa(0x1c0),'labelRotate':_0x2ff2aa(0x1eb),'wordCloudShape':_0x2ff2aa(0x1b1),'useDateAxis':_0x2ff2aa(0x16a),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x2ff2aa(0x1c2),'msg':{'invalidSource':_0x2ff2aa(0x1d6),'emptyTips':_0x2ff2aa(0x198)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x2ff2aa(0x18c),'displayName':'趨勢線名稱','addTrendLine':_0x2ff2aa(0x176),'trendlineType':_0x2ff2aa(0x1e1),'trendlineName':'趨勢線名稱','trendlineColor':_0x2ff2aa(0x19f),'trendlineThickness':_0x2ff2aa(0x166),'trendlineDashType':_0x2ff2aa(0x1a0),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x2ff2aa(0x1b0),'order':_0x2ff2aa(0x1c8),'period':_0x2ff2aa(0x1a4),'showFormula':'顯示公式','showR2':_0x2ff2aa(0x1b6),'formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x2ff2aa(0x16e),'label':'氣泡標籤','emptyTips':'氣泡圖至少需要3列,X軸、Y軸和氣泡大小。'},'relation':{'title':_0x2ff2aa(0x19d),'auto':'自動','circular':'環形','force':_0x2ff2aa(0x1ee),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0x2ff2aa(0x1e5),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x2ff2aa(0x1dc),'rotateLabel':'旋轉標籤','emphasis':_0x2ff2aa(0x1ba),'emptyTips':'關係圖資料來源為額外新增類型列在第二列的共詞矩陣'},'waterfall':{'stackType':_0x2ff2aa(0x1ed),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x2ff2aa(0x1d9),'positiveStyle':'正值樣式','negativeStyle':_0x2ff2aa(0x1d2),'subtotalStyle':_0x2ff2aa(0x1a6),'positiveLegendText':_0x2ff2aa(0x174),'negativeLegendText':_0x2ff2aa(0x190),'subtotalLegendText':_0x2ff2aa(0x191)},'pareto':{'lineName':_0x2ff2aa(0x192),'lineSeries':_0x2ff2aa(0x1ca),'barSeries':_0x2ff2aa(0x1c3)}},'chartTypes':{'line':_0x2ff2aa(0x1d5),'area':_0x2ff2aa(0x1a2),'areaStacked':_0x2ff2aa(0x178),'areaPercentStacked':_0x2ff2aa(0x1df),'column':_0x2ff2aa(0x1c5),'bar':'條形圖','barStacked':_0x2ff2aa(0x168),'barPercentStacked':_0x2ff2aa(0x1a5),'pie':'餅圖','donut':_0x2ff2aa(0x1bb),'scatter':_0x2ff2aa(0x1d4),'radar':_0x2ff2aa(0x1db),'bubble':_0x2ff2aa(0x1f2),'stock':_0x2ff2aa(0x186),'combination':_0x2ff2aa(0x1b9),'wordCloud':_0x2ff2aa(0x183),'funnel':_0x2ff2aa(0x1ae),'relation':_0x2ff2aa(0x19d),'waterfall':_0x2ff2aa(0x19b),'pareto':'排列圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x2ff2aa(0x1d1),'fieldSetting':_0x2ff2aa(0x196),'formatTypes':_0x2ff2aa(0x17c),'confirm':'確定','cancel':'取消','generalDesc':_0x2ff2aa(0x1a1),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x2ff2aa(0x194),'dateDesc':_0x2ff2aa(0x1e3),'thousandthPercentileDesc':_0x2ff2aa(0x1bf),'decimalPlaces':_0x2ff2aa(0x167),'currencyTypes':_0x2ff2aa(0x165),'negativeNumberTypes':_0x2ff2aa(0x170),'dateTypes':_0x2ff2aa(0x16b)},'setFormat':'設置標籤格式'}};function _0x2afe(_0x4c37dc,_0x4a2db4){const _0x492f2f=_0x492f();return _0x2afe=function(_0x2afe03,_0x389a8f){_0x2afe03=_0x2afe03-0x165;let _0x1223cc=_0x492f2f[_0x2afe03];return _0x1223cc;},_0x2afe(_0x4c37dc,_0x4a2db4);}module[_0x2ff2aa(0x19e)]=e;
1
+ 'use strict';const _0x5c4253=_0x14cf;(function(_0x286832,_0x46da0b){const _0x119014=_0x14cf,_0x218a2e=_0x286832();while(!![]){try{const _0x241708=-parseInt(_0x119014(0x138))/0x1+-parseInt(_0x119014(0x111))/0x2*(-parseInt(_0x119014(0xce))/0x3)+-parseInt(_0x119014(0x13f))/0x4+-parseInt(_0x119014(0x13a))/0x5*(-parseInt(_0x119014(0x131))/0x6)+-parseInt(_0x119014(0x104))/0x7*(-parseInt(_0x119014(0xd9))/0x8)+parseInt(_0x119014(0x145))/0x9*(parseInt(_0x119014(0x144))/0xa)+-parseInt(_0x119014(0x12a))/0xb;if(_0x241708===_0x46da0b)break;else _0x218a2e['push'](_0x218a2e['shift']());}catch(_0x15bbbb){_0x218a2e['push'](_0x218a2e['shift']());}}}(_0x55d9,0x36659));function _0x14cf(_0x3daf88,_0x1c08e3){const _0x55d90a=_0x55d9();return _0x14cf=function(_0x14cf73,_0x5e7905){_0x14cf73=_0x14cf73-0xcd;let _0x1c88d1=_0x55d90a[_0x14cf73];return _0x1c88d1;},_0x14cf(_0x3daf88,_0x1c08e3);}const e={'chart':{'insertChart':_0x5c4253(0x10f),'editChart':_0x5c4253(0xd4),'openChartPanel':'打開圖表面板','deleteChart':_0x5c4253(0xf9),'hideChartPanel':_0x5c4253(0xe7),'setupChart':'設置圖表','customChart':_0x5c4253(0xcf),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x5c4253(0x103),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x5c4253(0xfe),'series':'系列','addSeries':'添加系列','moreSettings':_0x5c4253(0x108),'min':_0x5c4253(0x127),'max':'最大值','invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x5c4253(0x118)},'blank':_0x5c4253(0x120),'seriesBlock':{'format':'格式','dataPointStyle':_0x5c4253(0x141)},'backgroundColor':_0x5c4253(0xf3),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x5c4253(0xfb),'subTitle':'副標題','xAxisTitle':'X軸標題','yAxisTitle':_0x5c4253(0x12f),'rightYAxisTitle':_0x5c4253(0x12d),'titleFormat':_0x5c4253(0x10d),'titleText':_0x5c4253(0x13e),'titlePosition':_0x5c4253(0xde),'titleAlign':_0x5c4253(0xdd)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x5c4253(0x128),'settingsLabels':{'switchToRowOrColumn':'切換行或列','useAsCategoryLabels':_0x5c4253(0x126),'showEmptyCellsAs':_0x5c4253(0x110)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x5c4253(0xdb),'center':'居中','right':_0x5c4253(0xd3)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x5c4253(0x135),'chartAndAxisTitles':_0x5c4253(0xcd),'legend':'圖例','legendSelectMode':_0x5c4253(0x132),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'axes':{'axis':'軸','axisOptions':_0x5c4253(0x117),'horizontalAxis':_0x5c4253(0x105),'verticalAxis':'垂直軸','rightVerticalAxis':_0x5c4253(0xe8),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x5c4253(0xf7),'indicatorLine':'指示線','indicatorLineType':_0x5c4253(0xe1),'indicatorLineColor':_0x5c4253(0x130),'indicatorLabel':_0x5c4253(0xe5),'indicatorValue':'指示值','shape':{'polygon':_0x5c4253(0xda),'circle':'圓形','square':_0x5c4253(0xd6),'triangle':_0x5c4253(0x11f),'diamond':'菱形','rect':'矩形','roundRect':_0x5c4253(0x11a),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x5c4253(0xed),'emptySquare':_0x5c4253(0xd5),'emptyTriangle':_0x5c4253(0x140),'emptyDiamond':_0x5c4253(0xee),'emptyRect':'空心矩形','emptyRoundRect':_0x5c4253(0xf5),'emptyPin':_0x5c4253(0x12e),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x5c4253(0xd8),'withColor':_0x5c4253(0x13d),'withThickness':_0x5c4253(0x10c),'withType':_0x5c4253(0xf6),'withSize':_0x5c4253(0x101),'withShape':_0x5c4253(0x122),'withFormat':_0x5c4253(0x10a),'dataPoint':_0x5c4253(0x10e),'addDataPoint':'添加數據點','point':_0x5c4253(0x10e),'percentage':_0x5c4253(0x115),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x5c4253(0xd1)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x5c4253(0x13b)},'ticks':{'majorTick':'主刻度線','tickPosition':_0x5c4253(0x121),'tickLength':_0x5c4253(0xd0)},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x5c4253(0x11c),'categoryDefaultName':_0x5c4253(0x139),'styleEditPanel':{'showLabels':_0x5c4253(0xf4),'showDataLabels':_0x5c4253(0xd7),'padAngle':_0x5c4253(0x133),'halfPie':'半餅','rosePie':_0x5c4253(0xe0),'showLabelLine':_0x5c4253(0x11b),'reverseAxisOrder':'逆序軸','showAxisLine':'顯示軸線','labelPosition':_0x5c4253(0xf0),'labelText':'標籤文本','repeatWordCould':_0x5c4253(0x125),'gap':'間隔','useAbsValue':_0x5c4253(0x102),'labelRotate':'標籤旋轉','wordCloudShape':'詞雲形狀','useDateAxis':'使用日期軸','dateAxisTips':_0x5c4253(0xf8)},'radar':{'fill':'填充'},'doughnutHole':'圓環孔','msg':{'invalidSource':_0x5c4253(0x12b),'emptyTips':_0x5c4253(0xf1)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x5c4253(0x113),'displayName':_0x5c4253(0x143),'addTrendLine':_0x5c4253(0xe6),'trendlineType':'趨勢線類型','trendlineName':_0x5c4253(0x143),'trendlineColor':_0x5c4253(0x136),'trendlineThickness':_0x5c4253(0x146),'trendlineDashType':_0x5c4253(0xe4),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x5c4253(0xec),'poly':'多項式','order':'多項式階數','period':_0x5c4253(0x10b),'showFormula':'顯示公式','showR2':_0x5c4253(0x119),'formula':'公式','r2':_0x5c4253(0xff)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x5c4253(0xe2),'label':'氣泡標籤','emptyTips':_0x5c4253(0xe3)},'relation':{'title':_0x5c4253(0x107),'auto':'自動','circular':'環形','force':_0x5c4253(0xf2),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0x5c4253(0xfc),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':'旋轉標籤','emphasis':_0x5c4253(0x137),'emptyTips':_0x5c4253(0xef)},'waterfall':{'stackType':'堆疊方式','arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x5c4253(0xe9),'negativeStyle':'負值樣式','subtotalStyle':_0x5c4253(0x13c),'positiveLegendText':_0x5c4253(0xea),'negativeLegendText':_0x5c4253(0xeb),'subtotalLegendText':_0x5c4253(0x116)},'pareto':{'lineName':'累積占比','lineSeries':'累積占比系列','barSeries':_0x5c4253(0x11e)}},'chartTypes':{'line':'折線圖','area':_0x5c4253(0x109),'areaStacked':'堆疊面積圖','areaPercentStacked':'百分比堆疊面積圖','column':'柱狀圖','bar':_0x5c4253(0x142),'barStacked':_0x5c4253(0x123),'barPercentStacked':_0x5c4253(0xdf),'pie':'餅圖','donut':'環形圖','scatter':_0x5c4253(0x129),'radar':'雷達圖','bubble':'氣泡圖','stock':_0x5c4253(0x100),'combination':'組合圖','wordCloud':_0x5c4253(0x106),'funnel':_0x5c4253(0x114),'relation':_0x5c4253(0x107),'waterfall':_0x5c4253(0x12c),'pareto':_0x5c4253(0x134)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x5c4253(0xfd),'fieldSetting':_0x5c4253(0x112),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x5c4253(0xfa),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x5c4253(0xd2),'thousandthPercentileDesc':_0x5c4253(0x124),'decimalPlaces':'小數位數','currencyTypes':'貨幣類型','negativeNumberTypes':_0x5c4253(0xdc),'dateTypes':'日期類型'},'setFormat':'設置標籤格式'}};function _0x55d9(){const _0x5ca95c=['標籤位置','請先添加系列開始數據可視化','力導向','背景顏色','顯示標籤','空心圓角矩形','{0}\x20類型','網格線和刻度線','日期軸僅在數據全部為日期格式時可用','刪除圖表','常規格式不包含任何特定的數字格式。','主標題','佈局類型','千分位符','所有系列','R平方','股票圖','{0}\x20大小','使用絕對值','數據範圍','14yKjijK','水平軸','詞雲圖','關係圖','更多設置','面積圖','{0}\x20格式','移動平均周期','{0}\x20粗細','標題格式','數據點','插入圖表','顯示空單元格為','3570VCCAAj','字段設置','趨勢線','漏斗圖','百分比','小計圖例文本','軸選項','用直線連接數據點','顯示R平方','圓角矩形','顯示標籤線','系列\x20{0}','exports','長條圖系列','三角形','()','刻度線位置','{0}\x20形狀','堆疊條形圖','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','重複詞雲標籤','使用\x20{0}\x20作為類別標籤','最小值','漸變填充','散點圖','5067249Kerjcu','圖表數據源必須包含多於1行和1列。','瀑布圖','右Y軸標題','空心針形','Y軸標題','指示線顏色','1932SgkIWI','圖例選擇模式','扇形間距','排列圖','圖表樣式','趨勢線顏色','開啟選中淡入特效','262001CNXPtR','類別\x20{0}','3500JxmSmr','網格線','小計樣式','{0}\x20顏色','標題文本','111720VZorkx','空心三角形','數據點樣式','條形圖','趨勢線名稱','1340kKaPkV','16452kKsLxa','趨勢線粗細','圖表和軸標題','393WNnKKl','自定義圖表','刻度線長度','百分比堆疊','日期格式將日期和時間系列數值顯示為日期值。','右對齊','編輯圖表','空心正方形','正方形','顯示數據標籤','{0}\x20透明度','1076848JJQkZY','多邊形','左對齊','負數類型','標題對齊','標題位置','百分比堆疊條形圖','玫瑰圖','指示線類型','氣泡大小','氣泡圖至少需要3列,X軸、Y軸和氣泡大小。','趨勢線線類型','指示標籤','添加趨勢線','隱藏圖表面板','右垂直軸','正值樣式','正值圖例文本','負值圖例文本','移動平均','空心圓形','空心菱形','關係圖資料來源為額外新增類型列在第二列的共詞矩陣'];_0x55d9=function(){return _0x5ca95c;};return _0x55d9();}module[_0x5c4253(0x11d)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x4b6515=_0x152d;(function(_0xc964a3,_0x4501d5){const _0x978342=_0x152d,_0x98e05a=_0xc964a3();while(!![]){try{const _0x17c7e4=-parseInt(_0x978342(0x1d5))/0x1*(parseInt(_0x978342(0x1ed))/0x2)+parseInt(_0x978342(0x1e8))/0x3+-parseInt(_0x978342(0x181))/0x4*(parseInt(_0x978342(0x203))/0x5)+-parseInt(_0x978342(0x1a6))/0x6*(-parseInt(_0x978342(0x18b))/0x7)+-parseInt(_0x978342(0x1da))/0x8+parseInt(_0x978342(0x1db))/0x9*(-parseInt(_0x978342(0x22e))/0xa)+parseInt(_0x978342(0x210))/0xb;if(_0x17c7e4===_0x4501d5)break;else _0x98e05a['push'](_0x98e05a['shift']());}catch(_0x154918){_0x98e05a['push'](_0x98e05a['shift']());}}}(_0x2d90,0x2ff9c));var b=Object[_0x4b6515(0x19b)],k=(_0x5dfd6d,_0x5aa365,_0x3ad59b)=>_0x5aa365 in _0x5dfd6d?b(_0x5dfd6d,_0x5aa365,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ad59b}):_0x5dfd6d[_0x5aa365]=_0x3ad59b,n=(_0x1cd3c4,_0x2dd00f,_0x4d54fa)=>k(_0x1cd3c4,typeof _0x2dd00f!=_0x4b6515(0x1cc)?_0x2dd00f+'':_0x2dd00f,_0x4d54fa);import{ChartThemeService as _0x488ac3,ChartTypeBits as _0x4e3169,LegendPositionEnum as _0x9b1e58,SelectModeEnum as _0x10157c,AxisAlignEnum as _0x5ead45,ChartBorderDashType as _0x488209,LinePointShape as _0x17d9ee,TitlePositionEnum as _0x121bad,RadarShape as _0x1d8206}from'@univerjs-pro/engine-chart';import{setProperty as _0x492e1a,SheetsChartService as _0x551658,ChartUpdateSourceCommand as _0x52a2c6,ChartUpdateConfigCommand as _0x1f4862}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x4ad268}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x10a8f1,IUniverInstanceService as _0x2c99a1,UniverInstanceType as _0x21262e,generateRandomId as _0x2b2d6a,DrawingTypeEnum as _0x17da67}from'@univerjs/core';function _0x152d(_0x1bdad8,_0x3ad820){const _0x2d90d0=_0x2d90();return _0x152d=function(_0x152d34,_0xfbcc3a){_0x152d34=_0x152d34-0x173;let _0x4b4e2f=_0x2d90d0[_0x152d34];return _0x4b4e2f;},_0x152d(_0x1bdad8,_0x3ad820);}import{RemoveSheetDrawingCommand as _0x4536a8}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x53fa34}from'@univerjs/sheets/facade';import{FBase as _0xfd98ad,FEnum as _0x1ecd2b}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x35fc70}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4c37f6}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0xa6d721,SheetSkeletonManagerService as _0x23d49c,convertPositionCellToSheetOverGrid as _0x210d0d}from'@univerjs/sheets-ui';const s=(_0x4ab3f9,_0x1fa49f,_0x11efd4)=>{_0x11efd4!==void 0x0&&_0x492e1a(_0x4ab3f9,_0x1fa49f,_0x11efd4);},C=(_0x1cded2,_0x102e24,_0x4d3684,_0x5a5cac={})=>{const _0x52b4ec=_0x4b6515,_0x36ef1d={},_0x54f5a3={};if(_0x5a5cac[_0x52b4ec(0x1b5)]){const _0x396623=_0x5a5cac[_0x52b4ec(0x1b5)];s(_0x36ef1d,_0x52b4ec(0x177),_0x396623[_0x52b4ec(0x235)]),s(_0x36ef1d,_0x52b4ec(0x19d),_0x396623['font']),s(_0x36ef1d,'titles.title.fontSize',_0x396623[_0x52b4ec(0x17e)]),s(_0x36ef1d,_0x52b4ec(0x1a7),_0x396623[_0x52b4ec(0x1ad)]),s(_0x36ef1d,_0x52b4ec(0x225),_0x396623[_0x52b4ec(0x18e)]),s(_0x36ef1d,_0x52b4ec(0x1c1),_0x396623['bold']),s(_0x36ef1d,_0x52b4ec(0x187),_0x396623[_0x52b4ec(0x176)]),s(_0x36ef1d,'titles.titlePosition',_0x396623['position']);}if(_0x5a5cac[_0x52b4ec(0x1a5)]){const _0x4029bc=_0x5a5cac[_0x52b4ec(0x1a5)];s(_0x36ef1d,'legend.position',_0x4029bc['position']),s(_0x36ef1d,_0x52b4ec(0x1e9),_0x4029bc['selectMode']),s(_0x36ef1d,'legend.label.fontSize',_0x4029bc[_0x52b4ec(0x17e)]),s(_0x36ef1d,_0x52b4ec(0x1c2),_0x4029bc[_0x52b4ec(0x186)]),s(_0x36ef1d,_0x52b4ec(0x1ba),_0x4029bc[_0x52b4ec(0x216)]),s(_0x36ef1d,_0x52b4ec(0x173),_0x4029bc['italic']);}if(_0x5a5cac['pie']){const _0x81fea8=_0x5a5cac[_0x52b4ec(0x1a0)];s(_0x36ef1d,_0x52b4ec(0x22a),_0x81fea8['doughnutHole']),s(_0x36ef1d,_0x52b4ec(0x221),_0x81fea8[_0x52b4ec(0x1fd)]),s(_0x36ef1d,_0x52b4ec(0x208),_0x81fea8[_0x52b4ec(0x1ca)]),s(_0x36ef1d,_0x52b4ec(0x22b),_0x81fea8['isHalfPie']),s(_0x36ef1d,_0x52b4ec(0x19c),_0x81fea8[_0x52b4ec(0x175)]),s(_0x36ef1d,'pie.showLabelLine',_0x81fea8[_0x52b4ec(0x1c6)]);}if(_0x5a5cac[_0x52b4ec(0x211)]){const _0x2a2891=_0x5a5cac['axisPointer'];s(_0x36ef1d,'tooltip.indicatorLabelColor',_0x2a2891['indicatorLabelColor']),s(_0x36ef1d,_0x52b4ec(0x1dc),_0x2a2891[_0x52b4ec(0x206)]),s(_0x36ef1d,'tooltip.indicatorLineColor',_0x2a2891[_0x52b4ec(0x205)]),s(_0x36ef1d,_0x52b4ec(0x1d8),_0x2a2891[_0x52b4ec(0x1a2)]);}if(_0x5a5cac['allSeriesStyle']&&(s(_0x36ef1d,_0x52b4ec(0x197),_0x5a5cac[_0x52b4ec(0x215)][_0x52b4ec(0x1d0)]),s(_0x36ef1d,_0x52b4ec(0x1fc),_0x5a5cac[_0x52b4ec(0x215)][_0x52b4ec(0x1b9)]),s(_0x36ef1d,_0x52b4ec(0x227),_0x5a5cac[_0x52b4ec(0x215)][_0x52b4ec(0x1fb)]),s(_0x36ef1d,_0x52b4ec(0x20d),_0x5a5cac[_0x52b4ec(0x215)][_0x52b4ec(0x1cd)]),s(_0x36ef1d,_0x52b4ec(0x1f5),_0x5a5cac[_0x52b4ec(0x215)][_0x52b4ec(0x186)])),_0x5a5cac[_0x52b4ec(0x1cf)]&&s(_0x36ef1d,'area.lineStyle',_0x5a5cac[_0x52b4ec(0x1cf)][_0x52b4ec(0x17c)]),_0x5a5cac[_0x52b4ec(0x200)]&&s(_0x36ef1d,'theme',_0x5a5cac['theme']),_0x5a5cac[_0x52b4ec(0x213)]&&s(_0x36ef1d,'backgroundColor',_0x5a5cac['backgroundColor']),_0x5a5cac[_0x52b4ec(0x1fd)]&&s(_0x36ef1d,_0x52b4ec(0x1fd),_0x5a5cac[_0x52b4ec(0x1fd)]),_0x5a5cac[_0x52b4ec(0x17a)]&&s(_0x36ef1d,_0x52b4ec(0x17a),_0x5a5cac[_0x52b4ec(0x17a)]),_0x5a5cac['invalidValueType']&&s(_0x36ef1d,_0x52b4ec(0x1e0),_0x5a5cac['invalidValueType']),_0x5a5cac[_0x52b4ec(0x1a3)]&&s(_0x36ef1d,'radar',_0x5a5cac[_0x52b4ec(0x1a3)]),_0x5a5cac[_0x52b4ec(0x1ff)]){const _0xc463dc=_0x5a5cac[_0x52b4ec(0x1ff)];s(_0x36ef1d,_0x52b4ec(0x1af),_0xc463dc[_0x52b4ec(0x235)]),s(_0x36ef1d,_0x52b4ec(0x1b7),_0xc463dc[_0x52b4ec(0x204)]),s(_0x36ef1d,_0x52b4ec(0x219),_0xc463dc[_0x52b4ec(0x17e)]),s(_0x36ef1d,'titles.xAxisTitle.color',_0xc463dc[_0x52b4ec(0x1ad)]),s(_0x36ef1d,_0x52b4ec(0x214),_0xc463dc[_0x52b4ec(0x18e)]),s(_0x36ef1d,_0x52b4ec(0x233),_0xc463dc[_0x52b4ec(0x216)]),s(_0x36ef1d,_0x52b4ec(0x1eb),_0xc463dc[_0x52b4ec(0x1ce)]);}if(_0x5a5cac[_0x52b4ec(0x1c4)]){const _0x1fb464=_0x5a5cac['yAxisTitle'];s(_0x36ef1d,_0x52b4ec(0x1df),_0x1fb464['content']),s(_0x36ef1d,_0x52b4ec(0x1bc),_0x1fb464['font']),s(_0x36ef1d,'titles.yAxisTitle.fontSize',_0x1fb464[_0x52b4ec(0x17e)]),s(_0x36ef1d,_0x52b4ec(0x182),_0x1fb464[_0x52b4ec(0x1ad)]),s(_0x36ef1d,'titles.yAxisTitle.family',_0x1fb464[_0x52b4ec(0x18e)]),s(_0x36ef1d,'titles.yAxisTitle.bold',_0x1fb464[_0x52b4ec(0x216)]),s(_0x36ef1d,_0x52b4ec(0x184),_0x1fb464['axisAlignment']);}if(_0x5a5cac[_0x52b4ec(0x178)]){const _0x240f4e=_0x5a5cac[_0x52b4ec(0x178)];s(_0x36ef1d,_0x52b4ec(0x180),_0x240f4e[_0x52b4ec(0x235)]),s(_0x36ef1d,_0x52b4ec(0x192),_0x240f4e[_0x52b4ec(0x204)]),s(_0x36ef1d,_0x52b4ec(0x21e),_0x240f4e[_0x52b4ec(0x17e)]),s(_0x36ef1d,_0x52b4ec(0x21d),_0x240f4e[_0x52b4ec(0x1ad)]),s(_0x36ef1d,'titles.rightYAxisTitle.family',_0x240f4e[_0x52b4ec(0x18e)]),s(_0x36ef1d,_0x52b4ec(0x198),_0x240f4e[_0x52b4ec(0x216)]),s(_0x36ef1d,_0x52b4ec(0x1b8),_0x240f4e[_0x52b4ec(0x1ce)]);}_0x5a5cac[_0x52b4ec(0x174)]&&s(_0x36ef1d,_0x52b4ec(0x174),_0x5a5cac[_0x52b4ec(0x174)]),_0x5a5cac[_0x52b4ec(0x179)]&&s(_0x36ef1d,'yAxis',_0x5a5cac[_0x52b4ec(0x179)]),_0x5a5cac[_0x52b4ec(0x1b4)]&&s(_0x36ef1d,_0x52b4ec(0x1fb),_0x5a5cac[_0x52b4ec(0x1b4)]),_0x5a5cac[_0x52b4ec(0x1cb)]&&s(_0x36ef1d,'seriesStyleMap',_0x5a5cac[_0x52b4ec(0x1cb)]);const _0x5f219c={'unitId':_0x1cded2,'chartModelId':_0x102e24};let _0x44fa54=!0x1;if(_0x4d3684!==void 0x0&&(_0x5f219c[_0x52b4ec(0x1f0)]=_0x4d3684,_0x44fa54=!0x0),Object[_0x52b4ec(0x191)](_0x36ef1d)['length']>0x0&&(_0x5f219c[_0x52b4ec(0x18d)]=_0x36ef1d,_0x44fa54=!0x0),Object['keys'](_0x54f5a3)[_0x52b4ec(0x1f6)]>0x0&&(_0x5f219c['context']=_0x54f5a3,_0x44fa54=!0x0),_0x44fa54)return _0x5f219c;};class c extends _0xfd98ad{constructor(_0x4a5e33,_0x7f3fa2,_0x209fb8,_0x1ff697,_0x67b033){const _0x43127b=_0x4b6515;super(),n(this,_0x43127b(0x1d9)),n(this,'_injector'),n(this,_0x43127b(0x1c7)),n(this,_0x43127b(0x17d)),n(this,_0x43127b(0x1b1)),n(this,_0x43127b(0x1ac)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x43127b(0x217)),n(this,'height'),n(this,_0x43127b(0x1f0)),n(this,_0x43127b(0x218)),n(this,_0x43127b(0x1ee)),(this[_0x43127b(0x1c7)]=_0x4a5e33,this[_0x43127b(0x17d)]=_0x7f3fa2,this[_0x43127b(0x1d9)]=_0x209fb8,this[_0x43127b(0x189)]=_0x1ff697,_0x67b033&&(this[_0x43127b(0x1b1)]=_0x67b033));}[_0x4b6515(0x201)](){const _0xaec49=_0x4b6515;return this[_0xaec49(0x1f0)];}[_0x4b6515(0x1e3)](_0x240080){const _0x39b41f=_0x4b6515;if(typeof _0x240080==_0x39b41f(0x226)){const _0x477881=_0x35fc70(_0x240080);_0x477881[_0x39b41f(0x1f1)]&&(this[_0x39b41f(0x1c0)]=_0x477881['sheetName']),this['range']=_0x477881[_0x39b41f(0x1ac)];}else this[_0x39b41f(0x1ac)]=_0x240080;return this;}[_0x4b6515(0x1f4)](){const _0x5f36d3=_0x4b6515;return this[_0x5f36d3(0x1ac)]=void 0x0,this[_0x5f36d3(0x1c0)]=void 0x0,this;}['setPosition'](_0x2f81e6,_0x44420b,_0x3f5ed4,_0x376f0c){const _0x308818=_0x4b6515,_0x47d73f=this[_0x308818(0x189)][_0x308818(0x18c)](_0x4c37f6)[_0x308818(0x21b)](this['unitId']);if(!_0x47d73f)throw new Error(_0x308818(0x1f7));const _0x1e95db=_0x47d73f[_0x308818(0x230)](_0xa6d721),_0x40c8a5=_0x47d73f['with'](_0x23d49c),{transform:_0x54e3e3}=_0x210d0d(this[_0x308818(0x1c7)],this[_0x308818(0x17d)],{'row':_0x2f81e6,'column':_0x44420b,'rowOffset':_0x3f5ed4,'columnOffset':_0x376f0c},0x1,0x1,_0x1e95db,_0x40c8a5),_0x5da9cc=_0x54e3e3[_0x308818(0x1b0)],_0x25eb27=_0x54e3e3['left'];return this['x']=_0x25eb27,this['y']=_0x5da9cc,this;}[_0x4b6515(0x220)](_0x189e0a,_0x3049b5){return this['x']=_0x189e0a,this['y']=_0x3049b5,this;}[_0x4b6515(0x1f9)](_0x25316b){const _0x494716=_0x4b6515;return this[_0x494716(0x1f0)]=_0x25316b,this;}[_0x4b6515(0x21f)](_0x5b8783){const _0x1a8126=_0x4b6515;return this[_0x1a8126(0x217)]=_0x5b8783,this;}['setHeight'](_0x2c5bcf){const _0xb8a95f=_0x4b6515;return this[_0xb8a95f(0x1ab)]=_0x2c5bcf,this;}['setOptions'](_0x2ccaa3,_0xfd99ad){const _0x5829f9=_0x4b6515;return this[_0x5829f9(0x218)]||(this[_0x5829f9(0x218)]={}),_0x2ccaa3===''?(this['options']={...this[_0x5829f9(0x218)],..._0xfd99ad},this):(_0x492e1a(this[_0x5829f9(0x218)],_0x2ccaa3,_0xfd99ad),this);}[_0x4b6515(0x1f3)](_0x29aeef){const _0x1d60fb=_0x4b6515;return this[_0x1d60fb(0x1ee)]=_0x29aeef,this;}['setTheme'](_0x441713){return this['setOptions']('theme',_0x441713),this;}[_0x4b6515(0x231)](_0xb6fa1){const _0x3564fd=_0x4b6515;var _0x2e5748;const _0x41c3ca=((_0x2e5748=this[_0x3564fd(0x218)])==null?void 0x0:_0x2e5748[_0x3564fd(0x1ff)])||{};return _0x41c3ca['content']=_0xb6fa1,this[_0x3564fd(0x20b)]('xAxisTitle',_0x41c3ca),this;}[_0x4b6515(0x209)](_0x41c9fd){const _0x2fe8d4=_0x4b6515;var _0x4b65c0;const _0x3b00d7=((_0x4b65c0=this['options'])==null?void 0x0:_0x4b65c0[_0x2fe8d4(0x1c4)])||{};return _0x3b00d7[_0x2fe8d4(0x235)]=_0x41c9fd,this[_0x2fe8d4(0x20b)](_0x2fe8d4(0x1c4),_0x3b00d7),this;}[_0x4b6515(0x229)](_0x8d89f0){const _0x3f333e=_0x4b6515;var _0x39f805;const _0x1be688=((_0x39f805=this[_0x3f333e(0x218)])==null?void 0x0:_0x39f805['rightYAxisTitle'])||{};return _0x1be688[_0x3f333e(0x235)]=_0x8d89f0,this[_0x3f333e(0x20b)](_0x3f333e(0x178),_0x1be688),this;}['setXAxisTextStyle'](_0x35a780){const _0x2a4ab7=_0x4b6515;var _0x183001;const _0x44e33d=((_0x183001=this['options'])==null?void 0x0:_0x183001[_0x2a4ab7(0x1ff)])||{};return this[_0x2a4ab7(0x20b)](_0x2a4ab7(0x1ff),{..._0x44e33d,..._0x35a780}),this;}[_0x4b6515(0x1ec)](_0x571b55){const _0xe684fa=_0x4b6515;var _0x20b397;const _0x221454=((_0x20b397=this[_0xe684fa(0x218)])==null?void 0x0:_0x20b397[_0xe684fa(0x1c4)])||{};return this['setOptions'](_0xe684fa(0x1c4),{..._0x221454,..._0x571b55}),this;}[_0x4b6515(0x1e1)](_0x41ac6c){const _0x2c89a4=_0x4b6515;var _0x53ef90;const _0x55d3bc=((_0x53ef90=this[_0x2c89a4(0x218)])==null?void 0x0:_0x53ef90[_0x2c89a4(0x178)])||{};return this['setOptions'](_0x2c89a4(0x178),{..._0x55d3bc,..._0x41ac6c}),this;}[_0x4b6515(0x19f)](_0x4fa7af){const _0x22549e=_0x4b6515;return this[_0x22549e(0x20b)](_0x22549e(0x1e0),_0x4fa7af),this;}[_0x4b6515(0x222)](_0x3c0fbb){const _0x1c0b28=_0x4b6515;return this['setOptions'](_0x1c0b28(0x211),_0x3c0fbb),this;}[_0x4b6515(0x193)](_0x2a0286){const _0x3f7353=_0x4b6515;return this[_0x3f7353(0x20b)](_0x3f7353(0x215),_0x2a0286),this;}[_0x4b6515(0x1fe)](_0x3240c8,_0x17f224){const _0x1abb60=_0x4b6515;return this[_0x1abb60(0x20b)](_0x1abb60(0x1cb),{[_0x3240c8]:_0x17f224}),this;}[_0x4b6515(0x185)](){const _0x1b82e0=_0x4b6515;var _0x3e5e1f;let _0x42f3ce=this['subUnitId'];if(this[_0x1b82e0(0x1c0)]){const _0xe28aa1=(_0x3e5e1f=this[_0x1b82e0(0x1d9)]['getSheetBySheetName'](this[_0x1b82e0(0x1c0)]))==null?void 0x0:_0x3e5e1f[_0x1b82e0(0x202)]();if(!_0xe28aa1)throw new Error(_0x1b82e0(0x1a1)+this[_0x1b82e0(0x1c0)]+'\x20not\x20found');_0x42f3ce=_0xe28aa1;}return{'unitId':this[_0x1b82e0(0x1c7)],'subUnitId':_0x42f3ce,'chartId':this[_0x1b82e0(0x1b1)],'range':this[_0x1b82e0(0x1ac)],'x':this['x'],'y':this['y'],'width':this[_0x1b82e0(0x217)],'height':this[_0x1b82e0(0x1ab)],'chartType':this[_0x1b82e0(0x1f0)],'options':this[_0x1b82e0(0x218)],'isRowDirection':this[_0x1b82e0(0x1ee)]};}}class f{constructor(_0x3bc508,_0x33cd0b,_0x548b59,_0x3a80c1){const _0x23b85b=_0x4b6515;n(this,_0x23b85b(0x1c7)),n(this,_0x23b85b(0x17d)),n(this,'chartId'),n(this,_0x23b85b(0x189)),(this[_0x23b85b(0x1c7)]=_0x3bc508,this[_0x23b85b(0x17d)]=_0x33cd0b,this[_0x23b85b(0x1b1)]=_0x548b59,this['_injector']=_0x3a80c1);}['getChartId'](){return this['chartId'];}['getRange'](){const _0x1a037a=_0x4b6515,_0x8477b6=this['_injector'][_0x1a037a(0x18c)](_0x551658)[_0x1a037a(0x18f)](this[_0x1a037a(0x1b1)]);if(_0x8477b6)return _0x8477b6[_0x1a037a(0x20e)][_0x1a037a(0x1b2)]();}[_0x4b6515(0x1ef)](_0x55c00e){const _0x448dfb=_0x4b6515;return this[_0x448dfb(0x189)][_0x448dfb(0x18c)](_0x10a8f1)[_0x448dfb(0x20f)](_0x52a2c6['id'],{'unitId':this[_0x448dfb(0x1c7)],'chartModelId':this[_0x448dfb(0x1b1)],'range':_0x55c00e});}[_0x4b6515(0x21c)](){const _0x438309=_0x4b6515;var _0x375cd9;const _0x42d8f8=this['_injector'][_0x438309(0x18c)](_0x551658)[_0x438309(0x18f)](this['chartId']);if(_0x42d8f8)return(_0x375cd9=_0x42d8f8[_0x438309(0x1e2)])==null?void 0x0:_0x375cd9[_0x438309(0x1d6)];}[_0x4b6515(0x1a4)](){const _0x120d29=_0x4b6515;var _0x967cd3;const _0x3ee3bd=this[_0x120d29(0x189)][_0x120d29(0x18c)](_0x551658)[_0x120d29(0x18f)](this[_0x120d29(0x1b1)]);if(_0x3ee3bd)return(_0x967cd3=_0x3ee3bd[_0x120d29(0x1e2)])==null?void 0x0:_0x967cd3[_0x120d29(0x1d3)];}[_0x4b6515(0x195)](){const _0xaff94=_0x4b6515,_0x4b28e7=this[_0xaff94(0x189)]['get'](_0x2c99a1)[_0xaff94(0x19e)](_0x21262e[_0xaff94(0x1de)]);return new c(this[_0xaff94(0x1c7)],this[_0xaff94(0x17d)],_0x4b28e7,this['_injector'],this[_0xaff94(0x1b1)]);}}class Q extends _0x53fa34{async[_0x4b6515(0x1ea)](_0x2792ca){const _0x56bedc=_0x4b6515;var _0x1af9e5,_0x45fceb,_0x4ed9bd;const _0x2632b0=_0x2792ca['unitId']||this[_0x56bedc(0x194)]()[_0x56bedc(0x1c9)](),_0x32fbb9=_0x2792ca[_0x56bedc(0x17d)]||this[_0x56bedc(0x202)](),_0x1eeeea=_0x2792ca['chartId']||_0x2b2d6a(),_0x47631d=_0x2792ca[_0x56bedc(0x1f0)],_0x43b2b6=_0x2792ca[_0x56bedc(0x1ac)],_0x28d1b9={'x':_0x2792ca['x'],'y':_0x2792ca['y']},_0x1272e9=_0x2792ca['width'],_0x18df8c=_0x2792ca['height'],_0x2ec542=(_0x1af9e5=_0x2792ca['options'])==null?void 0x0:_0x1af9e5['backgroundColor'],_0x176cc4=(_0x45fceb=_0x2792ca['options'])==null?void 0x0:_0x45fceb[_0x56bedc(0x1fd)],_0x327642=C(_0x2632b0,_0x1eeeea,_0x47631d,_0x2792ca[_0x56bedc(0x218)]),_0x1dc64c=(_0x4ed9bd=_0x2792ca[_0x56bedc(0x212)])!=null?_0x4ed9bd:!0x0;if(!_0x43b2b6)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x56bedc(0x19a)]['executeCommand'](_0x4ad268['id'],{'unitId':_0x2632b0,'subUnitId':_0x32fbb9,'chartId':_0x1eeeea,'chartType':_0x47631d,'range':_0x43b2b6,'position':_0x28d1b9,'width':_0x1272e9,'height':_0x18df8c,'backgroundColor':_0x2ec542,'borderColor':_0x176cc4,'config':_0x327642,'isRowDirection':_0x1dc64c}),new f(_0x2632b0,_0x32fbb9,_0x1eeeea,this[_0x56bedc(0x189)]);}[_0x4b6515(0x1c5)](_0x46d1a2){const _0x449157=_0x4b6515,{unitId:_0x399d46,chartId:_0x2de6c5,chartType:_0x2ceda,options:_0x2d5971}=_0x46d1a2,_0xb4bee9=C(_0x399d46,_0x2de6c5,_0x2ceda,_0x2d5971);this[_0x449157(0x19a)][_0x449157(0x20f)](_0x1f4862['id'],_0xb4bee9);}[_0x4b6515(0x234)](_0x1d1448){const _0x38e1b3=_0x4b6515;if(_0x1d1448)return new c(_0x1d1448[_0x38e1b3(0x1c7)],_0x1d1448[_0x38e1b3(0x17d)],this['_workbook'],this[_0x38e1b3(0x189)],_0x1d1448[_0x38e1b3(0x1b1)]);const _0x27e8b8=this[_0x38e1b3(0x194)]()[_0x38e1b3(0x1c9)](),_0x36e2f8=this[_0x38e1b3(0x202)]();return new c(_0x27e8b8,_0x36e2f8,this['_workbook'],this[_0x38e1b3(0x189)]);}[_0x4b6515(0x190)](){const _0x24f95f=_0x4b6515,_0x13ccab=this[_0x24f95f(0x189)][_0x24f95f(0x18c)](_0x551658),_0x1b60df=this[_0x24f95f(0x194)]()[_0x24f95f(0x1c9)]();return _0x13ccab[_0x24f95f(0x22d)](_0x1b60df,this[_0x24f95f(0x202)]())['map'](_0x307343=>new f(_0x1b60df,this['getSheetId'](),_0x307343['id'],this[_0x24f95f(0x189)]));}[_0x4b6515(0x1e5)](_0x116a2f){const _0x53b6a1=_0x4b6515,_0x485fb8=_0x116a2f['unitId'],_0x43913c=_0x116a2f[_0x53b6a1(0x17d)],_0x2dec13=_0x116a2f['chartId'],_0x1c7e4b={'unitId':_0x485fb8,'drawings':[{'unitId':_0x485fb8,'subUnitId':_0x43913c,'drawingId':_0x2dec13,'drawingType':_0x17da67[_0x53b6a1(0x1c3)]}]};return this[_0x53b6a1(0x19a)][_0x53b6a1(0x20f)](_0x4536a8['id'],_0x1c7e4b);}[_0x4b6515(0x1d7)](_0x442cd9,_0x164451){const _0x55f644=_0x4b6515;this[_0x55f644(0x189)][_0x55f644(0x18c)](_0x488ac3)[_0x55f644(0x1dd)](_0x442cd9,_0x164451);}}_0x53fa34[_0x4b6515(0x183)](Q);function _0x2d90(){const _0x4b3ac4=['3022648eaNsOB','502317NMovRA','tooltip.indicatorLineType','registerTheme','UNIVER_SHEET','titles.yAxisTitle.content','invalidValueType','setRightYAxisTextStyle','config','addRange','dataPointShape','removeChart','radar.shape','asLineChart','865860IHyuKq','legend.selectMode','insertChart','xAxis.label.axisTitleAlign','setYAxisTextStyle','261978YOCzJv','transposeRowsAndColumns','updateRange','chartType','sheetName','setDoughnutHole','setTransposeRowsAndColumns','clearRange','allSeriesStyle.color','length','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','dataPointSize','setChartType','setShowLabelLine','rightYAxis','allSeriesStyle.label','borderColor','setSeriesStyle','xAxisTitle','theme','getChartType','getSheetId','5RpgLPJ','font','indicatorLineColor','indicatorLineType','SelectModeEnum','pie.hasPaddingAngle','setYAxisTitle','ChartBorderDashType','setOptions','pie.showLabelLine','allSeriesStyle.point','dataSource','executeCommand','6240465Ccylwf','axisPointer','isRowDirection','backgroundColor','titles.xAxisTitle.family','allSeriesStyle','bold','width','options','titles.xAxisTitle.fontSize','LegendPositionEnum','getRenderById','getSeriesData','titles.rightYAxisTitle.color','titles.rightYAxisTitle.fontSize','setWidth','setAbsolutePosition','pie.borderColor','setAxisPointerStyle','Radar','allSeriesStyle.point.shape','titles.title.family','string','allSeriesStyle.rightYAxis','asPieChart','setRightYAxisTitle','pie.doughnutHole','pie.isHalfPie','area.lineStyle','getUnitChartModels','30UUtObv','setHasPaddingAngle','with','setXAxisTitle','Line','titles.xAxisTitle.bold','newChart','content','legend.label.italic','xAxis','rosePie','titleAlignment','titles.title.content','rightYAxisTitle','yAxis','gradientFill','Pie','lineStyle','subUnitId','fontSize','setLineStyle','titles.rightYAxisTitle.content','543364jUeoLC','titles.yAxisTitle.color','extend','yAxis.label.axisTitleAlign','build','color','titles.title.align','RadarShape','_injector','TitlePositionEnum','1068711DMITfL','get','style','fontStyle','getChartModel','getCharts','keys','titles.rightYAxisTitle.font','setAllSeriesStyle','getWorkbook','modify','doughnutHole','allSeriesStyle.border','titles.rightYAxisTitle.bold','setShape','_commandService','defineProperty','pie.rosePie','titles.title.font','getCurrentUnitForType','setInvalidValueStrategy','pie','Sheet\x20','indicatorLabelTextColor','radar','getCategoryData','legend','6gEotRm','titles.title.color','ChartType','allSeriesStyle.point.color','asRadarChart','height','range','fontColor','allSeriesStyle.point.size','titles.xAxisTitle.content','top','chartId','getRangeInfo','setFill','yRightAxis','title','isHalfPie','titles.xAxisTitle.font','rightYAxis.label.axisTitleAlign','label','legend.label.bold','setDataPointSize','titles.yAxisTitle.font','dataPointColor','setDataPointShape','shape','sourceSheetName','titles.title.bold','legend.label.color','DRAWING_CHART','yAxisTitle','updateChart','showLabelLine','unitId','LinePointShape','getUnitId','hasPaddingAngle','seriesStyleMap','symbol','point','axisAlignment','area','border','radar.fill','fill','category','setDataPointColor','1amXNpo','series','registerChartTheme','tooltip.indicatorLabelTextColor','_workbook'];_0x2d90=function(){return _0x4b3ac4;};return _0x2d90();}class Z extends _0x1ecd2b{get[_0x4b6515(0x1a8)](){return _0x4e3169;}get[_0x4b6515(0x21a)](){return _0x9b1e58;}get[_0x4b6515(0x207)](){return _0x10157c;}get['AxisAlignEnum'](){return _0x5ead45;}get[_0x4b6515(0x20a)](){return _0x488209;}get[_0x4b6515(0x1c8)](){return _0x17d9ee;}get[_0x4b6515(0x18a)](){return _0x121bad;}get[_0x4b6515(0x188)](){return _0x1d8206;}}_0x1ecd2b[_0x4b6515(0x183)](Z);class tt extends c{constructor(_0x5efffb,_0x1533dd,_0xca26cd,_0x1bed26,_0xe450f){const _0x3c374e=_0x4b6515;super(_0x5efffb,_0x1533dd,_0xca26cd,_0x1bed26,_0xe450f),n(this,_0x3c374e(0x17c)),n(this,_0x3c374e(0x1e4)),n(this,_0x3c374e(0x1bd)),n(this,'dataPointSize');}[_0x4b6515(0x17f)](_0xa76973){return this['lineStyle']=_0xa76973,this;}[_0x4b6515(0x1be)](_0xd99407){const _0x23f901=_0x4b6515;return this[_0x23f901(0x1e4)]=_0xd99407,this;}[_0x4b6515(0x1d4)](_0x1d885b){return this['dataPointColor']=_0x1d885b,this;}[_0x4b6515(0x1bb)](_0x504350){const _0x13fc49=_0x4b6515;return this[_0x13fc49(0x1f8)]=_0x504350,this;}[_0x4b6515(0x185)](){const _0x4d987a=_0x4b6515,_0x4de395=super[_0x4d987a(0x185)]();_0x4de395[_0x4d987a(0x1f0)]=_0x4e3169[_0x4d987a(0x232)];const _0x4ee77b=_0x4de395[_0x4d987a(0x218)]||{};return s(_0x4ee77b,_0x4d987a(0x22c),this[_0x4d987a(0x17c)]),s(_0x4ee77b,_0x4d987a(0x224),this[_0x4d987a(0x1e4)]),s(_0x4ee77b,_0x4d987a(0x1a9),this[_0x4d987a(0x1bd)]),s(_0x4ee77b,_0x4d987a(0x1ae),this[_0x4d987a(0x1f8)]),_0x4de395['options']=_0x4ee77b,_0x4de395;}}class et extends c{[_0x4b6515(0x1e7)](){const _0x203ea6=_0x4b6515;return new tt(this[_0x203ea6(0x1c7)],this[_0x203ea6(0x17d)],this['_workbook'],this[_0x203ea6(0x189)],this[_0x203ea6(0x1b1)]);}}c[_0x4b6515(0x183)](et);class it extends c{constructor(_0x5c6e79,_0x3440ed,_0x213227,_0x2e2f01,_0x4e3dd5){const _0x49c932=_0x4b6515;super(_0x5c6e79,_0x3440ed,_0x213227,_0x2e2f01,_0x4e3dd5),n(this,_0x49c932(0x196)),n(this,_0x49c932(0x1fd)),n(this,_0x49c932(0x1ca)),n(this,_0x49c932(0x1b6)),n(this,_0x49c932(0x175)),n(this,_0x49c932(0x1c6));}[_0x4b6515(0x1f2)](_0x561148){const _0x297a83=_0x4b6515;return this[_0x297a83(0x196)]=_0x561148,this;}['setBorderColor'](_0x19b154){const _0x392f36=_0x4b6515;return this[_0x392f36(0x1fd)]=_0x19b154,this;}[_0x4b6515(0x22f)](_0x4bc00e){const _0x12b83d=_0x4b6515;return this[_0x12b83d(0x1ca)]=_0x4bc00e,this;}['setIsHalfPie'](_0x567ce5){const _0x35681b=_0x4b6515;return this[_0x35681b(0x1b6)]=_0x567ce5,this;}['setRosePie'](_0x3efd18){const _0x1cf532=_0x4b6515;return this[_0x1cf532(0x175)]=_0x3efd18,this;}[_0x4b6515(0x1fa)](_0x3bc2a7){const _0x556a0a=_0x4b6515;return this[_0x556a0a(0x1c6)]=_0x3bc2a7,this;}['build'](){const _0x2bccb1=_0x4b6515,_0x22ea38=super[_0x2bccb1(0x185)]();_0x22ea38[_0x2bccb1(0x1f0)]=_0x4e3169[_0x2bccb1(0x17b)];const _0x3b4272=_0x22ea38[_0x2bccb1(0x218)]||{};return s(_0x3b4272,_0x2bccb1(0x22a),this['doughnutHole']),s(_0x3b4272,_0x2bccb1(0x221),this['borderColor']),s(_0x3b4272,'pie.hasPaddingAngle',this[_0x2bccb1(0x1ca)]),s(_0x3b4272,_0x2bccb1(0x22b),this['isHalfPie']),s(_0x3b4272,_0x2bccb1(0x19c),this['rosePie']),s(_0x3b4272,_0x2bccb1(0x20c),this[_0x2bccb1(0x1c6)]),_0x22ea38[_0x2bccb1(0x218)]=_0x3b4272,_0x22ea38;}}class st extends c{[_0x4b6515(0x228)](){const _0x5c25c9=_0x4b6515;return new it(this[_0x5c25c9(0x1c7)],this[_0x5c25c9(0x17d)],this[_0x5c25c9(0x1d9)],this['_injector'],this[_0x5c25c9(0x1b1)]);}}c[_0x4b6515(0x183)](st);class rt extends c{constructor(_0x11c5c7,_0x3ffc91,_0x2fc9ab,_0xee336f,_0x2f7f19){const _0x288889=_0x4b6515;super(_0x11c5c7,_0x3ffc91,_0x2fc9ab,_0xee336f,_0x2f7f19),n(this,_0x288889(0x1bf)),n(this,_0x288889(0x1d2));}[_0x4b6515(0x199)](_0x4dcd65){const _0x4c2d2d=_0x4b6515;return this[_0x4c2d2d(0x1bf)]=_0x4dcd65,this;}[_0x4b6515(0x1b3)](_0x106c0a){const _0x21cb0d=_0x4b6515;return this[_0x21cb0d(0x1d2)]=_0x106c0a,this;}['build'](){const _0x896829=_0x4b6515,_0x39b353=super[_0x896829(0x185)]();_0x39b353[_0x896829(0x1f0)]=_0x4e3169[_0x896829(0x223)];const _0xf3cc14=_0x39b353[_0x896829(0x218)]||{};return s(_0xf3cc14,_0x896829(0x1e6),this['shape']),s(_0xf3cc14,_0x896829(0x1d1),this['fill']),_0x39b353['options']=_0xf3cc14,_0x39b353;}}class ot extends c{[_0x4b6515(0x1aa)](){const _0x12479f=_0x4b6515;return new rt(this['unitId'],this[_0x12479f(0x17d)],this['_workbook'],this[_0x12479f(0x189)],this[_0x12479f(0x1b1)]);}}c[_0x4b6515(0x183)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
1
+ const _0x4a2e6d=_0x2c0d;(function(_0x1a582c,_0x410f06){const _0x921839=_0x2c0d,_0x353413=_0x1a582c();while(!![]){try{const _0x3c99d0=parseInt(_0x921839(0x18e))/0x1+parseInt(_0x921839(0x225))/0x2+parseInt(_0x921839(0x1eb))/0x3*(-parseInt(_0x921839(0x1be))/0x4)+-parseInt(_0x921839(0x20a))/0x5*(parseInt(_0x921839(0x1e7))/0x6)+parseInt(_0x921839(0x1f2))/0x7+parseInt(_0x921839(0x213))/0x8*(parseInt(_0x921839(0x1fc))/0x9)+-parseInt(_0x921839(0x1b9))/0xa;if(_0x3c99d0===_0x410f06)break;else _0x353413['push'](_0x353413['shift']());}catch(_0x24f397){_0x353413['push'](_0x353413['shift']());}}}(_0x515f,0xed602));function _0x515f(){const _0x2f41bb=['rightYAxis.label.axisTitleAlign','1150qMWAmd','getCharts','titles.yAxisTitle.family','axisPointer','setTheme','setOptions','getUnitId','titles.title.content','options','472uVSbjZ','doughnutHole','pie.doughnutHole','legend.label.italic','selectMode','titles.yAxisTitle.font','getCurrentUnitForType','titles.xAxisTitle.content','titles.title.bold','titles.yAxisTitle.content','asPieChart','allSeriesStyle.border','setInvalidValueStrategy','tooltip.indicatorLineColor','titles.xAxisTitle.fontSize','build','setShowLabelLine','sourceSheetName','896504bypZFu','allSeriesStyle.point','backgroundColor','length','color','setYAxisTextStyle','_commandService','pie','gradientFill','RadarShape','titleAlignment','legend.selectMode','setXAxisTextStyle','indicatorLineType','subUnitId','Sheet\x20','LinePointShape','ChartType','font','getCategoryData','asLineChart','asRadarChart','config','modify','setRosePie','range','titles.title.font','defineProperty','position','dataPointColor','fontSize','string','yAxisTitle','rosePie','1894783zdpzsA','setHeight','legend.label.bold','titles.yAxisTitle.color','showLabelLine','xAxisTitle','fontColor','setRightYAxisTitle','setAllSeriesStyle','axisAlignment','tooltip.indicatorLineType','radar.fill','area.lineStyle','isRowDirection','allSeriesStyle','hasPaddingAngle','isHalfPie','UNIVER_SHEET','yRightAxis','legend.position','titles.xAxisTitle.bold','setDataPointShape','yAxis','radar','width','setAbsolutePosition','titles.rightYAxisTitle.family','dataPointShape','height','setWidth','LegendPositionEnum','label','series','sheetName','titles.xAxisTitle.font','getRange','titles.yAxisTitle.bold','titles.xAxisTitle.family','unitId','allSeriesStyle.color','fontStyle','setIsHalfPie','invalidValueType','8492560iTFlmy','fill','addRange','setPosition','getRenderById','4cPzAba','pie.hasPaddingAngle','setLineStyle','lineStyle','getChartModel','\x20not\x20found','insertChart','getChartType','with','seriesStyleMap','title','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','area','extend','removeChart','setDoughnutHole','Pie','shape','tooltip.indicatorLabelColor','get','category','tooltip.indicatorLabelTextColor','getWorkbook','top','setXAxisTitle','content','titles.title.color','executeCommand','titles.rightYAxisTitle.font','setBorderColor','rightYAxis','getSheetId','registerTheme','getChartId','dataPointSize','setRightYAxisTextStyle','rightYAxisTitle','chartId','point','Line','theme','7716vwCBrp','setShape','allSeriesStyle.point.color','pie.rosePie','5619921HvUJPV','bold','getUnitChartModels','_injector','chartType','transposeRowsAndColumns','keys','10681993xdvQqW','titles.rightYAxisTitle.bold','borderColor','TitlePositionEnum','Radar','xAxis','AxisAlignEnum','map','pie.showLabelLine','getSheetBySheetName','18549yqrMOk','registerChartTheme','setFill','border','DRAWING_CHART','dataSource','setDataPointColor','pie.borderColor','setTransposeRowsAndColumns','_workbook','left','indicatorLabelColor','Range\x20is\x20required\x20to\x20insert\x20a\x20chart'];_0x515f=function(){return _0x2f41bb;};return _0x515f();}var b=Object[_0x4a2e6d(0x240)],k=(_0x49b63c,_0x4af592,_0x4079fa)=>_0x4af592 in _0x49b63c?b(_0x49b63c,_0x4af592,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4079fa}):_0x49b63c[_0x4af592]=_0x4079fa,n=(_0x93c72,_0x237375,_0x161fbb)=>k(_0x93c72,typeof _0x237375!='symbol'?_0x237375+'':_0x237375,_0x161fbb);import{ChartThemeService as _0x3ccd45,ChartTypeBits as _0x27bc54,LegendPositionEnum as _0x332ff8,SelectModeEnum as _0x3e4913,AxisAlignEnum as _0x3d9497,ChartBorderDashType as _0x1cb2ec,LinePointShape as _0xc8bd88,TitlePositionEnum as _0x4af1e2,RadarShape as _0x31a5f7}from'@univerjs-pro/engine-chart';function _0x2c0d(_0xd0d9dd,_0x4d2d12){const _0x515f99=_0x515f();return _0x2c0d=function(_0x2c0d1b,_0x50844a){_0x2c0d1b=_0x2c0d1b-0x188;let _0x4ad168=_0x515f99[_0x2c0d1b];return _0x4ad168;},_0x2c0d(_0xd0d9dd,_0x4d2d12);}import{setProperty as _0x50a821,SheetsChartService as _0x3b2f0c,ChartUpdateSourceCommand as _0x25c10e,ChartUpdateConfigCommand as _0x4eae6b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x468dc6}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x114ca1,IUniverInstanceService as _0x4057ed,UniverInstanceType as _0x401e09,generateRandomId as _0x3798ed,DrawingTypeEnum as _0x1ce1a1}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x13e9de}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x3cbd9c}from'@univerjs/sheets/facade';import{FBase as _0x11f318,FEnum as _0x3106e4}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x535d1b}from'@univerjs/engine-formula';import{IRenderManagerService as _0x5a533a}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x3ff8b4,SheetSkeletonManagerService as _0x592b94,convertPositionCellToSheetOverGrid as _0x25e234}from'@univerjs/sheets-ui';const s=(_0x289924,_0x3b77dc,_0x284813)=>{_0x284813!==void 0x0&&_0x50a821(_0x289924,_0x3b77dc,_0x284813);},C=(_0x496589,_0x54c254,_0x5699c5,_0xea8e16={})=>{const _0x4f52f1=_0x4a2e6d,_0x39b801={},_0x596ca7={};if(_0xea8e16[_0x4f52f1(0x1c8)]){const _0x5374a1=_0xea8e16[_0x4f52f1(0x1c8)];s(_0x39b801,_0x4f52f1(0x211),_0x5374a1['content']),s(_0x39b801,_0x4f52f1(0x23f),_0x5374a1[_0x4f52f1(0x237)]),s(_0x39b801,'titles.title.fontSize',_0x5374a1['fontSize']),s(_0x39b801,_0x4f52f1(0x1d8),_0x5374a1[_0x4f52f1(0x194)]),s(_0x39b801,'titles.title.family',_0x5374a1['fontStyle']),s(_0x39b801,_0x4f52f1(0x21b),_0x5374a1[_0x4f52f1(0x1ec)]),s(_0x39b801,'titles.title.align',_0x5374a1[_0x4f52f1(0x22f)]),s(_0x39b801,'titles.titlePosition',_0x5374a1[_0x4f52f1(0x188)]);}if(_0xea8e16['legend']){const _0x38579b=_0xea8e16['legend'];s(_0x39b801,_0x4f52f1(0x1a1),_0x38579b[_0x4f52f1(0x188)]),s(_0x39b801,_0x4f52f1(0x230),_0x38579b[_0x4f52f1(0x217)]),s(_0x39b801,'legend.label.fontSize',_0x38579b['fontSize']),s(_0x39b801,'legend.label.color',_0x38579b[_0x4f52f1(0x229)]),s(_0x39b801,_0x4f52f1(0x190),_0x38579b[_0x4f52f1(0x1ec)]),s(_0x39b801,_0x4f52f1(0x216),_0x38579b['italic']);}if(_0xea8e16['pie']){const _0x181b8c=_0xea8e16[_0x4f52f1(0x22c)];s(_0x39b801,_0x4f52f1(0x215),_0x181b8c[_0x4f52f1(0x214)]),s(_0x39b801,_0x4f52f1(0x203),_0x181b8c[_0x4f52f1(0x1f4)]),s(_0x39b801,_0x4f52f1(0x1bf),_0x181b8c[_0x4f52f1(0x19d)]),s(_0x39b801,'pie.isHalfPie',_0x181b8c[_0x4f52f1(0x19e)]),s(_0x39b801,_0x4f52f1(0x1ea),_0x181b8c[_0x4f52f1(0x18d)]),s(_0x39b801,'pie.showLabelLine',_0x181b8c[_0x4f52f1(0x192)]);}if(_0xea8e16['axisPointer']){const _0x3adecf=_0xea8e16['axisPointer'];s(_0x39b801,_0x4f52f1(0x1d0),_0x3adecf[_0x4f52f1(0x207)]),s(_0x39b801,_0x4f52f1(0x198),_0x3adecf[_0x4f52f1(0x232)]),s(_0x39b801,_0x4f52f1(0x220),_0x3adecf['indicatorLineColor']),s(_0x39b801,_0x4f52f1(0x1d3),_0x3adecf['indicatorLabelTextColor']);}if(_0xea8e16[_0x4f52f1(0x19c)]&&(s(_0x39b801,_0x4f52f1(0x21e),_0xea8e16[_0x4f52f1(0x19c)][_0x4f52f1(0x1ff)]),s(_0x39b801,'allSeriesStyle.label',_0xea8e16[_0x4f52f1(0x19c)][_0x4f52f1(0x1ad)]),s(_0x39b801,'allSeriesStyle.rightYAxis',_0xea8e16['allSeriesStyle']['rightYAxis']),s(_0x39b801,_0x4f52f1(0x226),_0xea8e16[_0x4f52f1(0x19c)][_0x4f52f1(0x1e4)]),s(_0x39b801,_0x4f52f1(0x1b5),_0xea8e16['allSeriesStyle']['color'])),_0xea8e16[_0x4f52f1(0x1ca)]&&s(_0x39b801,_0x4f52f1(0x19a),_0xea8e16[_0x4f52f1(0x1ca)][_0x4f52f1(0x1c1)]),_0xea8e16[_0x4f52f1(0x1e6)]&&s(_0x39b801,_0x4f52f1(0x1e6),_0xea8e16[_0x4f52f1(0x1e6)]),_0xea8e16[_0x4f52f1(0x227)]&&s(_0x39b801,_0x4f52f1(0x227),_0xea8e16[_0x4f52f1(0x227)]),_0xea8e16[_0x4f52f1(0x1f4)]&&s(_0x39b801,_0x4f52f1(0x1f4),_0xea8e16[_0x4f52f1(0x1f4)]),_0xea8e16[_0x4f52f1(0x22d)]&&s(_0x39b801,_0x4f52f1(0x22d),_0xea8e16[_0x4f52f1(0x22d)]),_0xea8e16['invalidValueType']&&s(_0x39b801,_0x4f52f1(0x1b8),_0xea8e16[_0x4f52f1(0x1b8)]),_0xea8e16[_0x4f52f1(0x1a5)]&&s(_0x39b801,_0x4f52f1(0x1a5),_0xea8e16[_0x4f52f1(0x1a5)]),_0xea8e16[_0x4f52f1(0x193)]){const _0x29721a=_0xea8e16['xAxisTitle'];s(_0x39b801,_0x4f52f1(0x21a),_0x29721a['content']),s(_0x39b801,_0x4f52f1(0x1b0),_0x29721a[_0x4f52f1(0x237)]),s(_0x39b801,_0x4f52f1(0x221),_0x29721a['fontSize']),s(_0x39b801,'titles.xAxisTitle.color',_0x29721a['fontColor']),s(_0x39b801,_0x4f52f1(0x1b3),_0x29721a[_0x4f52f1(0x1b6)]),s(_0x39b801,_0x4f52f1(0x1a2),_0x29721a[_0x4f52f1(0x1ec)]),s(_0x39b801,'xAxis.label.axisTitleAlign',_0x29721a[_0x4f52f1(0x197)]);}if(_0xea8e16[_0x4f52f1(0x18c)]){const _0x3e84f4=_0xea8e16[_0x4f52f1(0x18c)];s(_0x39b801,_0x4f52f1(0x21c),_0x3e84f4[_0x4f52f1(0x1d7)]),s(_0x39b801,_0x4f52f1(0x218),_0x3e84f4['font']),s(_0x39b801,'titles.yAxisTitle.fontSize',_0x3e84f4[_0x4f52f1(0x18a)]),s(_0x39b801,_0x4f52f1(0x191),_0x3e84f4[_0x4f52f1(0x194)]),s(_0x39b801,_0x4f52f1(0x20c),_0x3e84f4['fontStyle']),s(_0x39b801,_0x4f52f1(0x1b2),_0x3e84f4[_0x4f52f1(0x1ec)]),s(_0x39b801,'yAxis.label.axisTitleAlign',_0x3e84f4[_0x4f52f1(0x197)]);}if(_0xea8e16[_0x4f52f1(0x1e2)]){const _0x1b2399=_0xea8e16['rightYAxisTitle'];s(_0x39b801,'titles.rightYAxisTitle.content',_0x1b2399[_0x4f52f1(0x1d7)]),s(_0x39b801,_0x4f52f1(0x1da),_0x1b2399[_0x4f52f1(0x237)]),s(_0x39b801,'titles.rightYAxisTitle.fontSize',_0x1b2399['fontSize']),s(_0x39b801,'titles.rightYAxisTitle.color',_0x1b2399['fontColor']),s(_0x39b801,_0x4f52f1(0x1a8),_0x1b2399[_0x4f52f1(0x1b6)]),s(_0x39b801,_0x4f52f1(0x1f3),_0x1b2399[_0x4f52f1(0x1ec)]),s(_0x39b801,_0x4f52f1(0x209),_0x1b2399[_0x4f52f1(0x197)]);}_0xea8e16[_0x4f52f1(0x1f7)]&&s(_0x39b801,_0x4f52f1(0x1f7),_0xea8e16[_0x4f52f1(0x1f7)]),_0xea8e16[_0x4f52f1(0x1a4)]&&s(_0x39b801,_0x4f52f1(0x1a4),_0xea8e16['yAxis']),_0xea8e16[_0x4f52f1(0x1a0)]&&s(_0x39b801,_0x4f52f1(0x1dc),_0xea8e16[_0x4f52f1(0x1a0)]),_0xea8e16['seriesStyleMap']&&s(_0x39b801,_0x4f52f1(0x1c7),_0xea8e16[_0x4f52f1(0x1c7)]);const _0x10cc07={'unitId':_0x496589,'chartModelId':_0x54c254};let _0xa36f2d=!0x1;if(_0x5699c5!==void 0x0&&(_0x10cc07['chartType']=_0x5699c5,_0xa36f2d=!0x0),Object['keys'](_0x39b801)[_0x4f52f1(0x228)]>0x0&&(_0x10cc07['style']=_0x39b801,_0xa36f2d=!0x0),Object[_0x4f52f1(0x1f1)](_0x596ca7)[_0x4f52f1(0x228)]>0x0&&(_0x10cc07['context']=_0x596ca7,_0xa36f2d=!0x0),_0xa36f2d)return _0x10cc07;};class c extends _0x11f318{constructor(_0x339640,_0x434f1b,_0x50655b,_0x20d556,_0x3606b4){const _0x52125c=_0x4a2e6d;super(),n(this,'_workbook'),n(this,_0x52125c(0x1ee)),n(this,_0x52125c(0x1b4)),n(this,_0x52125c(0x233)),n(this,'chartId'),n(this,_0x52125c(0x23e)),n(this,_0x52125c(0x224)),n(this,'x'),n(this,'y'),n(this,'width'),n(this,_0x52125c(0x1aa)),n(this,_0x52125c(0x1ef)),n(this,_0x52125c(0x212)),n(this,_0x52125c(0x1f0)),(this['unitId']=_0x339640,this['subUnitId']=_0x434f1b,this[_0x52125c(0x205)]=_0x50655b,this[_0x52125c(0x1ee)]=_0x20d556,_0x3606b4&&(this[_0x52125c(0x1e3)]=_0x3606b4));}[_0x4a2e6d(0x1c5)](){const _0xaceb4d=_0x4a2e6d;return this[_0xaceb4d(0x1ef)];}[_0x4a2e6d(0x1bb)](_0x2a05b0){const _0x38d591=_0x4a2e6d;if(typeof _0x2a05b0==_0x38d591(0x18b)){const _0x1c1c6d=_0x535d1b(_0x2a05b0);_0x1c1c6d['sheetName']&&(this[_0x38d591(0x224)]=_0x1c1c6d[_0x38d591(0x1af)]),this['range']=_0x1c1c6d[_0x38d591(0x23e)];}else this[_0x38d591(0x23e)]=_0x2a05b0;return this;}['clearRange'](){const _0x3a50bb=_0x4a2e6d;return this[_0x3a50bb(0x23e)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x4a2e6d(0x1bc)](_0x499168,_0x882634,_0x4d4a25,_0x3bbf0c){const _0x86413c=_0x4a2e6d,_0x3effe9=this[_0x86413c(0x1ee)][_0x86413c(0x1d1)](_0x5a533a)[_0x86413c(0x1bd)](this[_0x86413c(0x1b4)]);if(!_0x3effe9)throw new Error(_0x86413c(0x1c9));const _0x2ab1f8=_0x3effe9[_0x86413c(0x1c6)](_0x3ff8b4),_0x4def99=_0x3effe9[_0x86413c(0x1c6)](_0x592b94),{transform:_0x3afe9d}=_0x25e234(this[_0x86413c(0x1b4)],this['subUnitId'],{'row':_0x499168,'column':_0x882634,'rowOffset':_0x4d4a25,'columnOffset':_0x3bbf0c},0x1,0x1,_0x2ab1f8,_0x4def99),_0x2278f4=_0x3afe9d[_0x86413c(0x1d5)],_0x1b1025=_0x3afe9d[_0x86413c(0x206)];return this['x']=_0x1b1025,this['y']=_0x2278f4,this;}[_0x4a2e6d(0x1a7)](_0x4e2db2,_0x49a10c){return this['x']=_0x4e2db2,this['y']=_0x49a10c,this;}['setChartType'](_0x2350d0){return this['chartType']=_0x2350d0,this;}[_0x4a2e6d(0x1ab)](_0x2ddc7f){const _0x209f49=_0x4a2e6d;return this[_0x209f49(0x1a6)]=_0x2ddc7f,this;}[_0x4a2e6d(0x18f)](_0x568c8d){return this['height']=_0x568c8d,this;}[_0x4a2e6d(0x20f)](_0x2e9d11,_0x2a078c){const _0x1f10d2=_0x4a2e6d;return this['options']||(this[_0x1f10d2(0x212)]={}),_0x2e9d11===''?(this[_0x1f10d2(0x212)]={...this[_0x1f10d2(0x212)],..._0x2a078c},this):(_0x50a821(this[_0x1f10d2(0x212)],_0x2e9d11,_0x2a078c),this);}[_0x4a2e6d(0x204)](_0x46789a){const _0x1f5619=_0x4a2e6d;return this[_0x1f5619(0x1f0)]=_0x46789a,this;}[_0x4a2e6d(0x20e)](_0x4f45d0){const _0x1df667=_0x4a2e6d;return this[_0x1df667(0x20f)](_0x1df667(0x1e6),_0x4f45d0),this;}[_0x4a2e6d(0x1d6)](_0x2cb5b6){const _0x5ed775=_0x4a2e6d;var _0x344ca9;const _0x50472a=((_0x344ca9=this[_0x5ed775(0x212)])==null?void 0x0:_0x344ca9[_0x5ed775(0x193)])||{};return _0x50472a[_0x5ed775(0x1d7)]=_0x2cb5b6,this[_0x5ed775(0x20f)](_0x5ed775(0x193),_0x50472a),this;}['setYAxisTitle'](_0x44d11f){const _0x5736ef=_0x4a2e6d;var _0x424305;const _0x4f0a9b=((_0x424305=this['options'])==null?void 0x0:_0x424305[_0x5736ef(0x18c)])||{};return _0x4f0a9b[_0x5736ef(0x1d7)]=_0x44d11f,this[_0x5736ef(0x20f)](_0x5736ef(0x18c),_0x4f0a9b),this;}[_0x4a2e6d(0x195)](_0x2a7ae7){const _0x492567=_0x4a2e6d;var _0x11359a;const _0x2a91d9=((_0x11359a=this[_0x492567(0x212)])==null?void 0x0:_0x11359a['rightYAxisTitle'])||{};return _0x2a91d9[_0x492567(0x1d7)]=_0x2a7ae7,this[_0x492567(0x20f)]('rightYAxisTitle',_0x2a91d9),this;}[_0x4a2e6d(0x231)](_0x3de0fd){const _0x3ce59d=_0x4a2e6d;var _0x1b75c0;const _0x2c73c7=((_0x1b75c0=this[_0x3ce59d(0x212)])==null?void 0x0:_0x1b75c0['xAxisTitle'])||{};return this[_0x3ce59d(0x20f)](_0x3ce59d(0x193),{..._0x2c73c7,..._0x3de0fd}),this;}[_0x4a2e6d(0x22a)](_0x49b1bd){const _0x16e669=_0x4a2e6d;var _0x18a48a;const _0x56aa4e=((_0x18a48a=this['options'])==null?void 0x0:_0x18a48a[_0x16e669(0x18c)])||{};return this[_0x16e669(0x20f)]('yAxisTitle',{..._0x56aa4e,..._0x49b1bd}),this;}[_0x4a2e6d(0x1e1)](_0x101ddd){const _0x3d7ef5=_0x4a2e6d;var _0xcb8b0f;const _0x21b1ff=((_0xcb8b0f=this[_0x3d7ef5(0x212)])==null?void 0x0:_0xcb8b0f[_0x3d7ef5(0x1e2)])||{};return this[_0x3d7ef5(0x20f)](_0x3d7ef5(0x1e2),{..._0x21b1ff,..._0x101ddd}),this;}[_0x4a2e6d(0x21f)](_0x452e30){const _0x534c56=_0x4a2e6d;return this[_0x534c56(0x20f)](_0x534c56(0x1b8),_0x452e30),this;}['setAxisPointerStyle'](_0x5c910f){const _0x56283e=_0x4a2e6d;return this['setOptions'](_0x56283e(0x20d),_0x5c910f),this;}[_0x4a2e6d(0x196)](_0x25e360){const _0x499f16=_0x4a2e6d;return this['setOptions'](_0x499f16(0x19c),_0x25e360),this;}['setSeriesStyle'](_0x5672ae,_0x4de289){const _0x28437b=_0x4a2e6d;return this['setOptions'](_0x28437b(0x1c7),{[_0x5672ae]:_0x4de289}),this;}[_0x4a2e6d(0x222)](){const _0x48c674=_0x4a2e6d;var _0x2f5737;let _0x20c587=this[_0x48c674(0x233)];if(this[_0x48c674(0x224)]){const _0x15f779=(_0x2f5737=this[_0x48c674(0x205)][_0x48c674(0x1fb)](this[_0x48c674(0x224)]))==null?void 0x0:_0x2f5737[_0x48c674(0x1dd)]();if(!_0x15f779)throw new Error(_0x48c674(0x234)+this[_0x48c674(0x224)]+_0x48c674(0x1c3));_0x20c587=_0x15f779;}return{'unitId':this[_0x48c674(0x1b4)],'subUnitId':_0x20c587,'chartId':this['chartId'],'range':this[_0x48c674(0x23e)],'x':this['x'],'y':this['y'],'width':this[_0x48c674(0x1a6)],'height':this[_0x48c674(0x1aa)],'chartType':this[_0x48c674(0x1ef)],'options':this[_0x48c674(0x212)],'isRowDirection':this['transposeRowsAndColumns']};}}class f{constructor(_0x5a1cb2,_0x5146a9,_0x366f8e,_0x23bcc7){const _0x4fba69=_0x4a2e6d;n(this,_0x4fba69(0x1b4)),n(this,_0x4fba69(0x233)),n(this,'chartId'),n(this,'_injector'),(this[_0x4fba69(0x1b4)]=_0x5a1cb2,this[_0x4fba69(0x233)]=_0x5146a9,this[_0x4fba69(0x1e3)]=_0x366f8e,this['_injector']=_0x23bcc7);}[_0x4a2e6d(0x1df)](){const _0x3e8602=_0x4a2e6d;return this[_0x3e8602(0x1e3)];}[_0x4a2e6d(0x1b1)](){const _0x130c71=_0x4a2e6d,_0x19400a=this['_injector'][_0x130c71(0x1d1)](_0x3b2f0c)[_0x130c71(0x1c2)](this['chartId']);if(_0x19400a)return _0x19400a[_0x130c71(0x201)]['getRangeInfo']();}['updateRange'](_0x1389b5){const _0x2b5881=_0x4a2e6d;return this[_0x2b5881(0x1ee)][_0x2b5881(0x1d1)](_0x114ca1)[_0x2b5881(0x1d9)](_0x25c10e['id'],{'unitId':this[_0x2b5881(0x1b4)],'chartModelId':this[_0x2b5881(0x1e3)],'range':_0x1389b5});}['getSeriesData'](){const _0x4e98cc=_0x4a2e6d;var _0x4a9354;const _0x4ff087=this[_0x4e98cc(0x1ee)][_0x4e98cc(0x1d1)](_0x3b2f0c)[_0x4e98cc(0x1c2)](this[_0x4e98cc(0x1e3)]);if(_0x4ff087)return(_0x4a9354=_0x4ff087['config'])==null?void 0x0:_0x4a9354[_0x4e98cc(0x1ae)];}[_0x4a2e6d(0x238)](){const _0x2fc38f=_0x4a2e6d;var _0x5863a0;const _0x52a43f=this[_0x2fc38f(0x1ee)][_0x2fc38f(0x1d1)](_0x3b2f0c)['getChartModel'](this[_0x2fc38f(0x1e3)]);if(_0x52a43f)return(_0x5863a0=_0x52a43f[_0x2fc38f(0x23b)])==null?void 0x0:_0x5863a0[_0x2fc38f(0x1d2)];}[_0x4a2e6d(0x23c)](){const _0x59cb8d=_0x4a2e6d,_0x52e875=this[_0x59cb8d(0x1ee)][_0x59cb8d(0x1d1)](_0x4057ed)[_0x59cb8d(0x219)](_0x401e09[_0x59cb8d(0x19f)]);return new c(this[_0x59cb8d(0x1b4)],this[_0x59cb8d(0x233)],_0x52e875,this['_injector'],this[_0x59cb8d(0x1e3)]);}}class Q extends _0x3cbd9c{async[_0x4a2e6d(0x1c4)](_0x225b60){const _0x3405ec=_0x4a2e6d;var _0x3bffb3,_0x38fa71,_0x128c11;const _0x329c17=_0x225b60[_0x3405ec(0x1b4)]||this[_0x3405ec(0x1d4)]()[_0x3405ec(0x210)](),_0x134c90=_0x225b60[_0x3405ec(0x233)]||this[_0x3405ec(0x1dd)](),_0x41d9fc=_0x225b60[_0x3405ec(0x1e3)]||_0x3798ed(),_0x302fab=_0x225b60[_0x3405ec(0x1ef)],_0x50cd39=_0x225b60[_0x3405ec(0x23e)],_0x2a325f={'x':_0x225b60['x'],'y':_0x225b60['y']},_0x2711b5=_0x225b60['width'],_0x85135=_0x225b60[_0x3405ec(0x1aa)],_0x3384d6=(_0x3bffb3=_0x225b60[_0x3405ec(0x212)])==null?void 0x0:_0x3bffb3[_0x3405ec(0x227)],_0x218f8e=(_0x38fa71=_0x225b60[_0x3405ec(0x212)])==null?void 0x0:_0x38fa71['borderColor'],_0x33e1f9=C(_0x329c17,_0x41d9fc,_0x302fab,_0x225b60[_0x3405ec(0x212)]),_0x597ca9=(_0x128c11=_0x225b60[_0x3405ec(0x19b)])!=null?_0x128c11:!0x0;if(!_0x50cd39)throw new Error(_0x3405ec(0x208));return await this[_0x3405ec(0x22b)][_0x3405ec(0x1d9)](_0x468dc6['id'],{'unitId':_0x329c17,'subUnitId':_0x134c90,'chartId':_0x41d9fc,'chartType':_0x302fab,'range':_0x50cd39,'position':_0x2a325f,'width':_0x2711b5,'height':_0x85135,'backgroundColor':_0x3384d6,'borderColor':_0x218f8e,'config':_0x33e1f9,'isRowDirection':_0x597ca9}),new f(_0x329c17,_0x134c90,_0x41d9fc,this[_0x3405ec(0x1ee)]);}['updateChart'](_0x200505){const _0x425df7=_0x4a2e6d,{unitId:_0x3db82c,chartId:_0xea032c,chartType:_0x3371d5,options:_0x3e29ee}=_0x200505,_0xd56c2a=C(_0x3db82c,_0xea032c,_0x3371d5,_0x3e29ee);this['_commandService'][_0x425df7(0x1d9)](_0x4eae6b['id'],_0xd56c2a);}['newChart'](_0x13da45){const _0x32d47c=_0x4a2e6d;if(_0x13da45)return new c(_0x13da45[_0x32d47c(0x1b4)],_0x13da45[_0x32d47c(0x233)],this['_workbook'],this[_0x32d47c(0x1ee)],_0x13da45[_0x32d47c(0x1e3)]);const _0x4b7c4c=this['getWorkbook']()['getUnitId'](),_0x448039=this[_0x32d47c(0x1dd)]();return new c(_0x4b7c4c,_0x448039,this['_workbook'],this[_0x32d47c(0x1ee)]);}[_0x4a2e6d(0x20b)](){const _0x23c82e=_0x4a2e6d,_0x3abb49=this[_0x23c82e(0x1ee)][_0x23c82e(0x1d1)](_0x3b2f0c),_0x104e82=this[_0x23c82e(0x1d4)]()[_0x23c82e(0x210)]();return _0x3abb49[_0x23c82e(0x1ed)](_0x104e82,this['getSheetId']())[_0x23c82e(0x1f9)](_0x2f6f79=>new f(_0x104e82,this[_0x23c82e(0x1dd)](),_0x2f6f79['id'],this[_0x23c82e(0x1ee)]));}[_0x4a2e6d(0x1cc)](_0x198a6b){const _0x201a28=_0x4a2e6d,_0x57b990=_0x198a6b['unitId'],_0x3edaf1=_0x198a6b[_0x201a28(0x233)],_0x320c0d=_0x198a6b['chartId'],_0x18139c={'unitId':_0x57b990,'drawings':[{'unitId':_0x57b990,'subUnitId':_0x3edaf1,'drawingId':_0x320c0d,'drawingType':_0x1ce1a1[_0x201a28(0x200)]}]};return this[_0x201a28(0x22b)][_0x201a28(0x1d9)](_0x13e9de['id'],_0x18139c);}[_0x4a2e6d(0x1fd)](_0x3710bf,_0x8ae4d){const _0x2c0e96=_0x4a2e6d;this['_injector'][_0x2c0e96(0x1d1)](_0x3ccd45)[_0x2c0e96(0x1de)](_0x3710bf,_0x8ae4d);}}_0x3cbd9c[_0x4a2e6d(0x1cb)](Q);class Z extends _0x3106e4{get[_0x4a2e6d(0x236)](){return _0x27bc54;}get[_0x4a2e6d(0x1ac)](){return _0x332ff8;}get['SelectModeEnum'](){return _0x3e4913;}get[_0x4a2e6d(0x1f8)](){return _0x3d9497;}get['ChartBorderDashType'](){return _0x1cb2ec;}get[_0x4a2e6d(0x235)](){return _0xc8bd88;}get[_0x4a2e6d(0x1f5)](){return _0x4af1e2;}get[_0x4a2e6d(0x22e)](){return _0x31a5f7;}}_0x3106e4['extend'](Z);class tt extends c{constructor(_0x3b5d38,_0x93ae66,_0x4f23ac,_0xd113e2,_0x4be97a){const _0x4636cd=_0x4a2e6d;super(_0x3b5d38,_0x93ae66,_0x4f23ac,_0xd113e2,_0x4be97a),n(this,_0x4636cd(0x1c1)),n(this,_0x4636cd(0x1a9)),n(this,'dataPointColor'),n(this,_0x4636cd(0x1e0));}[_0x4a2e6d(0x1c0)](_0x4fc8e3){const _0x481741=_0x4a2e6d;return this[_0x481741(0x1c1)]=_0x4fc8e3,this;}[_0x4a2e6d(0x1a3)](_0x58f2e7){const _0x9e1a69=_0x4a2e6d;return this[_0x9e1a69(0x1a9)]=_0x58f2e7,this;}[_0x4a2e6d(0x202)](_0xd455e8){const _0x3db0ba=_0x4a2e6d;return this[_0x3db0ba(0x189)]=_0xd455e8,this;}['setDataPointSize'](_0x47d14a){const _0x257182=_0x4a2e6d;return this[_0x257182(0x1e0)]=_0x47d14a,this;}['build'](){const _0x3a51ec=_0x4a2e6d,_0x472f30=super[_0x3a51ec(0x222)]();_0x472f30[_0x3a51ec(0x1ef)]=_0x27bc54[_0x3a51ec(0x1e5)];const _0x53857d=_0x472f30[_0x3a51ec(0x212)]||{};return s(_0x53857d,_0x3a51ec(0x19a),this['lineStyle']),s(_0x53857d,'allSeriesStyle.point.shape',this[_0x3a51ec(0x1a9)]),s(_0x53857d,_0x3a51ec(0x1e9),this[_0x3a51ec(0x189)]),s(_0x53857d,'allSeriesStyle.point.size',this['dataPointSize']),_0x472f30[_0x3a51ec(0x212)]=_0x53857d,_0x472f30;}}class et extends c{[_0x4a2e6d(0x239)](){const _0x3dbc22=_0x4a2e6d;return new tt(this['unitId'],this[_0x3dbc22(0x233)],this['_workbook'],this['_injector'],this[_0x3dbc22(0x1e3)]);}}c['extend'](et);class it extends c{constructor(_0x42afdd,_0x985fb3,_0x193ce1,_0x458fba,_0x361aa3){const _0xb47bc5=_0x4a2e6d;super(_0x42afdd,_0x985fb3,_0x193ce1,_0x458fba,_0x361aa3),n(this,_0xb47bc5(0x214)),n(this,_0xb47bc5(0x1f4)),n(this,_0xb47bc5(0x19d)),n(this,_0xb47bc5(0x19e)),n(this,_0xb47bc5(0x18d)),n(this,_0xb47bc5(0x192));}[_0x4a2e6d(0x1cd)](_0x22e1df){const _0x4381ce=_0x4a2e6d;return this[_0x4381ce(0x214)]=_0x22e1df,this;}[_0x4a2e6d(0x1db)](_0x44bdd2){const _0x231bbd=_0x4a2e6d;return this[_0x231bbd(0x1f4)]=_0x44bdd2,this;}['setHasPaddingAngle'](_0x112cb3){const _0x45e76b=_0x4a2e6d;return this[_0x45e76b(0x19d)]=_0x112cb3,this;}[_0x4a2e6d(0x1b7)](_0xd18540){const _0x5f547f=_0x4a2e6d;return this[_0x5f547f(0x19e)]=_0xd18540,this;}[_0x4a2e6d(0x23d)](_0x2eb53b){const _0xe17ea2=_0x4a2e6d;return this[_0xe17ea2(0x18d)]=_0x2eb53b,this;}[_0x4a2e6d(0x223)](_0x2a9bea){const _0x7f4a7d=_0x4a2e6d;return this[_0x7f4a7d(0x192)]=_0x2a9bea,this;}[_0x4a2e6d(0x222)](){const _0x2294ec=_0x4a2e6d,_0x37d3a8=super['build']();_0x37d3a8[_0x2294ec(0x1ef)]=_0x27bc54[_0x2294ec(0x1ce)];const _0x5dabc3=_0x37d3a8['options']||{};return s(_0x5dabc3,_0x2294ec(0x215),this[_0x2294ec(0x214)]),s(_0x5dabc3,_0x2294ec(0x203),this[_0x2294ec(0x1f4)]),s(_0x5dabc3,_0x2294ec(0x1bf),this[_0x2294ec(0x19d)]),s(_0x5dabc3,'pie.isHalfPie',this['isHalfPie']),s(_0x5dabc3,_0x2294ec(0x1ea),this[_0x2294ec(0x18d)]),s(_0x5dabc3,_0x2294ec(0x1fa),this[_0x2294ec(0x192)]),_0x37d3a8[_0x2294ec(0x212)]=_0x5dabc3,_0x37d3a8;}}class st extends c{[_0x4a2e6d(0x21d)](){const _0x27a195=_0x4a2e6d;return new it(this[_0x27a195(0x1b4)],this[_0x27a195(0x233)],this[_0x27a195(0x205)],this['_injector'],this[_0x27a195(0x1e3)]);}}c[_0x4a2e6d(0x1cb)](st);class rt extends c{constructor(_0x230c9f,_0x2a1fee,_0x580e41,_0x38d024,_0x82498a){const _0x118858=_0x4a2e6d;super(_0x230c9f,_0x2a1fee,_0x580e41,_0x38d024,_0x82498a),n(this,_0x118858(0x1cf)),n(this,'fill');}[_0x4a2e6d(0x1e8)](_0x3f8372){const _0x1dc0a8=_0x4a2e6d;return this[_0x1dc0a8(0x1cf)]=_0x3f8372,this;}[_0x4a2e6d(0x1fe)](_0x408218){const _0x2596d4=_0x4a2e6d;return this[_0x2596d4(0x1ba)]=_0x408218,this;}[_0x4a2e6d(0x222)](){const _0x2411db=_0x4a2e6d,_0x5f04cd=super[_0x2411db(0x222)]();_0x5f04cd[_0x2411db(0x1ef)]=_0x27bc54[_0x2411db(0x1f6)];const _0x594859=_0x5f04cd[_0x2411db(0x212)]||{};return s(_0x594859,'radar.shape',this[_0x2411db(0x1cf)]),s(_0x594859,_0x2411db(0x199),this[_0x2411db(0x1ba)]),_0x5f04cd[_0x2411db(0x212)]=_0x594859,_0x5f04cd;}}class ot extends c{[_0x4a2e6d(0x23a)](){const _0xaf3ec4=_0x4a2e6d;return new rt(this[_0xaf3ec4(0x1b4)],this[_0xaf3ec4(0x233)],this[_0xaf3ec4(0x205)],this[_0xaf3ec4(0x1ee)],this[_0xaf3ec4(0x1e3)]);}}c[_0x4a2e6d(0x1cb)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};