@univerjs-pro/sheets-chart-ui 0.12.1 → 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 +17 -17
@@ -1 +1 @@
1
- 'use strict';const _0x1e8101=_0x4a1c;(function(_0x14b03c,_0x57c4bc){const _0x45c7a8=_0x4a1c,_0x57335b=_0x14b03c();while(!![]){try{const _0x199d48=parseInt(_0x45c7a8(0xd3))/0x1*(parseInt(_0x45c7a8(0x109))/0x2)+-parseInt(_0x45c7a8(0x10a))/0x3+-parseInt(_0x45c7a8(0xa4))/0x4+parseInt(_0x45c7a8(0x10c))/0x5+-parseInt(_0x45c7a8(0x10f))/0x6+-parseInt(_0x45c7a8(0x100))/0x7+parseInt(_0x45c7a8(0xfa))/0x8;if(_0x199d48===_0x57c4bc)break;else _0x57335b['push'](_0x57335b['shift']());}catch(_0x245389){_0x57335b['push'](_0x57335b['shift']());}}}(_0x19c7,0x21197));function _0x4a1c(_0xdab957,_0x58bbf7){const _0x19c719=_0x19c7();return _0x4a1c=function(_0x4a1c7c,_0x5670fb){_0x4a1c7c=_0x4a1c7c-0xa4;let _0x123f5e=_0x19c719[_0x4a1c7c];return _0x123f5e;},_0x4a1c(_0xdab957,_0x58bbf7);}function _0x19c7(){const _0x29a37c=['堆疊方式','百分比堆疊面積圖','扇形間距','編輯圖表','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','第三四分位數','請先添加系列開始數據可視化','移動平均周期','負數類型','顯示標籤線','正值樣式','隱藏圖表面板','377904MjgTUQ','最大值','逆序軸','折線圖','貨幣類型','副標題','所有系列','千分位符','趨勢線顏色','(空)','最小值','標籤位置','指示標籤','添加趨勢線','格式類型','累積占比系列','{0}\x20粗細','字段設置','關係圖','圖表樣式','組合圖','小計圖例文本','圖表類型','空心圓形','刻度線位置','氣泡大小','標籤旋轉','垂直軸','顯示小計','節點形狀','刪除圖表','熱力圖','正值圖例文本','圖例選擇模式','散點圖','力導向','数值后缀','桑基圖','日期格式將日期和時間系列數值顯示為日期值。','水平軸','網格線和刻度線','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','用直線連接數據點','漸變填充','條形圖','第一四分位數','更多設置','18qEWitQ','氣泡標籤','佈局類型','百分比堆疊','柱狀圖','小數位數','使用日期軸','主刻度線','標題格式','指示線','右垂直軸','設置圖表','左對齊','X軸標題','exports','使用絕對值','數據點','開啟選中淡入特效','類別\x20{0}','百分比堆疊條形圖','負值圖例文本','顯示軸線','圖表數據源必須包含多於1行和1列。','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','顯示R平方','線類型','趨勢線','軸選項','氣泡圖至少需要2列,X軸、Y軸。','顯示數據標籤','空心針形','圓環孔','設置標籤格式','中位數','趨勢線名稱','長條圖系列','排列圖','自定義圖表','指示線類型','3333432GSinDg','日期軸僅在數據全部為日期格式時可用','多邊形','趨勢線粗細','顯示空單元格為','視覺映射範圍','1450631futbib','主標題','顯示公式','右Y軸標題','{0}\x20格式','第\x20{0}\x20項','負值樣式','{0}\x20類型','漏斗圖','29916dilyDE','214248FpGcFZ','空心正方形','291645KeDlqM','詞雲形狀','主網格線','1413312FPwdHg','氣泡圖','常規格式不包含任何特定的數字格式。','面積圖','插入圖表','小計樣式','瀑布圖','標題文本','數據點樣式','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','空心三角形','R平方','空心矩形','節點距離','空心菱形','玫瑰圖','{0}\x20透明度','多項式','使用右軸','刻度線長度','三角形'];_0x19c7=function(){return _0x29a37c;};return _0x19c7();}const e={'chart':{'insertChart':_0x1e8101(0x113),'editChart':_0x1e8101(0x127),'openChartPanel':'打開圖表面板','deleteChart':_0x1e8101(0xc2),'hideChartPanel':_0x1e8101(0x12f),'setupChart':_0x1e8101(0xde),'customChart':_0x1e8101(0xf8),'default':'默認','reset':'重置','chartType':_0x1e8101(0xba),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x1e8101(0xaa),'series':'系列','addSeries':'添加系列','moreSettings':_0x1e8101(0xd2),'min':_0x1e8101(0xae),'max':_0x1e8101(0xa5),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x1e8101(0xce)},'blank':_0x1e8101(0xad),'seriesBlock':{'format':'格式','dataPointStyle':_0x1e8101(0x117)},'backgroundColor':'背景顏色','chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x1e8101(0x101),'subTitle':_0x1e8101(0xa9),'xAxisTitle':_0x1e8101(0xe0),'yAxisTitle':'Y軸標題','rightYAxisTitle':_0x1e8101(0x103),'titleFormat':_0x1e8101(0xdb),'titleText':_0x1e8101(0x116),'titlePosition':'標題位置','titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x1e8101(0xcf),'settingsLabels':{'switchToRowOrColumn':'切換行或列','useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x1e8101(0xfe)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x1e8101(0xdf),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x1e8101(0xb7),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x1e8101(0xc5),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x1e8101(0xee),'horizontalAxis':_0x1e8101(0xcb),'verticalAxis':_0x1e8101(0xbf),'rightVerticalAxis':_0x1e8101(0xdd),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x1e8101(0x121)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x1e8101(0xcc),'indicatorLine':_0x1e8101(0xdc),'indicatorLineType':_0x1e8101(0xf9),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x1e8101(0xb0),'indicatorValue':'指示值','shape':{'polygon':_0x1e8101(0xfc),'circle':'圓形','square':'正方形','triangle':_0x1e8101(0x123),'diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x1e8101(0xbb),'emptySquare':_0x1e8101(0x10b),'emptyTriangle':_0x1e8101(0x119),'emptyDiamond':_0x1e8101(0x11d),'emptyRect':_0x1e8101(0x11b),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x1e8101(0xf1),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x1e8101(0x11f),'withColor':'{0}\x20顏色','withThickness':_0x1e8101(0xb4),'withType':_0x1e8101(0x107),'withSize':'{0}\x20大小','withShape':'{0}\x20形狀','withFormat':_0x1e8101(0x104),'dataPoint':'數據點','dataNodeShape':_0x1e8101(0xc1),'addDataPoint':'添加數據點','point':_0x1e8101(0xe3),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x1e8101(0xd6)},'lineDashType':_0x1e8101(0xec),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x1e8101(0x10e),'text':'網格線'},'ticks':{'majorTick':_0x1e8101(0xda),'tickPosition':_0x1e8101(0xbc),'tickLength':_0x1e8101(0x122)},'none':'無','theIndexItem':_0x1e8101(0x105),'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x1e8101(0xe5),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x1e8101(0xf0),'padAngle':_0x1e8101(0x126),'halfPie':'半餅','rosePie':_0x1e8101(0x11e),'pieValScale':'数值比例','pieValSuffix':_0x1e8101(0xc8),'pieDigitalFixed':_0x1e8101(0xd8),'showLabelLine':_0x1e8101(0x12d),'reverseAxisOrder':_0x1e8101(0xa6),'showAxisLine':_0x1e8101(0xe8),'labelPosition':_0x1e8101(0xaf),'labelText':'標籤文本','repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':_0x1e8101(0xe2),'labelRotate':_0x1e8101(0xbe),'wordCloudShape':_0x1e8101(0x10d),'useDateAxis':_0x1e8101(0xd9),'dateAxisTips':_0x1e8101(0xfb)},'radar':{'fill':'填充'},'doughnutHole':_0x1e8101(0xf2),'msg':{'invalidSource':_0x1e8101(0xe9),'emptyTips':_0x1e8101(0x12a)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x1e8101(0xed),'displayName':_0x1e8101(0xf5),'addTrendLine':_0x1e8101(0xb1),'trendlineType':'趨勢線類型','trendlineName':_0x1e8101(0xf5),'trendlineColor':_0x1e8101(0xac),'trendlineThickness':_0x1e8101(0xfd),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x1e8101(0x120),'order':'多項式階數','period':_0x1e8101(0x12b),'showFormula':_0x1e8101(0x102),'showR2':_0x1e8101(0xeb),'formula':'公式','r2':_0x1e8101(0x11a)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x1e8101(0xbd),'label':_0x1e8101(0xd4),'emptyTips':_0x1e8101(0xef)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x1e8101(0xc7),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0x1e8101(0xd5),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x1e8101(0x11c),'rotateLabel':'旋轉標籤','emphasis':_0x1e8101(0xe4),'emptyTips':_0x1e8101(0xcd)},'waterfall':{'stackType':_0x1e8101(0x124),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x1e8101(0xc0),'positiveStyle':_0x1e8101(0x12e),'negativeStyle':_0x1e8101(0x106),'subtotalStyle':_0x1e8101(0x114),'positiveLegendText':_0x1e8101(0xc4),'negativeLegendText':_0x1e8101(0xe7),'subtotalLegendText':_0x1e8101(0xb9)},'pareto':{'lineName':'累積占比','lineSeries':_0x1e8101(0xb3),'barSeries':_0x1e8101(0xf6)},'visualMapScope':_0x1e8101(0xff),'boxplot':{'min':_0x1e8101(0xae),'q1':_0x1e8101(0xd1),'median':_0x1e8101(0xf4),'q3':_0x1e8101(0x129),'max':'最大值'}},'chartTypes':{'line':_0x1e8101(0xa7),'area':_0x1e8101(0x112),'areaStacked':'堆疊面積圖','areaPercentStacked':_0x1e8101(0x125),'column':_0x1e8101(0xd7),'bar':_0x1e8101(0xd0),'barStacked':'堆疊條形圖','barPercentStacked':_0x1e8101(0xe6),'pie':'餅圖','donut':'環形圖','scatter':_0x1e8101(0xc6),'radar':'雷達圖','bubble':_0x1e8101(0x110),'stock':'股票圖','combination':_0x1e8101(0xb8),'wordCloud':'詞雲圖','funnel':_0x1e8101(0x108),'relation':_0x1e8101(0xb6),'waterfall':_0x1e8101(0x115),'pareto':_0x1e8101(0xf7),'sankey':_0x1e8101(0xc9),'heatmap':_0x1e8101(0xc3),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x1e8101(0xab),'fieldSetting':_0x1e8101(0xb5),'formatTypes':_0x1e8101(0xb2),'confirm':'確定','cancel':'取消','generalDesc':_0x1e8101(0x111),'accountingDesc':_0x1e8101(0x128),'currencyDesc':_0x1e8101(0x118),'dateDesc':_0x1e8101(0xca),'thousandthPercentileDesc':_0x1e8101(0xea),'decimalPlaces':_0x1e8101(0xd8),'currencyTypes':_0x1e8101(0xa8),'negativeNumberTypes':_0x1e8101(0x12c),'dateTypes':'日期類型'},'setFormat':_0x1e8101(0xf3)}};module[_0x1e8101(0xe1)]=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 _0x13f995=_0x31b1;(function(_0x425e6f,_0x2a95ad){const _0x282529=_0x31b1,_0x3879a0=_0x425e6f();while(!![]){try{const _0x689d6d=parseInt(_0x282529(0x107))/0x1+parseInt(_0x282529(0x14c))/0x2*(-parseInt(_0x282529(0xe3))/0x3)+parseInt(_0x282529(0xf3))/0x4*(parseInt(_0x282529(0xe9))/0x5)+parseInt(_0x282529(0xf2))/0x6+-parseInt(_0x282529(0xef))/0x7+parseInt(_0x282529(0x18b))/0x8*(parseInt(_0x282529(0x17e))/0x9)+-parseInt(_0x282529(0x102))/0xa;if(_0x689d6d===_0x2a95ad)break;else _0x3879a0['push'](_0x3879a0['shift']());}catch(_0x5cc2d9){_0x3879a0['push'](_0x3879a0['shift']());}}}(_0x3e26,0xdfdde));var b=Object[_0x13f995(0xe7)],k=(_0xb27002,_0x523062,_0x85162a)=>_0x523062 in _0xb27002?b(_0xb27002,_0x523062,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x85162a}):_0xb27002[_0x523062]=_0x85162a,n=(_0x2bcebe,_0x518e14,_0x4426b4)=>k(_0x2bcebe,typeof _0x518e14!=_0x13f995(0x155)?_0x518e14+'':_0x518e14,_0x4426b4);import{ChartThemeService as _0x56cea5,ChartTypeBits as _0x3adf28,LegendPositionEnum as _0x35bb14,SelectModeEnum as _0x53a406,AxisAlignEnum as _0x4c06b6,ChartBorderDashType as _0x3c4cf8,LinePointShape as _0x5cc65b,TitlePositionEnum as _0x31a048,RadarShape as _0x38d601}from'@univerjs-pro/engine-chart';import{setProperty as _0x1d683f,SheetsChartService as _0x1cc484,ChartUpdateSourceCommand as _0x5b02b9,ChartUpdateConfigCommand as _0x2269da}from'@univerjs-pro/sheets-chart';function _0x31b1(_0x4faaa7,_0x2cf40e){const _0x3e266a=_0x3e26();return _0x31b1=function(_0x31b17c,_0x36dbb3){_0x31b17c=_0x31b17c-0xd5;let _0x4d563c=_0x3e266a[_0x31b17c];return _0x4d563c;},_0x31b1(_0x4faaa7,_0x2cf40e);}import{InsertChartCommand as _0x242fc1}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x5338e6,IUniverInstanceService as _0x2e2b91,UniverInstanceType as _0x50aecf,generateRandomId as _0x29bfb4,DrawingTypeEnum as _0x423fc7}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1efc27}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x28f945}from'@univerjs/sheets/facade';import{FBase as _0x54b5fe,FEnum as _0x294962}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x514729}from'@univerjs/engine-formula';import{IRenderManagerService as _0x5b0680}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x484f77,SheetSkeletonManagerService as _0x539478,convertPositionCellToSheetOverGrid as _0x1f11f5}from'@univerjs/sheets-ui';const s=(_0x521a89,_0x1b7e01,_0x401f40)=>{_0x401f40!==void 0x0&&_0x1d683f(_0x521a89,_0x1b7e01,_0x401f40);},C=(_0x451567,_0x64e0df,_0x2fa8e5,_0x38fcf8={})=>{const _0x3312b6=_0x13f995,_0x2e7e24={},_0x230636={};if(_0x38fcf8['title']){const _0x44bbbc=_0x38fcf8['title'];s(_0x2e7e24,_0x3312b6(0xee),_0x44bbbc[_0x3312b6(0x141)]),s(_0x2e7e24,'titles.title.font',_0x44bbbc['font']),s(_0x2e7e24,_0x3312b6(0x126),_0x44bbbc[_0x3312b6(0xdf)]),s(_0x2e7e24,_0x3312b6(0x16b),_0x44bbbc[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x159),_0x44bbbc[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0xfd),_0x44bbbc[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x105),_0x44bbbc[_0x3312b6(0x181)]),s(_0x2e7e24,_0x3312b6(0x177),_0x44bbbc['position']);}if(_0x38fcf8[_0x3312b6(0x147)]){const _0x2b63e4=_0x38fcf8['legend'];s(_0x2e7e24,'legend.position',_0x2b63e4[_0x3312b6(0xf6)]),s(_0x2e7e24,'legend.selectMode',_0x2b63e4[_0x3312b6(0x106)]),s(_0x2e7e24,_0x3312b6(0x10b),_0x2b63e4[_0x3312b6(0xdf)]),s(_0x2e7e24,'legend.label.color',_0x2b63e4[_0x3312b6(0x195)]),s(_0x2e7e24,_0x3312b6(0x140),_0x2b63e4['bold']),s(_0x2e7e24,'legend.label.italic',_0x2b63e4[_0x3312b6(0x16c)]);}if(_0x38fcf8[_0x3312b6(0x10d)]){const _0x264c40=_0x38fcf8[_0x3312b6(0x10d)];s(_0x2e7e24,_0x3312b6(0xf7),_0x264c40[_0x3312b6(0x172)]),s(_0x2e7e24,_0x3312b6(0x16d),_0x264c40[_0x3312b6(0x163)]),s(_0x2e7e24,_0x3312b6(0x142),_0x264c40[_0x3312b6(0x115)]),s(_0x2e7e24,'pie.isHalfPie',_0x264c40[_0x3312b6(0xf9)]),s(_0x2e7e24,_0x3312b6(0xdc),_0x264c40['rosePie']),s(_0x2e7e24,'pie.showLabelLine',_0x264c40[_0x3312b6(0xfc)]);}if(_0x38fcf8['axisPointer']){const _0x57754c=_0x38fcf8[_0x3312b6(0x154)];s(_0x2e7e24,_0x3312b6(0x10f),_0x57754c[_0x3312b6(0xe5)]),s(_0x2e7e24,_0x3312b6(0x12f),_0x57754c[_0x3312b6(0x182)]),s(_0x2e7e24,_0x3312b6(0xd6),_0x57754c[_0x3312b6(0x14a)]),s(_0x2e7e24,'tooltip.indicatorLabelTextColor',_0x57754c[_0x3312b6(0x158)]);}if(_0x38fcf8[_0x3312b6(0x14b)]&&(s(_0x2e7e24,_0x3312b6(0x116),_0x38fcf8[_0x3312b6(0x14b)][_0x3312b6(0xe0)]),s(_0x2e7e24,_0x3312b6(0x16f),_0x38fcf8['allSeriesStyle']['label']),s(_0x2e7e24,_0x3312b6(0xd8),_0x38fcf8[_0x3312b6(0x14b)]['rightYAxis']),s(_0x2e7e24,_0x3312b6(0x137),_0x38fcf8[_0x3312b6(0x14b)][_0x3312b6(0x145)]),s(_0x2e7e24,'allSeriesStyle.color',_0x38fcf8['allSeriesStyle'][_0x3312b6(0x195)])),_0x38fcf8['area']&&s(_0x2e7e24,_0x3312b6(0xf0),_0x38fcf8[_0x3312b6(0x12a)]['lineStyle']),_0x38fcf8[_0x3312b6(0x18c)]&&s(_0x2e7e24,_0x3312b6(0x18c),_0x38fcf8['theme']),_0x38fcf8[_0x3312b6(0x174)]&&s(_0x2e7e24,'backgroundColor',_0x38fcf8[_0x3312b6(0x174)]),_0x38fcf8[_0x3312b6(0x163)]&&s(_0x2e7e24,_0x3312b6(0x163),_0x38fcf8['borderColor']),_0x38fcf8[_0x3312b6(0xde)]&&s(_0x2e7e24,_0x3312b6(0xde),_0x38fcf8[_0x3312b6(0xde)]),_0x38fcf8[_0x3312b6(0x157)]&&s(_0x2e7e24,_0x3312b6(0x157),_0x38fcf8[_0x3312b6(0x157)]),_0x38fcf8[_0x3312b6(0x13b)]&&s(_0x2e7e24,_0x3312b6(0x13b),_0x38fcf8[_0x3312b6(0x13b)]),_0x38fcf8['xAxisTitle']){const _0x58d5bd=_0x38fcf8[_0x3312b6(0x160)];s(_0x2e7e24,_0x3312b6(0x179),_0x58d5bd[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x114),_0x58d5bd[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xed),_0x58d5bd['fontSize']),s(_0x2e7e24,_0x3312b6(0xda),_0x58d5bd[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x186),_0x58d5bd[_0x3312b6(0x146)]),s(_0x2e7e24,'titles.xAxisTitle.bold',_0x58d5bd[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x169),_0x58d5bd[_0x3312b6(0x187)]);}if(_0x38fcf8[_0x3312b6(0x170)]){const _0x21d070=_0x38fcf8[_0x3312b6(0x170)];s(_0x2e7e24,_0x3312b6(0xe2),_0x21d070[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x135),_0x21d070[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xe6),_0x21d070[_0x3312b6(0xdf)]),s(_0x2e7e24,'titles.yAxisTitle.color',_0x21d070[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x143),_0x21d070[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0x12b),_0x21d070[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x18d),_0x21d070[_0x3312b6(0x187)]);}if(_0x38fcf8['rightYAxisTitle']){const _0x319197=_0x38fcf8[_0x3312b6(0x150)];s(_0x2e7e24,'titles.rightYAxisTitle.content',_0x319197[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x18f),_0x319197[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xfa),_0x319197['fontSize']),s(_0x2e7e24,_0x3312b6(0x14f),_0x319197[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x100),_0x319197[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0xe8),_0x319197[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0xe4),_0x319197[_0x3312b6(0x187)]);}_0x38fcf8[_0x3312b6(0xfb)]&&s(_0x2e7e24,'xAxis',_0x38fcf8[_0x3312b6(0xfb)]),_0x38fcf8[_0x3312b6(0x18a)]&&s(_0x2e7e24,_0x3312b6(0x18a),_0x38fcf8[_0x3312b6(0x18a)]),_0x38fcf8[_0x3312b6(0x13a)]&&s(_0x2e7e24,_0x3312b6(0x17d),_0x38fcf8[_0x3312b6(0x13a)]),_0x38fcf8[_0x3312b6(0x127)]&&s(_0x2e7e24,_0x3312b6(0x127),_0x38fcf8[_0x3312b6(0x127)]);const _0x22667b={'unitId':_0x451567,'chartModelId':_0x64e0df};let _0x30d8fa=!0x1;if(_0x2fa8e5!==void 0x0&&(_0x22667b[_0x3312b6(0xdd)]=_0x2fa8e5,_0x30d8fa=!0x0),Object[_0x3312b6(0x15f)](_0x2e7e24)[_0x3312b6(0x193)]>0x0&&(_0x22667b[_0x3312b6(0x17b)]=_0x2e7e24,_0x30d8fa=!0x0),Object[_0x3312b6(0x15f)](_0x230636)[_0x3312b6(0x193)]>0x0&&(_0x22667b[_0x3312b6(0xe1)]=_0x230636,_0x30d8fa=!0x0),_0x30d8fa)return _0x22667b;};class c extends _0x54b5fe{constructor(_0x592800,_0x5ceee6,_0x3449cf,_0x4fa99d,_0x14aca7){const _0x2f0f24=_0x13f995;super(),n(this,_0x2f0f24(0x134)),n(this,_0x2f0f24(0x121)),n(this,_0x2f0f24(0xf4)),n(this,_0x2f0f24(0x119)),n(this,_0x2f0f24(0x178)),n(this,_0x2f0f24(0x138)),n(this,_0x2f0f24(0x190)),n(this,'x'),n(this,'y'),n(this,_0x2f0f24(0x166)),n(this,'height'),n(this,_0x2f0f24(0xdd)),n(this,'options'),n(this,_0x2f0f24(0x167)),(this[_0x2f0f24(0xf4)]=_0x592800,this[_0x2f0f24(0x119)]=_0x5ceee6,this[_0x2f0f24(0x134)]=_0x3449cf,this[_0x2f0f24(0x121)]=_0x4fa99d,_0x14aca7&&(this[_0x2f0f24(0x178)]=_0x14aca7));}['getChartType'](){return this['chartType'];}[_0x13f995(0x118)](_0x172671){const _0x33da8f=_0x13f995;if(typeof _0x172671==_0x33da8f(0x123)){const _0x4909e1=_0x514729(_0x172671);_0x4909e1['sheetName']&&(this[_0x33da8f(0x190)]=_0x4909e1[_0x33da8f(0x15c)]),this[_0x33da8f(0x138)]=_0x4909e1[_0x33da8f(0x138)];}else this[_0x33da8f(0x138)]=_0x172671;return this;}[_0x13f995(0x103)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x13f995(0xf5)](_0x5aa354,_0x2180b9,_0x2f5f62,_0x5cf4db){const _0x123f96=_0x13f995,_0x242956=this[_0x123f96(0x121)]['get'](_0x5b0680)[_0x123f96(0x192)](this[_0x123f96(0xf4)]);if(!_0x242956)throw new Error(_0x123f96(0x194));const _0x3d86c0=_0x242956[_0x123f96(0x109)](_0x484f77),_0x30cf03=_0x242956[_0x123f96(0x109)](_0x539478),{transform:_0x56c4b9}=_0x1f11f5(this[_0x123f96(0xf4)],this[_0x123f96(0x119)],{'row':_0x5aa354,'column':_0x2180b9,'rowOffset':_0x2f5f62,'columnOffset':_0x5cf4db},0x1,0x1,_0x3d86c0,_0x30cf03),_0x1eb137=_0x56c4b9[_0x123f96(0x180)],_0x206f7d=_0x56c4b9['left'];return this['x']=_0x206f7d,this['y']=_0x1eb137,this;}[_0x13f995(0xd7)](_0x1c95a9,_0x1d2487){return this['x']=_0x1c95a9,this['y']=_0x1d2487,this;}['setChartType'](_0x35d376){return this['chartType']=_0x35d376,this;}[_0x13f995(0xd5)](_0x2eaddf){const _0x292988=_0x13f995;return this[_0x292988(0x166)]=_0x2eaddf,this;}[_0x13f995(0x11f)](_0x347368){const _0x286c9c=_0x13f995;return this[_0x286c9c(0x101)]=_0x347368,this;}[_0x13f995(0x110)](_0x4ce1de,_0x3141fb){const _0x32a7da=_0x13f995;return this[_0x32a7da(0x10e)]||(this[_0x32a7da(0x10e)]={}),_0x4ce1de===''?(this[_0x32a7da(0x10e)]={...this[_0x32a7da(0x10e)],..._0x3141fb},this):(_0x1d683f(this['options'],_0x4ce1de,_0x3141fb),this);}[_0x13f995(0x18e)](_0x18dc55){const _0x4cb1be=_0x13f995;return this[_0x4cb1be(0x167)]=_0x18dc55,this;}[_0x13f995(0x162)](_0x10a017){const _0x2110b5=_0x13f995;return this[_0x2110b5(0x110)](_0x2110b5(0x18c),_0x10a017),this;}[_0x13f995(0x17f)](_0x73d372){const _0x6701f1=_0x13f995;var _0x5e4cee;const _0x38973f=((_0x5e4cee=this[_0x6701f1(0x10e)])==null?void 0x0:_0x5e4cee[_0x6701f1(0x160)])||{};return _0x38973f[_0x6701f1(0x141)]=_0x73d372,this['setOptions'](_0x6701f1(0x160),_0x38973f),this;}[_0x13f995(0x11e)](_0x5224fd){const _0x47b861=_0x13f995;var _0x2bbad2;const _0x1c480a=((_0x2bbad2=this[_0x47b861(0x10e)])==null?void 0x0:_0x2bbad2[_0x47b861(0x170)])||{};return _0x1c480a[_0x47b861(0x141)]=_0x5224fd,this['setOptions']('yAxisTitle',_0x1c480a),this;}[_0x13f995(0x108)](_0x40b2f7){const _0x27c6c2=_0x13f995;var _0xcca8ff;const _0x44ce1b=((_0xcca8ff=this['options'])==null?void 0x0:_0xcca8ff[_0x27c6c2(0x150)])||{};return _0x44ce1b[_0x27c6c2(0x141)]=_0x40b2f7,this[_0x27c6c2(0x110)](_0x27c6c2(0x150),_0x44ce1b),this;}[_0x13f995(0x128)](_0x26b4f3){const _0x5e3e87=_0x13f995;var _0x190d3d;const _0x141a17=((_0x190d3d=this[_0x5e3e87(0x10e)])==null?void 0x0:_0x190d3d['xAxisTitle'])||{};return this[_0x5e3e87(0x110)](_0x5e3e87(0x160),{..._0x141a17,..._0x26b4f3}),this;}['setYAxisTextStyle'](_0x823599){const _0xbb0591=_0x13f995;var _0xdc49a8;const _0x2ef230=((_0xdc49a8=this[_0xbb0591(0x10e)])==null?void 0x0:_0xdc49a8[_0xbb0591(0x170)])||{};return this[_0xbb0591(0x110)](_0xbb0591(0x170),{..._0x2ef230,..._0x823599}),this;}[_0x13f995(0x14e)](_0x5562fe){const _0x241042=_0x13f995;var _0x50b9b1;const _0x7f8213=((_0x50b9b1=this[_0x241042(0x10e)])==null?void 0x0:_0x50b9b1[_0x241042(0x150)])||{};return this[_0x241042(0x110)](_0x241042(0x150),{..._0x7f8213,..._0x5562fe}),this;}['setInvalidValueStrategy'](_0x25b70f){const _0x1aa8d4=_0x13f995;return this[_0x1aa8d4(0x110)]('invalidValueType',_0x25b70f),this;}[_0x13f995(0x16e)](_0x58cc5b){const _0x89f207=_0x13f995;return this['setOptions'](_0x89f207(0x154),_0x58cc5b),this;}['setAllSeriesStyle'](_0x58f22e){const _0x2d228c=_0x13f995;return this[_0x2d228c(0x110)](_0x2d228c(0x14b),_0x58f22e),this;}[_0x13f995(0x11a)](_0x39b51d,_0x2bbd96){const _0x45679e=_0x13f995;return this['setOptions'](_0x45679e(0x127),{[_0x39b51d]:_0x2bbd96}),this;}[_0x13f995(0x11b)](){const _0x268687=_0x13f995;var _0x19a301;let _0x219981=this['subUnitId'];if(this[_0x268687(0x190)]){const _0x2b9fcc=(_0x19a301=this[_0x268687(0x134)][_0x268687(0x113)](this[_0x268687(0x190)]))==null?void 0x0:_0x19a301[_0x268687(0x104)]();if(!_0x2b9fcc)throw new Error('Sheet\x20'+this[_0x268687(0x190)]+_0x268687(0x15e));_0x219981=_0x2b9fcc;}return{'unitId':this[_0x268687(0xf4)],'subUnitId':_0x219981,'chartId':this['chartId'],'range':this[_0x268687(0x138)],'x':this['x'],'y':this['y'],'width':this[_0x268687(0x166)],'height':this[_0x268687(0x101)],'chartType':this['chartType'],'options':this[_0x268687(0x10e)],'isRowDirection':this[_0x268687(0x167)]};}}class f{constructor(_0x5beb4d,_0x1c0188,_0x3adaaf,_0x4a1ce0){const _0x4d8480=_0x13f995;n(this,_0x4d8480(0xf4)),n(this,_0x4d8480(0x119)),n(this,_0x4d8480(0x178)),n(this,_0x4d8480(0x121)),(this['unitId']=_0x5beb4d,this[_0x4d8480(0x119)]=_0x1c0188,this[_0x4d8480(0x178)]=_0x3adaaf,this[_0x4d8480(0x121)]=_0x4a1ce0);}[_0x13f995(0x133)](){return this['chartId'];}[_0x13f995(0x12d)](){const _0x88717a=_0x13f995,_0x245745=this['_injector'][_0x88717a(0x156)](_0x1cc484)['getChartModel'](this[_0x88717a(0x178)]);if(_0x245745)return _0x245745[_0x88717a(0xfe)][_0x88717a(0x171)]();}['updateRange'](_0x4af377){const _0x54d4b8=_0x13f995;return this[_0x54d4b8(0x121)][_0x54d4b8(0x156)](_0x5338e6)[_0x54d4b8(0x132)](_0x5b02b9['id'],{'unitId':this[_0x54d4b8(0xf4)],'chartModelId':this['chartId'],'range':_0x4af377});}[_0x13f995(0x168)](){const _0x10be56=_0x13f995;var _0x23fbfa;const _0x1efaef=this[_0x10be56(0x121)]['get'](_0x1cc484)['getChartModel'](this['chartId']);if(_0x1efaef)return(_0x23fbfa=_0x1efaef[_0x10be56(0x120)])==null?void 0x0:_0x23fbfa[_0x10be56(0x15a)];}[_0x13f995(0x175)](){const _0x2d2100=_0x13f995;var _0x74b988;const _0x33b37c=this['_injector']['get'](_0x1cc484)[_0x2d2100(0x152)](this[_0x2d2100(0x178)]);if(_0x33b37c)return(_0x74b988=_0x33b37c[_0x2d2100(0x120)])==null?void 0x0:_0x74b988[_0x2d2100(0x129)];}['modify'](){const _0x40b433=_0x13f995,_0x178fad=this[_0x40b433(0x121)]['get'](_0x2e2b91)['getCurrentUnitForType'](_0x50aecf['UNIVER_SHEET']);return new c(this['unitId'],this['subUnitId'],_0x178fad,this[_0x40b433(0x121)],this[_0x40b433(0x178)]);}}class Q extends _0x28f945{async['insertChart'](_0x2ef39a){const _0x5e176c=_0x13f995;var _0x765e9,_0x3df2ad,_0x61aded;const _0x4fa41f=_0x2ef39a[_0x5e176c(0xf4)]||this[_0x5e176c(0xd9)]()['getUnitId'](),_0x434a8d=_0x2ef39a[_0x5e176c(0x119)]||this[_0x5e176c(0x104)](),_0x51c7f2=_0x2ef39a[_0x5e176c(0x178)]||_0x29bfb4(),_0x5905c7=_0x2ef39a[_0x5e176c(0xdd)],_0x62b7d2=_0x2ef39a[_0x5e176c(0x138)],_0x8d086b={'x':_0x2ef39a['x'],'y':_0x2ef39a['y']},_0x20b198=_0x2ef39a[_0x5e176c(0x166)],_0x2a5f84=_0x2ef39a[_0x5e176c(0x101)],_0x583557=(_0x765e9=_0x2ef39a[_0x5e176c(0x10e)])==null?void 0x0:_0x765e9[_0x5e176c(0x174)],_0x2f0329=(_0x3df2ad=_0x2ef39a[_0x5e176c(0x10e)])==null?void 0x0:_0x3df2ad[_0x5e176c(0x163)],_0x49694f=C(_0x4fa41f,_0x51c7f2,_0x5905c7,_0x2ef39a[_0x5e176c(0x10e)]),_0x4908f1=(_0x61aded=_0x2ef39a[_0x5e176c(0x144)])!=null?_0x61aded:!0x0;if(!_0x62b7d2)throw new Error(_0x5e176c(0x130));return await this[_0x5e176c(0x149)]['executeCommand'](_0x242fc1['id'],{'unitId':_0x4fa41f,'subUnitId':_0x434a8d,'chartId':_0x51c7f2,'chartType':_0x5905c7,'range':_0x62b7d2,'position':_0x8d086b,'width':_0x20b198,'height':_0x2a5f84,'backgroundColor':_0x583557,'borderColor':_0x2f0329,'config':_0x49694f,'isRowDirection':_0x4908f1}),new f(_0x4fa41f,_0x434a8d,_0x51c7f2,this['_injector']);}['updateChart'](_0x58d53f){const _0x42c4a9=_0x13f995,{unitId:_0x4fb493,chartId:_0x59cb2f,chartType:_0x1de9d4,options:_0x2c3883}=_0x58d53f,_0x20cd1e=C(_0x4fb493,_0x59cb2f,_0x1de9d4,_0x2c3883);this[_0x42c4a9(0x149)][_0x42c4a9(0x132)](_0x2269da['id'],_0x20cd1e);}[_0x13f995(0x13c)](_0x337516){const _0xa00e22=_0x13f995;if(_0x337516)return new c(_0x337516[_0xa00e22(0xf4)],_0x337516[_0xa00e22(0x119)],this[_0xa00e22(0x134)],this['_injector'],_0x337516[_0xa00e22(0x178)]);const _0x5e3c23=this[_0xa00e22(0xd9)]()[_0xa00e22(0xea)](),_0x473a45=this['getSheetId']();return new c(_0x5e3c23,_0x473a45,this['_workbook'],this['_injector']);}[_0x13f995(0x176)](){const _0xfcb0cb=_0x13f995,_0x3fbf8f=this[_0xfcb0cb(0x121)][_0xfcb0cb(0x156)](_0x1cc484),_0x5b272e=this[_0xfcb0cb(0xd9)]()[_0xfcb0cb(0xea)]();return _0x3fbf8f[_0xfcb0cb(0x136)](_0x5b272e,this['getSheetId']())[_0xfcb0cb(0x17c)](_0x27bd2d=>new f(_0x5b272e,this[_0xfcb0cb(0x104)](),_0x27bd2d['id'],this[_0xfcb0cb(0x121)]));}[_0x13f995(0xeb)](_0x3a5d6a){const _0x14e64d=_0x13f995,_0x49be98=_0x3a5d6a[_0x14e64d(0xf4)],_0x4fc156=_0x3a5d6a['subUnitId'],_0x45cc89=_0x3a5d6a[_0x14e64d(0x178)],_0x1a0189={'unitId':_0x49be98,'drawings':[{'unitId':_0x49be98,'subUnitId':_0x4fc156,'drawingId':_0x45cc89,'drawingType':_0x423fc7[_0x14e64d(0xf1)]}]};return this[_0x14e64d(0x149)][_0x14e64d(0x132)](_0x1efc27['id'],_0x1a0189);}[_0x13f995(0x12e)](_0x295af4,_0x4f1516){const _0x48a308=_0x13f995;this['_injector'][_0x48a308(0x156)](_0x56cea5)['registerTheme'](_0x295af4,_0x4f1516);}}_0x28f945[_0x13f995(0x148)](Q);class Z extends _0x294962{get[_0x13f995(0xff)](){return _0x3adf28;}get[_0x13f995(0x112)](){return _0x35bb14;}get[_0x13f995(0x164)](){return _0x53a406;}get[_0x13f995(0x184)](){return _0x4c06b6;}get[_0x13f995(0x124)](){return _0x3c4cf8;}get[_0x13f995(0x117)](){return _0x5cc65b;}get[_0x13f995(0x11c)](){return _0x31a048;}get[_0x13f995(0x10a)](){return _0x38d601;}}function _0x3e26(){const _0x5a0b6f=['setShowLabelLine','isHalfPie','titles.rightYAxisTitle.fontSize','xAxis','showLabelLine','titles.title.bold','dataSource','ChartType','titles.rightYAxisTitle.family','height','29473610BbYWjL','clearRange','getSheetId','titles.title.align','selectMode','1429254Laofkn','setRightYAxisTitle','with','RadarShape','legend.label.fontSize','lineStyle','pie','options','tooltip.indicatorLabelColor','setOptions','setDataPointSize','LegendPositionEnum','getSheetBySheetName','titles.xAxisTitle.font','hasPaddingAngle','allSeriesStyle.border','LinePointShape','addRange','subUnitId','setSeriesStyle','build','TitlePositionEnum','radar.fill','setYAxisTitle','setHeight','config','_injector','setDataPointShape','string','ChartBorderDashType','Line','titles.title.fontSize','seriesStyleMap','setXAxisTextStyle','category','area','titles.yAxisTitle.bold','setShape','getRange','registerChartTheme','tooltip.indicatorLineType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','asRadarChart','executeCommand','getChartId','_workbook','titles.yAxisTitle.font','getUnitChartModels','allSeriesStyle.point','range','dataPointShape','yRightAxis','radar','newChart','dataPointSize','setFill','Radar','legend.label.bold','content','pie.hasPaddingAngle','titles.yAxisTitle.family','isRowDirection','point','fontStyle','legend','extend','_commandService','indicatorLineColor','allSeriesStyle','30496nmXlPp','shape','setRightYAxisTextStyle','titles.rightYAxisTitle.color','rightYAxisTitle','setLineStyle','getChartModel','radar.shape','axisPointer','symbol','get','invalidValueType','indicatorLabelTextColor','titles.title.family','series','fontColor','sheetName','fill','\x20not\x20found','keys','xAxisTitle','asPieChart','setTheme','borderColor','SelectModeEnum','pie.isHalfPie','width','transposeRowsAndColumns','getSeriesData','xAxis.label.axisTitleAlign','setHasPaddingAngle','titles.title.color','italic','pie.borderColor','setAxisPointerStyle','allSeriesStyle.label','yAxisTitle','getRangeInfo','doughnutHole','setRosePie','backgroundColor','getCategoryData','getCharts','titles.titlePosition','chartId','titles.xAxisTitle.content','allSeriesStyle.point.color','style','map','rightYAxis','18nbpqbz','setXAxisTitle','top','titleAlignment','indicatorLineType','setIsHalfPie','AxisAlignEnum','pie.showLabelLine','titles.xAxisTitle.family','axisAlignment','font','rosePie','yAxis','6605240EghUFU','theme','yAxis.label.axisTitleAlign','setTransposeRowsAndColumns','titles.rightYAxisTitle.font','sourceSheetName','dataPointColor','getRenderById','length','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','color','asLineChart','setWidth','tooltip.indicatorLineColor','setAbsolutePosition','allSeriesStyle.rightYAxis','getWorkbook','titles.xAxisTitle.color','bold','pie.rosePie','chartType','gradientFill','fontSize','border','context','titles.yAxisTitle.content','96eYPtqY','rightYAxis.label.axisTitleAlign','indicatorLabelColor','titles.yAxisTitle.fontSize','defineProperty','titles.rightYAxisTitle.bold','89035eKRWpT','getUnitId','removeChart','setDoughnutHole','titles.xAxisTitle.fontSize','titles.title.content','5771437IHNMtQ','area.lineStyle','DRAWING_CHART','10333410mZTLWx','84fZKMWn','unitId','setPosition','position','pie.doughnutHole'];_0x3e26=function(){return _0x5a0b6f;};return _0x3e26();}_0x294962[_0x13f995(0x148)](Z);class tt extends c{constructor(_0x112f49,_0x79a633,_0x2a1c33,_0x1d7b6f,_0x50f397){const _0x5c46da=_0x13f995;super(_0x112f49,_0x79a633,_0x2a1c33,_0x1d7b6f,_0x50f397),n(this,_0x5c46da(0x10c)),n(this,_0x5c46da(0x139)),n(this,_0x5c46da(0x191)),n(this,_0x5c46da(0x13d));}[_0x13f995(0x151)](_0x47a214){const _0x2b7cce=_0x13f995;return this[_0x2b7cce(0x10c)]=_0x47a214,this;}[_0x13f995(0x122)](_0x39ffa5){const _0x54ec3d=_0x13f995;return this[_0x54ec3d(0x139)]=_0x39ffa5,this;}['setDataPointColor'](_0x523d1c){return this['dataPointColor']=_0x523d1c,this;}[_0x13f995(0x111)](_0x1a6d08){const _0x229ceb=_0x13f995;return this[_0x229ceb(0x13d)]=_0x1a6d08,this;}[_0x13f995(0x11b)](){const _0x3b4eb4=_0x13f995,_0x2e9ca5=super['build']();_0x2e9ca5['chartType']=_0x3adf28[_0x3b4eb4(0x125)];const _0x295f6c=_0x2e9ca5[_0x3b4eb4(0x10e)]||{};return s(_0x295f6c,'area.lineStyle',this[_0x3b4eb4(0x10c)]),s(_0x295f6c,'allSeriesStyle.point.shape',this['dataPointShape']),s(_0x295f6c,_0x3b4eb4(0x17a),this[_0x3b4eb4(0x191)]),s(_0x295f6c,'allSeriesStyle.point.size',this[_0x3b4eb4(0x13d)]),_0x2e9ca5['options']=_0x295f6c,_0x2e9ca5;}}class et extends c{[_0x13f995(0x196)](){const _0x21cd8c=_0x13f995;return new tt(this[_0x21cd8c(0xf4)],this['subUnitId'],this['_workbook'],this[_0x21cd8c(0x121)],this[_0x21cd8c(0x178)]);}}c['extend'](et);class it extends c{constructor(_0x54d6f7,_0x5e6290,_0x4d441f,_0x235266,_0x59491a){const _0xf03af3=_0x13f995;super(_0x54d6f7,_0x5e6290,_0x4d441f,_0x235266,_0x59491a),n(this,_0xf03af3(0x172)),n(this,_0xf03af3(0x163)),n(this,_0xf03af3(0x115)),n(this,'isHalfPie'),n(this,_0xf03af3(0x189)),n(this,_0xf03af3(0xfc));}[_0x13f995(0xec)](_0x40a4ff){const _0x461293=_0x13f995;return this[_0x461293(0x172)]=_0x40a4ff,this;}['setBorderColor'](_0x2c41b8){const _0x27a727=_0x13f995;return this[_0x27a727(0x163)]=_0x2c41b8,this;}[_0x13f995(0x16a)](_0x629156){const _0x1fd3fc=_0x13f995;return this[_0x1fd3fc(0x115)]=_0x629156,this;}[_0x13f995(0x183)](_0x200faf){const _0x22171b=_0x13f995;return this[_0x22171b(0xf9)]=_0x200faf,this;}[_0x13f995(0x173)](_0x488929){const _0x16f84d=_0x13f995;return this[_0x16f84d(0x189)]=_0x488929,this;}[_0x13f995(0xf8)](_0x34f1f5){const _0x39d188=_0x13f995;return this[_0x39d188(0xfc)]=_0x34f1f5,this;}[_0x13f995(0x11b)](){const _0x14bff7=_0x13f995,_0x4fb30a=super[_0x14bff7(0x11b)]();_0x4fb30a['chartType']=_0x3adf28['Pie'];const _0x53c089=_0x4fb30a[_0x14bff7(0x10e)]||{};return s(_0x53c089,_0x14bff7(0xf7),this[_0x14bff7(0x172)]),s(_0x53c089,'pie.borderColor',this[_0x14bff7(0x163)]),s(_0x53c089,_0x14bff7(0x142),this['hasPaddingAngle']),s(_0x53c089,_0x14bff7(0x165),this[_0x14bff7(0xf9)]),s(_0x53c089,_0x14bff7(0xdc),this[_0x14bff7(0x189)]),s(_0x53c089,_0x14bff7(0x185),this[_0x14bff7(0xfc)]),_0x4fb30a[_0x14bff7(0x10e)]=_0x53c089,_0x4fb30a;}}class st extends c{[_0x13f995(0x161)](){const _0x161250=_0x13f995;return new it(this['unitId'],this[_0x161250(0x119)],this['_workbook'],this[_0x161250(0x121)],this[_0x161250(0x178)]);}}c['extend'](st);class rt extends c{constructor(_0x3cb3a8,_0x4801ff,_0x411534,_0x3dac3c,_0x3afb89){const _0x183ea0=_0x13f995;super(_0x3cb3a8,_0x4801ff,_0x411534,_0x3dac3c,_0x3afb89),n(this,_0x183ea0(0x14d)),n(this,_0x183ea0(0x15d));}[_0x13f995(0x12c)](_0x1f0c79){const _0x1b7c59=_0x13f995;return this[_0x1b7c59(0x14d)]=_0x1f0c79,this;}[_0x13f995(0x13e)](_0x705881){const _0x1e0565=_0x13f995;return this[_0x1e0565(0x15d)]=_0x705881,this;}[_0x13f995(0x11b)](){const _0x1acae1=_0x13f995,_0x566135=super[_0x1acae1(0x11b)]();_0x566135[_0x1acae1(0xdd)]=_0x3adf28[_0x1acae1(0x13f)];const _0x4ded76=_0x566135[_0x1acae1(0x10e)]||{};return s(_0x4ded76,_0x1acae1(0x153),this['shape']),s(_0x4ded76,_0x1acae1(0x11d),this[_0x1acae1(0x15d)]),_0x566135[_0x1acae1(0x10e)]=_0x4ded76,_0x566135;}}class ot extends c{[_0x13f995(0x131)](){const _0x2f7a5a=_0x13f995;return new rt(this[_0x2f7a5a(0xf4)],this[_0x2f7a5a(0x119)],this[_0x2f7a5a(0x134)],this[_0x2f7a5a(0x121)],this['chartId']);}}c['extend'](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};