@univerjs-pro/sheets-chart-ui 0.18.0 → 0.19.0

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 +17 -17
@@ -1 +1 @@
1
- const _0x27d401=_0x28ae;(function(_0x63956e,_0x1ca128){const _0x50875e=_0x28ae,_0x252483=_0x63956e();while(!![]){try{const _0x477ba6=parseInt(_0x50875e(0xeb))/0x1*(parseInt(_0x50875e(0x97))/0x2)+parseInt(_0x50875e(0xef))/0x3+parseInt(_0x50875e(0xa5))/0x4+parseInt(_0x50875e(0xa7))/0x5+parseInt(_0x50875e(0x10c))/0x6*(parseInt(_0x50875e(0x9d))/0x7)+parseInt(_0x50875e(0xfb))/0x8+parseInt(_0x50875e(0xae))/0x9*(-parseInt(_0x50875e(0xc9))/0xa);if(_0x477ba6===_0x1ca128)break;else _0x252483['push'](_0x252483['shift']());}catch(_0x22a513){_0x252483['push'](_0x252483['shift']());}}}(_0x2b9d,0x4363a));const e={'chart':{'insertChart':_0x27d401(0xa4),'editChart':_0x27d401(0xaa),'openChartPanel':_0x27d401(0xe0),'deleteChart':'刪除圖表','hideChartPanel':_0x27d401(0xff),'setupChart':_0x27d401(0xa9),'customChart':_0x27d401(0xe5),'default':'默認','reset':'重置','chartType':_0x27d401(0xcf),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x27d401(0xab),'moreSettings':_0x27d401(0x8e),'min':'最小值','max':_0x27d401(0xd8),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x27d401(0x99)},'blank':_0x27d401(0xf9),'seriesBlock':{'format':'格式','dataPointStyle':_0x27d401(0x107)},'backgroundColor':_0x27d401(0xe6),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':'主標題','subTitle':'副標題','xAxisTitle':_0x27d401(0xf6),'yAxisTitle':_0x27d401(0x109),'rightYAxisTitle':'右Y軸標題','titleFormat':_0x27d401(0xe8),'titleText':'標題文本','titlePosition':_0x27d401(0xe9),'titleAlign':_0x27d401(0x106)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x27d401(0xad),'settingsLabels':{'switchToRowOrColumn':_0x27d401(0xc5),'useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':_0x27d401(0x110)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x27d401(0xe3),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x27d401(0xf8),'horizontalAxis':_0x27d401(0xb8),'verticalAxis':_0x27d401(0xbe),'rightVerticalAxis':_0x27d401(0xfa),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x27d401(0x95)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x27d401(0xec),'indicatorLine':'指示線','indicatorLineType':_0x27d401(0xe7),'indicatorLineColor':_0x27d401(0xee),'indicatorLabel':_0x27d401(0xf1),'indicatorValue':_0x27d401(0xdb),'shape':{'polygon':_0x27d401(0xda),'circle':'圓形','square':_0x27d401(0xbd),'triangle':_0x27d401(0xd7),'diamond':'菱形','rect':'矩形','roundRect':_0x27d401(0xd1),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x27d401(0xa3),'emptySquare':'空心正方形','emptyTriangle':_0x27d401(0xd3),'emptyDiamond':_0x27d401(0xc8),'emptyRect':'空心矩形','emptyRoundRect':_0x27d401(0xc6),'emptyPin':_0x27d401(0x113),'emptyArrow':_0x27d401(0xd6)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x27d401(0x111),'withColor':'{0}\x20顏色','withThickness':_0x27d401(0xfe),'withType':_0x27d401(0xf5),'withSize':_0x27d401(0xbf),'withShape':_0x27d401(0x9c),'withFormat':_0x27d401(0x100),'dataPoint':'數據點','dataNodeShape':_0x27d401(0xcb),'addDataPoint':_0x27d401(0xb7),'point':_0x27d401(0xb3),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x27d401(0x10a)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x27d401(0xb5)},'ticks':{'majorTick':_0x27d401(0x117),'tickPosition':_0x27d401(0xc7),'tickLength':_0x27d401(0xc2)},'none':'無','theIndexItem':_0x27d401(0xdf),'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x27d401(0xed),'styleEditPanel':{'showLabels':_0x27d401(0xac),'showDataLabels':'顯示數據標籤','padAngle':_0x27d401(0xde),'halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':_0x27d401(0x118),'pieValSuffix':_0x27d401(0x8d),'pieDigitalFixed':'小數位數','showLabelLine':_0x27d401(0x96),'reverseAxisOrder':'逆序軸','showAxisLine':'顯示軸線','labelPosition':'標籤位置','labelText':'標籤文本','repeatWordCould':_0x27d401(0xb6),'gap':'間隔','useAbsValue':_0x27d401(0x10f),'labelRotate':_0x27d401(0xba),'wordCloudShape':_0x27d401(0x108),'useDateAxis':_0x27d401(0x93),'dateAxisTips':_0x27d401(0xd0)},'radar':{'fill':'填充'},'doughnutHole':_0x27d401(0xaf),'msg':{'invalidSource':_0x27d401(0xd9),'emptyTips':'請先添加系列開始數據可視化','sankeyCircularTips':_0x27d401(0xd5)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x27d401(0xf4),'displayName':_0x27d401(0x101),'addTrendLine':_0x27d401(0x105),'trendlineType':_0x27d401(0xe1),'trendlineName':_0x27d401(0x101),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x27d401(0x112),'trendlineDashType':_0x27d401(0xe2),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x27d401(0xd4),'poly':_0x27d401(0xfd),'order':'多項式階數','period':_0x27d401(0xa0),'showFormula':_0x27d401(0x116),'showR2':'顯示R平方','formula':'公式','r2':_0x27d401(0xc1)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x27d401(0xf3),'label':_0x27d401(0xfc),'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':_0x27d401(0xb2),'auto':'自動','circular':'環形','force':_0x27d401(0xbb),'useValueAsSymbolSize':_0x27d401(0xa1),'layoutType':'佈局類型','forceOptions':_0x27d401(0x90),'repulsion':'斥力','gravity':'引力','edgeLength':_0x27d401(0x9b),'rotateLabel':_0x27d401(0xbc),'emphasis':_0x27d401(0x10d),'emptyTips':_0x27d401(0xf2)},'waterfall':{'stackType':_0x27d401(0x102),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x27d401(0x115),'negativeStyle':_0x27d401(0x9a),'subtotalStyle':_0x27d401(0xdd),'positiveLegendText':_0x27d401(0xd2),'negativeLegendText':'負值圖例文本','subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':_0x27d401(0xc4),'lineSeries':_0x27d401(0xea),'barSeries':_0x27d401(0xdc)},'visualMapScope':_0x27d401(0x9e),'boxplot':{'min':_0x27d401(0xa6),'q1':'第一四分位數','median':_0x27d401(0xa2),'q3':'第三四分位數','max':'最大值'}},'chartTypes':{'line':_0x27d401(0xb0),'area':_0x27d401(0x104),'areaStacked':_0x27d401(0x8f),'areaPercentStacked':_0x27d401(0xf7),'column':_0x27d401(0x9f),'bar':_0x27d401(0xcc),'barStacked':_0x27d401(0xf0),'barPercentStacked':_0x27d401(0xce),'pie':'餅圖','donut':_0x27d401(0xc3),'scatter':'散點圖','radar':'雷達圖','bubble':_0x27d401(0xa8),'stock':'股票圖','combination':_0x27d401(0xc0),'wordCloud':_0x27d401(0x91),'funnel':'漏斗圖','relation':_0x27d401(0xb2),'waterfall':_0x27d401(0xe4),'pareto':_0x27d401(0x92),'sankey':_0x27d401(0xb4),'heatmap':_0x27d401(0x10e),'boxplot':_0x27d401(0xb1)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x27d401(0xb9),'fieldSetting':'字段設置','formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x27d401(0xcd),'accountingDesc':_0x27d401(0x8c),'currencyDesc':_0x27d401(0xca),'dateDesc':_0x27d401(0x10b),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':_0x27d401(0x94),'currencyTypes':'貨幣類型','negativeNumberTypes':_0x27d401(0x103),'dateTypes':_0x27d401(0x114)},'setFormat':_0x27d401(0x98)}};function _0x28ae(_0x3643ac,_0x3bf361){_0x3643ac=_0x3643ac-0x8c;const _0x2b9dd2=_0x2b9d();let _0x28ae97=_0x2b9dd2[_0x3643ac];return _0x28ae97;}function _0x2b9d(){const _0x375332=['{0}\x20類型','X軸標題','百分比堆疊面積圖','軸選項','(空)','右垂直軸','1074840OaUbPk','氣泡標籤','多項式','{0}\x20粗細','隱藏圖表面板','{0}\x20格式','趨勢線名稱','堆疊方式','負數類型','面積圖','添加趨勢線','標題對齊','數據點樣式','詞雲形狀','Y軸標題','百分比堆疊','日期格式將日期和時間系列數值顯示為日期值。','18504ntnUxw','開啟選中淡入特效','熱力圖','使用絕對值','右對齊','{0}\x20透明度','趨勢線粗細','空心針形','日期類型','正值樣式','顯示公式','主刻度線','数值比例','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','数值后缀','更多設置','堆疊面積圖','力導向選項','詞雲圖','排列圖','使用日期軸','小數位數','使用右軸','顯示標籤線','6huIlQO','設置標籤格式','用直線連接數據點','負值樣式','節點距離','{0}\x20形狀','168hOXDXa','視覺映射範圍','柱狀圖','移動平均周期','使用值作為節點大小','中位數','空心圓形','插入圖表','833512UfXShB','最小值','2715485rlJhes','氣泡圖','設置圖表','編輯圖表','添加系列','顯示標籤','漸變填充','5670612aytsuW','圓環孔','折線圖','箱型圖','關係圖','數據點','桑基圖','網格線','重複詞雲標籤','添加數據點','水平軸','千分位符','標籤旋轉','力導向','旋轉標籤','正方形','垂直軸','{0}\x20大小','組合圖','R平方','刻度線長度','環形圖','累積占比','切換列或欄','空心圓角矩形','刻度線位置','空心菱形','20zEVFtS','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','節點形狀','條形圖','常規格式不包含任何特定的數字格式。','百分比堆疊條形圖','圖表類型','日期軸僅在數據全部為日期格式時可用','圓角矩形','正值圖例文本','空心三角形','移動平均','桑基圖不能包含循環數據','空心箭頭','三角形','最大值','圖表數據源必須包含多於1列和1欄。','多邊形','指示值','長條圖系列','小計樣式','扇形間距','第\x20{0}\x20項','打開圖表面板','趨勢線類型','趨勢線線類型','圖例選擇模式','瀑布圖','自定義圖表','背景顏色','指示線類型','標題格式','標題位置','累積占比系列','173599LItXzZ','網格線和刻度線','類別\x20{0}','指示線顏色','166557blNRHw','堆疊條形圖','指示標籤','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','氣泡大小','趨勢線'];_0x2b9d=function(){return _0x375332;};return _0x2b9d();}module['exports']=e;
1
+ const _0x12f0f6=_0x3dce;(function(_0x33812b,_0x2aba34){const _0x398b0a=_0x3dce,_0x35ded8=_0x33812b();while(!![]){try{const _0x1d5f3a=parseInt(_0x398b0a(0x1af))/0x1+parseInt(_0x398b0a(0x1a4))/0x2*(parseInt(_0x398b0a(0x13f))/0x3)+parseInt(_0x398b0a(0x16e))/0x4*(-parseInt(_0x398b0a(0x1ad))/0x5)+parseInt(_0x398b0a(0x13c))/0x6+-parseInt(_0x398b0a(0x173))/0x7*(parseInt(_0x398b0a(0x16f))/0x8)+-parseInt(_0x398b0a(0x176))/0x9+-parseInt(_0x398b0a(0x18f))/0xa*(-parseInt(_0x398b0a(0x13e))/0xb);if(_0x1d5f3a===_0x2aba34)break;else _0x35ded8['push'](_0x35ded8['shift']());}catch(_0x598a1a){_0x35ded8['push'](_0x35ded8['shift']());}}}(_0x52b7,0xbae43));function _0x52b7(){const _0x2cb065=['60CJifAF','数值后缀','標籤文本','添加數據點','日期格式將日期和時間系列數值顯示為日期值。','組合圖','空心三角形','逆序軸','刪除圖表','顯示數據標籤','百分比','趨勢線','左對齊','多邊形','右垂直軸','數據點樣式','桑基圖','開啟選中淡入特效','主刻度線','小計圖例文本','散點圖','1844TycSEt','標籤位置','佈局類型','使用右軸','熱力圖','力導向選項','空心菱形','使用絕對值','氣泡圖至少需要2欄,X軸、Y軸。','15GZgrNM','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','1269174cPHeex','格式類型','千分位符','面積圖','更多設置','数值比例','指示標籤','重複詞雲標籤','顯示標籤線','節點形狀','正值樣式','圖例選擇模式','使用\x20{0}\x20作為類別標籤','數據標籤','圓角矩形','exports','視覺映射範圍','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','圖表樣式','詞雲形狀','數據點','副標題','{0}\x20粗細','堆疊條形圖','(空)','趨勢線顏色','力導向','{0}\x20類型','多項式階數','氣泡標籤','5251722UJowRh','空心正方形','1116511lGYlKx','2106fLLAyn','三角形','設置圖表','顯示R平方','最小值','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','第一四分位數','空心矩形','玫瑰圖','主標題','右Y軸標題','條形圖','指示線','圖表類型','線類型','常規格式不包含任何特定的數字格式。','桑基圖不能包含循環數據','日期類型','堆疊面積圖','小計樣式','所有系列','指示值','氣泡大小','正方形','柱狀圖','圖表邊框顏色','堆疊方式','小數位數','瀑布圖','長條圖系列','股票圖','漏斗圖','貨幣類型','插入圖表','{0}\x20顏色','顯示空單元格為','顯示標籤','背景顏色','負值圖例文本','日期軸僅在數據全部為日期格式時可用','關係圖','垂直軸','打開圖表面板','圖表數據源必須包含多於1列和1欄。','第\x20{0}\x20項','用直線連接數據點','排列圖','1044908jlXjeB','80bMqQTm','詞雲圖','X軸標題','負數類型','1029224hrHbfX','指示線顏色','指示線類型','3430827GrnlUf','節點距離','隱藏圖表面板','顯示小計','軸選項','空心圓形','累積占比','移動平均周期','圓環孔','{0}\x20格式','漸變填充','百分比堆疊條形圖','字段設置','Y軸標題','環形圖','顯示軸線','空心圓角矩形','標籤旋轉','標題文本','最大值','標題格式','折線圖','扇形間距','負值樣式','{0}\x20大小'];_0x52b7=function(){return _0x2cb065;};return _0x52b7();}function _0x3dce(_0x42d5e5,_0x47f193){_0x42d5e5=_0x42d5e5-0x122;const _0x52b7e0=_0x52b7();let _0x3dce23=_0x52b7e0[_0x42d5e5];return _0x3dce23;}const e={'chart':{'insertChart':_0x12f0f6(0x160),'editChart':'編輯圖表','openChartPanel':_0x12f0f6(0x169),'deleteChart':_0x12f0f6(0x197),'hideChartPanel':_0x12f0f6(0x178),'setupChart':_0x12f0f6(0x141),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x12f0f6(0x14c),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x12f0f6(0x153),'series':'系列','addSeries':'添加系列','moreSettings':_0x12f0f6(0x122),'min':_0x12f0f6(0x143),'max':_0x12f0f6(0x189),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x12f0f6(0x16c)},'blank':_0x12f0f6(0x136),'seriesBlock':{'format':'格式','dataPointStyle':_0x12f0f6(0x19e)},'backgroundColor':_0x12f0f6(0x164),'chartBorderColor':_0x12f0f6(0x158),'titles':{'title':'標題','mainTitle':_0x12f0f6(0x148),'subTitle':_0x12f0f6(0x133),'xAxisTitle':_0x12f0f6(0x171),'yAxisTitle':_0x12f0f6(0x183),'rightYAxisTitle':_0x12f0f6(0x149),'titleFormat':_0x12f0f6(0x18a),'titleText':_0x12f0f6(0x188),'titlePosition':'標題位置','titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x12f0f6(0x180),'settingsLabels':{'switchToRowOrColumn':'切換列或欄','useAsCategoryLabels':_0x12f0f6(0x12a),'showEmptyCellsAs':_0x12f0f6(0x162)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x12f0f6(0x19b),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x12f0f6(0x130),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x12f0f6(0x129),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x12f0f6(0x17a),'horizontalAxis':'水平軸','verticalAxis':_0x12f0f6(0x168),'rightVerticalAxis':_0x12f0f6(0x19d),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x12f0f6(0x1a7)},'position':'位置','dataLabels':_0x12f0f6(0x12b),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x12f0f6(0x14b),'indicatorLineType':_0x12f0f6(0x175),'indicatorLineColor':_0x12f0f6(0x174),'indicatorLabel':_0x12f0f6(0x124),'indicatorValue':_0x12f0f6(0x154),'shape':{'polygon':_0x12f0f6(0x19c),'circle':'圓形','square':_0x12f0f6(0x156),'triangle':_0x12f0f6(0x140),'diamond':'菱形','rect':'矩形','roundRect':_0x12f0f6(0x12c),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x12f0f6(0x17b),'emptySquare':_0x12f0f6(0x13d),'emptyTriangle':_0x12f0f6(0x195),'emptyDiamond':_0x12f0f6(0x1aa),'emptyRect':_0x12f0f6(0x146),'emptyRoundRect':_0x12f0f6(0x186),'emptyPin':'空心針形','emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x12f0f6(0x161),'withThickness':_0x12f0f6(0x134),'withType':_0x12f0f6(0x139),'withSize':_0x12f0f6(0x18e),'withShape':'{0}\x20形狀','withFormat':_0x12f0f6(0x17f),'dataPoint':'數據點','dataNodeShape':_0x12f0f6(0x127),'addDataPoint':_0x12f0f6(0x192),'point':_0x12f0f6(0x132),'percentage':_0x12f0f6(0x199),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':_0x12f0f6(0x14d),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':'網格線'},'ticks':{'majorTick':_0x12f0f6(0x1a1),'tickPosition':'刻度線位置','tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x12f0f6(0x16b),'seriesDefaultName':'系列\x20{0}','categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':_0x12f0f6(0x163),'showDataLabels':_0x12f0f6(0x198),'padAngle':_0x12f0f6(0x18c),'halfPie':'半餅','rosePie':_0x12f0f6(0x147),'pieValScale':_0x12f0f6(0x123),'pieValSuffix':_0x12f0f6(0x190),'pieDigitalFixed':_0x12f0f6(0x15a),'showLabelLine':_0x12f0f6(0x126),'reverseAxisOrder':_0x12f0f6(0x196),'showAxisLine':_0x12f0f6(0x185),'labelPosition':_0x12f0f6(0x1a5),'labelText':_0x12f0f6(0x191),'repeatWordCould':_0x12f0f6(0x125),'gap':'間隔','useAbsValue':_0x12f0f6(0x1ab),'labelRotate':_0x12f0f6(0x187),'wordCloudShape':_0x12f0f6(0x131),'useDateAxis':'使用日期軸','dateAxisTips':_0x12f0f6(0x166)},'radar':{'fill':'填充'},'doughnutHole':_0x12f0f6(0x17e),'msg':{'invalidSource':_0x12f0f6(0x16a),'emptyTips':'請先添加系列開始數據可視化','sankeyCircularTips':_0x12f0f6(0x14f)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x12f0f6(0x19a),'displayName':'趨勢線名稱','addTrendLine':'添加趨勢線','trendlineType':'趨勢線類型','trendlineName':'趨勢線名稱','trendlineColor':_0x12f0f6(0x137),'trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':'多項式','order':_0x12f0f6(0x13a),'period':_0x12f0f6(0x17d),'showFormula':'顯示公式','showR2':_0x12f0f6(0x142),'formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x12f0f6(0x155),'label':_0x12f0f6(0x13b),'emptyTips':_0x12f0f6(0x1ac)},'relation':{'title':_0x12f0f6(0x167),'auto':'自動','circular':'環形','force':_0x12f0f6(0x138),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0x12f0f6(0x1a6),'forceOptions':_0x12f0f6(0x1a9),'repulsion':'斥力','gravity':'引力','edgeLength':_0x12f0f6(0x177),'rotateLabel':'旋轉標籤','emphasis':_0x12f0f6(0x1a0),'emptyTips':_0x12f0f6(0x144)},'waterfall':{'stackType':_0x12f0f6(0x159),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x12f0f6(0x179),'positiveStyle':_0x12f0f6(0x128),'negativeStyle':_0x12f0f6(0x18d),'subtotalStyle':_0x12f0f6(0x152),'positiveLegendText':'正值圖例文本','negativeLegendText':_0x12f0f6(0x165),'subtotalLegendText':_0x12f0f6(0x1a2)},'pareto':{'lineName':_0x12f0f6(0x17c),'lineSeries':'累積占比系列','barSeries':_0x12f0f6(0x15c)},'visualMapScope':_0x12f0f6(0x12e),'boxplot':{'min':_0x12f0f6(0x143),'q1':_0x12f0f6(0x145),'median':'中位數','q3':'第三四分位數','max':_0x12f0f6(0x189)}},'chartTypes':{'line':_0x12f0f6(0x18b),'area':_0x12f0f6(0x1b2),'areaStacked':_0x12f0f6(0x151),'areaPercentStacked':'百分比堆疊面積圖','column':_0x12f0f6(0x157),'bar':_0x12f0f6(0x14a),'barStacked':_0x12f0f6(0x135),'barPercentStacked':_0x12f0f6(0x181),'pie':'餅圖','donut':_0x12f0f6(0x184),'scatter':_0x12f0f6(0x1a3),'radar':'雷達圖','bubble':'氣泡圖','stock':_0x12f0f6(0x15d),'combination':_0x12f0f6(0x194),'wordCloud':_0x12f0f6(0x170),'funnel':_0x12f0f6(0x15e),'relation':'關係圖','waterfall':_0x12f0f6(0x15b),'pareto':_0x12f0f6(0x16d),'sankey':_0x12f0f6(0x19f),'heatmap':_0x12f0f6(0x1a8),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x12f0f6(0x1b1),'fieldSetting':_0x12f0f6(0x182),'formatTypes':_0x12f0f6(0x1b0),'confirm':'確定','cancel':'取消','generalDesc':_0x12f0f6(0x14e),'accountingDesc':_0x12f0f6(0x12f),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x12f0f6(0x193),'thousandthPercentileDesc':_0x12f0f6(0x1ae),'decimalPlaces':_0x12f0f6(0x15a),'currencyTypes':_0x12f0f6(0x15f),'negativeNumberTypes':_0x12f0f6(0x172),'dateTypes':_0x12f0f6(0x150)},'setFormat':'設置標籤格式'}};module[_0x12f0f6(0x12d)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x2c4120=_0x449b;(function(_0x2cb9bf,_0x357161){const _0x577d74=_0x449b,_0x4ba627=_0x2cb9bf();while(!![]){try{const _0x47c3a8=parseInt(_0x577d74(0x18f))/0x1+-parseInt(_0x577d74(0x17c))/0x2+parseInt(_0x577d74(0x131))/0x3*(-parseInt(_0x577d74(0x16d))/0x4)+-parseInt(_0x577d74(0x10d))/0x5+-parseInt(_0x577d74(0xf0))/0x6*(-parseInt(_0x577d74(0x111))/0x7)+-parseInt(_0x577d74(0x19a))/0x8+parseInt(_0x577d74(0x15a))/0x9;if(_0x47c3a8===_0x357161)break;else _0x4ba627['push'](_0x4ba627['shift']());}catch(_0x344e05){_0x4ba627['push'](_0x4ba627['shift']());}}}(_0x32f8,0xacd30));import{AxisAlignEnum as _0x3a27be,ChartBorderDashType as _0x23587e,ChartThemeService as _0x587383,ChartTypeBits as _0x52be38,LegendPositionEnum as _0xdf6d89,LinePointShape as _0x1ba9bb,RadarShape as _0x1f3d24,SelectModeEnum as _0x20864a,TitlePositionEnum as _0x3eb38e}from'@univerjs-pro/engine-chart';import{ChartUpdateConfigCommand as _0x119926,ChartUpdateSourceCommand as _0x4e4a8b,SheetsChartService as _0x402e94,setProperty as _0x1974a3}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x449682}from'@univerjs-pro/sheets-chart-ui';import{DrawingTypeEnum as _0x992fa,ICommandService as _0x2cfa67,IUniverInstanceService as _0x43238f,UniverInstanceType as _0x5850c0,generateRandomId as _0x31e798}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x2206c3}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2a8411}from'@univerjs/sheets/facade';import{FBase as _0x316cd5,FEnum as _0x565a4f}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x409c36}from'@univerjs/engine-formula';import{IRenderManagerService as _0xea91af}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x23c081,SheetSkeletonManagerService as _0x15e85e,convertPositionCellToSheetOverGrid as _0x14961b}from'@univerjs/sheets-ui';const O=(_0x44287c,_0x36389d,_0x4ab5fe)=>{_0x4ab5fe!==void 0x0&&_0x1974a3(_0x44287c,_0x36389d,_0x4ab5fe);},k=(_0x19282c,_0x2a5339,_0x2d05f2,_0x13688d={})=>{const _0x54ff44=_0x449b;let _0x931fa6={},_0x23419c={};if(_0x13688d[_0x54ff44(0x1a2)]){let _0x2f8aa5=_0x13688d[_0x54ff44(0x1a2)];O(_0x931fa6,_0x54ff44(0x180),_0x2f8aa5[_0x54ff44(0x154)]),O(_0x931fa6,_0x54ff44(0x10e),_0x2f8aa5[_0x54ff44(0x15c)]),O(_0x931fa6,_0x54ff44(0x163),_0x2f8aa5[_0x54ff44(0x19c)]),O(_0x931fa6,_0x54ff44(0x108),_0x2f8aa5[_0x54ff44(0xfd)]),O(_0x931fa6,_0x54ff44(0x174),_0x2f8aa5[_0x54ff44(0x171)]),O(_0x931fa6,_0x54ff44(0x11f),_0x2f8aa5[_0x54ff44(0x12c)]),O(_0x931fa6,_0x54ff44(0x179),_0x2f8aa5['titleAlignment']),O(_0x931fa6,_0x54ff44(0x12a),_0x2f8aa5['position']);}if(_0x13688d['legend']){let _0x426ec2=_0x13688d[_0x54ff44(0x172)];O(_0x931fa6,_0x54ff44(0x178),_0x426ec2[_0x54ff44(0x12b)]),O(_0x931fa6,_0x54ff44(0xff),_0x426ec2['selectMode']),O(_0x931fa6,_0x54ff44(0x194),_0x426ec2[_0x54ff44(0x19c)]),O(_0x931fa6,_0x54ff44(0x145),_0x426ec2[_0x54ff44(0x19f)]),O(_0x931fa6,'legend.label.bold',_0x426ec2[_0x54ff44(0x12c)]),O(_0x931fa6,'legend.label.italic',_0x426ec2[_0x54ff44(0x161)]);}if(_0x13688d[_0x54ff44(0x195)]){let _0x4b332d=_0x13688d[_0x54ff44(0x195)];O(_0x931fa6,_0x54ff44(0x11b),_0x4b332d[_0x54ff44(0x112)]),O(_0x931fa6,_0x54ff44(0xf6),_0x4b332d[_0x54ff44(0xf8)]),O(_0x931fa6,_0x54ff44(0x168),_0x4b332d[_0x54ff44(0x185)]),O(_0x931fa6,'pie.isHalfPie',_0x4b332d['isHalfPie']),O(_0x931fa6,_0x54ff44(0x14f),_0x4b332d[_0x54ff44(0x155)]),O(_0x931fa6,_0x54ff44(0x11e),_0x4b332d[_0x54ff44(0xf3)]);}if(_0x13688d[_0x54ff44(0x115)]){let _0x521a61=_0x13688d[_0x54ff44(0x115)];O(_0x931fa6,_0x54ff44(0x176),_0x521a61[_0x54ff44(0x197)]),O(_0x931fa6,_0x54ff44(0x14b),_0x521a61[_0x54ff44(0x105)]),O(_0x931fa6,_0x54ff44(0x182),_0x521a61[_0x54ff44(0x126)]),O(_0x931fa6,'tooltip.indicatorLabelTextColor',_0x521a61[_0x54ff44(0x129)]);}if(_0x13688d['allSeriesStyle']&&(O(_0x931fa6,_0x54ff44(0x138),_0x13688d[_0x54ff44(0x173)][_0x54ff44(0x149)]),O(_0x931fa6,'allSeriesStyle.label',_0x13688d[_0x54ff44(0x173)][_0x54ff44(0x136)]),O(_0x931fa6,_0x54ff44(0x13c),_0x13688d['allSeriesStyle']['rightYAxis']),O(_0x931fa6,_0x54ff44(0x13b),_0x13688d[_0x54ff44(0x173)]['point']),O(_0x931fa6,_0x54ff44(0x16c),_0x13688d[_0x54ff44(0x173)]['color'])),_0x13688d[_0x54ff44(0x14d)]&&O(_0x931fa6,_0x54ff44(0x16f),_0x13688d['area'][_0x54ff44(0x159)]),_0x13688d[_0x54ff44(0x13d)]&&O(_0x931fa6,_0x54ff44(0x13d),_0x13688d[_0x54ff44(0x13d)]),_0x13688d[_0x54ff44(0x157)]&&O(_0x931fa6,'backgroundColor',_0x13688d[_0x54ff44(0x157)]),_0x13688d[_0x54ff44(0xf8)]&&O(_0x931fa6,_0x54ff44(0xf8),_0x13688d[_0x54ff44(0xf8)]),_0x13688d[_0x54ff44(0x118)]&&O(_0x931fa6,'gradientFill',_0x13688d['gradientFill']),_0x13688d['invalidValueType']&&O(_0x931fa6,_0x54ff44(0x16a),_0x13688d[_0x54ff44(0x16a)]),_0x13688d[_0x54ff44(0x164)]&&O(_0x931fa6,_0x54ff44(0x164),_0x13688d[_0x54ff44(0x164)]),_0x13688d[_0x54ff44(0x187)]){let _0x3c5539=_0x13688d['xAxisTitle'];O(_0x931fa6,_0x54ff44(0x165),_0x3c5539[_0x54ff44(0x154)]),O(_0x931fa6,_0x54ff44(0xfb),_0x3c5539['font']),O(_0x931fa6,_0x54ff44(0x150),_0x3c5539[_0x54ff44(0x19c)]),O(_0x931fa6,'titles.xAxisTitle.color',_0x3c5539[_0x54ff44(0xfd)]),O(_0x931fa6,_0x54ff44(0x189),_0x3c5539[_0x54ff44(0x171)]),O(_0x931fa6,'titles.xAxisTitle.bold',_0x3c5539[_0x54ff44(0x12c)]),O(_0x931fa6,'xAxis.label.axisTitleAlign',_0x3c5539[_0x54ff44(0x17d)]);}if(_0x13688d[_0x54ff44(0xef)]){let _0x1ee58d=_0x13688d[_0x54ff44(0xef)];O(_0x931fa6,_0x54ff44(0x17b),_0x1ee58d['content']),O(_0x931fa6,'titles.yAxisTitle.font',_0x1ee58d['font']),O(_0x931fa6,_0x54ff44(0x144),_0x1ee58d[_0x54ff44(0x19c)]),O(_0x931fa6,_0x54ff44(0x12f),_0x1ee58d[_0x54ff44(0xfd)]),O(_0x931fa6,'titles.yAxisTitle.family',_0x1ee58d[_0x54ff44(0x171)]),O(_0x931fa6,_0x54ff44(0x13f),_0x1ee58d[_0x54ff44(0x12c)]),O(_0x931fa6,_0x54ff44(0x167),_0x1ee58d[_0x54ff44(0x17d)]);}if(_0x13688d[_0x54ff44(0x192)]){let _0xc168bb=_0x13688d[_0x54ff44(0x192)];O(_0x931fa6,_0x54ff44(0x1a1),_0xc168bb[_0x54ff44(0x154)]),O(_0x931fa6,_0x54ff44(0x190),_0xc168bb[_0x54ff44(0x15c)]),O(_0x931fa6,_0x54ff44(0x193),_0xc168bb['fontSize']),O(_0x931fa6,'titles.rightYAxisTitle.color',_0xc168bb[_0x54ff44(0xfd)]),O(_0x931fa6,_0x54ff44(0xec),_0xc168bb[_0x54ff44(0x171)]),O(_0x931fa6,_0x54ff44(0x15d),_0xc168bb[_0x54ff44(0x12c)]),O(_0x931fa6,_0x54ff44(0x18d),_0xc168bb[_0x54ff44(0x17d)]);}_0x13688d[_0x54ff44(0x142)]&&O(_0x931fa6,_0x54ff44(0x142),_0x13688d[_0x54ff44(0x142)]),_0x13688d[_0x54ff44(0x10c)]&&O(_0x931fa6,'yAxis',_0x13688d[_0x54ff44(0x10c)]),_0x13688d['yRightAxis']&&O(_0x931fa6,_0x54ff44(0x162),_0x13688d['yRightAxis']),_0x13688d[_0x54ff44(0x170)]&&O(_0x931fa6,_0x54ff44(0x170),_0x13688d['seriesStyleMap']);let _0x4de160={'unitId':_0x19282c,'chartModelId':_0x2a5339},_0x4b9bf2=!0x1;if(_0x2d05f2!==void 0x0&&(_0x4de160['chartType']=_0x2d05f2,_0x4b9bf2=!0x0),Object[_0x54ff44(0x106)](_0x931fa6)['length']>0x0&&(_0x4de160[_0x54ff44(0x114)]=_0x931fa6,_0x4b9bf2=!0x0),Object['keys'](_0x23419c)[_0x54ff44(0x18a)]>0x0&&(_0x4de160[_0x54ff44(0xe9)]=_0x23419c,_0x4b9bf2=!0x0),_0x4b9bf2)return _0x4de160;};function A(_0x5bf9c7){'@babel/helpers - typeof';const _0x29e620=_0x449b;return A=typeof Symbol=='function'&&typeof Symbol[_0x29e620(0xf7)]==_0x29e620(0x117)?function(_0x3c0fad){return typeof _0x3c0fad;}:function(_0x11384f){const _0x2ac10c=_0x29e620;return _0x11384f&&typeof Symbol==_0x2ac10c(0x146)&&_0x11384f[_0x2ac10c(0x152)]===Symbol&&_0x11384f!==Symbol['prototype']?'symbol':typeof _0x11384f;},A(_0x5bf9c7);}function j(_0x530b7c,_0x93b210){const _0x21470e=_0x449b;if(A(_0x530b7c)!=_0x21470e(0x134)||!_0x530b7c)return _0x530b7c;var _0x2f5425=_0x530b7c[Symbol[_0x21470e(0xee)]];if(_0x2f5425!==void 0x0){var _0x3f232c=_0x2f5425['call'](_0x530b7c,_0x93b210||_0x21470e(0x156));if(A(_0x3f232c)!=_0x21470e(0x134))return _0x3f232c;throw TypeError(_0x21470e(0x175));}return(_0x93b210==='string'?String:Number)(_0x530b7c);}function M(_0x43950d){const _0x36a70b=_0x449b;var _0x26dda4=j(_0x43950d,'string');return A(_0x26dda4)==_0x36a70b(0x117)?_0x26dda4:_0x26dda4+'';}function N(_0x4a3d13,_0x5f2538,_0x1f3c5d){const _0x6c3503=_0x449b;return(_0x5f2538=M(_0x5f2538))in _0x4a3d13?Object[_0x6c3503(0x153)](_0x4a3d13,_0x5f2538,{'value':_0x1f3c5d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4a3d13[_0x5f2538]=_0x1f3c5d,_0x4a3d13;}var P=class extends _0x316cd5{constructor(_0x3a9e63,_0x454ba0,_0x24fe9e,_0x5a2e26,_0x33976b){const _0x4e8c1c=_0x449b;super(),N(this,'_workbook',void 0x0),N(this,_0x4e8c1c(0x14a),void 0x0),N(this,'unitId',void 0x0),N(this,_0x4e8c1c(0x148),void 0x0),N(this,_0x4e8c1c(0x128),void 0x0),N(this,_0x4e8c1c(0x109),void 0x0),N(this,_0x4e8c1c(0x119),void 0x0),N(this,'x',void 0x0),N(this,'y',void 0x0),N(this,'width',void 0x0),N(this,'height',void 0x0),N(this,_0x4e8c1c(0x124),void 0x0),N(this,'options',void 0x0),N(this,_0x4e8c1c(0x19b),void 0x0),this[_0x4e8c1c(0x16e)]=_0x3a9e63,this['subUnitId']=_0x454ba0,this['_workbook']=_0x24fe9e,this['_injector']=_0x5a2e26,_0x33976b&&(this[_0x4e8c1c(0x128)]=_0x33976b);}[_0x2c4120(0x103)](){return this['chartType'];}['addRange'](_0x3d90bc){const _0x592169=_0x2c4120;if(typeof _0x3d90bc==_0x592169(0x143)){let _0x35bb5d=_0x409c36(_0x3d90bc);_0x35bb5d[_0x592169(0x191)]&&(this[_0x592169(0x119)]=_0x35bb5d['sheetName']),this[_0x592169(0x109)]=_0x35bb5d[_0x592169(0x109)];}else this[_0x592169(0x109)]=_0x3d90bc;return this;}[_0x2c4120(0x18c)](){const _0x4e83bf=_0x2c4120;return this[_0x4e83bf(0x109)]=void 0x0,this[_0x4e83bf(0x119)]=void 0x0,this;}['setPosition'](_0x1be088,_0x113eff,_0x4c072a,_0xd0ac81){const _0x4e911d=_0x2c4120;let _0x4359cc=this[_0x4e911d(0x14a)]['get'](_0xea91af)['getRenderById'](this[_0x4e911d(0x16e)]);if(!_0x4359cc)throw Error(_0x4e911d(0x158));let _0x4dd8c1=_0x4359cc[_0x4e911d(0x181)](_0x23c081),_0x89fc37=_0x4359cc[_0x4e911d(0x181)](_0x15e85e),{transform:_0x39cf4e}=_0x14961b(this['unitId'],this[_0x4e911d(0x148)],{'row':_0x1be088,'column':_0x113eff,'rowOffset':_0x4c072a,'columnOffset':_0xd0ac81},0x1,0x1,_0x4dd8c1,_0x89fc37),_0x37cae5=_0x39cf4e[_0x4e911d(0x188)];return this['x']=_0x39cf4e['left'],this['y']=_0x37cae5,this;}[_0x2c4120(0x13e)](_0x54a786,_0x32fbee){return this['x']=_0x54a786,this['y']=_0x32fbee,this;}['setChartType'](_0x29d335){const _0x306b3a=_0x2c4120;return this[_0x306b3a(0x124)]=_0x29d335,this;}['setWidth'](_0x37c0a2){return this['width']=_0x37c0a2,this;}['setHeight'](_0x4ec9ce){const _0x4e6096=_0x2c4120;return this[_0x4e6096(0x186)]=_0x4ec9ce,this;}['setOptions'](_0x250fba,_0x4347d6){const _0x6d91e0=_0x2c4120;return this[_0x6d91e0(0xeb)]||(this[_0x6d91e0(0xeb)]={}),_0x250fba===''?(this[_0x6d91e0(0xeb)]={...this['options'],..._0x4347d6},this):(_0x1974a3(this['options'],_0x250fba,_0x4347d6),this);}[_0x2c4120(0x17a)](_0xce1a11){const _0x1bc03a=_0x2c4120;return this[_0x1bc03a(0x19b)]=_0xce1a11,this;}[_0x2c4120(0x16b)](_0x3f7593){const _0x30d8ee=_0x2c4120;return this[_0x30d8ee(0x1a0)](_0x30d8ee(0x13d),_0x3f7593),this;}[_0x2c4120(0x17e)](_0x423a24){const _0xb75e81=_0x2c4120;var _0x6f7bb1;let _0x3677f4=((_0x6f7bb1=this[_0xb75e81(0xeb)])==null?void 0x0:_0x6f7bb1[_0xb75e81(0x187)])||{};return _0x3677f4['content']=_0x423a24,this[_0xb75e81(0x1a0)]('xAxisTitle',_0x3677f4),this;}[_0x2c4120(0x120)](_0x5727cb){const _0x26eace=_0x2c4120;var _0x4336ab;let _0x47a8a=((_0x4336ab=this[_0x26eace(0xeb)])==null?void 0x0:_0x4336ab[_0x26eace(0xef)])||{};return _0x47a8a[_0x26eace(0x154)]=_0x5727cb,this[_0x26eace(0x1a0)](_0x26eace(0xef),_0x47a8a),this;}[_0x2c4120(0x122)](_0x23c6b7){const _0x51e3c2=_0x2c4120;var _0x404cec;let _0xe87a44=((_0x404cec=this['options'])==null?void 0x0:_0x404cec[_0x51e3c2(0x192)])||{};return _0xe87a44[_0x51e3c2(0x154)]=_0x23c6b7,this[_0x51e3c2(0x1a0)](_0x51e3c2(0x192),_0xe87a44),this;}['setXAxisTextStyle'](_0x406d2a){const _0x12eeb6=_0x2c4120;var _0x275b57;let _0x5167c3=((_0x275b57=this[_0x12eeb6(0xeb)])==null?void 0x0:_0x275b57[_0x12eeb6(0x187)])||{};return this['setOptions'](_0x12eeb6(0x187),{..._0x5167c3,..._0x406d2a}),this;}[_0x2c4120(0x17f)](_0x4e8a07){const _0x1e3e7a=_0x2c4120;var _0x48fce5;let _0x1484a3=((_0x48fce5=this['options'])==null?void 0x0:_0x48fce5[_0x1e3e7a(0xef)])||{};return this['setOptions'](_0x1e3e7a(0xef),{..._0x1484a3,..._0x4e8a07}),this;}['setRightYAxisTextStyle'](_0x2d559f){const _0x556a4c=_0x2c4120;var _0xc26d1f;let _0x479040=((_0xc26d1f=this[_0x556a4c(0xeb)])==null?void 0x0:_0xc26d1f['rightYAxisTitle'])||{};return this['setOptions'](_0x556a4c(0x192),{..._0x479040,..._0x2d559f}),this;}[_0x2c4120(0x132)](_0x17dc9e){const _0x2df3d2=_0x2c4120;return this[_0x2df3d2(0x1a0)](_0x2df3d2(0x16a),_0x17dc9e),this;}[_0x2c4120(0x183)](_0x25f07d){const _0x5568dc=_0x2c4120;return this[_0x5568dc(0x1a0)](_0x5568dc(0x115),_0x25f07d),this;}[_0x2c4120(0x166)](_0x6fc929){const _0x3519d5=_0x2c4120;return this[_0x3519d5(0x1a0)](_0x3519d5(0x173),_0x6fc929),this;}[_0x2c4120(0x104)](_0x9da556,_0x380f27){const _0x55089d=_0x2c4120;return this[_0x55089d(0x1a0)](_0x55089d(0x170),{[_0x9da556]:_0x380f27}),this;}[_0x2c4120(0x123)](){const _0x38e1a5=_0x2c4120;return{'unitId':this['unitId'],'subUnitId':this[_0x38e1a5(0x148)],'chartId':this['chartId'],'range':this[_0x38e1a5(0x109)],'sourceSheetName':this[_0x38e1a5(0x119)],'x':this['x'],'y':this['y'],'width':this[_0x38e1a5(0xed)],'height':this[_0x38e1a5(0x186)],'chartType':this[_0x38e1a5(0x124)],'options':this['options'],'isRowDirection':this[_0x38e1a5(0x19b)]};}},F=class{constructor(_0x1de93c,_0x4b135f,_0x23a633,_0x3c179a){const _0x1d8ed2=_0x2c4120;N(this,_0x1d8ed2(0x16e),void 0x0),N(this,_0x1d8ed2(0x148),void 0x0),N(this,'chartId',void 0x0),N(this,_0x1d8ed2(0x14a),void 0x0),this['unitId']=_0x1de93c,this[_0x1d8ed2(0x148)]=_0x4b135f,this['chartId']=_0x23a633,this[_0x1d8ed2(0x14a)]=_0x3c179a;}[_0x2c4120(0xe7)](){const _0x40c77e=_0x2c4120;return this[_0x40c77e(0x128)];}[_0x2c4120(0x140)](){const _0x41cf8d=_0x2c4120;let _0x3a7b83=this[_0x41cf8d(0x14a)]['get'](_0x402e94)[_0x41cf8d(0x11c)](this[_0x41cf8d(0x128)]);if(_0x3a7b83)return _0x3a7b83[_0x41cf8d(0x133)][_0x41cf8d(0x196)]();}['updateRange'](_0x8d20bd){const _0x57941d=_0x2c4120;return this[_0x57941d(0x14a)][_0x57941d(0x101)](_0x2cfa67)['executeCommand'](_0x4e4a8b['id'],{'unitId':this[_0x57941d(0x16e)],'chartModelId':this[_0x57941d(0x128)],'range':_0x8d20bd});}[_0x2c4120(0xf5)](){const _0x15c910=_0x2c4120;let _0x14874a=this['_injector'][_0x15c910(0x101)](_0x402e94)[_0x15c910(0x11c)](this[_0x15c910(0x128)]);if(_0x14874a){var _0x550e0c;return(_0x550e0c=_0x14874a[_0x15c910(0x113)])==null?void 0x0:_0x550e0c[_0x15c910(0xf4)];}}[_0x2c4120(0x127)](){const _0x21c476=_0x2c4120;let _0x234cf1=this['_injector'][_0x21c476(0x101)](_0x402e94)[_0x21c476(0x11c)](this[_0x21c476(0x128)]);if(_0x234cf1){var _0x33ed42;return(_0x33ed42=_0x234cf1[_0x21c476(0x113)])==null?void 0x0:_0x33ed42['category'];}}[_0x2c4120(0xf1)](){const _0x45a721=_0x2c4120;let _0x184a6f=this['_injector'][_0x45a721(0x101)](_0x43238f)['getCurrentUnitForType'](_0x5850c0[_0x45a721(0xf2)]);return new P(this[_0x45a721(0x16e)],this[_0x45a721(0x148)],_0x184a6f,this['_injector'],this['chartId']);}},I=class extends _0x2a8411{async['insertChart'](_0x40e647){const _0x441b6d=_0x2c4120;var _0x2c10c5,_0x57d865,_0x35f719;let _0x1651d8=_0x40e647[_0x441b6d(0x16e)]||this[_0x441b6d(0x184)]()['getUnitId'](),_0x74d440=_0x40e647['subUnitId']||this[_0x441b6d(0x160)](),_0x91a501=_0x40e647[_0x441b6d(0x128)]||_0x31e798(),_0x531dc7=_0x40e647['chartType'],_0x1ae75a=_0x40e647['range'],_0x2bfdb2=_0x40e647['sourceSheetName'],_0x4f124f={'x':_0x40e647['x'],'y':_0x40e647['y']},_0x4cd256=_0x40e647[_0x441b6d(0xed)],_0x345b21=_0x40e647[_0x441b6d(0x186)],_0x572355=(_0x2c10c5=_0x40e647['options'])==null?void 0x0:_0x2c10c5[_0x441b6d(0x157)],_0x56165c=(_0x57d865=_0x40e647[_0x441b6d(0xeb)])==null?void 0x0:_0x57d865['borderColor'],_0x2ba410=k(_0x1651d8,_0x91a501,_0x531dc7,_0x40e647[_0x441b6d(0xeb)]),_0x2c5be3=(_0x35f719=_0x40e647['isRowDirection'])==null?!0x0:_0x35f719;if(!_0x1ae75a)throw Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService'][_0x441b6d(0xea)](_0x449682['id'],{'unitId':_0x1651d8,'subUnitId':_0x74d440,'chartId':_0x91a501,'chartType':_0x531dc7,'range':_0x1ae75a,'sourceSheetName':_0x2bfdb2,'position':_0x4f124f,'width':_0x4cd256,'height':_0x345b21,'backgroundColor':_0x572355,'borderColor':_0x56165c,'config':_0x2ba410,'isRowDirection':_0x2c5be3}),new F(_0x1651d8,_0x74d440,_0x91a501,this[_0x441b6d(0x14a)]);}[_0x2c4120(0x121)](_0x50b907){const _0x22da8b=_0x2c4120;let {unitId:_0x4641ba,chartId:_0x1629ec,chartType:_0xd48b35,options:_0x3e612c}=_0x50b907,_0x42518d=k(_0x4641ba,_0x1629ec,_0xd48b35,_0x3e612c);this[_0x22da8b(0xf9)][_0x22da8b(0xea)](_0x119926['id'],_0x42518d);}['newChart'](_0x6e12b8){const _0x22c35b=_0x2c4120;return _0x6e12b8?new P(_0x6e12b8['unitId'],_0x6e12b8[_0x22c35b(0x148)],this['_workbook'],this['_injector'],_0x6e12b8[_0x22c35b(0x128)]):new P(this[_0x22c35b(0x184)]()[_0x22c35b(0x14c)](),this[_0x22c35b(0x160)](),this[_0x22c35b(0x12d)],this['_injector']);}[_0x2c4120(0x15b)](){const _0xd4e4d8=_0x2c4120;let _0x14269b=this[_0xd4e4d8(0x14a)][_0xd4e4d8(0x101)](_0x402e94),_0x45b367=this['getWorkbook']()[_0xd4e4d8(0x14c)]();return _0x14269b[_0xd4e4d8(0x177)](_0x45b367,this[_0xd4e4d8(0x160)]())[_0xd4e4d8(0xfc)](_0x163ee7=>new F(_0x45b367,this[_0xd4e4d8(0x160)](),_0x163ee7['id'],this[_0xd4e4d8(0x14a)]));}[_0x2c4120(0x18b)](_0x3b9f04){const _0x55a866=_0x2c4120;let _0x5cdc39=_0x3b9f04[_0x55a866(0x16e)],_0x1493a5={'unitId':_0x5cdc39,'drawings':[{'unitId':_0x5cdc39,'subUnitId':_0x3b9f04[_0x55a866(0x148)],'drawingId':_0x3b9f04[_0x55a866(0x128)],'drawingType':_0x992fa[_0x55a866(0x15e)]}]};return this[_0x55a866(0xf9)][_0x55a866(0xea)](_0x2206c3['id'],_0x1493a5);}[_0x2c4120(0x139)](_0x354ebb,_0x2ff8cc){const _0x28fe4a=_0x2c4120;this[_0x28fe4a(0x14a)]['get'](_0x587383)['registerTheme'](_0x354ebb,_0x2ff8cc);}};function _0x449b(_0x2e1b1e,_0x34491a){_0x2e1b1e=_0x2e1b1e-0xe7;const _0x32f806=_0x32f8();let _0x449b99=_0x32f806[_0x2e1b1e];return _0x449b99;}_0x2a8411[_0x2c4120(0x116)](I);var L=class extends _0x565a4f{get[_0x2c4120(0x19e)](){return _0x52be38;}get[_0x2c4120(0xe8)](){return _0xdf6d89;}get[_0x2c4120(0x137)](){return _0x20864a;}get[_0x2c4120(0x11d)](){return _0x3a27be;}get['ChartBorderDashType'](){return _0x23587e;}get[_0x2c4120(0x169)](){return _0x1ba9bb;}get[_0x2c4120(0x19d)](){return _0x3eb38e;}get[_0x2c4120(0x151)](){return _0x1f3d24;}};_0x565a4f[_0x2c4120(0x116)](L);function _0x32f8(){const _0x10b9ec=['91586NwGOUP','axisAlignment','setXAxisTitle','setYAxisTextStyle','titles.title.content','with','tooltip.indicatorLineColor','setAxisPointerStyle','getWorkbook','hasPaddingAngle','height','xAxisTitle','top','titles.xAxisTitle.family','length','removeChart','clearRange','rightYAxis.label.axisTitleAlign','dataPointSize','1199221FMisND','titles.rightYAxisTitle.font','sheetName','rightYAxisTitle','titles.rightYAxisTitle.fontSize','legend.label.fontSize','pie','getRangeInfo','indicatorLabelColor','setDoughnutHole','shape','10173808xTMnlC','transposeRowsAndColumns','fontSize','TitlePositionEnum','ChartType','color','setOptions','titles.rightYAxisTitle.content','title','setIsHalfPie','getChartId','LegendPositionEnum','context','executeCommand','options','titles.rightYAxisTitle.family','width','toPrimitive','yAxisTitle','365820uPCHBf','modify','UNIVER_SHEET','showLabelLine','series','getSeriesData','pie.borderColor','iterator','borderColor','_commandService','Pie','titles.xAxisTitle.font','map','fontColor','dataPointColor','legend.selectMode','Radar','get','isHalfPie','getChartType','setSeriesStyle','indicatorLineType','keys','dataPointShape','titles.title.color','range','allSeriesStyle.point.color','setRosePie','yAxis','6529380DikVIF','titles.title.font','allSeriesStyle.point.size','pie.isHalfPie','21pavxbC','doughnutHole','config','style','axisPointer','extend','symbol','gradientFill','sourceSheetName','setShowLabelLine','pie.doughnutHole','getChartModel','AxisAlignEnum','pie.showLabelLine','titles.title.bold','setYAxisTitle','updateChart','setRightYAxisTitle','build','chartType','fill','indicatorLineColor','getCategoryData','chartId','indicatorLabelTextColor','titles.titlePosition','position','bold','_workbook','asLineChart','titles.yAxisTitle.color','Line','18ITrplK','setInvalidValueStrategy','dataSource','object','setDataPointSize','label','SelectModeEnum','allSeriesStyle.border','registerChartTheme','setFill','allSeriesStyle.point','allSeriesStyle.rightYAxis','theme','setAbsolutePosition','titles.yAxisTitle.bold','getRange','asPieChart','xAxis','string','titles.yAxisTitle.fontSize','legend.label.color','function','setDataPointColor','subUnitId','border','_injector','tooltip.indicatorLineType','getUnitId','area','setShape','pie.rosePie','titles.xAxisTitle.fontSize','RadarShape','constructor','defineProperty','content','rosePie','default','backgroundColor','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','lineStyle','28373796kMqBkz','getCharts','font','titles.rightYAxisTitle.bold','DRAWING_CHART','setHasPaddingAngle','getSheetId','italic','rightYAxis','titles.title.fontSize','radar','titles.xAxisTitle.content','setAllSeriesStyle','yAxis.label.axisTitleAlign','pie.hasPaddingAngle','LinePointShape','invalidValueType','setTheme','allSeriesStyle.color','802328DUAWoo','unitId','area.lineStyle','seriesStyleMap','fontStyle','legend','allSeriesStyle','titles.title.family','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','tooltip.indicatorLabelColor','getUnitChartModels','legend.position','titles.title.align','setTransposeRowsAndColumns','titles.yAxisTitle.content'];_0x32f8=function(){return _0x10b9ec;};return _0x32f8();}var R=class extends P{constructor(_0xac310f,_0x338b96,_0x346faa,_0x3cb049,_0x19f1d2){const _0x3042d5=_0x2c4120;super(_0xac310f,_0x338b96,_0x346faa,_0x3cb049,_0x19f1d2),N(this,'lineStyle',void 0x0),N(this,'dataPointShape',void 0x0),N(this,_0x3042d5(0xfe),void 0x0),N(this,_0x3042d5(0x18e),void 0x0);}['setLineStyle'](_0x28bbb9){const _0x19cc08=_0x2c4120;return this[_0x19cc08(0x159)]=_0x28bbb9,this;}['setDataPointShape'](_0x49b7c7){return this['dataPointShape']=_0x49b7c7,this;}[_0x2c4120(0x147)](_0x2b34d4){const _0x5da32b=_0x2c4120;return this[_0x5da32b(0xfe)]=_0x2b34d4,this;}[_0x2c4120(0x135)](_0x282efe){const _0x5e4167=_0x2c4120;return this[_0x5e4167(0x18e)]=_0x282efe,this;}[_0x2c4120(0x123)](){const _0x4314d0=_0x2c4120;let _0x3eae83=super['build']();_0x3eae83[_0x4314d0(0x124)]=_0x52be38[_0x4314d0(0x130)];let _0xd57a72=_0x3eae83[_0x4314d0(0xeb)]||{};return O(_0xd57a72,_0x4314d0(0x16f),this[_0x4314d0(0x159)]),O(_0xd57a72,'allSeriesStyle.point.shape',this[_0x4314d0(0x107)]),O(_0xd57a72,_0x4314d0(0x10a),this['dataPointColor']),O(_0xd57a72,_0x4314d0(0x10f),this['dataPointSize']),_0x3eae83[_0x4314d0(0xeb)]=_0xd57a72,_0x3eae83;}},z=class extends P{[_0x2c4120(0x12e)](){const _0x5387e6=_0x2c4120;return new R(this[_0x5387e6(0x16e)],this[_0x5387e6(0x148)],this[_0x5387e6(0x12d)],this[_0x5387e6(0x14a)],this[_0x5387e6(0x128)]);}};P[_0x2c4120(0x116)](z);var B=class extends P{constructor(_0x3e7d2a,_0xc0f53f,_0x2a27e0,_0x87f0e3,_0x46df18){const _0x346cfb=_0x2c4120;super(_0x3e7d2a,_0xc0f53f,_0x2a27e0,_0x87f0e3,_0x46df18),N(this,_0x346cfb(0x112),void 0x0),N(this,'borderColor',void 0x0),N(this,_0x346cfb(0x185),void 0x0),N(this,_0x346cfb(0x102),void 0x0),N(this,_0x346cfb(0x155),void 0x0),N(this,_0x346cfb(0xf3),void 0x0);}[_0x2c4120(0x198)](_0x5c2420){return this['doughnutHole']=_0x5c2420,this;}['setBorderColor'](_0x2040c8){const _0x33d38d=_0x2c4120;return this[_0x33d38d(0xf8)]=_0x2040c8,this;}[_0x2c4120(0x15f)](_0x36ec48){const _0x2694e0=_0x2c4120;return this[_0x2694e0(0x185)]=_0x36ec48,this;}[_0x2c4120(0x1a3)](_0x32e862){const _0x324ac7=_0x2c4120;return this[_0x324ac7(0x102)]=_0x32e862,this;}[_0x2c4120(0x10b)](_0x3b6c84){return this['rosePie']=_0x3b6c84,this;}[_0x2c4120(0x11a)](_0x2e95b5){const _0xb361e8=_0x2c4120;return this[_0xb361e8(0xf3)]=_0x2e95b5,this;}[_0x2c4120(0x123)](){const _0x1e85c0=_0x2c4120;let _0x15bcbe=super['build']();_0x15bcbe[_0x1e85c0(0x124)]=_0x52be38[_0x1e85c0(0xfa)];let _0x5432ff=_0x15bcbe[_0x1e85c0(0xeb)]||{};return O(_0x5432ff,_0x1e85c0(0x11b),this[_0x1e85c0(0x112)]),O(_0x5432ff,'pie.borderColor',this['borderColor']),O(_0x5432ff,_0x1e85c0(0x168),this[_0x1e85c0(0x185)]),O(_0x5432ff,_0x1e85c0(0x110),this[_0x1e85c0(0x102)]),O(_0x5432ff,_0x1e85c0(0x14f),this[_0x1e85c0(0x155)]),O(_0x5432ff,'pie.showLabelLine',this['showLabelLine']),_0x15bcbe[_0x1e85c0(0xeb)]=_0x5432ff,_0x15bcbe;}},V=class extends P{[_0x2c4120(0x141)](){const _0x287608=_0x2c4120;return new B(this[_0x287608(0x16e)],this['subUnitId'],this[_0x287608(0x12d)],this[_0x287608(0x14a)],this['chartId']);}};P[_0x2c4120(0x116)](V);var H=class extends P{constructor(_0x277b9b,_0x143c03,_0x46c4fa,_0x826085,_0x50ac70){super(_0x277b9b,_0x143c03,_0x46c4fa,_0x826085,_0x50ac70),N(this,'shape',void 0x0),N(this,'fill',void 0x0);}[_0x2c4120(0x14e)](_0x5f3d30){const _0x1c2657=_0x2c4120;return this[_0x1c2657(0x199)]=_0x5f3d30,this;}[_0x2c4120(0x13a)](_0x1e1eec){const _0x56198e=_0x2c4120;return this[_0x56198e(0x125)]=_0x1e1eec,this;}[_0x2c4120(0x123)](){const _0x53689a=_0x2c4120;let _0x592b61=super[_0x53689a(0x123)]();_0x592b61[_0x53689a(0x124)]=_0x52be38[_0x53689a(0x100)];let _0x42a041=_0x592b61[_0x53689a(0xeb)]||{};return O(_0x42a041,'radar.shape',this[_0x53689a(0x199)]),O(_0x42a041,'radar.fill',this[_0x53689a(0x125)]),_0x592b61[_0x53689a(0xeb)]=_0x42a041,_0x592b61;}},U=class extends P{['asRadarChart'](){const _0x30ce6c=_0x2c4120;return new H(this[_0x30ce6c(0x16e)],this[_0x30ce6c(0x148)],this['_workbook'],this['_injector'],this[_0x30ce6c(0x128)]);}};P[_0x2c4120(0x116)](U);export{F as FChart,P as FChartBuilderBase,R as LineChartBuilder,B as PieChartBuilder,H as RadarChartBuilder};
1
+ function _0x1aea(_0x2e4e0e,_0x1da05c){_0x2e4e0e=_0x2e4e0e-0x10d;const _0x30f979=_0x30f9();let _0x1aea25=_0x30f979[_0x2e4e0e];return _0x1aea25;}const _0x26d7a2=_0x1aea;(function(_0x59d705,_0x458e8c){const _0x35c0ac=_0x1aea,_0x24d963=_0x59d705();while(!![]){try{const _0x3b58da=parseInt(_0x35c0ac(0x1ab))/0x1+parseInt(_0x35c0ac(0x153))/0x2+parseInt(_0x35c0ac(0x18d))/0x3+-parseInt(_0x35c0ac(0x123))/0x4+parseInt(_0x35c0ac(0x175))/0x5+parseInt(_0x35c0ac(0x1a3))/0x6*(parseInt(_0x35c0ac(0x112))/0x7)+-parseInt(_0x35c0ac(0x146))/0x8*(parseInt(_0x35c0ac(0x133))/0x9);if(_0x3b58da===_0x458e8c)break;else _0x24d963['push'](_0x24d963['shift']());}catch(_0x593560){_0x24d963['push'](_0x24d963['shift']());}}}(_0x30f9,0xea46a));import{AxisAlignEnum as _0x11e093,ChartBorderDashType as _0x185125,ChartThemeService as _0x1f9b58,ChartTypeBits as _0x26ff7c,LegendPositionEnum as _0x1a1949,LinePointShape as _0x128d88,RadarShape as _0x34b3a6,SelectModeEnum as _0x7036ea,TitlePositionEnum as _0x4c4a6c}from'@univerjs-pro/engine-chart';import{ChartUpdateConfigCommand as _0xab577c,ChartUpdateSourceCommand as _0x564308,SheetsChartService as _0x27dc16,setProperty as _0x442049}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x9d9efe}from'@univerjs-pro/sheets-chart-ui';import{DrawingTypeEnum as _0x206eb0,ICommandService as _0x5c5368,IUniverInstanceService as _0x4b1ed3,UniverInstanceType as _0x51f19a,generateRandomId as _0x4a4932}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x3f24ba}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x4af7a9}from'@univerjs/sheets/facade';import{FBase as _0xd612e4,FEnum as _0x1141d1}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x24634f}from'@univerjs/engine-formula';import{IRenderManagerService as _0x43afa2}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x22345c,SheetSkeletonManagerService as _0x40098f,convertPositionCellToSheetOverGrid as _0x2bcf23}from'@univerjs/sheets-ui';const O=(_0x2963a8,_0x1fce4e,_0x110311)=>{_0x110311!==void 0x0&&_0x442049(_0x2963a8,_0x1fce4e,_0x110311);},k=(_0x33780d,_0x37d1d6,_0x3b3776,_0x1c4bf8={})=>{const _0xe416b9=_0x1aea;let _0x3b0ae8={},_0x179a8f={};if(_0x1c4bf8[_0xe416b9(0x190)]){let _0x1af95a=_0x1c4bf8[_0xe416b9(0x190)];O(_0x3b0ae8,_0xe416b9(0x19f),_0x1af95a[_0xe416b9(0x10f)]),O(_0x3b0ae8,_0xe416b9(0x177),_0x1af95a[_0xe416b9(0x131)]),O(_0x3b0ae8,_0xe416b9(0x10d),_0x1af95a[_0xe416b9(0x12c)]),O(_0x3b0ae8,_0xe416b9(0x124),_0x1af95a['fontColor']),O(_0x3b0ae8,'titles.title.family',_0x1af95a[_0xe416b9(0x121)]),O(_0x3b0ae8,_0xe416b9(0x1b5),_0x1af95a[_0xe416b9(0x1bc)]),O(_0x3b0ae8,_0xe416b9(0x19b),_0x1af95a['titleAlignment']),O(_0x3b0ae8,_0xe416b9(0x14b),_0x1af95a[_0xe416b9(0x18c)]);}if(_0x1c4bf8[_0xe416b9(0x14e)]){let _0x393cf5=_0x1c4bf8[_0xe416b9(0x14e)];O(_0x3b0ae8,_0xe416b9(0x17f),_0x393cf5[_0xe416b9(0x18c)]),O(_0x3b0ae8,_0xe416b9(0x11c),_0x393cf5['selectMode']),O(_0x3b0ae8,_0xe416b9(0x18b),_0x393cf5[_0xe416b9(0x12c)]),O(_0x3b0ae8,_0xe416b9(0x120),_0x393cf5[_0xe416b9(0x1a7)]),O(_0x3b0ae8,_0xe416b9(0x1af),_0x393cf5['bold']),O(_0x3b0ae8,_0xe416b9(0x156),_0x393cf5[_0xe416b9(0x1a4)]);}if(_0x1c4bf8[_0xe416b9(0x142)]){let _0x57a5cb=_0x1c4bf8['pie'];O(_0x3b0ae8,'pie.doughnutHole',_0x57a5cb[_0xe416b9(0x15a)]),O(_0x3b0ae8,_0xe416b9(0x183),_0x57a5cb[_0xe416b9(0x162)]),O(_0x3b0ae8,_0xe416b9(0x137),_0x57a5cb[_0xe416b9(0x1c2)]),O(_0x3b0ae8,_0xe416b9(0x12d),_0x57a5cb[_0xe416b9(0x12b)]),O(_0x3b0ae8,'pie.rosePie',_0x57a5cb['rosePie']),O(_0x3b0ae8,_0xe416b9(0x1c7),_0x57a5cb[_0xe416b9(0x194)]);}if(_0x1c4bf8[_0xe416b9(0x16d)]){let _0x42e246=_0x1c4bf8[_0xe416b9(0x16d)];O(_0x3b0ae8,'tooltip.indicatorLabelColor',_0x42e246[_0xe416b9(0x165)]),O(_0x3b0ae8,_0xe416b9(0x17b),_0x42e246[_0xe416b9(0x1ae)]),O(_0x3b0ae8,'tooltip.indicatorLineColor',_0x42e246[_0xe416b9(0x1cd)]),O(_0x3b0ae8,_0xe416b9(0x114),_0x42e246['indicatorLabelTextColor']);}if(_0x1c4bf8[_0xe416b9(0x176)]&&(O(_0x3b0ae8,'allSeriesStyle.border',_0x1c4bf8[_0xe416b9(0x176)]['border']),O(_0x3b0ae8,_0xe416b9(0x1c1),_0x1c4bf8['allSeriesStyle'][_0xe416b9(0x1a0)]),O(_0x3b0ae8,_0xe416b9(0x1ce),_0x1c4bf8[_0xe416b9(0x176)][_0xe416b9(0x169)]),O(_0x3b0ae8,_0xe416b9(0x159),_0x1c4bf8['allSeriesStyle'][_0xe416b9(0x173)]),O(_0x3b0ae8,_0xe416b9(0x122),_0x1c4bf8[_0xe416b9(0x176)][_0xe416b9(0x1a7)])),_0x1c4bf8[_0xe416b9(0x16b)]&&O(_0x3b0ae8,_0xe416b9(0x18f),_0x1c4bf8[_0xe416b9(0x16b)][_0xe416b9(0x179)]),_0x1c4bf8[_0xe416b9(0x15c)]&&O(_0x3b0ae8,_0xe416b9(0x15c),_0x1c4bf8[_0xe416b9(0x15c)]),_0x1c4bf8['backgroundColor']&&O(_0x3b0ae8,'backgroundColor',_0x1c4bf8[_0xe416b9(0x13f)]),_0x1c4bf8[_0xe416b9(0x162)]&&O(_0x3b0ae8,_0xe416b9(0x162),_0x1c4bf8['borderColor']),_0x1c4bf8[_0xe416b9(0x191)]&&O(_0x3b0ae8,'gradientFill',_0x1c4bf8[_0xe416b9(0x191)]),_0x1c4bf8[_0xe416b9(0x11a)]&&O(_0x3b0ae8,_0xe416b9(0x11a),_0x1c4bf8[_0xe416b9(0x11a)]),_0x1c4bf8[_0xe416b9(0x171)]&&O(_0x3b0ae8,_0xe416b9(0x171),_0x1c4bf8[_0xe416b9(0x171)]),_0x1c4bf8['xAxisTitle']){let _0x519e7d=_0x1c4bf8[_0xe416b9(0x129)];O(_0x3b0ae8,'titles.xAxisTitle.content',_0x519e7d['content']),O(_0x3b0ae8,_0xe416b9(0x180),_0x519e7d[_0xe416b9(0x131)]),O(_0x3b0ae8,'titles.xAxisTitle.fontSize',_0x519e7d[_0xe416b9(0x12c)]),O(_0x3b0ae8,_0xe416b9(0x182),_0x519e7d[_0xe416b9(0x126)]),O(_0x3b0ae8,_0xe416b9(0x147),_0x519e7d[_0xe416b9(0x121)]),O(_0x3b0ae8,_0xe416b9(0x13e),_0x519e7d[_0xe416b9(0x1bc)]),O(_0x3b0ae8,'xAxis.label.axisTitleAlign',_0x519e7d[_0xe416b9(0x139)]);}if(_0x1c4bf8[_0xe416b9(0x1c9)]){let _0x475b5a=_0x1c4bf8[_0xe416b9(0x1c9)];O(_0x3b0ae8,_0xe416b9(0x132),_0x475b5a[_0xe416b9(0x10f)]),O(_0x3b0ae8,_0xe416b9(0x1c3),_0x475b5a[_0xe416b9(0x131)]),O(_0x3b0ae8,_0xe416b9(0x166),_0x475b5a['fontSize']),O(_0x3b0ae8,_0xe416b9(0x195),_0x475b5a[_0xe416b9(0x126)]),O(_0x3b0ae8,_0xe416b9(0x167),_0x475b5a['fontStyle']),O(_0x3b0ae8,_0xe416b9(0x1c0),_0x475b5a[_0xe416b9(0x1bc)]),O(_0x3b0ae8,'yAxis.label.axisTitleAlign',_0x475b5a[_0xe416b9(0x139)]);}if(_0x1c4bf8['rightYAxisTitle']){let _0x32ee51=_0x1c4bf8[_0xe416b9(0x143)];O(_0x3b0ae8,_0xe416b9(0x196),_0x32ee51['content']),O(_0x3b0ae8,_0xe416b9(0x16e),_0x32ee51[_0xe416b9(0x131)]),O(_0x3b0ae8,_0xe416b9(0x116),_0x32ee51[_0xe416b9(0x12c)]),O(_0x3b0ae8,'titles.rightYAxisTitle.color',_0x32ee51['fontColor']),O(_0x3b0ae8,_0xe416b9(0x138),_0x32ee51[_0xe416b9(0x121)]),O(_0x3b0ae8,_0xe416b9(0x127),_0x32ee51[_0xe416b9(0x1bc)]),O(_0x3b0ae8,'rightYAxis.label.axisTitleAlign',_0x32ee51[_0xe416b9(0x139)]);}_0x1c4bf8['xAxis']&&O(_0x3b0ae8,'xAxis',_0x1c4bf8['xAxis']),_0x1c4bf8['yAxis']&&O(_0x3b0ae8,_0xe416b9(0x1b0),_0x1c4bf8[_0xe416b9(0x1b0)]),_0x1c4bf8[_0xe416b9(0x16c)]&&O(_0x3b0ae8,_0xe416b9(0x169),_0x1c4bf8['yRightAxis']),_0x1c4bf8[_0xe416b9(0x145)]&&O(_0x3b0ae8,_0xe416b9(0x145),_0x1c4bf8['seriesStyleMap']);let _0x5aef49={'unitId':_0x33780d,'chartModelId':_0x37d1d6},_0x13cb20=!0x1;if(_0x3b3776!==void 0x0&&(_0x5aef49[_0xe416b9(0x119)]=_0x3b3776,_0x13cb20=!0x0),Object[_0xe416b9(0x136)](_0x3b0ae8)[_0xe416b9(0x13d)]>0x0&&(_0x5aef49[_0xe416b9(0x154)]=_0x3b0ae8,_0x13cb20=!0x0),Object[_0xe416b9(0x136)](_0x179a8f)['length']>0x0&&(_0x5aef49[_0xe416b9(0x11b)]=_0x179a8f,_0x13cb20=!0x0),_0x13cb20)return _0x5aef49;};function A(_0xeae45d){'@babel/helpers - typeof';const _0x3100cb=_0x1aea;return A=typeof Symbol==_0x3100cb(0x157)&&typeof Symbol[_0x3100cb(0x19c)]==_0x3100cb(0x113)?function(_0x4cbacb){return typeof _0x4cbacb;}:function(_0x5740d4){const _0x58081b=_0x3100cb;return _0x5740d4&&typeof Symbol==_0x58081b(0x157)&&_0x5740d4['constructor']===Symbol&&_0x5740d4!==Symbol[_0x58081b(0x18e)]?_0x58081b(0x113):typeof _0x5740d4;},A(_0xeae45d);}function j(_0x3816e7,_0x1fb204){const _0x37d7f7=_0x1aea;if(A(_0x3816e7)!='object'||!_0x3816e7)return _0x3816e7;var _0x460f55=_0x3816e7[Symbol[_0x37d7f7(0x172)]];if(_0x460f55!==void 0x0){var _0x3e0fe8=_0x460f55[_0x37d7f7(0x1a6)](_0x3816e7,_0x1fb204||_0x37d7f7(0x11f));if(A(_0x3e0fe8)!='object')return _0x3e0fe8;throw TypeError(_0x37d7f7(0x1ad));}return(_0x1fb204===_0x37d7f7(0x158)?String:Number)(_0x3816e7);}function M(_0x1c43ee){const _0xddc5a4=_0x1aea;var _0x3bd3d1=j(_0x1c43ee,_0xddc5a4(0x158));return A(_0x3bd3d1)==_0xddc5a4(0x113)?_0x3bd3d1:_0x3bd3d1+'';}function N(_0x7eb91d,_0x2fbbeb,_0xf067d6){const _0x2ec6cf=_0x1aea;return(_0x2fbbeb=M(_0x2fbbeb))in _0x7eb91d?Object[_0x2ec6cf(0x1b7)](_0x7eb91d,_0x2fbbeb,{'value':_0xf067d6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7eb91d[_0x2fbbeb]=_0xf067d6,_0x7eb91d;}var P=class extends _0xd612e4{constructor(_0x23e854,_0x5ce773,_0x3d7ba2,_0x3cb299,_0x4a7fc4){const _0x31d15f=_0x1aea;super(),N(this,'_workbook',void 0x0),N(this,_0x31d15f(0x134),void 0x0),N(this,_0x31d15f(0x197),void 0x0),N(this,_0x31d15f(0x1b9),void 0x0),N(this,_0x31d15f(0x1bd),void 0x0),N(this,_0x31d15f(0x1a9),void 0x0),N(this,'sourceSheetName',void 0x0),N(this,'x',void 0x0),N(this,'y',void 0x0),N(this,'width',void 0x0),N(this,'height',void 0x0),N(this,_0x31d15f(0x119),void 0x0),N(this,_0x31d15f(0x198),void 0x0),N(this,_0x31d15f(0x1cb),void 0x0),this[_0x31d15f(0x197)]=_0x23e854,this[_0x31d15f(0x1b9)]=_0x5ce773,this['_workbook']=_0x3d7ba2,this[_0x31d15f(0x134)]=_0x3cb299,_0x4a7fc4&&(this[_0x31d15f(0x1bd)]=_0x4a7fc4);}[_0x26d7a2(0x1b3)](){const _0xbcafb=_0x26d7a2;return this[_0xbcafb(0x119)];}['addRange'](_0xfe555e){const _0x19fb5e=_0x26d7a2;if(typeof _0xfe555e==_0x19fb5e(0x158)){let _0x52e104=_0x24634f(_0xfe555e);_0x52e104['sheetName']&&(this[_0x19fb5e(0x14f)]=_0x52e104['sheetName']),this[_0x19fb5e(0x1a9)]=_0x52e104[_0x19fb5e(0x1a9)];}else this[_0x19fb5e(0x1a9)]=_0xfe555e;return this;}[_0x26d7a2(0x1bb)](){const _0x5218ae=_0x26d7a2;return this[_0x5218ae(0x1a9)]=void 0x0,this[_0x5218ae(0x14f)]=void 0x0,this;}[_0x26d7a2(0x193)](_0x403432,_0x30e63a,_0x312c5c,_0xce606e){const _0x57c5fb=_0x26d7a2;let _0x2b48c9=this['_injector'][_0x57c5fb(0x144)](_0x43afa2)[_0x57c5fb(0x181)](this[_0x57c5fb(0x197)]);if(!_0x2b48c9)throw Error(_0x57c5fb(0x186));let _0x506cc3=_0x2b48c9[_0x57c5fb(0x188)](_0x22345c),_0x525189=_0x2b48c9[_0x57c5fb(0x188)](_0x40098f),{transform:_0x6fb7a6}=_0x2bcf23(this[_0x57c5fb(0x197)],this[_0x57c5fb(0x1b9)],{'row':_0x403432,'column':_0x30e63a,'rowOffset':_0x312c5c,'columnOffset':_0xce606e},0x1,0x1,_0x506cc3,_0x525189),_0x2b64ff=_0x6fb7a6[_0x57c5fb(0x151)];return this['x']=_0x6fb7a6['left'],this['y']=_0x2b64ff,this;}[_0x26d7a2(0x168)](_0x546b6d,_0x329f32){return this['x']=_0x546b6d,this['y']=_0x329f32,this;}[_0x26d7a2(0x19a)](_0xeb4668){return this['chartType']=_0xeb4668,this;}['setWidth'](_0x5ee827){const _0x3d2c4e=_0x26d7a2;return this[_0x3d2c4e(0x1b4)]=_0x5ee827,this;}[_0x26d7a2(0x14c)](_0x4ddf20){const _0x391278=_0x26d7a2;return this[_0x391278(0x115)]=_0x4ddf20,this;}[_0x26d7a2(0x192)](_0x1b2c19,_0x3c187b){const _0x31c37f=_0x26d7a2;return this['options']||(this[_0x31c37f(0x198)]={}),_0x1b2c19===''?(this[_0x31c37f(0x198)]={...this['options'],..._0x3c187b},this):(_0x442049(this[_0x31c37f(0x198)],_0x1b2c19,_0x3c187b),this);}[_0x26d7a2(0x16f)](_0xacb73c){const _0x1aa718=_0x26d7a2;return this[_0x1aa718(0x1cb)]=_0xacb73c,this;}[_0x26d7a2(0x15e)](_0x2d4caa){const _0x18087b=_0x26d7a2;return this[_0x18087b(0x192)]('theme',_0x2d4caa),this;}[_0x26d7a2(0x1c4)](_0x476ceb){const _0x299527=_0x26d7a2;var _0x4edd90;let _0x37aa78=((_0x4edd90=this['options'])==null?void 0x0:_0x4edd90[_0x299527(0x129)])||{};return _0x37aa78[_0x299527(0x10f)]=_0x476ceb,this[_0x299527(0x192)](_0x299527(0x129),_0x37aa78),this;}[_0x26d7a2(0x11e)](_0x3df470){const _0x3853fc=_0x26d7a2;var _0x1508ab;let _0x3fbfa9=((_0x1508ab=this[_0x3853fc(0x198)])==null?void 0x0:_0x1508ab[_0x3853fc(0x1c9)])||{};return _0x3fbfa9[_0x3853fc(0x10f)]=_0x3df470,this['setOptions'](_0x3853fc(0x1c9),_0x3fbfa9),this;}[_0x26d7a2(0x117)](_0x58793b){const _0x108160=_0x26d7a2;var _0x5146ad;let _0x535d15=((_0x5146ad=this[_0x108160(0x198)])==null?void 0x0:_0x5146ad[_0x108160(0x143)])||{};return _0x535d15[_0x108160(0x10f)]=_0x58793b,this[_0x108160(0x192)](_0x108160(0x143),_0x535d15),this;}[_0x26d7a2(0x141)](_0x3286ae){const _0x3a654b=_0x26d7a2;var _0x226b01;let _0x2743dd=((_0x226b01=this[_0x3a654b(0x198)])==null?void 0x0:_0x226b01[_0x3a654b(0x129)])||{};return this['setOptions'](_0x3a654b(0x129),{..._0x2743dd,..._0x3286ae}),this;}[_0x26d7a2(0x1b2)](_0x291c96){const _0x31f2f0=_0x26d7a2;var _0x5df5c3;let _0x1b13b7=((_0x5df5c3=this[_0x31f2f0(0x198)])==null?void 0x0:_0x5df5c3[_0x31f2f0(0x1c9)])||{};return this[_0x31f2f0(0x192)](_0x31f2f0(0x1c9),{..._0x1b13b7,..._0x291c96}),this;}[_0x26d7a2(0x1b1)](_0x3ff0ae){const _0x242c95=_0x26d7a2;var _0x59bc72;let _0x25502d=((_0x59bc72=this[_0x242c95(0x198)])==null?void 0x0:_0x59bc72['rightYAxisTitle'])||{};return this[_0x242c95(0x192)](_0x242c95(0x143),{..._0x25502d,..._0x3ff0ae}),this;}[_0x26d7a2(0x185)](_0x518f8a){const _0x3d9c83=_0x26d7a2;return this[_0x3d9c83(0x192)](_0x3d9c83(0x11a),_0x518f8a),this;}[_0x26d7a2(0x1cf)](_0x48f39d){const _0x5c06e6=_0x26d7a2;return this[_0x5c06e6(0x192)](_0x5c06e6(0x16d),_0x48f39d),this;}[_0x26d7a2(0x19d)](_0x19c046){const _0x512c73=_0x26d7a2;return this[_0x512c73(0x192)](_0x512c73(0x176),_0x19c046),this;}[_0x26d7a2(0x118)](_0x276a13,_0x1f1479){const _0x2bff67=_0x26d7a2;return this[_0x2bff67(0x192)](_0x2bff67(0x145),{[_0x276a13]:_0x1f1479}),this;}[_0x26d7a2(0x15d)](){const _0x3b1bda=_0x26d7a2;return{'unitId':this[_0x3b1bda(0x197)],'subUnitId':this[_0x3b1bda(0x1b9)],'chartId':this['chartId'],'range':this[_0x3b1bda(0x1a9)],'sourceSheetName':this[_0x3b1bda(0x14f)],'x':this['x'],'y':this['y'],'width':this[_0x3b1bda(0x1b4)],'height':this[_0x3b1bda(0x115)],'chartType':this[_0x3b1bda(0x119)],'options':this[_0x3b1bda(0x198)],'isRowDirection':this[_0x3b1bda(0x1cb)]};}},F=class{constructor(_0x5e0d66,_0xbb32f9,_0x8770ba,_0x346a28){const _0x3d184a=_0x26d7a2;N(this,'unitId',void 0x0),N(this,_0x3d184a(0x1b9),void 0x0),N(this,_0x3d184a(0x1bd),void 0x0),N(this,_0x3d184a(0x134),void 0x0),this['unitId']=_0x5e0d66,this[_0x3d184a(0x1b9)]=_0xbb32f9,this['chartId']=_0x8770ba,this[_0x3d184a(0x134)]=_0x346a28;}[_0x26d7a2(0x12e)](){const _0x249b48=_0x26d7a2;return this[_0x249b48(0x1bd)];}[_0x26d7a2(0x16a)](){const _0x579407=_0x26d7a2;let _0x2f3ac8=this[_0x579407(0x134)]['get'](_0x27dc16)[_0x579407(0x189)](this[_0x579407(0x1bd)]);if(_0x2f3ac8)return _0x2f3ac8[_0x579407(0x1be)][_0x579407(0x15f)]();}['updateRange'](_0x441134){const _0xd95c3d=_0x26d7a2;return this[_0xd95c3d(0x134)][_0xd95c3d(0x144)](_0x5c5368)[_0xd95c3d(0x161)](_0x564308['id'],{'unitId':this[_0xd95c3d(0x197)],'chartModelId':this[_0xd95c3d(0x1bd)],'range':_0x441134});}[_0x26d7a2(0x110)](){const _0xd434a5=_0x26d7a2;let _0x527523=this[_0xd434a5(0x134)][_0xd434a5(0x144)](_0x27dc16)['getChartModel'](this['chartId']);if(_0x527523){var _0x3419d5;return(_0x3419d5=_0x527523[_0xd434a5(0x14a)])==null?void 0x0:_0x3419d5[_0xd434a5(0x125)];}}[_0x26d7a2(0x1c5)](){const _0x30514d=_0x26d7a2;let _0x3145ba=this[_0x30514d(0x134)][_0x30514d(0x144)](_0x27dc16)[_0x30514d(0x189)](this['chartId']);if(_0x3145ba){var _0x4fc21b;return(_0x4fc21b=_0x3145ba['config'])==null?void 0x0:_0x4fc21b[_0x30514d(0x160)];}}[_0x26d7a2(0x1ca)](){const _0x3a01cb=_0x26d7a2;let _0xb8cf0a=this[_0x3a01cb(0x134)]['get'](_0x4b1ed3)['getCurrentUnitForType'](_0x51f19a['UNIVER_SHEET']);return new P(this[_0x3a01cb(0x197)],this[_0x3a01cb(0x1b9)],_0xb8cf0a,this[_0x3a01cb(0x134)],this[_0x3a01cb(0x1bd)]);}},I=class extends _0x4af7a9{async[_0x26d7a2(0x152)](_0x540e36){const _0x2b54d9=_0x26d7a2;var _0x37e810,_0x4edf0d,_0xd2aade;let _0x4e2e8c=_0x540e36[_0x2b54d9(0x197)]||this[_0x2b54d9(0x12a)]()['getUnitId'](),_0x438dc8=_0x540e36['subUnitId']||this[_0x2b54d9(0x19e)](),_0x4a22f6=_0x540e36['chartId']||_0x4a4932(),_0x5df4a2=_0x540e36[_0x2b54d9(0x119)],_0x170cec=_0x540e36[_0x2b54d9(0x1a9)],_0x190afc=_0x540e36[_0x2b54d9(0x14f)],_0x2487a3={'x':_0x540e36['x'],'y':_0x540e36['y']},_0x43dca7=_0x540e36['width'],_0x430822=_0x540e36[_0x2b54d9(0x115)],_0x4b713f=(_0x37e810=_0x540e36[_0x2b54d9(0x198)])==null?void 0x0:_0x37e810['backgroundColor'],_0xb72dbe=(_0x4edf0d=_0x540e36[_0x2b54d9(0x198)])==null?void 0x0:_0x4edf0d[_0x2b54d9(0x162)],_0x2f0eb6=k(_0x4e2e8c,_0x4a22f6,_0x5df4a2,_0x540e36['options']),_0x4f44fc=(_0xd2aade=_0x540e36[_0x2b54d9(0x184)])==null?!0x0:_0xd2aade;if(!_0x170cec)throw Error(_0x2b54d9(0x174));return await this[_0x2b54d9(0x14d)][_0x2b54d9(0x161)](_0x9d9efe['id'],{'unitId':_0x4e2e8c,'subUnitId':_0x438dc8,'chartId':_0x4a22f6,'chartType':_0x5df4a2,'range':_0x170cec,'sourceSheetName':_0x190afc,'position':_0x2487a3,'width':_0x43dca7,'height':_0x430822,'backgroundColor':_0x4b713f,'borderColor':_0xb72dbe,'config':_0x2f0eb6,'isRowDirection':_0x4f44fc}),new F(_0x4e2e8c,_0x438dc8,_0x4a22f6,this[_0x2b54d9(0x134)]);}['updateChart'](_0x22bc85){const _0x216972=_0x26d7a2;let {unitId:_0x4eac16,chartId:_0x65999f,chartType:_0x5a7f10,options:_0x407849}=_0x22bc85,_0x12521f=k(_0x4eac16,_0x65999f,_0x5a7f10,_0x407849);this[_0x216972(0x14d)][_0x216972(0x161)](_0xab577c['id'],_0x12521f);}[_0x26d7a2(0x17e)](_0x391922){const _0x367d54=_0x26d7a2;return _0x391922?new P(_0x391922[_0x367d54(0x197)],_0x391922['subUnitId'],this['_workbook'],this['_injector'],_0x391922[_0x367d54(0x1bd)]):new P(this[_0x367d54(0x12a)]()['getUnitId'](),this['getSheetId'](),this[_0x367d54(0x1a5)],this[_0x367d54(0x134)]);}['getCharts'](){const _0xc65189=_0x26d7a2;let _0x428086=this[_0xc65189(0x134)][_0xc65189(0x144)](_0x27dc16),_0x4d13ed=this[_0xc65189(0x12a)]()[_0xc65189(0x10e)]();return _0x428086[_0xc65189(0x1c8)](_0x4d13ed,this[_0xc65189(0x19e)]())[_0xc65189(0x1bf)](_0x18a5e9=>new F(_0x4d13ed,this[_0xc65189(0x19e)](),_0x18a5e9['id'],this['_injector']));}[_0x26d7a2(0x1c6)](_0x5a212f){const _0x5d815d=_0x26d7a2;let _0x342166=_0x5a212f[_0x5d815d(0x197)],_0x9c71f9={'unitId':_0x342166,'drawings':[{'unitId':_0x342166,'subUnitId':_0x5a212f[_0x5d815d(0x1b9)],'drawingId':_0x5a212f['chartId'],'drawingType':_0x206eb0[_0x5d815d(0x1b6)]}]};return this[_0x5d815d(0x14d)][_0x5d815d(0x161)](_0x3f24ba['id'],_0x9c71f9);}[_0x26d7a2(0x149)](_0x697f7b,_0x3d3e0c){const _0x15aba8=_0x26d7a2;this[_0x15aba8(0x134)][_0x15aba8(0x144)](_0x1f9b58)['registerTheme'](_0x697f7b,_0x3d3e0c);}};_0x4af7a9[_0x26d7a2(0x140)](I);var L=class extends _0x1141d1{get[_0x26d7a2(0x13a)](){return _0x26ff7c;}get['LegendPositionEnum'](){return _0x1a1949;}get[_0x26d7a2(0x11d)](){return _0x7036ea;}get[_0x26d7a2(0x1a2)](){return _0x11e093;}get[_0x26d7a2(0x17a)](){return _0x185125;}get[_0x26d7a2(0x111)](){return _0x128d88;}get[_0x26d7a2(0x150)](){return _0x4c4a6c;}get[_0x26d7a2(0x13c)](){return _0x34b3a6;}};_0x1141d1[_0x26d7a2(0x140)](L);var R=class extends P{constructor(_0x323b64,_0x311f11,_0x35209f,_0x4f3128,_0x43e3e7){const _0x12a6a9=_0x26d7a2;super(_0x323b64,_0x311f11,_0x35209f,_0x4f3128,_0x43e3e7),N(this,_0x12a6a9(0x179),void 0x0),N(this,_0x12a6a9(0x187),void 0x0),N(this,_0x12a6a9(0x1b8),void 0x0),N(this,_0x12a6a9(0x130),void 0x0);}['setLineStyle'](_0x102a94){const _0x5dbe43=_0x26d7a2;return this[_0x5dbe43(0x179)]=_0x102a94,this;}[_0x26d7a2(0x155)](_0xd786ab){const _0x212de2=_0x26d7a2;return this[_0x212de2(0x187)]=_0xd786ab,this;}[_0x26d7a2(0x1a1)](_0x300427){const _0x30cae4=_0x26d7a2;return this[_0x30cae4(0x1b8)]=_0x300427,this;}['setDataPointSize'](_0x4bee5f){const _0x3e1c0d=_0x26d7a2;return this[_0x3e1c0d(0x130)]=_0x4bee5f,this;}['build'](){const _0x483b5d=_0x26d7a2;let _0x12f180=super[_0x483b5d(0x15d)]();_0x12f180[_0x483b5d(0x119)]=_0x26ff7c['Line'];let _0x3b90f5=_0x12f180[_0x483b5d(0x198)]||{};return O(_0x3b90f5,_0x483b5d(0x18f),this['lineStyle']),O(_0x3b90f5,_0x483b5d(0x135),this[_0x483b5d(0x187)]),O(_0x3b90f5,_0x483b5d(0x178),this[_0x483b5d(0x1b8)]),O(_0x3b90f5,'allSeriesStyle.point.size',this['dataPointSize']),_0x12f180[_0x483b5d(0x198)]=_0x3b90f5,_0x12f180;}},z=class extends P{[_0x26d7a2(0x1ba)](){const _0x7ba8a9=_0x26d7a2;return new R(this[_0x7ba8a9(0x197)],this[_0x7ba8a9(0x1b9)],this['_workbook'],this[_0x7ba8a9(0x134)],this[_0x7ba8a9(0x1bd)]);}};function _0x30f9(){const _0x2b36e7=['titles.xAxisTitle.family','setShowLabelLine','registerChartTheme','config','titles.titlePosition','setHeight','_commandService','legend','sourceSheetName','TitlePositionEnum','top','insertChart','1889888isjYFt','style','setDataPointShape','legend.label.italic','function','string','allSeriesStyle.point','doughnutHole','radar.shape','theme','build','setTheme','getRangeInfo','category','executeCommand','borderColor','setHasPaddingAngle','fill','indicatorLabelColor','titles.yAxisTitle.fontSize','titles.yAxisTitle.family','setAbsolutePosition','rightYAxis','getRange','area','yRightAxis','axisPointer','titles.rightYAxisTitle.font','setTransposeRowsAndColumns','rosePie','radar','toPrimitive','point','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','1086375jUVQvB','allSeriesStyle','titles.title.font','allSeriesStyle.point.color','lineStyle','ChartBorderDashType','tooltip.indicatorLineType','pie.doughnutHole','pie.rosePie','newChart','legend.position','titles.xAxisTitle.font','getRenderById','titles.xAxisTitle.color','pie.borderColor','isRowDirection','setInvalidValueStrategy','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','dataPointShape','with','getChartModel','setBorderColor','legend.label.fontSize','position','2546322RnWaOV','prototype','area.lineStyle','title','gradientFill','setOptions','setPosition','showLabelLine','titles.yAxisTitle.color','titles.rightYAxisTitle.content','unitId','options','setFill','setChartType','titles.title.align','iterator','setAllSeriesStyle','getSheetId','titles.title.content','label','setDataPointColor','AxisAlignEnum','1313922CXihmy','italic','_workbook','call','color','Pie','range','Radar','1850304uufyPL','setIsHalfPie','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','indicatorLineType','legend.label.bold','yAxis','setRightYAxisTextStyle','setYAxisTextStyle','getChartType','width','titles.title.bold','DRAWING_CHART','defineProperty','dataPointColor','subUnitId','asLineChart','clearRange','bold','chartId','dataSource','map','titles.yAxisTitle.bold','allSeriesStyle.label','hasPaddingAngle','titles.yAxisTitle.font','setXAxisTitle','getCategoryData','removeChart','pie.showLabelLine','getUnitChartModels','yAxisTitle','modify','transposeRowsAndColumns','asPieChart','indicatorLineColor','allSeriesStyle.rightYAxis','setAxisPointerStyle','titles.title.fontSize','getUnitId','content','getSeriesData','LinePointShape','21UuyzMh','symbol','tooltip.indicatorLabelTextColor','height','titles.rightYAxisTitle.fontSize','setRightYAxisTitle','setSeriesStyle','chartType','invalidValueType','context','legend.selectMode','SelectModeEnum','setYAxisTitle','default','legend.label.color','fontStyle','allSeriesStyle.color','4645972gwugCh','titles.title.color','series','fontColor','titles.rightYAxisTitle.bold','asRadarChart','xAxisTitle','getWorkbook','isHalfPie','fontSize','pie.isHalfPie','getChartId','shape','dataPointSize','font','titles.yAxisTitle.content','102249lDWocL','_injector','allSeriesStyle.point.shape','keys','pie.hasPaddingAngle','titles.rightYAxisTitle.family','axisAlignment','ChartType','setRosePie','RadarShape','length','titles.xAxisTitle.bold','backgroundColor','extend','setXAxisTextStyle','pie','rightYAxisTitle','get','seriesStyleMap','1688atWpmi'];_0x30f9=function(){return _0x2b36e7;};return _0x30f9();}P['extend'](z);var B=class extends P{constructor(_0x114959,_0x192521,_0x19e00a,_0x223e34,_0x1fde9f){const _0x550e27=_0x26d7a2;super(_0x114959,_0x192521,_0x19e00a,_0x223e34,_0x1fde9f),N(this,_0x550e27(0x15a),void 0x0),N(this,_0x550e27(0x162),void 0x0),N(this,_0x550e27(0x1c2),void 0x0),N(this,_0x550e27(0x12b),void 0x0),N(this,_0x550e27(0x170),void 0x0),N(this,'showLabelLine',void 0x0);}['setDoughnutHole'](_0x4d2a36){return this['doughnutHole']=_0x4d2a36,this;}[_0x26d7a2(0x18a)](_0x5cb077){const _0x3e42f0=_0x26d7a2;return this[_0x3e42f0(0x162)]=_0x5cb077,this;}[_0x26d7a2(0x163)](_0x1087ea){const _0x17871f=_0x26d7a2;return this[_0x17871f(0x1c2)]=_0x1087ea,this;}[_0x26d7a2(0x1ac)](_0xcd5da9){return this['isHalfPie']=_0xcd5da9,this;}[_0x26d7a2(0x13b)](_0x2b2622){return this['rosePie']=_0x2b2622,this;}[_0x26d7a2(0x148)](_0x1dce6){return this['showLabelLine']=_0x1dce6,this;}[_0x26d7a2(0x15d)](){const _0x48db63=_0x26d7a2;let _0x45cabe=super[_0x48db63(0x15d)]();_0x45cabe['chartType']=_0x26ff7c[_0x48db63(0x1a8)];let _0x6a7ddf=_0x45cabe[_0x48db63(0x198)]||{};return O(_0x6a7ddf,_0x48db63(0x17c),this[_0x48db63(0x15a)]),O(_0x6a7ddf,_0x48db63(0x183),this['borderColor']),O(_0x6a7ddf,_0x48db63(0x137),this['hasPaddingAngle']),O(_0x6a7ddf,_0x48db63(0x12d),this['isHalfPie']),O(_0x6a7ddf,_0x48db63(0x17d),this[_0x48db63(0x170)]),O(_0x6a7ddf,'pie.showLabelLine',this[_0x48db63(0x194)]),_0x45cabe[_0x48db63(0x198)]=_0x6a7ddf,_0x45cabe;}},V=class extends P{[_0x26d7a2(0x1cc)](){const _0x2227f5=_0x26d7a2;return new B(this[_0x2227f5(0x197)],this[_0x2227f5(0x1b9)],this['_workbook'],this[_0x2227f5(0x134)],this['chartId']);}};P[_0x26d7a2(0x140)](V);var H=class extends P{constructor(_0x54a0aa,_0xb28910,_0x46de2a,_0xb8680a,_0x5751a5){const _0x3b40e7=_0x26d7a2;super(_0x54a0aa,_0xb28910,_0x46de2a,_0xb8680a,_0x5751a5),N(this,_0x3b40e7(0x12f),void 0x0),N(this,'fill',void 0x0);}['setShape'](_0x960e17){return this['shape']=_0x960e17,this;}[_0x26d7a2(0x199)](_0x2e6772){return this['fill']=_0x2e6772,this;}[_0x26d7a2(0x15d)](){const _0x27e3b7=_0x26d7a2;let _0x76a403=super['build']();_0x76a403[_0x27e3b7(0x119)]=_0x26ff7c[_0x27e3b7(0x1aa)];let _0x420e46=_0x76a403['options']||{};return O(_0x420e46,_0x27e3b7(0x15b),this[_0x27e3b7(0x12f)]),O(_0x420e46,'radar.fill',this[_0x27e3b7(0x164)]),_0x76a403['options']=_0x420e46,_0x76a403;}},U=class extends P{[_0x26d7a2(0x128)](){const _0x5ee557=_0x26d7a2;return new H(this[_0x5ee557(0x197)],this[_0x5ee557(0x1b9)],this[_0x5ee557(0x1a5)],this[_0x5ee557(0x134)],this['chartId']);}};P[_0x26d7a2(0x140)](U);export{F as FChart,P as FChartBuilderBase,R as LineChartBuilder,B as PieChartBuilder,H as RadarChartBuilder};