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

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 +14 -14
@@ -1 +1 @@
1
- 'use strict';function _0x52fd(_0x50862e,_0x3f03ef){_0x50862e=_0x50862e-0x7b;const _0x346bd0=_0x346b();let _0x52fdc0=_0x346bd0[_0x50862e];return _0x52fdc0;}const _0x47e417=_0x52fd;function _0x346b(){const _0x3b9049=['小計圖例文本','圓角矩形','三角形','R平方','負值圖例文本','最大值','力導向選項','5243008NDEUvI','正值樣式','氣泡圖','主標題','雷達圖','折線圖','格式類型','第三四分位數','顯示公式','数值后缀','1730583lkpEyd','顯示R平方','使用日期軸','添加系列','第一四分位數','詞雲形狀','1096360UGSJPT','散點圖','百分比','X軸標題','日期軸僅在數據全部為日期格式時可用','視覺映射範圍','圖表數據源必須包含多於1列和1欄。','柱狀圖','(空)','常規格式不包含任何特定的數字格式。','氣泡圖至少需要2欄,X軸、Y軸。','7ifUanL','節點距離','中位數','系列\x20{0}','小數位數','類別\x20{0}','長條圖系列','趨勢線線類型','88636BQyfTE','氣泡大小','小計樣式','瀑布圖','第\x20{0}\x20','堆疊條形圖','打開圖表面板','節點形狀','趨勢線類型','空心矩形','數據點','9DaWpJa','更多設置','重複詞雲標籤','空心正方形','刻度線長度','{0}\x20顏色','累積占比','趨勢線名稱','1828566xhPmJl','5NqlfdW','漸變填充','漏斗圖','空心圓形','{0}\x20形狀','請先添加系列開始數據可視化','指示標籤','空心箭頭','空心菱形','指示線類型','{0}\x20格式','標籤位置','字段設置','標題文本','刻度線位置','Y軸標題','貨幣類型','扇形間距','線類型','空心針形','股票圖','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','圖表樣式','編輯圖表','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','標籤旋轉','圓環孔','堆疊方式','右垂直軸','顯示數據標籤','隱藏圖表面板','刪除圖表','力導向','{0}\x20類型','圖表邊框顏色','{0}\x20粗細','數據點樣式','關係圖','千分位符','網格線和刻度線','標題格式','空心三角形','5216610NmkYIc','使用值作為節點大小','趨勢線','負數類型','所有系列','趨勢線粗細','用直線連接數據點','正值圖例文本','143lSwkdU','使用\x20{0}\x20作為類別標籤','顯示標籤線','右Y軸標題','標籤文本','顯示標籤','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','數據範圍','使用絕對值','1322564YAFbMy','顯示小計','條形圖','佈局類型','多邊形','插入圖表','軸選項','最小值','切換列或欄','移動平均','桑基圖','玫瑰圖','日期類型','日期格式將日期和時間系列數值顯示為日期值。','多項式','正方形','圖例選擇模式','垂直軸','添加趨勢線'];_0x346b=function(){return _0x3b9049;};return _0x346b();}(function(_0x56d795,_0x3200e9){const _0x1473ac=_0x52fd,_0x131cf9=_0x56d795();while(!![]){try{const _0x2b2361=parseInt(_0x1473ac(0xc4))/0x1*(-parseInt(_0x1473ac(0xcc))/0x2)+-parseInt(_0x1473ac(0xb3))/0x3+-parseInt(_0x1473ac(0x8f))/0x4*(parseInt(_0x1473ac(0xe0))/0x5)+parseInt(_0x1473ac(0xdf))/0x6+-parseInt(_0x1473ac(0x7e))/0x7+parseInt(_0x1473ac(0xa9))/0x8*(parseInt(_0x1473ac(0xd7))/0x9)+-parseInt(_0x1473ac(0xb9))/0xa*(-parseInt(_0x1473ac(0x86))/0xb);if(_0x2b2361===_0x3200e9)break;else _0x131cf9['push'](_0x131cf9['shift']());}catch(_0x318a40){_0x131cf9['push'](_0x131cf9['shift']());}}}(_0x346b,0x6722f));const e={'chart':{'insertChart':_0x47e417(0x94),'editChart':_0x47e417(0xf7),'openChartPanel':_0x47e417(0xd2),'deleteChart':_0x47e417(0xff),'hideChartPanel':_0x47e417(0xfe),'setupChart':'設置圖表','customChart':'自定義圖表','default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x47e417(0x8d),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x47e417(0x82),'series':'系列','addSeries':_0x47e417(0xb6),'moreSettings':_0x47e417(0xd8),'min':_0x47e417(0x96),'max':_0x47e417(0xa7),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x47e417(0x84)},'blank':_0x47e417(0xc1),'seriesBlock':{'format':'格式','dataPointStyle':_0x47e417(0x104)},'backgroundColor':'背景顏色','chartBorderColor':_0x47e417(0x102),'titles':{'title':'標題','mainTitle':_0x47e417(0xac),'subTitle':'副標題','xAxisTitle':_0x47e417(0xbc),'yAxisTitle':_0x47e417(0xef),'rightYAxisTitle':_0x47e417(0x89),'titleFormat':_0x47e417(0x7c),'titleText':_0x47e417(0xed),'titlePosition':'標題位置','titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x47e417(0xe1),'settingsLabels':{'switchToRowOrColumn':_0x47e417(0x97),'useAsCategoryLabels':_0x47e417(0x87),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x47e417(0xf6),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x47e417(0x9f),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x47e417(0x95),'horizontalAxis':'水平軸','verticalAxis':_0x47e417(0xa0),'rightVerticalAxis':_0x47e417(0xfc),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x47e417(0x7b),'indicatorLine':'指示線','indicatorLineType':_0x47e417(0xe9),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x47e417(0xe6),'indicatorValue':'指示值','shape':{'polygon':_0x47e417(0x93),'circle':'圓形','square':_0x47e417(0x9e),'triangle':_0x47e417(0xa4),'diamond':'菱形','rect':'矩形','roundRect':_0x47e417(0xa3),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x47e417(0xe3),'emptySquare':_0x47e417(0xda),'emptyTriangle':_0x47e417(0x7d),'emptyDiamond':_0x47e417(0xe8),'emptyRect':_0x47e417(0xd5),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x47e417(0xf3),'emptyArrow':_0x47e417(0xe7)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x47e417(0xdc),'withThickness':_0x47e417(0x103),'withType':_0x47e417(0x101),'withSize':'{0}\x20大小','withShape':_0x47e417(0xe4),'withFormat':_0x47e417(0xea),'dataPoint':'數據點','dataNodeShape':_0x47e417(0xd3),'addDataPoint':'添加數據點','point':_0x47e417(0xd6),'percentage':_0x47e417(0xbb),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':_0x47e417(0xf2),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':'網格線'},'ticks':{'majorTick':'主刻度線','tickPosition':_0x47e417(0xee),'tickLength':_0x47e417(0xdb)},'none':'無','theIndexItem':_0x47e417(0xd0),'seriesDefaultName':_0x47e417(0xc7),'categoryDefaultName':_0x47e417(0xc9),'styleEditPanel':{'showLabels':_0x47e417(0x8b),'showDataLabels':_0x47e417(0xfd),'padAngle':_0x47e417(0xf1),'halfPie':'半餅','rosePie':_0x47e417(0x9a),'pieValScale':'数值比例','pieValSuffix':_0x47e417(0xb2),'pieDigitalFixed':_0x47e417(0xc8),'showLabelLine':_0x47e417(0x88),'reverseAxisOrder':'逆序軸','showAxisLine':'顯示軸線','labelPosition':_0x47e417(0xeb),'labelText':_0x47e417(0x8a),'repeatWordCould':_0x47e417(0xd9),'gap':'間隔','useAbsValue':_0x47e417(0x8e),'labelRotate':_0x47e417(0xf9),'wordCloudShape':_0x47e417(0xb8),'useDateAxis':_0x47e417(0xb5),'dateAxisTips':_0x47e417(0xbd)},'radar':{'fill':'填充'},'doughnutHole':_0x47e417(0xfa),'msg':{'invalidSource':_0x47e417(0xbf),'emptyTips':_0x47e417(0xe5)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x47e417(0x80),'displayName':_0x47e417(0xde),'addTrendLine':_0x47e417(0xa1),'trendlineType':_0x47e417(0xd4),'trendlineName':_0x47e417(0xde),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x47e417(0x83),'trendlineDashType':_0x47e417(0xcb),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x47e417(0x98),'poly':_0x47e417(0x9d),'order':'多項式階數','period':'移動平均周期','showFormula':_0x47e417(0xb1),'showR2':_0x47e417(0xb4),'formula':'公式','r2':_0x47e417(0xa5)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x47e417(0xcd),'label':'氣泡標籤','emptyTips':_0x47e417(0xc3)},'relation':{'title':_0x47e417(0x105),'auto':'自動','circular':'環形','force':_0x47e417(0x100),'useValueAsSymbolSize':_0x47e417(0x7f),'layoutType':_0x47e417(0x92),'forceOptions':_0x47e417(0xa8),'repulsion':'斥力','gravity':'引力','edgeLength':_0x47e417(0xc5),'rotateLabel':'旋轉標籤','emphasis':'開啟選中淡入特效','emptyTips':_0x47e417(0xf8)},'waterfall':{'stackType':_0x47e417(0xfb),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x47e417(0x90),'positiveStyle':_0x47e417(0xaa),'negativeStyle':'負值樣式','subtotalStyle':_0x47e417(0xce),'positiveLegendText':_0x47e417(0x85),'negativeLegendText':_0x47e417(0xa6),'subtotalLegendText':_0x47e417(0xa2)},'pareto':{'lineName':_0x47e417(0xdd),'lineSeries':'累積占比系列','barSeries':_0x47e417(0xca)},'visualMapScope':_0x47e417(0xbe),'boxplot':{'min':_0x47e417(0x96),'q1':_0x47e417(0xb7),'median':_0x47e417(0xc6),'q3':_0x47e417(0xb0),'max':_0x47e417(0xa7)}},'chartTypes':{'line':_0x47e417(0xae),'area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':'百分比堆疊面積圖','column':_0x47e417(0xc0),'bar':_0x47e417(0x91),'barStacked':_0x47e417(0xd1),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':'環形圖','scatter':_0x47e417(0xba),'radar':_0x47e417(0xad),'bubble':_0x47e417(0xab),'stock':_0x47e417(0xf4),'combination':'組合圖','wordCloud':'詞雲圖','funnel':_0x47e417(0xe2),'relation':_0x47e417(0x105),'waterfall':_0x47e417(0xcf),'pareto':'排列圖','sankey':_0x47e417(0x99),'heatmap':'熱力圖','boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x47e417(0x106),'fieldSetting':_0x47e417(0xec),'formatTypes':_0x47e417(0xaf),'confirm':'確定','cancel':'取消','generalDesc':_0x47e417(0xc2),'accountingDesc':_0x47e417(0xf5),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x47e417(0x9c),'thousandthPercentileDesc':_0x47e417(0x8c),'decimalPlaces':'小數位數','currencyTypes':_0x47e417(0xf0),'negativeNumberTypes':_0x47e417(0x81),'dateTypes':_0x47e417(0x9b)},'setFormat':'設置標籤格式'}};module['exports']=e;
1
+ 'use strict';const _0x5b7faf=_0x1f6b;function _0x1f6b(_0x3b69a9,_0x1e488e){_0x3b69a9=_0x3b69a9-0x1e4;const _0x2e42a9=_0x2e42();let _0x1f6bbf=_0x2e42a9[_0x3b69a9];return _0x1f6bbf;}(function(_0xf147eb,_0x160aec){const _0x3b27b6=_0x1f6b,_0x18548c=_0xf147eb();while(!![]){try{const _0x343548=-parseInt(_0x3b27b6(0x211))/0x1+-parseInt(_0x3b27b6(0x238))/0x2+parseInt(_0x3b27b6(0x21b))/0x3+parseInt(_0x3b27b6(0x250))/0x4+-parseInt(_0x3b27b6(0x202))/0x5+parseInt(_0x3b27b6(0x259))/0x6*(parseInt(_0x3b27b6(0x22a))/0x7)+parseInt(_0x3b27b6(0x224))/0x8;if(_0x343548===_0x160aec)break;else _0x18548c['push'](_0x18548c['shift']());}catch(_0x73f875){_0x18548c['push'](_0x18548c['shift']());}}}(_0x2e42,0x61b0b));function _0x2e42(){const _0x535811=['使用值作為節點大小','空心圓形','所有系列','氣泡圖','標題格式','氣泡圖至少需要2欄,X軸、Y軸。','常規格式不包含任何特定的數字格式。','右垂直軸','刻度線長度','空心菱形','旋轉標籤','2738300spFHmU','使用絕對值','箱型圖','最大值','用直線連接數據點','圓角矩形','多項式階數','堆疊條形圖','貨幣類型','54GykRUz','指示線','更多設置','圖表數據源必須包含多於1列和1欄。','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','面積圖','R平方','顯示標籤','顯示軸線','環形圖','系列\x20{0}','線類型','右對齊','日期軸僅在數據全部為日期格式時可用','視覺映射範圍','詞雲圖','類別\x20{0}','顯示公式','玫瑰圖','百分比堆疊','垂直軸','使用\x20{0}\x20作為類別標籤','趨勢線類型','顯示數據標籤','格式類型','累積占比系列','熱力圖','顯示R平方','散點圖','柱狀圖','漏斗圖','小數位數','趨勢線名稱','趨勢線粗細','負值圖例文本','力導向','圖表邊框顏色','主標題','顯示小計','第一四分位數','關係圖','編輯圖表','條形圖','組合圖','第\x20{0}\x20','百分比堆疊條形圖','指示標籤','數據點','最小值','隱藏圖表面板','指示線顏色','百分比','空心圓角矩形','累積占比','趨勢線','{0}\x20格式','圖表和軸標題','X軸標題','標題對齊','2357595sNfUjT','正方形','移動平均周期','堆疊方式','堆疊面積圖','刪除圖表','水平軸','三角形','顯示標籤線','添加數據點','標題文本','百分比堆疊面積圖','空心三角形','多項式','佈局類型','719212qiZegU','負數類型','設置圖表','空心箭頭','網格線','指示值','数值后缀','字段設置','設置標籤格式','空心矩形','1280151iwqzeH','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','添加系列','{0}\x20形狀','漸變填充','圓環孔','右Y軸標題','插入圖表','小計圖例文本','5408848QZJkvA','請先添加系列開始數據可視化','主刻度線','千分位符','空心正方形','長條圖系列','166831pzGJZx','軸選項','日期類型','{0}\x20透明度','圖表樣式','左對齊','{0}\x20粗細','exports','氣泡標籤','瀑布圖','節點距離','數據範圍','使用日期軸','標籤位置','822050jwbSex','重複詞雲標籤','(空)','数值比例','多邊形','氣泡大小','負值樣式','{0}\x20類型','第三四分位數','扇形間距','數據標籤','中位數','切換列或欄'];_0x2e42=function(){return _0x535811;};return _0x2e42();}const e={'chart':{'insertChart':_0x5b7faf(0x222),'editChart':_0x5b7faf(0x1f0),'openChartPanel':'打開圖表面板','deleteChart':_0x5b7faf(0x207),'hideChartPanel':_0x5b7faf(0x1f8),'setupChart':_0x5b7faf(0x213),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x5b7faf(0x235),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x5b7faf(0x247),'series':'系列','addSeries':_0x5b7faf(0x21d),'moreSettings':_0x5b7faf(0x25b),'min':'最小值','max':_0x5b7faf(0x253),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x5b7faf(0x254)},'blank':_0x5b7faf(0x23a),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':'背景顏色','chartBorderColor':_0x5b7faf(0x1eb),'titles':{'title':'標題','mainTitle':_0x5b7faf(0x1ec),'subTitle':'副標題','xAxisTitle':_0x5b7faf(0x200),'yAxisTitle':'Y軸標題','rightYAxisTitle':_0x5b7faf(0x221),'titleFormat':_0x5b7faf(0x249),'titleText':_0x5b7faf(0x20c),'titlePosition':'標題位置','titleAlign':_0x5b7faf(0x201)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x5b7faf(0x21f),'settingsLabels':{'switchToRowOrColumn':_0x5b7faf(0x244),'useAsCategoryLabels':_0x5b7faf(0x26e),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x5b7faf(0x22f),'center':'居中','right':_0x5b7faf(0x265)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x5b7faf(0x22e),'chartAndAxisTitles':_0x5b7faf(0x1ff),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x5b7faf(0x22b),'horizontalAxis':_0x5b7faf(0x208),'verticalAxis':_0x5b7faf(0x26d),'rightVerticalAxis':_0x5b7faf(0x24c),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':_0x5b7faf(0x242),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x5b7faf(0x25a),'indicatorLineType':'指示線類型','indicatorLineColor':_0x5b7faf(0x1f9),'indicatorLabel':_0x5b7faf(0x1f5),'indicatorValue':_0x5b7faf(0x216),'shape':{'polygon':_0x5b7faf(0x23c),'circle':'圓形','square':_0x5b7faf(0x203),'triangle':_0x5b7faf(0x209),'diamond':'菱形','rect':'矩形','roundRect':_0x5b7faf(0x255),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x5b7faf(0x246),'emptySquare':_0x5b7faf(0x228),'emptyTriangle':_0x5b7faf(0x20e),'emptyDiamond':_0x5b7faf(0x24e),'emptyRect':_0x5b7faf(0x21a),'emptyRoundRect':_0x5b7faf(0x1fb),'emptyPin':'空心針形','emptyArrow':_0x5b7faf(0x214)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x5b7faf(0x22d),'withColor':'{0}\x20顏色','withThickness':_0x5b7faf(0x230),'withType':_0x5b7faf(0x23f),'withSize':'{0}\x20大小','withShape':_0x5b7faf(0x21e),'withFormat':_0x5b7faf(0x1fe),'dataPoint':_0x5b7faf(0x1f6),'dataNodeShape':'節點形狀','addDataPoint':_0x5b7faf(0x20b),'point':_0x5b7faf(0x1f6),'percentage':_0x5b7faf(0x1fa),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x5b7faf(0x26c)},'lineDashType':_0x5b7faf(0x264),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x5b7faf(0x215)},'ticks':{'majorTick':_0x5b7faf(0x226),'tickPosition':'刻度線位置','tickLength':_0x5b7faf(0x24d)},'none':'無','theIndexItem':_0x5b7faf(0x1f3),'seriesDefaultName':_0x5b7faf(0x263),'categoryDefaultName':_0x5b7faf(0x269),'styleEditPanel':{'showLabels':_0x5b7faf(0x260),'showDataLabels':_0x5b7faf(0x270),'padAngle':_0x5b7faf(0x241),'halfPie':'半餅','rosePie':_0x5b7faf(0x26b),'pieValScale':_0x5b7faf(0x23b),'pieValSuffix':_0x5b7faf(0x217),'pieDigitalFixed':_0x5b7faf(0x1e6),'showLabelLine':_0x5b7faf(0x20a),'reverseAxisOrder':'逆序軸','showAxisLine':_0x5b7faf(0x261),'labelPosition':_0x5b7faf(0x237),'labelText':'標籤文本','repeatWordCould':_0x5b7faf(0x239),'gap':'間隔','useAbsValue':_0x5b7faf(0x251),'labelRotate':'標籤旋轉','wordCloudShape':'詞雲形狀','useDateAxis':_0x5b7faf(0x236),'dateAxisTips':_0x5b7faf(0x266)},'radar':{'fill':'填充'},'doughnutHole':_0x5b7faf(0x220),'msg':{'invalidSource':_0x5b7faf(0x25c),'emptyTips':_0x5b7faf(0x225)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x5b7faf(0x1fd),'displayName':_0x5b7faf(0x1e7),'addTrendLine':'添加趨勢線','trendlineType':_0x5b7faf(0x26f),'trendlineName':_0x5b7faf(0x1e7),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x5b7faf(0x1e8),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x5b7faf(0x20f),'order':_0x5b7faf(0x256),'period':_0x5b7faf(0x204),'showFormula':_0x5b7faf(0x26a),'showR2':_0x5b7faf(0x274),'formula':'公式','r2':_0x5b7faf(0x25f)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x5b7faf(0x23d),'label':_0x5b7faf(0x232),'emptyTips':_0x5b7faf(0x24a)},'relation':{'title':_0x5b7faf(0x1ef),'auto':'自動','circular':'環形','force':_0x5b7faf(0x1ea),'useValueAsSymbolSize':_0x5b7faf(0x245),'layoutType':_0x5b7faf(0x210),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x5b7faf(0x234),'rotateLabel':_0x5b7faf(0x24f),'emphasis':'開啟選中淡入特效','emptyTips':_0x5b7faf(0x21c)},'waterfall':{'stackType':_0x5b7faf(0x205),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x5b7faf(0x1ed),'positiveStyle':'正值樣式','negativeStyle':_0x5b7faf(0x23e),'subtotalStyle':'小計樣式','positiveLegendText':'正值圖例文本','negativeLegendText':_0x5b7faf(0x1e9),'subtotalLegendText':_0x5b7faf(0x223)},'pareto':{'lineName':_0x5b7faf(0x1fc),'lineSeries':_0x5b7faf(0x272),'barSeries':_0x5b7faf(0x229)},'visualMapScope':_0x5b7faf(0x267),'boxplot':{'min':_0x5b7faf(0x1f7),'q1':_0x5b7faf(0x1ee),'median':_0x5b7faf(0x243),'q3':_0x5b7faf(0x240),'max':_0x5b7faf(0x253)}},'chartTypes':{'line':'折線圖','area':_0x5b7faf(0x25e),'areaStacked':_0x5b7faf(0x206),'areaPercentStacked':_0x5b7faf(0x20d),'column':_0x5b7faf(0x1e4),'bar':_0x5b7faf(0x1f1),'barStacked':_0x5b7faf(0x257),'barPercentStacked':_0x5b7faf(0x1f4),'pie':'餅圖','donut':_0x5b7faf(0x262),'scatter':_0x5b7faf(0x275),'radar':'雷達圖','bubble':_0x5b7faf(0x248),'stock':'股票圖','combination':_0x5b7faf(0x1f2),'wordCloud':_0x5b7faf(0x268),'funnel':_0x5b7faf(0x1e5),'relation':'關係圖','waterfall':_0x5b7faf(0x233),'pareto':'排列圖','sankey':'桑基圖','heatmap':_0x5b7faf(0x273),'boxplot':_0x5b7faf(0x252)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x5b7faf(0x227),'fieldSetting':_0x5b7faf(0x218),'formatTypes':_0x5b7faf(0x271),'confirm':'確定','cancel':'取消','generalDesc':_0x5b7faf(0x24b),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x5b7faf(0x25d),'decimalPlaces':_0x5b7faf(0x1e6),'currencyTypes':_0x5b7faf(0x258),'negativeNumberTypes':_0x5b7faf(0x212),'dateTypes':_0x5b7faf(0x22c)},'setFormat':_0x5b7faf(0x219)}};module[_0x5b7faf(0x231)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x6489ad=_0x32eb;(function(_0x778408,_0x4e2f4f){const _0x3984ef=_0x32eb,_0x50a95d=_0x778408();while(!![]){try{const _0x18dbe5=parseInt(_0x3984ef(0x175))/0x1+-parseInt(_0x3984ef(0x1b8))/0x2*(parseInt(_0x3984ef(0x19a))/0x3)+-parseInt(_0x3984ef(0x20f))/0x4*(parseInt(_0x3984ef(0x1de))/0x5)+parseInt(_0x3984ef(0x1bf))/0x6*(-parseInt(_0x3984ef(0x217))/0x7)+-parseInt(_0x3984ef(0x227))/0x8+-parseInt(_0x3984ef(0x19e))/0x9*(parseInt(_0x3984ef(0x1b3))/0xa)+parseInt(_0x3984ef(0x20b))/0xb;if(_0x18dbe5===_0x4e2f4f)break;else _0x50a95d['push'](_0x50a95d['shift']());}catch(_0x508aee){_0x50a95d['push'](_0x50a95d['shift']());}}}(_0x15e6,0xc4c26));var R=Object[_0x6489ad(0x1ce)],k=(_0x29f097,_0x5aeb61,_0x457a74)=>_0x5aeb61 in _0x29f097?R(_0x29f097,_0x5aeb61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x457a74}):_0x29f097[_0x5aeb61]=_0x457a74,n=(_0x57d218,_0x51c9bd,_0x4454c3)=>k(_0x57d218,typeof _0x51c9bd!=_0x6489ad(0x201)?_0x51c9bd+'':_0x51c9bd,_0x4454c3);import{ChartThemeService as _0x1667c4,ChartTypeBits as _0x4336d0,LegendPositionEnum as _0x217f86,SelectModeEnum as _0x121587,AxisAlignEnum as _0x26ca8f,ChartBorderDashType as _0x357d6f,LinePointShape as _0x571d3c,TitlePositionEnum as _0x4c5326,RadarShape as _0x42d088}from'@univerjs-pro/engine-chart';import{setProperty as _0x3cbcfd,SheetsChartService as _0x5478d9,ChartUpdateSourceCommand as _0x47e528,ChartUpdateConfigCommand as _0x6768cb}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x271351}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x5d1745,IUniverInstanceService as _0x494d12,UniverInstanceType as _0x48060d,generateRandomId as _0x3b4a58,DrawingTypeEnum as _0x11afe4}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x54c5f5}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x168b8c}from'@univerjs/sheets/facade';import{FBase as _0x2ca92e,FEnum as _0x13aa4e}from'@univerjs/core/facade';function _0x32eb(_0x164f70,_0x372ad4){_0x164f70=_0x164f70-0x174;const _0x15e686=_0x15e6();let _0x32eb1f=_0x15e686[_0x164f70];return _0x32eb1f;}import{deserializeRangeWithSheet as _0x3f0b59}from'@univerjs/engine-formula';import{IRenderManagerService as _0x3fbbab}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x45b198,SheetSkeletonManagerService as _0x1e6757,convertPositionCellToSheetOverGrid as _0x5a5b4f}from'@univerjs/sheets-ui';const s=(_0x4854a5,_0x26eb78,_0x12429a)=>{_0x12429a!==void 0x0&&_0x3cbcfd(_0x4854a5,_0x26eb78,_0x12429a);},C=(_0x4da3cc,_0x3fba44,_0x265d38,_0x540f57={})=>{const _0x53e6b6=_0x6489ad,_0xa3fa89={},_0x33d17c={};if(_0x540f57[_0x53e6b6(0x223)]){const _0xe4f891=_0x540f57['title'];s(_0xa3fa89,_0x53e6b6(0x1b0),_0xe4f891[_0x53e6b6(0x190)]),s(_0xa3fa89,_0x53e6b6(0x184),_0xe4f891[_0x53e6b6(0x1e5)]),s(_0xa3fa89,_0x53e6b6(0x202),_0xe4f891[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1d6),_0xe4f891['fontColor']),s(_0xa3fa89,_0x53e6b6(0x205),_0xe4f891[_0x53e6b6(0x1df)]),s(_0xa3fa89,_0x53e6b6(0x189),_0xe4f891[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x1af),_0xe4f891[_0x53e6b6(0x18e)]),s(_0xa3fa89,_0x53e6b6(0x1d2),_0xe4f891['position']);}if(_0x540f57['legend']){const _0x536e52=_0x540f57['legend'];s(_0xa3fa89,_0x53e6b6(0x1cf),_0x536e52[_0x53e6b6(0x218)]),s(_0xa3fa89,'legend.selectMode',_0x536e52[_0x53e6b6(0x1ab)]),s(_0xa3fa89,_0x53e6b6(0x198),_0x536e52[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1ac),_0x536e52[_0x53e6b6(0x196)]),s(_0xa3fa89,'legend.label.bold',_0x536e52[_0x53e6b6(0x1c9)]),s(_0xa3fa89,'legend.label.italic',_0x536e52['italic']);}if(_0x540f57['pie']){const _0x3ae7e9=_0x540f57['pie'];s(_0xa3fa89,_0x53e6b6(0x1d4),_0x3ae7e9['doughnutHole']),s(_0xa3fa89,_0x53e6b6(0x1d7),_0x3ae7e9[_0x53e6b6(0x193)]),s(_0xa3fa89,'pie.hasPaddingAngle',_0x3ae7e9[_0x53e6b6(0x1fc)]),s(_0xa3fa89,_0x53e6b6(0x1bb),_0x3ae7e9[_0x53e6b6(0x1ad)]),s(_0xa3fa89,_0x53e6b6(0x1f3),_0x3ae7e9[_0x53e6b6(0x1d8)]),s(_0xa3fa89,_0x53e6b6(0x1e2),_0x3ae7e9[_0x53e6b6(0x18b)]);}if(_0x540f57[_0x53e6b6(0x1e1)]){const _0x1e979f=_0x540f57[_0x53e6b6(0x1e1)];s(_0xa3fa89,_0x53e6b6(0x177),_0x1e979f[_0x53e6b6(0x21f)]),s(_0xa3fa89,_0x53e6b6(0x208),_0x1e979f[_0x53e6b6(0x206)]),s(_0xa3fa89,'tooltip.indicatorLineColor',_0x1e979f[_0x53e6b6(0x1dd)]),s(_0xa3fa89,_0x53e6b6(0x185),_0x1e979f[_0x53e6b6(0x186)]);}if(_0x540f57[_0x53e6b6(0x1a6)]&&(s(_0xa3fa89,_0x53e6b6(0x228),_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x20d)]),s(_0xa3fa89,_0x53e6b6(0x182),_0x540f57['allSeriesStyle']['label']),s(_0xa3fa89,_0x53e6b6(0x19b),_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x180)]),s(_0xa3fa89,_0x53e6b6(0x1a3),_0x540f57['allSeriesStyle'][_0x53e6b6(0x1d1)]),s(_0xa3fa89,'allSeriesStyle.color',_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x196)])),_0x540f57[_0x53e6b6(0x1a9)]&&s(_0xa3fa89,'area.lineStyle',_0x540f57[_0x53e6b6(0x1a9)]['lineStyle']),_0x540f57[_0x53e6b6(0x216)]&&s(_0xa3fa89,_0x53e6b6(0x216),_0x540f57['theme']),_0x540f57[_0x53e6b6(0x1cc)]&&s(_0xa3fa89,'backgroundColor',_0x540f57[_0x53e6b6(0x1cc)]),_0x540f57[_0x53e6b6(0x193)]&&s(_0xa3fa89,'borderColor',_0x540f57['borderColor']),_0x540f57[_0x53e6b6(0x17b)]&&s(_0xa3fa89,_0x53e6b6(0x17b),_0x540f57[_0x53e6b6(0x17b)]),_0x540f57[_0x53e6b6(0x1b5)]&&s(_0xa3fa89,_0x53e6b6(0x1b5),_0x540f57['invalidValueType']),_0x540f57[_0x53e6b6(0x192)]&&s(_0xa3fa89,_0x53e6b6(0x192),_0x540f57['radar']),_0x540f57[_0x53e6b6(0x1e6)]){const _0x4642c8=_0x540f57[_0x53e6b6(0x1e6)];s(_0xa3fa89,_0x53e6b6(0x1ed),_0x4642c8[_0x53e6b6(0x190)]),s(_0xa3fa89,'titles.xAxisTitle.font',_0x4642c8['font']),s(_0xa3fa89,_0x53e6b6(0x1d9),_0x4642c8[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1a5),_0x4642c8['fontColor']),s(_0xa3fa89,'titles.xAxisTitle.family',_0x4642c8[_0x53e6b6(0x1df)]),s(_0xa3fa89,_0x53e6b6(0x19c),_0x4642c8[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x1ec),_0x4642c8['axisAlignment']);}if(_0x540f57[_0x53e6b6(0x18a)]){const _0x679b2e=_0x540f57[_0x53e6b6(0x18a)];s(_0xa3fa89,'titles.yAxisTitle.content',_0x679b2e[_0x53e6b6(0x190)]),s(_0xa3fa89,_0x53e6b6(0x1d5),_0x679b2e[_0x53e6b6(0x1e5)]),s(_0xa3fa89,'titles.yAxisTitle.fontSize',_0x679b2e[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x19d),_0x679b2e['fontColor']),s(_0xa3fa89,_0x53e6b6(0x220),_0x679b2e[_0x53e6b6(0x1df)]),s(_0xa3fa89,'titles.yAxisTitle.bold',_0x679b2e['bold']),s(_0xa3fa89,_0x53e6b6(0x21c),_0x679b2e[_0x53e6b6(0x20c)]);}if(_0x540f57['rightYAxisTitle']){const _0x5d1552=_0x540f57[_0x53e6b6(0x1f4)];s(_0xa3fa89,_0x53e6b6(0x219),_0x5d1552[_0x53e6b6(0x190)]),s(_0xa3fa89,'titles.rightYAxisTitle.font',_0x5d1552[_0x53e6b6(0x1e5)]),s(_0xa3fa89,_0x53e6b6(0x17c),_0x5d1552[_0x53e6b6(0x20a)]),s(_0xa3fa89,'titles.rightYAxisTitle.color',_0x5d1552[_0x53e6b6(0x1d0)]),s(_0xa3fa89,_0x53e6b6(0x1b1),_0x5d1552[_0x53e6b6(0x1df)]),s(_0xa3fa89,'titles.rightYAxisTitle.bold',_0x5d1552[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x183),_0x5d1552[_0x53e6b6(0x20c)]);}_0x540f57[_0x53e6b6(0x1ff)]&&s(_0xa3fa89,_0x53e6b6(0x1ff),_0x540f57[_0x53e6b6(0x1ff)]),_0x540f57[_0x53e6b6(0x191)]&&s(_0xa3fa89,'yAxis',_0x540f57[_0x53e6b6(0x191)]),_0x540f57['yRightAxis']&&s(_0xa3fa89,_0x53e6b6(0x180),_0x540f57[_0x53e6b6(0x1a2)]),_0x540f57[_0x53e6b6(0x215)]&&s(_0xa3fa89,_0x53e6b6(0x215),_0x540f57[_0x53e6b6(0x215)]);const _0x2904fa={'unitId':_0x4da3cc,'chartModelId':_0x3fba44};let _0x312f91=!0x1;if(_0x265d38!==void 0x0&&(_0x2904fa[_0x53e6b6(0x221)]=_0x265d38,_0x312f91=!0x0),Object[_0x53e6b6(0x17f)](_0xa3fa89)[_0x53e6b6(0x178)]>0x0&&(_0x2904fa['style']=_0xa3fa89,_0x312f91=!0x0),Object[_0x53e6b6(0x17f)](_0x33d17c)['length']>0x0&&(_0x2904fa['context']=_0x33d17c,_0x312f91=!0x0),_0x312f91)return _0x2904fa;};class c extends _0x2ca92e{constructor(_0x15ca54,_0x51541b,_0x5512cf,_0x6ccde3,_0x3fd165){const _0x1e8a31=_0x6489ad;super(),n(this,_0x1e8a31(0x1dc)),n(this,_0x1e8a31(0x17a)),n(this,_0x1e8a31(0x1f9)),n(this,_0x1e8a31(0x1ca)),n(this,_0x1e8a31(0x212)),n(this,_0x1e8a31(0x207)),n(this,_0x1e8a31(0x213)),n(this,'x'),n(this,'y'),n(this,_0x1e8a31(0x1bc)),n(this,_0x1e8a31(0x1aa)),n(this,_0x1e8a31(0x221)),n(this,'options'),n(this,'transposeRowsAndColumns'),(this['unitId']=_0x15ca54,this[_0x1e8a31(0x1ca)]=_0x51541b,this[_0x1e8a31(0x1dc)]=_0x5512cf,this[_0x1e8a31(0x17a)]=_0x6ccde3,_0x3fd165&&(this[_0x1e8a31(0x212)]=_0x3fd165));}[_0x6489ad(0x21d)](){const _0x341fab=_0x6489ad;return this[_0x341fab(0x221)];}[_0x6489ad(0x1fa)](_0x1c9209){const _0x4e7292=_0x6489ad;if(typeof _0x1c9209==_0x4e7292(0x1c0)){const _0x176322=_0x3f0b59(_0x1c9209);_0x176322[_0x4e7292(0x1bd)]&&(this[_0x4e7292(0x213)]=_0x176322[_0x4e7292(0x1bd)]),this[_0x4e7292(0x207)]=_0x176322['range'];}else this[_0x4e7292(0x207)]=_0x1c9209;return this;}[_0x6489ad(0x1a0)](){const _0x13d3bd=_0x6489ad;return this[_0x13d3bd(0x207)]=void 0x0,this[_0x13d3bd(0x213)]=void 0x0,this;}['setPosition'](_0x2589c1,_0x23f91b,_0x1c74c8,_0x5e0ebc){const _0x555117=_0x6489ad,_0x494600=this[_0x555117(0x17a)]['get'](_0x3fbbab)[_0x555117(0x21b)](this['unitId']);if(!_0x494600)throw new Error(_0x555117(0x1e7));const _0x2b925f=_0x494600[_0x555117(0x1c1)](_0x45b198),_0x4c1d1d=_0x494600[_0x555117(0x1c1)](_0x1e6757),{transform:_0x1f7607}=_0x5a5b4f(this['unitId'],this[_0x555117(0x1ca)],{'row':_0x2589c1,'column':_0x23f91b,'rowOffset':_0x1c74c8,'columnOffset':_0x5e0ebc},0x1,0x1,_0x2b925f,_0x4c1d1d),_0x2d257a=_0x1f7607[_0x555117(0x199)],_0x238681=_0x1f7607[_0x555117(0x1ba)];return this['x']=_0x238681,this['y']=_0x2d257a,this;}[_0x6489ad(0x222)](_0x3336e2,_0x316df3){return this['x']=_0x3336e2,this['y']=_0x316df3,this;}['setChartType'](_0x5e6937){const _0x30dce2=_0x6489ad;return this[_0x30dce2(0x221)]=_0x5e6937,this;}[_0x6489ad(0x1fd)](_0x268457){const _0x4a9bda=_0x6489ad;return this[_0x4a9bda(0x1bc)]=_0x268457,this;}[_0x6489ad(0x1ae)](_0x57d139){const _0x1107bb=_0x6489ad;return this[_0x1107bb(0x1aa)]=_0x57d139,this;}[_0x6489ad(0x1cd)](_0x18482a,_0x20801e){const _0x198241=_0x6489ad;return this[_0x198241(0x1f1)]||(this['options']={}),_0x18482a===''?(this[_0x198241(0x1f1)]={...this[_0x198241(0x1f1)],..._0x20801e},this):(_0x3cbcfd(this[_0x198241(0x1f1)],_0x18482a,_0x20801e),this);}[_0x6489ad(0x1f2)](_0x5321ac){return this['transposeRowsAndColumns']=_0x5321ac,this;}[_0x6489ad(0x1fb)](_0x1ab3ca){const _0x4b6280=_0x6489ad;return this[_0x4b6280(0x1cd)](_0x4b6280(0x216),_0x1ab3ca),this;}[_0x6489ad(0x1f7)](_0x41d51b){const _0xe1cfa7=_0x6489ad;var _0x4e0b6d;const _0x132632=((_0x4e0b6d=this[_0xe1cfa7(0x1f1)])==null?void 0x0:_0x4e0b6d[_0xe1cfa7(0x1e6)])||{};return _0x132632['content']=_0x41d51b,this[_0xe1cfa7(0x1cd)](_0xe1cfa7(0x1e6),_0x132632),this;}[_0x6489ad(0x1c2)](_0xba8d60){const _0x4e6186=_0x6489ad;var _0x246e7b;const _0x1420b1=((_0x246e7b=this[_0x4e6186(0x1f1)])==null?void 0x0:_0x246e7b['yAxisTitle'])||{};return _0x1420b1[_0x4e6186(0x190)]=_0xba8d60,this['setOptions']('yAxisTitle',_0x1420b1),this;}['setRightYAxisTitle'](_0xc7de33){const _0x569187=_0x6489ad;var _0x4ba6fd;const _0x3910f9=((_0x4ba6fd=this['options'])==null?void 0x0:_0x4ba6fd[_0x569187(0x1f4)])||{};return _0x3910f9[_0x569187(0x190)]=_0xc7de33,this['setOptions'](_0x569187(0x1f4),_0x3910f9),this;}[_0x6489ad(0x1b9)](_0x1af8b4){const _0x25cdab=_0x6489ad;var _0x43750f;const _0x41f828=((_0x43750f=this[_0x25cdab(0x1f1)])==null?void 0x0:_0x43750f[_0x25cdab(0x1e6)])||{};return this['setOptions'](_0x25cdab(0x1e6),{..._0x41f828,..._0x1af8b4}),this;}[_0x6489ad(0x204)](_0x6f8220){const _0x22d5e2=_0x6489ad;var _0x4dfefc;const _0x4b730f=((_0x4dfefc=this[_0x22d5e2(0x1f1)])==null?void 0x0:_0x4dfefc[_0x22d5e2(0x18a)])||{};return this[_0x22d5e2(0x1cd)]('yAxisTitle',{..._0x4b730f,..._0x6f8220}),this;}[_0x6489ad(0x188)](_0x3490f7){const _0x56d26f=_0x6489ad;var _0x5a5604;const _0xacbd87=((_0x5a5604=this[_0x56d26f(0x1f1)])==null?void 0x0:_0x5a5604[_0x56d26f(0x1f4)])||{};return this[_0x56d26f(0x1cd)](_0x56d26f(0x1f4),{..._0xacbd87,..._0x3490f7}),this;}[_0x6489ad(0x1c8)](_0x241637){const _0x33169b=_0x6489ad;return this[_0x33169b(0x1cd)]('invalidValueType',_0x241637),this;}[_0x6489ad(0x18f)](_0x57e8b8){const _0x37e7ea=_0x6489ad;return this[_0x37e7ea(0x1cd)](_0x37e7ea(0x1e1),_0x57e8b8),this;}[_0x6489ad(0x209)](_0x5139ee){const _0x133c57=_0x6489ad;return this[_0x133c57(0x1cd)](_0x133c57(0x1a6),_0x5139ee),this;}[_0x6489ad(0x17e)](_0x153b69,_0x222a68){return this['setOptions']('seriesStyleMap',{[_0x153b69]:_0x222a68}),this;}[_0x6489ad(0x1b6)](){const _0x3cb0d=_0x6489ad;return{'unitId':this[_0x3cb0d(0x1f9)],'subUnitId':this[_0x3cb0d(0x1ca)],'chartId':this[_0x3cb0d(0x212)],'range':this[_0x3cb0d(0x207)],'sourceSheetName':this[_0x3cb0d(0x213)],'x':this['x'],'y':this['y'],'width':this[_0x3cb0d(0x1bc)],'height':this[_0x3cb0d(0x1aa)],'chartType':this['chartType'],'options':this[_0x3cb0d(0x1f1)],'isRowDirection':this[_0x3cb0d(0x1a4)]};}}class P{constructor(_0x3a768b,_0xf8d219,_0x5512ac,_0xe6dcae){const _0x5b5c87=_0x6489ad;n(this,_0x5b5c87(0x1f9)),n(this,_0x5b5c87(0x1ca)),n(this,_0x5b5c87(0x212)),n(this,_0x5b5c87(0x17a)),(this[_0x5b5c87(0x1f9)]=_0x3a768b,this[_0x5b5c87(0x1ca)]=_0xf8d219,this[_0x5b5c87(0x212)]=_0x5512ac,this['_injector']=_0xe6dcae);}[_0x6489ad(0x214)](){return this['chartId'];}['getRange'](){const _0x43efcc=_0x6489ad,_0x5d316a=this[_0x43efcc(0x17a)][_0x43efcc(0x17d)](_0x5478d9)['getChartModel'](this[_0x43efcc(0x212)]);if(_0x5d316a)return _0x5d316a['dataSource'][_0x43efcc(0x203)]();}['updateRange'](_0x2f12bb){const _0x3045bd=_0x6489ad;return this['_injector'][_0x3045bd(0x17d)](_0x5d1745)['executeCommand'](_0x47e528['id'],{'unitId':this['unitId'],'chartModelId':this[_0x3045bd(0x212)],'range':_0x2f12bb});}['getSeriesData'](){const _0x3cef95=_0x6489ad;var _0xeb8e78;const _0x575948=this[_0x3cef95(0x17a)][_0x3cef95(0x17d)](_0x5478d9)[_0x3cef95(0x1b7)](this['chartId']);if(_0x575948)return(_0xeb8e78=_0x575948[_0x3cef95(0x200)])==null?void 0x0:_0xeb8e78[_0x3cef95(0x176)];}[_0x6489ad(0x1f5)](){const _0x3a49ac=_0x6489ad;var _0x3f59f6;const _0x932372=this['_injector']['get'](_0x5478d9)[_0x3a49ac(0x1b7)](this['chartId']);if(_0x932372)return(_0x3f59f6=_0x932372[_0x3a49ac(0x200)])==null?void 0x0:_0x3f59f6['category'];}[_0x6489ad(0x1e8)](){const _0x559f5a=_0x6489ad,_0x12283d=this['_injector']['get'](_0x494d12)['getCurrentUnitForType'](_0x48060d['UNIVER_SHEET']);return new c(this[_0x559f5a(0x1f9)],this['subUnitId'],_0x12283d,this['_injector'],this[_0x559f5a(0x212)]);}}class $ extends _0x168b8c{async[_0x6489ad(0x179)](_0x531e6b){const _0x4062df=_0x6489ad;var _0x2fc203,_0x318cac,_0x23bbac;const _0x511c47=_0x531e6b[_0x4062df(0x1f9)]||this[_0x4062df(0x18d)]()[_0x4062df(0x226)](),_0xbb4d60=_0x531e6b[_0x4062df(0x1ca)]||this[_0x4062df(0x1f8)](),_0x1bf80b=_0x531e6b[_0x4062df(0x212)]||_0x3b4a58(),_0x29706e=_0x531e6b[_0x4062df(0x221)],_0x2f1038=_0x531e6b[_0x4062df(0x207)],_0x3cf3c5=_0x531e6b[_0x4062df(0x213)],_0x5b7681={'x':_0x531e6b['x'],'y':_0x531e6b['y']},_0x478c60=_0x531e6b[_0x4062df(0x1bc)],_0x3e93f3=_0x531e6b[_0x4062df(0x1aa)],_0x123bfc=(_0x2fc203=_0x531e6b[_0x4062df(0x1f1)])==null?void 0x0:_0x2fc203[_0x4062df(0x1cc)],_0x1e8d8e=(_0x318cac=_0x531e6b[_0x4062df(0x1f1)])==null?void 0x0:_0x318cac[_0x4062df(0x193)],_0x4577e6=C(_0x511c47,_0x1bf80b,_0x29706e,_0x531e6b[_0x4062df(0x1f1)]),_0x2ea602=(_0x23bbac=_0x531e6b['isRowDirection'])!=null?_0x23bbac:!0x0;if(!_0x2f1038)throw new Error(_0x4062df(0x1e3));return await this[_0x4062df(0x1a1)][_0x4062df(0x210)](_0x271351['id'],{'unitId':_0x511c47,'subUnitId':_0xbb4d60,'chartId':_0x1bf80b,'chartType':_0x29706e,'range':_0x2f1038,'sourceSheetName':_0x3cf3c5,'position':_0x5b7681,'width':_0x478c60,'height':_0x3e93f3,'backgroundColor':_0x123bfc,'borderColor':_0x1e8d8e,'config':_0x4577e6,'isRowDirection':_0x2ea602}),new P(_0x511c47,_0xbb4d60,_0x1bf80b,this[_0x4062df(0x17a)]);}[_0x6489ad(0x1b4)](_0xc9d80){const _0xfca2fa=_0x6489ad,{unitId:_0x1973f7,chartId:_0x57ae3e,chartType:_0x5c100c,options:_0x43be30}=_0xc9d80,_0x38c2f8=C(_0x1973f7,_0x57ae3e,_0x5c100c,_0x43be30);this[_0xfca2fa(0x1a1)][_0xfca2fa(0x210)](_0x6768cb['id'],_0x38c2f8);}[_0x6489ad(0x174)](_0x1ee8ec){const _0x57580e=_0x6489ad;if(_0x1ee8ec)return new c(_0x1ee8ec['unitId'],_0x1ee8ec[_0x57580e(0x1ca)],this[_0x57580e(0x1dc)],this['_injector'],_0x1ee8ec[_0x57580e(0x212)]);const _0x29033a=this[_0x57580e(0x18d)]()[_0x57580e(0x226)](),_0x455298=this[_0x57580e(0x1f8)]();return new c(_0x29033a,_0x455298,this[_0x57580e(0x1dc)],this[_0x57580e(0x17a)]);}[_0x6489ad(0x195)](){const _0x57185a=_0x6489ad,_0x4c84b5=this[_0x57185a(0x17a)][_0x57185a(0x17d)](_0x5478d9),_0x4a86ae=this['getWorkbook']()['getUnitId']();return _0x4c84b5['getUnitChartModels'](_0x4a86ae,this[_0x57185a(0x1f8)]())[_0x57185a(0x224)](_0xd07f07=>new P(_0x4a86ae,this[_0x57185a(0x1f8)](),_0xd07f07['id'],this[_0x57185a(0x17a)]));}[_0x6489ad(0x1f0)](_0x3313cd){const _0x8d6408=_0x6489ad,_0x24dea3=_0x3313cd[_0x8d6408(0x1f9)],_0x48ce8b=_0x3313cd[_0x8d6408(0x1ca)],_0x216d9b=_0x3313cd[_0x8d6408(0x212)],_0x3b3852={'unitId':_0x24dea3,'drawings':[{'unitId':_0x24dea3,'subUnitId':_0x48ce8b,'drawingId':_0x216d9b,'drawingType':_0x11afe4['DRAWING_CHART']}]};return this[_0x8d6408(0x1a1)][_0x8d6408(0x210)](_0x54c5f5['id'],_0x3b3852);}[_0x6489ad(0x1ea)](_0x13f9fc,_0x56935b){const _0x1a2a78=_0x6489ad;this[_0x1a2a78(0x17a)][_0x1a2a78(0x17d)](_0x1667c4)[_0x1a2a78(0x1c5)](_0x13f9fc,_0x56935b);}}_0x168b8c[_0x6489ad(0x229)]($);class tt extends _0x13aa4e{get[_0x6489ad(0x1b2)](){return _0x4336d0;}get['LegendPositionEnum'](){return _0x217f86;}get[_0x6489ad(0x1cb)](){return _0x121587;}get[_0x6489ad(0x1c7)](){return _0x26ca8f;}get[_0x6489ad(0x225)](){return _0x357d6f;}get[_0x6489ad(0x19f)](){return _0x571d3c;}get[_0x6489ad(0x1da)](){return _0x4c5326;}get[_0x6489ad(0x181)](){return _0x42d088;}}_0x13aa4e[_0x6489ad(0x229)](tt);class et extends c{constructor(_0x12a116,_0x2ebee1,_0x44e040,_0x3de597,_0x599745){const _0x588463=_0x6489ad;super(_0x12a116,_0x2ebee1,_0x44e040,_0x3de597,_0x599745),n(this,'lineStyle'),n(this,_0x588463(0x1eb)),n(this,_0x588463(0x20e)),n(this,'dataPointSize');}[_0x6489ad(0x22a)](_0x325b38){const _0x19663b=_0x6489ad;return this[_0x19663b(0x1db)]=_0x325b38,this;}[_0x6489ad(0x18c)](_0x4862d0){const _0x1be715=_0x6489ad;return this[_0x1be715(0x1eb)]=_0x4862d0,this;}[_0x6489ad(0x1e0)](_0x128fec){return this['dataPointColor']=_0x128fec,this;}[_0x6489ad(0x1a7)](_0x4d75fd){const _0x1ea22f=_0x6489ad;return this[_0x1ea22f(0x187)]=_0x4d75fd,this;}[_0x6489ad(0x1b6)](){const _0x145d94=_0x6489ad,_0x256da1=super[_0x145d94(0x1b6)]();_0x256da1[_0x145d94(0x221)]=_0x4336d0[_0x145d94(0x1c6)];const _0x4bb8e9=_0x256da1[_0x145d94(0x1f1)]||{};return s(_0x4bb8e9,_0x145d94(0x1a8),this[_0x145d94(0x1db)]),s(_0x4bb8e9,_0x145d94(0x197),this[_0x145d94(0x1eb)]),s(_0x4bb8e9,_0x145d94(0x1ee),this['dataPointColor']),s(_0x4bb8e9,_0x145d94(0x1c4),this[_0x145d94(0x187)]),_0x256da1[_0x145d94(0x1f1)]=_0x4bb8e9,_0x256da1;}}function _0x15e6(){const _0x555dd6=['RadarShape','allSeriesStyle.label','rightYAxis.label.axisTitleAlign','titles.title.font','tooltip.indicatorLabelTextColor','indicatorLabelTextColor','dataPointSize','setRightYAxisTextStyle','titles.title.bold','yAxisTitle','showLabelLine','setDataPointShape','getWorkbook','titleAlignment','setAxisPointerStyle','content','yAxis','radar','borderColor','setBorderColor','getCharts','color','allSeriesStyle.point.shape','legend.label.fontSize','top','3981nUlnvi','allSeriesStyle.rightYAxis','titles.xAxisTitle.bold','titles.yAxisTitle.color','45EzIftJ','LinePointShape','clearRange','_commandService','yRightAxis','allSeriesStyle.point','transposeRowsAndColumns','titles.xAxisTitle.color','allSeriesStyle','setDataPointSize','area.lineStyle','area','height','selectMode','legend.label.color','isHalfPie','setHeight','titles.title.align','titles.title.content','titles.rightYAxisTitle.family','ChartType','1760170IxBBli','updateChart','invalidValueType','build','getChartModel','196OcSFcV','setXAxisTextStyle','left','pie.isHalfPie','width','sheetName','setShape','18qmGmWI','string','with','setYAxisTitle','setRosePie','allSeriesStyle.point.size','registerTheme','Line','AxisAlignEnum','setInvalidValueStrategy','bold','subUnitId','SelectModeEnum','backgroundColor','setOptions','defineProperty','legend.position','fontColor','point','titles.titlePosition','Pie','pie.doughnutHole','titles.yAxisTitle.font','titles.title.color','pie.borderColor','rosePie','titles.xAxisTitle.fontSize','TitlePositionEnum','lineStyle','_workbook','indicatorLineColor','969530DmxCVm','fontStyle','setDataPointColor','axisPointer','pie.showLabelLine','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','asPieChart','font','xAxisTitle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','modify','Radar','registerChartTheme','dataPointShape','xAxis.label.axisTitleAlign','titles.xAxisTitle.content','allSeriesStyle.point.color','radar.fill','removeChart','options','setTransposeRowsAndColumns','pie.rosePie','rightYAxisTitle','getCategoryData','shape','setXAxisTitle','getSheetId','unitId','addRange','setTheme','hasPaddingAngle','setWidth','doughnutHole','xAxis','config','symbol','titles.title.fontSize','getRangeInfo','setYAxisTextStyle','titles.title.family','indicatorLineType','range','tooltip.indicatorLineType','setAllSeriesStyle','fontSize','45310408NQaCNq','axisAlignment','border','dataPointColor','28zSUoxu','executeCommand','fill','chartId','sourceSheetName','getChartId','seriesStyleMap','theme','207683XGAPOO','position','titles.rightYAxisTitle.content','radar.shape','getRenderById','yAxis.label.axisTitleAlign','getChartType','setFill','indicatorLabelColor','titles.yAxisTitle.family','chartType','setAbsolutePosition','title','map','ChartBorderDashType','getUnitId','9071872boieit','allSeriesStyle.border','extend','setLineStyle','newChart','277262jNgEcm','series','tooltip.indicatorLabelColor','length','insertChart','_injector','gradientFill','titles.rightYAxisTitle.fontSize','get','setSeriesStyle','keys','rightYAxis'];_0x15e6=function(){return _0x555dd6;};return _0x15e6();}class it extends c{['asLineChart'](){const _0x9a4ca8=_0x6489ad;return new et(this[_0x9a4ca8(0x1f9)],this[_0x9a4ca8(0x1ca)],this[_0x9a4ca8(0x1dc)],this[_0x9a4ca8(0x17a)],this[_0x9a4ca8(0x212)]);}}c[_0x6489ad(0x229)](it);class st extends c{constructor(_0x4d8fe3,_0x2d27c7,_0x569a76,_0x55d23b,_0x595510){const _0x3a4b3b=_0x6489ad;super(_0x4d8fe3,_0x2d27c7,_0x569a76,_0x55d23b,_0x595510),n(this,_0x3a4b3b(0x1fe)),n(this,_0x3a4b3b(0x193)),n(this,'hasPaddingAngle'),n(this,_0x3a4b3b(0x1ad)),n(this,_0x3a4b3b(0x1d8)),n(this,_0x3a4b3b(0x18b));}['setDoughnutHole'](_0x9a60c9){return this['doughnutHole']=_0x9a60c9,this;}[_0x6489ad(0x194)](_0x32793f){return this['borderColor']=_0x32793f,this;}['setHasPaddingAngle'](_0x464f8c){const _0x2fce84=_0x6489ad;return this[_0x2fce84(0x1fc)]=_0x464f8c,this;}['setIsHalfPie'](_0x1150ca){const _0x17250d=_0x6489ad;return this[_0x17250d(0x1ad)]=_0x1150ca,this;}[_0x6489ad(0x1c3)](_0x194fe0){const _0x30c1da=_0x6489ad;return this[_0x30c1da(0x1d8)]=_0x194fe0,this;}['setShowLabelLine'](_0x47e504){const _0xf07a60=_0x6489ad;return this[_0xf07a60(0x18b)]=_0x47e504,this;}['build'](){const _0x3201f9=_0x6489ad,_0x32b3c5=super[_0x3201f9(0x1b6)]();_0x32b3c5[_0x3201f9(0x221)]=_0x4336d0[_0x3201f9(0x1d3)];const _0x9626e8=_0x32b3c5[_0x3201f9(0x1f1)]||{};return s(_0x9626e8,'pie.doughnutHole',this[_0x3201f9(0x1fe)]),s(_0x9626e8,_0x3201f9(0x1d7),this[_0x3201f9(0x193)]),s(_0x9626e8,'pie.hasPaddingAngle',this['hasPaddingAngle']),s(_0x9626e8,_0x3201f9(0x1bb),this[_0x3201f9(0x1ad)]),s(_0x9626e8,'pie.rosePie',this[_0x3201f9(0x1d8)]),s(_0x9626e8,_0x3201f9(0x1e2),this[_0x3201f9(0x18b)]),_0x32b3c5[_0x3201f9(0x1f1)]=_0x9626e8,_0x32b3c5;}}class rt extends c{[_0x6489ad(0x1e4)](){const _0xe852bc=_0x6489ad;return new st(this[_0xe852bc(0x1f9)],this[_0xe852bc(0x1ca)],this[_0xe852bc(0x1dc)],this[_0xe852bc(0x17a)],this['chartId']);}}c[_0x6489ad(0x229)](rt);class ot extends c{constructor(_0x5ea52d,_0x9912ff,_0x575d27,_0x375d2c,_0x162457){const _0x567afe=_0x6489ad;super(_0x5ea52d,_0x9912ff,_0x575d27,_0x375d2c,_0x162457),n(this,'shape'),n(this,_0x567afe(0x211));}[_0x6489ad(0x1be)](_0x1e8461){const _0x3d8d55=_0x6489ad;return this[_0x3d8d55(0x1f6)]=_0x1e8461,this;}[_0x6489ad(0x21e)](_0x5aa927){const _0x233cd3=_0x6489ad;return this[_0x233cd3(0x211)]=_0x5aa927,this;}[_0x6489ad(0x1b6)](){const _0x2a039b=_0x6489ad,_0x487058=super['build']();_0x487058[_0x2a039b(0x221)]=_0x4336d0[_0x2a039b(0x1e9)];const _0x11ab0f=_0x487058[_0x2a039b(0x1f1)]||{};return s(_0x11ab0f,_0x2a039b(0x21a),this['shape']),s(_0x11ab0f,_0x2a039b(0x1ef),this['fill']),_0x487058[_0x2a039b(0x1f1)]=_0x11ab0f,_0x487058;}}class nt extends c{['asRadarChart'](){const _0xc94fca=_0x6489ad;return new ot(this[_0xc94fca(0x1f9)],this[_0xc94fca(0x1ca)],this[_0xc94fca(0x1dc)],this['_injector'],this[_0xc94fca(0x212)]);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
1
+ const _0x30b5c7=_0x1149;(function(_0x169d25,_0x32392f){const _0x40f326=_0x1149,_0x5f0b95=_0x169d25();while(!![]){try{const _0x37dd4c=-parseInt(_0x40f326(0xc2))/0x1*(-parseInt(_0x40f326(0x142))/0x2)+parseInt(_0x40f326(0xf3))/0x3*(parseInt(_0x40f326(0x13d))/0x4)+-parseInt(_0x40f326(0x12a))/0x5*(parseInt(_0x40f326(0xd2))/0x6)+parseInt(_0x40f326(0xd9))/0x7+parseInt(_0x40f326(0xe7))/0x8*(-parseInt(_0x40f326(0x144))/0x9)+-parseInt(_0x40f326(0x118))/0xa*(-parseInt(_0x40f326(0x9e))/0xb)+-parseInt(_0x40f326(0xa3))/0xc;if(_0x37dd4c===_0x32392f)break;else _0x5f0b95['push'](_0x5f0b95['shift']());}catch(_0x4e27f1){_0x5f0b95['push'](_0x5f0b95['shift']());}}}(_0x35dc,0xd3aaf));var R=Object[_0x30b5c7(0xfd)],k=(_0x224a24,_0x405c0a,_0x4f7fca)=>_0x405c0a in _0x224a24?R(_0x224a24,_0x405c0a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f7fca}):_0x224a24[_0x405c0a]=_0x4f7fca,n=(_0x34aa04,_0x37a166,_0x4539dd)=>k(_0x34aa04,typeof _0x37a166!='symbol'?_0x37a166+'':_0x37a166,_0x4539dd);import{ChartThemeService as _0x903292,ChartTypeBits as _0x13b864,LegendPositionEnum as _0x1ab3be,SelectModeEnum as _0x464d62,AxisAlignEnum as _0x2f966d,ChartBorderDashType as _0xf358f5,LinePointShape as _0x501b3b,TitlePositionEnum as _0x2f8204,RadarShape as _0x3496e6}from'@univerjs-pro/engine-chart';import{setProperty as _0x3fb2d4,SheetsChartService as _0x11da32,ChartUpdateSourceCommand as _0x4d4d64,ChartUpdateConfigCommand as _0x124519}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x3939a4}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x1ce1c3,IUniverInstanceService as _0x21ac02,UniverInstanceType as _0x2eca1e,generateRandomId as _0x1733b4,DrawingTypeEnum as _0x435d32}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x209094}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x23578c}from'@univerjs/sheets/facade';import{FBase as _0x4f7e5c,FEnum as _0x6f38f3}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x3c7117}from'@univerjs/engine-formula';import{IRenderManagerService as _0x546ad1}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x3bc488,SheetSkeletonManagerService as _0x7cd39f,convertPositionCellToSheetOverGrid as _0x22e29c}from'@univerjs/sheets-ui';const s=(_0x403cc8,_0x497632,_0x51d27e)=>{_0x51d27e!==void 0x0&&_0x3fb2d4(_0x403cc8,_0x497632,_0x51d27e);},C=(_0x4956e0,_0x100502,_0xdb3f58,_0x4a594d={})=>{const _0x3e3061=_0x30b5c7,_0x5b3649={},_0x445f4b={};if(_0x4a594d[_0x3e3061(0x11e)]){const _0x14b777=_0x4a594d[_0x3e3061(0x11e)];s(_0x5b3649,'titles.title.content',_0x14b777[_0x3e3061(0xb6)]),s(_0x5b3649,_0x3e3061(0x124),_0x14b777['font']),s(_0x5b3649,_0x3e3061(0x143),_0x14b777[_0x3e3061(0xf0)]),s(_0x5b3649,_0x3e3061(0xb2),_0x14b777[_0x3e3061(0x95)]),s(_0x5b3649,_0x3e3061(0x107),_0x14b777[_0x3e3061(0xb7)]),s(_0x5b3649,_0x3e3061(0x138),_0x14b777[_0x3e3061(0xae)]),s(_0x5b3649,_0x3e3061(0xdc),_0x14b777[_0x3e3061(0x102)]),s(_0x5b3649,_0x3e3061(0x128),_0x14b777[_0x3e3061(0xee)]);}if(_0x4a594d['legend']){const _0x26328a=_0x4a594d[_0x3e3061(0x126)];s(_0x5b3649,_0x3e3061(0x103),_0x26328a[_0x3e3061(0xee)]),s(_0x5b3649,_0x3e3061(0xb0),_0x26328a['selectMode']),s(_0x5b3649,_0x3e3061(0x96),_0x26328a[_0x3e3061(0xf0)]),s(_0x5b3649,_0x3e3061(0xa8),_0x26328a[_0x3e3061(0xdd)]),s(_0x5b3649,_0x3e3061(0x94),_0x26328a[_0x3e3061(0xae)]),s(_0x5b3649,_0x3e3061(0xcc),_0x26328a['italic']);}if(_0x4a594d[_0x3e3061(0x120)]){const _0x6367ce=_0x4a594d['pie'];s(_0x5b3649,'pie.doughnutHole',_0x6367ce[_0x3e3061(0xed)]),s(_0x5b3649,_0x3e3061(0xe3),_0x6367ce[_0x3e3061(0x106)]),s(_0x5b3649,_0x3e3061(0xc3),_0x6367ce[_0x3e3061(0xd3)]),s(_0x5b3649,_0x3e3061(0x9a),_0x6367ce[_0x3e3061(0xfc)]),s(_0x5b3649,_0x3e3061(0xd4),_0x6367ce[_0x3e3061(0xfa)]),s(_0x5b3649,_0x3e3061(0xd6),_0x6367ce['showLabelLine']);}if(_0x4a594d[_0x3e3061(0x13f)]){const _0x55b8f1=_0x4a594d[_0x3e3061(0x13f)];s(_0x5b3649,'tooltip.indicatorLabelColor',_0x55b8f1[_0x3e3061(0x110)]),s(_0x5b3649,_0x3e3061(0x116),_0x55b8f1[_0x3e3061(0x117)]),s(_0x5b3649,_0x3e3061(0x10f),_0x55b8f1['indicatorLineColor']),s(_0x5b3649,'tooltip.indicatorLabelTextColor',_0x55b8f1[_0x3e3061(0xe1)]);}if(_0x4a594d[_0x3e3061(0x9c)]&&(s(_0x5b3649,'allSeriesStyle.border',_0x4a594d[_0x3e3061(0x9c)][_0x3e3061(0x12f)]),s(_0x5b3649,'allSeriesStyle.label',_0x4a594d[_0x3e3061(0x9c)][_0x3e3061(0x10e)]),s(_0x5b3649,_0x3e3061(0x100),_0x4a594d[_0x3e3061(0x9c)][_0x3e3061(0xd5)]),s(_0x5b3649,'allSeriesStyle.point',_0x4a594d[_0x3e3061(0x9c)]['point']),s(_0x5b3649,_0x3e3061(0xc8),_0x4a594d[_0x3e3061(0x9c)]['color'])),_0x4a594d[_0x3e3061(0x13e)]&&s(_0x5b3649,_0x3e3061(0x13c),_0x4a594d[_0x3e3061(0x13e)][_0x3e3061(0xa5)]),_0x4a594d[_0x3e3061(0x11d)]&&s(_0x5b3649,'theme',_0x4a594d[_0x3e3061(0x11d)]),_0x4a594d[_0x3e3061(0x12d)]&&s(_0x5b3649,'backgroundColor',_0x4a594d[_0x3e3061(0x12d)]),_0x4a594d[_0x3e3061(0x106)]&&s(_0x5b3649,_0x3e3061(0x106),_0x4a594d['borderColor']),_0x4a594d[_0x3e3061(0xf2)]&&s(_0x5b3649,'gradientFill',_0x4a594d[_0x3e3061(0xf2)]),_0x4a594d[_0x3e3061(0xaa)]&&s(_0x5b3649,'invalidValueType',_0x4a594d[_0x3e3061(0xaa)]),_0x4a594d[_0x3e3061(0xe8)]&&s(_0x5b3649,'radar',_0x4a594d['radar']),_0x4a594d[_0x3e3061(0xfb)]){const _0x28d939=_0x4a594d[_0x3e3061(0xfb)];s(_0x5b3649,'titles.xAxisTitle.content',_0x28d939[_0x3e3061(0xb6)]),s(_0x5b3649,_0x3e3061(0x11c),_0x28d939[_0x3e3061(0xaf)]),s(_0x5b3649,'titles.xAxisTitle.fontSize',_0x28d939[_0x3e3061(0xf0)]),s(_0x5b3649,_0x3e3061(0x141),_0x28d939['fontColor']),s(_0x5b3649,_0x3e3061(0xb9),_0x28d939[_0x3e3061(0xb7)]),s(_0x5b3649,_0x3e3061(0x132),_0x28d939['bold']),s(_0x5b3649,'xAxis.label.axisTitleAlign',_0x28d939[_0x3e3061(0x98)]);}if(_0x4a594d[_0x3e3061(0xc0)]){const _0x152b4d=_0x4a594d['yAxisTitle'];s(_0x5b3649,'titles.yAxisTitle.content',_0x152b4d[_0x3e3061(0xb6)]),s(_0x5b3649,_0x3e3061(0xa4),_0x152b4d[_0x3e3061(0xaf)]),s(_0x5b3649,_0x3e3061(0xcb),_0x152b4d[_0x3e3061(0xf0)]),s(_0x5b3649,'titles.yAxisTitle.color',_0x152b4d[_0x3e3061(0x95)]),s(_0x5b3649,_0x3e3061(0x133),_0x152b4d[_0x3e3061(0xb7)]),s(_0x5b3649,'titles.yAxisTitle.bold',_0x152b4d[_0x3e3061(0xae)]),s(_0x5b3649,'yAxis.label.axisTitleAlign',_0x152b4d[_0x3e3061(0x98)]);}if(_0x4a594d[_0x3e3061(0xe6)]){const _0x2ef091=_0x4a594d[_0x3e3061(0xe6)];s(_0x5b3649,'titles.rightYAxisTitle.content',_0x2ef091['content']),s(_0x5b3649,_0x3e3061(0xc9),_0x2ef091[_0x3e3061(0xaf)]),s(_0x5b3649,'titles.rightYAxisTitle.fontSize',_0x2ef091[_0x3e3061(0xf0)]),s(_0x5b3649,_0x3e3061(0xbd),_0x2ef091[_0x3e3061(0x95)]),s(_0x5b3649,_0x3e3061(0xe5),_0x2ef091[_0x3e3061(0xb7)]),s(_0x5b3649,'titles.rightYAxisTitle.bold',_0x2ef091[_0x3e3061(0xae)]),s(_0x5b3649,_0x3e3061(0x9d),_0x2ef091[_0x3e3061(0x98)]);}_0x4a594d[_0x3e3061(0xac)]&&s(_0x5b3649,_0x3e3061(0xac),_0x4a594d[_0x3e3061(0xac)]),_0x4a594d[_0x3e3061(0xdb)]&&s(_0x5b3649,_0x3e3061(0xdb),_0x4a594d['yAxis']),_0x4a594d[_0x3e3061(0x11a)]&&s(_0x5b3649,_0x3e3061(0xd5),_0x4a594d[_0x3e3061(0x11a)]),_0x4a594d[_0x3e3061(0x108)]&&s(_0x5b3649,'seriesStyleMap',_0x4a594d['seriesStyleMap']);const _0x25430a={'unitId':_0x4956e0,'chartModelId':_0x100502};let _0x1957a6=!0x1;if(_0xdb3f58!==void 0x0&&(_0x25430a[_0x3e3061(0xea)]=_0xdb3f58,_0x1957a6=!0x0),Object[_0x3e3061(0x135)](_0x5b3649)[_0x3e3061(0xf4)]>0x0&&(_0x25430a['style']=_0x5b3649,_0x1957a6=!0x0),Object['keys'](_0x445f4b)[_0x3e3061(0xf4)]>0x0&&(_0x25430a[_0x3e3061(0xa2)]=_0x445f4b,_0x1957a6=!0x0),_0x1957a6)return _0x25430a;};class c extends _0x4f7e5c{constructor(_0x481354,_0x1591cc,_0x4dfacb,_0x4b5a0e,_0x24a44f){const _0xacb910=_0x30b5c7;super(),n(this,_0xacb910(0xa9)),n(this,'_injector'),n(this,_0xacb910(0x119)),n(this,_0xacb910(0xc4)),n(this,'chartId'),n(this,_0xacb910(0xd8)),n(this,_0xacb910(0x109)),n(this,'x'),n(this,'y'),n(this,_0xacb910(0xe0)),n(this,_0xacb910(0xcd)),n(this,_0xacb910(0xea)),n(this,_0xacb910(0xf5)),n(this,_0xacb910(0x13b)),(this[_0xacb910(0x119)]=_0x481354,this[_0xacb910(0xc4)]=_0x1591cc,this[_0xacb910(0xa9)]=_0x4dfacb,this[_0xacb910(0x113)]=_0x4b5a0e,_0x24a44f&&(this['chartId']=_0x24a44f));}[_0x30b5c7(0xa0)](){const _0x16dfc9=_0x30b5c7;return this[_0x16dfc9(0xea)];}['addRange'](_0x47bfb8){const _0x2c3bab=_0x30b5c7;if(typeof _0x47bfb8==_0x2c3bab(0xe2)){const _0x413c8b=_0x3c7117(_0x47bfb8);_0x413c8b[_0x2c3bab(0xc7)]&&(this[_0x2c3bab(0x109)]=_0x413c8b['sheetName']),this['range']=_0x413c8b[_0x2c3bab(0xd8)];}else this[_0x2c3bab(0xd8)]=_0x47bfb8;return this;}['clearRange'](){const _0x3ed393=_0x30b5c7;return this[_0x3ed393(0xd8)]=void 0x0,this[_0x3ed393(0x109)]=void 0x0,this;}['setPosition'](_0x252346,_0x2de9f4,_0x2dca49,_0x48797c){const _0x17e8e5=_0x30b5c7,_0x18a03b=this['_injector'][_0x17e8e5(0x10a)](_0x546ad1)['getRenderById'](this[_0x17e8e5(0x119)]);if(!_0x18a03b)throw new Error(_0x17e8e5(0xeb));const _0x3b366e=_0x18a03b[_0x17e8e5(0xfe)](_0x3bc488),_0xfb8c9b=_0x18a03b[_0x17e8e5(0xfe)](_0x7cd39f),{transform:_0x5a4d10}=_0x22e29c(this[_0x17e8e5(0x119)],this[_0x17e8e5(0xc4)],{'row':_0x252346,'column':_0x2de9f4,'rowOffset':_0x2dca49,'columnOffset':_0x48797c},0x1,0x1,_0x3b366e,_0xfb8c9b),_0x239ef0=_0x5a4d10['top'],_0x524409=_0x5a4d10[_0x17e8e5(0xb4)];return this['x']=_0x524409,this['y']=_0x239ef0,this;}[_0x30b5c7(0x112)](_0xb40f4b,_0x2153c1){return this['x']=_0xb40f4b,this['y']=_0x2153c1,this;}['setChartType'](_0x195f66){const _0x5cbf3f=_0x30b5c7;return this[_0x5cbf3f(0xea)]=_0x195f66,this;}[_0x30b5c7(0x115)](_0x3cd007){const _0x116e15=_0x30b5c7;return this[_0x116e15(0xe0)]=_0x3cd007,this;}[_0x30b5c7(0x11b)](_0x3ebf00){const _0x2a58c1=_0x30b5c7;return this[_0x2a58c1(0xcd)]=_0x3ebf00,this;}['setOptions'](_0x237bbc,_0x5820b1){const _0x5dcfd5=_0x30b5c7;return this[_0x5dcfd5(0xf5)]||(this[_0x5dcfd5(0xf5)]={}),_0x237bbc===''?(this['options']={...this[_0x5dcfd5(0xf5)],..._0x5820b1},this):(_0x3fb2d4(this[_0x5dcfd5(0xf5)],_0x237bbc,_0x5820b1),this);}[_0x30b5c7(0xa7)](_0x334316){const _0x315e9d=_0x30b5c7;return this[_0x315e9d(0x13b)]=_0x334316,this;}['setTheme'](_0xdee13){const _0x4e489b=_0x30b5c7;return this[_0x4e489b(0x11f)](_0x4e489b(0x11d),_0xdee13),this;}[_0x30b5c7(0xf9)](_0x4fe0eb){const _0x39a2bd=_0x30b5c7;var _0x14a45e;const _0x545087=((_0x14a45e=this[_0x39a2bd(0xf5)])==null?void 0x0:_0x14a45e['xAxisTitle'])||{};return _0x545087[_0x39a2bd(0xb6)]=_0x4fe0eb,this[_0x39a2bd(0x11f)]('xAxisTitle',_0x545087),this;}['setYAxisTitle'](_0x34ed3e){const _0x15eef9=_0x30b5c7;var _0x112453;const _0x4b76aa=((_0x112453=this[_0x15eef9(0xf5)])==null?void 0x0:_0x112453['yAxisTitle'])||{};return _0x4b76aa[_0x15eef9(0xb6)]=_0x34ed3e,this[_0x15eef9(0x11f)](_0x15eef9(0xc0),_0x4b76aa),this;}[_0x30b5c7(0x125)](_0x2d923c){const _0x326363=_0x30b5c7;var _0x494518;const _0x1a630c=((_0x494518=this[_0x326363(0xf5)])==null?void 0x0:_0x494518['rightYAxisTitle'])||{};return _0x1a630c[_0x326363(0xb6)]=_0x2d923c,this[_0x326363(0x11f)](_0x326363(0xe6),_0x1a630c),this;}[_0x30b5c7(0x111)](_0x543592){const _0x36b89a=_0x30b5c7;var _0x4d921e;const _0xe853e4=((_0x4d921e=this[_0x36b89a(0xf5)])==null?void 0x0:_0x4d921e[_0x36b89a(0xfb)])||{};return this[_0x36b89a(0x11f)](_0x36b89a(0xfb),{..._0xe853e4,..._0x543592}),this;}['setYAxisTextStyle'](_0x96ee93){const _0x1cab9d=_0x30b5c7;var _0x282622;const _0xbd2010=((_0x282622=this[_0x1cab9d(0xf5)])==null?void 0x0:_0x282622['yAxisTitle'])||{};return this[_0x1cab9d(0x11f)]('yAxisTitle',{..._0xbd2010,..._0x96ee93}),this;}[_0x30b5c7(0x123)](_0x4e0501){const _0x206999=_0x30b5c7;var _0x479ff0;const _0x25235f=((_0x479ff0=this[_0x206999(0xf5)])==null?void 0x0:_0x479ff0[_0x206999(0xe6)])||{};return this['setOptions'](_0x206999(0xe6),{..._0x25235f,..._0x4e0501}),this;}['setInvalidValueStrategy'](_0x2719af){const _0x2d22dd=_0x30b5c7;return this[_0x2d22dd(0x11f)](_0x2d22dd(0xaa),_0x2719af),this;}[_0x30b5c7(0x10b)](_0x2398f7){const _0x172e02=_0x30b5c7;return this[_0x172e02(0x11f)]('axisPointer',_0x2398f7),this;}['setAllSeriesStyle'](_0x2c7814){const _0x49cedf=_0x30b5c7;return this[_0x49cedf(0x11f)](_0x49cedf(0x9c),_0x2c7814),this;}[_0x30b5c7(0xcf)](_0x23d82d,_0x5ec232){const _0x120687=_0x30b5c7;return this[_0x120687(0x11f)](_0x120687(0x108),{[_0x23d82d]:_0x5ec232}),this;}[_0x30b5c7(0xad)](){const _0x2b0f21=_0x30b5c7;return{'unitId':this[_0x2b0f21(0x119)],'subUnitId':this['subUnitId'],'chartId':this['chartId'],'range':this['range'],'sourceSheetName':this[_0x2b0f21(0x109)],'x':this['x'],'y':this['y'],'width':this[_0x2b0f21(0xe0)],'height':this[_0x2b0f21(0xcd)],'chartType':this[_0x2b0f21(0xea)],'options':this[_0x2b0f21(0xf5)],'isRowDirection':this[_0x2b0f21(0x13b)]};}}class P{constructor(_0x1f01eb,_0x594ff3,_0x169f0b,_0x5cb77d){const _0x41a5dd=_0x30b5c7;n(this,_0x41a5dd(0x119)),n(this,_0x41a5dd(0xc4)),n(this,_0x41a5dd(0x136)),n(this,_0x41a5dd(0x113)),(this[_0x41a5dd(0x119)]=_0x1f01eb,this[_0x41a5dd(0xc4)]=_0x594ff3,this[_0x41a5dd(0x136)]=_0x169f0b,this[_0x41a5dd(0x113)]=_0x5cb77d);}[_0x30b5c7(0x13a)](){const _0x46d26c=_0x30b5c7;return this[_0x46d26c(0x136)];}['getRange'](){const _0x4d5a8a=_0x30b5c7,_0x120392=this[_0x4d5a8a(0x113)][_0x4d5a8a(0x10a)](_0x11da32)[_0x4d5a8a(0xec)](this[_0x4d5a8a(0x136)]);if(_0x120392)return _0x120392[_0x4d5a8a(0x12e)][_0x4d5a8a(0xbb)]();}['updateRange'](_0x38e418){const _0x51fb8f=_0x30b5c7;return this[_0x51fb8f(0x113)][_0x51fb8f(0x10a)](_0x1ce1c3)[_0x51fb8f(0xce)](_0x4d4d64['id'],{'unitId':this[_0x51fb8f(0x119)],'chartModelId':this[_0x51fb8f(0x136)],'range':_0x38e418});}[_0x30b5c7(0xd0)](){const _0xc2e739=_0x30b5c7;var _0x2724df;const _0x44fa16=this[_0xc2e739(0x113)][_0xc2e739(0x10a)](_0x11da32)['getChartModel'](this[_0xc2e739(0x136)]);if(_0x44fa16)return(_0x2724df=_0x44fa16['config'])==null?void 0x0:_0x2724df['series'];}[_0x30b5c7(0xa1)](){const _0x2af0d8=_0x30b5c7;var _0x416052;const _0x351ab5=this['_injector']['get'](_0x11da32)['getChartModel'](this['chartId']);if(_0x351ab5)return(_0x416052=_0x351ab5[_0x2af0d8(0x137)])==null?void 0x0:_0x416052[_0x2af0d8(0xd7)];}['modify'](){const _0x50e292=_0x30b5c7,_0x36aa45=this[_0x50e292(0x113)][_0x50e292(0x10a)](_0x21ac02)['getCurrentUnitForType'](_0x2eca1e[_0x50e292(0x105)]);return new c(this[_0x50e292(0x119)],this[_0x50e292(0xc4)],_0x36aa45,this['_injector'],this['chartId']);}}class $ extends _0x23578c{async['insertChart'](_0x11aa8e){const _0x3c5540=_0x30b5c7;var _0x686e7d,_0x492b8c,_0x1f301d;const _0x3b23d5=_0x11aa8e[_0x3c5540(0x119)]||this[_0x3c5540(0x122)]()[_0x3c5540(0xbf)](),_0x208caf=_0x11aa8e['subUnitId']||this[_0x3c5540(0x10c)](),_0x3a2254=_0x11aa8e[_0x3c5540(0x136)]||_0x1733b4(),_0x228356=_0x11aa8e[_0x3c5540(0xea)],_0x3c25ed=_0x11aa8e['range'],_0x36abf5=_0x11aa8e[_0x3c5540(0x109)],_0x53c840={'x':_0x11aa8e['x'],'y':_0x11aa8e['y']},_0x1971d0=_0x11aa8e[_0x3c5540(0xe0)],_0xdae8af=_0x11aa8e[_0x3c5540(0xcd)],_0x237131=(_0x686e7d=_0x11aa8e[_0x3c5540(0xf5)])==null?void 0x0:_0x686e7d[_0x3c5540(0x12d)],_0x46876f=(_0x492b8c=_0x11aa8e[_0x3c5540(0xf5)])==null?void 0x0:_0x492b8c['borderColor'],_0x2f130e=C(_0x3b23d5,_0x3a2254,_0x228356,_0x11aa8e['options']),_0x699be5=(_0x1f301d=_0x11aa8e[_0x3c5540(0x134)])!=null?_0x1f301d:!0x0;if(!_0x3c25ed)throw new Error(_0x3c5540(0xc5));return await this[_0x3c5540(0xf6)][_0x3c5540(0xce)](_0x3939a4['id'],{'unitId':_0x3b23d5,'subUnitId':_0x208caf,'chartId':_0x3a2254,'chartType':_0x228356,'range':_0x3c25ed,'sourceSheetName':_0x36abf5,'position':_0x53c840,'width':_0x1971d0,'height':_0xdae8af,'backgroundColor':_0x237131,'borderColor':_0x46876f,'config':_0x2f130e,'isRowDirection':_0x699be5}),new P(_0x3b23d5,_0x208caf,_0x3a2254,this[_0x3c5540(0x113)]);}[_0x30b5c7(0xda)](_0x4cf3fd){const _0x4e9ffe=_0x30b5c7,{unitId:_0x5b869c,chartId:_0x597640,chartType:_0xbb8771,options:_0x3ef427}=_0x4cf3fd,_0x5b465d=C(_0x5b869c,_0x597640,_0xbb8771,_0x3ef427);this['_commandService'][_0x4e9ffe(0xce)](_0x124519['id'],_0x5b465d);}[_0x30b5c7(0xc1)](_0x4e475d){const _0x3f64b8=_0x30b5c7;if(_0x4e475d)return new c(_0x4e475d[_0x3f64b8(0x119)],_0x4e475d[_0x3f64b8(0xc4)],this[_0x3f64b8(0xa9)],this[_0x3f64b8(0x113)],_0x4e475d[_0x3f64b8(0x136)]);const _0x230d2f=this[_0x3f64b8(0x122)]()[_0x3f64b8(0xbf)](),_0x3e4e31=this[_0x3f64b8(0x10c)]();return new c(_0x230d2f,_0x3e4e31,this['_workbook'],this[_0x3f64b8(0x113)]);}[_0x30b5c7(0xf7)](){const _0x253163=_0x30b5c7,_0x4d10f1=this[_0x253163(0x113)][_0x253163(0x10a)](_0x11da32),_0x5a86fb=this['getWorkbook']()[_0x253163(0xbf)]();return _0x4d10f1['getUnitChartModels'](_0x5a86fb,this[_0x253163(0x10c)]())[_0x253163(0x131)](_0x36d6d2=>new P(_0x5a86fb,this[_0x253163(0x10c)](),_0x36d6d2['id'],this[_0x253163(0x113)]));}[_0x30b5c7(0xb5)](_0x2b898e){const _0x3bb994=_0x30b5c7,_0x5ed9b3=_0x2b898e['unitId'],_0x1aa602=_0x2b898e['subUnitId'],_0x385dc7=_0x2b898e[_0x3bb994(0x136)],_0x1dd50f={'unitId':_0x5ed9b3,'drawings':[{'unitId':_0x5ed9b3,'subUnitId':_0x1aa602,'drawingId':_0x385dc7,'drawingType':_0x435d32[_0x3bb994(0xba)]}]};return this[_0x3bb994(0xf6)][_0x3bb994(0xce)](_0x209094['id'],_0x1dd50f);}[_0x30b5c7(0xab)](_0x2cf04e,_0xd5600){const _0x22e38b=_0x30b5c7;this[_0x22e38b(0x113)][_0x22e38b(0x10a)](_0x903292)['registerTheme'](_0x2cf04e,_0xd5600);}}_0x23578c['extend']($);class tt extends _0x6f38f3{get[_0x30b5c7(0xb3)](){return _0x13b864;}get[_0x30b5c7(0x127)](){return _0x1ab3be;}get[_0x30b5c7(0x114)](){return _0x464d62;}get[_0x30b5c7(0x130)](){return _0x2f966d;}get[_0x30b5c7(0xca)](){return _0xf358f5;}get[_0x30b5c7(0xb1)](){return _0x501b3b;}get['TitlePositionEnum'](){return _0x2f8204;}get[_0x30b5c7(0x10d)](){return _0x3496e6;}}_0x6f38f3[_0x30b5c7(0xbc)](tt);class et extends c{constructor(_0x49972d,_0x1c76e8,_0x25e9a5,_0x1621db,_0xd8e74c){const _0x310bd5=_0x30b5c7;super(_0x49972d,_0x1c76e8,_0x25e9a5,_0x1621db,_0xd8e74c),n(this,_0x310bd5(0xa5)),n(this,_0x310bd5(0xf1)),n(this,_0x310bd5(0x12b)),n(this,_0x310bd5(0xde));}[_0x30b5c7(0xa6)](_0x22fb4d){const _0x87ec0c=_0x30b5c7;return this[_0x87ec0c(0xa5)]=_0x22fb4d,this;}[_0x30b5c7(0xef)](_0x4c1e8b){return this['dataPointShape']=_0x4c1e8b,this;}[_0x30b5c7(0x139)](_0x7e9b01){return this['dataPointColor']=_0x7e9b01,this;}['setDataPointSize'](_0xd72cc){const _0x45221a=_0x30b5c7;return this[_0x45221a(0xde)]=_0xd72cc,this;}[_0x30b5c7(0xad)](){const _0x55b602=_0x30b5c7,_0xe9c3f2=super['build']();_0xe9c3f2['chartType']=_0x13b864[_0x55b602(0xb8)];const _0x575413=_0xe9c3f2[_0x55b602(0xf5)]||{};return s(_0x575413,_0x55b602(0x13c),this[_0x55b602(0xa5)]),s(_0x575413,_0x55b602(0x129),this[_0x55b602(0xf1)]),s(_0x575413,'allSeriesStyle.point.color',this['dataPointColor']),s(_0x575413,'allSeriesStyle.point.size',this[_0x55b602(0xde)]),_0xe9c3f2[_0x55b602(0xf5)]=_0x575413,_0xe9c3f2;}}class it extends c{[_0x30b5c7(0xdf)](){const _0x21c60d=_0x30b5c7;return new et(this['unitId'],this['subUnitId'],this[_0x21c60d(0xa9)],this['_injector'],this['chartId']);}}function _0x1149(_0x18df2c,_0x4e67c8){_0x18df2c=_0x18df2c-0x94;const _0x35dc6f=_0x35dc();let _0x1149e6=_0x35dc6f[_0x18df2c];return _0x1149e6;}c['extend'](it);class st extends c{constructor(_0x225f90,_0x5b3be2,_0x1e7a97,_0x7ce3f2,_0x3c08ba){const _0x240659=_0x30b5c7;super(_0x225f90,_0x5b3be2,_0x1e7a97,_0x7ce3f2,_0x3c08ba),n(this,_0x240659(0xed)),n(this,_0x240659(0x106)),n(this,_0x240659(0xd3)),n(this,_0x240659(0xfc)),n(this,_0x240659(0xfa)),n(this,'showLabelLine');}['setDoughnutHole'](_0x48e0fb){const _0xfebb1c=_0x30b5c7;return this[_0xfebb1c(0xed)]=_0x48e0fb,this;}[_0x30b5c7(0x9f)](_0x4643d5){const _0x4f34c8=_0x30b5c7;return this[_0x4f34c8(0x106)]=_0x4643d5,this;}[_0x30b5c7(0xf8)](_0x2874cd){return this['hasPaddingAngle']=_0x2874cd,this;}[_0x30b5c7(0xff)](_0xa985b9){return this['isHalfPie']=_0xa985b9,this;}[_0x30b5c7(0x99)](_0x300ae8){return this['rosePie']=_0x300ae8,this;}[_0x30b5c7(0x121)](_0x2607e6){const _0x44b48b=_0x30b5c7;return this[_0x44b48b(0x97)]=_0x2607e6,this;}[_0x30b5c7(0xad)](){const _0x811a99=_0x30b5c7,_0x4fedf9=super['build']();_0x4fedf9['chartType']=_0x13b864[_0x811a99(0x12c)];const _0x119514=_0x4fedf9[_0x811a99(0xf5)]||{};return s(_0x119514,_0x811a99(0x140),this[_0x811a99(0xed)]),s(_0x119514,_0x811a99(0xe3),this['borderColor']),s(_0x119514,_0x811a99(0xc3),this[_0x811a99(0xd3)]),s(_0x119514,_0x811a99(0x9a),this[_0x811a99(0xfc)]),s(_0x119514,_0x811a99(0xd4),this['rosePie']),s(_0x119514,_0x811a99(0xd6),this[_0x811a99(0x97)]),_0x4fedf9[_0x811a99(0xf5)]=_0x119514,_0x4fedf9;}}function _0x35dc(){const _0x17357e=['legend.label.color','_workbook','invalidValueType','registerChartTheme','xAxis','build','bold','font','legend.selectMode','LinePointShape','titles.title.color','ChartType','left','removeChart','content','fontStyle','Line','titles.xAxisTitle.family','DRAWING_CHART','getRangeInfo','extend','titles.rightYAxisTitle.color','Radar','getUnitId','yAxisTitle','newChart','127obFbsO','pie.hasPaddingAngle','subUnitId','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','fill','sheetName','allSeriesStyle.color','titles.rightYAxisTitle.font','ChartBorderDashType','titles.yAxisTitle.fontSize','legend.label.italic','height','executeCommand','setSeriesStyle','getSeriesData','shape','6kOpEnz','hasPaddingAngle','pie.rosePie','rightYAxis','pie.showLabelLine','category','range','3220651zAyOHZ','updateChart','yAxis','titles.title.align','color','dataPointSize','asLineChart','width','indicatorLabelTextColor','string','pie.borderColor','asPieChart','titles.rightYAxisTitle.family','rightYAxisTitle','814784SqMYwA','radar','radar.shape','chartType','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','getChartModel','doughnutHole','position','setDataPointShape','fontSize','dataPointShape','gradientFill','174kCDqBR','length','options','_commandService','getCharts','setHasPaddingAngle','setXAxisTitle','rosePie','xAxisTitle','isHalfPie','defineProperty','with','setIsHalfPie','allSeriesStyle.rightYAxis','setFill','titleAlignment','legend.position','asRadarChart','UNIVER_SHEET','borderColor','titles.title.family','seriesStyleMap','sourceSheetName','get','setAxisPointerStyle','getSheetId','RadarShape','label','tooltip.indicatorLineColor','indicatorLabelColor','setXAxisTextStyle','setAbsolutePosition','_injector','SelectModeEnum','setWidth','tooltip.indicatorLineType','indicatorLineType','45550BLVPtg','unitId','yRightAxis','setHeight','titles.xAxisTitle.font','theme','title','setOptions','pie','setShowLabelLine','getWorkbook','setRightYAxisTextStyle','titles.title.font','setRightYAxisTitle','legend','LegendPositionEnum','titles.titlePosition','allSeriesStyle.point.shape','2522895pTJaZh','dataPointColor','Pie','backgroundColor','dataSource','border','AxisAlignEnum','map','titles.xAxisTitle.bold','titles.yAxisTitle.family','isRowDirection','keys','chartId','config','titles.title.bold','setDataPointColor','getChartId','transposeRowsAndColumns','area.lineStyle','17796JkOOPx','area','axisPointer','pie.doughnutHole','titles.xAxisTitle.color','19808uZvUKz','titles.title.fontSize','36uxtRzh','legend.label.bold','fontColor','legend.label.fontSize','showLabelLine','axisAlignment','setRosePie','pie.isHalfPie','radar.fill','allSeriesStyle','rightYAxis.label.axisTitleAlign','2288SpwqQZ','setBorderColor','getChartType','getCategoryData','context','13733052OTFhsV','titles.yAxisTitle.font','lineStyle','setLineStyle','setTransposeRowsAndColumns'];_0x35dc=function(){return _0x17357e;};return _0x35dc();}class rt extends c{[_0x30b5c7(0xe4)](){const _0x19b7c5=_0x30b5c7;return new st(this[_0x19b7c5(0x119)],this[_0x19b7c5(0xc4)],this[_0x19b7c5(0xa9)],this['_injector'],this[_0x19b7c5(0x136)]);}}c[_0x30b5c7(0xbc)](rt);class ot extends c{constructor(_0x4cbf50,_0x55efd5,_0x1d2099,_0x1e2c5f,_0x4832e6){const _0x396d86=_0x30b5c7;super(_0x4cbf50,_0x55efd5,_0x1d2099,_0x1e2c5f,_0x4832e6),n(this,_0x396d86(0xd1)),n(this,_0x396d86(0xc6));}['setShape'](_0x5ef9be){const _0x2a08e2=_0x30b5c7;return this[_0x2a08e2(0xd1)]=_0x5ef9be,this;}[_0x30b5c7(0x101)](_0x3a308a){const _0x1c1859=_0x30b5c7;return this[_0x1c1859(0xc6)]=_0x3a308a,this;}[_0x30b5c7(0xad)](){const _0x3b8a4d=_0x30b5c7,_0x1feb5e=super[_0x3b8a4d(0xad)]();_0x1feb5e['chartType']=_0x13b864[_0x3b8a4d(0xbe)];const _0x48f18d=_0x1feb5e[_0x3b8a4d(0xf5)]||{};return s(_0x48f18d,_0x3b8a4d(0xe9),this['shape']),s(_0x48f18d,_0x3b8a4d(0x9b),this['fill']),_0x1feb5e[_0x3b8a4d(0xf5)]=_0x48f18d,_0x1feb5e;}}class nt extends c{[_0x30b5c7(0x104)](){const _0x94980d=_0x30b5c7;return new ot(this[_0x94980d(0x119)],this[_0x94980d(0xc4)],this[_0x94980d(0xa9)],this['_injector'],this[_0x94980d(0x136)]);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};