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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
@@ -1 +1 @@
1
- 'use strict';const _0x50aad1=_0x3c8e;function _0x3c74(){const _0x3f44c2=['瀑布圖','桑基圖不能包含循環數據','空心針形','顯示小計','指示值','面積圖','重複詞雲標籤','逆序軸','標題格式','顯示公式','圖表和軸標題','小數位數','主網格線','數據標籤','指示標籤','股票圖','請先添加系列開始數據可視化','線類型','玫瑰圖','數據點樣式','編輯圖表','柱狀圖','折線圖','堆疊條形圖','移動平均','圓角矩形','{0}\x20格式','正值圖例文本','百分比','小計圖例文本','主刻度線','氣泡圖至少需要2欄,X軸、Y軸。','格式類型','7736088ZqdpHm','顯示R平方','使用值作為節點大小','使用右軸','第一四分位數','力導向','左對齊','小計樣式','排列圖','最小值','標題對齊','圖表數據源必須包含多於1列和1欄。','所有系列','百分比堆疊','隱藏圖表面板','添加數據點','右對齊','常規格式不包含任何特定的數字格式。','数值比例','空心菱形','使用絕對值','圓環孔','熱力圖','{0}\x20透明度','貨幣類型','旋轉標籤','類別\x20{0}','垂直軸','力導向選項','日期類型','箱型圖','堆疊方式','設置圖表','環形圖','第\x20{0}\x20項','27BsJOie','組合圖','漏斗圖','刪除圖表','用直線連接數據點','Y軸標題','顯示標籤線','千分位符','数值后缀','刻度線位置','{0}\x20粗細','1736088EtCxJS','中位數','多項式','多項式階數','節點距離','趨勢線顏色','510687yOGRYr','空心箭頭','字段設置','三角形','exports','顯示空單元格為','第三四分位數','多邊形','最大值','717165EVeiBe','右Y軸標題','標籤位置','1086463xZlJup','漸變填充','詞雲圖','右垂直軸','插入圖表','條形圖','系列\x20{0}','空心正方形','使用\x20{0}\x20作為類別標籤','4CCJsNN','氣泡標籤','數據點','添加趨勢線','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','{0}\x20大小','開啟選中淡入特效','空心三角形','日期格式將日期和時間系列數值顯示為日期值。','氣泡圖','指示線顏色','趨勢線粗細','背景顏色','網格線','百分比堆疊條形圖','累積占比','1236498SJkMGa','R平方','累積占比系列','趨勢線線類型','(空)','{0}\x20顏色','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','顯示標籤','更多設置','{0}\x20形狀','日期軸僅在數據全部為日期格式時可用','顯示數據標籤','1DWizeo','圖表樣式','切換列或欄','副標題','網格線和刻度線','負數類型','空心圓角矩形','移動平均周期','20864060mdNDrw','設置標籤格式','趨勢線名稱','百分比堆疊面積圖','關係圖','扇形間距','X軸標題','氣泡大小','軸選項','刻度線長度','圖表類型','視覺映射範圍','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','堆疊面積圖','標題位置'];_0x3c74=function(){return _0x3f44c2;};return _0x3c74();}(function(_0x17717a,_0x486db7){const _0x140e24=_0x3c8e,_0x13b962=_0x17717a();while(!![]){try{const _0x72872b=parseInt(_0x140e24(0x197))/0x1*(-parseInt(_0x140e24(0x18b))/0x2)+-parseInt(_0x140e24(0x203))/0x3*(parseInt(_0x140e24(0x17b))/0x4)+parseInt(_0x140e24(0x20c))/0x5+-parseInt(_0x140e24(0x1cf))/0x6+-parseInt(_0x140e24(0x20f))/0x7+parseInt(_0x140e24(0x1fd))/0x8*(parseInt(_0x140e24(0x1f2))/0x9)+parseInt(_0x140e24(0x19f))/0xa;if(_0x72872b===_0x486db7)break;else _0x13b962['push'](_0x13b962['shift']());}catch(_0x297534){_0x13b962['push'](_0x13b962['shift']());}}}(_0x3c74,0x9e29d));function _0x3c8e(_0x4b6de0,_0x3c9ea7){_0x4b6de0=_0x4b6de0-0x179;const _0x3c74f9=_0x3c74();let _0x3c8ec5=_0x3c74f9[_0x4b6de0];return _0x3c8ec5;}const e={'chart':{'insertChart':_0x50aad1(0x213),'editChart':_0x50aad1(0x1c2),'openChartPanel':'打開圖表面板','deleteChart':_0x50aad1(0x1f5),'hideChartPanel':_0x50aad1(0x1dd),'setupChart':_0x50aad1(0x1ef),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x50aad1(0x1a9),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x50aad1(0x1db),'series':'系列','addSeries':'添加系列','moreSettings':_0x50aad1(0x193),'min':_0x50aad1(0x1d8),'max':_0x50aad1(0x20b),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x50aad1(0x1f6)},'blank':_0x50aad1(0x18f),'seriesBlock':{'format':'格式','dataPointStyle':_0x50aad1(0x1c1)},'backgroundColor':_0x50aad1(0x187),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x50aad1(0x19a),'xAxisTitle':_0x50aad1(0x1a5),'yAxisTitle':_0x50aad1(0x1f7),'rightYAxisTitle':_0x50aad1(0x20d),'titleFormat':_0x50aad1(0x1b6),'titleText':'標題文本','titlePosition':_0x50aad1(0x1ad),'titleAlign':_0x50aad1(0x1d9)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x50aad1(0x210),'settingsLabels':{'switchToRowOrColumn':_0x50aad1(0x199),'useAsCategoryLabels':_0x50aad1(0x17a),'showEmptyCellsAs':_0x50aad1(0x208)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x50aad1(0x1d5),'center':'居中','right':_0x50aad1(0x1df)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x50aad1(0x198),'chartAndAxisTitles':_0x50aad1(0x1b8),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x50aad1(0x1a7),'horizontalAxis':'水平軸','verticalAxis':_0x50aad1(0x1ea),'rightVerticalAxis':_0x50aad1(0x212),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x50aad1(0x1d2)},'position':'位置','dataLabels':_0x50aad1(0x1bb),'gridlinesAndTicks':_0x50aad1(0x19b),'indicatorLine':'指示線','indicatorLineType':'指示線類型','indicatorLineColor':_0x50aad1(0x185),'indicatorLabel':_0x50aad1(0x1bc),'indicatorValue':_0x50aad1(0x1b2),'shape':{'polygon':_0x50aad1(0x20a),'circle':'圓形','square':'正方形','triangle':_0x50aad1(0x206),'diamond':'菱形','rect':'矩形','roundRect':_0x50aad1(0x1c7),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x50aad1(0x179),'emptyTriangle':_0x50aad1(0x182),'emptyDiamond':_0x50aad1(0x1e2),'emptyRect':'空心矩形','emptyRoundRect':_0x50aad1(0x19d),'emptyPin':_0x50aad1(0x1b0),'emptyArrow':_0x50aad1(0x204)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x50aad1(0x1e6),'withColor':_0x50aad1(0x190),'withThickness':_0x50aad1(0x1fc),'withType':'{0}\x20類型','withSize':_0x50aad1(0x180),'withShape':_0x50aad1(0x194),'withFormat':_0x50aad1(0x1c8),'dataPoint':_0x50aad1(0x17d),'dataNodeShape':'節點形狀','addDataPoint':_0x50aad1(0x1de),'point':'數據點','percentage':_0x50aad1(0x1ca),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x50aad1(0x1dc)},'lineDashType':_0x50aad1(0x1bf),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x50aad1(0x1ba),'text':_0x50aad1(0x188)},'ticks':{'majorTick':_0x50aad1(0x1cc),'tickPosition':_0x50aad1(0x1fb),'tickLength':_0x50aad1(0x1a8)},'none':'無','theIndexItem':_0x50aad1(0x1f1),'seriesDefaultName':_0x50aad1(0x215),'categoryDefaultName':_0x50aad1(0x1e9),'styleEditPanel':{'showLabels':_0x50aad1(0x192),'showDataLabels':_0x50aad1(0x196),'padAngle':_0x50aad1(0x1a4),'halfPie':'半餅','rosePie':_0x50aad1(0x1c0),'pieValScale':_0x50aad1(0x1e1),'pieValSuffix':_0x50aad1(0x1fa),'pieDigitalFixed':_0x50aad1(0x1b9),'showLabelLine':_0x50aad1(0x1f8),'reverseAxisOrder':_0x50aad1(0x1b5),'showAxisLine':'顯示軸線','labelPosition':_0x50aad1(0x20e),'labelText':'標籤文本','repeatWordCould':_0x50aad1(0x1b4),'gap':'間隔','useAbsValue':_0x50aad1(0x1e3),'labelRotate':'標籤旋轉','wordCloudShape':'詞雲形狀','useDateAxis':'使用日期軸','dateAxisTips':_0x50aad1(0x195)},'radar':{'fill':'填充'},'doughnutHole':_0x50aad1(0x1e4),'msg':{'invalidSource':_0x50aad1(0x1da),'emptyTips':_0x50aad1(0x1be),'sankeyCircularTips':_0x50aad1(0x1af)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x50aad1(0x1a1),'addTrendLine':_0x50aad1(0x17e),'trendlineType':'趨勢線類型','trendlineName':_0x50aad1(0x1a1),'trendlineColor':_0x50aad1(0x202),'trendlineThickness':_0x50aad1(0x186),'trendlineDashType':_0x50aad1(0x18e),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x50aad1(0x1c6),'poly':_0x50aad1(0x1ff),'order':_0x50aad1(0x200),'period':_0x50aad1(0x19e),'showFormula':_0x50aad1(0x1b7),'showR2':_0x50aad1(0x1d0),'formula':'公式','r2':_0x50aad1(0x18c)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x50aad1(0x1a6),'label':_0x50aad1(0x17c),'emptyTips':_0x50aad1(0x1cd)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x50aad1(0x1d4),'useValueAsSymbolSize':_0x50aad1(0x1d1),'layoutType':'佈局類型','forceOptions':_0x50aad1(0x1eb),'repulsion':'斥力','gravity':'引力','edgeLength':_0x50aad1(0x201),'rotateLabel':_0x50aad1(0x1e8),'emphasis':_0x50aad1(0x181),'emptyTips':_0x50aad1(0x1ab)},'waterfall':{'stackType':_0x50aad1(0x1ee),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x50aad1(0x1b1),'positiveStyle':'正值樣式','negativeStyle':'負值樣式','subtotalStyle':_0x50aad1(0x1d6),'positiveLegendText':_0x50aad1(0x1c9),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0x50aad1(0x1cb)},'pareto':{'lineName':_0x50aad1(0x18a),'lineSeries':_0x50aad1(0x18d),'barSeries':'長條圖系列'},'visualMapScope':_0x50aad1(0x1aa),'boxplot':{'min':'最小值','q1':_0x50aad1(0x1d3),'median':_0x50aad1(0x1fe),'q3':_0x50aad1(0x209),'max':_0x50aad1(0x20b)}},'chartTypes':{'line':_0x50aad1(0x1c4),'area':_0x50aad1(0x1b3),'areaStacked':_0x50aad1(0x1ac),'areaPercentStacked':_0x50aad1(0x1a2),'column':_0x50aad1(0x1c3),'bar':_0x50aad1(0x214),'barStacked':_0x50aad1(0x1c5),'barPercentStacked':_0x50aad1(0x189),'pie':'餅圖','donut':_0x50aad1(0x1f0),'scatter':'散點圖','radar':'雷達圖','bubble':_0x50aad1(0x184),'stock':_0x50aad1(0x1bd),'combination':_0x50aad1(0x1f3),'wordCloud':_0x50aad1(0x211),'funnel':_0x50aad1(0x1f4),'relation':_0x50aad1(0x1a3),'waterfall':_0x50aad1(0x1ae),'pareto':_0x50aad1(0x1d7),'sankey':'桑基圖','heatmap':_0x50aad1(0x1e5),'boxplot':_0x50aad1(0x1ed)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x50aad1(0x1f9),'fieldSetting':_0x50aad1(0x205),'formatTypes':_0x50aad1(0x1ce),'confirm':'確定','cancel':'取消','generalDesc':_0x50aad1(0x1e0),'accountingDesc':_0x50aad1(0x191),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x50aad1(0x183),'thousandthPercentileDesc':_0x50aad1(0x17f),'decimalPlaces':_0x50aad1(0x1b9),'currencyTypes':_0x50aad1(0x1e7),'negativeNumberTypes':_0x50aad1(0x19c),'dateTypes':_0x50aad1(0x1ec)},'setFormat':_0x50aad1(0x1a0)}};module[_0x50aad1(0x207)]=e;
1
+ 'use strict';const _0x5e4301=_0xa97b;(function(_0x2f2bac,_0x60ac33){const _0x455ed8=_0xa97b,_0x11ac08=_0x2f2bac();while(!![]){try{const _0x19f2e9=parseInt(_0x455ed8(0xdd))/0x1+parseInt(_0x455ed8(0x105))/0x2+parseInt(_0x455ed8(0x10b))/0x3+-parseInt(_0x455ed8(0xd7))/0x4*(parseInt(_0x455ed8(0x112))/0x5)+-parseInt(_0x455ed8(0xf4))/0x6*(parseInt(_0x455ed8(0xe2))/0x7)+parseInt(_0x455ed8(0xa9))/0x8+-parseInt(_0x455ed8(0x9d))/0x9;if(_0x19f2e9===_0x60ac33)break;else _0x11ac08['push'](_0x11ac08['shift']());}catch(_0x2c5bb8){_0x11ac08['push'](_0x11ac08['shift']());}}}(_0x519b,0xaab5e));function _0x519b(){const _0x5b0e7f=['小數位數','百分比堆疊條形圖','顯示軸線','9585225nmAbpy','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','隱藏圖表面板','指示標籤','小計樣式','{0}\x20透明度','趨勢線類型','扇形間距','千分位符','編輯圖表','顯示數據標籤','多項式階數','7337048APJzRm','柱狀圖','節點距離','百分比堆疊面積圖','標籤文本','線類型','用直線連接數據點','使用值作為節點大小','{0}\x20顏色','負數類型','空心箭頭','Y軸標題','折線圖','數據點樣式','數據範圍','空心圓形','垂直軸','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','圖表數據源必須包含多於1列和1欄。','網格線','氣泡大小','指示線','{0}\x20大小','三角形','顯示標籤線','日期格式將日期和時間系列數值顯示為日期值。','中位數','右對齊','指示值','堆疊面積圖','請先添加系列開始數據可視化','插入圖表','標題格式','exports','重複詞雲標籤','股票圖','排列圖','指示線顏色','系列\x20{0}','貨幣類型','日期類型','空心三角形','正值樣式','趨勢線名稱','顯示標籤','多邊形','36KFGIIN','氣泡圖','條形圖','佈局類型','百分比','打開圖表面板','672471sOzMMN','主標題','漸變填充','圓環孔','面積圖','3189592AadSAg','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','堆疊條形圖','所有系列','力導向','自定義圖表','最小值','漏斗圖','X軸標題','設置圖表','網格線和刻度線','数值后缀','負值圖例文本','熱力圖','氣泡圖至少需要2欄,X軸、Y軸。','正方形','左對齊','第\x20{0}\x20','6FuDdeo','空心圓角矩形','堆疊方式','顯示小計','百分比堆疊','圖例選擇模式','第三四分位數','累積占比系列','正值圖例文本','{0}\x20格式','詞雲形狀','力導向選項','數據點','空心針形','標題對齊','格式類型','逆序軸','1430106AcnsjP','(空)','設置標籤格式','主刻度線','字段設置','顯示空單元格為','2407374OXoYej','瀑布圖','移動平均','圖表類型','組合圖','第一四分位數','空心正方形','492890Qbkpmc','開啟選中淡入特效','顯示公式','玫瑰圖','背景顏色','右垂直軸','最大值','{0}\x20類型','軸選項','趨勢線顏色','刪除圖表','散點圖','氣泡標籤','更多設置','數據標籤','圖表樣式','雷達圖','{0}\x20粗細','日期軸僅在數據全部為日期格式時可用','箱型圖'];_0x519b=function(){return _0x5b0e7f;};return _0x519b();}function _0xa97b(_0x3b668e,_0x112874){_0x3b668e=_0x3b668e-0x94;const _0x519b12=_0x519b();let _0xa97b3f=_0x519b12[_0x3b668e];return _0xa97b3f;}const e={'chart':{'insertChart':_0x5e4301(0xc8),'editChart':_0x5e4301(0xa6),'openChartPanel':_0x5e4301(0xdc),'deleteChart':_0x5e4301(0x11c),'hideChartPanel':_0x5e4301(0x9f),'setupChart':_0x5e4301(0xeb),'customChart':_0x5e4301(0xe7),'default':'默認','reset':'重置','chartType':_0x5e4301(0x10e),'themes':'主題','dataRange':_0x5e4301(0xb7),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x5e4301(0xe5),'series':'系列','addSeries':'添加系列','moreSettings':_0x5e4301(0x11f),'min':_0x5e4301(0xe8),'max':_0x5e4301(0x118),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x5e4301(0xaf)},'blank':_0x5e4301(0x106),'seriesBlock':{'format':'格式','dataPointStyle':_0x5e4301(0xb6)},'backgroundColor':_0x5e4301(0x116),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x5e4301(0xde),'subTitle':'副標題','xAxisTitle':_0x5e4301(0xea),'yAxisTitle':'Y軸標題','rightYAxisTitle':_0x5e4301(0xb4),'titleFormat':_0x5e4301(0xc9),'titleText':'標題文本','titlePosition':'標題位置','titleAlign':_0x5e4301(0x102)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x5e4301(0xdf),'settingsLabels':{'switchToRowOrColumn':'切換列或欄','useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x5e4301(0x10a)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x5e4301(0xf2),'center':'居中','right':_0x5e4301(0xc4)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x5e4301(0x95),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x5e4301(0xf9),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x5e4301(0x11a),'horizontalAxis':'水平軸','verticalAxis':_0x5e4301(0xb9),'rightVerticalAxis':_0x5e4301(0x117),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':_0x5e4301(0x94),'gridlinesAndTicks':_0x5e4301(0xec),'indicatorLine':_0x5e4301(0xbe),'indicatorLineType':'指示線類型','indicatorLineColor':_0x5e4301(0xce),'indicatorLabel':_0x5e4301(0xa0),'indicatorValue':_0x5e4301(0xc5),'shape':{'polygon':_0x5e4301(0xd6),'circle':'圓形','square':_0x5e4301(0xf1),'triangle':_0x5e4301(0xc0),'diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x5e4301(0xb8),'emptySquare':_0x5e4301(0x111),'emptyTriangle':_0x5e4301(0xd2),'emptyDiamond':'空心菱形','emptyRect':'空心矩形','emptyRoundRect':_0x5e4301(0xf5),'emptyPin':_0x5e4301(0x101),'emptyArrow':_0x5e4301(0xb3)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x5e4301(0xa2),'withColor':_0x5e4301(0xb1),'withThickness':_0x5e4301(0x97),'withType':_0x5e4301(0x119),'withSize':_0x5e4301(0xbf),'withShape':'{0}\x20形狀','withFormat':_0x5e4301(0xfd),'dataPoint':_0x5e4301(0x100),'dataNodeShape':'節點形狀','addDataPoint':'添加數據點','point':'數據點','percentage':_0x5e4301(0xdb),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x5e4301(0xf8)},'lineDashType':_0x5e4301(0xae),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x5e4301(0xbc)},'ticks':{'majorTick':_0x5e4301(0x108),'tickPosition':'刻度線位置','tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x5e4301(0xf3),'seriesDefaultName':_0x5e4301(0xcf),'categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':_0x5e4301(0xd5),'showDataLabels':_0x5e4301(0xa7),'padAngle':_0x5e4301(0xa4),'halfPie':'半餅','rosePie':_0x5e4301(0x115),'pieValScale':'数值比例','pieValSuffix':_0x5e4301(0xed),'pieDigitalFixed':'小數位數','showLabelLine':_0x5e4301(0xc1),'reverseAxisOrder':_0x5e4301(0x104),'showAxisLine':_0x5e4301(0x9c),'labelPosition':'標籤位置','labelText':_0x5e4301(0xad),'repeatWordCould':_0x5e4301(0xcb),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':'標籤旋轉','wordCloudShape':_0x5e4301(0xfe),'useDateAxis':'使用日期軸','dateAxisTips':_0x5e4301(0x98)},'radar':{'fill':'填充'},'doughnutHole':_0x5e4301(0xe0),'msg':{'invalidSource':_0x5e4301(0xbb),'emptyTips':_0x5e4301(0xc7),'sankeyCircularTips':'桑基圖不能包含循環數據'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x5e4301(0xd4),'addTrendLine':'添加趨勢線','trendlineType':_0x5e4301(0xa3),'trendlineName':_0x5e4301(0xd4),'trendlineColor':_0x5e4301(0x11b),'trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x5e4301(0x10d),'poly':'多項式','order':_0x5e4301(0xa8),'period':'移動平均周期','showFormula':_0x5e4301(0x114),'showR2':'顯示R平方','formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x5e4301(0xbd),'label':_0x5e4301(0x11e),'emptyTips':_0x5e4301(0xf0)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x5e4301(0xe6),'useValueAsSymbolSize':_0x5e4301(0xb0),'layoutType':_0x5e4301(0xda),'forceOptions':_0x5e4301(0xff),'repulsion':'斥力','gravity':'引力','edgeLength':_0x5e4301(0xab),'rotateLabel':'旋轉標籤','emphasis':_0x5e4301(0x113),'emptyTips':_0x5e4301(0xba)},'waterfall':{'stackType':_0x5e4301(0xf6),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x5e4301(0xf7),'positiveStyle':_0x5e4301(0xd3),'negativeStyle':'負值樣式','subtotalStyle':_0x5e4301(0xa1),'positiveLegendText':_0x5e4301(0xfc),'negativeLegendText':_0x5e4301(0xee),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':'累積占比','lineSeries':_0x5e4301(0xfb),'barSeries':'長條圖系列'},'visualMapScope':'視覺映射範圍','boxplot':{'min':_0x5e4301(0xe8),'q1':_0x5e4301(0x110),'median':_0x5e4301(0xc3),'q3':_0x5e4301(0xfa),'max':'最大值'}},'chartTypes':{'line':_0x5e4301(0xb5),'area':_0x5e4301(0xe1),'areaStacked':_0x5e4301(0xc6),'areaPercentStacked':_0x5e4301(0xac),'column':_0x5e4301(0xaa),'bar':_0x5e4301(0xd9),'barStacked':_0x5e4301(0xe4),'barPercentStacked':_0x5e4301(0x9b),'pie':'餅圖','donut':'環形圖','scatter':_0x5e4301(0x11d),'radar':_0x5e4301(0x96),'bubble':_0x5e4301(0xd8),'stock':_0x5e4301(0xcc),'combination':_0x5e4301(0x10f),'wordCloud':'詞雲圖','funnel':_0x5e4301(0xe9),'relation':'關係圖','waterfall':_0x5e4301(0x10c),'pareto':_0x5e4301(0xcd),'sankey':'桑基圖','heatmap':_0x5e4301(0xef),'boxplot':_0x5e4301(0x99)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x5e4301(0xa5),'fieldSetting':_0x5e4301(0x109),'formatTypes':_0x5e4301(0x103),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x5e4301(0x9e),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x5e4301(0xc2),'thousandthPercentileDesc':_0x5e4301(0xe3),'decimalPlaces':_0x5e4301(0x9a),'currencyTypes':_0x5e4301(0xd0),'negativeNumberTypes':_0x5e4301(0xb2),'dateTypes':_0x5e4301(0xd1)},'setFormat':_0x5e4301(0x107)}};module[_0x5e4301(0xca)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x10944c=_0x41e3;(function(_0x185292,_0xd34933){const _0x1736fa=_0x41e3,_0x51463e=_0x185292();while(!![]){try{const _0x3b490f=parseInt(_0x1736fa(0x1ec))/0x1+-parseInt(_0x1736fa(0x168))/0x2*(parseInt(_0x1736fa(0x17c))/0x3)+-parseInt(_0x1736fa(0x1e5))/0x4+-parseInt(_0x1736fa(0x183))/0x5+parseInt(_0x1736fa(0x1c5))/0x6*(-parseInt(_0x1736fa(0x175))/0x7)+parseInt(_0x1736fa(0x1a2))/0x8*(parseInt(_0x1736fa(0x207))/0x9)+parseInt(_0x1736fa(0x1b1))/0xa*(parseInt(_0x1736fa(0x16a))/0xb);if(_0x3b490f===_0xd34933)break;else _0x51463e['push'](_0x51463e['shift']());}catch(_0xf61b3c){_0x51463e['push'](_0x51463e['shift']());}}}(_0x4c1c,0xa5428));var R=Object[_0x10944c(0x1d5)],k=(_0x131975,_0x2d0c3a,_0x3fe063)=>_0x2d0c3a in _0x131975?R(_0x131975,_0x2d0c3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fe063}):_0x131975[_0x2d0c3a]=_0x3fe063,n=(_0x59b8d0,_0x301d1c,_0x4eba7e)=>k(_0x59b8d0,typeof _0x301d1c!='symbol'?_0x301d1c+'':_0x301d1c,_0x4eba7e);import{ChartThemeService as _0x20527d,ChartTypeBits as _0x5a09f2,LegendPositionEnum as _0x521b07,SelectModeEnum as _0x5bfc91,AxisAlignEnum as _0x57109a,ChartBorderDashType as _0x2fae8d,LinePointShape as _0x1f0eb7,TitlePositionEnum as _0x40cf4c,RadarShape as _0x50d29d}from'@univerjs-pro/engine-chart';function _0x4c1c(){const _0x2c614b=['showLabelLine','SelectModeEnum','tooltip.indicatorLineColor','4529532LJMTmE','allSeriesStyle.point.size','titles.xAxisTitle.fontSize','titles.yAxisTitle.bold','titleAlignment','isRowDirection','_workbook','setDataPointShape','modify','color','radar','yAxis.label.axisTitleAlign','get','pie.rosePie','titles.rightYAxisTitle.color','with','defineProperty','titles.yAxisTitle.fontSize','content','legend.position','registerTheme','dataSource','titles.rightYAxisTitle.font','getSheetId','setHasPaddingAngle','registerChartTheme','updateRange','setDataPointSize','title','getRangeInfo','Radar','_injector','2834212hjcwKn','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','transposeRowsAndColumns','isHalfPie','RadarShape','options','config','1186427fJgAyn','setTheme','pie.doughnutHole','getRange','area','axisPointer','titles.title.align','fontSize','titles.rightYAxisTitle.family','fill','range','indicatorLineType','getRenderById','yRightAxis','sheetName','width','_commandService','setDoughnutHole','getUnitChartModels','extend','legend','LegendPositionEnum','setShape','build','allSeriesStyle.label','theme','setTransposeRowsAndColumns','9xzcaPh','getCharts','titles.rightYAxisTitle.fontSize','font','height','yAxisTitle','titles.titlePosition','keys','style','yAxis','pie.hasPaddingAngle','titles.xAxisTitle.color','seriesStyleMap','radar.shape','setXAxisTitle','label','allSeriesStyle.point.shape','removeChart','setBorderColor','allSeriesStyle.color','tooltip.indicatorLineType','getChartModel','40WQFKUX','TitlePositionEnum','19681057YxClHr','legend.label.italic','addRange','chartId','dataPointSize','pie.borderColor','getCurrentUnitForType','series','legend.label.fontSize','Line','setAxisPointerStyle','7hELUVh','titles.yAxisTitle.content','rightYAxisTitle','borderColor','getSeriesData','setAbsolutePosition','setSeriesStyle','144219oNLKRR','dataPointShape','insertChart','indicatorLabelColor','shape','setHeight','setRightYAxisTextStyle','889760pMRaQc','setLineStyle','context','point','ChartBorderDashType','tooltip.indicatorLabelTextColor','area.lineStyle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','newChart','xAxis','asLineChart','pie.showLabelLine','selectMode','chartType','titles.title.fontSize','doughnutHole','titles.yAxisTitle.family','setXAxisTextStyle','bold','allSeriesStyle.border','asPieChart','pie.isHalfPie','invalidValueType','setPosition','position','gradientFill','titles.xAxisTitle.bold','executeCommand','sourceSheetName','titles.title.content','titles.rightYAxisTitle.content','2433416SaUagR','titles.xAxisTitle.font','dataPointColor','fontColor','titles.title.color','rightYAxis.label.axisTitleAlign','lineStyle','setFill','getWorkbook','axisAlignment','setYAxisTextStyle','unitId','setWidth','legend.label.color','setYAxisTitle','10eAfbGZ','getChartType','asRadarChart','allSeriesStyle.rightYAxis','updateChart','xAxisTitle','italic','rosePie','indicatorLineColor','getUnitId','getCategoryData','setDataPointColor','hasPaddingAngle','fontStyle','allSeriesStyle','subUnitId','setOptions'];_0x4c1c=function(){return _0x2c614b;};return _0x4c1c();}import{setProperty as _0x29f036,SheetsChartService as _0x20c9fa,ChartUpdateSourceCommand as _0x3572ae,ChartUpdateConfigCommand as _0x7599d8}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x27bf68}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x517e7b,IUniverInstanceService as _0x35dffc,UniverInstanceType as _0x547afe,generateRandomId as _0x11d337,DrawingTypeEnum as _0x32cc3e}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x47a34a}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x17a4af}from'@univerjs/sheets/facade';import{FBase as _0x3b84a3,FEnum as _0x3844c7}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x4eca41}from'@univerjs/engine-formula';import{IRenderManagerService as _0x95dd3c}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x493398,SheetSkeletonManagerService as _0x38ed0f,convertPositionCellToSheetOverGrid as _0x38c2ab}from'@univerjs/sheets-ui';const s=(_0x16647b,_0x2d91ea,_0x50059d)=>{_0x50059d!==void 0x0&&_0x29f036(_0x16647b,_0x2d91ea,_0x50059d);},C=(_0x3912d4,_0x1f1ef3,_0x382485,_0x4bbe7d={})=>{const _0x28e0e4=_0x10944c,_0x200afb={},_0x1dd2ea={};if(_0x4bbe7d['title']){const _0x5c8345=_0x4bbe7d[_0x28e0e4(0x1e1)];s(_0x200afb,_0x28e0e4(0x1a0),_0x5c8345['content']),s(_0x200afb,'titles.title.font',_0x5c8345['font']),s(_0x200afb,_0x28e0e4(0x191),_0x5c8345['fontSize']),s(_0x200afb,_0x28e0e4(0x1a6),_0x5c8345[_0x28e0e4(0x1a5)]),s(_0x200afb,'titles.title.family',_0x5c8345[_0x28e0e4(0x1be)]),s(_0x200afb,'titles.title.bold',_0x5c8345[_0x28e0e4(0x195)]),s(_0x200afb,_0x28e0e4(0x1f2),_0x5c8345[_0x28e0e4(0x1c9)]),s(_0x200afb,_0x28e0e4(0x158),_0x5c8345[_0x28e0e4(0x19b)]);}if(_0x4bbe7d[_0x28e0e4(0x200)]){const _0x5405cf=_0x4bbe7d[_0x28e0e4(0x200)];s(_0x200afb,_0x28e0e4(0x1d8),_0x5405cf[_0x28e0e4(0x19b)]),s(_0x200afb,'legend.selectMode',_0x5405cf[_0x28e0e4(0x18f)]),s(_0x200afb,_0x28e0e4(0x172),_0x5405cf['fontSize']),s(_0x200afb,_0x28e0e4(0x1af),_0x5405cf[_0x28e0e4(0x1ce)]),s(_0x200afb,'legend.label.bold',_0x5405cf['bold']),s(_0x200afb,_0x28e0e4(0x16b),_0x5405cf[_0x28e0e4(0x1b7)]);}if(_0x4bbe7d['pie']){const _0x5d103a=_0x4bbe7d['pie'];s(_0x200afb,_0x28e0e4(0x1ee),_0x5d103a[_0x28e0e4(0x192)]),s(_0x200afb,'pie.borderColor',_0x5d103a[_0x28e0e4(0x178)]),s(_0x200afb,_0x28e0e4(0x15c),_0x5d103a['hasPaddingAngle']),s(_0x200afb,_0x28e0e4(0x198),_0x5d103a[_0x28e0e4(0x1e8)]),s(_0x200afb,_0x28e0e4(0x1d2),_0x5d103a[_0x28e0e4(0x1b8)]),s(_0x200afb,_0x28e0e4(0x18e),_0x5d103a[_0x28e0e4(0x1c2)]);}if(_0x4bbe7d[_0x28e0e4(0x1f1)]){const _0x1172f2=_0x4bbe7d[_0x28e0e4(0x1f1)];s(_0x200afb,'tooltip.indicatorLabelColor',_0x1172f2[_0x28e0e4(0x17f)]),s(_0x200afb,_0x28e0e4(0x166),_0x1172f2[_0x28e0e4(0x1f7)]),s(_0x200afb,_0x28e0e4(0x1c4),_0x1172f2[_0x28e0e4(0x1b9)]),s(_0x200afb,_0x28e0e4(0x188),_0x1172f2['indicatorLabelTextColor']);}if(_0x4bbe7d[_0x28e0e4(0x1bf)]&&(s(_0x200afb,_0x28e0e4(0x196),_0x4bbe7d[_0x28e0e4(0x1bf)]['border']),s(_0x200afb,_0x28e0e4(0x204),_0x4bbe7d[_0x28e0e4(0x1bf)][_0x28e0e4(0x161)]),s(_0x200afb,_0x28e0e4(0x1b4),_0x4bbe7d['allSeriesStyle']['rightYAxis']),s(_0x200afb,'allSeriesStyle.point',_0x4bbe7d[_0x28e0e4(0x1bf)][_0x28e0e4(0x186)]),s(_0x200afb,_0x28e0e4(0x165),_0x4bbe7d[_0x28e0e4(0x1bf)][_0x28e0e4(0x1ce)])),_0x4bbe7d[_0x28e0e4(0x1f0)]&&s(_0x200afb,_0x28e0e4(0x189),_0x4bbe7d['area'][_0x28e0e4(0x1a8)]),_0x4bbe7d[_0x28e0e4(0x205)]&&s(_0x200afb,_0x28e0e4(0x205),_0x4bbe7d[_0x28e0e4(0x205)]),_0x4bbe7d['backgroundColor']&&s(_0x200afb,'backgroundColor',_0x4bbe7d['backgroundColor']),_0x4bbe7d[_0x28e0e4(0x178)]&&s(_0x200afb,'borderColor',_0x4bbe7d[_0x28e0e4(0x178)]),_0x4bbe7d[_0x28e0e4(0x19c)]&&s(_0x200afb,_0x28e0e4(0x19c),_0x4bbe7d[_0x28e0e4(0x19c)]),_0x4bbe7d[_0x28e0e4(0x199)]&&s(_0x200afb,_0x28e0e4(0x199),_0x4bbe7d['invalidValueType']),_0x4bbe7d[_0x28e0e4(0x1cf)]&&s(_0x200afb,_0x28e0e4(0x1cf),_0x4bbe7d[_0x28e0e4(0x1cf)]),_0x4bbe7d[_0x28e0e4(0x1b6)]){const _0xa3374=_0x4bbe7d[_0x28e0e4(0x1b6)];s(_0x200afb,'titles.xAxisTitle.content',_0xa3374['content']),s(_0x200afb,_0x28e0e4(0x1a3),_0xa3374[_0x28e0e4(0x155)]),s(_0x200afb,_0x28e0e4(0x1c7),_0xa3374[_0x28e0e4(0x1f3)]),s(_0x200afb,_0x28e0e4(0x15d),_0xa3374[_0x28e0e4(0x1a5)]),s(_0x200afb,'titles.xAxisTitle.family',_0xa3374[_0x28e0e4(0x1be)]),s(_0x200afb,_0x28e0e4(0x19d),_0xa3374[_0x28e0e4(0x195)]),s(_0x200afb,'xAxis.label.axisTitleAlign',_0xa3374[_0x28e0e4(0x1ab)]);}if(_0x4bbe7d[_0x28e0e4(0x157)]){const _0x37fda5=_0x4bbe7d[_0x28e0e4(0x157)];s(_0x200afb,_0x28e0e4(0x176),_0x37fda5['content']),s(_0x200afb,'titles.yAxisTitle.font',_0x37fda5['font']),s(_0x200afb,_0x28e0e4(0x1d6),_0x37fda5[_0x28e0e4(0x1f3)]),s(_0x200afb,'titles.yAxisTitle.color',_0x37fda5[_0x28e0e4(0x1a5)]),s(_0x200afb,_0x28e0e4(0x193),_0x37fda5[_0x28e0e4(0x1be)]),s(_0x200afb,_0x28e0e4(0x1c8),_0x37fda5['bold']),s(_0x200afb,_0x28e0e4(0x1d0),_0x37fda5[_0x28e0e4(0x1ab)]);}if(_0x4bbe7d[_0x28e0e4(0x177)]){const _0x3aaa7e=_0x4bbe7d[_0x28e0e4(0x177)];s(_0x200afb,_0x28e0e4(0x1a1),_0x3aaa7e['content']),s(_0x200afb,_0x28e0e4(0x1db),_0x3aaa7e[_0x28e0e4(0x155)]),s(_0x200afb,_0x28e0e4(0x154),_0x3aaa7e[_0x28e0e4(0x1f3)]),s(_0x200afb,_0x28e0e4(0x1d3),_0x3aaa7e[_0x28e0e4(0x1a5)]),s(_0x200afb,_0x28e0e4(0x1f4),_0x3aaa7e[_0x28e0e4(0x1be)]),s(_0x200afb,'titles.rightYAxisTitle.bold',_0x3aaa7e[_0x28e0e4(0x195)]),s(_0x200afb,_0x28e0e4(0x1a7),_0x3aaa7e[_0x28e0e4(0x1ab)]);}_0x4bbe7d[_0x28e0e4(0x18c)]&&s(_0x200afb,_0x28e0e4(0x18c),_0x4bbe7d[_0x28e0e4(0x18c)]),_0x4bbe7d[_0x28e0e4(0x15b)]&&s(_0x200afb,_0x28e0e4(0x15b),_0x4bbe7d[_0x28e0e4(0x15b)]),_0x4bbe7d[_0x28e0e4(0x1f9)]&&s(_0x200afb,'rightYAxis',_0x4bbe7d[_0x28e0e4(0x1f9)]),_0x4bbe7d[_0x28e0e4(0x15e)]&&s(_0x200afb,_0x28e0e4(0x15e),_0x4bbe7d[_0x28e0e4(0x15e)]);const _0x502525={'unitId':_0x3912d4,'chartModelId':_0x1f1ef3};let _0x3d77f5=!0x1;if(_0x382485!==void 0x0&&(_0x502525[_0x28e0e4(0x190)]=_0x382485,_0x3d77f5=!0x0),Object['keys'](_0x200afb)['length']>0x0&&(_0x502525[_0x28e0e4(0x15a)]=_0x200afb,_0x3d77f5=!0x0),Object[_0x28e0e4(0x159)](_0x1dd2ea)['length']>0x0&&(_0x502525[_0x28e0e4(0x185)]=_0x1dd2ea,_0x3d77f5=!0x0),_0x3d77f5)return _0x502525;};class c extends _0x3b84a3{constructor(_0x322a89,_0x233c32,_0x7dffca,_0x3bbe6a,_0x177a2c){const _0x1abe82=_0x10944c;super(),n(this,'_workbook'),n(this,_0x1abe82(0x1e4)),n(this,_0x1abe82(0x1ad)),n(this,_0x1abe82(0x1c0)),n(this,_0x1abe82(0x16d)),n(this,_0x1abe82(0x1f6)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x1abe82(0x1fb)),n(this,_0x1abe82(0x156)),n(this,_0x1abe82(0x190)),n(this,_0x1abe82(0x1ea)),n(this,_0x1abe82(0x1e7)),(this['unitId']=_0x322a89,this[_0x1abe82(0x1c0)]=_0x233c32,this['_workbook']=_0x7dffca,this['_injector']=_0x3bbe6a,_0x177a2c&&(this[_0x1abe82(0x16d)]=_0x177a2c));}[_0x10944c(0x1b2)](){const _0x3c3c6a=_0x10944c;return this[_0x3c3c6a(0x190)];}[_0x10944c(0x16c)](_0x3f5a39){const _0x41a976=_0x10944c;if(typeof _0x3f5a39=='string'){const _0x57e0dd=_0x4eca41(_0x3f5a39);_0x57e0dd['sheetName']&&(this[_0x41a976(0x19f)]=_0x57e0dd[_0x41a976(0x1fa)]),this[_0x41a976(0x1f6)]=_0x57e0dd[_0x41a976(0x1f6)];}else this[_0x41a976(0x1f6)]=_0x3f5a39;return this;}['clearRange'](){const _0x16deea=_0x10944c;return this['range']=void 0x0,this[_0x16deea(0x19f)]=void 0x0,this;}[_0x10944c(0x19a)](_0x1e8e16,_0x254266,_0x372004,_0x3add08){const _0x49a412=_0x10944c,_0x14d6aa=this['_injector']['get'](_0x95dd3c)[_0x49a412(0x1f8)](this[_0x49a412(0x1ad)]);if(!_0x14d6aa)throw new Error(_0x49a412(0x18a));const _0x32b070=_0x14d6aa[_0x49a412(0x1d4)](_0x493398),_0x4d6d2a=_0x14d6aa[_0x49a412(0x1d4)](_0x38ed0f),{transform:_0x5d09bb}=_0x38c2ab(this[_0x49a412(0x1ad)],this[_0x49a412(0x1c0)],{'row':_0x1e8e16,'column':_0x254266,'rowOffset':_0x372004,'columnOffset':_0x3add08},0x1,0x1,_0x32b070,_0x4d6d2a),_0x465c39=_0x5d09bb['top'],_0x390eb8=_0x5d09bb['left'];return this['x']=_0x390eb8,this['y']=_0x465c39,this;}[_0x10944c(0x17a)](_0x15c707,_0x502d2c){return this['x']=_0x15c707,this['y']=_0x502d2c,this;}['setChartType'](_0x1d27f5){const _0x174fad=_0x10944c;return this[_0x174fad(0x190)]=_0x1d27f5,this;}[_0x10944c(0x1ae)](_0x298e21){return this['width']=_0x298e21,this;}[_0x10944c(0x181)](_0xe7e169){const _0x5de87a=_0x10944c;return this[_0x5de87a(0x156)]=_0xe7e169,this;}[_0x10944c(0x1c1)](_0x29746d,_0x1774eb){const _0x1f1ed2=_0x10944c;return this[_0x1f1ed2(0x1ea)]||(this[_0x1f1ed2(0x1ea)]={}),_0x29746d===''?(this[_0x1f1ed2(0x1ea)]={...this[_0x1f1ed2(0x1ea)],..._0x1774eb},this):(_0x29f036(this['options'],_0x29746d,_0x1774eb),this);}[_0x10944c(0x206)](_0x3e5382){const _0x5e72bb=_0x10944c;return this[_0x5e72bb(0x1e7)]=_0x3e5382,this;}[_0x10944c(0x1ed)](_0x53df14){const _0x140369=_0x10944c;return this[_0x140369(0x1c1)](_0x140369(0x205),_0x53df14),this;}[_0x10944c(0x160)](_0x597156){const _0x1c40a1=_0x10944c;var _0x4df304;const _0x415c17=((_0x4df304=this[_0x1c40a1(0x1ea)])==null?void 0x0:_0x4df304[_0x1c40a1(0x1b6)])||{};return _0x415c17['content']=_0x597156,this[_0x1c40a1(0x1c1)](_0x1c40a1(0x1b6),_0x415c17),this;}[_0x10944c(0x1b0)](_0x796d1){const _0x3b2bc9=_0x10944c;var _0x10af3e;const _0x2adc45=((_0x10af3e=this[_0x3b2bc9(0x1ea)])==null?void 0x0:_0x10af3e[_0x3b2bc9(0x157)])||{};return _0x2adc45[_0x3b2bc9(0x1d7)]=_0x796d1,this[_0x3b2bc9(0x1c1)](_0x3b2bc9(0x157),_0x2adc45),this;}['setRightYAxisTitle'](_0x50f28f){const _0x1f9688=_0x10944c;var _0x3fca26;const _0x56f0f5=((_0x3fca26=this[_0x1f9688(0x1ea)])==null?void 0x0:_0x3fca26[_0x1f9688(0x177)])||{};return _0x56f0f5[_0x1f9688(0x1d7)]=_0x50f28f,this['setOptions']('rightYAxisTitle',_0x56f0f5),this;}[_0x10944c(0x194)](_0x4ceadb){const _0x1e4bc8=_0x10944c;var _0x2ddfad;const _0x4ef886=((_0x2ddfad=this[_0x1e4bc8(0x1ea)])==null?void 0x0:_0x2ddfad['xAxisTitle'])||{};return this[_0x1e4bc8(0x1c1)](_0x1e4bc8(0x1b6),{..._0x4ef886,..._0x4ceadb}),this;}[_0x10944c(0x1ac)](_0x158763){const _0x3c30b9=_0x10944c;var _0x54b3f1;const _0x398e2a=((_0x54b3f1=this[_0x3c30b9(0x1ea)])==null?void 0x0:_0x54b3f1['yAxisTitle'])||{};return this[_0x3c30b9(0x1c1)](_0x3c30b9(0x157),{..._0x398e2a,..._0x158763}),this;}[_0x10944c(0x182)](_0x522a4f){const _0x2a38d9=_0x10944c;var _0x2cf872;const _0x4b7e20=((_0x2cf872=this[_0x2a38d9(0x1ea)])==null?void 0x0:_0x2cf872[_0x2a38d9(0x177)])||{};return this[_0x2a38d9(0x1c1)](_0x2a38d9(0x177),{..._0x4b7e20,..._0x522a4f}),this;}['setInvalidValueStrategy'](_0x341ea0){const _0x2e51ed=_0x10944c;return this[_0x2e51ed(0x1c1)](_0x2e51ed(0x199),_0x341ea0),this;}[_0x10944c(0x174)](_0x4677af){const _0x3215a9=_0x10944c;return this[_0x3215a9(0x1c1)](_0x3215a9(0x1f1),_0x4677af),this;}['setAllSeriesStyle'](_0x4b0ef8){const _0x1502f3=_0x10944c;return this['setOptions'](_0x1502f3(0x1bf),_0x4b0ef8),this;}[_0x10944c(0x17b)](_0x301045,_0x5ab5db){const _0x1a5176=_0x10944c;return this[_0x1a5176(0x1c1)](_0x1a5176(0x15e),{[_0x301045]:_0x5ab5db}),this;}[_0x10944c(0x203)](){const _0x3d1a23=_0x10944c;return{'unitId':this[_0x3d1a23(0x1ad)],'subUnitId':this['subUnitId'],'chartId':this[_0x3d1a23(0x16d)],'range':this[_0x3d1a23(0x1f6)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x3d1a23(0x1fb)],'height':this[_0x3d1a23(0x156)],'chartType':this[_0x3d1a23(0x190)],'options':this['options'],'isRowDirection':this['transposeRowsAndColumns']};}}class P{constructor(_0x540ad3,_0x4e3c30,_0x2fac1c,_0x8ce08c){const _0x3907da=_0x10944c;n(this,_0x3907da(0x1ad)),n(this,_0x3907da(0x1c0)),n(this,_0x3907da(0x16d)),n(this,_0x3907da(0x1e4)),(this[_0x3907da(0x1ad)]=_0x540ad3,this[_0x3907da(0x1c0)]=_0x4e3c30,this[_0x3907da(0x16d)]=_0x2fac1c,this[_0x3907da(0x1e4)]=_0x8ce08c);}['getChartId'](){return this['chartId'];}[_0x10944c(0x1ef)](){const _0x7b7f93=_0x10944c,_0x3bebba=this[_0x7b7f93(0x1e4)][_0x7b7f93(0x1d1)](_0x20c9fa)[_0x7b7f93(0x167)](this[_0x7b7f93(0x16d)]);if(_0x3bebba)return _0x3bebba[_0x7b7f93(0x1da)][_0x7b7f93(0x1e2)]();}[_0x10944c(0x1df)](_0x2c8687){const _0x5aeec3=_0x10944c;return this[_0x5aeec3(0x1e4)][_0x5aeec3(0x1d1)](_0x517e7b)[_0x5aeec3(0x19e)](_0x3572ae['id'],{'unitId':this['unitId'],'chartModelId':this['chartId'],'range':_0x2c8687});}[_0x10944c(0x179)](){const _0x4c6466=_0x10944c;var _0x293b95;const _0x265f49=this[_0x4c6466(0x1e4)][_0x4c6466(0x1d1)](_0x20c9fa)[_0x4c6466(0x167)](this['chartId']);if(_0x265f49)return(_0x293b95=_0x265f49['config'])==null?void 0x0:_0x293b95[_0x4c6466(0x171)];}[_0x10944c(0x1bb)](){const _0x24405a=_0x10944c;var _0x21c78c;const _0x2ccdd3=this['_injector'][_0x24405a(0x1d1)](_0x20c9fa)[_0x24405a(0x167)](this[_0x24405a(0x16d)]);if(_0x2ccdd3)return(_0x21c78c=_0x2ccdd3[_0x24405a(0x1eb)])==null?void 0x0:_0x21c78c['category'];}[_0x10944c(0x1cd)](){const _0x49cf6f=_0x10944c,_0xe0d2ec=this[_0x49cf6f(0x1e4)][_0x49cf6f(0x1d1)](_0x35dffc)[_0x49cf6f(0x170)](_0x547afe['UNIVER_SHEET']);return new c(this[_0x49cf6f(0x1ad)],this['subUnitId'],_0xe0d2ec,this['_injector'],this[_0x49cf6f(0x16d)]);}}class $ extends _0x17a4af{async[_0x10944c(0x17e)](_0x2cce1c){const _0x5ed3ed=_0x10944c;var _0x5501e1,_0x4c2cfd,_0x5a91c5;const _0x4e25fa=_0x2cce1c[_0x5ed3ed(0x1ad)]||this['getWorkbook']()[_0x5ed3ed(0x1ba)](),_0x664423=_0x2cce1c[_0x5ed3ed(0x1c0)]||this[_0x5ed3ed(0x1dc)](),_0x47b257=_0x2cce1c[_0x5ed3ed(0x16d)]||_0x11d337(),_0x467ac4=_0x2cce1c[_0x5ed3ed(0x190)],_0x4f2432=_0x2cce1c['range'],_0x35f01a=_0x2cce1c['sourceSheetName'],_0x4770fd={'x':_0x2cce1c['x'],'y':_0x2cce1c['y']},_0x23f064=_0x2cce1c[_0x5ed3ed(0x1fb)],_0x4e698b=_0x2cce1c[_0x5ed3ed(0x156)],_0x58967c=(_0x5501e1=_0x2cce1c['options'])==null?void 0x0:_0x5501e1['backgroundColor'],_0x2e4270=(_0x4c2cfd=_0x2cce1c[_0x5ed3ed(0x1ea)])==null?void 0x0:_0x4c2cfd[_0x5ed3ed(0x178)],_0x14cbc4=C(_0x4e25fa,_0x47b257,_0x467ac4,_0x2cce1c[_0x5ed3ed(0x1ea)]),_0x3531c0=(_0x5a91c5=_0x2cce1c[_0x5ed3ed(0x1ca)])!=null?_0x5a91c5:!0x0;if(!_0x4f2432)throw new Error(_0x5ed3ed(0x1e6));return await this[_0x5ed3ed(0x1fc)][_0x5ed3ed(0x19e)](_0x27bf68['id'],{'unitId':_0x4e25fa,'subUnitId':_0x664423,'chartId':_0x47b257,'chartType':_0x467ac4,'range':_0x4f2432,'sourceSheetName':_0x35f01a,'position':_0x4770fd,'width':_0x23f064,'height':_0x4e698b,'backgroundColor':_0x58967c,'borderColor':_0x2e4270,'config':_0x14cbc4,'isRowDirection':_0x3531c0}),new P(_0x4e25fa,_0x664423,_0x47b257,this[_0x5ed3ed(0x1e4)]);}[_0x10944c(0x1b5)](_0x121e6b){const _0x2f9083=_0x10944c,{unitId:_0x1bbb5a,chartId:_0x2f89d9,chartType:_0x1184f3,options:_0x6b101c}=_0x121e6b,_0x4ed246=C(_0x1bbb5a,_0x2f89d9,_0x1184f3,_0x6b101c);this[_0x2f9083(0x1fc)][_0x2f9083(0x19e)](_0x7599d8['id'],_0x4ed246);}[_0x10944c(0x18b)](_0x4a4736){const _0x2129ae=_0x10944c;if(_0x4a4736)return new c(_0x4a4736['unitId'],_0x4a4736[_0x2129ae(0x1c0)],this['_workbook'],this[_0x2129ae(0x1e4)],_0x4a4736[_0x2129ae(0x16d)]);const _0x24a94c=this[_0x2129ae(0x1aa)]()[_0x2129ae(0x1ba)](),_0x466dbe=this['getSheetId']();return new c(_0x24a94c,_0x466dbe,this['_workbook'],this[_0x2129ae(0x1e4)]);}[_0x10944c(0x208)](){const _0x38520d=_0x10944c,_0x5119b0=this[_0x38520d(0x1e4)][_0x38520d(0x1d1)](_0x20c9fa),_0x155aa6=this['getWorkbook']()[_0x38520d(0x1ba)]();return _0x5119b0[_0x38520d(0x1fe)](_0x155aa6,this[_0x38520d(0x1dc)]())['map'](_0x151e1d=>new P(_0x155aa6,this[_0x38520d(0x1dc)](),_0x151e1d['id'],this['_injector']));}[_0x10944c(0x163)](_0x497d0e){const _0x158125=_0x10944c,_0x364aad=_0x497d0e[_0x158125(0x1ad)],_0x4b4029=_0x497d0e[_0x158125(0x1c0)],_0x28d01a=_0x497d0e[_0x158125(0x16d)],_0x566e2f={'unitId':_0x364aad,'drawings':[{'unitId':_0x364aad,'subUnitId':_0x4b4029,'drawingId':_0x28d01a,'drawingType':_0x32cc3e['DRAWING_CHART']}]};return this['_commandService'][_0x158125(0x19e)](_0x47a34a['id'],_0x566e2f);}[_0x10944c(0x1de)](_0x5bcb8f,_0x1f926e){const _0x55259a=_0x10944c;this[_0x55259a(0x1e4)]['get'](_0x20527d)[_0x55259a(0x1d9)](_0x5bcb8f,_0x1f926e);}}_0x17a4af[_0x10944c(0x1ff)]($);class tt extends _0x3844c7{get['ChartType'](){return _0x5a09f2;}get[_0x10944c(0x201)](){return _0x521b07;}get[_0x10944c(0x1c3)](){return _0x5bfc91;}get['AxisAlignEnum'](){return _0x57109a;}get[_0x10944c(0x187)](){return _0x2fae8d;}get['LinePointShape'](){return _0x1f0eb7;}get[_0x10944c(0x169)](){return _0x40cf4c;}get[_0x10944c(0x1e9)](){return _0x50d29d;}}_0x3844c7[_0x10944c(0x1ff)](tt);class et extends c{constructor(_0x510af1,_0x1898df,_0x69873e,_0x4ef580,_0x44f41d){const _0x54c4c7=_0x10944c;super(_0x510af1,_0x1898df,_0x69873e,_0x4ef580,_0x44f41d),n(this,_0x54c4c7(0x1a8)),n(this,'dataPointShape'),n(this,_0x54c4c7(0x1a4)),n(this,_0x54c4c7(0x16e));}[_0x10944c(0x184)](_0x123869){const _0x58768f=_0x10944c;return this[_0x58768f(0x1a8)]=_0x123869,this;}[_0x10944c(0x1cc)](_0x42f787){const _0x341f60=_0x10944c;return this[_0x341f60(0x17d)]=_0x42f787,this;}[_0x10944c(0x1bc)](_0x2c040d){const _0x3ae7c6=_0x10944c;return this[_0x3ae7c6(0x1a4)]=_0x2c040d,this;}[_0x10944c(0x1e0)](_0x1aba97){return this['dataPointSize']=_0x1aba97,this;}[_0x10944c(0x203)](){const _0x523f18=_0x10944c,_0x384c86=super[_0x523f18(0x203)]();_0x384c86[_0x523f18(0x190)]=_0x5a09f2[_0x523f18(0x173)];const _0x282be3=_0x384c86[_0x523f18(0x1ea)]||{};return s(_0x282be3,'area.lineStyle',this[_0x523f18(0x1a8)]),s(_0x282be3,_0x523f18(0x162),this[_0x523f18(0x17d)]),s(_0x282be3,'allSeriesStyle.point.color',this[_0x523f18(0x1a4)]),s(_0x282be3,_0x523f18(0x1c6),this[_0x523f18(0x16e)]),_0x384c86[_0x523f18(0x1ea)]=_0x282be3,_0x384c86;}}class it extends c{[_0x10944c(0x18d)](){const _0x3ca677=_0x10944c;return new et(this[_0x3ca677(0x1ad)],this[_0x3ca677(0x1c0)],this[_0x3ca677(0x1cb)],this[_0x3ca677(0x1e4)],this[_0x3ca677(0x16d)]);}}c[_0x10944c(0x1ff)](it);class st extends c{constructor(_0x517f65,_0x565778,_0x42527c,_0x1d7cfb,_0x4feec2){const _0x1daa9f=_0x10944c;super(_0x517f65,_0x565778,_0x42527c,_0x1d7cfb,_0x4feec2),n(this,_0x1daa9f(0x192)),n(this,_0x1daa9f(0x178)),n(this,_0x1daa9f(0x1bd)),n(this,_0x1daa9f(0x1e8)),n(this,'rosePie'),n(this,_0x1daa9f(0x1c2));}[_0x10944c(0x1fd)](_0x55a613){return this['doughnutHole']=_0x55a613,this;}[_0x10944c(0x164)](_0x51e1ee){return this['borderColor']=_0x51e1ee,this;}[_0x10944c(0x1dd)](_0x136148){const _0x39ce79=_0x10944c;return this[_0x39ce79(0x1bd)]=_0x136148,this;}['setIsHalfPie'](_0x485174){return this['isHalfPie']=_0x485174,this;}['setRosePie'](_0x1d042f){const _0x4be5af=_0x10944c;return this[_0x4be5af(0x1b8)]=_0x1d042f,this;}['setShowLabelLine'](_0x3e8b66){const _0x47069e=_0x10944c;return this[_0x47069e(0x1c2)]=_0x3e8b66,this;}['build'](){const _0x3878e0=_0x10944c,_0x5e96a4=super[_0x3878e0(0x203)]();_0x5e96a4[_0x3878e0(0x190)]=_0x5a09f2['Pie'];const _0x4c80e2=_0x5e96a4['options']||{};return s(_0x4c80e2,'pie.doughnutHole',this[_0x3878e0(0x192)]),s(_0x4c80e2,_0x3878e0(0x16f),this[_0x3878e0(0x178)]),s(_0x4c80e2,_0x3878e0(0x15c),this[_0x3878e0(0x1bd)]),s(_0x4c80e2,'pie.isHalfPie',this[_0x3878e0(0x1e8)]),s(_0x4c80e2,_0x3878e0(0x1d2),this[_0x3878e0(0x1b8)]),s(_0x4c80e2,_0x3878e0(0x18e),this['showLabelLine']),_0x5e96a4[_0x3878e0(0x1ea)]=_0x4c80e2,_0x5e96a4;}}class rt extends c{[_0x10944c(0x197)](){const _0x25689d=_0x10944c;return new st(this[_0x25689d(0x1ad)],this[_0x25689d(0x1c0)],this[_0x25689d(0x1cb)],this[_0x25689d(0x1e4)],this[_0x25689d(0x16d)]);}}c[_0x10944c(0x1ff)](rt);class ot extends c{constructor(_0x130d5f,_0x158aa5,_0x3f3add,_0x234575,_0x166340){const _0x2cb6c7=_0x10944c;super(_0x130d5f,_0x158aa5,_0x3f3add,_0x234575,_0x166340),n(this,_0x2cb6c7(0x180)),n(this,_0x2cb6c7(0x1f5));}[_0x10944c(0x202)](_0x1af66b){const _0x5d09f6=_0x10944c;return this[_0x5d09f6(0x180)]=_0x1af66b,this;}[_0x10944c(0x1a9)](_0x59ea50){const _0x39d74c=_0x10944c;return this[_0x39d74c(0x1f5)]=_0x59ea50,this;}[_0x10944c(0x203)](){const _0x421e73=_0x10944c,_0x1ac4f9=super[_0x421e73(0x203)]();_0x1ac4f9[_0x421e73(0x190)]=_0x5a09f2[_0x421e73(0x1e3)];const _0x23a12a=_0x1ac4f9[_0x421e73(0x1ea)]||{};return s(_0x23a12a,_0x421e73(0x15f),this[_0x421e73(0x180)]),s(_0x23a12a,'radar.fill',this[_0x421e73(0x1f5)]),_0x1ac4f9[_0x421e73(0x1ea)]=_0x23a12a,_0x1ac4f9;}}class nt extends c{[_0x10944c(0x1b3)](){const _0x44ad7f=_0x10944c;return new ot(this[_0x44ad7f(0x1ad)],this[_0x44ad7f(0x1c0)],this['_workbook'],this[_0x44ad7f(0x1e4)],this[_0x44ad7f(0x16d)]);}}c[_0x10944c(0x1ff)](nt);function _0x41e3(_0x3f9e46,_0x18ad0d){_0x3f9e46=_0x3f9e46-0x154;const _0x4c1c4b=_0x4c1c();let _0x41e304=_0x4c1c4b[_0x3f9e46];return _0x41e304;}export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
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();}