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

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 (53) 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/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
@@ -1 +1 @@
1
- 'use strict';const _0x1e8101=_0x4a1c;(function(_0x14b03c,_0x57c4bc){const _0x45c7a8=_0x4a1c,_0x57335b=_0x14b03c();while(!![]){try{const _0x199d48=parseInt(_0x45c7a8(0xd3))/0x1*(parseInt(_0x45c7a8(0x109))/0x2)+-parseInt(_0x45c7a8(0x10a))/0x3+-parseInt(_0x45c7a8(0xa4))/0x4+parseInt(_0x45c7a8(0x10c))/0x5+-parseInt(_0x45c7a8(0x10f))/0x6+-parseInt(_0x45c7a8(0x100))/0x7+parseInt(_0x45c7a8(0xfa))/0x8;if(_0x199d48===_0x57c4bc)break;else _0x57335b['push'](_0x57335b['shift']());}catch(_0x245389){_0x57335b['push'](_0x57335b['shift']());}}}(_0x19c7,0x21197));function _0x4a1c(_0xdab957,_0x58bbf7){const _0x19c719=_0x19c7();return _0x4a1c=function(_0x4a1c7c,_0x5670fb){_0x4a1c7c=_0x4a1c7c-0xa4;let _0x123f5e=_0x19c719[_0x4a1c7c];return _0x123f5e;},_0x4a1c(_0xdab957,_0x58bbf7);}function _0x19c7(){const _0x29a37c=['堆疊方式','百分比堆疊面積圖','扇形間距','編輯圖表','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','第三四分位數','請先添加系列開始數據可視化','移動平均周期','負數類型','顯示標籤線','正值樣式','隱藏圖表面板','377904MjgTUQ','最大值','逆序軸','折線圖','貨幣類型','副標題','所有系列','千分位符','趨勢線顏色','(空)','最小值','標籤位置','指示標籤','添加趨勢線','格式類型','累積占比系列','{0}\x20粗細','字段設置','關係圖','圖表樣式','組合圖','小計圖例文本','圖表類型','空心圓形','刻度線位置','氣泡大小','標籤旋轉','垂直軸','顯示小計','節點形狀','刪除圖表','熱力圖','正值圖例文本','圖例選擇模式','散點圖','力導向','数值后缀','桑基圖','日期格式將日期和時間系列數值顯示為日期值。','水平軸','網格線和刻度線','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','用直線連接數據點','漸變填充','條形圖','第一四分位數','更多設置','18qEWitQ','氣泡標籤','佈局類型','百分比堆疊','柱狀圖','小數位數','使用日期軸','主刻度線','標題格式','指示線','右垂直軸','設置圖表','左對齊','X軸標題','exports','使用絕對值','數據點','開啟選中淡入特效','類別\x20{0}','百分比堆疊條形圖','負值圖例文本','顯示軸線','圖表數據源必須包含多於1行和1列。','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','顯示R平方','線類型','趨勢線','軸選項','氣泡圖至少需要2列,X軸、Y軸。','顯示數據標籤','空心針形','圓環孔','設置標籤格式','中位數','趨勢線名稱','長條圖系列','排列圖','自定義圖表','指示線類型','3333432GSinDg','日期軸僅在數據全部為日期格式時可用','多邊形','趨勢線粗細','顯示空單元格為','視覺映射範圍','1450631futbib','主標題','顯示公式','右Y軸標題','{0}\x20格式','第\x20{0}\x20項','負值樣式','{0}\x20類型','漏斗圖','29916dilyDE','214248FpGcFZ','空心正方形','291645KeDlqM','詞雲形狀','主網格線','1413312FPwdHg','氣泡圖','常規格式不包含任何特定的數字格式。','面積圖','插入圖表','小計樣式','瀑布圖','標題文本','數據點樣式','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','空心三角形','R平方','空心矩形','節點距離','空心菱形','玫瑰圖','{0}\x20透明度','多項式','使用右軸','刻度線長度','三角形'];_0x19c7=function(){return _0x29a37c;};return _0x19c7();}const e={'chart':{'insertChart':_0x1e8101(0x113),'editChart':_0x1e8101(0x127),'openChartPanel':'打開圖表面板','deleteChart':_0x1e8101(0xc2),'hideChartPanel':_0x1e8101(0x12f),'setupChart':_0x1e8101(0xde),'customChart':_0x1e8101(0xf8),'default':'默認','reset':'重置','chartType':_0x1e8101(0xba),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x1e8101(0xaa),'series':'系列','addSeries':'添加系列','moreSettings':_0x1e8101(0xd2),'min':_0x1e8101(0xae),'max':_0x1e8101(0xa5),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x1e8101(0xce)},'blank':_0x1e8101(0xad),'seriesBlock':{'format':'格式','dataPointStyle':_0x1e8101(0x117)},'backgroundColor':'背景顏色','chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x1e8101(0x101),'subTitle':_0x1e8101(0xa9),'xAxisTitle':_0x1e8101(0xe0),'yAxisTitle':'Y軸標題','rightYAxisTitle':_0x1e8101(0x103),'titleFormat':_0x1e8101(0xdb),'titleText':_0x1e8101(0x116),'titlePosition':'標題位置','titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x1e8101(0xcf),'settingsLabels':{'switchToRowOrColumn':'切換行或列','useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x1e8101(0xfe)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x1e8101(0xdf),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x1e8101(0xb7),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x1e8101(0xc5),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x1e8101(0xee),'horizontalAxis':_0x1e8101(0xcb),'verticalAxis':_0x1e8101(0xbf),'rightVerticalAxis':_0x1e8101(0xdd),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x1e8101(0x121)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x1e8101(0xcc),'indicatorLine':_0x1e8101(0xdc),'indicatorLineType':_0x1e8101(0xf9),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x1e8101(0xb0),'indicatorValue':'指示值','shape':{'polygon':_0x1e8101(0xfc),'circle':'圓形','square':'正方形','triangle':_0x1e8101(0x123),'diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x1e8101(0xbb),'emptySquare':_0x1e8101(0x10b),'emptyTriangle':_0x1e8101(0x119),'emptyDiamond':_0x1e8101(0x11d),'emptyRect':_0x1e8101(0x11b),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x1e8101(0xf1),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x1e8101(0x11f),'withColor':'{0}\x20顏色','withThickness':_0x1e8101(0xb4),'withType':_0x1e8101(0x107),'withSize':'{0}\x20大小','withShape':'{0}\x20形狀','withFormat':_0x1e8101(0x104),'dataPoint':'數據點','dataNodeShape':_0x1e8101(0xc1),'addDataPoint':'添加數據點','point':_0x1e8101(0xe3),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x1e8101(0xd6)},'lineDashType':_0x1e8101(0xec),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x1e8101(0x10e),'text':'網格線'},'ticks':{'majorTick':_0x1e8101(0xda),'tickPosition':_0x1e8101(0xbc),'tickLength':_0x1e8101(0x122)},'none':'無','theIndexItem':_0x1e8101(0x105),'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x1e8101(0xe5),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x1e8101(0xf0),'padAngle':_0x1e8101(0x126),'halfPie':'半餅','rosePie':_0x1e8101(0x11e),'pieValScale':'数值比例','pieValSuffix':_0x1e8101(0xc8),'pieDigitalFixed':_0x1e8101(0xd8),'showLabelLine':_0x1e8101(0x12d),'reverseAxisOrder':_0x1e8101(0xa6),'showAxisLine':_0x1e8101(0xe8),'labelPosition':_0x1e8101(0xaf),'labelText':'標籤文本','repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':_0x1e8101(0xe2),'labelRotate':_0x1e8101(0xbe),'wordCloudShape':_0x1e8101(0x10d),'useDateAxis':_0x1e8101(0xd9),'dateAxisTips':_0x1e8101(0xfb)},'radar':{'fill':'填充'},'doughnutHole':_0x1e8101(0xf2),'msg':{'invalidSource':_0x1e8101(0xe9),'emptyTips':_0x1e8101(0x12a)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x1e8101(0xed),'displayName':_0x1e8101(0xf5),'addTrendLine':_0x1e8101(0xb1),'trendlineType':'趨勢線類型','trendlineName':_0x1e8101(0xf5),'trendlineColor':_0x1e8101(0xac),'trendlineThickness':_0x1e8101(0xfd),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x1e8101(0x120),'order':'多項式階數','period':_0x1e8101(0x12b),'showFormula':_0x1e8101(0x102),'showR2':_0x1e8101(0xeb),'formula':'公式','r2':_0x1e8101(0x11a)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x1e8101(0xbd),'label':_0x1e8101(0xd4),'emptyTips':_0x1e8101(0xef)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x1e8101(0xc7),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':_0x1e8101(0xd5),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x1e8101(0x11c),'rotateLabel':'旋轉標籤','emphasis':_0x1e8101(0xe4),'emptyTips':_0x1e8101(0xcd)},'waterfall':{'stackType':_0x1e8101(0x124),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x1e8101(0xc0),'positiveStyle':_0x1e8101(0x12e),'negativeStyle':_0x1e8101(0x106),'subtotalStyle':_0x1e8101(0x114),'positiveLegendText':_0x1e8101(0xc4),'negativeLegendText':_0x1e8101(0xe7),'subtotalLegendText':_0x1e8101(0xb9)},'pareto':{'lineName':'累積占比','lineSeries':_0x1e8101(0xb3),'barSeries':_0x1e8101(0xf6)},'visualMapScope':_0x1e8101(0xff),'boxplot':{'min':_0x1e8101(0xae),'q1':_0x1e8101(0xd1),'median':_0x1e8101(0xf4),'q3':_0x1e8101(0x129),'max':'最大值'}},'chartTypes':{'line':_0x1e8101(0xa7),'area':_0x1e8101(0x112),'areaStacked':'堆疊面積圖','areaPercentStacked':_0x1e8101(0x125),'column':_0x1e8101(0xd7),'bar':_0x1e8101(0xd0),'barStacked':'堆疊條形圖','barPercentStacked':_0x1e8101(0xe6),'pie':'餅圖','donut':'環形圖','scatter':_0x1e8101(0xc6),'radar':'雷達圖','bubble':_0x1e8101(0x110),'stock':'股票圖','combination':_0x1e8101(0xb8),'wordCloud':'詞雲圖','funnel':_0x1e8101(0x108),'relation':_0x1e8101(0xb6),'waterfall':_0x1e8101(0x115),'pareto':_0x1e8101(0xf7),'sankey':_0x1e8101(0xc9),'heatmap':_0x1e8101(0xc3),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x1e8101(0xab),'fieldSetting':_0x1e8101(0xb5),'formatTypes':_0x1e8101(0xb2),'confirm':'確定','cancel':'取消','generalDesc':_0x1e8101(0x111),'accountingDesc':_0x1e8101(0x128),'currencyDesc':_0x1e8101(0x118),'dateDesc':_0x1e8101(0xca),'thousandthPercentileDesc':_0x1e8101(0xea),'decimalPlaces':_0x1e8101(0xd8),'currencyTypes':_0x1e8101(0xa8),'negativeNumberTypes':_0x1e8101(0x12c),'dateTypes':'日期類型'},'setFormat':_0x1e8101(0xf3)}};module[_0x1e8101(0xe1)]=e;
1
+ 'use strict';const _0x58667f=_0x3e9d;(function(_0x297c79,_0x5a5ca4){const _0x5d5771=_0x3e9d,_0x501fdb=_0x297c79();while(!![]){try{const _0x26ed4c=parseInt(_0x5d5771(0x1e8))/0x1*(-parseInt(_0x5d5771(0x24b))/0x2)+parseInt(_0x5d5771(0x244))/0x3+parseInt(_0x5d5771(0x1c9))/0x4*(-parseInt(_0x5d5771(0x1cd))/0x5)+-parseInt(_0x5d5771(0x1d6))/0x6+parseInt(_0x5d5771(0x1e7))/0x7*(-parseInt(_0x5d5771(0x227))/0x8)+parseInt(_0x5d5771(0x1f0))/0x9*(-parseInt(_0x5d5771(0x1fa))/0xa)+parseInt(_0x5d5771(0x1ee))/0xb*(parseInt(_0x5d5771(0x1e6))/0xc);if(_0x26ed4c===_0x5a5ca4)break;else _0x501fdb['push'](_0x501fdb['shift']());}catch(_0x531ef1){_0x501fdb['push'](_0x501fdb['shift']());}}}(_0x5844,0x3e965));const e={'chart':{'insertChart':_0x58667f(0x201),'editChart':_0x58667f(0x1ed),'openChartPanel':'打開圖表面板','deleteChart':_0x58667f(0x21a),'hideChartPanel':_0x58667f(0x249),'setupChart':_0x58667f(0x202),'customChart':_0x58667f(0x218),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x58667f(0x1cb),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x58667f(0x24c),'series':'系列','addSeries':_0x58667f(0x232),'moreSettings':'更多設置','min':_0x58667f(0x1f7),'max':_0x58667f(0x1dc),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x58667f(0x1e1)},'blank':_0x58667f(0x24f),'seriesBlock':{'format':'格式','dataPointStyle':_0x58667f(0x1d4)},'backgroundColor':_0x58667f(0x252),'chartBorderColor':_0x58667f(0x242),'titles':{'title':'標題','mainTitle':_0x58667f(0x206),'subTitle':_0x58667f(0x1cc),'xAxisTitle':'X軸標題','yAxisTitle':_0x58667f(0x1e3),'rightYAxisTitle':_0x58667f(0x1f3),'titleFormat':_0x58667f(0x240),'titleText':_0x58667f(0x258),'titlePosition':_0x58667f(0x233),'titleAlign':_0x58667f(0x24d)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x58667f(0x23b),'settingsLabels':{'switchToRowOrColumn':'切換行或列','useAsCategoryLabels':_0x58667f(0x1d8),'showEmptyCellsAs':_0x58667f(0x236)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':_0x58667f(0x1e2)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x58667f(0x1f9),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x58667f(0x20e),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':_0x58667f(0x250),'verticalAxis':'垂直軸','rightVerticalAxis':_0x58667f(0x220),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x58667f(0x228)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x58667f(0x1e0),'indicatorLine':_0x58667f(0x1c3),'indicatorLineType':_0x58667f(0x20a),'indicatorLineColor':_0x58667f(0x226),'indicatorLabel':_0x58667f(0x246),'indicatorValue':'指示值','shape':{'polygon':_0x58667f(0x234),'circle':'圓形','square':_0x58667f(0x1d3),'triangle':_0x58667f(0x20b),'diamond':'菱形','rect':'矩形','roundRect':_0x58667f(0x1f5),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x58667f(0x216),'emptySquare':_0x58667f(0x222),'emptyTriangle':_0x58667f(0x1ca),'emptyDiamond':_0x58667f(0x21f),'emptyRect':_0x58667f(0x223),'emptyRoundRect':_0x58667f(0x200),'emptyPin':'空心針形','emptyArrow':_0x58667f(0x22f)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x58667f(0x1d0),'withColor':'{0}\x20顏色','withThickness':_0x58667f(0x22e),'withType':_0x58667f(0x211),'withSize':_0x58667f(0x239),'withShape':'{0}\x20形狀','withFormat':_0x58667f(0x1f4),'dataPoint':_0x58667f(0x1fd),'dataNodeShape':'節點形狀','addDataPoint':_0x58667f(0x210),'point':_0x58667f(0x1fd),'percentage':_0x58667f(0x1c7),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x58667f(0x1ec)},'lineDashType':_0x58667f(0x1ce),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x58667f(0x225),'text':_0x58667f(0x1f6)},'ticks':{'majorTick':_0x58667f(0x256),'tickPosition':_0x58667f(0x20d),'tickLength':_0x58667f(0x224)},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x58667f(0x243),'categoryDefaultName':_0x58667f(0x219),'styleEditPanel':{'showLabels':_0x58667f(0x1f8),'showDataLabels':_0x58667f(0x251),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x58667f(0x23a),'pieValScale':_0x58667f(0x1e9),'pieValSuffix':'数值后缀','pieDigitalFixed':_0x58667f(0x1fb),'showLabelLine':_0x58667f(0x21b),'reverseAxisOrder':_0x58667f(0x215),'showAxisLine':_0x58667f(0x1ef),'labelPosition':'標籤位置','labelText':_0x58667f(0x257),'repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x58667f(0x23d),'wordCloudShape':_0x58667f(0x241),'useDateAxis':_0x58667f(0x1ff),'dateAxisTips':_0x58667f(0x22d)},'radar':{'fill':'填充'},'doughnutHole':_0x58667f(0x254),'msg':{'invalidSource':_0x58667f(0x23e),'emptyTips':_0x58667f(0x1d2)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x58667f(0x1eb),'addTrendLine':'添加趨勢線','trendlineType':'趨勢線類型','trendlineName':_0x58667f(0x1eb),'trendlineColor':_0x58667f(0x22c),'trendlineThickness':_0x58667f(0x212),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x58667f(0x237),'poly':_0x58667f(0x229),'order':_0x58667f(0x205),'period':_0x58667f(0x204),'showFormula':'顯示公式','showR2':_0x58667f(0x1d1),'formula':'公式','r2':_0x58667f(0x21c)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x58667f(0x1c5),'label':_0x58667f(0x1e4),'emptyTips':_0x58667f(0x1d9)},'relation':{'title':_0x58667f(0x1c4),'auto':'自動','circular':'環形','force':_0x58667f(0x208),'useValueAsSymbolSize':_0x58667f(0x1e5),'layoutType':_0x58667f(0x230),'forceOptions':_0x58667f(0x24e),'repulsion':'斥力','gravity':'引力','edgeLength':_0x58667f(0x1da),'rotateLabel':_0x58667f(0x238),'emphasis':'開啟選中淡入特效','emptyTips':_0x58667f(0x214)},'waterfall':{'stackType':_0x58667f(0x203),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x58667f(0x24a),'negativeStyle':_0x58667f(0x1db),'subtotalStyle':_0x58667f(0x1c6),'positiveLegendText':_0x58667f(0x1fc),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0x58667f(0x23f)},'pareto':{'lineName':_0x58667f(0x1f2),'lineSeries':_0x58667f(0x1de),'barSeries':_0x58667f(0x231)},'visualMapScope':'視覺映射範圍','boxplot':{'min':_0x58667f(0x1f7),'q1':'第一四分位數','median':_0x58667f(0x217),'q3':_0x58667f(0x1df),'max':_0x58667f(0x1dc)}},'chartTypes':{'line':_0x58667f(0x209),'area':_0x58667f(0x248),'areaStacked':_0x58667f(0x245),'areaPercentStacked':_0x58667f(0x235),'column':_0x58667f(0x1c2),'bar':_0x58667f(0x207),'barStacked':_0x58667f(0x221),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x58667f(0x23c),'scatter':'散點圖','radar':_0x58667f(0x21d),'bubble':_0x58667f(0x1c8),'stock':_0x58667f(0x247),'combination':_0x58667f(0x1ea),'wordCloud':_0x58667f(0x1fe),'funnel':_0x58667f(0x1cf),'relation':_0x58667f(0x1c4),'waterfall':'瀑布圖','pareto':_0x58667f(0x1d7),'sankey':_0x58667f(0x1d5),'heatmap':_0x58667f(0x20c),'boxplot':_0x58667f(0x21e)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x58667f(0x1dd),'fieldSetting':_0x58667f(0x259),'formatTypes':_0x58667f(0x213),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x58667f(0x1f1),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x58667f(0x255),'thousandthPercentileDesc':_0x58667f(0x22a),'decimalPlaces':'小數位數','currencyTypes':_0x58667f(0x253),'negativeNumberTypes':'負數類型','dateTypes':_0x58667f(0x22b)},'setFormat':'設置標籤格式'}};function _0x5844(){const _0x18f69d=['格式類型','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','逆序軸','空心圓形','中位數','自定義圖表','類別\x20{0}','刪除圖表','顯示標籤線','R平方','雷達圖','箱型圖','空心菱形','右垂直軸','堆疊條形圖','空心正方形','空心矩形','刻度線長度','主網格線','指示線顏色','72oIiAEM','使用右軸','多項式','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','日期類型','趨勢線顏色','日期軸僅在數據全部為日期格式時可用','{0}\x20粗細','空心箭頭','佈局類型','長條圖系列','添加系列','標題位置','多邊形','百分比堆疊面積圖','顯示空單元格為','移動平均','旋轉標籤','{0}\x20大小','玫瑰圖','漸變填充','環形圖','標籤旋轉','圖表數據源必須包含多於1行和1列。','小計圖例文本','標題格式','詞雲形狀','圖表邊框顏色','系列\x20{0}','356544nNHqyV','堆疊面積圖','指示標籤','股票圖','面積圖','隱藏圖表面板','正值樣式','2gluLSQ','所有系列','標題對齊','力導向選項','()','水平軸','顯示數據標籤','背景顏色','貨幣類型','圓環孔','日期格式將日期和時間系列數值顯示為日期值。','主刻度線','標籤文本','標題文本','字段設置','柱狀圖','指示線','關係圖','氣泡大小','小計樣式','百分比','氣泡圖','20tkEDoD','空心三角形','數據範圍','副標題','184355BVerqu','線類型','漏斗圖','{0}\x20透明度','顯示R平方','請先添加系列開始數據可視化','正方形','數據點樣式','桑基圖','1250574hbqvTI','排列圖','使用\x20{0}\x20作為類別標籤','氣泡圖至少需要2列,X軸、Y軸。','節點距離','負值樣式','最大值','千分位符','累積占比系列','第三四分位數','網格線和刻度線','用直線連接數據點','右對齊','Y軸標題','氣泡標籤','使用值作為節點大小','17107716xYdESn','244097OClESC','99299vQzMdH','数值比例','組合圖','趨勢線名稱','百分比堆疊','編輯圖表','11JeGDtS','顯示軸線','36bTDRcm','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','累積占比','右Y軸標題','{0}\x20格式','圓角矩形','網格線','最小值','顯示標籤','圖表樣式','1205530zZQocM','小數位數','正值圖例文本','數據點','詞雲圖','使用日期軸','空心圓角矩形','插入圖表','設置圖表','堆疊方式','移動平均周期','多項式階數','主標題','條形圖','力導向','折線圖','指示線類型','三角形','熱力圖','刻度線位置','圖例選擇模式','exports','添加數據點','{0}\x20類型','趨勢線粗細'];_0x5844=function(){return _0x18f69d;};return _0x5844();}function _0x3e9d(_0x5d6f5a,_0x59ee48){const _0x584424=_0x5844();return _0x3e9d=function(_0x3e9d8b,_0x26d5b6){_0x3e9d8b=_0x3e9d8b-0x1c2;let _0x43b66b=_0x584424[_0x3e9d8b];return _0x43b66b;},_0x3e9d(_0x5d6f5a,_0x59ee48);}module[_0x58667f(0x20f)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x13f995=_0x31b1;(function(_0x425e6f,_0x2a95ad){const _0x282529=_0x31b1,_0x3879a0=_0x425e6f();while(!![]){try{const _0x689d6d=parseInt(_0x282529(0x107))/0x1+parseInt(_0x282529(0x14c))/0x2*(-parseInt(_0x282529(0xe3))/0x3)+parseInt(_0x282529(0xf3))/0x4*(parseInt(_0x282529(0xe9))/0x5)+parseInt(_0x282529(0xf2))/0x6+-parseInt(_0x282529(0xef))/0x7+parseInt(_0x282529(0x18b))/0x8*(parseInt(_0x282529(0x17e))/0x9)+-parseInt(_0x282529(0x102))/0xa;if(_0x689d6d===_0x2a95ad)break;else _0x3879a0['push'](_0x3879a0['shift']());}catch(_0x5cc2d9){_0x3879a0['push'](_0x3879a0['shift']());}}}(_0x3e26,0xdfdde));var b=Object[_0x13f995(0xe7)],k=(_0xb27002,_0x523062,_0x85162a)=>_0x523062 in _0xb27002?b(_0xb27002,_0x523062,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x85162a}):_0xb27002[_0x523062]=_0x85162a,n=(_0x2bcebe,_0x518e14,_0x4426b4)=>k(_0x2bcebe,typeof _0x518e14!=_0x13f995(0x155)?_0x518e14+'':_0x518e14,_0x4426b4);import{ChartThemeService as _0x56cea5,ChartTypeBits as _0x3adf28,LegendPositionEnum as _0x35bb14,SelectModeEnum as _0x53a406,AxisAlignEnum as _0x4c06b6,ChartBorderDashType as _0x3c4cf8,LinePointShape as _0x5cc65b,TitlePositionEnum as _0x31a048,RadarShape as _0x38d601}from'@univerjs-pro/engine-chart';import{setProperty as _0x1d683f,SheetsChartService as _0x1cc484,ChartUpdateSourceCommand as _0x5b02b9,ChartUpdateConfigCommand as _0x2269da}from'@univerjs-pro/sheets-chart';function _0x31b1(_0x4faaa7,_0x2cf40e){const _0x3e266a=_0x3e26();return _0x31b1=function(_0x31b17c,_0x36dbb3){_0x31b17c=_0x31b17c-0xd5;let _0x4d563c=_0x3e266a[_0x31b17c];return _0x4d563c;},_0x31b1(_0x4faaa7,_0x2cf40e);}import{InsertChartCommand as _0x242fc1}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x5338e6,IUniverInstanceService as _0x2e2b91,UniverInstanceType as _0x50aecf,generateRandomId as _0x29bfb4,DrawingTypeEnum as _0x423fc7}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1efc27}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x28f945}from'@univerjs/sheets/facade';import{FBase as _0x54b5fe,FEnum as _0x294962}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x514729}from'@univerjs/engine-formula';import{IRenderManagerService as _0x5b0680}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x484f77,SheetSkeletonManagerService as _0x539478,convertPositionCellToSheetOverGrid as _0x1f11f5}from'@univerjs/sheets-ui';const s=(_0x521a89,_0x1b7e01,_0x401f40)=>{_0x401f40!==void 0x0&&_0x1d683f(_0x521a89,_0x1b7e01,_0x401f40);},C=(_0x451567,_0x64e0df,_0x2fa8e5,_0x38fcf8={})=>{const _0x3312b6=_0x13f995,_0x2e7e24={},_0x230636={};if(_0x38fcf8['title']){const _0x44bbbc=_0x38fcf8['title'];s(_0x2e7e24,_0x3312b6(0xee),_0x44bbbc[_0x3312b6(0x141)]),s(_0x2e7e24,'titles.title.font',_0x44bbbc['font']),s(_0x2e7e24,_0x3312b6(0x126),_0x44bbbc[_0x3312b6(0xdf)]),s(_0x2e7e24,_0x3312b6(0x16b),_0x44bbbc[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x159),_0x44bbbc[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0xfd),_0x44bbbc[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x105),_0x44bbbc[_0x3312b6(0x181)]),s(_0x2e7e24,_0x3312b6(0x177),_0x44bbbc['position']);}if(_0x38fcf8[_0x3312b6(0x147)]){const _0x2b63e4=_0x38fcf8['legend'];s(_0x2e7e24,'legend.position',_0x2b63e4[_0x3312b6(0xf6)]),s(_0x2e7e24,'legend.selectMode',_0x2b63e4[_0x3312b6(0x106)]),s(_0x2e7e24,_0x3312b6(0x10b),_0x2b63e4[_0x3312b6(0xdf)]),s(_0x2e7e24,'legend.label.color',_0x2b63e4[_0x3312b6(0x195)]),s(_0x2e7e24,_0x3312b6(0x140),_0x2b63e4['bold']),s(_0x2e7e24,'legend.label.italic',_0x2b63e4[_0x3312b6(0x16c)]);}if(_0x38fcf8[_0x3312b6(0x10d)]){const _0x264c40=_0x38fcf8[_0x3312b6(0x10d)];s(_0x2e7e24,_0x3312b6(0xf7),_0x264c40[_0x3312b6(0x172)]),s(_0x2e7e24,_0x3312b6(0x16d),_0x264c40[_0x3312b6(0x163)]),s(_0x2e7e24,_0x3312b6(0x142),_0x264c40[_0x3312b6(0x115)]),s(_0x2e7e24,'pie.isHalfPie',_0x264c40[_0x3312b6(0xf9)]),s(_0x2e7e24,_0x3312b6(0xdc),_0x264c40['rosePie']),s(_0x2e7e24,'pie.showLabelLine',_0x264c40[_0x3312b6(0xfc)]);}if(_0x38fcf8['axisPointer']){const _0x57754c=_0x38fcf8[_0x3312b6(0x154)];s(_0x2e7e24,_0x3312b6(0x10f),_0x57754c[_0x3312b6(0xe5)]),s(_0x2e7e24,_0x3312b6(0x12f),_0x57754c[_0x3312b6(0x182)]),s(_0x2e7e24,_0x3312b6(0xd6),_0x57754c[_0x3312b6(0x14a)]),s(_0x2e7e24,'tooltip.indicatorLabelTextColor',_0x57754c[_0x3312b6(0x158)]);}if(_0x38fcf8[_0x3312b6(0x14b)]&&(s(_0x2e7e24,_0x3312b6(0x116),_0x38fcf8[_0x3312b6(0x14b)][_0x3312b6(0xe0)]),s(_0x2e7e24,_0x3312b6(0x16f),_0x38fcf8['allSeriesStyle']['label']),s(_0x2e7e24,_0x3312b6(0xd8),_0x38fcf8[_0x3312b6(0x14b)]['rightYAxis']),s(_0x2e7e24,_0x3312b6(0x137),_0x38fcf8[_0x3312b6(0x14b)][_0x3312b6(0x145)]),s(_0x2e7e24,'allSeriesStyle.color',_0x38fcf8['allSeriesStyle'][_0x3312b6(0x195)])),_0x38fcf8['area']&&s(_0x2e7e24,_0x3312b6(0xf0),_0x38fcf8[_0x3312b6(0x12a)]['lineStyle']),_0x38fcf8[_0x3312b6(0x18c)]&&s(_0x2e7e24,_0x3312b6(0x18c),_0x38fcf8['theme']),_0x38fcf8[_0x3312b6(0x174)]&&s(_0x2e7e24,'backgroundColor',_0x38fcf8[_0x3312b6(0x174)]),_0x38fcf8[_0x3312b6(0x163)]&&s(_0x2e7e24,_0x3312b6(0x163),_0x38fcf8['borderColor']),_0x38fcf8[_0x3312b6(0xde)]&&s(_0x2e7e24,_0x3312b6(0xde),_0x38fcf8[_0x3312b6(0xde)]),_0x38fcf8[_0x3312b6(0x157)]&&s(_0x2e7e24,_0x3312b6(0x157),_0x38fcf8[_0x3312b6(0x157)]),_0x38fcf8[_0x3312b6(0x13b)]&&s(_0x2e7e24,_0x3312b6(0x13b),_0x38fcf8[_0x3312b6(0x13b)]),_0x38fcf8['xAxisTitle']){const _0x58d5bd=_0x38fcf8[_0x3312b6(0x160)];s(_0x2e7e24,_0x3312b6(0x179),_0x58d5bd[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x114),_0x58d5bd[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xed),_0x58d5bd['fontSize']),s(_0x2e7e24,_0x3312b6(0xda),_0x58d5bd[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x186),_0x58d5bd[_0x3312b6(0x146)]),s(_0x2e7e24,'titles.xAxisTitle.bold',_0x58d5bd[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x169),_0x58d5bd[_0x3312b6(0x187)]);}if(_0x38fcf8[_0x3312b6(0x170)]){const _0x21d070=_0x38fcf8[_0x3312b6(0x170)];s(_0x2e7e24,_0x3312b6(0xe2),_0x21d070[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x135),_0x21d070[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xe6),_0x21d070[_0x3312b6(0xdf)]),s(_0x2e7e24,'titles.yAxisTitle.color',_0x21d070[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x143),_0x21d070[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0x12b),_0x21d070[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x18d),_0x21d070[_0x3312b6(0x187)]);}if(_0x38fcf8['rightYAxisTitle']){const _0x319197=_0x38fcf8[_0x3312b6(0x150)];s(_0x2e7e24,'titles.rightYAxisTitle.content',_0x319197[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x18f),_0x319197[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xfa),_0x319197['fontSize']),s(_0x2e7e24,_0x3312b6(0x14f),_0x319197[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x100),_0x319197[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0xe8),_0x319197[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0xe4),_0x319197[_0x3312b6(0x187)]);}_0x38fcf8[_0x3312b6(0xfb)]&&s(_0x2e7e24,'xAxis',_0x38fcf8[_0x3312b6(0xfb)]),_0x38fcf8[_0x3312b6(0x18a)]&&s(_0x2e7e24,_0x3312b6(0x18a),_0x38fcf8[_0x3312b6(0x18a)]),_0x38fcf8[_0x3312b6(0x13a)]&&s(_0x2e7e24,_0x3312b6(0x17d),_0x38fcf8[_0x3312b6(0x13a)]),_0x38fcf8[_0x3312b6(0x127)]&&s(_0x2e7e24,_0x3312b6(0x127),_0x38fcf8[_0x3312b6(0x127)]);const _0x22667b={'unitId':_0x451567,'chartModelId':_0x64e0df};let _0x30d8fa=!0x1;if(_0x2fa8e5!==void 0x0&&(_0x22667b[_0x3312b6(0xdd)]=_0x2fa8e5,_0x30d8fa=!0x0),Object[_0x3312b6(0x15f)](_0x2e7e24)[_0x3312b6(0x193)]>0x0&&(_0x22667b[_0x3312b6(0x17b)]=_0x2e7e24,_0x30d8fa=!0x0),Object[_0x3312b6(0x15f)](_0x230636)[_0x3312b6(0x193)]>0x0&&(_0x22667b[_0x3312b6(0xe1)]=_0x230636,_0x30d8fa=!0x0),_0x30d8fa)return _0x22667b;};class c extends _0x54b5fe{constructor(_0x592800,_0x5ceee6,_0x3449cf,_0x4fa99d,_0x14aca7){const _0x2f0f24=_0x13f995;super(),n(this,_0x2f0f24(0x134)),n(this,_0x2f0f24(0x121)),n(this,_0x2f0f24(0xf4)),n(this,_0x2f0f24(0x119)),n(this,_0x2f0f24(0x178)),n(this,_0x2f0f24(0x138)),n(this,_0x2f0f24(0x190)),n(this,'x'),n(this,'y'),n(this,_0x2f0f24(0x166)),n(this,'height'),n(this,_0x2f0f24(0xdd)),n(this,'options'),n(this,_0x2f0f24(0x167)),(this[_0x2f0f24(0xf4)]=_0x592800,this[_0x2f0f24(0x119)]=_0x5ceee6,this[_0x2f0f24(0x134)]=_0x3449cf,this[_0x2f0f24(0x121)]=_0x4fa99d,_0x14aca7&&(this[_0x2f0f24(0x178)]=_0x14aca7));}['getChartType'](){return this['chartType'];}[_0x13f995(0x118)](_0x172671){const _0x33da8f=_0x13f995;if(typeof _0x172671==_0x33da8f(0x123)){const _0x4909e1=_0x514729(_0x172671);_0x4909e1['sheetName']&&(this[_0x33da8f(0x190)]=_0x4909e1[_0x33da8f(0x15c)]),this[_0x33da8f(0x138)]=_0x4909e1[_0x33da8f(0x138)];}else this[_0x33da8f(0x138)]=_0x172671;return this;}[_0x13f995(0x103)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x13f995(0xf5)](_0x5aa354,_0x2180b9,_0x2f5f62,_0x5cf4db){const _0x123f96=_0x13f995,_0x242956=this[_0x123f96(0x121)]['get'](_0x5b0680)[_0x123f96(0x192)](this[_0x123f96(0xf4)]);if(!_0x242956)throw new Error(_0x123f96(0x194));const _0x3d86c0=_0x242956[_0x123f96(0x109)](_0x484f77),_0x30cf03=_0x242956[_0x123f96(0x109)](_0x539478),{transform:_0x56c4b9}=_0x1f11f5(this[_0x123f96(0xf4)],this[_0x123f96(0x119)],{'row':_0x5aa354,'column':_0x2180b9,'rowOffset':_0x2f5f62,'columnOffset':_0x5cf4db},0x1,0x1,_0x3d86c0,_0x30cf03),_0x1eb137=_0x56c4b9[_0x123f96(0x180)],_0x206f7d=_0x56c4b9['left'];return this['x']=_0x206f7d,this['y']=_0x1eb137,this;}[_0x13f995(0xd7)](_0x1c95a9,_0x1d2487){return this['x']=_0x1c95a9,this['y']=_0x1d2487,this;}['setChartType'](_0x35d376){return this['chartType']=_0x35d376,this;}[_0x13f995(0xd5)](_0x2eaddf){const _0x292988=_0x13f995;return this[_0x292988(0x166)]=_0x2eaddf,this;}[_0x13f995(0x11f)](_0x347368){const _0x286c9c=_0x13f995;return this[_0x286c9c(0x101)]=_0x347368,this;}[_0x13f995(0x110)](_0x4ce1de,_0x3141fb){const _0x32a7da=_0x13f995;return this[_0x32a7da(0x10e)]||(this[_0x32a7da(0x10e)]={}),_0x4ce1de===''?(this[_0x32a7da(0x10e)]={...this[_0x32a7da(0x10e)],..._0x3141fb},this):(_0x1d683f(this['options'],_0x4ce1de,_0x3141fb),this);}[_0x13f995(0x18e)](_0x18dc55){const _0x4cb1be=_0x13f995;return this[_0x4cb1be(0x167)]=_0x18dc55,this;}[_0x13f995(0x162)](_0x10a017){const _0x2110b5=_0x13f995;return this[_0x2110b5(0x110)](_0x2110b5(0x18c),_0x10a017),this;}[_0x13f995(0x17f)](_0x73d372){const _0x6701f1=_0x13f995;var _0x5e4cee;const _0x38973f=((_0x5e4cee=this[_0x6701f1(0x10e)])==null?void 0x0:_0x5e4cee[_0x6701f1(0x160)])||{};return _0x38973f[_0x6701f1(0x141)]=_0x73d372,this['setOptions'](_0x6701f1(0x160),_0x38973f),this;}[_0x13f995(0x11e)](_0x5224fd){const _0x47b861=_0x13f995;var _0x2bbad2;const _0x1c480a=((_0x2bbad2=this[_0x47b861(0x10e)])==null?void 0x0:_0x2bbad2[_0x47b861(0x170)])||{};return _0x1c480a[_0x47b861(0x141)]=_0x5224fd,this['setOptions']('yAxisTitle',_0x1c480a),this;}[_0x13f995(0x108)](_0x40b2f7){const _0x27c6c2=_0x13f995;var _0xcca8ff;const _0x44ce1b=((_0xcca8ff=this['options'])==null?void 0x0:_0xcca8ff[_0x27c6c2(0x150)])||{};return _0x44ce1b[_0x27c6c2(0x141)]=_0x40b2f7,this[_0x27c6c2(0x110)](_0x27c6c2(0x150),_0x44ce1b),this;}[_0x13f995(0x128)](_0x26b4f3){const _0x5e3e87=_0x13f995;var _0x190d3d;const _0x141a17=((_0x190d3d=this[_0x5e3e87(0x10e)])==null?void 0x0:_0x190d3d['xAxisTitle'])||{};return this[_0x5e3e87(0x110)](_0x5e3e87(0x160),{..._0x141a17,..._0x26b4f3}),this;}['setYAxisTextStyle'](_0x823599){const _0xbb0591=_0x13f995;var _0xdc49a8;const _0x2ef230=((_0xdc49a8=this[_0xbb0591(0x10e)])==null?void 0x0:_0xdc49a8[_0xbb0591(0x170)])||{};return this[_0xbb0591(0x110)](_0xbb0591(0x170),{..._0x2ef230,..._0x823599}),this;}[_0x13f995(0x14e)](_0x5562fe){const _0x241042=_0x13f995;var _0x50b9b1;const _0x7f8213=((_0x50b9b1=this[_0x241042(0x10e)])==null?void 0x0:_0x50b9b1[_0x241042(0x150)])||{};return this[_0x241042(0x110)](_0x241042(0x150),{..._0x7f8213,..._0x5562fe}),this;}['setInvalidValueStrategy'](_0x25b70f){const _0x1aa8d4=_0x13f995;return this[_0x1aa8d4(0x110)]('invalidValueType',_0x25b70f),this;}[_0x13f995(0x16e)](_0x58cc5b){const _0x89f207=_0x13f995;return this['setOptions'](_0x89f207(0x154),_0x58cc5b),this;}['setAllSeriesStyle'](_0x58f22e){const _0x2d228c=_0x13f995;return this[_0x2d228c(0x110)](_0x2d228c(0x14b),_0x58f22e),this;}[_0x13f995(0x11a)](_0x39b51d,_0x2bbd96){const _0x45679e=_0x13f995;return this['setOptions'](_0x45679e(0x127),{[_0x39b51d]:_0x2bbd96}),this;}[_0x13f995(0x11b)](){const _0x268687=_0x13f995;var _0x19a301;let _0x219981=this['subUnitId'];if(this[_0x268687(0x190)]){const _0x2b9fcc=(_0x19a301=this[_0x268687(0x134)][_0x268687(0x113)](this[_0x268687(0x190)]))==null?void 0x0:_0x19a301[_0x268687(0x104)]();if(!_0x2b9fcc)throw new Error('Sheet\x20'+this[_0x268687(0x190)]+_0x268687(0x15e));_0x219981=_0x2b9fcc;}return{'unitId':this[_0x268687(0xf4)],'subUnitId':_0x219981,'chartId':this['chartId'],'range':this[_0x268687(0x138)],'x':this['x'],'y':this['y'],'width':this[_0x268687(0x166)],'height':this[_0x268687(0x101)],'chartType':this['chartType'],'options':this[_0x268687(0x10e)],'isRowDirection':this[_0x268687(0x167)]};}}class f{constructor(_0x5beb4d,_0x1c0188,_0x3adaaf,_0x4a1ce0){const _0x4d8480=_0x13f995;n(this,_0x4d8480(0xf4)),n(this,_0x4d8480(0x119)),n(this,_0x4d8480(0x178)),n(this,_0x4d8480(0x121)),(this['unitId']=_0x5beb4d,this[_0x4d8480(0x119)]=_0x1c0188,this[_0x4d8480(0x178)]=_0x3adaaf,this[_0x4d8480(0x121)]=_0x4a1ce0);}[_0x13f995(0x133)](){return this['chartId'];}[_0x13f995(0x12d)](){const _0x88717a=_0x13f995,_0x245745=this['_injector'][_0x88717a(0x156)](_0x1cc484)['getChartModel'](this[_0x88717a(0x178)]);if(_0x245745)return _0x245745[_0x88717a(0xfe)][_0x88717a(0x171)]();}['updateRange'](_0x4af377){const _0x54d4b8=_0x13f995;return this[_0x54d4b8(0x121)][_0x54d4b8(0x156)](_0x5338e6)[_0x54d4b8(0x132)](_0x5b02b9['id'],{'unitId':this[_0x54d4b8(0xf4)],'chartModelId':this['chartId'],'range':_0x4af377});}[_0x13f995(0x168)](){const _0x10be56=_0x13f995;var _0x23fbfa;const _0x1efaef=this[_0x10be56(0x121)]['get'](_0x1cc484)['getChartModel'](this['chartId']);if(_0x1efaef)return(_0x23fbfa=_0x1efaef[_0x10be56(0x120)])==null?void 0x0:_0x23fbfa[_0x10be56(0x15a)];}[_0x13f995(0x175)](){const _0x2d2100=_0x13f995;var _0x74b988;const _0x33b37c=this['_injector']['get'](_0x1cc484)[_0x2d2100(0x152)](this[_0x2d2100(0x178)]);if(_0x33b37c)return(_0x74b988=_0x33b37c[_0x2d2100(0x120)])==null?void 0x0:_0x74b988[_0x2d2100(0x129)];}['modify'](){const _0x40b433=_0x13f995,_0x178fad=this[_0x40b433(0x121)]['get'](_0x2e2b91)['getCurrentUnitForType'](_0x50aecf['UNIVER_SHEET']);return new c(this['unitId'],this['subUnitId'],_0x178fad,this[_0x40b433(0x121)],this[_0x40b433(0x178)]);}}class Q extends _0x28f945{async['insertChart'](_0x2ef39a){const _0x5e176c=_0x13f995;var _0x765e9,_0x3df2ad,_0x61aded;const _0x4fa41f=_0x2ef39a[_0x5e176c(0xf4)]||this[_0x5e176c(0xd9)]()['getUnitId'](),_0x434a8d=_0x2ef39a[_0x5e176c(0x119)]||this[_0x5e176c(0x104)](),_0x51c7f2=_0x2ef39a[_0x5e176c(0x178)]||_0x29bfb4(),_0x5905c7=_0x2ef39a[_0x5e176c(0xdd)],_0x62b7d2=_0x2ef39a[_0x5e176c(0x138)],_0x8d086b={'x':_0x2ef39a['x'],'y':_0x2ef39a['y']},_0x20b198=_0x2ef39a[_0x5e176c(0x166)],_0x2a5f84=_0x2ef39a[_0x5e176c(0x101)],_0x583557=(_0x765e9=_0x2ef39a[_0x5e176c(0x10e)])==null?void 0x0:_0x765e9[_0x5e176c(0x174)],_0x2f0329=(_0x3df2ad=_0x2ef39a[_0x5e176c(0x10e)])==null?void 0x0:_0x3df2ad[_0x5e176c(0x163)],_0x49694f=C(_0x4fa41f,_0x51c7f2,_0x5905c7,_0x2ef39a[_0x5e176c(0x10e)]),_0x4908f1=(_0x61aded=_0x2ef39a[_0x5e176c(0x144)])!=null?_0x61aded:!0x0;if(!_0x62b7d2)throw new Error(_0x5e176c(0x130));return await this[_0x5e176c(0x149)]['executeCommand'](_0x242fc1['id'],{'unitId':_0x4fa41f,'subUnitId':_0x434a8d,'chartId':_0x51c7f2,'chartType':_0x5905c7,'range':_0x62b7d2,'position':_0x8d086b,'width':_0x20b198,'height':_0x2a5f84,'backgroundColor':_0x583557,'borderColor':_0x2f0329,'config':_0x49694f,'isRowDirection':_0x4908f1}),new f(_0x4fa41f,_0x434a8d,_0x51c7f2,this['_injector']);}['updateChart'](_0x58d53f){const _0x42c4a9=_0x13f995,{unitId:_0x4fb493,chartId:_0x59cb2f,chartType:_0x1de9d4,options:_0x2c3883}=_0x58d53f,_0x20cd1e=C(_0x4fb493,_0x59cb2f,_0x1de9d4,_0x2c3883);this[_0x42c4a9(0x149)][_0x42c4a9(0x132)](_0x2269da['id'],_0x20cd1e);}[_0x13f995(0x13c)](_0x337516){const _0xa00e22=_0x13f995;if(_0x337516)return new c(_0x337516[_0xa00e22(0xf4)],_0x337516[_0xa00e22(0x119)],this[_0xa00e22(0x134)],this['_injector'],_0x337516[_0xa00e22(0x178)]);const _0x5e3c23=this[_0xa00e22(0xd9)]()[_0xa00e22(0xea)](),_0x473a45=this['getSheetId']();return new c(_0x5e3c23,_0x473a45,this['_workbook'],this['_injector']);}[_0x13f995(0x176)](){const _0xfcb0cb=_0x13f995,_0x3fbf8f=this[_0xfcb0cb(0x121)][_0xfcb0cb(0x156)](_0x1cc484),_0x5b272e=this[_0xfcb0cb(0xd9)]()[_0xfcb0cb(0xea)]();return _0x3fbf8f[_0xfcb0cb(0x136)](_0x5b272e,this['getSheetId']())[_0xfcb0cb(0x17c)](_0x27bd2d=>new f(_0x5b272e,this[_0xfcb0cb(0x104)](),_0x27bd2d['id'],this[_0xfcb0cb(0x121)]));}[_0x13f995(0xeb)](_0x3a5d6a){const _0x14e64d=_0x13f995,_0x49be98=_0x3a5d6a[_0x14e64d(0xf4)],_0x4fc156=_0x3a5d6a['subUnitId'],_0x45cc89=_0x3a5d6a[_0x14e64d(0x178)],_0x1a0189={'unitId':_0x49be98,'drawings':[{'unitId':_0x49be98,'subUnitId':_0x4fc156,'drawingId':_0x45cc89,'drawingType':_0x423fc7[_0x14e64d(0xf1)]}]};return this[_0x14e64d(0x149)][_0x14e64d(0x132)](_0x1efc27['id'],_0x1a0189);}[_0x13f995(0x12e)](_0x295af4,_0x4f1516){const _0x48a308=_0x13f995;this['_injector'][_0x48a308(0x156)](_0x56cea5)['registerTheme'](_0x295af4,_0x4f1516);}}_0x28f945[_0x13f995(0x148)](Q);class Z extends _0x294962{get[_0x13f995(0xff)](){return _0x3adf28;}get[_0x13f995(0x112)](){return _0x35bb14;}get[_0x13f995(0x164)](){return _0x53a406;}get[_0x13f995(0x184)](){return _0x4c06b6;}get[_0x13f995(0x124)](){return _0x3c4cf8;}get[_0x13f995(0x117)](){return _0x5cc65b;}get[_0x13f995(0x11c)](){return _0x31a048;}get[_0x13f995(0x10a)](){return _0x38d601;}}function _0x3e26(){const _0x5a0b6f=['setShowLabelLine','isHalfPie','titles.rightYAxisTitle.fontSize','xAxis','showLabelLine','titles.title.bold','dataSource','ChartType','titles.rightYAxisTitle.family','height','29473610BbYWjL','clearRange','getSheetId','titles.title.align','selectMode','1429254Laofkn','setRightYAxisTitle','with','RadarShape','legend.label.fontSize','lineStyle','pie','options','tooltip.indicatorLabelColor','setOptions','setDataPointSize','LegendPositionEnum','getSheetBySheetName','titles.xAxisTitle.font','hasPaddingAngle','allSeriesStyle.border','LinePointShape','addRange','subUnitId','setSeriesStyle','build','TitlePositionEnum','radar.fill','setYAxisTitle','setHeight','config','_injector','setDataPointShape','string','ChartBorderDashType','Line','titles.title.fontSize','seriesStyleMap','setXAxisTextStyle','category','area','titles.yAxisTitle.bold','setShape','getRange','registerChartTheme','tooltip.indicatorLineType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','asRadarChart','executeCommand','getChartId','_workbook','titles.yAxisTitle.font','getUnitChartModels','allSeriesStyle.point','range','dataPointShape','yRightAxis','radar','newChart','dataPointSize','setFill','Radar','legend.label.bold','content','pie.hasPaddingAngle','titles.yAxisTitle.family','isRowDirection','point','fontStyle','legend','extend','_commandService','indicatorLineColor','allSeriesStyle','30496nmXlPp','shape','setRightYAxisTextStyle','titles.rightYAxisTitle.color','rightYAxisTitle','setLineStyle','getChartModel','radar.shape','axisPointer','symbol','get','invalidValueType','indicatorLabelTextColor','titles.title.family','series','fontColor','sheetName','fill','\x20not\x20found','keys','xAxisTitle','asPieChart','setTheme','borderColor','SelectModeEnum','pie.isHalfPie','width','transposeRowsAndColumns','getSeriesData','xAxis.label.axisTitleAlign','setHasPaddingAngle','titles.title.color','italic','pie.borderColor','setAxisPointerStyle','allSeriesStyle.label','yAxisTitle','getRangeInfo','doughnutHole','setRosePie','backgroundColor','getCategoryData','getCharts','titles.titlePosition','chartId','titles.xAxisTitle.content','allSeriesStyle.point.color','style','map','rightYAxis','18nbpqbz','setXAxisTitle','top','titleAlignment','indicatorLineType','setIsHalfPie','AxisAlignEnum','pie.showLabelLine','titles.xAxisTitle.family','axisAlignment','font','rosePie','yAxis','6605240EghUFU','theme','yAxis.label.axisTitleAlign','setTransposeRowsAndColumns','titles.rightYAxisTitle.font','sourceSheetName','dataPointColor','getRenderById','length','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','color','asLineChart','setWidth','tooltip.indicatorLineColor','setAbsolutePosition','allSeriesStyle.rightYAxis','getWorkbook','titles.xAxisTitle.color','bold','pie.rosePie','chartType','gradientFill','fontSize','border','context','titles.yAxisTitle.content','96eYPtqY','rightYAxis.label.axisTitleAlign','indicatorLabelColor','titles.yAxisTitle.fontSize','defineProperty','titles.rightYAxisTitle.bold','89035eKRWpT','getUnitId','removeChart','setDoughnutHole','titles.xAxisTitle.fontSize','titles.title.content','5771437IHNMtQ','area.lineStyle','DRAWING_CHART','10333410mZTLWx','84fZKMWn','unitId','setPosition','position','pie.doughnutHole'];_0x3e26=function(){return _0x5a0b6f;};return _0x3e26();}_0x294962[_0x13f995(0x148)](Z);class tt extends c{constructor(_0x112f49,_0x79a633,_0x2a1c33,_0x1d7b6f,_0x50f397){const _0x5c46da=_0x13f995;super(_0x112f49,_0x79a633,_0x2a1c33,_0x1d7b6f,_0x50f397),n(this,_0x5c46da(0x10c)),n(this,_0x5c46da(0x139)),n(this,_0x5c46da(0x191)),n(this,_0x5c46da(0x13d));}[_0x13f995(0x151)](_0x47a214){const _0x2b7cce=_0x13f995;return this[_0x2b7cce(0x10c)]=_0x47a214,this;}[_0x13f995(0x122)](_0x39ffa5){const _0x54ec3d=_0x13f995;return this[_0x54ec3d(0x139)]=_0x39ffa5,this;}['setDataPointColor'](_0x523d1c){return this['dataPointColor']=_0x523d1c,this;}[_0x13f995(0x111)](_0x1a6d08){const _0x229ceb=_0x13f995;return this[_0x229ceb(0x13d)]=_0x1a6d08,this;}[_0x13f995(0x11b)](){const _0x3b4eb4=_0x13f995,_0x2e9ca5=super['build']();_0x2e9ca5['chartType']=_0x3adf28[_0x3b4eb4(0x125)];const _0x295f6c=_0x2e9ca5[_0x3b4eb4(0x10e)]||{};return s(_0x295f6c,'area.lineStyle',this[_0x3b4eb4(0x10c)]),s(_0x295f6c,'allSeriesStyle.point.shape',this['dataPointShape']),s(_0x295f6c,_0x3b4eb4(0x17a),this[_0x3b4eb4(0x191)]),s(_0x295f6c,'allSeriesStyle.point.size',this[_0x3b4eb4(0x13d)]),_0x2e9ca5['options']=_0x295f6c,_0x2e9ca5;}}class et extends c{[_0x13f995(0x196)](){const _0x21cd8c=_0x13f995;return new tt(this[_0x21cd8c(0xf4)],this['subUnitId'],this['_workbook'],this[_0x21cd8c(0x121)],this[_0x21cd8c(0x178)]);}}c['extend'](et);class it extends c{constructor(_0x54d6f7,_0x5e6290,_0x4d441f,_0x235266,_0x59491a){const _0xf03af3=_0x13f995;super(_0x54d6f7,_0x5e6290,_0x4d441f,_0x235266,_0x59491a),n(this,_0xf03af3(0x172)),n(this,_0xf03af3(0x163)),n(this,_0xf03af3(0x115)),n(this,'isHalfPie'),n(this,_0xf03af3(0x189)),n(this,_0xf03af3(0xfc));}[_0x13f995(0xec)](_0x40a4ff){const _0x461293=_0x13f995;return this[_0x461293(0x172)]=_0x40a4ff,this;}['setBorderColor'](_0x2c41b8){const _0x27a727=_0x13f995;return this[_0x27a727(0x163)]=_0x2c41b8,this;}[_0x13f995(0x16a)](_0x629156){const _0x1fd3fc=_0x13f995;return this[_0x1fd3fc(0x115)]=_0x629156,this;}[_0x13f995(0x183)](_0x200faf){const _0x22171b=_0x13f995;return this[_0x22171b(0xf9)]=_0x200faf,this;}[_0x13f995(0x173)](_0x488929){const _0x16f84d=_0x13f995;return this[_0x16f84d(0x189)]=_0x488929,this;}[_0x13f995(0xf8)](_0x34f1f5){const _0x39d188=_0x13f995;return this[_0x39d188(0xfc)]=_0x34f1f5,this;}[_0x13f995(0x11b)](){const _0x14bff7=_0x13f995,_0x4fb30a=super[_0x14bff7(0x11b)]();_0x4fb30a['chartType']=_0x3adf28['Pie'];const _0x53c089=_0x4fb30a[_0x14bff7(0x10e)]||{};return s(_0x53c089,_0x14bff7(0xf7),this[_0x14bff7(0x172)]),s(_0x53c089,'pie.borderColor',this[_0x14bff7(0x163)]),s(_0x53c089,_0x14bff7(0x142),this['hasPaddingAngle']),s(_0x53c089,_0x14bff7(0x165),this[_0x14bff7(0xf9)]),s(_0x53c089,_0x14bff7(0xdc),this[_0x14bff7(0x189)]),s(_0x53c089,_0x14bff7(0x185),this[_0x14bff7(0xfc)]),_0x4fb30a[_0x14bff7(0x10e)]=_0x53c089,_0x4fb30a;}}class st extends c{[_0x13f995(0x161)](){const _0x161250=_0x13f995;return new it(this['unitId'],this[_0x161250(0x119)],this['_workbook'],this[_0x161250(0x121)],this[_0x161250(0x178)]);}}c['extend'](st);class rt extends c{constructor(_0x3cb3a8,_0x4801ff,_0x411534,_0x3dac3c,_0x3afb89){const _0x183ea0=_0x13f995;super(_0x3cb3a8,_0x4801ff,_0x411534,_0x3dac3c,_0x3afb89),n(this,_0x183ea0(0x14d)),n(this,_0x183ea0(0x15d));}[_0x13f995(0x12c)](_0x1f0c79){const _0x1b7c59=_0x13f995;return this[_0x1b7c59(0x14d)]=_0x1f0c79,this;}[_0x13f995(0x13e)](_0x705881){const _0x1e0565=_0x13f995;return this[_0x1e0565(0x15d)]=_0x705881,this;}[_0x13f995(0x11b)](){const _0x1acae1=_0x13f995,_0x566135=super[_0x1acae1(0x11b)]();_0x566135[_0x1acae1(0xdd)]=_0x3adf28[_0x1acae1(0x13f)];const _0x4ded76=_0x566135[_0x1acae1(0x10e)]||{};return s(_0x4ded76,_0x1acae1(0x153),this['shape']),s(_0x4ded76,_0x1acae1(0x11d),this[_0x1acae1(0x15d)]),_0x566135[_0x1acae1(0x10e)]=_0x4ded76,_0x566135;}}class ot extends c{[_0x13f995(0x131)](){const _0x2f7a5a=_0x13f995;return new rt(this[_0x2f7a5a(0xf4)],this[_0x2f7a5a(0x119)],this[_0x2f7a5a(0x134)],this[_0x2f7a5a(0x121)],this['chartId']);}}c['extend'](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
1
+ const _0x3ff9af=_0x37d5;(function(_0x2418e2,_0x40342e){const _0x3afe79=_0x37d5,_0x24da9b=_0x2418e2();while(!![]){try{const _0xcc1910=parseInt(_0x3afe79(0x1fd))/0x1*(parseInt(_0x3afe79(0x1f6))/0x2)+-parseInt(_0x3afe79(0x1e9))/0x3*(-parseInt(_0x3afe79(0x161))/0x4)+parseInt(_0x3afe79(0x198))/0x5*(-parseInt(_0x3afe79(0x154))/0x6)+parseInt(_0x3afe79(0x17a))/0x7+-parseInt(_0x3afe79(0x1bf))/0x8+parseInt(_0x3afe79(0x181))/0x9*(parseInt(_0x3afe79(0x1df))/0xa)+-parseInt(_0x3afe79(0x163))/0xb;if(_0xcc1910===_0x40342e)break;else _0x24da9b['push'](_0x24da9b['shift']());}catch(_0x36ac92){_0x24da9b['push'](_0x24da9b['shift']());}}}(_0x5ce0,0x34e14));var b=Object[_0x3ff9af(0x1d8)],k=(_0x491053,_0x1d8fd7,_0x2792c0)=>_0x1d8fd7 in _0x491053?b(_0x491053,_0x1d8fd7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2792c0}):_0x491053[_0x1d8fd7]=_0x2792c0,n=(_0x346809,_0x47e631,_0x1d431b)=>k(_0x346809,typeof _0x47e631!='symbol'?_0x47e631+'':_0x47e631,_0x1d431b);import{ChartThemeService as _0xd76de6,ChartTypeBits as _0xc8fa2d,LegendPositionEnum as _0x1019aa,SelectModeEnum as _0x7538d3,AxisAlignEnum as _0x36f42c,ChartBorderDashType as _0x450ed2,LinePointShape as _0x576f01,TitlePositionEnum as _0x468cae,RadarShape as _0x464687}from'@univerjs-pro/engine-chart';import{setProperty as _0x5834ac,SheetsChartService as _0x58bbbe,ChartUpdateSourceCommand as _0x548301,ChartUpdateConfigCommand as _0xa4da5b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x1534e7}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0xea1516,IUniverInstanceService as _0x57b092,UniverInstanceType as _0x343491,generateRandomId as _0x11d27b,DrawingTypeEnum as _0x1e26e9}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x44bf50}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x19a7ba}from'@univerjs/sheets/facade';import{FBase as _0x482eb9,FEnum as _0x197007}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x50618d}from'@univerjs/engine-formula';import{IRenderManagerService as _0x377b14}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x4c37b0,SheetSkeletonManagerService as _0x3eb968,convertPositionCellToSheetOverGrid as _0x5b0dc2}from'@univerjs/sheets-ui';function _0x37d5(_0x5c61b5,_0x1c156a){const _0x5ce014=_0x5ce0();return _0x37d5=function(_0x37d5d5,_0x5f1dcc){_0x37d5d5=_0x37d5d5-0x152;let _0x25fa0f=_0x5ce014[_0x37d5d5];return _0x25fa0f;},_0x37d5(_0x5c61b5,_0x1c156a);}const s=(_0x35dae4,_0x549699,_0x35078c)=>{_0x35078c!==void 0x0&&_0x5834ac(_0x35dae4,_0x549699,_0x35078c);},C=(_0x27a658,_0x44bacd,_0x88a4d4,_0x5f19ba={})=>{const _0x510cd6=_0x3ff9af,_0x49fe3b={},_0x104df6={};if(_0x5f19ba['title']){const _0x231787=_0x5f19ba[_0x510cd6(0x202)];s(_0x49fe3b,'titles.title.content',_0x231787[_0x510cd6(0x15e)]),s(_0x49fe3b,_0x510cd6(0x1a5),_0x231787[_0x510cd6(0x1c9)]),s(_0x49fe3b,_0x510cd6(0x1d2),_0x231787[_0x510cd6(0x1f1)]),s(_0x49fe3b,_0x510cd6(0x1f3),_0x231787[_0x510cd6(0x1b6)]),s(_0x49fe3b,_0x510cd6(0x182),_0x231787[_0x510cd6(0x16d)]),s(_0x49fe3b,_0x510cd6(0x157),_0x231787[_0x510cd6(0x19d)]),s(_0x49fe3b,_0x510cd6(0x190),_0x231787['titleAlignment']),s(_0x49fe3b,_0x510cd6(0x19e),_0x231787['position']);}if(_0x5f19ba[_0x510cd6(0x1f0)]){const _0x29833b=_0x5f19ba['legend'];s(_0x49fe3b,'legend.position',_0x29833b[_0x510cd6(0x1fe)]),s(_0x49fe3b,_0x510cd6(0x1a6),_0x29833b[_0x510cd6(0x1d7)]),s(_0x49fe3b,_0x510cd6(0x18c),_0x29833b[_0x510cd6(0x1f1)]),s(_0x49fe3b,_0x510cd6(0x185),_0x29833b[_0x510cd6(0x1e5)]),s(_0x49fe3b,_0x510cd6(0x1ef),_0x29833b[_0x510cd6(0x19d)]),s(_0x49fe3b,'legend.label.italic',_0x29833b[_0x510cd6(0x1ce)]);}if(_0x5f19ba['pie']){const _0x33f010=_0x5f19ba[_0x510cd6(0x180)];s(_0x49fe3b,_0x510cd6(0x155),_0x33f010[_0x510cd6(0x1ae)]),s(_0x49fe3b,_0x510cd6(0x152),_0x33f010['borderColor']),s(_0x49fe3b,_0x510cd6(0x170),_0x33f010['hasPaddingAngle']),s(_0x49fe3b,_0x510cd6(0x1e0),_0x33f010[_0x510cd6(0x171)]),s(_0x49fe3b,_0x510cd6(0x167),_0x33f010[_0x510cd6(0x16a)]),s(_0x49fe3b,_0x510cd6(0x1bd),_0x33f010[_0x510cd6(0x160)]);}if(_0x5f19ba[_0x510cd6(0x203)]){const _0x3cdb28=_0x5f19ba[_0x510cd6(0x203)];s(_0x49fe3b,_0x510cd6(0x18f),_0x3cdb28[_0x510cd6(0x1c7)]),s(_0x49fe3b,'tooltip.indicatorLineType',_0x3cdb28[_0x510cd6(0x1c8)]),s(_0x49fe3b,'tooltip.indicatorLineColor',_0x3cdb28[_0x510cd6(0x176)]),s(_0x49fe3b,'tooltip.indicatorLabelTextColor',_0x3cdb28[_0x510cd6(0x1ad)]);}if(_0x5f19ba[_0x510cd6(0x15a)]&&(s(_0x49fe3b,'allSeriesStyle.border',_0x5f19ba['allSeriesStyle']['border']),s(_0x49fe3b,'allSeriesStyle.label',_0x5f19ba[_0x510cd6(0x15a)][_0x510cd6(0x1a7)]),s(_0x49fe3b,'allSeriesStyle.rightYAxis',_0x5f19ba['allSeriesStyle'][_0x510cd6(0x1e7)]),s(_0x49fe3b,'allSeriesStyle.point',_0x5f19ba[_0x510cd6(0x15a)][_0x510cd6(0x168)]),s(_0x49fe3b,'allSeriesStyle.color',_0x5f19ba[_0x510cd6(0x15a)]['color'])),_0x5f19ba[_0x510cd6(0x204)]&&s(_0x49fe3b,_0x510cd6(0x1ea),_0x5f19ba[_0x510cd6(0x204)]['lineStyle']),_0x5f19ba[_0x510cd6(0x179)]&&s(_0x49fe3b,_0x510cd6(0x179),_0x5f19ba['theme']),_0x5f19ba['backgroundColor']&&s(_0x49fe3b,_0x510cd6(0x19c),_0x5f19ba['backgroundColor']),_0x5f19ba[_0x510cd6(0x15f)]&&s(_0x49fe3b,_0x510cd6(0x15f),_0x5f19ba[_0x510cd6(0x15f)]),_0x5f19ba[_0x510cd6(0x18d)]&&s(_0x49fe3b,'gradientFill',_0x5f19ba[_0x510cd6(0x18d)]),_0x5f19ba['invalidValueType']&&s(_0x49fe3b,_0x510cd6(0x197),_0x5f19ba['invalidValueType']),_0x5f19ba['radar']&&s(_0x49fe3b,_0x510cd6(0x196),_0x5f19ba[_0x510cd6(0x196)]),_0x5f19ba['xAxisTitle']){const _0x38522b=_0x5f19ba['xAxisTitle'];s(_0x49fe3b,_0x510cd6(0x1e8),_0x38522b[_0x510cd6(0x15e)]),s(_0x49fe3b,'titles.xAxisTitle.font',_0x38522b[_0x510cd6(0x1c9)]),s(_0x49fe3b,_0x510cd6(0x1b7),_0x38522b['fontSize']),s(_0x49fe3b,_0x510cd6(0x186),_0x38522b[_0x510cd6(0x1b6)]),s(_0x49fe3b,_0x510cd6(0x194),_0x38522b[_0x510cd6(0x16d)]),s(_0x49fe3b,_0x510cd6(0x1c3),_0x38522b[_0x510cd6(0x19d)]),s(_0x49fe3b,_0x510cd6(0x166),_0x38522b[_0x510cd6(0x174)]);}if(_0x5f19ba['yAxisTitle']){const _0x307eec=_0x5f19ba[_0x510cd6(0x1dc)];s(_0x49fe3b,'titles.yAxisTitle.content',_0x307eec[_0x510cd6(0x15e)]),s(_0x49fe3b,_0x510cd6(0x16b),_0x307eec['font']),s(_0x49fe3b,_0x510cd6(0x1eb),_0x307eec['fontSize']),s(_0x49fe3b,_0x510cd6(0x1c5),_0x307eec[_0x510cd6(0x1b6)]),s(_0x49fe3b,'titles.yAxisTitle.family',_0x307eec[_0x510cd6(0x16d)]),s(_0x49fe3b,'titles.yAxisTitle.bold',_0x307eec[_0x510cd6(0x19d)]),s(_0x49fe3b,_0x510cd6(0x1a1),_0x307eec['axisAlignment']);}if(_0x5f19ba[_0x510cd6(0x1de)]){const _0x4378e5=_0x5f19ba[_0x510cd6(0x1de)];s(_0x49fe3b,_0x510cd6(0x1d3),_0x4378e5[_0x510cd6(0x15e)]),s(_0x49fe3b,_0x510cd6(0x17e),_0x4378e5[_0x510cd6(0x1c9)]),s(_0x49fe3b,_0x510cd6(0x1d4),_0x4378e5['fontSize']),s(_0x49fe3b,_0x510cd6(0x1cd),_0x4378e5[_0x510cd6(0x1b6)]),s(_0x49fe3b,'titles.rightYAxisTitle.family',_0x4378e5[_0x510cd6(0x16d)]),s(_0x49fe3b,_0x510cd6(0x195),_0x4378e5[_0x510cd6(0x19d)]),s(_0x49fe3b,_0x510cd6(0x1fb),_0x4378e5[_0x510cd6(0x174)]);}_0x5f19ba[_0x510cd6(0x1bc)]&&s(_0x49fe3b,_0x510cd6(0x1bc),_0x5f19ba[_0x510cd6(0x1bc)]),_0x5f19ba[_0x510cd6(0x1c4)]&&s(_0x49fe3b,_0x510cd6(0x1c4),_0x5f19ba[_0x510cd6(0x1c4)]),_0x5f19ba[_0x510cd6(0x200)]&&s(_0x49fe3b,_0x510cd6(0x1e7),_0x5f19ba['yRightAxis']),_0x5f19ba[_0x510cd6(0x184)]&&s(_0x49fe3b,'seriesStyleMap',_0x5f19ba[_0x510cd6(0x184)]);const _0x68dac4={'unitId':_0x27a658,'chartModelId':_0x44bacd};let _0x494ac5=!0x1;if(_0x88a4d4!==void 0x0&&(_0x68dac4[_0x510cd6(0x19a)]=_0x88a4d4,_0x494ac5=!0x0),Object[_0x510cd6(0x188)](_0x49fe3b)[_0x510cd6(0x169)]>0x0&&(_0x68dac4[_0x510cd6(0x1ff)]=_0x49fe3b,_0x494ac5=!0x0),Object['keys'](_0x104df6)[_0x510cd6(0x169)]>0x0&&(_0x68dac4[_0x510cd6(0x1be)]=_0x104df6,_0x494ac5=!0x0),_0x494ac5)return _0x68dac4;};class c extends _0x482eb9{constructor(_0x4ac11f,_0x25bea3,_0x5b988c,_0x59c670,_0x269d16){const _0x2b94ac=_0x3ff9af;super(),n(this,_0x2b94ac(0x1a4)),n(this,_0x2b94ac(0x19f)),n(this,_0x2b94ac(0x1ca)),n(this,_0x2b94ac(0x1f9)),n(this,_0x2b94ac(0x1a2)),n(this,_0x2b94ac(0x15d)),n(this,_0x2b94ac(0x1b3)),n(this,'x'),n(this,'y'),n(this,_0x2b94ac(0x1d6)),n(this,_0x2b94ac(0x16e)),n(this,'chartType'),n(this,'options'),n(this,_0x2b94ac(0x18a)),(this[_0x2b94ac(0x1ca)]=_0x4ac11f,this[_0x2b94ac(0x1f9)]=_0x25bea3,this[_0x2b94ac(0x1a4)]=_0x5b988c,this[_0x2b94ac(0x19f)]=_0x59c670,_0x269d16&&(this[_0x2b94ac(0x1a2)]=_0x269d16));}[_0x3ff9af(0x1f5)](){const _0x266b5f=_0x3ff9af;return this[_0x266b5f(0x19a)];}[_0x3ff9af(0x1d9)](_0x27bb8a){const _0x552f5e=_0x3ff9af;if(typeof _0x27bb8a=='string'){const _0x6cbc5c=_0x50618d(_0x27bb8a);_0x6cbc5c[_0x552f5e(0x199)]&&(this[_0x552f5e(0x1b3)]=_0x6cbc5c[_0x552f5e(0x199)]),this[_0x552f5e(0x15d)]=_0x6cbc5c['range'];}else this['range']=_0x27bb8a;return this;}[_0x3ff9af(0x1f7)](){const _0x414288=_0x3ff9af;return this[_0x414288(0x15d)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x3ff9af(0x173)](_0x4f5ad6,_0xe2fc6,_0x1248c4,_0x4c14a1){const _0x4a9199=_0x3ff9af,_0x5bb236=this['_injector'][_0x4a9199(0x1b9)](_0x377b14)[_0x4a9199(0x158)](this[_0x4a9199(0x1ca)]);if(!_0x5bb236)throw new Error(_0x4a9199(0x193));const _0x328471=_0x5bb236[_0x4a9199(0x1ed)](_0x4c37b0),_0x4ead1e=_0x5bb236[_0x4a9199(0x1ed)](_0x3eb968),{transform:_0x724fec}=_0x5b0dc2(this[_0x4a9199(0x1ca)],this[_0x4a9199(0x1f9)],{'row':_0x4f5ad6,'column':_0xe2fc6,'rowOffset':_0x1248c4,'columnOffset':_0x4c14a1},0x1,0x1,_0x328471,_0x4ead1e),_0xfb0bc4=_0x724fec[_0x4a9199(0x178)],_0x54ebc1=_0x724fec[_0x4a9199(0x1b2)];return this['x']=_0x54ebc1,this['y']=_0xfb0bc4,this;}[_0x3ff9af(0x1e2)](_0x48426e,_0x3ad9a2){return this['x']=_0x48426e,this['y']=_0x3ad9a2,this;}[_0x3ff9af(0x16f)](_0x36b0b4){const _0x2b2133=_0x3ff9af;return this[_0x2b2133(0x19a)]=_0x36b0b4,this;}['setWidth'](_0x16033e){const _0x4f10bc=_0x3ff9af;return this[_0x4f10bc(0x1d6)]=_0x16033e,this;}[_0x3ff9af(0x16c)](_0x484a24){const _0x380a12=_0x3ff9af;return this[_0x380a12(0x16e)]=_0x484a24,this;}[_0x3ff9af(0x1da)](_0xb745ca,_0x5d2848){const _0x1e8451=_0x3ff9af;return this['options']||(this[_0x1e8451(0x191)]={}),_0xb745ca===''?(this[_0x1e8451(0x191)]={...this[_0x1e8451(0x191)],..._0x5d2848},this):(_0x5834ac(this[_0x1e8451(0x191)],_0xb745ca,_0x5d2848),this);}['setTransposeRowsAndColumns'](_0x349c4f){const _0x539030=_0x3ff9af;return this[_0x539030(0x18a)]=_0x349c4f,this;}[_0x3ff9af(0x1e6)](_0x5a91f8){const _0x240346=_0x3ff9af;return this[_0x240346(0x1da)]('theme',_0x5a91f8),this;}[_0x3ff9af(0x1ba)](_0x46844c){const _0x400fa2=_0x3ff9af;var _0x5bc120;const _0x4b00ac=((_0x5bc120=this[_0x400fa2(0x191)])==null?void 0x0:_0x5bc120[_0x400fa2(0x1a8)])||{};return _0x4b00ac['content']=_0x46844c,this[_0x400fa2(0x1da)]('xAxisTitle',_0x4b00ac),this;}[_0x3ff9af(0x1cf)](_0x35cb86){const _0x278be0=_0x3ff9af;var _0xb7be09;const _0x150d46=((_0xb7be09=this[_0x278be0(0x191)])==null?void 0x0:_0xb7be09[_0x278be0(0x1dc)])||{};return _0x150d46['content']=_0x35cb86,this['setOptions'](_0x278be0(0x1dc),_0x150d46),this;}[_0x3ff9af(0x1fa)](_0x95d563){const _0x36cdd1=_0x3ff9af;var _0x35ecef;const _0x3293d4=((_0x35ecef=this[_0x36cdd1(0x191)])==null?void 0x0:_0x35ecef[_0x36cdd1(0x1de)])||{};return _0x3293d4[_0x36cdd1(0x15e)]=_0x95d563,this[_0x36cdd1(0x1da)](_0x36cdd1(0x1de),_0x3293d4),this;}['setXAxisTextStyle'](_0x2b9d87){const _0x3a7b1a=_0x3ff9af;var _0x4af0f8;const _0x459831=((_0x4af0f8=this[_0x3a7b1a(0x191)])==null?void 0x0:_0x4af0f8['xAxisTitle'])||{};return this[_0x3a7b1a(0x1da)](_0x3a7b1a(0x1a8),{..._0x459831,..._0x2b9d87}),this;}['setYAxisTextStyle'](_0x3cd9e0){const _0x5b0bce=_0x3ff9af;var _0x2e0171;const _0x2e8533=((_0x2e0171=this[_0x5b0bce(0x191)])==null?void 0x0:_0x2e0171[_0x5b0bce(0x1dc)])||{};return this[_0x5b0bce(0x1da)](_0x5b0bce(0x1dc),{..._0x2e8533,..._0x3cd9e0}),this;}[_0x3ff9af(0x177)](_0x11289e){const _0x174919=_0x3ff9af;var _0x3a760d;const _0x45b729=((_0x3a760d=this['options'])==null?void 0x0:_0x3a760d[_0x174919(0x1de)])||{};return this[_0x174919(0x1da)](_0x174919(0x1de),{..._0x45b729,..._0x11289e}),this;}[_0x3ff9af(0x162)](_0x34dbc6){const _0x10b319=_0x3ff9af;return this[_0x10b319(0x1da)](_0x10b319(0x197),_0x34dbc6),this;}[_0x3ff9af(0x172)](_0x4af74f){const _0xe0c5a3=_0x3ff9af;return this[_0xe0c5a3(0x1da)]('axisPointer',_0x4af74f),this;}[_0x3ff9af(0x17c)](_0x10d70b){const _0x4f1bf7=_0x3ff9af;return this['setOptions'](_0x4f1bf7(0x15a),_0x10d70b),this;}[_0x3ff9af(0x156)](_0x4a0de2,_0x49211f){const _0x332b0e=_0x3ff9af;return this[_0x332b0e(0x1da)]('seriesStyleMap',{[_0x4a0de2]:_0x49211f}),this;}[_0x3ff9af(0x1cc)](){const _0x3fee99=_0x3ff9af;var _0x1bb53d;let _0x1543aa=this['subUnitId'];if(this['sourceSheetName']){const _0x5e8173=(_0x1bb53d=this[_0x3fee99(0x1a4)]['getSheetBySheetName'](this[_0x3fee99(0x1b3)]))==null?void 0x0:_0x1bb53d[_0x3fee99(0x17f)]();if(!_0x5e8173)throw new Error(_0x3fee99(0x1b0)+this[_0x3fee99(0x1b3)]+_0x3fee99(0x15b));_0x1543aa=_0x5e8173;}return{'unitId':this[_0x3fee99(0x1ca)],'subUnitId':_0x1543aa,'chartId':this[_0x3fee99(0x1a2)],'range':this[_0x3fee99(0x15d)],'x':this['x'],'y':this['y'],'width':this[_0x3fee99(0x1d6)],'height':this[_0x3fee99(0x16e)],'chartType':this[_0x3fee99(0x19a)],'options':this[_0x3fee99(0x191)],'isRowDirection':this[_0x3fee99(0x18a)]};}}class f{constructor(_0x250a51,_0x34646e,_0x41c442,_0x3dfe29){const _0x4f5fa5=_0x3ff9af;n(this,_0x4f5fa5(0x1ca)),n(this,_0x4f5fa5(0x1f9)),n(this,_0x4f5fa5(0x1a2)),n(this,'_injector'),(this[_0x4f5fa5(0x1ca)]=_0x250a51,this[_0x4f5fa5(0x1f9)]=_0x34646e,this[_0x4f5fa5(0x1a2)]=_0x41c442,this[_0x4f5fa5(0x19f)]=_0x3dfe29);}['getChartId'](){const _0x3d440a=_0x3ff9af;return this[_0x3d440a(0x1a2)];}[_0x3ff9af(0x201)](){const _0x489100=_0x3ff9af,_0x2ff789=this[_0x489100(0x19f)]['get'](_0x58bbbe)['getChartModel'](this['chartId']);if(_0x2ff789)return _0x2ff789['dataSource']['getRangeInfo']();}[_0x3ff9af(0x1f2)](_0x46d369){const _0x35e448=_0x3ff9af;return this[_0x35e448(0x19f)][_0x35e448(0x1b9)](_0xea1516)['executeCommand'](_0x548301['id'],{'unitId':this[_0x35e448(0x1ca)],'chartModelId':this['chartId'],'range':_0x46d369});}[_0x3ff9af(0x1d0)](){const _0x2a1411=_0x3ff9af;var _0x270c9b;const _0x15228f=this[_0x2a1411(0x19f)][_0x2a1411(0x1b9)](_0x58bbbe)[_0x2a1411(0x1bb)](this['chartId']);if(_0x15228f)return(_0x270c9b=_0x15228f[_0x2a1411(0x18b)])==null?void 0x0:_0x270c9b[_0x2a1411(0x1f4)];}['getCategoryData'](){const _0x280cd8=_0x3ff9af;var _0x38ad42;const _0x55df69=this[_0x280cd8(0x19f)]['get'](_0x58bbbe)[_0x280cd8(0x1bb)](this['chartId']);if(_0x55df69)return(_0x38ad42=_0x55df69[_0x280cd8(0x18b)])==null?void 0x0:_0x38ad42['category'];}['modify'](){const _0x13a200=_0x3ff9af,_0x42f4fa=this['_injector'][_0x13a200(0x1b9)](_0x57b092)['getCurrentUnitForType'](_0x343491[_0x13a200(0x153)]);return new c(this[_0x13a200(0x1ca)],this[_0x13a200(0x1f9)],_0x42f4fa,this[_0x13a200(0x19f)],this[_0x13a200(0x1a2)]);}}class Q extends _0x19a7ba{async['insertChart'](_0x74a27){const _0x2d0a58=_0x3ff9af;var _0x44c049,_0x4ddc9a,_0x117f80;const _0x1035b1=_0x74a27[_0x2d0a58(0x1ca)]||this['getWorkbook']()[_0x2d0a58(0x1b1)](),_0x5e400a=_0x74a27['subUnitId']||this[_0x2d0a58(0x17f)](),_0x163ac1=_0x74a27['chartId']||_0x11d27b(),_0x50fe93=_0x74a27[_0x2d0a58(0x19a)],_0x2863f1=_0x74a27[_0x2d0a58(0x15d)],_0x56852a={'x':_0x74a27['x'],'y':_0x74a27['y']},_0x307749=_0x74a27[_0x2d0a58(0x1d6)],_0x1a9455=_0x74a27['height'],_0x42352b=(_0x44c049=_0x74a27[_0x2d0a58(0x191)])==null?void 0x0:_0x44c049[_0x2d0a58(0x19c)],_0x1046c1=(_0x4ddc9a=_0x74a27['options'])==null?void 0x0:_0x4ddc9a[_0x2d0a58(0x15f)],_0x41292d=C(_0x1035b1,_0x163ac1,_0x50fe93,_0x74a27[_0x2d0a58(0x191)]),_0x2e2b5e=(_0x117f80=_0x74a27['isRowDirection'])!=null?_0x117f80:!0x0;if(!_0x2863f1)throw new Error(_0x2d0a58(0x1b5));return await this[_0x2d0a58(0x1c2)][_0x2d0a58(0x187)](_0x1534e7['id'],{'unitId':_0x1035b1,'subUnitId':_0x5e400a,'chartId':_0x163ac1,'chartType':_0x50fe93,'range':_0x2863f1,'position':_0x56852a,'width':_0x307749,'height':_0x1a9455,'backgroundColor':_0x42352b,'borderColor':_0x1046c1,'config':_0x41292d,'isRowDirection':_0x2e2b5e}),new f(_0x1035b1,_0x5e400a,_0x163ac1,this[_0x2d0a58(0x19f)]);}[_0x3ff9af(0x1c1)](_0x342877){const _0xf303e6=_0x3ff9af,{unitId:_0x4f76b5,chartId:_0x5e53cd,chartType:_0x5cedcb,options:_0xe72c01}=_0x342877,_0x531810=C(_0x4f76b5,_0x5e53cd,_0x5cedcb,_0xe72c01);this[_0xf303e6(0x1c2)][_0xf303e6(0x187)](_0xa4da5b['id'],_0x531810);}['newChart'](_0x203238){const _0x64defc=_0x3ff9af;if(_0x203238)return new c(_0x203238['unitId'],_0x203238[_0x64defc(0x1f9)],this[_0x64defc(0x1a4)],this[_0x64defc(0x19f)],_0x203238[_0x64defc(0x1a2)]);const _0x4549be=this['getWorkbook']()[_0x64defc(0x1b1)](),_0x32f404=this[_0x64defc(0x17f)]();return new c(_0x4549be,_0x32f404,this[_0x64defc(0x1a4)],this[_0x64defc(0x19f)]);}['getCharts'](){const _0x3bb52e=_0x3ff9af,_0x39c8db=this[_0x3bb52e(0x19f)][_0x3bb52e(0x1b9)](_0x58bbbe),_0x2307e5=this['getWorkbook']()[_0x3bb52e(0x1b1)]();return _0x39c8db[_0x3bb52e(0x17d)](_0x2307e5,this[_0x3bb52e(0x17f)]())[_0x3bb52e(0x192)](_0x49b975=>new f(_0x2307e5,this['getSheetId'](),_0x49b975['id'],this[_0x3bb52e(0x19f)]));}[_0x3ff9af(0x1ab)](_0x40e143){const _0x5c768a=_0x3ff9af,_0x351e73=_0x40e143['unitId'],_0x1b14f9=_0x40e143[_0x5c768a(0x1f9)],_0x15ceb7=_0x40e143[_0x5c768a(0x1a2)],_0x33ff64={'unitId':_0x351e73,'drawings':[{'unitId':_0x351e73,'subUnitId':_0x1b14f9,'drawingId':_0x15ceb7,'drawingType':_0x1e26e9[_0x5c768a(0x164)]}]};return this[_0x5c768a(0x1c2)][_0x5c768a(0x187)](_0x44bf50['id'],_0x33ff64);}['registerChartTheme'](_0x216508,_0x19a6fc){const _0x105465=_0x3ff9af;this[_0x105465(0x19f)][_0x105465(0x1b9)](_0xd76de6)[_0x105465(0x1a9)](_0x216508,_0x19a6fc);}}_0x19a7ba[_0x3ff9af(0x1a3)](Q);class Z extends _0x197007{get['ChartType'](){return _0xc8fa2d;}get[_0x3ff9af(0x1fc)](){return _0x1019aa;}get[_0x3ff9af(0x1f8)](){return _0x7538d3;}get['AxisAlignEnum'](){return _0x36f42c;}get[_0x3ff9af(0x189)](){return _0x450ed2;}get['LinePointShape'](){return _0x576f01;}get[_0x3ff9af(0x1b8)](){return _0x468cae;}get[_0x3ff9af(0x183)](){return _0x464687;}}_0x197007['extend'](Z);class tt extends c{constructor(_0x46d71a,_0x3749cb,_0x1f15ee,_0xce362,_0x38b084){const _0x361388=_0x3ff9af;super(_0x46d71a,_0x3749cb,_0x1f15ee,_0xce362,_0x38b084),n(this,'lineStyle'),n(this,_0x361388(0x1d5)),n(this,_0x361388(0x1ee)),n(this,_0x361388(0x1a0));}[_0x3ff9af(0x1b4)](_0x2c208d){const _0x36bc0d=_0x3ff9af;return this[_0x36bc0d(0x1ac)]=_0x2c208d,this;}[_0x3ff9af(0x165)](_0x5e1914){return this['dataPointShape']=_0x5e1914,this;}[_0x3ff9af(0x1af)](_0x58ea13){const _0x32acea=_0x3ff9af;return this[_0x32acea(0x1ee)]=_0x58ea13,this;}[_0x3ff9af(0x18e)](_0x1e9bd4){const _0xe5ccfa=_0x3ff9af;return this[_0xe5ccfa(0x1a0)]=_0x1e9bd4,this;}[_0x3ff9af(0x1cc)](){const _0x55cfb4=_0x3ff9af,_0x20d592=super[_0x55cfb4(0x1cc)]();_0x20d592[_0x55cfb4(0x19a)]=_0xc8fa2d[_0x55cfb4(0x1d1)];const _0x58e5fa=_0x20d592[_0x55cfb4(0x191)]||{};return s(_0x58e5fa,'area.lineStyle',this[_0x55cfb4(0x1ac)]),s(_0x58e5fa,'allSeriesStyle.point.shape',this[_0x55cfb4(0x1d5)]),s(_0x58e5fa,_0x55cfb4(0x1ec),this[_0x55cfb4(0x1ee)]),s(_0x58e5fa,_0x55cfb4(0x15c),this[_0x55cfb4(0x1a0)]),_0x20d592[_0x55cfb4(0x191)]=_0x58e5fa,_0x20d592;}}function _0x5ce0(){const _0x2cb2b1=['setSeriesStyle','titles.title.bold','getRenderById','hasPaddingAngle','allSeriesStyle','\x20not\x20found','allSeriesStyle.point.size','range','content','borderColor','showLabelLine','31168rbQxJu','setInvalidValueStrategy','6929098CDSVyB','DRAWING_CHART','setDataPointShape','xAxis.label.axisTitleAlign','pie.rosePie','point','length','rosePie','titles.yAxisTitle.font','setHeight','fontStyle','height','setChartType','pie.hasPaddingAngle','isHalfPie','setAxisPointerStyle','setPosition','axisAlignment','setBorderColor','indicatorLineColor','setRightYAxisTextStyle','top','theme','92421jRtKGX','Radar','setAllSeriesStyle','getUnitChartModels','titles.rightYAxisTitle.font','getSheetId','pie','3602889MwfGrZ','titles.title.family','RadarShape','seriesStyleMap','legend.label.color','titles.xAxisTitle.color','executeCommand','keys','ChartBorderDashType','transposeRowsAndColumns','config','legend.label.fontSize','gradientFill','setDataPointSize','tooltip.indicatorLabelColor','titles.title.align','options','map','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.xAxisTitle.family','titles.rightYAxisTitle.bold','radar','invalidValueType','25stXDog','sheetName','chartType','setFill','backgroundColor','bold','titles.titlePosition','_injector','dataPointSize','yAxis.label.axisTitleAlign','chartId','extend','_workbook','titles.title.font','legend.selectMode','label','xAxisTitle','registerTheme','asPieChart','removeChart','lineStyle','indicatorLabelTextColor','doughnutHole','setDataPointColor','Sheet\x20','getUnitId','left','sourceSheetName','setLineStyle','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','fontColor','titles.xAxisTitle.fontSize','TitlePositionEnum','get','setXAxisTitle','getChartModel','xAxis','pie.showLabelLine','context','95920iDtAuD','setRosePie','updateChart','_commandService','titles.xAxisTitle.bold','yAxis','titles.yAxisTitle.color','asLineChart','indicatorLabelColor','indicatorLineType','font','unitId','radar.shape','build','titles.rightYAxisTitle.color','italic','setYAxisTitle','getSeriesData','Line','titles.title.fontSize','titles.rightYAxisTitle.content','titles.rightYAxisTitle.fontSize','dataPointShape','width','selectMode','defineProperty','addRange','setOptions','setHasPaddingAngle','yAxisTitle','asRadarChart','rightYAxisTitle','10EbJcuy','pie.isHalfPie','shape','setAbsolutePosition','setShape','fill','color','setTheme','rightYAxis','titles.xAxisTitle.content','147rXnkuL','area.lineStyle','titles.yAxisTitle.fontSize','allSeriesStyle.point.color','with','dataPointColor','legend.label.bold','legend','fontSize','updateRange','titles.title.color','series','getChartType','5862EYOSjU','clearRange','SelectModeEnum','subUnitId','setRightYAxisTitle','rightYAxis.label.axisTitleAlign','LegendPositionEnum','67VQfQpr','position','style','yRightAxis','getRange','title','axisPointer','area','pie.borderColor','UNIVER_SHEET','159846jZSkwo','pie.doughnutHole'];_0x5ce0=function(){return _0x2cb2b1;};return _0x5ce0();}class et extends c{[_0x3ff9af(0x1c6)](){const _0x4b69a9=_0x3ff9af;return new tt(this[_0x4b69a9(0x1ca)],this[_0x4b69a9(0x1f9)],this['_workbook'],this['_injector'],this[_0x4b69a9(0x1a2)]);}}c[_0x3ff9af(0x1a3)](et);class it extends c{constructor(_0x5a0d03,_0x39987c,_0x4433dd,_0x41cb48,_0x2bb61a){const _0x56b6a9=_0x3ff9af;super(_0x5a0d03,_0x39987c,_0x4433dd,_0x41cb48,_0x2bb61a),n(this,'doughnutHole'),n(this,_0x56b6a9(0x15f)),n(this,_0x56b6a9(0x159)),n(this,_0x56b6a9(0x171)),n(this,'rosePie'),n(this,_0x56b6a9(0x160));}['setDoughnutHole'](_0x22cdaa){const _0x454302=_0x3ff9af;return this[_0x454302(0x1ae)]=_0x22cdaa,this;}[_0x3ff9af(0x175)](_0x5a55cf){return this['borderColor']=_0x5a55cf,this;}[_0x3ff9af(0x1db)](_0x37e3d4){const _0x134fa6=_0x3ff9af;return this[_0x134fa6(0x159)]=_0x37e3d4,this;}['setIsHalfPie'](_0x37dcb8){const _0x351a89=_0x3ff9af;return this[_0x351a89(0x171)]=_0x37dcb8,this;}[_0x3ff9af(0x1c0)](_0xfc50d5){const _0x306c98=_0x3ff9af;return this[_0x306c98(0x16a)]=_0xfc50d5,this;}['setShowLabelLine'](_0x20610b){const _0x2dbc19=_0x3ff9af;return this[_0x2dbc19(0x160)]=_0x20610b,this;}['build'](){const _0x2f44a0=_0x3ff9af,_0xe42514=super['build']();_0xe42514[_0x2f44a0(0x19a)]=_0xc8fa2d['Pie'];const _0x3efeec=_0xe42514[_0x2f44a0(0x191)]||{};return s(_0x3efeec,_0x2f44a0(0x155),this['doughnutHole']),s(_0x3efeec,_0x2f44a0(0x152),this[_0x2f44a0(0x15f)]),s(_0x3efeec,_0x2f44a0(0x170),this['hasPaddingAngle']),s(_0x3efeec,_0x2f44a0(0x1e0),this['isHalfPie']),s(_0x3efeec,_0x2f44a0(0x167),this[_0x2f44a0(0x16a)]),s(_0x3efeec,_0x2f44a0(0x1bd),this['showLabelLine']),_0xe42514[_0x2f44a0(0x191)]=_0x3efeec,_0xe42514;}}class st extends c{[_0x3ff9af(0x1aa)](){const _0x4301cd=_0x3ff9af;return new it(this['unitId'],this[_0x4301cd(0x1f9)],this[_0x4301cd(0x1a4)],this[_0x4301cd(0x19f)],this[_0x4301cd(0x1a2)]);}}c[_0x3ff9af(0x1a3)](st);class rt extends c{constructor(_0x184807,_0x48955d,_0x2904e2,_0x403b91,_0x16b71e){const _0x163d91=_0x3ff9af;super(_0x184807,_0x48955d,_0x2904e2,_0x403b91,_0x16b71e),n(this,_0x163d91(0x1e1)),n(this,'fill');}[_0x3ff9af(0x1e3)](_0x4aa496){const _0x238686=_0x3ff9af;return this[_0x238686(0x1e1)]=_0x4aa496,this;}[_0x3ff9af(0x19b)](_0x1284f5){const _0x4211cc=_0x3ff9af;return this[_0x4211cc(0x1e4)]=_0x1284f5,this;}[_0x3ff9af(0x1cc)](){const _0x3687a8=_0x3ff9af,_0x3dab0d=super[_0x3687a8(0x1cc)]();_0x3dab0d[_0x3687a8(0x19a)]=_0xc8fa2d[_0x3687a8(0x17b)];const _0x57f43f=_0x3dab0d[_0x3687a8(0x191)]||{};return s(_0x57f43f,_0x3687a8(0x1cb),this[_0x3687a8(0x1e1)]),s(_0x57f43f,'radar.fill',this[_0x3687a8(0x1e4)]),_0x3dab0d[_0x3687a8(0x191)]=_0x57f43f,_0x3dab0d;}}class ot extends c{[_0x3ff9af(0x1dd)](){const _0x14a54a=_0x3ff9af;return new rt(this['unitId'],this[_0x14a54a(0x1f9)],this[_0x14a54a(0x1a4)],this[_0x14a54a(0x19f)],this[_0x14a54a(0x1a2)]);}}c[_0x3ff9af(0x1a3)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};