@univerjs-pro/sheets-chart-ui 0.12.3 → 0.12.4-experimental.20251208-c4b8a44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/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/commands/commands/sheets-chart.command.d.ts +1 -0
  41. package/lib/types/controllers/chart-sheet-change.controller.d.ts +12 -0
  42. package/lib/types/facade/chart-builder/chart-builder-base.d.ts +17 -11
  43. package/lib/types/services/sheets-chart-host-provider.service.d.ts +1 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +17 -17
@@ -1 +1 @@
1
- const _0x458ea3=_0xb05f;(function(_0x1b82e0,_0x120f7c){const _0x4fc919=_0xb05f,_0x31e6dc=_0x1b82e0();while(!![]){try{const _0x38638a=parseInt(_0x4fc919(0xda))/0x1*(-parseInt(_0x4fc919(0xee))/0x2)+parseInt(_0x4fc919(0x7f))/0x3*(-parseInt(_0x4fc919(0xc3))/0x4)+-parseInt(_0x4fc919(0x106))/0x5*(parseInt(_0x4fc919(0xf9))/0x6)+parseInt(_0x4fc919(0xb1))/0x7+-parseInt(_0x4fc919(0xf3))/0x8*(-parseInt(_0x4fc919(0xac))/0x9)+parseInt(_0x4fc919(0xb2))/0xa*(-parseInt(_0x4fc919(0xfb))/0xb)+parseInt(_0x4fc919(0xbc))/0xc*(parseInt(_0x4fc919(0xf1))/0xd);if(_0x38638a===_0x120f7c)break;else _0x31e6dc['push'](_0x31e6dc['shift']());}catch(_0x1545e6){_0x31e6dc['push'](_0x31e6dc['shift']());}}}(_0x47e3,0x54b33));function _0xb05f(_0x3ffcf8,_0x30b290){const _0x47e37b=_0x47e3();return _0xb05f=function(_0xb05f90,_0x44e22a){_0xb05f90=_0xb05f90-0x72;let _0x4c1ec7=_0x47e37b[_0xb05f90];return _0x4c1ec7;},_0xb05f(_0x3ffcf8,_0x30b290);}function _0x47e3(){const _0x10b815=['253SoBMxK','主網格線','請先添加系列開始數據可視化','主標題','顯示數據標籤','最小值','顯示小計','趨勢線','百分比','排列圖','視覺映射範圍','15HfvXDp','組合圖','顯示標籤','{0}\x20透明度','添加趨勢線','面積圖','顯示公式','折線圖','空心三角形','圖表邊框顏色','小數位數','空心圓角矩形','副標題','長條圖系列','常規格式不包含任何特定的數字格式。','正值樣式','5946SzykSh','旋轉標籤','百分比堆疊','刪除圖表','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','力導向','標題位置','使用\x20{0}\x20作為類別標籤','詞雲形狀','更多設置','圓環孔','小計圖例文本','環形圖','雷達圖','趨勢線顏色','氣泡大小','指示標籤','負值樣式','日期軸僅在數據全部為日期格式時可用','Y軸標題','{0}\x20格式','堆疊方式','隱藏圖表面板','數據範圍','{0}\x20粗細','千分位符','開啟選中淡入特效','使用日期軸','空心針形','日期格式將日期和時間系列數值顯示為日期值。','佈局類型','重複詞雲標籤','(空)','水平軸','類別\x20{0}','第\x20{0}\x20項','漸變填充','数值后缀','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','添加系列','節點距離','圖例選擇模式','右對齊','自定義圖表','空心正方形','6118407SsAPED','使用值作為節點大小','空心圓形','{0}\x20顏色','條形圖','3290168XarWHG','77970pcfobR','百分比堆疊面積圖','累積占比系列','熱力圖','顯示空單元格為','圖表和軸標題','堆疊面積圖','趨勢線粗細','數據點','氣泡標籤','762756mNzFMj','垂直軸','所有系列','趨勢線名稱','插入圖表','字段設置','圖表數據源必須包含多於1行和1列。','892cxjivP','柱狀圖','負數類型','設置圖表','指示線類型','圖表樣式','氣泡圖至少需要2列,X軸、Y軸。','移動平均','X軸標題','中位數','桑基圖','顯示標籤線','多邊形','負值圖例文本','玫瑰圖','標籤位置','編輯圖表','指示線顏色','顯示R平方','堆疊條形圖','扇形間距','切換行或列','標籤文本','1kYDVEP','網格線和刻度線','移動平均周期','正方形','標題對齊','添加數據點','空心箭頭','系列\x20{0}','主刻度線','小計樣式','標題文本','R平方','右Y軸標題','網格線','第三四分位數','顯示軸線','瀑布圖','累積占比','數據點樣式','散點圖','1015834sSXnio','用直線連接數據點','多項式','91imnPia','箱型圖','8gbJtGX','打開圖表面板','圖表類型','貨幣類型','正值圖例文本','刻度線位置','237246HyQAAg','使用絕對值'];_0x47e3=function(){return _0x10b815;};return _0x47e3();}const e={'chart':{'insertChart':_0x458ea3(0xc0),'editChart':_0x458ea3(0xd3),'openChartPanel':_0x458ea3(0xf4),'deleteChart':_0x458ea3(0x82),'hideChartPanel':_0x458ea3(0x95),'setupChart':_0x458ea3(0xc6),'customChart':_0x458ea3(0xaa),'default':'默認','reset':'重置','chartType':_0x458ea3(0xf5),'themes':'主題','dataRange':_0x458ea3(0x96),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x458ea3(0xbe),'series':'系列','addSeries':_0x458ea3(0xa6),'moreSettings':_0x458ea3(0x88),'min':_0x458ea3(0x100),'max':'最大值','invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x458ea3(0xef)},'blank':_0x458ea3(0x9f),'seriesBlock':{'format':'格式','dataPointStyle':_0x458ea3(0xec)},'backgroundColor':'背景顏色','chartBorderColor':_0x458ea3(0x78),'titles':{'title':'標題','mainTitle':_0x458ea3(0xfe),'subTitle':_0x458ea3(0x7b),'xAxisTitle':_0x458ea3(0xcb),'yAxisTitle':_0x458ea3(0x92),'rightYAxisTitle':_0x458ea3(0xe6),'titleFormat':'標題格式','titleText':_0x458ea3(0xe4),'titlePosition':_0x458ea3(0x85),'titleAlign':_0x458ea3(0xde)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x458ea3(0xa3),'settingsLabels':{'switchToRowOrColumn':_0x458ea3(0xd8),'useAsCategoryLabels':_0x458ea3(0x86),'showEmptyCellsAs':_0x458ea3(0xb6)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':_0x458ea3(0xa9)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x458ea3(0xc8),'chartAndAxisTitles':_0x458ea3(0xb7),'legend':'圖例','legendSelectMode':_0x458ea3(0xa8),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':_0x458ea3(0xa0),'verticalAxis':_0x458ea3(0xbd),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x458ea3(0xdb),'indicatorLine':'指示線','indicatorLineType':_0x458ea3(0xc7),'indicatorLineColor':_0x458ea3(0xd4),'indicatorLabel':_0x458ea3(0x8f),'indicatorValue':'指示值','shape':{'polygon':_0x458ea3(0xcf),'circle':'圓形','square':_0x458ea3(0xdd),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x458ea3(0xae),'emptySquare':_0x458ea3(0xab),'emptyTriangle':_0x458ea3(0x77),'emptyDiamond':'空心菱形','emptyRect':'空心矩形','emptyRoundRect':_0x458ea3(0x7a),'emptyPin':_0x458ea3(0x9b),'emptyArrow':_0x458ea3(0xe0)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x458ea3(0x72),'withColor':_0x458ea3(0xaf),'withThickness':_0x458ea3(0x97),'withType':'{0}\x20類型','withSize':'{0}\x20大小','withShape':'{0}\x20形狀','withFormat':_0x458ea3(0x93),'dataPoint':_0x458ea3(0xba),'dataNodeShape':'節點形狀','addDataPoint':_0x458ea3(0xdf),'point':_0x458ea3(0xba),'percentage':_0x458ea3(0x103),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x458ea3(0x81)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x458ea3(0xfc),'text':_0x458ea3(0xe7)},'ticks':{'majorTick':_0x458ea3(0xe2),'tickPosition':_0x458ea3(0xf8),'tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x458ea3(0xa2),'seriesDefaultName':_0x458ea3(0xe1),'categoryDefaultName':_0x458ea3(0xa1),'styleEditPanel':{'showLabels':_0x458ea3(0x108),'showDataLabels':_0x458ea3(0xff),'padAngle':_0x458ea3(0xd7),'halfPie':'半餅','rosePie':_0x458ea3(0xd1),'pieValScale':'数值比例','pieValSuffix':_0x458ea3(0xa4),'pieDigitalFixed':_0x458ea3(0x79),'showLabelLine':_0x458ea3(0xce),'reverseAxisOrder':'逆序軸','showAxisLine':_0x458ea3(0xe9),'labelPosition':_0x458ea3(0xd2),'labelText':_0x458ea3(0xd9),'repeatWordCould':_0x458ea3(0x9e),'gap':'間隔','useAbsValue':_0x458ea3(0xfa),'labelRotate':'標籤旋轉','wordCloudShape':_0x458ea3(0x87),'useDateAxis':_0x458ea3(0x9a),'dateAxisTips':_0x458ea3(0x91)},'radar':{'fill':'填充'},'doughnutHole':_0x458ea3(0x89),'msg':{'invalidSource':_0x458ea3(0xc2),'emptyTips':_0x458ea3(0xfd)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x458ea3(0x102),'displayName':_0x458ea3(0xbf),'addTrendLine':_0x458ea3(0x73),'trendlineType':'趨勢線類型','trendlineName':_0x458ea3(0xbf),'trendlineColor':_0x458ea3(0x8d),'trendlineThickness':_0x458ea3(0xb9),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x458ea3(0xca),'poly':_0x458ea3(0xf0),'order':'多項式階數','period':_0x458ea3(0xdc),'showFormula':_0x458ea3(0x75),'showR2':_0x458ea3(0xd5),'formula':'公式','r2':_0x458ea3(0xe5)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x458ea3(0x8e),'label':_0x458ea3(0xbb),'emptyTips':_0x458ea3(0xc9)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x458ea3(0x84),'useValueAsSymbolSize':_0x458ea3(0xad),'layoutType':_0x458ea3(0x9d),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x458ea3(0xa7),'rotateLabel':_0x458ea3(0x80),'emphasis':_0x458ea3(0x99),'emptyTips':'關係圖資料來源為額外新增類型列在第二列的共詞矩陣'},'waterfall':{'stackType':_0x458ea3(0x94),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x458ea3(0x101),'positiveStyle':_0x458ea3(0x7e),'negativeStyle':_0x458ea3(0x90),'subtotalStyle':_0x458ea3(0xe3),'positiveLegendText':_0x458ea3(0xf7),'negativeLegendText':_0x458ea3(0xd0),'subtotalLegendText':_0x458ea3(0x8a)},'pareto':{'lineName':_0x458ea3(0xeb),'lineSeries':_0x458ea3(0xb4),'barSeries':_0x458ea3(0x7c)},'visualMapScope':_0x458ea3(0x105),'boxplot':{'min':_0x458ea3(0x100),'q1':'第一四分位數','median':_0x458ea3(0xcc),'q3':_0x458ea3(0xe8),'max':'最大值'}},'chartTypes':{'line':_0x458ea3(0x76),'area':_0x458ea3(0x74),'areaStacked':_0x458ea3(0xb8),'areaPercentStacked':_0x458ea3(0xb3),'column':_0x458ea3(0xc4),'bar':_0x458ea3(0xb0),'barStacked':_0x458ea3(0xd6),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x458ea3(0x8b),'scatter':_0x458ea3(0xed),'radar':_0x458ea3(0x8c),'bubble':'氣泡圖','stock':'股票圖','combination':_0x458ea3(0x107),'wordCloud':'詞雲圖','funnel':'漏斗圖','relation':'關係圖','waterfall':_0x458ea3(0xea),'pareto':_0x458ea3(0x104),'sankey':_0x458ea3(0xcd),'heatmap':_0x458ea3(0xb5),'boxplot':_0x458ea3(0xf2)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x458ea3(0x98),'fieldSetting':_0x458ea3(0xc1),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x458ea3(0x7d),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x458ea3(0xa5),'dateDesc':_0x458ea3(0x9c),'thousandthPercentileDesc':_0x458ea3(0x83),'decimalPlaces':_0x458ea3(0x79),'currencyTypes':_0x458ea3(0xf6),'negativeNumberTypes':_0x458ea3(0xc5),'dateTypes':'日期類型'},'setFormat':'設置標籤格式'}};export{e as default};
1
+ const _0x35f8bc=_0x4266;(function(_0x216d86,_0x1e4537){const _0x28de21=_0x4266,_0x1f5450=_0x216d86();while(!![]){try{const _0x2b435a=parseInt(_0x28de21(0x163))/0x1*(-parseInt(_0x28de21(0x108))/0x2)+parseInt(_0x28de21(0x131))/0x3+-parseInt(_0x28de21(0x11c))/0x4+parseInt(_0x28de21(0x127))/0x5+-parseInt(_0x28de21(0x14b))/0x6+-parseInt(_0x28de21(0x126))/0x7*(-parseInt(_0x28de21(0x125))/0x8)+parseInt(_0x28de21(0x16e))/0x9;if(_0x2b435a===_0x1e4537)break;else _0x1f5450['push'](_0x1f5450['shift']());}catch(_0x472284){_0x1f5450['push'](_0x1f5450['shift']());}}}(_0x4ea6,0xf1eee));function _0x4266(_0x2ed3a0,_0x4ba308){_0x2ed3a0=_0x2ed3a0-0xf4;const _0x4ea6c0=_0x4ea6();let _0x426638=_0x4ea6c0[_0x2ed3a0];return _0x426638;}const e={'chart':{'insertChart':_0x35f8bc(0x12a),'editChart':_0x35f8bc(0x10f),'openChartPanel':'打開圖表面板','deleteChart':_0x35f8bc(0x157),'hideChartPanel':_0x35f8bc(0x144),'setupChart':'設置圖表','customChart':_0x35f8bc(0x135),'default':'默認','reset':'重置','chartType':_0x35f8bc(0x155),'themes':'主題','dataRange':_0x35f8bc(0x116),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x35f8bc(0x171),'series':'系列','addSeries':'添加系列','moreSettings':_0x35f8bc(0xfa),'min':'最小值','max':_0x35f8bc(0x120),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':_0x35f8bc(0x105)},'backgroundColor':_0x35f8bc(0x16f),'chartBorderColor':_0x35f8bc(0x122),'titles':{'title':'標題','mainTitle':_0x35f8bc(0x115),'subTitle':_0x35f8bc(0x141),'xAxisTitle':_0x35f8bc(0x152),'yAxisTitle':_0x35f8bc(0x118),'rightYAxisTitle':_0x35f8bc(0x10b),'titleFormat':'標題格式','titleText':'標題文本','titlePosition':_0x35f8bc(0x12b),'titleAlign':_0x35f8bc(0x11e)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x35f8bc(0x145),'settingsLabels':{'switchToRowOrColumn':'切換列或欄','useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x35f8bc(0x129)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x35f8bc(0x154),'chartAndAxisTitles':_0x35f8bc(0x156),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x35f8bc(0x13e),'horizontalAxis':'水平軸','verticalAxis':_0x35f8bc(0x136),'rightVerticalAxis':_0x35f8bc(0x107),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x35f8bc(0x121),'indicatorLineType':_0x35f8bc(0xf8),'indicatorLineColor':'指示線顏色','indicatorLabel':'指示標籤','indicatorValue':'指示值','shape':{'polygon':_0x35f8bc(0xf6),'circle':'圓形','square':_0x35f8bc(0x16a),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x35f8bc(0x138),'emptySquare':'空心正方形','emptyTriangle':_0x35f8bc(0x124),'emptyDiamond':_0x35f8bc(0x14d),'emptyRect':_0x35f8bc(0x159),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x35f8bc(0x113),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x35f8bc(0x134),'withColor':_0x35f8bc(0x165),'withThickness':'{0}\x20粗細','withType':_0x35f8bc(0xf9),'withSize':_0x35f8bc(0x15a),'withShape':_0x35f8bc(0x164),'withFormat':_0x35f8bc(0x16d),'dataPoint':_0x35f8bc(0x15f),'dataNodeShape':_0x35f8bc(0x133),'addDataPoint':_0x35f8bc(0x148),'point':'數據點','percentage':_0x35f8bc(0x139),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x35f8bc(0xf5),'text':'網格線'},'ticks':{'majorTick':'主刻度線','tickPosition':_0x35f8bc(0x14a),'tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x35f8bc(0x15d),'seriesDefaultName':_0x35f8bc(0x12c),'categoryDefaultName':_0x35f8bc(0x147),'styleEditPanel':{'showLabels':_0x35f8bc(0x16b),'showDataLabels':'顯示數據標籤','padAngle':'扇形間距','halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':_0x35f8bc(0x153),'pieValSuffix':'数值后缀','pieDigitalFixed':_0x35f8bc(0xfe),'showLabelLine':'顯示標籤線','reverseAxisOrder':'逆序軸','showAxisLine':_0x35f8bc(0xff),'labelPosition':_0x35f8bc(0x106),'labelText':_0x35f8bc(0x11f),'repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x35f8bc(0x128),'wordCloudShape':_0x35f8bc(0x130),'useDateAxis':_0x35f8bc(0x112),'dateAxisTips':_0x35f8bc(0x14c)},'radar':{'fill':'填充'},'doughnutHole':_0x35f8bc(0x149),'msg':{'invalidSource':'圖表數據源必須包含多於1列和1欄。','emptyTips':'請先添加系列開始數據可視化'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x35f8bc(0x13b),'displayName':_0x35f8bc(0x13d),'addTrendLine':_0x35f8bc(0x15c),'trendlineType':_0x35f8bc(0x161),'trendlineName':_0x35f8bc(0x13d),'trendlineColor':_0x35f8bc(0x137),'trendlineThickness':_0x35f8bc(0xfd),'trendlineDashType':_0x35f8bc(0x16c),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x35f8bc(0x169),'poly':_0x35f8bc(0x10d),'order':_0x35f8bc(0x117),'period':_0x35f8bc(0x146),'showFormula':'顯示公式','showR2':_0x35f8bc(0x110),'formula':'公式','r2':_0x35f8bc(0x119)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x35f8bc(0xf4),'label':_0x35f8bc(0x15b),'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':_0x35f8bc(0xfb),'auto':'自動','circular':'環形','force':_0x35f8bc(0x150),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':'佈局類型','forceOptions':_0x35f8bc(0x114),'repulsion':'斥力','gravity':'引力','edgeLength':_0x35f8bc(0x162),'rotateLabel':_0x35f8bc(0x11a),'emphasis':'開啟選中淡入特效','emptyTips':_0x35f8bc(0x151)},'waterfall':{'stackType':_0x35f8bc(0x14e),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x35f8bc(0x13c),'positiveStyle':_0x35f8bc(0x13a),'negativeStyle':'負值樣式','subtotalStyle':_0x35f8bc(0x166),'positiveLegendText':_0x35f8bc(0x12e),'negativeLegendText':_0x35f8bc(0x140),'subtotalLegendText':_0x35f8bc(0x11b)},'pareto':{'lineName':_0x35f8bc(0x168),'lineSeries':'累積占比系列','barSeries':'長條圖系列'},'visualMapScope':_0x35f8bc(0x12f),'boxplot':{'min':_0x35f8bc(0x100),'q1':_0x35f8bc(0x132),'median':_0x35f8bc(0x10e),'q3':_0x35f8bc(0x14f),'max':'最大值'}},'chartTypes':{'line':_0x35f8bc(0x10a),'area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':_0x35f8bc(0x10c),'column':_0x35f8bc(0x160),'bar':_0x35f8bc(0x167),'barStacked':_0x35f8bc(0x170),'barPercentStacked':_0x35f8bc(0x102),'pie':'餅圖','donut':'環形圖','scatter':'散點圖','radar':'雷達圖','bubble':_0x35f8bc(0x12d),'stock':'股票圖','combination':_0x35f8bc(0x103),'wordCloud':_0x35f8bc(0x104),'funnel':_0x35f8bc(0x109),'relation':_0x35f8bc(0xfb),'waterfall':'瀑布圖','pareto':_0x35f8bc(0x11d),'sankey':'桑基圖','heatmap':'熱力圖','boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x35f8bc(0x13f),'formatTypes':_0x35f8bc(0xf7),'confirm':'確定','cancel':'取消','generalDesc':_0x35f8bc(0x101),'accountingDesc':_0x35f8bc(0x123),'currencyDesc':_0x35f8bc(0x111),'dateDesc':_0x35f8bc(0x15e),'thousandthPercentileDesc':_0x35f8bc(0x143),'decimalPlaces':'小數位數','currencyTypes':_0x35f8bc(0x158),'negativeNumberTypes':_0x35f8bc(0xfc),'dateTypes':_0x35f8bc(0x142)},'setFormat':'設置標籤格式'}};function _0x4ea6(){const _0x1364f4=['{0}\x20顏色','小計樣式','條形圖','累積占比','移動平均','正方形','顯示標籤','趨勢線線類型','{0}\x20格式','1019340LjhpJF','背景顏色','堆疊條形圖','所有系列','氣泡大小','主網格線','多邊形','格式類型','指示線類型','{0}\x20類型','更多設置','關係圖','負數類型','趨勢線粗細','小數位數','顯示軸線','最小值','常規格式不包含任何特定的數字格式。','百分比堆疊條形圖','組合圖','詞雲圖','數據點樣式','標籤位置','右垂直軸','958pCgzjn','漏斗圖','折線圖','右Y軸標題','百分比堆疊面積圖','多項式','中位數','編輯圖表','顯示R平方','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','使用日期軸','空心針形','力導向選項','主標題','數據範圍','多項式階數','Y軸標題','R平方','旋轉標籤','小計圖例文本','1417900UKhCMa','排列圖','標題對齊','標籤文本','最大值','指示線','圖表邊框顏色','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','空心三角形','16bxYGPq','2628934feAFAJ','4764465ObQWOX','標籤旋轉','顯示空單元格為','插入圖表','標題位置','系列\x20{0}','氣泡圖','正值圖例文本','視覺映射範圍','詞雲形狀','1208586OHZUUh','第一四分位數','節點形狀','{0}\x20透明度','自定義圖表','垂直軸','趨勢線顏色','空心圓形','百分比','正值樣式','趨勢線','顯示小計','趨勢線名稱','軸選項','字段設置','負值圖例文本','副標題','日期類型','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','隱藏圖表面板','漸變填充','移動平均周期','類別\x20{0}','添加數據點','圓環孔','刻度線位置','5205126uShyjv','日期軸僅在數據全部為日期格式時可用','空心菱形','堆疊方式','第三四分位數','力導向','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','X軸標題','数值比例','圖表樣式','圖表類型','圖表和軸標題','刪除圖表','貨幣類型','空心矩形','{0}\x20大小','氣泡標籤','添加趨勢線','第\x20{0}\x20項','日期格式將日期和時間系列數值顯示為日期值。','數據點','柱狀圖','趨勢線類型','節點距離','15nKtDXt','{0}\x20形狀'];_0x4ea6=function(){return _0x1364f4;};return _0x4ea6();}export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4a41(_0x39b6b9,_0x445b78){const _0x43c589=_0x43c5();return _0x4a41=function(_0x4a415e,_0x31ee32){_0x4a415e=_0x4a415e-0x172;let _0x1702f7=_0x43c589[_0x4a415e];return _0x1702f7;},_0x4a41(_0x39b6b9,_0x445b78);}const _0x1420db=_0x4a41;(function(_0x4017a5,_0x14c401){const _0x682f80=_0x4a41,_0x3b8ed9=_0x4017a5();while(!![]){try{const _0x1fb670=-parseInt(_0x682f80(0x209))/0x1*(-parseInt(_0x682f80(0x22e))/0x2)+-parseInt(_0x682f80(0x1db))/0x3*(-parseInt(_0x682f80(0x216))/0x4)+parseInt(_0x682f80(0x1dd))/0x5+-parseInt(_0x682f80(0x1c8))/0x6*(parseInt(_0x682f80(0x1b3))/0x7)+parseInt(_0x682f80(0x200))/0x8*(parseInt(_0x682f80(0x226))/0x9)+parseInt(_0x682f80(0x1c1))/0xa+parseInt(_0x682f80(0x1fe))/0xb*(-parseInt(_0x682f80(0x19f))/0xc);if(_0x1fb670===_0x14c401)break;else _0x3b8ed9['push'](_0x3b8ed9['shift']());}catch(_0x406692){_0x3b8ed9['push'](_0x3b8ed9['shift']());}}}(_0x43c5,0x57bac));var b=Object[_0x1420db(0x188)],k=(_0x3f61b1,_0x2c30a3,_0x24827a)=>_0x2c30a3 in _0x3f61b1?b(_0x3f61b1,_0x2c30a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24827a}):_0x3f61b1[_0x2c30a3]=_0x24827a,n=(_0xfbff53,_0xbb68f3,_0x247807)=>k(_0xfbff53,typeof _0xbb68f3!=_0x1420db(0x192)?_0xbb68f3+'':_0xbb68f3,_0x247807);import{ChartThemeService as _0x2ffba9,ChartTypeBits as _0xab92f7,LegendPositionEnum as _0x5cdfe9,SelectModeEnum as _0x326bf9,AxisAlignEnum as _0x34f266,ChartBorderDashType as _0x549221,LinePointShape as _0x34f773,TitlePositionEnum as _0x486166,RadarShape as _0x29e3ae}from'@univerjs-pro/engine-chart';import{setProperty as _0x1c81f1,SheetsChartService as _0x24b9eb,ChartUpdateSourceCommand as _0x2723ee,ChartUpdateConfigCommand as _0xecd172}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x232021}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x221972,IUniverInstanceService as _0x5b972d,UniverInstanceType as _0x2b637c,generateRandomId as _0x442c0a,DrawingTypeEnum as _0x2d77cd}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x4ed0c0}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x37cbcc}from'@univerjs/sheets/facade';import{FBase as _0xb7e52,FEnum as _0x4209b7}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x5c45e6}from'@univerjs/engine-formula';import{IRenderManagerService as _0x477f83}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x5ed202,SheetSkeletonManagerService as _0x18fa58,convertPositionCellToSheetOverGrid as _0x54af28}from'@univerjs/sheets-ui';function _0x43c5(){const _0x457404=['radar.shape','LinePointShape','titles.rightYAxisTitle.bold','getRangeInfo','164CWMQtT','AxisAlignEnum','setShape','shape','getRenderById','setDataPointSize','clearRange','setDoughnutHole','seriesStyleMap','titles.title.family','setXAxisTitle','asRadarChart','UNIVER_SHEET','_workbook','newChart','setChartType','1503zNzvuL','fontColor','dataPointSize','getCurrentUnitForType','extend','dataSource','unitId','titles.rightYAxisTitle.fontSize','954acHJAM','area.lineStyle','subUnitId','font','position','titles.title.color','titles.yAxisTitle.color','titleAlignment','setWidth','build','setHasPaddingAngle','titles.yAxisTitle.content','gradientFill','legend.label.fontSize','titles.rightYAxisTitle.content','legend.label.bold','hasPaddingAngle','with','indicatorLabelColor','isHalfPie','titles.rightYAxisTitle.font','string','setSeriesStyle','setTheme','defineProperty','setBorderColor','executeCommand','DRAWING_CHART','RadarShape','getWorkbook','pie.hasPaddingAngle','fontStyle','theme','tooltip.indicatorLabelTextColor','symbol','xAxis','indicatorLineColor','setRosePie','setXAxisTextStyle','pie.showLabelLine','rosePie','chartType','style','Radar','fontSize','getSeriesData','getChartModel','21471108KnsMzr','legend.position','setYAxisTitle','context','titles.title.content','SelectModeEnum','pie.borderColor','_commandService','yAxis','tooltip.indicatorLineType','titles.title.fontSize','Pie','yAxisTitle','axisPointer','legend','range','dataPointShape','titles.rightYAxisTitle.color','setAbsolutePosition','_injector','2723oaiEco','pie.rosePie','setDataPointShape','setPosition','backgroundColor','options','fill','allSeriesStyle.label','indicatorLabelTextColor','titles.yAxisTitle.bold','axisAlignment','indicatorLineType','doughnutHole','radar.fill','7007610lJbQsk','getCategoryData','series','titles.yAxisTitle.family','setTransposeRowsAndColumns','map','registerChartTheme','3978CPzHjs','left','italic','rightYAxisTitle','titles.xAxisTitle.fontSize','pie.doughnutHole','config','titles.xAxisTitle.content','allSeriesStyle.point.color','allSeriesStyle.rightYAxis','yRightAxis','asPieChart','getUnitChartModels','xAxisTitle','category','setAxisPointerStyle','allSeriesStyle','getUnitId','allSeriesStyle.point.shape','20715Eicvfv','borderColor','2382490Dlttoe','sheetName','getSheetId','getChartType','sourceSheetName','keys','length','get','width','allSeriesStyle.point','ChartType','\x20not\x20found','pie.isHalfPie','border','dataPointColor','setOptions','allSeriesStyle.point.size','content','addRange','titles.title.align','tooltip.indicatorLabelColor','setInvalidValueStrategy','bold','asLineChart','lineStyle','chartId','allSeriesStyle.border','showLabelLine','titles.title.font','top','setDataPointColor','height','rightYAxis','11lrfCej','yAxis.label.axisTitleAlign','28712DkBrfx','titles.yAxisTitle.font','getChartId','setShowLabelLine','setAllSeriesStyle','invalidValueType','radar','removeChart','label','727rnCjme','transposeRowsAndColumns','setRightYAxisTitle','title','legend.selectMode','updateChart','titles.titlePosition','color','ChartBorderDashType'];_0x43c5=function(){return _0x457404;};return _0x43c5();}const s=(_0x2f3606,_0x22e22d,_0x20b9f8)=>{_0x20b9f8!==void 0x0&&_0x1c81f1(_0x2f3606,_0x22e22d,_0x20b9f8);},C=(_0x58bf6f,_0x2c4242,_0x4eb1d3,_0x4399b2={})=>{const _0xa8fbe1=_0x1420db,_0x1157b9={},_0x932843={};if(_0x4399b2[_0xa8fbe1(0x20c)]){const _0x447754=_0x4399b2[_0xa8fbe1(0x20c)];s(_0x1157b9,_0xa8fbe1(0x1a3),_0x447754[_0xa8fbe1(0x1ee)]),s(_0x1157b9,_0xa8fbe1(0x1f9),_0x447754[_0xa8fbe1(0x173)]),s(_0x1157b9,_0xa8fbe1(0x1a9),_0x447754['fontSize']),s(_0x1157b9,_0xa8fbe1(0x175),_0x447754[_0xa8fbe1(0x227)]),s(_0x1157b9,_0xa8fbe1(0x21f),_0x447754[_0xa8fbe1(0x18f)]),s(_0x1157b9,'titles.title.bold',_0x447754[_0xa8fbe1(0x1f3)]),s(_0x1157b9,_0xa8fbe1(0x1f0),_0x447754[_0xa8fbe1(0x177)]),s(_0x1157b9,_0xa8fbe1(0x20f),_0x447754[_0xa8fbe1(0x174)]);}if(_0x4399b2[_0xa8fbe1(0x1ad)]){const _0xea2381=_0x4399b2[_0xa8fbe1(0x1ad)];s(_0x1157b9,_0xa8fbe1(0x1a0),_0xea2381['position']),s(_0x1157b9,_0xa8fbe1(0x20d),_0xea2381['selectMode']),s(_0x1157b9,_0xa8fbe1(0x17d),_0xea2381['fontSize']),s(_0x1157b9,'legend.label.color',_0xea2381[_0xa8fbe1(0x210)]),s(_0x1157b9,_0xa8fbe1(0x17f),_0xea2381[_0xa8fbe1(0x1f3)]),s(_0x1157b9,'legend.label.italic',_0xea2381[_0xa8fbe1(0x1ca)]);}if(_0x4399b2['pie']){const _0x24b66a=_0x4399b2['pie'];s(_0x1157b9,'pie.doughnutHole',_0x24b66a[_0xa8fbe1(0x1bf)]),s(_0x1157b9,'pie.borderColor',_0x24b66a[_0xa8fbe1(0x1dc)]),s(_0x1157b9,'pie.hasPaddingAngle',_0x24b66a[_0xa8fbe1(0x180)]),s(_0x1157b9,'pie.isHalfPie',_0x24b66a['isHalfPie']),s(_0x1157b9,'pie.rosePie',_0x24b66a['rosePie']),s(_0x1157b9,_0xa8fbe1(0x197),_0x24b66a[_0xa8fbe1(0x1f8)]);}if(_0x4399b2[_0xa8fbe1(0x1ac)]){const _0x162a76=_0x4399b2[_0xa8fbe1(0x1ac)];s(_0x1157b9,_0xa8fbe1(0x1f1),_0x162a76[_0xa8fbe1(0x182)]),s(_0x1157b9,_0xa8fbe1(0x1a8),_0x162a76[_0xa8fbe1(0x1be)]),s(_0x1157b9,'tooltip.indicatorLineColor',_0x162a76[_0xa8fbe1(0x194)]),s(_0x1157b9,_0xa8fbe1(0x191),_0x162a76[_0xa8fbe1(0x1bb)]);}if(_0x4399b2['allSeriesStyle']&&(s(_0x1157b9,_0xa8fbe1(0x1f7),_0x4399b2[_0xa8fbe1(0x1d8)][_0xa8fbe1(0x1ea)]),s(_0x1157b9,_0xa8fbe1(0x1ba),_0x4399b2[_0xa8fbe1(0x1d8)][_0xa8fbe1(0x208)]),s(_0x1157b9,_0xa8fbe1(0x1d1),_0x4399b2[_0xa8fbe1(0x1d8)][_0xa8fbe1(0x1fd)]),s(_0x1157b9,_0xa8fbe1(0x1e6),_0x4399b2['allSeriesStyle']['point']),s(_0x1157b9,'allSeriesStyle.color',_0x4399b2[_0xa8fbe1(0x1d8)]['color'])),_0x4399b2['area']&&s(_0x1157b9,_0xa8fbe1(0x22f),_0x4399b2['area'][_0xa8fbe1(0x1f5)]),_0x4399b2[_0xa8fbe1(0x190)]&&s(_0x1157b9,_0xa8fbe1(0x190),_0x4399b2[_0xa8fbe1(0x190)]),_0x4399b2[_0xa8fbe1(0x1b7)]&&s(_0x1157b9,_0xa8fbe1(0x1b7),_0x4399b2[_0xa8fbe1(0x1b7)]),_0x4399b2[_0xa8fbe1(0x1dc)]&&s(_0x1157b9,_0xa8fbe1(0x1dc),_0x4399b2[_0xa8fbe1(0x1dc)]),_0x4399b2['gradientFill']&&s(_0x1157b9,'gradientFill',_0x4399b2[_0xa8fbe1(0x17c)]),_0x4399b2[_0xa8fbe1(0x205)]&&s(_0x1157b9,_0xa8fbe1(0x205),_0x4399b2[_0xa8fbe1(0x205)]),_0x4399b2[_0xa8fbe1(0x206)]&&s(_0x1157b9,_0xa8fbe1(0x206),_0x4399b2[_0xa8fbe1(0x206)]),_0x4399b2[_0xa8fbe1(0x1d5)]){const _0xe63807=_0x4399b2['xAxisTitle'];s(_0x1157b9,_0xa8fbe1(0x1cf),_0xe63807[_0xa8fbe1(0x1ee)]),s(_0x1157b9,'titles.xAxisTitle.font',_0xe63807['font']),s(_0x1157b9,_0xa8fbe1(0x1cc),_0xe63807[_0xa8fbe1(0x19c)]),s(_0x1157b9,'titles.xAxisTitle.color',_0xe63807[_0xa8fbe1(0x227)]),s(_0x1157b9,'titles.xAxisTitle.family',_0xe63807['fontStyle']),s(_0x1157b9,'titles.xAxisTitle.bold',_0xe63807['bold']),s(_0x1157b9,'xAxis.label.axisTitleAlign',_0xe63807[_0xa8fbe1(0x1bd)]);}if(_0x4399b2['yAxisTitle']){const _0x2b2167=_0x4399b2['yAxisTitle'];s(_0x1157b9,_0xa8fbe1(0x17b),_0x2b2167['content']),s(_0x1157b9,_0xa8fbe1(0x201),_0x2b2167[_0xa8fbe1(0x173)]),s(_0x1157b9,'titles.yAxisTitle.fontSize',_0x2b2167[_0xa8fbe1(0x19c)]),s(_0x1157b9,_0xa8fbe1(0x176),_0x2b2167[_0xa8fbe1(0x227)]),s(_0x1157b9,_0xa8fbe1(0x1c4),_0x2b2167[_0xa8fbe1(0x18f)]),s(_0x1157b9,_0xa8fbe1(0x1bc),_0x2b2167[_0xa8fbe1(0x1f3)]),s(_0x1157b9,_0xa8fbe1(0x1ff),_0x2b2167[_0xa8fbe1(0x1bd)]);}if(_0x4399b2[_0xa8fbe1(0x1cb)]){const _0x5df041=_0x4399b2[_0xa8fbe1(0x1cb)];s(_0x1157b9,_0xa8fbe1(0x17e),_0x5df041[_0xa8fbe1(0x1ee)]),s(_0x1157b9,_0xa8fbe1(0x184),_0x5df041['font']),s(_0x1157b9,_0xa8fbe1(0x22d),_0x5df041['fontSize']),s(_0x1157b9,_0xa8fbe1(0x1b0),_0x5df041[_0xa8fbe1(0x227)]),s(_0x1157b9,'titles.rightYAxisTitle.family',_0x5df041['fontStyle']),s(_0x1157b9,_0xa8fbe1(0x214),_0x5df041[_0xa8fbe1(0x1f3)]),s(_0x1157b9,'rightYAxis.label.axisTitleAlign',_0x5df041[_0xa8fbe1(0x1bd)]);}_0x4399b2['xAxis']&&s(_0x1157b9,_0xa8fbe1(0x193),_0x4399b2[_0xa8fbe1(0x193)]),_0x4399b2[_0xa8fbe1(0x1a7)]&&s(_0x1157b9,_0xa8fbe1(0x1a7),_0x4399b2[_0xa8fbe1(0x1a7)]),_0x4399b2[_0xa8fbe1(0x1d2)]&&s(_0x1157b9,_0xa8fbe1(0x1fd),_0x4399b2[_0xa8fbe1(0x1d2)]),_0x4399b2[_0xa8fbe1(0x21e)]&&s(_0x1157b9,_0xa8fbe1(0x21e),_0x4399b2[_0xa8fbe1(0x21e)]);const _0x4e5b4d={'unitId':_0x58bf6f,'chartModelId':_0x2c4242};let _0x11f360=!0x1;if(_0x4eb1d3!==void 0x0&&(_0x4e5b4d[_0xa8fbe1(0x199)]=_0x4eb1d3,_0x11f360=!0x0),Object['keys'](_0x1157b9)[_0xa8fbe1(0x1e3)]>0x0&&(_0x4e5b4d[_0xa8fbe1(0x19a)]=_0x1157b9,_0x11f360=!0x0),Object[_0xa8fbe1(0x1e2)](_0x932843)[_0xa8fbe1(0x1e3)]>0x0&&(_0x4e5b4d[_0xa8fbe1(0x1a2)]=_0x932843,_0x11f360=!0x0),_0x11f360)return _0x4e5b4d;};class c extends _0xb7e52{constructor(_0x26adce,_0x43be69,_0x342e5b,_0x446e47,_0x3be1f1){const _0x2bf1f4=_0x1420db;super(),n(this,'_workbook'),n(this,'_injector'),n(this,_0x2bf1f4(0x22c)),n(this,'subUnitId'),n(this,_0x2bf1f4(0x1f6)),n(this,_0x2bf1f4(0x1ae)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x2bf1f4(0x1e5)),n(this,_0x2bf1f4(0x1fc)),n(this,'chartType'),n(this,'options'),n(this,_0x2bf1f4(0x20a)),(this[_0x2bf1f4(0x22c)]=_0x26adce,this[_0x2bf1f4(0x172)]=_0x43be69,this[_0x2bf1f4(0x223)]=_0x342e5b,this['_injector']=_0x446e47,_0x3be1f1&&(this[_0x2bf1f4(0x1f6)]=_0x3be1f1));}[_0x1420db(0x1e0)](){return this['chartType'];}[_0x1420db(0x1ef)](_0x365911){const _0x3dc53e=_0x1420db;if(typeof _0x365911==_0x3dc53e(0x185)){const _0x5f3813=_0x5c45e6(_0x365911);_0x5f3813[_0x3dc53e(0x1de)]&&(this[_0x3dc53e(0x1e1)]=_0x5f3813[_0x3dc53e(0x1de)]),this[_0x3dc53e(0x1ae)]=_0x5f3813[_0x3dc53e(0x1ae)];}else this['range']=_0x365911;return this;}[_0x1420db(0x21c)](){const _0x56d8c1=_0x1420db;return this['range']=void 0x0,this[_0x56d8c1(0x1e1)]=void 0x0,this;}[_0x1420db(0x1b6)](_0xfc46c5,_0x25d582,_0x3aa972,_0x3a9bfd){const _0x143c01=_0x1420db,_0x17943a=this[_0x143c01(0x1b2)][_0x143c01(0x1e4)](_0x477f83)[_0x143c01(0x21a)](this['unitId']);if(!_0x17943a)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x353d47=_0x17943a[_0x143c01(0x181)](_0x5ed202),_0x3d0a41=_0x17943a[_0x143c01(0x181)](_0x18fa58),{transform:_0x12757c}=_0x54af28(this[_0x143c01(0x22c)],this[_0x143c01(0x172)],{'row':_0xfc46c5,'column':_0x25d582,'rowOffset':_0x3aa972,'columnOffset':_0x3a9bfd},0x1,0x1,_0x353d47,_0x3d0a41),_0x1afc15=_0x12757c[_0x143c01(0x1fa)],_0x3dd467=_0x12757c[_0x143c01(0x1c9)];return this['x']=_0x3dd467,this['y']=_0x1afc15,this;}[_0x1420db(0x1b1)](_0x478fa6,_0x16e7cc){return this['x']=_0x478fa6,this['y']=_0x16e7cc,this;}[_0x1420db(0x225)](_0x83071b){const _0x4fb32a=_0x1420db;return this[_0x4fb32a(0x199)]=_0x83071b,this;}[_0x1420db(0x178)](_0x5b6c28){const _0xa8abab=_0x1420db;return this[_0xa8abab(0x1e5)]=_0x5b6c28,this;}['setHeight'](_0x15a6e4){const _0x4c068e=_0x1420db;return this[_0x4c068e(0x1fc)]=_0x15a6e4,this;}[_0x1420db(0x1ec)](_0x30f54e,_0x1022a9){const _0x143720=_0x1420db;return this[_0x143720(0x1b8)]||(this[_0x143720(0x1b8)]={}),_0x30f54e===''?(this[_0x143720(0x1b8)]={...this[_0x143720(0x1b8)],..._0x1022a9},this):(_0x1c81f1(this['options'],_0x30f54e,_0x1022a9),this);}[_0x1420db(0x1c5)](_0x3aa805){const _0x2be89b=_0x1420db;return this[_0x2be89b(0x20a)]=_0x3aa805,this;}[_0x1420db(0x187)](_0x26d54f){const _0x48f31e=_0x1420db;return this['setOptions'](_0x48f31e(0x190),_0x26d54f),this;}[_0x1420db(0x220)](_0x34eb2e){const _0x5c8d7f=_0x1420db;var _0xc094dc;const _0x37b0b4=((_0xc094dc=this[_0x5c8d7f(0x1b8)])==null?void 0x0:_0xc094dc[_0x5c8d7f(0x1d5)])||{};return _0x37b0b4[_0x5c8d7f(0x1ee)]=_0x34eb2e,this[_0x5c8d7f(0x1ec)](_0x5c8d7f(0x1d5),_0x37b0b4),this;}[_0x1420db(0x1a1)](_0x3585c1){const _0x73f369=_0x1420db;var _0x2f9ee0;const _0x143488=((_0x2f9ee0=this[_0x73f369(0x1b8)])==null?void 0x0:_0x2f9ee0['yAxisTitle'])||{};return _0x143488[_0x73f369(0x1ee)]=_0x3585c1,this[_0x73f369(0x1ec)](_0x73f369(0x1ab),_0x143488),this;}[_0x1420db(0x20b)](_0x4000fe){const _0x468c6b=_0x1420db;var _0x2dfbd5;const _0x7829f2=((_0x2dfbd5=this[_0x468c6b(0x1b8)])==null?void 0x0:_0x2dfbd5[_0x468c6b(0x1cb)])||{};return _0x7829f2[_0x468c6b(0x1ee)]=_0x4000fe,this[_0x468c6b(0x1ec)](_0x468c6b(0x1cb),_0x7829f2),this;}[_0x1420db(0x196)](_0x407710){const _0xda3507=_0x1420db;var _0x2efa96;const _0x19cc76=((_0x2efa96=this[_0xda3507(0x1b8)])==null?void 0x0:_0x2efa96['xAxisTitle'])||{};return this[_0xda3507(0x1ec)](_0xda3507(0x1d5),{..._0x19cc76,..._0x407710}),this;}['setYAxisTextStyle'](_0xfce50b){const _0x45e285=_0x1420db;var _0x327fd0;const _0x396a6b=((_0x327fd0=this[_0x45e285(0x1b8)])==null?void 0x0:_0x327fd0[_0x45e285(0x1ab)])||{};return this[_0x45e285(0x1ec)](_0x45e285(0x1ab),{..._0x396a6b,..._0xfce50b}),this;}['setRightYAxisTextStyle'](_0x51652a){const _0x177fe6=_0x1420db;var _0x44b80d;const _0x39eadf=((_0x44b80d=this[_0x177fe6(0x1b8)])==null?void 0x0:_0x44b80d[_0x177fe6(0x1cb)])||{};return this[_0x177fe6(0x1ec)](_0x177fe6(0x1cb),{..._0x39eadf,..._0x51652a}),this;}[_0x1420db(0x1f2)](_0x57a415){const _0x2e56dd=_0x1420db;return this[_0x2e56dd(0x1ec)]('invalidValueType',_0x57a415),this;}[_0x1420db(0x1d7)](_0x1b08f6){const _0x3b8247=_0x1420db;return this[_0x3b8247(0x1ec)](_0x3b8247(0x1ac),_0x1b08f6),this;}[_0x1420db(0x204)](_0x3cbd77){const _0x296711=_0x1420db;return this[_0x296711(0x1ec)](_0x296711(0x1d8),_0x3cbd77),this;}[_0x1420db(0x186)](_0x36ff02,_0x5f0622){const _0x2d8d07=_0x1420db;return this[_0x2d8d07(0x1ec)](_0x2d8d07(0x21e),{[_0x36ff02]:_0x5f0622}),this;}[_0x1420db(0x179)](){const _0x388b34=_0x1420db;var _0x5b4866;let _0x44d092=this[_0x388b34(0x172)];if(this[_0x388b34(0x1e1)]){const _0x3f6266=(_0x5b4866=this['_workbook']['getSheetBySheetName'](this[_0x388b34(0x1e1)]))==null?void 0x0:_0x5b4866['getSheetId']();if(!_0x3f6266)throw new Error('Sheet\x20'+this[_0x388b34(0x1e1)]+_0x388b34(0x1e8));_0x44d092=_0x3f6266;}return{'unitId':this['unitId'],'subUnitId':_0x44d092,'chartId':this[_0x388b34(0x1f6)],'range':this[_0x388b34(0x1ae)],'x':this['x'],'y':this['y'],'width':this[_0x388b34(0x1e5)],'height':this[_0x388b34(0x1fc)],'chartType':this['chartType'],'options':this['options'],'isRowDirection':this[_0x388b34(0x20a)]};}}class f{constructor(_0xca8856,_0x4a15b,_0x4f5ca5,_0x53ff91){const _0x3dc573=_0x1420db;n(this,_0x3dc573(0x22c)),n(this,'subUnitId'),n(this,_0x3dc573(0x1f6)),n(this,_0x3dc573(0x1b2)),(this['unitId']=_0xca8856,this[_0x3dc573(0x172)]=_0x4a15b,this[_0x3dc573(0x1f6)]=_0x4f5ca5,this[_0x3dc573(0x1b2)]=_0x53ff91);}[_0x1420db(0x202)](){return this['chartId'];}['getRange'](){const _0x4fd066=_0x1420db,_0x2060d9=this['_injector']['get'](_0x24b9eb)[_0x4fd066(0x19e)](this[_0x4fd066(0x1f6)]);if(_0x2060d9)return _0x2060d9[_0x4fd066(0x22b)][_0x4fd066(0x215)]();}['updateRange'](_0x1845ef){const _0x580b93=_0x1420db;return this['_injector']['get'](_0x221972)['executeCommand'](_0x2723ee['id'],{'unitId':this[_0x580b93(0x22c)],'chartModelId':this[_0x580b93(0x1f6)],'range':_0x1845ef});}[_0x1420db(0x19d)](){const _0x389f61=_0x1420db;var _0x28cf30;const _0x2f0c0c=this[_0x389f61(0x1b2)]['get'](_0x24b9eb)[_0x389f61(0x19e)](this[_0x389f61(0x1f6)]);if(_0x2f0c0c)return(_0x28cf30=_0x2f0c0c[_0x389f61(0x1ce)])==null?void 0x0:_0x28cf30[_0x389f61(0x1c3)];}[_0x1420db(0x1c2)](){const _0x2cfac0=_0x1420db;var _0x3ced29;const _0x2d498f=this['_injector'][_0x2cfac0(0x1e4)](_0x24b9eb)[_0x2cfac0(0x19e)](this['chartId']);if(_0x2d498f)return(_0x3ced29=_0x2d498f['config'])==null?void 0x0:_0x3ced29[_0x2cfac0(0x1d6)];}['modify'](){const _0x1fa19c=_0x1420db,_0x2254f0=this['_injector'][_0x1fa19c(0x1e4)](_0x5b972d)[_0x1fa19c(0x229)](_0x2b637c[_0x1fa19c(0x222)]);return new c(this[_0x1fa19c(0x22c)],this[_0x1fa19c(0x172)],_0x2254f0,this['_injector'],this[_0x1fa19c(0x1f6)]);}}class Q extends _0x37cbcc{async['insertChart'](_0x4d5400){const _0x3b7842=_0x1420db;var _0x7d0483,_0x374112,_0x4cfe40;const _0x1c146a=_0x4d5400[_0x3b7842(0x22c)]||this[_0x3b7842(0x18d)]()[_0x3b7842(0x1d9)](),_0x1e1b79=_0x4d5400['subUnitId']||this[_0x3b7842(0x1df)](),_0x44d577=_0x4d5400[_0x3b7842(0x1f6)]||_0x442c0a(),_0x84b75a=_0x4d5400[_0x3b7842(0x199)],_0x3fc40d=_0x4d5400[_0x3b7842(0x1ae)],_0x28e4f6={'x':_0x4d5400['x'],'y':_0x4d5400['y']},_0x20a190=_0x4d5400['width'],_0x449822=_0x4d5400[_0x3b7842(0x1fc)],_0x263838=(_0x7d0483=_0x4d5400['options'])==null?void 0x0:_0x7d0483[_0x3b7842(0x1b7)],_0x1864d7=(_0x374112=_0x4d5400[_0x3b7842(0x1b8)])==null?void 0x0:_0x374112[_0x3b7842(0x1dc)],_0xd98928=C(_0x1c146a,_0x44d577,_0x84b75a,_0x4d5400[_0x3b7842(0x1b8)]),_0x529e58=(_0x4cfe40=_0x4d5400['isRowDirection'])!=null?_0x4cfe40:!0x0;if(!_0x3fc40d)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService'][_0x3b7842(0x18a)](_0x232021['id'],{'unitId':_0x1c146a,'subUnitId':_0x1e1b79,'chartId':_0x44d577,'chartType':_0x84b75a,'range':_0x3fc40d,'position':_0x28e4f6,'width':_0x20a190,'height':_0x449822,'backgroundColor':_0x263838,'borderColor':_0x1864d7,'config':_0xd98928,'isRowDirection':_0x529e58}),new f(_0x1c146a,_0x1e1b79,_0x44d577,this[_0x3b7842(0x1b2)]);}[_0x1420db(0x20e)](_0x441696){const _0x367d88=_0x1420db,{unitId:_0x52a78f,chartId:_0x1d4389,chartType:_0x2c30f0,options:_0x161430}=_0x441696,_0xc68511=C(_0x52a78f,_0x1d4389,_0x2c30f0,_0x161430);this[_0x367d88(0x1a6)][_0x367d88(0x18a)](_0xecd172['id'],_0xc68511);}[_0x1420db(0x224)](_0x5630c1){const _0x522982=_0x1420db;if(_0x5630c1)return new c(_0x5630c1['unitId'],_0x5630c1['subUnitId'],this['_workbook'],this[_0x522982(0x1b2)],_0x5630c1[_0x522982(0x1f6)]);const _0x242019=this[_0x522982(0x18d)]()['getUnitId'](),_0x22f34b=this[_0x522982(0x1df)]();return new c(_0x242019,_0x22f34b,this['_workbook'],this[_0x522982(0x1b2)]);}['getCharts'](){const _0x15a6d7=_0x1420db,_0x10b035=this[_0x15a6d7(0x1b2)][_0x15a6d7(0x1e4)](_0x24b9eb),_0x2e8d20=this[_0x15a6d7(0x18d)]()[_0x15a6d7(0x1d9)]();return _0x10b035[_0x15a6d7(0x1d4)](_0x2e8d20,this['getSheetId']())[_0x15a6d7(0x1c6)](_0x4529e8=>new f(_0x2e8d20,this[_0x15a6d7(0x1df)](),_0x4529e8['id'],this['_injector']));}[_0x1420db(0x207)](_0x28bb2e){const _0x48f808=_0x1420db,_0x5a1784=_0x28bb2e[_0x48f808(0x22c)],_0x10bc1d=_0x28bb2e[_0x48f808(0x172)],_0x1f0021=_0x28bb2e[_0x48f808(0x1f6)],_0x41cd92={'unitId':_0x5a1784,'drawings':[{'unitId':_0x5a1784,'subUnitId':_0x10bc1d,'drawingId':_0x1f0021,'drawingType':_0x2d77cd[_0x48f808(0x18b)]}]};return this[_0x48f808(0x1a6)]['executeCommand'](_0x4ed0c0['id'],_0x41cd92);}[_0x1420db(0x1c7)](_0x28b131,_0x49fb66){const _0xa26d2=_0x1420db;this[_0xa26d2(0x1b2)][_0xa26d2(0x1e4)](_0x2ffba9)['registerTheme'](_0x28b131,_0x49fb66);}}_0x37cbcc['extend'](Q);class Z extends _0x4209b7{get[_0x1420db(0x1e7)](){return _0xab92f7;}get['LegendPositionEnum'](){return _0x5cdfe9;}get[_0x1420db(0x1a4)](){return _0x326bf9;}get[_0x1420db(0x217)](){return _0x34f266;}get[_0x1420db(0x211)](){return _0x549221;}get[_0x1420db(0x213)](){return _0x34f773;}get['TitlePositionEnum'](){return _0x486166;}get[_0x1420db(0x18c)](){return _0x29e3ae;}}_0x4209b7['extend'](Z);class tt extends c{constructor(_0x86686a,_0x1bb171,_0x20e829,_0x280e05,_0x1bdd91){const _0x137d3a=_0x1420db;super(_0x86686a,_0x1bb171,_0x20e829,_0x280e05,_0x1bdd91),n(this,_0x137d3a(0x1f5)),n(this,_0x137d3a(0x1af)),n(this,_0x137d3a(0x1eb)),n(this,_0x137d3a(0x228));}['setLineStyle'](_0x2c601a){const _0x508809=_0x1420db;return this[_0x508809(0x1f5)]=_0x2c601a,this;}[_0x1420db(0x1b5)](_0x16de7a){const _0x3fb2cb=_0x1420db;return this[_0x3fb2cb(0x1af)]=_0x16de7a,this;}[_0x1420db(0x1fb)](_0x2f5d5d){const _0x2303b4=_0x1420db;return this[_0x2303b4(0x1eb)]=_0x2f5d5d,this;}[_0x1420db(0x21b)](_0xcc9408){const _0x1c554f=_0x1420db;return this[_0x1c554f(0x228)]=_0xcc9408,this;}[_0x1420db(0x179)](){const _0x2a462f=_0x1420db,_0x56c6c9=super[_0x2a462f(0x179)]();_0x56c6c9[_0x2a462f(0x199)]=_0xab92f7['Line'];const _0x1c6863=_0x56c6c9[_0x2a462f(0x1b8)]||{};return s(_0x1c6863,_0x2a462f(0x22f),this[_0x2a462f(0x1f5)]),s(_0x1c6863,_0x2a462f(0x1da),this[_0x2a462f(0x1af)]),s(_0x1c6863,_0x2a462f(0x1d0),this[_0x2a462f(0x1eb)]),s(_0x1c6863,_0x2a462f(0x1ed),this['dataPointSize']),_0x56c6c9[_0x2a462f(0x1b8)]=_0x1c6863,_0x56c6c9;}}class et extends c{[_0x1420db(0x1f4)](){const _0x294a39=_0x1420db;return new tt(this[_0x294a39(0x22c)],this[_0x294a39(0x172)],this['_workbook'],this[_0x294a39(0x1b2)],this['chartId']);}}c['extend'](et);class it extends c{constructor(_0x1bf95f,_0x309168,_0x1c38e7,_0x5351b1,_0x1461dd){const _0x202b8d=_0x1420db;super(_0x1bf95f,_0x309168,_0x1c38e7,_0x5351b1,_0x1461dd),n(this,'doughnutHole'),n(this,_0x202b8d(0x1dc)),n(this,'hasPaddingAngle'),n(this,_0x202b8d(0x183)),n(this,_0x202b8d(0x198)),n(this,'showLabelLine');}[_0x1420db(0x21d)](_0x159c12){const _0x59baf4=_0x1420db;return this[_0x59baf4(0x1bf)]=_0x159c12,this;}[_0x1420db(0x189)](_0x58ab17){const _0x9af077=_0x1420db;return this[_0x9af077(0x1dc)]=_0x58ab17,this;}[_0x1420db(0x17a)](_0x4ff249){const _0x1262f5=_0x1420db;return this[_0x1262f5(0x180)]=_0x4ff249,this;}['setIsHalfPie'](_0x23b12f){return this['isHalfPie']=_0x23b12f,this;}[_0x1420db(0x195)](_0x230d1f){const _0x16c683=_0x1420db;return this[_0x16c683(0x198)]=_0x230d1f,this;}[_0x1420db(0x203)](_0xdde007){return this['showLabelLine']=_0xdde007,this;}['build'](){const _0x4d9181=_0x1420db,_0xb81a7f=super['build']();_0xb81a7f[_0x4d9181(0x199)]=_0xab92f7[_0x4d9181(0x1aa)];const _0x42560b=_0xb81a7f[_0x4d9181(0x1b8)]||{};return s(_0x42560b,_0x4d9181(0x1cd),this['doughnutHole']),s(_0x42560b,_0x4d9181(0x1a5),this['borderColor']),s(_0x42560b,_0x4d9181(0x18e),this['hasPaddingAngle']),s(_0x42560b,_0x4d9181(0x1e9),this['isHalfPie']),s(_0x42560b,_0x4d9181(0x1b4),this[_0x4d9181(0x198)]),s(_0x42560b,'pie.showLabelLine',this[_0x4d9181(0x1f8)]),_0xb81a7f[_0x4d9181(0x1b8)]=_0x42560b,_0xb81a7f;}}class st extends c{[_0x1420db(0x1d3)](){const _0x27d751=_0x1420db;return new it(this[_0x27d751(0x22c)],this[_0x27d751(0x172)],this[_0x27d751(0x223)],this[_0x27d751(0x1b2)],this[_0x27d751(0x1f6)]);}}c[_0x1420db(0x22a)](st);class rt extends c{constructor(_0x273221,_0x24ff65,_0x26dd62,_0x2413b0,_0x5c8588){const _0x4e6eea=_0x1420db;super(_0x273221,_0x24ff65,_0x26dd62,_0x2413b0,_0x5c8588),n(this,_0x4e6eea(0x219)),n(this,_0x4e6eea(0x1b9));}[_0x1420db(0x218)](_0x315e06){const _0x394ee4=_0x1420db;return this[_0x394ee4(0x219)]=_0x315e06,this;}['setFill'](_0x540c75){const _0x590f97=_0x1420db;return this[_0x590f97(0x1b9)]=_0x540c75,this;}[_0x1420db(0x179)](){const _0x63e74d=_0x1420db,_0xe4c71a=super[_0x63e74d(0x179)]();_0xe4c71a[_0x63e74d(0x199)]=_0xab92f7[_0x63e74d(0x19b)];const _0x3ed82c=_0xe4c71a[_0x63e74d(0x1b8)]||{};return s(_0x3ed82c,_0x63e74d(0x212),this[_0x63e74d(0x219)]),s(_0x3ed82c,_0x63e74d(0x1c0),this['fill']),_0xe4c71a[_0x63e74d(0x1b8)]=_0x3ed82c,_0xe4c71a;}}class ot extends c{[_0x1420db(0x221)](){const _0x550b76=_0x1420db;return new rt(this[_0x550b76(0x22c)],this[_0x550b76(0x172)],this['_workbook'],this['_injector'],this['chartId']);}}c[_0x1420db(0x22a)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
1
+ const _0x16124b=_0x595e;(function(_0x114f1f,_0x29ac99){const _0x3f0d1e=_0x595e,_0x14a040=_0x114f1f();while(!![]){try{const _0x42fb36=parseInt(_0x3f0d1e(0x116))/0x1*(parseInt(_0x3f0d1e(0xce))/0x2)+-parseInt(_0x3f0d1e(0xd3))/0x3*(parseInt(_0x3f0d1e(0xc7))/0x4)+-parseInt(_0x3f0d1e(0x98))/0x5+parseInt(_0x3f0d1e(0x93))/0x6+-parseInt(_0x3f0d1e(0xe3))/0x7+-parseInt(_0x3f0d1e(0xdd))/0x8+parseInt(_0x3f0d1e(0xc4))/0x9;if(_0x42fb36===_0x29ac99)break;else _0x14a040['push'](_0x14a040['shift']());}catch(_0x2caeaa){_0x14a040['push'](_0x14a040['shift']());}}}(_0x3219,0x565e2));var R=Object[_0x16124b(0x7d)],k=(_0x16d070,_0x4b850f,_0x46722b)=>_0x4b850f in _0x16d070?R(_0x16d070,_0x4b850f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46722b}):_0x16d070[_0x4b850f]=_0x46722b,n=(_0x4e581b,_0x56aafe,_0x412448)=>k(_0x4e581b,typeof _0x56aafe!='symbol'?_0x56aafe+'':_0x56aafe,_0x412448);import{ChartThemeService as _0x471a4b,ChartTypeBits as _0x445984,LegendPositionEnum as _0x593620,SelectModeEnum as _0x2a7b16,AxisAlignEnum as _0x410af2,ChartBorderDashType as _0x417695,LinePointShape as _0x5b1119,TitlePositionEnum as _0x2cb4de,RadarShape as _0x5d0cd9}from'@univerjs-pro/engine-chart';import{setProperty as _0x4d04f3,SheetsChartService as _0x4302a6,ChartUpdateSourceCommand as _0x20c02b,ChartUpdateConfigCommand as _0x313b98}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x16b085}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x2d06e8,IUniverInstanceService as _0x4acbe7,UniverInstanceType as _0x32d63a,generateRandomId as _0x241172,DrawingTypeEnum as _0x2345e6}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x40b76b}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x179f51}from'@univerjs/sheets/facade';import{FBase as _0x38f3ad,FEnum as _0x2b65b1}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x476c78}from'@univerjs/engine-formula';import{IRenderManagerService as _0x2535fb}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x30f8b6,SheetSkeletonManagerService as _0x4147e6,convertPositionCellToSheetOverGrid as _0x4db64e}from'@univerjs/sheets-ui';const s=(_0x59f524,_0x2a8856,_0x56d1e5)=>{_0x56d1e5!==void 0x0&&_0x4d04f3(_0x59f524,_0x2a8856,_0x56d1e5);},C=(_0x150ea4,_0x43547c,_0x261420,_0x5c0c9b={})=>{const _0x26e486=_0x16124b,_0x189aec={},_0x2685ba={};if(_0x5c0c9b[_0x26e486(0x7a)]){const _0x25aab5=_0x5c0c9b['title'];s(_0x189aec,_0x26e486(0xe7),_0x25aab5[_0x26e486(0x74)]),s(_0x189aec,_0x26e486(0xee),_0x25aab5['font']),s(_0x189aec,_0x26e486(0xd2),_0x25aab5[_0x26e486(0xb4)]),s(_0x189aec,'titles.title.color',_0x25aab5[_0x26e486(0xbb)]),s(_0x189aec,_0x26e486(0xb8),_0x25aab5[_0x26e486(0xc0)]),s(_0x189aec,_0x26e486(0x81),_0x25aab5[_0x26e486(0x8e)]),s(_0x189aec,_0x26e486(0xe5),_0x25aab5['titleAlignment']),s(_0x189aec,'titles.titlePosition',_0x25aab5[_0x26e486(0x96)]);}if(_0x5c0c9b[_0x26e486(0x109)]){const _0x5b5ffa=_0x5c0c9b['legend'];s(_0x189aec,_0x26e486(0xf9),_0x5b5ffa[_0x26e486(0x96)]),s(_0x189aec,_0x26e486(0xa4),_0x5b5ffa[_0x26e486(0x92)]),s(_0x189aec,_0x26e486(0xd9),_0x5b5ffa['fontSize']),s(_0x189aec,_0x26e486(0x82),_0x5b5ffa[_0x26e486(0x83)]),s(_0x189aec,_0x26e486(0xe8),_0x5b5ffa[_0x26e486(0x8e)]),s(_0x189aec,_0x26e486(0xec),_0x5b5ffa[_0x26e486(0xbe)]);}if(_0x5c0c9b[_0x26e486(0x113)]){const _0x329345=_0x5c0c9b['pie'];s(_0x189aec,_0x26e486(0x8c),_0x329345['doughnutHole']),s(_0x189aec,_0x26e486(0x8a),_0x329345[_0x26e486(0x77)]),s(_0x189aec,'pie.hasPaddingAngle',_0x329345[_0x26e486(0xea)]),s(_0x189aec,'pie.isHalfPie',_0x329345[_0x26e486(0xd8)]),s(_0x189aec,_0x26e486(0x106),_0x329345['rosePie']),s(_0x189aec,_0x26e486(0x107),_0x329345[_0x26e486(0x95)]);}if(_0x5c0c9b[_0x26e486(0xa7)]){const _0x19132d=_0x5c0c9b[_0x26e486(0xa7)];s(_0x189aec,_0x26e486(0x6f),_0x19132d[_0x26e486(0x9e)]),s(_0x189aec,_0x26e486(0xb2),_0x19132d[_0x26e486(0xf2)]),s(_0x189aec,_0x26e486(0xb7),_0x19132d[_0x26e486(0xab)]),s(_0x189aec,_0x26e486(0x91),_0x19132d[_0x26e486(0xa3)]);}if(_0x5c0c9b[_0x26e486(0x94)]&&(s(_0x189aec,'allSeriesStyle.border',_0x5c0c9b['allSeriesStyle']['border']),s(_0x189aec,'allSeriesStyle.label',_0x5c0c9b[_0x26e486(0x94)][_0x26e486(0x99)]),s(_0x189aec,'allSeriesStyle.rightYAxis',_0x5c0c9b[_0x26e486(0x94)][_0x26e486(0x7c)]),s(_0x189aec,_0x26e486(0x79),_0x5c0c9b[_0x26e486(0x94)]['point']),s(_0x189aec,'allSeriesStyle.color',_0x5c0c9b[_0x26e486(0x94)][_0x26e486(0x83)])),_0x5c0c9b[_0x26e486(0x80)]&&s(_0x189aec,'area.lineStyle',_0x5c0c9b['area'][_0x26e486(0x100)]),_0x5c0c9b[_0x26e486(0xf6)]&&s(_0x189aec,_0x26e486(0xf6),_0x5c0c9b[_0x26e486(0xf6)]),_0x5c0c9b[_0x26e486(0xc8)]&&s(_0x189aec,_0x26e486(0xc8),_0x5c0c9b[_0x26e486(0xc8)]),_0x5c0c9b[_0x26e486(0x77)]&&s(_0x189aec,_0x26e486(0x77),_0x5c0c9b[_0x26e486(0x77)]),_0x5c0c9b['gradientFill']&&s(_0x189aec,_0x26e486(0x89),_0x5c0c9b[_0x26e486(0x89)]),_0x5c0c9b[_0x26e486(0x101)]&&s(_0x189aec,_0x26e486(0x101),_0x5c0c9b[_0x26e486(0x101)]),_0x5c0c9b[_0x26e486(0xdb)]&&s(_0x189aec,_0x26e486(0xdb),_0x5c0c9b[_0x26e486(0xdb)]),_0x5c0c9b['xAxisTitle']){const _0x5db629=_0x5c0c9b['xAxisTitle'];s(_0x189aec,_0x26e486(0x104),_0x5db629[_0x26e486(0x74)]),s(_0x189aec,_0x26e486(0x75),_0x5db629['font']),s(_0x189aec,_0x26e486(0x85),_0x5db629[_0x26e486(0xb4)]),s(_0x189aec,_0x26e486(0xad),_0x5db629[_0x26e486(0xbb)]),s(_0x189aec,_0x26e486(0xfb),_0x5db629[_0x26e486(0xc0)]),s(_0x189aec,_0x26e486(0x10f),_0x5db629['bold']),s(_0x189aec,'xAxis.label.axisTitleAlign',_0x5db629[_0x26e486(0xd5)]);}if(_0x5c0c9b['yAxisTitle']){const _0x2ebfe7=_0x5c0c9b[_0x26e486(0xa0)];s(_0x189aec,_0x26e486(0xa8),_0x2ebfe7['content']),s(_0x189aec,_0x26e486(0xb3),_0x2ebfe7[_0x26e486(0x84)]),s(_0x189aec,'titles.yAxisTitle.fontSize',_0x2ebfe7[_0x26e486(0xb4)]),s(_0x189aec,_0x26e486(0x114),_0x2ebfe7[_0x26e486(0xbb)]),s(_0x189aec,_0x26e486(0xaa),_0x2ebfe7[_0x26e486(0xc0)]),s(_0x189aec,_0x26e486(0x86),_0x2ebfe7[_0x26e486(0x8e)]),s(_0x189aec,'yAxis.label.axisTitleAlign',_0x2ebfe7['axisAlignment']);}if(_0x5c0c9b[_0x26e486(0xa6)]){const _0x223d4e=_0x5c0c9b[_0x26e486(0xa6)];s(_0x189aec,_0x26e486(0xe4),_0x223d4e['content']),s(_0x189aec,_0x26e486(0xe1),_0x223d4e[_0x26e486(0x84)]),s(_0x189aec,_0x26e486(0xc9),_0x223d4e[_0x26e486(0xb4)]),s(_0x189aec,_0x26e486(0x87),_0x223d4e[_0x26e486(0xbb)]),s(_0x189aec,_0x26e486(0xed),_0x223d4e['fontStyle']),s(_0x189aec,_0x26e486(0xef),_0x223d4e['bold']),s(_0x189aec,_0x26e486(0xf1),_0x223d4e[_0x26e486(0xd5)]);}_0x5c0c9b[_0x26e486(0xf8)]&&s(_0x189aec,_0x26e486(0xf8),_0x5c0c9b[_0x26e486(0xf8)]),_0x5c0c9b['yAxis']&&s(_0x189aec,'yAxis',_0x5c0c9b['yAxis']),_0x5c0c9b[_0x26e486(0x10c)]&&s(_0x189aec,_0x26e486(0x7c),_0x5c0c9b['yRightAxis']),_0x5c0c9b[_0x26e486(0x103)]&&s(_0x189aec,'seriesStyleMap',_0x5c0c9b[_0x26e486(0x103)]);const _0xc64c6c={'unitId':_0x150ea4,'chartModelId':_0x43547c};let _0x51ec41=!0x1;if(_0x261420!==void 0x0&&(_0xc64c6c['chartType']=_0x261420,_0x51ec41=!0x0),Object[_0x26e486(0x90)](_0x189aec)[_0x26e486(0xbc)]>0x0&&(_0xc64c6c['style']=_0x189aec,_0x51ec41=!0x0),Object[_0x26e486(0x90)](_0x2685ba)[_0x26e486(0xbc)]>0x0&&(_0xc64c6c[_0x26e486(0xe2)]=_0x2685ba,_0x51ec41=!0x0),_0x51ec41)return _0xc64c6c;};function _0x595e(_0x1b06fe,_0x4f3697){_0x1b06fe=_0x1b06fe-0x6a;const _0x321913=_0x3219();let _0x595e39=_0x321913[_0x1b06fe];return _0x595e39;}class c extends _0x38f3ad{constructor(_0x4332f7,_0x145516,_0x3589b2,_0x33e82c,_0x20e9d3){const _0x34a6da=_0x16124b;super(),n(this,'_workbook'),n(this,_0x34a6da(0x6d)),n(this,_0x34a6da(0x6a)),n(this,_0x34a6da(0xf5)),n(this,_0x34a6da(0x6b)),n(this,_0x34a6da(0x6e)),n(this,_0x34a6da(0xbd)),n(this,'x'),n(this,'y'),n(this,_0x34a6da(0xcb)),n(this,_0x34a6da(0xd1)),n(this,_0x34a6da(0x10a)),n(this,_0x34a6da(0x112)),n(this,_0x34a6da(0xa2)),(this[_0x34a6da(0x6a)]=_0x4332f7,this['subUnitId']=_0x145516,this[_0x34a6da(0xfd)]=_0x3589b2,this['_injector']=_0x33e82c,_0x20e9d3&&(this[_0x34a6da(0x6b)]=_0x20e9d3));}[_0x16124b(0xb6)](){return this['chartType'];}[_0x16124b(0xc2)](_0x4f95b7){const _0x34c9f6=_0x16124b;if(typeof _0x4f95b7==_0x34c9f6(0x117)){const _0x5bdb82=_0x476c78(_0x4f95b7);_0x5bdb82['sheetName']&&(this[_0x34c9f6(0xbd)]=_0x5bdb82[_0x34c9f6(0xcc)]),this[_0x34c9f6(0x6e)]=_0x5bdb82['range'];}else this[_0x34c9f6(0x6e)]=_0x4f95b7;return this;}[_0x16124b(0x111)](){const _0x2e0fad=_0x16124b;return this[_0x2e0fad(0x6e)]=void 0x0,this[_0x2e0fad(0xbd)]=void 0x0,this;}['setPosition'](_0x137cfa,_0x2cbb52,_0x28c65b,_0x3db874){const _0x1024e8=_0x16124b,_0x37b33d=this[_0x1024e8(0x6d)]['get'](_0x2535fb)[_0x1024e8(0x115)](this['unitId']);if(!_0x37b33d)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x3eac6b=_0x37b33d[_0x1024e8(0x72)](_0x30f8b6),_0x5dbd31=_0x37b33d['with'](_0x4147e6),{transform:_0x4daceb}=_0x4db64e(this[_0x1024e8(0x6a)],this[_0x1024e8(0xf5)],{'row':_0x137cfa,'column':_0x2cbb52,'rowOffset':_0x28c65b,'columnOffset':_0x3db874},0x1,0x1,_0x3eac6b,_0x5dbd31),_0x5bbb2e=_0x4daceb[_0x1024e8(0x10e)],_0x13539d=_0x4daceb[_0x1024e8(0xba)];return this['x']=_0x13539d,this['y']=_0x5bbb2e,this;}[_0x16124b(0xa1)](_0x2d85a3,_0x4718e7){return this['x']=_0x2d85a3,this['y']=_0x4718e7,this;}[_0x16124b(0x10b)](_0x33dcf4){const _0x45a2bd=_0x16124b;return this[_0x45a2bd(0x10a)]=_0x33dcf4,this;}['setWidth'](_0x2c9610){const _0x1dfc0c=_0x16124b;return this[_0x1dfc0c(0xcb)]=_0x2c9610,this;}[_0x16124b(0xd7)](_0x3d004e){return this['height']=_0x3d004e,this;}[_0x16124b(0xb1)](_0x53601a,_0x2cdbf0){const _0x378274=_0x16124b;return this[_0x378274(0x112)]||(this[_0x378274(0x112)]={}),_0x53601a===''?(this[_0x378274(0x112)]={...this[_0x378274(0x112)],..._0x2cdbf0},this):(_0x4d04f3(this['options'],_0x53601a,_0x2cdbf0),this);}['setTransposeRowsAndColumns'](_0x28e6f8){return this['transposeRowsAndColumns']=_0x28e6f8,this;}[_0x16124b(0xf3)](_0x115de4){return this['setOptions']('theme',_0x115de4),this;}['setXAxisTitle'](_0x307817){const _0x3a4e33=_0x16124b;var _0x2bcdc3;const _0x1665a8=((_0x2bcdc3=this[_0x3a4e33(0x112)])==null?void 0x0:_0x2bcdc3[_0x3a4e33(0x102)])||{};return _0x1665a8[_0x3a4e33(0x74)]=_0x307817,this[_0x3a4e33(0xb1)](_0x3a4e33(0x102),_0x1665a8),this;}[_0x16124b(0xcf)](_0x3885ff){const _0x8da38b=_0x16124b;var _0x1af1f2;const _0x22385f=((_0x1af1f2=this[_0x8da38b(0x112)])==null?void 0x0:_0x1af1f2[_0x8da38b(0xa0)])||{};return _0x22385f[_0x8da38b(0x74)]=_0x3885ff,this[_0x8da38b(0xb1)](_0x8da38b(0xa0),_0x22385f),this;}[_0x16124b(0xe0)](_0x667678){const _0x8cd5e1=_0x16124b;var _0x2cf10c;const _0x537a15=((_0x2cf10c=this[_0x8cd5e1(0x112)])==null?void 0x0:_0x2cf10c['rightYAxisTitle'])||{};return _0x537a15['content']=_0x667678,this[_0x8cd5e1(0xb1)](_0x8cd5e1(0xa6),_0x537a15),this;}[_0x16124b(0xb0)](_0x4c0b8e){const _0x2f5cb6=_0x16124b;var _0x48b9ac;const _0x34f1a3=((_0x48b9ac=this[_0x2f5cb6(0x112)])==null?void 0x0:_0x48b9ac[_0x2f5cb6(0x102)])||{};return this['setOptions'](_0x2f5cb6(0x102),{..._0x34f1a3,..._0x4c0b8e}),this;}['setYAxisTextStyle'](_0x3e31b3){const _0x184b77=_0x16124b;var _0x44b64f;const _0x5df16a=((_0x44b64f=this[_0x184b77(0x112)])==null?void 0x0:_0x44b64f[_0x184b77(0xa0)])||{};return this['setOptions'](_0x184b77(0xa0),{..._0x5df16a,..._0x3e31b3}),this;}['setRightYAxisTextStyle'](_0x3ac604){const _0x58c20a=_0x16124b;var _0x35f21f;const _0x2ad51e=((_0x35f21f=this[_0x58c20a(0x112)])==null?void 0x0:_0x35f21f['rightYAxisTitle'])||{};return this[_0x58c20a(0xb1)]('rightYAxisTitle',{..._0x2ad51e,..._0x3ac604}),this;}[_0x16124b(0xa9)](_0x3cd59c){const _0x4fd98d=_0x16124b;return this[_0x4fd98d(0xb1)](_0x4fd98d(0x101),_0x3cd59c),this;}[_0x16124b(0x7e)](_0x2e5484){const _0x4447ff=_0x16124b;return this[_0x4447ff(0xb1)]('axisPointer',_0x2e5484),this;}['setAllSeriesStyle'](_0x3da622){const _0x13e374=_0x16124b;return this[_0x13e374(0xb1)](_0x13e374(0x94),_0x3da622),this;}[_0x16124b(0x118)](_0x3c7a18,_0x33bd81){const _0x404afc=_0x16124b;return this[_0x404afc(0xb1)]('seriesStyleMap',{[_0x3c7a18]:_0x33bd81}),this;}[_0x16124b(0xc1)](){const _0xbcba19=_0x16124b;return{'unitId':this[_0xbcba19(0x6a)],'subUnitId':this[_0xbcba19(0xf5)],'chartId':this[_0xbcba19(0x6b)],'range':this[_0xbcba19(0x6e)],'sourceSheetName':this[_0xbcba19(0xbd)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0xbcba19(0xd1)],'chartType':this[_0xbcba19(0x10a)],'options':this['options'],'isRowDirection':this[_0xbcba19(0xa2)]};}}class P{constructor(_0xa068a7,_0xe383e2,_0x17e582,_0x3fef64){const _0x39c863=_0x16124b;n(this,_0x39c863(0x6a)),n(this,_0x39c863(0xf5)),n(this,_0x39c863(0x6b)),n(this,_0x39c863(0x6d)),(this[_0x39c863(0x6a)]=_0xa068a7,this[_0x39c863(0xf5)]=_0xe383e2,this[_0x39c863(0x6b)]=_0x17e582,this['_injector']=_0x3fef64);}['getChartId'](){const _0x484ddf=_0x16124b;return this[_0x484ddf(0x6b)];}[_0x16124b(0x9f)](){const _0x37a02b=_0x16124b,_0x37058a=this['_injector'][_0x37a02b(0x88)](_0x4302a6)[_0x37a02b(0x7b)](this[_0x37a02b(0x6b)]);if(_0x37058a)return _0x37058a[_0x37a02b(0x105)]['getRangeInfo']();}['updateRange'](_0x4a62f4){const _0x283f13=_0x16124b;return this['_injector'][_0x283f13(0x88)](_0x2d06e8)[_0x283f13(0xc3)](_0x20c02b['id'],{'unitId':this[_0x283f13(0x6a)],'chartModelId':this[_0x283f13(0x6b)],'range':_0x4a62f4});}[_0x16124b(0xe6)](){const _0x4cb31e=_0x16124b;var _0x3d5f19;const _0x3abacd=this[_0x4cb31e(0x6d)]['get'](_0x4302a6)[_0x4cb31e(0x7b)](this[_0x4cb31e(0x6b)]);if(_0x3abacd)return(_0x3d5f19=_0x3abacd[_0x4cb31e(0xf7)])==null?void 0x0:_0x3d5f19[_0x4cb31e(0x110)];}['getCategoryData'](){const _0xaba58a=_0x16124b;var _0x46169e;const _0x1c3ed8=this[_0xaba58a(0x6d)][_0xaba58a(0x88)](_0x4302a6)['getChartModel'](this[_0xaba58a(0x6b)]);if(_0x1c3ed8)return(_0x46169e=_0x1c3ed8['config'])==null?void 0x0:_0x46169e['category'];}[_0x16124b(0xc6)](){const _0x273597=_0x16124b,_0x4f8a8b=this['_injector']['get'](_0x4acbe7)[_0x273597(0xe9)](_0x32d63a['UNIVER_SHEET']);return new c(this[_0x273597(0x6a)],this[_0x273597(0xf5)],_0x4f8a8b,this[_0x273597(0x6d)],this[_0x273597(0x6b)]);}}class $ extends _0x179f51{async[_0x16124b(0x10d)](_0x5a25ba){const _0x22293e=_0x16124b;var _0x4b722c,_0x29d36c,_0x1d61b3;const _0x43db0c=_0x5a25ba[_0x22293e(0x6a)]||this[_0x22293e(0xb9)]()['getUnitId'](),_0x28bcdc=_0x5a25ba[_0x22293e(0xf5)]||this[_0x22293e(0x6c)](),_0x3fc9d2=_0x5a25ba['chartId']||_0x241172(),_0x3e0902=_0x5a25ba[_0x22293e(0x10a)],_0x3a4149=_0x5a25ba['range'],_0x449053=_0x5a25ba[_0x22293e(0xbd)],_0x346eef={'x':_0x5a25ba['x'],'y':_0x5a25ba['y']},_0x2478d2=_0x5a25ba[_0x22293e(0xcb)],_0x496981=_0x5a25ba[_0x22293e(0xd1)],_0x501b55=(_0x4b722c=_0x5a25ba[_0x22293e(0x112)])==null?void 0x0:_0x4b722c[_0x22293e(0xc8)],_0x506c7c=(_0x29d36c=_0x5a25ba['options'])==null?void 0x0:_0x29d36c[_0x22293e(0x77)],_0x114d09=C(_0x43db0c,_0x3fc9d2,_0x3e0902,_0x5a25ba[_0x22293e(0x112)]),_0xcb48dc=(_0x1d61b3=_0x5a25ba[_0x22293e(0xf4)])!=null?_0x1d61b3:!0x0;if(!_0x3a4149)throw new Error(_0x22293e(0x76));return await this[_0x22293e(0xd4)][_0x22293e(0xc3)](_0x16b085['id'],{'unitId':_0x43db0c,'subUnitId':_0x28bcdc,'chartId':_0x3fc9d2,'chartType':_0x3e0902,'range':_0x3a4149,'sourceSheetName':_0x449053,'position':_0x346eef,'width':_0x2478d2,'height':_0x496981,'backgroundColor':_0x501b55,'borderColor':_0x506c7c,'config':_0x114d09,'isRowDirection':_0xcb48dc}),new P(_0x43db0c,_0x28bcdc,_0x3fc9d2,this['_injector']);}[_0x16124b(0xc5)](_0x2e03a7){const {unitId:_0x1c7391,chartId:_0x4a4730,chartType:_0x3fe549,options:_0x39368d}=_0x2e03a7,_0x5bc26e=C(_0x1c7391,_0x4a4730,_0x3fe549,_0x39368d);this['_commandService']['executeCommand'](_0x313b98['id'],_0x5bc26e);}[_0x16124b(0xca)](_0x420b45){const _0x436924=_0x16124b;if(_0x420b45)return new c(_0x420b45[_0x436924(0x6a)],_0x420b45[_0x436924(0xf5)],this[_0x436924(0xfd)],this[_0x436924(0x6d)],_0x420b45[_0x436924(0x6b)]);const _0x501eab=this['getWorkbook']()[_0x436924(0xb5)](),_0x46c378=this[_0x436924(0x6c)]();return new c(_0x501eab,_0x46c378,this[_0x436924(0xfd)],this['_injector']);}[_0x16124b(0xf0)](){const _0x14cb26=_0x16124b,_0x1eea4b=this[_0x14cb26(0x6d)][_0x14cb26(0x88)](_0x4302a6),_0x5514d4=this['getWorkbook']()[_0x14cb26(0xb5)]();return _0x1eea4b[_0x14cb26(0x9c)](_0x5514d4,this['getSheetId']())[_0x14cb26(0xcd)](_0x3b34b3=>new P(_0x5514d4,this['getSheetId'](),_0x3b34b3['id'],this[_0x14cb26(0x6d)]));}['removeChart'](_0x3bb932){const _0x568bc0=_0x16124b,_0x1177ee=_0x3bb932[_0x568bc0(0x6a)],_0x5cb3ce=_0x3bb932['subUnitId'],_0x53d6a9=_0x3bb932[_0x568bc0(0x6b)],_0x2887a2={'unitId':_0x1177ee,'drawings':[{'unitId':_0x1177ee,'subUnitId':_0x5cb3ce,'drawingId':_0x53d6a9,'drawingType':_0x2345e6['DRAWING_CHART']}]};return this[_0x568bc0(0xd4)][_0x568bc0(0xc3)](_0x40b76b['id'],_0x2887a2);}[_0x16124b(0xff)](_0x36215b,_0x4e90b3){const _0x2db67b=_0x16124b;this[_0x2db67b(0x6d)][_0x2db67b(0x88)](_0x471a4b)['registerTheme'](_0x36215b,_0x4e90b3);}}_0x179f51['extend']($);class tt extends _0x2b65b1{get[_0x16124b(0x78)](){return _0x445984;}get[_0x16124b(0x9b)](){return _0x593620;}get[_0x16124b(0xfc)](){return _0x2a7b16;}get['AxisAlignEnum'](){return _0x410af2;}get[_0x16124b(0x97)](){return _0x417695;}get[_0x16124b(0xae)](){return _0x5b1119;}get[_0x16124b(0xeb)](){return _0x2cb4de;}get[_0x16124b(0x7f)](){return _0x5d0cd9;}}_0x2b65b1[_0x16124b(0xac)](tt);class et extends c{constructor(_0x569aa8,_0x3afebf,_0x39b45a,_0x2927a0,_0x504ed8){const _0x31214a=_0x16124b;super(_0x569aa8,_0x3afebf,_0x39b45a,_0x2927a0,_0x504ed8),n(this,_0x31214a(0x100)),n(this,_0x31214a(0x119)),n(this,_0x31214a(0xda)),n(this,_0x31214a(0x8b));}[_0x16124b(0x71)](_0x21463f){return this['lineStyle']=_0x21463f,this;}[_0x16124b(0xaf)](_0xa0cf31){return this['dataPointShape']=_0xa0cf31,this;}[_0x16124b(0x9a)](_0x2444f3){const _0x4545e7=_0x16124b;return this[_0x4545e7(0xda)]=_0x2444f3,this;}['setDataPointSize'](_0x506e22){const _0x37322d=_0x16124b;return this[_0x37322d(0x8b)]=_0x506e22,this;}[_0x16124b(0xc1)](){const _0x46420c=_0x16124b,_0x18873d=super[_0x46420c(0xc1)]();_0x18873d[_0x46420c(0x10a)]=_0x445984[_0x46420c(0xd0)];const _0x267900=_0x18873d[_0x46420c(0x112)]||{};return s(_0x267900,'area.lineStyle',this[_0x46420c(0x100)]),s(_0x267900,_0x46420c(0xfa),this[_0x46420c(0x119)]),s(_0x267900,_0x46420c(0x70),this[_0x46420c(0xda)]),s(_0x267900,_0x46420c(0xbf),this['dataPointSize']),_0x18873d[_0x46420c(0x112)]=_0x267900,_0x18873d;}}class it extends c{['asLineChart'](){const _0x3bcbdc=_0x16124b;return new et(this[_0x3bcbdc(0x6a)],this[_0x3bcbdc(0xf5)],this[_0x3bcbdc(0xfd)],this['_injector'],this[_0x3bcbdc(0x6b)]);}}c[_0x16124b(0xac)](it);class st extends c{constructor(_0x39541a,_0x577d41,_0x3b9cd8,_0x1923dc,_0xcb017){const _0x34d407=_0x16124b;super(_0x39541a,_0x577d41,_0x3b9cd8,_0x1923dc,_0xcb017),n(this,_0x34d407(0xdc)),n(this,'borderColor'),n(this,_0x34d407(0xea)),n(this,'isHalfPie'),n(this,_0x34d407(0xdf)),n(this,_0x34d407(0x95));}[_0x16124b(0x8f)](_0x3a9892){return this['doughnutHole']=_0x3a9892,this;}['setBorderColor'](_0x305c10){const _0x3ad7f4=_0x16124b;return this[_0x3ad7f4(0x77)]=_0x305c10,this;}[_0x16124b(0xde)](_0x4d6f28){const _0x444b9f=_0x16124b;return this[_0x444b9f(0xea)]=_0x4d6f28,this;}[_0x16124b(0xd6)](_0x4fd1cf){return this['isHalfPie']=_0x4fd1cf,this;}[_0x16124b(0xa5)](_0x2e926a){const _0x27a295=_0x16124b;return this[_0x27a295(0xdf)]=_0x2e926a,this;}[_0x16124b(0x9d)](_0x3d13f3){const _0x562f23=_0x16124b;return this[_0x562f23(0x95)]=_0x3d13f3,this;}[_0x16124b(0xc1)](){const _0x45f505=_0x16124b,_0x15d6fd=super[_0x45f505(0xc1)]();_0x15d6fd[_0x45f505(0x10a)]=_0x445984['Pie'];const _0x4c0d44=_0x15d6fd[_0x45f505(0x112)]||{};return s(_0x4c0d44,_0x45f505(0x8c),this['doughnutHole']),s(_0x4c0d44,_0x45f505(0x8a),this['borderColor']),s(_0x4c0d44,'pie.hasPaddingAngle',this[_0x45f505(0xea)]),s(_0x4c0d44,'pie.isHalfPie',this[_0x45f505(0xd8)]),s(_0x4c0d44,_0x45f505(0x106),this[_0x45f505(0xdf)]),s(_0x4c0d44,_0x45f505(0x107),this[_0x45f505(0x95)]),_0x15d6fd[_0x45f505(0x112)]=_0x4c0d44,_0x15d6fd;}}class rt extends c{['asPieChart'](){const _0x15d0d2=_0x16124b;return new st(this[_0x15d0d2(0x6a)],this[_0x15d0d2(0xf5)],this[_0x15d0d2(0xfd)],this[_0x15d0d2(0x6d)],this[_0x15d0d2(0x6b)]);}}function _0x3219(){const _0x522fed=['setDoughnutHole','keys','tooltip.indicatorLabelTextColor','selectMode','1853808WgcKpi','allSeriesStyle','showLabelLine','position','ChartBorderDashType','1886900ENuEBu','label','setDataPointColor','LegendPositionEnum','getUnitChartModels','setShowLabelLine','indicatorLabelColor','getRange','yAxisTitle','setAbsolutePosition','transposeRowsAndColumns','indicatorLabelTextColor','legend.selectMode','setRosePie','rightYAxisTitle','axisPointer','titles.yAxisTitle.content','setInvalidValueStrategy','titles.yAxisTitle.family','indicatorLineColor','extend','titles.xAxisTitle.color','LinePointShape','setDataPointShape','setXAxisTextStyle','setOptions','tooltip.indicatorLineType','titles.yAxisTitle.font','fontSize','getUnitId','getChartType','tooltip.indicatorLineColor','titles.title.family','getWorkbook','left','fontColor','length','sourceSheetName','italic','allSeriesStyle.point.size','fontStyle','build','addRange','executeCommand','8005050riDPck','updateChart','modify','168192uADAYQ','backgroundColor','titles.rightYAxisTitle.fontSize','newChart','width','sheetName','map','56KwlyRm','setYAxisTitle','Line','height','titles.title.fontSize','15sljNQJ','_commandService','axisAlignment','setIsHalfPie','setHeight','isHalfPie','legend.label.fontSize','dataPointColor','radar','doughnutHole','2850976LitYPy','setHasPaddingAngle','rosePie','setRightYAxisTitle','titles.rightYAxisTitle.font','context','2534924auRrKF','titles.rightYAxisTitle.content','titles.title.align','getSeriesData','titles.title.content','legend.label.bold','getCurrentUnitForType','hasPaddingAngle','TitlePositionEnum','legend.label.italic','titles.rightYAxisTitle.family','titles.title.font','titles.rightYAxisTitle.bold','getCharts','rightYAxis.label.axisTitleAlign','indicatorLineType','setTheme','isRowDirection','subUnitId','theme','config','xAxis','legend.position','allSeriesStyle.point.shape','titles.xAxisTitle.family','SelectModeEnum','_workbook','shape','registerChartTheme','lineStyle','invalidValueType','xAxisTitle','seriesStyleMap','titles.xAxisTitle.content','dataSource','pie.rosePie','pie.showLabelLine','fill','legend','chartType','setChartType','yRightAxis','insertChart','top','titles.xAxisTitle.bold','series','clearRange','options','pie','titles.yAxisTitle.color','getRenderById','16481ItlkIl','string','setSeriesStyle','dataPointShape','unitId','chartId','getSheetId','_injector','range','tooltip.indicatorLabelColor','allSeriesStyle.point.color','setLineStyle','with','radar.shape','content','titles.xAxisTitle.font','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','borderColor','ChartType','allSeriesStyle.point','title','getChartModel','rightYAxis','defineProperty','setAxisPointerStyle','RadarShape','area','titles.title.bold','legend.label.color','color','font','titles.xAxisTitle.fontSize','titles.yAxisTitle.bold','titles.rightYAxisTitle.color','get','gradientFill','pie.borderColor','dataPointSize','pie.doughnutHole','setShape','bold'];_0x3219=function(){return _0x522fed;};return _0x3219();}c[_0x16124b(0xac)](rt);class ot extends c{constructor(_0xc27436,_0xc49458,_0x54e05c,_0x4d4b6e,_0x14d8e4){const _0x298fdc=_0x16124b;super(_0xc27436,_0xc49458,_0x54e05c,_0x4d4b6e,_0x14d8e4),n(this,'shape'),n(this,_0x298fdc(0x108));}[_0x16124b(0x8d)](_0x36a6ed){return this['shape']=_0x36a6ed,this;}['setFill'](_0x4adbff){const _0x1e2f0a=_0x16124b;return this[_0x1e2f0a(0x108)]=_0x4adbff,this;}['build'](){const _0x56aa4e=_0x16124b,_0x1c4be2=super[_0x56aa4e(0xc1)]();_0x1c4be2['chartType']=_0x445984['Radar'];const _0x27d2c0=_0x1c4be2['options']||{};return s(_0x27d2c0,_0x56aa4e(0x73),this[_0x56aa4e(0xfe)]),s(_0x27d2c0,'radar.fill',this['fill']),_0x1c4be2['options']=_0x27d2c0,_0x1c4be2;}}class nt extends c{['asRadarChart'](){const _0x44f41b=_0x16124b;return new ot(this[_0x44f41b(0x6a)],this[_0x44f41b(0xf5)],this[_0x44f41b(0xfd)],this[_0x44f41b(0x6d)],this['chartId']);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};