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

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
+ const _0x337cc5=_0x59ff;function _0x59ff(_0x53309f,_0x1d8bce){const _0x4697ef=_0x4697();return _0x59ff=function(_0x59ffec,_0x4293c9){_0x59ffec=_0x59ffec-0x1ed;let _0x297e51=_0x4697ef[_0x59ffec];return _0x297e51;},_0x59ff(_0x53309f,_0x1d8bce);}(function(_0x46412b,_0x31695c){const _0x56d9e8=_0x59ff,_0x200561=_0x46412b();while(!![]){try{const _0x14c803=-parseInt(_0x56d9e8(0x20b))/0x1*(parseInt(_0x56d9e8(0x25e))/0x2)+-parseInt(_0x56d9e8(0x228))/0x3*(-parseInt(_0x56d9e8(0x212))/0x4)+-parseInt(_0x56d9e8(0x243))/0x5*(-parseInt(_0x56d9e8(0x270))/0x6)+-parseInt(_0x56d9e8(0x26f))/0x7+parseInt(_0x56d9e8(0x1f1))/0x8*(-parseInt(_0x56d9e8(0x275))/0x9)+-parseInt(_0x56d9e8(0x217))/0xa*(-parseInt(_0x56d9e8(0x1f2))/0xb)+parseInt(_0x56d9e8(0x273))/0xc*(-parseInt(_0x56d9e8(0x266))/0xd);if(_0x14c803===_0x31695c)break;else _0x200561['push'](_0x200561['shift']());}catch(_0x4eacc0){_0x200561['push'](_0x200561['shift']());}}}(_0x4697,0x5a720));function _0x4697(){const _0x5253ac=['貨幣類型','91908rzaqJU','類別\x20{0}','2517426ktQHbg','設置標籤格式','力導向選項','指示標籤','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','{0}\x20透明度','百分比','標題對齊','折線圖','堆疊方式','8zJBszv','353694SYzfld','顯示R平方','詞雲形狀','副標題','長條圖系列','圖表邊框顏色','X軸標題','趨勢線線類型','負值圖例文本','數據標籤','{0}\x20大小','標題文本','空心正方形','標籤文本','日期類型','顯示空單元格為','使用值作為節點大小','系列\x20{0}','顯示標籤線','使用絕對值','指示值','空心圓角矩形','圖表數據源必須包含多於1行和1列。','主標題','格式類型','2749OrrqDt','多邊形','顯示軸線','節點距離','雷達圖','圖表和軸標題','刻度線長度','7464QRrAzt','使用\x20{0}\x20作為類別標籤','數據點樣式','組合圖','趨勢線名稱','150PWvSXl','多項式階數','顯示小計','正值圖例文本','小數位數','負值樣式','右垂直軸','堆疊條形圖','{0}\x20形狀','詞雲圖','標籤旋轉','指示線類型','逆序軸','正方形','插入圖表','百分比堆疊','添加數據點','687UiDqKR','{0}\x20顏色','{0}\x20粗細','累積占比系列','最小值','指示線顏色','百分比堆疊條形圖','環形圖','背景顏色','佈局類型','使用日期軸','日期軸僅在數據全部為日期格式時可用','數據範圍','氣泡標籤','重複詞雲標籤','顯示標籤','線類型','旋轉標籤','R平方','累積占比','趨勢線粗細','左對齊','漏斗圖','右Y軸標題','添加趨勢線','主刻度線','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','7315zxZawk','標題位置','更多設置','百分比堆疊面積圖','編輯圖表','添加系列','條形圖','趨勢線顏色','趨勢線類型','排列圖','氣泡大小','柱狀圖','標題格式','刪除圖表','空心矩形','用直線連接數據點','空心三角形','{0}\x20格式','圖表樣式','股票圖','多項式','常規格式不包含任何特定的數字格式。','Y軸標題','網格線','標籤位置','玫瑰圖','圖表類型','446WaHgLp','瀑布圖','垂直軸','軸選項','主網格線','關係圖','設置圖表','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','247nIpofx','面積圖','三角形','扇形間距','最大值','顯示公式','數據點','字段設置','右對齊','735819VSFnBT','2478rEPvNk','正值樣式'];_0x4697=function(){return _0x5253ac;};return _0x4697();}const e={'chart':{'insertChart':_0x337cc5(0x225),'editChart':_0x337cc5(0x247),'openChartPanel':'打開圖表面板','deleteChart':_0x337cc5(0x250),'hideChartPanel':'隱藏圖表面板','setupChart':_0x337cc5(0x264),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x337cc5(0x25d),'themes':'主題','dataRange':_0x337cc5(0x234),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x337cc5(0x248),'moreSettings':_0x337cc5(0x245),'min':_0x337cc5(0x22c),'max':_0x337cc5(0x26a),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x337cc5(0x252)},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':_0x337cc5(0x214)},'backgroundColor':_0x337cc5(0x230),'chartBorderColor':_0x337cc5(0x1f7),'titles':{'title':'標題','mainTitle':_0x337cc5(0x209),'subTitle':_0x337cc5(0x1f5),'xAxisTitle':_0x337cc5(0x1f8),'yAxisTitle':_0x337cc5(0x259),'rightYAxisTitle':_0x337cc5(0x23f),'titleFormat':_0x337cc5(0x24f),'titleText':_0x337cc5(0x1fd),'titlePosition':_0x337cc5(0x244),'titleAlign':_0x337cc5(0x1ee)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':'切換行或列','useAsCategoryLabels':_0x337cc5(0x213),'showEmptyCellsAs':_0x337cc5(0x201)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x337cc5(0x23d),'center':'居中','right':_0x337cc5(0x26e)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x337cc5(0x255),'chartAndAxisTitles':_0x337cc5(0x210),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'axes':{'axis':'軸','axisOptions':_0x337cc5(0x261),'horizontalAxis':'水平軸','verticalAxis':_0x337cc5(0x260),'rightVerticalAxis':_0x337cc5(0x21d),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':_0x337cc5(0x1fb),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':'指示線','indicatorLineType':_0x337cc5(0x222),'indicatorLineColor':_0x337cc5(0x22d),'indicatorLabel':_0x337cc5(0x278),'indicatorValue':_0x337cc5(0x206),'shape':{'polygon':_0x337cc5(0x20c),'circle':'圓形','square':_0x337cc5(0x224),'triangle':_0x337cc5(0x268),'diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x337cc5(0x1fe),'emptyTriangle':_0x337cc5(0x253),'emptyDiamond':'空心菱形','emptyRect':_0x337cc5(0x251),'emptyRoundRect':_0x337cc5(0x207),'emptyPin':'空心針形','emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x337cc5(0x27a),'withColor':_0x337cc5(0x229),'withThickness':_0x337cc5(0x22a),'withType':'{0}\x20類型','withSize':_0x337cc5(0x1fc),'withShape':_0x337cc5(0x21f),'withFormat':_0x337cc5(0x254),'dataPoint':_0x337cc5(0x26c),'addDataPoint':_0x337cc5(0x227),'point':'數據點','percentage':_0x337cc5(0x1ed),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x337cc5(0x226)},'lineDashType':_0x337cc5(0x238),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x337cc5(0x262),'text':_0x337cc5(0x25a)},'ticks':{'majorTick':_0x337cc5(0x241),'tickPosition':'刻度線位置','tickLength':_0x337cc5(0x211)},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x337cc5(0x203),'categoryDefaultName':_0x337cc5(0x274),'styleEditPanel':{'showLabels':_0x337cc5(0x237),'showDataLabels':'顯示數據標籤','padAngle':_0x337cc5(0x269),'halfPie':'半餅','rosePie':_0x337cc5(0x25c),'showLabelLine':_0x337cc5(0x204),'reverseAxisOrder':_0x337cc5(0x223),'showAxisLine':_0x337cc5(0x20d),'labelPosition':_0x337cc5(0x25b),'labelText':_0x337cc5(0x1ff),'repeatWordCould':_0x337cc5(0x236),'gap':'間隔','useAbsValue':_0x337cc5(0x205),'labelRotate':_0x337cc5(0x221),'wordCloudShape':_0x337cc5(0x1f4),'useDateAxis':_0x337cc5(0x232),'dateAxisTips':_0x337cc5(0x233)},'radar':{'fill':'填充'},'doughnutHole':'圓環孔','msg':{'invalidSource':_0x337cc5(0x208),'emptyTips':'請先添加系列開始數據可視化'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x337cc5(0x216),'addTrendLine':_0x337cc5(0x240),'trendlineType':_0x337cc5(0x24b),'trendlineName':_0x337cc5(0x216),'trendlineColor':_0x337cc5(0x24a),'trendlineThickness':_0x337cc5(0x23c),'trendlineDashType':_0x337cc5(0x1f9),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x337cc5(0x257),'order':_0x337cc5(0x218),'period':'移動平均周期','showFormula':_0x337cc5(0x26b),'showR2':_0x337cc5(0x1f3),'formula':'公式','r2':_0x337cc5(0x23a)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x337cc5(0x24d),'label':_0x337cc5(0x235),'emptyTips':'氣泡圖至少需要3列,X軸、Y軸和氣泡大小。'},'relation':{'title':_0x337cc5(0x263),'auto':'自動','circular':'環形','force':'力導向','useValueAsSymbolSize':_0x337cc5(0x202),'layoutType':_0x337cc5(0x231),'forceOptions':_0x337cc5(0x277),'repulsion':'斥力','gravity':'引力','edgeLength':_0x337cc5(0x20e),'rotateLabel':_0x337cc5(0x239),'emphasis':'開啟選中淡入特效','emptyTips':_0x337cc5(0x242)},'waterfall':{'stackType':_0x337cc5(0x1f0),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x337cc5(0x219),'positiveStyle':_0x337cc5(0x271),'negativeStyle':_0x337cc5(0x21c),'subtotalStyle':'小計樣式','positiveLegendText':_0x337cc5(0x21a),'negativeLegendText':_0x337cc5(0x1fa),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':_0x337cc5(0x23b),'lineSeries':_0x337cc5(0x22b),'barSeries':_0x337cc5(0x1f6)}},'chartTypes':{'line':_0x337cc5(0x1ef),'area':_0x337cc5(0x267),'areaStacked':'堆疊面積圖','areaPercentStacked':_0x337cc5(0x246),'column':_0x337cc5(0x24e),'bar':_0x337cc5(0x249),'barStacked':_0x337cc5(0x21e),'barPercentStacked':_0x337cc5(0x22e),'pie':'餅圖','donut':_0x337cc5(0x22f),'scatter':'散點圖','radar':_0x337cc5(0x20f),'bubble':'氣泡圖','stock':_0x337cc5(0x256),'combination':_0x337cc5(0x215),'wordCloud':_0x337cc5(0x220),'funnel':_0x337cc5(0x23e),'relation':_0x337cc5(0x263),'waterfall':_0x337cc5(0x25f),'pareto':_0x337cc5(0x24c)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x337cc5(0x26d),'formatTypes':_0x337cc5(0x20a),'confirm':'確定','cancel':'取消','generalDesc':_0x337cc5(0x258),'accountingDesc':_0x337cc5(0x279),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x337cc5(0x265),'decimalPlaces':_0x337cc5(0x21b),'currencyTypes':_0x337cc5(0x272),'negativeNumberTypes':'負數類型','dateTypes':_0x337cc5(0x200)},'setFormat':_0x337cc5(0x276)}};export{e as default};
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 _0x3e3971=_0x2131;(function(_0x18aa36,_0x12baab){const _0x24a29f=_0x2131,_0x3dc2ea=_0x18aa36();while(!![]){try{const _0x253f20=parseInt(_0x24a29f(0x163))/0x1*(parseInt(_0x24a29f(0x15a))/0x2)+-parseInt(_0x24a29f(0xef))/0x3*(-parseInt(_0x24a29f(0xd7))/0x4)+parseInt(_0x24a29f(0x104))/0x5*(-parseInt(_0x24a29f(0xc5))/0x6)+parseInt(_0x24a29f(0x110))/0x7*(-parseInt(_0x24a29f(0x127))/0x8)+parseInt(_0x24a29f(0xfc))/0x9+-parseInt(_0x24a29f(0xe9))/0xa*(parseInt(_0x24a29f(0xab))/0xb)+-parseInt(_0x24a29f(0xe6))/0xc*(-parseInt(_0x24a29f(0xc8))/0xd);if(_0x253f20===_0x12baab)break;else _0x3dc2ea['push'](_0x3dc2ea['shift']());}catch(_0x502d5c){_0x3dc2ea['push'](_0x3dc2ea['shift']());}}}(_0x4d57,0x18e01));var b=Object['defineProperty'],k=(_0x4d128b,_0x546242,_0x2ee93c)=>_0x546242 in _0x4d128b?b(_0x4d128b,_0x546242,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ee93c}):_0x4d128b[_0x546242]=_0x2ee93c,n=(_0x253ae6,_0x2de592,_0x12fee0)=>k(_0x253ae6,typeof _0x2de592!=_0x3e3971(0x10e)?_0x2de592+'':_0x2de592,_0x12fee0);function _0x4d57(){const _0x171ee3=['titles.xAxisTitle.bold','titles.title.font','getWorkbook','titles.rightYAxisTitle.content','getRenderById','_workbook','setOptions','30913takadL','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','lineStyle','legend.label.fontSize','dataPointSize','unitId','registerChartTheme','area','SelectModeEnum','847vtsTpZ','tooltip.indicatorLineType','context','content','radar','doughnutHole','pie.isHalfPie','tooltip.indicatorLabelColor','setRightYAxisTextStyle','style','setYAxisTextStyle','fontSize','setFill','getSheetId','titles.title.bold','updateChart','setShape','get','theme','updateRange','getCurrentUnitForType','yRightAxis','titles.rightYAxisTitle.fontSize','radar.fill','TitlePositionEnum','titles.title.color','6qZRuqj','backgroundColor','chartId','2483uVhRud','getRangeInfo','transposeRowsAndColumns','Line','italic','titles.title.content','setInvalidValueStrategy','yAxis','options','invalidValueType','rightYAxis.label.axisTitleAlign','left','titles.xAxisTitle.content','registerTheme','setSeriesStyle','16TMaetT','clearRange','showLabelLine','subUnitId','fontStyle','hasPaddingAngle','dataPointShape','xAxisTitle','titles.yAxisTitle.font','LegendPositionEnum','build','chartType','getChartModel','gradientFill','indicatorLabelColor','14988RvxhTo','titles.xAxisTitle.color','top','11650zkjuNh','setDataPointSize','removeChart','getUnitId','sourceSheetName','UNIVER_SHEET','60195xAyQkH','xAxis','getSeriesData','titles.xAxisTitle.fontSize','border','RadarShape','titles.rightYAxisTitle.family','titleAlignment','allSeriesStyle.point.shape','setChartType','getCategoryData','height','insertChart','826623rJkEQO','allSeriesStyle.rightYAxis','legend.selectMode','allSeriesStyle','setPosition','extend','getSheetBySheetName','tooltip.indicatorLineColor','543260UStVcI','allSeriesStyle.point','setDataPointShape','rightYAxisTitle','sheetName','asPieChart','setShowLabelLine','titles.title.fontSize','allSeriesStyle.color','titles.yAxisTitle.fontSize','symbol','config','329777QqCBgH','setWidth','indicatorLineColor','keys','isHalfPie','axisAlignment','LinePointShape','isRowDirection','setXAxisTitle','legend.label.bold','string','getRange','rosePie','selectMode','borderColor','radar.shape','Radar','indicatorLabelTextColor','bold','titles.rightYAxisTitle.font','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','title','legend.label.color','24KEOXSO','pie.borderColor','dataPointColor','range','titles.yAxisTitle.bold','_commandService','setRightYAxisTitle','titles.xAxisTitle.family','executeCommand','axisPointer','setTheme','allSeriesStyle.point.color','setHeight','titles.rightYAxisTitle.color','rightYAxis','setIsHalfPie','label','color','titles.yAxisTitle.family','dataSource','setXAxisTextStyle','ChartType','titles.rightYAxisTitle.bold','point','width','titles.title.align','position','allSeriesStyle.point.size','\x20not\x20found','titles.yAxisTitle.content','legend','setAllSeriesStyle','shape','setHasPaddingAngle','pie.hasPaddingAngle','font','setRosePie','asLineChart','pie.rosePie','area.lineStyle','pie.doughnutHole','setDoughnutHole','getCharts','yAxisTitle','_injector','fontColor','seriesStyleMap','modify','length','Sheet\x20','fill','2uLoVBY','allSeriesStyle.border'];_0x4d57=function(){return _0x171ee3;};return _0x4d57();}import{ChartThemeService as _0x32835d,ChartTypeBits as _0x42feec,LegendPositionEnum as _0xf18fb9,SelectModeEnum as _0xe77362,AxisAlignEnum as _0x5e48de,ChartBorderDashType as _0x47a691,LinePointShape as _0x2b31cc,TitlePositionEnum as _0x58615d,RadarShape as _0x417439}from'@univerjs-pro/engine-chart';import{setProperty as _0x42b9b6,SheetsChartService as _0x8338a6,ChartUpdateSourceCommand as _0x22907d,ChartUpdateConfigCommand as _0xe475a2}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x15796f}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x46e142,IUniverInstanceService as _0x3a73cd,UniverInstanceType as _0x24a08d,generateRandomId as _0x3bb836,DrawingTypeEnum as _0x4c1485}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x4d370b}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2ce7df}from'@univerjs/sheets/facade';import{FBase as _0x88638b,FEnum as _0x40e5be}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x1d849d}from'@univerjs/engine-formula';import{IRenderManagerService as _0x188565}from'@univerjs/engine-render';function _0x2131(_0x3ea709,_0x1d10c5){const _0x4d57f8=_0x4d57();return _0x2131=function(_0x2131fc,_0x401611){_0x2131fc=_0x2131fc-0xab;let _0xdd67fd=_0x4d57f8[_0x2131fc];return _0xdd67fd;},_0x2131(_0x3ea709,_0x1d10c5);}import{ISheetSelectionRenderService as _0x48e597,SheetSkeletonManagerService as _0x36e020,convertPositionCellToSheetOverGrid as _0x5bb8ad}from'@univerjs/sheets-ui';const s=(_0xc30f7b,_0x4c3a0c,_0x405c10)=>{_0x405c10!==void 0x0&&_0x42b9b6(_0xc30f7b,_0x4c3a0c,_0x405c10);},C=(_0x1acefa,_0x1382a2,_0x427ccb,_0x1bc62f={})=>{const _0x47f1a9=_0x3e3971,_0x357aef={},_0x44a100={};if(_0x1bc62f[_0x47f1a9(0x125)]){const _0x44cb86=_0x1bc62f[_0x47f1a9(0x125)];s(_0x357aef,_0x47f1a9(0xcd),_0x44cb86['content']),s(_0x357aef,_0x47f1a9(0x15d),_0x44cb86['font']),s(_0x357aef,_0x47f1a9(0x10b),_0x44cb86[_0x47f1a9(0xb6)]),s(_0x357aef,_0x47f1a9(0xc4),_0x44cb86[_0x47f1a9(0x154)]),s(_0x357aef,'titles.title.family',_0x44cb86['fontStyle']),s(_0x357aef,_0x47f1a9(0xb9),_0x44cb86['bold']),s(_0x357aef,_0x47f1a9(0x140),_0x44cb86[_0x47f1a9(0xf6)]),s(_0x357aef,'titles.titlePosition',_0x44cb86[_0x47f1a9(0x141)]);}if(_0x1bc62f['legend']){const _0x23a060=_0x1bc62f[_0x47f1a9(0x145)];s(_0x357aef,'legend.position',_0x23a060[_0x47f1a9(0x141)]),s(_0x357aef,_0x47f1a9(0xfe),_0x23a060[_0x47f1a9(0x11d)]),s(_0x357aef,_0x47f1a9(0x166),_0x23a060[_0x47f1a9(0xb6)]),s(_0x357aef,_0x47f1a9(0x126),_0x23a060[_0x47f1a9(0x138)]),s(_0x357aef,_0x47f1a9(0x119),_0x23a060[_0x47f1a9(0x122)]),s(_0x357aef,'legend.label.italic',_0x23a060[_0x47f1a9(0xcc)]);}if(_0x1bc62f['pie']){const _0x276ee6=_0x1bc62f['pie'];s(_0x357aef,_0x47f1a9(0x14f),_0x276ee6[_0x47f1a9(0xb0)]),s(_0x357aef,_0x47f1a9(0x128),_0x276ee6[_0x47f1a9(0x11e)]),s(_0x357aef,'pie.hasPaddingAngle',_0x276ee6[_0x47f1a9(0xdc)]),s(_0x357aef,_0x47f1a9(0xb1),_0x276ee6[_0x47f1a9(0x114)]),s(_0x357aef,_0x47f1a9(0x14d),_0x276ee6['rosePie']),s(_0x357aef,'pie.showLabelLine',_0x276ee6[_0x47f1a9(0xd9)]);}if(_0x1bc62f[_0x47f1a9(0x130)]){const _0x1ed8a1=_0x1bc62f[_0x47f1a9(0x130)];s(_0x357aef,_0x47f1a9(0xb2),_0x1ed8a1[_0x47f1a9(0xe5)]),s(_0x357aef,_0x47f1a9(0xac),_0x1ed8a1['indicatorLineType']),s(_0x357aef,_0x47f1a9(0x103),_0x1ed8a1[_0x47f1a9(0x112)]),s(_0x357aef,'tooltip.indicatorLabelTextColor',_0x1ed8a1[_0x47f1a9(0x121)]);}if(_0x1bc62f[_0x47f1a9(0xff)]&&(s(_0x357aef,_0x47f1a9(0x15b),_0x1bc62f[_0x47f1a9(0xff)][_0x47f1a9(0xf3)]),s(_0x357aef,'allSeriesStyle.label',_0x1bc62f['allSeriesStyle'][_0x47f1a9(0x137)]),s(_0x357aef,_0x47f1a9(0xfd),_0x1bc62f[_0x47f1a9(0xff)][_0x47f1a9(0x135)]),s(_0x357aef,_0x47f1a9(0x105),_0x1bc62f[_0x47f1a9(0xff)][_0x47f1a9(0x13e)]),s(_0x357aef,_0x47f1a9(0x10c),_0x1bc62f[_0x47f1a9(0xff)]['color'])),_0x1bc62f[_0x47f1a9(0x16a)]&&s(_0x357aef,_0x47f1a9(0x14e),_0x1bc62f[_0x47f1a9(0x16a)][_0x47f1a9(0x165)]),_0x1bc62f['theme']&&s(_0x357aef,_0x47f1a9(0xbd),_0x1bc62f[_0x47f1a9(0xbd)]),_0x1bc62f[_0x47f1a9(0xc6)]&&s(_0x357aef,_0x47f1a9(0xc6),_0x1bc62f['backgroundColor']),_0x1bc62f[_0x47f1a9(0x11e)]&&s(_0x357aef,_0x47f1a9(0x11e),_0x1bc62f['borderColor']),_0x1bc62f[_0x47f1a9(0xe4)]&&s(_0x357aef,'gradientFill',_0x1bc62f[_0x47f1a9(0xe4)]),_0x1bc62f[_0x47f1a9(0xd1)]&&s(_0x357aef,_0x47f1a9(0xd1),_0x1bc62f['invalidValueType']),_0x1bc62f['radar']&&s(_0x357aef,_0x47f1a9(0xaf),_0x1bc62f[_0x47f1a9(0xaf)]),_0x1bc62f[_0x47f1a9(0xde)]){const _0x39d512=_0x1bc62f[_0x47f1a9(0xde)];s(_0x357aef,_0x47f1a9(0xd4),_0x39d512[_0x47f1a9(0xae)]),s(_0x357aef,'titles.xAxisTitle.font',_0x39d512['font']),s(_0x357aef,_0x47f1a9(0xf2),_0x39d512[_0x47f1a9(0xb6)]),s(_0x357aef,_0x47f1a9(0xe7),_0x39d512[_0x47f1a9(0x154)]),s(_0x357aef,_0x47f1a9(0x12e),_0x39d512[_0x47f1a9(0xdb)]),s(_0x357aef,_0x47f1a9(0x15c),_0x39d512['bold']),s(_0x357aef,'xAxis.label.axisTitleAlign',_0x39d512[_0x47f1a9(0x115)]);}if(_0x1bc62f[_0x47f1a9(0x152)]){const _0x5fc049=_0x1bc62f[_0x47f1a9(0x152)];s(_0x357aef,_0x47f1a9(0x144),_0x5fc049[_0x47f1a9(0xae)]),s(_0x357aef,_0x47f1a9(0xdf),_0x5fc049[_0x47f1a9(0x14a)]),s(_0x357aef,_0x47f1a9(0x10d),_0x5fc049[_0x47f1a9(0xb6)]),s(_0x357aef,'titles.yAxisTitle.color',_0x5fc049[_0x47f1a9(0x154)]),s(_0x357aef,_0x47f1a9(0x139),_0x5fc049['fontStyle']),s(_0x357aef,_0x47f1a9(0x12b),_0x5fc049[_0x47f1a9(0x122)]),s(_0x357aef,'yAxis.label.axisTitleAlign',_0x5fc049[_0x47f1a9(0x115)]);}if(_0x1bc62f[_0x47f1a9(0x107)]){const _0x1b612e=_0x1bc62f[_0x47f1a9(0x107)];s(_0x357aef,_0x47f1a9(0x15f),_0x1b612e['content']),s(_0x357aef,_0x47f1a9(0x123),_0x1b612e[_0x47f1a9(0x14a)]),s(_0x357aef,_0x47f1a9(0xc1),_0x1b612e[_0x47f1a9(0xb6)]),s(_0x357aef,_0x47f1a9(0x134),_0x1b612e[_0x47f1a9(0x154)]),s(_0x357aef,_0x47f1a9(0xf5),_0x1b612e[_0x47f1a9(0xdb)]),s(_0x357aef,_0x47f1a9(0x13d),_0x1b612e[_0x47f1a9(0x122)]),s(_0x357aef,_0x47f1a9(0xd2),_0x1b612e[_0x47f1a9(0x115)]);}_0x1bc62f[_0x47f1a9(0xf0)]&&s(_0x357aef,_0x47f1a9(0xf0),_0x1bc62f[_0x47f1a9(0xf0)]),_0x1bc62f[_0x47f1a9(0xcf)]&&s(_0x357aef,_0x47f1a9(0xcf),_0x1bc62f[_0x47f1a9(0xcf)]),_0x1bc62f[_0x47f1a9(0xc0)]&&s(_0x357aef,_0x47f1a9(0x135),_0x1bc62f[_0x47f1a9(0xc0)]),_0x1bc62f[_0x47f1a9(0x155)]&&s(_0x357aef,_0x47f1a9(0x155),_0x1bc62f[_0x47f1a9(0x155)]);const _0x2d5695={'unitId':_0x1acefa,'chartModelId':_0x1382a2};let _0x3a4d68=!0x1;if(_0x427ccb!==void 0x0&&(_0x2d5695[_0x47f1a9(0xe2)]=_0x427ccb,_0x3a4d68=!0x0),Object[_0x47f1a9(0x113)](_0x357aef)[_0x47f1a9(0x157)]>0x0&&(_0x2d5695[_0x47f1a9(0xb4)]=_0x357aef,_0x3a4d68=!0x0),Object[_0x47f1a9(0x113)](_0x44a100)[_0x47f1a9(0x157)]>0x0&&(_0x2d5695[_0x47f1a9(0xad)]=_0x44a100,_0x3a4d68=!0x0),_0x3a4d68)return _0x2d5695;};class c extends _0x88638b{constructor(_0x1b524f,_0x5a0b1c,_0x15fef8,_0xdd2841,_0x3074b3){const _0x28b649=_0x3e3971;super(),n(this,_0x28b649(0x161)),n(this,_0x28b649(0x153)),n(this,_0x28b649(0x168)),n(this,_0x28b649(0xda)),n(this,_0x28b649(0xc7)),n(this,_0x28b649(0x12a)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x28b649(0x13f)),n(this,'height'),n(this,_0x28b649(0xe2)),n(this,_0x28b649(0xd0)),n(this,'transposeRowsAndColumns'),(this[_0x28b649(0x168)]=_0x1b524f,this['subUnitId']=_0x5a0b1c,this['_workbook']=_0x15fef8,this[_0x28b649(0x153)]=_0xdd2841,_0x3074b3&&(this[_0x28b649(0xc7)]=_0x3074b3));}['getChartType'](){const _0x2ab677=_0x3e3971;return this[_0x2ab677(0xe2)];}['addRange'](_0x16bf12){const _0x4c7f1c=_0x3e3971;if(typeof _0x16bf12==_0x4c7f1c(0x11a)){const _0x21f937=_0x1d849d(_0x16bf12);_0x21f937['sheetName']&&(this[_0x4c7f1c(0xed)]=_0x21f937[_0x4c7f1c(0x108)]),this[_0x4c7f1c(0x12a)]=_0x21f937[_0x4c7f1c(0x12a)];}else this[_0x4c7f1c(0x12a)]=_0x16bf12;return this;}[_0x3e3971(0xd8)](){const _0x44de29=_0x3e3971;return this[_0x44de29(0x12a)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x3e3971(0x100)](_0x2421a9,_0x123d6c,_0x1a0699,_0x43aedb){const _0x293324=_0x3e3971,_0x28b6be=this['_injector'][_0x293324(0xbc)](_0x188565)[_0x293324(0x160)](this['unitId']);if(!_0x28b6be)throw new Error(_0x293324(0x164));const _0x286b0e=_0x28b6be['with'](_0x48e597),_0x44a61f=_0x28b6be['with'](_0x36e020),{transform:_0x14c95a}=_0x5bb8ad(this[_0x293324(0x168)],this[_0x293324(0xda)],{'row':_0x2421a9,'column':_0x123d6c,'rowOffset':_0x1a0699,'columnOffset':_0x43aedb},0x1,0x1,_0x286b0e,_0x44a61f),_0x1f567d=_0x14c95a[_0x293324(0xe8)],_0x3505b9=_0x14c95a[_0x293324(0xd3)];return this['x']=_0x3505b9,this['y']=_0x1f567d,this;}['setAbsolutePosition'](_0x199d62,_0x54a4bc){return this['x']=_0x199d62,this['y']=_0x54a4bc,this;}[_0x3e3971(0xf8)](_0x1be193){const _0x139580=_0x3e3971;return this[_0x139580(0xe2)]=_0x1be193,this;}[_0x3e3971(0x111)](_0x3c5b30){return this['width']=_0x3c5b30,this;}[_0x3e3971(0x133)](_0x4a4f83){const _0x1da464=_0x3e3971;return this[_0x1da464(0xfa)]=_0x4a4f83,this;}['setOptions'](_0x63d76f,_0x38b0f1){const _0x1f51a4=_0x3e3971;return this[_0x1f51a4(0xd0)]||(this[_0x1f51a4(0xd0)]={}),_0x63d76f===''?(this[_0x1f51a4(0xd0)]={...this['options'],..._0x38b0f1},this):(_0x42b9b6(this[_0x1f51a4(0xd0)],_0x63d76f,_0x38b0f1),this);}['setTransposeRowsAndColumns'](_0x446f69){const _0xfbd642=_0x3e3971;return this[_0xfbd642(0xca)]=_0x446f69,this;}[_0x3e3971(0x131)](_0x216e6e){const _0x51e54c=_0x3e3971;return this[_0x51e54c(0x162)](_0x51e54c(0xbd),_0x216e6e),this;}[_0x3e3971(0x118)](_0x40ff36){const _0x347c02=_0x3e3971;var _0x2a6771;const _0x54a9a1=((_0x2a6771=this[_0x347c02(0xd0)])==null?void 0x0:_0x2a6771['xAxisTitle'])||{};return _0x54a9a1[_0x347c02(0xae)]=_0x40ff36,this[_0x347c02(0x162)](_0x347c02(0xde),_0x54a9a1),this;}['setYAxisTitle'](_0x50f126){const _0x25e1f7=_0x3e3971;var _0x131d0f;const _0x15db09=((_0x131d0f=this[_0x25e1f7(0xd0)])==null?void 0x0:_0x131d0f['yAxisTitle'])||{};return _0x15db09[_0x25e1f7(0xae)]=_0x50f126,this[_0x25e1f7(0x162)](_0x25e1f7(0x152),_0x15db09),this;}[_0x3e3971(0x12d)](_0x507bc5){const _0x407d9e=_0x3e3971;var _0x20a127;const _0x1faf29=((_0x20a127=this[_0x407d9e(0xd0)])==null?void 0x0:_0x20a127[_0x407d9e(0x107)])||{};return _0x1faf29['content']=_0x507bc5,this[_0x407d9e(0x162)]('rightYAxisTitle',_0x1faf29),this;}[_0x3e3971(0x13b)](_0x57449f){const _0x537b9e=_0x3e3971;var _0x13436c;const _0x526351=((_0x13436c=this[_0x537b9e(0xd0)])==null?void 0x0:_0x13436c[_0x537b9e(0xde)])||{};return this[_0x537b9e(0x162)](_0x537b9e(0xde),{..._0x526351,..._0x57449f}),this;}[_0x3e3971(0xb5)](_0x5b8556){const _0x3700d0=_0x3e3971;var _0x4b8c89;const _0x2af060=((_0x4b8c89=this['options'])==null?void 0x0:_0x4b8c89[_0x3700d0(0x152)])||{};return this[_0x3700d0(0x162)](_0x3700d0(0x152),{..._0x2af060,..._0x5b8556}),this;}[_0x3e3971(0xb3)](_0x31b8ca){const _0xd7aa7c=_0x3e3971;var _0xc99cd7;const _0x3e0d44=((_0xc99cd7=this[_0xd7aa7c(0xd0)])==null?void 0x0:_0xc99cd7[_0xd7aa7c(0x107)])||{};return this[_0xd7aa7c(0x162)]('rightYAxisTitle',{..._0x3e0d44,..._0x31b8ca}),this;}[_0x3e3971(0xce)](_0x3475b2){return this['setOptions']('invalidValueType',_0x3475b2),this;}['setAxisPointerStyle'](_0x4df6b2){const _0x2b7ee9=_0x3e3971;return this[_0x2b7ee9(0x162)](_0x2b7ee9(0x130),_0x4df6b2),this;}[_0x3e3971(0x146)](_0x17c93a){const _0x31a5a1=_0x3e3971;return this[_0x31a5a1(0x162)](_0x31a5a1(0xff),_0x17c93a),this;}[_0x3e3971(0xd6)](_0x50444d,_0x1cfcd0){const _0x3e61df=_0x3e3971;return this[_0x3e61df(0x162)](_0x3e61df(0x155),{[_0x50444d]:_0x1cfcd0}),this;}[_0x3e3971(0xe1)](){const _0x175ed4=_0x3e3971;var _0x16e5d3;let _0x24c3a3=this[_0x175ed4(0xda)];if(this[_0x175ed4(0xed)]){const _0x297c3b=(_0x16e5d3=this[_0x175ed4(0x161)][_0x175ed4(0x102)](this[_0x175ed4(0xed)]))==null?void 0x0:_0x16e5d3['getSheetId']();if(!_0x297c3b)throw new Error(_0x175ed4(0x158)+this[_0x175ed4(0xed)]+_0x175ed4(0x143));_0x24c3a3=_0x297c3b;}return{'unitId':this[_0x175ed4(0x168)],'subUnitId':_0x24c3a3,'chartId':this[_0x175ed4(0xc7)],'range':this['range'],'x':this['x'],'y':this['y'],'width':this[_0x175ed4(0x13f)],'height':this[_0x175ed4(0xfa)],'chartType':this[_0x175ed4(0xe2)],'options':this[_0x175ed4(0xd0)],'isRowDirection':this[_0x175ed4(0xca)]};}}class f{constructor(_0x74c96b,_0x1618a5,_0x1c2a27,_0x15d392){const _0x5c6470=_0x3e3971;n(this,_0x5c6470(0x168)),n(this,_0x5c6470(0xda)),n(this,'chartId'),n(this,_0x5c6470(0x153)),(this[_0x5c6470(0x168)]=_0x74c96b,this[_0x5c6470(0xda)]=_0x1618a5,this[_0x5c6470(0xc7)]=_0x1c2a27,this[_0x5c6470(0x153)]=_0x15d392);}['getChartId'](){return this['chartId'];}[_0x3e3971(0x11b)](){const _0x20d63b=_0x3e3971,_0xb7019a=this[_0x20d63b(0x153)][_0x20d63b(0xbc)](_0x8338a6)[_0x20d63b(0xe3)](this['chartId']);if(_0xb7019a)return _0xb7019a[_0x20d63b(0x13a)][_0x20d63b(0xc9)]();}[_0x3e3971(0xbe)](_0x171835){const _0x22463a=_0x3e3971;return this['_injector']['get'](_0x46e142)[_0x22463a(0x12f)](_0x22907d['id'],{'unitId':this[_0x22463a(0x168)],'chartModelId':this['chartId'],'range':_0x171835});}[_0x3e3971(0xf1)](){const _0x216a0d=_0x3e3971;var _0x4aa7f5;const _0x5a6cd9=this[_0x216a0d(0x153)]['get'](_0x8338a6)[_0x216a0d(0xe3)](this[_0x216a0d(0xc7)]);if(_0x5a6cd9)return(_0x4aa7f5=_0x5a6cd9[_0x216a0d(0x10f)])==null?void 0x0:_0x4aa7f5['series'];}[_0x3e3971(0xf9)](){const _0xcae5a6=_0x3e3971;var _0x2273c6;const _0x5629d3=this[_0xcae5a6(0x153)][_0xcae5a6(0xbc)](_0x8338a6)[_0xcae5a6(0xe3)](this[_0xcae5a6(0xc7)]);if(_0x5629d3)return(_0x2273c6=_0x5629d3[_0xcae5a6(0x10f)])==null?void 0x0:_0x2273c6['category'];}[_0x3e3971(0x156)](){const _0x4ff263=_0x3e3971,_0x540692=this[_0x4ff263(0x153)]['get'](_0x3a73cd)[_0x4ff263(0xbf)](_0x24a08d[_0x4ff263(0xee)]);return new c(this[_0x4ff263(0x168)],this['subUnitId'],_0x540692,this[_0x4ff263(0x153)],this[_0x4ff263(0xc7)]);}}class Q extends _0x2ce7df{async[_0x3e3971(0xfb)](_0x50e43e){const _0x4c8c1e=_0x3e3971;var _0x648333,_0x40aec1,_0x181e0d;const _0x29aa93=_0x50e43e[_0x4c8c1e(0x168)]||this['getWorkbook']()[_0x4c8c1e(0xec)](),_0x3b3bad=_0x50e43e[_0x4c8c1e(0xda)]||this[_0x4c8c1e(0xb8)](),_0x473602=_0x50e43e['chartId']||_0x3bb836(),_0x27cfa8=_0x50e43e['chartType'],_0x4e6912=_0x50e43e[_0x4c8c1e(0x12a)],_0x3cc6e0={'x':_0x50e43e['x'],'y':_0x50e43e['y']},_0x343d8c=_0x50e43e['width'],_0x8182f6=_0x50e43e['height'],_0x11a3be=(_0x648333=_0x50e43e['options'])==null?void 0x0:_0x648333['backgroundColor'],_0x42b7c7=(_0x40aec1=_0x50e43e[_0x4c8c1e(0xd0)])==null?void 0x0:_0x40aec1[_0x4c8c1e(0x11e)],_0x4570fa=C(_0x29aa93,_0x473602,_0x27cfa8,_0x50e43e[_0x4c8c1e(0xd0)]),_0x313d4f=(_0x181e0d=_0x50e43e[_0x4c8c1e(0x117)])!=null?_0x181e0d:!0x0;if(!_0x4e6912)throw new Error(_0x4c8c1e(0x124));return await this[_0x4c8c1e(0x12c)][_0x4c8c1e(0x12f)](_0x15796f['id'],{'unitId':_0x29aa93,'subUnitId':_0x3b3bad,'chartId':_0x473602,'chartType':_0x27cfa8,'range':_0x4e6912,'position':_0x3cc6e0,'width':_0x343d8c,'height':_0x8182f6,'backgroundColor':_0x11a3be,'borderColor':_0x42b7c7,'config':_0x4570fa,'isRowDirection':_0x313d4f}),new f(_0x29aa93,_0x3b3bad,_0x473602,this[_0x4c8c1e(0x153)]);}[_0x3e3971(0xba)](_0xaed6bd){const _0x5183e7=_0x3e3971,{unitId:_0x43498a,chartId:_0x14ae5d,chartType:_0x3a282c,options:_0xeec2b9}=_0xaed6bd,_0x51359e=C(_0x43498a,_0x14ae5d,_0x3a282c,_0xeec2b9);this[_0x5183e7(0x12c)][_0x5183e7(0x12f)](_0xe475a2['id'],_0x51359e);}['newChart'](_0x108fe3){const _0x5c7ee4=_0x3e3971;if(_0x108fe3)return new c(_0x108fe3[_0x5c7ee4(0x168)],_0x108fe3[_0x5c7ee4(0xda)],this[_0x5c7ee4(0x161)],this[_0x5c7ee4(0x153)],_0x108fe3[_0x5c7ee4(0xc7)]);const _0x176f74=this['getWorkbook']()[_0x5c7ee4(0xec)](),_0x2fd795=this['getSheetId']();return new c(_0x176f74,_0x2fd795,this[_0x5c7ee4(0x161)],this['_injector']);}[_0x3e3971(0x151)](){const _0xbba89d=_0x3e3971,_0x207737=this['_injector'][_0xbba89d(0xbc)](_0x8338a6),_0x2cf394=this[_0xbba89d(0x15e)]()[_0xbba89d(0xec)]();return _0x207737['getUnitChartModels'](_0x2cf394,this[_0xbba89d(0xb8)]())['map'](_0x119269=>new f(_0x2cf394,this['getSheetId'](),_0x119269['id'],this[_0xbba89d(0x153)]));}[_0x3e3971(0xeb)](_0x35b197){const _0x223635=_0x3e3971,_0x4e9564=_0x35b197['unitId'],_0x4eeb0d=_0x35b197[_0x223635(0xda)],_0x29c0de=_0x35b197['chartId'],_0x48e1dd={'unitId':_0x4e9564,'drawings':[{'unitId':_0x4e9564,'subUnitId':_0x4eeb0d,'drawingId':_0x29c0de,'drawingType':_0x4c1485['DRAWING_CHART']}]};return this[_0x223635(0x12c)]['executeCommand'](_0x4d370b['id'],_0x48e1dd);}[_0x3e3971(0x169)](_0x266b58,_0x31e777){const _0x1e4b9e=_0x3e3971;this[_0x1e4b9e(0x153)][_0x1e4b9e(0xbc)](_0x32835d)[_0x1e4b9e(0xd5)](_0x266b58,_0x31e777);}}_0x2ce7df['extend'](Q);class Z extends _0x40e5be{get[_0x3e3971(0x13c)](){return _0x42feec;}get[_0x3e3971(0xe0)](){return _0xf18fb9;}get[_0x3e3971(0x16b)](){return _0xe77362;}get['AxisAlignEnum'](){return _0x5e48de;}get['ChartBorderDashType'](){return _0x47a691;}get[_0x3e3971(0x116)](){return _0x2b31cc;}get[_0x3e3971(0xc3)](){return _0x58615d;}get[_0x3e3971(0xf4)](){return _0x417439;}}_0x40e5be[_0x3e3971(0x101)](Z);class tt extends c{constructor(_0x1910d9,_0x2d27d6,_0xce0af6,_0x25d158,_0x51f869){const _0x48bd66=_0x3e3971;super(_0x1910d9,_0x2d27d6,_0xce0af6,_0x25d158,_0x51f869),n(this,_0x48bd66(0x165)),n(this,_0x48bd66(0xdd)),n(this,_0x48bd66(0x129)),n(this,_0x48bd66(0x167));}['setLineStyle'](_0x56970c){const _0x1fe7eb=_0x3e3971;return this[_0x1fe7eb(0x165)]=_0x56970c,this;}[_0x3e3971(0x106)](_0x3d0cac){const _0x5dabf9=_0x3e3971;return this[_0x5dabf9(0xdd)]=_0x3d0cac,this;}['setDataPointColor'](_0x534dd0){const _0x4ec02c=_0x3e3971;return this[_0x4ec02c(0x129)]=_0x534dd0,this;}[_0x3e3971(0xea)](_0x335569){const _0x31e77c=_0x3e3971;return this[_0x31e77c(0x167)]=_0x335569,this;}['build'](){const _0x478235=_0x3e3971,_0x12c745=super[_0x478235(0xe1)]();_0x12c745[_0x478235(0xe2)]=_0x42feec[_0x478235(0xcb)];const _0x4da19f=_0x12c745[_0x478235(0xd0)]||{};return s(_0x4da19f,_0x478235(0x14e),this[_0x478235(0x165)]),s(_0x4da19f,_0x478235(0xf7),this[_0x478235(0xdd)]),s(_0x4da19f,_0x478235(0x132),this[_0x478235(0x129)]),s(_0x4da19f,_0x478235(0x142),this['dataPointSize']),_0x12c745[_0x478235(0xd0)]=_0x4da19f,_0x12c745;}}class et extends c{[_0x3e3971(0x14c)](){const _0x1abac3=_0x3e3971;return new tt(this[_0x1abac3(0x168)],this[_0x1abac3(0xda)],this[_0x1abac3(0x161)],this[_0x1abac3(0x153)],this[_0x1abac3(0xc7)]);}}c[_0x3e3971(0x101)](et);class it extends c{constructor(_0xbe8719,_0x93826e,_0x1eee15,_0x2a373b,_0x59c9c6){const _0x1c5d4c=_0x3e3971;super(_0xbe8719,_0x93826e,_0x1eee15,_0x2a373b,_0x59c9c6),n(this,'doughnutHole'),n(this,_0x1c5d4c(0x11e)),n(this,'hasPaddingAngle'),n(this,_0x1c5d4c(0x114)),n(this,_0x1c5d4c(0x11c)),n(this,_0x1c5d4c(0xd9));}[_0x3e3971(0x150)](_0x583a5e){const _0x300460=_0x3e3971;return this[_0x300460(0xb0)]=_0x583a5e,this;}['setBorderColor'](_0x18e1c6){const _0x1cbee3=_0x3e3971;return this[_0x1cbee3(0x11e)]=_0x18e1c6,this;}[_0x3e3971(0x148)](_0x268869){const _0x4998ff=_0x3e3971;return this[_0x4998ff(0xdc)]=_0x268869,this;}[_0x3e3971(0x136)](_0x586ee7){const _0x1b847b=_0x3e3971;return this[_0x1b847b(0x114)]=_0x586ee7,this;}[_0x3e3971(0x14b)](_0x196079){const _0x36ec36=_0x3e3971;return this[_0x36ec36(0x11c)]=_0x196079,this;}[_0x3e3971(0x10a)](_0x1f56fb){const _0x1305ee=_0x3e3971;return this[_0x1305ee(0xd9)]=_0x1f56fb,this;}[_0x3e3971(0xe1)](){const _0x1935ad=_0x3e3971,_0x4b2b0a=super['build']();_0x4b2b0a[_0x1935ad(0xe2)]=_0x42feec['Pie'];const _0x260226=_0x4b2b0a[_0x1935ad(0xd0)]||{};return s(_0x260226,_0x1935ad(0x14f),this['doughnutHole']),s(_0x260226,_0x1935ad(0x128),this[_0x1935ad(0x11e)]),s(_0x260226,_0x1935ad(0x149),this[_0x1935ad(0xdc)]),s(_0x260226,'pie.isHalfPie',this['isHalfPie']),s(_0x260226,'pie.rosePie',this[_0x1935ad(0x11c)]),s(_0x260226,'pie.showLabelLine',this[_0x1935ad(0xd9)]),_0x4b2b0a['options']=_0x260226,_0x4b2b0a;}}class st extends c{[_0x3e3971(0x109)](){const _0x1de6f9=_0x3e3971;return new it(this[_0x1de6f9(0x168)],this[_0x1de6f9(0xda)],this[_0x1de6f9(0x161)],this['_injector'],this[_0x1de6f9(0xc7)]);}}c['extend'](st);class rt extends c{constructor(_0x4483b6,_0xb59feb,_0x2e2782,_0x564827,_0x543b15){const _0x5e0197=_0x3e3971;super(_0x4483b6,_0xb59feb,_0x2e2782,_0x564827,_0x543b15),n(this,_0x5e0197(0x147)),n(this,_0x5e0197(0x159));}[_0x3e3971(0xbb)](_0x8f9ce3){return this['shape']=_0x8f9ce3,this;}[_0x3e3971(0xb7)](_0x1cfec3){return this['fill']=_0x1cfec3,this;}[_0x3e3971(0xe1)](){const _0x188c54=_0x3e3971,_0x4d7986=super[_0x188c54(0xe1)]();_0x4d7986[_0x188c54(0xe2)]=_0x42feec[_0x188c54(0x120)];const _0x1608bf=_0x4d7986['options']||{};return s(_0x1608bf,_0x188c54(0x11f),this[_0x188c54(0x147)]),s(_0x1608bf,_0x188c54(0xc2),this['fill']),_0x4d7986['options']=_0x1608bf,_0x4d7986;}}class ot extends c{['asRadarChart'](){const _0x130928=_0x3e3971;return new rt(this[_0x130928(0x168)],this[_0x130928(0xda)],this[_0x130928(0x161)],this[_0x130928(0x153)],this[_0x130928(0xc7)]);}}c[_0x3e3971(0x101)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};