@univerjs-pro/sheets-chart-ui 0.14.0-insiders.20251227-b250a8d → 0.15.0

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.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
@@ -1 +1 @@
1
- 'use strict';function _0x1252(){const _0x164f8b=['使用值作為節點大小','百分比','氣泡大小','標題對齊','X軸標題','983316sjIZKx','所有系列','數據範圍','視覺映射範圍','垂直軸','環形圖','最小值','空心針形','Y軸標題','exports','顯示空單元格為','第三四分位數','顯示公式','三角形','空心矩形','氣泡圖','趨勢線類型','系列\x20{0}','(空)','添加趨勢線','漏斗圖','8qanRMS','698800gvBJpP','網格線','{0}\x20顏色','請先添加系列開始數據可視化','千分位符','1058796seiNrK','小計圖例文本','負值圖例文本','設置標籤格式','百分比堆疊條形圖','圖表和軸標題','主刻度線','多邊形','日期軸僅在數據全部為日期格式時可用','打開圖表面板','開啟選中淡入特效','指示線類型','趨勢線線類型','堆疊面積圖','空心箭頭','玫瑰圖','2tyfYjS','節點形狀','空心圓形','常規格式不包含任何特定的數字格式。','最大值','隱藏圖表面板','空心菱形','顯示數據標籤','圖表樣式','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','雷達圖','使用絕對值','添加系列','空心正方形','水平軸','日期格式將日期和時間系列數值顯示為日期值。','左對齊','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','866016xdOLNb','刻度線長度','散點圖','空心三角形','{0}\x20大小','多項式階數','主標題','旋轉標籤','第一四分位數','股票圖','圖表數據源必須包含多於1列和1欄。','中位數','趨勢線名稱','移動平均','空心圓角矩形','標題格式','網格線和刻度線','多項式','切換列或欄','小計樣式','3260285CZDtIA','詞雲形狀','重複詞雲標籤','關係圖','使用\x20{0}\x20作為類別標籤','右Y軸標題','自定義圖表','主網格線','負值樣式','数值后缀','佈局類型','顯示小計','編輯圖表','格式類型','使用右軸','刻度線位置','第\x20{0}\x20項','小數位數','指示線顏色','指示標籤','類別\x20{0}','右對齊','{0}\x20類型','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','累積占比系列','組合圖','趨勢線顏色','設置圖表','長條圖系列','折線圖','更多設置','R平方','熱力圖','日期類型','顯示軸線','節點距離','顯示標籤','背景顏色','17784549EzoHdE','顯示標籤線','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','正方形','圓角矩形','標籤旋轉','數據點樣式','数值比例','正值樣式','氣泡圖至少需要2欄,X軸、Y軸。','{0}\x20格式','標籤位置','詞雲圖','排列圖','標題文本','堆疊方式','桑基圖不能包含循環數據','柱狀圖','1015050kYdiUs','百分比堆疊面積圖','{0}\x20粗細','使用日期軸','插入圖表'];_0x1252=function(){return _0x164f8b;};return _0x1252();}const _0x3c6890=_0x5b5f;(function(_0x1f2d6c,_0x3ce734){const _0x194e17=_0x5b5f,_0x3da3bc=_0x1f2d6c();while(!![]){try{const _0x1db7dc=-parseInt(_0x194e17(0x10f))/0x1+parseInt(_0x194e17(0xfd))/0x2*(parseInt(_0x194e17(0xed))/0x3)+-parseInt(_0x194e17(0xe8))/0x4+-parseInt(_0x194e17(0x15b))/0x5+-parseInt(_0x194e17(0xd2))/0x6+-parseInt(_0x194e17(0x123))/0x7+-parseInt(_0x194e17(0xe7))/0x8*(-parseInt(_0x194e17(0x149))/0x9);if(_0x1db7dc===_0x3ce734)break;else _0x3da3bc['push'](_0x3da3bc['shift']());}catch(_0x5d8fd7){_0x3da3bc['push'](_0x3da3bc['shift']());}}}(_0x1252,0x6f3ca));function _0x5b5f(_0xa7539b,_0x4d6321){_0xa7539b=_0xa7539b-0xc9;const _0x125260=_0x1252();let _0x5b5fbb=_0x125260[_0xa7539b];return _0x5b5fbb;}const e={'chart':{'insertChart':_0x3c6890(0xcc),'editChart':_0x3c6890(0x12f),'openChartPanel':_0x3c6890(0xf6),'deleteChart':'刪除圖表','hideChartPanel':_0x3c6890(0x102),'setupChart':_0x3c6890(0x13e),'customChart':_0x3c6890(0x129),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x3c6890(0xd4),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x3c6890(0xd3),'series':'系列','addSeries':_0x3c6890(0x109),'moreSettings':_0x3c6890(0x141),'min':_0x3c6890(0xd8),'max':_0x3c6890(0x101),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':_0x3c6890(0xe4),'seriesBlock':{'format':'格式','dataPointStyle':_0x3c6890(0x14f)},'backgroundColor':_0x3c6890(0x148),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x3c6890(0x115),'subTitle':'副標題','xAxisTitle':_0x3c6890(0xd1),'yAxisTitle':_0x3c6890(0xda),'rightYAxisTitle':_0x3c6890(0x128),'titleFormat':_0x3c6890(0x11e),'titleText':_0x3c6890(0x157),'titlePosition':'標題位置','titleAlign':_0x3c6890(0xd0)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x3c6890(0x121),'useAsCategoryLabels':_0x3c6890(0x127),'showEmptyCellsAs':_0x3c6890(0xdc)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x3c6890(0x10d),'center':'居中','right':_0x3c6890(0x138)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x3c6890(0x105),'chartAndAxisTitles':_0x3c6890(0xf2),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':_0x3c6890(0x10b),'verticalAxis':_0x3c6890(0xd6),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x3c6890(0x131)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x3c6890(0x11f),'indicatorLine':'指示線','indicatorLineType':_0x3c6890(0xf8),'indicatorLineColor':_0x3c6890(0x135),'indicatorLabel':_0x3c6890(0x136),'indicatorValue':'指示值','shape':{'polygon':_0x3c6890(0xf4),'circle':'圓形','square':_0x3c6890(0x14c),'triangle':_0x3c6890(0xdf),'diamond':'菱形','rect':'矩形','roundRect':_0x3c6890(0x14d),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x3c6890(0xff),'emptySquare':_0x3c6890(0x10a),'emptyTriangle':_0x3c6890(0x112),'emptyDiamond':_0x3c6890(0x103),'emptyRect':_0x3c6890(0xe0),'emptyRoundRect':_0x3c6890(0x11d),'emptyPin':_0x3c6890(0xd9),'emptyArrow':_0x3c6890(0xfb)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x3c6890(0xea),'withThickness':_0x3c6890(0xca),'withType':_0x3c6890(0x139),'withSize':_0x3c6890(0x113),'withShape':'{0}\x20形狀','withFormat':_0x3c6890(0x153),'dataPoint':'數據點','dataNodeShape':_0x3c6890(0xfe),'addDataPoint':'添加數據點','point':'數據點','percentage':_0x3c6890(0xce),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x3c6890(0x12a),'text':_0x3c6890(0xe9)},'ticks':{'majorTick':_0x3c6890(0xf3),'tickPosition':_0x3c6890(0x132),'tickLength':_0x3c6890(0x110)},'none':'無','theIndexItem':_0x3c6890(0x133),'seriesDefaultName':_0x3c6890(0xe3),'categoryDefaultName':_0x3c6890(0x137),'styleEditPanel':{'showLabels':_0x3c6890(0x147),'showDataLabels':_0x3c6890(0x104),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x3c6890(0xfc),'pieValScale':_0x3c6890(0x150),'pieValSuffix':_0x3c6890(0x12c),'pieDigitalFixed':'小數位數','showLabelLine':_0x3c6890(0x14a),'reverseAxisOrder':'逆序軸','showAxisLine':_0x3c6890(0x145),'labelPosition':_0x3c6890(0x154),'labelText':'標籤文本','repeatWordCould':_0x3c6890(0x125),'gap':'間隔','useAbsValue':_0x3c6890(0x108),'labelRotate':_0x3c6890(0x14e),'wordCloudShape':_0x3c6890(0x124),'useDateAxis':_0x3c6890(0xcb),'dateAxisTips':_0x3c6890(0xf5)},'radar':{'fill':'填充'},'doughnutHole':'圓環孔','msg':{'invalidSource':_0x3c6890(0x119),'emptyTips':_0x3c6890(0xeb),'sankeyCircularTips':_0x3c6890(0x159)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':'趨勢線名稱','addTrendLine':_0x3c6890(0xe5),'trendlineType':_0x3c6890(0xe2),'trendlineName':_0x3c6890(0x11b),'trendlineColor':_0x3c6890(0x13d),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x3c6890(0xf9),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x3c6890(0x11c),'poly':_0x3c6890(0x120),'order':_0x3c6890(0x114),'period':'移動平均周期','showFormula':_0x3c6890(0xde),'showR2':'顯示R平方','formula':'公式','r2':_0x3c6890(0x142)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x3c6890(0xcf),'label':'氣泡標籤','emptyTips':_0x3c6890(0x152)},'relation':{'title':_0x3c6890(0x126),'auto':'自動','circular':'環形','force':'力導向','useValueAsSymbolSize':_0x3c6890(0xcd),'layoutType':_0x3c6890(0x12d),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x3c6890(0x146),'rotateLabel':_0x3c6890(0x116),'emphasis':_0x3c6890(0xf7),'emptyTips':_0x3c6890(0x10e)},'waterfall':{'stackType':_0x3c6890(0x158),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x3c6890(0x12e),'positiveStyle':_0x3c6890(0x151),'negativeStyle':_0x3c6890(0x12b),'subtotalStyle':_0x3c6890(0x122),'positiveLegendText':'正值圖例文本','negativeLegendText':_0x3c6890(0xef),'subtotalLegendText':_0x3c6890(0xee)},'pareto':{'lineName':'累積占比','lineSeries':_0x3c6890(0x13b),'barSeries':_0x3c6890(0x13f)},'visualMapScope':_0x3c6890(0xd5),'boxplot':{'min':_0x3c6890(0xd8),'q1':_0x3c6890(0x117),'median':_0x3c6890(0x11a),'q3':_0x3c6890(0xdd),'max':_0x3c6890(0x101)}},'chartTypes':{'line':_0x3c6890(0x140),'area':'面積圖','areaStacked':_0x3c6890(0xfa),'areaPercentStacked':_0x3c6890(0xc9),'column':_0x3c6890(0x15a),'bar':'條形圖','barStacked':'堆疊條形圖','barPercentStacked':_0x3c6890(0xf1),'pie':'餅圖','donut':_0x3c6890(0xd7),'scatter':_0x3c6890(0x111),'radar':_0x3c6890(0x107),'bubble':_0x3c6890(0xe1),'stock':_0x3c6890(0x118),'combination':_0x3c6890(0x13c),'wordCloud':_0x3c6890(0x155),'funnel':_0x3c6890(0xe6),'relation':_0x3c6890(0x126),'waterfall':'瀑布圖','pareto':_0x3c6890(0x156),'sankey':'桑基圖','heatmap':_0x3c6890(0x143),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x3c6890(0xec),'fieldSetting':'字段設置','formatTypes':_0x3c6890(0x130),'confirm':'確定','cancel':'取消','generalDesc':_0x3c6890(0x100),'accountingDesc':_0x3c6890(0x106),'currencyDesc':_0x3c6890(0x14b),'dateDesc':_0x3c6890(0x10c),'thousandthPercentileDesc':_0x3c6890(0x13a),'decimalPlaces':_0x3c6890(0x134),'currencyTypes':'貨幣類型','negativeNumberTypes':'負數類型','dateTypes':_0x3c6890(0x144)},'setFormat':_0x3c6890(0xf0)}};module[_0x3c6890(0xdb)]=e;
1
+ 'use strict';function _0x33ff(){const _0x5a6cb2=['副標題','使用絕對值','扇形間距','右垂直軸','小數位數','背景顏色','日期格式將日期和時間系列數值顯示為日期值。','221409OjcwQI','1995903biMqkb','空心正方形','使用值作為節點大小','瀑布圖','顯示軸線','力導向','主網格線','桑基圖','Y軸標題','圖表類型','旋轉標籤','圖表和軸標題','120cZSsPk','負值圖例文本','圓角矩形','數據標籤','格式類型','長條圖系列','數據點','請先添加系列開始數據可視化','6816952VwdTas','關係圖','貨幣類型','刻度線長度','標題對齊','視覺映射範圍','節點形狀','430PqEFFP','面積圖','常規格式不包含任何特定的數字格式。','環形圖','正值樣式','1480828MGPEHr','桑基圖不能包含循環數據','顯示空單元格為','熱力圖','負數類型','2442264jlafBF','系列\x20{0}','力導向選項','添加系列','趨勢線顏色','日期類型','詞雲圖','圖表數據源必須包含多於1列和1欄。','空心圓形','逆序軸','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','刪除圖表','玫瑰圖','佈局類型','更多設置','趨勢線線類型','百分比堆疊條形圖','空心三角形','5OufsQD','編輯圖表','正值圖例文本','空心針形','重複詞雲標籤','標題文本','氣泡大小','圓環孔','負值樣式','趨勢線名稱','第\x20{0}\x20','千分位符','左對齊','三角形','堆疊面積圖','開啟選中淡入特效','堆疊條形圖','空心箭頭','標題格式','第一四分位數','顯示小計','多邊形','切換列或欄','顯示數據標籤','{0}\x20粗細','空心矩形','指示線','正方形','{0}\x20類型','使用\x20{0}\x20作為類別標籤','氣泡圖','空心圓角矩形','百分比堆疊面積圖','顯示標籤','漸變填充','多項式','股票圖','軸選項','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','字段設置','8EGHdCN','條形圖','指示標籤','使用日期軸','280301ozHXEL','設置標籤格式','組合圖','詞雲形狀','指示線顏色','標籤旋轉','使用右軸','標籤位置','堆疊方式','插入圖表','折線圖','圖表樣式','移動平均','{0}\x20透明度','柱狀圖','第三四分位數','数值后缀','最小值','網格線和刻度線','exports','排列圖','多項式階數','趨勢線','日期軸僅在數據全部為日期格式時可用','累積占比','R平方','氣泡標籤','{0}\x20格式','{0}\x20大小','氣泡圖至少需要2欄,X軸、Y軸。','空心菱形','指示值','標題位置','刻度線位置','最大值','右Y軸標題','垂直軸','隱藏圖表面板','468215Vaxcgu','X軸標題','顯示R平方','趨勢線類型','小計樣式','添加趨勢線','自定義圖表','右對齊','設置圖表','指示線類型','百分比堆疊','類別\x20{0}','漏斗圖','中位數'];_0x33ff=function(){return _0x5a6cb2;};return _0x33ff();}const _0x3f018f=_0x26c3;function _0x26c3(_0x3e9c9d,_0x5b1769){_0x3e9c9d=_0x3e9c9d-0x169;const _0x33ffb7=_0x33ff();let _0x26c360=_0x33ffb7[_0x3e9c9d];return _0x26c360;}(function(_0x53d60c,_0x9dacc2){const _0x548e62=_0x26c3,_0x5c9c69=_0x53d60c();while(!![]){try{const _0x3b0706=-parseInt(_0x548e62(0x1d8))/0x1*(-parseInt(_0x548e62(0x199))/0x2)+parseInt(_0x548e62(0x1fe))/0x3+parseInt(_0x548e62(0x1f9))/0x4*(parseInt(_0x548e62(0x171))/0x5)+-parseInt(_0x548e62(0x1e5))/0x6*(parseInt(_0x548e62(0x19d))/0x7)+parseInt(_0x548e62(0x1ed))/0x8+parseInt(_0x548e62(0x1d9))/0x9+-parseInt(_0x548e62(0x1f4))/0xa*(parseInt(_0x548e62(0x1c3))/0xb);if(_0x3b0706===_0x9dacc2)break;else _0x5c9c69['push'](_0x5c9c69['shift']());}catch(_0x5c2b81){_0x5c9c69['push'](_0x5c9c69['shift']());}}}(_0x33ff,0x7d296));const e={'chart':{'insertChart':_0x3f018f(0x1a6),'editChart':_0x3f018f(0x172),'openChartPanel':'打開圖表面板','deleteChart':_0x3f018f(0x16a),'hideChartPanel':_0x3f018f(0x1c2),'setupChart':_0x3f018f(0x1cb),'customChart':_0x3f018f(0x1c9),'default':'默認','reset':'重置','chartType':_0x3f018f(0x1e2),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x3f018f(0x201),'moreSettings':_0x3f018f(0x16d),'min':_0x3f018f(0x1ae),'max':_0x3f018f(0x1bf),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x3f018f(0x1d6),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x3f018f(0x1d1),'xAxisTitle':_0x3f018f(0x1c4),'yAxisTitle':_0x3f018f(0x1e1),'rightYAxisTitle':_0x3f018f(0x1c0),'titleFormat':_0x3f018f(0x183),'titleText':_0x3f018f(0x176),'titlePosition':_0x3f018f(0x1bd),'titleAlign':_0x3f018f(0x1f1)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x3f018f(0x193),'settingsLabels':{'switchToRowOrColumn':_0x3f018f(0x187),'useAsCategoryLabels':_0x3f018f(0x18e),'showEmptyCellsAs':_0x3f018f(0x1fb)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x3f018f(0x17d),'center':'居中','right':_0x3f018f(0x1ca)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x3f018f(0x1a8),'chartAndAxisTitles':_0x3f018f(0x1e4),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x3f018f(0x196),'horizontalAxis':'水平軸','verticalAxis':_0x3f018f(0x1c1),'rightVerticalAxis':_0x3f018f(0x1d4),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x3f018f(0x1a3)},'position':'位置','dataLabels':_0x3f018f(0x1e8),'gridlinesAndTicks':_0x3f018f(0x1af),'indicatorLine':_0x3f018f(0x18b),'indicatorLineType':_0x3f018f(0x1cc),'indicatorLineColor':_0x3f018f(0x1a1),'indicatorLabel':_0x3f018f(0x19b),'indicatorValue':_0x3f018f(0x1bc),'shape':{'polygon':_0x3f018f(0x186),'circle':'圓形','square':_0x3f018f(0x18c),'triangle':_0x3f018f(0x17e),'diamond':'菱形','rect':'矩形','roundRect':_0x3f018f(0x1e7),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x3f018f(0x206),'emptySquare':_0x3f018f(0x1da),'emptyTriangle':_0x3f018f(0x170),'emptyDiamond':_0x3f018f(0x1bb),'emptyRect':_0x3f018f(0x18a),'emptyRoundRect':_0x3f018f(0x190),'emptyPin':_0x3f018f(0x174),'emptyArrow':_0x3f018f(0x182)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x3f018f(0x1aa),'withColor':'{0}\x20顏色','withThickness':_0x3f018f(0x189),'withType':_0x3f018f(0x18d),'withSize':_0x3f018f(0x1b9),'withShape':'{0}\x20形狀','withFormat':_0x3f018f(0x1b8),'dataPoint':'數據點','dataNodeShape':_0x3f018f(0x1f3),'addDataPoint':'添加數據點','point':_0x3f018f(0x1eb),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x3f018f(0x1cd)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x3f018f(0x1df),'text':'網格線'},'ticks':{'majorTick':'主刻度線','tickPosition':_0x3f018f(0x1be),'tickLength':_0x3f018f(0x1f0)},'none':'無','theIndexItem':_0x3f018f(0x17b),'seriesDefaultName':_0x3f018f(0x1ff),'categoryDefaultName':_0x3f018f(0x1ce),'styleEditPanel':{'showLabels':_0x3f018f(0x192),'showDataLabels':_0x3f018f(0x188),'padAngle':_0x3f018f(0x1d3),'halfPie':'半餅','rosePie':_0x3f018f(0x16b),'pieValScale':'数值比例','pieValSuffix':_0x3f018f(0x1ad),'pieDigitalFixed':'小數位數','showLabelLine':'顯示標籤線','reverseAxisOrder':_0x3f018f(0x207),'showAxisLine':_0x3f018f(0x1dd),'labelPosition':_0x3f018f(0x1a4),'labelText':'標籤文本','repeatWordCould':_0x3f018f(0x175),'gap':'間隔','useAbsValue':_0x3f018f(0x1d2),'labelRotate':_0x3f018f(0x1a2),'wordCloudShape':_0x3f018f(0x1a0),'useDateAxis':_0x3f018f(0x19c),'dateAxisTips':_0x3f018f(0x1b4)},'radar':{'fill':'填充'},'doughnutHole':_0x3f018f(0x178),'msg':{'invalidSource':_0x3f018f(0x205),'emptyTips':_0x3f018f(0x1ec),'sankeyCircularTips':_0x3f018f(0x1fa)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x3f018f(0x1b3),'displayName':_0x3f018f(0x17a),'addTrendLine':_0x3f018f(0x1c8),'trendlineType':_0x3f018f(0x1c6),'trendlineName':_0x3f018f(0x17a),'trendlineColor':_0x3f018f(0x202),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x3f018f(0x16e),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x3f018f(0x1a9),'poly':_0x3f018f(0x194),'order':_0x3f018f(0x1b2),'period':'移動平均周期','showFormula':'顯示公式','showR2':_0x3f018f(0x1c5),'formula':'公式','r2':_0x3f018f(0x1b6)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x3f018f(0x177),'label':_0x3f018f(0x1b7),'emptyTips':_0x3f018f(0x1ba)},'relation':{'title':_0x3f018f(0x1ee),'auto':'自動','circular':'環形','force':_0x3f018f(0x1de),'useValueAsSymbolSize':_0x3f018f(0x1db),'layoutType':_0x3f018f(0x16c),'forceOptions':_0x3f018f(0x200),'repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x3f018f(0x1e3),'emphasis':_0x3f018f(0x180),'emptyTips':_0x3f018f(0x197)},'waterfall':{'stackType':_0x3f018f(0x1a5),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x3f018f(0x185),'positiveStyle':_0x3f018f(0x1f8),'negativeStyle':_0x3f018f(0x179),'subtotalStyle':_0x3f018f(0x1c7),'positiveLegendText':_0x3f018f(0x173),'negativeLegendText':_0x3f018f(0x1e6),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':_0x3f018f(0x1b5),'lineSeries':'累積占比系列','barSeries':_0x3f018f(0x1ea)},'visualMapScope':_0x3f018f(0x1f2),'boxplot':{'min':_0x3f018f(0x1ae),'q1':_0x3f018f(0x184),'median':_0x3f018f(0x1d0),'q3':_0x3f018f(0x1ac),'max':_0x3f018f(0x1bf)}},'chartTypes':{'line':_0x3f018f(0x1a7),'area':_0x3f018f(0x1f5),'areaStacked':_0x3f018f(0x17f),'areaPercentStacked':_0x3f018f(0x191),'column':_0x3f018f(0x1ab),'bar':_0x3f018f(0x19a),'barStacked':_0x3f018f(0x181),'barPercentStacked':_0x3f018f(0x16f),'pie':'餅圖','donut':_0x3f018f(0x1f7),'scatter':'散點圖','radar':'雷達圖','bubble':_0x3f018f(0x18f),'stock':_0x3f018f(0x195),'combination':_0x3f018f(0x19f),'wordCloud':_0x3f018f(0x204),'funnel':_0x3f018f(0x1cf),'relation':_0x3f018f(0x1ee),'waterfall':_0x3f018f(0x1dc),'pareto':_0x3f018f(0x1b1),'sankey':_0x3f018f(0x1e0),'heatmap':_0x3f018f(0x1fc),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x3f018f(0x17c),'fieldSetting':_0x3f018f(0x198),'formatTypes':_0x3f018f(0x1e9),'confirm':'確定','cancel':'取消','generalDesc':_0x3f018f(0x1f6),'accountingDesc':_0x3f018f(0x169),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x3f018f(0x1d7),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':_0x3f018f(0x1d5),'currencyTypes':_0x3f018f(0x1ef),'negativeNumberTypes':_0x3f018f(0x1fd),'dateTypes':_0x3f018f(0x203)},'setFormat':_0x3f018f(0x19e)}};module[_0x3f018f(0x1b0)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x1f79ef=_0xc184;function _0xc184(_0x431861,_0x5a21c4){_0x431861=_0x431861-0x1b7;const _0x35b4c1=_0x35b4();let _0xc184f7=_0x35b4c1[_0x431861];return _0xc184f7;}(function(_0x50d8e1,_0x4925a3){const _0x2de8a7=_0xc184,_0x3e0730=_0x50d8e1();while(!![]){try{const _0x4f6893=-parseInt(_0x2de8a7(0x230))/0x1+parseInt(_0x2de8a7(0x1cb))/0x2*(-parseInt(_0x2de8a7(0x1db))/0x3)+parseInt(_0x2de8a7(0x201))/0x4*(-parseInt(_0x2de8a7(0x23f))/0x5)+-parseInt(_0x2de8a7(0x26e))/0x6+parseInt(_0x2de8a7(0x231))/0x7*(parseInt(_0x2de8a7(0x1ca))/0x8)+-parseInt(_0x2de8a7(0x24e))/0x9+parseInt(_0x2de8a7(0x258))/0xa*(parseInt(_0x2de8a7(0x25d))/0xb);if(_0x4f6893===_0x4925a3)break;else _0x3e0730['push'](_0x3e0730['shift']());}catch(_0x2bdf8a){_0x3e0730['push'](_0x3e0730['shift']());}}}(_0x35b4,0xb04d0));var R=Object[_0x1f79ef(0x1e2)],k=(_0x5b2a1b,_0x1b3fa2,_0x2daf25)=>_0x1b3fa2 in _0x5b2a1b?R(_0x5b2a1b,_0x1b3fa2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2daf25}):_0x5b2a1b[_0x1b3fa2]=_0x2daf25,n=(_0x32810f,_0x2d04b4,_0x19a092)=>k(_0x32810f,typeof _0x2d04b4!='symbol'?_0x2d04b4+'':_0x2d04b4,_0x19a092);import{ChartThemeService as _0x1ad9da,ChartTypeBits as _0x4721fd,LegendPositionEnum as _0x2d162b,SelectModeEnum as _0x4ef2a8,AxisAlignEnum as _0x1f27c9,ChartBorderDashType as _0x2de25d,LinePointShape as _0x3f413b,TitlePositionEnum as _0x2b106c,RadarShape as _0x4af9c5}from'@univerjs-pro/engine-chart';import{setProperty as _0x8bfb84,SheetsChartService as _0x1a0104,ChartUpdateSourceCommand as _0xdf90fe,ChartUpdateConfigCommand as _0x177ce3}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x12eaf0}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x517ca5,IUniverInstanceService as _0x4f35d5,UniverInstanceType as _0x49e72a,generateRandomId as _0x477638,DrawingTypeEnum as _0x2036fa}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x3a0d6d}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x5a626d}from'@univerjs/sheets/facade';import{FBase as _0x472f84,FEnum as _0x481bf3}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x1e2878}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4ae15c}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x5090db,SheetSkeletonManagerService as _0x1898df,convertPositionCellToSheetOverGrid as _0x2f7767}from'@univerjs/sheets-ui';function _0x35b4(){const _0x41ed62=['dataPointShape','allSeriesStyle.rightYAxis','setAxisPointerStyle','isHalfPie','titles.rightYAxisTitle.color','sourceSheetName','position','ChartBorderDashType','setTheme','sheetName','titles.xAxisTitle.fontSize','legend','setHasPaddingAngle','getCharts','getWorkbook','radar','setYAxisTextStyle','6812IWtSDH','ChartType','indicatorLineType','dataPointSize','TitlePositionEnum','addRange','xAxisTitle','LinePointShape','titles.title.family','Line','setPosition','setInvalidValueStrategy','allSeriesStyle.point.shape','newChart','tooltip.indicatorLineType','titles.yAxisTitle.fontSize','fill','allSeriesStyle.point.size','updateRange','legend.label.color','getCategoryData','axisAlignment','setRosePie','shape','fontSize','pie.borderColor','setDataPointShape','italic','config','titleAlignment','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','gradientFill','lineStyle','titles.yAxisTitle.content','xAxis.label.axisTitleAlign','tooltip.indicatorLineColor','titles.rightYAxisTitle.font','indicatorLabelColor','fontStyle','seriesStyleMap','yAxisTitle','yRightAxis','series','chartType','pie.isHalfPie','titles.rightYAxisTitle.fontSize','pie','92817UhLvuW','7VHMAnQ','setShape','pie.hasPaddingAngle','xAxis','rosePie','titles.xAxisTitle.bold','unitId','AxisAlignEnum','setAllSeriesStyle','setDataPointSize','executeCommand','titles.title.content','Radar','rightYAxis.label.axisTitleAlign','1745Ghffsf','area','hasPaddingAngle','setWidth','dataPointColor','with','allSeriesStyle.border','titles.title.align','pie.rosePie','setShowLabelLine','titles.rightYAxisTitle.bold','doughnutHole','indicatorLabelTextColor','legend.selectMode','setTransposeRowsAndColumns','9673830jeyPJY','legend.position','legend.label.bold','setHeight','setRightYAxisTitle','setRightYAxisTextStyle','map','titles.title.fontSize','width','subUnitId','40FlOFWG','getRangeInfo','_commandService','options','extend','7982909inBDWP','getChartModel','allSeriesStyle','UNIVER_SHEET','fontColor','getChartType','setIsHalfPie','insertChart','setYAxisTitle','content','modify','setChartType','indicatorLineColor','chartId','getUnitId','titles.title.color','LegendPositionEnum','6468744qhHLiH','setOptions','titles.xAxisTitle.content','font','area.lineStyle','pie.doughnutHole','transposeRowsAndColumns','borderColor','category','setXAxisTextStyle','getRange','axisPointer','invalidValueType','titles.xAxisTitle.font','titles.rightYAxisTitle.family','height','_injector','point','isRowDirection','pie.showLabelLine','rightYAxis','titles.yAxisTitle.family','get','getSeriesData','setFill','border','setDoughnutHole','titles.yAxisTitle.color','color','build','5476576GXhskk','46xJbGWn','registerTheme','_workbook','showLabelLine','getCurrentUnitForType','length','bold','yAxis.label.axisTitleAlign','backgroundColor','rightYAxisTitle','label','yAxis','SelectModeEnum','DRAWING_CHART','asRadarChart','getSheetId','3282xGnBOx','radar.fill','allSeriesStyle.point.color','dataSource','setXAxisTitle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.xAxisTitle.color','defineProperty','legend.label.italic','titles.xAxisTitle.family','allSeriesStyle.color','tooltip.indicatorLabelColor','top','setSeriesStyle','theme','style','context','titles.rightYAxisTitle.content','titles.yAxisTitle.bold','getChartId','range'];_0x35b4=function(){return _0x41ed62;};return _0x35b4();}const s=(_0x5cf4e6,_0x3c144d,_0x140f16)=>{_0x140f16!==void 0x0&&_0x8bfb84(_0x5cf4e6,_0x3c144d,_0x140f16);},C=(_0x50a28e,_0x47f7cc,_0x3c4d9d,_0x1e040f={})=>{const _0x17b5ea=_0x1f79ef,_0x184971={},_0x3b690c={};if(_0x1e040f['title']){const _0x161d7c=_0x1e040f['title'];s(_0x184971,_0x17b5ea(0x23c),_0x161d7c[_0x17b5ea(0x266)]),s(_0x184971,'titles.title.font',_0x161d7c['font']),s(_0x184971,_0x17b5ea(0x255),_0x161d7c[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x26c),_0x161d7c[_0x17b5ea(0x261)]),s(_0x184971,_0x17b5ea(0x209),_0x161d7c[_0x17b5ea(0x227)]),s(_0x184971,'titles.title.bold',_0x161d7c[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x246),_0x161d7c[_0x17b5ea(0x21e)]),s(_0x184971,'titles.titlePosition',_0x161d7c['position']);}if(_0x1e040f[_0x17b5ea(0x1fb)]){const _0x13947e=_0x1e040f[_0x17b5ea(0x1fb)];s(_0x184971,_0x17b5ea(0x24f),_0x13947e[_0x17b5ea(0x1f6)]),s(_0x184971,_0x17b5ea(0x24c),_0x13947e['selectMode']),s(_0x184971,'legend.label.fontSize',_0x13947e[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x214),_0x13947e[_0x17b5ea(0x1c8)]),s(_0x184971,_0x17b5ea(0x250),_0x13947e[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x1e3),_0x13947e[_0x17b5ea(0x21c)]);}if(_0x1e040f['pie']){const _0x2e822e=_0x1e040f[_0x17b5ea(0x22f)];s(_0x184971,_0x17b5ea(0x273),_0x2e822e[_0x17b5ea(0x24a)]),s(_0x184971,_0x17b5ea(0x21a),_0x2e822e[_0x17b5ea(0x275)]),s(_0x184971,_0x17b5ea(0x233),_0x2e822e[_0x17b5ea(0x241)]),s(_0x184971,_0x17b5ea(0x22d),_0x2e822e[_0x17b5ea(0x1f3)]),s(_0x184971,'pie.rosePie',_0x2e822e[_0x17b5ea(0x235)]),s(_0x184971,_0x17b5ea(0x1bf),_0x2e822e[_0x17b5ea(0x1ce)]);}if(_0x1e040f['axisPointer']){const _0x10ed28=_0x1e040f[_0x17b5ea(0x1b7)];s(_0x184971,_0x17b5ea(0x1e6),_0x10ed28[_0x17b5ea(0x226)]),s(_0x184971,_0x17b5ea(0x20f),_0x10ed28[_0x17b5ea(0x203)]),s(_0x184971,_0x17b5ea(0x224),_0x10ed28[_0x17b5ea(0x269)]),s(_0x184971,'tooltip.indicatorLabelTextColor',_0x10ed28[_0x17b5ea(0x24b)]);}if(_0x1e040f[_0x17b5ea(0x25f)]&&(s(_0x184971,_0x17b5ea(0x245),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c5)]),s(_0x184971,'allSeriesStyle.label',_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1d5)]),s(_0x184971,_0x17b5ea(0x1f1),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c0)]),s(_0x184971,'allSeriesStyle.point',_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1bd)]),s(_0x184971,_0x17b5ea(0x1e5),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c8)])),_0x1e040f[_0x17b5ea(0x240)]&&s(_0x184971,'area.lineStyle',_0x1e040f[_0x17b5ea(0x240)][_0x17b5ea(0x221)]),_0x1e040f[_0x17b5ea(0x1e9)]&&s(_0x184971,_0x17b5ea(0x1e9),_0x1e040f[_0x17b5ea(0x1e9)]),_0x1e040f[_0x17b5ea(0x1d3)]&&s(_0x184971,_0x17b5ea(0x1d3),_0x1e040f['backgroundColor']),_0x1e040f[_0x17b5ea(0x275)]&&s(_0x184971,_0x17b5ea(0x275),_0x1e040f[_0x17b5ea(0x275)]),_0x1e040f['gradientFill']&&s(_0x184971,_0x17b5ea(0x220),_0x1e040f[_0x17b5ea(0x220)]),_0x1e040f[_0x17b5ea(0x1b8)]&&s(_0x184971,_0x17b5ea(0x1b8),_0x1e040f[_0x17b5ea(0x1b8)]),_0x1e040f['radar']&&s(_0x184971,_0x17b5ea(0x1ff),_0x1e040f[_0x17b5ea(0x1ff)]),_0x1e040f[_0x17b5ea(0x207)]){const _0x52a92e=_0x1e040f[_0x17b5ea(0x207)];s(_0x184971,_0x17b5ea(0x270),_0x52a92e[_0x17b5ea(0x266)]),s(_0x184971,_0x17b5ea(0x1b9),_0x52a92e[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x1fa),_0x52a92e[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1e1),_0x52a92e['fontColor']),s(_0x184971,_0x17b5ea(0x1e4),_0x52a92e[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x236),_0x52a92e[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x223),_0x52a92e[_0x17b5ea(0x216)]);}if(_0x1e040f['yAxisTitle']){const _0x336097=_0x1e040f[_0x17b5ea(0x229)];s(_0x184971,_0x17b5ea(0x222),_0x336097[_0x17b5ea(0x266)]),s(_0x184971,'titles.yAxisTitle.font',_0x336097[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x210),_0x336097[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1c7),_0x336097['fontColor']),s(_0x184971,_0x17b5ea(0x1c1),_0x336097[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x1ed),_0x336097['bold']),s(_0x184971,_0x17b5ea(0x1d2),_0x336097['axisAlignment']);}if(_0x1e040f[_0x17b5ea(0x1d4)]){const _0x5c1285=_0x1e040f['rightYAxisTitle'];s(_0x184971,_0x17b5ea(0x1ec),_0x5c1285[_0x17b5ea(0x266)]),s(_0x184971,_0x17b5ea(0x225),_0x5c1285[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x22e),_0x5c1285[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1f4),_0x5c1285['fontColor']),s(_0x184971,_0x17b5ea(0x1ba),_0x5c1285[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x249),_0x5c1285['bold']),s(_0x184971,_0x17b5ea(0x23e),_0x5c1285[_0x17b5ea(0x216)]);}_0x1e040f[_0x17b5ea(0x234)]&&s(_0x184971,_0x17b5ea(0x234),_0x1e040f['xAxis']),_0x1e040f[_0x17b5ea(0x1d6)]&&s(_0x184971,_0x17b5ea(0x1d6),_0x1e040f[_0x17b5ea(0x1d6)]),_0x1e040f[_0x17b5ea(0x22a)]&&s(_0x184971,_0x17b5ea(0x1c0),_0x1e040f[_0x17b5ea(0x22a)]),_0x1e040f[_0x17b5ea(0x228)]&&s(_0x184971,_0x17b5ea(0x228),_0x1e040f[_0x17b5ea(0x228)]);const _0x209862={'unitId':_0x50a28e,'chartModelId':_0x47f7cc};let _0x11cfa6=!0x1;if(_0x3c4d9d!==void 0x0&&(_0x209862[_0x17b5ea(0x22c)]=_0x3c4d9d,_0x11cfa6=!0x0),Object['keys'](_0x184971)[_0x17b5ea(0x1d0)]>0x0&&(_0x209862[_0x17b5ea(0x1ea)]=_0x184971,_0x11cfa6=!0x0),Object['keys'](_0x3b690c)[_0x17b5ea(0x1d0)]>0x0&&(_0x209862[_0x17b5ea(0x1eb)]=_0x3b690c,_0x11cfa6=!0x0),_0x11cfa6)return _0x209862;};class c extends _0x472f84{constructor(_0x6454df,_0x138950,_0x26b48b,_0x18e5c5,_0x3efac4){const _0x29b718=_0x1f79ef;super(),n(this,_0x29b718(0x1cd)),n(this,_0x29b718(0x1bc)),n(this,_0x29b718(0x237)),n(this,_0x29b718(0x257)),n(this,_0x29b718(0x26a)),n(this,'range'),n(this,_0x29b718(0x1f5)),n(this,'x'),n(this,'y'),n(this,_0x29b718(0x256)),n(this,_0x29b718(0x1bb)),n(this,_0x29b718(0x22c)),n(this,_0x29b718(0x25b)),n(this,_0x29b718(0x274)),(this['unitId']=_0x6454df,this['subUnitId']=_0x138950,this[_0x29b718(0x1cd)]=_0x26b48b,this[_0x29b718(0x1bc)]=_0x18e5c5,_0x3efac4&&(this['chartId']=_0x3efac4));}[_0x1f79ef(0x262)](){const _0x379c2a=_0x1f79ef;return this[_0x379c2a(0x22c)];}[_0x1f79ef(0x206)](_0x2d7dc3){const _0x38dcae=_0x1f79ef;if(typeof _0x2d7dc3=='string'){const _0x2f7e72=_0x1e2878(_0x2d7dc3);_0x2f7e72[_0x38dcae(0x1f9)]&&(this[_0x38dcae(0x1f5)]=_0x2f7e72['sheetName']),this['range']=_0x2f7e72['range'];}else this[_0x38dcae(0x1ef)]=_0x2d7dc3;return this;}['clearRange'](){const _0xa3293d=_0x1f79ef;return this[_0xa3293d(0x1ef)]=void 0x0,this[_0xa3293d(0x1f5)]=void 0x0,this;}[_0x1f79ef(0x20b)](_0x5286fd,_0x902649,_0x225565,_0x5099d3){const _0xbb264c=_0x1f79ef,_0x139a92=this['_injector'][_0xbb264c(0x1c2)](_0x4ae15c)['getRenderById'](this[_0xbb264c(0x237)]);if(!_0x139a92)throw new Error(_0xbb264c(0x1e0));const _0x20b740=_0x139a92[_0xbb264c(0x244)](_0x5090db),_0xb10df7=_0x139a92[_0xbb264c(0x244)](_0x1898df),{transform:_0x325108}=_0x2f7767(this['unitId'],this['subUnitId'],{'row':_0x5286fd,'column':_0x902649,'rowOffset':_0x225565,'columnOffset':_0x5099d3},0x1,0x1,_0x20b740,_0xb10df7),_0x58831a=_0x325108[_0xbb264c(0x1e7)],_0x437153=_0x325108['left'];return this['x']=_0x437153,this['y']=_0x58831a,this;}['setAbsolutePosition'](_0x298a0d,_0x13b8da){return this['x']=_0x298a0d,this['y']=_0x13b8da,this;}[_0x1f79ef(0x268)](_0x23b2cb){return this['chartType']=_0x23b2cb,this;}[_0x1f79ef(0x242)](_0x1b487e){const _0x2ec402=_0x1f79ef;return this[_0x2ec402(0x256)]=_0x1b487e,this;}[_0x1f79ef(0x251)](_0x1c1794){return this['height']=_0x1c1794,this;}[_0x1f79ef(0x26f)](_0x47f987,_0x2f13d2){const _0x4edcc0=_0x1f79ef;return this[_0x4edcc0(0x25b)]||(this[_0x4edcc0(0x25b)]={}),_0x47f987===''?(this[_0x4edcc0(0x25b)]={...this[_0x4edcc0(0x25b)],..._0x2f13d2},this):(_0x8bfb84(this[_0x4edcc0(0x25b)],_0x47f987,_0x2f13d2),this);}[_0x1f79ef(0x24d)](_0x5e7d29){return this['transposeRowsAndColumns']=_0x5e7d29,this;}[_0x1f79ef(0x1f8)](_0x265303){const _0x35c07e=_0x1f79ef;return this['setOptions'](_0x35c07e(0x1e9),_0x265303),this;}[_0x1f79ef(0x1df)](_0x5542e5){const _0x2fed90=_0x1f79ef;var _0x518328;const _0x3f4cb4=((_0x518328=this[_0x2fed90(0x25b)])==null?void 0x0:_0x518328[_0x2fed90(0x207)])||{};return _0x3f4cb4['content']=_0x5542e5,this['setOptions'](_0x2fed90(0x207),_0x3f4cb4),this;}[_0x1f79ef(0x265)](_0x2abaa5){const _0x3706db=_0x1f79ef;var _0x12b3c1;const _0x243cdd=((_0x12b3c1=this[_0x3706db(0x25b)])==null?void 0x0:_0x12b3c1[_0x3706db(0x229)])||{};return _0x243cdd[_0x3706db(0x266)]=_0x2abaa5,this['setOptions']('yAxisTitle',_0x243cdd),this;}[_0x1f79ef(0x252)](_0x2d95fe){const _0x356885=_0x1f79ef;var _0x3210a7;const _0x4655a9=((_0x3210a7=this['options'])==null?void 0x0:_0x3210a7[_0x356885(0x1d4)])||{};return _0x4655a9[_0x356885(0x266)]=_0x2d95fe,this[_0x356885(0x26f)](_0x356885(0x1d4),_0x4655a9),this;}[_0x1f79ef(0x277)](_0x39d931){const _0x5d6e95=_0x1f79ef;var _0x3e1e62;const _0x18b84f=((_0x3e1e62=this[_0x5d6e95(0x25b)])==null?void 0x0:_0x3e1e62[_0x5d6e95(0x207)])||{};return this[_0x5d6e95(0x26f)](_0x5d6e95(0x207),{..._0x18b84f,..._0x39d931}),this;}[_0x1f79ef(0x200)](_0xa91916){const _0x5667af=_0x1f79ef;var _0x4490f4;const _0x59ef09=((_0x4490f4=this[_0x5667af(0x25b)])==null?void 0x0:_0x4490f4[_0x5667af(0x229)])||{};return this[_0x5667af(0x26f)](_0x5667af(0x229),{..._0x59ef09,..._0xa91916}),this;}[_0x1f79ef(0x253)](_0x28456e){const _0x36e58d=_0x1f79ef;var _0x27b238;const _0xac58c9=((_0x27b238=this[_0x36e58d(0x25b)])==null?void 0x0:_0x27b238[_0x36e58d(0x1d4)])||{};return this[_0x36e58d(0x26f)](_0x36e58d(0x1d4),{..._0xac58c9,..._0x28456e}),this;}[_0x1f79ef(0x20c)](_0x32ea3e){const _0x48a84f=_0x1f79ef;return this[_0x48a84f(0x26f)](_0x48a84f(0x1b8),_0x32ea3e),this;}[_0x1f79ef(0x1f2)](_0x357470){const _0x642f59=_0x1f79ef;return this[_0x642f59(0x26f)](_0x642f59(0x1b7),_0x357470),this;}[_0x1f79ef(0x239)](_0x1f66c2){const _0x3bab5c=_0x1f79ef;return this[_0x3bab5c(0x26f)](_0x3bab5c(0x25f),_0x1f66c2),this;}[_0x1f79ef(0x1e8)](_0x3113cf,_0x5ea922){const _0x2a90fa=_0x1f79ef;return this[_0x2a90fa(0x26f)](_0x2a90fa(0x228),{[_0x3113cf]:_0x5ea922}),this;}[_0x1f79ef(0x1c9)](){const _0x412750=_0x1f79ef;return{'unitId':this[_0x412750(0x237)],'subUnitId':this[_0x412750(0x257)],'chartId':this[_0x412750(0x26a)],'range':this['range'],'sourceSheetName':this[_0x412750(0x1f5)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this['height'],'chartType':this['chartType'],'options':this[_0x412750(0x25b)],'isRowDirection':this[_0x412750(0x274)]};}}class P{constructor(_0x41e730,_0x4ea0d9,_0x48f41a,_0x384c12){const _0x4f1fd9=_0x1f79ef;n(this,'unitId'),n(this,_0x4f1fd9(0x257)),n(this,_0x4f1fd9(0x26a)),n(this,_0x4f1fd9(0x1bc)),(this[_0x4f1fd9(0x237)]=_0x41e730,this['subUnitId']=_0x4ea0d9,this[_0x4f1fd9(0x26a)]=_0x48f41a,this[_0x4f1fd9(0x1bc)]=_0x384c12);}[_0x1f79ef(0x1ee)](){const _0x4da8df=_0x1f79ef;return this[_0x4da8df(0x26a)];}[_0x1f79ef(0x278)](){const _0x357fef=_0x1f79ef,_0xac5878=this[_0x357fef(0x1bc)]['get'](_0x1a0104)['getChartModel'](this[_0x357fef(0x26a)]);if(_0xac5878)return _0xac5878[_0x357fef(0x1de)][_0x357fef(0x259)]();}[_0x1f79ef(0x213)](_0x44c6dd){const _0xe810fe=_0x1f79ef;return this[_0xe810fe(0x1bc)][_0xe810fe(0x1c2)](_0x517ca5)[_0xe810fe(0x23b)](_0xdf90fe['id'],{'unitId':this['unitId'],'chartModelId':this[_0xe810fe(0x26a)],'range':_0x44c6dd});}[_0x1f79ef(0x1c3)](){const _0x2a085a=_0x1f79ef;var _0x5e2881;const _0x5acdca=this[_0x2a085a(0x1bc)][_0x2a085a(0x1c2)](_0x1a0104)[_0x2a085a(0x25e)](this[_0x2a085a(0x26a)]);if(_0x5acdca)return(_0x5e2881=_0x5acdca[_0x2a085a(0x21d)])==null?void 0x0:_0x5e2881[_0x2a085a(0x22b)];}[_0x1f79ef(0x215)](){const _0x589c47=_0x1f79ef;var _0xe4ebc4;const _0x52dbea=this[_0x589c47(0x1bc)][_0x589c47(0x1c2)](_0x1a0104)[_0x589c47(0x25e)](this['chartId']);if(_0x52dbea)return(_0xe4ebc4=_0x52dbea[_0x589c47(0x21d)])==null?void 0x0:_0xe4ebc4[_0x589c47(0x276)];}[_0x1f79ef(0x267)](){const _0x394de0=_0x1f79ef,_0x4ed24f=this[_0x394de0(0x1bc)][_0x394de0(0x1c2)](_0x4f35d5)[_0x394de0(0x1cf)](_0x49e72a[_0x394de0(0x260)]);return new c(this[_0x394de0(0x237)],this[_0x394de0(0x257)],_0x4ed24f,this['_injector'],this['chartId']);}}class $ extends _0x5a626d{async[_0x1f79ef(0x264)](_0x19ca2c){const _0x405d08=_0x1f79ef;var _0x265293,_0x5deb68,_0x3c422e;const _0x124b6e=_0x19ca2c[_0x405d08(0x237)]||this['getWorkbook']()[_0x405d08(0x26b)](),_0x441cb4=_0x19ca2c[_0x405d08(0x257)]||this[_0x405d08(0x1da)](),_0x404540=_0x19ca2c['chartId']||_0x477638(),_0x1e76f9=_0x19ca2c[_0x405d08(0x22c)],_0x5bc154=_0x19ca2c['range'],_0x39abf8=_0x19ca2c[_0x405d08(0x1f5)],_0x298a8b={'x':_0x19ca2c['x'],'y':_0x19ca2c['y']},_0x51a860=_0x19ca2c[_0x405d08(0x256)],_0x38d869=_0x19ca2c[_0x405d08(0x1bb)],_0x42429b=(_0x265293=_0x19ca2c[_0x405d08(0x25b)])==null?void 0x0:_0x265293[_0x405d08(0x1d3)],_0x3641c6=(_0x5deb68=_0x19ca2c['options'])==null?void 0x0:_0x5deb68[_0x405d08(0x275)],_0x1038b8=C(_0x124b6e,_0x404540,_0x1e76f9,_0x19ca2c['options']),_0x358326=(_0x3c422e=_0x19ca2c[_0x405d08(0x1be)])!=null?_0x3c422e:!0x0;if(!_0x5bc154)throw new Error(_0x405d08(0x21f));return await this[_0x405d08(0x25a)]['executeCommand'](_0x12eaf0['id'],{'unitId':_0x124b6e,'subUnitId':_0x441cb4,'chartId':_0x404540,'chartType':_0x1e76f9,'range':_0x5bc154,'sourceSheetName':_0x39abf8,'position':_0x298a8b,'width':_0x51a860,'height':_0x38d869,'backgroundColor':_0x42429b,'borderColor':_0x3641c6,'config':_0x1038b8,'isRowDirection':_0x358326}),new P(_0x124b6e,_0x441cb4,_0x404540,this[_0x405d08(0x1bc)]);}['updateChart'](_0x54346c){const _0xf4c53f=_0x1f79ef,{unitId:_0x91618d,chartId:_0x5f35b6,chartType:_0x2551d0,options:_0x1e1755}=_0x54346c,_0x422ee8=C(_0x91618d,_0x5f35b6,_0x2551d0,_0x1e1755);this[_0xf4c53f(0x25a)][_0xf4c53f(0x23b)](_0x177ce3['id'],_0x422ee8);}[_0x1f79ef(0x20e)](_0x20b875){const _0x3305a9=_0x1f79ef;if(_0x20b875)return new c(_0x20b875[_0x3305a9(0x237)],_0x20b875[_0x3305a9(0x257)],this[_0x3305a9(0x1cd)],this[_0x3305a9(0x1bc)],_0x20b875[_0x3305a9(0x26a)]);const _0x5f2498=this['getWorkbook']()[_0x3305a9(0x26b)](),_0x26c494=this['getSheetId']();return new c(_0x5f2498,_0x26c494,this[_0x3305a9(0x1cd)],this[_0x3305a9(0x1bc)]);}[_0x1f79ef(0x1fd)](){const _0x5b4abd=_0x1f79ef,_0x37fe11=this[_0x5b4abd(0x1bc)][_0x5b4abd(0x1c2)](_0x1a0104),_0x4ac352=this[_0x5b4abd(0x1fe)]()[_0x5b4abd(0x26b)]();return _0x37fe11['getUnitChartModels'](_0x4ac352,this[_0x5b4abd(0x1da)]())[_0x5b4abd(0x254)](_0x1e29a6=>new P(_0x4ac352,this[_0x5b4abd(0x1da)](),_0x1e29a6['id'],this[_0x5b4abd(0x1bc)]));}['removeChart'](_0x186fee){const _0x15f926=_0x1f79ef,_0x4457dc=_0x186fee['unitId'],_0x359384=_0x186fee[_0x15f926(0x257)],_0x495e32=_0x186fee[_0x15f926(0x26a)],_0x139bc1={'unitId':_0x4457dc,'drawings':[{'unitId':_0x4457dc,'subUnitId':_0x359384,'drawingId':_0x495e32,'drawingType':_0x2036fa[_0x15f926(0x1d8)]}]};return this['_commandService'][_0x15f926(0x23b)](_0x3a0d6d['id'],_0x139bc1);}['registerChartTheme'](_0x4d7d35,_0x2d440a){const _0x562bb0=_0x1f79ef;this[_0x562bb0(0x1bc)][_0x562bb0(0x1c2)](_0x1ad9da)[_0x562bb0(0x1cc)](_0x4d7d35,_0x2d440a);}}_0x5a626d[_0x1f79ef(0x25c)]($);class tt extends _0x481bf3{get[_0x1f79ef(0x202)](){return _0x4721fd;}get[_0x1f79ef(0x26d)](){return _0x2d162b;}get[_0x1f79ef(0x1d7)](){return _0x4ef2a8;}get[_0x1f79ef(0x238)](){return _0x1f27c9;}get[_0x1f79ef(0x1f7)](){return _0x2de25d;}get[_0x1f79ef(0x208)](){return _0x3f413b;}get[_0x1f79ef(0x205)](){return _0x2b106c;}get['RadarShape'](){return _0x4af9c5;}}_0x481bf3['extend'](tt);class et extends c{constructor(_0x2d44d7,_0x7cee9b,_0x8a643f,_0x369169,_0x14b972){const _0x56bdaa=_0x1f79ef;super(_0x2d44d7,_0x7cee9b,_0x8a643f,_0x369169,_0x14b972),n(this,_0x56bdaa(0x221)),n(this,_0x56bdaa(0x1f0)),n(this,_0x56bdaa(0x243)),n(this,_0x56bdaa(0x204));}['setLineStyle'](_0x1df471){const _0x2181e2=_0x1f79ef;return this[_0x2181e2(0x221)]=_0x1df471,this;}[_0x1f79ef(0x21b)](_0x2691bb){const _0x3e1767=_0x1f79ef;return this[_0x3e1767(0x1f0)]=_0x2691bb,this;}['setDataPointColor'](_0x4b3921){return this['dataPointColor']=_0x4b3921,this;}[_0x1f79ef(0x23a)](_0x2b7443){const _0x5c1e09=_0x1f79ef;return this[_0x5c1e09(0x204)]=_0x2b7443,this;}['build'](){const _0x3e60df=_0x1f79ef,_0x16aec0=super[_0x3e60df(0x1c9)]();_0x16aec0['chartType']=_0x4721fd[_0x3e60df(0x20a)];const _0x44bd97=_0x16aec0[_0x3e60df(0x25b)]||{};return s(_0x44bd97,_0x3e60df(0x272),this[_0x3e60df(0x221)]),s(_0x44bd97,_0x3e60df(0x20d),this['dataPointShape']),s(_0x44bd97,_0x3e60df(0x1dd),this[_0x3e60df(0x243)]),s(_0x44bd97,_0x3e60df(0x212),this['dataPointSize']),_0x16aec0[_0x3e60df(0x25b)]=_0x44bd97,_0x16aec0;}}class it extends c{['asLineChart'](){const _0x44b232=_0x1f79ef;return new et(this[_0x44b232(0x237)],this[_0x44b232(0x257)],this[_0x44b232(0x1cd)],this['_injector'],this[_0x44b232(0x26a)]);}}c[_0x1f79ef(0x25c)](it);class st extends c{constructor(_0x62f9b3,_0x576b7a,_0x1ea24d,_0x250377,_0x26eedf){const _0x139389=_0x1f79ef;super(_0x62f9b3,_0x576b7a,_0x1ea24d,_0x250377,_0x26eedf),n(this,_0x139389(0x24a)),n(this,_0x139389(0x275)),n(this,_0x139389(0x241)),n(this,'isHalfPie'),n(this,'rosePie'),n(this,'showLabelLine');}[_0x1f79ef(0x1c6)](_0x2e7d09){const _0xfb64e=_0x1f79ef;return this[_0xfb64e(0x24a)]=_0x2e7d09,this;}['setBorderColor'](_0xfdf8f9){const _0x94d1c=_0x1f79ef;return this[_0x94d1c(0x275)]=_0xfdf8f9,this;}[_0x1f79ef(0x1fc)](_0x567e07){const _0x30ebae=_0x1f79ef;return this[_0x30ebae(0x241)]=_0x567e07,this;}[_0x1f79ef(0x263)](_0x4e5c98){const _0x136f3c=_0x1f79ef;return this[_0x136f3c(0x1f3)]=_0x4e5c98,this;}[_0x1f79ef(0x217)](_0x5d7fe3){const _0x40be97=_0x1f79ef;return this[_0x40be97(0x235)]=_0x5d7fe3,this;}[_0x1f79ef(0x248)](_0x2772e8){return this['showLabelLine']=_0x2772e8,this;}[_0x1f79ef(0x1c9)](){const _0x406b6c=_0x1f79ef,_0x4cfeba=super[_0x406b6c(0x1c9)]();_0x4cfeba[_0x406b6c(0x22c)]=_0x4721fd['Pie'];const _0x4a7626=_0x4cfeba[_0x406b6c(0x25b)]||{};return s(_0x4a7626,_0x406b6c(0x273),this[_0x406b6c(0x24a)]),s(_0x4a7626,_0x406b6c(0x21a),this[_0x406b6c(0x275)]),s(_0x4a7626,'pie.hasPaddingAngle',this[_0x406b6c(0x241)]),s(_0x4a7626,_0x406b6c(0x22d),this[_0x406b6c(0x1f3)]),s(_0x4a7626,_0x406b6c(0x247),this[_0x406b6c(0x235)]),s(_0x4a7626,'pie.showLabelLine',this['showLabelLine']),_0x4cfeba[_0x406b6c(0x25b)]=_0x4a7626,_0x4cfeba;}}class rt extends c{['asPieChart'](){const _0x53e6d7=_0x1f79ef;return new st(this[_0x53e6d7(0x237)],this[_0x53e6d7(0x257)],this[_0x53e6d7(0x1cd)],this[_0x53e6d7(0x1bc)],this[_0x53e6d7(0x26a)]);}}c[_0x1f79ef(0x25c)](rt);class ot extends c{constructor(_0x552c53,_0x465862,_0x50e85d,_0x273fb1,_0x22dd89){const _0xdcd8e5=_0x1f79ef;super(_0x552c53,_0x465862,_0x50e85d,_0x273fb1,_0x22dd89),n(this,'shape'),n(this,_0xdcd8e5(0x211));}[_0x1f79ef(0x232)](_0x353d04){const _0x3abed5=_0x1f79ef;return this[_0x3abed5(0x218)]=_0x353d04,this;}[_0x1f79ef(0x1c4)](_0x1356ce){return this['fill']=_0x1356ce,this;}['build'](){const _0x386a5d=_0x1f79ef,_0x2de5f1=super[_0x386a5d(0x1c9)]();_0x2de5f1[_0x386a5d(0x22c)]=_0x4721fd[_0x386a5d(0x23d)];const _0x518415=_0x2de5f1[_0x386a5d(0x25b)]||{};return s(_0x518415,'radar.shape',this[_0x386a5d(0x218)]),s(_0x518415,_0x386a5d(0x1dc),this[_0x386a5d(0x211)]),_0x2de5f1['options']=_0x518415,_0x2de5f1;}}class nt extends c{[_0x1f79ef(0x1d9)](){const _0x48ce60=_0x1f79ef;return new ot(this['unitId'],this[_0x48ce60(0x257)],this[_0x48ce60(0x1cd)],this['_injector'],this[_0x48ce60(0x26a)]);}}c[_0x1f79ef(0x25c)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
1
+ const _0x42df39=_0x39a8;function _0x39a8(_0x55fe24,_0x4930d8){_0x55fe24=_0x55fe24-0x70;const _0x4645e6=_0x4645();let _0x39a8eb=_0x4645e6[_0x55fe24];return _0x39a8eb;}(function(_0x296e54,_0x2e7f1f){const _0x36b91d=_0x39a8,_0x55162e=_0x296e54();while(!![]){try{const _0x5408b4=-parseInt(_0x36b91d(0xf5))/0x1+-parseInt(_0x36b91d(0x9c))/0x2*(parseInt(_0x36b91d(0x8f))/0x3)+-parseInt(_0x36b91d(0xbf))/0x4*(parseInt(_0x36b91d(0xb2))/0x5)+-parseInt(_0x36b91d(0x118))/0x6+-parseInt(_0x36b91d(0x88))/0x7*(-parseInt(_0x36b91d(0xc7))/0x8)+-parseInt(_0x36b91d(0x107))/0x9*(parseInt(_0x36b91d(0x11f))/0xa)+parseInt(_0x36b91d(0xc6))/0xb;if(_0x5408b4===_0x2e7f1f)break;else _0x55162e['push'](_0x55162e['shift']());}catch(_0x456fa1){_0x55162e['push'](_0x55162e['shift']());}}}(_0x4645,0x6a1b5));var R=Object[_0x42df39(0x74)],k=(_0xc32e48,_0x40ae13,_0x5edb61)=>_0x40ae13 in _0xc32e48?R(_0xc32e48,_0x40ae13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5edb61}):_0xc32e48[_0x40ae13]=_0x5edb61,n=(_0x34be87,_0x4b52ba,_0x518e83)=>k(_0x34be87,typeof _0x4b52ba!=_0x42df39(0xf7)?_0x4b52ba+'':_0x4b52ba,_0x518e83);import{ChartThemeService as _0x518978,ChartTypeBits as _0x508a1e,LegendPositionEnum as _0x210e7b,SelectModeEnum as _0x3573f3,AxisAlignEnum as _0x1fdf3c,ChartBorderDashType as _0x32730d,LinePointShape as _0x2945b1,TitlePositionEnum as _0x35bfc7,RadarShape as _0x252635}from'@univerjs-pro/engine-chart';import{setProperty as _0x569a5d,SheetsChartService as _0x4406cf,ChartUpdateSourceCommand as _0x2d728c,ChartUpdateConfigCommand as _0xebc6d8}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x1dca20}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x561c01,IUniverInstanceService as _0xcd690f,UniverInstanceType as _0x210a36,generateRandomId as _0x50aa85,DrawingTypeEnum as _0xc6f5ed}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x33e126}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x22bc04}from'@univerjs/sheets/facade';import{FBase as _0x236034,FEnum as _0x243cc4}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x4cdab6}from'@univerjs/engine-formula';import{IRenderManagerService as _0x5be089}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x387953,SheetSkeletonManagerService as _0x13df7f,convertPositionCellToSheetOverGrid as _0x490a0e}from'@univerjs/sheets-ui';const s=(_0x1e9b97,_0x24556a,_0x44ee74)=>{_0x44ee74!==void 0x0&&_0x569a5d(_0x1e9b97,_0x24556a,_0x44ee74);},C=(_0x50d0c5,_0x3ba4d4,_0x502d64,_0x2a76e3={})=>{const _0x56e81e=_0x42df39,_0x59909d={},_0x4dfa65={};if(_0x2a76e3[_0x56e81e(0xdc)]){const _0x3e029d=_0x2a76e3[_0x56e81e(0xdc)];s(_0x59909d,_0x56e81e(0xcf),_0x3e029d['content']),s(_0x59909d,_0x56e81e(0x119),_0x3e029d[_0x56e81e(0x124)]),s(_0x59909d,_0x56e81e(0xee),_0x3e029d['fontSize']),s(_0x59909d,'titles.title.color',_0x3e029d['fontColor']),s(_0x59909d,'titles.title.family',_0x3e029d[_0x56e81e(0xbd)]),s(_0x59909d,_0x56e81e(0x99),_0x3e029d[_0x56e81e(0x102)]),s(_0x59909d,_0x56e81e(0x7a),_0x3e029d[_0x56e81e(0x7d)]),s(_0x59909d,_0x56e81e(0xda),_0x3e029d[_0x56e81e(0xa0)]);}if(_0x2a76e3[_0x56e81e(0x11b)]){const _0x312358=_0x2a76e3[_0x56e81e(0x11b)];s(_0x59909d,_0x56e81e(0x10d),_0x312358[_0x56e81e(0xa0)]),s(_0x59909d,_0x56e81e(0xca),_0x312358[_0x56e81e(0xa2)]),s(_0x59909d,_0x56e81e(0xa3),_0x312358[_0x56e81e(0xaf)]),s(_0x59909d,_0x56e81e(0xbe),_0x312358[_0x56e81e(0x94)]),s(_0x59909d,_0x56e81e(0xb5),_0x312358[_0x56e81e(0x102)]),s(_0x59909d,_0x56e81e(0x10c),_0x312358[_0x56e81e(0xc3)]);}if(_0x2a76e3[_0x56e81e(0xb3)]){const _0x4652b2=_0x2a76e3[_0x56e81e(0xb3)];s(_0x59909d,'pie.doughnutHole',_0x4652b2['doughnutHole']),s(_0x59909d,_0x56e81e(0xa6),_0x4652b2[_0x56e81e(0x98)]),s(_0x59909d,_0x56e81e(0x8c),_0x4652b2[_0x56e81e(0x76)]),s(_0x59909d,_0x56e81e(0xae),_0x4652b2['isHalfPie']),s(_0x59909d,_0x56e81e(0x11c),_0x4652b2[_0x56e81e(0xb6)]),s(_0x59909d,'pie.showLabelLine',_0x4652b2[_0x56e81e(0xe1)]);}if(_0x2a76e3['axisPointer']){const _0x2b820e=_0x2a76e3['axisPointer'];s(_0x59909d,_0x56e81e(0x9e),_0x2b820e[_0x56e81e(0xc4)]),s(_0x59909d,_0x56e81e(0xde),_0x2b820e['indicatorLineType']),s(_0x59909d,_0x56e81e(0x122),_0x2b820e[_0x56e81e(0xd2)]),s(_0x59909d,_0x56e81e(0xd7),_0x2b820e['indicatorLabelTextColor']);}if(_0x2a76e3['allSeriesStyle']&&(s(_0x59909d,_0x56e81e(0xb8),_0x2a76e3['allSeriesStyle'][_0x56e81e(0xc2)]),s(_0x59909d,'allSeriesStyle.label',_0x2a76e3['allSeriesStyle'][_0x56e81e(0x90)]),s(_0x59909d,_0x56e81e(0x9f),_0x2a76e3[_0x56e81e(0xc0)][_0x56e81e(0xe9)]),s(_0x59909d,_0x56e81e(0xb1),_0x2a76e3[_0x56e81e(0xc0)][_0x56e81e(0x81)]),s(_0x59909d,_0x56e81e(0x110),_0x2a76e3['allSeriesStyle']['color'])),_0x2a76e3['area']&&s(_0x59909d,_0x56e81e(0x89),_0x2a76e3[_0x56e81e(0xba)]['lineStyle']),_0x2a76e3[_0x56e81e(0x103)]&&s(_0x59909d,_0x56e81e(0x103),_0x2a76e3[_0x56e81e(0x103)]),_0x2a76e3[_0x56e81e(0x8a)]&&s(_0x59909d,'backgroundColor',_0x2a76e3[_0x56e81e(0x8a)]),_0x2a76e3['borderColor']&&s(_0x59909d,'borderColor',_0x2a76e3[_0x56e81e(0x98)]),_0x2a76e3[_0x56e81e(0x109)]&&s(_0x59909d,_0x56e81e(0x109),_0x2a76e3[_0x56e81e(0x109)]),_0x2a76e3[_0x56e81e(0x84)]&&s(_0x59909d,_0x56e81e(0x84),_0x2a76e3[_0x56e81e(0x84)]),_0x2a76e3[_0x56e81e(0x8b)]&&s(_0x59909d,_0x56e81e(0x8b),_0x2a76e3[_0x56e81e(0x8b)]),_0x2a76e3[_0x56e81e(0xdd)]){const _0x1b4f21=_0x2a76e3[_0x56e81e(0xdd)];s(_0x59909d,'titles.xAxisTitle.content',_0x1b4f21['content']),s(_0x59909d,_0x56e81e(0x87),_0x1b4f21[_0x56e81e(0x124)]),s(_0x59909d,_0x56e81e(0x79),_0x1b4f21['fontSize']),s(_0x59909d,'titles.xAxisTitle.color',_0x1b4f21[_0x56e81e(0x105)]),s(_0x59909d,'titles.xAxisTitle.family',_0x1b4f21['fontStyle']),s(_0x59909d,_0x56e81e(0xf4),_0x1b4f21[_0x56e81e(0x102)]),s(_0x59909d,_0x56e81e(0x82),_0x1b4f21[_0x56e81e(0xfb)]);}if(_0x2a76e3['yAxisTitle']){const _0x37a3d3=_0x2a76e3['yAxisTitle'];s(_0x59909d,_0x56e81e(0xfa),_0x37a3d3[_0x56e81e(0x73)]),s(_0x59909d,_0x56e81e(0x113),_0x37a3d3['font']),s(_0x59909d,_0x56e81e(0x77),_0x37a3d3[_0x56e81e(0xaf)]),s(_0x59909d,_0x56e81e(0x121),_0x37a3d3[_0x56e81e(0x105)]),s(_0x59909d,'titles.yAxisTitle.family',_0x37a3d3[_0x56e81e(0xbd)]),s(_0x59909d,'titles.yAxisTitle.bold',_0x37a3d3['bold']),s(_0x59909d,_0x56e81e(0xf3),_0x37a3d3[_0x56e81e(0xfb)]);}if(_0x2a76e3['rightYAxisTitle']){const _0x2e4b07=_0x2a76e3['rightYAxisTitle'];s(_0x59909d,_0x56e81e(0xf1),_0x2e4b07[_0x56e81e(0x73)]),s(_0x59909d,_0x56e81e(0x72),_0x2e4b07[_0x56e81e(0x124)]),s(_0x59909d,_0x56e81e(0xcd),_0x2e4b07[_0x56e81e(0xaf)]),s(_0x59909d,_0x56e81e(0xf9),_0x2e4b07[_0x56e81e(0x105)]),s(_0x59909d,_0x56e81e(0x115),_0x2e4b07[_0x56e81e(0xbd)]),s(_0x59909d,_0x56e81e(0x123),_0x2e4b07[_0x56e81e(0x102)]),s(_0x59909d,_0x56e81e(0xe2),_0x2e4b07[_0x56e81e(0xfb)]);}_0x2a76e3['xAxis']&&s(_0x59909d,_0x56e81e(0xfc),_0x2a76e3['xAxis']),_0x2a76e3[_0x56e81e(0x120)]&&s(_0x59909d,'yAxis',_0x2a76e3[_0x56e81e(0x120)]),_0x2a76e3[_0x56e81e(0x9b)]&&s(_0x59909d,_0x56e81e(0xe9),_0x2a76e3[_0x56e81e(0x9b)]),_0x2a76e3[_0x56e81e(0xff)]&&s(_0x59909d,'seriesStyleMap',_0x2a76e3[_0x56e81e(0xff)]);const _0x104ceb={'unitId':_0x50d0c5,'chartModelId':_0x3ba4d4};let _0x22cd45=!0x1;if(_0x502d64!==void 0x0&&(_0x104ceb[_0x56e81e(0xd5)]=_0x502d64,_0x22cd45=!0x0),Object[_0x56e81e(0x10e)](_0x59909d)[_0x56e81e(0x9d)]>0x0&&(_0x104ceb['style']=_0x59909d,_0x22cd45=!0x0),Object[_0x56e81e(0x10e)](_0x4dfa65)[_0x56e81e(0x9d)]>0x0&&(_0x104ceb['context']=_0x4dfa65,_0x22cd45=!0x0),_0x22cd45)return _0x104ceb;};class c extends _0x236034{constructor(_0x4ba410,_0x32e8cc,_0x3fad46,_0x1e1ed1,_0x13a798){const _0x82a580=_0x42df39;super(),n(this,_0x82a580(0xd3)),n(this,'_injector'),n(this,_0x82a580(0xa7)),n(this,_0x82a580(0x95)),n(this,_0x82a580(0xce)),n(this,'range'),n(this,_0x82a580(0xec)),n(this,'x'),n(this,'y'),n(this,_0x82a580(0xc8)),n(this,'height'),n(this,'chartType'),n(this,_0x82a580(0x108)),n(this,_0x82a580(0xd9)),(this[_0x82a580(0xa7)]=_0x4ba410,this[_0x82a580(0x95)]=_0x32e8cc,this[_0x82a580(0xd3)]=_0x3fad46,this[_0x82a580(0x78)]=_0x1e1ed1,_0x13a798&&(this[_0x82a580(0xce)]=_0x13a798));}[_0x42df39(0x11e)](){return this['chartType'];}[_0x42df39(0xe5)](_0x189d53){const _0x1549eb=_0x42df39;if(typeof _0x189d53==_0x1549eb(0x97)){const _0x3b8350=_0x4cdab6(_0x189d53);_0x3b8350[_0x1549eb(0xa4)]&&(this[_0x1549eb(0xec)]=_0x3b8350[_0x1549eb(0xa4)]),this[_0x1549eb(0x70)]=_0x3b8350['range'];}else this[_0x1549eb(0x70)]=_0x189d53;return this;}['clearRange'](){const _0x10eed4=_0x42df39;return this[_0x10eed4(0x70)]=void 0x0,this['sourceSheetName']=void 0x0,this;}['setPosition'](_0xb8c958,_0x52890d,_0x573bce,_0x540d4b){const _0x54a7a1=_0x42df39,_0x5bf292=this[_0x54a7a1(0x78)][_0x54a7a1(0x86)](_0x5be089)['getRenderById'](this[_0x54a7a1(0xa7)]);if(!_0x5bf292)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x41b2ab=_0x5bf292[_0x54a7a1(0xb9)](_0x387953),_0x414d50=_0x5bf292[_0x54a7a1(0xb9)](_0x13df7f),{transform:_0x1555c5}=_0x490a0e(this[_0x54a7a1(0xa7)],this[_0x54a7a1(0x95)],{'row':_0xb8c958,'column':_0x52890d,'rowOffset':_0x573bce,'columnOffset':_0x540d4b},0x1,0x1,_0x41b2ab,_0x414d50),_0x34e0d1=_0x1555c5['top'],_0x39686c=_0x1555c5['left'];return this['x']=_0x39686c,this['y']=_0x34e0d1,this;}['setAbsolutePosition'](_0x34a41b,_0x2b0298){return this['x']=_0x34a41b,this['y']=_0x2b0298,this;}['setChartType'](_0xc74962){return this['chartType']=_0xc74962,this;}[_0x42df39(0x10a)](_0x4a9fc3){const _0x83bfa=_0x42df39;return this[_0x83bfa(0xc8)]=_0x4a9fc3,this;}['setHeight'](_0x1b135c){const _0x2a798c=_0x42df39;return this[_0x2a798c(0xed)]=_0x1b135c,this;}[_0x42df39(0xbb)](_0x114625,_0x38281c){const _0x7a13a8=_0x42df39;return this[_0x7a13a8(0x108)]||(this['options']={}),_0x114625===''?(this['options']={...this[_0x7a13a8(0x108)],..._0x38281c},this):(_0x569a5d(this[_0x7a13a8(0x108)],_0x114625,_0x38281c),this);}['setTransposeRowsAndColumns'](_0x1b7c0e){const _0xbbbdcc=_0x42df39;return this[_0xbbbdcc(0xd9)]=_0x1b7c0e,this;}['setTheme'](_0xa81e16){const _0x1c6575=_0x42df39;return this[_0x1c6575(0xbb)]('theme',_0xa81e16),this;}[_0x42df39(0xa8)](_0x2d8ec7){const _0x3e5ea5=_0x42df39;var _0x2a2889;const _0x347860=((_0x2a2889=this[_0x3e5ea5(0x108)])==null?void 0x0:_0x2a2889['xAxisTitle'])||{};return _0x347860[_0x3e5ea5(0x73)]=_0x2d8ec7,this[_0x3e5ea5(0xbb)]('xAxisTitle',_0x347860),this;}[_0x42df39(0x101)](_0x1df4ec){const _0x4a509c=_0x42df39;var _0x8aca08;const _0x4c7b5b=((_0x8aca08=this['options'])==null?void 0x0:_0x8aca08[_0x4a509c(0x10b)])||{};return _0x4c7b5b[_0x4a509c(0x73)]=_0x1df4ec,this[_0x4a509c(0xbb)]('yAxisTitle',_0x4c7b5b),this;}[_0x42df39(0xa5)](_0x331fe6){const _0x2491cc=_0x42df39;var _0x355b3e;const _0x42feb9=((_0x355b3e=this[_0x2491cc(0x108)])==null?void 0x0:_0x355b3e[_0x2491cc(0xe3)])||{};return _0x42feb9['content']=_0x331fe6,this[_0x2491cc(0xbb)]('rightYAxisTitle',_0x42feb9),this;}['setXAxisTextStyle'](_0x519e8c){const _0x3c0ca9=_0x42df39;var _0x172188;const _0xdf0fa5=((_0x172188=this[_0x3c0ca9(0x108)])==null?void 0x0:_0x172188[_0x3c0ca9(0xdd)])||{};return this[_0x3c0ca9(0xbb)](_0x3c0ca9(0xdd),{..._0xdf0fa5,..._0x519e8c}),this;}[_0x42df39(0xd1)](_0x3a7941){const _0x41a7b3=_0x42df39;var _0x2824ce;const _0x255347=((_0x2824ce=this[_0x41a7b3(0x108)])==null?void 0x0:_0x2824ce[_0x41a7b3(0x10b)])||{};return this[_0x41a7b3(0xbb)](_0x41a7b3(0x10b),{..._0x255347,..._0x3a7941}),this;}['setRightYAxisTextStyle'](_0x385cf4){const _0x1405a1=_0x42df39;var _0x2706a5;const _0x5ee59c=((_0x2706a5=this['options'])==null?void 0x0:_0x2706a5['rightYAxisTitle'])||{};return this['setOptions'](_0x1405a1(0xe3),{..._0x5ee59c,..._0x385cf4}),this;}[_0x42df39(0xf6)](_0x6c4f7e){const _0x52eb7f=_0x42df39;return this[_0x52eb7f(0xbb)](_0x52eb7f(0x84),_0x6c4f7e),this;}['setAxisPointerStyle'](_0x5a1f64){const _0x40b8a3=_0x42df39;return this[_0x40b8a3(0xbb)](_0x40b8a3(0x11a),_0x5a1f64),this;}['setAllSeriesStyle'](_0x4cfbca){const _0x5910b2=_0x42df39;return this['setOptions'](_0x5910b2(0xc0),_0x4cfbca),this;}['setSeriesStyle'](_0x1081aa,_0x5080df){const _0x78db11=_0x42df39;return this[_0x78db11(0xbb)]('seriesStyleMap',{[_0x1081aa]:_0x5080df}),this;}['build'](){const _0x1af40e=_0x42df39;return{'unitId':this[_0x1af40e(0xa7)],'subUnitId':this[_0x1af40e(0x95)],'chartId':this[_0x1af40e(0xce)],'range':this[_0x1af40e(0x70)],'sourceSheetName':this[_0x1af40e(0xec)],'x':this['x'],'y':this['y'],'width':this[_0x1af40e(0xc8)],'height':this[_0x1af40e(0xed)],'chartType':this[_0x1af40e(0xd5)],'options':this[_0x1af40e(0x108)],'isRowDirection':this[_0x1af40e(0xd9)]};}}class P{constructor(_0x166f68,_0x3f839c,_0x1b272f,_0x1f0366){const _0x4823af=_0x42df39;n(this,_0x4823af(0xa7)),n(this,_0x4823af(0x95)),n(this,'chartId'),n(this,_0x4823af(0x78)),(this[_0x4823af(0xa7)]=_0x166f68,this[_0x4823af(0x95)]=_0x3f839c,this[_0x4823af(0xce)]=_0x1b272f,this['_injector']=_0x1f0366);}[_0x42df39(0xc5)](){return this['chartId'];}[_0x42df39(0xf0)](){const _0x1896b0=_0x42df39,_0x155cf9=this[_0x1896b0(0x78)][_0x1896b0(0x86)](_0x4406cf)[_0x1896b0(0x112)](this[_0x1896b0(0xce)]);if(_0x155cf9)return _0x155cf9[_0x1896b0(0xa1)][_0x1896b0(0xdb)]();}[_0x42df39(0xaa)](_0x3c1bf5){const _0x2dab73=_0x42df39;return this[_0x2dab73(0x78)][_0x2dab73(0x86)](_0x561c01)[_0x2dab73(0x7f)](_0x2d728c['id'],{'unitId':this[_0x2dab73(0xa7)],'chartModelId':this[_0x2dab73(0xce)],'range':_0x3c1bf5});}[_0x42df39(0x100)](){const _0x25caaa=_0x42df39;var _0x1d37d9;const _0x2155d1=this[_0x25caaa(0x78)]['get'](_0x4406cf)[_0x25caaa(0x112)](this['chartId']);if(_0x2155d1)return(_0x1d37d9=_0x2155d1['config'])==null?void 0x0:_0x1d37d9[_0x25caaa(0xea)];}[_0x42df39(0x11d)](){const _0x14568c=_0x42df39;var _0x321930;const _0x453797=this['_injector'][_0x14568c(0x86)](_0x4406cf)[_0x14568c(0x112)](this[_0x14568c(0xce)]);if(_0x453797)return(_0x321930=_0x453797[_0x14568c(0x114)])==null?void 0x0:_0x321930[_0x14568c(0xe4)];}[_0x42df39(0x96)](){const _0x3c5ada=_0x42df39,_0x3247c0=this[_0x3c5ada(0x78)][_0x3c5ada(0x86)](_0xcd690f)[_0x3c5ada(0x7b)](_0x210a36[_0x3c5ada(0x91)]);return new c(this['unitId'],this[_0x3c5ada(0x95)],_0x3247c0,this['_injector'],this[_0x3c5ada(0xce)]);}}class $ extends _0x22bc04{async['insertChart'](_0x46963c){const _0xe912ed=_0x42df39;var _0x4cfa0c,_0x5bae65,_0x20858b;const _0x32d1d8=_0x46963c[_0xe912ed(0xa7)]||this[_0xe912ed(0xf2)]()['getUnitId'](),_0x481207=_0x46963c['subUnitId']||this[_0xe912ed(0x80)](),_0x24ca98=_0x46963c['chartId']||_0x50aa85(),_0x1ba609=_0x46963c['chartType'],_0x4ca8a5=_0x46963c[_0xe912ed(0x70)],_0x4c5b8c=_0x46963c[_0xe912ed(0xec)],_0x47134d={'x':_0x46963c['x'],'y':_0x46963c['y']},_0x336914=_0x46963c[_0xe912ed(0xc8)],_0x4b91e6=_0x46963c[_0xe912ed(0xed)],_0x2a43ee=(_0x4cfa0c=_0x46963c[_0xe912ed(0x108)])==null?void 0x0:_0x4cfa0c['backgroundColor'],_0x32bfa9=(_0x5bae65=_0x46963c['options'])==null?void 0x0:_0x5bae65[_0xe912ed(0x98)],_0x11a516=C(_0x32d1d8,_0x24ca98,_0x1ba609,_0x46963c[_0xe912ed(0x108)]),_0xd525aa=(_0x20858b=_0x46963c[_0xe912ed(0xd4)])!=null?_0x20858b:!0x0;if(!_0x4ca8a5)throw new Error(_0xe912ed(0xdf));return await this[_0xe912ed(0xf8)][_0xe912ed(0x7f)](_0x1dca20['id'],{'unitId':_0x32d1d8,'subUnitId':_0x481207,'chartId':_0x24ca98,'chartType':_0x1ba609,'range':_0x4ca8a5,'sourceSheetName':_0x4c5b8c,'position':_0x47134d,'width':_0x336914,'height':_0x4b91e6,'backgroundColor':_0x2a43ee,'borderColor':_0x32bfa9,'config':_0x11a516,'isRowDirection':_0xd525aa}),new P(_0x32d1d8,_0x481207,_0x24ca98,this[_0xe912ed(0x78)]);}[_0x42df39(0xab)](_0x43f232){const _0x2a056d=_0x42df39,{unitId:_0x3fb4cd,chartId:_0xfa702,chartType:_0x3e90db,options:_0x3a46ec}=_0x43f232,_0x11c499=C(_0x3fb4cd,_0xfa702,_0x3e90db,_0x3a46ec);this[_0x2a056d(0xf8)]['executeCommand'](_0xebc6d8['id'],_0x11c499);}['newChart'](_0x61343){const _0x368f4a=_0x42df39;if(_0x61343)return new c(_0x61343[_0x368f4a(0xa7)],_0x61343['subUnitId'],this[_0x368f4a(0xd3)],this[_0x368f4a(0x78)],_0x61343['chartId']);const _0x1794ea=this['getWorkbook']()[_0x368f4a(0xb7)](),_0x2cdbb1=this[_0x368f4a(0x80)]();return new c(_0x1794ea,_0x2cdbb1,this[_0x368f4a(0xd3)],this[_0x368f4a(0x78)]);}[_0x42df39(0xe6)](){const _0x1a4512=_0x42df39,_0x98bda3=this[_0x1a4512(0x78)][_0x1a4512(0x86)](_0x4406cf),_0x5f0012=this[_0x1a4512(0xf2)]()[_0x1a4512(0xb7)]();return _0x98bda3['getUnitChartModels'](_0x5f0012,this[_0x1a4512(0x80)]())[_0x1a4512(0x104)](_0xb2b5f1=>new P(_0x5f0012,this['getSheetId'](),_0xb2b5f1['id'],this[_0x1a4512(0x78)]));}[_0x42df39(0xa9)](_0x1a6255){const _0x3ef5ae=_0x42df39,_0x1f6716=_0x1a6255[_0x3ef5ae(0xa7)],_0x42645f=_0x1a6255[_0x3ef5ae(0x95)],_0x5ce111=_0x1a6255[_0x3ef5ae(0xce)],_0x2adb6d={'unitId':_0x1f6716,'drawings':[{'unitId':_0x1f6716,'subUnitId':_0x42645f,'drawingId':_0x5ce111,'drawingType':_0xc6f5ed[_0x3ef5ae(0xb0)]}]};return this[_0x3ef5ae(0xf8)][_0x3ef5ae(0x7f)](_0x33e126['id'],_0x2adb6d);}[_0x42df39(0xc1)](_0x17b905,_0x3232fa){const _0x45e236=_0x42df39;this[_0x45e236(0x78)][_0x45e236(0x86)](_0x518978)[_0x45e236(0xb4)](_0x17b905,_0x3232fa);}}_0x22bc04[_0x42df39(0xd0)]($);class tt extends _0x243cc4{get['ChartType'](){return _0x508a1e;}get[_0x42df39(0x8e)](){return _0x210e7b;}get[_0x42df39(0xfd)](){return _0x3573f3;}get['AxisAlignEnum'](){return _0x1fdf3c;}get['ChartBorderDashType'](){return _0x32730d;}get['LinePointShape'](){return _0x2945b1;}get[_0x42df39(0x117)](){return _0x35bfc7;}get[_0x42df39(0xcb)](){return _0x252635;}}_0x243cc4[_0x42df39(0xd0)](tt);class et extends c{constructor(_0x3a6894,_0x5aae18,_0x2c4406,_0x4ea28a,_0x689a9d){const _0x29af49=_0x42df39;super(_0x3a6894,_0x5aae18,_0x2c4406,_0x4ea28a,_0x689a9d),n(this,_0x29af49(0xeb)),n(this,_0x29af49(0xbc)),n(this,_0x29af49(0xd6)),n(this,_0x29af49(0x83));}[_0x42df39(0x111)](_0x26072d){const _0x4e495e=_0x42df39;return this[_0x4e495e(0xeb)]=_0x26072d,this;}[_0x42df39(0x10f)](_0x431bcc){const _0xa63df1=_0x42df39;return this[_0xa63df1(0xbc)]=_0x431bcc,this;}['setDataPointColor'](_0x594124){const _0x19a281=_0x42df39;return this[_0x19a281(0xd6)]=_0x594124,this;}[_0x42df39(0xcc)](_0x49caad){const _0xc85f2d=_0x42df39;return this[_0xc85f2d(0x83)]=_0x49caad,this;}[_0x42df39(0xe0)](){const _0x38c798=_0x42df39,_0x77d336=super[_0x38c798(0xe0)]();_0x77d336[_0x38c798(0xd5)]=_0x508a1e[_0x38c798(0x106)];const _0x4a13b8=_0x77d336[_0x38c798(0x108)]||{};return s(_0x4a13b8,'area.lineStyle',this[_0x38c798(0xeb)]),s(_0x4a13b8,'allSeriesStyle.point.shape',this[_0x38c798(0xbc)]),s(_0x4a13b8,_0x38c798(0x7e),this['dataPointColor']),s(_0x4a13b8,'allSeriesStyle.point.size',this[_0x38c798(0x83)]),_0x77d336[_0x38c798(0x108)]=_0x4a13b8,_0x77d336;}}class it extends c{['asLineChart'](){const _0x2f1470=_0x42df39;return new et(this[_0x2f1470(0xa7)],this[_0x2f1470(0x95)],this[_0x2f1470(0xd3)],this[_0x2f1470(0x78)],this[_0x2f1470(0xce)]);}}function _0x4645(){const _0x3228aa=['setBorderColor','get','titles.xAxisTitle.font','7dTwbkL','area.lineStyle','backgroundColor','radar','pie.hasPaddingAngle','setShowLabelLine','LegendPositionEnum','47835VNnktI','label','UNIVER_SHEET','doughnutHole','fill','color','subUnitId','modify','string','borderColor','titles.title.bold','pie.doughnutHole','yRightAxis','60BalQMn','length','tooltip.indicatorLabelColor','allSeriesStyle.rightYAxis','position','dataSource','selectMode','legend.label.fontSize','sheetName','setRightYAxisTitle','pie.borderColor','unitId','setXAxisTitle','removeChart','updateRange','updateChart','shape','setDoughnutHole','pie.isHalfPie','fontSize','DRAWING_CHART','allSeriesStyle.point','5mcDdUc','pie','registerTheme','legend.label.bold','rosePie','getUnitId','allSeriesStyle.border','with','area','setOptions','dataPointShape','fontStyle','legend.label.color','316924pLHZft','allSeriesStyle','registerChartTheme','border','italic','indicatorLabelColor','getChartId','30171735KECVKf','1989192fNhkJg','width','radar.shape','legend.selectMode','RadarShape','setDataPointSize','titles.rightYAxisTitle.fontSize','chartId','titles.title.content','extend','setYAxisTextStyle','indicatorLineColor','_workbook','isRowDirection','chartType','dataPointColor','tooltip.indicatorLabelTextColor','Radar','transposeRowsAndColumns','titles.titlePosition','getRangeInfo','title','xAxisTitle','tooltip.indicatorLineType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','build','showLabelLine','rightYAxis.label.axisTitleAlign','rightYAxisTitle','category','addRange','getCharts','asPieChart','Pie','rightYAxis','series','lineStyle','sourceSheetName','height','titles.title.fontSize','setShape','getRange','titles.rightYAxisTitle.content','getWorkbook','yAxis.label.axisTitleAlign','titles.xAxisTitle.bold','463566BRmkVf','setInvalidValueStrategy','symbol','_commandService','titles.rightYAxisTitle.color','titles.yAxisTitle.content','axisAlignment','xAxis','SelectModeEnum','isHalfPie','seriesStyleMap','getSeriesData','setYAxisTitle','bold','theme','map','fontColor','Line','32274IVfWGu','options','gradientFill','setWidth','yAxisTitle','legend.label.italic','legend.position','keys','setDataPointShape','allSeriesStyle.color','setLineStyle','getChartModel','titles.yAxisTitle.font','config','titles.rightYAxisTitle.family','pie.showLabelLine','TitlePositionEnum','4416576fTUyHv','titles.title.font','axisPointer','legend','pie.rosePie','getCategoryData','getChartType','2230mFhChV','yAxis','titles.yAxisTitle.color','tooltip.indicatorLineColor','titles.rightYAxisTitle.bold','font','range','setFill','titles.rightYAxisTitle.font','content','defineProperty','setIsHalfPie','hasPaddingAngle','titles.yAxisTitle.fontSize','_injector','titles.xAxisTitle.fontSize','titles.title.align','getCurrentUnitForType','radar.fill','titleAlignment','allSeriesStyle.point.color','executeCommand','getSheetId','point','xAxis.label.axisTitleAlign','dataPointSize','invalidValueType'];_0x4645=function(){return _0x3228aa;};return _0x4645();}c['extend'](it);class st extends c{constructor(_0xcd1662,_0x596fb5,_0x586551,_0x365b1b,_0x3bdbf0){const _0x5c8c47=_0x42df39;super(_0xcd1662,_0x596fb5,_0x586551,_0x365b1b,_0x3bdbf0),n(this,'doughnutHole'),n(this,_0x5c8c47(0x98)),n(this,_0x5c8c47(0x76)),n(this,_0x5c8c47(0xfe)),n(this,_0x5c8c47(0xb6)),n(this,_0x5c8c47(0xe1));}[_0x42df39(0xad)](_0x5da034){const _0x421da5=_0x42df39;return this[_0x421da5(0x92)]=_0x5da034,this;}[_0x42df39(0x85)](_0x352331){return this['borderColor']=_0x352331,this;}['setHasPaddingAngle'](_0x43c1b3){const _0x45d5a0=_0x42df39;return this[_0x45d5a0(0x76)]=_0x43c1b3,this;}[_0x42df39(0x75)](_0x3fc003){return this['isHalfPie']=_0x3fc003,this;}['setRosePie'](_0x4b1a8f){const _0x1a0a72=_0x42df39;return this[_0x1a0a72(0xb6)]=_0x4b1a8f,this;}[_0x42df39(0x8d)](_0x53b09f){const _0x9f3cc8=_0x42df39;return this[_0x9f3cc8(0xe1)]=_0x53b09f,this;}[_0x42df39(0xe0)](){const _0x3bed1c=_0x42df39,_0xdef702=super['build']();_0xdef702[_0x3bed1c(0xd5)]=_0x508a1e[_0x3bed1c(0xe8)];const _0x2cb04e=_0xdef702[_0x3bed1c(0x108)]||{};return s(_0x2cb04e,_0x3bed1c(0x9a),this['doughnutHole']),s(_0x2cb04e,_0x3bed1c(0xa6),this['borderColor']),s(_0x2cb04e,_0x3bed1c(0x8c),this[_0x3bed1c(0x76)]),s(_0x2cb04e,'pie.isHalfPie',this[_0x3bed1c(0xfe)]),s(_0x2cb04e,'pie.rosePie',this[_0x3bed1c(0xb6)]),s(_0x2cb04e,_0x3bed1c(0x116),this[_0x3bed1c(0xe1)]),_0xdef702[_0x3bed1c(0x108)]=_0x2cb04e,_0xdef702;}}class rt extends c{[_0x42df39(0xe7)](){const _0x5343c4=_0x42df39;return new st(this[_0x5343c4(0xa7)],this[_0x5343c4(0x95)],this[_0x5343c4(0xd3)],this['_injector'],this[_0x5343c4(0xce)]);}}c[_0x42df39(0xd0)](rt);class ot extends c{constructor(_0x5a9ee8,_0x2a6ceb,_0x2b57f6,_0x9b1d40,_0x203ff0){const _0x5cd6bc=_0x42df39;super(_0x5a9ee8,_0x2a6ceb,_0x2b57f6,_0x9b1d40,_0x203ff0),n(this,_0x5cd6bc(0xac)),n(this,_0x5cd6bc(0x93));}[_0x42df39(0xef)](_0x51f853){const _0x4b0a17=_0x42df39;return this[_0x4b0a17(0xac)]=_0x51f853,this;}[_0x42df39(0x71)](_0x200598){const _0x56d3fc=_0x42df39;return this[_0x56d3fc(0x93)]=_0x200598,this;}[_0x42df39(0xe0)](){const _0x482a5b=_0x42df39,_0x31986b=super[_0x482a5b(0xe0)]();_0x31986b[_0x482a5b(0xd5)]=_0x508a1e[_0x482a5b(0xd8)];const _0x2019e2=_0x31986b['options']||{};return s(_0x2019e2,_0x482a5b(0xc9),this[_0x482a5b(0xac)]),s(_0x2019e2,_0x482a5b(0x7c),this['fill']),_0x31986b[_0x482a5b(0x108)]=_0x2019e2,_0x31986b;}}class nt extends c{['asRadarChart'](){const _0x29535f=_0x42df39;return new ot(this[_0x29535f(0xa7)],this[_0x29535f(0x95)],this[_0x29535f(0xd3)],this[_0x29535f(0x78)],this[_0x29535f(0xce)]);}}c[_0x42df39(0xd0)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};