@univerjs-pro/sheets-chart-ui 0.15.0 → 0.15.1-insiders.20260117-8ce4a01

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/index.d.ts +1 -0
  41. package/lib/types/services/chart-render.service.d.ts +0 -1
  42. package/lib/types/wordcloud/index.d.ts +2 -0
  43. package/lib/types/wordcloud/layout.d.ts +13 -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 -19
@@ -1 +1 @@
1
- 'use strict';function _0x33ff(){const _0x5a6cb2=['副標題','使用絕對值','扇形間距','右垂直軸','小數位數','背景顏色','日期格式將日期和時間系列數值顯示為日期值。','221409OjcwQI','1995903biMqkb','空心正方形','使用值作為節點大小','瀑布圖','顯示軸線','力導向','主網格線','桑基圖','Y軸標題','圖表類型','旋轉標籤','圖表和軸標題','120cZSsPk','負值圖例文本','圓角矩形','數據標籤','格式類型','長條圖系列','數據點','請先添加系列開始數據可視化','6816952VwdTas','關係圖','貨幣類型','刻度線長度','標題對齊','視覺映射範圍','節點形狀','430PqEFFP','面積圖','常規格式不包含任何特定的數字格式。','環形圖','正值樣式','1480828MGPEHr','桑基圖不能包含循環數據','顯示空單元格為','熱力圖','負數類型','2442264jlafBF','系列\x20{0}','力導向選項','添加系列','趨勢線顏色','日期類型','詞雲圖','圖表數據源必須包含多於1列和1欄。','空心圓形','逆序軸','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','刪除圖表','玫瑰圖','佈局類型','更多設置','趨勢線線類型','百分比堆疊條形圖','空心三角形','5OufsQD','編輯圖表','正值圖例文本','空心針形','重複詞雲標籤','標題文本','氣泡大小','圓環孔','負值樣式','趨勢線名稱','第\x20{0}\x20','千分位符','左對齊','三角形','堆疊面積圖','開啟選中淡入特效','堆疊條形圖','空心箭頭','標題格式','第一四分位數','顯示小計','多邊形','切換列或欄','顯示數據標籤','{0}\x20粗細','空心矩形','指示線','正方形','{0}\x20類型','使用\x20{0}\x20作為類別標籤','氣泡圖','空心圓角矩形','百分比堆疊面積圖','顯示標籤','漸變填充','多項式','股票圖','軸選項','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','字段設置','8EGHdCN','條形圖','指示標籤','使用日期軸','280301ozHXEL','設置標籤格式','組合圖','詞雲形狀','指示線顏色','標籤旋轉','使用右軸','標籤位置','堆疊方式','插入圖表','折線圖','圖表樣式','移動平均','{0}\x20透明度','柱狀圖','第三四分位數','数值后缀','最小值','網格線和刻度線','exports','排列圖','多項式階數','趨勢線','日期軸僅在數據全部為日期格式時可用','累積占比','R平方','氣泡標籤','{0}\x20格式','{0}\x20大小','氣泡圖至少需要2欄,X軸、Y軸。','空心菱形','指示值','標題位置','刻度線位置','最大值','右Y軸標題','垂直軸','隱藏圖表面板','468215Vaxcgu','X軸標題','顯示R平方','趨勢線類型','小計樣式','添加趨勢線','自定義圖表','右對齊','設置圖表','指示線類型','百分比堆疊','類別\x20{0}','漏斗圖','中位數'];_0x33ff=function(){return _0x5a6cb2;};return _0x33ff();}const _0x3f018f=_0x26c3;function _0x26c3(_0x3e9c9d,_0x5b1769){_0x3e9c9d=_0x3e9c9d-0x169;const _0x33ffb7=_0x33ff();let _0x26c360=_0x33ffb7[_0x3e9c9d];return _0x26c360;}(function(_0x53d60c,_0x9dacc2){const _0x548e62=_0x26c3,_0x5c9c69=_0x53d60c();while(!![]){try{const _0x3b0706=-parseInt(_0x548e62(0x1d8))/0x1*(-parseInt(_0x548e62(0x199))/0x2)+parseInt(_0x548e62(0x1fe))/0x3+parseInt(_0x548e62(0x1f9))/0x4*(parseInt(_0x548e62(0x171))/0x5)+-parseInt(_0x548e62(0x1e5))/0x6*(parseInt(_0x548e62(0x19d))/0x7)+parseInt(_0x548e62(0x1ed))/0x8+parseInt(_0x548e62(0x1d9))/0x9+-parseInt(_0x548e62(0x1f4))/0xa*(parseInt(_0x548e62(0x1c3))/0xb);if(_0x3b0706===_0x9dacc2)break;else _0x5c9c69['push'](_0x5c9c69['shift']());}catch(_0x5c2b81){_0x5c9c69['push'](_0x5c9c69['shift']());}}}(_0x33ff,0x7d296));const e={'chart':{'insertChart':_0x3f018f(0x1a6),'editChart':_0x3f018f(0x172),'openChartPanel':'打開圖表面板','deleteChart':_0x3f018f(0x16a),'hideChartPanel':_0x3f018f(0x1c2),'setupChart':_0x3f018f(0x1cb),'customChart':_0x3f018f(0x1c9),'default':'默認','reset':'重置','chartType':_0x3f018f(0x1e2),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x3f018f(0x201),'moreSettings':_0x3f018f(0x16d),'min':_0x3f018f(0x1ae),'max':_0x3f018f(0x1bf),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':'(空)','seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x3f018f(0x1d6),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x3f018f(0x1d1),'xAxisTitle':_0x3f018f(0x1c4),'yAxisTitle':_0x3f018f(0x1e1),'rightYAxisTitle':_0x3f018f(0x1c0),'titleFormat':_0x3f018f(0x183),'titleText':_0x3f018f(0x176),'titlePosition':_0x3f018f(0x1bd),'titleAlign':_0x3f018f(0x1f1)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x3f018f(0x193),'settingsLabels':{'switchToRowOrColumn':_0x3f018f(0x187),'useAsCategoryLabels':_0x3f018f(0x18e),'showEmptyCellsAs':_0x3f018f(0x1fb)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x3f018f(0x17d),'center':'居中','right':_0x3f018f(0x1ca)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x3f018f(0x1a8),'chartAndAxisTitles':_0x3f018f(0x1e4),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x3f018f(0x196),'horizontalAxis':'水平軸','verticalAxis':_0x3f018f(0x1c1),'rightVerticalAxis':_0x3f018f(0x1d4),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x3f018f(0x1a3)},'position':'位置','dataLabels':_0x3f018f(0x1e8),'gridlinesAndTicks':_0x3f018f(0x1af),'indicatorLine':_0x3f018f(0x18b),'indicatorLineType':_0x3f018f(0x1cc),'indicatorLineColor':_0x3f018f(0x1a1),'indicatorLabel':_0x3f018f(0x19b),'indicatorValue':_0x3f018f(0x1bc),'shape':{'polygon':_0x3f018f(0x186),'circle':'圓形','square':_0x3f018f(0x18c),'triangle':_0x3f018f(0x17e),'diamond':'菱形','rect':'矩形','roundRect':_0x3f018f(0x1e7),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x3f018f(0x206),'emptySquare':_0x3f018f(0x1da),'emptyTriangle':_0x3f018f(0x170),'emptyDiamond':_0x3f018f(0x1bb),'emptyRect':_0x3f018f(0x18a),'emptyRoundRect':_0x3f018f(0x190),'emptyPin':_0x3f018f(0x174),'emptyArrow':_0x3f018f(0x182)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x3f018f(0x1aa),'withColor':'{0}\x20顏色','withThickness':_0x3f018f(0x189),'withType':_0x3f018f(0x18d),'withSize':_0x3f018f(0x1b9),'withShape':'{0}\x20形狀','withFormat':_0x3f018f(0x1b8),'dataPoint':'數據點','dataNodeShape':_0x3f018f(0x1f3),'addDataPoint':'添加數據點','point':_0x3f018f(0x1eb),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x3f018f(0x1cd)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x3f018f(0x1df),'text':'網格線'},'ticks':{'majorTick':'主刻度線','tickPosition':_0x3f018f(0x1be),'tickLength':_0x3f018f(0x1f0)},'none':'無','theIndexItem':_0x3f018f(0x17b),'seriesDefaultName':_0x3f018f(0x1ff),'categoryDefaultName':_0x3f018f(0x1ce),'styleEditPanel':{'showLabels':_0x3f018f(0x192),'showDataLabels':_0x3f018f(0x188),'padAngle':_0x3f018f(0x1d3),'halfPie':'半餅','rosePie':_0x3f018f(0x16b),'pieValScale':'数值比例','pieValSuffix':_0x3f018f(0x1ad),'pieDigitalFixed':'小數位數','showLabelLine':'顯示標籤線','reverseAxisOrder':_0x3f018f(0x207),'showAxisLine':_0x3f018f(0x1dd),'labelPosition':_0x3f018f(0x1a4),'labelText':'標籤文本','repeatWordCould':_0x3f018f(0x175),'gap':'間隔','useAbsValue':_0x3f018f(0x1d2),'labelRotate':_0x3f018f(0x1a2),'wordCloudShape':_0x3f018f(0x1a0),'useDateAxis':_0x3f018f(0x19c),'dateAxisTips':_0x3f018f(0x1b4)},'radar':{'fill':'填充'},'doughnutHole':_0x3f018f(0x178),'msg':{'invalidSource':_0x3f018f(0x205),'emptyTips':_0x3f018f(0x1ec),'sankeyCircularTips':_0x3f018f(0x1fa)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x3f018f(0x1b3),'displayName':_0x3f018f(0x17a),'addTrendLine':_0x3f018f(0x1c8),'trendlineType':_0x3f018f(0x1c6),'trendlineName':_0x3f018f(0x17a),'trendlineColor':_0x3f018f(0x202),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x3f018f(0x16e),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x3f018f(0x1a9),'poly':_0x3f018f(0x194),'order':_0x3f018f(0x1b2),'period':'移動平均周期','showFormula':'顯示公式','showR2':_0x3f018f(0x1c5),'formula':'公式','r2':_0x3f018f(0x1b6)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x3f018f(0x177),'label':_0x3f018f(0x1b7),'emptyTips':_0x3f018f(0x1ba)},'relation':{'title':_0x3f018f(0x1ee),'auto':'自動','circular':'環形','force':_0x3f018f(0x1de),'useValueAsSymbolSize':_0x3f018f(0x1db),'layoutType':_0x3f018f(0x16c),'forceOptions':_0x3f018f(0x200),'repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x3f018f(0x1e3),'emphasis':_0x3f018f(0x180),'emptyTips':_0x3f018f(0x197)},'waterfall':{'stackType':_0x3f018f(0x1a5),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x3f018f(0x185),'positiveStyle':_0x3f018f(0x1f8),'negativeStyle':_0x3f018f(0x179),'subtotalStyle':_0x3f018f(0x1c7),'positiveLegendText':_0x3f018f(0x173),'negativeLegendText':_0x3f018f(0x1e6),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':_0x3f018f(0x1b5),'lineSeries':'累積占比系列','barSeries':_0x3f018f(0x1ea)},'visualMapScope':_0x3f018f(0x1f2),'boxplot':{'min':_0x3f018f(0x1ae),'q1':_0x3f018f(0x184),'median':_0x3f018f(0x1d0),'q3':_0x3f018f(0x1ac),'max':_0x3f018f(0x1bf)}},'chartTypes':{'line':_0x3f018f(0x1a7),'area':_0x3f018f(0x1f5),'areaStacked':_0x3f018f(0x17f),'areaPercentStacked':_0x3f018f(0x191),'column':_0x3f018f(0x1ab),'bar':_0x3f018f(0x19a),'barStacked':_0x3f018f(0x181),'barPercentStacked':_0x3f018f(0x16f),'pie':'餅圖','donut':_0x3f018f(0x1f7),'scatter':'散點圖','radar':'雷達圖','bubble':_0x3f018f(0x18f),'stock':_0x3f018f(0x195),'combination':_0x3f018f(0x19f),'wordCloud':_0x3f018f(0x204),'funnel':_0x3f018f(0x1cf),'relation':_0x3f018f(0x1ee),'waterfall':_0x3f018f(0x1dc),'pareto':_0x3f018f(0x1b1),'sankey':_0x3f018f(0x1e0),'heatmap':_0x3f018f(0x1fc),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x3f018f(0x17c),'fieldSetting':_0x3f018f(0x198),'formatTypes':_0x3f018f(0x1e9),'confirm':'確定','cancel':'取消','generalDesc':_0x3f018f(0x1f6),'accountingDesc':_0x3f018f(0x169),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x3f018f(0x1d7),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':_0x3f018f(0x1d5),'currencyTypes':_0x3f018f(0x1ef),'negativeNumberTypes':_0x3f018f(0x1fd),'dateTypes':_0x3f018f(0x203)},'setFormat':_0x3f018f(0x19e)}};module[_0x3f018f(0x1b0)]=e;
1
+ 'use strict';const _0x2ff049=_0x2214;(function(_0x11fe1a,_0x39f7c9){const _0x337c19=_0x2214,_0xbeef9f=_0x11fe1a();while(!![]){try{const _0x3bdb5c=-parseInt(_0x337c19(0x93))/0x1*(-parseInt(_0x337c19(0x104))/0x2)+-parseInt(_0x337c19(0x9a))/0x3+-parseInt(_0x337c19(0x9f))/0x4+parseInt(_0x337c19(0xb9))/0x5+-parseInt(_0x337c19(0x8f))/0x6+-parseInt(_0x337c19(0xbc))/0x7*(parseInt(_0x337c19(0x105))/0x8)+parseInt(_0x337c19(0xfc))/0x9*(parseInt(_0x337c19(0xcb))/0xa);if(_0x3bdb5c===_0x39f7c9)break;else _0xbeef9f['push'](_0xbeef9f['shift']());}catch(_0x47d671){_0xbeef9f['push'](_0xbeef9f['shift']());}}}(_0x13be,0xc848a));function _0x13be(){const _0x734ad=['長條圖系列','空心矩形','空心三角形','線類型','圖例選擇模式','78198ylscsR','{0}\x20顏色','{0}\x20粗細','隱藏圖表面板','823Ccibmy','節點距離','標籤旋轉','佈局類型','桑基圖','三角形','正值樣式','1587660LyujmQ','負值樣式','自定義圖表','正值圖例文本','百分比堆疊條形圖','3567100GqITgU','X軸標題','顯示公式','類別\x20{0}','指示值','背景顏色','最大值','設置標籤格式','網格線','小數位數','用直線連接數據點','負數類型','節點形狀','右Y軸標題','主刻度線','瀑布圖','刪除圖表','趨勢線','使用\x20{0}\x20作為類別標籤','数值比例','空心圓角矩形','趨勢線名稱','添加系列','標籤位置','圖表邊框顏色','貨幣類型','3249600YjDZXF','{0}\x20形狀','氣泡圖至少需要2欄,X軸、Y軸。','466291ioOaMv','詞雲圖','空心正方形','標題文本','逆序軸','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','數據點','網格線和刻度線','所有系列','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','{0}\x20透明度','指示標籤','負值圖例文本','主網格線','{0}\x20類型','22642390dmltEd','正方形','箱型圖','打開圖表面板','R平方','圖表和軸標題','插入圖表','指示線','空心圓形','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','設置圖表','添加趨勢線','Y軸標題','軸選項','條形圖','移動平均','圖表類型','股票圖','雷達圖','數據範圍','力導向','累積占比','折線圖','百分比','標題位置','氣泡圖','小計圖例文本','水平軸','詞雲形狀','第三四分位數','關係圖','百分比堆疊','堆疊方式','日期軸僅在數據全部為日期格式時可用','排列圖','使用絕對值','多項式','垂直軸','格式類型','使用值作為節點大小','氣泡標籤','使用日期軸','數據標籤','切換列或欄','漏斗圖','氣泡大小','圓環孔','副標題','力導向選項','9fBMgzm','重複詞雲標籤','最小值','常規格式不包含任何特定的數字格式。','右垂直軸','刻度線位置','開啟選中淡入特效','指示線顏色','1958AfSuEq','176lCJNhs','百分比堆疊面積圖','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','左對齊','指示線類型','請先添加系列開始數據可視化','熱力圖','旋轉標籤','面積圖','玫瑰圖','顯示數據標籤','堆疊面積圖','編輯圖表','標題對齊'];_0x13be=function(){return _0x734ad;};return _0x13be();}function _0x2214(_0x317b84,_0x5aa13c){_0x317b84=_0x317b84-0x86;const _0x13be44=_0x13be();let _0x22141f=_0x13be44[_0x317b84];return _0x22141f;}const e={'chart':{'insertChart':_0x2ff049(0xd1),'editChart':_0x2ff049(0x88),'openChartPanel':_0x2ff049(0xce),'deleteChart':_0x2ff049(0xaf),'hideChartPanel':_0x2ff049(0x92),'setupChart':_0x2ff049(0xd5),'customChart':_0x2ff049(0x9c),'default':'默認','reset':'重置','chartType':_0x2ff049(0xdb),'themes':'主題','dataRange':_0x2ff049(0xde),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x2ff049(0xc4),'series':'系列','addSeries':_0x2ff049(0xb5),'moreSettings':'更多設置','min':_0x2ff049(0xfe),'max':_0x2ff049(0xa5),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x2ff049(0xa9)},'blank':'(空)','seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x2ff049(0xa4),'chartBorderColor':_0x2ff049(0xb7),'titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x2ff049(0xfa),'xAxisTitle':_0x2ff049(0xa0),'yAxisTitle':_0x2ff049(0xd7),'rightYAxisTitle':_0x2ff049(0xac),'titleFormat':'標題格式','titleText':_0x2ff049(0xbf),'titlePosition':_0x2ff049(0xe3),'titleAlign':_0x2ff049(0x89)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x2ff049(0xf6),'useAsCategoryLabels':_0x2ff049(0xb1),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x2ff049(0x108),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':_0x2ff049(0xd0),'legend':'圖例','legendSelectMode':_0x2ff049(0x8e),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x2ff049(0xd8),'horizontalAxis':_0x2ff049(0xe6),'verticalAxis':_0x2ff049(0xf0),'rightVerticalAxis':_0x2ff049(0x100),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':_0x2ff049(0xf5),'gridlinesAndTicks':_0x2ff049(0xc3),'indicatorLine':_0x2ff049(0xd2),'indicatorLineType':_0x2ff049(0x109),'indicatorLineColor':_0x2ff049(0x103),'indicatorLabel':_0x2ff049(0xc7),'indicatorValue':_0x2ff049(0xa3),'shape':{'polygon':'多邊形','circle':'圓形','square':_0x2ff049(0xcc),'triangle':_0x2ff049(0x98),'diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x2ff049(0xd3),'emptySquare':_0x2ff049(0xbe),'emptyTriangle':_0x2ff049(0x8c),'emptyDiamond':'空心菱形','emptyRect':_0x2ff049(0x8b),'emptyRoundRect':_0x2ff049(0xb3),'emptyPin':'空心針形','emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x2ff049(0xc6),'withColor':_0x2ff049(0x90),'withThickness':_0x2ff049(0x91),'withType':_0x2ff049(0xca),'withSize':'{0}\x20大小','withShape':_0x2ff049(0xba),'withFormat':'{0}\x20格式','dataPoint':_0x2ff049(0xc2),'dataNodeShape':_0x2ff049(0xab),'addDataPoint':'添加數據點','point':_0x2ff049(0xc2),'percentage':_0x2ff049(0xe2),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x2ff049(0xea)},'lineDashType':_0x2ff049(0x8d),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x2ff049(0xc9),'text':_0x2ff049(0xa7)},'ticks':{'majorTick':_0x2ff049(0xad),'tickPosition':_0x2ff049(0x101),'tickLength':'刻度線長度'},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x2ff049(0xa2),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x2ff049(0x86),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x2ff049(0x10e),'pieValScale':_0x2ff049(0xb2),'pieValSuffix':'数值后缀','pieDigitalFixed':_0x2ff049(0xa8),'showLabelLine':'顯示標籤線','reverseAxisOrder':_0x2ff049(0xc0),'showAxisLine':'顯示軸線','labelPosition':_0x2ff049(0xb6),'labelText':'標籤文本','repeatWordCould':_0x2ff049(0xfd),'gap':'間隔','useAbsValue':_0x2ff049(0xee),'labelRotate':_0x2ff049(0x95),'wordCloudShape':_0x2ff049(0xe7),'useDateAxis':_0x2ff049(0xf4),'dateAxisTips':_0x2ff049(0xec)},'radar':{'fill':'填充'},'doughnutHole':_0x2ff049(0xf9),'msg':{'invalidSource':'圖表數據源必須包含多於1列和1欄。','emptyTips':_0x2ff049(0x10a),'sankeyCircularTips':'桑基圖不能包含循環數據'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x2ff049(0xb0),'displayName':'趨勢線名稱','addTrendLine':_0x2ff049(0xd6),'trendlineType':'趨勢線類型','trendlineName':_0x2ff049(0xb4),'trendlineColor':'趨勢線顏色','trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x2ff049(0xda),'poly':_0x2ff049(0xef),'order':'多項式階數','period':'移動平均周期','showFormula':_0x2ff049(0xa1),'showR2':'顯示R平方','formula':'公式','r2':_0x2ff049(0xcf)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x2ff049(0xf8),'label':_0x2ff049(0xf3),'emptyTips':_0x2ff049(0xbb)},'relation':{'title':_0x2ff049(0xe9),'auto':'自動','circular':'環形','force':_0x2ff049(0xdf),'useValueAsSymbolSize':_0x2ff049(0xf2),'layoutType':_0x2ff049(0x96),'forceOptions':_0x2ff049(0xfb),'repulsion':'斥力','gravity':'引力','edgeLength':_0x2ff049(0x94),'rotateLabel':_0x2ff049(0x10c),'emphasis':_0x2ff049(0x102),'emptyTips':_0x2ff049(0xd4)},'waterfall':{'stackType':_0x2ff049(0xeb),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x2ff049(0x99),'negativeStyle':_0x2ff049(0x9b),'subtotalStyle':'小計樣式','positiveLegendText':_0x2ff049(0x9d),'negativeLegendText':_0x2ff049(0xc8),'subtotalLegendText':_0x2ff049(0xe5)},'pareto':{'lineName':_0x2ff049(0xe0),'lineSeries':'累積占比系列','barSeries':_0x2ff049(0x8a)},'visualMapScope':'視覺映射範圍','boxplot':{'min':'最小值','q1':'第一四分位數','median':'中位數','q3':_0x2ff049(0xe8),'max':_0x2ff049(0xa5)}},'chartTypes':{'line':_0x2ff049(0xe1),'area':_0x2ff049(0x10d),'areaStacked':_0x2ff049(0x87),'areaPercentStacked':_0x2ff049(0x106),'column':'柱狀圖','bar':_0x2ff049(0xd9),'barStacked':'堆疊條形圖','barPercentStacked':_0x2ff049(0x9e),'pie':'餅圖','donut':'環形圖','scatter':'散點圖','radar':_0x2ff049(0xdd),'bubble':_0x2ff049(0xe4),'stock':_0x2ff049(0xdc),'combination':'組合圖','wordCloud':_0x2ff049(0xbd),'funnel':_0x2ff049(0xf7),'relation':_0x2ff049(0xe9),'waterfall':_0x2ff049(0xae),'pareto':_0x2ff049(0xed),'sankey':_0x2ff049(0x97),'heatmap':_0x2ff049(0x10b),'boxplot':_0x2ff049(0xcd)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':'字段設置','formatTypes':_0x2ff049(0xf1),'confirm':'確定','cancel':'取消','generalDesc':_0x2ff049(0xff),'accountingDesc':_0x2ff049(0xc5),'currencyDesc':_0x2ff049(0xc1),'dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x2ff049(0x107),'decimalPlaces':'小數位數','currencyTypes':_0x2ff049(0xb8),'negativeNumberTypes':_0x2ff049(0xaa),'dateTypes':'日期類型'},'setFormat':_0x2ff049(0xa6)}};module['exports']=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x42df39=_0x39a8;function _0x39a8(_0x55fe24,_0x4930d8){_0x55fe24=_0x55fe24-0x70;const _0x4645e6=_0x4645();let _0x39a8eb=_0x4645e6[_0x55fe24];return _0x39a8eb;}(function(_0x296e54,_0x2e7f1f){const _0x36b91d=_0x39a8,_0x55162e=_0x296e54();while(!![]){try{const _0x5408b4=-parseInt(_0x36b91d(0xf5))/0x1+-parseInt(_0x36b91d(0x9c))/0x2*(parseInt(_0x36b91d(0x8f))/0x3)+-parseInt(_0x36b91d(0xbf))/0x4*(parseInt(_0x36b91d(0xb2))/0x5)+-parseInt(_0x36b91d(0x118))/0x6+-parseInt(_0x36b91d(0x88))/0x7*(-parseInt(_0x36b91d(0xc7))/0x8)+-parseInt(_0x36b91d(0x107))/0x9*(parseInt(_0x36b91d(0x11f))/0xa)+parseInt(_0x36b91d(0xc6))/0xb;if(_0x5408b4===_0x2e7f1f)break;else _0x55162e['push'](_0x55162e['shift']());}catch(_0x456fa1){_0x55162e['push'](_0x55162e['shift']());}}}(_0x4645,0x6a1b5));var R=Object[_0x42df39(0x74)],k=(_0xc32e48,_0x40ae13,_0x5edb61)=>_0x40ae13 in _0xc32e48?R(_0xc32e48,_0x40ae13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5edb61}):_0xc32e48[_0x40ae13]=_0x5edb61,n=(_0x34be87,_0x4b52ba,_0x518e83)=>k(_0x34be87,typeof _0x4b52ba!=_0x42df39(0xf7)?_0x4b52ba+'':_0x4b52ba,_0x518e83);import{ChartThemeService as _0x518978,ChartTypeBits as _0x508a1e,LegendPositionEnum as _0x210e7b,SelectModeEnum as _0x3573f3,AxisAlignEnum as _0x1fdf3c,ChartBorderDashType as _0x32730d,LinePointShape as _0x2945b1,TitlePositionEnum as _0x35bfc7,RadarShape as _0x252635}from'@univerjs-pro/engine-chart';import{setProperty as _0x569a5d,SheetsChartService as _0x4406cf,ChartUpdateSourceCommand as _0x2d728c,ChartUpdateConfigCommand as _0xebc6d8}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x1dca20}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x561c01,IUniverInstanceService as _0xcd690f,UniverInstanceType as _0x210a36,generateRandomId as _0x50aa85,DrawingTypeEnum as _0xc6f5ed}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x33e126}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x22bc04}from'@univerjs/sheets/facade';import{FBase as _0x236034,FEnum as _0x243cc4}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x4cdab6}from'@univerjs/engine-formula';import{IRenderManagerService as _0x5be089}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x387953,SheetSkeletonManagerService as _0x13df7f,convertPositionCellToSheetOverGrid as _0x490a0e}from'@univerjs/sheets-ui';const s=(_0x1e9b97,_0x24556a,_0x44ee74)=>{_0x44ee74!==void 0x0&&_0x569a5d(_0x1e9b97,_0x24556a,_0x44ee74);},C=(_0x50d0c5,_0x3ba4d4,_0x502d64,_0x2a76e3={})=>{const _0x56e81e=_0x42df39,_0x59909d={},_0x4dfa65={};if(_0x2a76e3[_0x56e81e(0xdc)]){const _0x3e029d=_0x2a76e3[_0x56e81e(0xdc)];s(_0x59909d,_0x56e81e(0xcf),_0x3e029d['content']),s(_0x59909d,_0x56e81e(0x119),_0x3e029d[_0x56e81e(0x124)]),s(_0x59909d,_0x56e81e(0xee),_0x3e029d['fontSize']),s(_0x59909d,'titles.title.color',_0x3e029d['fontColor']),s(_0x59909d,'titles.title.family',_0x3e029d[_0x56e81e(0xbd)]),s(_0x59909d,_0x56e81e(0x99),_0x3e029d[_0x56e81e(0x102)]),s(_0x59909d,_0x56e81e(0x7a),_0x3e029d[_0x56e81e(0x7d)]),s(_0x59909d,_0x56e81e(0xda),_0x3e029d[_0x56e81e(0xa0)]);}if(_0x2a76e3[_0x56e81e(0x11b)]){const _0x312358=_0x2a76e3[_0x56e81e(0x11b)];s(_0x59909d,_0x56e81e(0x10d),_0x312358[_0x56e81e(0xa0)]),s(_0x59909d,_0x56e81e(0xca),_0x312358[_0x56e81e(0xa2)]),s(_0x59909d,_0x56e81e(0xa3),_0x312358[_0x56e81e(0xaf)]),s(_0x59909d,_0x56e81e(0xbe),_0x312358[_0x56e81e(0x94)]),s(_0x59909d,_0x56e81e(0xb5),_0x312358[_0x56e81e(0x102)]),s(_0x59909d,_0x56e81e(0x10c),_0x312358[_0x56e81e(0xc3)]);}if(_0x2a76e3[_0x56e81e(0xb3)]){const _0x4652b2=_0x2a76e3[_0x56e81e(0xb3)];s(_0x59909d,'pie.doughnutHole',_0x4652b2['doughnutHole']),s(_0x59909d,_0x56e81e(0xa6),_0x4652b2[_0x56e81e(0x98)]),s(_0x59909d,_0x56e81e(0x8c),_0x4652b2[_0x56e81e(0x76)]),s(_0x59909d,_0x56e81e(0xae),_0x4652b2['isHalfPie']),s(_0x59909d,_0x56e81e(0x11c),_0x4652b2[_0x56e81e(0xb6)]),s(_0x59909d,'pie.showLabelLine',_0x4652b2[_0x56e81e(0xe1)]);}if(_0x2a76e3['axisPointer']){const _0x2b820e=_0x2a76e3['axisPointer'];s(_0x59909d,_0x56e81e(0x9e),_0x2b820e[_0x56e81e(0xc4)]),s(_0x59909d,_0x56e81e(0xde),_0x2b820e['indicatorLineType']),s(_0x59909d,_0x56e81e(0x122),_0x2b820e[_0x56e81e(0xd2)]),s(_0x59909d,_0x56e81e(0xd7),_0x2b820e['indicatorLabelTextColor']);}if(_0x2a76e3['allSeriesStyle']&&(s(_0x59909d,_0x56e81e(0xb8),_0x2a76e3['allSeriesStyle'][_0x56e81e(0xc2)]),s(_0x59909d,'allSeriesStyle.label',_0x2a76e3['allSeriesStyle'][_0x56e81e(0x90)]),s(_0x59909d,_0x56e81e(0x9f),_0x2a76e3[_0x56e81e(0xc0)][_0x56e81e(0xe9)]),s(_0x59909d,_0x56e81e(0xb1),_0x2a76e3[_0x56e81e(0xc0)][_0x56e81e(0x81)]),s(_0x59909d,_0x56e81e(0x110),_0x2a76e3['allSeriesStyle']['color'])),_0x2a76e3['area']&&s(_0x59909d,_0x56e81e(0x89),_0x2a76e3[_0x56e81e(0xba)]['lineStyle']),_0x2a76e3[_0x56e81e(0x103)]&&s(_0x59909d,_0x56e81e(0x103),_0x2a76e3[_0x56e81e(0x103)]),_0x2a76e3[_0x56e81e(0x8a)]&&s(_0x59909d,'backgroundColor',_0x2a76e3[_0x56e81e(0x8a)]),_0x2a76e3['borderColor']&&s(_0x59909d,'borderColor',_0x2a76e3[_0x56e81e(0x98)]),_0x2a76e3[_0x56e81e(0x109)]&&s(_0x59909d,_0x56e81e(0x109),_0x2a76e3[_0x56e81e(0x109)]),_0x2a76e3[_0x56e81e(0x84)]&&s(_0x59909d,_0x56e81e(0x84),_0x2a76e3[_0x56e81e(0x84)]),_0x2a76e3[_0x56e81e(0x8b)]&&s(_0x59909d,_0x56e81e(0x8b),_0x2a76e3[_0x56e81e(0x8b)]),_0x2a76e3[_0x56e81e(0xdd)]){const _0x1b4f21=_0x2a76e3[_0x56e81e(0xdd)];s(_0x59909d,'titles.xAxisTitle.content',_0x1b4f21['content']),s(_0x59909d,_0x56e81e(0x87),_0x1b4f21[_0x56e81e(0x124)]),s(_0x59909d,_0x56e81e(0x79),_0x1b4f21['fontSize']),s(_0x59909d,'titles.xAxisTitle.color',_0x1b4f21[_0x56e81e(0x105)]),s(_0x59909d,'titles.xAxisTitle.family',_0x1b4f21['fontStyle']),s(_0x59909d,_0x56e81e(0xf4),_0x1b4f21[_0x56e81e(0x102)]),s(_0x59909d,_0x56e81e(0x82),_0x1b4f21[_0x56e81e(0xfb)]);}if(_0x2a76e3['yAxisTitle']){const _0x37a3d3=_0x2a76e3['yAxisTitle'];s(_0x59909d,_0x56e81e(0xfa),_0x37a3d3[_0x56e81e(0x73)]),s(_0x59909d,_0x56e81e(0x113),_0x37a3d3['font']),s(_0x59909d,_0x56e81e(0x77),_0x37a3d3[_0x56e81e(0xaf)]),s(_0x59909d,_0x56e81e(0x121),_0x37a3d3[_0x56e81e(0x105)]),s(_0x59909d,'titles.yAxisTitle.family',_0x37a3d3[_0x56e81e(0xbd)]),s(_0x59909d,'titles.yAxisTitle.bold',_0x37a3d3['bold']),s(_0x59909d,_0x56e81e(0xf3),_0x37a3d3[_0x56e81e(0xfb)]);}if(_0x2a76e3['rightYAxisTitle']){const _0x2e4b07=_0x2a76e3['rightYAxisTitle'];s(_0x59909d,_0x56e81e(0xf1),_0x2e4b07[_0x56e81e(0x73)]),s(_0x59909d,_0x56e81e(0x72),_0x2e4b07[_0x56e81e(0x124)]),s(_0x59909d,_0x56e81e(0xcd),_0x2e4b07[_0x56e81e(0xaf)]),s(_0x59909d,_0x56e81e(0xf9),_0x2e4b07[_0x56e81e(0x105)]),s(_0x59909d,_0x56e81e(0x115),_0x2e4b07[_0x56e81e(0xbd)]),s(_0x59909d,_0x56e81e(0x123),_0x2e4b07[_0x56e81e(0x102)]),s(_0x59909d,_0x56e81e(0xe2),_0x2e4b07[_0x56e81e(0xfb)]);}_0x2a76e3['xAxis']&&s(_0x59909d,_0x56e81e(0xfc),_0x2a76e3['xAxis']),_0x2a76e3[_0x56e81e(0x120)]&&s(_0x59909d,'yAxis',_0x2a76e3[_0x56e81e(0x120)]),_0x2a76e3[_0x56e81e(0x9b)]&&s(_0x59909d,_0x56e81e(0xe9),_0x2a76e3[_0x56e81e(0x9b)]),_0x2a76e3[_0x56e81e(0xff)]&&s(_0x59909d,'seriesStyleMap',_0x2a76e3[_0x56e81e(0xff)]);const _0x104ceb={'unitId':_0x50d0c5,'chartModelId':_0x3ba4d4};let _0x22cd45=!0x1;if(_0x502d64!==void 0x0&&(_0x104ceb[_0x56e81e(0xd5)]=_0x502d64,_0x22cd45=!0x0),Object[_0x56e81e(0x10e)](_0x59909d)[_0x56e81e(0x9d)]>0x0&&(_0x104ceb['style']=_0x59909d,_0x22cd45=!0x0),Object[_0x56e81e(0x10e)](_0x4dfa65)[_0x56e81e(0x9d)]>0x0&&(_0x104ceb['context']=_0x4dfa65,_0x22cd45=!0x0),_0x22cd45)return _0x104ceb;};class c extends _0x236034{constructor(_0x4ba410,_0x32e8cc,_0x3fad46,_0x1e1ed1,_0x13a798){const _0x82a580=_0x42df39;super(),n(this,_0x82a580(0xd3)),n(this,'_injector'),n(this,_0x82a580(0xa7)),n(this,_0x82a580(0x95)),n(this,_0x82a580(0xce)),n(this,'range'),n(this,_0x82a580(0xec)),n(this,'x'),n(this,'y'),n(this,_0x82a580(0xc8)),n(this,'height'),n(this,'chartType'),n(this,_0x82a580(0x108)),n(this,_0x82a580(0xd9)),(this[_0x82a580(0xa7)]=_0x4ba410,this[_0x82a580(0x95)]=_0x32e8cc,this[_0x82a580(0xd3)]=_0x3fad46,this[_0x82a580(0x78)]=_0x1e1ed1,_0x13a798&&(this[_0x82a580(0xce)]=_0x13a798));}[_0x42df39(0x11e)](){return this['chartType'];}[_0x42df39(0xe5)](_0x189d53){const _0x1549eb=_0x42df39;if(typeof _0x189d53==_0x1549eb(0x97)){const _0x3b8350=_0x4cdab6(_0x189d53);_0x3b8350[_0x1549eb(0xa4)]&&(this[_0x1549eb(0xec)]=_0x3b8350[_0x1549eb(0xa4)]),this[_0x1549eb(0x70)]=_0x3b8350['range'];}else this[_0x1549eb(0x70)]=_0x189d53;return this;}['clearRange'](){const _0x10eed4=_0x42df39;return this[_0x10eed4(0x70)]=void 0x0,this['sourceSheetName']=void 0x0,this;}['setPosition'](_0xb8c958,_0x52890d,_0x573bce,_0x540d4b){const _0x54a7a1=_0x42df39,_0x5bf292=this[_0x54a7a1(0x78)][_0x54a7a1(0x86)](_0x5be089)['getRenderById'](this[_0x54a7a1(0xa7)]);if(!_0x5bf292)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x41b2ab=_0x5bf292[_0x54a7a1(0xb9)](_0x387953),_0x414d50=_0x5bf292[_0x54a7a1(0xb9)](_0x13df7f),{transform:_0x1555c5}=_0x490a0e(this[_0x54a7a1(0xa7)],this[_0x54a7a1(0x95)],{'row':_0xb8c958,'column':_0x52890d,'rowOffset':_0x573bce,'columnOffset':_0x540d4b},0x1,0x1,_0x41b2ab,_0x414d50),_0x34e0d1=_0x1555c5['top'],_0x39686c=_0x1555c5['left'];return this['x']=_0x39686c,this['y']=_0x34e0d1,this;}['setAbsolutePosition'](_0x34a41b,_0x2b0298){return this['x']=_0x34a41b,this['y']=_0x2b0298,this;}['setChartType'](_0xc74962){return this['chartType']=_0xc74962,this;}[_0x42df39(0x10a)](_0x4a9fc3){const _0x83bfa=_0x42df39;return this[_0x83bfa(0xc8)]=_0x4a9fc3,this;}['setHeight'](_0x1b135c){const _0x2a798c=_0x42df39;return this[_0x2a798c(0xed)]=_0x1b135c,this;}[_0x42df39(0xbb)](_0x114625,_0x38281c){const _0x7a13a8=_0x42df39;return this[_0x7a13a8(0x108)]||(this['options']={}),_0x114625===''?(this['options']={...this[_0x7a13a8(0x108)],..._0x38281c},this):(_0x569a5d(this[_0x7a13a8(0x108)],_0x114625,_0x38281c),this);}['setTransposeRowsAndColumns'](_0x1b7c0e){const _0xbbbdcc=_0x42df39;return this[_0xbbbdcc(0xd9)]=_0x1b7c0e,this;}['setTheme'](_0xa81e16){const _0x1c6575=_0x42df39;return this[_0x1c6575(0xbb)]('theme',_0xa81e16),this;}[_0x42df39(0xa8)](_0x2d8ec7){const _0x3e5ea5=_0x42df39;var _0x2a2889;const _0x347860=((_0x2a2889=this[_0x3e5ea5(0x108)])==null?void 0x0:_0x2a2889['xAxisTitle'])||{};return _0x347860[_0x3e5ea5(0x73)]=_0x2d8ec7,this[_0x3e5ea5(0xbb)]('xAxisTitle',_0x347860),this;}[_0x42df39(0x101)](_0x1df4ec){const _0x4a509c=_0x42df39;var _0x8aca08;const _0x4c7b5b=((_0x8aca08=this['options'])==null?void 0x0:_0x8aca08[_0x4a509c(0x10b)])||{};return _0x4c7b5b[_0x4a509c(0x73)]=_0x1df4ec,this[_0x4a509c(0xbb)]('yAxisTitle',_0x4c7b5b),this;}[_0x42df39(0xa5)](_0x331fe6){const _0x2491cc=_0x42df39;var _0x355b3e;const _0x42feb9=((_0x355b3e=this[_0x2491cc(0x108)])==null?void 0x0:_0x355b3e[_0x2491cc(0xe3)])||{};return _0x42feb9['content']=_0x331fe6,this[_0x2491cc(0xbb)]('rightYAxisTitle',_0x42feb9),this;}['setXAxisTextStyle'](_0x519e8c){const _0x3c0ca9=_0x42df39;var _0x172188;const _0xdf0fa5=((_0x172188=this[_0x3c0ca9(0x108)])==null?void 0x0:_0x172188[_0x3c0ca9(0xdd)])||{};return this[_0x3c0ca9(0xbb)](_0x3c0ca9(0xdd),{..._0xdf0fa5,..._0x519e8c}),this;}[_0x42df39(0xd1)](_0x3a7941){const _0x41a7b3=_0x42df39;var _0x2824ce;const _0x255347=((_0x2824ce=this[_0x41a7b3(0x108)])==null?void 0x0:_0x2824ce[_0x41a7b3(0x10b)])||{};return this[_0x41a7b3(0xbb)](_0x41a7b3(0x10b),{..._0x255347,..._0x3a7941}),this;}['setRightYAxisTextStyle'](_0x385cf4){const _0x1405a1=_0x42df39;var _0x2706a5;const _0x5ee59c=((_0x2706a5=this['options'])==null?void 0x0:_0x2706a5['rightYAxisTitle'])||{};return this['setOptions'](_0x1405a1(0xe3),{..._0x5ee59c,..._0x385cf4}),this;}[_0x42df39(0xf6)](_0x6c4f7e){const _0x52eb7f=_0x42df39;return this[_0x52eb7f(0xbb)](_0x52eb7f(0x84),_0x6c4f7e),this;}['setAxisPointerStyle'](_0x5a1f64){const _0x40b8a3=_0x42df39;return this[_0x40b8a3(0xbb)](_0x40b8a3(0x11a),_0x5a1f64),this;}['setAllSeriesStyle'](_0x4cfbca){const _0x5910b2=_0x42df39;return this['setOptions'](_0x5910b2(0xc0),_0x4cfbca),this;}['setSeriesStyle'](_0x1081aa,_0x5080df){const _0x78db11=_0x42df39;return this[_0x78db11(0xbb)]('seriesStyleMap',{[_0x1081aa]:_0x5080df}),this;}['build'](){const _0x1af40e=_0x42df39;return{'unitId':this[_0x1af40e(0xa7)],'subUnitId':this[_0x1af40e(0x95)],'chartId':this[_0x1af40e(0xce)],'range':this[_0x1af40e(0x70)],'sourceSheetName':this[_0x1af40e(0xec)],'x':this['x'],'y':this['y'],'width':this[_0x1af40e(0xc8)],'height':this[_0x1af40e(0xed)],'chartType':this[_0x1af40e(0xd5)],'options':this[_0x1af40e(0x108)],'isRowDirection':this[_0x1af40e(0xd9)]};}}class P{constructor(_0x166f68,_0x3f839c,_0x1b272f,_0x1f0366){const _0x4823af=_0x42df39;n(this,_0x4823af(0xa7)),n(this,_0x4823af(0x95)),n(this,'chartId'),n(this,_0x4823af(0x78)),(this[_0x4823af(0xa7)]=_0x166f68,this[_0x4823af(0x95)]=_0x3f839c,this[_0x4823af(0xce)]=_0x1b272f,this['_injector']=_0x1f0366);}[_0x42df39(0xc5)](){return this['chartId'];}[_0x42df39(0xf0)](){const _0x1896b0=_0x42df39,_0x155cf9=this[_0x1896b0(0x78)][_0x1896b0(0x86)](_0x4406cf)[_0x1896b0(0x112)](this[_0x1896b0(0xce)]);if(_0x155cf9)return _0x155cf9[_0x1896b0(0xa1)][_0x1896b0(0xdb)]();}[_0x42df39(0xaa)](_0x3c1bf5){const _0x2dab73=_0x42df39;return this[_0x2dab73(0x78)][_0x2dab73(0x86)](_0x561c01)[_0x2dab73(0x7f)](_0x2d728c['id'],{'unitId':this[_0x2dab73(0xa7)],'chartModelId':this[_0x2dab73(0xce)],'range':_0x3c1bf5});}[_0x42df39(0x100)](){const _0x25caaa=_0x42df39;var _0x1d37d9;const _0x2155d1=this[_0x25caaa(0x78)]['get'](_0x4406cf)[_0x25caaa(0x112)](this['chartId']);if(_0x2155d1)return(_0x1d37d9=_0x2155d1['config'])==null?void 0x0:_0x1d37d9[_0x25caaa(0xea)];}[_0x42df39(0x11d)](){const _0x14568c=_0x42df39;var _0x321930;const _0x453797=this['_injector'][_0x14568c(0x86)](_0x4406cf)[_0x14568c(0x112)](this[_0x14568c(0xce)]);if(_0x453797)return(_0x321930=_0x453797[_0x14568c(0x114)])==null?void 0x0:_0x321930[_0x14568c(0xe4)];}[_0x42df39(0x96)](){const _0x3c5ada=_0x42df39,_0x3247c0=this[_0x3c5ada(0x78)][_0x3c5ada(0x86)](_0xcd690f)[_0x3c5ada(0x7b)](_0x210a36[_0x3c5ada(0x91)]);return new c(this['unitId'],this[_0x3c5ada(0x95)],_0x3247c0,this['_injector'],this[_0x3c5ada(0xce)]);}}class $ extends _0x22bc04{async['insertChart'](_0x46963c){const _0xe912ed=_0x42df39;var _0x4cfa0c,_0x5bae65,_0x20858b;const _0x32d1d8=_0x46963c[_0xe912ed(0xa7)]||this[_0xe912ed(0xf2)]()['getUnitId'](),_0x481207=_0x46963c['subUnitId']||this[_0xe912ed(0x80)](),_0x24ca98=_0x46963c['chartId']||_0x50aa85(),_0x1ba609=_0x46963c['chartType'],_0x4ca8a5=_0x46963c[_0xe912ed(0x70)],_0x4c5b8c=_0x46963c[_0xe912ed(0xec)],_0x47134d={'x':_0x46963c['x'],'y':_0x46963c['y']},_0x336914=_0x46963c[_0xe912ed(0xc8)],_0x4b91e6=_0x46963c[_0xe912ed(0xed)],_0x2a43ee=(_0x4cfa0c=_0x46963c[_0xe912ed(0x108)])==null?void 0x0:_0x4cfa0c['backgroundColor'],_0x32bfa9=(_0x5bae65=_0x46963c['options'])==null?void 0x0:_0x5bae65[_0xe912ed(0x98)],_0x11a516=C(_0x32d1d8,_0x24ca98,_0x1ba609,_0x46963c[_0xe912ed(0x108)]),_0xd525aa=(_0x20858b=_0x46963c[_0xe912ed(0xd4)])!=null?_0x20858b:!0x0;if(!_0x4ca8a5)throw new Error(_0xe912ed(0xdf));return await this[_0xe912ed(0xf8)][_0xe912ed(0x7f)](_0x1dca20['id'],{'unitId':_0x32d1d8,'subUnitId':_0x481207,'chartId':_0x24ca98,'chartType':_0x1ba609,'range':_0x4ca8a5,'sourceSheetName':_0x4c5b8c,'position':_0x47134d,'width':_0x336914,'height':_0x4b91e6,'backgroundColor':_0x2a43ee,'borderColor':_0x32bfa9,'config':_0x11a516,'isRowDirection':_0xd525aa}),new P(_0x32d1d8,_0x481207,_0x24ca98,this[_0xe912ed(0x78)]);}[_0x42df39(0xab)](_0x43f232){const _0x2a056d=_0x42df39,{unitId:_0x3fb4cd,chartId:_0xfa702,chartType:_0x3e90db,options:_0x3a46ec}=_0x43f232,_0x11c499=C(_0x3fb4cd,_0xfa702,_0x3e90db,_0x3a46ec);this[_0x2a056d(0xf8)]['executeCommand'](_0xebc6d8['id'],_0x11c499);}['newChart'](_0x61343){const _0x368f4a=_0x42df39;if(_0x61343)return new c(_0x61343[_0x368f4a(0xa7)],_0x61343['subUnitId'],this[_0x368f4a(0xd3)],this[_0x368f4a(0x78)],_0x61343['chartId']);const _0x1794ea=this['getWorkbook']()[_0x368f4a(0xb7)](),_0x2cdbb1=this[_0x368f4a(0x80)]();return new c(_0x1794ea,_0x2cdbb1,this[_0x368f4a(0xd3)],this[_0x368f4a(0x78)]);}[_0x42df39(0xe6)](){const _0x1a4512=_0x42df39,_0x98bda3=this[_0x1a4512(0x78)][_0x1a4512(0x86)](_0x4406cf),_0x5f0012=this[_0x1a4512(0xf2)]()[_0x1a4512(0xb7)]();return _0x98bda3['getUnitChartModels'](_0x5f0012,this[_0x1a4512(0x80)]())[_0x1a4512(0x104)](_0xb2b5f1=>new P(_0x5f0012,this['getSheetId'](),_0xb2b5f1['id'],this[_0x1a4512(0x78)]));}[_0x42df39(0xa9)](_0x1a6255){const _0x3ef5ae=_0x42df39,_0x1f6716=_0x1a6255[_0x3ef5ae(0xa7)],_0x42645f=_0x1a6255[_0x3ef5ae(0x95)],_0x5ce111=_0x1a6255[_0x3ef5ae(0xce)],_0x2adb6d={'unitId':_0x1f6716,'drawings':[{'unitId':_0x1f6716,'subUnitId':_0x42645f,'drawingId':_0x5ce111,'drawingType':_0xc6f5ed[_0x3ef5ae(0xb0)]}]};return this[_0x3ef5ae(0xf8)][_0x3ef5ae(0x7f)](_0x33e126['id'],_0x2adb6d);}[_0x42df39(0xc1)](_0x17b905,_0x3232fa){const _0x45e236=_0x42df39;this[_0x45e236(0x78)][_0x45e236(0x86)](_0x518978)[_0x45e236(0xb4)](_0x17b905,_0x3232fa);}}_0x22bc04[_0x42df39(0xd0)]($);class tt extends _0x243cc4{get['ChartType'](){return _0x508a1e;}get[_0x42df39(0x8e)](){return _0x210e7b;}get[_0x42df39(0xfd)](){return _0x3573f3;}get['AxisAlignEnum'](){return _0x1fdf3c;}get['ChartBorderDashType'](){return _0x32730d;}get['LinePointShape'](){return _0x2945b1;}get[_0x42df39(0x117)](){return _0x35bfc7;}get[_0x42df39(0xcb)](){return _0x252635;}}_0x243cc4[_0x42df39(0xd0)](tt);class et extends c{constructor(_0x3a6894,_0x5aae18,_0x2c4406,_0x4ea28a,_0x689a9d){const _0x29af49=_0x42df39;super(_0x3a6894,_0x5aae18,_0x2c4406,_0x4ea28a,_0x689a9d),n(this,_0x29af49(0xeb)),n(this,_0x29af49(0xbc)),n(this,_0x29af49(0xd6)),n(this,_0x29af49(0x83));}[_0x42df39(0x111)](_0x26072d){const _0x4e495e=_0x42df39;return this[_0x4e495e(0xeb)]=_0x26072d,this;}[_0x42df39(0x10f)](_0x431bcc){const _0xa63df1=_0x42df39;return this[_0xa63df1(0xbc)]=_0x431bcc,this;}['setDataPointColor'](_0x594124){const _0x19a281=_0x42df39;return this[_0x19a281(0xd6)]=_0x594124,this;}[_0x42df39(0xcc)](_0x49caad){const _0xc85f2d=_0x42df39;return this[_0xc85f2d(0x83)]=_0x49caad,this;}[_0x42df39(0xe0)](){const _0x38c798=_0x42df39,_0x77d336=super[_0x38c798(0xe0)]();_0x77d336[_0x38c798(0xd5)]=_0x508a1e[_0x38c798(0x106)];const _0x4a13b8=_0x77d336[_0x38c798(0x108)]||{};return s(_0x4a13b8,'area.lineStyle',this[_0x38c798(0xeb)]),s(_0x4a13b8,'allSeriesStyle.point.shape',this[_0x38c798(0xbc)]),s(_0x4a13b8,_0x38c798(0x7e),this['dataPointColor']),s(_0x4a13b8,'allSeriesStyle.point.size',this[_0x38c798(0x83)]),_0x77d336[_0x38c798(0x108)]=_0x4a13b8,_0x77d336;}}class it extends c{['asLineChart'](){const _0x2f1470=_0x42df39;return new et(this[_0x2f1470(0xa7)],this[_0x2f1470(0x95)],this[_0x2f1470(0xd3)],this[_0x2f1470(0x78)],this[_0x2f1470(0xce)]);}}function _0x4645(){const _0x3228aa=['setBorderColor','get','titles.xAxisTitle.font','7dTwbkL','area.lineStyle','backgroundColor','radar','pie.hasPaddingAngle','setShowLabelLine','LegendPositionEnum','47835VNnktI','label','UNIVER_SHEET','doughnutHole','fill','color','subUnitId','modify','string','borderColor','titles.title.bold','pie.doughnutHole','yRightAxis','60BalQMn','length','tooltip.indicatorLabelColor','allSeriesStyle.rightYAxis','position','dataSource','selectMode','legend.label.fontSize','sheetName','setRightYAxisTitle','pie.borderColor','unitId','setXAxisTitle','removeChart','updateRange','updateChart','shape','setDoughnutHole','pie.isHalfPie','fontSize','DRAWING_CHART','allSeriesStyle.point','5mcDdUc','pie','registerTheme','legend.label.bold','rosePie','getUnitId','allSeriesStyle.border','with','area','setOptions','dataPointShape','fontStyle','legend.label.color','316924pLHZft','allSeriesStyle','registerChartTheme','border','italic','indicatorLabelColor','getChartId','30171735KECVKf','1989192fNhkJg','width','radar.shape','legend.selectMode','RadarShape','setDataPointSize','titles.rightYAxisTitle.fontSize','chartId','titles.title.content','extend','setYAxisTextStyle','indicatorLineColor','_workbook','isRowDirection','chartType','dataPointColor','tooltip.indicatorLabelTextColor','Radar','transposeRowsAndColumns','titles.titlePosition','getRangeInfo','title','xAxisTitle','tooltip.indicatorLineType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','build','showLabelLine','rightYAxis.label.axisTitleAlign','rightYAxisTitle','category','addRange','getCharts','asPieChart','Pie','rightYAxis','series','lineStyle','sourceSheetName','height','titles.title.fontSize','setShape','getRange','titles.rightYAxisTitle.content','getWorkbook','yAxis.label.axisTitleAlign','titles.xAxisTitle.bold','463566BRmkVf','setInvalidValueStrategy','symbol','_commandService','titles.rightYAxisTitle.color','titles.yAxisTitle.content','axisAlignment','xAxis','SelectModeEnum','isHalfPie','seriesStyleMap','getSeriesData','setYAxisTitle','bold','theme','map','fontColor','Line','32274IVfWGu','options','gradientFill','setWidth','yAxisTitle','legend.label.italic','legend.position','keys','setDataPointShape','allSeriesStyle.color','setLineStyle','getChartModel','titles.yAxisTitle.font','config','titles.rightYAxisTitle.family','pie.showLabelLine','TitlePositionEnum','4416576fTUyHv','titles.title.font','axisPointer','legend','pie.rosePie','getCategoryData','getChartType','2230mFhChV','yAxis','titles.yAxisTitle.color','tooltip.indicatorLineColor','titles.rightYAxisTitle.bold','font','range','setFill','titles.rightYAxisTitle.font','content','defineProperty','setIsHalfPie','hasPaddingAngle','titles.yAxisTitle.fontSize','_injector','titles.xAxisTitle.fontSize','titles.title.align','getCurrentUnitForType','radar.fill','titleAlignment','allSeriesStyle.point.color','executeCommand','getSheetId','point','xAxis.label.axisTitleAlign','dataPointSize','invalidValueType'];_0x4645=function(){return _0x3228aa;};return _0x4645();}c['extend'](it);class st extends c{constructor(_0xcd1662,_0x596fb5,_0x586551,_0x365b1b,_0x3bdbf0){const _0x5c8c47=_0x42df39;super(_0xcd1662,_0x596fb5,_0x586551,_0x365b1b,_0x3bdbf0),n(this,'doughnutHole'),n(this,_0x5c8c47(0x98)),n(this,_0x5c8c47(0x76)),n(this,_0x5c8c47(0xfe)),n(this,_0x5c8c47(0xb6)),n(this,_0x5c8c47(0xe1));}[_0x42df39(0xad)](_0x5da034){const _0x421da5=_0x42df39;return this[_0x421da5(0x92)]=_0x5da034,this;}[_0x42df39(0x85)](_0x352331){return this['borderColor']=_0x352331,this;}['setHasPaddingAngle'](_0x43c1b3){const _0x45d5a0=_0x42df39;return this[_0x45d5a0(0x76)]=_0x43c1b3,this;}[_0x42df39(0x75)](_0x3fc003){return this['isHalfPie']=_0x3fc003,this;}['setRosePie'](_0x4b1a8f){const _0x1a0a72=_0x42df39;return this[_0x1a0a72(0xb6)]=_0x4b1a8f,this;}[_0x42df39(0x8d)](_0x53b09f){const _0x9f3cc8=_0x42df39;return this[_0x9f3cc8(0xe1)]=_0x53b09f,this;}[_0x42df39(0xe0)](){const _0x3bed1c=_0x42df39,_0xdef702=super['build']();_0xdef702[_0x3bed1c(0xd5)]=_0x508a1e[_0x3bed1c(0xe8)];const _0x2cb04e=_0xdef702[_0x3bed1c(0x108)]||{};return s(_0x2cb04e,_0x3bed1c(0x9a),this['doughnutHole']),s(_0x2cb04e,_0x3bed1c(0xa6),this['borderColor']),s(_0x2cb04e,_0x3bed1c(0x8c),this[_0x3bed1c(0x76)]),s(_0x2cb04e,'pie.isHalfPie',this[_0x3bed1c(0xfe)]),s(_0x2cb04e,'pie.rosePie',this[_0x3bed1c(0xb6)]),s(_0x2cb04e,_0x3bed1c(0x116),this[_0x3bed1c(0xe1)]),_0xdef702[_0x3bed1c(0x108)]=_0x2cb04e,_0xdef702;}}class rt extends c{[_0x42df39(0xe7)](){const _0x5343c4=_0x42df39;return new st(this[_0x5343c4(0xa7)],this[_0x5343c4(0x95)],this[_0x5343c4(0xd3)],this['_injector'],this[_0x5343c4(0xce)]);}}c[_0x42df39(0xd0)](rt);class ot extends c{constructor(_0x5a9ee8,_0x2a6ceb,_0x2b57f6,_0x9b1d40,_0x203ff0){const _0x5cd6bc=_0x42df39;super(_0x5a9ee8,_0x2a6ceb,_0x2b57f6,_0x9b1d40,_0x203ff0),n(this,_0x5cd6bc(0xac)),n(this,_0x5cd6bc(0x93));}[_0x42df39(0xef)](_0x51f853){const _0x4b0a17=_0x42df39;return this[_0x4b0a17(0xac)]=_0x51f853,this;}[_0x42df39(0x71)](_0x200598){const _0x56d3fc=_0x42df39;return this[_0x56d3fc(0x93)]=_0x200598,this;}[_0x42df39(0xe0)](){const _0x482a5b=_0x42df39,_0x31986b=super[_0x482a5b(0xe0)]();_0x31986b[_0x482a5b(0xd5)]=_0x508a1e[_0x482a5b(0xd8)];const _0x2019e2=_0x31986b['options']||{};return s(_0x2019e2,_0x482a5b(0xc9),this[_0x482a5b(0xac)]),s(_0x2019e2,_0x482a5b(0x7c),this['fill']),_0x31986b[_0x482a5b(0x108)]=_0x2019e2,_0x31986b;}}class nt extends c{['asRadarChart'](){const _0x29535f=_0x42df39;return new ot(this[_0x29535f(0xa7)],this[_0x29535f(0x95)],this[_0x29535f(0xd3)],this[_0x29535f(0x78)],this[_0x29535f(0xce)]);}}c[_0x42df39(0xd0)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
1
+ const _0x3d5107=_0x2cd5;(function(_0x555fb0,_0x28488d){const _0x5056ae=_0x2cd5,_0x4b66f0=_0x555fb0();while(!![]){try{const _0x59f1be=parseInt(_0x5056ae(0x15b))/0x1*(parseInt(_0x5056ae(0x17c))/0x2)+-parseInt(_0x5056ae(0x14f))/0x3*(-parseInt(_0x5056ae(0x11c))/0x4)+-parseInt(_0x5056ae(0x15d))/0x5*(-parseInt(_0x5056ae(0x139))/0x6)+-parseInt(_0x5056ae(0x147))/0x7+parseInt(_0x5056ae(0x116))/0x8+-parseInt(_0x5056ae(0x1c1))/0x9+parseInt(_0x5056ae(0x129))/0xa*(-parseInt(_0x5056ae(0x14d))/0xb);if(_0x59f1be===_0x28488d)break;else _0x4b66f0['push'](_0x4b66f0['shift']());}catch(_0x57c148){_0x4b66f0['push'](_0x4b66f0['shift']());}}}(_0x10fa,0xc09a4));var R=Object['defineProperty'],k=(_0x5bad5a,_0x59fae0,_0x23838e)=>_0x59fae0 in _0x5bad5a?R(_0x5bad5a,_0x59fae0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23838e}):_0x5bad5a[_0x59fae0]=_0x23838e,n=(_0x24fafe,_0x56ffae,_0x4a671e)=>k(_0x24fafe,typeof _0x56ffae!=_0x3d5107(0x169)?_0x56ffae+'':_0x56ffae,_0x4a671e);import{ChartThemeService as _0x297d91,ChartTypeBits as _0x175c54,LegendPositionEnum as _0x812238,SelectModeEnum as _0x488ec1,AxisAlignEnum as _0x5ebec0,ChartBorderDashType as _0x248abc,LinePointShape as _0x5e16d4,TitlePositionEnum as _0x90f1cb,RadarShape as _0x16093d}from'@univerjs-pro/engine-chart';import{setProperty as _0x4e0c8d,SheetsChartService as _0x4bd493,ChartUpdateSourceCommand as _0x335784,ChartUpdateConfigCommand as _0x3f0ce5}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x4df80d}from'@univerjs-pro/sheets-chart-ui';function _0x10fa(){const _0x34f30b=['Line','25ehvlkC','label','getCharts','get','options','titles.yAxisTitle.fontSize','registerTheme','content','getRenderById','fontColor','bold','keys','symbol','pie.borderColor','pie','legend.label.italic','titles.rightYAxisTitle.color','setAbsolutePosition','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','titles.xAxisTitle.content','allSeriesStyle.point.color','setAxisPointerStyle','setBorderColor','rightYAxisTitle','build','titles.rightYAxisTitle.content','height','getRange','chartType','color','getUnitId','16dIpOzo','with','titles.yAxisTitle.color','setShape','setRightYAxisTitle','Pie','italic','transposeRowsAndColumns','AxisAlignEnum','setDoughnutHole','context','asLineChart','clearRange','area.lineStyle','_injector','getUnitChartModels','ChartType','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.title.font','top','radar','seriesStyleMap','DRAWING_CHART','titles.rightYAxisTitle.family','setTheme','gradientFill','titles.title.family','fontStyle','getCurrentUnitForType','shape','titles.titlePosition','setHeight','indicatorLineType','setShowLabelLine','unitId','titles.xAxisTitle.font','indicatorLabelColor','font','backgroundColor','tooltip.indicatorLabelTextColor','setPosition','rightYAxis','titles.rightYAxisTitle.fontSize','getSheetId','RadarShape','setSeriesStyle','subUnitId','rightYAxis.label.axisTitleAlign','allSeriesStyle.rightYAxis','pie.doughnutHole','lineStyle','config','dataPointShape','fill','sourceSheetName','setIsHalfPie','getChartId','allSeriesStyle.border','executeCommand','invalidValueType','setOptions','titles.rightYAxisTitle.bold','legend.label.bold','updateRange','legend.label.fontSize','width','borderColor','newChart','showLabelLine','1811196aVLurJ','getRangeInfo','registerChartTheme','setYAxisTextStyle','getChartModel','isRowDirection','axisAlignment','titles.title.color','rosePie','allSeriesStyle','sheetName','legend','setRosePie','doughnutHole','setXAxisTextStyle','indicatorLineColor','8628896JbsbJv','_workbook','yRightAxis','legend.selectMode','allSeriesStyle.point','titles.yAxisTitle.family','14284fPCwoI','titles.xAxisTitle.fontSize','axisPointer','tooltip.indicatorLabelColor','extend','yAxis','UNIVER_SHEET','selectMode','setHasPaddingAngle','addRange','title','setChartType','isHalfPie','17872610EALqgX','yAxisTitle','xAxisTitle','titles.title.fontSize','hasPaddingAngle','setXAxisTitle','Radar','xAxis','tooltip.indicatorLineType','_commandService','position','border','pie.isHalfPie','area','LinePointShape','titles.xAxisTitle.color','1603110pVWTUH','pie.hasPaddingAngle','allSeriesStyle.point.size','setAllSeriesStyle','chartId','getChartType','titles.yAxisTitle.font','dataPointColor','setWidth','tooltip.indicatorLineColor','getWorkbook','fontSize','setTransposeRowsAndColumns','dataPointSize','2752603dqpiDN','pie.showLabelLine','setDataPointColor','range','left','setInvalidValueStrategy','11DjdpMY','category','393zJpgjM','insertChart','setLineStyle','asPieChart','allSeriesStyle.color','theme','map','titles.title.content','modify','pie.rosePie','getSeriesData','titles.xAxisTitle.bold','36037iYpybJ'];_0x10fa=function(){return _0x34f30b;};return _0x10fa();}import{ICommandService as _0x542e52,IUniverInstanceService as _0x355ce4,UniverInstanceType as _0x2cfc02,generateRandomId as _0x25ff7b,DrawingTypeEnum as _0x4adb39}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x2be3d7}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2dd69b}from'@univerjs/sheets/facade';import{FBase as _0x5cb3a0,FEnum as _0x42f65e}from'@univerjs/core/facade';function _0x2cd5(_0x182ae4,_0x5e61ce){_0x182ae4=_0x182ae4-0x10a;const _0x10fa3a=_0x10fa();let _0x2cd5dd=_0x10fa3a[_0x182ae4];return _0x2cd5dd;}import{deserializeRangeWithSheet as _0x46d967}from'@univerjs/engine-formula';import{IRenderManagerService as _0x64f3f6}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x53907b,SheetSkeletonManagerService as _0x29a6d6,convertPositionCellToSheetOverGrid as _0x489ce1}from'@univerjs/sheets-ui';const s=(_0x237eda,_0x547795,_0x1b6e3a)=>{_0x1b6e3a!==void 0x0&&_0x4e0c8d(_0x237eda,_0x547795,_0x1b6e3a);},C=(_0x55d2b1,_0x501042,_0x219a8a,_0x380e70={})=>{const _0x45e9fc=_0x3d5107,_0x30b6fd={},_0x17d59a={};if(_0x380e70[_0x45e9fc(0x126)]){const _0x10b33f=_0x380e70[_0x45e9fc(0x126)];s(_0x30b6fd,_0x45e9fc(0x156),_0x10b33f[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x18e),_0x10b33f[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x12c),_0x10b33f[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x10d),_0x10b33f['fontColor']),s(_0x30b6fd,_0x45e9fc(0x196),_0x10b33f[_0x45e9fc(0x197)]),s(_0x30b6fd,'titles.title.bold',_0x10b33f[_0x45e9fc(0x167)]),s(_0x30b6fd,'titles.title.align',_0x10b33f['titleAlignment']),s(_0x30b6fd,_0x45e9fc(0x19a),_0x10b33f[_0x45e9fc(0x133)]);}if(_0x380e70[_0x45e9fc(0x111)]){const _0x2d6225=_0x380e70[_0x45e9fc(0x111)];s(_0x30b6fd,'legend.position',_0x2d6225[_0x45e9fc(0x133)]),s(_0x30b6fd,_0x45e9fc(0x119),_0x2d6225[_0x45e9fc(0x123)]),s(_0x30b6fd,_0x45e9fc(0x1bc),_0x2d6225['fontSize']),s(_0x30b6fd,'legend.label.color',_0x2d6225[_0x45e9fc(0x17a)]),s(_0x30b6fd,_0x45e9fc(0x1ba),_0x2d6225['bold']),s(_0x30b6fd,_0x45e9fc(0x16c),_0x2d6225[_0x45e9fc(0x182)]);}if(_0x380e70[_0x45e9fc(0x16b)]){const _0x488e2d=_0x380e70[_0x45e9fc(0x16b)];s(_0x30b6fd,_0x45e9fc(0x1ad),_0x488e2d['doughnutHole']),s(_0x30b6fd,'pie.borderColor',_0x488e2d[_0x45e9fc(0x1be)]),s(_0x30b6fd,_0x45e9fc(0x13a),_0x488e2d[_0x45e9fc(0x12d)]),s(_0x30b6fd,_0x45e9fc(0x135),_0x488e2d[_0x45e9fc(0x128)]),s(_0x30b6fd,'pie.rosePie',_0x488e2d[_0x45e9fc(0x10e)]),s(_0x30b6fd,_0x45e9fc(0x148),_0x488e2d[_0x45e9fc(0x1c0)]);}if(_0x380e70['axisPointer']){const _0x31cd1e=_0x380e70[_0x45e9fc(0x11e)];s(_0x30b6fd,_0x45e9fc(0x11f),_0x31cd1e[_0x45e9fc(0x1a0)]),s(_0x30b6fd,_0x45e9fc(0x131),_0x31cd1e[_0x45e9fc(0x19c)]),s(_0x30b6fd,_0x45e9fc(0x142),_0x31cd1e[_0x45e9fc(0x115)]),s(_0x30b6fd,_0x45e9fc(0x1a3),_0x31cd1e['indicatorLabelTextColor']);}if(_0x380e70['allSeriesStyle']&&(s(_0x30b6fd,_0x45e9fc(0x1b5),_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x134)]),s(_0x30b6fd,'allSeriesStyle.label',_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x15e)]),s(_0x30b6fd,_0x45e9fc(0x1ac),_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x1a5)]),s(_0x30b6fd,_0x45e9fc(0x11a),_0x380e70[_0x45e9fc(0x10f)]['point']),s(_0x30b6fd,_0x45e9fc(0x153),_0x380e70['allSeriesStyle']['color'])),_0x380e70[_0x45e9fc(0x136)]&&s(_0x30b6fd,_0x45e9fc(0x189),_0x380e70[_0x45e9fc(0x136)]['lineStyle']),_0x380e70[_0x45e9fc(0x154)]&&s(_0x30b6fd,_0x45e9fc(0x154),_0x380e70[_0x45e9fc(0x154)]),_0x380e70['backgroundColor']&&s(_0x30b6fd,_0x45e9fc(0x1a2),_0x380e70[_0x45e9fc(0x1a2)]),_0x380e70[_0x45e9fc(0x1be)]&&s(_0x30b6fd,_0x45e9fc(0x1be),_0x380e70[_0x45e9fc(0x1be)]),_0x380e70['gradientFill']&&s(_0x30b6fd,_0x45e9fc(0x195),_0x380e70[_0x45e9fc(0x195)]),_0x380e70[_0x45e9fc(0x1b7)]&&s(_0x30b6fd,_0x45e9fc(0x1b7),_0x380e70[_0x45e9fc(0x1b7)]),_0x380e70['radar']&&s(_0x30b6fd,'radar',_0x380e70[_0x45e9fc(0x190)]),_0x380e70[_0x45e9fc(0x12b)]){const _0x12c3ff=_0x380e70[_0x45e9fc(0x12b)];s(_0x30b6fd,_0x45e9fc(0x170),_0x12c3ff[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x19f),_0x12c3ff[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x11d),_0x12c3ff[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x138),_0x12c3ff[_0x45e9fc(0x166)]),s(_0x30b6fd,'titles.xAxisTitle.family',_0x12c3ff[_0x45e9fc(0x197)]),s(_0x30b6fd,_0x45e9fc(0x15a),_0x12c3ff['bold']),s(_0x30b6fd,'xAxis.label.axisTitleAlign',_0x12c3ff[_0x45e9fc(0x10c)]);}if(_0x380e70[_0x45e9fc(0x12a)]){const _0x3365be=_0x380e70[_0x45e9fc(0x12a)];s(_0x30b6fd,'titles.yAxisTitle.content',_0x3365be[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x13f),_0x3365be[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x162),_0x3365be['fontSize']),s(_0x30b6fd,_0x45e9fc(0x17e),_0x3365be[_0x45e9fc(0x166)]),s(_0x30b6fd,_0x45e9fc(0x11b),_0x3365be['fontStyle']),s(_0x30b6fd,'titles.yAxisTitle.bold',_0x3365be['bold']),s(_0x30b6fd,'yAxis.label.axisTitleAlign',_0x3365be['axisAlignment']);}if(_0x380e70[_0x45e9fc(0x174)]){const _0x9627d8=_0x380e70[_0x45e9fc(0x174)];s(_0x30b6fd,_0x45e9fc(0x176),_0x9627d8[_0x45e9fc(0x164)]),s(_0x30b6fd,'titles.rightYAxisTitle.font',_0x9627d8[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x1a6),_0x9627d8[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x16d),_0x9627d8[_0x45e9fc(0x166)]),s(_0x30b6fd,_0x45e9fc(0x193),_0x9627d8[_0x45e9fc(0x197)]),s(_0x30b6fd,_0x45e9fc(0x1b9),_0x9627d8[_0x45e9fc(0x167)]),s(_0x30b6fd,_0x45e9fc(0x1ab),_0x9627d8[_0x45e9fc(0x10c)]);}_0x380e70[_0x45e9fc(0x130)]&&s(_0x30b6fd,'xAxis',_0x380e70[_0x45e9fc(0x130)]),_0x380e70[_0x45e9fc(0x121)]&&s(_0x30b6fd,_0x45e9fc(0x121),_0x380e70['yAxis']),_0x380e70['yRightAxis']&&s(_0x30b6fd,_0x45e9fc(0x1a5),_0x380e70[_0x45e9fc(0x118)]),_0x380e70[_0x45e9fc(0x191)]&&s(_0x30b6fd,_0x45e9fc(0x191),_0x380e70['seriesStyleMap']);const _0xab0ae1={'unitId':_0x55d2b1,'chartModelId':_0x501042};let _0x13a7c3=!0x1;if(_0x219a8a!==void 0x0&&(_0xab0ae1[_0x45e9fc(0x179)]=_0x219a8a,_0x13a7c3=!0x0),Object[_0x45e9fc(0x168)](_0x30b6fd)['length']>0x0&&(_0xab0ae1['style']=_0x30b6fd,_0x13a7c3=!0x0),Object['keys'](_0x17d59a)['length']>0x0&&(_0xab0ae1[_0x45e9fc(0x186)]=_0x17d59a,_0x13a7c3=!0x0),_0x13a7c3)return _0xab0ae1;};class c extends _0x5cb3a0{constructor(_0x23165f,_0x1e371c,_0x5a8ec2,_0x3579ff,_0x1d5c5f){const _0xb0ad7=_0x3d5107;super(),n(this,_0xb0ad7(0x117)),n(this,_0xb0ad7(0x18a)),n(this,_0xb0ad7(0x19e)),n(this,'subUnitId'),n(this,'chartId'),n(this,_0xb0ad7(0x14a)),n(this,_0xb0ad7(0x1b2)),n(this,'x'),n(this,'y'),n(this,_0xb0ad7(0x1bd)),n(this,'height'),n(this,'chartType'),n(this,_0xb0ad7(0x161)),n(this,_0xb0ad7(0x183)),(this[_0xb0ad7(0x19e)]=_0x23165f,this[_0xb0ad7(0x1aa)]=_0x1e371c,this[_0xb0ad7(0x117)]=_0x5a8ec2,this[_0xb0ad7(0x18a)]=_0x3579ff,_0x1d5c5f&&(this[_0xb0ad7(0x13d)]=_0x1d5c5f));}[_0x3d5107(0x13e)](){const _0x3fdc6f=_0x3d5107;return this[_0x3fdc6f(0x179)];}[_0x3d5107(0x125)](_0x2d5521){const _0x15f547=_0x3d5107;if(typeof _0x2d5521=='string'){const _0x433ce9=_0x46d967(_0x2d5521);_0x433ce9[_0x15f547(0x110)]&&(this['sourceSheetName']=_0x433ce9[_0x15f547(0x110)]),this[_0x15f547(0x14a)]=_0x433ce9[_0x15f547(0x14a)];}else this[_0x15f547(0x14a)]=_0x2d5521;return this;}[_0x3d5107(0x188)](){const _0x425856=_0x3d5107;return this[_0x425856(0x14a)]=void 0x0,this[_0x425856(0x1b2)]=void 0x0,this;}[_0x3d5107(0x1a4)](_0xeb03c8,_0x4479ba,_0x3479c5,_0x3ac408){const _0x40b3da=_0x3d5107,_0xf905e2=this[_0x40b3da(0x18a)][_0x40b3da(0x160)](_0x64f3f6)[_0x40b3da(0x165)](this[_0x40b3da(0x19e)]);if(!_0xf905e2)throw new Error(_0x40b3da(0x18d));const _0x1ff5ed=_0xf905e2[_0x40b3da(0x17d)](_0x53907b),_0x21b76f=_0xf905e2['with'](_0x29a6d6),{transform:_0x2821fc}=_0x489ce1(this[_0x40b3da(0x19e)],this[_0x40b3da(0x1aa)],{'row':_0xeb03c8,'column':_0x4479ba,'rowOffset':_0x3479c5,'columnOffset':_0x3ac408},0x1,0x1,_0x1ff5ed,_0x21b76f),_0x5e7690=_0x2821fc[_0x40b3da(0x18f)],_0x2771e9=_0x2821fc[_0x40b3da(0x14b)];return this['x']=_0x2771e9,this['y']=_0x5e7690,this;}[_0x3d5107(0x16e)](_0xc930ec,_0x59ea2c){return this['x']=_0xc930ec,this['y']=_0x59ea2c,this;}[_0x3d5107(0x127)](_0x535c79){const _0x1d4e1e=_0x3d5107;return this[_0x1d4e1e(0x179)]=_0x535c79,this;}[_0x3d5107(0x141)](_0x4d68c3){const _0x2e0fe4=_0x3d5107;return this[_0x2e0fe4(0x1bd)]=_0x4d68c3,this;}[_0x3d5107(0x19b)](_0x3978bd){const _0x1c9180=_0x3d5107;return this[_0x1c9180(0x177)]=_0x3978bd,this;}['setOptions'](_0x14eed9,_0x5f0552){const _0x416f1a=_0x3d5107;return this[_0x416f1a(0x161)]||(this[_0x416f1a(0x161)]={}),_0x14eed9===''?(this[_0x416f1a(0x161)]={...this[_0x416f1a(0x161)],..._0x5f0552},this):(_0x4e0c8d(this[_0x416f1a(0x161)],_0x14eed9,_0x5f0552),this);}[_0x3d5107(0x145)](_0x327818){const _0x4d7830=_0x3d5107;return this[_0x4d7830(0x183)]=_0x327818,this;}[_0x3d5107(0x194)](_0x5301ae){const _0xe1a51d=_0x3d5107;return this[_0xe1a51d(0x1b8)](_0xe1a51d(0x154),_0x5301ae),this;}[_0x3d5107(0x12e)](_0x4cc5aa){const _0x36e96a=_0x3d5107;var _0x2a7ff8;const _0x5386b5=((_0x2a7ff8=this[_0x36e96a(0x161)])==null?void 0x0:_0x2a7ff8[_0x36e96a(0x12b)])||{};return _0x5386b5[_0x36e96a(0x164)]=_0x4cc5aa,this[_0x36e96a(0x1b8)](_0x36e96a(0x12b),_0x5386b5),this;}['setYAxisTitle'](_0x206fe4){const _0x550e45=_0x3d5107;var _0x33c09d;const _0x4925aa=((_0x33c09d=this[_0x550e45(0x161)])==null?void 0x0:_0x33c09d[_0x550e45(0x12a)])||{};return _0x4925aa['content']=_0x206fe4,this[_0x550e45(0x1b8)]('yAxisTitle',_0x4925aa),this;}[_0x3d5107(0x180)](_0x5d4bcc){const _0x20074c=_0x3d5107;var _0x5b91da;const _0x53f09a=((_0x5b91da=this[_0x20074c(0x161)])==null?void 0x0:_0x5b91da[_0x20074c(0x174)])||{};return _0x53f09a[_0x20074c(0x164)]=_0x5d4bcc,this[_0x20074c(0x1b8)](_0x20074c(0x174),_0x53f09a),this;}[_0x3d5107(0x114)](_0x365097){const _0xffe09b=_0x3d5107;var _0x167ecf;const _0x460db9=((_0x167ecf=this[_0xffe09b(0x161)])==null?void 0x0:_0x167ecf['xAxisTitle'])||{};return this[_0xffe09b(0x1b8)](_0xffe09b(0x12b),{..._0x460db9,..._0x365097}),this;}[_0x3d5107(0x1c4)](_0x481f4a){const _0x41f531=_0x3d5107;var _0x113389;const _0x1e4b37=((_0x113389=this[_0x41f531(0x161)])==null?void 0x0:_0x113389[_0x41f531(0x12a)])||{};return this[_0x41f531(0x1b8)](_0x41f531(0x12a),{..._0x1e4b37,..._0x481f4a}),this;}['setRightYAxisTextStyle'](_0xe9babc){const _0x5207d7=_0x3d5107;var _0x15b778;const _0x5346f2=((_0x15b778=this[_0x5207d7(0x161)])==null?void 0x0:_0x15b778[_0x5207d7(0x174)])||{};return this['setOptions']('rightYAxisTitle',{..._0x5346f2,..._0xe9babc}),this;}[_0x3d5107(0x14c)](_0x4d316f){const _0x3b91d8=_0x3d5107;return this[_0x3b91d8(0x1b8)](_0x3b91d8(0x1b7),_0x4d316f),this;}[_0x3d5107(0x172)](_0x430ac4){const _0xf2f58c=_0x3d5107;return this[_0xf2f58c(0x1b8)]('axisPointer',_0x430ac4),this;}[_0x3d5107(0x13c)](_0xb13799){const _0x3d779c=_0x3d5107;return this['setOptions'](_0x3d779c(0x10f),_0xb13799),this;}[_0x3d5107(0x1a9)](_0x2bf13d,_0x1602fe){const _0x1e06b8=_0x3d5107;return this[_0x1e06b8(0x1b8)]('seriesStyleMap',{[_0x2bf13d]:_0x1602fe}),this;}[_0x3d5107(0x175)](){const _0x5ef693=_0x3d5107;return{'unitId':this[_0x5ef693(0x19e)],'subUnitId':this[_0x5ef693(0x1aa)],'chartId':this[_0x5ef693(0x13d)],'range':this[_0x5ef693(0x14a)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x5ef693(0x1bd)],'height':this[_0x5ef693(0x177)],'chartType':this[_0x5ef693(0x179)],'options':this['options'],'isRowDirection':this[_0x5ef693(0x183)]};}}class P{constructor(_0x9e418,_0x106843,_0x297ca9,_0x49908a){const _0x223804=_0x3d5107;n(this,_0x223804(0x19e)),n(this,_0x223804(0x1aa)),n(this,'chartId'),n(this,'_injector'),(this['unitId']=_0x9e418,this['subUnitId']=_0x106843,this[_0x223804(0x13d)]=_0x297ca9,this[_0x223804(0x18a)]=_0x49908a);}[_0x3d5107(0x1b4)](){const _0x19f842=_0x3d5107;return this[_0x19f842(0x13d)];}[_0x3d5107(0x178)](){const _0xe7d9da=_0x3d5107,_0xd2c5b7=this[_0xe7d9da(0x18a)][_0xe7d9da(0x160)](_0x4bd493)[_0xe7d9da(0x10a)](this[_0xe7d9da(0x13d)]);if(_0xd2c5b7)return _0xd2c5b7['dataSource'][_0xe7d9da(0x1c2)]();}[_0x3d5107(0x1bb)](_0x3a1d1e){const _0xfc6a00=_0x3d5107;return this[_0xfc6a00(0x18a)]['get'](_0x542e52)['executeCommand'](_0x335784['id'],{'unitId':this[_0xfc6a00(0x19e)],'chartModelId':this[_0xfc6a00(0x13d)],'range':_0x3a1d1e});}[_0x3d5107(0x159)](){const _0x1b37cf=_0x3d5107;var _0x1c81a4;const _0x3fd543=this[_0x1b37cf(0x18a)][_0x1b37cf(0x160)](_0x4bd493)[_0x1b37cf(0x10a)](this[_0x1b37cf(0x13d)]);if(_0x3fd543)return(_0x1c81a4=_0x3fd543['config'])==null?void 0x0:_0x1c81a4['series'];}['getCategoryData'](){const _0x103436=_0x3d5107;var _0x39fcb8;const _0x2422d5=this[_0x103436(0x18a)][_0x103436(0x160)](_0x4bd493)['getChartModel'](this[_0x103436(0x13d)]);if(_0x2422d5)return(_0x39fcb8=_0x2422d5[_0x103436(0x1af)])==null?void 0x0:_0x39fcb8[_0x103436(0x14e)];}[_0x3d5107(0x157)](){const _0x527edb=_0x3d5107,_0x3621f0=this[_0x527edb(0x18a)]['get'](_0x355ce4)[_0x527edb(0x198)](_0x2cfc02[_0x527edb(0x122)]);return new c(this['unitId'],this[_0x527edb(0x1aa)],_0x3621f0,this[_0x527edb(0x18a)],this[_0x527edb(0x13d)]);}}class $ extends _0x2dd69b{async[_0x3d5107(0x150)](_0x59d77e){const _0x44f6cb=_0x3d5107;var _0x27146a,_0x558cfb,_0x470feb;const _0x251e66=_0x59d77e[_0x44f6cb(0x19e)]||this[_0x44f6cb(0x143)]()['getUnitId'](),_0x13941c=_0x59d77e[_0x44f6cb(0x1aa)]||this[_0x44f6cb(0x1a7)](),_0x54c7e6=_0x59d77e[_0x44f6cb(0x13d)]||_0x25ff7b(),_0x194955=_0x59d77e[_0x44f6cb(0x179)],_0x22b461=_0x59d77e['range'],_0x21cc39=_0x59d77e[_0x44f6cb(0x1b2)],_0x2457cc={'x':_0x59d77e['x'],'y':_0x59d77e['y']},_0x4e683d=_0x59d77e[_0x44f6cb(0x1bd)],_0xa4e515=_0x59d77e['height'],_0x4b1039=(_0x27146a=_0x59d77e['options'])==null?void 0x0:_0x27146a[_0x44f6cb(0x1a2)],_0x5c186a=(_0x558cfb=_0x59d77e[_0x44f6cb(0x161)])==null?void 0x0:_0x558cfb[_0x44f6cb(0x1be)],_0x1b5ca8=C(_0x251e66,_0x54c7e6,_0x194955,_0x59d77e[_0x44f6cb(0x161)]),_0x56cce5=(_0x470feb=_0x59d77e[_0x44f6cb(0x10b)])!=null?_0x470feb:!0x0;if(!_0x22b461)throw new Error(_0x44f6cb(0x16f));return await this[_0x44f6cb(0x132)][_0x44f6cb(0x1b6)](_0x4df80d['id'],{'unitId':_0x251e66,'subUnitId':_0x13941c,'chartId':_0x54c7e6,'chartType':_0x194955,'range':_0x22b461,'sourceSheetName':_0x21cc39,'position':_0x2457cc,'width':_0x4e683d,'height':_0xa4e515,'backgroundColor':_0x4b1039,'borderColor':_0x5c186a,'config':_0x1b5ca8,'isRowDirection':_0x56cce5}),new P(_0x251e66,_0x13941c,_0x54c7e6,this[_0x44f6cb(0x18a)]);}['updateChart'](_0x2797ad){const _0x1aa497=_0x3d5107,{unitId:_0x4055a4,chartId:_0x44098f,chartType:_0xcf2ee9,options:_0x313158}=_0x2797ad,_0x3e981c=C(_0x4055a4,_0x44098f,_0xcf2ee9,_0x313158);this[_0x1aa497(0x132)][_0x1aa497(0x1b6)](_0x3f0ce5['id'],_0x3e981c);}[_0x3d5107(0x1bf)](_0x2e041b){const _0x30f42b=_0x3d5107;if(_0x2e041b)return new c(_0x2e041b['unitId'],_0x2e041b[_0x30f42b(0x1aa)],this['_workbook'],this['_injector'],_0x2e041b[_0x30f42b(0x13d)]);const _0x23bbc4=this[_0x30f42b(0x143)]()[_0x30f42b(0x17b)](),_0x246e41=this[_0x30f42b(0x1a7)]();return new c(_0x23bbc4,_0x246e41,this['_workbook'],this[_0x30f42b(0x18a)]);}[_0x3d5107(0x15f)](){const _0x35a56b=_0x3d5107,_0x36529e=this[_0x35a56b(0x18a)][_0x35a56b(0x160)](_0x4bd493),_0x2a896e=this[_0x35a56b(0x143)]()[_0x35a56b(0x17b)]();return _0x36529e[_0x35a56b(0x18b)](_0x2a896e,this[_0x35a56b(0x1a7)]())[_0x35a56b(0x155)](_0x3d7dab=>new P(_0x2a896e,this[_0x35a56b(0x1a7)](),_0x3d7dab['id'],this[_0x35a56b(0x18a)]));}['removeChart'](_0x536032){const _0x52770c=_0x3d5107,_0x5dcc1c=_0x536032[_0x52770c(0x19e)],_0x41b809=_0x536032['subUnitId'],_0x32edb4=_0x536032[_0x52770c(0x13d)],_0x34a9ac={'unitId':_0x5dcc1c,'drawings':[{'unitId':_0x5dcc1c,'subUnitId':_0x41b809,'drawingId':_0x32edb4,'drawingType':_0x4adb39[_0x52770c(0x192)]}]};return this['_commandService']['executeCommand'](_0x2be3d7['id'],_0x34a9ac);}[_0x3d5107(0x1c3)](_0x4b4cf4,_0x381d03){const _0x5a984b=_0x3d5107;this[_0x5a984b(0x18a)][_0x5a984b(0x160)](_0x297d91)[_0x5a984b(0x163)](_0x4b4cf4,_0x381d03);}}_0x2dd69b[_0x3d5107(0x120)]($);class tt extends _0x42f65e{get[_0x3d5107(0x18c)](){return _0x175c54;}get['LegendPositionEnum'](){return _0x812238;}get['SelectModeEnum'](){return _0x488ec1;}get[_0x3d5107(0x184)](){return _0x5ebec0;}get['ChartBorderDashType'](){return _0x248abc;}get[_0x3d5107(0x137)](){return _0x5e16d4;}get['TitlePositionEnum'](){return _0x90f1cb;}get[_0x3d5107(0x1a8)](){return _0x16093d;}}_0x42f65e[_0x3d5107(0x120)](tt);class et extends c{constructor(_0x26eb2b,_0x2e9cb5,_0x58b016,_0x33dcb9,_0x2a178f){const _0x1a7305=_0x3d5107;super(_0x26eb2b,_0x2e9cb5,_0x58b016,_0x33dcb9,_0x2a178f),n(this,_0x1a7305(0x1ae)),n(this,'dataPointShape'),n(this,_0x1a7305(0x140)),n(this,_0x1a7305(0x146));}[_0x3d5107(0x151)](_0x3fee2b){const _0x299a22=_0x3d5107;return this[_0x299a22(0x1ae)]=_0x3fee2b,this;}['setDataPointShape'](_0x2747c9){return this['dataPointShape']=_0x2747c9,this;}[_0x3d5107(0x149)](_0x599e7a){const _0x11f565=_0x3d5107;return this[_0x11f565(0x140)]=_0x599e7a,this;}['setDataPointSize'](_0x29450e){const _0x1b66d4=_0x3d5107;return this[_0x1b66d4(0x146)]=_0x29450e,this;}[_0x3d5107(0x175)](){const _0x2ba21c=_0x3d5107,_0x2fc4d7=super[_0x2ba21c(0x175)]();_0x2fc4d7['chartType']=_0x175c54[_0x2ba21c(0x15c)];const _0x5be5f1=_0x2fc4d7[_0x2ba21c(0x161)]||{};return s(_0x5be5f1,'area.lineStyle',this[_0x2ba21c(0x1ae)]),s(_0x5be5f1,'allSeriesStyle.point.shape',this[_0x2ba21c(0x1b0)]),s(_0x5be5f1,_0x2ba21c(0x171),this[_0x2ba21c(0x140)]),s(_0x5be5f1,_0x2ba21c(0x13b),this[_0x2ba21c(0x146)]),_0x2fc4d7['options']=_0x5be5f1,_0x2fc4d7;}}class it extends c{[_0x3d5107(0x187)](){const _0x286d68=_0x3d5107;return new et(this[_0x286d68(0x19e)],this[_0x286d68(0x1aa)],this[_0x286d68(0x117)],this[_0x286d68(0x18a)],this[_0x286d68(0x13d)]);}}c['extend'](it);class st extends c{constructor(_0x1ee52c,_0x19c1a3,_0x48842c,_0x32f518,_0x1686ab){const _0x2a5049=_0x3d5107;super(_0x1ee52c,_0x19c1a3,_0x48842c,_0x32f518,_0x1686ab),n(this,'doughnutHole'),n(this,_0x2a5049(0x1be)),n(this,_0x2a5049(0x12d)),n(this,_0x2a5049(0x128)),n(this,_0x2a5049(0x10e)),n(this,_0x2a5049(0x1c0));}[_0x3d5107(0x185)](_0x132b81){const _0x51ca69=_0x3d5107;return this[_0x51ca69(0x113)]=_0x132b81,this;}[_0x3d5107(0x173)](_0x342ba9){const _0x4b6c84=_0x3d5107;return this[_0x4b6c84(0x1be)]=_0x342ba9,this;}[_0x3d5107(0x124)](_0x2825bf){const _0x395ba7=_0x3d5107;return this[_0x395ba7(0x12d)]=_0x2825bf,this;}[_0x3d5107(0x1b3)](_0x14899e){const _0x3d6f1e=_0x3d5107;return this[_0x3d6f1e(0x128)]=_0x14899e,this;}[_0x3d5107(0x112)](_0x126857){const _0x5b6ed3=_0x3d5107;return this[_0x5b6ed3(0x10e)]=_0x126857,this;}[_0x3d5107(0x19d)](_0x58a1ca){return this['showLabelLine']=_0x58a1ca,this;}['build'](){const _0x2b1a7d=_0x3d5107,_0x5bf912=super['build']();_0x5bf912[_0x2b1a7d(0x179)]=_0x175c54[_0x2b1a7d(0x181)];const _0x2651e0=_0x5bf912['options']||{};return s(_0x2651e0,_0x2b1a7d(0x1ad),this[_0x2b1a7d(0x113)]),s(_0x2651e0,_0x2b1a7d(0x16a),this[_0x2b1a7d(0x1be)]),s(_0x2651e0,_0x2b1a7d(0x13a),this['hasPaddingAngle']),s(_0x2651e0,_0x2b1a7d(0x135),this[_0x2b1a7d(0x128)]),s(_0x2651e0,_0x2b1a7d(0x158),this[_0x2b1a7d(0x10e)]),s(_0x2651e0,_0x2b1a7d(0x148),this['showLabelLine']),_0x5bf912['options']=_0x2651e0,_0x5bf912;}}class rt extends c{[_0x3d5107(0x152)](){const _0x127799=_0x3d5107;return new st(this['unitId'],this[_0x127799(0x1aa)],this[_0x127799(0x117)],this[_0x127799(0x18a)],this[_0x127799(0x13d)]);}}c[_0x3d5107(0x120)](rt);class ot extends c{constructor(_0x1fad72,_0x3b16a4,_0x1389dc,_0x379e95,_0x101602){const _0x40cd6c=_0x3d5107;super(_0x1fad72,_0x3b16a4,_0x1389dc,_0x379e95,_0x101602),n(this,_0x40cd6c(0x199)),n(this,_0x40cd6c(0x1b1));}[_0x3d5107(0x17f)](_0x432917){const _0x72055b=_0x3d5107;return this[_0x72055b(0x199)]=_0x432917,this;}['setFill'](_0x2530eb){return this['fill']=_0x2530eb,this;}[_0x3d5107(0x175)](){const _0x1b56ad=_0x3d5107,_0x51db19=super[_0x1b56ad(0x175)]();_0x51db19[_0x1b56ad(0x179)]=_0x175c54[_0x1b56ad(0x12f)];const _0xc2e9a8=_0x51db19[_0x1b56ad(0x161)]||{};return s(_0xc2e9a8,'radar.shape',this[_0x1b56ad(0x199)]),s(_0xc2e9a8,'radar.fill',this[_0x1b56ad(0x1b1)]),_0x51db19[_0x1b56ad(0x161)]=_0xc2e9a8,_0x51db19;}}class nt extends c{['asRadarChart'](){const _0x338810=_0x3d5107;return new ot(this[_0x338810(0x19e)],this[_0x338810(0x1aa)],this['_workbook'],this[_0x338810(0x18a)],this[_0x338810(0x13d)]);}}c[_0x3d5107(0x120)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};