@univerjs-pro/sheets-chart-ui 0.12.1 → 0.12.2-experimental.20251201-5b27b55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/controllers/sheets-chart-clipboard.controller.d.ts +20 -0
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +17 -17
@@ -1 +1 @@
1
- const _0x10cebc=_0x2a81;(function(_0x10fb68,_0x258224){const _0x3399f4=_0x2a81,_0x4201de=_0x10fb68();while(!![]){try{const _0xabad06=parseInt(_0x3399f4(0x192))/0x1*(-parseInt(_0x3399f4(0x17a))/0x2)+parseInt(_0x3399f4(0x178))/0x3*(-parseInt(_0x3399f4(0x124))/0x4)+-parseInt(_0x3399f4(0x181))/0x5+-parseInt(_0x3399f4(0x13d))/0x6+parseInt(_0x3399f4(0x160))/0x7+parseInt(_0x3399f4(0x14d))/0x8+parseInt(_0x3399f4(0x194))/0x9;if(_0xabad06===_0x258224)break;else _0x4201de['push'](_0x4201de['shift']());}catch(_0x5e5fd4){_0x4201de['push'](_0x4201de['shift']());}}}(_0x518e,0x66458));const e={'chart':{'insertChart':_0x10cebc(0x13f),'editChart':_0x10cebc(0x16e),'openChartPanel':_0x10cebc(0x129),'deleteChart':_0x10cebc(0x14f),'hideChartPanel':'隱藏圖表面板','setupChart':'設置圖表','customChart':_0x10cebc(0x156),'default':'默認','reset':'重置','chartType':_0x10cebc(0x19b),'themes':'主題','dataRange':_0x10cebc(0x176),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x10cebc(0x14a),'series':'系列','addSeries':_0x10cebc(0x165),'moreSettings':'更多設置','min':_0x10cebc(0x158),'max':_0x10cebc(0x133),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x10cebc(0x16d),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x10cebc(0x10d),'subTitle':_0x10cebc(0x11c),'xAxisTitle':_0x10cebc(0x119),'yAxisTitle':_0x10cebc(0x136),'rightYAxisTitle':'右Y軸標題','titleFormat':'標題格式','titleText':_0x10cebc(0x164),'titlePosition':_0x10cebc(0x126),'titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x10cebc(0x113),'useAsCategoryLabels':_0x10cebc(0x188),'showEmptyCellsAs':_0x10cebc(0x116)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x10cebc(0x14e),'center':'居中','right':_0x10cebc(0x114)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':_0x10cebc(0x159),'legend':'圖例','legendSelectMode':_0x10cebc(0x142),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x10cebc(0x13b),'horizontalAxis':'水平軸','verticalAxis':_0x10cebc(0x184),'rightVerticalAxis':_0x10cebc(0x172),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x10cebc(0x150)},'position':'位置','dataLabels':_0x10cebc(0x12e),'gridlinesAndTicks':_0x10cebc(0x11f),'indicatorLine':_0x10cebc(0x121),'indicatorLineType':_0x10cebc(0x115),'indicatorLineColor':_0x10cebc(0x112),'indicatorLabel':_0x10cebc(0x13e),'indicatorValue':_0x10cebc(0x18b),'shape':{'polygon':_0x10cebc(0x147),'circle':'圓形','square':_0x10cebc(0x148),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x10cebc(0x185),'emptyTriangle':_0x10cebc(0x132),'emptyDiamond':'空心菱形','emptyRect':_0x10cebc(0x183),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x10cebc(0x19a),'emptyArrow':_0x10cebc(0x128)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x10cebc(0x15a),'withColor':'{0}\x20顏色','withThickness':_0x10cebc(0x166),'withType':'{0}\x20類型','withSize':'{0}\x20大小','withShape':_0x10cebc(0x117),'withFormat':_0x10cebc(0x151),'dataPoint':'數據點','dataNodeShape':_0x10cebc(0x161),'addDataPoint':_0x10cebc(0x16a),'point':_0x10cebc(0x146),'percentage':_0x10cebc(0x180),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x10cebc(0x125)},'lineDashType':_0x10cebc(0x143),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':'網格線'},'ticks':{'majorTick':_0x10cebc(0x12f),'tickPosition':'刻度線位置','tickLength':_0x10cebc(0x131)},'none':'無','theIndexItem':_0x10cebc(0x123),'seriesDefaultName':_0x10cebc(0x153),'categoryDefaultName':_0x10cebc(0x171),'styleEditPanel':{'showLabels':_0x10cebc(0x17c),'showDataLabels':'顯示數據標籤','padAngle':_0x10cebc(0x111),'halfPie':'半餅','rosePie':_0x10cebc(0x135),'pieValScale':_0x10cebc(0x122),'pieValSuffix':_0x10cebc(0x134),'pieDigitalFixed':'小數位數','showLabelLine':_0x10cebc(0x15c),'reverseAxisOrder':'逆序軸','showAxisLine':_0x10cebc(0x195),'labelPosition':_0x10cebc(0x10e),'labelText':_0x10cebc(0x18f),'repeatWordCould':_0x10cebc(0x168),'gap':'間隔','useAbsValue':_0x10cebc(0x157),'labelRotate':_0x10cebc(0x120),'wordCloudShape':_0x10cebc(0x191),'useDateAxis':_0x10cebc(0x11e),'dateAxisTips':_0x10cebc(0x182)},'radar':{'fill':'填充'},'doughnutHole':_0x10cebc(0x149),'msg':{'invalidSource':_0x10cebc(0x17f),'emptyTips':_0x10cebc(0x15f)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x10cebc(0x186),'displayName':_0x10cebc(0x16b),'addTrendLine':_0x10cebc(0x12d),'trendlineType':_0x10cebc(0x13a),'trendlineName':'趨勢線名稱','trendlineColor':_0x10cebc(0x177),'trendlineThickness':_0x10cebc(0x189),'trendlineDashType':_0x10cebc(0x13c),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x10cebc(0x11b),'order':_0x10cebc(0x12b),'period':_0x10cebc(0x175),'showFormula':_0x10cebc(0x12c),'showR2':_0x10cebc(0x11d),'formula':'公式','r2':_0x10cebc(0x15b)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x10cebc(0x196),'label':_0x10cebc(0x16f),'emptyTips':'氣泡圖至少需要2列,X軸、Y軸。'},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x10cebc(0x18e),'useValueAsSymbolSize':_0x10cebc(0x170),'layoutType':_0x10cebc(0x199),'forceOptions':_0x10cebc(0x179),'repulsion':'斥力','gravity':'引力','edgeLength':_0x10cebc(0x118),'rotateLabel':_0x10cebc(0x110),'emphasis':_0x10cebc(0x197),'emptyTips':_0x10cebc(0x14c)},'waterfall':{'stackType':_0x10cebc(0x127),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':'正值樣式','negativeStyle':_0x10cebc(0x10f),'subtotalStyle':_0x10cebc(0x18c),'positiveLegendText':_0x10cebc(0x152),'negativeLegendText':_0x10cebc(0x139),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':_0x10cebc(0x138),'lineSeries':_0x10cebc(0x163),'barSeries':'長條圖系列'},'visualMapScope':_0x10cebc(0x140),'boxplot':{'min':_0x10cebc(0x158),'q1':_0x10cebc(0x155),'median':'中位數','q3':'第三四分位數','max':_0x10cebc(0x133)}},'chartTypes':{'line':'折線圖','area':_0x10cebc(0x193),'areaStacked':'堆疊面積圖','areaPercentStacked':'百分比堆疊面積圖','column':_0x10cebc(0x169),'bar':'條形圖','barStacked':_0x10cebc(0x18d),'barPercentStacked':_0x10cebc(0x16c),'pie':'餅圖','donut':_0x10cebc(0x154),'scatter':_0x10cebc(0x17d),'radar':'雷達圖','bubble':_0x10cebc(0x15e),'stock':_0x10cebc(0x167),'combination':_0x10cebc(0x14b),'wordCloud':_0x10cebc(0x17e),'funnel':_0x10cebc(0x11a),'relation':_0x10cebc(0x17b),'waterfall':_0x10cebc(0x12a),'pareto':_0x10cebc(0x144),'sankey':_0x10cebc(0x10c),'heatmap':'熱力圖','boxplot':_0x10cebc(0x145)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x10cebc(0x18a),'fieldSetting':_0x10cebc(0x187),'formatTypes':_0x10cebc(0x173),'confirm':'確定','cancel':'取消','generalDesc':_0x10cebc(0x141),'accountingDesc':_0x10cebc(0x130),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x10cebc(0x198),'thousandthPercentileDesc':_0x10cebc(0x174),'decimalPlaces':_0x10cebc(0x190),'currencyTypes':'貨幣類型','negativeNumberTypes':_0x10cebc(0x162),'dateTypes':_0x10cebc(0x15d)},'setFormat':_0x10cebc(0x137)}};export{e as default};function _0x2a81(_0x10afb1,_0x34b7cb){const _0x518e90=_0x518e();return _0x2a81=function(_0x2a8119,_0xb6fa70){_0x2a8119=_0x2a8119-0x10c;let _0x2841ff=_0x518e90[_0x2a8119];return _0x2841ff;},_0x2a81(_0x10afb1,_0x34b7cb);}function _0x518e(){const _0x54fc65=['詞雲形狀','260511EhXgcl','面積圖','7266717MGqpiQ','顯示軸線','氣泡大小','開啟選中淡入特效','日期格式將日期和時間系列數值顯示為日期值。','佈局類型','空心針形','圖表類型','桑基圖','主標題','標籤位置','負值樣式','旋轉標籤','扇形間距','指示線顏色','切換行或列','右對齊','指示線類型','顯示空單元格為','{0}\x20形狀','節點距離','X軸標題','漏斗圖','多項式','副標題','顯示R平方','使用日期軸','網格線和刻度線','標籤旋轉','指示線','数值比例','第\x20{0}\x20項','1604TCNqkI','百分比堆疊','標題位置','堆疊方式','空心箭頭','打開圖表面板','瀑布圖','多項式階數','顯示公式','添加趨勢線','數據標籤','主刻度線','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','刻度線長度','空心三角形','最大值','数值后缀','玫瑰圖','Y軸標題','設置標籤格式','累積占比','負值圖例文本','趨勢線類型','軸選項','趨勢線線類型','3774192JKDbCx','指示標籤','插入圖表','視覺映射範圍','常規格式不包含任何特定的數字格式。','圖例選擇模式','線類型','排列圖','箱型圖','數據點','多邊形','正方形','圓環孔','所有系列','組合圖','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','5919856ytPpIP','左對齊','刪除圖表','使用右軸','{0}\x20格式','正值圖例文本','系列\x20{0}','環形圖','第一四分位數','自定義圖表','使用絕對值','最小值','圖表和軸標題','{0}\x20透明度','R平方','顯示標籤線','日期類型','氣泡圖','請先添加系列開始數據可視化','2268637dtaODd','節點形狀','負數類型','累積占比系列','標題文本','添加系列','{0}\x20粗細','股票圖','重複詞雲標籤','柱狀圖','添加數據點','趨勢線名稱','百分比堆疊條形圖','背景顏色','編輯圖表','氣泡標籤','使用值作為節點大小','類別\x20{0}','右垂直軸','格式類型','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','移動平均周期','數據範圍','趨勢線顏色','606paKUfJ','力導向選項','2ayFidY','關係圖','顯示標籤','散點圖','詞雲圖','圖表數據源必須包含多於1行和1列。','百分比','2410185zULvxG','日期軸僅在數據全部為日期格式時可用','空心矩形','垂直軸','空心正方形','趨勢線','字段設置','使用\x20{0}\x20作為類別標籤','趨勢線粗細','千分位符','指示值','小計樣式','堆疊條形圖','力導向','標籤文本','小數位數'];_0x518e=function(){return _0x54fc65;};return _0x518e();}
1
+ const _0x1aa686=_0x3b4c;(function(_0x53bd0d,_0x49dc0a){const _0x356725=_0x3b4c,_0x53f400=_0x53bd0d();while(!![]){try{const _0x54c2d5=-parseInt(_0x356725(0x18a))/0x1*(parseInt(_0x356725(0x1d8))/0x2)+-parseInt(_0x356725(0x1a3))/0x3*(parseInt(_0x356725(0x1ba))/0x4)+-parseInt(_0x356725(0x1a2))/0x5*(parseInt(_0x356725(0x172))/0x6)+-parseInt(_0x356725(0x194))/0x7*(-parseInt(_0x356725(0x18b))/0x8)+-parseInt(_0x356725(0x1b7))/0x9*(-parseInt(_0x356725(0x1d9))/0xa)+-parseInt(_0x356725(0x1ef))/0xb*(parseInt(_0x356725(0x1c4))/0xc)+parseInt(_0x356725(0x1b4))/0xd*(parseInt(_0x356725(0x1c3))/0xe);if(_0x54c2d5===_0x49dc0a)break;else _0x53f400['push'](_0x53f400['shift']());}catch(_0x5d99c2){_0x53f400['push'](_0x53f400['shift']());}}}(_0x34b5,0x1dd55));const e={'chart':{'insertChart':_0x1aa686(0x1c5),'editChart':_0x1aa686(0x1f7),'openChartPanel':'打開圖表面板','deleteChart':_0x1aa686(0x1da),'hideChartPanel':_0x1aa686(0x174),'setupChart':_0x1aa686(0x1b5),'customChart':_0x1aa686(0x1de),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x1aa686(0x1a8),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x1aa686(0x1f5),'series':'系列','addSeries':'添加系列','moreSettings':'更多設置','min':_0x1aa686(0x17e),'max':_0x1aa686(0x1a6),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x1aa686(0x199)},'blank':_0x1aa686(0x18f),'seriesBlock':{'format':'格式','dataPointStyle':_0x1aa686(0x187)},'backgroundColor':'背景顏色','chartBorderColor':_0x1aa686(0x182),'titles':{'title':'標題','mainTitle':'主標題','subTitle':'副標題','xAxisTitle':'X軸標題','yAxisTitle':'Y軸標題','rightYAxisTitle':'右Y軸標題','titleFormat':_0x1aa686(0x1ed),'titleText':'標題文本','titlePosition':_0x1aa686(0x191),'titleAlign':_0x1aa686(0x1d1)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x1aa686(0x1ec),'settingsLabels':{'switchToRowOrColumn':_0x1aa686(0x179),'useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x1aa686(0x1a4)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x1aa686(0x1e4),'center':'居中','right':_0x1aa686(0x186)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':_0x1aa686(0x185),'legend':'圖例','legendSelectMode':_0x1aa686(0x1f1),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x1aa686(0x1d7),'horizontalAxis':_0x1aa686(0x1c2),'verticalAxis':_0x1aa686(0x1c8),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x1aa686(0x1fd)},'position':'位置','dataLabels':_0x1aa686(0x1bd),'gridlinesAndTicks':_0x1aa686(0x19c),'indicatorLine':_0x1aa686(0x176),'indicatorLineType':_0x1aa686(0x1cd),'indicatorLineColor':_0x1aa686(0x188),'indicatorLabel':_0x1aa686(0x1e6),'indicatorValue':_0x1aa686(0x1d3),'shape':{'polygon':_0x1aa686(0x19d),'circle':'圓形','square':_0x1aa686(0x1ee),'triangle':_0x1aa686(0x1c7),'diamond':'菱形','rect':'矩形','roundRect':_0x1aa686(0x1f4),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x1aa686(0x1f9),'emptySquare':_0x1aa686(0x1ac),'emptyTriangle':_0x1aa686(0x1e3),'emptyDiamond':_0x1aa686(0x19a),'emptyRect':'空心矩形','emptyRoundRect':_0x1aa686(0x1c9),'emptyPin':'空心針形','emptyArrow':_0x1aa686(0x18d)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x1aa686(0x178),'withThickness':_0x1aa686(0x19e),'withType':_0x1aa686(0x1e1),'withSize':_0x1aa686(0x1d5),'withShape':'{0}\x20形狀','withFormat':_0x1aa686(0x183),'dataPoint':_0x1aa686(0x1ea),'dataNodeShape':_0x1aa686(0x1d2),'addDataPoint':_0x1aa686(0x196),'point':'數據點','percentage':_0x1aa686(0x1e0),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x1aa686(0x170)},'lineDashType':_0x1aa686(0x17b),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x1aa686(0x1ab)},'ticks':{'majorTick':_0x1aa686(0x193),'tickPosition':_0x1aa686(0x1aa),'tickLength':'刻度線長度'},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x1aa686(0x1a7),'categoryDefaultName':_0x1aa686(0x1b1),'styleEditPanel':{'showLabels':_0x1aa686(0x198),'showDataLabels':_0x1aa686(0x1e2),'padAngle':_0x1aa686(0x1ca),'halfPie':'半餅','rosePie':_0x1aa686(0x195),'pieValScale':'数值比例','pieValSuffix':_0x1aa686(0x1f3),'pieDigitalFixed':_0x1aa686(0x17a),'showLabelLine':_0x1aa686(0x1ad),'reverseAxisOrder':'逆序軸','showAxisLine':_0x1aa686(0x175),'labelPosition':'標籤位置','labelText':_0x1aa686(0x1b2),'repeatWordCould':_0x1aa686(0x1d4),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x1aa686(0x1d6),'wordCloudShape':_0x1aa686(0x17f),'useDateAxis':_0x1aa686(0x1f6),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':'圓環孔','msg':{'invalidSource':_0x1aa686(0x197),'emptyTips':_0x1aa686(0x1b0)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x1aa686(0x1af),'displayName':_0x1aa686(0x1fb),'addTrendLine':_0x1aa686(0x1b3),'trendlineType':'趨勢線類型','trendlineName':'趨勢線名稱','trendlineColor':_0x1aa686(0x1fa),'trendlineThickness':_0x1aa686(0x1b8),'trendlineDashType':_0x1aa686(0x189),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x1aa686(0x1cb),'poly':_0x1aa686(0x1dc),'order':'多項式階數','period':_0x1aa686(0x1e9),'showFormula':_0x1aa686(0x192),'showR2':_0x1aa686(0x1e5),'formula':'公式','r2':_0x1aa686(0x1dd)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x1aa686(0x1cc),'label':_0x1aa686(0x1db),'emptyTips':_0x1aa686(0x184)},'relation':{'title':_0x1aa686(0x1c1),'auto':'自動','circular':'環形','force':_0x1aa686(0x17c),'useValueAsSymbolSize':_0x1aa686(0x1f8),'layoutType':'佈局類型','forceOptions':_0x1aa686(0x1a5),'repulsion':'斥力','gravity':'引力','edgeLength':_0x1aa686(0x1c6),'rotateLabel':'旋轉標籤','emphasis':_0x1aa686(0x1fc),'emptyTips':_0x1aa686(0x1ae)},'waterfall':{'stackType':_0x1aa686(0x1b9),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x1aa686(0x1f0),'positiveStyle':_0x1aa686(0x1bc),'negativeStyle':_0x1aa686(0x1bb),'subtotalStyle':'小計樣式','positiveLegendText':'正值圖例文本','negativeLegendText':'負值圖例文本','subtotalLegendText':_0x1aa686(0x1e8)},'pareto':{'lineName':'累積占比','lineSeries':_0x1aa686(0x1d0),'barSeries':'長條圖系列'},'visualMapScope':_0x1aa686(0x1eb),'boxplot':{'min':_0x1aa686(0x17e),'q1':_0x1aa686(0x1a9),'median':'中位數','q3':'第三四分位數','max':_0x1aa686(0x1a6)}},'chartTypes':{'line':_0x1aa686(0x181),'area':_0x1aa686(0x177),'areaStacked':_0x1aa686(0x1c0),'areaPercentStacked':_0x1aa686(0x1a1),'column':_0x1aa686(0x1be),'bar':_0x1aa686(0x1bf),'barStacked':'堆疊條形圖','barPercentStacked':_0x1aa686(0x1f2),'pie':'餅圖','donut':_0x1aa686(0x190),'scatter':_0x1aa686(0x18e),'radar':'雷達圖','bubble':'氣泡圖','stock':'股票圖','combination':'組合圖','wordCloud':_0x1aa686(0x1ce),'funnel':_0x1aa686(0x173),'relation':_0x1aa686(0x1c1),'waterfall':_0x1aa686(0x19b),'pareto':_0x1aa686(0x1cf),'sankey':'桑基圖','heatmap':_0x1aa686(0x1fe),'boxplot':_0x1aa686(0x1df)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x1aa686(0x18c),'fieldSetting':'字段設置','formatTypes':_0x1aa686(0x1a0),'confirm':'確定','cancel':'取消','generalDesc':_0x1aa686(0x171),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x1aa686(0x1e7),'thousandthPercentileDesc':_0x1aa686(0x19f),'decimalPlaces':'小數位數','currencyTypes':_0x1aa686(0x17d),'negativeNumberTypes':'負數類型','dateTypes':_0x1aa686(0x180)},'setFormat':_0x1aa686(0x1b6)}};function _0x34b5(){const _0x1cb764=['圖表數據源必須包含多於1行和1列。','顯示標籤','用直線連接數據點','空心菱形','瀑布圖','網格線和刻度線','多邊形','{0}\x20粗細','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','格式類型','百分比堆疊面積圖','4980aVlgQY','9PIXfNB','顯示空單元格為','力導向選項','最大值','系列\x20{0}','數據範圍','第一四分位數','刻度線位置','網格線','空心正方形','顯示標籤線','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','趨勢線','請先添加系列開始數據可視化','類別\x20{0}','標籤文本','添加趨勢線','13pxndug','設置圖表','設置標籤格式','499518JyEQSd','趨勢線粗細','堆疊方式','7732EAjqop','負值樣式','正值樣式','數據標籤','柱狀圖','條形圖','堆疊面積圖','關係圖','水平軸','3075394fiqUZZ','48EHSLDZ','插入圖表','節點距離','三角形','垂直軸','空心圓角矩形','扇形間距','移動平均','氣泡大小','指示線類型','詞雲圖','排列圖','累積占比系列','標題對齊','節點形狀','指示值','重複詞雲標籤','{0}\x20大小','標籤旋轉','軸選項','2NtqFNZ','10aICrUL','刪除圖表','氣泡標籤','多項式','R平方','自定義圖表','箱型圖','百分比','{0}\x20類型','顯示數據標籤','空心三角形','左對齊','顯示R平方','指示標籤','日期格式將日期和時間系列數值顯示為日期值。','小計圖例文本','移動平均周期','數據點','視覺映射範圍','漸變填充','標題格式','正方形','147114BkyAKY','顯示小計','圖例選擇模式','百分比堆疊條形圖','数值后缀','圓角矩形','所有系列','使用日期軸','編輯圖表','使用值作為節點大小','空心圓形','趨勢線顏色','趨勢線名稱','開啟選中淡入特效','使用右軸','熱力圖','百分比堆疊','常規格式不包含任何特定的數字格式。','534lggoVo','漏斗圖','隱藏圖表面板','顯示軸線','指示線','面積圖','{0}\x20顏色','切換行或列','小數位數','線類型','力導向','貨幣類型','最小值','詞雲形狀','日期類型','折線圖','圖表邊框顏色','{0}\x20格式','氣泡圖至少需要2列,X軸、Y軸。','圖表和軸標題','右對齊','數據點樣式','指示線顏色','趨勢線線類型','163886AYYQRe','1270792aSSvjO','千分位符','空心箭頭','散點圖','(空)','環形圖','標題位置','顯示公式','主刻度線','7sVEeZw','玫瑰圖','添加數據點'];_0x34b5=function(){return _0x1cb764;};return _0x34b5();}function _0x3b4c(_0x4e8068,_0x57ce59){const _0x34b5d3=_0x34b5();return _0x3b4c=function(_0x3b4c1a,_0x9e6871){_0x3b4c1a=_0x3b4c1a-0x170;let _0x40089c=_0x34b5d3[_0x3b4c1a];return _0x40089c;},_0x3b4c(_0x4e8068,_0x57ce59);}export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x13f995=_0x31b1;(function(_0x425e6f,_0x2a95ad){const _0x282529=_0x31b1,_0x3879a0=_0x425e6f();while(!![]){try{const _0x689d6d=parseInt(_0x282529(0x107))/0x1+parseInt(_0x282529(0x14c))/0x2*(-parseInt(_0x282529(0xe3))/0x3)+parseInt(_0x282529(0xf3))/0x4*(parseInt(_0x282529(0xe9))/0x5)+parseInt(_0x282529(0xf2))/0x6+-parseInt(_0x282529(0xef))/0x7+parseInt(_0x282529(0x18b))/0x8*(parseInt(_0x282529(0x17e))/0x9)+-parseInt(_0x282529(0x102))/0xa;if(_0x689d6d===_0x2a95ad)break;else _0x3879a0['push'](_0x3879a0['shift']());}catch(_0x5cc2d9){_0x3879a0['push'](_0x3879a0['shift']());}}}(_0x3e26,0xdfdde));var b=Object[_0x13f995(0xe7)],k=(_0xb27002,_0x523062,_0x85162a)=>_0x523062 in _0xb27002?b(_0xb27002,_0x523062,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x85162a}):_0xb27002[_0x523062]=_0x85162a,n=(_0x2bcebe,_0x518e14,_0x4426b4)=>k(_0x2bcebe,typeof _0x518e14!=_0x13f995(0x155)?_0x518e14+'':_0x518e14,_0x4426b4);import{ChartThemeService as _0x56cea5,ChartTypeBits as _0x3adf28,LegendPositionEnum as _0x35bb14,SelectModeEnum as _0x53a406,AxisAlignEnum as _0x4c06b6,ChartBorderDashType as _0x3c4cf8,LinePointShape as _0x5cc65b,TitlePositionEnum as _0x31a048,RadarShape as _0x38d601}from'@univerjs-pro/engine-chart';import{setProperty as _0x1d683f,SheetsChartService as _0x1cc484,ChartUpdateSourceCommand as _0x5b02b9,ChartUpdateConfigCommand as _0x2269da}from'@univerjs-pro/sheets-chart';function _0x31b1(_0x4faaa7,_0x2cf40e){const _0x3e266a=_0x3e26();return _0x31b1=function(_0x31b17c,_0x36dbb3){_0x31b17c=_0x31b17c-0xd5;let _0x4d563c=_0x3e266a[_0x31b17c];return _0x4d563c;},_0x31b1(_0x4faaa7,_0x2cf40e);}import{InsertChartCommand as _0x242fc1}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x5338e6,IUniverInstanceService as _0x2e2b91,UniverInstanceType as _0x50aecf,generateRandomId as _0x29bfb4,DrawingTypeEnum as _0x423fc7}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1efc27}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x28f945}from'@univerjs/sheets/facade';import{FBase as _0x54b5fe,FEnum as _0x294962}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x514729}from'@univerjs/engine-formula';import{IRenderManagerService as _0x5b0680}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x484f77,SheetSkeletonManagerService as _0x539478,convertPositionCellToSheetOverGrid as _0x1f11f5}from'@univerjs/sheets-ui';const s=(_0x521a89,_0x1b7e01,_0x401f40)=>{_0x401f40!==void 0x0&&_0x1d683f(_0x521a89,_0x1b7e01,_0x401f40);},C=(_0x451567,_0x64e0df,_0x2fa8e5,_0x38fcf8={})=>{const _0x3312b6=_0x13f995,_0x2e7e24={},_0x230636={};if(_0x38fcf8['title']){const _0x44bbbc=_0x38fcf8['title'];s(_0x2e7e24,_0x3312b6(0xee),_0x44bbbc[_0x3312b6(0x141)]),s(_0x2e7e24,'titles.title.font',_0x44bbbc['font']),s(_0x2e7e24,_0x3312b6(0x126),_0x44bbbc[_0x3312b6(0xdf)]),s(_0x2e7e24,_0x3312b6(0x16b),_0x44bbbc[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x159),_0x44bbbc[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0xfd),_0x44bbbc[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x105),_0x44bbbc[_0x3312b6(0x181)]),s(_0x2e7e24,_0x3312b6(0x177),_0x44bbbc['position']);}if(_0x38fcf8[_0x3312b6(0x147)]){const _0x2b63e4=_0x38fcf8['legend'];s(_0x2e7e24,'legend.position',_0x2b63e4[_0x3312b6(0xf6)]),s(_0x2e7e24,'legend.selectMode',_0x2b63e4[_0x3312b6(0x106)]),s(_0x2e7e24,_0x3312b6(0x10b),_0x2b63e4[_0x3312b6(0xdf)]),s(_0x2e7e24,'legend.label.color',_0x2b63e4[_0x3312b6(0x195)]),s(_0x2e7e24,_0x3312b6(0x140),_0x2b63e4['bold']),s(_0x2e7e24,'legend.label.italic',_0x2b63e4[_0x3312b6(0x16c)]);}if(_0x38fcf8[_0x3312b6(0x10d)]){const _0x264c40=_0x38fcf8[_0x3312b6(0x10d)];s(_0x2e7e24,_0x3312b6(0xf7),_0x264c40[_0x3312b6(0x172)]),s(_0x2e7e24,_0x3312b6(0x16d),_0x264c40[_0x3312b6(0x163)]),s(_0x2e7e24,_0x3312b6(0x142),_0x264c40[_0x3312b6(0x115)]),s(_0x2e7e24,'pie.isHalfPie',_0x264c40[_0x3312b6(0xf9)]),s(_0x2e7e24,_0x3312b6(0xdc),_0x264c40['rosePie']),s(_0x2e7e24,'pie.showLabelLine',_0x264c40[_0x3312b6(0xfc)]);}if(_0x38fcf8['axisPointer']){const _0x57754c=_0x38fcf8[_0x3312b6(0x154)];s(_0x2e7e24,_0x3312b6(0x10f),_0x57754c[_0x3312b6(0xe5)]),s(_0x2e7e24,_0x3312b6(0x12f),_0x57754c[_0x3312b6(0x182)]),s(_0x2e7e24,_0x3312b6(0xd6),_0x57754c[_0x3312b6(0x14a)]),s(_0x2e7e24,'tooltip.indicatorLabelTextColor',_0x57754c[_0x3312b6(0x158)]);}if(_0x38fcf8[_0x3312b6(0x14b)]&&(s(_0x2e7e24,_0x3312b6(0x116),_0x38fcf8[_0x3312b6(0x14b)][_0x3312b6(0xe0)]),s(_0x2e7e24,_0x3312b6(0x16f),_0x38fcf8['allSeriesStyle']['label']),s(_0x2e7e24,_0x3312b6(0xd8),_0x38fcf8[_0x3312b6(0x14b)]['rightYAxis']),s(_0x2e7e24,_0x3312b6(0x137),_0x38fcf8[_0x3312b6(0x14b)][_0x3312b6(0x145)]),s(_0x2e7e24,'allSeriesStyle.color',_0x38fcf8['allSeriesStyle'][_0x3312b6(0x195)])),_0x38fcf8['area']&&s(_0x2e7e24,_0x3312b6(0xf0),_0x38fcf8[_0x3312b6(0x12a)]['lineStyle']),_0x38fcf8[_0x3312b6(0x18c)]&&s(_0x2e7e24,_0x3312b6(0x18c),_0x38fcf8['theme']),_0x38fcf8[_0x3312b6(0x174)]&&s(_0x2e7e24,'backgroundColor',_0x38fcf8[_0x3312b6(0x174)]),_0x38fcf8[_0x3312b6(0x163)]&&s(_0x2e7e24,_0x3312b6(0x163),_0x38fcf8['borderColor']),_0x38fcf8[_0x3312b6(0xde)]&&s(_0x2e7e24,_0x3312b6(0xde),_0x38fcf8[_0x3312b6(0xde)]),_0x38fcf8[_0x3312b6(0x157)]&&s(_0x2e7e24,_0x3312b6(0x157),_0x38fcf8[_0x3312b6(0x157)]),_0x38fcf8[_0x3312b6(0x13b)]&&s(_0x2e7e24,_0x3312b6(0x13b),_0x38fcf8[_0x3312b6(0x13b)]),_0x38fcf8['xAxisTitle']){const _0x58d5bd=_0x38fcf8[_0x3312b6(0x160)];s(_0x2e7e24,_0x3312b6(0x179),_0x58d5bd[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x114),_0x58d5bd[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xed),_0x58d5bd['fontSize']),s(_0x2e7e24,_0x3312b6(0xda),_0x58d5bd[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x186),_0x58d5bd[_0x3312b6(0x146)]),s(_0x2e7e24,'titles.xAxisTitle.bold',_0x58d5bd[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x169),_0x58d5bd[_0x3312b6(0x187)]);}if(_0x38fcf8[_0x3312b6(0x170)]){const _0x21d070=_0x38fcf8[_0x3312b6(0x170)];s(_0x2e7e24,_0x3312b6(0xe2),_0x21d070[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x135),_0x21d070[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xe6),_0x21d070[_0x3312b6(0xdf)]),s(_0x2e7e24,'titles.yAxisTitle.color',_0x21d070[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x143),_0x21d070[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0x12b),_0x21d070[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0x18d),_0x21d070[_0x3312b6(0x187)]);}if(_0x38fcf8['rightYAxisTitle']){const _0x319197=_0x38fcf8[_0x3312b6(0x150)];s(_0x2e7e24,'titles.rightYAxisTitle.content',_0x319197[_0x3312b6(0x141)]),s(_0x2e7e24,_0x3312b6(0x18f),_0x319197[_0x3312b6(0x188)]),s(_0x2e7e24,_0x3312b6(0xfa),_0x319197['fontSize']),s(_0x2e7e24,_0x3312b6(0x14f),_0x319197[_0x3312b6(0x15b)]),s(_0x2e7e24,_0x3312b6(0x100),_0x319197[_0x3312b6(0x146)]),s(_0x2e7e24,_0x3312b6(0xe8),_0x319197[_0x3312b6(0xdb)]),s(_0x2e7e24,_0x3312b6(0xe4),_0x319197[_0x3312b6(0x187)]);}_0x38fcf8[_0x3312b6(0xfb)]&&s(_0x2e7e24,'xAxis',_0x38fcf8[_0x3312b6(0xfb)]),_0x38fcf8[_0x3312b6(0x18a)]&&s(_0x2e7e24,_0x3312b6(0x18a),_0x38fcf8[_0x3312b6(0x18a)]),_0x38fcf8[_0x3312b6(0x13a)]&&s(_0x2e7e24,_0x3312b6(0x17d),_0x38fcf8[_0x3312b6(0x13a)]),_0x38fcf8[_0x3312b6(0x127)]&&s(_0x2e7e24,_0x3312b6(0x127),_0x38fcf8[_0x3312b6(0x127)]);const _0x22667b={'unitId':_0x451567,'chartModelId':_0x64e0df};let _0x30d8fa=!0x1;if(_0x2fa8e5!==void 0x0&&(_0x22667b[_0x3312b6(0xdd)]=_0x2fa8e5,_0x30d8fa=!0x0),Object[_0x3312b6(0x15f)](_0x2e7e24)[_0x3312b6(0x193)]>0x0&&(_0x22667b[_0x3312b6(0x17b)]=_0x2e7e24,_0x30d8fa=!0x0),Object[_0x3312b6(0x15f)](_0x230636)[_0x3312b6(0x193)]>0x0&&(_0x22667b[_0x3312b6(0xe1)]=_0x230636,_0x30d8fa=!0x0),_0x30d8fa)return _0x22667b;};class c extends _0x54b5fe{constructor(_0x592800,_0x5ceee6,_0x3449cf,_0x4fa99d,_0x14aca7){const _0x2f0f24=_0x13f995;super(),n(this,_0x2f0f24(0x134)),n(this,_0x2f0f24(0x121)),n(this,_0x2f0f24(0xf4)),n(this,_0x2f0f24(0x119)),n(this,_0x2f0f24(0x178)),n(this,_0x2f0f24(0x138)),n(this,_0x2f0f24(0x190)),n(this,'x'),n(this,'y'),n(this,_0x2f0f24(0x166)),n(this,'height'),n(this,_0x2f0f24(0xdd)),n(this,'options'),n(this,_0x2f0f24(0x167)),(this[_0x2f0f24(0xf4)]=_0x592800,this[_0x2f0f24(0x119)]=_0x5ceee6,this[_0x2f0f24(0x134)]=_0x3449cf,this[_0x2f0f24(0x121)]=_0x4fa99d,_0x14aca7&&(this[_0x2f0f24(0x178)]=_0x14aca7));}['getChartType'](){return this['chartType'];}[_0x13f995(0x118)](_0x172671){const _0x33da8f=_0x13f995;if(typeof _0x172671==_0x33da8f(0x123)){const _0x4909e1=_0x514729(_0x172671);_0x4909e1['sheetName']&&(this[_0x33da8f(0x190)]=_0x4909e1[_0x33da8f(0x15c)]),this[_0x33da8f(0x138)]=_0x4909e1[_0x33da8f(0x138)];}else this[_0x33da8f(0x138)]=_0x172671;return this;}[_0x13f995(0x103)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x13f995(0xf5)](_0x5aa354,_0x2180b9,_0x2f5f62,_0x5cf4db){const _0x123f96=_0x13f995,_0x242956=this[_0x123f96(0x121)]['get'](_0x5b0680)[_0x123f96(0x192)](this[_0x123f96(0xf4)]);if(!_0x242956)throw new Error(_0x123f96(0x194));const _0x3d86c0=_0x242956[_0x123f96(0x109)](_0x484f77),_0x30cf03=_0x242956[_0x123f96(0x109)](_0x539478),{transform:_0x56c4b9}=_0x1f11f5(this[_0x123f96(0xf4)],this[_0x123f96(0x119)],{'row':_0x5aa354,'column':_0x2180b9,'rowOffset':_0x2f5f62,'columnOffset':_0x5cf4db},0x1,0x1,_0x3d86c0,_0x30cf03),_0x1eb137=_0x56c4b9[_0x123f96(0x180)],_0x206f7d=_0x56c4b9['left'];return this['x']=_0x206f7d,this['y']=_0x1eb137,this;}[_0x13f995(0xd7)](_0x1c95a9,_0x1d2487){return this['x']=_0x1c95a9,this['y']=_0x1d2487,this;}['setChartType'](_0x35d376){return this['chartType']=_0x35d376,this;}[_0x13f995(0xd5)](_0x2eaddf){const _0x292988=_0x13f995;return this[_0x292988(0x166)]=_0x2eaddf,this;}[_0x13f995(0x11f)](_0x347368){const _0x286c9c=_0x13f995;return this[_0x286c9c(0x101)]=_0x347368,this;}[_0x13f995(0x110)](_0x4ce1de,_0x3141fb){const _0x32a7da=_0x13f995;return this[_0x32a7da(0x10e)]||(this[_0x32a7da(0x10e)]={}),_0x4ce1de===''?(this[_0x32a7da(0x10e)]={...this[_0x32a7da(0x10e)],..._0x3141fb},this):(_0x1d683f(this['options'],_0x4ce1de,_0x3141fb),this);}[_0x13f995(0x18e)](_0x18dc55){const _0x4cb1be=_0x13f995;return this[_0x4cb1be(0x167)]=_0x18dc55,this;}[_0x13f995(0x162)](_0x10a017){const _0x2110b5=_0x13f995;return this[_0x2110b5(0x110)](_0x2110b5(0x18c),_0x10a017),this;}[_0x13f995(0x17f)](_0x73d372){const _0x6701f1=_0x13f995;var _0x5e4cee;const _0x38973f=((_0x5e4cee=this[_0x6701f1(0x10e)])==null?void 0x0:_0x5e4cee[_0x6701f1(0x160)])||{};return _0x38973f[_0x6701f1(0x141)]=_0x73d372,this['setOptions'](_0x6701f1(0x160),_0x38973f),this;}[_0x13f995(0x11e)](_0x5224fd){const _0x47b861=_0x13f995;var _0x2bbad2;const _0x1c480a=((_0x2bbad2=this[_0x47b861(0x10e)])==null?void 0x0:_0x2bbad2[_0x47b861(0x170)])||{};return _0x1c480a[_0x47b861(0x141)]=_0x5224fd,this['setOptions']('yAxisTitle',_0x1c480a),this;}[_0x13f995(0x108)](_0x40b2f7){const _0x27c6c2=_0x13f995;var _0xcca8ff;const _0x44ce1b=((_0xcca8ff=this['options'])==null?void 0x0:_0xcca8ff[_0x27c6c2(0x150)])||{};return _0x44ce1b[_0x27c6c2(0x141)]=_0x40b2f7,this[_0x27c6c2(0x110)](_0x27c6c2(0x150),_0x44ce1b),this;}[_0x13f995(0x128)](_0x26b4f3){const _0x5e3e87=_0x13f995;var _0x190d3d;const _0x141a17=((_0x190d3d=this[_0x5e3e87(0x10e)])==null?void 0x0:_0x190d3d['xAxisTitle'])||{};return this[_0x5e3e87(0x110)](_0x5e3e87(0x160),{..._0x141a17,..._0x26b4f3}),this;}['setYAxisTextStyle'](_0x823599){const _0xbb0591=_0x13f995;var _0xdc49a8;const _0x2ef230=((_0xdc49a8=this[_0xbb0591(0x10e)])==null?void 0x0:_0xdc49a8[_0xbb0591(0x170)])||{};return this[_0xbb0591(0x110)](_0xbb0591(0x170),{..._0x2ef230,..._0x823599}),this;}[_0x13f995(0x14e)](_0x5562fe){const _0x241042=_0x13f995;var _0x50b9b1;const _0x7f8213=((_0x50b9b1=this[_0x241042(0x10e)])==null?void 0x0:_0x50b9b1[_0x241042(0x150)])||{};return this[_0x241042(0x110)](_0x241042(0x150),{..._0x7f8213,..._0x5562fe}),this;}['setInvalidValueStrategy'](_0x25b70f){const _0x1aa8d4=_0x13f995;return this[_0x1aa8d4(0x110)]('invalidValueType',_0x25b70f),this;}[_0x13f995(0x16e)](_0x58cc5b){const _0x89f207=_0x13f995;return this['setOptions'](_0x89f207(0x154),_0x58cc5b),this;}['setAllSeriesStyle'](_0x58f22e){const _0x2d228c=_0x13f995;return this[_0x2d228c(0x110)](_0x2d228c(0x14b),_0x58f22e),this;}[_0x13f995(0x11a)](_0x39b51d,_0x2bbd96){const _0x45679e=_0x13f995;return this['setOptions'](_0x45679e(0x127),{[_0x39b51d]:_0x2bbd96}),this;}[_0x13f995(0x11b)](){const _0x268687=_0x13f995;var _0x19a301;let _0x219981=this['subUnitId'];if(this[_0x268687(0x190)]){const _0x2b9fcc=(_0x19a301=this[_0x268687(0x134)][_0x268687(0x113)](this[_0x268687(0x190)]))==null?void 0x0:_0x19a301[_0x268687(0x104)]();if(!_0x2b9fcc)throw new Error('Sheet\x20'+this[_0x268687(0x190)]+_0x268687(0x15e));_0x219981=_0x2b9fcc;}return{'unitId':this[_0x268687(0xf4)],'subUnitId':_0x219981,'chartId':this['chartId'],'range':this[_0x268687(0x138)],'x':this['x'],'y':this['y'],'width':this[_0x268687(0x166)],'height':this[_0x268687(0x101)],'chartType':this['chartType'],'options':this[_0x268687(0x10e)],'isRowDirection':this[_0x268687(0x167)]};}}class f{constructor(_0x5beb4d,_0x1c0188,_0x3adaaf,_0x4a1ce0){const _0x4d8480=_0x13f995;n(this,_0x4d8480(0xf4)),n(this,_0x4d8480(0x119)),n(this,_0x4d8480(0x178)),n(this,_0x4d8480(0x121)),(this['unitId']=_0x5beb4d,this[_0x4d8480(0x119)]=_0x1c0188,this[_0x4d8480(0x178)]=_0x3adaaf,this[_0x4d8480(0x121)]=_0x4a1ce0);}[_0x13f995(0x133)](){return this['chartId'];}[_0x13f995(0x12d)](){const _0x88717a=_0x13f995,_0x245745=this['_injector'][_0x88717a(0x156)](_0x1cc484)['getChartModel'](this[_0x88717a(0x178)]);if(_0x245745)return _0x245745[_0x88717a(0xfe)][_0x88717a(0x171)]();}['updateRange'](_0x4af377){const _0x54d4b8=_0x13f995;return this[_0x54d4b8(0x121)][_0x54d4b8(0x156)](_0x5338e6)[_0x54d4b8(0x132)](_0x5b02b9['id'],{'unitId':this[_0x54d4b8(0xf4)],'chartModelId':this['chartId'],'range':_0x4af377});}[_0x13f995(0x168)](){const _0x10be56=_0x13f995;var _0x23fbfa;const _0x1efaef=this[_0x10be56(0x121)]['get'](_0x1cc484)['getChartModel'](this['chartId']);if(_0x1efaef)return(_0x23fbfa=_0x1efaef[_0x10be56(0x120)])==null?void 0x0:_0x23fbfa[_0x10be56(0x15a)];}[_0x13f995(0x175)](){const _0x2d2100=_0x13f995;var _0x74b988;const _0x33b37c=this['_injector']['get'](_0x1cc484)[_0x2d2100(0x152)](this[_0x2d2100(0x178)]);if(_0x33b37c)return(_0x74b988=_0x33b37c[_0x2d2100(0x120)])==null?void 0x0:_0x74b988[_0x2d2100(0x129)];}['modify'](){const _0x40b433=_0x13f995,_0x178fad=this[_0x40b433(0x121)]['get'](_0x2e2b91)['getCurrentUnitForType'](_0x50aecf['UNIVER_SHEET']);return new c(this['unitId'],this['subUnitId'],_0x178fad,this[_0x40b433(0x121)],this[_0x40b433(0x178)]);}}class Q extends _0x28f945{async['insertChart'](_0x2ef39a){const _0x5e176c=_0x13f995;var _0x765e9,_0x3df2ad,_0x61aded;const _0x4fa41f=_0x2ef39a[_0x5e176c(0xf4)]||this[_0x5e176c(0xd9)]()['getUnitId'](),_0x434a8d=_0x2ef39a[_0x5e176c(0x119)]||this[_0x5e176c(0x104)](),_0x51c7f2=_0x2ef39a[_0x5e176c(0x178)]||_0x29bfb4(),_0x5905c7=_0x2ef39a[_0x5e176c(0xdd)],_0x62b7d2=_0x2ef39a[_0x5e176c(0x138)],_0x8d086b={'x':_0x2ef39a['x'],'y':_0x2ef39a['y']},_0x20b198=_0x2ef39a[_0x5e176c(0x166)],_0x2a5f84=_0x2ef39a[_0x5e176c(0x101)],_0x583557=(_0x765e9=_0x2ef39a[_0x5e176c(0x10e)])==null?void 0x0:_0x765e9[_0x5e176c(0x174)],_0x2f0329=(_0x3df2ad=_0x2ef39a[_0x5e176c(0x10e)])==null?void 0x0:_0x3df2ad[_0x5e176c(0x163)],_0x49694f=C(_0x4fa41f,_0x51c7f2,_0x5905c7,_0x2ef39a[_0x5e176c(0x10e)]),_0x4908f1=(_0x61aded=_0x2ef39a[_0x5e176c(0x144)])!=null?_0x61aded:!0x0;if(!_0x62b7d2)throw new Error(_0x5e176c(0x130));return await this[_0x5e176c(0x149)]['executeCommand'](_0x242fc1['id'],{'unitId':_0x4fa41f,'subUnitId':_0x434a8d,'chartId':_0x51c7f2,'chartType':_0x5905c7,'range':_0x62b7d2,'position':_0x8d086b,'width':_0x20b198,'height':_0x2a5f84,'backgroundColor':_0x583557,'borderColor':_0x2f0329,'config':_0x49694f,'isRowDirection':_0x4908f1}),new f(_0x4fa41f,_0x434a8d,_0x51c7f2,this['_injector']);}['updateChart'](_0x58d53f){const _0x42c4a9=_0x13f995,{unitId:_0x4fb493,chartId:_0x59cb2f,chartType:_0x1de9d4,options:_0x2c3883}=_0x58d53f,_0x20cd1e=C(_0x4fb493,_0x59cb2f,_0x1de9d4,_0x2c3883);this[_0x42c4a9(0x149)][_0x42c4a9(0x132)](_0x2269da['id'],_0x20cd1e);}[_0x13f995(0x13c)](_0x337516){const _0xa00e22=_0x13f995;if(_0x337516)return new c(_0x337516[_0xa00e22(0xf4)],_0x337516[_0xa00e22(0x119)],this[_0xa00e22(0x134)],this['_injector'],_0x337516[_0xa00e22(0x178)]);const _0x5e3c23=this[_0xa00e22(0xd9)]()[_0xa00e22(0xea)](),_0x473a45=this['getSheetId']();return new c(_0x5e3c23,_0x473a45,this['_workbook'],this['_injector']);}[_0x13f995(0x176)](){const _0xfcb0cb=_0x13f995,_0x3fbf8f=this[_0xfcb0cb(0x121)][_0xfcb0cb(0x156)](_0x1cc484),_0x5b272e=this[_0xfcb0cb(0xd9)]()[_0xfcb0cb(0xea)]();return _0x3fbf8f[_0xfcb0cb(0x136)](_0x5b272e,this['getSheetId']())[_0xfcb0cb(0x17c)](_0x27bd2d=>new f(_0x5b272e,this[_0xfcb0cb(0x104)](),_0x27bd2d['id'],this[_0xfcb0cb(0x121)]));}[_0x13f995(0xeb)](_0x3a5d6a){const _0x14e64d=_0x13f995,_0x49be98=_0x3a5d6a[_0x14e64d(0xf4)],_0x4fc156=_0x3a5d6a['subUnitId'],_0x45cc89=_0x3a5d6a[_0x14e64d(0x178)],_0x1a0189={'unitId':_0x49be98,'drawings':[{'unitId':_0x49be98,'subUnitId':_0x4fc156,'drawingId':_0x45cc89,'drawingType':_0x423fc7[_0x14e64d(0xf1)]}]};return this[_0x14e64d(0x149)][_0x14e64d(0x132)](_0x1efc27['id'],_0x1a0189);}[_0x13f995(0x12e)](_0x295af4,_0x4f1516){const _0x48a308=_0x13f995;this['_injector'][_0x48a308(0x156)](_0x56cea5)['registerTheme'](_0x295af4,_0x4f1516);}}_0x28f945[_0x13f995(0x148)](Q);class Z extends _0x294962{get[_0x13f995(0xff)](){return _0x3adf28;}get[_0x13f995(0x112)](){return _0x35bb14;}get[_0x13f995(0x164)](){return _0x53a406;}get[_0x13f995(0x184)](){return _0x4c06b6;}get[_0x13f995(0x124)](){return _0x3c4cf8;}get[_0x13f995(0x117)](){return _0x5cc65b;}get[_0x13f995(0x11c)](){return _0x31a048;}get[_0x13f995(0x10a)](){return _0x38d601;}}function _0x3e26(){const _0x5a0b6f=['setShowLabelLine','isHalfPie','titles.rightYAxisTitle.fontSize','xAxis','showLabelLine','titles.title.bold','dataSource','ChartType','titles.rightYAxisTitle.family','height','29473610BbYWjL','clearRange','getSheetId','titles.title.align','selectMode','1429254Laofkn','setRightYAxisTitle','with','RadarShape','legend.label.fontSize','lineStyle','pie','options','tooltip.indicatorLabelColor','setOptions','setDataPointSize','LegendPositionEnum','getSheetBySheetName','titles.xAxisTitle.font','hasPaddingAngle','allSeriesStyle.border','LinePointShape','addRange','subUnitId','setSeriesStyle','build','TitlePositionEnum','radar.fill','setYAxisTitle','setHeight','config','_injector','setDataPointShape','string','ChartBorderDashType','Line','titles.title.fontSize','seriesStyleMap','setXAxisTextStyle','category','area','titles.yAxisTitle.bold','setShape','getRange','registerChartTheme','tooltip.indicatorLineType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','asRadarChart','executeCommand','getChartId','_workbook','titles.yAxisTitle.font','getUnitChartModels','allSeriesStyle.point','range','dataPointShape','yRightAxis','radar','newChart','dataPointSize','setFill','Radar','legend.label.bold','content','pie.hasPaddingAngle','titles.yAxisTitle.family','isRowDirection','point','fontStyle','legend','extend','_commandService','indicatorLineColor','allSeriesStyle','30496nmXlPp','shape','setRightYAxisTextStyle','titles.rightYAxisTitle.color','rightYAxisTitle','setLineStyle','getChartModel','radar.shape','axisPointer','symbol','get','invalidValueType','indicatorLabelTextColor','titles.title.family','series','fontColor','sheetName','fill','\x20not\x20found','keys','xAxisTitle','asPieChart','setTheme','borderColor','SelectModeEnum','pie.isHalfPie','width','transposeRowsAndColumns','getSeriesData','xAxis.label.axisTitleAlign','setHasPaddingAngle','titles.title.color','italic','pie.borderColor','setAxisPointerStyle','allSeriesStyle.label','yAxisTitle','getRangeInfo','doughnutHole','setRosePie','backgroundColor','getCategoryData','getCharts','titles.titlePosition','chartId','titles.xAxisTitle.content','allSeriesStyle.point.color','style','map','rightYAxis','18nbpqbz','setXAxisTitle','top','titleAlignment','indicatorLineType','setIsHalfPie','AxisAlignEnum','pie.showLabelLine','titles.xAxisTitle.family','axisAlignment','font','rosePie','yAxis','6605240EghUFU','theme','yAxis.label.axisTitleAlign','setTransposeRowsAndColumns','titles.rightYAxisTitle.font','sourceSheetName','dataPointColor','getRenderById','length','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','color','asLineChart','setWidth','tooltip.indicatorLineColor','setAbsolutePosition','allSeriesStyle.rightYAxis','getWorkbook','titles.xAxisTitle.color','bold','pie.rosePie','chartType','gradientFill','fontSize','border','context','titles.yAxisTitle.content','96eYPtqY','rightYAxis.label.axisTitleAlign','indicatorLabelColor','titles.yAxisTitle.fontSize','defineProperty','titles.rightYAxisTitle.bold','89035eKRWpT','getUnitId','removeChart','setDoughnutHole','titles.xAxisTitle.fontSize','titles.title.content','5771437IHNMtQ','area.lineStyle','DRAWING_CHART','10333410mZTLWx','84fZKMWn','unitId','setPosition','position','pie.doughnutHole'];_0x3e26=function(){return _0x5a0b6f;};return _0x3e26();}_0x294962[_0x13f995(0x148)](Z);class tt extends c{constructor(_0x112f49,_0x79a633,_0x2a1c33,_0x1d7b6f,_0x50f397){const _0x5c46da=_0x13f995;super(_0x112f49,_0x79a633,_0x2a1c33,_0x1d7b6f,_0x50f397),n(this,_0x5c46da(0x10c)),n(this,_0x5c46da(0x139)),n(this,_0x5c46da(0x191)),n(this,_0x5c46da(0x13d));}[_0x13f995(0x151)](_0x47a214){const _0x2b7cce=_0x13f995;return this[_0x2b7cce(0x10c)]=_0x47a214,this;}[_0x13f995(0x122)](_0x39ffa5){const _0x54ec3d=_0x13f995;return this[_0x54ec3d(0x139)]=_0x39ffa5,this;}['setDataPointColor'](_0x523d1c){return this['dataPointColor']=_0x523d1c,this;}[_0x13f995(0x111)](_0x1a6d08){const _0x229ceb=_0x13f995;return this[_0x229ceb(0x13d)]=_0x1a6d08,this;}[_0x13f995(0x11b)](){const _0x3b4eb4=_0x13f995,_0x2e9ca5=super['build']();_0x2e9ca5['chartType']=_0x3adf28[_0x3b4eb4(0x125)];const _0x295f6c=_0x2e9ca5[_0x3b4eb4(0x10e)]||{};return s(_0x295f6c,'area.lineStyle',this[_0x3b4eb4(0x10c)]),s(_0x295f6c,'allSeriesStyle.point.shape',this['dataPointShape']),s(_0x295f6c,_0x3b4eb4(0x17a),this[_0x3b4eb4(0x191)]),s(_0x295f6c,'allSeriesStyle.point.size',this[_0x3b4eb4(0x13d)]),_0x2e9ca5['options']=_0x295f6c,_0x2e9ca5;}}class et extends c{[_0x13f995(0x196)](){const _0x21cd8c=_0x13f995;return new tt(this[_0x21cd8c(0xf4)],this['subUnitId'],this['_workbook'],this[_0x21cd8c(0x121)],this[_0x21cd8c(0x178)]);}}c['extend'](et);class it extends c{constructor(_0x54d6f7,_0x5e6290,_0x4d441f,_0x235266,_0x59491a){const _0xf03af3=_0x13f995;super(_0x54d6f7,_0x5e6290,_0x4d441f,_0x235266,_0x59491a),n(this,_0xf03af3(0x172)),n(this,_0xf03af3(0x163)),n(this,_0xf03af3(0x115)),n(this,'isHalfPie'),n(this,_0xf03af3(0x189)),n(this,_0xf03af3(0xfc));}[_0x13f995(0xec)](_0x40a4ff){const _0x461293=_0x13f995;return this[_0x461293(0x172)]=_0x40a4ff,this;}['setBorderColor'](_0x2c41b8){const _0x27a727=_0x13f995;return this[_0x27a727(0x163)]=_0x2c41b8,this;}[_0x13f995(0x16a)](_0x629156){const _0x1fd3fc=_0x13f995;return this[_0x1fd3fc(0x115)]=_0x629156,this;}[_0x13f995(0x183)](_0x200faf){const _0x22171b=_0x13f995;return this[_0x22171b(0xf9)]=_0x200faf,this;}[_0x13f995(0x173)](_0x488929){const _0x16f84d=_0x13f995;return this[_0x16f84d(0x189)]=_0x488929,this;}[_0x13f995(0xf8)](_0x34f1f5){const _0x39d188=_0x13f995;return this[_0x39d188(0xfc)]=_0x34f1f5,this;}[_0x13f995(0x11b)](){const _0x14bff7=_0x13f995,_0x4fb30a=super[_0x14bff7(0x11b)]();_0x4fb30a['chartType']=_0x3adf28['Pie'];const _0x53c089=_0x4fb30a[_0x14bff7(0x10e)]||{};return s(_0x53c089,_0x14bff7(0xf7),this[_0x14bff7(0x172)]),s(_0x53c089,'pie.borderColor',this[_0x14bff7(0x163)]),s(_0x53c089,_0x14bff7(0x142),this['hasPaddingAngle']),s(_0x53c089,_0x14bff7(0x165),this[_0x14bff7(0xf9)]),s(_0x53c089,_0x14bff7(0xdc),this[_0x14bff7(0x189)]),s(_0x53c089,_0x14bff7(0x185),this[_0x14bff7(0xfc)]),_0x4fb30a[_0x14bff7(0x10e)]=_0x53c089,_0x4fb30a;}}class st extends c{[_0x13f995(0x161)](){const _0x161250=_0x13f995;return new it(this['unitId'],this[_0x161250(0x119)],this['_workbook'],this[_0x161250(0x121)],this[_0x161250(0x178)]);}}c['extend'](st);class rt extends c{constructor(_0x3cb3a8,_0x4801ff,_0x411534,_0x3dac3c,_0x3afb89){const _0x183ea0=_0x13f995;super(_0x3cb3a8,_0x4801ff,_0x411534,_0x3dac3c,_0x3afb89),n(this,_0x183ea0(0x14d)),n(this,_0x183ea0(0x15d));}[_0x13f995(0x12c)](_0x1f0c79){const _0x1b7c59=_0x13f995;return this[_0x1b7c59(0x14d)]=_0x1f0c79,this;}[_0x13f995(0x13e)](_0x705881){const _0x1e0565=_0x13f995;return this[_0x1e0565(0x15d)]=_0x705881,this;}[_0x13f995(0x11b)](){const _0x1acae1=_0x13f995,_0x566135=super[_0x1acae1(0x11b)]();_0x566135[_0x1acae1(0xdd)]=_0x3adf28[_0x1acae1(0x13f)];const _0x4ded76=_0x566135[_0x1acae1(0x10e)]||{};return s(_0x4ded76,_0x1acae1(0x153),this['shape']),s(_0x4ded76,_0x1acae1(0x11d),this[_0x1acae1(0x15d)]),_0x566135[_0x1acae1(0x10e)]=_0x4ded76,_0x566135;}}class ot extends c{[_0x13f995(0x131)](){const _0x2f7a5a=_0x13f995;return new rt(this[_0x2f7a5a(0xf4)],this[_0x2f7a5a(0x119)],this[_0x2f7a5a(0x134)],this[_0x2f7a5a(0x121)],this['chartId']);}}c['extend'](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
1
+ const _0x1954a8=_0x2358;(function(_0x5495c7,_0x304bd3){const _0x1034c1=_0x2358,_0x50adb5=_0x5495c7();while(!![]){try{const _0x1b54c2=-parseInt(_0x1034c1(0x103))/0x1+parseInt(_0x1034c1(0x137))/0x2+-parseInt(_0x1034c1(0x130))/0x3+parseInt(_0x1034c1(0x101))/0x4*(parseInt(_0x1034c1(0xcd))/0x5)+-parseInt(_0x1034c1(0x107))/0x6*(parseInt(_0x1034c1(0xa9))/0x7)+parseInt(_0x1034c1(0xe0))/0x8*(parseInt(_0x1034c1(0xa3))/0x9)+parseInt(_0x1034c1(0x11f))/0xa*(-parseInt(_0x1034c1(0xdd))/0xb);if(_0x1b54c2===_0x304bd3)break;else _0x50adb5['push'](_0x50adb5['shift']());}catch(_0x53e88a){_0x50adb5['push'](_0x50adb5['shift']());}}}(_0x2d4c,0x7b26e));var b=Object['defineProperty'],k=(_0x3f676c,_0x86b5e1,_0x34fd64)=>_0x86b5e1 in _0x3f676c?b(_0x3f676c,_0x86b5e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34fd64}):_0x3f676c[_0x86b5e1]=_0x34fd64,n=(_0x474da4,_0x464880,_0x12d9e5)=>k(_0x474da4,typeof _0x464880!=_0x1954a8(0xf7)?_0x464880+'':_0x464880,_0x12d9e5);import{ChartThemeService as _0xc5ed2f,ChartTypeBits as _0x480181,LegendPositionEnum as _0x5778ad,SelectModeEnum as _0x19509a,AxisAlignEnum as _0xc7e24a,ChartBorderDashType as _0x854882,LinePointShape as _0x568933,TitlePositionEnum as _0x4a9365,RadarShape as _0x4e9c67}from'@univerjs-pro/engine-chart';import{setProperty as _0x2e6171,SheetsChartService as _0x20ddf2,ChartUpdateSourceCommand as _0x22a43c,ChartUpdateConfigCommand as _0xf99710}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x1d2ada}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x11fe41,IUniverInstanceService as _0x20c033,UniverInstanceType as _0x3bee4a,generateRandomId as _0x4b5c10,DrawingTypeEnum as _0x24bf74}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x515463}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x14ce7e}from'@univerjs/sheets/facade';import{FBase as _0x94cf2e,FEnum as _0x1e8060}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x3031a1}from'@univerjs/engine-formula';import{IRenderManagerService as _0x2c2d8d}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x72535d,SheetSkeletonManagerService as _0x297143,convertPositionCellToSheetOverGrid as _0x132591}from'@univerjs/sheets-ui';const s=(_0x59e570,_0xe58a14,_0xdbaf06)=>{_0xdbaf06!==void 0x0&&_0x2e6171(_0x59e570,_0xe58a14,_0xdbaf06);},C=(_0x5757fa,_0x1c53a8,_0x55c24a,_0xf79c73={})=>{const _0xf27fb=_0x1954a8,_0x51f555={},_0x51975f={};if(_0xf79c73['title']){const _0x4986b7=_0xf79c73[_0xf27fb(0xde)];s(_0x51f555,_0xf27fb(0xd4),_0x4986b7['content']),s(_0x51f555,'titles.title.font',_0x4986b7[_0xf27fb(0x133)]),s(_0x51f555,'titles.title.fontSize',_0x4986b7[_0xf27fb(0xc4)]),s(_0x51f555,_0xf27fb(0x143),_0x4986b7[_0xf27fb(0xa7)]),s(_0x51f555,_0xf27fb(0xf6),_0x4986b7[_0xf27fb(0x11c)]),s(_0x51f555,_0xf27fb(0xce),_0x4986b7[_0xf27fb(0x139)]),s(_0x51f555,_0xf27fb(0xf9),_0x4986b7['titleAlignment']),s(_0x51f555,_0xf27fb(0xec),_0x4986b7[_0xf27fb(0xc9)]);}if(_0xf79c73[_0xf27fb(0xb8)]){const _0x54330a=_0xf79c73['legend'];s(_0x51f555,'legend.position',_0x54330a[_0xf27fb(0xc9)]),s(_0x51f555,_0xf27fb(0xc2),_0x54330a[_0xf27fb(0x12e)]),s(_0x51f555,_0xf27fb(0xb1),_0x54330a[_0xf27fb(0xc4)]),s(_0x51f555,_0xf27fb(0x146),_0x54330a[_0xf27fb(0xd1)]),s(_0x51f555,_0xf27fb(0xb7),_0x54330a['bold']),s(_0x51f555,_0xf27fb(0x140),_0x54330a[_0xf27fb(0x14a)]);}if(_0xf79c73[_0xf27fb(0x151)]){const _0x5626be=_0xf79c73[_0xf27fb(0x151)];s(_0x51f555,_0xf27fb(0xad),_0x5626be[_0xf27fb(0x115)]),s(_0x51f555,_0xf27fb(0x114),_0x5626be['borderColor']),s(_0x51f555,'pie.hasPaddingAngle',_0x5626be['hasPaddingAngle']),s(_0x51f555,_0xf27fb(0xbc),_0x5626be[_0xf27fb(0x10a)]),s(_0x51f555,_0xf27fb(0x117),_0x5626be[_0xf27fb(0xc0)]),s(_0x51f555,_0xf27fb(0xcf),_0x5626be[_0xf27fb(0x136)]);}if(_0xf79c73[_0xf27fb(0x110)]){const _0x169d3b=_0xf79c73[_0xf27fb(0x110)];s(_0x51f555,_0xf27fb(0xd0),_0x169d3b['indicatorLabelColor']),s(_0x51f555,_0xf27fb(0x141),_0x169d3b[_0xf27fb(0x11d)]),s(_0x51f555,_0xf27fb(0x155),_0x169d3b[_0xf27fb(0xb5)]),s(_0x51f555,_0xf27fb(0x14f),_0x169d3b[_0xf27fb(0x15a)]);}if(_0xf79c73['allSeriesStyle']&&(s(_0x51f555,_0xf27fb(0xb0),_0xf79c73[_0xf27fb(0xa6)]['border']),s(_0x51f555,_0xf27fb(0xa1),_0xf79c73[_0xf27fb(0xa6)][_0xf27fb(0xfb)]),s(_0x51f555,_0xf27fb(0x13d),_0xf79c73[_0xf27fb(0xa6)][_0xf27fb(0xa2)]),s(_0x51f555,_0xf27fb(0xaa),_0xf79c73['allSeriesStyle'][_0xf27fb(0xe2)]),s(_0x51f555,'allSeriesStyle.color',_0xf79c73[_0xf27fb(0xa6)]['color'])),_0xf79c73[_0xf27fb(0x10c)]&&s(_0x51f555,'area.lineStyle',_0xf79c73[_0xf27fb(0x10c)][_0xf27fb(0xc1)]),_0xf79c73[_0xf27fb(0xdb)]&&s(_0x51f555,_0xf27fb(0xdb),_0xf79c73[_0xf27fb(0xdb)]),_0xf79c73[_0xf27fb(0xf4)]&&s(_0x51f555,'backgroundColor',_0xf79c73[_0xf27fb(0xf4)]),_0xf79c73['borderColor']&&s(_0x51f555,_0xf27fb(0x135),_0xf79c73[_0xf27fb(0x135)]),_0xf79c73[_0xf27fb(0x10d)]&&s(_0x51f555,'gradientFill',_0xf79c73[_0xf27fb(0x10d)]),_0xf79c73[_0xf27fb(0xbd)]&&s(_0x51f555,_0xf27fb(0xbd),_0xf79c73[_0xf27fb(0xbd)]),_0xf79c73[_0xf27fb(0x112)]&&s(_0x51f555,_0xf27fb(0x112),_0xf79c73[_0xf27fb(0x112)]),_0xf79c73[_0xf27fb(0x127)]){const _0x31046c=_0xf79c73[_0xf27fb(0x127)];s(_0x51f555,_0xf27fb(0xc7),_0x31046c[_0xf27fb(0xd8)]),s(_0x51f555,'titles.xAxisTitle.font',_0x31046c[_0xf27fb(0x133)]),s(_0x51f555,_0xf27fb(0xca),_0x31046c[_0xf27fb(0xc4)]),s(_0x51f555,'titles.xAxisTitle.color',_0x31046c['fontColor']),s(_0x51f555,_0xf27fb(0xc6),_0x31046c[_0xf27fb(0x11c)]),s(_0x51f555,_0xf27fb(0xea),_0x31046c['bold']),s(_0x51f555,_0xf27fb(0x12d),_0x31046c['axisAlignment']);}if(_0xf79c73[_0xf27fb(0x113)]){const _0x14c56e=_0xf79c73[_0xf27fb(0x113)];s(_0x51f555,_0xf27fb(0x106),_0x14c56e[_0xf27fb(0xd8)]),s(_0x51f555,_0xf27fb(0xb6),_0x14c56e['font']),s(_0x51f555,'titles.yAxisTitle.fontSize',_0x14c56e[_0xf27fb(0xc4)]),s(_0x51f555,_0xf27fb(0xed),_0x14c56e[_0xf27fb(0xa7)]),s(_0x51f555,_0xf27fb(0x128),_0x14c56e['fontStyle']),s(_0x51f555,'titles.yAxisTitle.bold',_0x14c56e['bold']),s(_0x51f555,_0xf27fb(0x13b),_0x14c56e[_0xf27fb(0xe7)]);}if(_0xf79c73[_0xf27fb(0x116)]){const _0x315e85=_0xf79c73['rightYAxisTitle'];s(_0x51f555,_0xf27fb(0xc3),_0x315e85['content']),s(_0x51f555,_0xf27fb(0x105),_0x315e85[_0xf27fb(0x133)]),s(_0x51f555,_0xf27fb(0xdc),_0x315e85['fontSize']),s(_0x51f555,_0xf27fb(0xf3),_0x315e85[_0xf27fb(0xa7)]),s(_0x51f555,_0xf27fb(0xf0),_0x315e85[_0xf27fb(0x11c)]),s(_0x51f555,_0xf27fb(0x144),_0x315e85['bold']),s(_0x51f555,_0xf27fb(0x13c),_0x315e85['axisAlignment']);}_0xf79c73[_0xf27fb(0xda)]&&s(_0x51f555,_0xf27fb(0xda),_0xf79c73[_0xf27fb(0xda)]),_0xf79c73[_0xf27fb(0x138)]&&s(_0x51f555,_0xf27fb(0x138),_0xf79c73[_0xf27fb(0x138)]),_0xf79c73[_0xf27fb(0x121)]&&s(_0x51f555,_0xf27fb(0xa2),_0xf79c73['yRightAxis']),_0xf79c73['seriesStyleMap']&&s(_0x51f555,_0xf27fb(0x122),_0xf79c73['seriesStyleMap']);const _0x5bb162={'unitId':_0x5757fa,'chartModelId':_0x1c53a8};let _0x4c0587=!0x1;if(_0x55c24a!==void 0x0&&(_0x5bb162[_0xf27fb(0xa8)]=_0x55c24a,_0x4c0587=!0x0),Object['keys'](_0x51f555)[_0xf27fb(0x154)]>0x0&&(_0x5bb162[_0xf27fb(0xdf)]=_0x51f555,_0x4c0587=!0x0),Object['keys'](_0x51975f)[_0xf27fb(0x154)]>0x0&&(_0x5bb162[_0xf27fb(0xfe)]=_0x51975f,_0x4c0587=!0x0),_0x4c0587)return _0x5bb162;};class c extends _0x94cf2e{constructor(_0x4ec73c,_0x4fc5dd,_0x55d154,_0x16162d,_0x34b844){const _0x34ec9d=_0x1954a8;super(),n(this,_0x34ec9d(0x124)),n(this,'_injector'),n(this,_0x34ec9d(0xe4)),n(this,_0x34ec9d(0xeb)),n(this,_0x34ec9d(0xc8)),n(this,_0x34ec9d(0xb3)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x34ec9d(0x15c)),n(this,_0x34ec9d(0xe1)),n(this,_0x34ec9d(0xa8)),n(this,_0x34ec9d(0x156)),n(this,'transposeRowsAndColumns'),(this[_0x34ec9d(0xe4)]=_0x4ec73c,this[_0x34ec9d(0xeb)]=_0x4fc5dd,this[_0x34ec9d(0x124)]=_0x55d154,this[_0x34ec9d(0x119)]=_0x16162d,_0x34b844&&(this[_0x34ec9d(0xc8)]=_0x34b844));}[_0x1954a8(0x145)](){const _0x5bf19d=_0x1954a8;return this[_0x5bf19d(0xa8)];}['addRange'](_0xf4433a){const _0x4d168d=_0x1954a8;if(typeof _0xf4433a==_0x4d168d(0xee)){const _0x329c1c=_0x3031a1(_0xf4433a);_0x329c1c[_0x4d168d(0x159)]&&(this[_0x4d168d(0x118)]=_0x329c1c[_0x4d168d(0x159)]),this[_0x4d168d(0xb3)]=_0x329c1c['range'];}else this[_0x4d168d(0xb3)]=_0xf4433a;return this;}['clearRange'](){const _0x70b51d=_0x1954a8;return this['range']=void 0x0,this[_0x70b51d(0x118)]=void 0x0,this;}['setPosition'](_0x168018,_0x12a0d2,_0x38e41e,_0xf80c46){const _0x1d9beb=_0x1954a8,_0x2dd5db=this['_injector'][_0x1d9beb(0x14b)](_0x2c2d8d)['getRenderById'](this[_0x1d9beb(0xe4)]);if(!_0x2dd5db)throw new Error(_0x1d9beb(0xa5));const _0x3423cc=_0x2dd5db[_0x1d9beb(0xb4)](_0x72535d),_0x5bbfe3=_0x2dd5db[_0x1d9beb(0xb4)](_0x297143),{transform:_0x64f698}=_0x132591(this[_0x1d9beb(0xe4)],this[_0x1d9beb(0xeb)],{'row':_0x168018,'column':_0x12a0d2,'rowOffset':_0x38e41e,'columnOffset':_0xf80c46},0x1,0x1,_0x3423cc,_0x5bbfe3),_0xe4d06a=_0x64f698[_0x1d9beb(0x10b)],_0x55e876=_0x64f698['left'];return this['x']=_0x55e876,this['y']=_0xe4d06a,this;}[_0x1954a8(0x12f)](_0x330775,_0x2c1eef){return this['x']=_0x330775,this['y']=_0x2c1eef,this;}[_0x1954a8(0xd6)](_0x3af20e){const _0x4ccdbd=_0x1954a8;return this[_0x4ccdbd(0xa8)]=_0x3af20e,this;}['setWidth'](_0x51a2f8){const _0x38685c=_0x1954a8;return this[_0x38685c(0x15c)]=_0x51a2f8,this;}[_0x1954a8(0x11e)](_0x2a84b0){const _0xd55cc5=_0x1954a8;return this[_0xd55cc5(0xe1)]=_0x2a84b0,this;}[_0x1954a8(0xe3)](_0x274d6f,_0x335d94){const _0x532dab=_0x1954a8;return this[_0x532dab(0x156)]||(this[_0x532dab(0x156)]={}),_0x274d6f===''?(this['options']={...this[_0x532dab(0x156)],..._0x335d94},this):(_0x2e6171(this[_0x532dab(0x156)],_0x274d6f,_0x335d94),this);}[_0x1954a8(0x14e)](_0x5d107c){return this['transposeRowsAndColumns']=_0x5d107c,this;}[_0x1954a8(0xf5)](_0x96b22c){const _0x1a2f3d=_0x1954a8;return this[_0x1a2f3d(0xe3)](_0x1a2f3d(0xdb),_0x96b22c),this;}['setXAxisTitle'](_0x2be5e4){const _0x32d666=_0x1954a8;var _0x4b2c8e;const _0xfca59d=((_0x4b2c8e=this[_0x32d666(0x156)])==null?void 0x0:_0x4b2c8e[_0x32d666(0x127)])||{};return _0xfca59d[_0x32d666(0xd8)]=_0x2be5e4,this[_0x32d666(0xe3)](_0x32d666(0x127),_0xfca59d),this;}[_0x1954a8(0x111)](_0x236986){const _0x20575d=_0x1954a8;var _0x3701f1;const _0x1bc7d9=((_0x3701f1=this[_0x20575d(0x156)])==null?void 0x0:_0x3701f1[_0x20575d(0x113)])||{};return _0x1bc7d9[_0x20575d(0xd8)]=_0x236986,this[_0x20575d(0xe3)]('yAxisTitle',_0x1bc7d9),this;}['setRightYAxisTitle'](_0x467bba){const _0x52c413=_0x1954a8;var _0x45252c;const _0x586786=((_0x45252c=this[_0x52c413(0x156)])==null?void 0x0:_0x45252c[_0x52c413(0x116)])||{};return _0x586786[_0x52c413(0xd8)]=_0x467bba,this[_0x52c413(0xe3)]('rightYAxisTitle',_0x586786),this;}[_0x1954a8(0x108)](_0x5795c5){const _0x411456=_0x1954a8;var _0x3cc697;const _0x42ae00=((_0x3cc697=this[_0x411456(0x156)])==null?void 0x0:_0x3cc697['xAxisTitle'])||{};return this[_0x411456(0xe3)](_0x411456(0x127),{..._0x42ae00,..._0x5795c5}),this;}['setYAxisTextStyle'](_0x56c409){const _0x5baf56=_0x1954a8;var _0x335a15;const _0x185425=((_0x335a15=this[_0x5baf56(0x156)])==null?void 0x0:_0x335a15[_0x5baf56(0x113)])||{};return this[_0x5baf56(0xe3)](_0x5baf56(0x113),{..._0x185425,..._0x56c409}),this;}[_0x1954a8(0xe6)](_0x33f4d2){const _0x48086f=_0x1954a8;var _0x527772;const _0x274eff=((_0x527772=this['options'])==null?void 0x0:_0x527772['rightYAxisTitle'])||{};return this[_0x48086f(0xe3)](_0x48086f(0x116),{..._0x274eff,..._0x33f4d2}),this;}[_0x1954a8(0x153)](_0x52d0cb){const _0x367a47=_0x1954a8;return this['setOptions'](_0x367a47(0xbd),_0x52d0cb),this;}[_0x1954a8(0xf8)](_0x59c83d){const _0xeb68ef=_0x1954a8;return this[_0xeb68ef(0xe3)](_0xeb68ef(0x110),_0x59c83d),this;}[_0x1954a8(0x148)](_0x1892d1){const _0x524c7c=_0x1954a8;return this[_0x524c7c(0xe3)](_0x524c7c(0xa6),_0x1892d1),this;}[_0x1954a8(0x13e)](_0x96a1b4,_0x5672cf){const _0x1a182e=_0x1954a8;return this[_0x1a182e(0xe3)](_0x1a182e(0x122),{[_0x96a1b4]:_0x5672cf}),this;}[_0x1954a8(0x142)](){const _0x34aeca=_0x1954a8;var _0x5a2079;let _0x23480d=this[_0x34aeca(0xeb)];if(this[_0x34aeca(0x118)]){const _0x565230=(_0x5a2079=this['_workbook']['getSheetBySheetName'](this[_0x34aeca(0x118)]))==null?void 0x0:_0x5a2079[_0x34aeca(0xd5)]();if(!_0x565230)throw new Error(_0x34aeca(0x15b)+this[_0x34aeca(0x118)]+_0x34aeca(0xbb));_0x23480d=_0x565230;}return{'unitId':this[_0x34aeca(0xe4)],'subUnitId':_0x23480d,'chartId':this[_0x34aeca(0xc8)],'range':this['range'],'x':this['x'],'y':this['y'],'width':this[_0x34aeca(0x15c)],'height':this[_0x34aeca(0xe1)],'chartType':this['chartType'],'options':this[_0x34aeca(0x156)],'isRowDirection':this[_0x34aeca(0x12b)]};}}class f{constructor(_0x3ead15,_0x17aab1,_0xa8ee86,_0x431051){const _0x4aa6fb=_0x1954a8;n(this,_0x4aa6fb(0xe4)),n(this,_0x4aa6fb(0xeb)),n(this,_0x4aa6fb(0xc8)),n(this,_0x4aa6fb(0x119)),(this[_0x4aa6fb(0xe4)]=_0x3ead15,this[_0x4aa6fb(0xeb)]=_0x17aab1,this[_0x4aa6fb(0xc8)]=_0xa8ee86,this[_0x4aa6fb(0x119)]=_0x431051);}[_0x1954a8(0xfc)](){const _0x286c53=_0x1954a8;return this[_0x286c53(0xc8)];}[_0x1954a8(0x104)](){const _0x449e0b=_0x1954a8,_0x4bda22=this[_0x449e0b(0x119)]['get'](_0x20ddf2)[_0x449e0b(0xa4)](this['chartId']);if(_0x4bda22)return _0x4bda22[_0x449e0b(0xef)][_0x449e0b(0xbf)]();}[_0x1954a8(0xab)](_0x5c16f5){const _0x907933=_0x1954a8;return this[_0x907933(0x119)]['get'](_0x11fe41)[_0x907933(0xe5)](_0x22a43c['id'],{'unitId':this[_0x907933(0xe4)],'chartModelId':this[_0x907933(0xc8)],'range':_0x5c16f5});}[_0x1954a8(0xaf)](){const _0x37e987=_0x1954a8;var _0x38835b;const _0x15bca4=this['_injector'][_0x37e987(0x14b)](_0x20ddf2)[_0x37e987(0xa4)](this[_0x37e987(0xc8)]);if(_0x15bca4)return(_0x38835b=_0x15bca4[_0x37e987(0xf2)])==null?void 0x0:_0x38835b['series'];}[_0x1954a8(0x120)](){const _0x157e7f=_0x1954a8;var _0x44815a;const _0x413857=this['_injector'][_0x157e7f(0x14b)](_0x20ddf2)['getChartModel'](this[_0x157e7f(0xc8)]);if(_0x413857)return(_0x44815a=_0x413857['config'])==null?void 0x0:_0x44815a['category'];}[_0x1954a8(0xe8)](){const _0x4c199e=_0x1954a8,_0x18711c=this['_injector'][_0x4c199e(0x14b)](_0x20c033)['getCurrentUnitForType'](_0x3bee4a[_0x4c199e(0xd3)]);return new c(this['unitId'],this[_0x4c199e(0xeb)],_0x18711c,this['_injector'],this[_0x4c199e(0xc8)]);}}class Q extends _0x14ce7e{async['insertChart'](_0x1a17f6){const _0x1531a7=_0x1954a8;var _0x587033,_0x5ee101,_0x52e918;const _0x186a1e=_0x1a17f6[_0x1531a7(0xe4)]||this[_0x1531a7(0x150)]()['getUnitId'](),_0x4d5fa9=_0x1a17f6[_0x1531a7(0xeb)]||this[_0x1531a7(0xd5)](),_0x34cc17=_0x1a17f6['chartId']||_0x4b5c10(),_0x2fc5cf=_0x1a17f6['chartType'],_0xe3c10d=_0x1a17f6[_0x1531a7(0xb3)],_0xb1769a={'x':_0x1a17f6['x'],'y':_0x1a17f6['y']},_0x49d2c2=_0x1a17f6[_0x1531a7(0x15c)],_0x80a9e7=_0x1a17f6[_0x1531a7(0xe1)],_0x59a38d=(_0x587033=_0x1a17f6[_0x1531a7(0x156)])==null?void 0x0:_0x587033[_0x1531a7(0xf4)],_0x57e9e7=(_0x5ee101=_0x1a17f6['options'])==null?void 0x0:_0x5ee101[_0x1531a7(0x135)],_0x29d555=C(_0x186a1e,_0x34cc17,_0x2fc5cf,_0x1a17f6[_0x1531a7(0x156)]),_0x36b1e6=(_0x52e918=_0x1a17f6[_0x1531a7(0x131)])!=null?_0x52e918:!0x0;if(!_0xe3c10d)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService']['executeCommand'](_0x1d2ada['id'],{'unitId':_0x186a1e,'subUnitId':_0x4d5fa9,'chartId':_0x34cc17,'chartType':_0x2fc5cf,'range':_0xe3c10d,'position':_0xb1769a,'width':_0x49d2c2,'height':_0x80a9e7,'backgroundColor':_0x59a38d,'borderColor':_0x57e9e7,'config':_0x29d555,'isRowDirection':_0x36b1e6}),new f(_0x186a1e,_0x4d5fa9,_0x34cc17,this['_injector']);}[_0x1954a8(0x149)](_0x31518d){const _0x467aa2=_0x1954a8,{unitId:_0x1c57ca,chartId:_0x3946c6,chartType:_0x2c0af7,options:_0xe6d5ce}=_0x31518d,_0xfc915b=C(_0x1c57ca,_0x3946c6,_0x2c0af7,_0xe6d5ce);this[_0x467aa2(0x13f)][_0x467aa2(0xe5)](_0xf99710['id'],_0xfc915b);}[_0x1954a8(0x125)](_0x311eaa){const _0x5e0518=_0x1954a8;if(_0x311eaa)return new c(_0x311eaa[_0x5e0518(0xe4)],_0x311eaa['subUnitId'],this[_0x5e0518(0x124)],this[_0x5e0518(0x119)],_0x311eaa[_0x5e0518(0xc8)]);const _0x21bc28=this['getWorkbook']()[_0x5e0518(0x12c)](),_0x100901=this['getSheetId']();return new c(_0x21bc28,_0x100901,this[_0x5e0518(0x124)],this[_0x5e0518(0x119)]);}[_0x1954a8(0x157)](){const _0x58c7bf=_0x1954a8,_0x31e491=this[_0x58c7bf(0x119)][_0x58c7bf(0x14b)](_0x20ddf2),_0x910cd0=this[_0x58c7bf(0x150)]()[_0x58c7bf(0x12c)]();return _0x31e491[_0x58c7bf(0x129)](_0x910cd0,this[_0x58c7bf(0xd5)]())[_0x58c7bf(0xb2)](_0x145b3b=>new f(_0x910cd0,this[_0x58c7bf(0xd5)](),_0x145b3b['id'],this['_injector']));}['removeChart'](_0x3e4681){const _0x4b9c1e=_0x1954a8,_0x1ef9c3=_0x3e4681['unitId'],_0x2d93e6=_0x3e4681[_0x4b9c1e(0xeb)],_0x4ef828=_0x3e4681[_0x4b9c1e(0xc8)],_0x567620={'unitId':_0x1ef9c3,'drawings':[{'unitId':_0x1ef9c3,'subUnitId':_0x2d93e6,'drawingId':_0x4ef828,'drawingType':_0x24bf74[_0x4b9c1e(0x109)]}]};return this['_commandService'][_0x4b9c1e(0xe5)](_0x515463['id'],_0x567620);}['registerChartTheme'](_0x55d2d5,_0x4e35cf){const _0x82b9c9=_0x1954a8;this['_injector'][_0x82b9c9(0x14b)](_0xc5ed2f)[_0x82b9c9(0x12a)](_0x55d2d5,_0x4e35cf);}}_0x14ce7e['extend'](Q);class Z extends _0x1e8060{get['ChartType'](){return _0x480181;}get[_0x1954a8(0xff)](){return _0x5778ad;}get[_0x1954a8(0xd2)](){return _0x19509a;}get[_0x1954a8(0x126)](){return _0xc7e24a;}get[_0x1954a8(0xbe)](){return _0x854882;}get[_0x1954a8(0x10f)](){return _0x568933;}get[_0x1954a8(0x134)](){return _0x4a9365;}get[_0x1954a8(0x11a)](){return _0x4e9c67;}}_0x1e8060[_0x1954a8(0xac)](Z);class tt extends c{constructor(_0xc5356b,_0x57c454,_0x61e07b,_0x212c8f,_0x24be02){const _0x335ec6=_0x1954a8;super(_0xc5356b,_0x57c454,_0x61e07b,_0x212c8f,_0x24be02),n(this,_0x335ec6(0xc1)),n(this,'dataPointShape'),n(this,_0x335ec6(0x14c)),n(this,_0x335ec6(0xfd));}[_0x1954a8(0xcb)](_0x333ca8){const _0x2fd466=_0x1954a8;return this[_0x2fd466(0xc1)]=_0x333ca8,this;}[_0x1954a8(0x10e)](_0x32d787){const _0xc362c=_0x1954a8;return this[_0xc362c(0x158)]=_0x32d787,this;}[_0x1954a8(0x13a)](_0x3286aa){const _0x43a849=_0x1954a8;return this[_0x43a849(0x14c)]=_0x3286aa,this;}['setDataPointSize'](_0x40c3de){const _0x245978=_0x1954a8;return this[_0x245978(0xfd)]=_0x40c3de,this;}[_0x1954a8(0x142)](){const _0x10e813=_0x1954a8,_0x25db2e=super[_0x10e813(0x142)]();_0x25db2e[_0x10e813(0xa8)]=_0x480181[_0x10e813(0xfa)];const _0x2fabea=_0x25db2e[_0x10e813(0x156)]||{};return s(_0x2fabea,_0x10e813(0xae),this['lineStyle']),s(_0x2fabea,_0x10e813(0xe9),this[_0x10e813(0x158)]),s(_0x2fabea,_0x10e813(0xba),this['dataPointColor']),s(_0x2fabea,_0x10e813(0x123),this[_0x10e813(0xfd)]),_0x25db2e[_0x10e813(0x156)]=_0x2fabea,_0x25db2e;}}class et extends c{['asLineChart'](){const _0x1d6c44=_0x1954a8;return new tt(this['unitId'],this[_0x1d6c44(0xeb)],this[_0x1d6c44(0x124)],this[_0x1d6c44(0x119)],this['chartId']);}}function _0x2358(_0x49d5a7,_0x2948b2){const _0x2d4cd1=_0x2d4c();return _0x2358=function(_0x2358d4,_0x4090c4){_0x2358d4=_0x2358d4-0xa1;let _0x19a363=_0x2d4cd1[_0x2358d4];return _0x19a363;},_0x2358(_0x49d5a7,_0x2948b2);}function _0x2d4c(){const _0x461456=['with','indicatorLineColor','titles.yAxisTitle.font','legend.label.bold','legend','setIsHalfPie','allSeriesStyle.point.color','\x20not\x20found','pie.isHalfPie','invalidValueType','ChartBorderDashType','getRangeInfo','rosePie','lineStyle','legend.selectMode','titles.rightYAxisTitle.content','fontSize','Pie','titles.xAxisTitle.family','titles.xAxisTitle.content','chartId','position','titles.xAxisTitle.fontSize','setLineStyle','setBorderColor','995pUegJU','titles.title.bold','pie.showLabelLine','tooltip.indicatorLabelColor','color','SelectModeEnum','UNIVER_SHEET','titles.title.content','getSheetId','setChartType','setRosePie','content','setShowLabelLine','xAxis','theme','titles.rightYAxisTitle.fontSize','1551154tOsPnM','title','style','5987888FolZQF','height','point','setOptions','unitId','executeCommand','setRightYAxisTextStyle','axisAlignment','modify','allSeriesStyle.point.shape','titles.xAxisTitle.bold','subUnitId','titles.titlePosition','titles.yAxisTitle.color','string','dataSource','titles.rightYAxisTitle.family','fill','config','titles.rightYAxisTitle.color','backgroundColor','setTheme','titles.title.family','symbol','setAxisPointerStyle','titles.title.align','Line','label','getChartId','dataPointSize','context','LegendPositionEnum','shape','3620jNDxnx','hasPaddingAngle','149163WorXpl','getRange','titles.rightYAxisTitle.font','titles.yAxisTitle.content','6047670aCAhLO','setXAxisTextStyle','DRAWING_CHART','isHalfPie','top','area','gradientFill','setDataPointShape','LinePointShape','axisPointer','setYAxisTitle','radar','yAxisTitle','pie.borderColor','doughnutHole','rightYAxisTitle','pie.rosePie','sourceSheetName','_injector','RadarShape','setShape','fontStyle','indicatorLineType','setHeight','10zJRcKn','getCategoryData','yRightAxis','seriesStyleMap','allSeriesStyle.point.size','_workbook','newChart','AxisAlignEnum','xAxisTitle','titles.yAxisTitle.family','getUnitChartModels','registerTheme','transposeRowsAndColumns','getUnitId','xAxis.label.axisTitleAlign','selectMode','setAbsolutePosition','190197probhD','isRowDirection','setHasPaddingAngle','font','TitlePositionEnum','borderColor','showLabelLine','1874740DSbuww','yAxis','bold','setDataPointColor','yAxis.label.axisTitleAlign','rightYAxis.label.axisTitleAlign','allSeriesStyle.rightYAxis','setSeriesStyle','_commandService','legend.label.italic','tooltip.indicatorLineType','build','titles.title.color','titles.rightYAxisTitle.bold','getChartType','legend.label.color','asPieChart','setAllSeriesStyle','updateChart','italic','get','dataPointColor','setFill','setTransposeRowsAndColumns','tooltip.indicatorLabelTextColor','getWorkbook','pie','radar.fill','setInvalidValueStrategy','length','tooltip.indicatorLineColor','options','getCharts','dataPointShape','sheetName','indicatorLabelTextColor','Sheet\x20','width','allSeriesStyle.label','rightYAxis','9apqgIN','getChartModel','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','allSeriesStyle','fontColor','chartType','7sAmuej','allSeriesStyle.point','updateRange','extend','pie.doughnutHole','area.lineStyle','getSeriesData','allSeriesStyle.border','legend.label.fontSize','map','range'];_0x2d4c=function(){return _0x461456;};return _0x2d4c();}c[_0x1954a8(0xac)](et);class it extends c{constructor(_0x8ae7a,_0x21b3c1,_0x43b190,_0x2e1fd9,_0x436a42){const _0x51918e=_0x1954a8;super(_0x8ae7a,_0x21b3c1,_0x43b190,_0x2e1fd9,_0x436a42),n(this,_0x51918e(0x115)),n(this,_0x51918e(0x135)),n(this,_0x51918e(0x102)),n(this,_0x51918e(0x10a)),n(this,'rosePie'),n(this,_0x51918e(0x136));}['setDoughnutHole'](_0xb0f9d9){const _0x46de8d=_0x1954a8;return this[_0x46de8d(0x115)]=_0xb0f9d9,this;}[_0x1954a8(0xcc)](_0x4cef6e){const _0x26230e=_0x1954a8;return this[_0x26230e(0x135)]=_0x4cef6e,this;}[_0x1954a8(0x132)](_0x2b9670){const _0x1d9052=_0x1954a8;return this[_0x1d9052(0x102)]=_0x2b9670,this;}[_0x1954a8(0xb9)](_0x35b1da){const _0x264d7a=_0x1954a8;return this[_0x264d7a(0x10a)]=_0x35b1da,this;}[_0x1954a8(0xd7)](_0x378e4a){const _0x5d2990=_0x1954a8;return this[_0x5d2990(0xc0)]=_0x378e4a,this;}[_0x1954a8(0xd9)](_0x1f7b45){const _0xc02a03=_0x1954a8;return this[_0xc02a03(0x136)]=_0x1f7b45,this;}[_0x1954a8(0x142)](){const _0x3bf538=_0x1954a8,_0x425f71=super['build']();_0x425f71[_0x3bf538(0xa8)]=_0x480181[_0x3bf538(0xc5)];const _0x6d3efb=_0x425f71[_0x3bf538(0x156)]||{};return s(_0x6d3efb,_0x3bf538(0xad),this[_0x3bf538(0x115)]),s(_0x6d3efb,'pie.borderColor',this[_0x3bf538(0x135)]),s(_0x6d3efb,'pie.hasPaddingAngle',this[_0x3bf538(0x102)]),s(_0x6d3efb,_0x3bf538(0xbc),this['isHalfPie']),s(_0x6d3efb,'pie.rosePie',this[_0x3bf538(0xc0)]),s(_0x6d3efb,_0x3bf538(0xcf),this[_0x3bf538(0x136)]),_0x425f71[_0x3bf538(0x156)]=_0x6d3efb,_0x425f71;}}class st extends c{[_0x1954a8(0x147)](){const _0x465b14=_0x1954a8;return new it(this[_0x465b14(0xe4)],this[_0x465b14(0xeb)],this[_0x465b14(0x124)],this[_0x465b14(0x119)],this[_0x465b14(0xc8)]);}}c[_0x1954a8(0xac)](st);class rt extends c{constructor(_0x1cfbd8,_0x36953a,_0x264dd0,_0x1d8ef6,_0x21c585){const _0x2cfcaa=_0x1954a8;super(_0x1cfbd8,_0x36953a,_0x264dd0,_0x1d8ef6,_0x21c585),n(this,'shape'),n(this,_0x2cfcaa(0xf1));}[_0x1954a8(0x11b)](_0x56d5c1){const _0x54fcd6=_0x1954a8;return this[_0x54fcd6(0x100)]=_0x56d5c1,this;}[_0x1954a8(0x14d)](_0x854379){const _0x4fb358=_0x1954a8;return this[_0x4fb358(0xf1)]=_0x854379,this;}[_0x1954a8(0x142)](){const _0x225030=_0x1954a8,_0x2e4bc8=super[_0x225030(0x142)]();_0x2e4bc8[_0x225030(0xa8)]=_0x480181['Radar'];const _0xe7c73a=_0x2e4bc8[_0x225030(0x156)]||{};return s(_0xe7c73a,'radar.shape',this[_0x225030(0x100)]),s(_0xe7c73a,_0x225030(0x152),this[_0x225030(0xf1)]),_0x2e4bc8[_0x225030(0x156)]=_0xe7c73a,_0x2e4bc8;}}class ot extends c{['asRadarChart'](){const _0x111901=_0x1954a8;return new rt(this[_0x111901(0xe4)],this[_0x111901(0xeb)],this[_0x111901(0x124)],this[_0x111901(0x119)],this[_0x111901(0xc8)]);}}c[_0x1954a8(0xac)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};