@univerjs-pro/sheets-chart-ui 0.12.3 → 0.12.4-experimental.20251210-8d33c6e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/commands/commands/sheets-chart.command.d.ts +1 -0
  41. package/lib/types/controllers/chart-sheet-change.controller.d.ts +12 -0
  42. package/lib/types/facade/chart-builder/chart-builder-base.d.ts +17 -11
  43. package/lib/types/services/sheets-chart-host-provider.service.d.ts +1 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +17 -17
@@ -1 +1 @@
1
- 'use strict';function _0x4c45(_0x81e1c9,_0x103a9c){const _0x3e4269=_0x3e42();return _0x4c45=function(_0x4c45dd,_0x2fe18d){_0x4c45dd=_0x4c45dd-0x12f;let _0x5df066=_0x3e4269[_0x4c45dd];return _0x5df066;},_0x4c45(_0x81e1c9,_0x103a9c);}const _0x1a9e99=_0x4c45;(function(_0x4b2ef8,_0x23bb90){const _0x2a153a=_0x4c45,_0x25087a=_0x4b2ef8();while(!![]){try{const _0x1751c0=parseInt(_0x2a153a(0x193))/0x1+parseInt(_0x2a153a(0x171))/0x2*(-parseInt(_0x2a153a(0x177))/0x3)+-parseInt(_0x2a153a(0x1b2))/0x4+parseInt(_0x2a153a(0x13a))/0x5*(parseInt(_0x2a153a(0x14f))/0x6)+-parseInt(_0x2a153a(0x136))/0x7+parseInt(_0x2a153a(0x187))/0x8+parseInt(_0x2a153a(0x13b))/0x9*(parseInt(_0x2a153a(0x16c))/0xa);if(_0x1751c0===_0x23bb90)break;else _0x25087a['push'](_0x25087a['shift']());}catch(_0x3c247b){_0x25087a['push'](_0x25087a['shift']());}}}(_0x3e42,0xf39a0));const e={'chart':{'insertChart':'插入圖表','editChart':'編輯圖表','openChartPanel':_0x1a9e99(0x139),'deleteChart':_0x1a9e99(0x14a),'hideChartPanel':_0x1a9e99(0x182),'setupChart':_0x1a9e99(0x146),'customChart':_0x1a9e99(0x1b8),'default':'默認','reset':'重置','chartType':_0x1a9e99(0x1a1),'themes':'主題','dataRange':_0x1a9e99(0x15d),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x1a9e99(0x150),'series':'系列','addSeries':_0x1a9e99(0x160),'moreSettings':_0x1a9e99(0x133),'min':'最小值','max':_0x1a9e99(0x180),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x1a9e99(0x1aa)},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':_0x1a9e99(0x161)},'backgroundColor':_0x1a9e99(0x13d),'chartBorderColor':_0x1a9e99(0x1ac),'titles':{'title':'標題','mainTitle':_0x1a9e99(0x19b),'subTitle':_0x1a9e99(0x176),'xAxisTitle':_0x1a9e99(0x1bd),'yAxisTitle':_0x1a9e99(0x15a),'rightYAxisTitle':_0x1a9e99(0x17e),'titleFormat':_0x1a9e99(0x1a9),'titleText':_0x1a9e99(0x1c0),'titlePosition':_0x1a9e99(0x1af),'titleAlign':_0x1a9e99(0x158)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x1a9e99(0x1ab),'settingsLabels':{'switchToRowOrColumn':_0x1a9e99(0x1a3),'useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x1a9e99(0x189)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x1a9e99(0x138),'center':'居中','right':_0x1a9e99(0x148)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x1a9e99(0x145),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x1a9e99(0x152),'horizontalAxis':_0x1a9e99(0x195),'verticalAxis':_0x1a9e99(0x143),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x1a9e99(0x140)},'position':'位置','dataLabels':_0x1a9e99(0x1a4),'gridlinesAndTicks':_0x1a9e99(0x14e),'indicatorLine':_0x1a9e99(0x183),'indicatorLineType':_0x1a9e99(0x16d),'indicatorLineColor':_0x1a9e99(0x198),'indicatorLabel':'指示標籤','indicatorValue':_0x1a9e99(0x17a),'shape':{'polygon':'多邊形','circle':'圓形','square':_0x1a9e99(0x149),'triangle':_0x1a9e99(0x1ae),'diamond':'菱形','rect':'矩形','roundRect':_0x1a9e99(0x190),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x1a9e99(0x1b0),'emptySquare':'空心正方形','emptyTriangle':_0x1a9e99(0x1bb),'emptyDiamond':_0x1a9e99(0x157),'emptyRect':'空心矩形','emptyRoundRect':'空心圓角矩形','emptyPin':_0x1a9e99(0x1b3),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x1a9e99(0x15b),'withColor':_0x1a9e99(0x144),'withThickness':_0x1a9e99(0x1b4),'withType':_0x1a9e99(0x192),'withSize':_0x1a9e99(0x1ba),'withShape':_0x1a9e99(0x1b6),'withFormat':_0x1a9e99(0x131),'dataPoint':'數據點','dataNodeShape':_0x1a9e99(0x167),'addDataPoint':_0x1a9e99(0x142),'point':_0x1a9e99(0x16e),'percentage':_0x1a9e99(0x132),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x1a9e99(0x191)},'lineDashType':_0x1a9e99(0x17d),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x1a9e99(0x147),'text':_0x1a9e99(0x134)},'ticks':{'majorTick':'主刻度線','tickPosition':_0x1a9e99(0x159),'tickLength':_0x1a9e99(0x1b9)},'none':'無','theIndexItem':_0x1a9e99(0x1a8),'seriesDefaultName':_0x1a9e99(0x1be),'categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':_0x1a9e99(0x166),'showDataLabels':_0x1a9e99(0x18f),'padAngle':_0x1a9e99(0x15e),'halfPie':'半餅','rosePie':_0x1a9e99(0x1ad),'pieValScale':_0x1a9e99(0x172),'pieValSuffix':_0x1a9e99(0x16f),'pieDigitalFixed':_0x1a9e99(0x1a5),'showLabelLine':_0x1a9e99(0x175),'reverseAxisOrder':_0x1a9e99(0x17c),'showAxisLine':_0x1a9e99(0x196),'labelPosition':_0x1a9e99(0x19e),'labelText':'標籤文本','repeatWordCould':_0x1a9e99(0x18d),'gap':'間隔','useAbsValue':_0x1a9e99(0x1b5),'labelRotate':_0x1a9e99(0x135),'wordCloudShape':'詞雲形狀','useDateAxis':_0x1a9e99(0x181),'dateAxisTips':_0x1a9e99(0x137)},'radar':{'fill':'填充'},'doughnutHole':'圓環孔','msg':{'invalidSource':_0x1a9e99(0x184),'emptyTips':_0x1a9e99(0x16a)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x1a9e99(0x199),'addTrendLine':_0x1a9e99(0x162),'trendlineType':_0x1a9e99(0x1a6),'trendlineName':_0x1a9e99(0x199),'trendlineColor':_0x1a9e99(0x13c),'trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x1a9e99(0x17b),'poly':'多項式','order':_0x1a9e99(0x173),'period':'移動平均周期','showFormula':_0x1a9e99(0x153),'showR2':_0x1a9e99(0x174),'formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x1a9e99(0x19a),'label':_0x1a9e99(0x178),'emptyTips':_0x1a9e99(0x13f)},'relation':{'title':_0x1a9e99(0x1bc),'auto':'自動','circular':'環形','force':'力導向','useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0x1a9e99(0x165),'forceOptions':_0x1a9e99(0x156),'repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x1a9e99(0x154),'emphasis':_0x1a9e99(0x188),'emptyTips':_0x1a9e99(0x19f)},'waterfall':{'stackType':_0x1a9e99(0x18a),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x1a9e99(0x141),'positiveStyle':_0x1a9e99(0x185),'negativeStyle':_0x1a9e99(0x19c),'subtotalStyle':'小計樣式','positiveLegendText':_0x1a9e99(0x19d),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0x1a9e99(0x169)},'pareto':{'lineName':_0x1a9e99(0x14d),'lineSeries':_0x1a9e99(0x130),'barSeries':'長條圖系列'},'visualMapScope':_0x1a9e99(0x194),'boxplot':{'min':_0x1a9e99(0x15c),'q1':_0x1a9e99(0x1a2),'median':_0x1a9e99(0x170),'q3':_0x1a9e99(0x1b1),'max':_0x1a9e99(0x180)}},'chartTypes':{'line':_0x1a9e99(0x18c),'area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':'百分比堆疊面積圖','column':'柱狀圖','bar':_0x1a9e99(0x164),'barStacked':_0x1a9e99(0x14c),'barPercentStacked':_0x1a9e99(0x1a7),'pie':'餅圖','donut':'環形圖','scatter':_0x1a9e99(0x1a0),'radar':_0x1a9e99(0x151),'bubble':_0x1a9e99(0x16b),'stock':'股票圖','combination':'組合圖','wordCloud':_0x1a9e99(0x17f),'funnel':_0x1a9e99(0x18e),'relation':'關係圖','waterfall':'瀑布圖','pareto':_0x1a9e99(0x186),'sankey':_0x1a9e99(0x179),'heatmap':_0x1a9e99(0x15f),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x1a9e99(0x197),'fieldSetting':_0x1a9e99(0x1b7),'formatTypes':_0x1a9e99(0x14b),'confirm':'確定','cancel':'取消','generalDesc':_0x1a9e99(0x18b),'accountingDesc':_0x1a9e99(0x168),'currencyDesc':_0x1a9e99(0x12f),'dateDesc':_0x1a9e99(0x155),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':'小數位數','currencyTypes':_0x1a9e99(0x1bf),'negativeNumberTypes':'負數類型','dateTypes':_0x1a9e99(0x163)},'setFormat':'設置標籤格式'}};function _0x3e42(){const _0x354501=['指示線','圖表數據源必須包含多於1行和1列。','正值樣式','排列圖','14387064llnzLb','開啟選中淡入特效','顯示空單元格為','堆疊方式','常規格式不包含任何特定的數字格式。','折線圖','重複詞雲標籤','漏斗圖','顯示數據標籤','圓角矩形','百分比堆疊','{0}\x20類型','1428570eWaxwH','視覺映射範圍','水平軸','顯示軸線','千分位符','指示線顏色','趨勢線名稱','氣泡大小','主標題','負值樣式','正值圖例文本','標籤位置','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','散點圖','圖表類型','第一四分位數','切換行或列','數據標籤','小數位數','趨勢線類型','百分比堆疊條形圖','第\x20{0}\x20項','標題格式','用直線連接數據點','漸變填充','圖表邊框顏色','玫瑰圖','三角形','標題位置','空心圓形','第三四分位數','5521252uFZaae','空心針形','{0}\x20粗細','使用絕對值','{0}\x20形狀','字段設置','自定義圖表','刻度線長度','{0}\x20大小','空心三角形','關係圖','X軸標題','系列\x20{0}','貨幣類型','標題文本','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','累積占比系列','{0}\x20格式','百分比','更多設置','網格線','標籤旋轉','9866955qzyCrV','日期軸僅在數據全部為日期格式時可用','左對齊','打開圖表面板','5Qrhpcf','7929585lGBZqy','趨勢線顏色','背景顏色','exports','氣泡圖至少需要2列,X軸、Y軸。','使用右軸','顯示小計','添加數據點','垂直軸','{0}\x20顏色','圖例選擇模式','設置圖表','主網格線','右對齊','正方形','刪除圖表','格式類型','堆疊條形圖','累積占比','網格線和刻度線','9398478RpvCKm','所有系列','雷達圖','軸選項','顯示公式','旋轉標籤','日期格式將日期和時間系列數值顯示為日期值。','力導向選項','空心菱形','標題對齊','刻度線位置','Y軸標題','{0}\x20透明度','最小值','數據範圍','扇形間距','熱力圖','添加系列','數據點樣式','添加趨勢線','日期類型','條形圖','佈局類型','顯示標籤','節點形狀','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','小計圖例文本','請先添加系列開始數據可視化','氣泡圖','10KNEOyq','指示線類型','數據點','数值后缀','中位數','13334RKiPAl','数值比例','多項式階數','顯示R平方','顯示標籤線','副標題','849alZqPR','氣泡標籤','桑基圖','指示值','移動平均','逆序軸','線類型','右Y軸標題','詞雲圖','最大值','使用日期軸','隱藏圖表面板'];_0x3e42=function(){return _0x354501;};return _0x3e42();}module[_0x1a9e99(0x13e)]=e;
1
+ 'use strict';function _0x52fd(_0x50862e,_0x3f03ef){_0x50862e=_0x50862e-0x7b;const _0x346bd0=_0x346b();let _0x52fdc0=_0x346bd0[_0x50862e];return _0x52fdc0;}const _0x47e417=_0x52fd;function _0x346b(){const _0x3b9049=['小計圖例文本','圓角矩形','三角形','R平方','負值圖例文本','最大值','力導向選項','5243008NDEUvI','正值樣式','氣泡圖','主標題','雷達圖','折線圖','格式類型','第三四分位數','顯示公式','数值后缀','1730583lkpEyd','顯示R平方','使用日期軸','添加系列','第一四分位數','詞雲形狀','1096360UGSJPT','散點圖','百分比','X軸標題','日期軸僅在數據全部為日期格式時可用','視覺映射範圍','圖表數據源必須包含多於1列和1欄。','柱狀圖','(空)','常規格式不包含任何特定的數字格式。','氣泡圖至少需要2欄,X軸、Y軸。','7ifUanL','節點距離','中位數','系列\x20{0}','小數位數','類別\x20{0}','長條圖系列','趨勢線線類型','88636BQyfTE','氣泡大小','小計樣式','瀑布圖','第\x20{0}\x20項','堆疊條形圖','打開圖表面板','節點形狀','趨勢線類型','空心矩形','數據點','9DaWpJa','更多設置','重複詞雲標籤','空心正方形','刻度線長度','{0}\x20顏色','累積占比','趨勢線名稱','1828566xhPmJl','5NqlfdW','漸變填充','漏斗圖','空心圓形','{0}\x20形狀','請先添加系列開始數據可視化','指示標籤','空心箭頭','空心菱形','指示線類型','{0}\x20格式','標籤位置','字段設置','標題文本','刻度線位置','Y軸標題','貨幣類型','扇形間距','線類型','空心針形','股票圖','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','圖表樣式','編輯圖表','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','標籤旋轉','圓環孔','堆疊方式','右垂直軸','顯示數據標籤','隱藏圖表面板','刪除圖表','力導向','{0}\x20類型','圖表邊框顏色','{0}\x20粗細','數據點樣式','關係圖','千分位符','網格線和刻度線','標題格式','空心三角形','5216610NmkYIc','使用值作為節點大小','趨勢線','負數類型','所有系列','趨勢線粗細','用直線連接數據點','正值圖例文本','143lSwkdU','使用\x20{0}\x20作為類別標籤','顯示標籤線','右Y軸標題','標籤文本','顯示標籤','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','數據範圍','使用絕對值','1322564YAFbMy','顯示小計','條形圖','佈局類型','多邊形','插入圖表','軸選項','最小值','切換列或欄','移動平均','桑基圖','玫瑰圖','日期類型','日期格式將日期和時間系列數值顯示為日期值。','多項式','正方形','圖例選擇模式','垂直軸','添加趨勢線'];_0x346b=function(){return _0x3b9049;};return _0x346b();}(function(_0x56d795,_0x3200e9){const _0x1473ac=_0x52fd,_0x131cf9=_0x56d795();while(!![]){try{const _0x2b2361=parseInt(_0x1473ac(0xc4))/0x1*(-parseInt(_0x1473ac(0xcc))/0x2)+-parseInt(_0x1473ac(0xb3))/0x3+-parseInt(_0x1473ac(0x8f))/0x4*(parseInt(_0x1473ac(0xe0))/0x5)+parseInt(_0x1473ac(0xdf))/0x6+-parseInt(_0x1473ac(0x7e))/0x7+parseInt(_0x1473ac(0xa9))/0x8*(parseInt(_0x1473ac(0xd7))/0x9)+-parseInt(_0x1473ac(0xb9))/0xa*(-parseInt(_0x1473ac(0x86))/0xb);if(_0x2b2361===_0x3200e9)break;else _0x131cf9['push'](_0x131cf9['shift']());}catch(_0x318a40){_0x131cf9['push'](_0x131cf9['shift']());}}}(_0x346b,0x6722f));const e={'chart':{'insertChart':_0x47e417(0x94),'editChart':_0x47e417(0xf7),'openChartPanel':_0x47e417(0xd2),'deleteChart':_0x47e417(0xff),'hideChartPanel':_0x47e417(0xfe),'setupChart':'設置圖表','customChart':'自定義圖表','default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x47e417(0x8d),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x47e417(0x82),'series':'系列','addSeries':_0x47e417(0xb6),'moreSettings':_0x47e417(0xd8),'min':_0x47e417(0x96),'max':_0x47e417(0xa7),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x47e417(0x84)},'blank':_0x47e417(0xc1),'seriesBlock':{'format':'格式','dataPointStyle':_0x47e417(0x104)},'backgroundColor':'背景顏色','chartBorderColor':_0x47e417(0x102),'titles':{'title':'標題','mainTitle':_0x47e417(0xac),'subTitle':'副標題','xAxisTitle':_0x47e417(0xbc),'yAxisTitle':_0x47e417(0xef),'rightYAxisTitle':_0x47e417(0x89),'titleFormat':_0x47e417(0x7c),'titleText':_0x47e417(0xed),'titlePosition':'標題位置','titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x47e417(0xe1),'settingsLabels':{'switchToRowOrColumn':_0x47e417(0x97),'useAsCategoryLabels':_0x47e417(0x87),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x47e417(0xf6),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x47e417(0x9f),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x47e417(0x95),'horizontalAxis':'水平軸','verticalAxis':_0x47e417(0xa0),'rightVerticalAxis':_0x47e417(0xfc),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x47e417(0x7b),'indicatorLine':'指示線','indicatorLineType':_0x47e417(0xe9),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x47e417(0xe6),'indicatorValue':'指示值','shape':{'polygon':_0x47e417(0x93),'circle':'圓形','square':_0x47e417(0x9e),'triangle':_0x47e417(0xa4),'diamond':'菱形','rect':'矩形','roundRect':_0x47e417(0xa3),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x47e417(0xe3),'emptySquare':_0x47e417(0xda),'emptyTriangle':_0x47e417(0x7d),'emptyDiamond':_0x47e417(0xe8),'emptyRect':_0x47e417(0xd5),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x47e417(0xf3),'emptyArrow':_0x47e417(0xe7)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x47e417(0xdc),'withThickness':_0x47e417(0x103),'withType':_0x47e417(0x101),'withSize':'{0}\x20大小','withShape':_0x47e417(0xe4),'withFormat':_0x47e417(0xea),'dataPoint':'數據點','dataNodeShape':_0x47e417(0xd3),'addDataPoint':'添加數據點','point':_0x47e417(0xd6),'percentage':_0x47e417(0xbb),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':_0x47e417(0xf2),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':'網格線'},'ticks':{'majorTick':'主刻度線','tickPosition':_0x47e417(0xee),'tickLength':_0x47e417(0xdb)},'none':'無','theIndexItem':_0x47e417(0xd0),'seriesDefaultName':_0x47e417(0xc7),'categoryDefaultName':_0x47e417(0xc9),'styleEditPanel':{'showLabels':_0x47e417(0x8b),'showDataLabels':_0x47e417(0xfd),'padAngle':_0x47e417(0xf1),'halfPie':'半餅','rosePie':_0x47e417(0x9a),'pieValScale':'数值比例','pieValSuffix':_0x47e417(0xb2),'pieDigitalFixed':_0x47e417(0xc8),'showLabelLine':_0x47e417(0x88),'reverseAxisOrder':'逆序軸','showAxisLine':'顯示軸線','labelPosition':_0x47e417(0xeb),'labelText':_0x47e417(0x8a),'repeatWordCould':_0x47e417(0xd9),'gap':'間隔','useAbsValue':_0x47e417(0x8e),'labelRotate':_0x47e417(0xf9),'wordCloudShape':_0x47e417(0xb8),'useDateAxis':_0x47e417(0xb5),'dateAxisTips':_0x47e417(0xbd)},'radar':{'fill':'填充'},'doughnutHole':_0x47e417(0xfa),'msg':{'invalidSource':_0x47e417(0xbf),'emptyTips':_0x47e417(0xe5)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x47e417(0x80),'displayName':_0x47e417(0xde),'addTrendLine':_0x47e417(0xa1),'trendlineType':_0x47e417(0xd4),'trendlineName':_0x47e417(0xde),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x47e417(0x83),'trendlineDashType':_0x47e417(0xcb),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x47e417(0x98),'poly':_0x47e417(0x9d),'order':'多項式階數','period':'移動平均周期','showFormula':_0x47e417(0xb1),'showR2':_0x47e417(0xb4),'formula':'公式','r2':_0x47e417(0xa5)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x47e417(0xcd),'label':'氣泡標籤','emptyTips':_0x47e417(0xc3)},'relation':{'title':_0x47e417(0x105),'auto':'自動','circular':'環形','force':_0x47e417(0x100),'useValueAsSymbolSize':_0x47e417(0x7f),'layoutType':_0x47e417(0x92),'forceOptions':_0x47e417(0xa8),'repulsion':'斥力','gravity':'引力','edgeLength':_0x47e417(0xc5),'rotateLabel':'旋轉標籤','emphasis':'開啟選中淡入特效','emptyTips':_0x47e417(0xf8)},'waterfall':{'stackType':_0x47e417(0xfb),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x47e417(0x90),'positiveStyle':_0x47e417(0xaa),'negativeStyle':'負值樣式','subtotalStyle':_0x47e417(0xce),'positiveLegendText':_0x47e417(0x85),'negativeLegendText':_0x47e417(0xa6),'subtotalLegendText':_0x47e417(0xa2)},'pareto':{'lineName':_0x47e417(0xdd),'lineSeries':'累積占比系列','barSeries':_0x47e417(0xca)},'visualMapScope':_0x47e417(0xbe),'boxplot':{'min':_0x47e417(0x96),'q1':_0x47e417(0xb7),'median':_0x47e417(0xc6),'q3':_0x47e417(0xb0),'max':_0x47e417(0xa7)}},'chartTypes':{'line':_0x47e417(0xae),'area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':'百分比堆疊面積圖','column':_0x47e417(0xc0),'bar':_0x47e417(0x91),'barStacked':_0x47e417(0xd1),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':'環形圖','scatter':_0x47e417(0xba),'radar':_0x47e417(0xad),'bubble':_0x47e417(0xab),'stock':_0x47e417(0xf4),'combination':'組合圖','wordCloud':'詞雲圖','funnel':_0x47e417(0xe2),'relation':_0x47e417(0x105),'waterfall':_0x47e417(0xcf),'pareto':'排列圖','sankey':_0x47e417(0x99),'heatmap':'熱力圖','boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x47e417(0x106),'fieldSetting':_0x47e417(0xec),'formatTypes':_0x47e417(0xaf),'confirm':'確定','cancel':'取消','generalDesc':_0x47e417(0xc2),'accountingDesc':_0x47e417(0xf5),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x47e417(0x9c),'thousandthPercentileDesc':_0x47e417(0x8c),'decimalPlaces':'小數位數','currencyTypes':_0x47e417(0xf0),'negativeNumberTypes':_0x47e417(0x81),'dateTypes':_0x47e417(0x9b)},'setFormat':'設置標籤格式'}};module['exports']=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4a41(_0x39b6b9,_0x445b78){const _0x43c589=_0x43c5();return _0x4a41=function(_0x4a415e,_0x31ee32){_0x4a415e=_0x4a415e-0x172;let _0x1702f7=_0x43c589[_0x4a415e];return _0x1702f7;},_0x4a41(_0x39b6b9,_0x445b78);}const _0x1420db=_0x4a41;(function(_0x4017a5,_0x14c401){const _0x682f80=_0x4a41,_0x3b8ed9=_0x4017a5();while(!![]){try{const _0x1fb670=-parseInt(_0x682f80(0x209))/0x1*(-parseInt(_0x682f80(0x22e))/0x2)+-parseInt(_0x682f80(0x1db))/0x3*(-parseInt(_0x682f80(0x216))/0x4)+parseInt(_0x682f80(0x1dd))/0x5+-parseInt(_0x682f80(0x1c8))/0x6*(parseInt(_0x682f80(0x1b3))/0x7)+parseInt(_0x682f80(0x200))/0x8*(parseInt(_0x682f80(0x226))/0x9)+parseInt(_0x682f80(0x1c1))/0xa+parseInt(_0x682f80(0x1fe))/0xb*(-parseInt(_0x682f80(0x19f))/0xc);if(_0x1fb670===_0x14c401)break;else _0x3b8ed9['push'](_0x3b8ed9['shift']());}catch(_0x406692){_0x3b8ed9['push'](_0x3b8ed9['shift']());}}}(_0x43c5,0x57bac));var b=Object[_0x1420db(0x188)],k=(_0x3f61b1,_0x2c30a3,_0x24827a)=>_0x2c30a3 in _0x3f61b1?b(_0x3f61b1,_0x2c30a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24827a}):_0x3f61b1[_0x2c30a3]=_0x24827a,n=(_0xfbff53,_0xbb68f3,_0x247807)=>k(_0xfbff53,typeof _0xbb68f3!=_0x1420db(0x192)?_0xbb68f3+'':_0xbb68f3,_0x247807);import{ChartThemeService as _0x2ffba9,ChartTypeBits as _0xab92f7,LegendPositionEnum as _0x5cdfe9,SelectModeEnum as _0x326bf9,AxisAlignEnum as _0x34f266,ChartBorderDashType as _0x549221,LinePointShape as _0x34f773,TitlePositionEnum as _0x486166,RadarShape as _0x29e3ae}from'@univerjs-pro/engine-chart';import{setProperty as _0x1c81f1,SheetsChartService as _0x24b9eb,ChartUpdateSourceCommand as _0x2723ee,ChartUpdateConfigCommand as _0xecd172}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x232021}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x221972,IUniverInstanceService as _0x5b972d,UniverInstanceType as _0x2b637c,generateRandomId as _0x442c0a,DrawingTypeEnum as _0x2d77cd}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x4ed0c0}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x37cbcc}from'@univerjs/sheets/facade';import{FBase as _0xb7e52,FEnum as _0x4209b7}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x5c45e6}from'@univerjs/engine-formula';import{IRenderManagerService as _0x477f83}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x5ed202,SheetSkeletonManagerService as _0x18fa58,convertPositionCellToSheetOverGrid as _0x54af28}from'@univerjs/sheets-ui';function _0x43c5(){const _0x457404=['radar.shape','LinePointShape','titles.rightYAxisTitle.bold','getRangeInfo','164CWMQtT','AxisAlignEnum','setShape','shape','getRenderById','setDataPointSize','clearRange','setDoughnutHole','seriesStyleMap','titles.title.family','setXAxisTitle','asRadarChart','UNIVER_SHEET','_workbook','newChart','setChartType','1503zNzvuL','fontColor','dataPointSize','getCurrentUnitForType','extend','dataSource','unitId','titles.rightYAxisTitle.fontSize','954acHJAM','area.lineStyle','subUnitId','font','position','titles.title.color','titles.yAxisTitle.color','titleAlignment','setWidth','build','setHasPaddingAngle','titles.yAxisTitle.content','gradientFill','legend.label.fontSize','titles.rightYAxisTitle.content','legend.label.bold','hasPaddingAngle','with','indicatorLabelColor','isHalfPie','titles.rightYAxisTitle.font','string','setSeriesStyle','setTheme','defineProperty','setBorderColor','executeCommand','DRAWING_CHART','RadarShape','getWorkbook','pie.hasPaddingAngle','fontStyle','theme','tooltip.indicatorLabelTextColor','symbol','xAxis','indicatorLineColor','setRosePie','setXAxisTextStyle','pie.showLabelLine','rosePie','chartType','style','Radar','fontSize','getSeriesData','getChartModel','21471108KnsMzr','legend.position','setYAxisTitle','context','titles.title.content','SelectModeEnum','pie.borderColor','_commandService','yAxis','tooltip.indicatorLineType','titles.title.fontSize','Pie','yAxisTitle','axisPointer','legend','range','dataPointShape','titles.rightYAxisTitle.color','setAbsolutePosition','_injector','2723oaiEco','pie.rosePie','setDataPointShape','setPosition','backgroundColor','options','fill','allSeriesStyle.label','indicatorLabelTextColor','titles.yAxisTitle.bold','axisAlignment','indicatorLineType','doughnutHole','radar.fill','7007610lJbQsk','getCategoryData','series','titles.yAxisTitle.family','setTransposeRowsAndColumns','map','registerChartTheme','3978CPzHjs','left','italic','rightYAxisTitle','titles.xAxisTitle.fontSize','pie.doughnutHole','config','titles.xAxisTitle.content','allSeriesStyle.point.color','allSeriesStyle.rightYAxis','yRightAxis','asPieChart','getUnitChartModels','xAxisTitle','category','setAxisPointerStyle','allSeriesStyle','getUnitId','allSeriesStyle.point.shape','20715Eicvfv','borderColor','2382490Dlttoe','sheetName','getSheetId','getChartType','sourceSheetName','keys','length','get','width','allSeriesStyle.point','ChartType','\x20not\x20found','pie.isHalfPie','border','dataPointColor','setOptions','allSeriesStyle.point.size','content','addRange','titles.title.align','tooltip.indicatorLabelColor','setInvalidValueStrategy','bold','asLineChart','lineStyle','chartId','allSeriesStyle.border','showLabelLine','titles.title.font','top','setDataPointColor','height','rightYAxis','11lrfCej','yAxis.label.axisTitleAlign','28712DkBrfx','titles.yAxisTitle.font','getChartId','setShowLabelLine','setAllSeriesStyle','invalidValueType','radar','removeChart','label','727rnCjme','transposeRowsAndColumns','setRightYAxisTitle','title','legend.selectMode','updateChart','titles.titlePosition','color','ChartBorderDashType'];_0x43c5=function(){return _0x457404;};return _0x43c5();}const s=(_0x2f3606,_0x22e22d,_0x20b9f8)=>{_0x20b9f8!==void 0x0&&_0x1c81f1(_0x2f3606,_0x22e22d,_0x20b9f8);},C=(_0x58bf6f,_0x2c4242,_0x4eb1d3,_0x4399b2={})=>{const _0xa8fbe1=_0x1420db,_0x1157b9={},_0x932843={};if(_0x4399b2[_0xa8fbe1(0x20c)]){const _0x447754=_0x4399b2[_0xa8fbe1(0x20c)];s(_0x1157b9,_0xa8fbe1(0x1a3),_0x447754[_0xa8fbe1(0x1ee)]),s(_0x1157b9,_0xa8fbe1(0x1f9),_0x447754[_0xa8fbe1(0x173)]),s(_0x1157b9,_0xa8fbe1(0x1a9),_0x447754['fontSize']),s(_0x1157b9,_0xa8fbe1(0x175),_0x447754[_0xa8fbe1(0x227)]),s(_0x1157b9,_0xa8fbe1(0x21f),_0x447754[_0xa8fbe1(0x18f)]),s(_0x1157b9,'titles.title.bold',_0x447754[_0xa8fbe1(0x1f3)]),s(_0x1157b9,_0xa8fbe1(0x1f0),_0x447754[_0xa8fbe1(0x177)]),s(_0x1157b9,_0xa8fbe1(0x20f),_0x447754[_0xa8fbe1(0x174)]);}if(_0x4399b2[_0xa8fbe1(0x1ad)]){const _0xea2381=_0x4399b2[_0xa8fbe1(0x1ad)];s(_0x1157b9,_0xa8fbe1(0x1a0),_0xea2381['position']),s(_0x1157b9,_0xa8fbe1(0x20d),_0xea2381['selectMode']),s(_0x1157b9,_0xa8fbe1(0x17d),_0xea2381['fontSize']),s(_0x1157b9,'legend.label.color',_0xea2381[_0xa8fbe1(0x210)]),s(_0x1157b9,_0xa8fbe1(0x17f),_0xea2381[_0xa8fbe1(0x1f3)]),s(_0x1157b9,'legend.label.italic',_0xea2381[_0xa8fbe1(0x1ca)]);}if(_0x4399b2['pie']){const _0x24b66a=_0x4399b2['pie'];s(_0x1157b9,'pie.doughnutHole',_0x24b66a[_0xa8fbe1(0x1bf)]),s(_0x1157b9,'pie.borderColor',_0x24b66a[_0xa8fbe1(0x1dc)]),s(_0x1157b9,'pie.hasPaddingAngle',_0x24b66a[_0xa8fbe1(0x180)]),s(_0x1157b9,'pie.isHalfPie',_0x24b66a['isHalfPie']),s(_0x1157b9,'pie.rosePie',_0x24b66a['rosePie']),s(_0x1157b9,_0xa8fbe1(0x197),_0x24b66a[_0xa8fbe1(0x1f8)]);}if(_0x4399b2[_0xa8fbe1(0x1ac)]){const _0x162a76=_0x4399b2[_0xa8fbe1(0x1ac)];s(_0x1157b9,_0xa8fbe1(0x1f1),_0x162a76[_0xa8fbe1(0x182)]),s(_0x1157b9,_0xa8fbe1(0x1a8),_0x162a76[_0xa8fbe1(0x1be)]),s(_0x1157b9,'tooltip.indicatorLineColor',_0x162a76[_0xa8fbe1(0x194)]),s(_0x1157b9,_0xa8fbe1(0x191),_0x162a76[_0xa8fbe1(0x1bb)]);}if(_0x4399b2['allSeriesStyle']&&(s(_0x1157b9,_0xa8fbe1(0x1f7),_0x4399b2[_0xa8fbe1(0x1d8)][_0xa8fbe1(0x1ea)]),s(_0x1157b9,_0xa8fbe1(0x1ba),_0x4399b2[_0xa8fbe1(0x1d8)][_0xa8fbe1(0x208)]),s(_0x1157b9,_0xa8fbe1(0x1d1),_0x4399b2[_0xa8fbe1(0x1d8)][_0xa8fbe1(0x1fd)]),s(_0x1157b9,_0xa8fbe1(0x1e6),_0x4399b2['allSeriesStyle']['point']),s(_0x1157b9,'allSeriesStyle.color',_0x4399b2[_0xa8fbe1(0x1d8)]['color'])),_0x4399b2['area']&&s(_0x1157b9,_0xa8fbe1(0x22f),_0x4399b2['area'][_0xa8fbe1(0x1f5)]),_0x4399b2[_0xa8fbe1(0x190)]&&s(_0x1157b9,_0xa8fbe1(0x190),_0x4399b2[_0xa8fbe1(0x190)]),_0x4399b2[_0xa8fbe1(0x1b7)]&&s(_0x1157b9,_0xa8fbe1(0x1b7),_0x4399b2[_0xa8fbe1(0x1b7)]),_0x4399b2[_0xa8fbe1(0x1dc)]&&s(_0x1157b9,_0xa8fbe1(0x1dc),_0x4399b2[_0xa8fbe1(0x1dc)]),_0x4399b2['gradientFill']&&s(_0x1157b9,'gradientFill',_0x4399b2[_0xa8fbe1(0x17c)]),_0x4399b2[_0xa8fbe1(0x205)]&&s(_0x1157b9,_0xa8fbe1(0x205),_0x4399b2[_0xa8fbe1(0x205)]),_0x4399b2[_0xa8fbe1(0x206)]&&s(_0x1157b9,_0xa8fbe1(0x206),_0x4399b2[_0xa8fbe1(0x206)]),_0x4399b2[_0xa8fbe1(0x1d5)]){const _0xe63807=_0x4399b2['xAxisTitle'];s(_0x1157b9,_0xa8fbe1(0x1cf),_0xe63807[_0xa8fbe1(0x1ee)]),s(_0x1157b9,'titles.xAxisTitle.font',_0xe63807['font']),s(_0x1157b9,_0xa8fbe1(0x1cc),_0xe63807[_0xa8fbe1(0x19c)]),s(_0x1157b9,'titles.xAxisTitle.color',_0xe63807[_0xa8fbe1(0x227)]),s(_0x1157b9,'titles.xAxisTitle.family',_0xe63807['fontStyle']),s(_0x1157b9,'titles.xAxisTitle.bold',_0xe63807['bold']),s(_0x1157b9,'xAxis.label.axisTitleAlign',_0xe63807[_0xa8fbe1(0x1bd)]);}if(_0x4399b2['yAxisTitle']){const _0x2b2167=_0x4399b2['yAxisTitle'];s(_0x1157b9,_0xa8fbe1(0x17b),_0x2b2167['content']),s(_0x1157b9,_0xa8fbe1(0x201),_0x2b2167[_0xa8fbe1(0x173)]),s(_0x1157b9,'titles.yAxisTitle.fontSize',_0x2b2167[_0xa8fbe1(0x19c)]),s(_0x1157b9,_0xa8fbe1(0x176),_0x2b2167[_0xa8fbe1(0x227)]),s(_0x1157b9,_0xa8fbe1(0x1c4),_0x2b2167[_0xa8fbe1(0x18f)]),s(_0x1157b9,_0xa8fbe1(0x1bc),_0x2b2167[_0xa8fbe1(0x1f3)]),s(_0x1157b9,_0xa8fbe1(0x1ff),_0x2b2167[_0xa8fbe1(0x1bd)]);}if(_0x4399b2[_0xa8fbe1(0x1cb)]){const _0x5df041=_0x4399b2[_0xa8fbe1(0x1cb)];s(_0x1157b9,_0xa8fbe1(0x17e),_0x5df041[_0xa8fbe1(0x1ee)]),s(_0x1157b9,_0xa8fbe1(0x184),_0x5df041['font']),s(_0x1157b9,_0xa8fbe1(0x22d),_0x5df041['fontSize']),s(_0x1157b9,_0xa8fbe1(0x1b0),_0x5df041[_0xa8fbe1(0x227)]),s(_0x1157b9,'titles.rightYAxisTitle.family',_0x5df041['fontStyle']),s(_0x1157b9,_0xa8fbe1(0x214),_0x5df041[_0xa8fbe1(0x1f3)]),s(_0x1157b9,'rightYAxis.label.axisTitleAlign',_0x5df041[_0xa8fbe1(0x1bd)]);}_0x4399b2['xAxis']&&s(_0x1157b9,_0xa8fbe1(0x193),_0x4399b2[_0xa8fbe1(0x193)]),_0x4399b2[_0xa8fbe1(0x1a7)]&&s(_0x1157b9,_0xa8fbe1(0x1a7),_0x4399b2[_0xa8fbe1(0x1a7)]),_0x4399b2[_0xa8fbe1(0x1d2)]&&s(_0x1157b9,_0xa8fbe1(0x1fd),_0x4399b2[_0xa8fbe1(0x1d2)]),_0x4399b2[_0xa8fbe1(0x21e)]&&s(_0x1157b9,_0xa8fbe1(0x21e),_0x4399b2[_0xa8fbe1(0x21e)]);const _0x4e5b4d={'unitId':_0x58bf6f,'chartModelId':_0x2c4242};let _0x11f360=!0x1;if(_0x4eb1d3!==void 0x0&&(_0x4e5b4d[_0xa8fbe1(0x199)]=_0x4eb1d3,_0x11f360=!0x0),Object['keys'](_0x1157b9)[_0xa8fbe1(0x1e3)]>0x0&&(_0x4e5b4d[_0xa8fbe1(0x19a)]=_0x1157b9,_0x11f360=!0x0),Object[_0xa8fbe1(0x1e2)](_0x932843)[_0xa8fbe1(0x1e3)]>0x0&&(_0x4e5b4d[_0xa8fbe1(0x1a2)]=_0x932843,_0x11f360=!0x0),_0x11f360)return _0x4e5b4d;};class c extends _0xb7e52{constructor(_0x26adce,_0x43be69,_0x342e5b,_0x446e47,_0x3be1f1){const _0x2bf1f4=_0x1420db;super(),n(this,'_workbook'),n(this,'_injector'),n(this,_0x2bf1f4(0x22c)),n(this,'subUnitId'),n(this,_0x2bf1f4(0x1f6)),n(this,_0x2bf1f4(0x1ae)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x2bf1f4(0x1e5)),n(this,_0x2bf1f4(0x1fc)),n(this,'chartType'),n(this,'options'),n(this,_0x2bf1f4(0x20a)),(this[_0x2bf1f4(0x22c)]=_0x26adce,this[_0x2bf1f4(0x172)]=_0x43be69,this[_0x2bf1f4(0x223)]=_0x342e5b,this['_injector']=_0x446e47,_0x3be1f1&&(this[_0x2bf1f4(0x1f6)]=_0x3be1f1));}[_0x1420db(0x1e0)](){return this['chartType'];}[_0x1420db(0x1ef)](_0x365911){const _0x3dc53e=_0x1420db;if(typeof _0x365911==_0x3dc53e(0x185)){const _0x5f3813=_0x5c45e6(_0x365911);_0x5f3813[_0x3dc53e(0x1de)]&&(this[_0x3dc53e(0x1e1)]=_0x5f3813[_0x3dc53e(0x1de)]),this[_0x3dc53e(0x1ae)]=_0x5f3813[_0x3dc53e(0x1ae)];}else this['range']=_0x365911;return this;}[_0x1420db(0x21c)](){const _0x56d8c1=_0x1420db;return this['range']=void 0x0,this[_0x56d8c1(0x1e1)]=void 0x0,this;}[_0x1420db(0x1b6)](_0xfc46c5,_0x25d582,_0x3aa972,_0x3a9bfd){const _0x143c01=_0x1420db,_0x17943a=this[_0x143c01(0x1b2)][_0x143c01(0x1e4)](_0x477f83)[_0x143c01(0x21a)](this['unitId']);if(!_0x17943a)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x353d47=_0x17943a[_0x143c01(0x181)](_0x5ed202),_0x3d0a41=_0x17943a[_0x143c01(0x181)](_0x18fa58),{transform:_0x12757c}=_0x54af28(this[_0x143c01(0x22c)],this[_0x143c01(0x172)],{'row':_0xfc46c5,'column':_0x25d582,'rowOffset':_0x3aa972,'columnOffset':_0x3a9bfd},0x1,0x1,_0x353d47,_0x3d0a41),_0x1afc15=_0x12757c[_0x143c01(0x1fa)],_0x3dd467=_0x12757c[_0x143c01(0x1c9)];return this['x']=_0x3dd467,this['y']=_0x1afc15,this;}[_0x1420db(0x1b1)](_0x478fa6,_0x16e7cc){return this['x']=_0x478fa6,this['y']=_0x16e7cc,this;}[_0x1420db(0x225)](_0x83071b){const _0x4fb32a=_0x1420db;return this[_0x4fb32a(0x199)]=_0x83071b,this;}[_0x1420db(0x178)](_0x5b6c28){const _0xa8abab=_0x1420db;return this[_0xa8abab(0x1e5)]=_0x5b6c28,this;}['setHeight'](_0x15a6e4){const _0x4c068e=_0x1420db;return this[_0x4c068e(0x1fc)]=_0x15a6e4,this;}[_0x1420db(0x1ec)](_0x30f54e,_0x1022a9){const _0x143720=_0x1420db;return this[_0x143720(0x1b8)]||(this[_0x143720(0x1b8)]={}),_0x30f54e===''?(this[_0x143720(0x1b8)]={...this[_0x143720(0x1b8)],..._0x1022a9},this):(_0x1c81f1(this['options'],_0x30f54e,_0x1022a9),this);}[_0x1420db(0x1c5)](_0x3aa805){const _0x2be89b=_0x1420db;return this[_0x2be89b(0x20a)]=_0x3aa805,this;}[_0x1420db(0x187)](_0x26d54f){const _0x48f31e=_0x1420db;return this['setOptions'](_0x48f31e(0x190),_0x26d54f),this;}[_0x1420db(0x220)](_0x34eb2e){const _0x5c8d7f=_0x1420db;var _0xc094dc;const _0x37b0b4=((_0xc094dc=this[_0x5c8d7f(0x1b8)])==null?void 0x0:_0xc094dc[_0x5c8d7f(0x1d5)])||{};return _0x37b0b4[_0x5c8d7f(0x1ee)]=_0x34eb2e,this[_0x5c8d7f(0x1ec)](_0x5c8d7f(0x1d5),_0x37b0b4),this;}[_0x1420db(0x1a1)](_0x3585c1){const _0x73f369=_0x1420db;var _0x2f9ee0;const _0x143488=((_0x2f9ee0=this[_0x73f369(0x1b8)])==null?void 0x0:_0x2f9ee0['yAxisTitle'])||{};return _0x143488[_0x73f369(0x1ee)]=_0x3585c1,this[_0x73f369(0x1ec)](_0x73f369(0x1ab),_0x143488),this;}[_0x1420db(0x20b)](_0x4000fe){const _0x468c6b=_0x1420db;var _0x2dfbd5;const _0x7829f2=((_0x2dfbd5=this[_0x468c6b(0x1b8)])==null?void 0x0:_0x2dfbd5[_0x468c6b(0x1cb)])||{};return _0x7829f2[_0x468c6b(0x1ee)]=_0x4000fe,this[_0x468c6b(0x1ec)](_0x468c6b(0x1cb),_0x7829f2),this;}[_0x1420db(0x196)](_0x407710){const _0xda3507=_0x1420db;var _0x2efa96;const _0x19cc76=((_0x2efa96=this[_0xda3507(0x1b8)])==null?void 0x0:_0x2efa96['xAxisTitle'])||{};return this[_0xda3507(0x1ec)](_0xda3507(0x1d5),{..._0x19cc76,..._0x407710}),this;}['setYAxisTextStyle'](_0xfce50b){const _0x45e285=_0x1420db;var _0x327fd0;const _0x396a6b=((_0x327fd0=this[_0x45e285(0x1b8)])==null?void 0x0:_0x327fd0[_0x45e285(0x1ab)])||{};return this[_0x45e285(0x1ec)](_0x45e285(0x1ab),{..._0x396a6b,..._0xfce50b}),this;}['setRightYAxisTextStyle'](_0x51652a){const _0x177fe6=_0x1420db;var _0x44b80d;const _0x39eadf=((_0x44b80d=this[_0x177fe6(0x1b8)])==null?void 0x0:_0x44b80d[_0x177fe6(0x1cb)])||{};return this[_0x177fe6(0x1ec)](_0x177fe6(0x1cb),{..._0x39eadf,..._0x51652a}),this;}[_0x1420db(0x1f2)](_0x57a415){const _0x2e56dd=_0x1420db;return this[_0x2e56dd(0x1ec)]('invalidValueType',_0x57a415),this;}[_0x1420db(0x1d7)](_0x1b08f6){const _0x3b8247=_0x1420db;return this[_0x3b8247(0x1ec)](_0x3b8247(0x1ac),_0x1b08f6),this;}[_0x1420db(0x204)](_0x3cbd77){const _0x296711=_0x1420db;return this[_0x296711(0x1ec)](_0x296711(0x1d8),_0x3cbd77),this;}[_0x1420db(0x186)](_0x36ff02,_0x5f0622){const _0x2d8d07=_0x1420db;return this[_0x2d8d07(0x1ec)](_0x2d8d07(0x21e),{[_0x36ff02]:_0x5f0622}),this;}[_0x1420db(0x179)](){const _0x388b34=_0x1420db;var _0x5b4866;let _0x44d092=this[_0x388b34(0x172)];if(this[_0x388b34(0x1e1)]){const _0x3f6266=(_0x5b4866=this['_workbook']['getSheetBySheetName'](this[_0x388b34(0x1e1)]))==null?void 0x0:_0x5b4866['getSheetId']();if(!_0x3f6266)throw new Error('Sheet\x20'+this[_0x388b34(0x1e1)]+_0x388b34(0x1e8));_0x44d092=_0x3f6266;}return{'unitId':this['unitId'],'subUnitId':_0x44d092,'chartId':this[_0x388b34(0x1f6)],'range':this[_0x388b34(0x1ae)],'x':this['x'],'y':this['y'],'width':this[_0x388b34(0x1e5)],'height':this[_0x388b34(0x1fc)],'chartType':this['chartType'],'options':this['options'],'isRowDirection':this[_0x388b34(0x20a)]};}}class f{constructor(_0xca8856,_0x4a15b,_0x4f5ca5,_0x53ff91){const _0x3dc573=_0x1420db;n(this,_0x3dc573(0x22c)),n(this,'subUnitId'),n(this,_0x3dc573(0x1f6)),n(this,_0x3dc573(0x1b2)),(this['unitId']=_0xca8856,this[_0x3dc573(0x172)]=_0x4a15b,this[_0x3dc573(0x1f6)]=_0x4f5ca5,this[_0x3dc573(0x1b2)]=_0x53ff91);}[_0x1420db(0x202)](){return this['chartId'];}['getRange'](){const _0x4fd066=_0x1420db,_0x2060d9=this['_injector']['get'](_0x24b9eb)[_0x4fd066(0x19e)](this[_0x4fd066(0x1f6)]);if(_0x2060d9)return _0x2060d9[_0x4fd066(0x22b)][_0x4fd066(0x215)]();}['updateRange'](_0x1845ef){const _0x580b93=_0x1420db;return this['_injector']['get'](_0x221972)['executeCommand'](_0x2723ee['id'],{'unitId':this[_0x580b93(0x22c)],'chartModelId':this[_0x580b93(0x1f6)],'range':_0x1845ef});}[_0x1420db(0x19d)](){const _0x389f61=_0x1420db;var _0x28cf30;const _0x2f0c0c=this[_0x389f61(0x1b2)]['get'](_0x24b9eb)[_0x389f61(0x19e)](this[_0x389f61(0x1f6)]);if(_0x2f0c0c)return(_0x28cf30=_0x2f0c0c[_0x389f61(0x1ce)])==null?void 0x0:_0x28cf30[_0x389f61(0x1c3)];}[_0x1420db(0x1c2)](){const _0x2cfac0=_0x1420db;var _0x3ced29;const _0x2d498f=this['_injector'][_0x2cfac0(0x1e4)](_0x24b9eb)[_0x2cfac0(0x19e)](this['chartId']);if(_0x2d498f)return(_0x3ced29=_0x2d498f['config'])==null?void 0x0:_0x3ced29[_0x2cfac0(0x1d6)];}['modify'](){const _0x1fa19c=_0x1420db,_0x2254f0=this['_injector'][_0x1fa19c(0x1e4)](_0x5b972d)[_0x1fa19c(0x229)](_0x2b637c[_0x1fa19c(0x222)]);return new c(this[_0x1fa19c(0x22c)],this[_0x1fa19c(0x172)],_0x2254f0,this['_injector'],this[_0x1fa19c(0x1f6)]);}}class Q extends _0x37cbcc{async['insertChart'](_0x4d5400){const _0x3b7842=_0x1420db;var _0x7d0483,_0x374112,_0x4cfe40;const _0x1c146a=_0x4d5400[_0x3b7842(0x22c)]||this[_0x3b7842(0x18d)]()[_0x3b7842(0x1d9)](),_0x1e1b79=_0x4d5400['subUnitId']||this[_0x3b7842(0x1df)](),_0x44d577=_0x4d5400[_0x3b7842(0x1f6)]||_0x442c0a(),_0x84b75a=_0x4d5400[_0x3b7842(0x199)],_0x3fc40d=_0x4d5400[_0x3b7842(0x1ae)],_0x28e4f6={'x':_0x4d5400['x'],'y':_0x4d5400['y']},_0x20a190=_0x4d5400['width'],_0x449822=_0x4d5400[_0x3b7842(0x1fc)],_0x263838=(_0x7d0483=_0x4d5400['options'])==null?void 0x0:_0x7d0483[_0x3b7842(0x1b7)],_0x1864d7=(_0x374112=_0x4d5400[_0x3b7842(0x1b8)])==null?void 0x0:_0x374112[_0x3b7842(0x1dc)],_0xd98928=C(_0x1c146a,_0x44d577,_0x84b75a,_0x4d5400[_0x3b7842(0x1b8)]),_0x529e58=(_0x4cfe40=_0x4d5400['isRowDirection'])!=null?_0x4cfe40:!0x0;if(!_0x3fc40d)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService'][_0x3b7842(0x18a)](_0x232021['id'],{'unitId':_0x1c146a,'subUnitId':_0x1e1b79,'chartId':_0x44d577,'chartType':_0x84b75a,'range':_0x3fc40d,'position':_0x28e4f6,'width':_0x20a190,'height':_0x449822,'backgroundColor':_0x263838,'borderColor':_0x1864d7,'config':_0xd98928,'isRowDirection':_0x529e58}),new f(_0x1c146a,_0x1e1b79,_0x44d577,this[_0x3b7842(0x1b2)]);}[_0x1420db(0x20e)](_0x441696){const _0x367d88=_0x1420db,{unitId:_0x52a78f,chartId:_0x1d4389,chartType:_0x2c30f0,options:_0x161430}=_0x441696,_0xc68511=C(_0x52a78f,_0x1d4389,_0x2c30f0,_0x161430);this[_0x367d88(0x1a6)][_0x367d88(0x18a)](_0xecd172['id'],_0xc68511);}[_0x1420db(0x224)](_0x5630c1){const _0x522982=_0x1420db;if(_0x5630c1)return new c(_0x5630c1['unitId'],_0x5630c1['subUnitId'],this['_workbook'],this[_0x522982(0x1b2)],_0x5630c1[_0x522982(0x1f6)]);const _0x242019=this[_0x522982(0x18d)]()['getUnitId'](),_0x22f34b=this[_0x522982(0x1df)]();return new c(_0x242019,_0x22f34b,this['_workbook'],this[_0x522982(0x1b2)]);}['getCharts'](){const _0x15a6d7=_0x1420db,_0x10b035=this[_0x15a6d7(0x1b2)][_0x15a6d7(0x1e4)](_0x24b9eb),_0x2e8d20=this[_0x15a6d7(0x18d)]()[_0x15a6d7(0x1d9)]();return _0x10b035[_0x15a6d7(0x1d4)](_0x2e8d20,this['getSheetId']())[_0x15a6d7(0x1c6)](_0x4529e8=>new f(_0x2e8d20,this[_0x15a6d7(0x1df)](),_0x4529e8['id'],this['_injector']));}[_0x1420db(0x207)](_0x28bb2e){const _0x48f808=_0x1420db,_0x5a1784=_0x28bb2e[_0x48f808(0x22c)],_0x10bc1d=_0x28bb2e[_0x48f808(0x172)],_0x1f0021=_0x28bb2e[_0x48f808(0x1f6)],_0x41cd92={'unitId':_0x5a1784,'drawings':[{'unitId':_0x5a1784,'subUnitId':_0x10bc1d,'drawingId':_0x1f0021,'drawingType':_0x2d77cd[_0x48f808(0x18b)]}]};return this[_0x48f808(0x1a6)]['executeCommand'](_0x4ed0c0['id'],_0x41cd92);}[_0x1420db(0x1c7)](_0x28b131,_0x49fb66){const _0xa26d2=_0x1420db;this[_0xa26d2(0x1b2)][_0xa26d2(0x1e4)](_0x2ffba9)['registerTheme'](_0x28b131,_0x49fb66);}}_0x37cbcc['extend'](Q);class Z extends _0x4209b7{get[_0x1420db(0x1e7)](){return _0xab92f7;}get['LegendPositionEnum'](){return _0x5cdfe9;}get[_0x1420db(0x1a4)](){return _0x326bf9;}get[_0x1420db(0x217)](){return _0x34f266;}get[_0x1420db(0x211)](){return _0x549221;}get[_0x1420db(0x213)](){return _0x34f773;}get['TitlePositionEnum'](){return _0x486166;}get[_0x1420db(0x18c)](){return _0x29e3ae;}}_0x4209b7['extend'](Z);class tt extends c{constructor(_0x86686a,_0x1bb171,_0x20e829,_0x280e05,_0x1bdd91){const _0x137d3a=_0x1420db;super(_0x86686a,_0x1bb171,_0x20e829,_0x280e05,_0x1bdd91),n(this,_0x137d3a(0x1f5)),n(this,_0x137d3a(0x1af)),n(this,_0x137d3a(0x1eb)),n(this,_0x137d3a(0x228));}['setLineStyle'](_0x2c601a){const _0x508809=_0x1420db;return this[_0x508809(0x1f5)]=_0x2c601a,this;}[_0x1420db(0x1b5)](_0x16de7a){const _0x3fb2cb=_0x1420db;return this[_0x3fb2cb(0x1af)]=_0x16de7a,this;}[_0x1420db(0x1fb)](_0x2f5d5d){const _0x2303b4=_0x1420db;return this[_0x2303b4(0x1eb)]=_0x2f5d5d,this;}[_0x1420db(0x21b)](_0xcc9408){const _0x1c554f=_0x1420db;return this[_0x1c554f(0x228)]=_0xcc9408,this;}[_0x1420db(0x179)](){const _0x2a462f=_0x1420db,_0x56c6c9=super[_0x2a462f(0x179)]();_0x56c6c9[_0x2a462f(0x199)]=_0xab92f7['Line'];const _0x1c6863=_0x56c6c9[_0x2a462f(0x1b8)]||{};return s(_0x1c6863,_0x2a462f(0x22f),this[_0x2a462f(0x1f5)]),s(_0x1c6863,_0x2a462f(0x1da),this[_0x2a462f(0x1af)]),s(_0x1c6863,_0x2a462f(0x1d0),this[_0x2a462f(0x1eb)]),s(_0x1c6863,_0x2a462f(0x1ed),this['dataPointSize']),_0x56c6c9[_0x2a462f(0x1b8)]=_0x1c6863,_0x56c6c9;}}class et extends c{[_0x1420db(0x1f4)](){const _0x294a39=_0x1420db;return new tt(this[_0x294a39(0x22c)],this[_0x294a39(0x172)],this['_workbook'],this[_0x294a39(0x1b2)],this['chartId']);}}c['extend'](et);class it extends c{constructor(_0x1bf95f,_0x309168,_0x1c38e7,_0x5351b1,_0x1461dd){const _0x202b8d=_0x1420db;super(_0x1bf95f,_0x309168,_0x1c38e7,_0x5351b1,_0x1461dd),n(this,'doughnutHole'),n(this,_0x202b8d(0x1dc)),n(this,'hasPaddingAngle'),n(this,_0x202b8d(0x183)),n(this,_0x202b8d(0x198)),n(this,'showLabelLine');}[_0x1420db(0x21d)](_0x159c12){const _0x59baf4=_0x1420db;return this[_0x59baf4(0x1bf)]=_0x159c12,this;}[_0x1420db(0x189)](_0x58ab17){const _0x9af077=_0x1420db;return this[_0x9af077(0x1dc)]=_0x58ab17,this;}[_0x1420db(0x17a)](_0x4ff249){const _0x1262f5=_0x1420db;return this[_0x1262f5(0x180)]=_0x4ff249,this;}['setIsHalfPie'](_0x23b12f){return this['isHalfPie']=_0x23b12f,this;}[_0x1420db(0x195)](_0x230d1f){const _0x16c683=_0x1420db;return this[_0x16c683(0x198)]=_0x230d1f,this;}[_0x1420db(0x203)](_0xdde007){return this['showLabelLine']=_0xdde007,this;}['build'](){const _0x4d9181=_0x1420db,_0xb81a7f=super['build']();_0xb81a7f[_0x4d9181(0x199)]=_0xab92f7[_0x4d9181(0x1aa)];const _0x42560b=_0xb81a7f[_0x4d9181(0x1b8)]||{};return s(_0x42560b,_0x4d9181(0x1cd),this['doughnutHole']),s(_0x42560b,_0x4d9181(0x1a5),this['borderColor']),s(_0x42560b,_0x4d9181(0x18e),this['hasPaddingAngle']),s(_0x42560b,_0x4d9181(0x1e9),this['isHalfPie']),s(_0x42560b,_0x4d9181(0x1b4),this[_0x4d9181(0x198)]),s(_0x42560b,'pie.showLabelLine',this[_0x4d9181(0x1f8)]),_0xb81a7f[_0x4d9181(0x1b8)]=_0x42560b,_0xb81a7f;}}class st extends c{[_0x1420db(0x1d3)](){const _0x27d751=_0x1420db;return new it(this[_0x27d751(0x22c)],this[_0x27d751(0x172)],this[_0x27d751(0x223)],this[_0x27d751(0x1b2)],this[_0x27d751(0x1f6)]);}}c[_0x1420db(0x22a)](st);class rt extends c{constructor(_0x273221,_0x24ff65,_0x26dd62,_0x2413b0,_0x5c8588){const _0x4e6eea=_0x1420db;super(_0x273221,_0x24ff65,_0x26dd62,_0x2413b0,_0x5c8588),n(this,_0x4e6eea(0x219)),n(this,_0x4e6eea(0x1b9));}[_0x1420db(0x218)](_0x315e06){const _0x394ee4=_0x1420db;return this[_0x394ee4(0x219)]=_0x315e06,this;}['setFill'](_0x540c75){const _0x590f97=_0x1420db;return this[_0x590f97(0x1b9)]=_0x540c75,this;}[_0x1420db(0x179)](){const _0x63e74d=_0x1420db,_0xe4c71a=super[_0x63e74d(0x179)]();_0xe4c71a[_0x63e74d(0x199)]=_0xab92f7[_0x63e74d(0x19b)];const _0x3ed82c=_0xe4c71a[_0x63e74d(0x1b8)]||{};return s(_0x3ed82c,_0x63e74d(0x212),this[_0x63e74d(0x219)]),s(_0x3ed82c,_0x63e74d(0x1c0),this['fill']),_0xe4c71a[_0x63e74d(0x1b8)]=_0x3ed82c,_0xe4c71a;}}class ot extends c{[_0x1420db(0x221)](){const _0x550b76=_0x1420db;return new rt(this[_0x550b76(0x22c)],this[_0x550b76(0x172)],this['_workbook'],this['_injector'],this['chartId']);}}c[_0x1420db(0x22a)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
1
+ const _0x6489ad=_0x32eb;(function(_0x778408,_0x4e2f4f){const _0x3984ef=_0x32eb,_0x50a95d=_0x778408();while(!![]){try{const _0x18dbe5=parseInt(_0x3984ef(0x175))/0x1+-parseInt(_0x3984ef(0x1b8))/0x2*(parseInt(_0x3984ef(0x19a))/0x3)+-parseInt(_0x3984ef(0x20f))/0x4*(parseInt(_0x3984ef(0x1de))/0x5)+parseInt(_0x3984ef(0x1bf))/0x6*(-parseInt(_0x3984ef(0x217))/0x7)+-parseInt(_0x3984ef(0x227))/0x8+-parseInt(_0x3984ef(0x19e))/0x9*(parseInt(_0x3984ef(0x1b3))/0xa)+parseInt(_0x3984ef(0x20b))/0xb;if(_0x18dbe5===_0x4e2f4f)break;else _0x50a95d['push'](_0x50a95d['shift']());}catch(_0x508aee){_0x50a95d['push'](_0x50a95d['shift']());}}}(_0x15e6,0xc4c26));var R=Object[_0x6489ad(0x1ce)],k=(_0x29f097,_0x5aeb61,_0x457a74)=>_0x5aeb61 in _0x29f097?R(_0x29f097,_0x5aeb61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x457a74}):_0x29f097[_0x5aeb61]=_0x457a74,n=(_0x57d218,_0x51c9bd,_0x4454c3)=>k(_0x57d218,typeof _0x51c9bd!=_0x6489ad(0x201)?_0x51c9bd+'':_0x51c9bd,_0x4454c3);import{ChartThemeService as _0x1667c4,ChartTypeBits as _0x4336d0,LegendPositionEnum as _0x217f86,SelectModeEnum as _0x121587,AxisAlignEnum as _0x26ca8f,ChartBorderDashType as _0x357d6f,LinePointShape as _0x571d3c,TitlePositionEnum as _0x4c5326,RadarShape as _0x42d088}from'@univerjs-pro/engine-chart';import{setProperty as _0x3cbcfd,SheetsChartService as _0x5478d9,ChartUpdateSourceCommand as _0x47e528,ChartUpdateConfigCommand as _0x6768cb}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x271351}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x5d1745,IUniverInstanceService as _0x494d12,UniverInstanceType as _0x48060d,generateRandomId as _0x3b4a58,DrawingTypeEnum as _0x11afe4}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x54c5f5}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x168b8c}from'@univerjs/sheets/facade';import{FBase as _0x2ca92e,FEnum as _0x13aa4e}from'@univerjs/core/facade';function _0x32eb(_0x164f70,_0x372ad4){_0x164f70=_0x164f70-0x174;const _0x15e686=_0x15e6();let _0x32eb1f=_0x15e686[_0x164f70];return _0x32eb1f;}import{deserializeRangeWithSheet as _0x3f0b59}from'@univerjs/engine-formula';import{IRenderManagerService as _0x3fbbab}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x45b198,SheetSkeletonManagerService as _0x1e6757,convertPositionCellToSheetOverGrid as _0x5a5b4f}from'@univerjs/sheets-ui';const s=(_0x4854a5,_0x26eb78,_0x12429a)=>{_0x12429a!==void 0x0&&_0x3cbcfd(_0x4854a5,_0x26eb78,_0x12429a);},C=(_0x4da3cc,_0x3fba44,_0x265d38,_0x540f57={})=>{const _0x53e6b6=_0x6489ad,_0xa3fa89={},_0x33d17c={};if(_0x540f57[_0x53e6b6(0x223)]){const _0xe4f891=_0x540f57['title'];s(_0xa3fa89,_0x53e6b6(0x1b0),_0xe4f891[_0x53e6b6(0x190)]),s(_0xa3fa89,_0x53e6b6(0x184),_0xe4f891[_0x53e6b6(0x1e5)]),s(_0xa3fa89,_0x53e6b6(0x202),_0xe4f891[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1d6),_0xe4f891['fontColor']),s(_0xa3fa89,_0x53e6b6(0x205),_0xe4f891[_0x53e6b6(0x1df)]),s(_0xa3fa89,_0x53e6b6(0x189),_0xe4f891[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x1af),_0xe4f891[_0x53e6b6(0x18e)]),s(_0xa3fa89,_0x53e6b6(0x1d2),_0xe4f891['position']);}if(_0x540f57['legend']){const _0x536e52=_0x540f57['legend'];s(_0xa3fa89,_0x53e6b6(0x1cf),_0x536e52[_0x53e6b6(0x218)]),s(_0xa3fa89,'legend.selectMode',_0x536e52[_0x53e6b6(0x1ab)]),s(_0xa3fa89,_0x53e6b6(0x198),_0x536e52[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1ac),_0x536e52[_0x53e6b6(0x196)]),s(_0xa3fa89,'legend.label.bold',_0x536e52[_0x53e6b6(0x1c9)]),s(_0xa3fa89,'legend.label.italic',_0x536e52['italic']);}if(_0x540f57['pie']){const _0x3ae7e9=_0x540f57['pie'];s(_0xa3fa89,_0x53e6b6(0x1d4),_0x3ae7e9['doughnutHole']),s(_0xa3fa89,_0x53e6b6(0x1d7),_0x3ae7e9[_0x53e6b6(0x193)]),s(_0xa3fa89,'pie.hasPaddingAngle',_0x3ae7e9[_0x53e6b6(0x1fc)]),s(_0xa3fa89,_0x53e6b6(0x1bb),_0x3ae7e9[_0x53e6b6(0x1ad)]),s(_0xa3fa89,_0x53e6b6(0x1f3),_0x3ae7e9[_0x53e6b6(0x1d8)]),s(_0xa3fa89,_0x53e6b6(0x1e2),_0x3ae7e9[_0x53e6b6(0x18b)]);}if(_0x540f57[_0x53e6b6(0x1e1)]){const _0x1e979f=_0x540f57[_0x53e6b6(0x1e1)];s(_0xa3fa89,_0x53e6b6(0x177),_0x1e979f[_0x53e6b6(0x21f)]),s(_0xa3fa89,_0x53e6b6(0x208),_0x1e979f[_0x53e6b6(0x206)]),s(_0xa3fa89,'tooltip.indicatorLineColor',_0x1e979f[_0x53e6b6(0x1dd)]),s(_0xa3fa89,_0x53e6b6(0x185),_0x1e979f[_0x53e6b6(0x186)]);}if(_0x540f57[_0x53e6b6(0x1a6)]&&(s(_0xa3fa89,_0x53e6b6(0x228),_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x20d)]),s(_0xa3fa89,_0x53e6b6(0x182),_0x540f57['allSeriesStyle']['label']),s(_0xa3fa89,_0x53e6b6(0x19b),_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x180)]),s(_0xa3fa89,_0x53e6b6(0x1a3),_0x540f57['allSeriesStyle'][_0x53e6b6(0x1d1)]),s(_0xa3fa89,'allSeriesStyle.color',_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x196)])),_0x540f57[_0x53e6b6(0x1a9)]&&s(_0xa3fa89,'area.lineStyle',_0x540f57[_0x53e6b6(0x1a9)]['lineStyle']),_0x540f57[_0x53e6b6(0x216)]&&s(_0xa3fa89,_0x53e6b6(0x216),_0x540f57['theme']),_0x540f57[_0x53e6b6(0x1cc)]&&s(_0xa3fa89,'backgroundColor',_0x540f57[_0x53e6b6(0x1cc)]),_0x540f57[_0x53e6b6(0x193)]&&s(_0xa3fa89,'borderColor',_0x540f57['borderColor']),_0x540f57[_0x53e6b6(0x17b)]&&s(_0xa3fa89,_0x53e6b6(0x17b),_0x540f57[_0x53e6b6(0x17b)]),_0x540f57[_0x53e6b6(0x1b5)]&&s(_0xa3fa89,_0x53e6b6(0x1b5),_0x540f57['invalidValueType']),_0x540f57[_0x53e6b6(0x192)]&&s(_0xa3fa89,_0x53e6b6(0x192),_0x540f57['radar']),_0x540f57[_0x53e6b6(0x1e6)]){const _0x4642c8=_0x540f57[_0x53e6b6(0x1e6)];s(_0xa3fa89,_0x53e6b6(0x1ed),_0x4642c8[_0x53e6b6(0x190)]),s(_0xa3fa89,'titles.xAxisTitle.font',_0x4642c8['font']),s(_0xa3fa89,_0x53e6b6(0x1d9),_0x4642c8[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1a5),_0x4642c8['fontColor']),s(_0xa3fa89,'titles.xAxisTitle.family',_0x4642c8[_0x53e6b6(0x1df)]),s(_0xa3fa89,_0x53e6b6(0x19c),_0x4642c8[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x1ec),_0x4642c8['axisAlignment']);}if(_0x540f57[_0x53e6b6(0x18a)]){const _0x679b2e=_0x540f57[_0x53e6b6(0x18a)];s(_0xa3fa89,'titles.yAxisTitle.content',_0x679b2e[_0x53e6b6(0x190)]),s(_0xa3fa89,_0x53e6b6(0x1d5),_0x679b2e[_0x53e6b6(0x1e5)]),s(_0xa3fa89,'titles.yAxisTitle.fontSize',_0x679b2e[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x19d),_0x679b2e['fontColor']),s(_0xa3fa89,_0x53e6b6(0x220),_0x679b2e[_0x53e6b6(0x1df)]),s(_0xa3fa89,'titles.yAxisTitle.bold',_0x679b2e['bold']),s(_0xa3fa89,_0x53e6b6(0x21c),_0x679b2e[_0x53e6b6(0x20c)]);}if(_0x540f57['rightYAxisTitle']){const _0x5d1552=_0x540f57[_0x53e6b6(0x1f4)];s(_0xa3fa89,_0x53e6b6(0x219),_0x5d1552[_0x53e6b6(0x190)]),s(_0xa3fa89,'titles.rightYAxisTitle.font',_0x5d1552[_0x53e6b6(0x1e5)]),s(_0xa3fa89,_0x53e6b6(0x17c),_0x5d1552[_0x53e6b6(0x20a)]),s(_0xa3fa89,'titles.rightYAxisTitle.color',_0x5d1552[_0x53e6b6(0x1d0)]),s(_0xa3fa89,_0x53e6b6(0x1b1),_0x5d1552[_0x53e6b6(0x1df)]),s(_0xa3fa89,'titles.rightYAxisTitle.bold',_0x5d1552[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x183),_0x5d1552[_0x53e6b6(0x20c)]);}_0x540f57[_0x53e6b6(0x1ff)]&&s(_0xa3fa89,_0x53e6b6(0x1ff),_0x540f57[_0x53e6b6(0x1ff)]),_0x540f57[_0x53e6b6(0x191)]&&s(_0xa3fa89,'yAxis',_0x540f57[_0x53e6b6(0x191)]),_0x540f57['yRightAxis']&&s(_0xa3fa89,_0x53e6b6(0x180),_0x540f57[_0x53e6b6(0x1a2)]),_0x540f57[_0x53e6b6(0x215)]&&s(_0xa3fa89,_0x53e6b6(0x215),_0x540f57[_0x53e6b6(0x215)]);const _0x2904fa={'unitId':_0x4da3cc,'chartModelId':_0x3fba44};let _0x312f91=!0x1;if(_0x265d38!==void 0x0&&(_0x2904fa[_0x53e6b6(0x221)]=_0x265d38,_0x312f91=!0x0),Object[_0x53e6b6(0x17f)](_0xa3fa89)[_0x53e6b6(0x178)]>0x0&&(_0x2904fa['style']=_0xa3fa89,_0x312f91=!0x0),Object[_0x53e6b6(0x17f)](_0x33d17c)['length']>0x0&&(_0x2904fa['context']=_0x33d17c,_0x312f91=!0x0),_0x312f91)return _0x2904fa;};class c extends _0x2ca92e{constructor(_0x15ca54,_0x51541b,_0x5512cf,_0x6ccde3,_0x3fd165){const _0x1e8a31=_0x6489ad;super(),n(this,_0x1e8a31(0x1dc)),n(this,_0x1e8a31(0x17a)),n(this,_0x1e8a31(0x1f9)),n(this,_0x1e8a31(0x1ca)),n(this,_0x1e8a31(0x212)),n(this,_0x1e8a31(0x207)),n(this,_0x1e8a31(0x213)),n(this,'x'),n(this,'y'),n(this,_0x1e8a31(0x1bc)),n(this,_0x1e8a31(0x1aa)),n(this,_0x1e8a31(0x221)),n(this,'options'),n(this,'transposeRowsAndColumns'),(this['unitId']=_0x15ca54,this[_0x1e8a31(0x1ca)]=_0x51541b,this[_0x1e8a31(0x1dc)]=_0x5512cf,this[_0x1e8a31(0x17a)]=_0x6ccde3,_0x3fd165&&(this[_0x1e8a31(0x212)]=_0x3fd165));}[_0x6489ad(0x21d)](){const _0x341fab=_0x6489ad;return this[_0x341fab(0x221)];}[_0x6489ad(0x1fa)](_0x1c9209){const _0x4e7292=_0x6489ad;if(typeof _0x1c9209==_0x4e7292(0x1c0)){const _0x176322=_0x3f0b59(_0x1c9209);_0x176322[_0x4e7292(0x1bd)]&&(this[_0x4e7292(0x213)]=_0x176322[_0x4e7292(0x1bd)]),this[_0x4e7292(0x207)]=_0x176322['range'];}else this[_0x4e7292(0x207)]=_0x1c9209;return this;}[_0x6489ad(0x1a0)](){const _0x13d3bd=_0x6489ad;return this[_0x13d3bd(0x207)]=void 0x0,this[_0x13d3bd(0x213)]=void 0x0,this;}['setPosition'](_0x2589c1,_0x23f91b,_0x1c74c8,_0x5e0ebc){const _0x555117=_0x6489ad,_0x494600=this[_0x555117(0x17a)]['get'](_0x3fbbab)[_0x555117(0x21b)](this['unitId']);if(!_0x494600)throw new Error(_0x555117(0x1e7));const _0x2b925f=_0x494600[_0x555117(0x1c1)](_0x45b198),_0x4c1d1d=_0x494600[_0x555117(0x1c1)](_0x1e6757),{transform:_0x1f7607}=_0x5a5b4f(this['unitId'],this[_0x555117(0x1ca)],{'row':_0x2589c1,'column':_0x23f91b,'rowOffset':_0x1c74c8,'columnOffset':_0x5e0ebc},0x1,0x1,_0x2b925f,_0x4c1d1d),_0x2d257a=_0x1f7607[_0x555117(0x199)],_0x238681=_0x1f7607[_0x555117(0x1ba)];return this['x']=_0x238681,this['y']=_0x2d257a,this;}[_0x6489ad(0x222)](_0x3336e2,_0x316df3){return this['x']=_0x3336e2,this['y']=_0x316df3,this;}['setChartType'](_0x5e6937){const _0x30dce2=_0x6489ad;return this[_0x30dce2(0x221)]=_0x5e6937,this;}[_0x6489ad(0x1fd)](_0x268457){const _0x4a9bda=_0x6489ad;return this[_0x4a9bda(0x1bc)]=_0x268457,this;}[_0x6489ad(0x1ae)](_0x57d139){const _0x1107bb=_0x6489ad;return this[_0x1107bb(0x1aa)]=_0x57d139,this;}[_0x6489ad(0x1cd)](_0x18482a,_0x20801e){const _0x198241=_0x6489ad;return this[_0x198241(0x1f1)]||(this['options']={}),_0x18482a===''?(this[_0x198241(0x1f1)]={...this[_0x198241(0x1f1)],..._0x20801e},this):(_0x3cbcfd(this[_0x198241(0x1f1)],_0x18482a,_0x20801e),this);}[_0x6489ad(0x1f2)](_0x5321ac){return this['transposeRowsAndColumns']=_0x5321ac,this;}[_0x6489ad(0x1fb)](_0x1ab3ca){const _0x4b6280=_0x6489ad;return this[_0x4b6280(0x1cd)](_0x4b6280(0x216),_0x1ab3ca),this;}[_0x6489ad(0x1f7)](_0x41d51b){const _0xe1cfa7=_0x6489ad;var _0x4e0b6d;const _0x132632=((_0x4e0b6d=this[_0xe1cfa7(0x1f1)])==null?void 0x0:_0x4e0b6d[_0xe1cfa7(0x1e6)])||{};return _0x132632['content']=_0x41d51b,this[_0xe1cfa7(0x1cd)](_0xe1cfa7(0x1e6),_0x132632),this;}[_0x6489ad(0x1c2)](_0xba8d60){const _0x4e6186=_0x6489ad;var _0x246e7b;const _0x1420b1=((_0x246e7b=this[_0x4e6186(0x1f1)])==null?void 0x0:_0x246e7b['yAxisTitle'])||{};return _0x1420b1[_0x4e6186(0x190)]=_0xba8d60,this['setOptions']('yAxisTitle',_0x1420b1),this;}['setRightYAxisTitle'](_0xc7de33){const _0x569187=_0x6489ad;var _0x4ba6fd;const _0x3910f9=((_0x4ba6fd=this['options'])==null?void 0x0:_0x4ba6fd[_0x569187(0x1f4)])||{};return _0x3910f9[_0x569187(0x190)]=_0xc7de33,this['setOptions'](_0x569187(0x1f4),_0x3910f9),this;}[_0x6489ad(0x1b9)](_0x1af8b4){const _0x25cdab=_0x6489ad;var _0x43750f;const _0x41f828=((_0x43750f=this[_0x25cdab(0x1f1)])==null?void 0x0:_0x43750f[_0x25cdab(0x1e6)])||{};return this['setOptions'](_0x25cdab(0x1e6),{..._0x41f828,..._0x1af8b4}),this;}[_0x6489ad(0x204)](_0x6f8220){const _0x22d5e2=_0x6489ad;var _0x4dfefc;const _0x4b730f=((_0x4dfefc=this[_0x22d5e2(0x1f1)])==null?void 0x0:_0x4dfefc[_0x22d5e2(0x18a)])||{};return this[_0x22d5e2(0x1cd)]('yAxisTitle',{..._0x4b730f,..._0x6f8220}),this;}[_0x6489ad(0x188)](_0x3490f7){const _0x56d26f=_0x6489ad;var _0x5a5604;const _0xacbd87=((_0x5a5604=this[_0x56d26f(0x1f1)])==null?void 0x0:_0x5a5604[_0x56d26f(0x1f4)])||{};return this[_0x56d26f(0x1cd)](_0x56d26f(0x1f4),{..._0xacbd87,..._0x3490f7}),this;}[_0x6489ad(0x1c8)](_0x241637){const _0x33169b=_0x6489ad;return this[_0x33169b(0x1cd)]('invalidValueType',_0x241637),this;}[_0x6489ad(0x18f)](_0x57e8b8){const _0x37e7ea=_0x6489ad;return this[_0x37e7ea(0x1cd)](_0x37e7ea(0x1e1),_0x57e8b8),this;}[_0x6489ad(0x209)](_0x5139ee){const _0x133c57=_0x6489ad;return this[_0x133c57(0x1cd)](_0x133c57(0x1a6),_0x5139ee),this;}[_0x6489ad(0x17e)](_0x153b69,_0x222a68){return this['setOptions']('seriesStyleMap',{[_0x153b69]:_0x222a68}),this;}[_0x6489ad(0x1b6)](){const _0x3cb0d=_0x6489ad;return{'unitId':this[_0x3cb0d(0x1f9)],'subUnitId':this[_0x3cb0d(0x1ca)],'chartId':this[_0x3cb0d(0x212)],'range':this[_0x3cb0d(0x207)],'sourceSheetName':this[_0x3cb0d(0x213)],'x':this['x'],'y':this['y'],'width':this[_0x3cb0d(0x1bc)],'height':this[_0x3cb0d(0x1aa)],'chartType':this['chartType'],'options':this[_0x3cb0d(0x1f1)],'isRowDirection':this[_0x3cb0d(0x1a4)]};}}class P{constructor(_0x3a768b,_0xf8d219,_0x5512ac,_0xe6dcae){const _0x5b5c87=_0x6489ad;n(this,_0x5b5c87(0x1f9)),n(this,_0x5b5c87(0x1ca)),n(this,_0x5b5c87(0x212)),n(this,_0x5b5c87(0x17a)),(this[_0x5b5c87(0x1f9)]=_0x3a768b,this[_0x5b5c87(0x1ca)]=_0xf8d219,this[_0x5b5c87(0x212)]=_0x5512ac,this['_injector']=_0xe6dcae);}[_0x6489ad(0x214)](){return this['chartId'];}['getRange'](){const _0x43efcc=_0x6489ad,_0x5d316a=this[_0x43efcc(0x17a)][_0x43efcc(0x17d)](_0x5478d9)['getChartModel'](this[_0x43efcc(0x212)]);if(_0x5d316a)return _0x5d316a['dataSource'][_0x43efcc(0x203)]();}['updateRange'](_0x2f12bb){const _0x3045bd=_0x6489ad;return this['_injector'][_0x3045bd(0x17d)](_0x5d1745)['executeCommand'](_0x47e528['id'],{'unitId':this['unitId'],'chartModelId':this[_0x3045bd(0x212)],'range':_0x2f12bb});}['getSeriesData'](){const _0x3cef95=_0x6489ad;var _0xeb8e78;const _0x575948=this[_0x3cef95(0x17a)][_0x3cef95(0x17d)](_0x5478d9)[_0x3cef95(0x1b7)](this['chartId']);if(_0x575948)return(_0xeb8e78=_0x575948[_0x3cef95(0x200)])==null?void 0x0:_0xeb8e78[_0x3cef95(0x176)];}[_0x6489ad(0x1f5)](){const _0x3a49ac=_0x6489ad;var _0x3f59f6;const _0x932372=this['_injector']['get'](_0x5478d9)[_0x3a49ac(0x1b7)](this['chartId']);if(_0x932372)return(_0x3f59f6=_0x932372[_0x3a49ac(0x200)])==null?void 0x0:_0x3f59f6['category'];}[_0x6489ad(0x1e8)](){const _0x559f5a=_0x6489ad,_0x12283d=this['_injector']['get'](_0x494d12)['getCurrentUnitForType'](_0x48060d['UNIVER_SHEET']);return new c(this[_0x559f5a(0x1f9)],this['subUnitId'],_0x12283d,this['_injector'],this[_0x559f5a(0x212)]);}}class $ extends _0x168b8c{async[_0x6489ad(0x179)](_0x531e6b){const _0x4062df=_0x6489ad;var _0x2fc203,_0x318cac,_0x23bbac;const _0x511c47=_0x531e6b[_0x4062df(0x1f9)]||this[_0x4062df(0x18d)]()[_0x4062df(0x226)](),_0xbb4d60=_0x531e6b[_0x4062df(0x1ca)]||this[_0x4062df(0x1f8)](),_0x1bf80b=_0x531e6b[_0x4062df(0x212)]||_0x3b4a58(),_0x29706e=_0x531e6b[_0x4062df(0x221)],_0x2f1038=_0x531e6b[_0x4062df(0x207)],_0x3cf3c5=_0x531e6b[_0x4062df(0x213)],_0x5b7681={'x':_0x531e6b['x'],'y':_0x531e6b['y']},_0x478c60=_0x531e6b[_0x4062df(0x1bc)],_0x3e93f3=_0x531e6b[_0x4062df(0x1aa)],_0x123bfc=(_0x2fc203=_0x531e6b[_0x4062df(0x1f1)])==null?void 0x0:_0x2fc203[_0x4062df(0x1cc)],_0x1e8d8e=(_0x318cac=_0x531e6b[_0x4062df(0x1f1)])==null?void 0x0:_0x318cac[_0x4062df(0x193)],_0x4577e6=C(_0x511c47,_0x1bf80b,_0x29706e,_0x531e6b[_0x4062df(0x1f1)]),_0x2ea602=(_0x23bbac=_0x531e6b['isRowDirection'])!=null?_0x23bbac:!0x0;if(!_0x2f1038)throw new Error(_0x4062df(0x1e3));return await this[_0x4062df(0x1a1)][_0x4062df(0x210)](_0x271351['id'],{'unitId':_0x511c47,'subUnitId':_0xbb4d60,'chartId':_0x1bf80b,'chartType':_0x29706e,'range':_0x2f1038,'sourceSheetName':_0x3cf3c5,'position':_0x5b7681,'width':_0x478c60,'height':_0x3e93f3,'backgroundColor':_0x123bfc,'borderColor':_0x1e8d8e,'config':_0x4577e6,'isRowDirection':_0x2ea602}),new P(_0x511c47,_0xbb4d60,_0x1bf80b,this[_0x4062df(0x17a)]);}[_0x6489ad(0x1b4)](_0xc9d80){const _0xfca2fa=_0x6489ad,{unitId:_0x1973f7,chartId:_0x57ae3e,chartType:_0x5c100c,options:_0x43be30}=_0xc9d80,_0x38c2f8=C(_0x1973f7,_0x57ae3e,_0x5c100c,_0x43be30);this[_0xfca2fa(0x1a1)][_0xfca2fa(0x210)](_0x6768cb['id'],_0x38c2f8);}[_0x6489ad(0x174)](_0x1ee8ec){const _0x57580e=_0x6489ad;if(_0x1ee8ec)return new c(_0x1ee8ec['unitId'],_0x1ee8ec[_0x57580e(0x1ca)],this[_0x57580e(0x1dc)],this['_injector'],_0x1ee8ec[_0x57580e(0x212)]);const _0x29033a=this[_0x57580e(0x18d)]()[_0x57580e(0x226)](),_0x455298=this[_0x57580e(0x1f8)]();return new c(_0x29033a,_0x455298,this[_0x57580e(0x1dc)],this[_0x57580e(0x17a)]);}[_0x6489ad(0x195)](){const _0x57185a=_0x6489ad,_0x4c84b5=this[_0x57185a(0x17a)][_0x57185a(0x17d)](_0x5478d9),_0x4a86ae=this['getWorkbook']()['getUnitId']();return _0x4c84b5['getUnitChartModels'](_0x4a86ae,this[_0x57185a(0x1f8)]())[_0x57185a(0x224)](_0xd07f07=>new P(_0x4a86ae,this[_0x57185a(0x1f8)](),_0xd07f07['id'],this[_0x57185a(0x17a)]));}[_0x6489ad(0x1f0)](_0x3313cd){const _0x8d6408=_0x6489ad,_0x24dea3=_0x3313cd[_0x8d6408(0x1f9)],_0x48ce8b=_0x3313cd[_0x8d6408(0x1ca)],_0x216d9b=_0x3313cd[_0x8d6408(0x212)],_0x3b3852={'unitId':_0x24dea3,'drawings':[{'unitId':_0x24dea3,'subUnitId':_0x48ce8b,'drawingId':_0x216d9b,'drawingType':_0x11afe4['DRAWING_CHART']}]};return this[_0x8d6408(0x1a1)][_0x8d6408(0x210)](_0x54c5f5['id'],_0x3b3852);}[_0x6489ad(0x1ea)](_0x13f9fc,_0x56935b){const _0x1a2a78=_0x6489ad;this[_0x1a2a78(0x17a)][_0x1a2a78(0x17d)](_0x1667c4)[_0x1a2a78(0x1c5)](_0x13f9fc,_0x56935b);}}_0x168b8c[_0x6489ad(0x229)]($);class tt extends _0x13aa4e{get[_0x6489ad(0x1b2)](){return _0x4336d0;}get['LegendPositionEnum'](){return _0x217f86;}get[_0x6489ad(0x1cb)](){return _0x121587;}get[_0x6489ad(0x1c7)](){return _0x26ca8f;}get[_0x6489ad(0x225)](){return _0x357d6f;}get[_0x6489ad(0x19f)](){return _0x571d3c;}get[_0x6489ad(0x1da)](){return _0x4c5326;}get[_0x6489ad(0x181)](){return _0x42d088;}}_0x13aa4e[_0x6489ad(0x229)](tt);class et extends c{constructor(_0x12a116,_0x2ebee1,_0x44e040,_0x3de597,_0x599745){const _0x588463=_0x6489ad;super(_0x12a116,_0x2ebee1,_0x44e040,_0x3de597,_0x599745),n(this,'lineStyle'),n(this,_0x588463(0x1eb)),n(this,_0x588463(0x20e)),n(this,'dataPointSize');}[_0x6489ad(0x22a)](_0x325b38){const _0x19663b=_0x6489ad;return this[_0x19663b(0x1db)]=_0x325b38,this;}[_0x6489ad(0x18c)](_0x4862d0){const _0x1be715=_0x6489ad;return this[_0x1be715(0x1eb)]=_0x4862d0,this;}[_0x6489ad(0x1e0)](_0x128fec){return this['dataPointColor']=_0x128fec,this;}[_0x6489ad(0x1a7)](_0x4d75fd){const _0x1ea22f=_0x6489ad;return this[_0x1ea22f(0x187)]=_0x4d75fd,this;}[_0x6489ad(0x1b6)](){const _0x145d94=_0x6489ad,_0x256da1=super[_0x145d94(0x1b6)]();_0x256da1[_0x145d94(0x221)]=_0x4336d0[_0x145d94(0x1c6)];const _0x4bb8e9=_0x256da1[_0x145d94(0x1f1)]||{};return s(_0x4bb8e9,_0x145d94(0x1a8),this[_0x145d94(0x1db)]),s(_0x4bb8e9,_0x145d94(0x197),this[_0x145d94(0x1eb)]),s(_0x4bb8e9,_0x145d94(0x1ee),this['dataPointColor']),s(_0x4bb8e9,_0x145d94(0x1c4),this[_0x145d94(0x187)]),_0x256da1[_0x145d94(0x1f1)]=_0x4bb8e9,_0x256da1;}}function _0x15e6(){const _0x555dd6=['RadarShape','allSeriesStyle.label','rightYAxis.label.axisTitleAlign','titles.title.font','tooltip.indicatorLabelTextColor','indicatorLabelTextColor','dataPointSize','setRightYAxisTextStyle','titles.title.bold','yAxisTitle','showLabelLine','setDataPointShape','getWorkbook','titleAlignment','setAxisPointerStyle','content','yAxis','radar','borderColor','setBorderColor','getCharts','color','allSeriesStyle.point.shape','legend.label.fontSize','top','3981nUlnvi','allSeriesStyle.rightYAxis','titles.xAxisTitle.bold','titles.yAxisTitle.color','45EzIftJ','LinePointShape','clearRange','_commandService','yRightAxis','allSeriesStyle.point','transposeRowsAndColumns','titles.xAxisTitle.color','allSeriesStyle','setDataPointSize','area.lineStyle','area','height','selectMode','legend.label.color','isHalfPie','setHeight','titles.title.align','titles.title.content','titles.rightYAxisTitle.family','ChartType','1760170IxBBli','updateChart','invalidValueType','build','getChartModel','196OcSFcV','setXAxisTextStyle','left','pie.isHalfPie','width','sheetName','setShape','18qmGmWI','string','with','setYAxisTitle','setRosePie','allSeriesStyle.point.size','registerTheme','Line','AxisAlignEnum','setInvalidValueStrategy','bold','subUnitId','SelectModeEnum','backgroundColor','setOptions','defineProperty','legend.position','fontColor','point','titles.titlePosition','Pie','pie.doughnutHole','titles.yAxisTitle.font','titles.title.color','pie.borderColor','rosePie','titles.xAxisTitle.fontSize','TitlePositionEnum','lineStyle','_workbook','indicatorLineColor','969530DmxCVm','fontStyle','setDataPointColor','axisPointer','pie.showLabelLine','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','asPieChart','font','xAxisTitle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','modify','Radar','registerChartTheme','dataPointShape','xAxis.label.axisTitleAlign','titles.xAxisTitle.content','allSeriesStyle.point.color','radar.fill','removeChart','options','setTransposeRowsAndColumns','pie.rosePie','rightYAxisTitle','getCategoryData','shape','setXAxisTitle','getSheetId','unitId','addRange','setTheme','hasPaddingAngle','setWidth','doughnutHole','xAxis','config','symbol','titles.title.fontSize','getRangeInfo','setYAxisTextStyle','titles.title.family','indicatorLineType','range','tooltip.indicatorLineType','setAllSeriesStyle','fontSize','45310408NQaCNq','axisAlignment','border','dataPointColor','28zSUoxu','executeCommand','fill','chartId','sourceSheetName','getChartId','seriesStyleMap','theme','207683XGAPOO','position','titles.rightYAxisTitle.content','radar.shape','getRenderById','yAxis.label.axisTitleAlign','getChartType','setFill','indicatorLabelColor','titles.yAxisTitle.family','chartType','setAbsolutePosition','title','map','ChartBorderDashType','getUnitId','9071872boieit','allSeriesStyle.border','extend','setLineStyle','newChart','277262jNgEcm','series','tooltip.indicatorLabelColor','length','insertChart','_injector','gradientFill','titles.rightYAxisTitle.fontSize','get','setSeriesStyle','keys','rightYAxis'];_0x15e6=function(){return _0x555dd6;};return _0x15e6();}class it extends c{['asLineChart'](){const _0x9a4ca8=_0x6489ad;return new et(this[_0x9a4ca8(0x1f9)],this[_0x9a4ca8(0x1ca)],this[_0x9a4ca8(0x1dc)],this[_0x9a4ca8(0x17a)],this[_0x9a4ca8(0x212)]);}}c[_0x6489ad(0x229)](it);class st extends c{constructor(_0x4d8fe3,_0x2d27c7,_0x569a76,_0x55d23b,_0x595510){const _0x3a4b3b=_0x6489ad;super(_0x4d8fe3,_0x2d27c7,_0x569a76,_0x55d23b,_0x595510),n(this,_0x3a4b3b(0x1fe)),n(this,_0x3a4b3b(0x193)),n(this,'hasPaddingAngle'),n(this,_0x3a4b3b(0x1ad)),n(this,_0x3a4b3b(0x1d8)),n(this,_0x3a4b3b(0x18b));}['setDoughnutHole'](_0x9a60c9){return this['doughnutHole']=_0x9a60c9,this;}[_0x6489ad(0x194)](_0x32793f){return this['borderColor']=_0x32793f,this;}['setHasPaddingAngle'](_0x464f8c){const _0x2fce84=_0x6489ad;return this[_0x2fce84(0x1fc)]=_0x464f8c,this;}['setIsHalfPie'](_0x1150ca){const _0x17250d=_0x6489ad;return this[_0x17250d(0x1ad)]=_0x1150ca,this;}[_0x6489ad(0x1c3)](_0x194fe0){const _0x30c1da=_0x6489ad;return this[_0x30c1da(0x1d8)]=_0x194fe0,this;}['setShowLabelLine'](_0x47e504){const _0xf07a60=_0x6489ad;return this[_0xf07a60(0x18b)]=_0x47e504,this;}['build'](){const _0x3201f9=_0x6489ad,_0x32b3c5=super[_0x3201f9(0x1b6)]();_0x32b3c5[_0x3201f9(0x221)]=_0x4336d0[_0x3201f9(0x1d3)];const _0x9626e8=_0x32b3c5[_0x3201f9(0x1f1)]||{};return s(_0x9626e8,'pie.doughnutHole',this[_0x3201f9(0x1fe)]),s(_0x9626e8,_0x3201f9(0x1d7),this[_0x3201f9(0x193)]),s(_0x9626e8,'pie.hasPaddingAngle',this['hasPaddingAngle']),s(_0x9626e8,_0x3201f9(0x1bb),this[_0x3201f9(0x1ad)]),s(_0x9626e8,'pie.rosePie',this[_0x3201f9(0x1d8)]),s(_0x9626e8,_0x3201f9(0x1e2),this[_0x3201f9(0x18b)]),_0x32b3c5[_0x3201f9(0x1f1)]=_0x9626e8,_0x32b3c5;}}class rt extends c{[_0x6489ad(0x1e4)](){const _0xe852bc=_0x6489ad;return new st(this[_0xe852bc(0x1f9)],this[_0xe852bc(0x1ca)],this[_0xe852bc(0x1dc)],this[_0xe852bc(0x17a)],this['chartId']);}}c[_0x6489ad(0x229)](rt);class ot extends c{constructor(_0x5ea52d,_0x9912ff,_0x575d27,_0x375d2c,_0x162457){const _0x567afe=_0x6489ad;super(_0x5ea52d,_0x9912ff,_0x575d27,_0x375d2c,_0x162457),n(this,'shape'),n(this,_0x567afe(0x211));}[_0x6489ad(0x1be)](_0x1e8461){const _0x3d8d55=_0x6489ad;return this[_0x3d8d55(0x1f6)]=_0x1e8461,this;}[_0x6489ad(0x21e)](_0x5aa927){const _0x233cd3=_0x6489ad;return this[_0x233cd3(0x211)]=_0x5aa927,this;}[_0x6489ad(0x1b6)](){const _0x2a039b=_0x6489ad,_0x487058=super['build']();_0x487058[_0x2a039b(0x221)]=_0x4336d0[_0x2a039b(0x1e9)];const _0x11ab0f=_0x487058[_0x2a039b(0x1f1)]||{};return s(_0x11ab0f,_0x2a039b(0x21a),this['shape']),s(_0x11ab0f,_0x2a039b(0x1ef),this['fill']),_0x487058[_0x2a039b(0x1f1)]=_0x11ab0f,_0x487058;}}class nt extends c{['asRadarChart'](){const _0xc94fca=_0x6489ad;return new ot(this[_0xc94fca(0x1f9)],this[_0xc94fca(0x1ca)],this[_0xc94fca(0x1dc)],this['_injector'],this[_0xc94fca(0x212)]);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};