@univerjs-pro/sheets-chart-ui 0.15.2 → 0.15.3

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 (54) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/services/chart-render.service.d.ts +2 -1
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +15 -15
@@ -1 +1 @@
1
- function _0x2bd1(){const _0x5cd73a=['組合圖','R平方','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','長條圖系列','負值圖例文本','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','顯示R平方','最大值','標籤位置','圖表類型','(空)','數據點樣式','指示值','重複詞雲標籤','負數類型','圓角矩形','百分比','空心正方形','刪除圖表','866994WSWXBv','堆疊面積圖','節點距離','主刻度線','趨勢線類型','標籤旋轉','小數位數','圖表樣式','指示線','中位數','空心圓形','設置圖表','視覺映射範圍','折線圖','更多設置','10cbfeNm','用直線連接數據點','請先添加系列開始數據可視化','負值樣式','顯示公式','2973720lHPqYk','所有系列','{0}\x20透明度','多項式','百分比堆疊','{0}\x20粗細','398171wAZhsA','空心針形','設置標籤格式','字段設置','垂直軸','正值樣式','移動平均周期','数值后缀','常規格式不包含任何特定的數字格式。','{0}\x20格式','日期格式將日期和時間系列數值顯示為日期值。','圖表數據源必須包含多於1列和1欄。','指示線顏色','数值比例','氣泡圖至少需要2欄,X軸、Y軸。','副標題','線類型','股票圖','空心三角形','插入圖表','顯示標籤線','隱藏圖表面板','日期類型','網格線和刻度線','環形圖','切換列或欄','軸選項','圓環孔','右Y軸標題','標題對齊','使用日期軸','指示標籤','Y軸標題','圖表和軸標題','圖例選擇模式','堆疊方式','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','類別\x20{0}','右對齊','最小值','扇形間距','標題格式','數據點','背景顏色','百分比堆疊條形圖','主標題','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','力導向','{0}\x20形狀','顯示標籤','趨勢線名稱','1494832KUBZuO','左對齊','雷達圖','熱力圖','網格線','9HhDyFJ','第一四分位數','使用\x20{0}\x20作為類別標籤','節點形狀','使用右軸','開啟選中淡入特效','力導向選項','添加系列','1743DUZdHk','打開圖表面板','標籤文本','氣泡大小','逆序軸','趨勢線','排列圖','桑基圖不能包含循環數據','{0}\x20大小','數據標籤','904852wdBEOk','主網格線','關係圖','趨勢線顏色','893438WONxMf','顯示軸線','空心箭頭','空心矩形','正值圖例文本','第\x20{0}\x20項','箱型圖','正方形','右垂直軸','顯示空單元格為','{0}\x20顏色','漏斗圖','堆疊條形圖','X軸標題','水平軸','貨幣類型','三角形','空心圓角矩形','使用絕對值','第三四分位數','千分位符','瀑布圖','718ZPOuKp','系列\x20{0}'];_0x2bd1=function(){return _0x5cd73a;};return _0x2bd1();}const _0x4b5278=_0x451f;function _0x451f(_0x2e4984,_0x1bcca8){_0x2e4984=_0x2e4984-0x88;const _0x2bd181=_0x2bd1();let _0x451fb6=_0x2bd181[_0x2e4984];return _0x451fb6;}(function(_0x5eee3e,_0x2ed46e){const _0x4672b8=_0x451f,_0x295194=_0x5eee3e();while(!![]){try{const _0x29031a=-parseInt(_0x4672b8(0x106))/0x1+parseInt(_0x4672b8(0xd7))/0x2*(-parseInt(_0x4672b8(0xb3))/0x3)+parseInt(_0x4672b8(0xbd))/0x4*(parseInt(_0x4672b8(0xfb))/0x5)+parseInt(_0x4672b8(0xec))/0x6+-parseInt(_0x4672b8(0xc1))/0x7+-parseInt(_0x4672b8(0xa6))/0x8*(-parseInt(_0x4672b8(0xab))/0x9)+parseInt(_0x4672b8(0x100))/0xa;if(_0x29031a===_0x2ed46e)break;else _0x295194['push'](_0x295194['shift']());}catch(_0x188fe8){_0x295194['push'](_0x295194['shift']());}}}(_0x2bd1,0x54a8f));const e={'chart':{'insertChart':_0x4b5278(0x119),'editChart':'編輯圖表','openChartPanel':_0x4b5278(0xb4),'deleteChart':_0x4b5278(0xeb),'hideChartPanel':_0x4b5278(0x88),'setupChart':_0x4b5278(0xf7),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x4b5278(0xe2),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x4b5278(0x101),'series':'系列','addSeries':_0x4b5278(0xb2),'moreSettings':_0x4b5278(0xfa),'min':_0x4b5278(0x9a),'max':_0x4b5278(0xe0),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x4b5278(0xfc)},'blank':_0x4b5278(0xe3),'seriesBlock':{'format':'格式','dataPointStyle':_0x4b5278(0xe4)},'backgroundColor':_0x4b5278(0x9e),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x4b5278(0xa0),'subTitle':_0x4b5278(0x115),'xAxisTitle':_0x4b5278(0xce),'yAxisTitle':_0x4b5278(0x93),'rightYAxisTitle':_0x4b5278(0x8f),'titleFormat':_0x4b5278(0x9c),'titleText':'標題文本','titlePosition':'標題位置','titleAlign':_0x4b5278(0x90)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x4b5278(0x8c),'useAsCategoryLabels':_0x4b5278(0xad),'showEmptyCellsAs':_0x4b5278(0xca)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x4b5278(0xa7),'center':'居中','right':_0x4b5278(0x99)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x4b5278(0xf3),'chartAndAxisTitles':_0x4b5278(0x94),'legend':'圖例','legendSelectMode':_0x4b5278(0x95),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x4b5278(0x8d),'horizontalAxis':_0x4b5278(0xcf),'verticalAxis':_0x4b5278(0x10a),'rightVerticalAxis':_0x4b5278(0xc9),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x4b5278(0xaf)},'position':'位置','dataLabels':_0x4b5278(0xbc),'gridlinesAndTicks':_0x4b5278(0x8a),'indicatorLine':_0x4b5278(0xf4),'indicatorLineType':'指示線類型','indicatorLineColor':_0x4b5278(0x112),'indicatorLabel':_0x4b5278(0x92),'indicatorValue':_0x4b5278(0xe5),'shape':{'polygon':'多邊形','circle':'圓形','square':_0x4b5278(0xc8),'triangle':_0x4b5278(0xd1),'diamond':'菱形','rect':'矩形','roundRect':_0x4b5278(0xe8),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x4b5278(0xf6),'emptySquare':_0x4b5278(0xea),'emptyTriangle':_0x4b5278(0x118),'emptyDiamond':'空心菱形','emptyRect':_0x4b5278(0xc4),'emptyRoundRect':_0x4b5278(0xd2),'emptyPin':_0x4b5278(0x107),'emptyArrow':_0x4b5278(0xc3)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x4b5278(0x102),'withColor':_0x4b5278(0xcb),'withThickness':_0x4b5278(0x105),'withType':'{0}\x20類型','withSize':_0x4b5278(0xbb),'withShape':_0x4b5278(0xa3),'withFormat':_0x4b5278(0x10f),'dataPoint':_0x4b5278(0x9d),'dataNodeShape':_0x4b5278(0xae),'addDataPoint':'添加數據點','point':'數據點','percentage':_0x4b5278(0xe9),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x4b5278(0x104)},'lineDashType':_0x4b5278(0x116),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x4b5278(0xbe),'text':_0x4b5278(0xaa)},'ticks':{'majorTick':_0x4b5278(0xef),'tickPosition':'刻度線位置','tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x4b5278(0xc6),'seriesDefaultName':_0x4b5278(0xd8),'categoryDefaultName':_0x4b5278(0x98),'styleEditPanel':{'showLabels':_0x4b5278(0xa4),'showDataLabels':'顯示數據標籤','padAngle':_0x4b5278(0x9b),'halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':_0x4b5278(0x113),'pieValSuffix':_0x4b5278(0x10d),'pieDigitalFixed':'小數位數','showLabelLine':_0x4b5278(0x11a),'reverseAxisOrder':_0x4b5278(0xb7),'showAxisLine':_0x4b5278(0xc2),'labelPosition':_0x4b5278(0xe1),'labelText':_0x4b5278(0xb5),'repeatWordCould':_0x4b5278(0xe6),'gap':'間隔','useAbsValue':_0x4b5278(0xd3),'labelRotate':_0x4b5278(0xf1),'wordCloudShape':'詞雲形狀','useDateAxis':_0x4b5278(0x91),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x4b5278(0x8e),'msg':{'invalidSource':_0x4b5278(0x111),'emptyTips':_0x4b5278(0xfd),'sankeyCircularTips':_0x4b5278(0xba)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x4b5278(0xb8),'displayName':_0x4b5278(0xa5),'addTrendLine':'添加趨勢線','trendlineType':_0x4b5278(0xf0),'trendlineName':'趨勢線名稱','trendlineColor':_0x4b5278(0xc0),'trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x4b5278(0x103),'order':'多項式階數','period':_0x4b5278(0x10c),'showFormula':_0x4b5278(0xff),'showR2':_0x4b5278(0xdf),'formula':'公式','r2':_0x4b5278(0xda)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x4b5278(0xb6),'label':'氣泡標籤','emptyTips':_0x4b5278(0x114)},'relation':{'title':_0x4b5278(0xbf),'auto':'自動','circular':'環形','force':_0x4b5278(0xa2),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':'佈局類型','forceOptions':_0x4b5278(0xb1),'repulsion':'斥力','gravity':'引力','edgeLength':_0x4b5278(0xee),'rotateLabel':'旋轉標籤','emphasis':_0x4b5278(0xb0),'emptyTips':_0x4b5278(0xde)},'waterfall':{'stackType':_0x4b5278(0x96),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x4b5278(0x10b),'negativeStyle':_0x4b5278(0xfe),'subtotalStyle':'小計樣式','positiveLegendText':_0x4b5278(0xc5),'negativeLegendText':_0x4b5278(0xdd),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':'累積占比','lineSeries':'累積占比系列','barSeries':_0x4b5278(0xdc)},'visualMapScope':_0x4b5278(0xf8),'boxplot':{'min':_0x4b5278(0x9a),'q1':_0x4b5278(0xac),'median':_0x4b5278(0xf5),'q3':_0x4b5278(0xd4),'max':'最大值'}},'chartTypes':{'line':_0x4b5278(0xf9),'area':'面積圖','areaStacked':_0x4b5278(0xed),'areaPercentStacked':'百分比堆疊面積圖','column':'柱狀圖','bar':'條形圖','barStacked':_0x4b5278(0xcd),'barPercentStacked':_0x4b5278(0x9f),'pie':'餅圖','donut':_0x4b5278(0x8b),'scatter':'散點圖','radar':_0x4b5278(0xa8),'bubble':'氣泡圖','stock':_0x4b5278(0x117),'combination':_0x4b5278(0xd9),'wordCloud':'詞雲圖','funnel':_0x4b5278(0xcc),'relation':_0x4b5278(0xbf),'waterfall':_0x4b5278(0xd6),'pareto':_0x4b5278(0xb9),'sankey':'桑基圖','heatmap':_0x4b5278(0xa9),'boxplot':_0x4b5278(0xc7)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x4b5278(0xd5),'fieldSetting':_0x4b5278(0x109),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x4b5278(0x10e),'accountingDesc':_0x4b5278(0xdb),'currencyDesc':_0x4b5278(0xa1),'dateDesc':_0x4b5278(0x110),'thousandthPercentileDesc':_0x4b5278(0x97),'decimalPlaces':_0x4b5278(0xf2),'currencyTypes':_0x4b5278(0xd0),'negativeNumberTypes':_0x4b5278(0xe7),'dateTypes':_0x4b5278(0x89)},'setFormat':_0x4b5278(0x108)}};export{e as default};
1
+ const _0x5e65a3=_0x3cd8;function _0x3cd8(_0x3be4b6,_0x198b50){_0x3be4b6=_0x3be4b6-0xb4;const _0x2ed7d5=_0x2ed7();let _0x3cd833=_0x2ed7d5[_0x3be4b6];return _0x3cd833;}(function(_0x1b1160,_0x2d0945){const _0x4219bd=_0x3cd8,_0x47fc06=_0x1b1160();while(!![]){try{const _0xbde268=-parseInt(_0x4219bd(0xdb))/0x1+parseInt(_0x4219bd(0xcd))/0x2+-parseInt(_0x4219bd(0xdd))/0x3*(-parseInt(_0x4219bd(0xd1))/0x4)+parseInt(_0x4219bd(0xb6))/0x5+-parseInt(_0x4219bd(0x129))/0x6*(parseInt(_0x4219bd(0xeb))/0x7)+-parseInt(_0x4219bd(0x107))/0x8+-parseInt(_0x4219bd(0x141))/0x9;if(_0xbde268===_0x2d0945)break;else _0x47fc06['push'](_0x47fc06['shift']());}catch(_0x2e629f){_0x47fc06['push'](_0x47fc06['shift']());}}}(_0x2ed7,0xb704f));const e={'chart':{'insertChart':_0x5e65a3(0x111),'editChart':_0x5e65a3(0xc0),'openChartPanel':_0x5e65a3(0xc7),'deleteChart':_0x5e65a3(0xdc),'hideChartPanel':_0x5e65a3(0x139),'setupChart':'設置圖表','customChart':_0x5e65a3(0xe7),'default':'默認','reset':'重置','chartType':_0x5e65a3(0x12f),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x5e65a3(0x137),'series':'系列','addSeries':_0x5e65a3(0x11a),'moreSettings':_0x5e65a3(0x134),'min':_0x5e65a3(0xc4),'max':_0x5e65a3(0xd0),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x5e65a3(0xde)},'blank':_0x5e65a3(0xf5),'seriesBlock':{'format':'格式','dataPointStyle':_0x5e65a3(0xea)},'backgroundColor':'背景顏色','chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x5e65a3(0x144),'subTitle':_0x5e65a3(0x101),'xAxisTitle':_0x5e65a3(0x117),'yAxisTitle':_0x5e65a3(0xed),'rightYAxisTitle':_0x5e65a3(0xe4),'titleFormat':_0x5e65a3(0xd8),'titleText':_0x5e65a3(0xbc),'titlePosition':_0x5e65a3(0x104),'titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x5e65a3(0xc8),'settingsLabels':{'switchToRowOrColumn':_0x5e65a3(0xce),'useAsCategoryLabels':_0x5e65a3(0xee),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x5e65a3(0xc5),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x5e65a3(0xf1),'chartAndAxisTitles':_0x5e65a3(0x12b),'legend':'圖例','legendSelectMode':_0x5e65a3(0xd7),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x5e65a3(0xfb),'horizontalAxis':'水平軸','verticalAxis':'垂直軸','rightVerticalAxis':_0x5e65a3(0x11b),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x5e65a3(0x102)},'position':'位置','dataLabels':_0x5e65a3(0x10d),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x5e65a3(0xbb),'indicatorLineType':_0x5e65a3(0xbd),'indicatorLineColor':'指示線顏色','indicatorLabel':'指示標籤','indicatorValue':'指示值','shape':{'polygon':_0x5e65a3(0x135),'circle':'圓形','square':_0x5e65a3(0xfa),'triangle':_0x5e65a3(0xd5),'diamond':'菱形','rect':'矩形','roundRect':_0x5e65a3(0xcc),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x5e65a3(0xcb),'emptySquare':_0x5e65a3(0xff),'emptyTriangle':_0x5e65a3(0x136),'emptyDiamond':'空心菱形','emptyRect':_0x5e65a3(0x12c),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x5e65a3(0x108),'emptyArrow':_0x5e65a3(0xe2)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x5e65a3(0x13f),'withColor':_0x5e65a3(0x13e),'withThickness':_0x5e65a3(0xe9),'withType':'{0}\x20類型','withSize':_0x5e65a3(0xb9),'withShape':'{0}\x20形狀','withFormat':_0x5e65a3(0xba),'dataPoint':_0x5e65a3(0xd6),'dataNodeShape':_0x5e65a3(0x126),'addDataPoint':_0x5e65a3(0xbe),'point':_0x5e65a3(0xd6),'percentage':_0x5e65a3(0xfc),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x5e65a3(0x131)},'lineDashType':_0x5e65a3(0x133),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x5e65a3(0xc9),'text':'網格線'},'ticks':{'majorTick':_0x5e65a3(0x127),'tickPosition':_0x5e65a3(0x13d),'tickLength':_0x5e65a3(0x128)},'none':'無','theIndexItem':_0x5e65a3(0x122),'seriesDefaultName':_0x5e65a3(0x113),'categoryDefaultName':_0x5e65a3(0x100),'styleEditPanel':{'showLabels':_0x5e65a3(0xe1),'showDataLabels':_0x5e65a3(0x11c),'padAngle':_0x5e65a3(0x130),'halfPie':'半餅','rosePie':_0x5e65a3(0xfe),'pieValScale':'数值比例','pieValSuffix':_0x5e65a3(0xc6),'pieDigitalFixed':'小數位數','showLabelLine':'顯示標籤線','reverseAxisOrder':'逆序軸','showAxisLine':_0x5e65a3(0xcf),'labelPosition':_0x5e65a3(0x109),'labelText':'標籤文本','repeatWordCould':_0x5e65a3(0xec),'gap':'間隔','useAbsValue':_0x5e65a3(0xf0),'labelRotate':_0x5e65a3(0xf3),'wordCloudShape':'詞雲形狀','useDateAxis':_0x5e65a3(0xf8),'dateAxisTips':_0x5e65a3(0x10e)},'radar':{'fill':'填充'},'doughnutHole':_0x5e65a3(0xfd),'msg':{'invalidSource':_0x5e65a3(0xd9),'emptyTips':_0x5e65a3(0xd2),'sankeyCircularTips':_0x5e65a3(0xbf)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x5e65a3(0xf4),'addTrendLine':'添加趨勢線','trendlineType':'趨勢線類型','trendlineName':_0x5e65a3(0xf4),'trendlineColor':_0x5e65a3(0x10a),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x5e65a3(0xda),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x5e65a3(0x147),'poly':_0x5e65a3(0x103),'order':_0x5e65a3(0x11f),'period':_0x5e65a3(0x120),'showFormula':_0x5e65a3(0xf9),'showR2':_0x5e65a3(0xc3),'formula':'公式','r2':_0x5e65a3(0x119)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x5e65a3(0xc2),'label':'氣泡標籤','emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x5e65a3(0x132),'useValueAsSymbolSize':_0x5e65a3(0x11d),'layoutType':_0x5e65a3(0x13a),'forceOptions':_0x5e65a3(0x121),'repulsion':'斥力','gravity':'引力','edgeLength':_0x5e65a3(0xe8),'rotateLabel':_0x5e65a3(0x145),'emphasis':_0x5e65a3(0x13c),'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'waterfall':{'stackType':_0x5e65a3(0xb8),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x5e65a3(0xb4),'positiveStyle':_0x5e65a3(0x10c),'negativeStyle':_0x5e65a3(0x12e),'subtotalStyle':_0x5e65a3(0xef),'positiveLegendText':_0x5e65a3(0x142),'negativeLegendText':_0x5e65a3(0x110),'subtotalLegendText':_0x5e65a3(0x114)},'pareto':{'lineName':_0x5e65a3(0xe0),'lineSeries':_0x5e65a3(0x115),'barSeries':_0x5e65a3(0xc1)},'visualMapScope':_0x5e65a3(0x106),'boxplot':{'min':_0x5e65a3(0xc4),'q1':_0x5e65a3(0x10b),'median':_0x5e65a3(0x138),'q3':_0x5e65a3(0x125),'max':_0x5e65a3(0xd0)}},'chartTypes':{'line':_0x5e65a3(0xca),'area':'面積圖','areaStacked':_0x5e65a3(0x13b),'areaPercentStacked':_0x5e65a3(0x140),'column':'柱狀圖','bar':_0x5e65a3(0x12a),'barStacked':_0x5e65a3(0xdf),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x5e65a3(0xb7),'scatter':_0x5e65a3(0xf7),'radar':_0x5e65a3(0xd4),'bubble':_0x5e65a3(0x11e),'stock':_0x5e65a3(0x118),'combination':_0x5e65a3(0x146),'wordCloud':'詞雲圖','funnel':_0x5e65a3(0xb5),'relation':'關係圖','waterfall':_0x5e65a3(0x124),'pareto':'排列圖','sankey':_0x5e65a3(0x123),'heatmap':_0x5e65a3(0xf6),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x5e65a3(0x112),'fieldSetting':_0x5e65a3(0xe3),'formatTypes':_0x5e65a3(0xd3),'confirm':'確定','cancel':'取消','generalDesc':_0x5e65a3(0xe5),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x5e65a3(0x116),'dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x5e65a3(0x12d),'decimalPlaces':_0x5e65a3(0xe6),'currencyTypes':_0x5e65a3(0x105),'negativeNumberTypes':_0x5e65a3(0xf2),'dateTypes':_0x5e65a3(0x10f)},'setFormat':_0x5e65a3(0x143)}};function _0x2ed7(){const _0x2a8455=['千分位符','系列\x20{0}','小計圖例文本','累積占比系列','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','X軸標題','股票圖','R平方','添加系列','右垂直軸','顯示數據標籤','使用值作為節點大小','氣泡圖','多項式階數','移動平均周期','力導向選項','第\x20{0}\x20項','桑基圖','瀑布圖','第三四分位數','節點形狀','主刻度線','刻度線長度','176184EuApRQ','條形圖','圖表和軸標題','空心矩形','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','負值樣式','圖表類型','扇形間距','百分比堆疊','力導向','線類型','更多設置','多邊形','空心三角形','所有系列','中位數','隱藏圖表面板','佈局類型','堆疊面積圖','開啟選中淡入特效','刻度線位置','{0}\x20顏色','{0}\x20透明度','百分比堆疊面積圖','1809630RiApyT','正值圖例文本','設置標籤格式','主標題','旋轉標籤','組合圖','移動平均','顯示小計','漏斗圖','7155085DGWltj','環形圖','堆疊方式','{0}\x20大小','{0}\x20格式','指示線','標題文本','指示線類型','添加數據點','桑基圖不能包含循環數據','編輯圖表','長條圖系列','氣泡大小','顯示R平方','最小值','左對齊','数值后缀','打開圖表面板','漸變填充','主網格線','折線圖','空心圓形','圓角矩形','1397520nTClaF','切換列或欄','顯示軸線','最大值','392WfGyjH','請先添加系列開始數據可視化','格式類型','雷達圖','三角形','數據點','圖例選擇模式','標題格式','圖表數據源必須包含多於1列和1欄。','趨勢線線類型','977233DiYFDn','刪除圖表','3489JHUAOZ','用直線連接數據點','堆疊條形圖','累積占比','顯示標籤','空心箭頭','字段設置','右Y軸標題','常規格式不包含任何特定的數字格式。','小數位數','自定義圖表','節點距離','{0}\x20粗細','數據點樣式','63LDXBEX','重複詞雲標籤','Y軸標題','使用\x20{0}\x20作為類別標籤','小計樣式','使用絕對值','圖表樣式','負數類型','標籤旋轉','趨勢線名稱','(空)','熱力圖','散點圖','使用日期軸','顯示公式','正方形','軸選項','百分比','圓環孔','玫瑰圖','空心正方形','類別\x20{0}','副標題','使用右軸','多項式','標題位置','貨幣類型','視覺映射範圍','412200yrOjCi','空心針形','標籤位置','趨勢線顏色','第一四分位數','正值樣式','數據標籤','日期軸僅在數據全部為日期格式時可用','日期類型','負值圖例文本','插入圖表'];_0x2ed7=function(){return _0x2a8455;};return _0x2ed7();}export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x14c989=_0x1714;(function(_0x13d764,_0x16d041){const _0x3ed275=_0x1714,_0x345338=_0x13d764();while(!![]){try{const _0x2a2c3a=-parseInt(_0x3ed275(0x1e7))/0x1+parseInt(_0x3ed275(0x1a3))/0x2+parseInt(_0x3ed275(0x192))/0x3+parseInt(_0x3ed275(0x191))/0x4*(parseInt(_0x3ed275(0x1f2))/0x5)+parseInt(_0x3ed275(0x194))/0x6+-parseInt(_0x3ed275(0x1bf))/0x7+-parseInt(_0x3ed275(0x1b2))/0x8;if(_0x2a2c3a===_0x16d041)break;else _0x345338['push'](_0x345338['shift']());}catch(_0x4b6259){_0x345338['push'](_0x345338['shift']());}}}(_0x14fa,0x4fcb7));var R=Object[_0x14c989(0x179)],k=(_0x124c5b,_0x52a3f7,_0x2b60e1)=>_0x52a3f7 in _0x124c5b?R(_0x124c5b,_0x52a3f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b60e1}):_0x124c5b[_0x52a3f7]=_0x2b60e1,n=(_0x5348c4,_0x17770d,_0x574003)=>k(_0x5348c4,typeof _0x17770d!=_0x14c989(0x1ec)?_0x17770d+'':_0x17770d,_0x574003);import{ChartThemeService as _0x1f6d83,ChartTypeBits as _0x5e78e8,LegendPositionEnum as _0x4b64cd,SelectModeEnum as _0x3b6b6a,AxisAlignEnum as _0x42a4c5,ChartBorderDashType as _0x20fb03,LinePointShape as _0x8ea241,TitlePositionEnum as _0x385552,RadarShape as _0xefb375}from'@univerjs-pro/engine-chart';import{setProperty as _0x2bf7bf,SheetsChartService as _0x1e7aea,ChartUpdateSourceCommand as _0x25b274,ChartUpdateConfigCommand as _0x6581f3}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0xc6740b}from'@univerjs-pro/sheets-chart-ui';function _0x1714(_0x50b585,_0x316007){_0x50b585=_0x50b585-0x13c;const _0x14fa22=_0x14fa();let _0x1714f6=_0x14fa22[_0x50b585];return _0x1714f6;}import{ICommandService as _0x245d9a,IUniverInstanceService as _0x480d2b,UniverInstanceType as _0xef67ad,generateRandomId as _0x4749a5,DrawingTypeEnum as _0x4f9c4b}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x780251}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0xa5e49f}from'@univerjs/sheets/facade';import{FBase as _0x42eb17,FEnum as _0x5c169c}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x5e7cef}from'@univerjs/engine-formula';import{IRenderManagerService as _0x16eead}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x40f199,SheetSkeletonManagerService as _0x5914a8,convertPositionCellToSheetOverGrid as _0x4078dc}from'@univerjs/sheets-ui';const s=(_0x4cbcb4,_0x31bc07,_0x3dafdc)=>{_0x3dafdc!==void 0x0&&_0x2bf7bf(_0x4cbcb4,_0x31bc07,_0x3dafdc);},C=(_0x5d93b3,_0x4f9aab,_0x1be72f,_0x14fc3a={})=>{const _0x2fca31=_0x14c989,_0x5cba3a={},_0x17bb52={};if(_0x14fc3a[_0x2fca31(0x1ef)]){const _0x1d3057=_0x14fc3a[_0x2fca31(0x1ef)];s(_0x5cba3a,_0x2fca31(0x1d3),_0x1d3057['content']),s(_0x5cba3a,'titles.title.font',_0x1d3057[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x1e9),_0x1d3057['fontSize']),s(_0x5cba3a,_0x2fca31(0x1e0),_0x1d3057[_0x2fca31(0x181)]),s(_0x5cba3a,_0x2fca31(0x1d4),_0x1d3057[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x182),_0x1d3057[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x164),_0x1d3057[_0x2fca31(0x1f0)]),s(_0x5cba3a,_0x2fca31(0x1a4),_0x1d3057[_0x2fca31(0x14f)]);}if(_0x14fc3a['legend']){const _0x5e3268=_0x14fc3a[_0x2fca31(0x1d5)];s(_0x5cba3a,_0x2fca31(0x16d),_0x5e3268[_0x2fca31(0x14f)]),s(_0x5cba3a,'legend.selectMode',_0x5e3268[_0x2fca31(0x1de)]),s(_0x5cba3a,_0x2fca31(0x1be),_0x5e3268[_0x2fca31(0x175)]),s(_0x5cba3a,_0x2fca31(0x176),_0x5e3268['color']),s(_0x5cba3a,_0x2fca31(0x1d9),_0x5e3268[_0x2fca31(0x17c)]),s(_0x5cba3a,'legend.label.italic',_0x5e3268[_0x2fca31(0x1a8)]);}if(_0x14fc3a[_0x2fca31(0x1cc)]){const _0x51fe98=_0x14fc3a[_0x2fca31(0x1cc)];s(_0x5cba3a,_0x2fca31(0x1ba),_0x51fe98[_0x2fca31(0x19a)]),s(_0x5cba3a,'pie.borderColor',_0x51fe98[_0x2fca31(0x1c0)]),s(_0x5cba3a,'pie.hasPaddingAngle',_0x51fe98[_0x2fca31(0x157)]),s(_0x5cba3a,_0x2fca31(0x1cf),_0x51fe98['isHalfPie']),s(_0x5cba3a,_0x2fca31(0x1d1),_0x51fe98[_0x2fca31(0x1d8)]),s(_0x5cba3a,_0x2fca31(0x1d7),_0x51fe98[_0x2fca31(0x1af)]);}if(_0x14fc3a[_0x2fca31(0x168)]){const _0x4b5539=_0x14fc3a[_0x2fca31(0x168)];s(_0x5cba3a,_0x2fca31(0x171),_0x4b5539['indicatorLabelColor']),s(_0x5cba3a,'tooltip.indicatorLineType',_0x4b5539[_0x2fca31(0x1ae)]),s(_0x5cba3a,_0x2fca31(0x180),_0x4b5539['indicatorLineColor']),s(_0x5cba3a,_0x2fca31(0x162),_0x4b5539[_0x2fca31(0x1c4)]);}if(_0x14fc3a[_0x2fca31(0x1c7)]&&(s(_0x5cba3a,_0x2fca31(0x1b1),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x1d6)]),s(_0x5cba3a,_0x2fca31(0x199),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x166)]),s(_0x5cba3a,_0x2fca31(0x170),_0x14fc3a['allSeriesStyle'][_0x2fca31(0x144)]),s(_0x5cba3a,_0x2fca31(0x15a),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x148)]),s(_0x5cba3a,'allSeriesStyle.color',_0x14fc3a[_0x2fca31(0x1c7)]['color'])),_0x14fc3a[_0x2fca31(0x13f)]&&s(_0x5cba3a,_0x2fca31(0x15e),_0x14fc3a['area'][_0x2fca31(0x1dd)]),_0x14fc3a[_0x2fca31(0x151)]&&s(_0x5cba3a,_0x2fca31(0x151),_0x14fc3a[_0x2fca31(0x151)]),_0x14fc3a[_0x2fca31(0x1c6)]&&s(_0x5cba3a,_0x2fca31(0x1c6),_0x14fc3a['backgroundColor']),_0x14fc3a[_0x2fca31(0x1c0)]&&s(_0x5cba3a,_0x2fca31(0x1c0),_0x14fc3a[_0x2fca31(0x1c0)]),_0x14fc3a[_0x2fca31(0x145)]&&s(_0x5cba3a,_0x2fca31(0x145),_0x14fc3a[_0x2fca31(0x145)]),_0x14fc3a[_0x2fca31(0x1e2)]&&s(_0x5cba3a,_0x2fca31(0x1e2),_0x14fc3a[_0x2fca31(0x1e2)]),_0x14fc3a[_0x2fca31(0x183)]&&s(_0x5cba3a,'radar',_0x14fc3a['radar']),_0x14fc3a[_0x2fca31(0x1d0)]){const _0x1ac873=_0x14fc3a['xAxisTitle'];s(_0x5cba3a,_0x2fca31(0x155),_0x1ac873['content']),s(_0x5cba3a,_0x2fca31(0x154),_0x1ac873[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x1c8),_0x1ac873['fontSize']),s(_0x5cba3a,_0x2fca31(0x1aa),_0x1ac873['fontColor']),s(_0x5cba3a,'titles.xAxisTitle.family',_0x1ac873[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x184),_0x1ac873[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x1e8),_0x1ac873[_0x2fca31(0x178)]);}if(_0x14fc3a[_0x2fca31(0x1f4)]){const _0x2efc81=_0x14fc3a[_0x2fca31(0x1f4)];s(_0x5cba3a,'titles.yAxisTitle.content',_0x2efc81[_0x2fca31(0x1c9)]),s(_0x5cba3a,_0x2fca31(0x1ab),_0x2efc81[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x197),_0x2efc81['fontSize']),s(_0x5cba3a,'titles.yAxisTitle.color',_0x2efc81['fontColor']),s(_0x5cba3a,'titles.yAxisTitle.family',_0x2efc81[_0x2fca31(0x1a9)]),s(_0x5cba3a,'titles.yAxisTitle.bold',_0x2efc81[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x1db),_0x2efc81[_0x2fca31(0x178)]);}if(_0x14fc3a['rightYAxisTitle']){const _0x2e68b9=_0x14fc3a[_0x2fca31(0x196)];s(_0x5cba3a,_0x2fca31(0x142),_0x2e68b9[_0x2fca31(0x1c9)]),s(_0x5cba3a,_0x2fca31(0x177),_0x2e68b9[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x141),_0x2e68b9['fontSize']),s(_0x5cba3a,_0x2fca31(0x173),_0x2e68b9['fontColor']),s(_0x5cba3a,'titles.rightYAxisTitle.family',_0x2e68b9[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x143),_0x2e68b9[_0x2fca31(0x17c)]),s(_0x5cba3a,'rightYAxis.label.axisTitleAlign',_0x2e68b9[_0x2fca31(0x178)]);}_0x14fc3a[_0x2fca31(0x185)]&&s(_0x5cba3a,_0x2fca31(0x185),_0x14fc3a[_0x2fca31(0x185)]),_0x14fc3a['yAxis']&&s(_0x5cba3a,_0x2fca31(0x169),_0x14fc3a[_0x2fca31(0x169)]),_0x14fc3a['yRightAxis']&&s(_0x5cba3a,'rightYAxis',_0x14fc3a['yRightAxis']),_0x14fc3a[_0x2fca31(0x1e3)]&&s(_0x5cba3a,_0x2fca31(0x1e3),_0x14fc3a[_0x2fca31(0x1e3)]);const _0x37460f={'unitId':_0x5d93b3,'chartModelId':_0x4f9aab};let _0x534aef=!0x1;if(_0x1be72f!==void 0x0&&(_0x37460f['chartType']=_0x1be72f,_0x534aef=!0x0),Object[_0x2fca31(0x19d)](_0x5cba3a)[_0x2fca31(0x1ca)]>0x0&&(_0x37460f[_0x2fca31(0x1b5)]=_0x5cba3a,_0x534aef=!0x0),Object[_0x2fca31(0x19d)](_0x17bb52)[_0x2fca31(0x1ca)]>0x0&&(_0x37460f[_0x2fca31(0x189)]=_0x17bb52,_0x534aef=!0x0),_0x534aef)return _0x37460f;};class c extends _0x42eb17{constructor(_0x4eab56,_0x465284,_0xdc3b44,_0x1191b9,_0x10d9ff){const _0x5092e4=_0x14c989;super(),n(this,_0x5092e4(0x149)),n(this,_0x5092e4(0x198)),n(this,_0x5092e4(0x174)),n(this,_0x5092e4(0x1f3)),n(this,_0x5092e4(0x16b)),n(this,_0x5092e4(0x1a1)),n(this,_0x5092e4(0x1a6)),n(this,'x'),n(this,'y'),n(this,'width'),n(this,_0x5092e4(0x1da)),n(this,_0x5092e4(0x1ce)),n(this,_0x5092e4(0x1b3)),n(this,_0x5092e4(0x1a0)),(this[_0x5092e4(0x174)]=_0x4eab56,this[_0x5092e4(0x1f3)]=_0x465284,this[_0x5092e4(0x149)]=_0xdc3b44,this['_injector']=_0x1191b9,_0x10d9ff&&(this[_0x5092e4(0x16b)]=_0x10d9ff));}[_0x14c989(0x1a5)](){const _0x261724=_0x14c989;return this[_0x261724(0x1ce)];}[_0x14c989(0x150)](_0x52b09e){const _0x53be17=_0x14c989;if(typeof _0x52b09e=='string'){const _0x5253b2=_0x5e7cef(_0x52b09e);_0x5253b2[_0x53be17(0x14a)]&&(this[_0x53be17(0x1a6)]=_0x5253b2[_0x53be17(0x14a)]),this[_0x53be17(0x1a1)]=_0x5253b2[_0x53be17(0x1a1)];}else this['range']=_0x52b09e;return this;}[_0x14c989(0x19e)](){const _0x29d620=_0x14c989;return this['range']=void 0x0,this[_0x29d620(0x1a6)]=void 0x0,this;}[_0x14c989(0x161)](_0x2f4a90,_0x17abf1,_0x3af68d,_0x872ef9){const _0x1a50e7=_0x14c989,_0x203370=this[_0x1a50e7(0x198)][_0x1a50e7(0x1d2)](_0x16eead)[_0x1a50e7(0x1b6)](this[_0x1a50e7(0x174)]);if(!_0x203370)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x547b95=_0x203370['with'](_0x40f199),_0x5f028e=_0x203370[_0x1a50e7(0x14c)](_0x5914a8),{transform:_0x42024b}=_0x4078dc(this['unitId'],this[_0x1a50e7(0x1f3)],{'row':_0x2f4a90,'column':_0x17abf1,'rowOffset':_0x3af68d,'columnOffset':_0x872ef9},0x1,0x1,_0x547b95,_0x5f028e),_0x20c784=_0x42024b[_0x1a50e7(0x1b7)],_0x3886df=_0x42024b[_0x1a50e7(0x15d)];return this['x']=_0x3886df,this['y']=_0x20c784,this;}[_0x14c989(0x14b)](_0x189d74,_0x43d03f){return this['x']=_0x189d74,this['y']=_0x43d03f,this;}[_0x14c989(0x1b0)](_0xaaea72){const _0x512981=_0x14c989;return this[_0x512981(0x1ce)]=_0xaaea72,this;}[_0x14c989(0x18f)](_0x3b2665){const _0x5ed794=_0x14c989;return this[_0x5ed794(0x19f)]=_0x3b2665,this;}[_0x14c989(0x19b)](_0x52e5fd){return this['height']=_0x52e5fd,this;}['setOptions'](_0x45ce30,_0x221530){const _0x53413d=_0x14c989;return this['options']||(this[_0x53413d(0x1b3)]={}),_0x45ce30===''?(this[_0x53413d(0x1b3)]={...this[_0x53413d(0x1b3)],..._0x221530},this):(_0x2bf7bf(this[_0x53413d(0x1b3)],_0x45ce30,_0x221530),this);}[_0x14c989(0x1ed)](_0x4f7454){const _0x4f3bf4=_0x14c989;return this[_0x4f3bf4(0x1a0)]=_0x4f7454,this;}[_0x14c989(0x1bc)](_0x130c16){const _0x3aa75e=_0x14c989;return this[_0x3aa75e(0x1ad)]('theme',_0x130c16),this;}[_0x14c989(0x186)](_0x222361){const _0x27f99c=_0x14c989;var _0xfb2bc0;const _0x15e5e1=((_0xfb2bc0=this[_0x27f99c(0x1b3)])==null?void 0x0:_0xfb2bc0[_0x27f99c(0x1d0)])||{};return _0x15e5e1[_0x27f99c(0x1c9)]=_0x222361,this[_0x27f99c(0x1ad)]('xAxisTitle',_0x15e5e1),this;}[_0x14c989(0x1bb)](_0x282de6){const _0x27d40c=_0x14c989;var _0x24c4f2;const _0x539dce=((_0x24c4f2=this[_0x27d40c(0x1b3)])==null?void 0x0:_0x24c4f2[_0x27d40c(0x1f4)])||{};return _0x539dce[_0x27d40c(0x1c9)]=_0x282de6,this[_0x27d40c(0x1ad)](_0x27d40c(0x1f4),_0x539dce),this;}[_0x14c989(0x15c)](_0x1501b2){const _0x23df44=_0x14c989;var _0x8d59fc;const _0x313268=((_0x8d59fc=this[_0x23df44(0x1b3)])==null?void 0x0:_0x8d59fc[_0x23df44(0x196)])||{};return _0x313268[_0x23df44(0x1c9)]=_0x1501b2,this[_0x23df44(0x1ad)](_0x23df44(0x196),_0x313268),this;}['setXAxisTextStyle'](_0xdf2e14){var _0x1e7d3f;const _0x4f3ef8=((_0x1e7d3f=this['options'])==null?void 0x0:_0x1e7d3f['xAxisTitle'])||{};return this['setOptions']('xAxisTitle',{..._0x4f3ef8,..._0xdf2e14}),this;}[_0x14c989(0x17a)](_0x41c3f3){const _0x245228=_0x14c989;var _0x357f58;const _0x419231=((_0x357f58=this[_0x245228(0x1b3)])==null?void 0x0:_0x357f58[_0x245228(0x1f4)])||{};return this[_0x245228(0x1ad)](_0x245228(0x1f4),{..._0x419231,..._0x41c3f3}),this;}[_0x14c989(0x1c1)](_0x282e4b){const _0x5ce09c=_0x14c989;var _0x431b9b;const _0xb4bc1f=((_0x431b9b=this[_0x5ce09c(0x1b3)])==null?void 0x0:_0x431b9b['rightYAxisTitle'])||{};return this[_0x5ce09c(0x1ad)](_0x5ce09c(0x196),{..._0xb4bc1f,..._0x282e4b}),this;}[_0x14c989(0x160)](_0x12c4ff){const _0x769c8b=_0x14c989;return this[_0x769c8b(0x1ad)](_0x769c8b(0x1e2),_0x12c4ff),this;}[_0x14c989(0x1b8)](_0x4696e2){const _0x5baeb7=_0x14c989;return this[_0x5baeb7(0x1ad)](_0x5baeb7(0x168),_0x4696e2),this;}[_0x14c989(0x18a)](_0x258c4d){const _0x288767=_0x14c989;return this[_0x288767(0x1ad)](_0x288767(0x1c7),_0x258c4d),this;}['setSeriesStyle'](_0x49c26c,_0x4dedd5){const _0x1d6428=_0x14c989;return this['setOptions'](_0x1d6428(0x1e3),{[_0x49c26c]:_0x4dedd5}),this;}[_0x14c989(0x1cd)](){const _0x52d923=_0x14c989;return{'unitId':this[_0x52d923(0x174)],'subUnitId':this[_0x52d923(0x1f3)],'chartId':this['chartId'],'range':this[_0x52d923(0x1a1)],'sourceSheetName':this[_0x52d923(0x1a6)],'x':this['x'],'y':this['y'],'width':this[_0x52d923(0x19f)],'height':this['height'],'chartType':this[_0x52d923(0x1ce)],'options':this[_0x52d923(0x1b3)],'isRowDirection':this['transposeRowsAndColumns']};}}class P{constructor(_0x282aad,_0x13431c,_0x4f077d,_0x3bb6e3){const _0x1e8b0d=_0x14c989;n(this,'unitId'),n(this,_0x1e8b0d(0x1f3)),n(this,_0x1e8b0d(0x16b)),n(this,_0x1e8b0d(0x198)),(this[_0x1e8b0d(0x174)]=_0x282aad,this[_0x1e8b0d(0x1f3)]=_0x13431c,this[_0x1e8b0d(0x16b)]=_0x4f077d,this[_0x1e8b0d(0x198)]=_0x3bb6e3);}[_0x14c989(0x18e)](){const _0x327de7=_0x14c989;return this[_0x327de7(0x16b)];}['getRange'](){const _0x3b9283=_0x14c989,_0x1dd7f6=this[_0x3b9283(0x198)][_0x3b9283(0x1d2)](_0x1e7aea)[_0x3b9283(0x153)](this['chartId']);if(_0x1dd7f6)return _0x1dd7f6[_0x3b9283(0x1cb)][_0x3b9283(0x18b)]();}[_0x14c989(0x1a7)](_0x549dbb){const _0x2bb936=_0x14c989;return this[_0x2bb936(0x198)][_0x2bb936(0x1d2)](_0x245d9a)[_0x2bb936(0x14e)](_0x25b274['id'],{'unitId':this[_0x2bb936(0x174)],'chartModelId':this[_0x2bb936(0x16b)],'range':_0x549dbb});}[_0x14c989(0x1a2)](){const _0x538387=_0x14c989;var _0x2c519d;const _0x34012=this[_0x538387(0x198)][_0x538387(0x1d2)](_0x1e7aea)[_0x538387(0x153)](this[_0x538387(0x16b)]);if(_0x34012)return(_0x2c519d=_0x34012['config'])==null?void 0x0:_0x2c519d[_0x538387(0x19c)];}['getCategoryData'](){const _0x4a79a0=_0x14c989;var _0x1a8e10;const _0x3daaa1=this[_0x4a79a0(0x198)][_0x4a79a0(0x1d2)](_0x1e7aea)['getChartModel'](this['chartId']);if(_0x3daaa1)return(_0x1a8e10=_0x3daaa1[_0x4a79a0(0x1c5)])==null?void 0x0:_0x1a8e10['category'];}['modify'](){const _0x1ecb8d=_0x14c989,_0x4243d1=this[_0x1ecb8d(0x198)][_0x1ecb8d(0x1d2)](_0x480d2b)[_0x1ecb8d(0x1b9)](_0xef67ad[_0x1ecb8d(0x1dc)]);return new c(this[_0x1ecb8d(0x174)],this[_0x1ecb8d(0x1f3)],_0x4243d1,this['_injector'],this['chartId']);}}class $ extends _0xa5e49f{async[_0x14c989(0x195)](_0x3918df){const _0x1ac97f=_0x14c989;var _0x51b32b,_0x5762f0,_0x18877a;const _0x55eaaf=_0x3918df[_0x1ac97f(0x174)]||this[_0x1ac97f(0x1b4)]()[_0x1ac97f(0x1e1)](),_0x3711be=_0x3918df[_0x1ac97f(0x1f3)]||this[_0x1ac97f(0x17d)](),_0x242e21=_0x3918df[_0x1ac97f(0x16b)]||_0x4749a5(),_0x17f05a=_0x3918df[_0x1ac97f(0x1ce)],_0x3ba135=_0x3918df['range'],_0x17fe62=_0x3918df[_0x1ac97f(0x1a6)],_0x23e24c={'x':_0x3918df['x'],'y':_0x3918df['y']},_0x52347c=_0x3918df['width'],_0x337319=_0x3918df[_0x1ac97f(0x1da)],_0x1594e2=(_0x51b32b=_0x3918df[_0x1ac97f(0x1b3)])==null?void 0x0:_0x51b32b[_0x1ac97f(0x1c6)],_0xf691ce=(_0x5762f0=_0x3918df['options'])==null?void 0x0:_0x5762f0[_0x1ac97f(0x1c0)],_0x2c0f8f=C(_0x55eaaf,_0x242e21,_0x17f05a,_0x3918df[_0x1ac97f(0x1b3)]),_0x5c756e=(_0x18877a=_0x3918df[_0x1ac97f(0x17b)])!=null?_0x18877a:!0x0;if(!_0x3ba135)throw new Error(_0x1ac97f(0x1f5));return await this[_0x1ac97f(0x16f)][_0x1ac97f(0x14e)](_0xc6740b['id'],{'unitId':_0x55eaaf,'subUnitId':_0x3711be,'chartId':_0x242e21,'chartType':_0x17f05a,'range':_0x3ba135,'sourceSheetName':_0x17fe62,'position':_0x23e24c,'width':_0x52347c,'height':_0x337319,'backgroundColor':_0x1594e2,'borderColor':_0xf691ce,'config':_0x2c0f8f,'isRowDirection':_0x5c756e}),new P(_0x55eaaf,_0x3711be,_0x242e21,this['_injector']);}[_0x14c989(0x17f)](_0x3df274){const _0x4438e1=_0x14c989,{unitId:_0x3a1087,chartId:_0x39bd36,chartType:_0x3bd735,options:_0x2fba35}=_0x3df274,_0x117a28=C(_0x3a1087,_0x39bd36,_0x3bd735,_0x2fba35);this[_0x4438e1(0x16f)][_0x4438e1(0x14e)](_0x6581f3['id'],_0x117a28);}[_0x14c989(0x187)](_0x3c03a8){const _0x2d2b93=_0x14c989;if(_0x3c03a8)return new c(_0x3c03a8[_0x2d2b93(0x174)],_0x3c03a8[_0x2d2b93(0x1f3)],this['_workbook'],this['_injector'],_0x3c03a8[_0x2d2b93(0x16b)]);const _0x4f8110=this[_0x2d2b93(0x1b4)]()['getUnitId'](),_0x1f1534=this[_0x2d2b93(0x17d)]();return new c(_0x4f8110,_0x1f1534,this[_0x2d2b93(0x149)],this[_0x2d2b93(0x198)]);}[_0x14c989(0x16e)](){const _0x1aad5b=_0x14c989,_0x2cecf4=this['_injector'][_0x1aad5b(0x1d2)](_0x1e7aea),_0x45f387=this[_0x1aad5b(0x1b4)]()['getUnitId']();return _0x2cecf4['getUnitChartModels'](_0x45f387,this[_0x1aad5b(0x17d)]())[_0x1aad5b(0x146)](_0x3fbff7=>new P(_0x45f387,this['getSheetId'](),_0x3fbff7['id'],this[_0x1aad5b(0x198)]));}['removeChart'](_0x287ec6){const _0x157d07=_0x14c989,_0x566fec=_0x287ec6['unitId'],_0x163f01=_0x287ec6[_0x157d07(0x1f3)],_0x400cbc=_0x287ec6[_0x157d07(0x16b)],_0x346e01={'unitId':_0x566fec,'drawings':[{'unitId':_0x566fec,'subUnitId':_0x163f01,'drawingId':_0x400cbc,'drawingType':_0x4f9c4b[_0x157d07(0x165)]}]};return this['_commandService'][_0x157d07(0x14e)](_0x780251['id'],_0x346e01);}['registerChartTheme'](_0x436917,_0x544ba5){const _0x2406cd=_0x14c989;this['_injector'][_0x2406cd(0x1d2)](_0x1f6d83)[_0x2406cd(0x1ee)](_0x436917,_0x544ba5);}}_0xa5e49f[_0x14c989(0x188)]($);class tt extends _0x5c169c{get[_0x14c989(0x13c)](){return _0x5e78e8;}get['LegendPositionEnum'](){return _0x4b64cd;}get[_0x14c989(0x1e6)](){return _0x3b6b6a;}get[_0x14c989(0x1eb)](){return _0x42a4c5;}get['ChartBorderDashType'](){return _0x20fb03;}get[_0x14c989(0x1e5)](){return _0x8ea241;}get[_0x14c989(0x193)](){return _0x385552;}get[_0x14c989(0x1bd)](){return _0xefb375;}}_0x5c169c['extend'](tt);class et extends c{constructor(_0xd2213d,_0x71c5c7,_0x181481,_0x5bf0a1,_0x2c5f68){const _0x4f751e=_0x14c989;super(_0xd2213d,_0x71c5c7,_0x181481,_0x5bf0a1,_0x2c5f68),n(this,_0x4f751e(0x1dd)),n(this,_0x4f751e(0x16c)),n(this,_0x4f751e(0x16a)),n(this,_0x4f751e(0x18c));}[_0x14c989(0x1c2)](_0x458d7b){const _0x3b7b4a=_0x14c989;return this[_0x3b7b4a(0x1dd)]=_0x458d7b,this;}['setDataPointShape'](_0x498495){const _0x4ab10b=_0x14c989;return this[_0x4ab10b(0x16c)]=_0x498495,this;}[_0x14c989(0x172)](_0x2a931a){const _0x1a97ff=_0x14c989;return this[_0x1a97ff(0x16a)]=_0x2a931a,this;}[_0x14c989(0x190)](_0x26e27e){const _0x32d482=_0x14c989;return this[_0x32d482(0x18c)]=_0x26e27e,this;}[_0x14c989(0x1cd)](){const _0x3bb7ad=_0x14c989,_0x33eedd=super['build']();_0x33eedd[_0x3bb7ad(0x1ce)]=_0x5e78e8['Line'];const _0x59bf70=_0x33eedd[_0x3bb7ad(0x1b3)]||{};return s(_0x59bf70,_0x3bb7ad(0x15e),this[_0x3bb7ad(0x1dd)]),s(_0x59bf70,_0x3bb7ad(0x1df),this[_0x3bb7ad(0x16c)]),s(_0x59bf70,_0x3bb7ad(0x17e),this[_0x3bb7ad(0x16a)]),s(_0x59bf70,_0x3bb7ad(0x1ac),this[_0x3bb7ad(0x18c)]),_0x33eedd[_0x3bb7ad(0x1b3)]=_0x59bf70,_0x33eedd;}}class it extends c{[_0x14c989(0x13d)](){const _0x59bf39=_0x14c989;return new et(this['unitId'],this[_0x59bf39(0x1f3)],this[_0x59bf39(0x149)],this['_injector'],this[_0x59bf39(0x16b)]);}}c['extend'](it);class st extends c{constructor(_0x456ff8,_0x21a4a8,_0x3591de,_0x390a41,_0x4e1178){const _0x1adca1=_0x14c989;super(_0x456ff8,_0x21a4a8,_0x3591de,_0x390a41,_0x4e1178),n(this,_0x1adca1(0x19a)),n(this,'borderColor'),n(this,_0x1adca1(0x157)),n(this,'isHalfPie'),n(this,'rosePie'),n(this,'showLabelLine');}[_0x14c989(0x159)](_0x17b0fe){const _0x5d264=_0x14c989;return this[_0x5d264(0x19a)]=_0x17b0fe,this;}[_0x14c989(0x163)](_0x160e43){return this['borderColor']=_0x160e43,this;}[_0x14c989(0x167)](_0x374165){return this['hasPaddingAngle']=_0x374165,this;}[_0x14c989(0x1c3)](_0x1e9596){const _0x2ec58a=_0x14c989;return this[_0x2ec58a(0x13e)]=_0x1e9596,this;}[_0x14c989(0x147)](_0x419843){const _0x4d24d6=_0x14c989;return this[_0x4d24d6(0x1d8)]=_0x419843,this;}[_0x14c989(0x15b)](_0x2a8aca){const _0x5ccfb7=_0x14c989;return this[_0x5ccfb7(0x1af)]=_0x2a8aca,this;}['build'](){const _0x2c32a0=_0x14c989,_0x2f35a0=super[_0x2c32a0(0x1cd)]();_0x2f35a0[_0x2c32a0(0x1ce)]=_0x5e78e8['Pie'];const _0x3eef6e=_0x2f35a0[_0x2c32a0(0x1b3)]||{};return s(_0x3eef6e,_0x2c32a0(0x1ba),this['doughnutHole']),s(_0x3eef6e,_0x2c32a0(0x156),this[_0x2c32a0(0x1c0)]),s(_0x3eef6e,_0x2c32a0(0x158),this['hasPaddingAngle']),s(_0x3eef6e,_0x2c32a0(0x1cf),this[_0x2c32a0(0x13e)]),s(_0x3eef6e,_0x2c32a0(0x1d1),this[_0x2c32a0(0x1d8)]),s(_0x3eef6e,'pie.showLabelLine',this[_0x2c32a0(0x1af)]),_0x2f35a0[_0x2c32a0(0x1b3)]=_0x3eef6e,_0x2f35a0;}}class rt extends c{[_0x14c989(0x140)](){const _0xd05af=_0x14c989;return new st(this['unitId'],this[_0xd05af(0x1f3)],this[_0xd05af(0x149)],this[_0xd05af(0x198)],this['chartId']);}}c[_0x14c989(0x188)](rt);class ot extends c{constructor(_0xdc12c3,_0x3fc583,_0x339f53,_0xf23960,_0x1e5d23){const _0x53774e=_0x14c989;super(_0xdc12c3,_0x3fc583,_0x339f53,_0xf23960,_0x1e5d23),n(this,_0x53774e(0x1f1)),n(this,'fill');}['setShape'](_0x1e8418){const _0x521687=_0x14c989;return this[_0x521687(0x1f1)]=_0x1e8418,this;}[_0x14c989(0x1e4)](_0x23a37a){const _0x36d496=_0x14c989;return this[_0x36d496(0x15f)]=_0x23a37a,this;}[_0x14c989(0x1cd)](){const _0x5987ad=_0x14c989,_0x9341ad=super[_0x5987ad(0x1cd)]();_0x9341ad['chartType']=_0x5e78e8[_0x5987ad(0x14d)];const _0x43a173=_0x9341ad[_0x5987ad(0x1b3)]||{};return s(_0x43a173,_0x5987ad(0x152),this[_0x5987ad(0x1f1)]),s(_0x43a173,'radar.fill',this[_0x5987ad(0x15f)]),_0x9341ad[_0x5987ad(0x1b3)]=_0x43a173,_0x9341ad;}}class nt extends c{[_0x14c989(0x18d)](){const _0x1f8c9c=_0x14c989;return new ot(this['unitId'],this[_0x1f8c9c(0x1f3)],this[_0x1f8c9c(0x149)],this[_0x1f8c9c(0x198)],this[_0x1f8c9c(0x16b)]);}}c[_0x14c989(0x188)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};function _0x14fa(){const _0x1c3574=['Radar','executeCommand','position','addRange','theme','radar.shape','getChartModel','titles.xAxisTitle.font','titles.xAxisTitle.content','pie.borderColor','hasPaddingAngle','pie.hasPaddingAngle','setDoughnutHole','allSeriesStyle.point','setShowLabelLine','setRightYAxisTitle','left','area.lineStyle','fill','setInvalidValueStrategy','setPosition','tooltip.indicatorLabelTextColor','setBorderColor','titles.title.align','DRAWING_CHART','label','setHasPaddingAngle','axisPointer','yAxis','dataPointColor','chartId','dataPointShape','legend.position','getCharts','_commandService','allSeriesStyle.rightYAxis','tooltip.indicatorLabelColor','setDataPointColor','titles.rightYAxisTitle.color','unitId','fontSize','legend.label.color','titles.rightYAxisTitle.font','axisAlignment','defineProperty','setYAxisTextStyle','isRowDirection','bold','getSheetId','allSeriesStyle.point.color','updateChart','tooltip.indicatorLineColor','fontColor','titles.title.bold','radar','titles.xAxisTitle.bold','xAxis','setXAxisTitle','newChart','extend','context','setAllSeriesStyle','getRangeInfo','dataPointSize','asRadarChart','getChartId','setWidth','setDataPointSize','244JKiNnv','470736zbXrje','TitlePositionEnum','2486898kojDEM','insertChart','rightYAxisTitle','titles.yAxisTitle.fontSize','_injector','allSeriesStyle.label','doughnutHole','setHeight','series','keys','clearRange','width','transposeRowsAndColumns','range','getSeriesData','504464iMeVKh','titles.titlePosition','getChartType','sourceSheetName','updateRange','italic','fontStyle','titles.xAxisTitle.color','titles.yAxisTitle.font','allSeriesStyle.point.size','setOptions','indicatorLineType','showLabelLine','setChartType','allSeriesStyle.border','975064sEfAmI','options','getWorkbook','style','getRenderById','top','setAxisPointerStyle','getCurrentUnitForType','pie.doughnutHole','setYAxisTitle','setTheme','RadarShape','legend.label.fontSize','2163056SsSIeU','borderColor','setRightYAxisTextStyle','setLineStyle','setIsHalfPie','indicatorLabelTextColor','config','backgroundColor','allSeriesStyle','titles.xAxisTitle.fontSize','content','length','dataSource','pie','build','chartType','pie.isHalfPie','xAxisTitle','pie.rosePie','get','titles.title.content','titles.title.family','legend','border','pie.showLabelLine','rosePie','legend.label.bold','height','yAxis.label.axisTitleAlign','UNIVER_SHEET','lineStyle','selectMode','allSeriesStyle.point.shape','titles.title.color','getUnitId','invalidValueType','seriesStyleMap','setFill','LinePointShape','SelectModeEnum','379620UVCukN','xAxis.label.axisTitleAlign','titles.title.fontSize','font','AxisAlignEnum','symbol','setTransposeRowsAndColumns','registerTheme','title','titleAlignment','shape','25715kMJBLt','subUnitId','yAxisTitle','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','ChartType','asLineChart','isHalfPie','area','asPieChart','titles.rightYAxisTitle.fontSize','titles.rightYAxisTitle.content','titles.rightYAxisTitle.bold','rightYAxis','gradientFill','map','setRosePie','point','_workbook','sheetName','setAbsolutePosition','with'];_0x14fa=function(){return _0x1c3574;};return _0x14fa();}
1
+ const _0x419911=_0x5a2c;(function(_0x4246dd,_0x42ced9){const _0x56c024=_0x5a2c,_0x241ff3=_0x4246dd();while(!![]){try{const _0x139b77=parseInt(_0x56c024(0x1d3))/0x1*(parseInt(_0x56c024(0x1c1))/0x2)+parseInt(_0x56c024(0x1f4))/0x3+-parseInt(_0x56c024(0x210))/0x4*(-parseInt(_0x56c024(0x179))/0x5)+-parseInt(_0x56c024(0x1e3))/0x6+-parseInt(_0x56c024(0x1e4))/0x7*(parseInt(_0x56c024(0x1de))/0x8)+parseInt(_0x56c024(0x1e7))/0x9+-parseInt(_0x56c024(0x196))/0xa;if(_0x139b77===_0x42ced9)break;else _0x241ff3['push'](_0x241ff3['shift']());}catch(_0x4d9ffb){_0x241ff3['push'](_0x241ff3['shift']());}}}(_0x152a,0x6c5b2));var R=Object[_0x419911(0x1f6)],k=(_0x554dae,_0x36be07,_0x1aa744)=>_0x36be07 in _0x554dae?R(_0x554dae,_0x36be07,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aa744}):_0x554dae[_0x36be07]=_0x1aa744,n=(_0x1745df,_0x37d6b6,_0x58d13c)=>k(_0x1745df,typeof _0x37d6b6!=_0x419911(0x182)?_0x37d6b6+'':_0x37d6b6,_0x58d13c);import{ChartThemeService as _0x26ce89,ChartTypeBits as _0x3ed09e,LegendPositionEnum as _0x3daf84,SelectModeEnum as _0xf30ab2,AxisAlignEnum as _0x1249aa,ChartBorderDashType as _0x160748,LinePointShape as _0x29b7cd,TitlePositionEnum as _0x555f1a,RadarShape as _0x2a095d}from'@univerjs-pro/engine-chart';import{setProperty as _0x1beb8b,SheetsChartService as _0x2a9304,ChartUpdateSourceCommand as _0x567c83,ChartUpdateConfigCommand as _0x28717b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x42c39e}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x49edee,IUniverInstanceService as _0x16d66c,UniverInstanceType as _0x571be9,generateRandomId as _0x43cfe3,DrawingTypeEnum as _0x3e1407}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x5a6d06}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2fe7a9}from'@univerjs/sheets/facade';import{FBase as _0x2fc0e4,FEnum as _0x2886ff}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x2e7ccf}from'@univerjs/engine-formula';import{IRenderManagerService as _0x2e07e3}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x30bdde,SheetSkeletonManagerService as _0x3dbe74,convertPositionCellToSheetOverGrid as _0x4565d7}from'@univerjs/sheets-ui';const s=(_0x1e1425,_0x211064,_0x303b57)=>{_0x303b57!==void 0x0&&_0x1beb8b(_0x1e1425,_0x211064,_0x303b57);},C=(_0x1d256f,_0x403b47,_0x2a3d88,_0x53a68f={})=>{const _0x1d11b8=_0x419911,_0x4a6776={},_0xc5f51b={};if(_0x53a68f['title']){const _0x5bd049=_0x53a68f[_0x1d11b8(0x1b3)];s(_0x4a6776,_0x1d11b8(0x219),_0x5bd049[_0x1d11b8(0x1bd)]),s(_0x4a6776,'titles.title.font',_0x5bd049[_0x1d11b8(0x1ca)]),s(_0x4a6776,_0x1d11b8(0x206),_0x5bd049['fontSize']),s(_0x4a6776,_0x1d11b8(0x198),_0x5bd049[_0x1d11b8(0x1ee)]),s(_0x4a6776,_0x1d11b8(0x213),_0x5bd049['fontStyle']),s(_0x4a6776,'titles.title.bold',_0x5bd049[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1be),_0x5bd049[_0x1d11b8(0x177)]),s(_0x4a6776,_0x1d11b8(0x1e9),_0x5bd049[_0x1d11b8(0x19e)]);}if(_0x53a68f['legend']){const _0x12f4d6=_0x53a68f['legend'];s(_0x4a6776,'legend.position',_0x12f4d6[_0x1d11b8(0x19e)]),s(_0x4a6776,_0x1d11b8(0x1d5),_0x12f4d6['selectMode']),s(_0x4a6776,'legend.label.fontSize',_0x12f4d6[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x21a),_0x12f4d6[_0x1d11b8(0x18e)]),s(_0x4a6776,_0x1d11b8(0x181),_0x12f4d6[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1a9),_0x12f4d6[_0x1d11b8(0x21f)]);}if(_0x53a68f[_0x1d11b8(0x189)]){const _0x2a147d=_0x53a68f[_0x1d11b8(0x189)];s(_0x4a6776,_0x1d11b8(0x1f8),_0x2a147d[_0x1d11b8(0x1b7)]),s(_0x4a6776,_0x1d11b8(0x1fb),_0x2a147d[_0x1d11b8(0x1f2)]),s(_0x4a6776,_0x1d11b8(0x17e),_0x2a147d[_0x1d11b8(0x176)]),s(_0x4a6776,'pie.isHalfPie',_0x2a147d[_0x1d11b8(0x218)]),s(_0x4a6776,_0x1d11b8(0x212),_0x2a147d[_0x1d11b8(0x1a7)]),s(_0x4a6776,_0x1d11b8(0x1d1),_0x2a147d[_0x1d11b8(0x17d)]);}if(_0x53a68f[_0x1d11b8(0x1eb)]){const _0x59395a=_0x53a68f[_0x1d11b8(0x1eb)];s(_0x4a6776,_0x1d11b8(0x1ad),_0x59395a[_0x1d11b8(0x19c)]),s(_0x4a6776,'tooltip.indicatorLineType',_0x59395a[_0x1d11b8(0x197)]),s(_0x4a6776,_0x1d11b8(0x1ab),_0x59395a[_0x1d11b8(0x224)]),s(_0x4a6776,_0x1d11b8(0x195),_0x59395a[_0x1d11b8(0x1d0)]);}if(_0x53a68f[_0x1d11b8(0x18b)]&&(s(_0x4a6776,_0x1d11b8(0x1b6),_0x53a68f[_0x1d11b8(0x18b)]['border']),s(_0x4a6776,_0x1d11b8(0x173),_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x1ef)]),s(_0x4a6776,'allSeriesStyle.rightYAxis',_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x205)]),s(_0x4a6776,_0x1d11b8(0x1b2),_0x53a68f[_0x1d11b8(0x18b)]['point']),s(_0x4a6776,_0x1d11b8(0x1f0),_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x18e)])),_0x53a68f[_0x1d11b8(0x18c)]&&s(_0x4a6776,_0x1d11b8(0x1dd),_0x53a68f[_0x1d11b8(0x18c)]['lineStyle']),_0x53a68f[_0x1d11b8(0x17f)]&&s(_0x4a6776,_0x1d11b8(0x17f),_0x53a68f[_0x1d11b8(0x17f)]),_0x53a68f['backgroundColor']&&s(_0x4a6776,'backgroundColor',_0x53a68f[_0x1d11b8(0x1f7)]),_0x53a68f[_0x1d11b8(0x1f2)]&&s(_0x4a6776,_0x1d11b8(0x1f2),_0x53a68f[_0x1d11b8(0x1f2)]),_0x53a68f[_0x1d11b8(0x1fe)]&&s(_0x4a6776,_0x1d11b8(0x1fe),_0x53a68f[_0x1d11b8(0x1fe)]),_0x53a68f[_0x1d11b8(0x209)]&&s(_0x4a6776,'invalidValueType',_0x53a68f[_0x1d11b8(0x209)]),_0x53a68f[_0x1d11b8(0x1ea)]&&s(_0x4a6776,_0x1d11b8(0x1ea),_0x53a68f[_0x1d11b8(0x1ea)]),_0x53a68f[_0x1d11b8(0x1c6)]){const _0x523b95=_0x53a68f[_0x1d11b8(0x1c6)];s(_0x4a6776,'titles.xAxisTitle.content',_0x523b95[_0x1d11b8(0x1bd)]),s(_0x4a6776,_0x1d11b8(0x20d),_0x523b95['font']),s(_0x4a6776,_0x1d11b8(0x1cb),_0x523b95[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x1a8),_0x523b95['fontColor']),s(_0x4a6776,_0x1d11b8(0x220),_0x523b95[_0x1d11b8(0x1f5)]),s(_0x4a6776,_0x1d11b8(0x1dc),_0x523b95[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x18f),_0x523b95[_0x1d11b8(0x1ed)]);}if(_0x53a68f[_0x1d11b8(0x1fa)]){const _0x537cdf=_0x53a68f['yAxisTitle'];s(_0x4a6776,'titles.yAxisTitle.content',_0x537cdf['content']),s(_0x4a6776,_0x1d11b8(0x17c),_0x537cdf['font']),s(_0x4a6776,_0x1d11b8(0x1fc),_0x537cdf[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x1e8),_0x537cdf[_0x1d11b8(0x1ee)]),s(_0x4a6776,'titles.yAxisTitle.family',_0x537cdf['fontStyle']),s(_0x4a6776,'titles.yAxisTitle.bold',_0x537cdf[_0x1d11b8(0x202)]),s(_0x4a6776,'yAxis.label.axisTitleAlign',_0x537cdf[_0x1d11b8(0x1ed)]);}if(_0x53a68f[_0x1d11b8(0x1e0)]){const _0x29231c=_0x53a68f['rightYAxisTitle'];s(_0x4a6776,_0x1d11b8(0x225),_0x29231c[_0x1d11b8(0x1bd)]),s(_0x4a6776,_0x1d11b8(0x19b),_0x29231c[_0x1d11b8(0x1ca)]),s(_0x4a6776,'titles.rightYAxisTitle.fontSize',_0x29231c[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x214),_0x29231c[_0x1d11b8(0x1ee)]),s(_0x4a6776,'titles.rightYAxisTitle.family',_0x29231c[_0x1d11b8(0x1f5)]),s(_0x4a6776,_0x1d11b8(0x1ac),_0x29231c[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1b0),_0x29231c[_0x1d11b8(0x1ed)]);}_0x53a68f[_0x1d11b8(0x1d9)]&&s(_0x4a6776,_0x1d11b8(0x1d9),_0x53a68f[_0x1d11b8(0x1d9)]),_0x53a68f[_0x1d11b8(0x178)]&&s(_0x4a6776,_0x1d11b8(0x178),_0x53a68f[_0x1d11b8(0x178)]),_0x53a68f[_0x1d11b8(0x184)]&&s(_0x4a6776,_0x1d11b8(0x205),_0x53a68f[_0x1d11b8(0x184)]),_0x53a68f[_0x1d11b8(0x1cf)]&&s(_0x4a6776,_0x1d11b8(0x1cf),_0x53a68f[_0x1d11b8(0x1cf)]);const _0xb904cc={'unitId':_0x1d256f,'chartModelId':_0x403b47};let _0x1f0372=!0x1;if(_0x2a3d88!==void 0x0&&(_0xb904cc[_0x1d11b8(0x1ec)]=_0x2a3d88,_0x1f0372=!0x0),Object[_0x1d11b8(0x1b8)](_0x4a6776)['length']>0x0&&(_0xb904cc['style']=_0x4a6776,_0x1f0372=!0x0),Object[_0x1d11b8(0x1b8)](_0xc5f51b)[_0x1d11b8(0x186)]>0x0&&(_0xb904cc['context']=_0xc5f51b,_0x1f0372=!0x0),_0x1f0372)return _0xb904cc;};class c extends _0x2fc0e4{constructor(_0x32e105,_0x5a6ad0,_0x5eae6e,_0x5b8eed,_0x39732c){const _0x44d46c=_0x419911;super(),n(this,_0x44d46c(0x1a6)),n(this,_0x44d46c(0x217)),n(this,_0x44d46c(0x221)),n(this,_0x44d46c(0x1b5)),n(this,'chartId'),n(this,_0x44d46c(0x1a0)),n(this,_0x44d46c(0x1df)),n(this,'x'),n(this,'y'),n(this,_0x44d46c(0x191)),n(this,_0x44d46c(0x21b)),n(this,_0x44d46c(0x1ec)),n(this,'options'),n(this,_0x44d46c(0x201)),(this[_0x44d46c(0x221)]=_0x32e105,this[_0x44d46c(0x1b5)]=_0x5a6ad0,this[_0x44d46c(0x1a6)]=_0x5eae6e,this['_injector']=_0x5b8eed,_0x39732c&&(this['chartId']=_0x39732c));}[_0x419911(0x208)](){const _0x5d8785=_0x419911;return this[_0x5d8785(0x1ec)];}[_0x419911(0x226)](_0x22bec6){const _0x54830f=_0x419911;if(typeof _0x22bec6==_0x54830f(0x17a)){const _0x239b9b=_0x2e7ccf(_0x22bec6);_0x239b9b[_0x54830f(0x1d2)]&&(this[_0x54830f(0x1df)]=_0x239b9b[_0x54830f(0x1d2)]),this['range']=_0x239b9b[_0x54830f(0x1a0)];}else this[_0x54830f(0x1a0)]=_0x22bec6;return this;}[_0x419911(0x20b)](){const _0x499502=_0x419911;return this[_0x499502(0x1a0)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x419911(0x211)](_0x27d53e,_0x4e1e92,_0x862b08,_0x50f847){const _0x431d84=_0x419911,_0x547c51=this[_0x431d84(0x217)][_0x431d84(0x20f)](_0x2e07e3)[_0x431d84(0x20e)](this['unitId']);if(!_0x547c51)throw new Error(_0x431d84(0x207));const _0x1d91d7=_0x547c51[_0x431d84(0x1af)](_0x30bdde),_0x445df4=_0x547c51[_0x431d84(0x1af)](_0x3dbe74),{transform:_0x51f980}=_0x4565d7(this[_0x431d84(0x221)],this[_0x431d84(0x1b5)],{'row':_0x27d53e,'column':_0x4e1e92,'rowOffset':_0x862b08,'columnOffset':_0x50f847},0x1,0x1,_0x1d91d7,_0x445df4),_0x3d4bf1=_0x51f980[_0x431d84(0x172)],_0x473862=_0x51f980['left'];return this['x']=_0x473862,this['y']=_0x3d4bf1,this;}[_0x419911(0x1aa)](_0x1d71e1,_0x188bfa){return this['x']=_0x1d71e1,this['y']=_0x188bfa,this;}['setChartType'](_0x2eb99b){const _0x1b37c3=_0x419911;return this[_0x1b37c3(0x1ec)]=_0x2eb99b,this;}[_0x419911(0x1a4)](_0x1bd893){const _0x77c818=_0x419911;return this[_0x77c818(0x191)]=_0x1bd893,this;}['setHeight'](_0x2f5c75){const _0x5bd5d6=_0x419911;return this[_0x5bd5d6(0x21b)]=_0x2f5c75,this;}[_0x419911(0x200)](_0xdaaf38,_0x57c242){const _0x322ee9=_0x419911;return this[_0x322ee9(0x1a2)]||(this[_0x322ee9(0x1a2)]={}),_0xdaaf38===''?(this[_0x322ee9(0x1a2)]={...this[_0x322ee9(0x1a2)],..._0x57c242},this):(_0x1beb8b(this[_0x322ee9(0x1a2)],_0xdaaf38,_0x57c242),this);}[_0x419911(0x1c7)](_0x3e6edf){return this['transposeRowsAndColumns']=_0x3e6edf,this;}[_0x419911(0x222)](_0x2d24d2){const _0x1495f2=_0x419911;return this['setOptions'](_0x1495f2(0x17f),_0x2d24d2),this;}[_0x419911(0x21c)](_0x5f8a4){const _0x854570=_0x419911;var _0x48e41d;const _0x792276=((_0x48e41d=this[_0x854570(0x1a2)])==null?void 0x0:_0x48e41d['xAxisTitle'])||{};return _0x792276[_0x854570(0x1bd)]=_0x5f8a4,this[_0x854570(0x200)](_0x854570(0x1c6),_0x792276),this;}['setYAxisTitle'](_0x138a42){const _0x33d91c=_0x419911;var _0x1f4671;const _0x1d6b16=((_0x1f4671=this[_0x33d91c(0x1a2)])==null?void 0x0:_0x1f4671[_0x33d91c(0x1fa)])||{};return _0x1d6b16['content']=_0x138a42,this[_0x33d91c(0x200)](_0x33d91c(0x1fa),_0x1d6b16),this;}['setRightYAxisTitle'](_0x38380a){const _0x5d23ca=_0x419911;var _0x4baa2b;const _0x38ac5e=((_0x4baa2b=this[_0x5d23ca(0x1a2)])==null?void 0x0:_0x4baa2b[_0x5d23ca(0x1e0)])||{};return _0x38ac5e[_0x5d23ca(0x1bd)]=_0x38380a,this['setOptions'](_0x5d23ca(0x1e0),_0x38ac5e),this;}[_0x419911(0x18d)](_0x14b6b4){const _0x29c564=_0x419911;var _0x2cff8a;const _0x5c877b=((_0x2cff8a=this[_0x29c564(0x1a2)])==null?void 0x0:_0x2cff8a[_0x29c564(0x1c6)])||{};return this[_0x29c564(0x200)]('xAxisTitle',{..._0x5c877b,..._0x14b6b4}),this;}[_0x419911(0x216)](_0xe1b61f){const _0x32fc28=_0x419911;var _0x5e54a6;const _0x41a3ed=((_0x5e54a6=this['options'])==null?void 0x0:_0x5e54a6['yAxisTitle'])||{};return this['setOptions'](_0x32fc28(0x1fa),{..._0x41a3ed,..._0xe1b61f}),this;}['setRightYAxisTextStyle'](_0x59fa62){const _0x14ca1b=_0x419911;var _0x921146;const _0x57ea74=((_0x921146=this[_0x14ca1b(0x1a2)])==null?void 0x0:_0x921146['rightYAxisTitle'])||{};return this[_0x14ca1b(0x200)](_0x14ca1b(0x1e0),{..._0x57ea74,..._0x59fa62}),this;}[_0x419911(0x175)](_0x50417d){const _0x2f8e15=_0x419911;return this[_0x2f8e15(0x200)](_0x2f8e15(0x209),_0x50417d),this;}[_0x419911(0x199)](_0x2d8c03){const _0x5f596e=_0x419911;return this['setOptions'](_0x5f596e(0x1eb),_0x2d8c03),this;}[_0x419911(0x1e1)](_0x57cfd8){const _0x5506c0=_0x419911;return this[_0x5506c0(0x200)](_0x5506c0(0x18b),_0x57cfd8),this;}[_0x419911(0x20a)](_0x1c53a3,_0xff6d08){const _0x564498=_0x419911;return this[_0x564498(0x200)](_0x564498(0x1cf),{[_0x1c53a3]:_0xff6d08}),this;}['build'](){const _0xc9a4ea=_0x419911;return{'unitId':this[_0xc9a4ea(0x221)],'subUnitId':this[_0xc9a4ea(0x1b5)],'chartId':this[_0xc9a4ea(0x18a)],'range':this[_0xc9a4ea(0x1a0)],'sourceSheetName':this[_0xc9a4ea(0x1df)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0xc9a4ea(0x21b)],'chartType':this[_0xc9a4ea(0x1ec)],'options':this[_0xc9a4ea(0x1a2)],'isRowDirection':this[_0xc9a4ea(0x201)]};}}class P{constructor(_0x17ac45,_0x2a94b8,_0x548443,_0x51da49){const _0x3d9e76=_0x419911;n(this,_0x3d9e76(0x221)),n(this,_0x3d9e76(0x1b5)),n(this,_0x3d9e76(0x18a)),n(this,'_injector'),(this[_0x3d9e76(0x221)]=_0x17ac45,this[_0x3d9e76(0x1b5)]=_0x2a94b8,this[_0x3d9e76(0x18a)]=_0x548443,this[_0x3d9e76(0x217)]=_0x51da49);}[_0x419911(0x188)](){const _0x48b5e5=_0x419911;return this[_0x48b5e5(0x18a)];}[_0x419911(0x1c3)](){const _0x3d403a=_0x419911,_0x59e869=this['_injector'][_0x3d403a(0x20f)](_0x2a9304)[_0x3d403a(0x1c4)](this[_0x3d403a(0x18a)]);if(_0x59e869)return _0x59e869[_0x3d403a(0x187)][_0x3d403a(0x1b4)]();}[_0x419911(0x1f1)](_0x203949){const _0x9c9b4a=_0x419911;return this[_0x9c9b4a(0x217)][_0x9c9b4a(0x20f)](_0x49edee)[_0x9c9b4a(0x21e)](_0x567c83['id'],{'unitId':this['unitId'],'chartModelId':this[_0x9c9b4a(0x18a)],'range':_0x203949});}[_0x419911(0x192)](){const _0xcc52e9=_0x419911;var _0x2a317a;const _0xf9ecb3=this[_0xcc52e9(0x217)][_0xcc52e9(0x20f)](_0x2a9304)[_0xcc52e9(0x1c4)](this[_0xcc52e9(0x18a)]);if(_0xf9ecb3)return(_0x2a317a=_0xf9ecb3[_0xcc52e9(0x183)])==null?void 0x0:_0x2a317a[_0xcc52e9(0x1da)];}[_0x419911(0x180)](){const _0x343853=_0x419911;var _0x5d9424;const _0x38d476=this[_0x343853(0x217)][_0x343853(0x20f)](_0x2a9304)['getChartModel'](this[_0x343853(0x18a)]);if(_0x38d476)return(_0x5d9424=_0x38d476['config'])==null?void 0x0:_0x5d9424[_0x343853(0x1c9)];}[_0x419911(0x1db)](){const _0xfc250=_0x419911,_0xf9f594=this[_0xfc250(0x217)][_0xfc250(0x20f)](_0x16d66c)[_0xfc250(0x1d6)](_0x571be9['UNIVER_SHEET']);return new c(this[_0xfc250(0x221)],this[_0xfc250(0x1b5)],_0xf9f594,this['_injector'],this[_0xfc250(0x18a)]);}}class $ extends _0x2fe7a9{async[_0x419911(0x1c5)](_0x5ae6cd){const _0x58835c=_0x419911;var _0x409f8f,_0x1b4033,_0xfcef42;const _0x352d5e=_0x5ae6cd['unitId']||this[_0x58835c(0x1e2)]()[_0x58835c(0x1d8)](),_0x20158d=_0x5ae6cd['subUnitId']||this[_0x58835c(0x1fd)](),_0x2e3eb3=_0x5ae6cd[_0x58835c(0x18a)]||_0x43cfe3(),_0x40eaa7=_0x5ae6cd['chartType'],_0x1657bb=_0x5ae6cd[_0x58835c(0x1a0)],_0x297195=_0x5ae6cd['sourceSheetName'],_0x2009e8={'x':_0x5ae6cd['x'],'y':_0x5ae6cd['y']},_0x49525f=_0x5ae6cd[_0x58835c(0x191)],_0x4e1bb3=_0x5ae6cd[_0x58835c(0x21b)],_0x17fd75=(_0x409f8f=_0x5ae6cd[_0x58835c(0x1a2)])==null?void 0x0:_0x409f8f[_0x58835c(0x1f7)],_0x3c5da4=(_0x1b4033=_0x5ae6cd[_0x58835c(0x1a2)])==null?void 0x0:_0x1b4033[_0x58835c(0x1f2)],_0x6f068a=C(_0x352d5e,_0x2e3eb3,_0x40eaa7,_0x5ae6cd['options']),_0x30e265=(_0xfcef42=_0x5ae6cd[_0x58835c(0x1c0)])!=null?_0xfcef42:!0x0;if(!_0x1657bb)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x58835c(0x1f9)][_0x58835c(0x21e)](_0x42c39e['id'],{'unitId':_0x352d5e,'subUnitId':_0x20158d,'chartId':_0x2e3eb3,'chartType':_0x40eaa7,'range':_0x1657bb,'sourceSheetName':_0x297195,'position':_0x2009e8,'width':_0x49525f,'height':_0x4e1bb3,'backgroundColor':_0x17fd75,'borderColor':_0x3c5da4,'config':_0x6f068a,'isRowDirection':_0x30e265}),new P(_0x352d5e,_0x20158d,_0x2e3eb3,this['_injector']);}['updateChart'](_0x2a30be){const _0x50639c=_0x419911,{unitId:_0x58a711,chartId:_0x22127f,chartType:_0x11d39f,options:_0x3416ae}=_0x2a30be,_0x6bcfc6=C(_0x58a711,_0x22127f,_0x11d39f,_0x3416ae);this[_0x50639c(0x1f9)][_0x50639c(0x21e)](_0x28717b['id'],_0x6bcfc6);}['newChart'](_0x2c5e32){const _0xd0ce9b=_0x419911;if(_0x2c5e32)return new c(_0x2c5e32['unitId'],_0x2c5e32['subUnitId'],this[_0xd0ce9b(0x1a6)],this[_0xd0ce9b(0x217)],_0x2c5e32[_0xd0ce9b(0x18a)]);const _0x1a15ac=this['getWorkbook']()[_0xd0ce9b(0x1d8)](),_0x473143=this['getSheetId']();return new c(_0x1a15ac,_0x473143,this['_workbook'],this['_injector']);}['getCharts'](){const _0x4ab725=_0x419911,_0x1401a6=this[_0x4ab725(0x217)][_0x4ab725(0x20f)](_0x2a9304),_0x3d6458=this[_0x4ab725(0x1e2)]()['getUnitId']();return _0x1401a6[_0x4ab725(0x19a)](_0x3d6458,this[_0x4ab725(0x1fd)]())[_0x4ab725(0x1a3)](_0x28db48=>new P(_0x3d6458,this['getSheetId'](),_0x28db48['id'],this['_injector']));}['removeChart'](_0x2038e2){const _0x5d5d15=_0x419911,_0x2cd0ad=_0x2038e2[_0x5d5d15(0x221)],_0x5459db=_0x2038e2['subUnitId'],_0x6cb68=_0x2038e2['chartId'],_0x4a3be9={'unitId':_0x2cd0ad,'drawings':[{'unitId':_0x2cd0ad,'subUnitId':_0x5459db,'drawingId':_0x6cb68,'drawingType':_0x3e1407[_0x5d5d15(0x1e6)]}]};return this[_0x5d5d15(0x1f9)]['executeCommand'](_0x5a6d06['id'],_0x4a3be9);}['registerChartTheme'](_0x5ac8e9,_0xd7b985){const _0x499e96=_0x419911;this[_0x499e96(0x217)]['get'](_0x26ce89)[_0x499e96(0x185)](_0x5ac8e9,_0xd7b985);}}_0x2fe7a9[_0x419911(0x227)]($);class tt extends _0x2886ff{get[_0x419911(0x1e5)](){return _0x3ed09e;}get[_0x419911(0x1d4)](){return _0x3daf84;}get[_0x419911(0x215)](){return _0xf30ab2;}get[_0x419911(0x204)](){return _0x1249aa;}get[_0x419911(0x193)](){return _0x160748;}get[_0x419911(0x1a5)](){return _0x29b7cd;}get[_0x419911(0x1cc)](){return _0x555f1a;}get['RadarShape'](){return _0x2a095d;}}_0x2886ff[_0x419911(0x227)](tt);class et extends c{constructor(_0x47e7b9,_0x14f25e,_0x280405,_0x5ce157,_0x510b09){const _0x1ce6c1=_0x419911;super(_0x47e7b9,_0x14f25e,_0x280405,_0x5ce157,_0x510b09),n(this,'lineStyle'),n(this,_0x1ce6c1(0x1bf)),n(this,'dataPointColor'),n(this,_0x1ce6c1(0x190));}['setLineStyle'](_0x12b2f0){const _0xa98983=_0x419911;return this[_0xa98983(0x21d)]=_0x12b2f0,this;}[_0x419911(0x1b1)](_0x1089d3){const _0x1ed419=_0x419911;return this[_0x1ed419(0x1bf)]=_0x1089d3,this;}[_0x419911(0x1bc)](_0x42a4a6){const _0x55cf40=_0x419911;return this[_0x55cf40(0x1c2)]=_0x42a4a6,this;}[_0x419911(0x1a1)](_0xeaf30a){const _0x4f6714=_0x419911;return this[_0x4f6714(0x190)]=_0xeaf30a,this;}[_0x419911(0x174)](){const _0x2d64fb=_0x419911,_0x12ceae=super[_0x2d64fb(0x174)]();_0x12ceae[_0x2d64fb(0x1ec)]=_0x3ed09e[_0x2d64fb(0x1ce)];const _0x53f34a=_0x12ceae[_0x2d64fb(0x1a2)]||{};return s(_0x53f34a,_0x2d64fb(0x1dd),this[_0x2d64fb(0x21d)]),s(_0x53f34a,_0x2d64fb(0x19d),this[_0x2d64fb(0x1bf)]),s(_0x53f34a,'allSeriesStyle.point.color',this[_0x2d64fb(0x1c2)]),s(_0x53f34a,_0x2d64fb(0x1cd),this[_0x2d64fb(0x190)]),_0x12ceae[_0x2d64fb(0x1a2)]=_0x53f34a,_0x12ceae;}}class it extends c{[_0x419911(0x1bb)](){const _0x5276f3=_0x419911;return new et(this[_0x5276f3(0x221)],this[_0x5276f3(0x1b5)],this[_0x5276f3(0x1a6)],this['_injector'],this[_0x5276f3(0x18a)]);}}function _0x152a(){const _0x2083ba=['setDataPointSize','options','map','setWidth','LinePointShape','_workbook','rosePie','titles.xAxisTitle.color','legend.label.italic','setAbsolutePosition','tooltip.indicatorLineColor','titles.rightYAxisTitle.bold','tooltip.indicatorLabelColor','setRosePie','with','rightYAxis.label.axisTitleAlign','setDataPointShape','allSeriesStyle.point','title','getRangeInfo','subUnitId','allSeriesStyle.border','doughnutHole','keys','setFill','setHasPaddingAngle','asLineChart','setDataPointColor','content','titles.title.align','dataPointShape','isRowDirection','998rYEwqB','dataPointColor','getRange','getChartModel','insertChart','xAxisTitle','setTransposeRowsAndColumns','asPieChart','category','font','titles.xAxisTitle.fontSize','TitlePositionEnum','allSeriesStyle.point.size','Line','seriesStyleMap','indicatorLabelTextColor','pie.showLabelLine','sheetName','509fiyHzR','LegendPositionEnum','legend.selectMode','getCurrentUnitForType','setIsHalfPie','getUnitId','xAxis','series','modify','titles.xAxisTitle.bold','area.lineStyle','49464PXOtyI','sourceSheetName','rightYAxisTitle','setAllSeriesStyle','getWorkbook','1017804KgoMlP','287qHVffZ','ChartType','DRAWING_CHART','942849QCBUSH','titles.yAxisTitle.color','titles.titlePosition','radar','axisPointer','chartType','axisAlignment','fontColor','label','allSeriesStyle.color','updateRange','borderColor','setShowLabelLine','1196685MZoUrn','fontStyle','defineProperty','backgroundColor','pie.doughnutHole','_commandService','yAxisTitle','pie.borderColor','titles.yAxisTitle.fontSize','getSheetId','gradientFill','fill','setOptions','transposeRowsAndColumns','bold','fontSize','AxisAlignEnum','rightYAxis','titles.title.fontSize','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','getChartType','invalidValueType','setSeriesStyle','clearRange','pie.isHalfPie','titles.xAxisTitle.font','getRenderById','get','152MpDlAt','setPosition','pie.rosePie','titles.title.family','titles.rightYAxisTitle.color','SelectModeEnum','setYAxisTextStyle','_injector','isHalfPie','titles.title.content','legend.label.color','height','setXAxisTitle','lineStyle','executeCommand','italic','titles.xAxisTitle.family','unitId','setTheme','Radar','indicatorLineColor','titles.rightYAxisTitle.content','addRange','extend','top','allSeriesStyle.label','build','setInvalidValueStrategy','hasPaddingAngle','titleAlignment','yAxis','103755LigWkp','string','radar.fill','titles.yAxisTitle.font','showLabelLine','pie.hasPaddingAngle','theme','getCategoryData','legend.label.bold','symbol','config','yRightAxis','registerTheme','length','dataSource','getChartId','pie','chartId','allSeriesStyle','area','setXAxisTextStyle','color','xAxis.label.axisTitleAlign','dataPointSize','width','getSeriesData','ChartBorderDashType','setShape','tooltip.indicatorLabelTextColor','6792220dqAfGF','indicatorLineType','titles.title.color','setAxisPointerStyle','getUnitChartModels','titles.rightYAxisTitle.font','indicatorLabelColor','allSeriesStyle.point.shape','position','shape','range'];_0x152a=function(){return _0x2083ba;};return _0x152a();}c[_0x419911(0x227)](it);function _0x5a2c(_0xdee45b,_0x408189){_0xdee45b=_0xdee45b-0x172;const _0x152ae8=_0x152a();let _0x5a2c6f=_0x152ae8[_0xdee45b];return _0x5a2c6f;}class st extends c{constructor(_0x2bbb82,_0x3556a4,_0x33cf69,_0x12755b,_0x5e1c1a){const _0xf4bcc1=_0x419911;super(_0x2bbb82,_0x3556a4,_0x33cf69,_0x12755b,_0x5e1c1a),n(this,_0xf4bcc1(0x1b7)),n(this,_0xf4bcc1(0x1f2)),n(this,_0xf4bcc1(0x176)),n(this,_0xf4bcc1(0x218)),n(this,_0xf4bcc1(0x1a7)),n(this,'showLabelLine');}['setDoughnutHole'](_0xaddbcf){const _0x5ba5a5=_0x419911;return this[_0x5ba5a5(0x1b7)]=_0xaddbcf,this;}['setBorderColor'](_0x34f3c1){const _0xe62976=_0x419911;return this[_0xe62976(0x1f2)]=_0x34f3c1,this;}[_0x419911(0x1ba)](_0xfc89ae){const _0x17eadf=_0x419911;return this[_0x17eadf(0x176)]=_0xfc89ae,this;}[_0x419911(0x1d7)](_0x3acc75){const _0x426c22=_0x419911;return this[_0x426c22(0x218)]=_0x3acc75,this;}[_0x419911(0x1ae)](_0x11ae3a){const _0x253f01=_0x419911;return this[_0x253f01(0x1a7)]=_0x11ae3a,this;}[_0x419911(0x1f3)](_0x1a4b4e){const _0x560724=_0x419911;return this[_0x560724(0x17d)]=_0x1a4b4e,this;}[_0x419911(0x174)](){const _0xcbb2e0=_0x419911,_0x3d2bd=super['build']();_0x3d2bd['chartType']=_0x3ed09e['Pie'];const _0x28e4de=_0x3d2bd[_0xcbb2e0(0x1a2)]||{};return s(_0x28e4de,'pie.doughnutHole',this['doughnutHole']),s(_0x28e4de,_0xcbb2e0(0x1fb),this[_0xcbb2e0(0x1f2)]),s(_0x28e4de,'pie.hasPaddingAngle',this[_0xcbb2e0(0x176)]),s(_0x28e4de,_0xcbb2e0(0x20c),this['isHalfPie']),s(_0x28e4de,'pie.rosePie',this[_0xcbb2e0(0x1a7)]),s(_0x28e4de,'pie.showLabelLine',this[_0xcbb2e0(0x17d)]),_0x3d2bd[_0xcbb2e0(0x1a2)]=_0x28e4de,_0x3d2bd;}}class rt extends c{[_0x419911(0x1c8)](){const _0x3af751=_0x419911;return new st(this[_0x3af751(0x221)],this[_0x3af751(0x1b5)],this[_0x3af751(0x1a6)],this[_0x3af751(0x217)],this[_0x3af751(0x18a)]);}}c['extend'](rt);class ot extends c{constructor(_0x30a26c,_0x3574d7,_0x6522d5,_0x2353e1,_0x32d766){const _0x4bf2e7=_0x419911;super(_0x30a26c,_0x3574d7,_0x6522d5,_0x2353e1,_0x32d766),n(this,_0x4bf2e7(0x19f)),n(this,'fill');}[_0x419911(0x194)](_0x34d5a3){const _0x168861=_0x419911;return this[_0x168861(0x19f)]=_0x34d5a3,this;}[_0x419911(0x1b9)](_0x594827){const _0xe788df=_0x419911;return this[_0xe788df(0x1ff)]=_0x594827,this;}[_0x419911(0x174)](){const _0x3bc6db=_0x419911,_0x1221bb=super[_0x3bc6db(0x174)]();_0x1221bb[_0x3bc6db(0x1ec)]=_0x3ed09e[_0x3bc6db(0x223)];const _0x4c5c8e=_0x1221bb[_0x3bc6db(0x1a2)]||{};return s(_0x4c5c8e,'radar.shape',this[_0x3bc6db(0x19f)]),s(_0x4c5c8e,_0x3bc6db(0x17b),this['fill']),_0x1221bb['options']=_0x4c5c8e,_0x1221bb;}}class nt extends c{['asRadarChart'](){const _0x18a2d4=_0x419911;return new ot(this[_0x18a2d4(0x221)],this['subUnitId'],this[_0x18a2d4(0x1a6)],this[_0x18a2d4(0x217)],this['chartId']);}}c[_0x419911(0x227)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};