@univerjs-pro/sheets-chart-ui 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3441c7a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +14 -14
@@ -1 +1 @@
1
- function _0x416a(_0x5f0a71,_0x2556df){_0x5f0a71=_0x5f0a71-0xd0;const _0x1467ed=_0x1467();let _0x416aa2=_0x1467ed[_0x5f0a71];return _0x416aa2;}function _0x1467(){const _0x1b33fa=['氣泡圖','佈局類型','指示標籤','移動平均周期','顯示小計','X軸標題','標籤文本','條形圖','顯示軸線','日期類型','61607uYMeiV','堆疊條形圖','標籤位置','圓角矩形','趨勢線類型','主網格線','切換列或欄','格式類型','移動平均','小計圖例文本','數據標籤','網格線和刻度線','標籤旋轉','設置標籤格式','氣泡標籤','主刻度線','右Y軸標題','類別\x20{0}','趨勢線名稱','線類型','圓環孔','第三四分位數','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','詞雲形狀','顯示R平方','重複詞雲標籤','指示線類型','{0}\x20格式','圖表邊框顏色','關係圖','中位數','視覺映射範圍','指示值','第一四分位數','空心箭頭','空心三角形','顯示空單元格為','軸選項','詞雲圖','圖表類型','顯示公式','百分比堆疊','刻度線長度','使用絕對值','Y軸標題','副標題','多項式','第\x20{0}\x20項','標題對齊','最大值','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','用直線連接數據點','小計樣式','添加系列','15650akCLbT','(空)','圖例選擇模式','{0}\x20形狀','使用日期軸','瀑布圖','日期軸僅在數據全部為日期格式時可用','負值樣式','小數位數','使用值作為節點大小','系列\x20{0}','面積圖','常規格式不包含任何特定的數字格式。','1124qqdAOm','顯示標籤','指示線','網格線','背景顏色','節點形狀','力導向選項','239245LIiAPa','插入圖表','空心菱形','負數類型','標題格式','請先添加系列開始數據可視化','數據範圍','字段設置','{0}\x20粗細','左對齊','刪除圖表','更多設置','{0}\x20透明度','圖表樣式','刻度線位置','節點距離','最小值','逆序軸','正方形','顯示數據標籤','編輯圖表','数值后缀','趨勢線粗細','百分比','環形圖','4cZqIdC','水平軸','排列圖','千分位符','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','指示線顏色','465oZvvon','自定義圖表','累積占比','右垂直軸','72kiymiJ','折線圖','2784789evACGy','累積占比系列','堆疊方式','空心針形','圖表和軸標題','{0}\x20類型','柱狀圖','空心正方形','百分比堆疊條形圖','力導向','顯示標籤線','箱型圖','502424OKeBMi','正值圖例文本','310225RXQSPx','標題文本','長條圖系列','漸變填充','{0}\x20大小','散點圖','玫瑰圖','氣泡大小','打開圖表面板','趨勢線','R平方','趨勢線線類型','堆疊面積圖','2563QEpeLK','旋轉標籤','隱藏圖表面板','標題位置','組合圖','開啟選中淡入特效'];_0x1467=function(){return _0x1b33fa;};return _0x1467();}const _0x27a7bf=_0x416a;(function(_0x4e6224,_0x63c7b5){const _0x13361f=_0x416a,_0x20ebfb=_0x4e6224();while(!![]){try{const _0x5aa681=parseInt(_0x13361f(0x156))/0x1+parseInt(_0x13361f(0x11c))/0x2*(-parseInt(_0x13361f(0x142))/0x3)+parseInt(_0x13361f(0x13c))/0x4*(-parseInt(_0x13361f(0x123))/0x5)+-parseInt(_0x13361f(0x146))/0x6*(-parseInt(_0x13361f(0xd9))/0x7)+-parseInt(_0x13361f(0x154))/0x8+parseInt(_0x13361f(0x148))/0x9+parseInt(_0x13361f(0x10f))/0xa*(-parseInt(_0x13361f(0x163))/0xb);if(_0x5aa681===_0x63c7b5)break;else _0x20ebfb['push'](_0x20ebfb['shift']());}catch(_0x2db713){_0x20ebfb['push'](_0x20ebfb['shift']());}}}(_0x1467,0x27c23));const e={'chart':{'insertChart':_0x27a7bf(0x124),'editChart':_0x27a7bf(0x137),'openChartPanel':_0x27a7bf(0x15e),'deleteChart':_0x27a7bf(0x12d),'hideChartPanel':_0x27a7bf(0x165),'setupChart':'設置圖表','customChart':_0x27a7bf(0x143),'default':'默認','reset':'重置','chartType':_0x27a7bf(0x100),'themes':'主題','dataRange':_0x27a7bf(0x129),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x27a7bf(0x10e),'moreSettings':_0x27a7bf(0x12e),'min':_0x27a7bf(0x133),'max':_0x27a7bf(0x10a),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x27a7bf(0x10c)},'blank':_0x27a7bf(0x110),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x27a7bf(0x120),'chartBorderColor':_0x27a7bf(0xf5),'titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x27a7bf(0x106),'xAxisTitle':_0x27a7bf(0xd4),'yAxisTitle':_0x27a7bf(0x105),'rightYAxisTitle':_0x27a7bf(0xe9),'titleFormat':_0x27a7bf(0x127),'titleText':_0x27a7bf(0x157),'titlePosition':_0x27a7bf(0x166),'titleAlign':_0x27a7bf(0x109)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x27a7bf(0x159),'settingsLabels':{'switchToRowOrColumn':_0x27a7bf(0xdf),'useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x27a7bf(0xfd)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x27a7bf(0x12c),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x27a7bf(0x130),'chartAndAxisTitles':_0x27a7bf(0x14c),'legend':'圖例','legendSelectMode':_0x27a7bf(0x111),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x27a7bf(0xfe),'horizontalAxis':_0x27a7bf(0x13d),'verticalAxis':'垂直軸','rightVerticalAxis':_0x27a7bf(0x145),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':_0x27a7bf(0xe3),'gridlinesAndTicks':_0x27a7bf(0xe4),'indicatorLine':_0x27a7bf(0x11e),'indicatorLineType':_0x27a7bf(0xf3),'indicatorLineColor':_0x27a7bf(0x141),'indicatorLabel':_0x27a7bf(0xd1),'indicatorValue':_0x27a7bf(0xf9),'shape':{'polygon':'多邊形','circle':'圓形','square':_0x27a7bf(0x135),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x27a7bf(0xdc),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x27a7bf(0x14f),'emptyTriangle':_0x27a7bf(0xfc),'emptyDiamond':_0x27a7bf(0x125),'emptyRect':'空心矩形','emptyRoundRect':'空心圓角矩形','emptyPin':_0x27a7bf(0x14b),'emptyArrow':_0x27a7bf(0xfb)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x27a7bf(0x12f),'withColor':'{0}\x20顏色','withThickness':_0x27a7bf(0x12b),'withType':_0x27a7bf(0x14d),'withSize':_0x27a7bf(0x15a),'withShape':_0x27a7bf(0x112),'withFormat':_0x27a7bf(0xf4),'dataPoint':'數據點','dataNodeShape':_0x27a7bf(0x121),'addDataPoint':'添加數據點','point':'數據點','percentage':_0x27a7bf(0x13a),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x27a7bf(0x102)},'lineDashType':_0x27a7bf(0xec),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x27a7bf(0xde),'text':_0x27a7bf(0x11f)},'ticks':{'majorTick':_0x27a7bf(0xe8),'tickPosition':_0x27a7bf(0x131),'tickLength':_0x27a7bf(0x103)},'none':'無','theIndexItem':_0x27a7bf(0x108),'seriesDefaultName':_0x27a7bf(0x119),'categoryDefaultName':_0x27a7bf(0xea),'styleEditPanel':{'showLabels':_0x27a7bf(0x11d),'showDataLabels':_0x27a7bf(0x136),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x27a7bf(0x15c),'pieValScale':'数值比例','pieValSuffix':_0x27a7bf(0x138),'pieDigitalFixed':_0x27a7bf(0x117),'showLabelLine':_0x27a7bf(0x152),'reverseAxisOrder':_0x27a7bf(0x134),'showAxisLine':_0x27a7bf(0xd7),'labelPosition':_0x27a7bf(0xdb),'labelText':_0x27a7bf(0xd5),'repeatWordCould':_0x27a7bf(0xf2),'gap':'間隔','useAbsValue':_0x27a7bf(0x104),'labelRotate':_0x27a7bf(0xe5),'wordCloudShape':_0x27a7bf(0xf0),'useDateAxis':_0x27a7bf(0x113),'dateAxisTips':_0x27a7bf(0x115)},'radar':{'fill':'填充'},'doughnutHole':_0x27a7bf(0xed),'msg':{'invalidSource':'圖表數據源必須包含多於1列和1欄。','emptyTips':_0x27a7bf(0x128),'sankeyCircularTips':'桑基圖不能包含循環數據'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x27a7bf(0x15f),'displayName':'趨勢線名稱','addTrendLine':'添加趨勢線','trendlineType':_0x27a7bf(0xdd),'trendlineName':_0x27a7bf(0xeb),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x27a7bf(0x139),'trendlineDashType':_0x27a7bf(0x161),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x27a7bf(0xe1),'poly':_0x27a7bf(0x107),'order':'多項式階數','period':_0x27a7bf(0xd2),'showFormula':_0x27a7bf(0x101),'showR2':_0x27a7bf(0xf1),'formula':'公式','r2':_0x27a7bf(0x160)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x27a7bf(0x15d),'label':_0x27a7bf(0xe7),'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x27a7bf(0x151),'useValueAsSymbolSize':_0x27a7bf(0x118),'layoutType':_0x27a7bf(0xd0),'forceOptions':_0x27a7bf(0x122),'repulsion':'斥力','gravity':'引力','edgeLength':_0x27a7bf(0x132),'rotateLabel':_0x27a7bf(0x164),'emphasis':_0x27a7bf(0x168),'emptyTips':_0x27a7bf(0x10b)},'waterfall':{'stackType':_0x27a7bf(0x14a),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x27a7bf(0xd3),'positiveStyle':'正值樣式','negativeStyle':_0x27a7bf(0x116),'subtotalStyle':_0x27a7bf(0x10d),'positiveLegendText':_0x27a7bf(0x155),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0x27a7bf(0xe2)},'pareto':{'lineName':_0x27a7bf(0x144),'lineSeries':_0x27a7bf(0x149),'barSeries':_0x27a7bf(0x158)},'visualMapScope':_0x27a7bf(0xf8),'boxplot':{'min':_0x27a7bf(0x133),'q1':_0x27a7bf(0xfa),'median':_0x27a7bf(0xf7),'q3':_0x27a7bf(0xee),'max':_0x27a7bf(0x10a)}},'chartTypes':{'line':_0x27a7bf(0x147),'area':_0x27a7bf(0x11a),'areaStacked':_0x27a7bf(0x162),'areaPercentStacked':'百分比堆疊面積圖','column':_0x27a7bf(0x14e),'bar':_0x27a7bf(0xd6),'barStacked':_0x27a7bf(0xda),'barPercentStacked':_0x27a7bf(0x150),'pie':'餅圖','donut':_0x27a7bf(0x13b),'scatter':_0x27a7bf(0x15b),'radar':'雷達圖','bubble':_0x27a7bf(0x169),'stock':'股票圖','combination':_0x27a7bf(0x167),'wordCloud':_0x27a7bf(0xff),'funnel':'漏斗圖','relation':_0x27a7bf(0xf6),'waterfall':_0x27a7bf(0x114),'pareto':_0x27a7bf(0x13e),'sankey':'桑基圖','heatmap':'熱力圖','boxplot':_0x27a7bf(0x153)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x27a7bf(0x13f),'fieldSetting':_0x27a7bf(0x12a),'formatTypes':_0x27a7bf(0xe0),'confirm':'確定','cancel':'取消','generalDesc':_0x27a7bf(0x11b),'accountingDesc':_0x27a7bf(0x140),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x27a7bf(0xef),'decimalPlaces':_0x27a7bf(0x117),'currencyTypes':'貨幣類型','negativeNumberTypes':_0x27a7bf(0x126),'dateTypes':_0x27a7bf(0xd8)},'setFormat':_0x27a7bf(0xe6)}};export{e as default};
1
+ function _0x1549(_0x26fddf,_0x43cd4d){_0x26fddf=_0x26fddf-0x18f;const _0x4e4ee2=_0x4e4e();let _0x154959=_0x4e4ee2[_0x26fddf];return _0x154959;}const _0x59cc8f=_0x1549;(function(_0x17e2b0,_0xfd1b61){const _0x29e965=_0x1549,_0x2ae09e=_0x17e2b0();while(!![]){try{const _0x16f4f5=parseInt(_0x29e965(0x1e1))/0x1+parseInt(_0x29e965(0x211))/0x2+-parseInt(_0x29e965(0x1d0))/0x3+parseInt(_0x29e965(0x1ea))/0x4+-parseInt(_0x29e965(0x202))/0x5*(parseInt(_0x29e965(0x1f5))/0x6)+parseInt(_0x29e965(0x1f7))/0x7*(parseInt(_0x29e965(0x1fa))/0x8)+parseInt(_0x29e965(0x21d))/0x9*(parseInt(_0x29e965(0x1c0))/0xa);if(_0x16f4f5===_0xfd1b61)break;else _0x2ae09e['push'](_0x2ae09e['shift']());}catch(_0x2d1775){_0x2ae09e['push'](_0x2ae09e['shift']());}}}(_0x4e4e,0xdabf5));function _0x4e4e(){const _0x322200=['視覺映射範圍','顯示小計','百分比堆疊','正值樣式','氣泡大小','右垂直軸','字段設置','趨勢線顏色','指示線類型','顯示公式','玫瑰圖','空心三角形','{0}\x20格式','折線圖','氣泡標籤','標題文本','詞雲形狀','瀑布圖','箱型圖','使用右軸','主標題','X軸標題','副標題','最大值','打開圖表面板','重複詞雲標籤','累積占比','編輯圖表','用直線連接數據點','圓環孔','關係圖','中位數','自定義圖表','堆疊方式','標題格式','力導向','背景顏色','顯示標籤','負值圖例文本','氣泡圖至少需要2欄,X軸、Y軸。','負數類型','千分位符','垂直軸','網格線和刻度線','設置標籤格式','隱藏圖表面板','540BXoTqj','小計樣式','長條圖系列','圖表樣式','趨勢線類型','{0}\x20粗細','数值比例','節點形狀','請先添加系列開始數據可視化','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','系列\x20{0}','設置圖表','負值樣式','正值圖例文本','標籤旋轉','小計圖例文本','3230166paJVWO','更多設置','節點距離','顯示空單元格為','詞雲圖','標題對齊','標籤文本','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','環形圖','使用\x20{0}\x20作為類別標籤','插入圖表','累積占比系列','力導向選項','空心針形','指示線','日期格式將日期和時間系列數值顯示為日期值。','空心菱形','565086FJLeCv','空心箭頭','股票圖','趨勢線','圓角矩形','所有系列','日期軸僅在數據全部為日期格式時可用','桑基圖不能包含循環數據','R平方','4455512SvcYzC','顯示R平方','第一四分位數','圖表和軸標題','氣泡圖','標題位置','数值后缀','小數位數','百分比堆疊面積圖','添加系列','數據標籤','264540hMjrZt','軸選項','7zwEVBu','第\x20{0}\x20項','線類型','55464ZJWmwJ','添加趨勢線','類別\x20{0}','日期類型','逆序軸','指示標籤','開啟選中淡入特效','雷達圖','175tUwlMO','正方形','漸變填充','主刻度線','顯示數據標籤','佈局類型','數據點','水平軸','切換列或欄','主網格線','格式類型','{0}\x20形狀','空心正方形','熱力圖','圖表數據源必須包含多於1列和1欄。','795552EhVZTV','{0}\x20類型','空心矩形','指示值','趨勢線名稱','刪除圖表','百分比堆疊條形圖','圖例選擇模式','柱狀圖','排列圖','{0}\x20大小','貨幣類型','238698zvUwIQ','使用值作為節點大小','顯示軸線','空心圓角矩形'];_0x4e4e=function(){return _0x322200;};return _0x4e4e();}const e={'chart':{'insertChart':_0x59cc8f(0x1da),'editChart':_0x59cc8f(0x1ad),'openChartPanel':_0x59cc8f(0x1aa),'deleteChart':_0x59cc8f(0x216),'hideChartPanel':_0x59cc8f(0x1bf),'setupChart':_0x59cc8f(0x1cb),'customChart':_0x59cc8f(0x1b2),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x59cc8f(0x1e6),'series':'系列','addSeries':_0x59cc8f(0x1f3),'moreSettings':_0x59cc8f(0x1d1),'min':'最小值','max':_0x59cc8f(0x1a9),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x59cc8f(0x1ae)},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x59cc8f(0x1b6),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x59cc8f(0x1a6),'subTitle':_0x59cc8f(0x1a8),'xAxisTitle':_0x59cc8f(0x1a7),'yAxisTitle':'Y軸標題','rightYAxisTitle':'右Y軸標題','titleFormat':_0x59cc8f(0x1b4),'titleText':_0x59cc8f(0x1a1),'titlePosition':_0x59cc8f(0x1ef),'titleAlign':_0x59cc8f(0x1d5)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x59cc8f(0x204),'settingsLabels':{'switchToRowOrColumn':_0x59cc8f(0x20a),'useAsCategoryLabels':_0x59cc8f(0x1d9),'showEmptyCellsAs':_0x59cc8f(0x1d3)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x59cc8f(0x1c3),'chartAndAxisTitles':_0x59cc8f(0x1ed),'legend':'圖例','legendSelectMode':_0x59cc8f(0x218),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x59cc8f(0x1f6),'horizontalAxis':_0x59cc8f(0x209),'verticalAxis':_0x59cc8f(0x1bc),'rightVerticalAxis':_0x59cc8f(0x197),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x59cc8f(0x1a5)},'position':'位置','dataLabels':_0x59cc8f(0x1f4),'gridlinesAndTicks':_0x59cc8f(0x1bd),'indicatorLine':_0x59cc8f(0x1de),'indicatorLineType':_0x59cc8f(0x19a),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x59cc8f(0x1ff),'indicatorValue':_0x59cc8f(0x214),'shape':{'polygon':'多邊形','circle':'圓形','square':_0x59cc8f(0x203),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x59cc8f(0x1e5),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x59cc8f(0x20e),'emptyTriangle':_0x59cc8f(0x19d),'emptyDiamond':_0x59cc8f(0x1e0),'emptyRect':_0x59cc8f(0x213),'emptyRoundRect':_0x59cc8f(0x191),'emptyPin':_0x59cc8f(0x1dd),'emptyArrow':_0x59cc8f(0x1e2)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':'{0}\x20顏色','withThickness':_0x59cc8f(0x1c5),'withType':_0x59cc8f(0x212),'withSize':_0x59cc8f(0x21b),'withShape':_0x59cc8f(0x20d),'withFormat':_0x59cc8f(0x19e),'dataPoint':_0x59cc8f(0x208),'dataNodeShape':_0x59cc8f(0x1c7),'addDataPoint':'添加數據點','point':_0x59cc8f(0x208),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x59cc8f(0x194)},'lineDashType':_0x59cc8f(0x1f9),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x59cc8f(0x20b),'text':'網格線'},'ticks':{'majorTick':_0x59cc8f(0x205),'tickPosition':'刻度線位置','tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x59cc8f(0x1f8),'seriesDefaultName':_0x59cc8f(0x1ca),'categoryDefaultName':_0x59cc8f(0x1fc),'styleEditPanel':{'showLabels':_0x59cc8f(0x1b7),'showDataLabels':_0x59cc8f(0x206),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x59cc8f(0x19c),'pieValScale':_0x59cc8f(0x1c6),'pieValSuffix':_0x59cc8f(0x1f0),'pieDigitalFixed':_0x59cc8f(0x1f1),'showLabelLine':'顯示標籤線','reverseAxisOrder':_0x59cc8f(0x1fe),'showAxisLine':_0x59cc8f(0x190),'labelPosition':'標籤位置','labelText':_0x59cc8f(0x1d6),'repeatWordCould':_0x59cc8f(0x1ab),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x59cc8f(0x1ce),'wordCloudShape':_0x59cc8f(0x1a2),'useDateAxis':'使用日期軸','dateAxisTips':_0x59cc8f(0x1e7)},'radar':{'fill':'填充'},'doughnutHole':_0x59cc8f(0x1af),'msg':{'invalidSource':_0x59cc8f(0x210),'emptyTips':_0x59cc8f(0x1c8),'sankeyCircularTips':_0x59cc8f(0x1e8)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x59cc8f(0x1e4),'displayName':_0x59cc8f(0x215),'addTrendLine':_0x59cc8f(0x1fb),'trendlineType':_0x59cc8f(0x1c4),'trendlineName':_0x59cc8f(0x215),'trendlineColor':_0x59cc8f(0x199),'trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':'多項式','order':'多項式階數','period':'移動平均周期','showFormula':_0x59cc8f(0x19b),'showR2':_0x59cc8f(0x1eb),'formula':'公式','r2':_0x59cc8f(0x1e9)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x59cc8f(0x196),'label':_0x59cc8f(0x1a0),'emptyTips':_0x59cc8f(0x1b9)},'relation':{'title':_0x59cc8f(0x1b0),'auto':'自動','circular':'環形','force':_0x59cc8f(0x1b5),'useValueAsSymbolSize':_0x59cc8f(0x18f),'layoutType':_0x59cc8f(0x207),'forceOptions':_0x59cc8f(0x1dc),'repulsion':'斥力','gravity':'引力','edgeLength':_0x59cc8f(0x1d2),'rotateLabel':'旋轉標籤','emphasis':_0x59cc8f(0x200),'emptyTips':_0x59cc8f(0x1c9)},'waterfall':{'stackType':_0x59cc8f(0x1b3),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x59cc8f(0x193),'positiveStyle':_0x59cc8f(0x195),'negativeStyle':_0x59cc8f(0x1cc),'subtotalStyle':_0x59cc8f(0x1c1),'positiveLegendText':_0x59cc8f(0x1cd),'negativeLegendText':_0x59cc8f(0x1b8),'subtotalLegendText':_0x59cc8f(0x1cf)},'pareto':{'lineName':_0x59cc8f(0x1ac),'lineSeries':_0x59cc8f(0x1db),'barSeries':_0x59cc8f(0x1c2)},'visualMapScope':_0x59cc8f(0x192),'boxplot':{'min':'最小值','q1':_0x59cc8f(0x1ec),'median':_0x59cc8f(0x1b1),'q3':'第三四分位數','max':_0x59cc8f(0x1a9)}},'chartTypes':{'line':_0x59cc8f(0x19f),'area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':_0x59cc8f(0x1f2),'column':_0x59cc8f(0x219),'bar':'條形圖','barStacked':'堆疊條形圖','barPercentStacked':_0x59cc8f(0x217),'pie':'餅圖','donut':_0x59cc8f(0x1d8),'scatter':'散點圖','radar':_0x59cc8f(0x201),'bubble':_0x59cc8f(0x1ee),'stock':_0x59cc8f(0x1e3),'combination':'組合圖','wordCloud':_0x59cc8f(0x1d4),'funnel':'漏斗圖','relation':_0x59cc8f(0x1b0),'waterfall':_0x59cc8f(0x1a3),'pareto':_0x59cc8f(0x21a),'sankey':'桑基圖','heatmap':_0x59cc8f(0x20f),'boxplot':_0x59cc8f(0x1a4)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x59cc8f(0x1bb),'fieldSetting':_0x59cc8f(0x198),'formatTypes':_0x59cc8f(0x20c),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x59cc8f(0x1d7),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x59cc8f(0x1df),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':_0x59cc8f(0x1f1),'currencyTypes':_0x59cc8f(0x21c),'negativeNumberTypes':_0x59cc8f(0x1ba),'dateTypes':_0x59cc8f(0x1fd)},'setFormat':_0x59cc8f(0x1be)}};export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x231a59=_0x3fcb;(function(_0x4f9097,_0x531e37){const _0x1e0e99=_0x3fcb,_0x4b7fd8=_0x4f9097();while(!![]){try{const _0x34c25a=parseInt(_0x1e0e99(0x11f))/0x1+-parseInt(_0x1e0e99(0xfb))/0x2+parseInt(_0x1e0e99(0x15c))/0x3+parseInt(_0x1e0e99(0x100))/0x4+-parseInt(_0x1e0e99(0xd2))/0x5*(parseInt(_0x1e0e99(0x136))/0x6)+parseInt(_0x1e0e99(0x15a))/0x7*(-parseInt(_0x1e0e99(0xd7))/0x8)+parseInt(_0x1e0e99(0x154))/0x9*(parseInt(_0x1e0e99(0x13b))/0xa);if(_0x34c25a===_0x531e37)break;else _0x4b7fd8['push'](_0x4b7fd8['shift']());}catch(_0x3cedec){_0x4b7fd8['push'](_0x4b7fd8['shift']());}}}(_0x230a,0xa058f));var R=Object[_0x231a59(0xbd)],k=(_0x1bc52b,_0x16538f,_0x3e7483)=>_0x16538f in _0x1bc52b?R(_0x1bc52b,_0x16538f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e7483}):_0x1bc52b[_0x16538f]=_0x3e7483,n=(_0x612808,_0x4364b4,_0x26a6e0)=>k(_0x612808,typeof _0x4364b4!=_0x231a59(0xc9)?_0x4364b4+'':_0x4364b4,_0x26a6e0);import{ChartThemeService as _0x49f062,ChartTypeBits as _0x34801f,LegendPositionEnum as _0x555c1a,SelectModeEnum as _0x29d061,AxisAlignEnum as _0x531fd0,ChartBorderDashType as _0x157636,LinePointShape as _0x5d749b,TitlePositionEnum as _0x2dec54,RadarShape as _0x35b7ad}from'@univerjs-pro/engine-chart';import{setProperty as _0x1e4d6c,SheetsChartService as _0x20e562,ChartUpdateSourceCommand as _0x23a402,ChartUpdateConfigCommand as _0x11222b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0xc2d59e}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x2c5ae0,IUniverInstanceService as _0x207b1b,UniverInstanceType as _0x75f8d2,generateRandomId as _0x4fa55f,DrawingTypeEnum as _0x265801}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x2dd207}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x174eb2}from'@univerjs/sheets/facade';import{FBase as _0x148eab,FEnum as _0x9a53c8}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x4960bd}from'@univerjs/engine-formula';import{IRenderManagerService as _0x147539}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x27bfb1,SheetSkeletonManagerService as _0x24205b,convertPositionCellToSheetOverGrid as _0x6dafe3}from'@univerjs/sheets-ui';const s=(_0x524490,_0x52112d,_0x5ce72c)=>{_0x5ce72c!==void 0x0&&_0x1e4d6c(_0x524490,_0x52112d,_0x5ce72c);},C=(_0x3a07c4,_0x56f1c0,_0x48af02,_0x399080={})=>{const _0x31ff90=_0x231a59,_0x481831={},_0x1e47a3={};if(_0x399080[_0x31ff90(0xb6)]){const _0x41fcaf=_0x399080[_0x31ff90(0xb6)];s(_0x481831,_0x31ff90(0xe0),_0x41fcaf[_0x31ff90(0xee)]),s(_0x481831,_0x31ff90(0x104),_0x41fcaf['font']),s(_0x481831,_0x31ff90(0x107),_0x41fcaf['fontSize']),s(_0x481831,_0x31ff90(0xed),_0x41fcaf['fontColor']),s(_0x481831,'titles.title.family',_0x41fcaf[_0x31ff90(0xcc)]),s(_0x481831,_0x31ff90(0x14e),_0x41fcaf[_0x31ff90(0xb4)]),s(_0x481831,_0x31ff90(0x133),_0x41fcaf[_0x31ff90(0xdb)]),s(_0x481831,_0x31ff90(0x13c),_0x41fcaf[_0x31ff90(0x165)]);}if(_0x399080[_0x31ff90(0xbe)]){const _0x369946=_0x399080['legend'];s(_0x481831,_0x31ff90(0xdc),_0x369946['position']),s(_0x481831,_0x31ff90(0x12d),_0x369946[_0x31ff90(0x11d)]),s(_0x481831,_0x31ff90(0x13d),_0x369946[_0x31ff90(0xd6)]),s(_0x481831,'legend.label.color',_0x369946['color']),s(_0x481831,_0x31ff90(0x15f),_0x369946['bold']),s(_0x481831,_0x31ff90(0x142),_0x369946['italic']);}if(_0x399080[_0x31ff90(0x130)]){const _0x1e8b06=_0x399080[_0x31ff90(0x130)];s(_0x481831,_0x31ff90(0xbf),_0x1e8b06[_0x31ff90(0x126)]),s(_0x481831,_0x31ff90(0xc7),_0x1e8b06[_0x31ff90(0x12f)]),s(_0x481831,_0x31ff90(0xde),_0x1e8b06[_0x31ff90(0xc1)]),s(_0x481831,_0x31ff90(0x151),_0x1e8b06[_0x31ff90(0x11a)]),s(_0x481831,'pie.rosePie',_0x1e8b06['rosePie']),s(_0x481831,_0x31ff90(0xd9),_0x1e8b06[_0x31ff90(0xc6)]);}if(_0x399080[_0x31ff90(0x106)]){const _0x2ff20b=_0x399080[_0x31ff90(0x106)];s(_0x481831,_0x31ff90(0x131),_0x2ff20b['indicatorLabelColor']),s(_0x481831,_0x31ff90(0x138),_0x2ff20b[_0x31ff90(0x13e)]),s(_0x481831,_0x31ff90(0x140),_0x2ff20b[_0x31ff90(0x149)]),s(_0x481831,_0x31ff90(0xc4),_0x2ff20b[_0x31ff90(0x155)]);}if(_0x399080[_0x31ff90(0xdd)]&&(s(_0x481831,_0x31ff90(0x121),_0x399080[_0x31ff90(0xdd)][_0x31ff90(0x105)]),s(_0x481831,'allSeriesStyle.label',_0x399080[_0x31ff90(0xdd)][_0x31ff90(0x132)]),s(_0x481831,'allSeriesStyle.rightYAxis',_0x399080[_0x31ff90(0xdd)][_0x31ff90(0xca)]),s(_0x481831,_0x31ff90(0xf9),_0x399080[_0x31ff90(0xdd)][_0x31ff90(0x15b)]),s(_0x481831,_0x31ff90(0xb5),_0x399080[_0x31ff90(0xdd)][_0x31ff90(0x10a)])),_0x399080[_0x31ff90(0x15e)]&&s(_0x481831,_0x31ff90(0xd3),_0x399080['area'][_0x31ff90(0x134)]),_0x399080[_0x31ff90(0x124)]&&s(_0x481831,_0x31ff90(0x124),_0x399080[_0x31ff90(0x124)]),_0x399080[_0x31ff90(0xc5)]&&s(_0x481831,_0x31ff90(0xc5),_0x399080[_0x31ff90(0xc5)]),_0x399080[_0x31ff90(0x12f)]&&s(_0x481831,'borderColor',_0x399080[_0x31ff90(0x12f)]),_0x399080[_0x31ff90(0x14a)]&&s(_0x481831,'gradientFill',_0x399080[_0x31ff90(0x14a)]),_0x399080[_0x31ff90(0x162)]&&s(_0x481831,_0x31ff90(0x162),_0x399080[_0x31ff90(0x162)]),_0x399080['radar']&&s(_0x481831,_0x31ff90(0xd1),_0x399080['radar']),_0x399080[_0x31ff90(0xef)]){const _0x4874c5=_0x399080[_0x31ff90(0xef)];s(_0x481831,_0x31ff90(0xc2),_0x4874c5[_0x31ff90(0xee)]),s(_0x481831,'titles.xAxisTitle.font',_0x4874c5[_0x31ff90(0xba)]),s(_0x481831,'titles.xAxisTitle.fontSize',_0x4874c5['fontSize']),s(_0x481831,'titles.xAxisTitle.color',_0x4874c5['fontColor']),s(_0x481831,'titles.xAxisTitle.family',_0x4874c5[_0x31ff90(0xcc)]),s(_0x481831,'titles.xAxisTitle.bold',_0x4874c5[_0x31ff90(0xb4)]),s(_0x481831,_0x31ff90(0x119),_0x4874c5[_0x31ff90(0x103)]);}if(_0x399080[_0x31ff90(0xb9)]){const _0xc6812a=_0x399080[_0x31ff90(0xb9)];s(_0x481831,_0x31ff90(0xff),_0xc6812a[_0x31ff90(0xee)]),s(_0x481831,_0x31ff90(0xeb),_0xc6812a['font']),s(_0x481831,_0x31ff90(0x11c),_0xc6812a[_0x31ff90(0xd6)]),s(_0x481831,_0x31ff90(0x12b),_0xc6812a[_0x31ff90(0x143)]),s(_0x481831,_0x31ff90(0xe5),_0xc6812a[_0x31ff90(0xcc)]),s(_0x481831,'titles.yAxisTitle.bold',_0xc6812a[_0x31ff90(0xb4)]),s(_0x481831,_0x31ff90(0xfe),_0xc6812a['axisAlignment']);}if(_0x399080[_0x31ff90(0xc8)]){const _0x3f6dae=_0x399080[_0x31ff90(0xc8)];s(_0x481831,_0x31ff90(0x160),_0x3f6dae['content']),s(_0x481831,_0x31ff90(0x123),_0x3f6dae['font']),s(_0x481831,_0x31ff90(0xe4),_0x3f6dae['fontSize']),s(_0x481831,'titles.rightYAxisTitle.color',_0x3f6dae['fontColor']),s(_0x481831,_0x31ff90(0x108),_0x3f6dae['fontStyle']),s(_0x481831,_0x31ff90(0xf4),_0x3f6dae[_0x31ff90(0xb4)]),s(_0x481831,_0x31ff90(0x12c),_0x3f6dae[_0x31ff90(0x103)]);}_0x399080[_0x31ff90(0x125)]&&s(_0x481831,_0x31ff90(0x125),_0x399080[_0x31ff90(0x125)]),_0x399080[_0x31ff90(0xe8)]&&s(_0x481831,_0x31ff90(0xe8),_0x399080[_0x31ff90(0xe8)]),_0x399080[_0x31ff90(0xd4)]&&s(_0x481831,'rightYAxis',_0x399080[_0x31ff90(0xd4)]),_0x399080[_0x31ff90(0xfa)]&&s(_0x481831,_0x31ff90(0xfa),_0x399080['seriesStyleMap']);const _0x438e3c={'unitId':_0x3a07c4,'chartModelId':_0x56f1c0};let _0x3a53a3=!0x1;if(_0x48af02!==void 0x0&&(_0x438e3c[_0x31ff90(0x157)]=_0x48af02,_0x3a53a3=!0x0),Object[_0x31ff90(0xe6)](_0x481831)['length']>0x0&&(_0x438e3c['style']=_0x481831,_0x3a53a3=!0x0),Object[_0x31ff90(0xe6)](_0x1e47a3)[_0x31ff90(0x110)]>0x0&&(_0x438e3c['context']=_0x1e47a3,_0x3a53a3=!0x0),_0x3a53a3)return _0x438e3c;};class c extends _0x148eab{constructor(_0x2940f0,_0x2ea348,_0x199744,_0x49d211,_0x10448d){const _0x4aff65=_0x231a59;super(),n(this,_0x4aff65(0x141)),n(this,'_injector'),n(this,_0x4aff65(0xf0)),n(this,'subUnitId'),n(this,'chartId'),n(this,'range'),n(this,_0x4aff65(0x163)),n(this,'x'),n(this,'y'),n(this,_0x4aff65(0xf5)),n(this,_0x4aff65(0x109)),n(this,_0x4aff65(0x157)),n(this,_0x4aff65(0xf7)),n(this,_0x4aff65(0x153)),(this[_0x4aff65(0xf0)]=_0x2940f0,this[_0x4aff65(0xbb)]=_0x2ea348,this[_0x4aff65(0x141)]=_0x199744,this[_0x4aff65(0x11b)]=_0x49d211,_0x10448d&&(this['chartId']=_0x10448d));}[_0x231a59(0xd5)](){const _0x48e303=_0x231a59;return this[_0x48e303(0x157)];}['addRange'](_0x24dbc8){const _0x22e595=_0x231a59;if(typeof _0x24dbc8==_0x22e595(0x152)){const _0x976e0d=_0x4960bd(_0x24dbc8);_0x976e0d['sheetName']&&(this[_0x22e595(0x163)]=_0x976e0d[_0x22e595(0xcf)]),this[_0x22e595(0x158)]=_0x976e0d['range'];}else this[_0x22e595(0x158)]=_0x24dbc8;return this;}[_0x231a59(0xc0)](){const _0x3215ae=_0x231a59;return this[_0x3215ae(0x158)]=void 0x0,this['sourceSheetName']=void 0x0,this;}['setPosition'](_0x1925fd,_0x380ce,_0x518844,_0x464bcf){const _0xceda46=_0x231a59,_0x55e720=this[_0xceda46(0x11b)][_0xceda46(0x10b)](_0x147539)[_0xceda46(0xea)](this[_0xceda46(0xf0)]);if(!_0x55e720)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x5c5f16=_0x55e720[_0xceda46(0x101)](_0x27bfb1),_0x9f4ac0=_0x55e720[_0xceda46(0x101)](_0x24205b),{transform:_0x2378f7}=_0x6dafe3(this['unitId'],this['subUnitId'],{'row':_0x1925fd,'column':_0x380ce,'rowOffset':_0x518844,'columnOffset':_0x464bcf},0x1,0x1,_0x5c5f16,_0x9f4ac0),_0x50a3ed=_0x2378f7[_0xceda46(0x148)],_0x12a0e5=_0x2378f7[_0xceda46(0x117)];return this['x']=_0x12a0e5,this['y']=_0x50a3ed,this;}[_0x231a59(0x137)](_0x49bcb5,_0x29bf4b){return this['x']=_0x49bcb5,this['y']=_0x29bf4b,this;}['setChartType'](_0x17896c){return this['chartType']=_0x17896c,this;}[_0x231a59(0x128)](_0x3523f6){const _0x47511a=_0x231a59;return this[_0x47511a(0xf5)]=_0x3523f6,this;}[_0x231a59(0x11e)](_0x110ab0){return this['height']=_0x110ab0,this;}[_0x231a59(0xf2)](_0xc4d9c4,_0x32477f){const _0x1203f6=_0x231a59;return this['options']||(this[_0x1203f6(0xf7)]={}),_0xc4d9c4===''?(this[_0x1203f6(0xf7)]={...this[_0x1203f6(0xf7)],..._0x32477f},this):(_0x1e4d6c(this[_0x1203f6(0xf7)],_0xc4d9c4,_0x32477f),this);}[_0x231a59(0xf8)](_0x592266){const _0x17572e=_0x231a59;return this[_0x17572e(0x153)]=_0x592266,this;}[_0x231a59(0xfc)](_0x5a860b){const _0x1a5aa4=_0x231a59;return this['setOptions'](_0x1a5aa4(0x124),_0x5a860b),this;}['setXAxisTitle'](_0x11d233){const _0x2e6adc=_0x231a59;var _0x24ade0;const _0x4db706=((_0x24ade0=this[_0x2e6adc(0xf7)])==null?void 0x0:_0x24ade0[_0x2e6adc(0xef)])||{};return _0x4db706[_0x2e6adc(0xee)]=_0x11d233,this[_0x2e6adc(0xf2)](_0x2e6adc(0xef),_0x4db706),this;}['setYAxisTitle'](_0x2ffa5d){const _0x454588=_0x231a59;var _0x18f6dc;const _0x3e98eb=((_0x18f6dc=this[_0x454588(0xf7)])==null?void 0x0:_0x18f6dc['yAxisTitle'])||{};return _0x3e98eb[_0x454588(0xee)]=_0x2ffa5d,this['setOptions']('yAxisTitle',_0x3e98eb),this;}['setRightYAxisTitle'](_0x3fe44c){const _0x1638aa=_0x231a59;var _0x74af0f;const _0x3464b3=((_0x74af0f=this[_0x1638aa(0xf7)])==null?void 0x0:_0x74af0f['rightYAxisTitle'])||{};return _0x3464b3[_0x1638aa(0xee)]=_0x3fe44c,this['setOptions'](_0x1638aa(0xc8),_0x3464b3),this;}[_0x231a59(0x135)](_0x3c52dd){const _0x3c65df=_0x231a59;var _0x1484e4;const _0x42a428=((_0x1484e4=this['options'])==null?void 0x0:_0x1484e4[_0x3c65df(0xef)])||{};return this[_0x3c65df(0xf2)](_0x3c65df(0xef),{..._0x42a428,..._0x3c52dd}),this;}[_0x231a59(0xe2)](_0x490846){const _0x594521=_0x231a59;var _0x481f86;const _0x5f8155=((_0x481f86=this[_0x594521(0xf7)])==null?void 0x0:_0x481f86[_0x594521(0xb9)])||{};return this[_0x594521(0xf2)](_0x594521(0xb9),{..._0x5f8155,..._0x490846}),this;}[_0x231a59(0xce)](_0xe7ef25){const _0x40fbe5=_0x231a59;var _0x5e03dc;const _0x1ff15a=((_0x5e03dc=this['options'])==null?void 0x0:_0x5e03dc['rightYAxisTitle'])||{};return this[_0x40fbe5(0xf2)](_0x40fbe5(0xc8),{..._0x1ff15a,..._0xe7ef25}),this;}[_0x231a59(0xe1)](_0xa79a40){const _0x512a9a=_0x231a59;return this['setOptions'](_0x512a9a(0x162),_0xa79a40),this;}['setAxisPointerStyle'](_0x5758e1){const _0x22dd5d=_0x231a59;return this[_0x22dd5d(0xf2)](_0x22dd5d(0x106),_0x5758e1),this;}[_0x231a59(0x14d)](_0x3da757){const _0x17b62d=_0x231a59;return this[_0x17b62d(0xf2)]('allSeriesStyle',_0x3da757),this;}[_0x231a59(0x114)](_0x83dd77,_0x438efa){const _0x5941ee=_0x231a59;return this[_0x5941ee(0xf2)](_0x5941ee(0xfa),{[_0x83dd77]:_0x438efa}),this;}[_0x231a59(0x116)](){const _0x5a01a0=_0x231a59;return{'unitId':this[_0x5a01a0(0xf0)],'subUnitId':this[_0x5a01a0(0xbb)],'chartId':this[_0x5a01a0(0x145)],'range':this[_0x5a01a0(0x158)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x5a01a0(0xf5)],'height':this[_0x5a01a0(0x109)],'chartType':this[_0x5a01a0(0x157)],'options':this[_0x5a01a0(0xf7)],'isRowDirection':this[_0x5a01a0(0x153)]};}}class P{constructor(_0xd08ee2,_0x242460,_0x4089b7,_0x1da078){const _0x50e33c=_0x231a59;n(this,_0x50e33c(0xf0)),n(this,_0x50e33c(0xbb)),n(this,_0x50e33c(0x145)),n(this,_0x50e33c(0x11b)),(this['unitId']=_0xd08ee2,this[_0x50e33c(0xbb)]=_0x242460,this[_0x50e33c(0x145)]=_0x4089b7,this['_injector']=_0x1da078);}[_0x231a59(0x164)](){const _0x1430cd=_0x231a59;return this[_0x1430cd(0x145)];}[_0x231a59(0xd8)](){const _0x2f97df=_0x231a59,_0x54f564=this[_0x2f97df(0x11b)][_0x2f97df(0x10b)](_0x20e562)['getChartModel'](this['chartId']);if(_0x54f564)return _0x54f564[_0x2f97df(0x10f)][_0x2f97df(0x156)]();}[_0x231a59(0x115)](_0x4ab575){const _0x1a32c9=_0x231a59;return this[_0x1a32c9(0x11b)][_0x1a32c9(0x10b)](_0x2c5ae0)[_0x1a32c9(0xc3)](_0x23a402['id'],{'unitId':this[_0x1a32c9(0xf0)],'chartModelId':this['chartId'],'range':_0x4ab575});}[_0x231a59(0xe9)](){const _0x175460=_0x231a59;var _0x3bd763;const _0x2e9f69=this[_0x175460(0x11b)][_0x175460(0x10b)](_0x20e562)[_0x175460(0xf3)](this[_0x175460(0x145)]);if(_0x2e9f69)return(_0x3bd763=_0x2e9f69[_0x175460(0x111)])==null?void 0x0:_0x3bd763['series'];}[_0x231a59(0xcb)](){const _0x46c75e=_0x231a59;var _0x249f22;const _0x2f3710=this['_injector']['get'](_0x20e562)[_0x46c75e(0xf3)](this[_0x46c75e(0x145)]);if(_0x2f3710)return(_0x249f22=_0x2f3710[_0x46c75e(0x111)])==null?void 0x0:_0x249f22[_0x46c75e(0xdf)];}['modify'](){const _0x2e00ff=_0x231a59,_0x401b10=this[_0x2e00ff(0x11b)][_0x2e00ff(0x10b)](_0x207b1b)['getCurrentUnitForType'](_0x75f8d2[_0x2e00ff(0x146)]);return new c(this[_0x2e00ff(0xf0)],this[_0x2e00ff(0xbb)],_0x401b10,this[_0x2e00ff(0x11b)],this[_0x2e00ff(0x145)]);}}function _0x230a(){const _0x4ecf09=['axisPointer','titles.title.fontSize','titles.rightYAxisTitle.family','height','color','get','setIsHalfPie','asLineChart','map','dataSource','length','config','setRosePie','setHasPaddingAngle','setSeriesStyle','updateRange','build','left','allSeriesStyle.point.size','xAxis.label.axisTitleAlign','isHalfPie','_injector','titles.yAxisTitle.fontSize','selectMode','setHeight','507954mNQNHS','asPieChart','allSeriesStyle.border','allSeriesStyle.point.shape','titles.rightYAxisTitle.font','theme','xAxis','doughnutHole','setDoughnutHole','setWidth','updateChart','setShowLabelLine','titles.yAxisTitle.color','rightYAxis.label.axisTitleAlign','legend.selectMode','Line','borderColor','pie','tooltip.indicatorLabelColor','label','titles.title.align','lineStyle','setXAxisTextStyle','6507402fWoWfP','setAbsolutePosition','tooltip.indicatorLineType','dataPointShape','setDataPointShape','159370cPJxlf','titles.titlePosition','legend.label.fontSize','indicatorLineType','getWorkbook','tooltip.indicatorLineColor','_workbook','legend.label.italic','fontColor','removeChart','chartId','UNIVER_SHEET','asRadarChart','top','indicatorLineColor','gradientFill','rosePie','radar.shape','setAllSeriesStyle','titles.title.bold','setDataPointSize','dataPointSize','pie.isHalfPie','string','transposeRowsAndColumns','1062QerNEk','indicatorLabelTextColor','getRangeInfo','chartType','range','shape','151403IXwmDs','point','3051531JSzWSY','_commandService','area','legend.label.bold','titles.rightYAxisTitle.content','pie.rosePie','invalidValueType','sourceSheetName','getChartId','position','ChartType','dataPointColor','bold','allSeriesStyle.color','title','SelectModeEnum','extend','yAxisTitle','font','subUnitId','RadarShape','defineProperty','legend','pie.doughnutHole','clearRange','hasPaddingAngle','titles.xAxisTitle.content','executeCommand','tooltip.indicatorLabelTextColor','backgroundColor','showLabelLine','pie.borderColor','rightYAxisTitle','symbol','rightYAxis','getCategoryData','fontStyle','isRowDirection','setRightYAxisTextStyle','sheetName','registerTheme','radar','5lGFAWz','area.lineStyle','yRightAxis','getChartType','fontSize','472xGnMds','getRange','pie.showLabelLine','DRAWING_CHART','titleAlignment','legend.position','allSeriesStyle','pie.hasPaddingAngle','category','titles.title.content','setInvalidValueStrategy','setYAxisTextStyle','LinePointShape','titles.rightYAxisTitle.fontSize','titles.yAxisTitle.family','keys','getSheetId','yAxis','getSeriesData','getRenderById','titles.yAxisTitle.font','fill','titles.title.color','content','xAxisTitle','unitId','ChartBorderDashType','setOptions','getChartModel','titles.rightYAxisTitle.bold','width','setBorderColor','options','setTransposeRowsAndColumns','allSeriesStyle.point','seriesStyleMap','2548556VdNtXD','setTheme','setFill','yAxis.label.axisTitleAlign','titles.yAxisTitle.content','3544168NqgYcx','with','getUnitId','axisAlignment','titles.title.font','border'];_0x230a=function(){return _0x4ecf09;};return _0x230a();}class $ extends _0x174eb2{async['insertChart'](_0x2bb254){const _0x7299a8=_0x231a59;var _0x100ebc,_0x25db3b,_0x199fdb;const _0x3ff2a3=_0x2bb254['unitId']||this[_0x7299a8(0x13f)]()['getUnitId'](),_0x428212=_0x2bb254[_0x7299a8(0xbb)]||this[_0x7299a8(0xe7)](),_0x19c7c7=_0x2bb254[_0x7299a8(0x145)]||_0x4fa55f(),_0xa60ec0=_0x2bb254[_0x7299a8(0x157)],_0x3f98e5=_0x2bb254[_0x7299a8(0x158)],_0x1ac90e=_0x2bb254[_0x7299a8(0x163)],_0x58ec23={'x':_0x2bb254['x'],'y':_0x2bb254['y']},_0x212a5b=_0x2bb254[_0x7299a8(0xf5)],_0x250132=_0x2bb254[_0x7299a8(0x109)],_0x412cd1=(_0x100ebc=_0x2bb254[_0x7299a8(0xf7)])==null?void 0x0:_0x100ebc['backgroundColor'],_0x5901f5=(_0x25db3b=_0x2bb254[_0x7299a8(0xf7)])==null?void 0x0:_0x25db3b[_0x7299a8(0x12f)],_0x583dda=C(_0x3ff2a3,_0x19c7c7,_0xa60ec0,_0x2bb254['options']),_0x1ba657=(_0x199fdb=_0x2bb254[_0x7299a8(0xcd)])!=null?_0x199fdb:!0x0;if(!_0x3f98e5)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService'][_0x7299a8(0xc3)](_0xc2d59e['id'],{'unitId':_0x3ff2a3,'subUnitId':_0x428212,'chartId':_0x19c7c7,'chartType':_0xa60ec0,'range':_0x3f98e5,'sourceSheetName':_0x1ac90e,'position':_0x58ec23,'width':_0x212a5b,'height':_0x250132,'backgroundColor':_0x412cd1,'borderColor':_0x5901f5,'config':_0x583dda,'isRowDirection':_0x1ba657}),new P(_0x3ff2a3,_0x428212,_0x19c7c7,this['_injector']);}[_0x231a59(0x129)](_0x51ebf2){const _0x165778=_0x231a59,{unitId:_0x4d4a91,chartId:_0x859c3e,chartType:_0x3762fc,options:_0x59ae7e}=_0x51ebf2,_0x9f4038=C(_0x4d4a91,_0x859c3e,_0x3762fc,_0x59ae7e);this[_0x165778(0x15d)][_0x165778(0xc3)](_0x11222b['id'],_0x9f4038);}['newChart'](_0x4bf1bc){const _0x4d9b09=_0x231a59;if(_0x4bf1bc)return new c(_0x4bf1bc[_0x4d9b09(0xf0)],_0x4bf1bc[_0x4d9b09(0xbb)],this[_0x4d9b09(0x141)],this[_0x4d9b09(0x11b)],_0x4bf1bc[_0x4d9b09(0x145)]);const _0x551018=this[_0x4d9b09(0x13f)]()['getUnitId'](),_0x31f46f=this[_0x4d9b09(0xe7)]();return new c(_0x551018,_0x31f46f,this[_0x4d9b09(0x141)],this[_0x4d9b09(0x11b)]);}['getCharts'](){const _0x791b3b=_0x231a59,_0x42e0d0=this[_0x791b3b(0x11b)][_0x791b3b(0x10b)](_0x20e562),_0x2d1ae5=this[_0x791b3b(0x13f)]()[_0x791b3b(0x102)]();return _0x42e0d0['getUnitChartModels'](_0x2d1ae5,this[_0x791b3b(0xe7)]())[_0x791b3b(0x10e)](_0x128238=>new P(_0x2d1ae5,this['getSheetId'](),_0x128238['id'],this[_0x791b3b(0x11b)]));}[_0x231a59(0x144)](_0x19805a){const _0x234a81=_0x231a59,_0x54f56a=_0x19805a[_0x234a81(0xf0)],_0xe05ae7=_0x19805a[_0x234a81(0xbb)],_0x36c64c=_0x19805a[_0x234a81(0x145)],_0x4e8f42={'unitId':_0x54f56a,'drawings':[{'unitId':_0x54f56a,'subUnitId':_0xe05ae7,'drawingId':_0x36c64c,'drawingType':_0x265801[_0x234a81(0xda)]}]};return this[_0x234a81(0x15d)][_0x234a81(0xc3)](_0x2dd207['id'],_0x4e8f42);}['registerChartTheme'](_0x1f835a,_0x464ea4){const _0x5c765f=_0x231a59;this[_0x5c765f(0x11b)][_0x5c765f(0x10b)](_0x49f062)[_0x5c765f(0xd0)](_0x1f835a,_0x464ea4);}}_0x174eb2[_0x231a59(0xb8)]($);class tt extends _0x9a53c8{get[_0x231a59(0x166)](){return _0x34801f;}get['LegendPositionEnum'](){return _0x555c1a;}get[_0x231a59(0xb7)](){return _0x29d061;}get['AxisAlignEnum'](){return _0x531fd0;}get[_0x231a59(0xf1)](){return _0x157636;}get[_0x231a59(0xe3)](){return _0x5d749b;}get['TitlePositionEnum'](){return _0x2dec54;}get[_0x231a59(0xbc)](){return _0x35b7ad;}}_0x9a53c8[_0x231a59(0xb8)](tt);class et extends c{constructor(_0x10f41d,_0x8e88e3,_0x472edb,_0x2647aa,_0x2f0b54){const _0x1ef4c8=_0x231a59;super(_0x10f41d,_0x8e88e3,_0x472edb,_0x2647aa,_0x2f0b54),n(this,_0x1ef4c8(0x134)),n(this,'dataPointShape'),n(this,_0x1ef4c8(0x167)),n(this,_0x1ef4c8(0x150));}['setLineStyle'](_0x2ead1d){const _0x3924ef=_0x231a59;return this[_0x3924ef(0x134)]=_0x2ead1d,this;}[_0x231a59(0x13a)](_0x1ba67b){const _0x2b3889=_0x231a59;return this[_0x2b3889(0x139)]=_0x1ba67b,this;}['setDataPointColor'](_0x1f4ed6){const _0x295579=_0x231a59;return this[_0x295579(0x167)]=_0x1f4ed6,this;}[_0x231a59(0x14f)](_0x2892fa){return this['dataPointSize']=_0x2892fa,this;}['build'](){const _0x334d2e=_0x231a59,_0x2c268c=super[_0x334d2e(0x116)]();_0x2c268c[_0x334d2e(0x157)]=_0x34801f[_0x334d2e(0x12e)];const _0xb0c865=_0x2c268c['options']||{};return s(_0xb0c865,'area.lineStyle',this[_0x334d2e(0x134)]),s(_0xb0c865,_0x334d2e(0x122),this[_0x334d2e(0x139)]),s(_0xb0c865,'allSeriesStyle.point.color',this[_0x334d2e(0x167)]),s(_0xb0c865,_0x334d2e(0x118),this[_0x334d2e(0x150)]),_0x2c268c['options']=_0xb0c865,_0x2c268c;}}class it extends c{[_0x231a59(0x10d)](){const _0x254c17=_0x231a59;return new et(this[_0x254c17(0xf0)],this[_0x254c17(0xbb)],this[_0x254c17(0x141)],this[_0x254c17(0x11b)],this[_0x254c17(0x145)]);}}c[_0x231a59(0xb8)](it);class st extends c{constructor(_0x302a9d,_0x43ebd6,_0x243c76,_0x5970d7,_0x1a97ec){const _0x52d265=_0x231a59;super(_0x302a9d,_0x43ebd6,_0x243c76,_0x5970d7,_0x1a97ec),n(this,'doughnutHole'),n(this,_0x52d265(0x12f)),n(this,_0x52d265(0xc1)),n(this,_0x52d265(0x11a)),n(this,_0x52d265(0x14b)),n(this,_0x52d265(0xc6));}[_0x231a59(0x127)](_0x42097a){const _0x413bb7=_0x231a59;return this[_0x413bb7(0x126)]=_0x42097a,this;}[_0x231a59(0xf6)](_0x11a987){const _0x2ee6eb=_0x231a59;return this[_0x2ee6eb(0x12f)]=_0x11a987,this;}[_0x231a59(0x113)](_0x39c6b3){const _0x3e0280=_0x231a59;return this[_0x3e0280(0xc1)]=_0x39c6b3,this;}[_0x231a59(0x10c)](_0x1c7430){const _0x44d290=_0x231a59;return this[_0x44d290(0x11a)]=_0x1c7430,this;}[_0x231a59(0x112)](_0x24d8d1){return this['rosePie']=_0x24d8d1,this;}[_0x231a59(0x12a)](_0x5c676c){const _0x2c2a68=_0x231a59;return this[_0x2c2a68(0xc6)]=_0x5c676c,this;}[_0x231a59(0x116)](){const _0x266cd1=_0x231a59,_0x2f9c5c=super[_0x266cd1(0x116)]();_0x2f9c5c[_0x266cd1(0x157)]=_0x34801f['Pie'];const _0x4a359d=_0x2f9c5c[_0x266cd1(0xf7)]||{};return s(_0x4a359d,_0x266cd1(0xbf),this[_0x266cd1(0x126)]),s(_0x4a359d,_0x266cd1(0xc7),this[_0x266cd1(0x12f)]),s(_0x4a359d,_0x266cd1(0xde),this[_0x266cd1(0xc1)]),s(_0x4a359d,'pie.isHalfPie',this[_0x266cd1(0x11a)]),s(_0x4a359d,_0x266cd1(0x161),this['rosePie']),s(_0x4a359d,_0x266cd1(0xd9),this['showLabelLine']),_0x2f9c5c[_0x266cd1(0xf7)]=_0x4a359d,_0x2f9c5c;}}class rt extends c{[_0x231a59(0x120)](){const _0x419ab5=_0x231a59;return new st(this[_0x419ab5(0xf0)],this[_0x419ab5(0xbb)],this[_0x419ab5(0x141)],this[_0x419ab5(0x11b)],this['chartId']);}}c['extend'](rt);class ot extends c{constructor(_0x5ec3f0,_0x35fe5c,_0x515dae,_0x51ebac,_0x2b70dc){const _0x1c989f=_0x231a59;super(_0x5ec3f0,_0x35fe5c,_0x515dae,_0x51ebac,_0x2b70dc),n(this,_0x1c989f(0x159)),n(this,_0x1c989f(0xec));}['setShape'](_0x8abd3){const _0x4eea2a=_0x231a59;return this[_0x4eea2a(0x159)]=_0x8abd3,this;}[_0x231a59(0xfd)](_0x3cd6ac){const _0x379d20=_0x231a59;return this[_0x379d20(0xec)]=_0x3cd6ac,this;}[_0x231a59(0x116)](){const _0xccdcca=_0x231a59,_0x29587b=super[_0xccdcca(0x116)]();_0x29587b[_0xccdcca(0x157)]=_0x34801f['Radar'];const _0xd3fa40=_0x29587b[_0xccdcca(0xf7)]||{};return s(_0xd3fa40,_0xccdcca(0x14c),this[_0xccdcca(0x159)]),s(_0xd3fa40,'radar.fill',this[_0xccdcca(0xec)]),_0x29587b['options']=_0xd3fa40,_0x29587b;}}class nt extends c{[_0x231a59(0x147)](){const _0x5e37db=_0x231a59;return new ot(this['unitId'],this[_0x5e37db(0xbb)],this[_0x5e37db(0x141)],this['_injector'],this['chartId']);}}c['extend'](nt);function _0x3fcb(_0x51b1f0,_0x144784){_0x51b1f0=_0x51b1f0-0xb4;const _0x230a1e=_0x230a();let _0x3fcbb2=_0x230a1e[_0x51b1f0];return _0x3fcbb2;}export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
1
+ const _0x3d6b8d=_0x2ce4;(function(_0x4c8880,_0x30741d){const _0xe6ef2e=_0x2ce4,_0x5b6268=_0x4c8880();while(!![]){try{const _0x572efa=parseInt(_0xe6ef2e(0xde))/0x1+-parseInt(_0xe6ef2e(0xe3))/0x2+-parseInt(_0xe6ef2e(0x159))/0x3*(parseInt(_0xe6ef2e(0xd3))/0x4)+parseInt(_0xe6ef2e(0x105))/0x5+parseInt(_0xe6ef2e(0x16d))/0x6+-parseInt(_0xe6ef2e(0x10a))/0x7*(-parseInt(_0xe6ef2e(0x102))/0x8)+parseInt(_0xe6ef2e(0xf3))/0x9*(-parseInt(_0xe6ef2e(0x14d))/0xa);if(_0x572efa===_0x30741d)break;else _0x5b6268['push'](_0x5b6268['shift']());}catch(_0x143cb0){_0x5b6268['push'](_0x5b6268['shift']());}}}(_0x50a1,0x4737b));var R=Object[_0x3d6b8d(0x128)],k=(_0x5729d5,_0x197402,_0x33b11f)=>_0x197402 in _0x5729d5?R(_0x5729d5,_0x197402,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33b11f}):_0x5729d5[_0x197402]=_0x33b11f,n=(_0x4ff9e3,_0xdc4df3,_0x1b9196)=>k(_0x4ff9e3,typeof _0xdc4df3!='symbol'?_0xdc4df3+'':_0xdc4df3,_0x1b9196);import{ChartThemeService as _0x3dc6f0,ChartTypeBits as _0x1ce896,LegendPositionEnum as _0x52fe3d,SelectModeEnum as _0x52bc36,AxisAlignEnum as _0x4bcd42,ChartBorderDashType as _0x3f7aac,LinePointShape as _0x59899b,TitlePositionEnum as _0x3a5f43,RadarShape as _0x468322}from'@univerjs-pro/engine-chart';import{setProperty as _0x49b568,SheetsChartService as _0x254ba5,ChartUpdateSourceCommand as _0x550123,ChartUpdateConfigCommand as _0x331239}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x1fc54e}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x3c6978,IUniverInstanceService as _0xa6aa20,UniverInstanceType as _0x4f82a8,generateRandomId as _0x351850,DrawingTypeEnum as _0x1e4a05}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1e8773}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x21a20a}from'@univerjs/sheets/facade';import{FBase as _0xc8b5f1,FEnum as _0x559046}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x38b2d0}from'@univerjs/engine-formula';import{IRenderManagerService as _0x40bb3a}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x20f374,SheetSkeletonManagerService as _0x2631e0,convertPositionCellToSheetOverGrid as _0x3a9dff}from'@univerjs/sheets-ui';const s=(_0x3e7a9a,_0x3fc14a,_0x58060e)=>{_0x58060e!==void 0x0&&_0x49b568(_0x3e7a9a,_0x3fc14a,_0x58060e);},C=(_0x119f21,_0x4ff9d4,_0x27151e,_0x41bca4={})=>{const _0x3a0670=_0x3d6b8d,_0x56cae4={},_0x2fe489={};if(_0x41bca4['title']){const _0x2a1500=_0x41bca4[_0x3a0670(0x135)];s(_0x56cae4,_0x3a0670(0x110),_0x2a1500[_0x3a0670(0x10b)]),s(_0x56cae4,_0x3a0670(0x149),_0x2a1500[_0x3a0670(0x131)]),s(_0x56cae4,_0x3a0670(0x12c),_0x2a1500[_0x3a0670(0x16b)]),s(_0x56cae4,_0x3a0670(0xea),_0x2a1500['fontColor']),s(_0x56cae4,'titles.title.family',_0x2a1500['fontStyle']),s(_0x56cae4,_0x3a0670(0x17e),_0x2a1500['bold']),s(_0x56cae4,_0x3a0670(0x148),_0x2a1500[_0x3a0670(0x15e)]),s(_0x56cae4,'titles.titlePosition',_0x2a1500[_0x3a0670(0x175)]);}if(_0x41bca4[_0x3a0670(0x158)]){const _0x1c6abe=_0x41bca4['legend'];s(_0x56cae4,'legend.position',_0x1c6abe[_0x3a0670(0x175)]),s(_0x56cae4,_0x3a0670(0x11c),_0x1c6abe[_0x3a0670(0x178)]),s(_0x56cae4,'legend.label.fontSize',_0x1c6abe[_0x3a0670(0x16b)]),s(_0x56cae4,_0x3a0670(0x11b),_0x1c6abe[_0x3a0670(0x136)]),s(_0x56cae4,_0x3a0670(0x122),_0x1c6abe[_0x3a0670(0x113)]),s(_0x56cae4,_0x3a0670(0xfa),_0x1c6abe['italic']);}if(_0x41bca4[_0x3a0670(0xe5)]){const _0x26b63f=_0x41bca4['pie'];s(_0x56cae4,_0x3a0670(0xe8),_0x26b63f[_0x3a0670(0x17d)]),s(_0x56cae4,_0x3a0670(0x12b),_0x26b63f['borderColor']),s(_0x56cae4,_0x3a0670(0x138),_0x26b63f[_0x3a0670(0x185)]),s(_0x56cae4,_0x3a0670(0x11f),_0x26b63f[_0x3a0670(0xf7)]),s(_0x56cae4,_0x3a0670(0xef),_0x26b63f[_0x3a0670(0xf2)]),s(_0x56cae4,_0x3a0670(0x15b),_0x26b63f[_0x3a0670(0xe6)]);}if(_0x41bca4[_0x3a0670(0x12e)]){const _0x1c1d04=_0x41bca4[_0x3a0670(0x12e)];s(_0x56cae4,_0x3a0670(0x12d),_0x1c1d04[_0x3a0670(0x13f)]),s(_0x56cae4,_0x3a0670(0x125),_0x1c1d04[_0x3a0670(0x129)]),s(_0x56cae4,_0x3a0670(0x10e),_0x1c1d04[_0x3a0670(0x194)]),s(_0x56cae4,'tooltip.indicatorLabelTextColor',_0x1c1d04[_0x3a0670(0xfc)]);}if(_0x41bca4[_0x3a0670(0x15a)]&&(s(_0x56cae4,'allSeriesStyle.border',_0x41bca4[_0x3a0670(0x15a)][_0x3a0670(0x187)]),s(_0x56cae4,'allSeriesStyle.label',_0x41bca4[_0x3a0670(0x15a)][_0x3a0670(0x154)]),s(_0x56cae4,'allSeriesStyle.rightYAxis',_0x41bca4[_0x3a0670(0x15a)][_0x3a0670(0x18f)]),s(_0x56cae4,_0x3a0670(0x137),_0x41bca4[_0x3a0670(0x15a)][_0x3a0670(0x144)]),s(_0x56cae4,_0x3a0670(0x153),_0x41bca4[_0x3a0670(0x15a)][_0x3a0670(0x136)])),_0x41bca4[_0x3a0670(0x121)]&&s(_0x56cae4,_0x3a0670(0x119),_0x41bca4[_0x3a0670(0x121)][_0x3a0670(0xfe)]),_0x41bca4[_0x3a0670(0xe4)]&&s(_0x56cae4,'theme',_0x41bca4[_0x3a0670(0xe4)]),_0x41bca4[_0x3a0670(0x177)]&&s(_0x56cae4,_0x3a0670(0x177),_0x41bca4[_0x3a0670(0x177)]),_0x41bca4['borderColor']&&s(_0x56cae4,'borderColor',_0x41bca4[_0x3a0670(0xeb)]),_0x41bca4[_0x3a0670(0x163)]&&s(_0x56cae4,_0x3a0670(0x163),_0x41bca4[_0x3a0670(0x163)]),_0x41bca4[_0x3a0670(0x157)]&&s(_0x56cae4,_0x3a0670(0x157),_0x41bca4[_0x3a0670(0x157)]),_0x41bca4[_0x3a0670(0x179)]&&s(_0x56cae4,_0x3a0670(0x179),_0x41bca4['radar']),_0x41bca4['xAxisTitle']){const _0x16f4cd=_0x41bca4[_0x3a0670(0x181)];s(_0x56cae4,'titles.xAxisTitle.content',_0x16f4cd[_0x3a0670(0x10b)]),s(_0x56cae4,'titles.xAxisTitle.font',_0x16f4cd[_0x3a0670(0x131)]),s(_0x56cae4,_0x3a0670(0x108),_0x16f4cd[_0x3a0670(0x16b)]),s(_0x56cae4,_0x3a0670(0xfb),_0x16f4cd[_0x3a0670(0x106)]),s(_0x56cae4,_0x3a0670(0x193),_0x16f4cd[_0x3a0670(0x14f)]),s(_0x56cae4,_0x3a0670(0xee),_0x16f4cd[_0x3a0670(0x113)]),s(_0x56cae4,_0x3a0670(0xd9),_0x16f4cd[_0x3a0670(0xe2)]);}if(_0x41bca4['yAxisTitle']){const _0x21ce47=_0x41bca4[_0x3a0670(0xe0)];s(_0x56cae4,'titles.yAxisTitle.content',_0x21ce47[_0x3a0670(0x10b)]),s(_0x56cae4,_0x3a0670(0x14b),_0x21ce47[_0x3a0670(0x131)]),s(_0x56cae4,_0x3a0670(0x107),_0x21ce47[_0x3a0670(0x16b)]),s(_0x56cae4,_0x3a0670(0x13a),_0x21ce47['fontColor']),s(_0x56cae4,_0x3a0670(0x156),_0x21ce47[_0x3a0670(0x14f)]),s(_0x56cae4,'titles.yAxisTitle.bold',_0x21ce47[_0x3a0670(0x113)]),s(_0x56cae4,_0x3a0670(0x109),_0x21ce47[_0x3a0670(0xe2)]);}if(_0x41bca4[_0x3a0670(0xe9)]){const _0x4b08db=_0x41bca4[_0x3a0670(0xe9)];s(_0x56cae4,_0x3a0670(0x183),_0x4b08db[_0x3a0670(0x10b)]),s(_0x56cae4,_0x3a0670(0x130),_0x4b08db[_0x3a0670(0x131)]),s(_0x56cae4,'titles.rightYAxisTitle.fontSize',_0x4b08db[_0x3a0670(0x16b)]),s(_0x56cae4,_0x3a0670(0x17a),_0x4b08db['fontColor']),s(_0x56cae4,_0x3a0670(0x160),_0x4b08db['fontStyle']),s(_0x56cae4,'titles.rightYAxisTitle.bold',_0x4b08db['bold']),s(_0x56cae4,_0x3a0670(0xda),_0x4b08db[_0x3a0670(0xe2)]);}_0x41bca4['xAxis']&&s(_0x56cae4,_0x3a0670(0x13d),_0x41bca4[_0x3a0670(0x13d)]),_0x41bca4[_0x3a0670(0xd6)]&&s(_0x56cae4,_0x3a0670(0xd6),_0x41bca4[_0x3a0670(0xd6)]),_0x41bca4['yRightAxis']&&s(_0x56cae4,_0x3a0670(0x18f),_0x41bca4[_0x3a0670(0x186)]),_0x41bca4[_0x3a0670(0x172)]&&s(_0x56cae4,_0x3a0670(0x172),_0x41bca4[_0x3a0670(0x172)]);const _0x5847d8={'unitId':_0x119f21,'chartModelId':_0x4ff9d4};let _0x13265d=!0x1;if(_0x27151e!==void 0x0&&(_0x5847d8['chartType']=_0x27151e,_0x13265d=!0x0),Object[_0x3a0670(0xf1)](_0x56cae4)[_0x3a0670(0xdd)]>0x0&&(_0x5847d8[_0x3a0670(0x15c)]=_0x56cae4,_0x13265d=!0x0),Object[_0x3a0670(0xf1)](_0x2fe489)['length']>0x0&&(_0x5847d8[_0x3a0670(0x182)]=_0x2fe489,_0x13265d=!0x0),_0x13265d)return _0x5847d8;};class c extends _0xc8b5f1{constructor(_0x165ef7,_0x291340,_0x310306,_0x750ab,_0x5eb67a){const _0x5c2365=_0x3d6b8d;super(),n(this,'_workbook'),n(this,_0x5c2365(0x12a)),n(this,'unitId'),n(this,'subUnitId'),n(this,_0x5c2365(0x169)),n(this,'range'),n(this,_0x5c2365(0xdc)),n(this,'x'),n(this,'y'),n(this,_0x5c2365(0x171)),n(this,'height'),n(this,_0x5c2365(0x150)),n(this,_0x5c2365(0x133)),n(this,_0x5c2365(0x14e)),(this[_0x5c2365(0xfd)]=_0x165ef7,this[_0x5c2365(0x114)]=_0x291340,this['_workbook']=_0x310306,this[_0x5c2365(0x12a)]=_0x750ab,_0x5eb67a&&(this['chartId']=_0x5eb67a));}[_0x3d6b8d(0x10c)](){const _0x44a1d7=_0x3d6b8d;return this[_0x44a1d7(0x150)];}[_0x3d6b8d(0x140)](_0x18d71e){const _0x2822b7=_0x3d6b8d;if(typeof _0x18d71e==_0x2822b7(0x112)){const _0x334121=_0x38b2d0(_0x18d71e);_0x334121[_0x2822b7(0x17f)]&&(this[_0x2822b7(0xdc)]=_0x334121[_0x2822b7(0x17f)]),this[_0x2822b7(0xed)]=_0x334121[_0x2822b7(0xed)];}else this['range']=_0x18d71e;return this;}[_0x3d6b8d(0x11d)](){const _0x536089=_0x3d6b8d;return this['range']=void 0x0,this[_0x536089(0xdc)]=void 0x0,this;}[_0x3d6b8d(0xe7)](_0x563ccc,_0x1c7c15,_0x1f545c,_0x5834c9){const _0x37ad74=_0x3d6b8d,_0x19483a=this[_0x37ad74(0x12a)][_0x37ad74(0x166)](_0x40bb3a)[_0x37ad74(0x142)](this[_0x37ad74(0xfd)]);if(!_0x19483a)throw new Error(_0x37ad74(0x101));const _0x223a30=_0x19483a[_0x37ad74(0xf8)](_0x20f374),_0xe3e34a=_0x19483a['with'](_0x2631e0),{transform:_0x43f58d}=_0x3a9dff(this['unitId'],this[_0x37ad74(0x114)],{'row':_0x563ccc,'column':_0x1c7c15,'rowOffset':_0x1f545c,'columnOffset':_0x5834c9},0x1,0x1,_0x223a30,_0xe3e34a),_0x287c95=_0x43f58d[_0x37ad74(0x120)],_0x4132a2=_0x43f58d[_0x37ad74(0x10f)];return this['x']=_0x4132a2,this['y']=_0x287c95,this;}[_0x3d6b8d(0x117)](_0x4424cb,_0x55d29f){return this['x']=_0x4424cb,this['y']=_0x55d29f,this;}[_0x3d6b8d(0x147)](_0x4b4b02){return this['chartType']=_0x4b4b02,this;}[_0x3d6b8d(0x100)](_0x36f79f){return this['width']=_0x36f79f,this;}[_0x3d6b8d(0x15d)](_0x1dcd2a){const _0x1b685d=_0x3d6b8d;return this[_0x1b685d(0x170)]=_0x1dcd2a,this;}[_0x3d6b8d(0x18d)](_0x28cc45,_0x13538c){const _0x49f258=_0x3d6b8d;return this[_0x49f258(0x133)]||(this[_0x49f258(0x133)]={}),_0x28cc45===''?(this[_0x49f258(0x133)]={...this[_0x49f258(0x133)],..._0x13538c},this):(_0x49b568(this[_0x49f258(0x133)],_0x28cc45,_0x13538c),this);}[_0x3d6b8d(0x126)](_0x20c0f7){const _0x11548b=_0x3d6b8d;return this[_0x11548b(0x14e)]=_0x20c0f7,this;}['setTheme'](_0x5a3859){const _0x13c5a5=_0x3d6b8d;return this[_0x13c5a5(0x18d)](_0x13c5a5(0xe4),_0x5a3859),this;}[_0x3d6b8d(0xf9)](_0x83c5b){const _0x4c319f=_0x3d6b8d;var _0x2b5933;const _0x273c97=((_0x2b5933=this[_0x4c319f(0x133)])==null?void 0x0:_0x2b5933[_0x4c319f(0x181)])||{};return _0x273c97[_0x4c319f(0x10b)]=_0x83c5b,this[_0x4c319f(0x18d)](_0x4c319f(0x181),_0x273c97),this;}[_0x3d6b8d(0x145)](_0xe3b0c){const _0x3fca18=_0x3d6b8d;var _0x436648;const _0x2662de=((_0x436648=this[_0x3fca18(0x133)])==null?void 0x0:_0x436648[_0x3fca18(0xe0)])||{};return _0x2662de[_0x3fca18(0x10b)]=_0xe3b0c,this[_0x3fca18(0x18d)]('yAxisTitle',_0x2662de),this;}[_0x3d6b8d(0x18b)](_0x47c771){const _0x4eae13=_0x3d6b8d;var _0x1ec42c;const _0xf0dd5e=((_0x1ec42c=this['options'])==null?void 0x0:_0x1ec42c[_0x4eae13(0xe9)])||{};return _0xf0dd5e[_0x4eae13(0x10b)]=_0x47c771,this['setOptions']('rightYAxisTitle',_0xf0dd5e),this;}[_0x3d6b8d(0x192)](_0x1bbb68){const _0x40f37f=_0x3d6b8d;var _0x137082;const _0x188b58=((_0x137082=this[_0x40f37f(0x133)])==null?void 0x0:_0x137082[_0x40f37f(0x181)])||{};return this[_0x40f37f(0x18d)](_0x40f37f(0x181),{..._0x188b58,..._0x1bbb68}),this;}[_0x3d6b8d(0x14c)](_0x4b60bf){const _0x1e3410=_0x3d6b8d;var _0x51781f;const _0x4e47c9=((_0x51781f=this[_0x1e3410(0x133)])==null?void 0x0:_0x51781f[_0x1e3410(0xe0)])||{};return this[_0x1e3410(0x18d)](_0x1e3410(0xe0),{..._0x4e47c9,..._0x4b60bf}),this;}[_0x3d6b8d(0x162)](_0x5d0395){const _0x922133=_0x3d6b8d;var _0x25d274;const _0x4235b3=((_0x25d274=this[_0x922133(0x133)])==null?void 0x0:_0x25d274[_0x922133(0xe9)])||{};return this[_0x922133(0x18d)](_0x922133(0xe9),{..._0x4235b3,..._0x5d0395}),this;}['setInvalidValueStrategy'](_0x1468d3){const _0x265000=_0x3d6b8d;return this['setOptions'](_0x265000(0x157),_0x1468d3),this;}[_0x3d6b8d(0x180)](_0x3416ec){const _0x241871=_0x3d6b8d;return this[_0x241871(0x18d)](_0x241871(0x12e),_0x3416ec),this;}['setAllSeriesStyle'](_0x5ebcad){const _0x33b705=_0x3d6b8d;return this[_0x33b705(0x18d)](_0x33b705(0x15a),_0x5ebcad),this;}[_0x3d6b8d(0x14a)](_0x46361e,_0x3450d0){const _0x5901e7=_0x3d6b8d;return this['setOptions'](_0x5901e7(0x172),{[_0x46361e]:_0x3450d0}),this;}[_0x3d6b8d(0x104)](){const _0x42b0c4=_0x3d6b8d;return{'unitId':this[_0x42b0c4(0xfd)],'subUnitId':this[_0x42b0c4(0x114)],'chartId':this[_0x42b0c4(0x169)],'range':this[_0x42b0c4(0xed)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x42b0c4(0x171)],'height':this[_0x42b0c4(0x170)],'chartType':this[_0x42b0c4(0x150)],'options':this[_0x42b0c4(0x133)],'isRowDirection':this[_0x42b0c4(0x14e)]};}}class P{constructor(_0x400bda,_0x1e3fb8,_0x327dd1,_0x158fe8){const _0x9907ab=_0x3d6b8d;n(this,'unitId'),n(this,_0x9907ab(0x114)),n(this,_0x9907ab(0x169)),n(this,_0x9907ab(0x12a)),(this[_0x9907ab(0xfd)]=_0x400bda,this[_0x9907ab(0x114)]=_0x1e3fb8,this['chartId']=_0x327dd1,this[_0x9907ab(0x12a)]=_0x158fe8);}[_0x3d6b8d(0x189)](){const _0x59f292=_0x3d6b8d;return this[_0x59f292(0x169)];}[_0x3d6b8d(0x167)](){const _0x529aa4=_0x3d6b8d,_0x50765f=this[_0x529aa4(0x12a)][_0x529aa4(0x166)](_0x254ba5)['getChartModel'](this['chartId']);if(_0x50765f)return _0x50765f[_0x529aa4(0x123)][_0x529aa4(0xff)]();}[_0x3d6b8d(0x124)](_0xb5a133){const _0x504972=_0x3d6b8d;return this['_injector'][_0x504972(0x166)](_0x3c6978)['executeCommand'](_0x550123['id'],{'unitId':this[_0x504972(0xfd)],'chartModelId':this[_0x504972(0x169)],'range':_0xb5a133});}['getSeriesData'](){const _0x3649c7=_0x3d6b8d;var _0x20f1f0;const _0x18527a=this[_0x3649c7(0x12a)]['get'](_0x254ba5)[_0x3649c7(0x18e)](this[_0x3649c7(0x169)]);if(_0x18527a)return(_0x20f1f0=_0x18527a[_0x3649c7(0x191)])==null?void 0x0:_0x20f1f0[_0x3649c7(0x17b)];}[_0x3d6b8d(0x132)](){const _0x4debc2=_0x3d6b8d;var _0x20e9fc;const _0x21b509=this[_0x4debc2(0x12a)][_0x4debc2(0x166)](_0x254ba5)['getChartModel'](this[_0x4debc2(0x169)]);if(_0x21b509)return(_0x20e9fc=_0x21b509['config'])==null?void 0x0:_0x20e9fc['category'];}[_0x3d6b8d(0x143)](){const _0x4e9ff4=_0x3d6b8d,_0x2db924=this[_0x4e9ff4(0x12a)]['get'](_0xa6aa20)[_0x4e9ff4(0xf0)](_0x4f82a8['UNIVER_SHEET']);return new c(this[_0x4e9ff4(0xfd)],this[_0x4e9ff4(0x114)],_0x2db924,this['_injector'],this[_0x4e9ff4(0x169)]);}}class $ extends _0x21a20a{async[_0x3d6b8d(0x146)](_0x106d66){const _0x124cbc=_0x3d6b8d;var _0x233b68,_0x3d9165,_0x5a0566;const _0x2ff63d=_0x106d66[_0x124cbc(0xfd)]||this[_0x124cbc(0x116)]()[_0x124cbc(0x111)](),_0xb6c43b=_0x106d66['subUnitId']||this[_0x124cbc(0xf6)](),_0x559c07=_0x106d66[_0x124cbc(0x169)]||_0x351850(),_0x157ef0=_0x106d66[_0x124cbc(0x150)],_0x25bd7e=_0x106d66[_0x124cbc(0xed)],_0x3548d1=_0x106d66[_0x124cbc(0xdc)],_0x1a5d53={'x':_0x106d66['x'],'y':_0x106d66['y']},_0x28de6a=_0x106d66[_0x124cbc(0x171)],_0x4bf54e=_0x106d66[_0x124cbc(0x170)],_0x276e43=(_0x233b68=_0x106d66['options'])==null?void 0x0:_0x233b68[_0x124cbc(0x177)],_0x5228cb=(_0x3d9165=_0x106d66[_0x124cbc(0x133)])==null?void 0x0:_0x3d9165['borderColor'],_0x14a3bd=C(_0x2ff63d,_0x559c07,_0x157ef0,_0x106d66[_0x124cbc(0x133)]),_0x4431b7=(_0x5a0566=_0x106d66[_0x124cbc(0x115)])!=null?_0x5a0566:!0x0;if(!_0x25bd7e)throw new Error(_0x124cbc(0xec));return await this[_0x124cbc(0x155)][_0x124cbc(0x188)](_0x1fc54e['id'],{'unitId':_0x2ff63d,'subUnitId':_0xb6c43b,'chartId':_0x559c07,'chartType':_0x157ef0,'range':_0x25bd7e,'sourceSheetName':_0x3548d1,'position':_0x1a5d53,'width':_0x28de6a,'height':_0x4bf54e,'backgroundColor':_0x276e43,'borderColor':_0x5228cb,'config':_0x14a3bd,'isRowDirection':_0x4431b7}),new P(_0x2ff63d,_0xb6c43b,_0x559c07,this[_0x124cbc(0x12a)]);}[_0x3d6b8d(0x161)](_0x146fa7){const {unitId:_0xc62810,chartId:_0x3aaae7,chartType:_0x153853,options:_0x284999}=_0x146fa7,_0x4b4e6c=C(_0xc62810,_0x3aaae7,_0x153853,_0x284999);this['_commandService']['executeCommand'](_0x331239['id'],_0x4b4e6c);}[_0x3d6b8d(0x16f)](_0x17308f){const _0x341578=_0x3d6b8d;if(_0x17308f)return new c(_0x17308f[_0x341578(0xfd)],_0x17308f[_0x341578(0x114)],this[_0x341578(0x16e)],this['_injector'],_0x17308f[_0x341578(0x169)]);const _0x9ff585=this[_0x341578(0x116)]()['getUnitId'](),_0x1196ab=this[_0x341578(0xf6)]();return new c(_0x9ff585,_0x1196ab,this['_workbook'],this[_0x341578(0x12a)]);}[_0x3d6b8d(0xd8)](){const _0x3fcbc2=_0x3d6b8d,_0x5ef4b5=this[_0x3fcbc2(0x12a)][_0x3fcbc2(0x166)](_0x254ba5),_0x3e04ac=this['getWorkbook']()['getUnitId']();return _0x5ef4b5[_0x3fcbc2(0xf5)](_0x3e04ac,this[_0x3fcbc2(0xf6)]())[_0x3fcbc2(0x13b)](_0x2d5a1d=>new P(_0x3e04ac,this[_0x3fcbc2(0xf6)](),_0x2d5a1d['id'],this['_injector']));}[_0x3d6b8d(0x12f)](_0x17787f){const _0x198f18=_0x3d6b8d,_0x2143e2=_0x17787f[_0x198f18(0xfd)],_0x2bd4a1=_0x17787f[_0x198f18(0x114)],_0x393203=_0x17787f['chartId'],_0x39a4d7={'unitId':_0x2143e2,'drawings':[{'unitId':_0x2143e2,'subUnitId':_0x2bd4a1,'drawingId':_0x393203,'drawingType':_0x1e4a05[_0x198f18(0xdf)]}]};return this[_0x198f18(0x155)][_0x198f18(0x188)](_0x1e8773['id'],_0x39a4d7);}['registerChartTheme'](_0x22ad32,_0x3d1899){const _0x1ae512=_0x3d6b8d;this[_0x1ae512(0x12a)]['get'](_0x3dc6f0)[_0x1ae512(0xf4)](_0x22ad32,_0x3d1899);}}_0x21a20a[_0x3d6b8d(0x17c)]($);class tt extends _0x559046{get[_0x3d6b8d(0x151)](){return _0x1ce896;}get[_0x3d6b8d(0xd7)](){return _0x52fe3d;}get['SelectModeEnum'](){return _0x52bc36;}get[_0x3d6b8d(0x190)](){return _0x4bcd42;}get['ChartBorderDashType'](){return _0x3f7aac;}get[_0x3d6b8d(0x103)](){return _0x59899b;}get['TitlePositionEnum'](){return _0x3a5f43;}get[_0x3d6b8d(0x15f)](){return _0x468322;}}_0x559046[_0x3d6b8d(0x17c)](tt);function _0x50a1(){const _0x571498=['defineProperty','indicatorLineType','_injector','pie.borderColor','titles.title.fontSize','tooltip.indicatorLabelColor','axisPointer','removeChart','titles.rightYAxisTitle.font','font','getCategoryData','options','asPieChart','title','color','allSeriesStyle.point','pie.hasPaddingAngle','setShape','titles.yAxisTitle.color','map','shape','xAxis','setShowLabelLine','indicatorLabelColor','addRange','Pie','getRenderById','modify','point','setYAxisTitle','insertChart','setChartType','titles.title.align','titles.title.font','setSeriesStyle','titles.yAxisTitle.font','setYAxisTextStyle','1180XLmehd','transposeRowsAndColumns','fontStyle','chartType','ChartType','setDoughnutHole','allSeriesStyle.color','label','_commandService','titles.yAxisTitle.family','invalidValueType','legend','91473XsfQpf','allSeriesStyle','pie.showLabelLine','style','setHeight','titleAlignment','RadarShape','titles.rightYAxisTitle.family','updateChart','setRightYAxisTextStyle','gradientFill','dataPointShape','setDataPointSize','get','getRange','Line','chartId','setDataPointColor','fontSize','setBorderColor','145104DnoicO','_workbook','newChart','height','width','seriesStyleMap','allSeriesStyle.point.size','asLineChart','position','radar.fill','backgroundColor','selectMode','radar','titles.rightYAxisTitle.color','series','extend','doughnutHole','titles.title.bold','sheetName','setAxisPointerStyle','xAxisTitle','context','titles.rightYAxisTitle.content','dataPointColor','hasPaddingAngle','yRightAxis','border','executeCommand','getChartId','setFill','setRightYAxisTitle','setIsHalfPie','setOptions','getChartModel','rightYAxis','AxisAlignEnum','config','setXAxisTextStyle','titles.xAxisTitle.family','indicatorLineColor','4sHvvRU','setDataPointShape','setRosePie','yAxis','LegendPositionEnum','getCharts','xAxis.label.axisTitleAlign','rightYAxis.label.axisTitleAlign','Radar','sourceSheetName','length','509302lcuDBo','DRAWING_CHART','yAxisTitle','allSeriesStyle.point.color','axisAlignment','753162HuqeiW','theme','pie','showLabelLine','setPosition','pie.doughnutHole','rightYAxisTitle','titles.title.color','borderColor','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','range','titles.xAxisTitle.bold','pie.rosePie','getCurrentUnitForType','keys','rosePie','21393mdyXJg','registerTheme','getUnitChartModels','getSheetId','isHalfPie','with','setXAxisTitle','legend.label.italic','titles.xAxisTitle.color','indicatorLabelTextColor','unitId','lineStyle','getRangeInfo','setWidth','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','1059368VdYkYS','LinePointShape','build','242580VExvuX','fontColor','titles.yAxisTitle.fontSize','titles.xAxisTitle.fontSize','yAxis.label.axisTitleAlign','21lSxCgp','content','getChartType','setLineStyle','tooltip.indicatorLineColor','left','titles.title.content','getUnitId','string','bold','subUnitId','isRowDirection','getWorkbook','setAbsolutePosition','radar.shape','area.lineStyle','asRadarChart','legend.label.color','legend.selectMode','clearRange','fill','pie.isHalfPie','top','area','legend.label.bold','dataSource','updateRange','tooltip.indicatorLineType','setTransposeRowsAndColumns','dataPointSize'];_0x50a1=function(){return _0x571498;};return _0x50a1();}class et extends c{constructor(_0x486807,_0x4d10be,_0x437ee6,_0x3eee40,_0x20f1b2){const _0x3c600b=_0x3d6b8d;super(_0x486807,_0x4d10be,_0x437ee6,_0x3eee40,_0x20f1b2),n(this,_0x3c600b(0xfe)),n(this,_0x3c600b(0x164)),n(this,_0x3c600b(0x184)),n(this,'dataPointSize');}[_0x3d6b8d(0x10d)](_0x3eb829){const _0x529f4d=_0x3d6b8d;return this[_0x529f4d(0xfe)]=_0x3eb829,this;}[_0x3d6b8d(0xd4)](_0x4cb8a6){const _0x2675ae=_0x3d6b8d;return this[_0x2675ae(0x164)]=_0x4cb8a6,this;}[_0x3d6b8d(0x16a)](_0xa7607e){const _0x47301f=_0x3d6b8d;return this[_0x47301f(0x184)]=_0xa7607e,this;}[_0x3d6b8d(0x165)](_0x39a7b9){const _0x6e6bfb=_0x3d6b8d;return this[_0x6e6bfb(0x127)]=_0x39a7b9,this;}[_0x3d6b8d(0x104)](){const _0x286f7b=_0x3d6b8d,_0x45afd9=super[_0x286f7b(0x104)]();_0x45afd9['chartType']=_0x1ce896[_0x286f7b(0x168)];const _0x561154=_0x45afd9['options']||{};return s(_0x561154,'area.lineStyle',this[_0x286f7b(0xfe)]),s(_0x561154,'allSeriesStyle.point.shape',this['dataPointShape']),s(_0x561154,_0x286f7b(0xe1),this[_0x286f7b(0x184)]),s(_0x561154,_0x286f7b(0x173),this[_0x286f7b(0x127)]),_0x45afd9[_0x286f7b(0x133)]=_0x561154,_0x45afd9;}}class it extends c{[_0x3d6b8d(0x174)](){const _0x4eefcd=_0x3d6b8d;return new et(this[_0x4eefcd(0xfd)],this['subUnitId'],this[_0x4eefcd(0x16e)],this[_0x4eefcd(0x12a)],this['chartId']);}}c[_0x3d6b8d(0x17c)](it);class st extends c{constructor(_0x2fe30c,_0x4ba2a7,_0x3dc10f,_0x108430,_0x2fdee8){const _0xfdc3a0=_0x3d6b8d;super(_0x2fe30c,_0x4ba2a7,_0x3dc10f,_0x108430,_0x2fdee8),n(this,_0xfdc3a0(0x17d)),n(this,_0xfdc3a0(0xeb)),n(this,_0xfdc3a0(0x185)),n(this,_0xfdc3a0(0xf7)),n(this,_0xfdc3a0(0xf2)),n(this,_0xfdc3a0(0xe6));}[_0x3d6b8d(0x152)](_0x54267e){return this['doughnutHole']=_0x54267e,this;}[_0x3d6b8d(0x16c)](_0x4eda5b){const _0x3e7d40=_0x3d6b8d;return this[_0x3e7d40(0xeb)]=_0x4eda5b,this;}['setHasPaddingAngle'](_0xfc6bed){const _0x37c034=_0x3d6b8d;return this[_0x37c034(0x185)]=_0xfc6bed,this;}[_0x3d6b8d(0x18c)](_0x43d496){return this['isHalfPie']=_0x43d496,this;}[_0x3d6b8d(0xd5)](_0x1b1a8d){const _0xa9a7a0=_0x3d6b8d;return this[_0xa9a7a0(0xf2)]=_0x1b1a8d,this;}[_0x3d6b8d(0x13e)](_0x464e1b){const _0xb7c635=_0x3d6b8d;return this[_0xb7c635(0xe6)]=_0x464e1b,this;}[_0x3d6b8d(0x104)](){const _0x51244f=_0x3d6b8d,_0x343697=super['build']();_0x343697['chartType']=_0x1ce896[_0x51244f(0x141)];const _0x1d8506=_0x343697[_0x51244f(0x133)]||{};return s(_0x1d8506,'pie.doughnutHole',this['doughnutHole']),s(_0x1d8506,_0x51244f(0x12b),this[_0x51244f(0xeb)]),s(_0x1d8506,_0x51244f(0x138),this[_0x51244f(0x185)]),s(_0x1d8506,_0x51244f(0x11f),this[_0x51244f(0xf7)]),s(_0x1d8506,_0x51244f(0xef),this[_0x51244f(0xf2)]),s(_0x1d8506,_0x51244f(0x15b),this[_0x51244f(0xe6)]),_0x343697[_0x51244f(0x133)]=_0x1d8506,_0x343697;}}class rt extends c{[_0x3d6b8d(0x134)](){const _0x5c2dcd=_0x3d6b8d;return new st(this[_0x5c2dcd(0xfd)],this['subUnitId'],this[_0x5c2dcd(0x16e)],this[_0x5c2dcd(0x12a)],this[_0x5c2dcd(0x169)]);}}c[_0x3d6b8d(0x17c)](rt);class ot extends c{constructor(_0x2ea697,_0x15f517,_0x2a0395,_0x37bd89,_0x47fe08){const _0x12367b=_0x3d6b8d;super(_0x2ea697,_0x15f517,_0x2a0395,_0x37bd89,_0x47fe08),n(this,_0x12367b(0x13c)),n(this,'fill');}[_0x3d6b8d(0x139)](_0xcc4f07){const _0x2616c0=_0x3d6b8d;return this[_0x2616c0(0x13c)]=_0xcc4f07,this;}[_0x3d6b8d(0x18a)](_0x32d1f5){const _0x312f21=_0x3d6b8d;return this[_0x312f21(0x11e)]=_0x32d1f5,this;}[_0x3d6b8d(0x104)](){const _0x27ddd0=_0x3d6b8d,_0x2288fe=super[_0x27ddd0(0x104)]();_0x2288fe[_0x27ddd0(0x150)]=_0x1ce896[_0x27ddd0(0xdb)];const _0x207334=_0x2288fe[_0x27ddd0(0x133)]||{};return s(_0x207334,_0x27ddd0(0x118),this[_0x27ddd0(0x13c)]),s(_0x207334,_0x27ddd0(0x176),this['fill']),_0x2288fe[_0x27ddd0(0x133)]=_0x207334,_0x2288fe;}}class nt extends c{[_0x3d6b8d(0x11a)](){const _0x47dcc6=_0x3d6b8d;return new ot(this['unitId'],this[_0x47dcc6(0x114)],this['_workbook'],this['_injector'],this[_0x47dcc6(0x169)]);}}c['extend'](nt);function _0x2ce4(_0x53819f,_0x3610d5){_0x53819f=_0x53819f-0xd3;const _0x50a169=_0x50a1();let _0x2ce4ee=_0x50a169[_0x53819f];return _0x2ce4ee;}export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};