@univerjs-pro/sheets-chart-ui 0.15.4 → 0.15.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -1
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/sk-SK.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +15 -15
@@ -1 +1 @@
1
- 'use strict';const _0x203dd2=_0x5187;function _0x5187(_0x10ce5a,_0x149f86){_0x10ce5a=_0x10ce5a-0xe2;const _0x4729fa=_0x4729();let _0x51875b=_0x4729fa[_0x10ce5a];return _0x51875b;}(function(_0x388c17,_0x283d1b){const _0x34a6b6=_0x5187,_0x2d7cb0=_0x388c17();while(!![]){try{const _0x244e0b=parseInt(_0x34a6b6(0xe6))/0x1+-parseInt(_0x34a6b6(0x163))/0x2*(-parseInt(_0x34a6b6(0xe9))/0x3)+parseInt(_0x34a6b6(0x165))/0x4*(parseInt(_0x34a6b6(0x13e))/0x5)+-parseInt(_0x34a6b6(0xff))/0x6*(parseInt(_0x34a6b6(0x130))/0x7)+parseInt(_0x34a6b6(0xfb))/0x8+parseInt(_0x34a6b6(0x103))/0x9*(parseInt(_0x34a6b6(0x11a))/0xa)+-parseInt(_0x34a6b6(0x138))/0xb;if(_0x244e0b===_0x283d1b)break;else _0x2d7cb0['push'](_0x2d7cb0['shift']());}catch(_0x19ad0f){_0x2d7cb0['push'](_0x2d7cb0['shift']());}}}(_0x4729,0xe2db2));function _0x4729(){const _0x26a676=['更多設置','系列\x20{0}','主刻度線','使用絕對值','多項式階數','線類型','{0}\x20粗細','桑基圖不能包含循環數據','多項式','902qZiGzu','詞雲形狀','4EMwROz','第\x20{0}\x20項','三角形','空心三角形','負數類型','第一四分位數','關係圖','刪除圖表','趨勢線名稱','標籤文本','R平方','數據範圍','主標題','隱藏圖表面板','正值圖例文本','添加系列','{0}\x20大小','954802PMbKky','移動平均周期','組合圖','1356PzXESA','負值樣式','標題對齊','添加數據點','空心菱形','重複詞雲標籤','多邊形','節點形狀','負值圖例文本','第三四分位數','小數位數','所有系列','使用日期軸','旋轉標籤','排列圖','標籤旋轉','空心針形','空心矩形','4017384nLxhjL','股票圖','{0}\x20顏色','字段設置','174OiEsGj','面積圖','桑基圖','貨幣類型','16714152VLgCzt','開啟選中淡入特效','扇形間距','顯示軸線','左對齊','日期軸僅在數據全部為日期格式時可用','日期類型','趨勢線線類型','網格線和刻度線','百分比堆疊條形圖','軸選項','氣泡大小','百分比','常規格式不包含任何特定的數字格式。','圖例選擇模式','{0}\x20形狀','{0}\x20類型','堆疊條形圖','使用右軸','力導向選項','圖表和軸標題','{0}\x20格式','圖表數據源必須包含多於1列和1欄。','10RXOhjg','空心圓形','空心正方形','正方形','累積占比系列','空心圓角矩形','水平軸','漏斗圖','標題格式','副標題','類別\x20{0}','網格線','空心箭頭','添加趨勢線','力導向','指示線','逆序軸','標籤位置','顯示R平方','插入圖表','條形圖','右垂直軸','156863TsDIfu','標題文本','指示值','Y軸標題','請先添加系列開始數據可視化','趨勢線類型','標題位置','最小值','23755182HeLOJT','節點距離','散點圖','切換列或欄','指示線類型','垂直軸','1103350IwkSNo','最大值','玫瑰圖','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','數據點樣式','趨勢線粗細','使用值作為節點大小','主網格線','數據標籤','瀑布圖','刻度線長度','圓環孔','折線圖','日期格式將日期和時間系列數值顯示為日期值。','圖表類型','編輯圖表','小計圖例文本','中位數','圓角矩形','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','顯示標籤線','堆疊面積圖','自定義圖表','右Y軸標題','熱力圖','氣泡標籤','長條圖系列','exports'];_0x4729=function(){return _0x26a676;};return _0x4729();}const e={'chart':{'insertChart':_0x203dd2(0x12d),'editChart':_0x203dd2(0x14d),'openChartPanel':'打開圖表面板','deleteChart':_0x203dd2(0x16c),'hideChartPanel':_0x203dd2(0xe2),'setupChart':'設置圖表','customChart':_0x203dd2(0x154),'default':'默認','reset':'重置','chartType':_0x203dd2(0x14c),'themes':'主題','dataRange':_0x203dd2(0x170),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x203dd2(0xf4),'series':'系列','addSeries':_0x203dd2(0xe4),'moreSettings':_0x203dd2(0x15a),'min':'最小值','max':_0x203dd2(0x13f),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':_0x203dd2(0x142)},'backgroundColor':'背景顏色','chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x203dd2(0x171),'subTitle':_0x203dd2(0x123),'xAxisTitle':'X軸標題','yAxisTitle':_0x203dd2(0x133),'rightYAxisTitle':_0x203dd2(0x155),'titleFormat':_0x203dd2(0x122),'titleText':_0x203dd2(0x131),'titlePosition':_0x203dd2(0x136),'titleAlign':_0x203dd2(0xeb)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x203dd2(0x13b),'useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x203dd2(0x107),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':_0x203dd2(0x117),'legend':'圖例','legendSelectMode':_0x203dd2(0x111),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x203dd2(0x10d),'horizontalAxis':_0x203dd2(0x120),'verticalAxis':_0x203dd2(0x13d),'rightVerticalAxis':_0x203dd2(0x12f),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x203dd2(0x115)},'position':'位置','dataLabels':_0x203dd2(0x146),'gridlinesAndTicks':_0x203dd2(0x10b),'indicatorLine':_0x203dd2(0x129),'indicatorLineType':_0x203dd2(0x13c),'indicatorLineColor':'指示線顏色','indicatorLabel':'指示標籤','indicatorValue':_0x203dd2(0x132),'shape':{'polygon':_0x203dd2(0xef),'circle':'圓形','square':_0x203dd2(0x11d),'triangle':_0x203dd2(0x167),'diamond':'菱形','rect':'矩形','roundRect':_0x203dd2(0x150),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x203dd2(0x11b),'emptySquare':_0x203dd2(0x11c),'emptyTriangle':_0x203dd2(0x168),'emptyDiamond':_0x203dd2(0xed),'emptyRect':_0x203dd2(0xfa),'emptyRoundRect':_0x203dd2(0x11f),'emptyPin':_0x203dd2(0xf9),'emptyArrow':_0x203dd2(0x126)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x203dd2(0xfd),'withThickness':_0x203dd2(0x160),'withType':_0x203dd2(0x113),'withSize':_0x203dd2(0xe5),'withShape':_0x203dd2(0x112),'withFormat':_0x203dd2(0x118),'dataPoint':'數據點','dataNodeShape':_0x203dd2(0xf0),'addDataPoint':_0x203dd2(0xec),'point':'數據點','percentage':_0x203dd2(0x10f),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':_0x203dd2(0x15f),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x203dd2(0x145),'text':_0x203dd2(0x125)},'ticks':{'majorTick':_0x203dd2(0x15c),'tickPosition':'刻度線位置','tickLength':_0x203dd2(0x148)},'none':'無','theIndexItem':_0x203dd2(0x166),'seriesDefaultName':_0x203dd2(0x15b),'categoryDefaultName':_0x203dd2(0x124),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':'顯示數據標籤','padAngle':_0x203dd2(0x105),'halfPie':'半餅','rosePie':_0x203dd2(0x140),'pieValScale':'数值比例','pieValSuffix':'数值后缀','pieDigitalFixed':_0x203dd2(0xf3),'showLabelLine':_0x203dd2(0x152),'reverseAxisOrder':_0x203dd2(0x12a),'showAxisLine':_0x203dd2(0x106),'labelPosition':_0x203dd2(0x12b),'labelText':_0x203dd2(0x16e),'repeatWordCould':_0x203dd2(0xee),'gap':'間隔','useAbsValue':_0x203dd2(0x15d),'labelRotate':_0x203dd2(0xf8),'wordCloudShape':_0x203dd2(0x164),'useDateAxis':_0x203dd2(0xf5),'dateAxisTips':_0x203dd2(0x108)},'radar':{'fill':'填充'},'doughnutHole':_0x203dd2(0x149),'msg':{'invalidSource':_0x203dd2(0x119),'emptyTips':_0x203dd2(0x134),'sankeyCircularTips':_0x203dd2(0x161)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':'趨勢線名稱','addTrendLine':_0x203dd2(0x127),'trendlineType':_0x203dd2(0x135),'trendlineName':_0x203dd2(0x16d),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x203dd2(0x143),'trendlineDashType':_0x203dd2(0x10a),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x203dd2(0x162),'order':_0x203dd2(0x15e),'period':_0x203dd2(0xe7),'showFormula':'顯示公式','showR2':_0x203dd2(0x12c),'formula':'公式','r2':_0x203dd2(0x16f)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x203dd2(0x10e),'label':_0x203dd2(0x157),'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':_0x203dd2(0x16b),'auto':'自動','circular':'環形','force':_0x203dd2(0x128),'useValueAsSymbolSize':_0x203dd2(0x144),'layoutType':'佈局類型','forceOptions':_0x203dd2(0x116),'repulsion':'斥力','gravity':'引力','edgeLength':_0x203dd2(0x139),'rotateLabel':_0x203dd2(0xf6),'emphasis':_0x203dd2(0x104),'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'waterfall':{'stackType':'堆疊方式','arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':'正值樣式','negativeStyle':_0x203dd2(0xea),'subtotalStyle':'小計樣式','positiveLegendText':_0x203dd2(0xe3),'negativeLegendText':_0x203dd2(0xf1),'subtotalLegendText':_0x203dd2(0x14e)},'pareto':{'lineName':'累積占比','lineSeries':_0x203dd2(0x11e),'barSeries':_0x203dd2(0x158)},'visualMapScope':'視覺映射範圍','boxplot':{'min':_0x203dd2(0x137),'q1':_0x203dd2(0x16a),'median':_0x203dd2(0x14f),'q3':_0x203dd2(0xf2),'max':_0x203dd2(0x13f)}},'chartTypes':{'line':_0x203dd2(0x14a),'area':_0x203dd2(0x100),'areaStacked':_0x203dd2(0x153),'areaPercentStacked':'百分比堆疊面積圖','column':'柱狀圖','bar':_0x203dd2(0x12e),'barStacked':_0x203dd2(0x114),'barPercentStacked':_0x203dd2(0x10c),'pie':'餅圖','donut':'環形圖','scatter':_0x203dd2(0x13a),'radar':'雷達圖','bubble':'氣泡圖','stock':_0x203dd2(0xfc),'combination':_0x203dd2(0xe8),'wordCloud':'詞雲圖','funnel':_0x203dd2(0x121),'relation':_0x203dd2(0x16b),'waterfall':_0x203dd2(0x147),'pareto':_0x203dd2(0xf7),'sankey':_0x203dd2(0x101),'heatmap':_0x203dd2(0x156),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x203dd2(0xfe),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x203dd2(0x110),'accountingDesc':_0x203dd2(0x141),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x203dd2(0x14b),'thousandthPercentileDesc':_0x203dd2(0x151),'decimalPlaces':_0x203dd2(0xf3),'currencyTypes':_0x203dd2(0x102),'negativeNumberTypes':_0x203dd2(0x169),'dateTypes':_0x203dd2(0x109)},'setFormat':'設置標籤格式'}};module[_0x203dd2(0x159)]=e;
1
+ 'use strict';const _0x18cbe4=_0x5506;function _0x5df8(){const _0x54d586=['關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','添加數據點','36tlAosA','圖表樣式','瀑布圖','副標題','{0}\x20大小','散點圖','貨幣類型','小數位數','小計圖例文本','指示值','多邊形','39525GjpLzN','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','百分比堆疊面積圖','扇形間距','氣泡圖','趨勢線粗細','40421zsrWtf','折線圖','排列圖','趨勢線類型','標題對齊','趨勢線顏色','顯示R平方','格式類型','{0}\x20形狀','類別\x20{0}','右垂直軸','添加趨勢線','背景顏色','使用\x20{0}\x20作為類別標籤','視覺映射範圍','顯示標籤線','趨勢線名稱','圖表邊框顏色','請先添加系列開始數據可視化','移動平均周期','用直線連接數據點','數據範圍','顯示標籤','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','股票圖','第\x20{0}\x20項','常規格式不包含任何特定的數字格式。','最大值','多項式階數','圓環孔','詞雲圖','桑基圖','日期類型','数值比例','右對齊','刻度線位置','主刻度線','顯示小計','圖例選擇模式','詞雲形狀','圖表類型','設置圖表','主網格線','空心矩形','正方形','指示線顏色','中位數','刻度線長度','線類型','堆疊方式','顯示數據標籤','空心三角形','第一四分位數','空心菱形','漸變填充','氣泡大小','標籤位置','標籤旋轉','力導向','逆序軸','702beohLo','網格線和刻度線','設置標籤格式','使用右軸','關係圖','百分比堆疊條形圖','多項式','{0}\x20格式','重複詞雲標籤','長條圖系列','最小值','環形圖','(空)','顯示空單元格為','標題位置','左對齊','熱力圖','28272XYoTda','條形圖','玫瑰圖','旋轉標籤','堆疊面積圖','所有系列','添加系列','113464LHmHoB','156816QylFqe','組合圖','氣泡圖至少需要2欄,X軸、Y軸。','標籤文本','第三四分位數','正值圖例文本','趨勢線線類型','空心箭頭','自定義圖表','標題格式','氣泡標籤','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','打開圖表面板','使用日期軸','空心針形','22813uqXBZv','更多設置','插入圖表','數據點','{0}\x20類型','439491YdigLw','小計樣式','垂直軸','網格線','顯示公式','{0}\x20粗細','正值樣式','{0}\x20透明度','漏斗圖','切換列或欄','使用絕對值','佈局類型','標題文本','顯示軸線','隱藏圖表面板','圓角矩形','水平軸'];_0x5df8=function(){return _0x54d586;};return _0x5df8();}(function(_0x52c8b9,_0x45ac5d){const _0x3ca7be=_0x5506,_0x5d8184=_0x52c8b9();while(!![]){try{const _0x4b1ef3=-parseInt(_0x3ca7be(0x20d))/0x1+parseInt(_0x3ca7be(0x262))/0x2+-parseInt(_0x3ca7be(0x276))/0x3+-parseInt(_0x3ca7be(0x25a))/0x4+-parseInt(_0x3ca7be(0x207))/0x5+-parseInt(_0x3ca7be(0x249))/0x6*(-parseInt(_0x3ca7be(0x271))/0x7)+-parseInt(_0x3ca7be(0x261))/0x8*(parseInt(_0x3ca7be(0x1fc))/0x9);if(_0x4b1ef3===_0x45ac5d)break;else _0x5d8184['push'](_0x5d8184['shift']());}catch(_0x4ab77f){_0x5d8184['push'](_0x5d8184['shift']());}}}(_0x5df8,0x31180));function _0x5506(_0x4a85be,_0x3106da){_0x4a85be=_0x4a85be-0x1ed;const _0x5df836=_0x5df8();let _0x550637=_0x5df836[_0x4a85be];return _0x550637;}const e={'chart':{'insertChart':_0x18cbe4(0x273),'editChart':'編輯圖表','openChartPanel':_0x18cbe4(0x26e),'deleteChart':'刪除圖表','hideChartPanel':_0x18cbe4(0x1f7),'setupChart':_0x18cbe4(0x236),'customChart':_0x18cbe4(0x26a),'default':'默認','reset':'重置','chartType':_0x18cbe4(0x235),'themes':'主題','dataRange':_0x18cbe4(0x222),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x18cbe4(0x25f),'series':'系列','addSeries':_0x18cbe4(0x260),'moreSettings':_0x18cbe4(0x272),'min':_0x18cbe4(0x253),'max':_0x18cbe4(0x228),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x18cbe4(0x221)},'blank':_0x18cbe4(0x255),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x18cbe4(0x219),'chartBorderColor':_0x18cbe4(0x21e),'titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x18cbe4(0x1ff),'xAxisTitle':'X軸標題','yAxisTitle':'Y軸標題','rightYAxisTitle':'右Y軸標題','titleFormat':_0x18cbe4(0x26b),'titleText':_0x18cbe4(0x1f5),'titlePosition':_0x18cbe4(0x257),'titleAlign':_0x18cbe4(0x211)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x18cbe4(0x243),'settingsLabels':{'switchToRowOrColumn':_0x18cbe4(0x1f2),'useAsCategoryLabels':_0x18cbe4(0x21a),'showEmptyCellsAs':_0x18cbe4(0x256)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x18cbe4(0x258),'center':'居中','right':_0x18cbe4(0x22f)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x18cbe4(0x1fd),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x18cbe4(0x233),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':_0x18cbe4(0x1f9),'verticalAxis':_0x18cbe4(0x278),'rightVerticalAxis':_0x18cbe4(0x217),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x18cbe4(0x24c)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x18cbe4(0x24a),'indicatorLine':'指示線','indicatorLineType':'指示線類型','indicatorLineColor':_0x18cbe4(0x23a),'indicatorLabel':'指示標籤','indicatorValue':_0x18cbe4(0x205),'shape':{'polygon':_0x18cbe4(0x206),'circle':'圓形','square':_0x18cbe4(0x239),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x18cbe4(0x1f8),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':'空心正方形','emptyTriangle':_0x18cbe4(0x240),'emptyDiamond':_0x18cbe4(0x242),'emptyRect':_0x18cbe4(0x238),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x18cbe4(0x270),'emptyArrow':_0x18cbe4(0x269)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x18cbe4(0x1f0),'withColor':'{0}\x20顏色','withThickness':_0x18cbe4(0x1ee),'withType':_0x18cbe4(0x275),'withSize':_0x18cbe4(0x200),'withShape':_0x18cbe4(0x215),'withFormat':_0x18cbe4(0x250),'dataPoint':_0x18cbe4(0x274),'dataNodeShape':'節點形狀','addDataPoint':_0x18cbe4(0x1fb),'point':_0x18cbe4(0x274),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':_0x18cbe4(0x23d),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x18cbe4(0x237),'text':_0x18cbe4(0x279)},'ticks':{'majorTick':_0x18cbe4(0x231),'tickPosition':_0x18cbe4(0x230),'tickLength':_0x18cbe4(0x23c)},'none':'無','theIndexItem':_0x18cbe4(0x226),'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x18cbe4(0x216),'styleEditPanel':{'showLabels':_0x18cbe4(0x223),'showDataLabels':_0x18cbe4(0x23f),'padAngle':_0x18cbe4(0x20a),'halfPie':'半餅','rosePie':_0x18cbe4(0x25c),'pieValScale':_0x18cbe4(0x22e),'pieValSuffix':'数值后缀','pieDigitalFixed':_0x18cbe4(0x203),'showLabelLine':_0x18cbe4(0x21c),'reverseAxisOrder':_0x18cbe4(0x248),'showAxisLine':_0x18cbe4(0x1f6),'labelPosition':_0x18cbe4(0x245),'labelText':_0x18cbe4(0x265),'repeatWordCould':_0x18cbe4(0x251),'gap':'間隔','useAbsValue':_0x18cbe4(0x1f3),'labelRotate':_0x18cbe4(0x246),'wordCloudShape':_0x18cbe4(0x234),'useDateAxis':_0x18cbe4(0x26f),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x18cbe4(0x22a),'msg':{'invalidSource':'圖表數據源必須包含多於1列和1欄。','emptyTips':_0x18cbe4(0x21f),'sankeyCircularTips':'桑基圖不能包含循環數據'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x18cbe4(0x21d),'addTrendLine':_0x18cbe4(0x218),'trendlineType':_0x18cbe4(0x210),'trendlineName':_0x18cbe4(0x21d),'trendlineColor':_0x18cbe4(0x212),'trendlineThickness':_0x18cbe4(0x20c),'trendlineDashType':_0x18cbe4(0x268),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x18cbe4(0x24f),'order':_0x18cbe4(0x229),'period':_0x18cbe4(0x220),'showFormula':_0x18cbe4(0x1ed),'showR2':_0x18cbe4(0x213),'formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x18cbe4(0x244),'label':_0x18cbe4(0x26c),'emptyTips':_0x18cbe4(0x264)},'relation':{'title':_0x18cbe4(0x24d),'auto':'自動','circular':'環形','force':_0x18cbe4(0x247),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0x18cbe4(0x1f4),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x18cbe4(0x25d),'emphasis':'開啟選中淡入特效','emptyTips':_0x18cbe4(0x1fa)},'waterfall':{'stackType':_0x18cbe4(0x23e),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x18cbe4(0x232),'positiveStyle':_0x18cbe4(0x1ef),'negativeStyle':'負值樣式','subtotalStyle':_0x18cbe4(0x277),'positiveLegendText':_0x18cbe4(0x267),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0x18cbe4(0x204)},'pareto':{'lineName':'累積占比','lineSeries':'累積占比系列','barSeries':_0x18cbe4(0x252)},'visualMapScope':_0x18cbe4(0x21b),'boxplot':{'min':_0x18cbe4(0x253),'q1':_0x18cbe4(0x241),'median':_0x18cbe4(0x23b),'q3':_0x18cbe4(0x266),'max':_0x18cbe4(0x228)}},'chartTypes':{'line':_0x18cbe4(0x20e),'area':'面積圖','areaStacked':_0x18cbe4(0x25e),'areaPercentStacked':_0x18cbe4(0x209),'column':'柱狀圖','bar':_0x18cbe4(0x25b),'barStacked':'堆疊條形圖','barPercentStacked':_0x18cbe4(0x24e),'pie':'餅圖','donut':_0x18cbe4(0x254),'scatter':_0x18cbe4(0x201),'radar':'雷達圖','bubble':_0x18cbe4(0x20b),'stock':_0x18cbe4(0x225),'combination':_0x18cbe4(0x263),'wordCloud':_0x18cbe4(0x22b),'funnel':_0x18cbe4(0x1f1),'relation':_0x18cbe4(0x24d),'waterfall':_0x18cbe4(0x1fe),'pareto':_0x18cbe4(0x20f),'sankey':_0x18cbe4(0x22c),'heatmap':_0x18cbe4(0x259),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':'字段設置','formatTypes':_0x18cbe4(0x214),'confirm':'確定','cancel':'取消','generalDesc':_0x18cbe4(0x227),'accountingDesc':_0x18cbe4(0x208),'currencyDesc':_0x18cbe4(0x26d),'dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x18cbe4(0x224),'decimalPlaces':'小數位數','currencyTypes':_0x18cbe4(0x202),'negativeNumberTypes':'負數類型','dateTypes':_0x18cbe4(0x22d)},'setFormat':_0x18cbe4(0x24b)}};module['exports']=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x33ffe3=_0x3f70;(function(_0x1144b9,_0x5a01bf){const _0x1d90bd=_0x3f70,_0x2c9be2=_0x1144b9();while(!![]){try{const _0x3cb221=-parseInt(_0x1d90bd(0x171))/0x1*(parseInt(_0x1d90bd(0x1a8))/0x2)+parseInt(_0x1d90bd(0x118))/0x3+parseInt(_0x1d90bd(0x184))/0x4+parseInt(_0x1d90bd(0x148))/0x5+-parseInt(_0x1d90bd(0x194))/0x6*(parseInt(_0x1d90bd(0x14e))/0x7)+parseInt(_0x1d90bd(0xfc))/0x8+-parseInt(_0x1d90bd(0x18a))/0x9;if(_0x3cb221===_0x5a01bf)break;else _0x2c9be2['push'](_0x2c9be2['shift']());}catch(_0x39eb1e){_0x2c9be2['push'](_0x2c9be2['shift']());}}}(_0x49af,0x8a464));var R=Object['defineProperty'],k=(_0x357fbc,_0x26611f,_0x232d51)=>_0x26611f in _0x357fbc?R(_0x357fbc,_0x26611f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x232d51}):_0x357fbc[_0x26611f]=_0x232d51,n=(_0x3d6e9c,_0x561069,_0x1dceab)=>k(_0x3d6e9c,typeof _0x561069!=_0x33ffe3(0x187)?_0x561069+'':_0x561069,_0x1dceab);import{ChartThemeService as _0x748635,ChartTypeBits as _0x4727ed,LegendPositionEnum as _0x2b1829,SelectModeEnum as _0x59036c,AxisAlignEnum as _0x370ec4,ChartBorderDashType as _0x5bd0ee,LinePointShape as _0x2a0de1,TitlePositionEnum as _0x1c9c3a,RadarShape as _0x566da4}from'@univerjs-pro/engine-chart';import{setProperty as _0x332f86,SheetsChartService as _0x1b1ce6,ChartUpdateSourceCommand as _0x8570cf,ChartUpdateConfigCommand as _0x56eb18}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x3570fb}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x54d66c,IUniverInstanceService as _0x753bd0,UniverInstanceType as _0x2a2f03,generateRandomId as _0xf54723,DrawingTypeEnum as _0x4b5aca}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x424cde}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x12336d}from'@univerjs/sheets/facade';import{FBase as _0x4e461c,FEnum as _0xa32d67}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x3e6b48}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4bdb34}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x21b6c2,SheetSkeletonManagerService as _0x30b7ae,convertPositionCellToSheetOverGrid as _0x3cbbea}from'@univerjs/sheets-ui';const s=(_0x10e82f,_0x4e0d29,_0x4f2a4d)=>{_0x4f2a4d!==void 0x0&&_0x332f86(_0x10e82f,_0x4e0d29,_0x4f2a4d);},C=(_0x38de35,_0x184775,_0x4ab026,_0x2b04e0={})=>{const _0x25f572=_0x33ffe3,_0x202fbb={},_0x1d4e10={};if(_0x2b04e0[_0x25f572(0x137)]){const _0x3be0fd=_0x2b04e0[_0x25f572(0x137)];s(_0x202fbb,_0x25f572(0x13c),_0x3be0fd[_0x25f572(0x138)]),s(_0x202fbb,_0x25f572(0x12b),_0x3be0fd[_0x25f572(0x18b)]),s(_0x202fbb,_0x25f572(0x14a),_0x3be0fd[_0x25f572(0x15f)]),s(_0x202fbb,_0x25f572(0x14c),_0x3be0fd[_0x25f572(0x156)]),s(_0x202fbb,'titles.title.family',_0x3be0fd['fontStyle']),s(_0x202fbb,_0x25f572(0x195),_0x3be0fd[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x12f),_0x3be0fd[_0x25f572(0x199)]),s(_0x202fbb,_0x25f572(0x135),_0x3be0fd['position']);}if(_0x2b04e0[_0x25f572(0x105)]){const _0x43e472=_0x2b04e0[_0x25f572(0x105)];s(_0x202fbb,_0x25f572(0x17f),_0x43e472[_0x25f572(0x189)]),s(_0x202fbb,_0x25f572(0x10e),_0x43e472[_0x25f572(0x103)]),s(_0x202fbb,_0x25f572(0x190),_0x43e472[_0x25f572(0x15f)]),s(_0x202fbb,_0x25f572(0xf3),_0x43e472[_0x25f572(0x153)]),s(_0x202fbb,_0x25f572(0x143),_0x43e472[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x16d),_0x43e472[_0x25f572(0x140)]);}if(_0x2b04e0[_0x25f572(0x16a)]){const _0x231553=_0x2b04e0[_0x25f572(0x16a)];s(_0x202fbb,'pie.doughnutHole',_0x231553[_0x25f572(0x102)]),s(_0x202fbb,_0x25f572(0x149),_0x231553[_0x25f572(0x128)]),s(_0x202fbb,'pie.hasPaddingAngle',_0x231553[_0x25f572(0x18e)]),s(_0x202fbb,'pie.isHalfPie',_0x231553[_0x25f572(0x11e)]),s(_0x202fbb,_0x25f572(0x1a1),_0x231553[_0x25f572(0x19c)]),s(_0x202fbb,_0x25f572(0x110),_0x231553[_0x25f572(0x165)]);}if(_0x2b04e0['axisPointer']){const _0x3b9950=_0x2b04e0[_0x25f572(0xf8)];s(_0x202fbb,_0x25f572(0x15d),_0x3b9950[_0x25f572(0x17c)]),s(_0x202fbb,_0x25f572(0x186),_0x3b9950[_0x25f572(0x154)]),s(_0x202fbb,_0x25f572(0x16b),_0x3b9950[_0x25f572(0x168)]),s(_0x202fbb,_0x25f572(0x150),_0x3b9950[_0x25f572(0x185)]);}if(_0x2b04e0[_0x25f572(0x170)]&&(s(_0x202fbb,_0x25f572(0x174),_0x2b04e0[_0x25f572(0x170)][_0x25f572(0x155)]),s(_0x202fbb,'allSeriesStyle.label',_0x2b04e0[_0x25f572(0x170)][_0x25f572(0x123)]),s(_0x202fbb,_0x25f572(0x17d),_0x2b04e0[_0x25f572(0x170)]['rightYAxis']),s(_0x202fbb,_0x25f572(0x13e),_0x2b04e0[_0x25f572(0x170)]['point']),s(_0x202fbb,_0x25f572(0x10b),_0x2b04e0[_0x25f572(0x170)][_0x25f572(0x153)])),_0x2b04e0[_0x25f572(0xf9)]&&s(_0x202fbb,_0x25f572(0x126),_0x2b04e0[_0x25f572(0xf9)][_0x25f572(0x10a)]),_0x2b04e0[_0x25f572(0x192)]&&s(_0x202fbb,'theme',_0x2b04e0[_0x25f572(0x192)]),_0x2b04e0[_0x25f572(0x157)]&&s(_0x202fbb,_0x25f572(0x157),_0x2b04e0[_0x25f572(0x157)]),_0x2b04e0['borderColor']&&s(_0x202fbb,'borderColor',_0x2b04e0[_0x25f572(0x128)]),_0x2b04e0[_0x25f572(0x127)]&&s(_0x202fbb,_0x25f572(0x127),_0x2b04e0['gradientFill']),_0x2b04e0['invalidValueType']&&s(_0x202fbb,_0x25f572(0x163),_0x2b04e0[_0x25f572(0x163)]),_0x2b04e0['radar']&&s(_0x202fbb,_0x25f572(0xfa),_0x2b04e0[_0x25f572(0xfa)]),_0x2b04e0['xAxisTitle']){const _0x4710fa=_0x2b04e0[_0x25f572(0x180)];s(_0x202fbb,'titles.xAxisTitle.content',_0x4710fa[_0x25f572(0x138)]),s(_0x202fbb,_0x25f572(0xf5),_0x4710fa[_0x25f572(0x18b)]),s(_0x202fbb,'titles.xAxisTitle.fontSize',_0x4710fa['fontSize']),s(_0x202fbb,_0x25f572(0x116),_0x4710fa['fontColor']),s(_0x202fbb,_0x25f572(0x178),_0x4710fa['fontStyle']),s(_0x202fbb,'titles.xAxisTitle.bold',_0x4710fa[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x122),_0x4710fa[_0x25f572(0x108)]);}if(_0x2b04e0[_0x25f572(0x167)]){const _0x473075=_0x2b04e0[_0x25f572(0x167)];s(_0x202fbb,_0x25f572(0x19f),_0x473075[_0x25f572(0x138)]),s(_0x202fbb,_0x25f572(0x16c),_0x473075[_0x25f572(0x18b)]),s(_0x202fbb,_0x25f572(0x11f),_0x473075[_0x25f572(0x15f)]),s(_0x202fbb,_0x25f572(0x129),_0x473075[_0x25f572(0x156)]),s(_0x202fbb,_0x25f572(0x136),_0x473075[_0x25f572(0x173)]),s(_0x202fbb,'titles.yAxisTitle.bold',_0x473075[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x131),_0x473075[_0x25f572(0x108)]);}if(_0x2b04e0[_0x25f572(0xf2)]){const _0x45c556=_0x2b04e0[_0x25f572(0xf2)];s(_0x202fbb,_0x25f572(0x19a),_0x45c556['content']),s(_0x202fbb,'titles.rightYAxisTitle.font',_0x45c556[_0x25f572(0x18b)]),s(_0x202fbb,'titles.rightYAxisTitle.fontSize',_0x45c556[_0x25f572(0x15f)]),s(_0x202fbb,_0x25f572(0x19e),_0x45c556[_0x25f572(0x156)]),s(_0x202fbb,_0x25f572(0x12a),_0x45c556['fontStyle']),s(_0x202fbb,_0x25f572(0x13d),_0x45c556[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x114),_0x45c556[_0x25f572(0x108)]);}_0x2b04e0[_0x25f572(0x197)]&&s(_0x202fbb,_0x25f572(0x197),_0x2b04e0[_0x25f572(0x197)]),_0x2b04e0[_0x25f572(0x144)]&&s(_0x202fbb,_0x25f572(0x144),_0x2b04e0[_0x25f572(0x144)]),_0x2b04e0['yRightAxis']&&s(_0x202fbb,_0x25f572(0x1a7),_0x2b04e0[_0x25f572(0x111)]),_0x2b04e0[_0x25f572(0x18c)]&&s(_0x202fbb,_0x25f572(0x18c),_0x2b04e0['seriesStyleMap']);const _0x33688a={'unitId':_0x38de35,'chartModelId':_0x184775};let _0x2e7963=!0x1;if(_0x4ab026!==void 0x0&&(_0x33688a[_0x25f572(0x12e)]=_0x4ab026,_0x2e7963=!0x0),Object[_0x25f572(0x191)](_0x202fbb)[_0x25f572(0x141)]>0x0&&(_0x33688a[_0x25f572(0xff)]=_0x202fbb,_0x2e7963=!0x0),Object[_0x25f572(0x191)](_0x1d4e10)[_0x25f572(0x141)]>0x0&&(_0x33688a[_0x25f572(0x11d)]=_0x1d4e10,_0x2e7963=!0x0),_0x2e7963)return _0x33688a;};class c extends _0x4e461c{constructor(_0x42c9de,_0x5388f9,_0x1c2540,_0x456203,_0x54c86e){const _0x3d7822=_0x33ffe3;super(),n(this,'_workbook'),n(this,'_injector'),n(this,_0x3d7822(0x107)),n(this,'subUnitId'),n(this,_0x3d7822(0xf6)),n(this,_0x3d7822(0x139)),n(this,_0x3d7822(0x1a0)),n(this,'x'),n(this,'y'),n(this,_0x3d7822(0x112)),n(this,_0x3d7822(0x109)),n(this,_0x3d7822(0x12e)),n(this,_0x3d7822(0x15e)),n(this,_0x3d7822(0x177)),(this[_0x3d7822(0x107)]=_0x42c9de,this[_0x3d7822(0x193)]=_0x5388f9,this[_0x3d7822(0x113)]=_0x1c2540,this[_0x3d7822(0x169)]=_0x456203,_0x54c86e&&(this[_0x3d7822(0xf6)]=_0x54c86e));}[_0x33ffe3(0x164)](){const _0x53418e=_0x33ffe3;return this[_0x53418e(0x12e)];}[_0x33ffe3(0x117)](_0x5df99d){const _0x55ada5=_0x33ffe3;if(typeof _0x5df99d==_0x55ada5(0x1a5)){const _0x53d262=_0x3e6b48(_0x5df99d);_0x53d262[_0x55ada5(0xfe)]&&(this[_0x55ada5(0x1a0)]=_0x53d262[_0x55ada5(0xfe)]),this['range']=_0x53d262[_0x55ada5(0x139)];}else this[_0x55ada5(0x139)]=_0x5df99d;return this;}['clearRange'](){const _0x5b8f53=_0x33ffe3;return this[_0x5b8f53(0x139)]=void 0x0,this[_0x5b8f53(0x1a0)]=void 0x0,this;}['setPosition'](_0x5384bf,_0x2d5416,_0x3af215,_0x537862){const _0xd52693=_0x33ffe3,_0x1fe60c=this[_0xd52693(0x169)]['get'](_0x4bdb34)[_0xd52693(0x13f)](this[_0xd52693(0x107)]);if(!_0x1fe60c)throw new Error(_0xd52693(0x1a4));const _0x31b96c=_0x1fe60c[_0xd52693(0x1a2)](_0x21b6c2),_0x264c09=_0x1fe60c['with'](_0x30b7ae),{transform:_0x199c0c}=_0x3cbbea(this['unitId'],this[_0xd52693(0x193)],{'row':_0x5384bf,'column':_0x2d5416,'rowOffset':_0x3af215,'columnOffset':_0x537862},0x1,0x1,_0x31b96c,_0x264c09),_0x4b28c6=_0x199c0c['top'],_0x1ff9f0=_0x199c0c[_0xd52693(0x106)];return this['x']=_0x1ff9f0,this['y']=_0x4b28c6,this;}[_0x33ffe3(0x14b)](_0x17d4f5,_0x4581d8){return this['x']=_0x17d4f5,this['y']=_0x4581d8,this;}[_0x33ffe3(0x147)](_0x3e8b1e){const _0x5c0ccb=_0x33ffe3;return this[_0x5c0ccb(0x12e)]=_0x3e8b1e,this;}[_0x33ffe3(0x146)](_0x2a8f96){return this['width']=_0x2a8f96,this;}['setHeight'](_0x166d2d){const _0x5b9d54=_0x33ffe3;return this[_0x5b9d54(0x109)]=_0x166d2d,this;}[_0x33ffe3(0xfb)](_0x49bfdf,_0xb8cc5d){const _0x437a85=_0x33ffe3;return this[_0x437a85(0x15e)]||(this[_0x437a85(0x15e)]={}),_0x49bfdf===''?(this[_0x437a85(0x15e)]={...this[_0x437a85(0x15e)],..._0xb8cc5d},this):(_0x332f86(this['options'],_0x49bfdf,_0xb8cc5d),this);}[_0x33ffe3(0x162)](_0x591741){const _0x142a13=_0x33ffe3;return this[_0x142a13(0x177)]=_0x591741,this;}[_0x33ffe3(0x14d)](_0x2283d1){const _0x237bd5=_0x33ffe3;return this[_0x237bd5(0xfb)]('theme',_0x2283d1),this;}['setXAxisTitle'](_0x3538f5){const _0x30a149=_0x33ffe3;var _0xc42cd4;const _0x51d95e=((_0xc42cd4=this[_0x30a149(0x15e)])==null?void 0x0:_0xc42cd4[_0x30a149(0x180)])||{};return _0x51d95e['content']=_0x3538f5,this['setOptions'](_0x30a149(0x180),_0x51d95e),this;}['setYAxisTitle'](_0x315d2a){const _0x28e000=_0x33ffe3;var _0xab8ec2;const _0x483fb9=((_0xab8ec2=this['options'])==null?void 0x0:_0xab8ec2[_0x28e000(0x167)])||{};return _0x483fb9[_0x28e000(0x138)]=_0x315d2a,this[_0x28e000(0xfb)](_0x28e000(0x167),_0x483fb9),this;}['setRightYAxisTitle'](_0xdc2c33){const _0x4dc621=_0x33ffe3;var _0x3cf560;const _0x98ac9a=((_0x3cf560=this[_0x4dc621(0x15e)])==null?void 0x0:_0x3cf560[_0x4dc621(0xf2)])||{};return _0x98ac9a[_0x4dc621(0x138)]=_0xdc2c33,this[_0x4dc621(0xfb)](_0x4dc621(0xf2),_0x98ac9a),this;}[_0x33ffe3(0x198)](_0x3322b6){const _0x5b3a6a=_0x33ffe3;var _0x3f7b2c;const _0x3c887b=((_0x3f7b2c=this[_0x5b3a6a(0x15e)])==null?void 0x0:_0x3f7b2c[_0x5b3a6a(0x180)])||{};return this[_0x5b3a6a(0xfb)](_0x5b3a6a(0x180),{..._0x3c887b,..._0x3322b6}),this;}[_0x33ffe3(0x132)](_0x56c07d){const _0xbfd616=_0x33ffe3;var _0x429c11;const _0x1c0fc=((_0x429c11=this[_0xbfd616(0x15e)])==null?void 0x0:_0x429c11[_0xbfd616(0x167)])||{};return this[_0xbfd616(0xfb)]('yAxisTitle',{..._0x1c0fc,..._0x56c07d}),this;}[_0x33ffe3(0x152)](_0x25b5f6){const _0x3e6b01=_0x33ffe3;var _0x3afa18;const _0x3b16ef=((_0x3afa18=this[_0x3e6b01(0x15e)])==null?void 0x0:_0x3afa18[_0x3e6b01(0xf2)])||{};return this['setOptions'](_0x3e6b01(0xf2),{..._0x3b16ef,..._0x25b5f6}),this;}[_0x33ffe3(0x142)](_0x2a24f1){const _0x5dd007=_0x33ffe3;return this['setOptions'](_0x5dd007(0x163),_0x2a24f1),this;}['setAxisPointerStyle'](_0x27c8e4){const _0x16b800=_0x33ffe3;return this[_0x16b800(0xfb)](_0x16b800(0xf8),_0x27c8e4),this;}[_0x33ffe3(0x18d)](_0xd625ec){const _0x11f2da=_0x33ffe3;return this[_0x11f2da(0xfb)]('allSeriesStyle',_0xd625ec),this;}[_0x33ffe3(0x166)](_0x1227c2,_0x463e5c){return this['setOptions']('seriesStyleMap',{[_0x1227c2]:_0x463e5c}),this;}[_0x33ffe3(0x19d)](){const _0x177113=_0x33ffe3;return{'unitId':this[_0x177113(0x107)],'subUnitId':this[_0x177113(0x193)],'chartId':this[_0x177113(0xf6)],'range':this[_0x177113(0x139)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x177113(0x112)],'height':this[_0x177113(0x109)],'chartType':this['chartType'],'options':this[_0x177113(0x15e)],'isRowDirection':this[_0x177113(0x177)]};}}class P{constructor(_0x5658aa,_0x409016,_0x42ba2b,_0x33e213){const _0x315d93=_0x33ffe3;n(this,_0x315d93(0x107)),n(this,_0x315d93(0x193)),n(this,_0x315d93(0xf6)),n(this,_0x315d93(0x169)),(this[_0x315d93(0x107)]=_0x5658aa,this['subUnitId']=_0x409016,this[_0x315d93(0xf6)]=_0x42ba2b,this[_0x315d93(0x169)]=_0x33e213);}[_0x33ffe3(0x160)](){return this['chartId'];}['getRange'](){const _0x2f15ef=_0x33ffe3,_0x76a440=this[_0x2f15ef(0x169)][_0x2f15ef(0x18f)](_0x1b1ce6)[_0x2f15ef(0x17e)](this[_0x2f15ef(0xf6)]);if(_0x76a440)return _0x76a440['dataSource'][_0x2f15ef(0x11b)]();}[_0x33ffe3(0x176)](_0x54dded){const _0x3322df=_0x33ffe3;return this['_injector'][_0x3322df(0x18f)](_0x54d66c)['executeCommand'](_0x8570cf['id'],{'unitId':this[_0x3322df(0x107)],'chartModelId':this[_0x3322df(0xf6)],'range':_0x54dded});}['getSeriesData'](){const _0x33f8b9=_0x33ffe3;var _0x2f927f;const _0x3f4cf9=this[_0x33f8b9(0x169)][_0x33f8b9(0x18f)](_0x1b1ce6)['getChartModel'](this['chartId']);if(_0x3f4cf9)return(_0x2f927f=_0x3f4cf9[_0x33f8b9(0x119)])==null?void 0x0:_0x2f927f['series'];}['getCategoryData'](){const _0x3aa547=_0x33ffe3;var _0x10ad78;const _0x3a1236=this['_injector'][_0x3aa547(0x18f)](_0x1b1ce6)['getChartModel'](this[_0x3aa547(0xf6)]);if(_0x3a1236)return(_0x10ad78=_0x3a1236[_0x3aa547(0x119)])==null?void 0x0:_0x10ad78[_0x3aa547(0x104)];}[_0x33ffe3(0x130)](){const _0x3c458f=_0x33ffe3,_0x254005=this[_0x3c458f(0x169)]['get'](_0x753bd0)[_0x3c458f(0x15b)](_0x2a2f03['UNIVER_SHEET']);return new c(this['unitId'],this['subUnitId'],_0x254005,this[_0x3c458f(0x169)],this[_0x3c458f(0xf6)]);}}class $ extends _0x12336d{async['insertChart'](_0x10016d){const _0x481bc8=_0x33ffe3;var _0x34e85a,_0x192bf1,_0x1d2ffe;const _0xf9b8cc=_0x10016d['unitId']||this['getWorkbook']()[_0x481bc8(0x121)](),_0x14c309=_0x10016d[_0x481bc8(0x193)]||this[_0x481bc8(0x120)](),_0x4243c3=_0x10016d[_0x481bc8(0xf6)]||_0xf54723(),_0x48279f=_0x10016d[_0x481bc8(0x12e)],_0x4e37f7=_0x10016d[_0x481bc8(0x139)],_0x49b2f1=_0x10016d[_0x481bc8(0x1a0)],_0xd85ebb={'x':_0x10016d['x'],'y':_0x10016d['y']},_0x11365c=_0x10016d[_0x481bc8(0x112)],_0x3d3d69=_0x10016d[_0x481bc8(0x109)],_0x2a37e0=(_0x34e85a=_0x10016d[_0x481bc8(0x15e)])==null?void 0x0:_0x34e85a[_0x481bc8(0x157)],_0x380c15=(_0x192bf1=_0x10016d[_0x481bc8(0x15e)])==null?void 0x0:_0x192bf1[_0x481bc8(0x128)],_0x4068d3=C(_0xf9b8cc,_0x4243c3,_0x48279f,_0x10016d[_0x481bc8(0x15e)]),_0x239110=(_0x1d2ffe=_0x10016d[_0x481bc8(0x11a)])!=null?_0x1d2ffe:!0x0;if(!_0x4e37f7)throw new Error(_0x481bc8(0x13a));return await this[_0x481bc8(0x15c)][_0x481bc8(0x175)](_0x3570fb['id'],{'unitId':_0xf9b8cc,'subUnitId':_0x14c309,'chartId':_0x4243c3,'chartType':_0x48279f,'range':_0x4e37f7,'sourceSheetName':_0x49b2f1,'position':_0xd85ebb,'width':_0x11365c,'height':_0x3d3d69,'backgroundColor':_0x2a37e0,'borderColor':_0x380c15,'config':_0x4068d3,'isRowDirection':_0x239110}),new P(_0xf9b8cc,_0x14c309,_0x4243c3,this[_0x481bc8(0x169)]);}[_0x33ffe3(0x17a)](_0x1f8bcc){const _0xa9e1f4=_0x33ffe3,{unitId:_0x2eda55,chartId:_0x36647c,chartType:_0x7874a4,options:_0x2f7597}=_0x1f8bcc,_0x5ec09e=C(_0x2eda55,_0x36647c,_0x7874a4,_0x2f7597);this['_commandService'][_0xa9e1f4(0x175)](_0x56eb18['id'],_0x5ec09e);}[_0x33ffe3(0x16e)](_0x3d9249){const _0x440d3b=_0x33ffe3;if(_0x3d9249)return new c(_0x3d9249[_0x440d3b(0x107)],_0x3d9249[_0x440d3b(0x193)],this['_workbook'],this[_0x440d3b(0x169)],_0x3d9249['chartId']);const _0x297292=this[_0x440d3b(0x11c)]()[_0x440d3b(0x121)](),_0x4cd9d0=this[_0x440d3b(0x120)]();return new c(_0x297292,_0x4cd9d0,this[_0x440d3b(0x113)],this[_0x440d3b(0x169)]);}['getCharts'](){const _0x13f2bf=_0x33ffe3,_0x4e6f51=this[_0x13f2bf(0x169)][_0x13f2bf(0x18f)](_0x1b1ce6),_0x2ff3fe=this[_0x13f2bf(0x11c)]()[_0x13f2bf(0x121)]();return _0x4e6f51[_0x13f2bf(0x12d)](_0x2ff3fe,this[_0x13f2bf(0x120)]())[_0x13f2bf(0x10f)](_0x13af29=>new P(_0x2ff3fe,this[_0x13f2bf(0x120)](),_0x13af29['id'],this['_injector']));}[_0x33ffe3(0x188)](_0x91bb8d){const _0x32bc1=_0x33ffe3,_0xd40fa6=_0x91bb8d['unitId'],_0x316e8a=_0x91bb8d[_0x32bc1(0x193)],_0x48d373=_0x91bb8d[_0x32bc1(0xf6)],_0xa8057a={'unitId':_0xd40fa6,'drawings':[{'unitId':_0xd40fa6,'subUnitId':_0x316e8a,'drawingId':_0x48d373,'drawingType':_0x4b5aca[_0x32bc1(0x1a6)]}]};return this['_commandService'][_0x32bc1(0x175)](_0x424cde['id'],_0xa8057a);}['registerChartTheme'](_0x3a549b,_0x470391){const _0x45c439=_0x33ffe3;this['_injector'][_0x45c439(0x18f)](_0x748635)['registerTheme'](_0x3a549b,_0x470391);}}function _0x49af(){const _0x4bbb62=['pie.rosePie','with','pie.isHalfPie','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','string','DRAWING_CHART','rightYAxis','3622xnRtAI','RadarShape','rightYAxisTitle','legend.label.color','dataPointSize','titles.xAxisTitle.font','chartId','setIsHalfPie','axisPointer','area','radar','setOptions','1685240yTiFqR','dataPointColor','sheetName','style','setDataPointColor','fill','doughnutHole','selectMode','category','legend','left','unitId','axisAlignment','height','lineStyle','allSeriesStyle.color','setDoughnutHole','setBorderColor','legend.selectMode','map','pie.showLabelLine','yRightAxis','width','_workbook','rightYAxis.label.axisTitleAlign','shape','titles.xAxisTitle.color','addRange','859527liuFjD','config','isRowDirection','getRangeInfo','getWorkbook','context','isHalfPie','titles.yAxisTitle.fontSize','getSheetId','getUnitId','xAxis.label.axisTitleAlign','label','radar.fill','setLineStyle','area.lineStyle','gradientFill','borderColor','titles.yAxisTitle.color','titles.rightYAxisTitle.family','titles.title.font','extend','getUnitChartModels','chartType','titles.title.align','modify','yAxis.label.axisTitleAlign','setYAxisTextStyle','ChartType','setFill','titles.titlePosition','titles.yAxisTitle.family','title','content','range','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','LegendPositionEnum','titles.title.content','titles.rightYAxisTitle.bold','allSeriesStyle.point','getRenderById','italic','length','setInvalidValueStrategy','legend.label.bold','yAxis','Pie','setWidth','setChartType','2116050VqjXVI','pie.borderColor','titles.title.fontSize','setAbsolutePosition','titles.title.color','setTheme','126jZXSUK','bold','tooltip.indicatorLabelTextColor','ChartBorderDashType','setRightYAxisTextStyle','color','indicatorLineType','border','fontColor','backgroundColor','Line','AxisAlignEnum','allSeriesStyle.point.shape','getCurrentUnitForType','_commandService','tooltip.indicatorLabelColor','options','fontSize','getChartId','dataPointShape','setTransposeRowsAndColumns','invalidValueType','getChartType','showLabelLine','setSeriesStyle','yAxisTitle','indicatorLineColor','_injector','pie','tooltip.indicatorLineColor','titles.yAxisTitle.font','legend.label.italic','newChart','TitlePositionEnum','allSeriesStyle','213guRoDT','LinePointShape','fontStyle','allSeriesStyle.border','executeCommand','updateRange','transposeRowsAndColumns','titles.xAxisTitle.family','setShape','updateChart','setRosePie','indicatorLabelColor','allSeriesStyle.rightYAxis','getChartModel','legend.position','xAxisTitle','Radar','setShowLabelLine','SelectModeEnum','1879964GWgtQJ','indicatorLabelTextColor','tooltip.indicatorLineType','symbol','removeChart','position','580158zNBhjG','font','seriesStyleMap','setAllSeriesStyle','hasPaddingAngle','get','legend.label.fontSize','keys','theme','subUnitId','124596cvkrSl','titles.title.bold','pie.hasPaddingAngle','xAxis','setXAxisTextStyle','titleAlignment','titles.rightYAxisTitle.content','allSeriesStyle.point.color','rosePie','build','titles.rightYAxisTitle.color','titles.yAxisTitle.content','sourceSheetName'];_0x49af=function(){return _0x4bbb62;};return _0x49af();}_0x12336d[_0x33ffe3(0x12c)]($);class tt extends _0xa32d67{get[_0x33ffe3(0x133)](){return _0x4727ed;}get[_0x33ffe3(0x13b)](){return _0x2b1829;}get[_0x33ffe3(0x183)](){return _0x59036c;}get[_0x33ffe3(0x159)](){return _0x370ec4;}get[_0x33ffe3(0x151)](){return _0x5bd0ee;}get[_0x33ffe3(0x172)](){return _0x2a0de1;}get[_0x33ffe3(0x16f)](){return _0x1c9c3a;}get[_0x33ffe3(0x1a9)](){return _0x566da4;}}_0xa32d67['extend'](tt);class et extends c{constructor(_0x3cd34f,_0x4cc9b7,_0x198bab,_0x2d347e,_0x2f6d7d){const _0x4ca72e=_0x33ffe3;super(_0x3cd34f,_0x4cc9b7,_0x198bab,_0x2d347e,_0x2f6d7d),n(this,_0x4ca72e(0x10a)),n(this,_0x4ca72e(0x161)),n(this,_0x4ca72e(0xfd)),n(this,_0x4ca72e(0xf4));}[_0x33ffe3(0x125)](_0x3046f0){const _0x5b2b18=_0x33ffe3;return this[_0x5b2b18(0x10a)]=_0x3046f0,this;}['setDataPointShape'](_0x548c33){const _0x52dbdf=_0x33ffe3;return this[_0x52dbdf(0x161)]=_0x548c33,this;}[_0x33ffe3(0x100)](_0x43173e){return this['dataPointColor']=_0x43173e,this;}['setDataPointSize'](_0x31d490){return this['dataPointSize']=_0x31d490,this;}[_0x33ffe3(0x19d)](){const _0x997242=_0x33ffe3,_0xbbfe6b=super[_0x997242(0x19d)]();_0xbbfe6b[_0x997242(0x12e)]=_0x4727ed[_0x997242(0x158)];const _0xd843f1=_0xbbfe6b[_0x997242(0x15e)]||{};return s(_0xd843f1,_0x997242(0x126),this[_0x997242(0x10a)]),s(_0xd843f1,_0x997242(0x15a),this[_0x997242(0x161)]),s(_0xd843f1,_0x997242(0x19b),this[_0x997242(0xfd)]),s(_0xd843f1,'allSeriesStyle.point.size',this['dataPointSize']),_0xbbfe6b['options']=_0xd843f1,_0xbbfe6b;}}class it extends c{['asLineChart'](){const _0x14047e=_0x33ffe3;return new et(this['unitId'],this[_0x14047e(0x193)],this['_workbook'],this[_0x14047e(0x169)],this['chartId']);}}c[_0x33ffe3(0x12c)](it);class st extends c{constructor(_0x8188b0,_0x48124f,_0x4822d9,_0x1e4b80,_0x4b07f8){const _0x4d6d7c=_0x33ffe3;super(_0x8188b0,_0x48124f,_0x4822d9,_0x1e4b80,_0x4b07f8),n(this,_0x4d6d7c(0x102)),n(this,_0x4d6d7c(0x128)),n(this,_0x4d6d7c(0x18e)),n(this,_0x4d6d7c(0x11e)),n(this,_0x4d6d7c(0x19c)),n(this,'showLabelLine');}[_0x33ffe3(0x10c)](_0x45c4cd){return this['doughnutHole']=_0x45c4cd,this;}[_0x33ffe3(0x10d)](_0x18fba1){const _0x5ba8b4=_0x33ffe3;return this[_0x5ba8b4(0x128)]=_0x18fba1,this;}['setHasPaddingAngle'](_0x58731b){const _0x2bd9e7=_0x33ffe3;return this[_0x2bd9e7(0x18e)]=_0x58731b,this;}[_0x33ffe3(0xf7)](_0x530896){return this['isHalfPie']=_0x530896,this;}[_0x33ffe3(0x17b)](_0x5857e3){const _0x4fd7b4=_0x33ffe3;return this[_0x4fd7b4(0x19c)]=_0x5857e3,this;}[_0x33ffe3(0x182)](_0xe5fd78){return this['showLabelLine']=_0xe5fd78,this;}[_0x33ffe3(0x19d)](){const _0x7a0bbf=_0x33ffe3,_0x5d0064=super[_0x7a0bbf(0x19d)]();_0x5d0064[_0x7a0bbf(0x12e)]=_0x4727ed[_0x7a0bbf(0x145)];const _0xe8646f=_0x5d0064['options']||{};return s(_0xe8646f,'pie.doughnutHole',this[_0x7a0bbf(0x102)]),s(_0xe8646f,'pie.borderColor',this[_0x7a0bbf(0x128)]),s(_0xe8646f,_0x7a0bbf(0x196),this['hasPaddingAngle']),s(_0xe8646f,_0x7a0bbf(0x1a3),this[_0x7a0bbf(0x11e)]),s(_0xe8646f,_0x7a0bbf(0x1a1),this[_0x7a0bbf(0x19c)]),s(_0xe8646f,_0x7a0bbf(0x110),this[_0x7a0bbf(0x165)]),_0x5d0064[_0x7a0bbf(0x15e)]=_0xe8646f,_0x5d0064;}}class rt extends c{['asPieChart'](){return new st(this['unitId'],this['subUnitId'],this['_workbook'],this['_injector'],this['chartId']);}}function _0x3f70(_0x207e4a,_0x48031a){_0x207e4a=_0x207e4a-0xf2;const _0x49aff0=_0x49af();let _0x3f7061=_0x49aff0[_0x207e4a];return _0x3f7061;}c[_0x33ffe3(0x12c)](rt);class ot extends c{constructor(_0x515e8c,_0x3c7c1c,_0x2dabda,_0x23a575,_0x3221ba){const _0x35586d=_0x33ffe3;super(_0x515e8c,_0x3c7c1c,_0x2dabda,_0x23a575,_0x3221ba),n(this,_0x35586d(0x115)),n(this,'fill');}[_0x33ffe3(0x179)](_0x44a064){const _0x5ee493=_0x33ffe3;return this[_0x5ee493(0x115)]=_0x44a064,this;}[_0x33ffe3(0x134)](_0x40f53a){const _0x3801a8=_0x33ffe3;return this[_0x3801a8(0x101)]=_0x40f53a,this;}['build'](){const _0x2f132d=_0x33ffe3,_0x252260=super[_0x2f132d(0x19d)]();_0x252260[_0x2f132d(0x12e)]=_0x4727ed[_0x2f132d(0x181)];const _0x3ecaef=_0x252260[_0x2f132d(0x15e)]||{};return s(_0x3ecaef,'radar.shape',this[_0x2f132d(0x115)]),s(_0x3ecaef,_0x2f132d(0x124),this[_0x2f132d(0x101)]),_0x252260['options']=_0x3ecaef,_0x252260;}}class nt extends c{['asRadarChart'](){const _0x5184d9=_0x33ffe3;return new ot(this[_0x5184d9(0x107)],this['subUnitId'],this[_0x5184d9(0x113)],this[_0x5184d9(0x169)],this[_0x5184d9(0xf6)]);}}c[_0x33ffe3(0x12c)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
1
+ const _0x3ac8a0=_0x19f6;(function(_0x155d69,_0x825e7){const _0x58ae99=_0x19f6,_0x50d87b=_0x155d69();while(!![]){try{const _0x17c26b=-parseInt(_0x58ae99(0x159))/0x1*(parseInt(_0x58ae99(0x203))/0x2)+-parseInt(_0x58ae99(0x200))/0x3*(-parseInt(_0x58ae99(0x1ad))/0x4)+parseInt(_0x58ae99(0x1d9))/0x5*(parseInt(_0x58ae99(0x19b))/0x6)+-parseInt(_0x58ae99(0x1a5))/0x7*(parseInt(_0x58ae99(0x1f6))/0x8)+-parseInt(_0x58ae99(0x1ef))/0x9*(-parseInt(_0x58ae99(0x188))/0xa)+parseInt(_0x58ae99(0x1a1))/0xb+parseInt(_0x58ae99(0x171))/0xc;if(_0x17c26b===_0x825e7)break;else _0x50d87b['push'](_0x50d87b['shift']());}catch(_0x50233e){_0x50d87b['push'](_0x50d87b['shift']());}}}(_0x3c96,0x4d6c4));var R=Object['defineProperty'],k=(_0x269dfb,_0x214923,_0x478b50)=>_0x214923 in _0x269dfb?R(_0x269dfb,_0x214923,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x478b50}):_0x269dfb[_0x214923]=_0x478b50,n=(_0x55e1e1,_0x1b323c,_0x374eb4)=>k(_0x55e1e1,typeof _0x1b323c!=_0x3ac8a0(0x1aa)?_0x1b323c+'':_0x1b323c,_0x374eb4);import{ChartThemeService as _0x5930f3,ChartTypeBits as _0x4b157a,LegendPositionEnum as _0x13ee30,SelectModeEnum as _0x57e66b,AxisAlignEnum as _0x7afbe9,ChartBorderDashType as _0x35ad4e,LinePointShape as _0x37c2ec,TitlePositionEnum as _0xc7c4b1,RadarShape as _0x442c91}from'@univerjs-pro/engine-chart';function _0x3c96(){const _0x50462f=['161130IjyHeL','titles.yAxisTitle.font','getChartType','legend.selectMode','getUnitChartModels','RadarShape','setHeight','doughnutHole','allSeriesStyle','setTransposeRowsAndColumns','setDataPointColor','legend','pie.rosePie','titles.rightYAxisTitle.content','registerTheme','titles.titlePosition','setYAxisTextStyle','dataPointShape','legend.position','42978cizBzx','category','radar.shape','left','updateRange','rightYAxis','674234QQJuxz','titles.title.font','getWorkbook','allSeriesStyle.point.size','543942dtvUIO','executeCommand','AxisAlignEnum','setAbsolutePosition','border','symbol','with','setYAxisTitle','1012VRfaEG','build','setWidth','length','borderColor','titles.yAxisTitle.content','lineStyle','titles.xAxisTitle.fontSize','Radar','fontColor','rosePie','legend.label.fontSize','setOptions','titles.rightYAxisTitle.font','allSeriesStyle.label','legend.label.color','setDataPointSize','getChartModel','UNIVER_SHEET','setShowLabelLine','titles.rightYAxisTitle.bold','getSeriesData','title','setPosition','setSeriesStyle','titles.rightYAxisTitle.fontSize','xAxis','getRangeInfo','pie.doughnutHole','yAxis.label.axisTitleAlign','showLabelLine','Line','TitlePositionEnum','getCharts','legend.label.bold','gradientFill','sheetName','radar.fill','yAxisTitle','setRightYAxisTitle','Pie','titles.title.fontSize','titles.rightYAxisTitle.family','legend.label.italic','125RzGYcL','get','series','titles.yAxisTitle.fontSize','titles.title.color','tooltip.indicatorLabelColor','transposeRowsAndColumns','isHalfPie','point','yRightAxis','area','setRightYAxisTextStyle','setAxisPointerStyle','_commandService','pie.hasPaddingAngle','SelectModeEnum','_workbook','titles.title.family','_injector','seriesStyleMap','bold','getCurrentUnitForType','189cXEzlo','LegendPositionEnum','chartType','pie','theme','setBorderColor','setAllSeriesStyle','8czzzBl','selectMode','axisAlignment','indicatorLabelColor','subUnitId','allSeriesStyle.rightYAxis','titleAlignment','height','DRAWING_CHART','hasPaddingAngle','1221sNpeWl','style','titles.xAxisTitle.family','78uixKwb','fontSize','chartId','setLineStyle','LinePointShape','clearRange','getSheetId','pie.showLabelLine','setChartType','asPieChart','color','modify','setIsHalfPie','getUnitId','tooltip.indicatorLineColor','label','range','12278UrgnVP','keys','insertChart','titles.title.bold','asRadarChart','yAxis','radar','xAxisTitle','ChartBorderDashType','dataPointSize','extend','backgroundColor','config','setRosePie','shape','indicatorLabelTextColor','fill','rightYAxisTitle','indicatorLineType','string','ChartType','setXAxisTextStyle','dataPointColor','titles.xAxisTitle.bold','2303508mZdhHL','invalidValueType','tooltip.indicatorLineType','setFill','setShape','area.lineStyle','map','titles.title.align','axisPointer','setTheme','tooltip.indicatorLabelTextColor','pie.isHalfPie','context','titles.xAxisTitle.content','content','font','italic','fontStyle','position','options','width','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','unitId'];_0x3c96=function(){return _0x50462f;};return _0x3c96();}function _0x19f6(_0x35b686,_0xecf81b){_0x35b686=_0x35b686-0x150;const _0x3c9666=_0x3c96();let _0x19f6ab=_0x3c9666[_0x35b686];return _0x19f6ab;}import{setProperty as _0xd232f9,SheetsChartService as _0x4b26e7,ChartUpdateSourceCommand as _0x23aaf4,ChartUpdateConfigCommand as _0x2ebeae}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x8a4ce2}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x56beec,IUniverInstanceService as _0x4e1f7a,UniverInstanceType as _0x2fd7dd,generateRandomId as _0x18a12a,DrawingTypeEnum as _0x353e13}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x44aebf}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2da49d}from'@univerjs/sheets/facade';import{FBase as _0x670f40,FEnum as _0x2baebd}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x59744a}from'@univerjs/engine-formula';import{IRenderManagerService as _0x50312d}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x119d00,SheetSkeletonManagerService as _0x3b0f7c,convertPositionCellToSheetOverGrid as _0x30dfc9}from'@univerjs/sheets-ui';const s=(_0x2f28b,_0x5b6a55,_0x988fe5)=>{_0x988fe5!==void 0x0&&_0xd232f9(_0x2f28b,_0x5b6a55,_0x988fe5);},C=(_0x415c15,_0x2ec9bf,_0x41b42b,_0x49f260={})=>{const _0x564c37=_0x3ac8a0,_0x2f8537={},_0x249581={};if(_0x49f260[_0x564c37(0x1c3)]){const _0x56223f=_0x49f260['title'];s(_0x2f8537,'titles.title.content',_0x56223f[_0x564c37(0x17f)]),s(_0x2f8537,_0x564c37(0x1a2),_0x56223f[_0x564c37(0x180)]),s(_0x2f8537,_0x564c37(0x1d6),_0x56223f[_0x564c37(0x204)]),s(_0x2f8537,_0x564c37(0x1dd),_0x56223f['fontColor']),s(_0x2f8537,_0x564c37(0x1ea),_0x56223f[_0x564c37(0x182)]),s(_0x2f8537,_0x564c37(0x15c),_0x56223f['bold']),s(_0x2f8537,_0x564c37(0x178),_0x56223f[_0x564c37(0x1fc)]),s(_0x2f8537,_0x564c37(0x197),_0x56223f['position']);}if(_0x49f260[_0x564c37(0x193)]){const _0x416e1a=_0x49f260[_0x564c37(0x193)];s(_0x2f8537,_0x564c37(0x19a),_0x416e1a[_0x564c37(0x183)]),s(_0x2f8537,_0x564c37(0x18b),_0x416e1a[_0x564c37(0x1f7)]),s(_0x2f8537,_0x564c37(0x1b8),_0x416e1a[_0x564c37(0x204)]),s(_0x2f8537,_0x564c37(0x1bc),_0x416e1a[_0x564c37(0x152)]),s(_0x2f8537,_0x564c37(0x1cf),_0x416e1a[_0x564c37(0x1ed)]),s(_0x2f8537,_0x564c37(0x1d8),_0x416e1a[_0x564c37(0x181)]);}if(_0x49f260[_0x564c37(0x1f2)]){const _0x29ce29=_0x49f260[_0x564c37(0x1f2)];s(_0x2f8537,_0x564c37(0x1c9),_0x29ce29[_0x564c37(0x18f)]),s(_0x2f8537,'pie.borderColor',_0x29ce29[_0x564c37(0x1b1)]),s(_0x2f8537,_0x564c37(0x1e7),_0x29ce29['hasPaddingAngle']),s(_0x2f8537,_0x564c37(0x17c),_0x29ce29[_0x564c37(0x1e0)]),s(_0x2f8537,_0x564c37(0x194),_0x29ce29[_0x564c37(0x1b7)]),s(_0x2f8537,_0x564c37(0x20a),_0x29ce29[_0x564c37(0x1cb)]);}if(_0x49f260[_0x564c37(0x179)]){const _0x32f3b6=_0x49f260['axisPointer'];s(_0x2f8537,_0x564c37(0x1de),_0x32f3b6[_0x564c37(0x1f9)]),s(_0x2f8537,_0x564c37(0x173),_0x32f3b6[_0x564c37(0x16b)]),s(_0x2f8537,_0x564c37(0x156),_0x32f3b6['indicatorLineColor']),s(_0x2f8537,_0x564c37(0x17b),_0x32f3b6[_0x564c37(0x168)]);}if(_0x49f260[_0x564c37(0x190)]&&(s(_0x2f8537,'allSeriesStyle.border',_0x49f260[_0x564c37(0x190)][_0x564c37(0x1a9)]),s(_0x2f8537,_0x564c37(0x1bb),_0x49f260[_0x564c37(0x190)][_0x564c37(0x157)]),s(_0x2f8537,_0x564c37(0x1fb),_0x49f260[_0x564c37(0x190)][_0x564c37(0x1a0)]),s(_0x2f8537,'allSeriesStyle.point',_0x49f260[_0x564c37(0x190)][_0x564c37(0x1e1)]),s(_0x2f8537,'allSeriesStyle.color',_0x49f260[_0x564c37(0x190)][_0x564c37(0x152)])),_0x49f260[_0x564c37(0x1e3)]&&s(_0x2f8537,_0x564c37(0x176),_0x49f260[_0x564c37(0x1e3)][_0x564c37(0x1b3)]),_0x49f260['theme']&&s(_0x2f8537,_0x564c37(0x1f3),_0x49f260['theme']),_0x49f260[_0x564c37(0x164)]&&s(_0x2f8537,_0x564c37(0x164),_0x49f260[_0x564c37(0x164)]),_0x49f260['borderColor']&&s(_0x2f8537,'borderColor',_0x49f260['borderColor']),_0x49f260[_0x564c37(0x1d0)]&&s(_0x2f8537,_0x564c37(0x1d0),_0x49f260[_0x564c37(0x1d0)]),_0x49f260[_0x564c37(0x172)]&&s(_0x2f8537,_0x564c37(0x172),_0x49f260[_0x564c37(0x172)]),_0x49f260[_0x564c37(0x15f)]&&s(_0x2f8537,_0x564c37(0x15f),_0x49f260[_0x564c37(0x15f)]),_0x49f260[_0x564c37(0x160)]){const _0x33f0d6=_0x49f260[_0x564c37(0x160)];s(_0x2f8537,_0x564c37(0x17e),_0x33f0d6[_0x564c37(0x17f)]),s(_0x2f8537,'titles.xAxisTitle.font',_0x33f0d6['font']),s(_0x2f8537,_0x564c37(0x1b4),_0x33f0d6['fontSize']),s(_0x2f8537,'titles.xAxisTitle.color',_0x33f0d6[_0x564c37(0x1b6)]),s(_0x2f8537,_0x564c37(0x202),_0x33f0d6[_0x564c37(0x182)]),s(_0x2f8537,_0x564c37(0x170),_0x33f0d6[_0x564c37(0x1ed)]),s(_0x2f8537,'xAxis.label.axisTitleAlign',_0x33f0d6[_0x564c37(0x1f8)]);}if(_0x49f260[_0x564c37(0x1d3)]){const _0x336207=_0x49f260[_0x564c37(0x1d3)];s(_0x2f8537,_0x564c37(0x1b2),_0x336207['content']),s(_0x2f8537,_0x564c37(0x189),_0x336207[_0x564c37(0x180)]),s(_0x2f8537,_0x564c37(0x1dc),_0x336207[_0x564c37(0x204)]),s(_0x2f8537,'titles.yAxisTitle.color',_0x336207[_0x564c37(0x1b6)]),s(_0x2f8537,'titles.yAxisTitle.family',_0x336207['fontStyle']),s(_0x2f8537,'titles.yAxisTitle.bold',_0x336207['bold']),s(_0x2f8537,_0x564c37(0x1ca),_0x336207['axisAlignment']);}if(_0x49f260['rightYAxisTitle']){const _0x44bc21=_0x49f260[_0x564c37(0x16a)];s(_0x2f8537,_0x564c37(0x195),_0x44bc21[_0x564c37(0x17f)]),s(_0x2f8537,_0x564c37(0x1ba),_0x44bc21[_0x564c37(0x180)]),s(_0x2f8537,_0x564c37(0x1c6),_0x44bc21[_0x564c37(0x204)]),s(_0x2f8537,'titles.rightYAxisTitle.color',_0x44bc21[_0x564c37(0x1b6)]),s(_0x2f8537,_0x564c37(0x1d7),_0x44bc21[_0x564c37(0x182)]),s(_0x2f8537,_0x564c37(0x1c1),_0x44bc21[_0x564c37(0x1ed)]),s(_0x2f8537,'rightYAxis.label.axisTitleAlign',_0x44bc21['axisAlignment']);}_0x49f260[_0x564c37(0x1c7)]&&s(_0x2f8537,_0x564c37(0x1c7),_0x49f260['xAxis']),_0x49f260[_0x564c37(0x15e)]&&s(_0x2f8537,_0x564c37(0x15e),_0x49f260[_0x564c37(0x15e)]),_0x49f260[_0x564c37(0x1e2)]&&s(_0x2f8537,'rightYAxis',_0x49f260[_0x564c37(0x1e2)]),_0x49f260[_0x564c37(0x1ec)]&&s(_0x2f8537,_0x564c37(0x1ec),_0x49f260['seriesStyleMap']);const _0x18925f={'unitId':_0x415c15,'chartModelId':_0x2ec9bf};let _0x8e40cd=!0x1;if(_0x41b42b!==void 0x0&&(_0x18925f[_0x564c37(0x1f1)]=_0x41b42b,_0x8e40cd=!0x0),Object[_0x564c37(0x15a)](_0x2f8537)[_0x564c37(0x1b0)]>0x0&&(_0x18925f[_0x564c37(0x201)]=_0x2f8537,_0x8e40cd=!0x0),Object[_0x564c37(0x15a)](_0x249581)[_0x564c37(0x1b0)]>0x0&&(_0x18925f[_0x564c37(0x17d)]=_0x249581,_0x8e40cd=!0x0),_0x8e40cd)return _0x18925f;};class c extends _0x670f40{constructor(_0x3e4fd5,_0xe80b9c,_0x29db49,_0x3627b9,_0x4a9c56){const _0x161b17=_0x3ac8a0;super(),n(this,_0x161b17(0x1e9)),n(this,'_injector'),n(this,'unitId'),n(this,'subUnitId'),n(this,'chartId'),n(this,_0x161b17(0x158)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,'width'),n(this,_0x161b17(0x1fd)),n(this,'chartType'),n(this,_0x161b17(0x184)),n(this,_0x161b17(0x1df)),(this[_0x161b17(0x187)]=_0x3e4fd5,this[_0x161b17(0x1fa)]=_0xe80b9c,this[_0x161b17(0x1e9)]=_0x29db49,this['_injector']=_0x3627b9,_0x4a9c56&&(this['chartId']=_0x4a9c56));}[_0x3ac8a0(0x18a)](){const _0x5723f9=_0x3ac8a0;return this[_0x5723f9(0x1f1)];}['addRange'](_0x126182){const _0x201179=_0x3ac8a0;if(typeof _0x126182==_0x201179(0x16c)){const _0x4c7fe1=_0x59744a(_0x126182);_0x4c7fe1[_0x201179(0x1d1)]&&(this['sourceSheetName']=_0x4c7fe1[_0x201179(0x1d1)]),this[_0x201179(0x158)]=_0x4c7fe1[_0x201179(0x158)];}else this['range']=_0x126182;return this;}[_0x3ac8a0(0x208)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x3ac8a0(0x1c4)](_0x1fdc15,_0x323372,_0x43dede,_0x5f2b76){const _0x14f686=_0x3ac8a0,_0x254e49=this[_0x14f686(0x1eb)][_0x14f686(0x1da)](_0x50312d)['getRenderById'](this[_0x14f686(0x187)]);if(!_0x254e49)throw new Error(_0x14f686(0x186));const _0x4dfe6a=_0x254e49[_0x14f686(0x1ab)](_0x119d00),_0x5794bc=_0x254e49[_0x14f686(0x1ab)](_0x3b0f7c),{transform:_0xdd61bf}=_0x30dfc9(this[_0x14f686(0x187)],this[_0x14f686(0x1fa)],{'row':_0x1fdc15,'column':_0x323372,'rowOffset':_0x43dede,'columnOffset':_0x5f2b76},0x1,0x1,_0x4dfe6a,_0x5794bc),_0x16a906=_0xdd61bf['top'],_0x5e5adb=_0xdd61bf[_0x14f686(0x19e)];return this['x']=_0x5e5adb,this['y']=_0x16a906,this;}[_0x3ac8a0(0x1a8)](_0x514a25,_0x14f99d){return this['x']=_0x514a25,this['y']=_0x14f99d,this;}[_0x3ac8a0(0x150)](_0x558b64){const _0x3ff823=_0x3ac8a0;return this[_0x3ff823(0x1f1)]=_0x558b64,this;}[_0x3ac8a0(0x1af)](_0x5c4bd7){return this['width']=_0x5c4bd7,this;}[_0x3ac8a0(0x18e)](_0xe24130){return this['height']=_0xe24130,this;}['setOptions'](_0x6f5f15,_0x642e21){const _0x2c542c=_0x3ac8a0;return this['options']||(this[_0x2c542c(0x184)]={}),_0x6f5f15===''?(this['options']={...this[_0x2c542c(0x184)],..._0x642e21},this):(_0xd232f9(this['options'],_0x6f5f15,_0x642e21),this);}[_0x3ac8a0(0x191)](_0x53f6ad){const _0x1acc88=_0x3ac8a0;return this[_0x1acc88(0x1df)]=_0x53f6ad,this;}[_0x3ac8a0(0x17a)](_0x25f124){const _0x5b4fc1=_0x3ac8a0;return this[_0x5b4fc1(0x1b9)](_0x5b4fc1(0x1f3),_0x25f124),this;}['setXAxisTitle'](_0x478d79){const _0x56524e=_0x3ac8a0;var _0x162503;const _0x4c151b=((_0x162503=this[_0x56524e(0x184)])==null?void 0x0:_0x162503['xAxisTitle'])||{};return _0x4c151b[_0x56524e(0x17f)]=_0x478d79,this[_0x56524e(0x1b9)]('xAxisTitle',_0x4c151b),this;}[_0x3ac8a0(0x1ac)](_0x5990b9){const _0x95b2c4=_0x3ac8a0;var _0x5c9bdd;const _0x5be58a=((_0x5c9bdd=this[_0x95b2c4(0x184)])==null?void 0x0:_0x5c9bdd[_0x95b2c4(0x1d3)])||{};return _0x5be58a[_0x95b2c4(0x17f)]=_0x5990b9,this[_0x95b2c4(0x1b9)](_0x95b2c4(0x1d3),_0x5be58a),this;}[_0x3ac8a0(0x1d4)](_0x73b4c7){const _0x2c93db=_0x3ac8a0;var _0x5b9fca;const _0x505ac5=((_0x5b9fca=this[_0x2c93db(0x184)])==null?void 0x0:_0x5b9fca[_0x2c93db(0x16a)])||{};return _0x505ac5[_0x2c93db(0x17f)]=_0x73b4c7,this[_0x2c93db(0x1b9)]('rightYAxisTitle',_0x505ac5),this;}[_0x3ac8a0(0x16e)](_0x1dcfe7){const _0x5a2ef8=_0x3ac8a0;var _0xdcfa93;const _0xe02ec5=((_0xdcfa93=this['options'])==null?void 0x0:_0xdcfa93[_0x5a2ef8(0x160)])||{};return this['setOptions'](_0x5a2ef8(0x160),{..._0xe02ec5,..._0x1dcfe7}),this;}[_0x3ac8a0(0x198)](_0x34e73d){const _0x56a166=_0x3ac8a0;var _0x4167ea;const _0x1082ec=((_0x4167ea=this[_0x56a166(0x184)])==null?void 0x0:_0x4167ea['yAxisTitle'])||{};return this[_0x56a166(0x1b9)](_0x56a166(0x1d3),{..._0x1082ec,..._0x34e73d}),this;}[_0x3ac8a0(0x1e4)](_0x5409a7){const _0x1257e1=_0x3ac8a0;var _0x3599f0;const _0x204729=((_0x3599f0=this[_0x1257e1(0x184)])==null?void 0x0:_0x3599f0[_0x1257e1(0x16a)])||{};return this[_0x1257e1(0x1b9)](_0x1257e1(0x16a),{..._0x204729,..._0x5409a7}),this;}['setInvalidValueStrategy'](_0x1a974d){const _0xa701bd=_0x3ac8a0;return this[_0xa701bd(0x1b9)]('invalidValueType',_0x1a974d),this;}[_0x3ac8a0(0x1e5)](_0x396d9f){const _0x259b58=_0x3ac8a0;return this['setOptions'](_0x259b58(0x179),_0x396d9f),this;}[_0x3ac8a0(0x1f5)](_0x5691f5){const _0x511997=_0x3ac8a0;return this['setOptions'](_0x511997(0x190),_0x5691f5),this;}[_0x3ac8a0(0x1c5)](_0x53329b,_0x494fda){const _0x3062a6=_0x3ac8a0;return this[_0x3062a6(0x1b9)](_0x3062a6(0x1ec),{[_0x53329b]:_0x494fda}),this;}[_0x3ac8a0(0x1ae)](){const _0x4721e1=_0x3ac8a0;return{'unitId':this['unitId'],'subUnitId':this[_0x4721e1(0x1fa)],'chartId':this[_0x4721e1(0x205)],'range':this[_0x4721e1(0x158)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x4721e1(0x185)],'height':this[_0x4721e1(0x1fd)],'chartType':this[_0x4721e1(0x1f1)],'options':this[_0x4721e1(0x184)],'isRowDirection':this[_0x4721e1(0x1df)]};}}class P{constructor(_0x5babfc,_0x21a9e3,_0x393cad,_0xcb8409){const _0x5d3d17=_0x3ac8a0;n(this,_0x5d3d17(0x187)),n(this,_0x5d3d17(0x1fa)),n(this,'chartId'),n(this,_0x5d3d17(0x1eb)),(this['unitId']=_0x5babfc,this[_0x5d3d17(0x1fa)]=_0x21a9e3,this[_0x5d3d17(0x205)]=_0x393cad,this[_0x5d3d17(0x1eb)]=_0xcb8409);}['getChartId'](){const _0x1c6cc3=_0x3ac8a0;return this[_0x1c6cc3(0x205)];}['getRange'](){const _0x18651f=_0x3ac8a0,_0x305841=this[_0x18651f(0x1eb)][_0x18651f(0x1da)](_0x4b26e7)[_0x18651f(0x1be)](this['chartId']);if(_0x305841)return _0x305841['dataSource'][_0x18651f(0x1c8)]();}[_0x3ac8a0(0x19f)](_0x582440){const _0x18fdb9=_0x3ac8a0;return this[_0x18fdb9(0x1eb)][_0x18fdb9(0x1da)](_0x56beec)[_0x18fdb9(0x1a6)](_0x23aaf4['id'],{'unitId':this[_0x18fdb9(0x187)],'chartModelId':this[_0x18fdb9(0x205)],'range':_0x582440});}[_0x3ac8a0(0x1c2)](){const _0xdb1e8a=_0x3ac8a0;var _0xdb8b2d;const _0x1557a7=this[_0xdb1e8a(0x1eb)][_0xdb1e8a(0x1da)](_0x4b26e7)[_0xdb1e8a(0x1be)](this['chartId']);if(_0x1557a7)return(_0xdb8b2d=_0x1557a7[_0xdb1e8a(0x165)])==null?void 0x0:_0xdb8b2d[_0xdb1e8a(0x1db)];}['getCategoryData'](){const _0x2eebdf=_0x3ac8a0;var _0x439349;const _0x3be9a3=this[_0x2eebdf(0x1eb)]['get'](_0x4b26e7)[_0x2eebdf(0x1be)](this['chartId']);if(_0x3be9a3)return(_0x439349=_0x3be9a3[_0x2eebdf(0x165)])==null?void 0x0:_0x439349[_0x2eebdf(0x19c)];}[_0x3ac8a0(0x153)](){const _0x3abe25=_0x3ac8a0,_0x1964c0=this[_0x3abe25(0x1eb)][_0x3abe25(0x1da)](_0x4e1f7a)[_0x3abe25(0x1ee)](_0x2fd7dd[_0x3abe25(0x1bf)]);return new c(this[_0x3abe25(0x187)],this['subUnitId'],_0x1964c0,this[_0x3abe25(0x1eb)],this[_0x3abe25(0x205)]);}}class $ extends _0x2da49d{async[_0x3ac8a0(0x15b)](_0x20c4a3){const _0x5cdeaa=_0x3ac8a0;var _0x365eca,_0x2f98ce,_0x2e3aaa;const _0x2dce63=_0x20c4a3[_0x5cdeaa(0x187)]||this[_0x5cdeaa(0x1a3)]()[_0x5cdeaa(0x155)](),_0x319524=_0x20c4a3[_0x5cdeaa(0x1fa)]||this['getSheetId'](),_0x139959=_0x20c4a3[_0x5cdeaa(0x205)]||_0x18a12a(),_0x6b994e=_0x20c4a3['chartType'],_0x2da6b0=_0x20c4a3[_0x5cdeaa(0x158)],_0x43239f=_0x20c4a3['sourceSheetName'],_0x47d47e={'x':_0x20c4a3['x'],'y':_0x20c4a3['y']},_0x1376b6=_0x20c4a3['width'],_0x25acfa=_0x20c4a3['height'],_0x5387c1=(_0x365eca=_0x20c4a3['options'])==null?void 0x0:_0x365eca[_0x5cdeaa(0x164)],_0x11a2b4=(_0x2f98ce=_0x20c4a3[_0x5cdeaa(0x184)])==null?void 0x0:_0x2f98ce[_0x5cdeaa(0x1b1)],_0x389824=C(_0x2dce63,_0x139959,_0x6b994e,_0x20c4a3['options']),_0x4a67a4=(_0x2e3aaa=_0x20c4a3['isRowDirection'])!=null?_0x2e3aaa:!0x0;if(!_0x2da6b0)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x5cdeaa(0x1e6)]['executeCommand'](_0x8a4ce2['id'],{'unitId':_0x2dce63,'subUnitId':_0x319524,'chartId':_0x139959,'chartType':_0x6b994e,'range':_0x2da6b0,'sourceSheetName':_0x43239f,'position':_0x47d47e,'width':_0x1376b6,'height':_0x25acfa,'backgroundColor':_0x5387c1,'borderColor':_0x11a2b4,'config':_0x389824,'isRowDirection':_0x4a67a4}),new P(_0x2dce63,_0x319524,_0x139959,this[_0x5cdeaa(0x1eb)]);}['updateChart'](_0x120cad){const _0x4dac05=_0x3ac8a0,{unitId:_0x3da8c1,chartId:_0x2e3067,chartType:_0x13b44d,options:_0x497ec3}=_0x120cad,_0x4c90c7=C(_0x3da8c1,_0x2e3067,_0x13b44d,_0x497ec3);this[_0x4dac05(0x1e6)][_0x4dac05(0x1a6)](_0x2ebeae['id'],_0x4c90c7);}['newChart'](_0x1e94f0){const _0xf4d439=_0x3ac8a0;if(_0x1e94f0)return new c(_0x1e94f0[_0xf4d439(0x187)],_0x1e94f0[_0xf4d439(0x1fa)],this['_workbook'],this[_0xf4d439(0x1eb)],_0x1e94f0[_0xf4d439(0x205)]);const _0x39aa84=this['getWorkbook']()[_0xf4d439(0x155)](),_0x57fe7f=this['getSheetId']();return new c(_0x39aa84,_0x57fe7f,this[_0xf4d439(0x1e9)],this[_0xf4d439(0x1eb)]);}[_0x3ac8a0(0x1ce)](){const _0x4cabaf=_0x3ac8a0,_0x3c9f94=this[_0x4cabaf(0x1eb)][_0x4cabaf(0x1da)](_0x4b26e7),_0xd5a328=this[_0x4cabaf(0x1a3)]()[_0x4cabaf(0x155)]();return _0x3c9f94[_0x4cabaf(0x18c)](_0xd5a328,this[_0x4cabaf(0x209)]())[_0x4cabaf(0x177)](_0x21849d=>new P(_0xd5a328,this['getSheetId'](),_0x21849d['id'],this[_0x4cabaf(0x1eb)]));}['removeChart'](_0x1ade56){const _0x23c769=_0x3ac8a0,_0x524ddb=_0x1ade56[_0x23c769(0x187)],_0x416874=_0x1ade56[_0x23c769(0x1fa)],_0x178fab=_0x1ade56[_0x23c769(0x205)],_0x183108={'unitId':_0x524ddb,'drawings':[{'unitId':_0x524ddb,'subUnitId':_0x416874,'drawingId':_0x178fab,'drawingType':_0x353e13[_0x23c769(0x1fe)]}]};return this[_0x23c769(0x1e6)][_0x23c769(0x1a6)](_0x44aebf['id'],_0x183108);}['registerChartTheme'](_0x3da56c,_0x2b9d61){const _0x45340e=_0x3ac8a0;this[_0x45340e(0x1eb)][_0x45340e(0x1da)](_0x5930f3)[_0x45340e(0x196)](_0x3da56c,_0x2b9d61);}}_0x2da49d[_0x3ac8a0(0x163)]($);class tt extends _0x2baebd{get[_0x3ac8a0(0x16d)](){return _0x4b157a;}get[_0x3ac8a0(0x1f0)](){return _0x13ee30;}get[_0x3ac8a0(0x1e8)](){return _0x57e66b;}get[_0x3ac8a0(0x1a7)](){return _0x7afbe9;}get[_0x3ac8a0(0x161)](){return _0x35ad4e;}get[_0x3ac8a0(0x207)](){return _0x37c2ec;}get[_0x3ac8a0(0x1cd)](){return _0xc7c4b1;}get[_0x3ac8a0(0x18d)](){return _0x442c91;}}_0x2baebd[_0x3ac8a0(0x163)](tt);class et extends c{constructor(_0x308c24,_0x3f0d59,_0x2337e5,_0x196237,_0x663f3d){const _0x89a5a=_0x3ac8a0;super(_0x308c24,_0x3f0d59,_0x2337e5,_0x196237,_0x663f3d),n(this,_0x89a5a(0x1b3)),n(this,_0x89a5a(0x199)),n(this,_0x89a5a(0x16f)),n(this,'dataPointSize');}[_0x3ac8a0(0x206)](_0x28a8d3){const _0x3428ff=_0x3ac8a0;return this[_0x3428ff(0x1b3)]=_0x28a8d3,this;}['setDataPointShape'](_0xed238){const _0x3311c8=_0x3ac8a0;return this[_0x3311c8(0x199)]=_0xed238,this;}[_0x3ac8a0(0x192)](_0x73b055){const _0x182074=_0x3ac8a0;return this[_0x182074(0x16f)]=_0x73b055,this;}[_0x3ac8a0(0x1bd)](_0x586433){const _0x18f76a=_0x3ac8a0;return this[_0x18f76a(0x162)]=_0x586433,this;}[_0x3ac8a0(0x1ae)](){const _0x430991=_0x3ac8a0,_0x512986=super['build']();_0x512986[_0x430991(0x1f1)]=_0x4b157a[_0x430991(0x1cc)];const _0x2d78db=_0x512986[_0x430991(0x184)]||{};return s(_0x2d78db,_0x430991(0x176),this[_0x430991(0x1b3)]),s(_0x2d78db,'allSeriesStyle.point.shape',this['dataPointShape']),s(_0x2d78db,'allSeriesStyle.point.color',this['dataPointColor']),s(_0x2d78db,_0x430991(0x1a4),this['dataPointSize']),_0x512986[_0x430991(0x184)]=_0x2d78db,_0x512986;}}class it extends c{['asLineChart'](){const _0x520268=_0x3ac8a0;return new et(this[_0x520268(0x187)],this[_0x520268(0x1fa)],this['_workbook'],this[_0x520268(0x1eb)],this['chartId']);}}c[_0x3ac8a0(0x163)](it);class st extends c{constructor(_0xe42603,_0x367759,_0x4cf151,_0x49c2e8,_0x2c719f){const _0x9f3c04=_0x3ac8a0;super(_0xe42603,_0x367759,_0x4cf151,_0x49c2e8,_0x2c719f),n(this,_0x9f3c04(0x18f)),n(this,_0x9f3c04(0x1b1)),n(this,_0x9f3c04(0x1ff)),n(this,_0x9f3c04(0x1e0)),n(this,_0x9f3c04(0x1b7)),n(this,_0x9f3c04(0x1cb));}['setDoughnutHole'](_0x1177c8){return this['doughnutHole']=_0x1177c8,this;}[_0x3ac8a0(0x1f4)](_0x2a5798){return this['borderColor']=_0x2a5798,this;}['setHasPaddingAngle'](_0x29f9ce){const _0x14ec92=_0x3ac8a0;return this[_0x14ec92(0x1ff)]=_0x29f9ce,this;}[_0x3ac8a0(0x154)](_0x1e7c43){const _0x54a168=_0x3ac8a0;return this[_0x54a168(0x1e0)]=_0x1e7c43,this;}[_0x3ac8a0(0x166)](_0x2938ef){const _0x5b526e=_0x3ac8a0;return this[_0x5b526e(0x1b7)]=_0x2938ef,this;}[_0x3ac8a0(0x1c0)](_0x1a11be){const _0x17b4f6=_0x3ac8a0;return this[_0x17b4f6(0x1cb)]=_0x1a11be,this;}[_0x3ac8a0(0x1ae)](){const _0x41bcdc=_0x3ac8a0,_0x960eff=super[_0x41bcdc(0x1ae)]();_0x960eff['chartType']=_0x4b157a[_0x41bcdc(0x1d5)];const _0x17237a=_0x960eff[_0x41bcdc(0x184)]||{};return s(_0x17237a,_0x41bcdc(0x1c9),this[_0x41bcdc(0x18f)]),s(_0x17237a,'pie.borderColor',this[_0x41bcdc(0x1b1)]),s(_0x17237a,_0x41bcdc(0x1e7),this[_0x41bcdc(0x1ff)]),s(_0x17237a,_0x41bcdc(0x17c),this[_0x41bcdc(0x1e0)]),s(_0x17237a,_0x41bcdc(0x194),this['rosePie']),s(_0x17237a,_0x41bcdc(0x20a),this[_0x41bcdc(0x1cb)]),_0x960eff[_0x41bcdc(0x184)]=_0x17237a,_0x960eff;}}class rt extends c{[_0x3ac8a0(0x151)](){const _0x122246=_0x3ac8a0;return new st(this[_0x122246(0x187)],this[_0x122246(0x1fa)],this['_workbook'],this[_0x122246(0x1eb)],this[_0x122246(0x205)]);}}c[_0x3ac8a0(0x163)](rt);class ot extends c{constructor(_0x5c6456,_0x20507d,_0x2dbdfe,_0x2fa44c,_0x24a298){const _0x3a2142=_0x3ac8a0;super(_0x5c6456,_0x20507d,_0x2dbdfe,_0x2fa44c,_0x24a298),n(this,_0x3a2142(0x167)),n(this,_0x3a2142(0x169));}[_0x3ac8a0(0x175)](_0x4d46cc){return this['shape']=_0x4d46cc,this;}[_0x3ac8a0(0x174)](_0x5b8e8f){const _0x1918e7=_0x3ac8a0;return this[_0x1918e7(0x169)]=_0x5b8e8f,this;}[_0x3ac8a0(0x1ae)](){const _0x53d44b=_0x3ac8a0,_0x35b98a=super['build']();_0x35b98a[_0x53d44b(0x1f1)]=_0x4b157a[_0x53d44b(0x1b5)];const _0x3fde83=_0x35b98a[_0x53d44b(0x184)]||{};return s(_0x3fde83,_0x53d44b(0x19d),this[_0x53d44b(0x167)]),s(_0x3fde83,_0x53d44b(0x1d2),this[_0x53d44b(0x169)]),_0x35b98a[_0x53d44b(0x184)]=_0x3fde83,_0x35b98a;}}class nt extends c{[_0x3ac8a0(0x15d)](){const _0x5da6d9=_0x3ac8a0;return new ot(this['unitId'],this['subUnitId'],this[_0x5da6d9(0x1e9)],this[_0x5da6d9(0x1eb)],this[_0x5da6d9(0x205)]);}}c[_0x3ac8a0(0x163)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};