@univerjs-pro/sheets-chart-ui 0.15.0 → 0.15.1-insiders.20260117-8ce4a01

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 (57) 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/types/index.d.ts +1 -0
  41. package/lib/types/services/chart-render.service.d.ts +0 -1
  42. package/lib/types/wordcloud/index.d.ts +2 -0
  43. package/lib/types/wordcloud/layout.d.ts +13 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +17 -19
@@ -1 +1 @@
1
- const _0x20ce3b=_0x4eaf;(function(_0x20b620,_0x3e4ed5){const _0x484ef1=_0x4eaf,_0x43f11b=_0x20b620();while(!![]){try{const _0x22a84e=-parseInt(_0x484ef1(0x1b8))/0x1+-parseInt(_0x484ef1(0x179))/0x2+parseInt(_0x484ef1(0x1f0))/0x3*(parseInt(_0x484ef1(0x1ef))/0x4)+parseInt(_0x484ef1(0x191))/0x5*(parseInt(_0x484ef1(0x203))/0x6)+-parseInt(_0x484ef1(0x196))/0x7*(parseInt(_0x484ef1(0x1f9))/0x8)+parseInt(_0x484ef1(0x16c))/0x9+parseInt(_0x484ef1(0x1a0))/0xa;if(_0x22a84e===_0x3e4ed5)break;else _0x43f11b['push'](_0x43f11b['shift']());}catch(_0x358f70){_0x43f11b['push'](_0x43f11b['shift']());}}}(_0x4f6e,0xc42f0));function _0x4eaf(_0x3129ef,_0x2fd28e){_0x3129ef=_0x3129ef-0x16c;const _0x4f6e9f=_0x4f6e();let _0x4eaffd=_0x4f6e9f[_0x3129ef];return _0x4eaffd;}function _0x4f6e(){const _0x3a1f20=['關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','百分比堆疊面積圖','桑基圖不能包含循環數據','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','空心正方形','空心菱形','排列圖','使用右軸','網格線和刻度線','第一四分位數','隱藏圖表面板','使用\x20{0}\x20作為類別標籤','累積占比系列','刪除圖表','正值圖例文本','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','插入圖表','標籤旋轉','瀑布圖','日期格式將日期和時間系列數值顯示為日期值。','旋轉標籤','第\x20{0}\x20','Y軸標題','顯示軸線','玫瑰圖','開啟選中淡入特效','正方形','指示標籤','左對齊','空心圓形','空心矩形','顯示空單元格為','136EPFyRf','10509tCNluN','重複詞雲標籤','詞雲形狀','格式類型','用直線連接數據點','標題格式','詞雲圖','R平方','趨勢線','5223160pxcDmR','使用日期軸','X軸標題','圖表類型','指示線類型','數據範圍','關係圖','顯示小計','組合圖','顯示標籤','282PKtSXy','圖表樣式','添加系列','空心針形','佈局類型','10817487RPGKKM','堆疊條形圖','百分比堆疊條形圖','切換列或欄','散點圖','添加趨勢線','指示線','数值后缀','小數位數','標籤位置','字段設置','長條圖系列','圖例選擇模式','2517138utVhAa','柱狀圖','刻度線位置','條形圖','堆疊方式','千分位符','軸選項','主網格線','常規格式不包含任何特定的數字格式。','{0}\x20類型','折線圖','百分比堆疊','多項式階數','負值圖例文本','累積占比','右垂直軸','日期類型','多項式','網格線','標題文本','刻度線長度','類別\x20{0}','氣泡圖','堆疊面積圖','109325NiGIar','氣泡圖至少需要2欄,X軸、Y軸。','小計樣式','標題對齊','圖表和軸標題','14KRfHlx','逆序軸','(空)','{0}\x20顏色','趨勢線類型','趨勢線線類型','副標題','箱型圖','扇形間距','空心箭頭','15318870qvhLkv','使用絕對值','主刻度線','最小值','空心三角形','設置圖表','{0}\x20格式','編輯圖表','趨勢線名稱','節點距離','背景顏色','使用值作為節點大小','負值樣式','小計圖例文本','數據標籤','氣泡標籤','顯示標籤線','三角形','打開圖表面板','視覺映射範圍','正值樣式','設置標籤格式','顯示公式','節點形狀','512660wqflGK','{0}\x20大小','垂直軸','圓角矩形','水平軸','最大值','{0}\x20粗細','雷達圖','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','力導向選項','空心圓角矩形','圖表邊框顏色','顯示R平方','指示值','中位數','{0}\x20透明度','漸變填充','股票圖','数值比例','力導向','標題位置','所有系列','氣泡大小'];_0x4f6e=function(){return _0x3a1f20;};return _0x4f6e();}const e={'chart':{'insertChart':_0x20ce3b(0x1df),'editChart':_0x20ce3b(0x1a7),'openChartPanel':_0x20ce3b(0x1b2),'deleteChart':_0x20ce3b(0x1dc),'hideChartPanel':_0x20ce3b(0x1d9),'setupChart':_0x20ce3b(0x1a5),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x20ce3b(0x1fc),'themes':'主題','dataRange':_0x20ce3b(0x1fe),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x20ce3b(0x1cd),'series':'系列','addSeries':_0x20ce3b(0x205),'moreSettings':'更多設置','min':_0x20ce3b(0x1a3),'max':_0x20ce3b(0x1bd),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x20ce3b(0x1f4)},'blank':_0x20ce3b(0x198),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x20ce3b(0x1aa),'chartBorderColor':_0x20ce3b(0x1c3),'titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x20ce3b(0x19c),'xAxisTitle':_0x20ce3b(0x1fb),'yAxisTitle':_0x20ce3b(0x1e5),'rightYAxisTitle':'右Y軸標題','titleFormat':_0x20ce3b(0x1f5),'titleText':_0x20ce3b(0x18c),'titlePosition':_0x20ce3b(0x1cc),'titleAlign':_0x20ce3b(0x194)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x20ce3b(0x1c8),'settingsLabels':{'switchToRowOrColumn':_0x20ce3b(0x16f),'useAsCategoryLabels':_0x20ce3b(0x1da),'showEmptyCellsAs':_0x20ce3b(0x1ee)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x20ce3b(0x1eb),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x20ce3b(0x204),'chartAndAxisTitles':_0x20ce3b(0x195),'legend':'圖例','legendSelectMode':_0x20ce3b(0x178),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x20ce3b(0x17f),'horizontalAxis':_0x20ce3b(0x1bc),'verticalAxis':_0x20ce3b(0x1ba),'rightVerticalAxis':_0x20ce3b(0x188),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x20ce3b(0x1d6)},'position':'位置','dataLabels':_0x20ce3b(0x1ae),'gridlinesAndTicks':_0x20ce3b(0x1d7),'indicatorLine':_0x20ce3b(0x172),'indicatorLineType':_0x20ce3b(0x1fd),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x20ce3b(0x1ea),'indicatorValue':_0x20ce3b(0x1c5),'shape':{'polygon':'多邊形','circle':'圓形','square':_0x20ce3b(0x1e9),'triangle':_0x20ce3b(0x1b1),'diamond':'菱形','rect':'矩形','roundRect':_0x20ce3b(0x1bb),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x20ce3b(0x1ec),'emptySquare':_0x20ce3b(0x1d3),'emptyTriangle':_0x20ce3b(0x1a4),'emptyDiamond':_0x20ce3b(0x1d4),'emptyRect':_0x20ce3b(0x1ed),'emptyRoundRect':_0x20ce3b(0x1c2),'emptyPin':_0x20ce3b(0x206),'emptyArrow':_0x20ce3b(0x19f)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x20ce3b(0x1c7),'withColor':_0x20ce3b(0x199),'withThickness':_0x20ce3b(0x1be),'withType':_0x20ce3b(0x182),'withSize':_0x20ce3b(0x1b9),'withShape':'{0}\x20形狀','withFormat':_0x20ce3b(0x1a6),'dataPoint':'數據點','dataNodeShape':_0x20ce3b(0x1b7),'addDataPoint':'添加數據點','point':'數據點','percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x20ce3b(0x184)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x20ce3b(0x180),'text':_0x20ce3b(0x18b)},'ticks':{'majorTick':_0x20ce3b(0x1a2),'tickPosition':_0x20ce3b(0x17b),'tickLength':_0x20ce3b(0x18d)},'none':'無','theIndexItem':_0x20ce3b(0x1e4),'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x20ce3b(0x18e),'styleEditPanel':{'showLabels':_0x20ce3b(0x202),'showDataLabels':'顯示數據標籤','padAngle':_0x20ce3b(0x19e),'halfPie':'半餅','rosePie':_0x20ce3b(0x1e7),'pieValScale':_0x20ce3b(0x1ca),'pieValSuffix':_0x20ce3b(0x173),'pieDigitalFixed':_0x20ce3b(0x174),'showLabelLine':_0x20ce3b(0x1b0),'reverseAxisOrder':_0x20ce3b(0x197),'showAxisLine':_0x20ce3b(0x1e6),'labelPosition':_0x20ce3b(0x175),'labelText':'標籤文本','repeatWordCould':_0x20ce3b(0x1f1),'gap':'間隔','useAbsValue':_0x20ce3b(0x1a1),'labelRotate':_0x20ce3b(0x1e0),'wordCloudShape':_0x20ce3b(0x1f2),'useDateAxis':_0x20ce3b(0x1fa),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':'圓環孔','msg':{'invalidSource':'圖表數據源必須包含多於1列和1欄。','emptyTips':'請先添加系列開始數據可視化','sankeyCircularTips':_0x20ce3b(0x1d1)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x20ce3b(0x1f8),'displayName':_0x20ce3b(0x1a8),'addTrendLine':_0x20ce3b(0x171),'trendlineType':_0x20ce3b(0x19a),'trendlineName':'趨勢線名稱','trendlineColor':'趨勢線顏色','trendlineThickness':'趨勢線粗細','trendlineDashType':_0x20ce3b(0x19b),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x20ce3b(0x18a),'order':_0x20ce3b(0x185),'period':'移動平均周期','showFormula':_0x20ce3b(0x1b6),'showR2':_0x20ce3b(0x1c4),'formula':'公式','r2':_0x20ce3b(0x1f7)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x20ce3b(0x1ce),'label':_0x20ce3b(0x1af),'emptyTips':_0x20ce3b(0x192)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x20ce3b(0x1cb),'useValueAsSymbolSize':_0x20ce3b(0x1ab),'layoutType':_0x20ce3b(0x207),'forceOptions':_0x20ce3b(0x1c1),'repulsion':'斥力','gravity':'引力','edgeLength':_0x20ce3b(0x1a9),'rotateLabel':_0x20ce3b(0x1e3),'emphasis':_0x20ce3b(0x1e8),'emptyTips':_0x20ce3b(0x1cf)},'waterfall':{'stackType':_0x20ce3b(0x17d),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x20ce3b(0x200),'positiveStyle':_0x20ce3b(0x1b4),'negativeStyle':_0x20ce3b(0x1ac),'subtotalStyle':_0x20ce3b(0x193),'positiveLegendText':_0x20ce3b(0x1dd),'negativeLegendText':_0x20ce3b(0x186),'subtotalLegendText':_0x20ce3b(0x1ad)},'pareto':{'lineName':_0x20ce3b(0x187),'lineSeries':_0x20ce3b(0x1db),'barSeries':_0x20ce3b(0x177)},'visualMapScope':_0x20ce3b(0x1b3),'boxplot':{'min':'最小值','q1':_0x20ce3b(0x1d8),'median':_0x20ce3b(0x1c6),'q3':'第三四分位數','max':_0x20ce3b(0x1bd)}},'chartTypes':{'line':_0x20ce3b(0x183),'area':'面積圖','areaStacked':_0x20ce3b(0x190),'areaPercentStacked':_0x20ce3b(0x1d0),'column':_0x20ce3b(0x17a),'bar':_0x20ce3b(0x17c),'barStacked':_0x20ce3b(0x16d),'barPercentStacked':_0x20ce3b(0x16e),'pie':'餅圖','donut':'環形圖','scatter':_0x20ce3b(0x170),'radar':_0x20ce3b(0x1bf),'bubble':_0x20ce3b(0x18f),'stock':_0x20ce3b(0x1c9),'combination':_0x20ce3b(0x201),'wordCloud':_0x20ce3b(0x1f6),'funnel':'漏斗圖','relation':_0x20ce3b(0x1ff),'waterfall':_0x20ce3b(0x1e1),'pareto':_0x20ce3b(0x1d5),'sankey':'桑基圖','heatmap':'熱力圖','boxplot':_0x20ce3b(0x19d)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x20ce3b(0x17e),'fieldSetting':_0x20ce3b(0x176),'formatTypes':_0x20ce3b(0x1f3),'confirm':'確定','cancel':'取消','generalDesc':_0x20ce3b(0x181),'accountingDesc':_0x20ce3b(0x1c0),'currencyDesc':_0x20ce3b(0x1d2),'dateDesc':_0x20ce3b(0x1e2),'thousandthPercentileDesc':_0x20ce3b(0x1de),'decimalPlaces':_0x20ce3b(0x174),'currencyTypes':'貨幣類型','negativeNumberTypes':'負數類型','dateTypes':_0x20ce3b(0x189)},'setFormat':_0x20ce3b(0x1b5)}};export{e as default};
1
+ const _0x2cc2e4=_0x5b4a;function _0x5b4a(_0x159849,_0x4e2000){_0x159849=_0x159849-0x1e2;const _0x514590=_0x5145();let _0x5b4ad3=_0x514590[_0x159849];return _0x5b4ad3;}function _0x5145(){const _0xbf078=['條形圖','節點距離','熱力圖','7VEoHJl','標題文本','數據點','顯示軸線','空心矩形','用直線連接數據點','趨勢線類型','插入圖表','散點圖','{0}\x20形狀','編輯圖表','字段設置','網格線','副標題','節點形狀','5631880pSFQSf','空心圓角矩形','(空)','{0}\x20顏色','氣泡大小','空心圓形','移動平均','堆疊方式','顯示標籤線','數據標籤','圖例選擇模式','開啟選中淡入特效','R平方','氣泡圖至少需要2欄,X軸、Y軸。','右垂直軸','堆疊面積圖','折線圖','常規格式不包含任何特定的數字格式。','3333140DOBNsD','詞雲圖','桑基圖','雷達圖','百分比堆疊面積圖','軸選項','百分比','指示值','逆序軸','Y軸標題','指示線顏色','最大值','8913704mQTkmf','小數位數','百分比堆疊條形圖','空心三角形','空心箭頭','3OkDlKH','数值比例','圖表數據源必須包含多於1列和1欄。','水平軸','詞雲形狀','累積占比系列','最小值','空心菱形','2oUtGQt','正值樣式','環形圖','組合圖','設置標籤格式','小計圖例文本','顯示公式','刻度線位置','貨幣類型','堆疊條形圖','使用\x20{0}\x20作為類別標籤','{0}\x20格式','右Y軸標題','負值圖例文本','累積占比','扇形間距','柱狀圖','自定義圖表','多項式','標籤旋轉','旋轉標籤','視覺映射範圍','圓環孔','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','顯示數據標籤','日期格式將日期和時間系列數值顯示為日期值。','{0}\x20類型','垂直軸','趨勢線粗細','漏斗圖','負數類型','903311VybBdx','力導向','顯示小計','箱型圖','趨勢線線類型','{0}\x20粗細','負值樣式','趨勢線名稱','背景顏色','空心針形','多邊形','數據點樣式','桑基圖不能包含循環數據','線類型','網格線和刻度線','氣泡圖','数值后缀','百分比堆疊','{0}\x20大小','千分位符','力導向選項','系列\x20{0}','44KtJLoa','使用值作為節點大小','標題格式','重複詞雲標籤','小計樣式','顯示空單元格為','刪除圖表','圖表和軸標題','正值圖例文本','添加數據點','633690bWxBTx','標籤位置','排列圖','隱藏圖表面板','344755IVRfdv','圖表類型','{0}\x20透明度','日期類型','指示標籤','刻度線長度','3141117VvOtbZ','請先添加系列開始數據可視化','設置圖表','左對齊','指示線','X軸標題','面積圖','趨勢線','右對齊','移動平均周期','使用右軸','圓角矩形','更多設置','關係圖','長條圖系列','瀑布圖','第三四分位數','圖表樣式'];_0x5145=function(){return _0xbf078;};return _0x5145();}(function(_0x4e0700,_0x21a3c2){const _0x3f677c=_0x5b4a,_0x3ee390=_0x4e0700();while(!![]){try{const _0x30abc1=-parseInt(_0x3f677c(0x25a))/0x1*(parseInt(_0x3f677c(0x23b))/0x2)+-parseInt(_0x3f677c(0x233))/0x3*(-parseInt(_0x3f677c(0x222))/0x4)+parseInt(_0x3f677c(0x1e6))/0x5+parseInt(_0x3f677c(0x1e2))/0x6+parseInt(_0x3f677c(0x201))/0x7*(-parseInt(_0x3f677c(0x22e))/0x8)+-parseInt(_0x3f677c(0x1ec))/0x9+-parseInt(_0x3f677c(0x210))/0xa*(-parseInt(_0x3f677c(0x270))/0xb);if(_0x30abc1===_0x21a3c2)break;else _0x3ee390['push'](_0x3ee390['shift']());}catch(_0x51aed6){_0x3ee390['push'](_0x3ee390['shift']());}}}(_0x5145,0xda472));const e={'chart':{'insertChart':_0x2cc2e4(0x208),'editChart':_0x2cc2e4(0x20b),'openChartPanel':'打開圖表面板','deleteChart':_0x2cc2e4(0x276),'hideChartPanel':_0x2cc2e4(0x1e5),'setupChart':_0x2cc2e4(0x1ee),'customChart':_0x2cc2e4(0x24c),'default':'默認','reset':'重置','chartType':_0x2cc2e4(0x1e7),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':'添加系列','moreSettings':_0x2cc2e4(0x1f8),'min':_0x2cc2e4(0x239),'max':_0x2cc2e4(0x22d),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x2cc2e4(0x206)},'blank':_0x2cc2e4(0x212),'seriesBlock':{'format':'格式','dataPointStyle':_0x2cc2e4(0x265)},'backgroundColor':_0x2cc2e4(0x262),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x2cc2e4(0x20e),'xAxisTitle':_0x2cc2e4(0x1f1),'yAxisTitle':_0x2cc2e4(0x22b),'rightYAxisTitle':_0x2cc2e4(0x247),'titleFormat':_0x2cc2e4(0x272),'titleText':_0x2cc2e4(0x202),'titlePosition':'標題位置','titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':'切換列或欄','useAsCategoryLabels':_0x2cc2e4(0x245),'showEmptyCellsAs':_0x2cc2e4(0x275)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x2cc2e4(0x1ef),'center':'居中','right':_0x2cc2e4(0x1f4)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x2cc2e4(0x1fd),'chartAndAxisTitles':_0x2cc2e4(0x277),'legend':'圖例','legendSelectMode':_0x2cc2e4(0x21a),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x2cc2e4(0x227),'horizontalAxis':_0x2cc2e4(0x236),'verticalAxis':_0x2cc2e4(0x256),'rightVerticalAxis':_0x2cc2e4(0x21e),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x2cc2e4(0x1f6)},'position':'位置','dataLabels':_0x2cc2e4(0x219),'gridlinesAndTicks':_0x2cc2e4(0x268),'indicatorLine':_0x2cc2e4(0x1f0),'indicatorLineType':'指示線類型','indicatorLineColor':_0x2cc2e4(0x22c),'indicatorLabel':_0x2cc2e4(0x1ea),'indicatorValue':_0x2cc2e4(0x229),'shape':{'polygon':_0x2cc2e4(0x264),'circle':'圓形','square':'正方形','triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x2cc2e4(0x1f7),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x2cc2e4(0x215),'emptySquare':'空心正方形','emptyTriangle':_0x2cc2e4(0x231),'emptyDiamond':_0x2cc2e4(0x23a),'emptyRect':_0x2cc2e4(0x205),'emptyRoundRect':_0x2cc2e4(0x211),'emptyPin':_0x2cc2e4(0x263),'emptyArrow':_0x2cc2e4(0x232)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x2cc2e4(0x1e8),'withColor':_0x2cc2e4(0x213),'withThickness':_0x2cc2e4(0x25f),'withType':_0x2cc2e4(0x255),'withSize':_0x2cc2e4(0x26c),'withShape':_0x2cc2e4(0x20a),'withFormat':_0x2cc2e4(0x246),'dataPoint':_0x2cc2e4(0x203),'dataNodeShape':_0x2cc2e4(0x20f),'addDataPoint':_0x2cc2e4(0x279),'point':'數據點','percentage':_0x2cc2e4(0x228),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x2cc2e4(0x26b)},'lineDashType':_0x2cc2e4(0x267),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x2cc2e4(0x20d)},'ticks':{'majorTick':'主刻度線','tickPosition':_0x2cc2e4(0x242),'tickLength':_0x2cc2e4(0x1eb)},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x2cc2e4(0x26f),'categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x2cc2e4(0x253),'padAngle':_0x2cc2e4(0x24a),'halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':_0x2cc2e4(0x234),'pieValSuffix':_0x2cc2e4(0x26a),'pieDigitalFixed':_0x2cc2e4(0x22f),'showLabelLine':_0x2cc2e4(0x218),'reverseAxisOrder':_0x2cc2e4(0x22a),'showAxisLine':_0x2cc2e4(0x204),'labelPosition':_0x2cc2e4(0x1e3),'labelText':'標籤文本','repeatWordCould':_0x2cc2e4(0x273),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x2cc2e4(0x24e),'wordCloudShape':_0x2cc2e4(0x237),'useDateAxis':'使用日期軸','dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x2cc2e4(0x251),'msg':{'invalidSource':_0x2cc2e4(0x235),'emptyTips':_0x2cc2e4(0x1ed),'sankeyCircularTips':_0x2cc2e4(0x266)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x2cc2e4(0x1f3),'displayName':'趨勢線名稱','addTrendLine':'添加趨勢線','trendlineType':_0x2cc2e4(0x207),'trendlineName':_0x2cc2e4(0x261),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x2cc2e4(0x257),'trendlineDashType':_0x2cc2e4(0x25e),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x2cc2e4(0x216),'poly':_0x2cc2e4(0x24d),'order':'多項式階數','period':_0x2cc2e4(0x1f5),'showFormula':_0x2cc2e4(0x241),'showR2':'顯示R平方','formula':'公式','r2':_0x2cc2e4(0x21c)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x2cc2e4(0x214),'label':'氣泡標籤','emptyTips':_0x2cc2e4(0x21d)},'relation':{'title':_0x2cc2e4(0x1f9),'auto':'自動','circular':'環形','force':_0x2cc2e4(0x25b),'useValueAsSymbolSize':_0x2cc2e4(0x271),'layoutType':'佈局類型','forceOptions':_0x2cc2e4(0x26e),'repulsion':'斥力','gravity':'引力','edgeLength':_0x2cc2e4(0x1ff),'rotateLabel':_0x2cc2e4(0x24f),'emphasis':_0x2cc2e4(0x21b),'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'waterfall':{'stackType':_0x2cc2e4(0x217),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x2cc2e4(0x25c),'positiveStyle':_0x2cc2e4(0x23c),'negativeStyle':_0x2cc2e4(0x260),'subtotalStyle':_0x2cc2e4(0x274),'positiveLegendText':_0x2cc2e4(0x278),'negativeLegendText':_0x2cc2e4(0x248),'subtotalLegendText':_0x2cc2e4(0x240)},'pareto':{'lineName':_0x2cc2e4(0x249),'lineSeries':_0x2cc2e4(0x238),'barSeries':_0x2cc2e4(0x1fa)},'visualMapScope':_0x2cc2e4(0x250),'boxplot':{'min':'最小值','q1':'第一四分位數','median':'中位數','q3':_0x2cc2e4(0x1fc),'max':_0x2cc2e4(0x22d)}},'chartTypes':{'line':_0x2cc2e4(0x220),'area':_0x2cc2e4(0x1f2),'areaStacked':_0x2cc2e4(0x21f),'areaPercentStacked':_0x2cc2e4(0x226),'column':_0x2cc2e4(0x24b),'bar':_0x2cc2e4(0x1fe),'barStacked':_0x2cc2e4(0x244),'barPercentStacked':_0x2cc2e4(0x230),'pie':'餅圖','donut':_0x2cc2e4(0x23d),'scatter':_0x2cc2e4(0x209),'radar':_0x2cc2e4(0x225),'bubble':_0x2cc2e4(0x269),'stock':'股票圖','combination':_0x2cc2e4(0x23e),'wordCloud':_0x2cc2e4(0x223),'funnel':_0x2cc2e4(0x258),'relation':_0x2cc2e4(0x1f9),'waterfall':_0x2cc2e4(0x1fb),'pareto':_0x2cc2e4(0x1e4),'sankey':_0x2cc2e4(0x224),'heatmap':_0x2cc2e4(0x200),'boxplot':_0x2cc2e4(0x25d)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x2cc2e4(0x26d),'fieldSetting':_0x2cc2e4(0x20c),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x2cc2e4(0x221),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x2cc2e4(0x254),'thousandthPercentileDesc':_0x2cc2e4(0x252),'decimalPlaces':_0x2cc2e4(0x22f),'currencyTypes':_0x2cc2e4(0x243),'negativeNumberTypes':_0x2cc2e4(0x259),'dateTypes':_0x2cc2e4(0x1e9)},'setFormat':_0x2cc2e4(0x23f)}};export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
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};
1
+ const _0x3d5107=_0x2cd5;(function(_0x555fb0,_0x28488d){const _0x5056ae=_0x2cd5,_0x4b66f0=_0x555fb0();while(!![]){try{const _0x59f1be=parseInt(_0x5056ae(0x15b))/0x1*(parseInt(_0x5056ae(0x17c))/0x2)+-parseInt(_0x5056ae(0x14f))/0x3*(-parseInt(_0x5056ae(0x11c))/0x4)+-parseInt(_0x5056ae(0x15d))/0x5*(-parseInt(_0x5056ae(0x139))/0x6)+-parseInt(_0x5056ae(0x147))/0x7+parseInt(_0x5056ae(0x116))/0x8+-parseInt(_0x5056ae(0x1c1))/0x9+parseInt(_0x5056ae(0x129))/0xa*(-parseInt(_0x5056ae(0x14d))/0xb);if(_0x59f1be===_0x28488d)break;else _0x4b66f0['push'](_0x4b66f0['shift']());}catch(_0x57c148){_0x4b66f0['push'](_0x4b66f0['shift']());}}}(_0x10fa,0xc09a4));var R=Object['defineProperty'],k=(_0x5bad5a,_0x59fae0,_0x23838e)=>_0x59fae0 in _0x5bad5a?R(_0x5bad5a,_0x59fae0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23838e}):_0x5bad5a[_0x59fae0]=_0x23838e,n=(_0x24fafe,_0x56ffae,_0x4a671e)=>k(_0x24fafe,typeof _0x56ffae!=_0x3d5107(0x169)?_0x56ffae+'':_0x56ffae,_0x4a671e);import{ChartThemeService as _0x297d91,ChartTypeBits as _0x175c54,LegendPositionEnum as _0x812238,SelectModeEnum as _0x488ec1,AxisAlignEnum as _0x5ebec0,ChartBorderDashType as _0x248abc,LinePointShape as _0x5e16d4,TitlePositionEnum as _0x90f1cb,RadarShape as _0x16093d}from'@univerjs-pro/engine-chart';import{setProperty as _0x4e0c8d,SheetsChartService as _0x4bd493,ChartUpdateSourceCommand as _0x335784,ChartUpdateConfigCommand as _0x3f0ce5}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x4df80d}from'@univerjs-pro/sheets-chart-ui';function _0x10fa(){const _0x34f30b=['Line','25ehvlkC','label','getCharts','get','options','titles.yAxisTitle.fontSize','registerTheme','content','getRenderById','fontColor','bold','keys','symbol','pie.borderColor','pie','legend.label.italic','titles.rightYAxisTitle.color','setAbsolutePosition','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','titles.xAxisTitle.content','allSeriesStyle.point.color','setAxisPointerStyle','setBorderColor','rightYAxisTitle','build','titles.rightYAxisTitle.content','height','getRange','chartType','color','getUnitId','16dIpOzo','with','titles.yAxisTitle.color','setShape','setRightYAxisTitle','Pie','italic','transposeRowsAndColumns','AxisAlignEnum','setDoughnutHole','context','asLineChart','clearRange','area.lineStyle','_injector','getUnitChartModels','ChartType','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.title.font','top','radar','seriesStyleMap','DRAWING_CHART','titles.rightYAxisTitle.family','setTheme','gradientFill','titles.title.family','fontStyle','getCurrentUnitForType','shape','titles.titlePosition','setHeight','indicatorLineType','setShowLabelLine','unitId','titles.xAxisTitle.font','indicatorLabelColor','font','backgroundColor','tooltip.indicatorLabelTextColor','setPosition','rightYAxis','titles.rightYAxisTitle.fontSize','getSheetId','RadarShape','setSeriesStyle','subUnitId','rightYAxis.label.axisTitleAlign','allSeriesStyle.rightYAxis','pie.doughnutHole','lineStyle','config','dataPointShape','fill','sourceSheetName','setIsHalfPie','getChartId','allSeriesStyle.border','executeCommand','invalidValueType','setOptions','titles.rightYAxisTitle.bold','legend.label.bold','updateRange','legend.label.fontSize','width','borderColor','newChart','showLabelLine','1811196aVLurJ','getRangeInfo','registerChartTheme','setYAxisTextStyle','getChartModel','isRowDirection','axisAlignment','titles.title.color','rosePie','allSeriesStyle','sheetName','legend','setRosePie','doughnutHole','setXAxisTextStyle','indicatorLineColor','8628896JbsbJv','_workbook','yRightAxis','legend.selectMode','allSeriesStyle.point','titles.yAxisTitle.family','14284fPCwoI','titles.xAxisTitle.fontSize','axisPointer','tooltip.indicatorLabelColor','extend','yAxis','UNIVER_SHEET','selectMode','setHasPaddingAngle','addRange','title','setChartType','isHalfPie','17872610EALqgX','yAxisTitle','xAxisTitle','titles.title.fontSize','hasPaddingAngle','setXAxisTitle','Radar','xAxis','tooltip.indicatorLineType','_commandService','position','border','pie.isHalfPie','area','LinePointShape','titles.xAxisTitle.color','1603110pVWTUH','pie.hasPaddingAngle','allSeriesStyle.point.size','setAllSeriesStyle','chartId','getChartType','titles.yAxisTitle.font','dataPointColor','setWidth','tooltip.indicatorLineColor','getWorkbook','fontSize','setTransposeRowsAndColumns','dataPointSize','2752603dqpiDN','pie.showLabelLine','setDataPointColor','range','left','setInvalidValueStrategy','11DjdpMY','category','393zJpgjM','insertChart','setLineStyle','asPieChart','allSeriesStyle.color','theme','map','titles.title.content','modify','pie.rosePie','getSeriesData','titles.xAxisTitle.bold','36037iYpybJ'];_0x10fa=function(){return _0x34f30b;};return _0x10fa();}import{ICommandService as _0x542e52,IUniverInstanceService as _0x355ce4,UniverInstanceType as _0x2cfc02,generateRandomId as _0x25ff7b,DrawingTypeEnum as _0x4adb39}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x2be3d7}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2dd69b}from'@univerjs/sheets/facade';import{FBase as _0x5cb3a0,FEnum as _0x42f65e}from'@univerjs/core/facade';function _0x2cd5(_0x182ae4,_0x5e61ce){_0x182ae4=_0x182ae4-0x10a;const _0x10fa3a=_0x10fa();let _0x2cd5dd=_0x10fa3a[_0x182ae4];return _0x2cd5dd;}import{deserializeRangeWithSheet as _0x46d967}from'@univerjs/engine-formula';import{IRenderManagerService as _0x64f3f6}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x53907b,SheetSkeletonManagerService as _0x29a6d6,convertPositionCellToSheetOverGrid as _0x489ce1}from'@univerjs/sheets-ui';const s=(_0x237eda,_0x547795,_0x1b6e3a)=>{_0x1b6e3a!==void 0x0&&_0x4e0c8d(_0x237eda,_0x547795,_0x1b6e3a);},C=(_0x55d2b1,_0x501042,_0x219a8a,_0x380e70={})=>{const _0x45e9fc=_0x3d5107,_0x30b6fd={},_0x17d59a={};if(_0x380e70[_0x45e9fc(0x126)]){const _0x10b33f=_0x380e70[_0x45e9fc(0x126)];s(_0x30b6fd,_0x45e9fc(0x156),_0x10b33f[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x18e),_0x10b33f[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x12c),_0x10b33f[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x10d),_0x10b33f['fontColor']),s(_0x30b6fd,_0x45e9fc(0x196),_0x10b33f[_0x45e9fc(0x197)]),s(_0x30b6fd,'titles.title.bold',_0x10b33f[_0x45e9fc(0x167)]),s(_0x30b6fd,'titles.title.align',_0x10b33f['titleAlignment']),s(_0x30b6fd,_0x45e9fc(0x19a),_0x10b33f[_0x45e9fc(0x133)]);}if(_0x380e70[_0x45e9fc(0x111)]){const _0x2d6225=_0x380e70[_0x45e9fc(0x111)];s(_0x30b6fd,'legend.position',_0x2d6225[_0x45e9fc(0x133)]),s(_0x30b6fd,_0x45e9fc(0x119),_0x2d6225[_0x45e9fc(0x123)]),s(_0x30b6fd,_0x45e9fc(0x1bc),_0x2d6225['fontSize']),s(_0x30b6fd,'legend.label.color',_0x2d6225[_0x45e9fc(0x17a)]),s(_0x30b6fd,_0x45e9fc(0x1ba),_0x2d6225['bold']),s(_0x30b6fd,_0x45e9fc(0x16c),_0x2d6225[_0x45e9fc(0x182)]);}if(_0x380e70[_0x45e9fc(0x16b)]){const _0x488e2d=_0x380e70[_0x45e9fc(0x16b)];s(_0x30b6fd,_0x45e9fc(0x1ad),_0x488e2d['doughnutHole']),s(_0x30b6fd,'pie.borderColor',_0x488e2d[_0x45e9fc(0x1be)]),s(_0x30b6fd,_0x45e9fc(0x13a),_0x488e2d[_0x45e9fc(0x12d)]),s(_0x30b6fd,_0x45e9fc(0x135),_0x488e2d[_0x45e9fc(0x128)]),s(_0x30b6fd,'pie.rosePie',_0x488e2d[_0x45e9fc(0x10e)]),s(_0x30b6fd,_0x45e9fc(0x148),_0x488e2d[_0x45e9fc(0x1c0)]);}if(_0x380e70['axisPointer']){const _0x31cd1e=_0x380e70[_0x45e9fc(0x11e)];s(_0x30b6fd,_0x45e9fc(0x11f),_0x31cd1e[_0x45e9fc(0x1a0)]),s(_0x30b6fd,_0x45e9fc(0x131),_0x31cd1e[_0x45e9fc(0x19c)]),s(_0x30b6fd,_0x45e9fc(0x142),_0x31cd1e[_0x45e9fc(0x115)]),s(_0x30b6fd,_0x45e9fc(0x1a3),_0x31cd1e['indicatorLabelTextColor']);}if(_0x380e70['allSeriesStyle']&&(s(_0x30b6fd,_0x45e9fc(0x1b5),_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x134)]),s(_0x30b6fd,'allSeriesStyle.label',_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x15e)]),s(_0x30b6fd,_0x45e9fc(0x1ac),_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x1a5)]),s(_0x30b6fd,_0x45e9fc(0x11a),_0x380e70[_0x45e9fc(0x10f)]['point']),s(_0x30b6fd,_0x45e9fc(0x153),_0x380e70['allSeriesStyle']['color'])),_0x380e70[_0x45e9fc(0x136)]&&s(_0x30b6fd,_0x45e9fc(0x189),_0x380e70[_0x45e9fc(0x136)]['lineStyle']),_0x380e70[_0x45e9fc(0x154)]&&s(_0x30b6fd,_0x45e9fc(0x154),_0x380e70[_0x45e9fc(0x154)]),_0x380e70['backgroundColor']&&s(_0x30b6fd,_0x45e9fc(0x1a2),_0x380e70[_0x45e9fc(0x1a2)]),_0x380e70[_0x45e9fc(0x1be)]&&s(_0x30b6fd,_0x45e9fc(0x1be),_0x380e70[_0x45e9fc(0x1be)]),_0x380e70['gradientFill']&&s(_0x30b6fd,_0x45e9fc(0x195),_0x380e70[_0x45e9fc(0x195)]),_0x380e70[_0x45e9fc(0x1b7)]&&s(_0x30b6fd,_0x45e9fc(0x1b7),_0x380e70[_0x45e9fc(0x1b7)]),_0x380e70['radar']&&s(_0x30b6fd,'radar',_0x380e70[_0x45e9fc(0x190)]),_0x380e70[_0x45e9fc(0x12b)]){const _0x12c3ff=_0x380e70[_0x45e9fc(0x12b)];s(_0x30b6fd,_0x45e9fc(0x170),_0x12c3ff[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x19f),_0x12c3ff[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x11d),_0x12c3ff[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x138),_0x12c3ff[_0x45e9fc(0x166)]),s(_0x30b6fd,'titles.xAxisTitle.family',_0x12c3ff[_0x45e9fc(0x197)]),s(_0x30b6fd,_0x45e9fc(0x15a),_0x12c3ff['bold']),s(_0x30b6fd,'xAxis.label.axisTitleAlign',_0x12c3ff[_0x45e9fc(0x10c)]);}if(_0x380e70[_0x45e9fc(0x12a)]){const _0x3365be=_0x380e70[_0x45e9fc(0x12a)];s(_0x30b6fd,'titles.yAxisTitle.content',_0x3365be[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x13f),_0x3365be[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x162),_0x3365be['fontSize']),s(_0x30b6fd,_0x45e9fc(0x17e),_0x3365be[_0x45e9fc(0x166)]),s(_0x30b6fd,_0x45e9fc(0x11b),_0x3365be['fontStyle']),s(_0x30b6fd,'titles.yAxisTitle.bold',_0x3365be['bold']),s(_0x30b6fd,'yAxis.label.axisTitleAlign',_0x3365be['axisAlignment']);}if(_0x380e70[_0x45e9fc(0x174)]){const _0x9627d8=_0x380e70[_0x45e9fc(0x174)];s(_0x30b6fd,_0x45e9fc(0x176),_0x9627d8[_0x45e9fc(0x164)]),s(_0x30b6fd,'titles.rightYAxisTitle.font',_0x9627d8[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x1a6),_0x9627d8[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x16d),_0x9627d8[_0x45e9fc(0x166)]),s(_0x30b6fd,_0x45e9fc(0x193),_0x9627d8[_0x45e9fc(0x197)]),s(_0x30b6fd,_0x45e9fc(0x1b9),_0x9627d8[_0x45e9fc(0x167)]),s(_0x30b6fd,_0x45e9fc(0x1ab),_0x9627d8[_0x45e9fc(0x10c)]);}_0x380e70[_0x45e9fc(0x130)]&&s(_0x30b6fd,'xAxis',_0x380e70[_0x45e9fc(0x130)]),_0x380e70[_0x45e9fc(0x121)]&&s(_0x30b6fd,_0x45e9fc(0x121),_0x380e70['yAxis']),_0x380e70['yRightAxis']&&s(_0x30b6fd,_0x45e9fc(0x1a5),_0x380e70[_0x45e9fc(0x118)]),_0x380e70[_0x45e9fc(0x191)]&&s(_0x30b6fd,_0x45e9fc(0x191),_0x380e70['seriesStyleMap']);const _0xab0ae1={'unitId':_0x55d2b1,'chartModelId':_0x501042};let _0x13a7c3=!0x1;if(_0x219a8a!==void 0x0&&(_0xab0ae1[_0x45e9fc(0x179)]=_0x219a8a,_0x13a7c3=!0x0),Object[_0x45e9fc(0x168)](_0x30b6fd)['length']>0x0&&(_0xab0ae1['style']=_0x30b6fd,_0x13a7c3=!0x0),Object['keys'](_0x17d59a)['length']>0x0&&(_0xab0ae1[_0x45e9fc(0x186)]=_0x17d59a,_0x13a7c3=!0x0),_0x13a7c3)return _0xab0ae1;};class c extends _0x5cb3a0{constructor(_0x23165f,_0x1e371c,_0x5a8ec2,_0x3579ff,_0x1d5c5f){const _0xb0ad7=_0x3d5107;super(),n(this,_0xb0ad7(0x117)),n(this,_0xb0ad7(0x18a)),n(this,_0xb0ad7(0x19e)),n(this,'subUnitId'),n(this,'chartId'),n(this,_0xb0ad7(0x14a)),n(this,_0xb0ad7(0x1b2)),n(this,'x'),n(this,'y'),n(this,_0xb0ad7(0x1bd)),n(this,'height'),n(this,'chartType'),n(this,_0xb0ad7(0x161)),n(this,_0xb0ad7(0x183)),(this[_0xb0ad7(0x19e)]=_0x23165f,this[_0xb0ad7(0x1aa)]=_0x1e371c,this[_0xb0ad7(0x117)]=_0x5a8ec2,this[_0xb0ad7(0x18a)]=_0x3579ff,_0x1d5c5f&&(this[_0xb0ad7(0x13d)]=_0x1d5c5f));}[_0x3d5107(0x13e)](){const _0x3fdc6f=_0x3d5107;return this[_0x3fdc6f(0x179)];}[_0x3d5107(0x125)](_0x2d5521){const _0x15f547=_0x3d5107;if(typeof _0x2d5521=='string'){const _0x433ce9=_0x46d967(_0x2d5521);_0x433ce9[_0x15f547(0x110)]&&(this['sourceSheetName']=_0x433ce9[_0x15f547(0x110)]),this[_0x15f547(0x14a)]=_0x433ce9[_0x15f547(0x14a)];}else this[_0x15f547(0x14a)]=_0x2d5521;return this;}[_0x3d5107(0x188)](){const _0x425856=_0x3d5107;return this[_0x425856(0x14a)]=void 0x0,this[_0x425856(0x1b2)]=void 0x0,this;}[_0x3d5107(0x1a4)](_0xeb03c8,_0x4479ba,_0x3479c5,_0x3ac408){const _0x40b3da=_0x3d5107,_0xf905e2=this[_0x40b3da(0x18a)][_0x40b3da(0x160)](_0x64f3f6)[_0x40b3da(0x165)](this[_0x40b3da(0x19e)]);if(!_0xf905e2)throw new Error(_0x40b3da(0x18d));const _0x1ff5ed=_0xf905e2[_0x40b3da(0x17d)](_0x53907b),_0x21b76f=_0xf905e2['with'](_0x29a6d6),{transform:_0x2821fc}=_0x489ce1(this[_0x40b3da(0x19e)],this[_0x40b3da(0x1aa)],{'row':_0xeb03c8,'column':_0x4479ba,'rowOffset':_0x3479c5,'columnOffset':_0x3ac408},0x1,0x1,_0x1ff5ed,_0x21b76f),_0x5e7690=_0x2821fc[_0x40b3da(0x18f)],_0x2771e9=_0x2821fc[_0x40b3da(0x14b)];return this['x']=_0x2771e9,this['y']=_0x5e7690,this;}[_0x3d5107(0x16e)](_0xc930ec,_0x59ea2c){return this['x']=_0xc930ec,this['y']=_0x59ea2c,this;}[_0x3d5107(0x127)](_0x535c79){const _0x1d4e1e=_0x3d5107;return this[_0x1d4e1e(0x179)]=_0x535c79,this;}[_0x3d5107(0x141)](_0x4d68c3){const _0x2e0fe4=_0x3d5107;return this[_0x2e0fe4(0x1bd)]=_0x4d68c3,this;}[_0x3d5107(0x19b)](_0x3978bd){const _0x1c9180=_0x3d5107;return this[_0x1c9180(0x177)]=_0x3978bd,this;}['setOptions'](_0x14eed9,_0x5f0552){const _0x416f1a=_0x3d5107;return this[_0x416f1a(0x161)]||(this[_0x416f1a(0x161)]={}),_0x14eed9===''?(this[_0x416f1a(0x161)]={...this[_0x416f1a(0x161)],..._0x5f0552},this):(_0x4e0c8d(this[_0x416f1a(0x161)],_0x14eed9,_0x5f0552),this);}[_0x3d5107(0x145)](_0x327818){const _0x4d7830=_0x3d5107;return this[_0x4d7830(0x183)]=_0x327818,this;}[_0x3d5107(0x194)](_0x5301ae){const _0xe1a51d=_0x3d5107;return this[_0xe1a51d(0x1b8)](_0xe1a51d(0x154),_0x5301ae),this;}[_0x3d5107(0x12e)](_0x4cc5aa){const _0x36e96a=_0x3d5107;var _0x2a7ff8;const _0x5386b5=((_0x2a7ff8=this[_0x36e96a(0x161)])==null?void 0x0:_0x2a7ff8[_0x36e96a(0x12b)])||{};return _0x5386b5[_0x36e96a(0x164)]=_0x4cc5aa,this[_0x36e96a(0x1b8)](_0x36e96a(0x12b),_0x5386b5),this;}['setYAxisTitle'](_0x206fe4){const _0x550e45=_0x3d5107;var _0x33c09d;const _0x4925aa=((_0x33c09d=this[_0x550e45(0x161)])==null?void 0x0:_0x33c09d[_0x550e45(0x12a)])||{};return _0x4925aa['content']=_0x206fe4,this[_0x550e45(0x1b8)]('yAxisTitle',_0x4925aa),this;}[_0x3d5107(0x180)](_0x5d4bcc){const _0x20074c=_0x3d5107;var _0x5b91da;const _0x53f09a=((_0x5b91da=this[_0x20074c(0x161)])==null?void 0x0:_0x5b91da[_0x20074c(0x174)])||{};return _0x53f09a[_0x20074c(0x164)]=_0x5d4bcc,this[_0x20074c(0x1b8)](_0x20074c(0x174),_0x53f09a),this;}[_0x3d5107(0x114)](_0x365097){const _0xffe09b=_0x3d5107;var _0x167ecf;const _0x460db9=((_0x167ecf=this[_0xffe09b(0x161)])==null?void 0x0:_0x167ecf['xAxisTitle'])||{};return this[_0xffe09b(0x1b8)](_0xffe09b(0x12b),{..._0x460db9,..._0x365097}),this;}[_0x3d5107(0x1c4)](_0x481f4a){const _0x41f531=_0x3d5107;var _0x113389;const _0x1e4b37=((_0x113389=this[_0x41f531(0x161)])==null?void 0x0:_0x113389[_0x41f531(0x12a)])||{};return this[_0x41f531(0x1b8)](_0x41f531(0x12a),{..._0x1e4b37,..._0x481f4a}),this;}['setRightYAxisTextStyle'](_0xe9babc){const _0x5207d7=_0x3d5107;var _0x15b778;const _0x5346f2=((_0x15b778=this[_0x5207d7(0x161)])==null?void 0x0:_0x15b778[_0x5207d7(0x174)])||{};return this['setOptions']('rightYAxisTitle',{..._0x5346f2,..._0xe9babc}),this;}[_0x3d5107(0x14c)](_0x4d316f){const _0x3b91d8=_0x3d5107;return this[_0x3b91d8(0x1b8)](_0x3b91d8(0x1b7),_0x4d316f),this;}[_0x3d5107(0x172)](_0x430ac4){const _0xf2f58c=_0x3d5107;return this[_0xf2f58c(0x1b8)]('axisPointer',_0x430ac4),this;}[_0x3d5107(0x13c)](_0xb13799){const _0x3d779c=_0x3d5107;return this['setOptions'](_0x3d779c(0x10f),_0xb13799),this;}[_0x3d5107(0x1a9)](_0x2bf13d,_0x1602fe){const _0x1e06b8=_0x3d5107;return this[_0x1e06b8(0x1b8)]('seriesStyleMap',{[_0x2bf13d]:_0x1602fe}),this;}[_0x3d5107(0x175)](){const _0x5ef693=_0x3d5107;return{'unitId':this[_0x5ef693(0x19e)],'subUnitId':this[_0x5ef693(0x1aa)],'chartId':this[_0x5ef693(0x13d)],'range':this[_0x5ef693(0x14a)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x5ef693(0x1bd)],'height':this[_0x5ef693(0x177)],'chartType':this[_0x5ef693(0x179)],'options':this['options'],'isRowDirection':this[_0x5ef693(0x183)]};}}class P{constructor(_0x9e418,_0x106843,_0x297ca9,_0x49908a){const _0x223804=_0x3d5107;n(this,_0x223804(0x19e)),n(this,_0x223804(0x1aa)),n(this,'chartId'),n(this,'_injector'),(this['unitId']=_0x9e418,this['subUnitId']=_0x106843,this[_0x223804(0x13d)]=_0x297ca9,this[_0x223804(0x18a)]=_0x49908a);}[_0x3d5107(0x1b4)](){const _0x19f842=_0x3d5107;return this[_0x19f842(0x13d)];}[_0x3d5107(0x178)](){const _0xe7d9da=_0x3d5107,_0xd2c5b7=this[_0xe7d9da(0x18a)][_0xe7d9da(0x160)](_0x4bd493)[_0xe7d9da(0x10a)](this[_0xe7d9da(0x13d)]);if(_0xd2c5b7)return _0xd2c5b7['dataSource'][_0xe7d9da(0x1c2)]();}[_0x3d5107(0x1bb)](_0x3a1d1e){const _0xfc6a00=_0x3d5107;return this[_0xfc6a00(0x18a)]['get'](_0x542e52)['executeCommand'](_0x335784['id'],{'unitId':this[_0xfc6a00(0x19e)],'chartModelId':this[_0xfc6a00(0x13d)],'range':_0x3a1d1e});}[_0x3d5107(0x159)](){const _0x1b37cf=_0x3d5107;var _0x1c81a4;const _0x3fd543=this[_0x1b37cf(0x18a)][_0x1b37cf(0x160)](_0x4bd493)[_0x1b37cf(0x10a)](this[_0x1b37cf(0x13d)]);if(_0x3fd543)return(_0x1c81a4=_0x3fd543['config'])==null?void 0x0:_0x1c81a4['series'];}['getCategoryData'](){const _0x103436=_0x3d5107;var _0x39fcb8;const _0x2422d5=this[_0x103436(0x18a)][_0x103436(0x160)](_0x4bd493)['getChartModel'](this[_0x103436(0x13d)]);if(_0x2422d5)return(_0x39fcb8=_0x2422d5[_0x103436(0x1af)])==null?void 0x0:_0x39fcb8[_0x103436(0x14e)];}[_0x3d5107(0x157)](){const _0x527edb=_0x3d5107,_0x3621f0=this[_0x527edb(0x18a)]['get'](_0x355ce4)[_0x527edb(0x198)](_0x2cfc02[_0x527edb(0x122)]);return new c(this['unitId'],this[_0x527edb(0x1aa)],_0x3621f0,this[_0x527edb(0x18a)],this[_0x527edb(0x13d)]);}}class $ extends _0x2dd69b{async[_0x3d5107(0x150)](_0x59d77e){const _0x44f6cb=_0x3d5107;var _0x27146a,_0x558cfb,_0x470feb;const _0x251e66=_0x59d77e[_0x44f6cb(0x19e)]||this[_0x44f6cb(0x143)]()['getUnitId'](),_0x13941c=_0x59d77e[_0x44f6cb(0x1aa)]||this[_0x44f6cb(0x1a7)](),_0x54c7e6=_0x59d77e[_0x44f6cb(0x13d)]||_0x25ff7b(),_0x194955=_0x59d77e[_0x44f6cb(0x179)],_0x22b461=_0x59d77e['range'],_0x21cc39=_0x59d77e[_0x44f6cb(0x1b2)],_0x2457cc={'x':_0x59d77e['x'],'y':_0x59d77e['y']},_0x4e683d=_0x59d77e[_0x44f6cb(0x1bd)],_0xa4e515=_0x59d77e['height'],_0x4b1039=(_0x27146a=_0x59d77e['options'])==null?void 0x0:_0x27146a[_0x44f6cb(0x1a2)],_0x5c186a=(_0x558cfb=_0x59d77e[_0x44f6cb(0x161)])==null?void 0x0:_0x558cfb[_0x44f6cb(0x1be)],_0x1b5ca8=C(_0x251e66,_0x54c7e6,_0x194955,_0x59d77e[_0x44f6cb(0x161)]),_0x56cce5=(_0x470feb=_0x59d77e[_0x44f6cb(0x10b)])!=null?_0x470feb:!0x0;if(!_0x22b461)throw new Error(_0x44f6cb(0x16f));return await this[_0x44f6cb(0x132)][_0x44f6cb(0x1b6)](_0x4df80d['id'],{'unitId':_0x251e66,'subUnitId':_0x13941c,'chartId':_0x54c7e6,'chartType':_0x194955,'range':_0x22b461,'sourceSheetName':_0x21cc39,'position':_0x2457cc,'width':_0x4e683d,'height':_0xa4e515,'backgroundColor':_0x4b1039,'borderColor':_0x5c186a,'config':_0x1b5ca8,'isRowDirection':_0x56cce5}),new P(_0x251e66,_0x13941c,_0x54c7e6,this[_0x44f6cb(0x18a)]);}['updateChart'](_0x2797ad){const _0x1aa497=_0x3d5107,{unitId:_0x4055a4,chartId:_0x44098f,chartType:_0xcf2ee9,options:_0x313158}=_0x2797ad,_0x3e981c=C(_0x4055a4,_0x44098f,_0xcf2ee9,_0x313158);this[_0x1aa497(0x132)][_0x1aa497(0x1b6)](_0x3f0ce5['id'],_0x3e981c);}[_0x3d5107(0x1bf)](_0x2e041b){const _0x30f42b=_0x3d5107;if(_0x2e041b)return new c(_0x2e041b['unitId'],_0x2e041b[_0x30f42b(0x1aa)],this['_workbook'],this['_injector'],_0x2e041b[_0x30f42b(0x13d)]);const _0x23bbc4=this[_0x30f42b(0x143)]()[_0x30f42b(0x17b)](),_0x246e41=this[_0x30f42b(0x1a7)]();return new c(_0x23bbc4,_0x246e41,this['_workbook'],this[_0x30f42b(0x18a)]);}[_0x3d5107(0x15f)](){const _0x35a56b=_0x3d5107,_0x36529e=this[_0x35a56b(0x18a)][_0x35a56b(0x160)](_0x4bd493),_0x2a896e=this[_0x35a56b(0x143)]()[_0x35a56b(0x17b)]();return _0x36529e[_0x35a56b(0x18b)](_0x2a896e,this[_0x35a56b(0x1a7)]())[_0x35a56b(0x155)](_0x3d7dab=>new P(_0x2a896e,this[_0x35a56b(0x1a7)](),_0x3d7dab['id'],this[_0x35a56b(0x18a)]));}['removeChart'](_0x536032){const _0x52770c=_0x3d5107,_0x5dcc1c=_0x536032[_0x52770c(0x19e)],_0x41b809=_0x536032['subUnitId'],_0x32edb4=_0x536032[_0x52770c(0x13d)],_0x34a9ac={'unitId':_0x5dcc1c,'drawings':[{'unitId':_0x5dcc1c,'subUnitId':_0x41b809,'drawingId':_0x32edb4,'drawingType':_0x4adb39[_0x52770c(0x192)]}]};return this['_commandService']['executeCommand'](_0x2be3d7['id'],_0x34a9ac);}[_0x3d5107(0x1c3)](_0x4b4cf4,_0x381d03){const _0x5a984b=_0x3d5107;this[_0x5a984b(0x18a)][_0x5a984b(0x160)](_0x297d91)[_0x5a984b(0x163)](_0x4b4cf4,_0x381d03);}}_0x2dd69b[_0x3d5107(0x120)]($);class tt extends _0x42f65e{get[_0x3d5107(0x18c)](){return _0x175c54;}get['LegendPositionEnum'](){return _0x812238;}get['SelectModeEnum'](){return _0x488ec1;}get[_0x3d5107(0x184)](){return _0x5ebec0;}get['ChartBorderDashType'](){return _0x248abc;}get[_0x3d5107(0x137)](){return _0x5e16d4;}get['TitlePositionEnum'](){return _0x90f1cb;}get[_0x3d5107(0x1a8)](){return _0x16093d;}}_0x42f65e[_0x3d5107(0x120)](tt);class et extends c{constructor(_0x26eb2b,_0x2e9cb5,_0x58b016,_0x33dcb9,_0x2a178f){const _0x1a7305=_0x3d5107;super(_0x26eb2b,_0x2e9cb5,_0x58b016,_0x33dcb9,_0x2a178f),n(this,_0x1a7305(0x1ae)),n(this,'dataPointShape'),n(this,_0x1a7305(0x140)),n(this,_0x1a7305(0x146));}[_0x3d5107(0x151)](_0x3fee2b){const _0x299a22=_0x3d5107;return this[_0x299a22(0x1ae)]=_0x3fee2b,this;}['setDataPointShape'](_0x2747c9){return this['dataPointShape']=_0x2747c9,this;}[_0x3d5107(0x149)](_0x599e7a){const _0x11f565=_0x3d5107;return this[_0x11f565(0x140)]=_0x599e7a,this;}['setDataPointSize'](_0x29450e){const _0x1b66d4=_0x3d5107;return this[_0x1b66d4(0x146)]=_0x29450e,this;}[_0x3d5107(0x175)](){const _0x2ba21c=_0x3d5107,_0x2fc4d7=super[_0x2ba21c(0x175)]();_0x2fc4d7['chartType']=_0x175c54[_0x2ba21c(0x15c)];const _0x5be5f1=_0x2fc4d7[_0x2ba21c(0x161)]||{};return s(_0x5be5f1,'area.lineStyle',this[_0x2ba21c(0x1ae)]),s(_0x5be5f1,'allSeriesStyle.point.shape',this[_0x2ba21c(0x1b0)]),s(_0x5be5f1,_0x2ba21c(0x171),this[_0x2ba21c(0x140)]),s(_0x5be5f1,_0x2ba21c(0x13b),this[_0x2ba21c(0x146)]),_0x2fc4d7['options']=_0x5be5f1,_0x2fc4d7;}}class it extends c{[_0x3d5107(0x187)](){const _0x286d68=_0x3d5107;return new et(this[_0x286d68(0x19e)],this[_0x286d68(0x1aa)],this[_0x286d68(0x117)],this[_0x286d68(0x18a)],this[_0x286d68(0x13d)]);}}c['extend'](it);class st extends c{constructor(_0x1ee52c,_0x19c1a3,_0x48842c,_0x32f518,_0x1686ab){const _0x2a5049=_0x3d5107;super(_0x1ee52c,_0x19c1a3,_0x48842c,_0x32f518,_0x1686ab),n(this,'doughnutHole'),n(this,_0x2a5049(0x1be)),n(this,_0x2a5049(0x12d)),n(this,_0x2a5049(0x128)),n(this,_0x2a5049(0x10e)),n(this,_0x2a5049(0x1c0));}[_0x3d5107(0x185)](_0x132b81){const _0x51ca69=_0x3d5107;return this[_0x51ca69(0x113)]=_0x132b81,this;}[_0x3d5107(0x173)](_0x342ba9){const _0x4b6c84=_0x3d5107;return this[_0x4b6c84(0x1be)]=_0x342ba9,this;}[_0x3d5107(0x124)](_0x2825bf){const _0x395ba7=_0x3d5107;return this[_0x395ba7(0x12d)]=_0x2825bf,this;}[_0x3d5107(0x1b3)](_0x14899e){const _0x3d6f1e=_0x3d5107;return this[_0x3d6f1e(0x128)]=_0x14899e,this;}[_0x3d5107(0x112)](_0x126857){const _0x5b6ed3=_0x3d5107;return this[_0x5b6ed3(0x10e)]=_0x126857,this;}[_0x3d5107(0x19d)](_0x58a1ca){return this['showLabelLine']=_0x58a1ca,this;}['build'](){const _0x2b1a7d=_0x3d5107,_0x5bf912=super['build']();_0x5bf912[_0x2b1a7d(0x179)]=_0x175c54[_0x2b1a7d(0x181)];const _0x2651e0=_0x5bf912['options']||{};return s(_0x2651e0,_0x2b1a7d(0x1ad),this[_0x2b1a7d(0x113)]),s(_0x2651e0,_0x2b1a7d(0x16a),this[_0x2b1a7d(0x1be)]),s(_0x2651e0,_0x2b1a7d(0x13a),this['hasPaddingAngle']),s(_0x2651e0,_0x2b1a7d(0x135),this[_0x2b1a7d(0x128)]),s(_0x2651e0,_0x2b1a7d(0x158),this[_0x2b1a7d(0x10e)]),s(_0x2651e0,_0x2b1a7d(0x148),this['showLabelLine']),_0x5bf912['options']=_0x2651e0,_0x5bf912;}}class rt extends c{[_0x3d5107(0x152)](){const _0x127799=_0x3d5107;return new st(this['unitId'],this[_0x127799(0x1aa)],this[_0x127799(0x117)],this[_0x127799(0x18a)],this[_0x127799(0x13d)]);}}c[_0x3d5107(0x120)](rt);class ot extends c{constructor(_0x1fad72,_0x3b16a4,_0x1389dc,_0x379e95,_0x101602){const _0x40cd6c=_0x3d5107;super(_0x1fad72,_0x3b16a4,_0x1389dc,_0x379e95,_0x101602),n(this,_0x40cd6c(0x199)),n(this,_0x40cd6c(0x1b1));}[_0x3d5107(0x17f)](_0x432917){const _0x72055b=_0x3d5107;return this[_0x72055b(0x199)]=_0x432917,this;}['setFill'](_0x2530eb){return this['fill']=_0x2530eb,this;}[_0x3d5107(0x175)](){const _0x1b56ad=_0x3d5107,_0x51db19=super[_0x1b56ad(0x175)]();_0x51db19[_0x1b56ad(0x179)]=_0x175c54[_0x1b56ad(0x12f)];const _0xc2e9a8=_0x51db19[_0x1b56ad(0x161)]||{};return s(_0xc2e9a8,'radar.shape',this[_0x1b56ad(0x199)]),s(_0xc2e9a8,'radar.fill',this[_0x1b56ad(0x1b1)]),_0x51db19[_0x1b56ad(0x161)]=_0xc2e9a8,_0x51db19;}}class nt extends c{['asRadarChart'](){const _0x338810=_0x3d5107;return new ot(this[_0x338810(0x19e)],this[_0x338810(0x1aa)],this['_workbook'],this[_0x338810(0x18a)],this[_0x338810(0x13d)]);}}c[_0x3d5107(0x120)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};