@univerjs-pro/sheets-chart-ui 0.8.1-nightly.202506161607 → 0.8.1-nightly.202506181607

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
- function _0x4cb9(_0x50fcdb,_0x516e4f){const _0x5ba73f=_0x5ba7();return _0x4cb9=function(_0x4cb9c2,_0x3467be){_0x4cb9c2=_0x4cb9c2-0x19a;let _0x1dd606=_0x5ba73f[_0x4cb9c2];return _0x1dd606;},_0x4cb9(_0x50fcdb,_0x516e4f);}const _0x5b5bf4=_0x4cb9;(function(_0x3a9716,_0x58d95e){const _0x4f39ba=_0x4cb9,_0x7f767f=_0x3a9716();while(!![]){try{const _0x51f87e=parseInt(_0x4f39ba(0x1ef))/0x1*(-parseInt(_0x4f39ba(0x20f))/0x2)+-parseInt(_0x4f39ba(0x204))/0x3+parseInt(_0x4f39ba(0x1f1))/0x4*(parseInt(_0x4f39ba(0x1a5))/0x5)+-parseInt(_0x4f39ba(0x20e))/0x6+parseInt(_0x4f39ba(0x21d))/0x7*(-parseInt(_0x4f39ba(0x1dc))/0x8)+parseInt(_0x4f39ba(0x1a4))/0x9*(-parseInt(_0x4f39ba(0x1c1))/0xa)+parseInt(_0x4f39ba(0x1bc))/0xb;if(_0x51f87e===_0x58d95e)break;else _0x7f767f['push'](_0x7f767f['shift']());}catch(_0x3e582a){_0x7f767f['push'](_0x7f767f['shift']());}}}(_0x5ba7,0x6a1df));function _0x5ba7(){const _0x25a009=['雷達圖','最小值','線類型','請先添加系列開始數據可視化','圖表邊框顏色','顯示標籤線','設置圖表','標籤旋轉','3412830GLLXvf','15942hcNRFT','正值樣式','標題位置','使用絕對值','標題文本','折線圖','刻度線長度','趨勢線','顯示空單元格為','使用日期軸','第\x20{0}\x20項','數據標籤','小計圖例文本','顯示R平方','4896542XglEJo','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','負數類型','堆疊方式','網格線','標籤文本','切換行或列','添加系列','空心圓形','顯示標籤','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','玫瑰圖','累積占比','9yHMqtC','2305ZPBogk','重複詞雲標籤','顯示小計','系列\x20{0}','主刻度線','多邊形','更多設置','佈局類型','左對齊','氣泡大小','刻度線位置','{0}\x20顏色','水平軸','趨勢線名稱','標題對齊','股票圖','標題格式','移動平均','漏斗圖','類別\x20{0}','排列圖','關係圖','顯示公式','14529559JJcjqz','旋轉標籤','趨勢線類型','空心針形','背景顏色','2436870gLIuCP','力導向','使用右軸','Y軸標題','最大值','百分比','打開圖表面板','負值圖例文本','漸變填充','趨勢線線類型','空心正方形','X軸標題','(空)','數據範圍','正方形','千分位符','標籤位置','{0}\x20粗細','字段設置','開啟選中淡入特效','扇形間距','{0}\x20形狀','用直線連接數據點','氣泡標籤','添加數據點','顯示軸線','氣泡圖至少需要3列,X軸、Y軸和氣泡大小。','8RGITlu','軸選項','長條圖系列','主網格線','{0}\x20透明度','趨勢線粗細','圖表樣式','網格線和刻度線','百分比堆疊','日期格式將日期和時間系列數值顯示為日期值。','使用\x20{0}\x20作為類別標籤','右Y軸標題','指示值','副標題','負值樣式','散點圖','詞雲形狀','累積占比系列','日期類型','7MKAwcs','堆疊條形圖','6404MeGoOB','插入圖表','{0}\x20大小','數據點','圓環孔','指示線顏色','設置標籤格式','多項式階數','詞雲圖','正值圖例文本','編輯圖表','{0}\x20類型','R平方','環形圖','圖例選擇模式','空心三角形','百分比堆疊面積圖','主標題','自定義圖表','169440vOhrTb','移動平均周期'];_0x5ba7=function(){return _0x25a009;};return _0x5ba7();}const e={'chart':{'insertChart':_0x5b5bf4(0x1f2),'editChart':_0x5b5bf4(0x1fb),'openChartPanel':_0x5b5bf4(0x1c7),'deleteChart':'刪除圖表','hideChartPanel':'隱藏圖表面板','setupChart':_0x5b5bf4(0x20c),'customChart':_0x5b5bf4(0x203),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x5b5bf4(0x1ce),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x5b5bf4(0x19e),'moreSettings':_0x5b5bf4(0x1ab),'min':_0x5b5bf4(0x207),'max':_0x5b5bf4(0x1c5),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x5b5bf4(0x1d7)},'blank':_0x5b5bf4(0x1cd),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x5b5bf4(0x1c0),'chartBorderColor':_0x5b5bf4(0x20a),'titles':{'title':'標題','mainTitle':_0x5b5bf4(0x202),'subTitle':_0x5b5bf4(0x1e9),'xAxisTitle':_0x5b5bf4(0x1cc),'yAxisTitle':_0x5b5bf4(0x1c4),'rightYAxisTitle':_0x5b5bf4(0x1e7),'titleFormat':_0x5b5bf4(0x1b5),'titleText':_0x5b5bf4(0x213),'titlePosition':_0x5b5bf4(0x211),'titleAlign':_0x5b5bf4(0x1b3)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x5b5bf4(0x1c9),'settingsLabels':{'switchToRowOrColumn':_0x5b5bf4(0x19d),'useAsCategoryLabels':_0x5b5bf4(0x1e6),'showEmptyCellsAs':_0x5b5bf4(0x217)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x5b5bf4(0x1ad),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x5b5bf4(0x1e2),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x5b5bf4(0x1ff),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'axes':{'axis':'軸','axisOptions':_0x5b5bf4(0x1dd),'horizontalAxis':_0x5b5bf4(0x1b1),'verticalAxis':'垂直軸','rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x5b5bf4(0x1c3)},'position':'位置','dataLabels':_0x5b5bf4(0x21a),'gridlinesAndTicks':_0x5b5bf4(0x1e3),'indicatorLine':'指示線','indicatorLineType':'指示線類型','indicatorLineColor':_0x5b5bf4(0x1f6),'indicatorLabel':'指示標籤','indicatorValue':_0x5b5bf4(0x1e8),'shape':{'polygon':_0x5b5bf4(0x1aa),'circle':'圓形','square':_0x5b5bf4(0x1cf),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x5b5bf4(0x19f),'emptySquare':_0x5b5bf4(0x1cb),'emptyTriangle':_0x5b5bf4(0x200),'emptyDiamond':'空心菱形','emptyRect':'空心矩形','emptyRoundRect':'空心圓角矩形','emptyPin':_0x5b5bf4(0x1bf),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x5b5bf4(0x1e0),'withColor':_0x5b5bf4(0x1b0),'withThickness':_0x5b5bf4(0x1d2),'withType':_0x5b5bf4(0x1fc),'withSize':_0x5b5bf4(0x1f3),'withShape':_0x5b5bf4(0x1d6),'withFormat':'{0}\x20格式','dataPoint':'數據點','addDataPoint':_0x5b5bf4(0x1d9),'point':_0x5b5bf4(0x1f4),'percentage':_0x5b5bf4(0x1c6),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x5b5bf4(0x1e4)},'lineDashType':_0x5b5bf4(0x208),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x5b5bf4(0x1df),'text':_0x5b5bf4(0x19b)},'ticks':{'majorTick':_0x5b5bf4(0x1a9),'tickPosition':_0x5b5bf4(0x1af),'tickLength':_0x5b5bf4(0x215)},'none':'無','theIndexItem':_0x5b5bf4(0x219),'seriesDefaultName':_0x5b5bf4(0x1a8),'categoryDefaultName':_0x5b5bf4(0x1b8),'styleEditPanel':{'showLabels':_0x5b5bf4(0x1a0),'showDataLabels':'顯示數據標籤','padAngle':_0x5b5bf4(0x1d5),'halfPie':'半餅','rosePie':_0x5b5bf4(0x1a2),'showLabelLine':_0x5b5bf4(0x20b),'reverseAxisOrder':'逆序軸','showAxisLine':_0x5b5bf4(0x1da),'labelPosition':_0x5b5bf4(0x1d1),'labelText':_0x5b5bf4(0x19c),'repeatWordCould':_0x5b5bf4(0x1a6),'gap':'間隔','useAbsValue':_0x5b5bf4(0x212),'labelRotate':_0x5b5bf4(0x20d),'wordCloudShape':_0x5b5bf4(0x1ec),'useDateAxis':_0x5b5bf4(0x218),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x5b5bf4(0x1f5),'msg':{'invalidSource':'圖表數據源必須包含多於1行和1列。','emptyTips':_0x5b5bf4(0x209)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x5b5bf4(0x216),'displayName':_0x5b5bf4(0x1b2),'addTrendLine':'添加趨勢線','trendlineType':_0x5b5bf4(0x1be),'trendlineName':_0x5b5bf4(0x1b2),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x5b5bf4(0x1e1),'trendlineDashType':_0x5b5bf4(0x1ca),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x5b5bf4(0x1b6),'poly':'多項式','order':_0x5b5bf4(0x1f8),'period':_0x5b5bf4(0x205),'showFormula':_0x5b5bf4(0x1bb),'showR2':_0x5b5bf4(0x21c),'formula':'公式','r2':_0x5b5bf4(0x1fd)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x5b5bf4(0x1ae),'label':_0x5b5bf4(0x1d8),'emptyTips':_0x5b5bf4(0x1db)},'relation':{'title':_0x5b5bf4(0x1ba),'auto':'自動','circular':'環形','force':_0x5b5bf4(0x1c2),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0x5b5bf4(0x1ac),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x5b5bf4(0x1bd),'emphasis':_0x5b5bf4(0x1d4),'emptyTips':'關係圖資料來源為額外新增類型列在第二列的共詞矩陣'},'waterfall':{'stackType':_0x5b5bf4(0x19a),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x5b5bf4(0x1a7),'positiveStyle':_0x5b5bf4(0x210),'negativeStyle':_0x5b5bf4(0x1ea),'subtotalStyle':'小計樣式','positiveLegendText':_0x5b5bf4(0x1fa),'negativeLegendText':_0x5b5bf4(0x1c8),'subtotalLegendText':_0x5b5bf4(0x21b)},'pareto':{'lineName':_0x5b5bf4(0x1a3),'lineSeries':_0x5b5bf4(0x1ed),'barSeries':_0x5b5bf4(0x1de)}},'chartTypes':{'line':_0x5b5bf4(0x214),'area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':_0x5b5bf4(0x201),'column':'柱狀圖','bar':'條形圖','barStacked':_0x5b5bf4(0x1f0),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x5b5bf4(0x1fe),'scatter':_0x5b5bf4(0x1eb),'radar':_0x5b5bf4(0x206),'bubble':'氣泡圖','stock':_0x5b5bf4(0x1b4),'combination':'組合圖','wordCloud':_0x5b5bf4(0x1f9),'funnel':_0x5b5bf4(0x1b7),'relation':'關係圖','waterfall':'瀑布圖','pareto':_0x5b5bf4(0x1b9)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x5b5bf4(0x1d0),'fieldSetting':_0x5b5bf4(0x1d3),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x5b5bf4(0x1a1),'dateDesc':_0x5b5bf4(0x1e5),'thousandthPercentileDesc':_0x5b5bf4(0x21e),'decimalPlaces':'小數位數','currencyTypes':'貨幣類型','negativeNumberTypes':_0x5b5bf4(0x21f),'dateTypes':_0x5b5bf4(0x1ee)},'setFormat':_0x5b5bf4(0x1f7)}};export{e as default};
1
+ function _0x1e0e(_0x255b47,_0x7829db){const _0x59405c=_0x5940();return _0x1e0e=function(_0x1e0eaf,_0x253401){_0x1e0eaf=_0x1e0eaf-0x9b;let _0xa10152=_0x59405c[_0x1e0eaf];return _0xa10152;},_0x1e0e(_0x255b47,_0x7829db);}const _0x1f97b5=_0x1e0e;(function(_0x2e33c2,_0x3a7f76){const _0x2e09aa=_0x1e0e,_0x110813=_0x2e33c2();while(!![]){try{const _0x1b3dd9=-parseInt(_0x2e09aa(0x11a))/0x1*(-parseInt(_0x2e09aa(0xd6))/0x2)+parseInt(_0x2e09aa(0x114))/0x3*(parseInt(_0x2e09aa(0xc1))/0x4)+-parseInt(_0x2e09aa(0xf1))/0x5+-parseInt(_0x2e09aa(0xe4))/0x6*(parseInt(_0x2e09aa(0xda))/0x7)+-parseInt(_0x2e09aa(0xae))/0x8+parseInt(_0x2e09aa(0xca))/0x9+parseInt(_0x2e09aa(0xa6))/0xa;if(_0x1b3dd9===_0x3a7f76)break;else _0x110813['push'](_0x110813['shift']());}catch(_0x41179b){_0x110813['push'](_0x110813['shift']());}}}(_0x5940,0x29884));const e={'chart':{'insertChart':_0x1f97b5(0xa5),'editChart':'編輯圖表','openChartPanel':_0x1f97b5(0xe9),'deleteChart':_0x1f97b5(0x9e),'hideChartPanel':_0x1f97b5(0xff),'setupChart':_0x1f97b5(0x111),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x1f97b5(0x9d),'themes':'主題','dataRange':_0x1f97b5(0xb9),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x1f97b5(0x11c),'series':'系列','addSeries':_0x1f97b5(0xa9),'moreSettings':_0x1f97b5(0xc4),'min':_0x1f97b5(0xfc),'max':_0x1f97b5(0x122),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x1f97b5(0xa8)},'blank':_0x1f97b5(0xbd),'seriesBlock':{'format':'格式','dataPointStyle':_0x1f97b5(0xcd)},'backgroundColor':_0x1f97b5(0xf8),'chartBorderColor':_0x1f97b5(0xcf),'titles':{'title':'標題','mainTitle':_0x1f97b5(0xed),'subTitle':_0x1f97b5(0x11f),'xAxisTitle':_0x1f97b5(0xf6),'yAxisTitle':'Y軸標題','rightYAxisTitle':_0x1f97b5(0x107),'titleFormat':_0x1f97b5(0xa7),'titleText':_0x1f97b5(0xc0),'titlePosition':'標題位置','titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x1f97b5(0xaf),'settingsLabels':{'switchToRowOrColumn':_0x1f97b5(0xd9),'useAsCategoryLabels':_0x1f97b5(0xbe),'showEmptyCellsAs':_0x1f97b5(0xd5)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':_0x1f97b5(0xb0)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x1f97b5(0x115),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x1f97b5(0xdc),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'axes':{'axis':'軸','axisOptions':_0x1f97b5(0xb8),'horizontalAxis':_0x1f97b5(0x10b),'verticalAxis':'垂直軸','rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x1f97b5(0xac)},'position':'位置','dataLabels':_0x1f97b5(0xc3),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x1f97b5(0xf3),'indicatorLineType':_0x1f97b5(0x10f),'indicatorLineColor':_0x1f97b5(0xcb),'indicatorLabel':'指示標籤','indicatorValue':_0x1f97b5(0xaa),'shape':{'polygon':_0x1f97b5(0xc9),'circle':'圓形','square':_0x1f97b5(0x106),'triangle':_0x1f97b5(0xb2),'diamond':'菱形','rect':'矩形','roundRect':_0x1f97b5(0x104),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x1f97b5(0x10d),'emptySquare':_0x1f97b5(0xdb),'emptyTriangle':_0x1f97b5(0x101),'emptyDiamond':_0x1f97b5(0xef),'emptyRect':_0x1f97b5(0xc8),'emptyRoundRect':_0x1f97b5(0x108),'emptyPin':'空心針形','emptyArrow':_0x1f97b5(0x118)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x1f97b5(0xc6),'withColor':_0x1f97b5(0xd2),'withThickness':_0x1f97b5(0x10e),'withType':_0x1f97b5(0xd7),'withSize':_0x1f97b5(0xe7),'withShape':_0x1f97b5(0x112),'withFormat':_0x1f97b5(0xce),'dataPoint':_0x1f97b5(0xfa),'addDataPoint':_0x1f97b5(0xd4),'point':_0x1f97b5(0xfa),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x1f97b5(0xf9)},'lineDashType':_0x1f97b5(0x113),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x1f97b5(0xfd)},'ticks':{'majorTick':'主刻度線','tickPosition':_0x1f97b5(0xb7),'tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x1f97b5(0xc2),'seriesDefaultName':_0x1f97b5(0xe1),'categoryDefaultName':_0x1f97b5(0xf4),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x1f97b5(0xf5),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x1f97b5(0xfe),'showLabelLine':'顯示標籤線','reverseAxisOrder':_0x1f97b5(0xd8),'showAxisLine':'顯示軸線','labelPosition':'標籤位置','labelText':'標籤文本','repeatWordCould':_0x1f97b5(0xb3),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x1f97b5(0xbb),'wordCloudShape':_0x1f97b5(0xb1),'useDateAxis':_0x1f97b5(0xc7),'dateAxisTips':_0x1f97b5(0xcc)},'radar':{'fill':'填充'},'doughnutHole':'圓環孔','msg':{'invalidSource':_0x1f97b5(0xba),'emptyTips':_0x1f97b5(0xb6)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x1f97b5(0xe6),'displayName':_0x1f97b5(0xa0),'addTrendLine':_0x1f97b5(0xb5),'trendlineType':'趨勢線類型','trendlineName':'趨勢線名稱','trendlineColor':_0x1f97b5(0xd3),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x1f97b5(0xe0),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x1f97b5(0x121),'poly':_0x1f97b5(0xdf),'order':_0x1f97b5(0xbc),'period':_0x1f97b5(0xb4),'showFormula':_0x1f97b5(0x103),'showR2':_0x1f97b5(0x102),'formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x1f97b5(0xec),'label':'氣泡標籤','emptyTips':'氣泡圖至少需要3列,X軸、Y軸和氣泡大小。'},'relation':{'title':_0x1f97b5(0x11d),'auto':'自動','circular':'環形','force':_0x1f97b5(0x119),'useValueAsSymbolSize':_0x1f97b5(0x11e),'layoutType':'佈局類型','forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x1f97b5(0xd1),'emphasis':'開啟選中淡入特效','emptyTips':_0x1f97b5(0x11b)},'waterfall':{'stackType':_0x1f97b5(0x105),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x1f97b5(0xde),'positiveStyle':_0x1f97b5(0x123),'negativeStyle':_0x1f97b5(0xa3),'subtotalStyle':_0x1f97b5(0xe8),'positiveLegendText':_0x1f97b5(0xeb),'negativeLegendText':_0x1f97b5(0x9b),'subtotalLegendText':_0x1f97b5(0x9f)},'pareto':{'lineName':_0x1f97b5(0xf7),'lineSeries':_0x1f97b5(0xd0),'barSeries':_0x1f97b5(0x100)}},'chartTypes':{'line':'折線圖','area':_0x1f97b5(0x116),'areaStacked':'堆疊面積圖','areaPercentStacked':_0x1f97b5(0xea),'column':_0x1f97b5(0x110),'bar':_0x1f97b5(0xee),'barStacked':_0x1f97b5(0xbf),'barPercentStacked':_0x1f97b5(0x117),'pie':'餅圖','donut':_0x1f97b5(0xa1),'scatter':_0x1f97b5(0xa4),'radar':'雷達圖','bubble':_0x1f97b5(0xa2),'stock':'股票圖','combination':'組合圖','wordCloud':'詞雲圖','funnel':_0x1f97b5(0x9c),'relation':_0x1f97b5(0x11d),'waterfall':_0x1f97b5(0x109),'pareto':_0x1f97b5(0xe2)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x1f97b5(0x120),'fieldSetting':_0x1f97b5(0xf0),'formatTypes':_0x1f97b5(0xad),'confirm':'確定','cancel':'取消','generalDesc':_0x1f97b5(0xe5),'accountingDesc':_0x1f97b5(0xab),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x1f97b5(0x10c),'thousandthPercentileDesc':_0x1f97b5(0x10a),'decimalPlaces':_0x1f97b5(0xf2),'currencyTypes':_0x1f97b5(0xfb),'negativeNumberTypes':_0x1f97b5(0xdd),'dateTypes':_0x1f97b5(0xc5)},'setFormat':_0x1f97b5(0xe3)}};export{e as default};function _0x5940(){const _0x409412=['顯示R平方','顯示公式','圓角矩形','堆疊方式','正方形','右Y軸標題','空心圓角矩形','瀑布圖','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','水平軸','日期格式將日期和時間系列數值顯示為日期值。','空心圓形','{0}\x20粗細','指示線類型','柱狀圖','設置圖表','{0}\x20形狀','線類型','3vTlCNW','圖表樣式','面積圖','百分比堆疊條形圖','空心箭頭','力導向','6qWiJYV','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','所有系列','關係圖','使用值作為節點大小','副標題','千分位符','移動平均','最大值','正值樣式','負值圖例文本','漏斗圖','圖表類型','刪除圖表','小計圖例文本','趨勢線名稱','環形圖','氣泡圖','負值樣式','散點圖','插入圖表','3238340SWiXsN','標題格式','用直線連接數據點','添加系列','指示值','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','使用右軸','格式類型','1788056NrbKJM','漸變填充','右對齊','詞雲形狀','三角形','重複詞雲標籤','移動平均周期','添加趨勢線','請先添加系列開始數據可視化','刻度線位置','軸選項','數據範圍','圖表數據源必須包含多於1行和1列。','標籤旋轉','多項式階數','(空)','使用\x20{0}\x20作為類別標籤','堆疊條形圖','標題文本','19316hMPyRq','第\x20{0}\x20項','數據標籤','更多設置','日期類型','{0}\x20透明度','使用日期軸','空心矩形','多邊形','1979118izabVC','指示線顏色','日期軸僅在數據全部為日期格式時可用','數據點樣式','{0}\x20格式','圖表邊框顏色','累積占比系列','旋轉標籤','{0}\x20顏色','趨勢線顏色','添加數據點','顯示空單元格為','52342vNyYSX','{0}\x20類型','逆序軸','切換行或列','1551207xUeeGH','空心正方形','圖例選擇模式','負數類型','顯示小計','多項式','趨勢線線類型','系列\x20{0}','排列圖','設置標籤格式','6jycDKH','常規格式不包含任何特定的數字格式。','趨勢線','{0}\x20大小','小計樣式','打開圖表面板','百分比堆疊面積圖','正值圖例文本','氣泡大小','主標題','條形圖','空心菱形','字段設置','451835pKWNYt','小數位數','指示線','類別\x20{0}','顯示數據標籤','X軸標題','累積占比','背景顏色','百分比堆疊','數據點','貨幣類型','最小值','網格線','玫瑰圖','隱藏圖表面板','長條圖系列','空心三角形'];_0x5940=function(){return _0x409412;};return _0x5940();}
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x269080=_0x4d2e;(function(_0x3a72f3,_0xec8fa9){const _0x200809=_0x4d2e,_0x342b07=_0x3a72f3();while(!![]){try{const _0x269fa8=-parseInt(_0x200809(0xdf))/0x1*(parseInt(_0x200809(0xa2))/0x2)+parseInt(_0x200809(0x13c))/0x3*(-parseInt(_0x200809(0x85))/0x4)+parseInt(_0x200809(0xc5))/0x5+parseInt(_0x200809(0x119))/0x6*(parseInt(_0x200809(0xb7))/0x7)+-parseInt(_0x200809(0xbf))/0x8+-parseInt(_0x200809(0x11f))/0x9*(parseInt(_0x200809(0x12f))/0xa)+parseInt(_0x200809(0x121))/0xb;if(_0x269fa8===_0xec8fa9)break;else _0x342b07['push'](_0x342b07['shift']());}catch(_0x5b6ec1){_0x342b07['push'](_0x342b07['shift']());}}}(_0x4ce2,0xc7ecd));var b=Object[_0x269080(0xc0)],k=(_0x23c604,_0x203be8,_0x28f674)=>_0x203be8 in _0x23c604?b(_0x23c604,_0x203be8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28f674}):_0x23c604[_0x203be8]=_0x28f674,n=(_0x1aa724,_0x405f3b,_0x488935)=>k(_0x1aa724,typeof _0x405f3b!=_0x269080(0xe0)?_0x405f3b+'':_0x405f3b,_0x488935);function _0x4ce2(){const _0x2ca0c5=['showLabelLine','xAxisTitle','ChartBorderDashType','invalidValueType','width','isHalfPie','titleAlignment','LegendPositionEnum','titles.title.fontSize','insertChart','setInvalidValueStrategy','RadarShape','get','allSeriesStyle.border','legend.label.fontSize','keys','pie.rosePie','title','setTransposeRowsAndColumns','height','with','487093lmLgNv','symbol','allSeriesStyle.rightYAxis','pie.borderColor','range','legend.position','allSeriesStyle.color','yRightAxis','legend.label.bold','yAxis','legend.selectMode','isRowDirection','getChartModel','titles.xAxisTitle.family','transposeRowsAndColumns','getWorkbook','yAxis.label.axisTitleAlign','options','executeCommand','setAllSeriesStyle','newChart','dataPointShape','backgroundColor','allSeriesStyle.point.shape','titles.rightYAxisTitle.family','getChartType','sourceSheetName','registerChartTheme','theme','setSeriesStyle','setOptions','setBorderColor','titles.yAxisTitle.fontSize','titles.xAxisTitle.content','pie.hasPaddingAngle','fontSize','asPieChart','seriesStyleMap','shape','setDataPointSize','setHasPaddingAngle','font','pie','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','fontStyle','getRangeInfo','_commandService','getCurrentUnitForType','titles.xAxisTitle.color','setAxisPointerStyle','pie.showLabelLine','modify','getUnitId','tooltip.indicatorLineColor','borderColor','area','chartId','hasPaddingAngle','2826yqiLmc','getRenderById','clearRange','titles.title.align','titles.title.family','fill','10606428xFHPvo','setRosePie','53241782pJUtQv','titles.rightYAxisTitle.font','titles.title.color','italic','setYAxisTextStyle','indicatorLineColor','titles.xAxisTitle.fontSize','unitId','pie.doughnutHole','length','pie.isHalfPie','titles.title.font','TitlePositionEnum','getSheetBySheetName','10SNQeuu','getUnitChartModels','registerTheme','fontColor','legend','lineStyle','build','UNIVER_SHEET','left','config','setXAxisTitle','context','area.lineStyle','1459761giqWNh','point','rosePie','Line','rightYAxisTitle','titles.xAxisTitle.font','titles.rightYAxisTitle.bold','setShowLabelLine','border','setRightYAxisTextStyle','tooltip.indicatorLabelTextColor','_workbook','SelectModeEnum','xAxis.label.axisTitleAlign','doughnutHole','\x20not\x20found','12yaGNIA','sheetName','titles.yAxisTitle.family','axisAlignment','allSeriesStyle.label','setWidth','legend.label.italic','setChartType','selectMode','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','style','titles.yAxisTitle.color','color','titles.rightYAxisTitle.color','indicatorLabelTextColor','setXAxisTextStyle','_injector','removeChart','bold','series','rightYAxis','titles.titlePosition','extend','radar.fill','chartType','AxisAlignEnum','setTheme','titles.yAxisTitle.bold','setHeight','6QsnFBu','titles.yAxisTitle.font','gradientFill','titles.rightYAxisTitle.fontSize','allSeriesStyle','getCharts','indicatorLineType','Pie','titles.rightYAxisTitle.content','top','subUnitId','asRadarChart','getChartId','dataSource','setShape','setDataPointShape','category','allSeriesStyle.point','titles.yAxisTitle.content','indicatorLabelColor','radar','343VPEFjM','setDoughnutHole','yAxisTitle','setIsHalfPie','LinePointShape','dataPointSize','setPosition','position','10348192LeqpVH','defineProperty','getSheetId','dataPointColor','setYAxisTitle','xAxis','6743540ZIfYGH','tooltip.indicatorLabelColor','content','radar.shape','axisPointer'];_0x4ce2=function(){return _0x2ca0c5;};return _0x4ce2();}import{ChartThemeService as _0xb2f4cc,ChartTypeBits as _0xcb021a,LegendPositionEnum as _0x3dbaf6,SelectModeEnum as _0x49eb21,AxisAlignEnum as _0x2ac388,ChartBorderDashType as _0x41fe9c,LinePointShape as _0x50ddcf,TitlePositionEnum as _0x30b4f5,RadarShape as _0x48ab64}from'@univerjs-pro/engine-chart';import{setProperty as _0x4c9a4b,SheetsChartService as _0x290ea7,ChartUpdateSourceCommand as _0x5ce2b2,ChartUpdateConfigCommand as _0x1c76c0}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x16bcd6}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x438cd6,IUniverInstanceService as _0x11bcdd,UniverInstanceType as _0x2ed3fb,generateRandomId as _0x888e2f,DrawingTypeEnum as _0x57faa0}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1742b0}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x1a9384}from'@univerjs/sheets/facade';import{FBase as _0x4ea372,FEnum as _0x270906}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x4e2417}from'@univerjs/engine-formula';import{IRenderManagerService as _0x450da0}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x47ea95,SheetSkeletonManagerService as _0x52443a,convertPositionCellToSheetOverGrid as _0x4b807d}from'@univerjs/sheets-ui';const s=(_0x275b2d,_0x5d7cea,_0x1c352a)=>{_0x1c352a!==void 0x0&&_0x4c9a4b(_0x275b2d,_0x5d7cea,_0x1c352a);},C=(_0xdf931b,_0x2460a6,_0x304f51,_0x2a4dde={})=>{const _0x51c58d=_0x269080,_0x26c266={},_0x44424a={};if(_0x2a4dde['title']){const _0x5dea6e=_0x2a4dde[_0x51c58d(0xdb)];s(_0x26c266,'titles.title.content',_0x5dea6e['content']),s(_0x26c266,_0x51c58d(0x12c),_0x5dea6e[_0x51c58d(0x108)]),s(_0x26c266,_0x51c58d(0xd2),_0x5dea6e[_0x51c58d(0x102)]),s(_0x26c266,_0x51c58d(0x123),_0x5dea6e[_0x51c58d(0x132)]),s(_0x26c266,_0x51c58d(0x11d),_0x5dea6e[_0x51c58d(0x10b)]),s(_0x26c266,'titles.title.bold',_0x5dea6e[_0x51c58d(0x97)]),s(_0x26c266,_0x51c58d(0x11c),_0x5dea6e[_0x51c58d(0xd0)]),s(_0x26c266,_0x51c58d(0x9a),_0x5dea6e[_0x51c58d(0xbe)]);}if(_0x2a4dde[_0x51c58d(0x133)]){const _0x15d6a5=_0x2a4dde[_0x51c58d(0x133)];s(_0x26c266,_0x51c58d(0xe4),_0x15d6a5['position']),s(_0x26c266,_0x51c58d(0xe9),_0x15d6a5[_0x51c58d(0x8d)]),s(_0x26c266,_0x51c58d(0xd8),_0x15d6a5[_0x51c58d(0x102)]),s(_0x26c266,'legend.label.color',_0x15d6a5[_0x51c58d(0x91)]),s(_0x26c266,_0x51c58d(0xe7),_0x15d6a5[_0x51c58d(0x97)]),s(_0x26c266,_0x51c58d(0x8b),_0x15d6a5[_0x51c58d(0x124)]);}if(_0x2a4dde[_0x51c58d(0x109)]){const _0x3c35e=_0x2a4dde['pie'];s(_0x26c266,_0x51c58d(0x129),_0x3c35e[_0x51c58d(0x83)]),s(_0x26c266,'pie.borderColor',_0x3c35e[_0x51c58d(0x115)]),s(_0x26c266,_0x51c58d(0x101),_0x3c35e[_0x51c58d(0x118)]),s(_0x26c266,_0x51c58d(0x12b),_0x3c35e[_0x51c58d(0xcf)]),s(_0x26c266,_0x51c58d(0xda),_0x3c35e[_0x51c58d(0x13e)]),s(_0x26c266,_0x51c58d(0x111),_0x3c35e[_0x51c58d(0xca)]);}if(_0x2a4dde['axisPointer']){const _0x311ea5=_0x2a4dde[_0x51c58d(0xc9)];s(_0x26c266,_0x51c58d(0xc6),_0x311ea5[_0x51c58d(0xb5)]),s(_0x26c266,'tooltip.indicatorLineType',_0x311ea5[_0x51c58d(0xa8)]),s(_0x26c266,_0x51c58d(0x114),_0x311ea5[_0x51c58d(0x126)]),s(_0x26c266,_0x51c58d(0x7f),_0x311ea5[_0x51c58d(0x93)]);}if(_0x2a4dde[_0x51c58d(0xa6)]&&(s(_0x26c266,_0x51c58d(0xd7),_0x2a4dde[_0x51c58d(0xa6)][_0x51c58d(0x7d)]),s(_0x26c266,_0x51c58d(0x89),_0x2a4dde[_0x51c58d(0xa6)]['label']),s(_0x26c266,_0x51c58d(0xe1),_0x2a4dde[_0x51c58d(0xa6)][_0x51c58d(0x99)]),s(_0x26c266,_0x51c58d(0xb3),_0x2a4dde[_0x51c58d(0xa6)][_0x51c58d(0x13d)]),s(_0x26c266,_0x51c58d(0xe5),_0x2a4dde[_0x51c58d(0xa6)][_0x51c58d(0x91)])),_0x2a4dde[_0x51c58d(0x116)]&&s(_0x26c266,_0x51c58d(0x13b),_0x2a4dde[_0x51c58d(0x116)][_0x51c58d(0x134)]),_0x2a4dde[_0x51c58d(0xfb)]&&s(_0x26c266,_0x51c58d(0xfb),_0x2a4dde[_0x51c58d(0xfb)]),_0x2a4dde[_0x51c58d(0xf5)]&&s(_0x26c266,_0x51c58d(0xf5),_0x2a4dde['backgroundColor']),_0x2a4dde[_0x51c58d(0x115)]&&s(_0x26c266,_0x51c58d(0x115),_0x2a4dde[_0x51c58d(0x115)]),_0x2a4dde[_0x51c58d(0xa4)]&&s(_0x26c266,_0x51c58d(0xa4),_0x2a4dde[_0x51c58d(0xa4)]),_0x2a4dde[_0x51c58d(0xcd)]&&s(_0x26c266,_0x51c58d(0xcd),_0x2a4dde[_0x51c58d(0xcd)]),_0x2a4dde[_0x51c58d(0xb6)]&&s(_0x26c266,'radar',_0x2a4dde[_0x51c58d(0xb6)]),_0x2a4dde[_0x51c58d(0xcb)]){const _0x486dc5=_0x2a4dde[_0x51c58d(0xcb)];s(_0x26c266,_0x51c58d(0x100),_0x486dc5['content']),s(_0x26c266,_0x51c58d(0x7a),_0x486dc5[_0x51c58d(0x108)]),s(_0x26c266,_0x51c58d(0x127),_0x486dc5['fontSize']),s(_0x26c266,_0x51c58d(0x10f),_0x486dc5[_0x51c58d(0x132)]),s(_0x26c266,_0x51c58d(0xec),_0x486dc5[_0x51c58d(0x10b)]),s(_0x26c266,'titles.xAxisTitle.bold',_0x486dc5['bold']),s(_0x26c266,_0x51c58d(0x82),_0x486dc5[_0x51c58d(0x88)]);}if(_0x2a4dde[_0x51c58d(0xb9)]){const _0x31b844=_0x2a4dde['yAxisTitle'];s(_0x26c266,_0x51c58d(0xb4),_0x31b844[_0x51c58d(0xc7)]),s(_0x26c266,_0x51c58d(0xa3),_0x31b844[_0x51c58d(0x108)]),s(_0x26c266,_0x51c58d(0xff),_0x31b844[_0x51c58d(0x102)]),s(_0x26c266,_0x51c58d(0x90),_0x31b844[_0x51c58d(0x132)]),s(_0x26c266,_0x51c58d(0x87),_0x31b844[_0x51c58d(0x10b)]),s(_0x26c266,_0x51c58d(0xa0),_0x31b844[_0x51c58d(0x97)]),s(_0x26c266,_0x51c58d(0xef),_0x31b844['axisAlignment']);}if(_0x2a4dde[_0x51c58d(0x140)]){const _0x1b7a6f=_0x2a4dde[_0x51c58d(0x140)];s(_0x26c266,_0x51c58d(0xaa),_0x1b7a6f[_0x51c58d(0xc7)]),s(_0x26c266,_0x51c58d(0x122),_0x1b7a6f[_0x51c58d(0x108)]),s(_0x26c266,_0x51c58d(0xa5),_0x1b7a6f['fontSize']),s(_0x26c266,_0x51c58d(0x92),_0x1b7a6f['fontColor']),s(_0x26c266,_0x51c58d(0xf7),_0x1b7a6f[_0x51c58d(0x10b)]),s(_0x26c266,_0x51c58d(0x7b),_0x1b7a6f[_0x51c58d(0x97)]),s(_0x26c266,'rightYAxis.label.axisTitleAlign',_0x1b7a6f[_0x51c58d(0x88)]);}_0x2a4dde[_0x51c58d(0xc4)]&&s(_0x26c266,_0x51c58d(0xc4),_0x2a4dde['xAxis']),_0x2a4dde[_0x51c58d(0xe8)]&&s(_0x26c266,_0x51c58d(0xe8),_0x2a4dde['yAxis']),_0x2a4dde[_0x51c58d(0xe6)]&&s(_0x26c266,_0x51c58d(0x99),_0x2a4dde[_0x51c58d(0xe6)]),_0x2a4dde[_0x51c58d(0x104)]&&s(_0x26c266,_0x51c58d(0x104),_0x2a4dde['seriesStyleMap']);const _0x226fa4={'unitId':_0xdf931b,'chartModelId':_0x2460a6};let _0x3d7a5b=!0x1;if(_0x304f51!==void 0x0&&(_0x226fa4[_0x51c58d(0x9d)]=_0x304f51,_0x3d7a5b=!0x0),Object[_0x51c58d(0xd9)](_0x26c266)['length']>0x0&&(_0x226fa4[_0x51c58d(0x8f)]=_0x26c266,_0x3d7a5b=!0x0),Object[_0x51c58d(0xd9)](_0x44424a)[_0x51c58d(0x12a)]>0x0&&(_0x226fa4[_0x51c58d(0x13a)]=_0x44424a,_0x3d7a5b=!0x0),_0x3d7a5b)return _0x226fa4;};class c extends _0x4ea372{constructor(_0x32bdcd,_0x53b4c1,_0x4154c4,_0x2411f5,_0x5368e7){const _0x5a066f=_0x269080;super(),n(this,_0x5a066f(0x80)),n(this,'_injector'),n(this,_0x5a066f(0x128)),n(this,_0x5a066f(0xac)),n(this,'chartId'),n(this,_0x5a066f(0xe3)),n(this,_0x5a066f(0xf9)),n(this,'x'),n(this,'y'),n(this,_0x5a066f(0xce)),n(this,'height'),n(this,_0x5a066f(0x9d)),n(this,_0x5a066f(0xf0)),n(this,_0x5a066f(0xed)),(this['unitId']=_0x32bdcd,this['subUnitId']=_0x53b4c1,this[_0x5a066f(0x80)]=_0x4154c4,this[_0x5a066f(0x95)]=_0x2411f5,_0x5368e7&&(this[_0x5a066f(0x117)]=_0x5368e7));}[_0x269080(0xf8)](){const _0x17f93b=_0x269080;return this[_0x17f93b(0x9d)];}['addRange'](_0x33277d){const _0x94cf61=_0x269080;if(typeof _0x33277d=='string'){const _0x3bd24c=_0x4e2417(_0x33277d);_0x3bd24c[_0x94cf61(0x86)]&&(this[_0x94cf61(0xf9)]=_0x3bd24c[_0x94cf61(0x86)]),this['range']=_0x3bd24c[_0x94cf61(0xe3)];}else this['range']=_0x33277d;return this;}[_0x269080(0x11b)](){const _0x4c50a3=_0x269080;return this[_0x4c50a3(0xe3)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x269080(0xbd)](_0x5a5fcd,_0x171bc7,_0x320db6,_0x1d7d45){const _0x56a54c=_0x269080,_0x14e051=this[_0x56a54c(0x95)][_0x56a54c(0xd6)](_0x450da0)[_0x56a54c(0x11a)](this[_0x56a54c(0x128)]);if(!_0x14e051)throw new Error(_0x56a54c(0x10a));const _0x383dd4=_0x14e051['with'](_0x47ea95),_0x1c3f00=_0x14e051[_0x56a54c(0xde)](_0x52443a),{transform:_0x6be1d6}=_0x4b807d(this['unitId'],this[_0x56a54c(0xac)],{'row':_0x5a5fcd,'column':_0x171bc7,'rowOffset':_0x320db6,'columnOffset':_0x1d7d45},0x1,0x1,_0x383dd4,_0x1c3f00),_0x1bbf65=_0x6be1d6[_0x56a54c(0xab)],_0x170d00=_0x6be1d6[_0x56a54c(0x137)];return this['x']=_0x170d00,this['y']=_0x1bbf65,this;}['setAbsolutePosition'](_0x486e45,_0x178844){return this['x']=_0x486e45,this['y']=_0x178844,this;}[_0x269080(0x8c)](_0x1d4596){const _0x473a74=_0x269080;return this[_0x473a74(0x9d)]=_0x1d4596,this;}[_0x269080(0x8a)](_0x413fe4){const _0x588d41=_0x269080;return this[_0x588d41(0xce)]=_0x413fe4,this;}[_0x269080(0xa1)](_0x5882a9){const _0x5c21a6=_0x269080;return this[_0x5c21a6(0xdd)]=_0x5882a9,this;}[_0x269080(0xfd)](_0x1e5cc3,_0x2b1c79){const _0x60711=_0x269080;return this[_0x60711(0xf0)]||(this['options']={}),_0x1e5cc3===''?(this[_0x60711(0xf0)]={...this[_0x60711(0xf0)],..._0x2b1c79},this):(_0x4c9a4b(this[_0x60711(0xf0)],_0x1e5cc3,_0x2b1c79),this);}[_0x269080(0xdc)](_0x424f2c){return this['transposeRowsAndColumns']=_0x424f2c,this;}[_0x269080(0x9f)](_0x480268){const _0x54de75=_0x269080;return this[_0x54de75(0xfd)](_0x54de75(0xfb),_0x480268),this;}[_0x269080(0x139)](_0x1806f){const _0x1b3e02=_0x269080;var _0x33fcd1;const _0x57b5fb=((_0x33fcd1=this[_0x1b3e02(0xf0)])==null?void 0x0:_0x33fcd1['xAxisTitle'])||{};return _0x57b5fb['content']=_0x1806f,this[_0x1b3e02(0xfd)](_0x1b3e02(0xcb),_0x57b5fb),this;}[_0x269080(0xc3)](_0x22404c){const _0x1908a1=_0x269080;var _0x379653;const _0x14f501=((_0x379653=this[_0x1908a1(0xf0)])==null?void 0x0:_0x379653[_0x1908a1(0xb9)])||{};return _0x14f501[_0x1908a1(0xc7)]=_0x22404c,this[_0x1908a1(0xfd)]('yAxisTitle',_0x14f501),this;}['setRightYAxisTitle'](_0x19a598){const _0xf1e917=_0x269080;var _0x5ce59c;const _0x9fb6a8=((_0x5ce59c=this[_0xf1e917(0xf0)])==null?void 0x0:_0x5ce59c[_0xf1e917(0x140)])||{};return _0x9fb6a8['content']=_0x19a598,this[_0xf1e917(0xfd)](_0xf1e917(0x140),_0x9fb6a8),this;}[_0x269080(0x94)](_0x220001){const _0x6d174b=_0x269080;var _0x5c9457;const _0x3958f2=((_0x5c9457=this[_0x6d174b(0xf0)])==null?void 0x0:_0x5c9457[_0x6d174b(0xcb)])||{};return this[_0x6d174b(0xfd)](_0x6d174b(0xcb),{..._0x3958f2,..._0x220001}),this;}[_0x269080(0x125)](_0x5792df){const _0xec4817=_0x269080;var _0x5f0ad8;const _0x851229=((_0x5f0ad8=this[_0xec4817(0xf0)])==null?void 0x0:_0x5f0ad8[_0xec4817(0xb9)])||{};return this[_0xec4817(0xfd)](_0xec4817(0xb9),{..._0x851229,..._0x5792df}),this;}[_0x269080(0x7e)](_0xfd04c){const _0x18b632=_0x269080;var _0xbd219a;const _0x74b425=((_0xbd219a=this['options'])==null?void 0x0:_0xbd219a[_0x18b632(0x140)])||{};return this[_0x18b632(0xfd)]('rightYAxisTitle',{..._0x74b425,..._0xfd04c}),this;}[_0x269080(0xd4)](_0x13fcc9){return this['setOptions']('invalidValueType',_0x13fcc9),this;}[_0x269080(0x110)](_0x4a685f){const _0x5772ee=_0x269080;return this[_0x5772ee(0xfd)](_0x5772ee(0xc9),_0x4a685f),this;}[_0x269080(0xf2)](_0x34f964){const _0x50f254=_0x269080;return this[_0x50f254(0xfd)](_0x50f254(0xa6),_0x34f964),this;}[_0x269080(0xfc)](_0x2043d8,_0x118d2a){const _0x42bb95=_0x269080;return this[_0x42bb95(0xfd)]('seriesStyleMap',{[_0x2043d8]:_0x118d2a}),this;}['build'](){const _0x5a2bec=_0x269080;var _0x5e4196;let _0x5a65af=this['subUnitId'];if(this['sourceSheetName']){const _0x4c4a34=(_0x5e4196=this['_workbook'][_0x5a2bec(0x12e)](this[_0x5a2bec(0xf9)]))==null?void 0x0:_0x5e4196[_0x5a2bec(0xc1)]();if(!_0x4c4a34)throw new Error('Sheet\x20'+this[_0x5a2bec(0xf9)]+_0x5a2bec(0x84));_0x5a65af=_0x4c4a34;}return{'unitId':this[_0x5a2bec(0x128)],'subUnitId':_0x5a65af,'chartId':this['chartId'],'range':this[_0x5a2bec(0xe3)],'x':this['x'],'y':this['y'],'width':this[_0x5a2bec(0xce)],'height':this['height'],'chartType':this['chartType'],'options':this[_0x5a2bec(0xf0)],'isRowDirection':this['transposeRowsAndColumns']};}}class f{constructor(_0x2f918f,_0x527745,_0xee7367,_0x3e4f30){const _0x5737fc=_0x269080;n(this,'unitId'),n(this,_0x5737fc(0xac)),n(this,_0x5737fc(0x117)),n(this,_0x5737fc(0x95)),(this[_0x5737fc(0x128)]=_0x2f918f,this[_0x5737fc(0xac)]=_0x527745,this[_0x5737fc(0x117)]=_0xee7367,this[_0x5737fc(0x95)]=_0x3e4f30);}[_0x269080(0xae)](){const _0x2258c2=_0x269080;return this[_0x2258c2(0x117)];}['getRange'](){const _0x343a58=_0x269080,_0x14a895=this[_0x343a58(0x95)]['get'](_0x290ea7)[_0x343a58(0xeb)](this[_0x343a58(0x117)]);if(_0x14a895)return _0x14a895[_0x343a58(0xaf)][_0x343a58(0x10c)]();}['updateRange'](_0x5e12ed){const _0x42ea59=_0x269080;return this[_0x42ea59(0x95)][_0x42ea59(0xd6)](_0x438cd6)[_0x42ea59(0xf1)](_0x5ce2b2['id'],{'unitId':this[_0x42ea59(0x128)],'chartModelId':this[_0x42ea59(0x117)],'range':_0x5e12ed});}['getSeriesData'](){const _0x2eb710=_0x269080;var _0x1f2baa;const _0x125a7c=this[_0x2eb710(0x95)][_0x2eb710(0xd6)](_0x290ea7)[_0x2eb710(0xeb)](this[_0x2eb710(0x117)]);if(_0x125a7c)return(_0x1f2baa=_0x125a7c[_0x2eb710(0x138)])==null?void 0x0:_0x1f2baa[_0x2eb710(0x98)];}['getCategoryData'](){const _0x4d09ee=_0x269080;var _0x4d7817;const _0x50df09=this[_0x4d09ee(0x95)][_0x4d09ee(0xd6)](_0x290ea7)[_0x4d09ee(0xeb)](this[_0x4d09ee(0x117)]);if(_0x50df09)return(_0x4d7817=_0x50df09[_0x4d09ee(0x138)])==null?void 0x0:_0x4d7817[_0x4d09ee(0xb2)];}[_0x269080(0x112)](){const _0x4c60ea=_0x269080,_0x3221a4=this[_0x4c60ea(0x95)]['get'](_0x11bcdd)[_0x4c60ea(0x10e)](_0x2ed3fb[_0x4c60ea(0x136)]);return new c(this[_0x4c60ea(0x128)],this[_0x4c60ea(0xac)],_0x3221a4,this[_0x4c60ea(0x95)],this[_0x4c60ea(0x117)]);}}class Q extends _0x1a9384{async[_0x269080(0xd3)](_0x1aebaf){const _0x148b41=_0x269080;var _0x5cb516,_0x438296,_0x39fbe5;const _0x596320=_0x1aebaf['unitId']||this[_0x148b41(0xee)]()[_0x148b41(0x113)](),_0x426f45=_0x1aebaf[_0x148b41(0xac)]||this[_0x148b41(0xc1)](),_0xf01d0e=_0x1aebaf['chartId']||_0x888e2f(),_0x5b7560=_0x1aebaf['chartType'],_0x34d941=_0x1aebaf[_0x148b41(0xe3)],_0x4a7006={'x':_0x1aebaf['x'],'y':_0x1aebaf['y']},_0x2c6384=_0x1aebaf[_0x148b41(0xce)],_0x19d733=_0x1aebaf[_0x148b41(0xdd)],_0x770b06=(_0x5cb516=_0x1aebaf[_0x148b41(0xf0)])==null?void 0x0:_0x5cb516[_0x148b41(0xf5)],_0x58143e=(_0x438296=_0x1aebaf[_0x148b41(0xf0)])==null?void 0x0:_0x438296[_0x148b41(0x115)],_0x1a9a1a=C(_0x596320,_0xf01d0e,_0x5b7560,_0x1aebaf[_0x148b41(0xf0)]),_0x3d4889=(_0x39fbe5=_0x1aebaf[_0x148b41(0xea)])!=null?_0x39fbe5:!0x0;if(!_0x34d941)throw new Error(_0x148b41(0x8e));return await this['_commandService']['executeCommand'](_0x16bcd6['id'],{'unitId':_0x596320,'subUnitId':_0x426f45,'chartId':_0xf01d0e,'chartType':_0x5b7560,'range':_0x34d941,'position':_0x4a7006,'width':_0x2c6384,'height':_0x19d733,'backgroundColor':_0x770b06,'borderColor':_0x58143e,'config':_0x1a9a1a,'isRowDirection':_0x3d4889}),new f(_0x596320,_0x426f45,_0xf01d0e,this[_0x148b41(0x95)]);}['updateChart'](_0x44cdf5){const _0x12a681=_0x269080,{unitId:_0x294d59,chartId:_0x4ca092,chartType:_0x36d594,options:_0x58d0c6}=_0x44cdf5,_0x21345b=C(_0x294d59,_0x4ca092,_0x36d594,_0x58d0c6);this[_0x12a681(0x10d)][_0x12a681(0xf1)](_0x1c76c0['id'],_0x21345b);}[_0x269080(0xf3)](_0x4ded17){const _0x4b8305=_0x269080;if(_0x4ded17)return new c(_0x4ded17[_0x4b8305(0x128)],_0x4ded17[_0x4b8305(0xac)],this[_0x4b8305(0x80)],this[_0x4b8305(0x95)],_0x4ded17[_0x4b8305(0x117)]);const _0x4b8d92=this['getWorkbook']()[_0x4b8305(0x113)](),_0xd57069=this[_0x4b8305(0xc1)]();return new c(_0x4b8d92,_0xd57069,this[_0x4b8305(0x80)],this[_0x4b8305(0x95)]);}[_0x269080(0xa7)](){const _0x30ee18=_0x269080,_0x14f37f=this['_injector']['get'](_0x290ea7),_0x1c82c2=this[_0x30ee18(0xee)]()[_0x30ee18(0x113)]();return _0x14f37f[_0x30ee18(0x130)](_0x1c82c2,this['getSheetId']())['map'](_0x57bc3f=>new f(_0x1c82c2,this['getSheetId'](),_0x57bc3f['id'],this[_0x30ee18(0x95)]));}[_0x269080(0x96)](_0x337871){const _0xedcf1c=_0x269080,_0x32b7b4=_0x337871['unitId'],_0x83da98=_0x337871[_0xedcf1c(0xac)],_0x1242ed=_0x337871[_0xedcf1c(0x117)],_0x11b1c={'unitId':_0x32b7b4,'drawings':[{'unitId':_0x32b7b4,'subUnitId':_0x83da98,'drawingId':_0x1242ed,'drawingType':_0x57faa0['DRAWING_CHART']}]};return this[_0xedcf1c(0x10d)][_0xedcf1c(0xf1)](_0x1742b0['id'],_0x11b1c);}[_0x269080(0xfa)](_0x34a046,_0x23f28c){const _0x5cb596=_0x269080;this[_0x5cb596(0x95)][_0x5cb596(0xd6)](_0xb2f4cc)[_0x5cb596(0x131)](_0x34a046,_0x23f28c);}}_0x1a9384[_0x269080(0x9b)](Q);function _0x4d2e(_0x4d3cb5,_0x5c68c8){const _0x4ce294=_0x4ce2();return _0x4d2e=function(_0x4d2ed7,_0x3d5d05){_0x4d2ed7=_0x4d2ed7-0x7a;let _0x3b5b48=_0x4ce294[_0x4d2ed7];return _0x3b5b48;},_0x4d2e(_0x4d3cb5,_0x5c68c8);}class Z extends _0x270906{get['ChartType'](){return _0xcb021a;}get[_0x269080(0xd1)](){return _0x3dbaf6;}get[_0x269080(0x81)](){return _0x49eb21;}get[_0x269080(0x9e)](){return _0x2ac388;}get[_0x269080(0xcc)](){return _0x41fe9c;}get[_0x269080(0xbb)](){return _0x50ddcf;}get[_0x269080(0x12d)](){return _0x30b4f5;}get[_0x269080(0xd5)](){return _0x48ab64;}}_0x270906[_0x269080(0x9b)](Z);class tt extends c{constructor(_0x8f688d,_0x28261a,_0x49b80a,_0x29e7af,_0x44f9f8){const _0x19ba43=_0x269080;super(_0x8f688d,_0x28261a,_0x49b80a,_0x29e7af,_0x44f9f8),n(this,_0x19ba43(0x134)),n(this,'dataPointShape'),n(this,'dataPointColor'),n(this,_0x19ba43(0xbc));}['setLineStyle'](_0x55ea57){const _0x308e8f=_0x269080;return this[_0x308e8f(0x134)]=_0x55ea57,this;}[_0x269080(0xb1)](_0x43a222){return this['dataPointShape']=_0x43a222,this;}['setDataPointColor'](_0x267dea){const _0x5ec1aa=_0x269080;return this[_0x5ec1aa(0xc2)]=_0x267dea,this;}[_0x269080(0x106)](_0x428b3a){const _0x11b224=_0x269080;return this[_0x11b224(0xbc)]=_0x428b3a,this;}['build'](){const _0x3e2f7e=_0x269080,_0x477276=super[_0x3e2f7e(0x135)]();_0x477276[_0x3e2f7e(0x9d)]=_0xcb021a[_0x3e2f7e(0x13f)];const _0x56318d=_0x477276[_0x3e2f7e(0xf0)]||{};return s(_0x56318d,_0x3e2f7e(0x13b),this[_0x3e2f7e(0x134)]),s(_0x56318d,_0x3e2f7e(0xf6),this[_0x3e2f7e(0xf4)]),s(_0x56318d,'allSeriesStyle.point.color',this['dataPointColor']),s(_0x56318d,'allSeriesStyle.point.size',this[_0x3e2f7e(0xbc)]),_0x477276[_0x3e2f7e(0xf0)]=_0x56318d,_0x477276;}}class et extends c{['asLineChart'](){const _0x566205=_0x269080;return new tt(this[_0x566205(0x128)],this[_0x566205(0xac)],this['_workbook'],this[_0x566205(0x95)],this['chartId']);}}c[_0x269080(0x9b)](et);class it extends c{constructor(_0x21179e,_0x3ceba0,_0x5e1514,_0x4abb6b,_0x2d9891){const _0xaa7e37=_0x269080;super(_0x21179e,_0x3ceba0,_0x5e1514,_0x4abb6b,_0x2d9891),n(this,'doughnutHole'),n(this,_0xaa7e37(0x115)),n(this,'hasPaddingAngle'),n(this,_0xaa7e37(0xcf)),n(this,'rosePie'),n(this,_0xaa7e37(0xca));}[_0x269080(0xb8)](_0x483ffa){const _0x2c9ff8=_0x269080;return this[_0x2c9ff8(0x83)]=_0x483ffa,this;}[_0x269080(0xfe)](_0x4740c3){return this['borderColor']=_0x4740c3,this;}[_0x269080(0x107)](_0x1bbd37){const _0x5a9605=_0x269080;return this[_0x5a9605(0x118)]=_0x1bbd37,this;}[_0x269080(0xba)](_0x54ee99){return this['isHalfPie']=_0x54ee99,this;}[_0x269080(0x120)](_0x3a73ca){const _0x74fe73=_0x269080;return this[_0x74fe73(0x13e)]=_0x3a73ca,this;}[_0x269080(0x7c)](_0x2994bf){const _0x589cfa=_0x269080;return this[_0x589cfa(0xca)]=_0x2994bf,this;}[_0x269080(0x135)](){const _0x1725c6=_0x269080,_0x3cb6d7=super['build']();_0x3cb6d7[_0x1725c6(0x9d)]=_0xcb021a[_0x1725c6(0xa9)];const _0x4b9319=_0x3cb6d7[_0x1725c6(0xf0)]||{};return s(_0x4b9319,_0x1725c6(0x129),this[_0x1725c6(0x83)]),s(_0x4b9319,_0x1725c6(0xe2),this[_0x1725c6(0x115)]),s(_0x4b9319,'pie.hasPaddingAngle',this['hasPaddingAngle']),s(_0x4b9319,_0x1725c6(0x12b),this[_0x1725c6(0xcf)]),s(_0x4b9319,_0x1725c6(0xda),this[_0x1725c6(0x13e)]),s(_0x4b9319,_0x1725c6(0x111),this['showLabelLine']),_0x3cb6d7[_0x1725c6(0xf0)]=_0x4b9319,_0x3cb6d7;}}class st extends c{[_0x269080(0x103)](){const _0x564c8a=_0x269080;return new it(this['unitId'],this[_0x564c8a(0xac)],this['_workbook'],this['_injector'],this['chartId']);}}c['extend'](st);class rt extends c{constructor(_0x48fda2,_0xe971ed,_0xb8f2c7,_0x240912,_0x19fd8d){super(_0x48fda2,_0xe971ed,_0xb8f2c7,_0x240912,_0x19fd8d),n(this,'shape'),n(this,'fill');}[_0x269080(0xb0)](_0x3d7795){const _0x5c2924=_0x269080;return this[_0x5c2924(0x105)]=_0x3d7795,this;}['setFill'](_0x3ec885){const _0xc5c942=_0x269080;return this[_0xc5c942(0x11e)]=_0x3ec885,this;}['build'](){const _0x18628b=_0x269080,_0x2faeb9=super[_0x18628b(0x135)]();_0x2faeb9['chartType']=_0xcb021a['Radar'];const _0x395406=_0x2faeb9[_0x18628b(0xf0)]||{};return s(_0x395406,_0x18628b(0xc8),this['shape']),s(_0x395406,_0x18628b(0x9c),this[_0x18628b(0x11e)]),_0x2faeb9[_0x18628b(0xf0)]=_0x395406,_0x2faeb9;}}class ot extends c{[_0x269080(0xad)](){const _0x16d22a=_0x269080;return new rt(this[_0x16d22a(0x128)],this[_0x16d22a(0xac)],this[_0x16d22a(0x80)],this[_0x16d22a(0x95)],this[_0x16d22a(0x117)]);}}c[_0x269080(0x9b)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
1
+ const _0x37fe5f=_0x504c;function _0x330d(){const _0x54d1e8=['TitlePositionEnum','legend.position','xAxis.label.axisTitleAlign','tooltip.indicatorLineType','indicatorLineType','getChartId','setDataPointSize','titles.title.color','axisPointer','titleAlignment','_commandService','setHasPaddingAngle','insertChart','5xgTfCK','titles.xAxisTitle.content','1065010WYZCdR','point','titles.yAxisTitle.color','setLineStyle','getRenderById','xAxis','getChartModel','Pie','backgroundColor','category','titles.title.fontSize','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','asLineChart','legend.label.fontSize','width','pie.rosePie','setInvalidValueStrategy','\x20not\x20found','setDataPointShape','pie.borderColor','config','2795264Agpdgc','pie.doughnutHole','titles.yAxisTitle.font','getWorkbook','getSheetId','executeCommand','setPosition','bold','height','titles.title.content','pie.hasPaddingAngle','length','showLabelLine','gradientFill','allSeriesStyle.point.shape','string','ChartType','setRosePie','titles.title.align','yAxis.label.axisTitleAlign','setOptions','getChartType','theme','_injector','legend','updateChart','indicatorLabelTextColor','_workbook','setTransposeRowsAndColumns','allSeriesStyle.rightYAxis','setShape','titles.rightYAxisTitle.fontSize','AxisAlignEnum','LegendPositionEnum','context','385073qurehp','allSeriesStyle','allSeriesStyle.label','border','pie.showLabelLine','yRightAxis','borderColor','fontSize','area.lineStyle','titles.title.font','titles.title.bold','invalidValueType','unitId','newChart','title','titles.yAxisTitle.fontSize','shape','get','pie','titles.title.family','setDataPointColor','5526280rIJpGU','seriesStyleMap','getSheetBySheetName','legend.label.color','build','extend','6sMcVel','setHeight','rightYAxis','titles.titlePosition','tooltip.indicatorLabelTextColor','position','modify','isRowDirection','titles.rightYAxisTitle.color','setFill','dataPointSize','DRAWING_CHART','legend.label.bold','axisAlignment','setYAxisTextStyle','updateRange','12867VLpKfR','radar.shape','keys','LinePointShape','lineStyle','RadarShape','addRange','allSeriesStyle.point.size','range','setXAxisTextStyle','dataSource','tooltip.indicatorLineColor','rightYAxisTitle','tooltip.indicatorLabelColor','Sheet\x20','xAxisTitle','series','removeChart','setTheme','options','chartId','doughnutHole','titles.xAxisTitle.font','style','setDoughnutHole','setChartType','hasPaddingAngle','map','asPieChart','allSeriesStyle.border','rosePie','left','area','setSeriesStyle','236LdtNcI','titles.rightYAxisTitle.content','registerTheme','setAbsolutePosition','defineProperty','legend.label.italic','pie.isHalfPie','getCurrentUnitForType','getUnitId','21446667QEOnfE','UNIVER_SHEET','setIsHalfPie','45GJfAnq','content','asRadarChart','transposeRowsAndColumns','rightYAxis.label.axisTitleAlign','top','fill','radar.fill','titles.xAxisTitle.family','getCharts','font','label','color','registerChartTheme','subUnitId','isHalfPie','fontStyle','4803022aYaHWK','getRangeInfo','radar','yAxis','with','titles.xAxisTitle.color','setRightYAxisTitle','setShowLabelLine','titles.yAxisTitle.family','titles.xAxisTitle.bold','chartType','dataPointColor','fontColor','setYAxisTitle','yAxisTitle','sourceSheetName','dataPointShape'];_0x330d=function(){return _0x54d1e8;};return _0x330d();}(function(_0x38c508,_0x3ccfce){const _0x5a1bdf=_0x504c,_0x552576=_0x38c508();while(!![]){try{const _0x3ac3c4=parseInt(_0x5a1bdf(0x1cd))/0x1+parseInt(_0x5a1bdf(0x158))/0x2*(-parseInt(_0x5a1bdf(0x1f8))/0x3)+parseInt(_0x5a1bdf(0x1aa))/0x4*(parseInt(_0x5a1bdf(0x193))/0x5)+parseInt(_0x5a1bdf(0x1e8))/0x6*(parseInt(_0x5a1bdf(0x175))/0x7)+parseInt(_0x5a1bdf(0x1e2))/0x8+-parseInt(_0x5a1bdf(0x164))/0x9*(-parseInt(_0x5a1bdf(0x195))/0xa)+-parseInt(_0x5a1bdf(0x161))/0xb;if(_0x3ac3c4===_0x3ccfce)break;else _0x552576['push'](_0x552576['shift']());}catch(_0x3f6139){_0x552576['push'](_0x552576['shift']());}}}(_0x330d,0x833b6));var b=Object[_0x37fe5f(0x15c)],k=(_0x24c3e6,_0x47e2e1,_0x2f264f)=>_0x47e2e1 in _0x24c3e6?b(_0x24c3e6,_0x47e2e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f264f}):_0x24c3e6[_0x47e2e1]=_0x2f264f,n=(_0x5157ec,_0x1818e3,_0x42b125)=>k(_0x5157ec,typeof _0x1818e3!='symbol'?_0x1818e3+'':_0x1818e3,_0x42b125);import{ChartThemeService as _0x4f986c,ChartTypeBits as _0x23cef7,LegendPositionEnum as _0x6da024,SelectModeEnum as _0x73bcbb,AxisAlignEnum as _0x2d4c81,ChartBorderDashType as _0x1aa0ba,LinePointShape as _0x2725ac,TitlePositionEnum as _0x255326,RadarShape as _0x3b7f71}from'@univerjs-pro/engine-chart';import{setProperty as _0x22d867,SheetsChartService as _0x31156d,ChartUpdateSourceCommand as _0x5384cc,ChartUpdateConfigCommand as _0x5a75bf}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x121d40}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x137e41,IUniverInstanceService as _0x2194c3,UniverInstanceType as _0x52dbc3,generateRandomId as _0x361610,DrawingTypeEnum as _0x5f175c}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x456f05}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0xdaf355}from'@univerjs/sheets/facade';import{FBase as _0x5561f3,FEnum as _0x3e1481}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x3cd623}from'@univerjs/engine-formula';import{IRenderManagerService as _0x40776b}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x504a44,SheetSkeletonManagerService as _0x57ad83,convertPositionCellToSheetOverGrid as _0x3c9845}from'@univerjs/sheets-ui';const s=(_0x166ea8,_0x10cdc9,_0x37da75)=>{_0x37da75!==void 0x0&&_0x22d867(_0x166ea8,_0x10cdc9,_0x37da75);},C=(_0x822a0c,_0x1d710a,_0x1d9d76,_0x6376fd={})=>{const _0x1cdc06=_0x37fe5f,_0x1ad9bc={},_0x1b9d54={};if(_0x6376fd[_0x1cdc06(0x1db)]){const _0x22cad1=_0x6376fd['title'];s(_0x1ad9bc,_0x1cdc06(0x1b3),_0x22cad1['content']),s(_0x1ad9bc,_0x1cdc06(0x1d6),_0x22cad1['font']),s(_0x1ad9bc,_0x1cdc06(0x19f),_0x22cad1[_0x1cdc06(0x1d4)]),s(_0x1ad9bc,_0x1cdc06(0x18d),_0x22cad1[_0x1cdc06(0x181)]),s(_0x1ad9bc,_0x1cdc06(0x1e0),_0x22cad1['fontStyle']),s(_0x1ad9bc,_0x1cdc06(0x1d7),_0x22cad1['bold']),s(_0x1ad9bc,_0x1cdc06(0x1bc),_0x22cad1[_0x1cdc06(0x18f)]),s(_0x1ad9bc,_0x1cdc06(0x1eb),_0x22cad1[_0x1cdc06(0x1ed)]);}if(_0x6376fd[_0x1cdc06(0x1c2)]){const _0x3187f2=_0x6376fd[_0x1cdc06(0x1c2)];s(_0x1ad9bc,_0x1cdc06(0x187),_0x3187f2[_0x1cdc06(0x1ed)]),s(_0x1ad9bc,'legend.selectMode',_0x3187f2['selectMode']),s(_0x1ad9bc,_0x1cdc06(0x1a2),_0x3187f2[_0x1cdc06(0x1d4)]),s(_0x1ad9bc,_0x1cdc06(0x1e5),_0x3187f2[_0x1cdc06(0x170)]),s(_0x1ad9bc,_0x1cdc06(0x1f4),_0x3187f2[_0x1cdc06(0x1b1)]),s(_0x1ad9bc,_0x1cdc06(0x15d),_0x3187f2['italic']);}if(_0x6376fd['pie']){const _0x9d0743=_0x6376fd[_0x1cdc06(0x1df)];s(_0x1ad9bc,_0x1cdc06(0x1ab),_0x9d0743[_0x1cdc06(0x14b)]),s(_0x1ad9bc,'pie.borderColor',_0x9d0743['borderColor']),s(_0x1ad9bc,_0x1cdc06(0x1b4),_0x9d0743['hasPaddingAngle']),s(_0x1ad9bc,'pie.isHalfPie',_0x9d0743['isHalfPie']),s(_0x1ad9bc,_0x1cdc06(0x1a4),_0x9d0743[_0x1cdc06(0x154)]),s(_0x1ad9bc,_0x1cdc06(0x1d1),_0x9d0743[_0x1cdc06(0x1b6)]);}if(_0x6376fd['axisPointer']){const _0x382535=_0x6376fd[_0x1cdc06(0x18e)];s(_0x1ad9bc,_0x1cdc06(0x205),_0x382535['indicatorLabelColor']),s(_0x1ad9bc,_0x1cdc06(0x189),_0x382535[_0x1cdc06(0x18a)]),s(_0x1ad9bc,_0x1cdc06(0x203),_0x382535['indicatorLineColor']),s(_0x1ad9bc,_0x1cdc06(0x1ec),_0x382535[_0x1cdc06(0x1c4)]);}if(_0x6376fd[_0x1cdc06(0x1ce)]&&(s(_0x1ad9bc,_0x1cdc06(0x153),_0x6376fd[_0x1cdc06(0x1ce)][_0x1cdc06(0x1d0)]),s(_0x1ad9bc,_0x1cdc06(0x1cf),_0x6376fd[_0x1cdc06(0x1ce)][_0x1cdc06(0x16f)]),s(_0x1ad9bc,_0x1cdc06(0x1c7),_0x6376fd[_0x1cdc06(0x1ce)][_0x1cdc06(0x1ea)]),s(_0x1ad9bc,'allSeriesStyle.point',_0x6376fd['allSeriesStyle'][_0x1cdc06(0x196)]),s(_0x1ad9bc,'allSeriesStyle.color',_0x6376fd['allSeriesStyle']['color'])),_0x6376fd[_0x1cdc06(0x156)]&&s(_0x1ad9bc,_0x1cdc06(0x1d5),_0x6376fd['area'][_0x1cdc06(0x1fc)]),_0x6376fd[_0x1cdc06(0x1c0)]&&s(_0x1ad9bc,'theme',_0x6376fd[_0x1cdc06(0x1c0)]),_0x6376fd[_0x1cdc06(0x19d)]&&s(_0x1ad9bc,_0x1cdc06(0x19d),_0x6376fd[_0x1cdc06(0x19d)]),_0x6376fd['borderColor']&&s(_0x1ad9bc,_0x1cdc06(0x1d3),_0x6376fd[_0x1cdc06(0x1d3)]),_0x6376fd[_0x1cdc06(0x1b7)]&&s(_0x1ad9bc,_0x1cdc06(0x1b7),_0x6376fd[_0x1cdc06(0x1b7)]),_0x6376fd[_0x1cdc06(0x1d8)]&&s(_0x1ad9bc,_0x1cdc06(0x1d8),_0x6376fd[_0x1cdc06(0x1d8)]),_0x6376fd['radar']&&s(_0x1ad9bc,_0x1cdc06(0x177),_0x6376fd['radar']),_0x6376fd[_0x1cdc06(0x207)]){const _0x11a0a3=_0x6376fd['xAxisTitle'];s(_0x1ad9bc,_0x1cdc06(0x194),_0x11a0a3[_0x1cdc06(0x165)]),s(_0x1ad9bc,_0x1cdc06(0x14c),_0x11a0a3[_0x1cdc06(0x16e)]),s(_0x1ad9bc,'titles.xAxisTitle.fontSize',_0x11a0a3[_0x1cdc06(0x1d4)]),s(_0x1ad9bc,_0x1cdc06(0x17a),_0x11a0a3[_0x1cdc06(0x181)]),s(_0x1ad9bc,_0x1cdc06(0x16c),_0x11a0a3[_0x1cdc06(0x174)]),s(_0x1ad9bc,_0x1cdc06(0x17e),_0x11a0a3[_0x1cdc06(0x1b1)]),s(_0x1ad9bc,_0x1cdc06(0x188),_0x11a0a3[_0x1cdc06(0x1f5)]);}if(_0x6376fd[_0x1cdc06(0x183)]){const _0x1cad5c=_0x6376fd[_0x1cdc06(0x183)];s(_0x1ad9bc,'titles.yAxisTitle.content',_0x1cad5c[_0x1cdc06(0x165)]),s(_0x1ad9bc,_0x1cdc06(0x1ac),_0x1cad5c['font']),s(_0x1ad9bc,_0x1cdc06(0x1dc),_0x1cad5c['fontSize']),s(_0x1ad9bc,_0x1cdc06(0x197),_0x1cad5c['fontColor']),s(_0x1ad9bc,_0x1cdc06(0x17d),_0x1cad5c['fontStyle']),s(_0x1ad9bc,'titles.yAxisTitle.bold',_0x1cad5c[_0x1cdc06(0x1b1)]),s(_0x1ad9bc,_0x1cdc06(0x1bd),_0x1cad5c['axisAlignment']);}if(_0x6376fd[_0x1cdc06(0x204)]){const _0x24a14c=_0x6376fd[_0x1cdc06(0x204)];s(_0x1ad9bc,_0x1cdc06(0x159),_0x24a14c[_0x1cdc06(0x165)]),s(_0x1ad9bc,'titles.rightYAxisTitle.font',_0x24a14c[_0x1cdc06(0x16e)]),s(_0x1ad9bc,_0x1cdc06(0x1c9),_0x24a14c[_0x1cdc06(0x1d4)]),s(_0x1ad9bc,_0x1cdc06(0x1f0),_0x24a14c[_0x1cdc06(0x181)]),s(_0x1ad9bc,'titles.rightYAxisTitle.family',_0x24a14c[_0x1cdc06(0x174)]),s(_0x1ad9bc,'titles.rightYAxisTitle.bold',_0x24a14c[_0x1cdc06(0x1b1)]),s(_0x1ad9bc,_0x1cdc06(0x168),_0x24a14c['axisAlignment']);}_0x6376fd['xAxis']&&s(_0x1ad9bc,_0x1cdc06(0x19a),_0x6376fd['xAxis']),_0x6376fd[_0x1cdc06(0x178)]&&s(_0x1ad9bc,_0x1cdc06(0x178),_0x6376fd[_0x1cdc06(0x178)]),_0x6376fd[_0x1cdc06(0x1d2)]&&s(_0x1ad9bc,_0x1cdc06(0x1ea),_0x6376fd[_0x1cdc06(0x1d2)]),_0x6376fd['seriesStyleMap']&&s(_0x1ad9bc,_0x1cdc06(0x1e3),_0x6376fd[_0x1cdc06(0x1e3)]);const _0x2c94fb={'unitId':_0x822a0c,'chartModelId':_0x1d710a};let _0x3dbd55=!0x1;if(_0x1d9d76!==void 0x0&&(_0x2c94fb[_0x1cdc06(0x17f)]=_0x1d9d76,_0x3dbd55=!0x0),Object[_0x1cdc06(0x1fa)](_0x1ad9bc)['length']>0x0&&(_0x2c94fb[_0x1cdc06(0x14d)]=_0x1ad9bc,_0x3dbd55=!0x0),Object['keys'](_0x1b9d54)[_0x1cdc06(0x1b5)]>0x0&&(_0x2c94fb[_0x1cdc06(0x1cc)]=_0x1b9d54,_0x3dbd55=!0x0),_0x3dbd55)return _0x2c94fb;};class c extends _0x5561f3{constructor(_0x38cb22,_0x4e2ca7,_0xa5dc6c,_0x4f57a2,_0x37a153){const _0x17aa08=_0x37fe5f;super(),n(this,_0x17aa08(0x1c5)),n(this,_0x17aa08(0x1c1)),n(this,_0x17aa08(0x1d9)),n(this,'subUnitId'),n(this,_0x17aa08(0x14a)),n(this,_0x17aa08(0x200)),n(this,_0x17aa08(0x184)),n(this,'x'),n(this,'y'),n(this,'width'),n(this,_0x17aa08(0x1b2)),n(this,_0x17aa08(0x17f)),n(this,_0x17aa08(0x20b)),n(this,'transposeRowsAndColumns'),(this['unitId']=_0x38cb22,this[_0x17aa08(0x172)]=_0x4e2ca7,this[_0x17aa08(0x1c5)]=_0xa5dc6c,this['_injector']=_0x4f57a2,_0x37a153&&(this['chartId']=_0x37a153));}[_0x37fe5f(0x1bf)](){const _0x5e4941=_0x37fe5f;return this[_0x5e4941(0x17f)];}[_0x37fe5f(0x1fe)](_0x21eab0){const _0x119617=_0x37fe5f;if(typeof _0x21eab0==_0x119617(0x1b9)){const _0x5a5edf=_0x3cd623(_0x21eab0);_0x5a5edf['sheetName']&&(this['sourceSheetName']=_0x5a5edf['sheetName']),this[_0x119617(0x200)]=_0x5a5edf[_0x119617(0x200)];}else this['range']=_0x21eab0;return this;}['clearRange'](){const _0xe3eb47=_0x37fe5f;return this[_0xe3eb47(0x200)]=void 0x0,this[_0xe3eb47(0x184)]=void 0x0,this;}[_0x37fe5f(0x1b0)](_0x5493e3,_0x2fa2af,_0x3548b7,_0x326663){const _0x11d4de=_0x37fe5f,_0x53bcf5=this['_injector'][_0x11d4de(0x1de)](_0x40776b)[_0x11d4de(0x199)](this[_0x11d4de(0x1d9)]);if(!_0x53bcf5)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x563691=_0x53bcf5[_0x11d4de(0x179)](_0x504a44),_0x4d65bf=_0x53bcf5['with'](_0x57ad83),{transform:_0x37d0dd}=_0x3c9845(this[_0x11d4de(0x1d9)],this['subUnitId'],{'row':_0x5493e3,'column':_0x2fa2af,'rowOffset':_0x3548b7,'columnOffset':_0x326663},0x1,0x1,_0x563691,_0x4d65bf),_0x201152=_0x37d0dd[_0x11d4de(0x169)],_0x59cc75=_0x37d0dd[_0x11d4de(0x155)];return this['x']=_0x59cc75,this['y']=_0x201152,this;}[_0x37fe5f(0x15b)](_0x3ecf03,_0x5c1c39){return this['x']=_0x3ecf03,this['y']=_0x5c1c39,this;}[_0x37fe5f(0x14f)](_0x36063e){const _0x1f3d1a=_0x37fe5f;return this[_0x1f3d1a(0x17f)]=_0x36063e,this;}['setWidth'](_0x3c0c1c){const _0x2c8069=_0x37fe5f;return this[_0x2c8069(0x1a3)]=_0x3c0c1c,this;}[_0x37fe5f(0x1e9)](_0x38ce54){const _0xa7b17e=_0x37fe5f;return this[_0xa7b17e(0x1b2)]=_0x38ce54,this;}['setOptions'](_0x21882a,_0x208cd9){const _0x37acac=_0x37fe5f;return this['options']||(this['options']={}),_0x21882a===''?(this[_0x37acac(0x20b)]={...this[_0x37acac(0x20b)],..._0x208cd9},this):(_0x22d867(this[_0x37acac(0x20b)],_0x21882a,_0x208cd9),this);}[_0x37fe5f(0x1c6)](_0x3e071e){const _0x24a6ed=_0x37fe5f;return this[_0x24a6ed(0x167)]=_0x3e071e,this;}[_0x37fe5f(0x20a)](_0x496ad2){const _0x1530e8=_0x37fe5f;return this['setOptions'](_0x1530e8(0x1c0),_0x496ad2),this;}['setXAxisTitle'](_0x5d3e14){const _0x306436=_0x37fe5f;var _0x2f58b9;const _0x20a909=((_0x2f58b9=this['options'])==null?void 0x0:_0x2f58b9[_0x306436(0x207)])||{};return _0x20a909[_0x306436(0x165)]=_0x5d3e14,this[_0x306436(0x1be)](_0x306436(0x207),_0x20a909),this;}[_0x37fe5f(0x182)](_0x3e08d3){const _0x307272=_0x37fe5f;var _0x31c199;const _0x54dcab=((_0x31c199=this[_0x307272(0x20b)])==null?void 0x0:_0x31c199[_0x307272(0x183)])||{};return _0x54dcab['content']=_0x3e08d3,this[_0x307272(0x1be)](_0x307272(0x183),_0x54dcab),this;}[_0x37fe5f(0x17b)](_0x2cd3c5){const _0x4b06b4=_0x37fe5f;var _0x3fe77e;const _0x2663c2=((_0x3fe77e=this[_0x4b06b4(0x20b)])==null?void 0x0:_0x3fe77e[_0x4b06b4(0x204)])||{};return _0x2663c2['content']=_0x2cd3c5,this['setOptions']('rightYAxisTitle',_0x2663c2),this;}[_0x37fe5f(0x201)](_0x2db988){const _0x3385a8=_0x37fe5f;var _0x43aada;const _0x3eff0f=((_0x43aada=this[_0x3385a8(0x20b)])==null?void 0x0:_0x43aada[_0x3385a8(0x207)])||{};return this[_0x3385a8(0x1be)](_0x3385a8(0x207),{..._0x3eff0f,..._0x2db988}),this;}[_0x37fe5f(0x1f6)](_0x38dcc4){const _0x268de0=_0x37fe5f;var _0x2016a5;const _0x5b336d=((_0x2016a5=this['options'])==null?void 0x0:_0x2016a5[_0x268de0(0x183)])||{};return this[_0x268de0(0x1be)](_0x268de0(0x183),{..._0x5b336d,..._0x38dcc4}),this;}['setRightYAxisTextStyle'](_0x267b13){const _0x34268d=_0x37fe5f;var _0x10a542;const _0x2a876e=((_0x10a542=this[_0x34268d(0x20b)])==null?void 0x0:_0x10a542[_0x34268d(0x204)])||{};return this[_0x34268d(0x1be)](_0x34268d(0x204),{..._0x2a876e,..._0x267b13}),this;}[_0x37fe5f(0x1a5)](_0x46aa0f){const _0x3087a5=_0x37fe5f;return this[_0x3087a5(0x1be)](_0x3087a5(0x1d8),_0x46aa0f),this;}['setAxisPointerStyle'](_0x5fc904){const _0x2c4b75=_0x37fe5f;return this[_0x2c4b75(0x1be)]('axisPointer',_0x5fc904),this;}['setAllSeriesStyle'](_0x2e6aa0){const _0xcee5c=_0x37fe5f;return this[_0xcee5c(0x1be)](_0xcee5c(0x1ce),_0x2e6aa0),this;}[_0x37fe5f(0x157)](_0x3d4129,_0x1a2948){const _0x266dd5=_0x37fe5f;return this['setOptions'](_0x266dd5(0x1e3),{[_0x3d4129]:_0x1a2948}),this;}[_0x37fe5f(0x1e6)](){const _0x2a94de=_0x37fe5f;var _0x2ed122;let _0x1702a7=this[_0x2a94de(0x172)];if(this[_0x2a94de(0x184)]){const _0x89cd18=(_0x2ed122=this[_0x2a94de(0x1c5)][_0x2a94de(0x1e4)](this['sourceSheetName']))==null?void 0x0:_0x2ed122['getSheetId']();if(!_0x89cd18)throw new Error(_0x2a94de(0x206)+this[_0x2a94de(0x184)]+_0x2a94de(0x1a6));_0x1702a7=_0x89cd18;}return{'unitId':this[_0x2a94de(0x1d9)],'subUnitId':_0x1702a7,'chartId':this[_0x2a94de(0x14a)],'range':this[_0x2a94de(0x200)],'x':this['x'],'y':this['y'],'width':this[_0x2a94de(0x1a3)],'height':this[_0x2a94de(0x1b2)],'chartType':this[_0x2a94de(0x17f)],'options':this[_0x2a94de(0x20b)],'isRowDirection':this[_0x2a94de(0x167)]};}}class f{constructor(_0x3ce71a,_0x2c2a18,_0x2dc668,_0x4134db){const _0x36a905=_0x37fe5f;n(this,'unitId'),n(this,_0x36a905(0x172)),n(this,'chartId'),n(this,_0x36a905(0x1c1)),(this[_0x36a905(0x1d9)]=_0x3ce71a,this[_0x36a905(0x172)]=_0x2c2a18,this[_0x36a905(0x14a)]=_0x2dc668,this[_0x36a905(0x1c1)]=_0x4134db);}[_0x37fe5f(0x18b)](){const _0x453f1f=_0x37fe5f;return this[_0x453f1f(0x14a)];}['getRange'](){const _0x3ae3fc=_0x37fe5f,_0x1d31b3=this[_0x3ae3fc(0x1c1)][_0x3ae3fc(0x1de)](_0x31156d)['getChartModel'](this[_0x3ae3fc(0x14a)]);if(_0x1d31b3)return _0x1d31b3[_0x3ae3fc(0x202)][_0x3ae3fc(0x176)]();}[_0x37fe5f(0x1f7)](_0x28c677){const _0x475fc1=_0x37fe5f;return this['_injector'][_0x475fc1(0x1de)](_0x137e41)[_0x475fc1(0x1af)](_0x5384cc['id'],{'unitId':this[_0x475fc1(0x1d9)],'chartModelId':this[_0x475fc1(0x14a)],'range':_0x28c677});}['getSeriesData'](){const _0x108502=_0x37fe5f;var _0x8f486c;const _0x4b4d22=this[_0x108502(0x1c1)][_0x108502(0x1de)](_0x31156d)[_0x108502(0x19b)](this[_0x108502(0x14a)]);if(_0x4b4d22)return(_0x8f486c=_0x4b4d22['config'])==null?void 0x0:_0x8f486c[_0x108502(0x208)];}['getCategoryData'](){const _0xcde6ba=_0x37fe5f;var _0x2b4b49;const _0x205c95=this[_0xcde6ba(0x1c1)]['get'](_0x31156d)[_0xcde6ba(0x19b)](this[_0xcde6ba(0x14a)]);if(_0x205c95)return(_0x2b4b49=_0x205c95[_0xcde6ba(0x1a9)])==null?void 0x0:_0x2b4b49[_0xcde6ba(0x19e)];}[_0x37fe5f(0x1ee)](){const _0x46a72d=_0x37fe5f,_0x5efcab=this[_0x46a72d(0x1c1)]['get'](_0x2194c3)[_0x46a72d(0x15f)](_0x52dbc3[_0x46a72d(0x162)]);return new c(this[_0x46a72d(0x1d9)],this[_0x46a72d(0x172)],_0x5efcab,this[_0x46a72d(0x1c1)],this['chartId']);}}class Q extends _0xdaf355{async[_0x37fe5f(0x192)](_0x1ecb23){const _0x4c4c00=_0x37fe5f;var _0x167f31,_0x1faf20,_0x537901;const _0x4160c7=_0x1ecb23[_0x4c4c00(0x1d9)]||this[_0x4c4c00(0x1ad)]()['getUnitId'](),_0x215172=_0x1ecb23['subUnitId']||this[_0x4c4c00(0x1ae)](),_0x16d030=_0x1ecb23[_0x4c4c00(0x14a)]||_0x361610(),_0x87d0f0=_0x1ecb23[_0x4c4c00(0x17f)],_0x1b2d70=_0x1ecb23[_0x4c4c00(0x200)],_0x14a3d5={'x':_0x1ecb23['x'],'y':_0x1ecb23['y']},_0x2ca42b=_0x1ecb23['width'],_0x145820=_0x1ecb23[_0x4c4c00(0x1b2)],_0x4588ed=(_0x167f31=_0x1ecb23[_0x4c4c00(0x20b)])==null?void 0x0:_0x167f31['backgroundColor'],_0x44ee57=(_0x1faf20=_0x1ecb23[_0x4c4c00(0x20b)])==null?void 0x0:_0x1faf20[_0x4c4c00(0x1d3)],_0x49628c=C(_0x4160c7,_0x16d030,_0x87d0f0,_0x1ecb23['options']),_0x486025=(_0x537901=_0x1ecb23[_0x4c4c00(0x1ef)])!=null?_0x537901:!0x0;if(!_0x1b2d70)throw new Error(_0x4c4c00(0x1a0));return await this[_0x4c4c00(0x190)][_0x4c4c00(0x1af)](_0x121d40['id'],{'unitId':_0x4160c7,'subUnitId':_0x215172,'chartId':_0x16d030,'chartType':_0x87d0f0,'range':_0x1b2d70,'position':_0x14a3d5,'width':_0x2ca42b,'height':_0x145820,'backgroundColor':_0x4588ed,'borderColor':_0x44ee57,'config':_0x49628c,'isRowDirection':_0x486025}),new f(_0x4160c7,_0x215172,_0x16d030,this[_0x4c4c00(0x1c1)]);}[_0x37fe5f(0x1c3)](_0x38d45c){const _0x5c159b=_0x37fe5f,{unitId:_0x35dc03,chartId:_0x81508d,chartType:_0x43209c,options:_0x346a17}=_0x38d45c,_0x2f5ed3=C(_0x35dc03,_0x81508d,_0x43209c,_0x346a17);this[_0x5c159b(0x190)][_0x5c159b(0x1af)](_0x5a75bf['id'],_0x2f5ed3);}[_0x37fe5f(0x1da)](_0x10ca17){const _0x5b5d71=_0x37fe5f;if(_0x10ca17)return new c(_0x10ca17[_0x5b5d71(0x1d9)],_0x10ca17[_0x5b5d71(0x172)],this['_workbook'],this[_0x5b5d71(0x1c1)],_0x10ca17[_0x5b5d71(0x14a)]);const _0x379c91=this[_0x5b5d71(0x1ad)]()[_0x5b5d71(0x160)](),_0x3fd676=this[_0x5b5d71(0x1ae)]();return new c(_0x379c91,_0x3fd676,this[_0x5b5d71(0x1c5)],this[_0x5b5d71(0x1c1)]);}[_0x37fe5f(0x16d)](){const _0x480446=_0x37fe5f,_0x7ab327=this['_injector'][_0x480446(0x1de)](_0x31156d),_0x2a5306=this['getWorkbook']()['getUnitId']();return _0x7ab327['getUnitChartModels'](_0x2a5306,this[_0x480446(0x1ae)]())[_0x480446(0x151)](_0x415437=>new f(_0x2a5306,this[_0x480446(0x1ae)](),_0x415437['id'],this[_0x480446(0x1c1)]));}[_0x37fe5f(0x209)](_0x2e605d){const _0x1e77f5=_0x37fe5f,_0x2a1a46=_0x2e605d[_0x1e77f5(0x1d9)],_0x45cb5=_0x2e605d[_0x1e77f5(0x172)],_0x559d61=_0x2e605d[_0x1e77f5(0x14a)],_0x3f7bdd={'unitId':_0x2a1a46,'drawings':[{'unitId':_0x2a1a46,'subUnitId':_0x45cb5,'drawingId':_0x559d61,'drawingType':_0x5f175c[_0x1e77f5(0x1f3)]}]};return this['_commandService'][_0x1e77f5(0x1af)](_0x456f05['id'],_0x3f7bdd);}[_0x37fe5f(0x171)](_0xb38c71,_0xc8fcd2){const _0x39d304=_0x37fe5f;this[_0x39d304(0x1c1)][_0x39d304(0x1de)](_0x4f986c)[_0x39d304(0x15a)](_0xb38c71,_0xc8fcd2);}}_0xdaf355[_0x37fe5f(0x1e7)](Q);class Z extends _0x3e1481{get[_0x37fe5f(0x1ba)](){return _0x23cef7;}get[_0x37fe5f(0x1cb)](){return _0x6da024;}get['SelectModeEnum'](){return _0x73bcbb;}get[_0x37fe5f(0x1ca)](){return _0x2d4c81;}get['ChartBorderDashType'](){return _0x1aa0ba;}get[_0x37fe5f(0x1fb)](){return _0x2725ac;}get[_0x37fe5f(0x186)](){return _0x255326;}get[_0x37fe5f(0x1fd)](){return _0x3b7f71;}}_0x3e1481['extend'](Z);class tt extends c{constructor(_0x5da4c2,_0xa61b8a,_0x1b39ce,_0x1db828,_0x4e234f){const _0x39a8bf=_0x37fe5f;super(_0x5da4c2,_0xa61b8a,_0x1b39ce,_0x1db828,_0x4e234f),n(this,_0x39a8bf(0x1fc)),n(this,_0x39a8bf(0x185)),n(this,_0x39a8bf(0x180)),n(this,_0x39a8bf(0x1f2));}[_0x37fe5f(0x198)](_0x5147fa){const _0xeda947=_0x37fe5f;return this[_0xeda947(0x1fc)]=_0x5147fa,this;}[_0x37fe5f(0x1a7)](_0xdd7a6b){const _0x1a77fc=_0x37fe5f;return this[_0x1a77fc(0x185)]=_0xdd7a6b,this;}[_0x37fe5f(0x1e1)](_0x519676){return this['dataPointColor']=_0x519676,this;}[_0x37fe5f(0x18c)](_0x56afd0){const _0x4fe7cc=_0x37fe5f;return this[_0x4fe7cc(0x1f2)]=_0x56afd0,this;}[_0x37fe5f(0x1e6)](){const _0x54e5ba=_0x37fe5f,_0xd6ba5b=super['build']();_0xd6ba5b[_0x54e5ba(0x17f)]=_0x23cef7['Line'];const _0x391462=_0xd6ba5b[_0x54e5ba(0x20b)]||{};return s(_0x391462,_0x54e5ba(0x1d5),this[_0x54e5ba(0x1fc)]),s(_0x391462,_0x54e5ba(0x1b8),this['dataPointShape']),s(_0x391462,'allSeriesStyle.point.color',this[_0x54e5ba(0x180)]),s(_0x391462,_0x54e5ba(0x1ff),this['dataPointSize']),_0xd6ba5b[_0x54e5ba(0x20b)]=_0x391462,_0xd6ba5b;}}class et extends c{[_0x37fe5f(0x1a1)](){const _0x247a1a=_0x37fe5f;return new tt(this['unitId'],this[_0x247a1a(0x172)],this[_0x247a1a(0x1c5)],this['_injector'],this[_0x247a1a(0x14a)]);}}c[_0x37fe5f(0x1e7)](et);class it extends c{constructor(_0x45d1d2,_0x1e7281,_0x2b1df1,_0x25f51c,_0xb12242){const _0x47f8de=_0x37fe5f;super(_0x45d1d2,_0x1e7281,_0x2b1df1,_0x25f51c,_0xb12242),n(this,_0x47f8de(0x14b)),n(this,_0x47f8de(0x1d3)),n(this,_0x47f8de(0x150)),n(this,_0x47f8de(0x173)),n(this,_0x47f8de(0x154)),n(this,_0x47f8de(0x1b6));}[_0x37fe5f(0x14e)](_0x502976){return this['doughnutHole']=_0x502976,this;}['setBorderColor'](_0x4a3943){return this['borderColor']=_0x4a3943,this;}[_0x37fe5f(0x191)](_0xdb043c){const _0x4aae18=_0x37fe5f;return this[_0x4aae18(0x150)]=_0xdb043c,this;}[_0x37fe5f(0x163)](_0x2b1b94){const _0x24c932=_0x37fe5f;return this[_0x24c932(0x173)]=_0x2b1b94,this;}[_0x37fe5f(0x1bb)](_0x470428){const _0x63a76a=_0x37fe5f;return this[_0x63a76a(0x154)]=_0x470428,this;}[_0x37fe5f(0x17c)](_0x46d1e6){const _0x3b7667=_0x37fe5f;return this[_0x3b7667(0x1b6)]=_0x46d1e6,this;}[_0x37fe5f(0x1e6)](){const _0x37484d=_0x37fe5f,_0x1cfe9f=super['build']();_0x1cfe9f[_0x37484d(0x17f)]=_0x23cef7[_0x37484d(0x19c)];const _0x9462f1=_0x1cfe9f[_0x37484d(0x20b)]||{};return s(_0x9462f1,'pie.doughnutHole',this[_0x37484d(0x14b)]),s(_0x9462f1,_0x37484d(0x1a8),this[_0x37484d(0x1d3)]),s(_0x9462f1,_0x37484d(0x1b4),this[_0x37484d(0x150)]),s(_0x9462f1,_0x37484d(0x15e),this['isHalfPie']),s(_0x9462f1,_0x37484d(0x1a4),this[_0x37484d(0x154)]),s(_0x9462f1,'pie.showLabelLine',this[_0x37484d(0x1b6)]),_0x1cfe9f[_0x37484d(0x20b)]=_0x9462f1,_0x1cfe9f;}}class st extends c{[_0x37fe5f(0x152)](){const _0x3ec06d=_0x37fe5f;return new it(this['unitId'],this['subUnitId'],this[_0x3ec06d(0x1c5)],this[_0x3ec06d(0x1c1)],this['chartId']);}}c[_0x37fe5f(0x1e7)](st);class rt extends c{constructor(_0x480afb,_0x29c88b,_0xe0728d,_0x11f089,_0x4370ec){const _0x3ade55=_0x37fe5f;super(_0x480afb,_0x29c88b,_0xe0728d,_0x11f089,_0x4370ec),n(this,_0x3ade55(0x1dd)),n(this,_0x3ade55(0x16a));}[_0x37fe5f(0x1c8)](_0x2ad093){const _0x16a43=_0x37fe5f;return this[_0x16a43(0x1dd)]=_0x2ad093,this;}[_0x37fe5f(0x1f1)](_0x591db1){const _0x528143=_0x37fe5f;return this[_0x528143(0x16a)]=_0x591db1,this;}[_0x37fe5f(0x1e6)](){const _0xbcaa95=_0x37fe5f,_0x1cdf17=super[_0xbcaa95(0x1e6)]();_0x1cdf17[_0xbcaa95(0x17f)]=_0x23cef7['Radar'];const _0x5092d3=_0x1cdf17[_0xbcaa95(0x20b)]||{};return s(_0x5092d3,_0xbcaa95(0x1f9),this['shape']),s(_0x5092d3,_0xbcaa95(0x16b),this[_0xbcaa95(0x16a)]),_0x1cdf17[_0xbcaa95(0x20b)]=_0x5092d3,_0x1cdf17;}}class ot extends c{[_0x37fe5f(0x166)](){const _0x3d01b5=_0x37fe5f;return new rt(this[_0x3d01b5(0x1d9)],this[_0x3d01b5(0x172)],this[_0x3d01b5(0x1c5)],this[_0x3d01b5(0x1c1)],this[_0x3d01b5(0x14a)]);}}c[_0x37fe5f(0x1e7)](ot);function _0x504c(_0xa607d,_0x1b1052){const _0x330d67=_0x330d();return _0x504c=function(_0x504cc6,_0x58b9f7){_0x504cc6=_0x504cc6-0x14a;let _0x223146=_0x330d67[_0x504cc6];return _0x223146;},_0x504c(_0xa607d,_0x1b1052);}export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};