@univerjs-pro/sheets-chart-ui 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290732

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 (54) 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/controllers/sheets-chart-clipboard.controller.d.ts +20 -0
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +16 -16
@@ -1 +1 @@
1
- 'use strict';const _0x58667f=_0x3e9d;(function(_0x297c79,_0x5a5ca4){const _0x5d5771=_0x3e9d,_0x501fdb=_0x297c79();while(!![]){try{const _0x26ed4c=parseInt(_0x5d5771(0x1e8))/0x1*(-parseInt(_0x5d5771(0x24b))/0x2)+parseInt(_0x5d5771(0x244))/0x3+parseInt(_0x5d5771(0x1c9))/0x4*(-parseInt(_0x5d5771(0x1cd))/0x5)+-parseInt(_0x5d5771(0x1d6))/0x6+parseInt(_0x5d5771(0x1e7))/0x7*(-parseInt(_0x5d5771(0x227))/0x8)+parseInt(_0x5d5771(0x1f0))/0x9*(-parseInt(_0x5d5771(0x1fa))/0xa)+parseInt(_0x5d5771(0x1ee))/0xb*(parseInt(_0x5d5771(0x1e6))/0xc);if(_0x26ed4c===_0x5a5ca4)break;else _0x501fdb['push'](_0x501fdb['shift']());}catch(_0x531ef1){_0x501fdb['push'](_0x501fdb['shift']());}}}(_0x5844,0x3e965));const e={'chart':{'insertChart':_0x58667f(0x201),'editChart':_0x58667f(0x1ed),'openChartPanel':'打開圖表面板','deleteChart':_0x58667f(0x21a),'hideChartPanel':_0x58667f(0x249),'setupChart':_0x58667f(0x202),'customChart':_0x58667f(0x218),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x58667f(0x1cb),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x58667f(0x24c),'series':'系列','addSeries':_0x58667f(0x232),'moreSettings':'更多設置','min':_0x58667f(0x1f7),'max':_0x58667f(0x1dc),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x58667f(0x1e1)},'blank':_0x58667f(0x24f),'seriesBlock':{'format':'格式','dataPointStyle':_0x58667f(0x1d4)},'backgroundColor':_0x58667f(0x252),'chartBorderColor':_0x58667f(0x242),'titles':{'title':'標題','mainTitle':_0x58667f(0x206),'subTitle':_0x58667f(0x1cc),'xAxisTitle':'X軸標題','yAxisTitle':_0x58667f(0x1e3),'rightYAxisTitle':_0x58667f(0x1f3),'titleFormat':_0x58667f(0x240),'titleText':_0x58667f(0x258),'titlePosition':_0x58667f(0x233),'titleAlign':_0x58667f(0x24d)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x58667f(0x23b),'settingsLabels':{'switchToRowOrColumn':'切換行或列','useAsCategoryLabels':_0x58667f(0x1d8),'showEmptyCellsAs':_0x58667f(0x236)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':_0x58667f(0x1e2)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x58667f(0x1f9),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x58667f(0x20e),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':_0x58667f(0x250),'verticalAxis':'垂直軸','rightVerticalAxis':_0x58667f(0x220),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x58667f(0x228)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x58667f(0x1e0),'indicatorLine':_0x58667f(0x1c3),'indicatorLineType':_0x58667f(0x20a),'indicatorLineColor':_0x58667f(0x226),'indicatorLabel':_0x58667f(0x246),'indicatorValue':'指示值','shape':{'polygon':_0x58667f(0x234),'circle':'圓形','square':_0x58667f(0x1d3),'triangle':_0x58667f(0x20b),'diamond':'菱形','rect':'矩形','roundRect':_0x58667f(0x1f5),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x58667f(0x216),'emptySquare':_0x58667f(0x222),'emptyTriangle':_0x58667f(0x1ca),'emptyDiamond':_0x58667f(0x21f),'emptyRect':_0x58667f(0x223),'emptyRoundRect':_0x58667f(0x200),'emptyPin':'空心針形','emptyArrow':_0x58667f(0x22f)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x58667f(0x1d0),'withColor':'{0}\x20顏色','withThickness':_0x58667f(0x22e),'withType':_0x58667f(0x211),'withSize':_0x58667f(0x239),'withShape':'{0}\x20形狀','withFormat':_0x58667f(0x1f4),'dataPoint':_0x58667f(0x1fd),'dataNodeShape':'節點形狀','addDataPoint':_0x58667f(0x210),'point':_0x58667f(0x1fd),'percentage':_0x58667f(0x1c7),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x58667f(0x1ec)},'lineDashType':_0x58667f(0x1ce),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x58667f(0x225),'text':_0x58667f(0x1f6)},'ticks':{'majorTick':_0x58667f(0x256),'tickPosition':_0x58667f(0x20d),'tickLength':_0x58667f(0x224)},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x58667f(0x243),'categoryDefaultName':_0x58667f(0x219),'styleEditPanel':{'showLabels':_0x58667f(0x1f8),'showDataLabels':_0x58667f(0x251),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x58667f(0x23a),'pieValScale':_0x58667f(0x1e9),'pieValSuffix':'数值后缀','pieDigitalFixed':_0x58667f(0x1fb),'showLabelLine':_0x58667f(0x21b),'reverseAxisOrder':_0x58667f(0x215),'showAxisLine':_0x58667f(0x1ef),'labelPosition':'標籤位置','labelText':_0x58667f(0x257),'repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x58667f(0x23d),'wordCloudShape':_0x58667f(0x241),'useDateAxis':_0x58667f(0x1ff),'dateAxisTips':_0x58667f(0x22d)},'radar':{'fill':'填充'},'doughnutHole':_0x58667f(0x254),'msg':{'invalidSource':_0x58667f(0x23e),'emptyTips':_0x58667f(0x1d2)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x58667f(0x1eb),'addTrendLine':'添加趨勢線','trendlineType':'趨勢線類型','trendlineName':_0x58667f(0x1eb),'trendlineColor':_0x58667f(0x22c),'trendlineThickness':_0x58667f(0x212),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x58667f(0x237),'poly':_0x58667f(0x229),'order':_0x58667f(0x205),'period':_0x58667f(0x204),'showFormula':'顯示公式','showR2':_0x58667f(0x1d1),'formula':'公式','r2':_0x58667f(0x21c)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x58667f(0x1c5),'label':_0x58667f(0x1e4),'emptyTips':_0x58667f(0x1d9)},'relation':{'title':_0x58667f(0x1c4),'auto':'自動','circular':'環形','force':_0x58667f(0x208),'useValueAsSymbolSize':_0x58667f(0x1e5),'layoutType':_0x58667f(0x230),'forceOptions':_0x58667f(0x24e),'repulsion':'斥力','gravity':'引力','edgeLength':_0x58667f(0x1da),'rotateLabel':_0x58667f(0x238),'emphasis':'開啟選中淡入特效','emptyTips':_0x58667f(0x214)},'waterfall':{'stackType':_0x58667f(0x203),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x58667f(0x24a),'negativeStyle':_0x58667f(0x1db),'subtotalStyle':_0x58667f(0x1c6),'positiveLegendText':_0x58667f(0x1fc),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0x58667f(0x23f)},'pareto':{'lineName':_0x58667f(0x1f2),'lineSeries':_0x58667f(0x1de),'barSeries':_0x58667f(0x231)},'visualMapScope':'視覺映射範圍','boxplot':{'min':_0x58667f(0x1f7),'q1':'第一四分位數','median':_0x58667f(0x217),'q3':_0x58667f(0x1df),'max':_0x58667f(0x1dc)}},'chartTypes':{'line':_0x58667f(0x209),'area':_0x58667f(0x248),'areaStacked':_0x58667f(0x245),'areaPercentStacked':_0x58667f(0x235),'column':_0x58667f(0x1c2),'bar':_0x58667f(0x207),'barStacked':_0x58667f(0x221),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x58667f(0x23c),'scatter':'散點圖','radar':_0x58667f(0x21d),'bubble':_0x58667f(0x1c8),'stock':_0x58667f(0x247),'combination':_0x58667f(0x1ea),'wordCloud':_0x58667f(0x1fe),'funnel':_0x58667f(0x1cf),'relation':_0x58667f(0x1c4),'waterfall':'瀑布圖','pareto':_0x58667f(0x1d7),'sankey':_0x58667f(0x1d5),'heatmap':_0x58667f(0x20c),'boxplot':_0x58667f(0x21e)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x58667f(0x1dd),'fieldSetting':_0x58667f(0x259),'formatTypes':_0x58667f(0x213),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x58667f(0x1f1),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x58667f(0x255),'thousandthPercentileDesc':_0x58667f(0x22a),'decimalPlaces':'小數位數','currencyTypes':_0x58667f(0x253),'negativeNumberTypes':'負數類型','dateTypes':_0x58667f(0x22b)},'setFormat':'設置標籤格式'}};function _0x5844(){const _0x18f69d=['格式類型','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','逆序軸','空心圓形','中位數','自定義圖表','類別\x20{0}','刪除圖表','顯示標籤線','R平方','雷達圖','箱型圖','空心菱形','右垂直軸','堆疊條形圖','空心正方形','空心矩形','刻度線長度','主網格線','指示線顏色','72oIiAEM','使用右軸','多項式','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','日期類型','趨勢線顏色','日期軸僅在數據全部為日期格式時可用','{0}\x20粗細','空心箭頭','佈局類型','長條圖系列','添加系列','標題位置','多邊形','百分比堆疊面積圖','顯示空單元格為','移動平均','旋轉標籤','{0}\x20大小','玫瑰圖','漸變填充','環形圖','標籤旋轉','圖表數據源必須包含多於1行和1列。','小計圖例文本','標題格式','詞雲形狀','圖表邊框顏色','系列\x20{0}','356544nNHqyV','堆疊面積圖','指示標籤','股票圖','面積圖','隱藏圖表面板','正值樣式','2gluLSQ','所有系列','標題對齊','力導向選項','(空)','水平軸','顯示數據標籤','背景顏色','貨幣類型','圓環孔','日期格式將日期和時間系列數值顯示為日期值。','主刻度線','標籤文本','標題文本','字段設置','柱狀圖','指示線','關係圖','氣泡大小','小計樣式','百分比','氣泡圖','20tkEDoD','空心三角形','數據範圍','副標題','184355BVerqu','線類型','漏斗圖','{0}\x20透明度','顯示R平方','請先添加系列開始數據可視化','正方形','數據點樣式','桑基圖','1250574hbqvTI','排列圖','使用\x20{0}\x20作為類別標籤','氣泡圖至少需要2列,X軸、Y軸。','節點距離','負值樣式','最大值','千分位符','累積占比系列','第三四分位數','網格線和刻度線','用直線連接數據點','右對齊','Y軸標題','氣泡標籤','使用值作為節點大小','17107716xYdESn','244097OClESC','99299vQzMdH','数值比例','組合圖','趨勢線名稱','百分比堆疊','編輯圖表','11JeGDtS','顯示軸線','36bTDRcm','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','累積占比','右Y軸標題','{0}\x20格式','圓角矩形','網格線','最小值','顯示標籤','圖表樣式','1205530zZQocM','小數位數','正值圖例文本','數據點','詞雲圖','使用日期軸','空心圓角矩形','插入圖表','設置圖表','堆疊方式','移動平均周期','多項式階數','主標題','條形圖','力導向','折線圖','指示線類型','三角形','熱力圖','刻度線位置','圖例選擇模式','exports','添加數據點','{0}\x20類型','趨勢線粗細'];_0x5844=function(){return _0x18f69d;};return _0x5844();}function _0x3e9d(_0x5d6f5a,_0x59ee48){const _0x584424=_0x5844();return _0x3e9d=function(_0x3e9d8b,_0x26d5b6){_0x3e9d8b=_0x3e9d8b-0x1c2;let _0x43b66b=_0x584424[_0x3e9d8b];return _0x43b66b;},_0x3e9d(_0x5d6f5a,_0x59ee48);}module[_0x58667f(0x20f)]=e;
1
+ 'use strict';function _0x46a7(){const _0x5050fc=['日期格式將日期和時間系列數值顯示為日期值。','正值圖例文本','最大值','力導向','設置標籤格式','添加趨勢線','旋轉標籤','圖表類型','2252FahJsV','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','開啟選中淡入特效','趨勢線線類型','負值圖例文本','百分比堆疊條形圖','熱力圖','日期類型','右Y軸標題','請先添加系列開始數據可視化','添加系列','視覺映射範圍','標籤位置','{0}\x20透明度','多邊形','空心箭頭','負數類型','股票圖','長條圖系列','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','趨勢線名稱','549936xYyjFt','環形圖','(空)','線類型','指示線','氣泡圖','日期軸僅在數據全部為日期格式時可用','圖表和軸標題','7202232BVCASv','空心正方形','添加數據點','多項式階數','節點形狀','趨勢線粗細','空心圓形','刪除圖表','桑基圖','用直線連接數據點','圖表邊框顏色','標題對齊','4879980jHESae','累積占比系列','顯示空單元格為','R平方','逆序軸','最小值','顯示小計','節點距離','{0}\x20顏色','氣泡大小','數據點','圖例選擇模式','刻度線長度','趨勢線','設置圖表','排列圖','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','更多設置','第三四分位數','貨幣類型','趨勢線顏色','趨勢線類型','移動平均','關係圖','右垂直軸','漏斗圖','7820416MKBlaa','指示線類型','水平軸','負值樣式','網格線和刻度線','漸變填充','瀑布圖','使用\x20{0}\x20作為類別標籤','小數位數','插入圖表','標籤文本','左對齊','標籤旋轉','標題位置','小計圖例文本','氣泡標籤','30874176HHCQRz','数值后缀','{0}\x20格式','Y軸標題','使用日期軸','空心針形','空心矩形','扇形間距','圓環孔','主網格線','顯示標籤線','圓角矩形','右對齊','柱狀圖','佈局類型','指示值','散點圖','系列\x20{0}','空心圓角矩形','顯示數據標籤','顯示公式','堆疊條形圖','指示標籤','正方形','百分比堆疊','主標題','副標題','2yoCNeH','小計樣式','格式類型','字段設置','箱型圖','常規格式不包含任何特定的數字格式。','數據標籤','刻度線位置','百分比','{0}\x20類型','數據點樣式','切換行或列','網格線','百分比堆疊面積圖','X軸標題','三角形','軸選項','折線圖','標題格式','面積圖','主刻度線','第\x20{0}\x20項','多項式','2126037Kcvhyc','第一四分位數','正值樣式','5765vSMdUs','数值比例','詞雲圖','垂直軸','使用右軸','圖表數據源必須包含多於1行和1列。'];_0x46a7=function(){return _0x5050fc;};return _0x46a7();}const _0xf0b943=_0x4368;function _0x4368(_0x1cec2f,_0x51cddf){const _0x46a75f=_0x46a7();return _0x4368=function(_0x4368f2,_0x149c35){_0x4368f2=_0x4368f2-0x66;let _0x3e64b1=_0x46a75f[_0x4368f2];return _0x3e64b1;},_0x4368(_0x1cec2f,_0x51cddf);}(function(_0x518161,_0x4d0578){const _0x319aaf=_0x4368,_0x5d56c3=_0x518161();while(!![]){try{const _0x2784eb=-parseInt(_0x319aaf(0xcb))/0x1*(parseInt(_0x319aaf(0x72))/0x2)+-parseInt(_0x319aaf(0xe2))/0x3+-parseInt(_0x319aaf(0xf3))/0x4*(parseInt(_0x319aaf(0xe5))/0x5)+-parseInt(_0x319aaf(0x7a))/0x6+-parseInt(_0x319aaf(0x86))/0x7+parseInt(_0x319aaf(0xa0))/0x8+parseInt(_0x319aaf(0xb0))/0x9;if(_0x2784eb===_0x4d0578)break;else _0x5d56c3['push'](_0x5d56c3['shift']());}catch(_0xd9fb7d){_0x5d56c3['push'](_0x5d56c3['shift']());}}}(_0x46a7,0x9327e));const e={'chart':{'insertChart':_0xf0b943(0xa9),'editChart':'編輯圖表','openChartPanel':'打開圖表面板','deleteChart':_0xf0b943(0x81),'hideChartPanel':'隱藏圖表面板','setupChart':_0xf0b943(0x94),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0xf0b943(0xf2),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0xf0b943(0x67),'moreSettings':_0xf0b943(0x97),'min':_0xf0b943(0x8b),'max':_0xf0b943(0xed),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0xf0b943(0x83)},'blank':_0xf0b943(0x74),'seriesBlock':{'format':'格式','dataPointStyle':_0xf0b943(0xd5)},'backgroundColor':'背景顏色','chartBorderColor':_0xf0b943(0x84),'titles':{'title':'標題','mainTitle':_0xf0b943(0xc9),'subTitle':_0xf0b943(0xca),'xAxisTitle':_0xf0b943(0xd9),'yAxisTitle':_0xf0b943(0xb3),'rightYAxisTitle':_0xf0b943(0xfb),'titleFormat':_0xf0b943(0xdd),'titleText':'標題文本','titlePosition':_0xf0b943(0xad),'titleAlign':_0xf0b943(0x85)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0xf0b943(0xa5),'settingsLabels':{'switchToRowOrColumn':_0xf0b943(0xd6),'useAsCategoryLabels':_0xf0b943(0xa7),'showEmptyCellsAs':_0xf0b943(0x88)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0xf0b943(0xab),'center':'居中','right':_0xf0b943(0xbc)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':_0xf0b943(0x79),'legend':'圖例','legendSelectMode':_0xf0b943(0x91),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0xf0b943(0xdb),'horizontalAxis':_0xf0b943(0xa2),'verticalAxis':_0xf0b943(0xe8),'rightVerticalAxis':_0xf0b943(0x9e),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0xf0b943(0xe9)},'position':'位置','dataLabels':_0xf0b943(0xd1),'gridlinesAndTicks':_0xf0b943(0xa4),'indicatorLine':_0xf0b943(0x76),'indicatorLineType':_0xf0b943(0xa1),'indicatorLineColor':'指示線顏色','indicatorLabel':_0xf0b943(0xc6),'indicatorValue':_0xf0b943(0xbf),'shape':{'polygon':_0xf0b943(0x6b),'circle':'圓形','square':_0xf0b943(0xc7),'triangle':_0xf0b943(0xda),'diamond':'菱形','rect':'矩形','roundRect':_0xf0b943(0xbb),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0xf0b943(0x80),'emptySquare':_0xf0b943(0x7b),'emptyTriangle':'空心三角形','emptyDiamond':'空心菱形','emptyRect':_0xf0b943(0xb6),'emptyRoundRect':_0xf0b943(0xc2),'emptyPin':_0xf0b943(0xb5),'emptyArrow':_0xf0b943(0x6c)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0xf0b943(0x6a),'withColor':_0xf0b943(0x8e),'withThickness':'{0}\x20粗細','withType':_0xf0b943(0xd4),'withSize':'{0}\x20大小','withShape':'{0}\x20形狀','withFormat':_0xf0b943(0xb2),'dataPoint':_0xf0b943(0x90),'dataNodeShape':_0xf0b943(0x7e),'addDataPoint':_0xf0b943(0x7c),'point':_0xf0b943(0x90),'percentage':_0xf0b943(0xd3),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0xf0b943(0xc8)},'lineDashType':_0xf0b943(0x75),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0xf0b943(0xb9),'text':_0xf0b943(0xd7)},'ticks':{'majorTick':_0xf0b943(0xdf),'tickPosition':_0xf0b943(0xd2),'tickLength':_0xf0b943(0x92)},'none':'無','theIndexItem':_0xf0b943(0xe0),'seriesDefaultName':_0xf0b943(0xc1),'categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0xf0b943(0xc3),'padAngle':_0xf0b943(0xb7),'halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':_0xf0b943(0xe6),'pieValSuffix':_0xf0b943(0xb1),'pieDigitalFixed':_0xf0b943(0xa8),'showLabelLine':_0xf0b943(0xba),'reverseAxisOrder':_0xf0b943(0x8a),'showAxisLine':'顯示軸線','labelPosition':_0xf0b943(0x69),'labelText':_0xf0b943(0xaa),'repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0xf0b943(0xac),'wordCloudShape':'詞雲形狀','useDateAxis':_0xf0b943(0xb4),'dateAxisTips':_0xf0b943(0x78)},'radar':{'fill':'填充'},'doughnutHole':_0xf0b943(0xb8),'msg':{'invalidSource':_0xf0b943(0xea),'emptyTips':_0xf0b943(0x66)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0xf0b943(0x93),'displayName':_0xf0b943(0x71),'addTrendLine':_0xf0b943(0xf0),'trendlineType':_0xf0b943(0x9b),'trendlineName':_0xf0b943(0x71),'trendlineColor':_0xf0b943(0x9a),'trendlineThickness':_0xf0b943(0x7f),'trendlineDashType':_0xf0b943(0xf6),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0xf0b943(0x9c),'poly':_0xf0b943(0xe1),'order':_0xf0b943(0x7d),'period':'移動平均周期','showFormula':_0xf0b943(0xc4),'showR2':'顯示R平方','formula':'公式','r2':_0xf0b943(0x89)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0xf0b943(0x8f),'label':_0xf0b943(0xaf),'emptyTips':'氣泡圖至少需要2列,X軸、Y軸。'},'relation':{'title':_0xf0b943(0x9d),'auto':'自動','circular':'環形','force':_0xf0b943(0xee),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0xf0b943(0xbe),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0xf0b943(0x8d),'rotateLabel':_0xf0b943(0xf1),'emphasis':_0xf0b943(0xf5),'emptyTips':_0xf0b943(0x70)},'waterfall':{'stackType':'堆疊方式','arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0xf0b943(0x8c),'positiveStyle':_0xf0b943(0xe4),'negativeStyle':_0xf0b943(0xa3),'subtotalStyle':_0xf0b943(0xcc),'positiveLegendText':_0xf0b943(0xec),'negativeLegendText':_0xf0b943(0xf7),'subtotalLegendText':_0xf0b943(0xae)},'pareto':{'lineName':'累積占比','lineSeries':_0xf0b943(0x87),'barSeries':_0xf0b943(0x6f)},'visualMapScope':_0xf0b943(0x68),'boxplot':{'min':_0xf0b943(0x8b),'q1':_0xf0b943(0xe3),'median':'中位數','q3':_0xf0b943(0x98),'max':_0xf0b943(0xed)}},'chartTypes':{'line':_0xf0b943(0xdc),'area':_0xf0b943(0xde),'areaStacked':'堆疊面積圖','areaPercentStacked':_0xf0b943(0xd8),'column':_0xf0b943(0xbd),'bar':'條形圖','barStacked':_0xf0b943(0xc5),'barPercentStacked':_0xf0b943(0xf8),'pie':'餅圖','donut':_0xf0b943(0x73),'scatter':_0xf0b943(0xc0),'radar':'雷達圖','bubble':_0xf0b943(0x77),'stock':_0xf0b943(0x6e),'combination':'組合圖','wordCloud':_0xf0b943(0xe7),'funnel':_0xf0b943(0x9f),'relation':'關係圖','waterfall':_0xf0b943(0xa6),'pareto':_0xf0b943(0x95),'sankey':_0xf0b943(0x82),'heatmap':_0xf0b943(0xf9),'boxplot':_0xf0b943(0xcf)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0xf0b943(0xce),'formatTypes':_0xf0b943(0xcd),'confirm':'確定','cancel':'取消','generalDesc':_0xf0b943(0xd0),'accountingDesc':_0xf0b943(0x96),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0xf0b943(0xeb),'thousandthPercentileDesc':_0xf0b943(0xf4),'decimalPlaces':_0xf0b943(0xa8),'currencyTypes':_0xf0b943(0x99),'negativeNumberTypes':_0xf0b943(0x6d),'dateTypes':_0xf0b943(0xfa)},'setFormat':_0xf0b943(0xef)}};module['exports']=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x3ff9af=_0x37d5;(function(_0x2418e2,_0x40342e){const _0x3afe79=_0x37d5,_0x24da9b=_0x2418e2();while(!![]){try{const _0xcc1910=parseInt(_0x3afe79(0x1fd))/0x1*(parseInt(_0x3afe79(0x1f6))/0x2)+-parseInt(_0x3afe79(0x1e9))/0x3*(-parseInt(_0x3afe79(0x161))/0x4)+parseInt(_0x3afe79(0x198))/0x5*(-parseInt(_0x3afe79(0x154))/0x6)+parseInt(_0x3afe79(0x17a))/0x7+-parseInt(_0x3afe79(0x1bf))/0x8+parseInt(_0x3afe79(0x181))/0x9*(parseInt(_0x3afe79(0x1df))/0xa)+-parseInt(_0x3afe79(0x163))/0xb;if(_0xcc1910===_0x40342e)break;else _0x24da9b['push'](_0x24da9b['shift']());}catch(_0x36ac92){_0x24da9b['push'](_0x24da9b['shift']());}}}(_0x5ce0,0x34e14));var b=Object[_0x3ff9af(0x1d8)],k=(_0x491053,_0x1d8fd7,_0x2792c0)=>_0x1d8fd7 in _0x491053?b(_0x491053,_0x1d8fd7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2792c0}):_0x491053[_0x1d8fd7]=_0x2792c0,n=(_0x346809,_0x47e631,_0x1d431b)=>k(_0x346809,typeof _0x47e631!='symbol'?_0x47e631+'':_0x47e631,_0x1d431b);import{ChartThemeService as _0xd76de6,ChartTypeBits as _0xc8fa2d,LegendPositionEnum as _0x1019aa,SelectModeEnum as _0x7538d3,AxisAlignEnum as _0x36f42c,ChartBorderDashType as _0x450ed2,LinePointShape as _0x576f01,TitlePositionEnum as _0x468cae,RadarShape as _0x464687}from'@univerjs-pro/engine-chart';import{setProperty as _0x5834ac,SheetsChartService as _0x58bbbe,ChartUpdateSourceCommand as _0x548301,ChartUpdateConfigCommand as _0xa4da5b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x1534e7}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0xea1516,IUniverInstanceService as _0x57b092,UniverInstanceType as _0x343491,generateRandomId as _0x11d27b,DrawingTypeEnum as _0x1e26e9}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x44bf50}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x19a7ba}from'@univerjs/sheets/facade';import{FBase as _0x482eb9,FEnum as _0x197007}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x50618d}from'@univerjs/engine-formula';import{IRenderManagerService as _0x377b14}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x4c37b0,SheetSkeletonManagerService as _0x3eb968,convertPositionCellToSheetOverGrid as _0x5b0dc2}from'@univerjs/sheets-ui';function _0x37d5(_0x5c61b5,_0x1c156a){const _0x5ce014=_0x5ce0();return _0x37d5=function(_0x37d5d5,_0x5f1dcc){_0x37d5d5=_0x37d5d5-0x152;let _0x25fa0f=_0x5ce014[_0x37d5d5];return _0x25fa0f;},_0x37d5(_0x5c61b5,_0x1c156a);}const s=(_0x35dae4,_0x549699,_0x35078c)=>{_0x35078c!==void 0x0&&_0x5834ac(_0x35dae4,_0x549699,_0x35078c);},C=(_0x27a658,_0x44bacd,_0x88a4d4,_0x5f19ba={})=>{const _0x510cd6=_0x3ff9af,_0x49fe3b={},_0x104df6={};if(_0x5f19ba['title']){const _0x231787=_0x5f19ba[_0x510cd6(0x202)];s(_0x49fe3b,'titles.title.content',_0x231787[_0x510cd6(0x15e)]),s(_0x49fe3b,_0x510cd6(0x1a5),_0x231787[_0x510cd6(0x1c9)]),s(_0x49fe3b,_0x510cd6(0x1d2),_0x231787[_0x510cd6(0x1f1)]),s(_0x49fe3b,_0x510cd6(0x1f3),_0x231787[_0x510cd6(0x1b6)]),s(_0x49fe3b,_0x510cd6(0x182),_0x231787[_0x510cd6(0x16d)]),s(_0x49fe3b,_0x510cd6(0x157),_0x231787[_0x510cd6(0x19d)]),s(_0x49fe3b,_0x510cd6(0x190),_0x231787['titleAlignment']),s(_0x49fe3b,_0x510cd6(0x19e),_0x231787['position']);}if(_0x5f19ba[_0x510cd6(0x1f0)]){const _0x29833b=_0x5f19ba['legend'];s(_0x49fe3b,'legend.position',_0x29833b[_0x510cd6(0x1fe)]),s(_0x49fe3b,_0x510cd6(0x1a6),_0x29833b[_0x510cd6(0x1d7)]),s(_0x49fe3b,_0x510cd6(0x18c),_0x29833b[_0x510cd6(0x1f1)]),s(_0x49fe3b,_0x510cd6(0x185),_0x29833b[_0x510cd6(0x1e5)]),s(_0x49fe3b,_0x510cd6(0x1ef),_0x29833b[_0x510cd6(0x19d)]),s(_0x49fe3b,'legend.label.italic',_0x29833b[_0x510cd6(0x1ce)]);}if(_0x5f19ba['pie']){const _0x33f010=_0x5f19ba[_0x510cd6(0x180)];s(_0x49fe3b,_0x510cd6(0x155),_0x33f010[_0x510cd6(0x1ae)]),s(_0x49fe3b,_0x510cd6(0x152),_0x33f010['borderColor']),s(_0x49fe3b,_0x510cd6(0x170),_0x33f010['hasPaddingAngle']),s(_0x49fe3b,_0x510cd6(0x1e0),_0x33f010[_0x510cd6(0x171)]),s(_0x49fe3b,_0x510cd6(0x167),_0x33f010[_0x510cd6(0x16a)]),s(_0x49fe3b,_0x510cd6(0x1bd),_0x33f010[_0x510cd6(0x160)]);}if(_0x5f19ba[_0x510cd6(0x203)]){const _0x3cdb28=_0x5f19ba[_0x510cd6(0x203)];s(_0x49fe3b,_0x510cd6(0x18f),_0x3cdb28[_0x510cd6(0x1c7)]),s(_0x49fe3b,'tooltip.indicatorLineType',_0x3cdb28[_0x510cd6(0x1c8)]),s(_0x49fe3b,'tooltip.indicatorLineColor',_0x3cdb28[_0x510cd6(0x176)]),s(_0x49fe3b,'tooltip.indicatorLabelTextColor',_0x3cdb28[_0x510cd6(0x1ad)]);}if(_0x5f19ba[_0x510cd6(0x15a)]&&(s(_0x49fe3b,'allSeriesStyle.border',_0x5f19ba['allSeriesStyle']['border']),s(_0x49fe3b,'allSeriesStyle.label',_0x5f19ba[_0x510cd6(0x15a)][_0x510cd6(0x1a7)]),s(_0x49fe3b,'allSeriesStyle.rightYAxis',_0x5f19ba['allSeriesStyle'][_0x510cd6(0x1e7)]),s(_0x49fe3b,'allSeriesStyle.point',_0x5f19ba[_0x510cd6(0x15a)][_0x510cd6(0x168)]),s(_0x49fe3b,'allSeriesStyle.color',_0x5f19ba[_0x510cd6(0x15a)]['color'])),_0x5f19ba[_0x510cd6(0x204)]&&s(_0x49fe3b,_0x510cd6(0x1ea),_0x5f19ba[_0x510cd6(0x204)]['lineStyle']),_0x5f19ba[_0x510cd6(0x179)]&&s(_0x49fe3b,_0x510cd6(0x179),_0x5f19ba['theme']),_0x5f19ba['backgroundColor']&&s(_0x49fe3b,_0x510cd6(0x19c),_0x5f19ba['backgroundColor']),_0x5f19ba[_0x510cd6(0x15f)]&&s(_0x49fe3b,_0x510cd6(0x15f),_0x5f19ba[_0x510cd6(0x15f)]),_0x5f19ba[_0x510cd6(0x18d)]&&s(_0x49fe3b,'gradientFill',_0x5f19ba[_0x510cd6(0x18d)]),_0x5f19ba['invalidValueType']&&s(_0x49fe3b,_0x510cd6(0x197),_0x5f19ba['invalidValueType']),_0x5f19ba['radar']&&s(_0x49fe3b,_0x510cd6(0x196),_0x5f19ba[_0x510cd6(0x196)]),_0x5f19ba['xAxisTitle']){const _0x38522b=_0x5f19ba['xAxisTitle'];s(_0x49fe3b,_0x510cd6(0x1e8),_0x38522b[_0x510cd6(0x15e)]),s(_0x49fe3b,'titles.xAxisTitle.font',_0x38522b[_0x510cd6(0x1c9)]),s(_0x49fe3b,_0x510cd6(0x1b7),_0x38522b['fontSize']),s(_0x49fe3b,_0x510cd6(0x186),_0x38522b[_0x510cd6(0x1b6)]),s(_0x49fe3b,_0x510cd6(0x194),_0x38522b[_0x510cd6(0x16d)]),s(_0x49fe3b,_0x510cd6(0x1c3),_0x38522b[_0x510cd6(0x19d)]),s(_0x49fe3b,_0x510cd6(0x166),_0x38522b[_0x510cd6(0x174)]);}if(_0x5f19ba['yAxisTitle']){const _0x307eec=_0x5f19ba[_0x510cd6(0x1dc)];s(_0x49fe3b,'titles.yAxisTitle.content',_0x307eec[_0x510cd6(0x15e)]),s(_0x49fe3b,_0x510cd6(0x16b),_0x307eec['font']),s(_0x49fe3b,_0x510cd6(0x1eb),_0x307eec['fontSize']),s(_0x49fe3b,_0x510cd6(0x1c5),_0x307eec[_0x510cd6(0x1b6)]),s(_0x49fe3b,'titles.yAxisTitle.family',_0x307eec[_0x510cd6(0x16d)]),s(_0x49fe3b,'titles.yAxisTitle.bold',_0x307eec[_0x510cd6(0x19d)]),s(_0x49fe3b,_0x510cd6(0x1a1),_0x307eec['axisAlignment']);}if(_0x5f19ba[_0x510cd6(0x1de)]){const _0x4378e5=_0x5f19ba[_0x510cd6(0x1de)];s(_0x49fe3b,_0x510cd6(0x1d3),_0x4378e5[_0x510cd6(0x15e)]),s(_0x49fe3b,_0x510cd6(0x17e),_0x4378e5[_0x510cd6(0x1c9)]),s(_0x49fe3b,_0x510cd6(0x1d4),_0x4378e5['fontSize']),s(_0x49fe3b,_0x510cd6(0x1cd),_0x4378e5[_0x510cd6(0x1b6)]),s(_0x49fe3b,'titles.rightYAxisTitle.family',_0x4378e5[_0x510cd6(0x16d)]),s(_0x49fe3b,_0x510cd6(0x195),_0x4378e5[_0x510cd6(0x19d)]),s(_0x49fe3b,_0x510cd6(0x1fb),_0x4378e5[_0x510cd6(0x174)]);}_0x5f19ba[_0x510cd6(0x1bc)]&&s(_0x49fe3b,_0x510cd6(0x1bc),_0x5f19ba[_0x510cd6(0x1bc)]),_0x5f19ba[_0x510cd6(0x1c4)]&&s(_0x49fe3b,_0x510cd6(0x1c4),_0x5f19ba[_0x510cd6(0x1c4)]),_0x5f19ba[_0x510cd6(0x200)]&&s(_0x49fe3b,_0x510cd6(0x1e7),_0x5f19ba['yRightAxis']),_0x5f19ba[_0x510cd6(0x184)]&&s(_0x49fe3b,'seriesStyleMap',_0x5f19ba[_0x510cd6(0x184)]);const _0x68dac4={'unitId':_0x27a658,'chartModelId':_0x44bacd};let _0x494ac5=!0x1;if(_0x88a4d4!==void 0x0&&(_0x68dac4[_0x510cd6(0x19a)]=_0x88a4d4,_0x494ac5=!0x0),Object[_0x510cd6(0x188)](_0x49fe3b)[_0x510cd6(0x169)]>0x0&&(_0x68dac4[_0x510cd6(0x1ff)]=_0x49fe3b,_0x494ac5=!0x0),Object['keys'](_0x104df6)[_0x510cd6(0x169)]>0x0&&(_0x68dac4[_0x510cd6(0x1be)]=_0x104df6,_0x494ac5=!0x0),_0x494ac5)return _0x68dac4;};class c extends _0x482eb9{constructor(_0x4ac11f,_0x25bea3,_0x5b988c,_0x59c670,_0x269d16){const _0x2b94ac=_0x3ff9af;super(),n(this,_0x2b94ac(0x1a4)),n(this,_0x2b94ac(0x19f)),n(this,_0x2b94ac(0x1ca)),n(this,_0x2b94ac(0x1f9)),n(this,_0x2b94ac(0x1a2)),n(this,_0x2b94ac(0x15d)),n(this,_0x2b94ac(0x1b3)),n(this,'x'),n(this,'y'),n(this,_0x2b94ac(0x1d6)),n(this,_0x2b94ac(0x16e)),n(this,'chartType'),n(this,'options'),n(this,_0x2b94ac(0x18a)),(this[_0x2b94ac(0x1ca)]=_0x4ac11f,this[_0x2b94ac(0x1f9)]=_0x25bea3,this[_0x2b94ac(0x1a4)]=_0x5b988c,this[_0x2b94ac(0x19f)]=_0x59c670,_0x269d16&&(this[_0x2b94ac(0x1a2)]=_0x269d16));}[_0x3ff9af(0x1f5)](){const _0x266b5f=_0x3ff9af;return this[_0x266b5f(0x19a)];}[_0x3ff9af(0x1d9)](_0x27bb8a){const _0x552f5e=_0x3ff9af;if(typeof _0x27bb8a=='string'){const _0x6cbc5c=_0x50618d(_0x27bb8a);_0x6cbc5c[_0x552f5e(0x199)]&&(this[_0x552f5e(0x1b3)]=_0x6cbc5c[_0x552f5e(0x199)]),this[_0x552f5e(0x15d)]=_0x6cbc5c['range'];}else this['range']=_0x27bb8a;return this;}[_0x3ff9af(0x1f7)](){const _0x414288=_0x3ff9af;return this[_0x414288(0x15d)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x3ff9af(0x173)](_0x4f5ad6,_0xe2fc6,_0x1248c4,_0x4c14a1){const _0x4a9199=_0x3ff9af,_0x5bb236=this['_injector'][_0x4a9199(0x1b9)](_0x377b14)[_0x4a9199(0x158)](this[_0x4a9199(0x1ca)]);if(!_0x5bb236)throw new Error(_0x4a9199(0x193));const _0x328471=_0x5bb236[_0x4a9199(0x1ed)](_0x4c37b0),_0x4ead1e=_0x5bb236[_0x4a9199(0x1ed)](_0x3eb968),{transform:_0x724fec}=_0x5b0dc2(this[_0x4a9199(0x1ca)],this[_0x4a9199(0x1f9)],{'row':_0x4f5ad6,'column':_0xe2fc6,'rowOffset':_0x1248c4,'columnOffset':_0x4c14a1},0x1,0x1,_0x328471,_0x4ead1e),_0xfb0bc4=_0x724fec[_0x4a9199(0x178)],_0x54ebc1=_0x724fec[_0x4a9199(0x1b2)];return this['x']=_0x54ebc1,this['y']=_0xfb0bc4,this;}[_0x3ff9af(0x1e2)](_0x48426e,_0x3ad9a2){return this['x']=_0x48426e,this['y']=_0x3ad9a2,this;}[_0x3ff9af(0x16f)](_0x36b0b4){const _0x2b2133=_0x3ff9af;return this[_0x2b2133(0x19a)]=_0x36b0b4,this;}['setWidth'](_0x16033e){const _0x4f10bc=_0x3ff9af;return this[_0x4f10bc(0x1d6)]=_0x16033e,this;}[_0x3ff9af(0x16c)](_0x484a24){const _0x380a12=_0x3ff9af;return this[_0x380a12(0x16e)]=_0x484a24,this;}[_0x3ff9af(0x1da)](_0xb745ca,_0x5d2848){const _0x1e8451=_0x3ff9af;return this['options']||(this[_0x1e8451(0x191)]={}),_0xb745ca===''?(this[_0x1e8451(0x191)]={...this[_0x1e8451(0x191)],..._0x5d2848},this):(_0x5834ac(this[_0x1e8451(0x191)],_0xb745ca,_0x5d2848),this);}['setTransposeRowsAndColumns'](_0x349c4f){const _0x539030=_0x3ff9af;return this[_0x539030(0x18a)]=_0x349c4f,this;}[_0x3ff9af(0x1e6)](_0x5a91f8){const _0x240346=_0x3ff9af;return this[_0x240346(0x1da)]('theme',_0x5a91f8),this;}[_0x3ff9af(0x1ba)](_0x46844c){const _0x400fa2=_0x3ff9af;var _0x5bc120;const _0x4b00ac=((_0x5bc120=this[_0x400fa2(0x191)])==null?void 0x0:_0x5bc120[_0x400fa2(0x1a8)])||{};return _0x4b00ac['content']=_0x46844c,this[_0x400fa2(0x1da)]('xAxisTitle',_0x4b00ac),this;}[_0x3ff9af(0x1cf)](_0x35cb86){const _0x278be0=_0x3ff9af;var _0xb7be09;const _0x150d46=((_0xb7be09=this[_0x278be0(0x191)])==null?void 0x0:_0xb7be09[_0x278be0(0x1dc)])||{};return _0x150d46['content']=_0x35cb86,this['setOptions'](_0x278be0(0x1dc),_0x150d46),this;}[_0x3ff9af(0x1fa)](_0x95d563){const _0x36cdd1=_0x3ff9af;var _0x35ecef;const _0x3293d4=((_0x35ecef=this[_0x36cdd1(0x191)])==null?void 0x0:_0x35ecef[_0x36cdd1(0x1de)])||{};return _0x3293d4[_0x36cdd1(0x15e)]=_0x95d563,this[_0x36cdd1(0x1da)](_0x36cdd1(0x1de),_0x3293d4),this;}['setXAxisTextStyle'](_0x2b9d87){const _0x3a7b1a=_0x3ff9af;var _0x4af0f8;const _0x459831=((_0x4af0f8=this[_0x3a7b1a(0x191)])==null?void 0x0:_0x4af0f8['xAxisTitle'])||{};return this[_0x3a7b1a(0x1da)](_0x3a7b1a(0x1a8),{..._0x459831,..._0x2b9d87}),this;}['setYAxisTextStyle'](_0x3cd9e0){const _0x5b0bce=_0x3ff9af;var _0x2e0171;const _0x2e8533=((_0x2e0171=this[_0x5b0bce(0x191)])==null?void 0x0:_0x2e0171[_0x5b0bce(0x1dc)])||{};return this[_0x5b0bce(0x1da)](_0x5b0bce(0x1dc),{..._0x2e8533,..._0x3cd9e0}),this;}[_0x3ff9af(0x177)](_0x11289e){const _0x174919=_0x3ff9af;var _0x3a760d;const _0x45b729=((_0x3a760d=this['options'])==null?void 0x0:_0x3a760d[_0x174919(0x1de)])||{};return this[_0x174919(0x1da)](_0x174919(0x1de),{..._0x45b729,..._0x11289e}),this;}[_0x3ff9af(0x162)](_0x34dbc6){const _0x10b319=_0x3ff9af;return this[_0x10b319(0x1da)](_0x10b319(0x197),_0x34dbc6),this;}[_0x3ff9af(0x172)](_0x4af74f){const _0xe0c5a3=_0x3ff9af;return this[_0xe0c5a3(0x1da)]('axisPointer',_0x4af74f),this;}[_0x3ff9af(0x17c)](_0x10d70b){const _0x4f1bf7=_0x3ff9af;return this['setOptions'](_0x4f1bf7(0x15a),_0x10d70b),this;}[_0x3ff9af(0x156)](_0x4a0de2,_0x49211f){const _0x332b0e=_0x3ff9af;return this[_0x332b0e(0x1da)]('seriesStyleMap',{[_0x4a0de2]:_0x49211f}),this;}[_0x3ff9af(0x1cc)](){const _0x3fee99=_0x3ff9af;var _0x1bb53d;let _0x1543aa=this['subUnitId'];if(this['sourceSheetName']){const _0x5e8173=(_0x1bb53d=this[_0x3fee99(0x1a4)]['getSheetBySheetName'](this[_0x3fee99(0x1b3)]))==null?void 0x0:_0x1bb53d[_0x3fee99(0x17f)]();if(!_0x5e8173)throw new Error(_0x3fee99(0x1b0)+this[_0x3fee99(0x1b3)]+_0x3fee99(0x15b));_0x1543aa=_0x5e8173;}return{'unitId':this[_0x3fee99(0x1ca)],'subUnitId':_0x1543aa,'chartId':this[_0x3fee99(0x1a2)],'range':this[_0x3fee99(0x15d)],'x':this['x'],'y':this['y'],'width':this[_0x3fee99(0x1d6)],'height':this[_0x3fee99(0x16e)],'chartType':this[_0x3fee99(0x19a)],'options':this[_0x3fee99(0x191)],'isRowDirection':this[_0x3fee99(0x18a)]};}}class f{constructor(_0x250a51,_0x34646e,_0x41c442,_0x3dfe29){const _0x4f5fa5=_0x3ff9af;n(this,_0x4f5fa5(0x1ca)),n(this,_0x4f5fa5(0x1f9)),n(this,_0x4f5fa5(0x1a2)),n(this,'_injector'),(this[_0x4f5fa5(0x1ca)]=_0x250a51,this[_0x4f5fa5(0x1f9)]=_0x34646e,this[_0x4f5fa5(0x1a2)]=_0x41c442,this[_0x4f5fa5(0x19f)]=_0x3dfe29);}['getChartId'](){const _0x3d440a=_0x3ff9af;return this[_0x3d440a(0x1a2)];}[_0x3ff9af(0x201)](){const _0x489100=_0x3ff9af,_0x2ff789=this[_0x489100(0x19f)]['get'](_0x58bbbe)['getChartModel'](this['chartId']);if(_0x2ff789)return _0x2ff789['dataSource']['getRangeInfo']();}[_0x3ff9af(0x1f2)](_0x46d369){const _0x35e448=_0x3ff9af;return this[_0x35e448(0x19f)][_0x35e448(0x1b9)](_0xea1516)['executeCommand'](_0x548301['id'],{'unitId':this[_0x35e448(0x1ca)],'chartModelId':this['chartId'],'range':_0x46d369});}[_0x3ff9af(0x1d0)](){const _0x2a1411=_0x3ff9af;var _0x270c9b;const _0x15228f=this[_0x2a1411(0x19f)][_0x2a1411(0x1b9)](_0x58bbbe)[_0x2a1411(0x1bb)](this['chartId']);if(_0x15228f)return(_0x270c9b=_0x15228f[_0x2a1411(0x18b)])==null?void 0x0:_0x270c9b[_0x2a1411(0x1f4)];}['getCategoryData'](){const _0x280cd8=_0x3ff9af;var _0x38ad42;const _0x55df69=this[_0x280cd8(0x19f)]['get'](_0x58bbbe)[_0x280cd8(0x1bb)](this['chartId']);if(_0x55df69)return(_0x38ad42=_0x55df69[_0x280cd8(0x18b)])==null?void 0x0:_0x38ad42['category'];}['modify'](){const _0x13a200=_0x3ff9af,_0x42f4fa=this['_injector'][_0x13a200(0x1b9)](_0x57b092)['getCurrentUnitForType'](_0x343491[_0x13a200(0x153)]);return new c(this[_0x13a200(0x1ca)],this[_0x13a200(0x1f9)],_0x42f4fa,this[_0x13a200(0x19f)],this[_0x13a200(0x1a2)]);}}class Q extends _0x19a7ba{async['insertChart'](_0x74a27){const _0x2d0a58=_0x3ff9af;var _0x44c049,_0x4ddc9a,_0x117f80;const _0x1035b1=_0x74a27[_0x2d0a58(0x1ca)]||this['getWorkbook']()[_0x2d0a58(0x1b1)](),_0x5e400a=_0x74a27['subUnitId']||this[_0x2d0a58(0x17f)](),_0x163ac1=_0x74a27['chartId']||_0x11d27b(),_0x50fe93=_0x74a27[_0x2d0a58(0x19a)],_0x2863f1=_0x74a27[_0x2d0a58(0x15d)],_0x56852a={'x':_0x74a27['x'],'y':_0x74a27['y']},_0x307749=_0x74a27[_0x2d0a58(0x1d6)],_0x1a9455=_0x74a27['height'],_0x42352b=(_0x44c049=_0x74a27[_0x2d0a58(0x191)])==null?void 0x0:_0x44c049[_0x2d0a58(0x19c)],_0x1046c1=(_0x4ddc9a=_0x74a27['options'])==null?void 0x0:_0x4ddc9a[_0x2d0a58(0x15f)],_0x41292d=C(_0x1035b1,_0x163ac1,_0x50fe93,_0x74a27[_0x2d0a58(0x191)]),_0x2e2b5e=(_0x117f80=_0x74a27['isRowDirection'])!=null?_0x117f80:!0x0;if(!_0x2863f1)throw new Error(_0x2d0a58(0x1b5));return await this[_0x2d0a58(0x1c2)][_0x2d0a58(0x187)](_0x1534e7['id'],{'unitId':_0x1035b1,'subUnitId':_0x5e400a,'chartId':_0x163ac1,'chartType':_0x50fe93,'range':_0x2863f1,'position':_0x56852a,'width':_0x307749,'height':_0x1a9455,'backgroundColor':_0x42352b,'borderColor':_0x1046c1,'config':_0x41292d,'isRowDirection':_0x2e2b5e}),new f(_0x1035b1,_0x5e400a,_0x163ac1,this[_0x2d0a58(0x19f)]);}[_0x3ff9af(0x1c1)](_0x342877){const _0xf303e6=_0x3ff9af,{unitId:_0x4f76b5,chartId:_0x5e53cd,chartType:_0x5cedcb,options:_0xe72c01}=_0x342877,_0x531810=C(_0x4f76b5,_0x5e53cd,_0x5cedcb,_0xe72c01);this[_0xf303e6(0x1c2)][_0xf303e6(0x187)](_0xa4da5b['id'],_0x531810);}['newChart'](_0x203238){const _0x64defc=_0x3ff9af;if(_0x203238)return new c(_0x203238['unitId'],_0x203238[_0x64defc(0x1f9)],this[_0x64defc(0x1a4)],this[_0x64defc(0x19f)],_0x203238[_0x64defc(0x1a2)]);const _0x4549be=this['getWorkbook']()[_0x64defc(0x1b1)](),_0x32f404=this[_0x64defc(0x17f)]();return new c(_0x4549be,_0x32f404,this[_0x64defc(0x1a4)],this[_0x64defc(0x19f)]);}['getCharts'](){const _0x3bb52e=_0x3ff9af,_0x39c8db=this[_0x3bb52e(0x19f)][_0x3bb52e(0x1b9)](_0x58bbbe),_0x2307e5=this['getWorkbook']()[_0x3bb52e(0x1b1)]();return _0x39c8db[_0x3bb52e(0x17d)](_0x2307e5,this[_0x3bb52e(0x17f)]())[_0x3bb52e(0x192)](_0x49b975=>new f(_0x2307e5,this['getSheetId'](),_0x49b975['id'],this[_0x3bb52e(0x19f)]));}[_0x3ff9af(0x1ab)](_0x40e143){const _0x5c768a=_0x3ff9af,_0x351e73=_0x40e143['unitId'],_0x1b14f9=_0x40e143[_0x5c768a(0x1f9)],_0x15ceb7=_0x40e143[_0x5c768a(0x1a2)],_0x33ff64={'unitId':_0x351e73,'drawings':[{'unitId':_0x351e73,'subUnitId':_0x1b14f9,'drawingId':_0x15ceb7,'drawingType':_0x1e26e9[_0x5c768a(0x164)]}]};return this[_0x5c768a(0x1c2)][_0x5c768a(0x187)](_0x44bf50['id'],_0x33ff64);}['registerChartTheme'](_0x216508,_0x19a6fc){const _0x105465=_0x3ff9af;this[_0x105465(0x19f)][_0x105465(0x1b9)](_0xd76de6)[_0x105465(0x1a9)](_0x216508,_0x19a6fc);}}_0x19a7ba[_0x3ff9af(0x1a3)](Q);class Z extends _0x197007{get['ChartType'](){return _0xc8fa2d;}get[_0x3ff9af(0x1fc)](){return _0x1019aa;}get[_0x3ff9af(0x1f8)](){return _0x7538d3;}get['AxisAlignEnum'](){return _0x36f42c;}get[_0x3ff9af(0x189)](){return _0x450ed2;}get['LinePointShape'](){return _0x576f01;}get[_0x3ff9af(0x1b8)](){return _0x468cae;}get[_0x3ff9af(0x183)](){return _0x464687;}}_0x197007['extend'](Z);class tt extends c{constructor(_0x46d71a,_0x3749cb,_0x1f15ee,_0xce362,_0x38b084){const _0x361388=_0x3ff9af;super(_0x46d71a,_0x3749cb,_0x1f15ee,_0xce362,_0x38b084),n(this,'lineStyle'),n(this,_0x361388(0x1d5)),n(this,_0x361388(0x1ee)),n(this,_0x361388(0x1a0));}[_0x3ff9af(0x1b4)](_0x2c208d){const _0x36bc0d=_0x3ff9af;return this[_0x36bc0d(0x1ac)]=_0x2c208d,this;}[_0x3ff9af(0x165)](_0x5e1914){return this['dataPointShape']=_0x5e1914,this;}[_0x3ff9af(0x1af)](_0x58ea13){const _0x32acea=_0x3ff9af;return this[_0x32acea(0x1ee)]=_0x58ea13,this;}[_0x3ff9af(0x18e)](_0x1e9bd4){const _0xe5ccfa=_0x3ff9af;return this[_0xe5ccfa(0x1a0)]=_0x1e9bd4,this;}[_0x3ff9af(0x1cc)](){const _0x55cfb4=_0x3ff9af,_0x20d592=super[_0x55cfb4(0x1cc)]();_0x20d592[_0x55cfb4(0x19a)]=_0xc8fa2d[_0x55cfb4(0x1d1)];const _0x58e5fa=_0x20d592[_0x55cfb4(0x191)]||{};return s(_0x58e5fa,'area.lineStyle',this[_0x55cfb4(0x1ac)]),s(_0x58e5fa,'allSeriesStyle.point.shape',this[_0x55cfb4(0x1d5)]),s(_0x58e5fa,_0x55cfb4(0x1ec),this[_0x55cfb4(0x1ee)]),s(_0x58e5fa,_0x55cfb4(0x15c),this[_0x55cfb4(0x1a0)]),_0x20d592[_0x55cfb4(0x191)]=_0x58e5fa,_0x20d592;}}function _0x5ce0(){const _0x2cb2b1=['setSeriesStyle','titles.title.bold','getRenderById','hasPaddingAngle','allSeriesStyle','\x20not\x20found','allSeriesStyle.point.size','range','content','borderColor','showLabelLine','31168rbQxJu','setInvalidValueStrategy','6929098CDSVyB','DRAWING_CHART','setDataPointShape','xAxis.label.axisTitleAlign','pie.rosePie','point','length','rosePie','titles.yAxisTitle.font','setHeight','fontStyle','height','setChartType','pie.hasPaddingAngle','isHalfPie','setAxisPointerStyle','setPosition','axisAlignment','setBorderColor','indicatorLineColor','setRightYAxisTextStyle','top','theme','92421jRtKGX','Radar','setAllSeriesStyle','getUnitChartModels','titles.rightYAxisTitle.font','getSheetId','pie','3602889MwfGrZ','titles.title.family','RadarShape','seriesStyleMap','legend.label.color','titles.xAxisTitle.color','executeCommand','keys','ChartBorderDashType','transposeRowsAndColumns','config','legend.label.fontSize','gradientFill','setDataPointSize','tooltip.indicatorLabelColor','titles.title.align','options','map','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.xAxisTitle.family','titles.rightYAxisTitle.bold','radar','invalidValueType','25stXDog','sheetName','chartType','setFill','backgroundColor','bold','titles.titlePosition','_injector','dataPointSize','yAxis.label.axisTitleAlign','chartId','extend','_workbook','titles.title.font','legend.selectMode','label','xAxisTitle','registerTheme','asPieChart','removeChart','lineStyle','indicatorLabelTextColor','doughnutHole','setDataPointColor','Sheet\x20','getUnitId','left','sourceSheetName','setLineStyle','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','fontColor','titles.xAxisTitle.fontSize','TitlePositionEnum','get','setXAxisTitle','getChartModel','xAxis','pie.showLabelLine','context','95920iDtAuD','setRosePie','updateChart','_commandService','titles.xAxisTitle.bold','yAxis','titles.yAxisTitle.color','asLineChart','indicatorLabelColor','indicatorLineType','font','unitId','radar.shape','build','titles.rightYAxisTitle.color','italic','setYAxisTitle','getSeriesData','Line','titles.title.fontSize','titles.rightYAxisTitle.content','titles.rightYAxisTitle.fontSize','dataPointShape','width','selectMode','defineProperty','addRange','setOptions','setHasPaddingAngle','yAxisTitle','asRadarChart','rightYAxisTitle','10EbJcuy','pie.isHalfPie','shape','setAbsolutePosition','setShape','fill','color','setTheme','rightYAxis','titles.xAxisTitle.content','147rXnkuL','area.lineStyle','titles.yAxisTitle.fontSize','allSeriesStyle.point.color','with','dataPointColor','legend.label.bold','legend','fontSize','updateRange','titles.title.color','series','getChartType','5862EYOSjU','clearRange','SelectModeEnum','subUnitId','setRightYAxisTitle','rightYAxis.label.axisTitleAlign','LegendPositionEnum','67VQfQpr','position','style','yRightAxis','getRange','title','axisPointer','area','pie.borderColor','UNIVER_SHEET','159846jZSkwo','pie.doughnutHole'];_0x5ce0=function(){return _0x2cb2b1;};return _0x5ce0();}class et extends c{[_0x3ff9af(0x1c6)](){const _0x4b69a9=_0x3ff9af;return new tt(this[_0x4b69a9(0x1ca)],this[_0x4b69a9(0x1f9)],this['_workbook'],this['_injector'],this[_0x4b69a9(0x1a2)]);}}c[_0x3ff9af(0x1a3)](et);class it extends c{constructor(_0x5a0d03,_0x39987c,_0x4433dd,_0x41cb48,_0x2bb61a){const _0x56b6a9=_0x3ff9af;super(_0x5a0d03,_0x39987c,_0x4433dd,_0x41cb48,_0x2bb61a),n(this,'doughnutHole'),n(this,_0x56b6a9(0x15f)),n(this,_0x56b6a9(0x159)),n(this,_0x56b6a9(0x171)),n(this,'rosePie'),n(this,_0x56b6a9(0x160));}['setDoughnutHole'](_0x22cdaa){const _0x454302=_0x3ff9af;return this[_0x454302(0x1ae)]=_0x22cdaa,this;}[_0x3ff9af(0x175)](_0x5a55cf){return this['borderColor']=_0x5a55cf,this;}[_0x3ff9af(0x1db)](_0x37e3d4){const _0x134fa6=_0x3ff9af;return this[_0x134fa6(0x159)]=_0x37e3d4,this;}['setIsHalfPie'](_0x37dcb8){const _0x351a89=_0x3ff9af;return this[_0x351a89(0x171)]=_0x37dcb8,this;}[_0x3ff9af(0x1c0)](_0xfc50d5){const _0x306c98=_0x3ff9af;return this[_0x306c98(0x16a)]=_0xfc50d5,this;}['setShowLabelLine'](_0x20610b){const _0x2dbc19=_0x3ff9af;return this[_0x2dbc19(0x160)]=_0x20610b,this;}['build'](){const _0x2f44a0=_0x3ff9af,_0xe42514=super['build']();_0xe42514[_0x2f44a0(0x19a)]=_0xc8fa2d['Pie'];const _0x3efeec=_0xe42514[_0x2f44a0(0x191)]||{};return s(_0x3efeec,_0x2f44a0(0x155),this['doughnutHole']),s(_0x3efeec,_0x2f44a0(0x152),this[_0x2f44a0(0x15f)]),s(_0x3efeec,_0x2f44a0(0x170),this['hasPaddingAngle']),s(_0x3efeec,_0x2f44a0(0x1e0),this['isHalfPie']),s(_0x3efeec,_0x2f44a0(0x167),this[_0x2f44a0(0x16a)]),s(_0x3efeec,_0x2f44a0(0x1bd),this['showLabelLine']),_0xe42514[_0x2f44a0(0x191)]=_0x3efeec,_0xe42514;}}class st extends c{[_0x3ff9af(0x1aa)](){const _0x4301cd=_0x3ff9af;return new it(this['unitId'],this[_0x4301cd(0x1f9)],this[_0x4301cd(0x1a4)],this[_0x4301cd(0x19f)],this[_0x4301cd(0x1a2)]);}}c[_0x3ff9af(0x1a3)](st);class rt extends c{constructor(_0x184807,_0x48955d,_0x2904e2,_0x403b91,_0x16b71e){const _0x163d91=_0x3ff9af;super(_0x184807,_0x48955d,_0x2904e2,_0x403b91,_0x16b71e),n(this,_0x163d91(0x1e1)),n(this,'fill');}[_0x3ff9af(0x1e3)](_0x4aa496){const _0x238686=_0x3ff9af;return this[_0x238686(0x1e1)]=_0x4aa496,this;}[_0x3ff9af(0x19b)](_0x1284f5){const _0x4211cc=_0x3ff9af;return this[_0x4211cc(0x1e4)]=_0x1284f5,this;}[_0x3ff9af(0x1cc)](){const _0x3687a8=_0x3ff9af,_0x3dab0d=super[_0x3687a8(0x1cc)]();_0x3dab0d[_0x3687a8(0x19a)]=_0xc8fa2d[_0x3687a8(0x17b)];const _0x57f43f=_0x3dab0d[_0x3687a8(0x191)]||{};return s(_0x57f43f,_0x3687a8(0x1cb),this[_0x3687a8(0x1e1)]),s(_0x57f43f,'radar.fill',this[_0x3687a8(0x1e4)]),_0x3dab0d[_0x3687a8(0x191)]=_0x57f43f,_0x3dab0d;}}class ot extends c{[_0x3ff9af(0x1dd)](){const _0x14a54a=_0x3ff9af;return new rt(this['unitId'],this[_0x14a54a(0x1f9)],this[_0x14a54a(0x1a4)],this[_0x14a54a(0x19f)],this[_0x14a54a(0x1a2)]);}}c[_0x3ff9af(0x1a3)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
1
+ const _0x20d00e=_0x46e6;(function(_0xfb362b,_0x56c3c6){const _0x3351fb=_0x46e6,_0x1e2133=_0xfb362b();while(!![]){try{const _0x231089=-parseInt(_0x3351fb(0x1ce))/0x1*(parseInt(_0x3351fb(0x153))/0x2)+-parseInt(_0x3351fb(0x1f2))/0x3+-parseInt(_0x3351fb(0x1b5))/0x4*(parseInt(_0x3351fb(0x169))/0x5)+parseInt(_0x3351fb(0x177))/0x6*(parseInt(_0x3351fb(0x1cf))/0x7)+parseInt(_0x3351fb(0x186))/0x8+parseInt(_0x3351fb(0x1f9))/0x9*(parseInt(_0x3351fb(0x1d1))/0xa)+parseInt(_0x3351fb(0x1df))/0xb*(-parseInt(_0x3351fb(0x1b1))/0xc);if(_0x231089===_0x56c3c6)break;else _0x1e2133['push'](_0x1e2133['shift']());}catch(_0xda6fa7){_0x1e2133['push'](_0x1e2133['shift']());}}}(_0x4fc7,0xd64f8));var b=Object[_0x20d00e(0x1eb)],k=(_0x3c1d56,_0xeea77b,_0x354167)=>_0xeea77b in _0x3c1d56?b(_0x3c1d56,_0xeea77b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x354167}):_0x3c1d56[_0xeea77b]=_0x354167,n=(_0xd6868a,_0x13fafc,_0x373daf)=>k(_0xd6868a,typeof _0x13fafc!=_0x20d00e(0x17d)?_0x13fafc+'':_0x13fafc,_0x373daf);import{ChartThemeService as _0x15dcc6,ChartTypeBits as _0x2fd142,LegendPositionEnum as _0x366691,SelectModeEnum as _0x58312b,AxisAlignEnum as _0x5e4baf,ChartBorderDashType as _0x85af2b,LinePointShape as _0x11784f,TitlePositionEnum as _0x41ce53,RadarShape as _0x3acd63}from'@univerjs-pro/engine-chart';import{setProperty as _0x313a11,SheetsChartService as _0x1eb06e,ChartUpdateSourceCommand as _0x434c94,ChartUpdateConfigCommand as _0x1997eb}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0xd797a5}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x30b0a4,IUniverInstanceService as _0x30b38a,UniverInstanceType as _0x52838f,generateRandomId as _0x249564,DrawingTypeEnum as _0x512f8e}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x73f846}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x565e10}from'@univerjs/sheets/facade';import{FBase as _0x213b10,FEnum as _0x48fac6}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x1f937a}from'@univerjs/engine-formula';import{IRenderManagerService as _0x5d4d85}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x5be415,SheetSkeletonManagerService as _0x43ebb1,convertPositionCellToSheetOverGrid as _0x3ef49b}from'@univerjs/sheets-ui';const s=(_0x4fe3f4,_0x17116f,_0x30bf61)=>{_0x30bf61!==void 0x0&&_0x313a11(_0x4fe3f4,_0x17116f,_0x30bf61);},C=(_0xae8c7e,_0x434dad,_0x4ba898,_0x11f9a2={})=>{const _0x4afbd5=_0x20d00e,_0x4f1e16={},_0x1603ff={};if(_0x11f9a2[_0x4afbd5(0x19b)]){const _0x3cfce0=_0x11f9a2['title'];s(_0x4f1e16,_0x4afbd5(0x175),_0x3cfce0[_0x4afbd5(0x1db)]),s(_0x4f1e16,'titles.title.font',_0x3cfce0[_0x4afbd5(0x1fd)]),s(_0x4f1e16,_0x4afbd5(0x206),_0x3cfce0[_0x4afbd5(0x160)]),s(_0x4f1e16,_0x4afbd5(0x19a),_0x3cfce0[_0x4afbd5(0x154)]),s(_0x4f1e16,_0x4afbd5(0x1ab),_0x3cfce0['fontStyle']),s(_0x4f1e16,_0x4afbd5(0x1fe),_0x3cfce0['bold']),s(_0x4f1e16,_0x4afbd5(0x15d),_0x3cfce0[_0x4afbd5(0x18e)]),s(_0x4f1e16,_0x4afbd5(0x1da),_0x3cfce0['position']);}if(_0x11f9a2[_0x4afbd5(0x1d7)]){const _0x5e1cc4=_0x11f9a2[_0x4afbd5(0x1d7)];s(_0x4f1e16,_0x4afbd5(0x1b9),_0x5e1cc4['position']),s(_0x4f1e16,_0x4afbd5(0x1ad),_0x5e1cc4[_0x4afbd5(0x157)]),s(_0x4f1e16,'legend.label.fontSize',_0x5e1cc4['fontSize']),s(_0x4f1e16,_0x4afbd5(0x1d2),_0x5e1cc4[_0x4afbd5(0x189)]),s(_0x4f1e16,'legend.label.bold',_0x5e1cc4[_0x4afbd5(0x172)]),s(_0x4f1e16,_0x4afbd5(0x1bf),_0x5e1cc4[_0x4afbd5(0x1e1)]);}if(_0x11f9a2[_0x4afbd5(0x1b2)]){const _0x489425=_0x11f9a2[_0x4afbd5(0x1b2)];s(_0x4f1e16,_0x4afbd5(0x20a),_0x489425['doughnutHole']),s(_0x4f1e16,'pie.borderColor',_0x489425[_0x4afbd5(0x1e7)]),s(_0x4f1e16,'pie.hasPaddingAngle',_0x489425[_0x4afbd5(0x1bc)]),s(_0x4f1e16,'pie.isHalfPie',_0x489425['isHalfPie']),s(_0x4f1e16,_0x4afbd5(0x1ea),_0x489425[_0x4afbd5(0x158)]),s(_0x4f1e16,_0x4afbd5(0x19c),_0x489425[_0x4afbd5(0x20c)]);}if(_0x11f9a2[_0x4afbd5(0x16f)]){const _0x208268=_0x11f9a2[_0x4afbd5(0x16f)];s(_0x4f1e16,_0x4afbd5(0x15c),_0x208268[_0x4afbd5(0x179)]),s(_0x4f1e16,_0x4afbd5(0x1f5),_0x208268[_0x4afbd5(0x1d4)]),s(_0x4f1e16,_0x4afbd5(0x1d6),_0x208268[_0x4afbd5(0x1c9)]),s(_0x4f1e16,'tooltip.indicatorLabelTextColor',_0x208268[_0x4afbd5(0x1ff)]);}if(_0x11f9a2['allSeriesStyle']&&(s(_0x4f1e16,_0x4afbd5(0x196),_0x11f9a2[_0x4afbd5(0x188)][_0x4afbd5(0x1c4)]),s(_0x4f1e16,'allSeriesStyle.label',_0x11f9a2['allSeriesStyle'][_0x4afbd5(0x174)]),s(_0x4f1e16,_0x4afbd5(0x1ee),_0x11f9a2['allSeriesStyle'][_0x4afbd5(0x163)]),s(_0x4f1e16,'allSeriesStyle.point',_0x11f9a2[_0x4afbd5(0x188)][_0x4afbd5(0x1f1)]),s(_0x4f1e16,_0x4afbd5(0x1c0),_0x11f9a2[_0x4afbd5(0x188)][_0x4afbd5(0x189)])),_0x11f9a2['area']&&s(_0x4f1e16,_0x4afbd5(0x198),_0x11f9a2[_0x4afbd5(0x17c)][_0x4afbd5(0x152)]),_0x11f9a2['theme']&&s(_0x4f1e16,_0x4afbd5(0x171),_0x11f9a2['theme']),_0x11f9a2['backgroundColor']&&s(_0x4f1e16,'backgroundColor',_0x11f9a2[_0x4afbd5(0x1d5)]),_0x11f9a2[_0x4afbd5(0x1e7)]&&s(_0x4f1e16,_0x4afbd5(0x1e7),_0x11f9a2[_0x4afbd5(0x1e7)]),_0x11f9a2[_0x4afbd5(0x1e9)]&&s(_0x4f1e16,'gradientFill',_0x11f9a2[_0x4afbd5(0x1e9)]),_0x11f9a2[_0x4afbd5(0x202)]&&s(_0x4f1e16,_0x4afbd5(0x202),_0x11f9a2[_0x4afbd5(0x202)]),_0x11f9a2[_0x4afbd5(0x1cc)]&&s(_0x4f1e16,_0x4afbd5(0x1cc),_0x11f9a2['radar']),_0x11f9a2[_0x4afbd5(0x1ac)]){const _0x1508ba=_0x11f9a2[_0x4afbd5(0x1ac)];s(_0x4f1e16,_0x4afbd5(0x203),_0x1508ba['content']),s(_0x4f1e16,_0x4afbd5(0x1b4),_0x1508ba[_0x4afbd5(0x1fd)]),s(_0x4f1e16,_0x4afbd5(0x1bd),_0x1508ba[_0x4afbd5(0x160)]),s(_0x4f1e16,_0x4afbd5(0x15f),_0x1508ba[_0x4afbd5(0x154)]),s(_0x4f1e16,_0x4afbd5(0x165),_0x1508ba[_0x4afbd5(0x162)]),s(_0x4f1e16,'titles.xAxisTitle.bold',_0x1508ba[_0x4afbd5(0x172)]),s(_0x4f1e16,_0x4afbd5(0x16c),_0x1508ba['axisAlignment']);}if(_0x11f9a2[_0x4afbd5(0x1ec)]){const _0x438457=_0x11f9a2[_0x4afbd5(0x1ec)];s(_0x4f1e16,'titles.yAxisTitle.content',_0x438457[_0x4afbd5(0x1db)]),s(_0x4f1e16,_0x4afbd5(0x17e),_0x438457[_0x4afbd5(0x1fd)]),s(_0x4f1e16,_0x4afbd5(0x155),_0x438457['fontSize']),s(_0x4f1e16,_0x4afbd5(0x1a3),_0x438457[_0x4afbd5(0x154)]),s(_0x4f1e16,'titles.yAxisTitle.family',_0x438457[_0x4afbd5(0x162)]),s(_0x4f1e16,_0x4afbd5(0x182),_0x438457[_0x4afbd5(0x172)]),s(_0x4f1e16,_0x4afbd5(0x15a),_0x438457[_0x4afbd5(0x1dc)]);}if(_0x11f9a2[_0x4afbd5(0x1d3)]){const _0x4042c0=_0x11f9a2[_0x4afbd5(0x1d3)];s(_0x4f1e16,_0x4afbd5(0x161),_0x4042c0['content']),s(_0x4f1e16,_0x4afbd5(0x1a1),_0x4042c0[_0x4afbd5(0x1fd)]),s(_0x4f1e16,_0x4afbd5(0x1fb),_0x4042c0[_0x4afbd5(0x160)]),s(_0x4f1e16,'titles.rightYAxisTitle.color',_0x4042c0[_0x4afbd5(0x154)]),s(_0x4f1e16,_0x4afbd5(0x1d0),_0x4042c0[_0x4afbd5(0x162)]),s(_0x4f1e16,'titles.rightYAxisTitle.bold',_0x4042c0[_0x4afbd5(0x172)]),s(_0x4f1e16,_0x4afbd5(0x1c7),_0x4042c0[_0x4afbd5(0x1dc)]);}_0x11f9a2['xAxis']&&s(_0x4f1e16,'xAxis',_0x11f9a2[_0x4afbd5(0x1a9)]),_0x11f9a2[_0x4afbd5(0x1ef)]&&s(_0x4f1e16,_0x4afbd5(0x1ef),_0x11f9a2[_0x4afbd5(0x1ef)]),_0x11f9a2['yRightAxis']&&s(_0x4f1e16,_0x4afbd5(0x163),_0x11f9a2['yRightAxis']),_0x11f9a2[_0x4afbd5(0x1b7)]&&s(_0x4f1e16,_0x4afbd5(0x1b7),_0x11f9a2['seriesStyleMap']);const _0x183e74={'unitId':_0xae8c7e,'chartModelId':_0x434dad};let _0x38b7f2=!0x1;if(_0x4ba898!==void 0x0&&(_0x183e74[_0x4afbd5(0x1a8)]=_0x4ba898,_0x38b7f2=!0x0),Object[_0x4afbd5(0x164)](_0x4f1e16)[_0x4afbd5(0x1d9)]>0x0&&(_0x183e74[_0x4afbd5(0x19d)]=_0x4f1e16,_0x38b7f2=!0x0),Object[_0x4afbd5(0x164)](_0x1603ff)[_0x4afbd5(0x1d9)]>0x0&&(_0x183e74[_0x4afbd5(0x17f)]=_0x1603ff,_0x38b7f2=!0x0),_0x38b7f2)return _0x183e74;};function _0x4fc7(){const _0x9a0694=['registerTheme','radar','insertChart','1VqzNko','4549755aFEIzk','titles.rightYAxisTitle.family','4877770BPscWV','legend.label.color','rightYAxisTitle','indicatorLineType','backgroundColor','tooltip.indicatorLineColor','legend','with','length','titles.titlePosition','content','axisAlignment','dataPointSize','setPosition','110mPRlSZ','setDataPointShape','italic','setDataPointSize','_commandService','left','sheetName','addRange','borderColor','getChartModel','gradientFill','pie.rosePie','defineProperty','yAxisTitle','setAxisPointerStyle','allSeriesStyle.rightYAxis','yAxis','AxisAlignEnum','point','1000290vsddRW','dataPointColor','setTheme','tooltip.indicatorLineType','chartId','ChartType','setRightYAxisTitle','9UBElJt','radar.shape','titles.rightYAxisTitle.fontSize','newChart','font','titles.title.bold','indicatorLabelTextColor','setRosePie','setAbsolutePosition','invalidValueType','titles.xAxisTitle.content','setTransposeRowsAndColumns','category','titles.title.fontSize','string','asPieChart','DRAWING_CHART','pie.doughnutHole','clearRange','showLabelLine','width','subUnitId','getRenderById','allSeriesStyle.point.color','getWorkbook','setShape','lineStyle','1866572RcIDHy','fontColor','titles.yAxisTitle.fontSize','setFill','selectMode','rosePie','updateRange','yAxis.label.axisTitleAlign','sourceSheetName','tooltip.indicatorLabelColor','titles.title.align','LinePointShape','titles.xAxisTitle.color','fontSize','titles.rightYAxisTitle.content','fontStyle','rightYAxis','keys','titles.xAxisTitle.family','getChartType','TitlePositionEnum','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','3635wxhkWZ','dataPointShape','setYAxisTextStyle','xAxis.label.axisTitleAlign','config','setRightYAxisTextStyle','axisPointer','_injector','theme','bold','LegendPositionEnum','label','titles.title.content','pie.hasPaddingAngle','12xAEAwF','fill','indicatorLabelColor','executeCommand','setIsHalfPie','area','symbol','titles.yAxisTitle.font','context','getCurrentUnitForType','setInvalidValueStrategy','titles.yAxisTitle.bold','modify','transposeRowsAndColumns','registerChartTheme','8535936etcnyC','getSheetBySheetName','allSeriesStyle','color','getChartId','range','getRange','shape','titleAlignment','setAllSeriesStyle','Line','_workbook','height','Radar','getRangeInfo','options','allSeriesStyle.border','getCategoryData','area.lineStyle','getUnitId','titles.title.color','title','pie.showLabelLine','style','map','setXAxisTextStyle','setYAxisTitle','titles.rightYAxisTitle.font','get','titles.yAxisTitle.color','setWidth','updateChart','setOptions','asRadarChart','chartType','xAxis','isHalfPie','titles.title.family','xAxisTitle','legend.selectMode','getCharts','build','extend','345336SwuILi','pie','setSeriesStyle','titles.xAxisTitle.font','2324rmniYn','setShowLabelLine','seriesStyleMap','allSeriesStyle.point.size','legend.position','ChartBorderDashType','setChartType','hasPaddingAngle','titles.xAxisTitle.fontSize','doughnutHole','legend.label.italic','allSeriesStyle.color','dataSource','setDataPointColor','allSeriesStyle.point.shape','border','unitId','top','rightYAxis.label.axisTitleAlign','getSheetId','indicatorLineColor','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.'];_0x4fc7=function(){return _0x9a0694;};return _0x4fc7();}class c extends _0x213b10{constructor(_0x6abdac,_0x278eca,_0x206850,_0x22db46,_0x22559b){const _0x397193=_0x20d00e;super(),n(this,_0x397193(0x191)),n(this,_0x397193(0x170)),n(this,_0x397193(0x1c5)),n(this,'subUnitId'),n(this,'chartId'),n(this,'range'),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x397193(0x20d)),n(this,_0x397193(0x192)),n(this,_0x397193(0x1a8)),n(this,'options'),n(this,_0x397193(0x184)),(this[_0x397193(0x1c5)]=_0x6abdac,this[_0x397193(0x14d)]=_0x278eca,this[_0x397193(0x191)]=_0x206850,this[_0x397193(0x170)]=_0x22db46,_0x22559b&&(this[_0x397193(0x1f6)]=_0x22559b));}[_0x20d00e(0x166)](){const _0x1d2237=_0x20d00e;return this[_0x1d2237(0x1a8)];}[_0x20d00e(0x1e6)](_0x28eebb){const _0x22d1c2=_0x20d00e;if(typeof _0x28eebb==_0x22d1c2(0x207)){const _0x2ca80d=_0x1f937a(_0x28eebb);_0x2ca80d[_0x22d1c2(0x1e5)]&&(this[_0x22d1c2(0x15b)]=_0x2ca80d['sheetName']),this['range']=_0x2ca80d[_0x22d1c2(0x18b)];}else this[_0x22d1c2(0x18b)]=_0x28eebb;return this;}[_0x20d00e(0x20b)](){const _0x3ab4c7=_0x20d00e;return this[_0x3ab4c7(0x18b)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x20d00e(0x1de)](_0x1ea35a,_0x3a0138,_0x15e722,_0x12cb74){const _0x29422d=_0x20d00e,_0x98adf2=this[_0x29422d(0x170)][_0x29422d(0x1a2)](_0x5d4d85)[_0x29422d(0x14e)](this[_0x29422d(0x1c5)]);if(!_0x98adf2)throw new Error(_0x29422d(0x1ca));const _0x5716c0=_0x98adf2['with'](_0x5be415),_0x423a0e=_0x98adf2[_0x29422d(0x1d8)](_0x43ebb1),{transform:_0x322aa3}=_0x3ef49b(this['unitId'],this[_0x29422d(0x14d)],{'row':_0x1ea35a,'column':_0x3a0138,'rowOffset':_0x15e722,'columnOffset':_0x12cb74},0x1,0x1,_0x5716c0,_0x423a0e),_0x39546f=_0x322aa3[_0x29422d(0x1c6)],_0x181973=_0x322aa3[_0x29422d(0x1e4)];return this['x']=_0x181973,this['y']=_0x39546f,this;}[_0x20d00e(0x201)](_0x1725d5,_0x3edd46){return this['x']=_0x1725d5,this['y']=_0x3edd46,this;}[_0x20d00e(0x1bb)](_0x45ef40){const _0x4d8421=_0x20d00e;return this[_0x4d8421(0x1a8)]=_0x45ef40,this;}[_0x20d00e(0x1a4)](_0x3e69eb){const _0x1b0903=_0x20d00e;return this[_0x1b0903(0x20d)]=_0x3e69eb,this;}['setHeight'](_0x333617){const _0x4aab0c=_0x20d00e;return this[_0x4aab0c(0x192)]=_0x333617,this;}[_0x20d00e(0x1a6)](_0x56c4c5,_0x54f034){const _0x56610e=_0x20d00e;return this[_0x56610e(0x195)]||(this[_0x56610e(0x195)]={}),_0x56c4c5===''?(this[_0x56610e(0x195)]={...this[_0x56610e(0x195)],..._0x54f034},this):(_0x313a11(this[_0x56610e(0x195)],_0x56c4c5,_0x54f034),this);}[_0x20d00e(0x204)](_0x30ed21){const _0x199a9e=_0x20d00e;return this[_0x199a9e(0x184)]=_0x30ed21,this;}[_0x20d00e(0x1f4)](_0xb4c893){return this['setOptions']('theme',_0xb4c893),this;}['setXAxisTitle'](_0x4c26e7){const _0x49d1a2=_0x20d00e;var _0x2aa7a0;const _0x4f6791=((_0x2aa7a0=this[_0x49d1a2(0x195)])==null?void 0x0:_0x2aa7a0[_0x49d1a2(0x1ac)])||{};return _0x4f6791['content']=_0x4c26e7,this[_0x49d1a2(0x1a6)](_0x49d1a2(0x1ac),_0x4f6791),this;}[_0x20d00e(0x1a0)](_0x50de8e){const _0x2272f7=_0x20d00e;var _0x4c36a4;const _0x1db21d=((_0x4c36a4=this['options'])==null?void 0x0:_0x4c36a4['yAxisTitle'])||{};return _0x1db21d[_0x2272f7(0x1db)]=_0x50de8e,this['setOptions']('yAxisTitle',_0x1db21d),this;}[_0x20d00e(0x1f8)](_0x5941c9){const _0x543644=_0x20d00e;var _0x2ae7c1;const _0x174b04=((_0x2ae7c1=this['options'])==null?void 0x0:_0x2ae7c1['rightYAxisTitle'])||{};return _0x174b04['content']=_0x5941c9,this[_0x543644(0x1a6)](_0x543644(0x1d3),_0x174b04),this;}[_0x20d00e(0x19f)](_0x10bf7c){const _0x10bbeb=_0x20d00e;var _0x4727a2;const _0x4e678d=((_0x4727a2=this[_0x10bbeb(0x195)])==null?void 0x0:_0x4727a2['xAxisTitle'])||{};return this[_0x10bbeb(0x1a6)](_0x10bbeb(0x1ac),{..._0x4e678d,..._0x10bf7c}),this;}[_0x20d00e(0x16b)](_0x34e06e){const _0x365aac=_0x20d00e;var _0x2fb68d;const _0x2d613b=((_0x2fb68d=this[_0x365aac(0x195)])==null?void 0x0:_0x2fb68d[_0x365aac(0x1ec)])||{};return this[_0x365aac(0x1a6)]('yAxisTitle',{..._0x2d613b,..._0x34e06e}),this;}[_0x20d00e(0x16e)](_0x560b91){const _0x204e5d=_0x20d00e;var _0x14eeaf;const _0x50b089=((_0x14eeaf=this[_0x204e5d(0x195)])==null?void 0x0:_0x14eeaf['rightYAxisTitle'])||{};return this['setOptions']('rightYAxisTitle',{..._0x50b089,..._0x560b91}),this;}[_0x20d00e(0x181)](_0x2c9190){const _0x2aa115=_0x20d00e;return this[_0x2aa115(0x1a6)]('invalidValueType',_0x2c9190),this;}[_0x20d00e(0x1ed)](_0x45fe2c){const _0x1cc9ec=_0x20d00e;return this[_0x1cc9ec(0x1a6)]('axisPointer',_0x45fe2c),this;}[_0x20d00e(0x18f)](_0x1b9bc8){const _0x1fe561=_0x20d00e;return this[_0x1fe561(0x1a6)](_0x1fe561(0x188),_0x1b9bc8),this;}[_0x20d00e(0x1b3)](_0x2c98c4,_0x2f8ed1){const _0x36f963=_0x20d00e;return this[_0x36f963(0x1a6)](_0x36f963(0x1b7),{[_0x2c98c4]:_0x2f8ed1}),this;}[_0x20d00e(0x1af)](){const _0x5147f1=_0x20d00e;var _0x49f6fc;let _0x32dfee=this[_0x5147f1(0x14d)];if(this[_0x5147f1(0x15b)]){const _0x4650fa=(_0x49f6fc=this[_0x5147f1(0x191)][_0x5147f1(0x187)](this['sourceSheetName']))==null?void 0x0:_0x49f6fc[_0x5147f1(0x1c8)]();if(!_0x4650fa)throw new Error('Sheet\x20'+this[_0x5147f1(0x15b)]+'\x20not\x20found');_0x32dfee=_0x4650fa;}return{'unitId':this['unitId'],'subUnitId':_0x32dfee,'chartId':this[_0x5147f1(0x1f6)],'range':this[_0x5147f1(0x18b)],'x':this['x'],'y':this['y'],'width':this[_0x5147f1(0x20d)],'height':this[_0x5147f1(0x192)],'chartType':this['chartType'],'options':this['options'],'isRowDirection':this['transposeRowsAndColumns']};}}class f{constructor(_0x1ff207,_0x41fdd0,_0x16e8da,_0x412e08){const _0x3b51ec=_0x20d00e;n(this,_0x3b51ec(0x1c5)),n(this,_0x3b51ec(0x14d)),n(this,'chartId'),n(this,'_injector'),(this['unitId']=_0x1ff207,this[_0x3b51ec(0x14d)]=_0x41fdd0,this[_0x3b51ec(0x1f6)]=_0x16e8da,this['_injector']=_0x412e08);}[_0x20d00e(0x18a)](){return this['chartId'];}[_0x20d00e(0x18c)](){const _0x131542=_0x20d00e,_0x1a72b9=this['_injector']['get'](_0x1eb06e)[_0x131542(0x1e8)](this['chartId']);if(_0x1a72b9)return _0x1a72b9[_0x131542(0x1c1)][_0x131542(0x194)]();}[_0x20d00e(0x159)](_0x258030){const _0x2afacc=_0x20d00e;return this['_injector']['get'](_0x30b0a4)[_0x2afacc(0x17a)](_0x434c94['id'],{'unitId':this['unitId'],'chartModelId':this[_0x2afacc(0x1f6)],'range':_0x258030});}['getSeriesData'](){const _0x101177=_0x20d00e;var _0x5c2b49;const _0x37aa1d=this[_0x101177(0x170)][_0x101177(0x1a2)](_0x1eb06e)[_0x101177(0x1e8)](this[_0x101177(0x1f6)]);if(_0x37aa1d)return(_0x5c2b49=_0x37aa1d['config'])==null?void 0x0:_0x5c2b49['series'];}[_0x20d00e(0x197)](){const _0x2dcde8=_0x20d00e;var _0x3fed4b;const _0x56d232=this['_injector']['get'](_0x1eb06e)['getChartModel'](this[_0x2dcde8(0x1f6)]);if(_0x56d232)return(_0x3fed4b=_0x56d232[_0x2dcde8(0x16d)])==null?void 0x0:_0x3fed4b[_0x2dcde8(0x205)];}[_0x20d00e(0x183)](){const _0x2d121b=_0x20d00e,_0x5f11ac=this[_0x2d121b(0x170)][_0x2d121b(0x1a2)](_0x30b38a)[_0x2d121b(0x180)](_0x52838f['UNIVER_SHEET']);return new c(this[_0x2d121b(0x1c5)],this[_0x2d121b(0x14d)],_0x5f11ac,this[_0x2d121b(0x170)],this[_0x2d121b(0x1f6)]);}}class Q extends _0x565e10{async[_0x20d00e(0x1cd)](_0x311c84){const _0x264a6f=_0x20d00e;var _0x2d3c46,_0x30f839,_0x2e0bc2;const _0x4479c6=_0x311c84[_0x264a6f(0x1c5)]||this[_0x264a6f(0x150)]()['getUnitId'](),_0x440680=_0x311c84[_0x264a6f(0x14d)]||this[_0x264a6f(0x1c8)](),_0x492075=_0x311c84['chartId']||_0x249564(),_0x47a1c0=_0x311c84[_0x264a6f(0x1a8)],_0x162546=_0x311c84[_0x264a6f(0x18b)],_0x25b719={'x':_0x311c84['x'],'y':_0x311c84['y']},_0x206144=_0x311c84[_0x264a6f(0x20d)],_0x2e5ef0=_0x311c84[_0x264a6f(0x192)],_0x4c8e65=(_0x2d3c46=_0x311c84[_0x264a6f(0x195)])==null?void 0x0:_0x2d3c46['backgroundColor'],_0x3894ef=(_0x30f839=_0x311c84['options'])==null?void 0x0:_0x30f839[_0x264a6f(0x1e7)],_0x457afd=C(_0x4479c6,_0x492075,_0x47a1c0,_0x311c84['options']),_0x2d5483=(_0x2e0bc2=_0x311c84['isRowDirection'])!=null?_0x2e0bc2:!0x0;if(!_0x162546)throw new Error(_0x264a6f(0x168));return await this['_commandService'][_0x264a6f(0x17a)](_0xd797a5['id'],{'unitId':_0x4479c6,'subUnitId':_0x440680,'chartId':_0x492075,'chartType':_0x47a1c0,'range':_0x162546,'position':_0x25b719,'width':_0x206144,'height':_0x2e5ef0,'backgroundColor':_0x4c8e65,'borderColor':_0x3894ef,'config':_0x457afd,'isRowDirection':_0x2d5483}),new f(_0x4479c6,_0x440680,_0x492075,this['_injector']);}[_0x20d00e(0x1a5)](_0xf235d8){const _0x43484d=_0x20d00e,{unitId:_0x2c596a,chartId:_0x20d7cf,chartType:_0x1de225,options:_0x3ed3a7}=_0xf235d8,_0x4cc107=C(_0x2c596a,_0x20d7cf,_0x1de225,_0x3ed3a7);this[_0x43484d(0x1e3)][_0x43484d(0x17a)](_0x1997eb['id'],_0x4cc107);}[_0x20d00e(0x1fc)](_0x1aafbb){const _0x46548c=_0x20d00e;if(_0x1aafbb)return new c(_0x1aafbb[_0x46548c(0x1c5)],_0x1aafbb[_0x46548c(0x14d)],this[_0x46548c(0x191)],this[_0x46548c(0x170)],_0x1aafbb[_0x46548c(0x1f6)]);const _0x48a603=this['getWorkbook']()[_0x46548c(0x199)](),_0x39f732=this['getSheetId']();return new c(_0x48a603,_0x39f732,this[_0x46548c(0x191)],this[_0x46548c(0x170)]);}[_0x20d00e(0x1ae)](){const _0x30cec1=_0x20d00e,_0x1f7a82=this[_0x30cec1(0x170)][_0x30cec1(0x1a2)](_0x1eb06e),_0x1ce0f9=this[_0x30cec1(0x150)]()[_0x30cec1(0x199)]();return _0x1f7a82['getUnitChartModels'](_0x1ce0f9,this[_0x30cec1(0x1c8)]())[_0x30cec1(0x19e)](_0x1a6f22=>new f(_0x1ce0f9,this[_0x30cec1(0x1c8)](),_0x1a6f22['id'],this[_0x30cec1(0x170)]));}['removeChart'](_0x1c2422){const _0x44f7b4=_0x20d00e,_0x1ffc3d=_0x1c2422[_0x44f7b4(0x1c5)],_0x59ce9a=_0x1c2422[_0x44f7b4(0x14d)],_0x3d02b3=_0x1c2422[_0x44f7b4(0x1f6)],_0x312984={'unitId':_0x1ffc3d,'drawings':[{'unitId':_0x1ffc3d,'subUnitId':_0x59ce9a,'drawingId':_0x3d02b3,'drawingType':_0x512f8e[_0x44f7b4(0x209)]}]};return this[_0x44f7b4(0x1e3)]['executeCommand'](_0x73f846['id'],_0x312984);}[_0x20d00e(0x185)](_0x236fcc,_0x1ee662){const _0x4146bc=_0x20d00e;this[_0x4146bc(0x170)]['get'](_0x15dcc6)[_0x4146bc(0x1cb)](_0x236fcc,_0x1ee662);}}_0x565e10[_0x20d00e(0x1b0)](Q);class Z extends _0x48fac6{get[_0x20d00e(0x1f7)](){return _0x2fd142;}get[_0x20d00e(0x173)](){return _0x366691;}get['SelectModeEnum'](){return _0x58312b;}get[_0x20d00e(0x1f0)](){return _0x5e4baf;}get[_0x20d00e(0x1ba)](){return _0x85af2b;}get[_0x20d00e(0x15e)](){return _0x11784f;}get[_0x20d00e(0x167)](){return _0x41ce53;}get['RadarShape'](){return _0x3acd63;}}_0x48fac6[_0x20d00e(0x1b0)](Z);class tt extends c{constructor(_0x1d759c,_0x4dbdc4,_0x3bd817,_0x16ebc2,_0x19542d){const _0x586565=_0x20d00e;super(_0x1d759c,_0x4dbdc4,_0x3bd817,_0x16ebc2,_0x19542d),n(this,_0x586565(0x152)),n(this,'dataPointShape'),n(this,_0x586565(0x1f3)),n(this,_0x586565(0x1dd));}['setLineStyle'](_0x22a5ea){const _0x29b22c=_0x20d00e;return this[_0x29b22c(0x152)]=_0x22a5ea,this;}[_0x20d00e(0x1e0)](_0x7b3944){const _0x26a03c=_0x20d00e;return this[_0x26a03c(0x16a)]=_0x7b3944,this;}[_0x20d00e(0x1c2)](_0x444833){const _0x440484=_0x20d00e;return this[_0x440484(0x1f3)]=_0x444833,this;}[_0x20d00e(0x1e2)](_0x1f60e8){const _0x1c6635=_0x20d00e;return this[_0x1c6635(0x1dd)]=_0x1f60e8,this;}[_0x20d00e(0x1af)](){const _0x39e0ff=_0x20d00e,_0x5c9024=super[_0x39e0ff(0x1af)]();_0x5c9024[_0x39e0ff(0x1a8)]=_0x2fd142[_0x39e0ff(0x190)];const _0x591f92=_0x5c9024[_0x39e0ff(0x195)]||{};return s(_0x591f92,_0x39e0ff(0x198),this[_0x39e0ff(0x152)]),s(_0x591f92,_0x39e0ff(0x1c3),this[_0x39e0ff(0x16a)]),s(_0x591f92,_0x39e0ff(0x14f),this[_0x39e0ff(0x1f3)]),s(_0x591f92,_0x39e0ff(0x1b8),this['dataPointSize']),_0x5c9024['options']=_0x591f92,_0x5c9024;}}class et extends c{['asLineChart'](){const _0x215280=_0x20d00e;return new tt(this[_0x215280(0x1c5)],this['subUnitId'],this[_0x215280(0x191)],this[_0x215280(0x170)],this['chartId']);}}c[_0x20d00e(0x1b0)](et);function _0x46e6(_0x185410,_0x26cb7c){const _0x4fc72c=_0x4fc7();return _0x46e6=function(_0x46e666,_0x26c6b3){_0x46e666=_0x46e666-0x14d;let _0x53ca05=_0x4fc72c[_0x46e666];return _0x53ca05;},_0x46e6(_0x185410,_0x26cb7c);}class it extends c{constructor(_0x31a060,_0xeb5495,_0x459676,_0x5d773e,_0x4773cc){const _0x1f8983=_0x20d00e;super(_0x31a060,_0xeb5495,_0x459676,_0x5d773e,_0x4773cc),n(this,_0x1f8983(0x1be)),n(this,_0x1f8983(0x1e7)),n(this,_0x1f8983(0x1bc)),n(this,_0x1f8983(0x1aa)),n(this,'rosePie'),n(this,_0x1f8983(0x20c));}['setDoughnutHole'](_0x1ddf78){return this['doughnutHole']=_0x1ddf78,this;}['setBorderColor'](_0x8cbf36){const _0x3017e6=_0x20d00e;return this[_0x3017e6(0x1e7)]=_0x8cbf36,this;}['setHasPaddingAngle'](_0x4e9f77){const _0x4eb361=_0x20d00e;return this[_0x4eb361(0x1bc)]=_0x4e9f77,this;}[_0x20d00e(0x17b)](_0x63f696){const _0x108c99=_0x20d00e;return this[_0x108c99(0x1aa)]=_0x63f696,this;}[_0x20d00e(0x200)](_0x4e637b){const _0x28f370=_0x20d00e;return this[_0x28f370(0x158)]=_0x4e637b,this;}[_0x20d00e(0x1b6)](_0x53c893){const _0x52934f=_0x20d00e;return this[_0x52934f(0x20c)]=_0x53c893,this;}['build'](){const _0x19c710=_0x20d00e,_0x45a457=super[_0x19c710(0x1af)]();_0x45a457['chartType']=_0x2fd142['Pie'];const _0x51d6a7=_0x45a457[_0x19c710(0x195)]||{};return s(_0x51d6a7,_0x19c710(0x20a),this['doughnutHole']),s(_0x51d6a7,'pie.borderColor',this['borderColor']),s(_0x51d6a7,_0x19c710(0x176),this[_0x19c710(0x1bc)]),s(_0x51d6a7,'pie.isHalfPie',this[_0x19c710(0x1aa)]),s(_0x51d6a7,_0x19c710(0x1ea),this[_0x19c710(0x158)]),s(_0x51d6a7,_0x19c710(0x19c),this[_0x19c710(0x20c)]),_0x45a457[_0x19c710(0x195)]=_0x51d6a7,_0x45a457;}}class st extends c{[_0x20d00e(0x208)](){const _0x170bd8=_0x20d00e;return new it(this[_0x170bd8(0x1c5)],this[_0x170bd8(0x14d)],this[_0x170bd8(0x191)],this['_injector'],this[_0x170bd8(0x1f6)]);}}c[_0x20d00e(0x1b0)](st);class rt extends c{constructor(_0x539690,_0x2a610e,_0x5eae20,_0x292064,_0x3aae91){const _0x26de63=_0x20d00e;super(_0x539690,_0x2a610e,_0x5eae20,_0x292064,_0x3aae91),n(this,_0x26de63(0x18d)),n(this,_0x26de63(0x178));}[_0x20d00e(0x151)](_0x439034){const _0x36b33b=_0x20d00e;return this[_0x36b33b(0x18d)]=_0x439034,this;}[_0x20d00e(0x156)](_0x1c885c){return this['fill']=_0x1c885c,this;}[_0x20d00e(0x1af)](){const _0x39a214=_0x20d00e,_0x35bfdd=super[_0x39a214(0x1af)]();_0x35bfdd[_0x39a214(0x1a8)]=_0x2fd142[_0x39a214(0x193)];const _0x42a9ac=_0x35bfdd[_0x39a214(0x195)]||{};return s(_0x42a9ac,_0x39a214(0x1fa),this[_0x39a214(0x18d)]),s(_0x42a9ac,'radar.fill',this['fill']),_0x35bfdd[_0x39a214(0x195)]=_0x42a9ac,_0x35bfdd;}}class ot extends c{[_0x20d00e(0x1a7)](){const _0x559842=_0x20d00e;return new rt(this[_0x559842(0x1c5)],this[_0x559842(0x14d)],this[_0x559842(0x191)],this[_0x559842(0x170)],this[_0x559842(0x1f6)]);}}c[_0x20d00e(0x1b0)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};