@univerjs-pro/sheets-chart-ui 0.8.1-nightly.202506171607 → 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
- 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};
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 _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};
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};