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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
@@ -1 +1 @@
1
- const _0x40a655=_0x5a21;function _0x5a21(_0x3c61f6,_0x3d0621){_0x3c61f6=_0x3c61f6-0x81;const _0x163966=_0x1639();let _0x5a21da=_0x163966[_0x3c61f6];return _0x5a21da;}(function(_0x295f55,_0x50b102){const _0x251ade=_0x5a21,_0x2276a0=_0x295f55();while(!![]){try{const _0x124545=-parseInt(_0x251ade(0xc3))/0x1*(-parseInt(_0x251ade(0xec))/0x2)+-parseInt(_0x251ade(0xdc))/0x3+-parseInt(_0x251ade(0x82))/0x4*(parseInt(_0x251ade(0xd9))/0x5)+parseInt(_0x251ade(0xa8))/0x6+parseInt(_0x251ade(0xa9))/0x7+-parseInt(_0x251ade(0x10c))/0x8*(parseInt(_0x251ade(0x97))/0x9)+-parseInt(_0x251ade(0xe3))/0xa*(-parseInt(_0x251ade(0xb9))/0xb);if(_0x124545===_0x50b102)break;else _0x2276a0['push'](_0x2276a0['shift']());}catch(_0x41760a){_0x2276a0['push'](_0x2276a0['shift']());}}}(_0x1639,0x88f16));function _0x1639(){const _0x592ada=['{0}\x20透明度','趨勢線顏色','堆疊方式','百分比','散點圖','氣泡大小','三角形','80OxKuaJ','主刻度線','X軸標題','添加趨勢線','8zkPjPF','詞雲形狀','堆疊面積圖','空心三角形','圓環孔','多項式階數','刻度線位置','数值比例','小數位數','桑基圖','日期軸僅在數據全部為日期格式時可用','圖表和軸標題','條形圖','顯示R平方','刻度線長度','使用日期軸','空心針形','左對齊','第\x20{0}\x20項','垂直軸','{0}\x20類型','584001yuYWsm','環形圖','組合圖','中位數','顯示標籤線','氣泡標籤','桑基圖不能包含循環數據','開啟選中淡入特效','關係圖','百分比堆疊','顯示軸線','排列圖','日期類型','空心箭頭','小計圖例文本','正值圖例文本','數據點','138876TLhGlB','5345242TUvInc','箱型圖','標題格式','Y軸標題','軸選項','顯示空單元格為','貨幣類型','標題對齊','自定義圖表','使用\x20{0}\x20作為類別標籤','使用絕對值','累積占比','類別\x20{0}','水平軸','設置圖表','趨勢線粗細','11OkOwMn','字段設置','(空)','空心矩形','更多設置','標籤位置','線類型','佈局類型','逆序軸','折線圖','248441bUSigk','空心正方形','雷達圖','最小值','空心圓形','移動平均','編輯圖表','指示值','日期格式將日期和時間系列數值顯示為日期值。','數據點樣式','氣泡圖至少需要2欄,X軸、Y軸。','主標題','柱狀圖','打開圖表面板','第一四分位數','漏斗圖','扇形間距','趨勢線名稱','指示線顏色','面積圖','系列\x20{0}','{0}\x20格式','558185ikeQQT','指示標籤','空心圓角矩形','2785749cnrAwd','{0}\x20大小','Y軸標題','插入圖表','視覺映射範圍','使用值作為節點大小','詞雲圖','5811490YUsWKi','多邊形','氣泡圖','背景顏色','移動平均周期','數據標籤','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','顯示小計','隱藏圖表面板','8ffMuCs','R平方','設置標籤格式','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','負數類型','第三四分位數','所有系列','標題位置','百分比堆疊面積圖','{0}\x20形狀','使用右軸','長條圖系列','股票圖','趨勢線','圓角矩形','右垂直軸','圖表類型','標籤旋轉','顯示數據標籤','趨勢線類型','節點形狀','網格線和刻度線','切換列或欄','空心菱形','右對齊'];_0x1639=function(){return _0x592ada;};return _0x1639();}const e={'chart':{'insertChart':_0x40a655(0xdf),'editChart':_0x40a655(0xc9),'openChartPanel':_0x40a655(0xd0),'deleteChart':'刪除圖表','hideChartPanel':_0x40a655(0xeb),'setupChart':_0x40a655(0xb7),'customChart':_0x40a655(0xb1),'default':'默認','reset':'重置','chartType':_0x40a655(0xfc),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x40a655(0xf2),'series':'系列','addSeries':'添加系列','moreSettings':_0x40a655(0xbd),'min':_0x40a655(0xc6),'max':'最大值','invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':_0x40a655(0xbb),'seriesBlock':{'format':'格式','dataPointStyle':_0x40a655(0xcc)},'backgroundColor':_0x40a655(0xe6),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x40a655(0xce),'subTitle':'副標題','xAxisTitle':_0x40a655(0x10e),'yAxisTitle':_0x40a655(0xde),'rightYAxisTitle':_0x40a655(0xac),'titleFormat':_0x40a655(0xab),'titleText':'標題文本','titlePosition':_0x40a655(0xf3),'titleAlign':_0x40a655(0xb0)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x40a655(0x102),'useAsCategoryLabels':_0x40a655(0xb2),'showEmptyCellsAs':_0x40a655(0xae)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x40a655(0x93),'center':'居中','right':_0x40a655(0x104)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':_0x40a655(0x8d),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x40a655(0xad),'horizontalAxis':_0x40a655(0xb6),'verticalAxis':_0x40a655(0x95),'rightVerticalAxis':_0x40a655(0xfb),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x40a655(0xf6)},'position':'位置','dataLabels':_0x40a655(0xe8),'gridlinesAndTicks':_0x40a655(0x101),'indicatorLine':'指示線','indicatorLineType':'指示線類型','indicatorLineColor':_0x40a655(0xd5),'indicatorLabel':_0x40a655(0xda),'indicatorValue':_0x40a655(0xca),'shape':{'polygon':_0x40a655(0xe4),'circle':'圓形','square':'正方形','triangle':_0x40a655(0x10b),'diamond':'菱形','rect':'矩形','roundRect':_0x40a655(0xfa),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x40a655(0xc7),'emptySquare':_0x40a655(0xc4),'emptyTriangle':_0x40a655(0x85),'emptyDiamond':_0x40a655(0x103),'emptyRect':_0x40a655(0xbc),'emptyRoundRect':_0x40a655(0xdb),'emptyPin':_0x40a655(0x92),'emptyArrow':_0x40a655(0xa4)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x40a655(0x105),'withColor':'{0}\x20顏色','withThickness':'{0}\x20粗細','withType':_0x40a655(0x96),'withSize':_0x40a655(0xdd),'withShape':_0x40a655(0xf5),'withFormat':_0x40a655(0xd8),'dataPoint':_0x40a655(0xa7),'dataNodeShape':_0x40a655(0x100),'addDataPoint':'添加數據點','point':_0x40a655(0xa7),'percentage':_0x40a655(0x108),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x40a655(0xa0)},'lineDashType':_0x40a655(0xbf),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':'網格線'},'ticks':{'majorTick':_0x40a655(0x10d),'tickPosition':_0x40a655(0x88),'tickLength':_0x40a655(0x90)},'none':'無','theIndexItem':_0x40a655(0x94),'seriesDefaultName':_0x40a655(0xd7),'categoryDefaultName':_0x40a655(0xb5),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x40a655(0xfe),'padAngle':_0x40a655(0xd3),'halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':_0x40a655(0x89),'pieValSuffix':'数值后缀','pieDigitalFixed':_0x40a655(0x8a),'showLabelLine':_0x40a655(0x9b),'reverseAxisOrder':_0x40a655(0xc1),'showAxisLine':_0x40a655(0xa1),'labelPosition':_0x40a655(0xbe),'labelText':'標籤文本','repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':_0x40a655(0xb3),'labelRotate':_0x40a655(0xfd),'wordCloudShape':_0x40a655(0x83),'useDateAxis':_0x40a655(0x91),'dateAxisTips':_0x40a655(0x8c)},'radar':{'fill':'填充'},'doughnutHole':_0x40a655(0x86),'msg':{'invalidSource':'圖表數據源必須包含多於1列和1欄。','emptyTips':'請先添加系列開始數據可視化','sankeyCircularTips':_0x40a655(0x9d)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x40a655(0xf9),'displayName':_0x40a655(0xd4),'addTrendLine':_0x40a655(0x81),'trendlineType':_0x40a655(0xff),'trendlineName':_0x40a655(0xd4),'trendlineColor':_0x40a655(0x106),'trendlineThickness':_0x40a655(0xb8),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x40a655(0xc8),'poly':'多項式','order':_0x40a655(0x87),'period':_0x40a655(0xe7),'showFormula':'顯示公式','showR2':_0x40a655(0x8f),'formula':'公式','r2':_0x40a655(0xed)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x40a655(0x10a),'label':_0x40a655(0x9c),'emptyTips':_0x40a655(0xcd)},'relation':{'title':_0x40a655(0x9f),'auto':'自動','circular':'環形','force':'力導向','useValueAsSymbolSize':_0x40a655(0xe1),'layoutType':_0x40a655(0xc0),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':'旋轉標籤','emphasis':_0x40a655(0x9e),'emptyTips':_0x40a655(0xef)},'waterfall':{'stackType':_0x40a655(0x107),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x40a655(0xea),'positiveStyle':'正值樣式','negativeStyle':'負值樣式','subtotalStyle':'小計樣式','positiveLegendText':_0x40a655(0xa6),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0x40a655(0xa5)},'pareto':{'lineName':_0x40a655(0xb4),'lineSeries':'累積占比系列','barSeries':_0x40a655(0xf7)},'visualMapScope':_0x40a655(0xe0),'boxplot':{'min':_0x40a655(0xc6),'q1':_0x40a655(0xd1),'median':_0x40a655(0x9a),'q3':_0x40a655(0xf1),'max':'最大值'}},'chartTypes':{'line':_0x40a655(0xc2),'area':_0x40a655(0xd6),'areaStacked':_0x40a655(0x84),'areaPercentStacked':_0x40a655(0xf4),'column':_0x40a655(0xcf),'bar':_0x40a655(0x8e),'barStacked':'堆疊條形圖','barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x40a655(0x98),'scatter':_0x40a655(0x109),'radar':_0x40a655(0xc5),'bubble':_0x40a655(0xe5),'stock':_0x40a655(0xf8),'combination':_0x40a655(0x99),'wordCloud':_0x40a655(0xe2),'funnel':_0x40a655(0xd2),'relation':_0x40a655(0x9f),'waterfall':'瀑布圖','pareto':_0x40a655(0xa2),'sankey':_0x40a655(0x8b),'heatmap':'熱力圖','boxplot':_0x40a655(0xaa)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x40a655(0xba),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x40a655(0xe9),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x40a655(0xcb),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':'小數位數','currencyTypes':_0x40a655(0xaf),'negativeNumberTypes':_0x40a655(0xf0),'dateTypes':_0x40a655(0xa3)},'setFormat':_0x40a655(0xee)}};export{e as default};
1
+ function _0x2bd1(){const _0x5cd73a=['組合圖','R平方','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','長條圖系列','負值圖例文本','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','顯示R平方','最大值','標籤位置','圖表類型','(空)','數據點樣式','指示值','重複詞雲標籤','負數類型','圓角矩形','百分比','空心正方形','刪除圖表','866994WSWXBv','堆疊面積圖','節點距離','主刻度線','趨勢線類型','標籤旋轉','小數位數','圖表樣式','指示線','中位數','空心圓形','設置圖表','視覺映射範圍','折線圖','更多設置','10cbfeNm','用直線連接數據點','請先添加系列開始數據可視化','負值樣式','顯示公式','2973720lHPqYk','所有系列','{0}\x20透明度','多項式','百分比堆疊','{0}\x20粗細','398171wAZhsA','空心針形','設置標籤格式','字段設置','垂直軸','正值樣式','移動平均周期','数值后缀','常規格式不包含任何特定的數字格式。','{0}\x20格式','日期格式將日期和時間系列數值顯示為日期值。','圖表數據源必須包含多於1列和1欄。','指示線顏色','数值比例','氣泡圖至少需要2欄,X軸、Y軸。','副標題','線類型','股票圖','空心三角形','插入圖表','顯示標籤線','隱藏圖表面板','日期類型','網格線和刻度線','環形圖','切換列或欄','軸選項','圓環孔','右Y軸標題','標題對齊','使用日期軸','指示標籤','Y軸標題','圖表和軸標題','圖例選擇模式','堆疊方式','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','類別\x20{0}','右對齊','最小值','扇形間距','標題格式','數據點','背景顏色','百分比堆疊條形圖','主標題','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','力導向','{0}\x20形狀','顯示標籤','趨勢線名稱','1494832KUBZuO','左對齊','雷達圖','熱力圖','網格線','9HhDyFJ','第一四分位數','使用\x20{0}\x20作為類別標籤','節點形狀','使用右軸','開啟選中淡入特效','力導向選項','添加系列','1743DUZdHk','打開圖表面板','標籤文本','氣泡大小','逆序軸','趨勢線','排列圖','桑基圖不能包含循環數據','{0}\x20大小','數據標籤','904852wdBEOk','主網格線','關係圖','趨勢線顏色','893438WONxMf','顯示軸線','空心箭頭','空心矩形','正值圖例文本','第\x20{0}\x20項','箱型圖','正方形','右垂直軸','顯示空單元格為','{0}\x20顏色','漏斗圖','堆疊條形圖','X軸標題','水平軸','貨幣類型','三角形','空心圓角矩形','使用絕對值','第三四分位數','千分位符','瀑布圖','718ZPOuKp','系列\x20{0}'];_0x2bd1=function(){return _0x5cd73a;};return _0x2bd1();}const _0x4b5278=_0x451f;function _0x451f(_0x2e4984,_0x1bcca8){_0x2e4984=_0x2e4984-0x88;const _0x2bd181=_0x2bd1();let _0x451fb6=_0x2bd181[_0x2e4984];return _0x451fb6;}(function(_0x5eee3e,_0x2ed46e){const _0x4672b8=_0x451f,_0x295194=_0x5eee3e();while(!![]){try{const _0x29031a=-parseInt(_0x4672b8(0x106))/0x1+parseInt(_0x4672b8(0xd7))/0x2*(-parseInt(_0x4672b8(0xb3))/0x3)+parseInt(_0x4672b8(0xbd))/0x4*(parseInt(_0x4672b8(0xfb))/0x5)+parseInt(_0x4672b8(0xec))/0x6+-parseInt(_0x4672b8(0xc1))/0x7+-parseInt(_0x4672b8(0xa6))/0x8*(-parseInt(_0x4672b8(0xab))/0x9)+parseInt(_0x4672b8(0x100))/0xa;if(_0x29031a===_0x2ed46e)break;else _0x295194['push'](_0x295194['shift']());}catch(_0x188fe8){_0x295194['push'](_0x295194['shift']());}}}(_0x2bd1,0x54a8f));const e={'chart':{'insertChart':_0x4b5278(0x119),'editChart':'編輯圖表','openChartPanel':_0x4b5278(0xb4),'deleteChart':_0x4b5278(0xeb),'hideChartPanel':_0x4b5278(0x88),'setupChart':_0x4b5278(0xf7),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x4b5278(0xe2),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x4b5278(0x101),'series':'系列','addSeries':_0x4b5278(0xb2),'moreSettings':_0x4b5278(0xfa),'min':_0x4b5278(0x9a),'max':_0x4b5278(0xe0),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x4b5278(0xfc)},'blank':_0x4b5278(0xe3),'seriesBlock':{'format':'格式','dataPointStyle':_0x4b5278(0xe4)},'backgroundColor':_0x4b5278(0x9e),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x4b5278(0xa0),'subTitle':_0x4b5278(0x115),'xAxisTitle':_0x4b5278(0xce),'yAxisTitle':_0x4b5278(0x93),'rightYAxisTitle':_0x4b5278(0x8f),'titleFormat':_0x4b5278(0x9c),'titleText':'標題文本','titlePosition':'標題位置','titleAlign':_0x4b5278(0x90)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x4b5278(0x8c),'useAsCategoryLabels':_0x4b5278(0xad),'showEmptyCellsAs':_0x4b5278(0xca)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x4b5278(0xa7),'center':'居中','right':_0x4b5278(0x99)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x4b5278(0xf3),'chartAndAxisTitles':_0x4b5278(0x94),'legend':'圖例','legendSelectMode':_0x4b5278(0x95),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x4b5278(0x8d),'horizontalAxis':_0x4b5278(0xcf),'verticalAxis':_0x4b5278(0x10a),'rightVerticalAxis':_0x4b5278(0xc9),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x4b5278(0xaf)},'position':'位置','dataLabels':_0x4b5278(0xbc),'gridlinesAndTicks':_0x4b5278(0x8a),'indicatorLine':_0x4b5278(0xf4),'indicatorLineType':'指示線類型','indicatorLineColor':_0x4b5278(0x112),'indicatorLabel':_0x4b5278(0x92),'indicatorValue':_0x4b5278(0xe5),'shape':{'polygon':'多邊形','circle':'圓形','square':_0x4b5278(0xc8),'triangle':_0x4b5278(0xd1),'diamond':'菱形','rect':'矩形','roundRect':_0x4b5278(0xe8),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x4b5278(0xf6),'emptySquare':_0x4b5278(0xea),'emptyTriangle':_0x4b5278(0x118),'emptyDiamond':'空心菱形','emptyRect':_0x4b5278(0xc4),'emptyRoundRect':_0x4b5278(0xd2),'emptyPin':_0x4b5278(0x107),'emptyArrow':_0x4b5278(0xc3)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x4b5278(0x102),'withColor':_0x4b5278(0xcb),'withThickness':_0x4b5278(0x105),'withType':'{0}\x20類型','withSize':_0x4b5278(0xbb),'withShape':_0x4b5278(0xa3),'withFormat':_0x4b5278(0x10f),'dataPoint':_0x4b5278(0x9d),'dataNodeShape':_0x4b5278(0xae),'addDataPoint':'添加數據點','point':'數據點','percentage':_0x4b5278(0xe9),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x4b5278(0x104)},'lineDashType':_0x4b5278(0x116),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x4b5278(0xbe),'text':_0x4b5278(0xaa)},'ticks':{'majorTick':_0x4b5278(0xef),'tickPosition':'刻度線位置','tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x4b5278(0xc6),'seriesDefaultName':_0x4b5278(0xd8),'categoryDefaultName':_0x4b5278(0x98),'styleEditPanel':{'showLabels':_0x4b5278(0xa4),'showDataLabels':'顯示數據標籤','padAngle':_0x4b5278(0x9b),'halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':_0x4b5278(0x113),'pieValSuffix':_0x4b5278(0x10d),'pieDigitalFixed':'小數位數','showLabelLine':_0x4b5278(0x11a),'reverseAxisOrder':_0x4b5278(0xb7),'showAxisLine':_0x4b5278(0xc2),'labelPosition':_0x4b5278(0xe1),'labelText':_0x4b5278(0xb5),'repeatWordCould':_0x4b5278(0xe6),'gap':'間隔','useAbsValue':_0x4b5278(0xd3),'labelRotate':_0x4b5278(0xf1),'wordCloudShape':'詞雲形狀','useDateAxis':_0x4b5278(0x91),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x4b5278(0x8e),'msg':{'invalidSource':_0x4b5278(0x111),'emptyTips':_0x4b5278(0xfd),'sankeyCircularTips':_0x4b5278(0xba)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x4b5278(0xb8),'displayName':_0x4b5278(0xa5),'addTrendLine':'添加趨勢線','trendlineType':_0x4b5278(0xf0),'trendlineName':'趨勢線名稱','trendlineColor':_0x4b5278(0xc0),'trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x4b5278(0x103),'order':'多項式階數','period':_0x4b5278(0x10c),'showFormula':_0x4b5278(0xff),'showR2':_0x4b5278(0xdf),'formula':'公式','r2':_0x4b5278(0xda)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x4b5278(0xb6),'label':'氣泡標籤','emptyTips':_0x4b5278(0x114)},'relation':{'title':_0x4b5278(0xbf),'auto':'自動','circular':'環形','force':_0x4b5278(0xa2),'useValueAsSymbolSize':'使用值作為節點大小','layoutType':'佈局類型','forceOptions':_0x4b5278(0xb1),'repulsion':'斥力','gravity':'引力','edgeLength':_0x4b5278(0xee),'rotateLabel':'旋轉標籤','emphasis':_0x4b5278(0xb0),'emptyTips':_0x4b5278(0xde)},'waterfall':{'stackType':_0x4b5278(0x96),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x4b5278(0x10b),'negativeStyle':_0x4b5278(0xfe),'subtotalStyle':'小計樣式','positiveLegendText':_0x4b5278(0xc5),'negativeLegendText':_0x4b5278(0xdd),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':'累積占比','lineSeries':'累積占比系列','barSeries':_0x4b5278(0xdc)},'visualMapScope':_0x4b5278(0xf8),'boxplot':{'min':_0x4b5278(0x9a),'q1':_0x4b5278(0xac),'median':_0x4b5278(0xf5),'q3':_0x4b5278(0xd4),'max':'最大值'}},'chartTypes':{'line':_0x4b5278(0xf9),'area':'面積圖','areaStacked':_0x4b5278(0xed),'areaPercentStacked':'百分比堆疊面積圖','column':'柱狀圖','bar':'條形圖','barStacked':_0x4b5278(0xcd),'barPercentStacked':_0x4b5278(0x9f),'pie':'餅圖','donut':_0x4b5278(0x8b),'scatter':'散點圖','radar':_0x4b5278(0xa8),'bubble':'氣泡圖','stock':_0x4b5278(0x117),'combination':_0x4b5278(0xd9),'wordCloud':'詞雲圖','funnel':_0x4b5278(0xcc),'relation':_0x4b5278(0xbf),'waterfall':_0x4b5278(0xd6),'pareto':_0x4b5278(0xb9),'sankey':'桑基圖','heatmap':_0x4b5278(0xa9),'boxplot':_0x4b5278(0xc7)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x4b5278(0xd5),'fieldSetting':_0x4b5278(0x109),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x4b5278(0x10e),'accountingDesc':_0x4b5278(0xdb),'currencyDesc':_0x4b5278(0xa1),'dateDesc':_0x4b5278(0x110),'thousandthPercentileDesc':_0x4b5278(0x97),'decimalPlaces':_0x4b5278(0xf2),'currencyTypes':_0x4b5278(0xd0),'negativeNumberTypes':_0x4b5278(0xe7),'dateTypes':_0x4b5278(0x89)},'setFormat':_0x4b5278(0x108)}};export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x10944c=_0x41e3;(function(_0x185292,_0xd34933){const _0x1736fa=_0x41e3,_0x51463e=_0x185292();while(!![]){try{const _0x3b490f=parseInt(_0x1736fa(0x1ec))/0x1+-parseInt(_0x1736fa(0x168))/0x2*(parseInt(_0x1736fa(0x17c))/0x3)+-parseInt(_0x1736fa(0x1e5))/0x4+-parseInt(_0x1736fa(0x183))/0x5+parseInt(_0x1736fa(0x1c5))/0x6*(-parseInt(_0x1736fa(0x175))/0x7)+parseInt(_0x1736fa(0x1a2))/0x8*(parseInt(_0x1736fa(0x207))/0x9)+parseInt(_0x1736fa(0x1b1))/0xa*(parseInt(_0x1736fa(0x16a))/0xb);if(_0x3b490f===_0xd34933)break;else _0x51463e['push'](_0x51463e['shift']());}catch(_0xf61b3c){_0x51463e['push'](_0x51463e['shift']());}}}(_0x4c1c,0xa5428));var R=Object[_0x10944c(0x1d5)],k=(_0x131975,_0x2d0c3a,_0x3fe063)=>_0x2d0c3a in _0x131975?R(_0x131975,_0x2d0c3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fe063}):_0x131975[_0x2d0c3a]=_0x3fe063,n=(_0x59b8d0,_0x301d1c,_0x4eba7e)=>k(_0x59b8d0,typeof _0x301d1c!='symbol'?_0x301d1c+'':_0x301d1c,_0x4eba7e);import{ChartThemeService as _0x20527d,ChartTypeBits as _0x5a09f2,LegendPositionEnum as _0x521b07,SelectModeEnum as _0x5bfc91,AxisAlignEnum as _0x57109a,ChartBorderDashType as _0x2fae8d,LinePointShape as _0x1f0eb7,TitlePositionEnum as _0x40cf4c,RadarShape as _0x50d29d}from'@univerjs-pro/engine-chart';function _0x4c1c(){const _0x2c614b=['showLabelLine','SelectModeEnum','tooltip.indicatorLineColor','4529532LJMTmE','allSeriesStyle.point.size','titles.xAxisTitle.fontSize','titles.yAxisTitle.bold','titleAlignment','isRowDirection','_workbook','setDataPointShape','modify','color','radar','yAxis.label.axisTitleAlign','get','pie.rosePie','titles.rightYAxisTitle.color','with','defineProperty','titles.yAxisTitle.fontSize','content','legend.position','registerTheme','dataSource','titles.rightYAxisTitle.font','getSheetId','setHasPaddingAngle','registerChartTheme','updateRange','setDataPointSize','title','getRangeInfo','Radar','_injector','2834212hjcwKn','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','transposeRowsAndColumns','isHalfPie','RadarShape','options','config','1186427fJgAyn','setTheme','pie.doughnutHole','getRange','area','axisPointer','titles.title.align','fontSize','titles.rightYAxisTitle.family','fill','range','indicatorLineType','getRenderById','yRightAxis','sheetName','width','_commandService','setDoughnutHole','getUnitChartModels','extend','legend','LegendPositionEnum','setShape','build','allSeriesStyle.label','theme','setTransposeRowsAndColumns','9xzcaPh','getCharts','titles.rightYAxisTitle.fontSize','font','height','yAxisTitle','titles.titlePosition','keys','style','yAxis','pie.hasPaddingAngle','titles.xAxisTitle.color','seriesStyleMap','radar.shape','setXAxisTitle','label','allSeriesStyle.point.shape','removeChart','setBorderColor','allSeriesStyle.color','tooltip.indicatorLineType','getChartModel','40WQFKUX','TitlePositionEnum','19681057YxClHr','legend.label.italic','addRange','chartId','dataPointSize','pie.borderColor','getCurrentUnitForType','series','legend.label.fontSize','Line','setAxisPointerStyle','7hELUVh','titles.yAxisTitle.content','rightYAxisTitle','borderColor','getSeriesData','setAbsolutePosition','setSeriesStyle','144219oNLKRR','dataPointShape','insertChart','indicatorLabelColor','shape','setHeight','setRightYAxisTextStyle','889760pMRaQc','setLineStyle','context','point','ChartBorderDashType','tooltip.indicatorLabelTextColor','area.lineStyle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','newChart','xAxis','asLineChart','pie.showLabelLine','selectMode','chartType','titles.title.fontSize','doughnutHole','titles.yAxisTitle.family','setXAxisTextStyle','bold','allSeriesStyle.border','asPieChart','pie.isHalfPie','invalidValueType','setPosition','position','gradientFill','titles.xAxisTitle.bold','executeCommand','sourceSheetName','titles.title.content','titles.rightYAxisTitle.content','2433416SaUagR','titles.xAxisTitle.font','dataPointColor','fontColor','titles.title.color','rightYAxis.label.axisTitleAlign','lineStyle','setFill','getWorkbook','axisAlignment','setYAxisTextStyle','unitId','setWidth','legend.label.color','setYAxisTitle','10eAfbGZ','getChartType','asRadarChart','allSeriesStyle.rightYAxis','updateChart','xAxisTitle','italic','rosePie','indicatorLineColor','getUnitId','getCategoryData','setDataPointColor','hasPaddingAngle','fontStyle','allSeriesStyle','subUnitId','setOptions'];_0x4c1c=function(){return _0x2c614b;};return _0x4c1c();}import{setProperty as _0x29f036,SheetsChartService as _0x20c9fa,ChartUpdateSourceCommand as _0x3572ae,ChartUpdateConfigCommand as _0x7599d8}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x27bf68}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x517e7b,IUniverInstanceService as _0x35dffc,UniverInstanceType as _0x547afe,generateRandomId as _0x11d337,DrawingTypeEnum as _0x32cc3e}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x47a34a}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x17a4af}from'@univerjs/sheets/facade';import{FBase as _0x3b84a3,FEnum as _0x3844c7}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x4eca41}from'@univerjs/engine-formula';import{IRenderManagerService as _0x95dd3c}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x493398,SheetSkeletonManagerService as _0x38ed0f,convertPositionCellToSheetOverGrid as _0x38c2ab}from'@univerjs/sheets-ui';const s=(_0x16647b,_0x2d91ea,_0x50059d)=>{_0x50059d!==void 0x0&&_0x29f036(_0x16647b,_0x2d91ea,_0x50059d);},C=(_0x3912d4,_0x1f1ef3,_0x382485,_0x4bbe7d={})=>{const _0x28e0e4=_0x10944c,_0x200afb={},_0x1dd2ea={};if(_0x4bbe7d['title']){const _0x5c8345=_0x4bbe7d[_0x28e0e4(0x1e1)];s(_0x200afb,_0x28e0e4(0x1a0),_0x5c8345['content']),s(_0x200afb,'titles.title.font',_0x5c8345['font']),s(_0x200afb,_0x28e0e4(0x191),_0x5c8345['fontSize']),s(_0x200afb,_0x28e0e4(0x1a6),_0x5c8345[_0x28e0e4(0x1a5)]),s(_0x200afb,'titles.title.family',_0x5c8345[_0x28e0e4(0x1be)]),s(_0x200afb,'titles.title.bold',_0x5c8345[_0x28e0e4(0x195)]),s(_0x200afb,_0x28e0e4(0x1f2),_0x5c8345[_0x28e0e4(0x1c9)]),s(_0x200afb,_0x28e0e4(0x158),_0x5c8345[_0x28e0e4(0x19b)]);}if(_0x4bbe7d[_0x28e0e4(0x200)]){const _0x5405cf=_0x4bbe7d[_0x28e0e4(0x200)];s(_0x200afb,_0x28e0e4(0x1d8),_0x5405cf[_0x28e0e4(0x19b)]),s(_0x200afb,'legend.selectMode',_0x5405cf[_0x28e0e4(0x18f)]),s(_0x200afb,_0x28e0e4(0x172),_0x5405cf['fontSize']),s(_0x200afb,_0x28e0e4(0x1af),_0x5405cf[_0x28e0e4(0x1ce)]),s(_0x200afb,'legend.label.bold',_0x5405cf['bold']),s(_0x200afb,_0x28e0e4(0x16b),_0x5405cf[_0x28e0e4(0x1b7)]);}if(_0x4bbe7d['pie']){const _0x5d103a=_0x4bbe7d['pie'];s(_0x200afb,_0x28e0e4(0x1ee),_0x5d103a[_0x28e0e4(0x192)]),s(_0x200afb,'pie.borderColor',_0x5d103a[_0x28e0e4(0x178)]),s(_0x200afb,_0x28e0e4(0x15c),_0x5d103a['hasPaddingAngle']),s(_0x200afb,_0x28e0e4(0x198),_0x5d103a[_0x28e0e4(0x1e8)]),s(_0x200afb,_0x28e0e4(0x1d2),_0x5d103a[_0x28e0e4(0x1b8)]),s(_0x200afb,_0x28e0e4(0x18e),_0x5d103a[_0x28e0e4(0x1c2)]);}if(_0x4bbe7d[_0x28e0e4(0x1f1)]){const _0x1172f2=_0x4bbe7d[_0x28e0e4(0x1f1)];s(_0x200afb,'tooltip.indicatorLabelColor',_0x1172f2[_0x28e0e4(0x17f)]),s(_0x200afb,_0x28e0e4(0x166),_0x1172f2[_0x28e0e4(0x1f7)]),s(_0x200afb,_0x28e0e4(0x1c4),_0x1172f2[_0x28e0e4(0x1b9)]),s(_0x200afb,_0x28e0e4(0x188),_0x1172f2['indicatorLabelTextColor']);}if(_0x4bbe7d[_0x28e0e4(0x1bf)]&&(s(_0x200afb,_0x28e0e4(0x196),_0x4bbe7d[_0x28e0e4(0x1bf)]['border']),s(_0x200afb,_0x28e0e4(0x204),_0x4bbe7d[_0x28e0e4(0x1bf)][_0x28e0e4(0x161)]),s(_0x200afb,_0x28e0e4(0x1b4),_0x4bbe7d['allSeriesStyle']['rightYAxis']),s(_0x200afb,'allSeriesStyle.point',_0x4bbe7d[_0x28e0e4(0x1bf)][_0x28e0e4(0x186)]),s(_0x200afb,_0x28e0e4(0x165),_0x4bbe7d[_0x28e0e4(0x1bf)][_0x28e0e4(0x1ce)])),_0x4bbe7d[_0x28e0e4(0x1f0)]&&s(_0x200afb,_0x28e0e4(0x189),_0x4bbe7d['area'][_0x28e0e4(0x1a8)]),_0x4bbe7d[_0x28e0e4(0x205)]&&s(_0x200afb,_0x28e0e4(0x205),_0x4bbe7d[_0x28e0e4(0x205)]),_0x4bbe7d['backgroundColor']&&s(_0x200afb,'backgroundColor',_0x4bbe7d['backgroundColor']),_0x4bbe7d[_0x28e0e4(0x178)]&&s(_0x200afb,'borderColor',_0x4bbe7d[_0x28e0e4(0x178)]),_0x4bbe7d[_0x28e0e4(0x19c)]&&s(_0x200afb,_0x28e0e4(0x19c),_0x4bbe7d[_0x28e0e4(0x19c)]),_0x4bbe7d[_0x28e0e4(0x199)]&&s(_0x200afb,_0x28e0e4(0x199),_0x4bbe7d['invalidValueType']),_0x4bbe7d[_0x28e0e4(0x1cf)]&&s(_0x200afb,_0x28e0e4(0x1cf),_0x4bbe7d[_0x28e0e4(0x1cf)]),_0x4bbe7d[_0x28e0e4(0x1b6)]){const _0xa3374=_0x4bbe7d[_0x28e0e4(0x1b6)];s(_0x200afb,'titles.xAxisTitle.content',_0xa3374['content']),s(_0x200afb,_0x28e0e4(0x1a3),_0xa3374[_0x28e0e4(0x155)]),s(_0x200afb,_0x28e0e4(0x1c7),_0xa3374[_0x28e0e4(0x1f3)]),s(_0x200afb,_0x28e0e4(0x15d),_0xa3374[_0x28e0e4(0x1a5)]),s(_0x200afb,'titles.xAxisTitle.family',_0xa3374[_0x28e0e4(0x1be)]),s(_0x200afb,_0x28e0e4(0x19d),_0xa3374[_0x28e0e4(0x195)]),s(_0x200afb,'xAxis.label.axisTitleAlign',_0xa3374[_0x28e0e4(0x1ab)]);}if(_0x4bbe7d[_0x28e0e4(0x157)]){const _0x37fda5=_0x4bbe7d[_0x28e0e4(0x157)];s(_0x200afb,_0x28e0e4(0x176),_0x37fda5['content']),s(_0x200afb,'titles.yAxisTitle.font',_0x37fda5['font']),s(_0x200afb,_0x28e0e4(0x1d6),_0x37fda5[_0x28e0e4(0x1f3)]),s(_0x200afb,'titles.yAxisTitle.color',_0x37fda5[_0x28e0e4(0x1a5)]),s(_0x200afb,_0x28e0e4(0x193),_0x37fda5[_0x28e0e4(0x1be)]),s(_0x200afb,_0x28e0e4(0x1c8),_0x37fda5['bold']),s(_0x200afb,_0x28e0e4(0x1d0),_0x37fda5[_0x28e0e4(0x1ab)]);}if(_0x4bbe7d[_0x28e0e4(0x177)]){const _0x3aaa7e=_0x4bbe7d[_0x28e0e4(0x177)];s(_0x200afb,_0x28e0e4(0x1a1),_0x3aaa7e['content']),s(_0x200afb,_0x28e0e4(0x1db),_0x3aaa7e[_0x28e0e4(0x155)]),s(_0x200afb,_0x28e0e4(0x154),_0x3aaa7e[_0x28e0e4(0x1f3)]),s(_0x200afb,_0x28e0e4(0x1d3),_0x3aaa7e[_0x28e0e4(0x1a5)]),s(_0x200afb,_0x28e0e4(0x1f4),_0x3aaa7e[_0x28e0e4(0x1be)]),s(_0x200afb,'titles.rightYAxisTitle.bold',_0x3aaa7e[_0x28e0e4(0x195)]),s(_0x200afb,_0x28e0e4(0x1a7),_0x3aaa7e[_0x28e0e4(0x1ab)]);}_0x4bbe7d[_0x28e0e4(0x18c)]&&s(_0x200afb,_0x28e0e4(0x18c),_0x4bbe7d[_0x28e0e4(0x18c)]),_0x4bbe7d[_0x28e0e4(0x15b)]&&s(_0x200afb,_0x28e0e4(0x15b),_0x4bbe7d[_0x28e0e4(0x15b)]),_0x4bbe7d[_0x28e0e4(0x1f9)]&&s(_0x200afb,'rightYAxis',_0x4bbe7d[_0x28e0e4(0x1f9)]),_0x4bbe7d[_0x28e0e4(0x15e)]&&s(_0x200afb,_0x28e0e4(0x15e),_0x4bbe7d[_0x28e0e4(0x15e)]);const _0x502525={'unitId':_0x3912d4,'chartModelId':_0x1f1ef3};let _0x3d77f5=!0x1;if(_0x382485!==void 0x0&&(_0x502525[_0x28e0e4(0x190)]=_0x382485,_0x3d77f5=!0x0),Object['keys'](_0x200afb)['length']>0x0&&(_0x502525[_0x28e0e4(0x15a)]=_0x200afb,_0x3d77f5=!0x0),Object[_0x28e0e4(0x159)](_0x1dd2ea)['length']>0x0&&(_0x502525[_0x28e0e4(0x185)]=_0x1dd2ea,_0x3d77f5=!0x0),_0x3d77f5)return _0x502525;};class c extends _0x3b84a3{constructor(_0x322a89,_0x233c32,_0x7dffca,_0x3bbe6a,_0x177a2c){const _0x1abe82=_0x10944c;super(),n(this,'_workbook'),n(this,_0x1abe82(0x1e4)),n(this,_0x1abe82(0x1ad)),n(this,_0x1abe82(0x1c0)),n(this,_0x1abe82(0x16d)),n(this,_0x1abe82(0x1f6)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x1abe82(0x1fb)),n(this,_0x1abe82(0x156)),n(this,_0x1abe82(0x190)),n(this,_0x1abe82(0x1ea)),n(this,_0x1abe82(0x1e7)),(this['unitId']=_0x322a89,this[_0x1abe82(0x1c0)]=_0x233c32,this['_workbook']=_0x7dffca,this['_injector']=_0x3bbe6a,_0x177a2c&&(this[_0x1abe82(0x16d)]=_0x177a2c));}[_0x10944c(0x1b2)](){const _0x3c3c6a=_0x10944c;return this[_0x3c3c6a(0x190)];}[_0x10944c(0x16c)](_0x3f5a39){const _0x41a976=_0x10944c;if(typeof _0x3f5a39=='string'){const _0x57e0dd=_0x4eca41(_0x3f5a39);_0x57e0dd['sheetName']&&(this[_0x41a976(0x19f)]=_0x57e0dd[_0x41a976(0x1fa)]),this[_0x41a976(0x1f6)]=_0x57e0dd[_0x41a976(0x1f6)];}else this[_0x41a976(0x1f6)]=_0x3f5a39;return this;}['clearRange'](){const _0x16deea=_0x10944c;return this['range']=void 0x0,this[_0x16deea(0x19f)]=void 0x0,this;}[_0x10944c(0x19a)](_0x1e8e16,_0x254266,_0x372004,_0x3add08){const _0x49a412=_0x10944c,_0x14d6aa=this['_injector']['get'](_0x95dd3c)[_0x49a412(0x1f8)](this[_0x49a412(0x1ad)]);if(!_0x14d6aa)throw new Error(_0x49a412(0x18a));const _0x32b070=_0x14d6aa[_0x49a412(0x1d4)](_0x493398),_0x4d6d2a=_0x14d6aa[_0x49a412(0x1d4)](_0x38ed0f),{transform:_0x5d09bb}=_0x38c2ab(this[_0x49a412(0x1ad)],this[_0x49a412(0x1c0)],{'row':_0x1e8e16,'column':_0x254266,'rowOffset':_0x372004,'columnOffset':_0x3add08},0x1,0x1,_0x32b070,_0x4d6d2a),_0x465c39=_0x5d09bb['top'],_0x390eb8=_0x5d09bb['left'];return this['x']=_0x390eb8,this['y']=_0x465c39,this;}[_0x10944c(0x17a)](_0x15c707,_0x502d2c){return this['x']=_0x15c707,this['y']=_0x502d2c,this;}['setChartType'](_0x1d27f5){const _0x174fad=_0x10944c;return this[_0x174fad(0x190)]=_0x1d27f5,this;}[_0x10944c(0x1ae)](_0x298e21){return this['width']=_0x298e21,this;}[_0x10944c(0x181)](_0xe7e169){const _0x5de87a=_0x10944c;return this[_0x5de87a(0x156)]=_0xe7e169,this;}[_0x10944c(0x1c1)](_0x29746d,_0x1774eb){const _0x1f1ed2=_0x10944c;return this[_0x1f1ed2(0x1ea)]||(this[_0x1f1ed2(0x1ea)]={}),_0x29746d===''?(this[_0x1f1ed2(0x1ea)]={...this[_0x1f1ed2(0x1ea)],..._0x1774eb},this):(_0x29f036(this['options'],_0x29746d,_0x1774eb),this);}[_0x10944c(0x206)](_0x3e5382){const _0x5e72bb=_0x10944c;return this[_0x5e72bb(0x1e7)]=_0x3e5382,this;}[_0x10944c(0x1ed)](_0x53df14){const _0x140369=_0x10944c;return this[_0x140369(0x1c1)](_0x140369(0x205),_0x53df14),this;}[_0x10944c(0x160)](_0x597156){const _0x1c40a1=_0x10944c;var _0x4df304;const _0x415c17=((_0x4df304=this[_0x1c40a1(0x1ea)])==null?void 0x0:_0x4df304[_0x1c40a1(0x1b6)])||{};return _0x415c17['content']=_0x597156,this[_0x1c40a1(0x1c1)](_0x1c40a1(0x1b6),_0x415c17),this;}[_0x10944c(0x1b0)](_0x796d1){const _0x3b2bc9=_0x10944c;var _0x10af3e;const _0x2adc45=((_0x10af3e=this[_0x3b2bc9(0x1ea)])==null?void 0x0:_0x10af3e[_0x3b2bc9(0x157)])||{};return _0x2adc45[_0x3b2bc9(0x1d7)]=_0x796d1,this[_0x3b2bc9(0x1c1)](_0x3b2bc9(0x157),_0x2adc45),this;}['setRightYAxisTitle'](_0x50f28f){const _0x1f9688=_0x10944c;var _0x3fca26;const _0x56f0f5=((_0x3fca26=this[_0x1f9688(0x1ea)])==null?void 0x0:_0x3fca26[_0x1f9688(0x177)])||{};return _0x56f0f5[_0x1f9688(0x1d7)]=_0x50f28f,this['setOptions']('rightYAxisTitle',_0x56f0f5),this;}[_0x10944c(0x194)](_0x4ceadb){const _0x1e4bc8=_0x10944c;var _0x2ddfad;const _0x4ef886=((_0x2ddfad=this[_0x1e4bc8(0x1ea)])==null?void 0x0:_0x2ddfad['xAxisTitle'])||{};return this[_0x1e4bc8(0x1c1)](_0x1e4bc8(0x1b6),{..._0x4ef886,..._0x4ceadb}),this;}[_0x10944c(0x1ac)](_0x158763){const _0x3c30b9=_0x10944c;var _0x54b3f1;const _0x398e2a=((_0x54b3f1=this[_0x3c30b9(0x1ea)])==null?void 0x0:_0x54b3f1['yAxisTitle'])||{};return this[_0x3c30b9(0x1c1)](_0x3c30b9(0x157),{..._0x398e2a,..._0x158763}),this;}[_0x10944c(0x182)](_0x522a4f){const _0x2a38d9=_0x10944c;var _0x2cf872;const _0x4b7e20=((_0x2cf872=this[_0x2a38d9(0x1ea)])==null?void 0x0:_0x2cf872[_0x2a38d9(0x177)])||{};return this[_0x2a38d9(0x1c1)](_0x2a38d9(0x177),{..._0x4b7e20,..._0x522a4f}),this;}['setInvalidValueStrategy'](_0x341ea0){const _0x2e51ed=_0x10944c;return this[_0x2e51ed(0x1c1)](_0x2e51ed(0x199),_0x341ea0),this;}[_0x10944c(0x174)](_0x4677af){const _0x3215a9=_0x10944c;return this[_0x3215a9(0x1c1)](_0x3215a9(0x1f1),_0x4677af),this;}['setAllSeriesStyle'](_0x4b0ef8){const _0x1502f3=_0x10944c;return this['setOptions'](_0x1502f3(0x1bf),_0x4b0ef8),this;}[_0x10944c(0x17b)](_0x301045,_0x5ab5db){const _0x1a5176=_0x10944c;return this[_0x1a5176(0x1c1)](_0x1a5176(0x15e),{[_0x301045]:_0x5ab5db}),this;}[_0x10944c(0x203)](){const _0x3d1a23=_0x10944c;return{'unitId':this[_0x3d1a23(0x1ad)],'subUnitId':this['subUnitId'],'chartId':this[_0x3d1a23(0x16d)],'range':this[_0x3d1a23(0x1f6)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x3d1a23(0x1fb)],'height':this[_0x3d1a23(0x156)],'chartType':this[_0x3d1a23(0x190)],'options':this['options'],'isRowDirection':this['transposeRowsAndColumns']};}}class P{constructor(_0x540ad3,_0x4e3c30,_0x2fac1c,_0x8ce08c){const _0x3907da=_0x10944c;n(this,_0x3907da(0x1ad)),n(this,_0x3907da(0x1c0)),n(this,_0x3907da(0x16d)),n(this,_0x3907da(0x1e4)),(this[_0x3907da(0x1ad)]=_0x540ad3,this[_0x3907da(0x1c0)]=_0x4e3c30,this[_0x3907da(0x16d)]=_0x2fac1c,this[_0x3907da(0x1e4)]=_0x8ce08c);}['getChartId'](){return this['chartId'];}[_0x10944c(0x1ef)](){const _0x7b7f93=_0x10944c,_0x3bebba=this[_0x7b7f93(0x1e4)][_0x7b7f93(0x1d1)](_0x20c9fa)[_0x7b7f93(0x167)](this[_0x7b7f93(0x16d)]);if(_0x3bebba)return _0x3bebba[_0x7b7f93(0x1da)][_0x7b7f93(0x1e2)]();}[_0x10944c(0x1df)](_0x2c8687){const _0x5aeec3=_0x10944c;return this[_0x5aeec3(0x1e4)][_0x5aeec3(0x1d1)](_0x517e7b)[_0x5aeec3(0x19e)](_0x3572ae['id'],{'unitId':this['unitId'],'chartModelId':this['chartId'],'range':_0x2c8687});}[_0x10944c(0x179)](){const _0x4c6466=_0x10944c;var _0x293b95;const _0x265f49=this[_0x4c6466(0x1e4)][_0x4c6466(0x1d1)](_0x20c9fa)[_0x4c6466(0x167)](this['chartId']);if(_0x265f49)return(_0x293b95=_0x265f49['config'])==null?void 0x0:_0x293b95[_0x4c6466(0x171)];}[_0x10944c(0x1bb)](){const _0x24405a=_0x10944c;var _0x21c78c;const _0x2ccdd3=this['_injector'][_0x24405a(0x1d1)](_0x20c9fa)[_0x24405a(0x167)](this[_0x24405a(0x16d)]);if(_0x2ccdd3)return(_0x21c78c=_0x2ccdd3[_0x24405a(0x1eb)])==null?void 0x0:_0x21c78c['category'];}[_0x10944c(0x1cd)](){const _0x49cf6f=_0x10944c,_0xe0d2ec=this[_0x49cf6f(0x1e4)][_0x49cf6f(0x1d1)](_0x35dffc)[_0x49cf6f(0x170)](_0x547afe['UNIVER_SHEET']);return new c(this[_0x49cf6f(0x1ad)],this['subUnitId'],_0xe0d2ec,this['_injector'],this[_0x49cf6f(0x16d)]);}}class $ extends _0x17a4af{async[_0x10944c(0x17e)](_0x2cce1c){const _0x5ed3ed=_0x10944c;var _0x5501e1,_0x4c2cfd,_0x5a91c5;const _0x4e25fa=_0x2cce1c[_0x5ed3ed(0x1ad)]||this['getWorkbook']()[_0x5ed3ed(0x1ba)](),_0x664423=_0x2cce1c[_0x5ed3ed(0x1c0)]||this[_0x5ed3ed(0x1dc)](),_0x47b257=_0x2cce1c[_0x5ed3ed(0x16d)]||_0x11d337(),_0x467ac4=_0x2cce1c[_0x5ed3ed(0x190)],_0x4f2432=_0x2cce1c['range'],_0x35f01a=_0x2cce1c['sourceSheetName'],_0x4770fd={'x':_0x2cce1c['x'],'y':_0x2cce1c['y']},_0x23f064=_0x2cce1c[_0x5ed3ed(0x1fb)],_0x4e698b=_0x2cce1c[_0x5ed3ed(0x156)],_0x58967c=(_0x5501e1=_0x2cce1c['options'])==null?void 0x0:_0x5501e1['backgroundColor'],_0x2e4270=(_0x4c2cfd=_0x2cce1c[_0x5ed3ed(0x1ea)])==null?void 0x0:_0x4c2cfd[_0x5ed3ed(0x178)],_0x14cbc4=C(_0x4e25fa,_0x47b257,_0x467ac4,_0x2cce1c[_0x5ed3ed(0x1ea)]),_0x3531c0=(_0x5a91c5=_0x2cce1c[_0x5ed3ed(0x1ca)])!=null?_0x5a91c5:!0x0;if(!_0x4f2432)throw new Error(_0x5ed3ed(0x1e6));return await this[_0x5ed3ed(0x1fc)][_0x5ed3ed(0x19e)](_0x27bf68['id'],{'unitId':_0x4e25fa,'subUnitId':_0x664423,'chartId':_0x47b257,'chartType':_0x467ac4,'range':_0x4f2432,'sourceSheetName':_0x35f01a,'position':_0x4770fd,'width':_0x23f064,'height':_0x4e698b,'backgroundColor':_0x58967c,'borderColor':_0x2e4270,'config':_0x14cbc4,'isRowDirection':_0x3531c0}),new P(_0x4e25fa,_0x664423,_0x47b257,this[_0x5ed3ed(0x1e4)]);}[_0x10944c(0x1b5)](_0x121e6b){const _0x2f9083=_0x10944c,{unitId:_0x1bbb5a,chartId:_0x2f89d9,chartType:_0x1184f3,options:_0x6b101c}=_0x121e6b,_0x4ed246=C(_0x1bbb5a,_0x2f89d9,_0x1184f3,_0x6b101c);this[_0x2f9083(0x1fc)][_0x2f9083(0x19e)](_0x7599d8['id'],_0x4ed246);}[_0x10944c(0x18b)](_0x4a4736){const _0x2129ae=_0x10944c;if(_0x4a4736)return new c(_0x4a4736['unitId'],_0x4a4736[_0x2129ae(0x1c0)],this['_workbook'],this[_0x2129ae(0x1e4)],_0x4a4736[_0x2129ae(0x16d)]);const _0x24a94c=this[_0x2129ae(0x1aa)]()[_0x2129ae(0x1ba)](),_0x466dbe=this['getSheetId']();return new c(_0x24a94c,_0x466dbe,this['_workbook'],this[_0x2129ae(0x1e4)]);}[_0x10944c(0x208)](){const _0x38520d=_0x10944c,_0x5119b0=this[_0x38520d(0x1e4)][_0x38520d(0x1d1)](_0x20c9fa),_0x155aa6=this['getWorkbook']()[_0x38520d(0x1ba)]();return _0x5119b0[_0x38520d(0x1fe)](_0x155aa6,this[_0x38520d(0x1dc)]())['map'](_0x151e1d=>new P(_0x155aa6,this[_0x38520d(0x1dc)](),_0x151e1d['id'],this['_injector']));}[_0x10944c(0x163)](_0x497d0e){const _0x158125=_0x10944c,_0x364aad=_0x497d0e[_0x158125(0x1ad)],_0x4b4029=_0x497d0e[_0x158125(0x1c0)],_0x28d01a=_0x497d0e[_0x158125(0x16d)],_0x566e2f={'unitId':_0x364aad,'drawings':[{'unitId':_0x364aad,'subUnitId':_0x4b4029,'drawingId':_0x28d01a,'drawingType':_0x32cc3e['DRAWING_CHART']}]};return this['_commandService'][_0x158125(0x19e)](_0x47a34a['id'],_0x566e2f);}[_0x10944c(0x1de)](_0x5bcb8f,_0x1f926e){const _0x55259a=_0x10944c;this[_0x55259a(0x1e4)]['get'](_0x20527d)[_0x55259a(0x1d9)](_0x5bcb8f,_0x1f926e);}}_0x17a4af[_0x10944c(0x1ff)]($);class tt extends _0x3844c7{get['ChartType'](){return _0x5a09f2;}get[_0x10944c(0x201)](){return _0x521b07;}get[_0x10944c(0x1c3)](){return _0x5bfc91;}get['AxisAlignEnum'](){return _0x57109a;}get[_0x10944c(0x187)](){return _0x2fae8d;}get['LinePointShape'](){return _0x1f0eb7;}get[_0x10944c(0x169)](){return _0x40cf4c;}get[_0x10944c(0x1e9)](){return _0x50d29d;}}_0x3844c7[_0x10944c(0x1ff)](tt);class et extends c{constructor(_0x510af1,_0x1898df,_0x69873e,_0x4ef580,_0x44f41d){const _0x54c4c7=_0x10944c;super(_0x510af1,_0x1898df,_0x69873e,_0x4ef580,_0x44f41d),n(this,_0x54c4c7(0x1a8)),n(this,'dataPointShape'),n(this,_0x54c4c7(0x1a4)),n(this,_0x54c4c7(0x16e));}[_0x10944c(0x184)](_0x123869){const _0x58768f=_0x10944c;return this[_0x58768f(0x1a8)]=_0x123869,this;}[_0x10944c(0x1cc)](_0x42f787){const _0x341f60=_0x10944c;return this[_0x341f60(0x17d)]=_0x42f787,this;}[_0x10944c(0x1bc)](_0x2c040d){const _0x3ae7c6=_0x10944c;return this[_0x3ae7c6(0x1a4)]=_0x2c040d,this;}[_0x10944c(0x1e0)](_0x1aba97){return this['dataPointSize']=_0x1aba97,this;}[_0x10944c(0x203)](){const _0x523f18=_0x10944c,_0x384c86=super[_0x523f18(0x203)]();_0x384c86[_0x523f18(0x190)]=_0x5a09f2[_0x523f18(0x173)];const _0x282be3=_0x384c86[_0x523f18(0x1ea)]||{};return s(_0x282be3,'area.lineStyle',this[_0x523f18(0x1a8)]),s(_0x282be3,_0x523f18(0x162),this[_0x523f18(0x17d)]),s(_0x282be3,'allSeriesStyle.point.color',this[_0x523f18(0x1a4)]),s(_0x282be3,_0x523f18(0x1c6),this[_0x523f18(0x16e)]),_0x384c86[_0x523f18(0x1ea)]=_0x282be3,_0x384c86;}}class it extends c{[_0x10944c(0x18d)](){const _0x3ca677=_0x10944c;return new et(this[_0x3ca677(0x1ad)],this[_0x3ca677(0x1c0)],this[_0x3ca677(0x1cb)],this[_0x3ca677(0x1e4)],this[_0x3ca677(0x16d)]);}}c[_0x10944c(0x1ff)](it);class st extends c{constructor(_0x517f65,_0x565778,_0x42527c,_0x1d7cfb,_0x4feec2){const _0x1daa9f=_0x10944c;super(_0x517f65,_0x565778,_0x42527c,_0x1d7cfb,_0x4feec2),n(this,_0x1daa9f(0x192)),n(this,_0x1daa9f(0x178)),n(this,_0x1daa9f(0x1bd)),n(this,_0x1daa9f(0x1e8)),n(this,'rosePie'),n(this,_0x1daa9f(0x1c2));}[_0x10944c(0x1fd)](_0x55a613){return this['doughnutHole']=_0x55a613,this;}[_0x10944c(0x164)](_0x51e1ee){return this['borderColor']=_0x51e1ee,this;}[_0x10944c(0x1dd)](_0x136148){const _0x39ce79=_0x10944c;return this[_0x39ce79(0x1bd)]=_0x136148,this;}['setIsHalfPie'](_0x485174){return this['isHalfPie']=_0x485174,this;}['setRosePie'](_0x1d042f){const _0x4be5af=_0x10944c;return this[_0x4be5af(0x1b8)]=_0x1d042f,this;}['setShowLabelLine'](_0x3e8b66){const _0x47069e=_0x10944c;return this[_0x47069e(0x1c2)]=_0x3e8b66,this;}['build'](){const _0x3878e0=_0x10944c,_0x5e96a4=super[_0x3878e0(0x203)]();_0x5e96a4[_0x3878e0(0x190)]=_0x5a09f2['Pie'];const _0x4c80e2=_0x5e96a4['options']||{};return s(_0x4c80e2,'pie.doughnutHole',this[_0x3878e0(0x192)]),s(_0x4c80e2,_0x3878e0(0x16f),this[_0x3878e0(0x178)]),s(_0x4c80e2,_0x3878e0(0x15c),this[_0x3878e0(0x1bd)]),s(_0x4c80e2,'pie.isHalfPie',this[_0x3878e0(0x1e8)]),s(_0x4c80e2,_0x3878e0(0x1d2),this[_0x3878e0(0x1b8)]),s(_0x4c80e2,_0x3878e0(0x18e),this['showLabelLine']),_0x5e96a4[_0x3878e0(0x1ea)]=_0x4c80e2,_0x5e96a4;}}class rt extends c{[_0x10944c(0x197)](){const _0x25689d=_0x10944c;return new st(this[_0x25689d(0x1ad)],this[_0x25689d(0x1c0)],this[_0x25689d(0x1cb)],this[_0x25689d(0x1e4)],this[_0x25689d(0x16d)]);}}c[_0x10944c(0x1ff)](rt);class ot extends c{constructor(_0x130d5f,_0x158aa5,_0x3f3add,_0x234575,_0x166340){const _0x2cb6c7=_0x10944c;super(_0x130d5f,_0x158aa5,_0x3f3add,_0x234575,_0x166340),n(this,_0x2cb6c7(0x180)),n(this,_0x2cb6c7(0x1f5));}[_0x10944c(0x202)](_0x1af66b){const _0x5d09f6=_0x10944c;return this[_0x5d09f6(0x180)]=_0x1af66b,this;}[_0x10944c(0x1a9)](_0x59ea50){const _0x39d74c=_0x10944c;return this[_0x39d74c(0x1f5)]=_0x59ea50,this;}[_0x10944c(0x203)](){const _0x421e73=_0x10944c,_0x1ac4f9=super[_0x421e73(0x203)]();_0x1ac4f9[_0x421e73(0x190)]=_0x5a09f2[_0x421e73(0x1e3)];const _0x23a12a=_0x1ac4f9[_0x421e73(0x1ea)]||{};return s(_0x23a12a,_0x421e73(0x15f),this[_0x421e73(0x180)]),s(_0x23a12a,'radar.fill',this[_0x421e73(0x1f5)]),_0x1ac4f9[_0x421e73(0x1ea)]=_0x23a12a,_0x1ac4f9;}}class nt extends c{[_0x10944c(0x1b3)](){const _0x44ad7f=_0x10944c;return new ot(this[_0x44ad7f(0x1ad)],this[_0x44ad7f(0x1c0)],this['_workbook'],this[_0x44ad7f(0x1e4)],this[_0x44ad7f(0x16d)]);}}c[_0x10944c(0x1ff)](nt);function _0x41e3(_0x3f9e46,_0x18ad0d){_0x3f9e46=_0x3f9e46-0x154;const _0x4c1c4b=_0x4c1c();let _0x41e304=_0x4c1c4b[_0x3f9e46];return _0x41e304;}export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
1
+ const _0x14c989=_0x1714;(function(_0x13d764,_0x16d041){const _0x3ed275=_0x1714,_0x345338=_0x13d764();while(!![]){try{const _0x2a2c3a=-parseInt(_0x3ed275(0x1e7))/0x1+parseInt(_0x3ed275(0x1a3))/0x2+parseInt(_0x3ed275(0x192))/0x3+parseInt(_0x3ed275(0x191))/0x4*(parseInt(_0x3ed275(0x1f2))/0x5)+parseInt(_0x3ed275(0x194))/0x6+-parseInt(_0x3ed275(0x1bf))/0x7+-parseInt(_0x3ed275(0x1b2))/0x8;if(_0x2a2c3a===_0x16d041)break;else _0x345338['push'](_0x345338['shift']());}catch(_0x4b6259){_0x345338['push'](_0x345338['shift']());}}}(_0x14fa,0x4fcb7));var R=Object[_0x14c989(0x179)],k=(_0x124c5b,_0x52a3f7,_0x2b60e1)=>_0x52a3f7 in _0x124c5b?R(_0x124c5b,_0x52a3f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b60e1}):_0x124c5b[_0x52a3f7]=_0x2b60e1,n=(_0x5348c4,_0x17770d,_0x574003)=>k(_0x5348c4,typeof _0x17770d!=_0x14c989(0x1ec)?_0x17770d+'':_0x17770d,_0x574003);import{ChartThemeService as _0x1f6d83,ChartTypeBits as _0x5e78e8,LegendPositionEnum as _0x4b64cd,SelectModeEnum as _0x3b6b6a,AxisAlignEnum as _0x42a4c5,ChartBorderDashType as _0x20fb03,LinePointShape as _0x8ea241,TitlePositionEnum as _0x385552,RadarShape as _0xefb375}from'@univerjs-pro/engine-chart';import{setProperty as _0x2bf7bf,SheetsChartService as _0x1e7aea,ChartUpdateSourceCommand as _0x25b274,ChartUpdateConfigCommand as _0x6581f3}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0xc6740b}from'@univerjs-pro/sheets-chart-ui';function _0x1714(_0x50b585,_0x316007){_0x50b585=_0x50b585-0x13c;const _0x14fa22=_0x14fa();let _0x1714f6=_0x14fa22[_0x50b585];return _0x1714f6;}import{ICommandService as _0x245d9a,IUniverInstanceService as _0x480d2b,UniverInstanceType as _0xef67ad,generateRandomId as _0x4749a5,DrawingTypeEnum as _0x4f9c4b}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x780251}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0xa5e49f}from'@univerjs/sheets/facade';import{FBase as _0x42eb17,FEnum as _0x5c169c}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x5e7cef}from'@univerjs/engine-formula';import{IRenderManagerService as _0x16eead}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x40f199,SheetSkeletonManagerService as _0x5914a8,convertPositionCellToSheetOverGrid as _0x4078dc}from'@univerjs/sheets-ui';const s=(_0x4cbcb4,_0x31bc07,_0x3dafdc)=>{_0x3dafdc!==void 0x0&&_0x2bf7bf(_0x4cbcb4,_0x31bc07,_0x3dafdc);},C=(_0x5d93b3,_0x4f9aab,_0x1be72f,_0x14fc3a={})=>{const _0x2fca31=_0x14c989,_0x5cba3a={},_0x17bb52={};if(_0x14fc3a[_0x2fca31(0x1ef)]){const _0x1d3057=_0x14fc3a[_0x2fca31(0x1ef)];s(_0x5cba3a,_0x2fca31(0x1d3),_0x1d3057['content']),s(_0x5cba3a,'titles.title.font',_0x1d3057[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x1e9),_0x1d3057['fontSize']),s(_0x5cba3a,_0x2fca31(0x1e0),_0x1d3057[_0x2fca31(0x181)]),s(_0x5cba3a,_0x2fca31(0x1d4),_0x1d3057[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x182),_0x1d3057[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x164),_0x1d3057[_0x2fca31(0x1f0)]),s(_0x5cba3a,_0x2fca31(0x1a4),_0x1d3057[_0x2fca31(0x14f)]);}if(_0x14fc3a['legend']){const _0x5e3268=_0x14fc3a[_0x2fca31(0x1d5)];s(_0x5cba3a,_0x2fca31(0x16d),_0x5e3268[_0x2fca31(0x14f)]),s(_0x5cba3a,'legend.selectMode',_0x5e3268[_0x2fca31(0x1de)]),s(_0x5cba3a,_0x2fca31(0x1be),_0x5e3268[_0x2fca31(0x175)]),s(_0x5cba3a,_0x2fca31(0x176),_0x5e3268['color']),s(_0x5cba3a,_0x2fca31(0x1d9),_0x5e3268[_0x2fca31(0x17c)]),s(_0x5cba3a,'legend.label.italic',_0x5e3268[_0x2fca31(0x1a8)]);}if(_0x14fc3a[_0x2fca31(0x1cc)]){const _0x51fe98=_0x14fc3a[_0x2fca31(0x1cc)];s(_0x5cba3a,_0x2fca31(0x1ba),_0x51fe98[_0x2fca31(0x19a)]),s(_0x5cba3a,'pie.borderColor',_0x51fe98[_0x2fca31(0x1c0)]),s(_0x5cba3a,'pie.hasPaddingAngle',_0x51fe98[_0x2fca31(0x157)]),s(_0x5cba3a,_0x2fca31(0x1cf),_0x51fe98['isHalfPie']),s(_0x5cba3a,_0x2fca31(0x1d1),_0x51fe98[_0x2fca31(0x1d8)]),s(_0x5cba3a,_0x2fca31(0x1d7),_0x51fe98[_0x2fca31(0x1af)]);}if(_0x14fc3a[_0x2fca31(0x168)]){const _0x4b5539=_0x14fc3a[_0x2fca31(0x168)];s(_0x5cba3a,_0x2fca31(0x171),_0x4b5539['indicatorLabelColor']),s(_0x5cba3a,'tooltip.indicatorLineType',_0x4b5539[_0x2fca31(0x1ae)]),s(_0x5cba3a,_0x2fca31(0x180),_0x4b5539['indicatorLineColor']),s(_0x5cba3a,_0x2fca31(0x162),_0x4b5539[_0x2fca31(0x1c4)]);}if(_0x14fc3a[_0x2fca31(0x1c7)]&&(s(_0x5cba3a,_0x2fca31(0x1b1),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x1d6)]),s(_0x5cba3a,_0x2fca31(0x199),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x166)]),s(_0x5cba3a,_0x2fca31(0x170),_0x14fc3a['allSeriesStyle'][_0x2fca31(0x144)]),s(_0x5cba3a,_0x2fca31(0x15a),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x148)]),s(_0x5cba3a,'allSeriesStyle.color',_0x14fc3a[_0x2fca31(0x1c7)]['color'])),_0x14fc3a[_0x2fca31(0x13f)]&&s(_0x5cba3a,_0x2fca31(0x15e),_0x14fc3a['area'][_0x2fca31(0x1dd)]),_0x14fc3a[_0x2fca31(0x151)]&&s(_0x5cba3a,_0x2fca31(0x151),_0x14fc3a[_0x2fca31(0x151)]),_0x14fc3a[_0x2fca31(0x1c6)]&&s(_0x5cba3a,_0x2fca31(0x1c6),_0x14fc3a['backgroundColor']),_0x14fc3a[_0x2fca31(0x1c0)]&&s(_0x5cba3a,_0x2fca31(0x1c0),_0x14fc3a[_0x2fca31(0x1c0)]),_0x14fc3a[_0x2fca31(0x145)]&&s(_0x5cba3a,_0x2fca31(0x145),_0x14fc3a[_0x2fca31(0x145)]),_0x14fc3a[_0x2fca31(0x1e2)]&&s(_0x5cba3a,_0x2fca31(0x1e2),_0x14fc3a[_0x2fca31(0x1e2)]),_0x14fc3a[_0x2fca31(0x183)]&&s(_0x5cba3a,'radar',_0x14fc3a['radar']),_0x14fc3a[_0x2fca31(0x1d0)]){const _0x1ac873=_0x14fc3a['xAxisTitle'];s(_0x5cba3a,_0x2fca31(0x155),_0x1ac873['content']),s(_0x5cba3a,_0x2fca31(0x154),_0x1ac873[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x1c8),_0x1ac873['fontSize']),s(_0x5cba3a,_0x2fca31(0x1aa),_0x1ac873['fontColor']),s(_0x5cba3a,'titles.xAxisTitle.family',_0x1ac873[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x184),_0x1ac873[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x1e8),_0x1ac873[_0x2fca31(0x178)]);}if(_0x14fc3a[_0x2fca31(0x1f4)]){const _0x2efc81=_0x14fc3a[_0x2fca31(0x1f4)];s(_0x5cba3a,'titles.yAxisTitle.content',_0x2efc81[_0x2fca31(0x1c9)]),s(_0x5cba3a,_0x2fca31(0x1ab),_0x2efc81[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x197),_0x2efc81['fontSize']),s(_0x5cba3a,'titles.yAxisTitle.color',_0x2efc81['fontColor']),s(_0x5cba3a,'titles.yAxisTitle.family',_0x2efc81[_0x2fca31(0x1a9)]),s(_0x5cba3a,'titles.yAxisTitle.bold',_0x2efc81[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x1db),_0x2efc81[_0x2fca31(0x178)]);}if(_0x14fc3a['rightYAxisTitle']){const _0x2e68b9=_0x14fc3a[_0x2fca31(0x196)];s(_0x5cba3a,_0x2fca31(0x142),_0x2e68b9[_0x2fca31(0x1c9)]),s(_0x5cba3a,_0x2fca31(0x177),_0x2e68b9[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x141),_0x2e68b9['fontSize']),s(_0x5cba3a,_0x2fca31(0x173),_0x2e68b9['fontColor']),s(_0x5cba3a,'titles.rightYAxisTitle.family',_0x2e68b9[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x143),_0x2e68b9[_0x2fca31(0x17c)]),s(_0x5cba3a,'rightYAxis.label.axisTitleAlign',_0x2e68b9[_0x2fca31(0x178)]);}_0x14fc3a[_0x2fca31(0x185)]&&s(_0x5cba3a,_0x2fca31(0x185),_0x14fc3a[_0x2fca31(0x185)]),_0x14fc3a['yAxis']&&s(_0x5cba3a,_0x2fca31(0x169),_0x14fc3a[_0x2fca31(0x169)]),_0x14fc3a['yRightAxis']&&s(_0x5cba3a,'rightYAxis',_0x14fc3a['yRightAxis']),_0x14fc3a[_0x2fca31(0x1e3)]&&s(_0x5cba3a,_0x2fca31(0x1e3),_0x14fc3a[_0x2fca31(0x1e3)]);const _0x37460f={'unitId':_0x5d93b3,'chartModelId':_0x4f9aab};let _0x534aef=!0x1;if(_0x1be72f!==void 0x0&&(_0x37460f['chartType']=_0x1be72f,_0x534aef=!0x0),Object[_0x2fca31(0x19d)](_0x5cba3a)[_0x2fca31(0x1ca)]>0x0&&(_0x37460f[_0x2fca31(0x1b5)]=_0x5cba3a,_0x534aef=!0x0),Object[_0x2fca31(0x19d)](_0x17bb52)[_0x2fca31(0x1ca)]>0x0&&(_0x37460f[_0x2fca31(0x189)]=_0x17bb52,_0x534aef=!0x0),_0x534aef)return _0x37460f;};class c extends _0x42eb17{constructor(_0x4eab56,_0x465284,_0xdc3b44,_0x1191b9,_0x10d9ff){const _0x5092e4=_0x14c989;super(),n(this,_0x5092e4(0x149)),n(this,_0x5092e4(0x198)),n(this,_0x5092e4(0x174)),n(this,_0x5092e4(0x1f3)),n(this,_0x5092e4(0x16b)),n(this,_0x5092e4(0x1a1)),n(this,_0x5092e4(0x1a6)),n(this,'x'),n(this,'y'),n(this,'width'),n(this,_0x5092e4(0x1da)),n(this,_0x5092e4(0x1ce)),n(this,_0x5092e4(0x1b3)),n(this,_0x5092e4(0x1a0)),(this[_0x5092e4(0x174)]=_0x4eab56,this[_0x5092e4(0x1f3)]=_0x465284,this[_0x5092e4(0x149)]=_0xdc3b44,this['_injector']=_0x1191b9,_0x10d9ff&&(this[_0x5092e4(0x16b)]=_0x10d9ff));}[_0x14c989(0x1a5)](){const _0x261724=_0x14c989;return this[_0x261724(0x1ce)];}[_0x14c989(0x150)](_0x52b09e){const _0x53be17=_0x14c989;if(typeof _0x52b09e=='string'){const _0x5253b2=_0x5e7cef(_0x52b09e);_0x5253b2[_0x53be17(0x14a)]&&(this[_0x53be17(0x1a6)]=_0x5253b2[_0x53be17(0x14a)]),this[_0x53be17(0x1a1)]=_0x5253b2[_0x53be17(0x1a1)];}else this['range']=_0x52b09e;return this;}[_0x14c989(0x19e)](){const _0x29d620=_0x14c989;return this['range']=void 0x0,this[_0x29d620(0x1a6)]=void 0x0,this;}[_0x14c989(0x161)](_0x2f4a90,_0x17abf1,_0x3af68d,_0x872ef9){const _0x1a50e7=_0x14c989,_0x203370=this[_0x1a50e7(0x198)][_0x1a50e7(0x1d2)](_0x16eead)[_0x1a50e7(0x1b6)](this[_0x1a50e7(0x174)]);if(!_0x203370)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x547b95=_0x203370['with'](_0x40f199),_0x5f028e=_0x203370[_0x1a50e7(0x14c)](_0x5914a8),{transform:_0x42024b}=_0x4078dc(this['unitId'],this[_0x1a50e7(0x1f3)],{'row':_0x2f4a90,'column':_0x17abf1,'rowOffset':_0x3af68d,'columnOffset':_0x872ef9},0x1,0x1,_0x547b95,_0x5f028e),_0x20c784=_0x42024b[_0x1a50e7(0x1b7)],_0x3886df=_0x42024b[_0x1a50e7(0x15d)];return this['x']=_0x3886df,this['y']=_0x20c784,this;}[_0x14c989(0x14b)](_0x189d74,_0x43d03f){return this['x']=_0x189d74,this['y']=_0x43d03f,this;}[_0x14c989(0x1b0)](_0xaaea72){const _0x512981=_0x14c989;return this[_0x512981(0x1ce)]=_0xaaea72,this;}[_0x14c989(0x18f)](_0x3b2665){const _0x5ed794=_0x14c989;return this[_0x5ed794(0x19f)]=_0x3b2665,this;}[_0x14c989(0x19b)](_0x52e5fd){return this['height']=_0x52e5fd,this;}['setOptions'](_0x45ce30,_0x221530){const _0x53413d=_0x14c989;return this['options']||(this[_0x53413d(0x1b3)]={}),_0x45ce30===''?(this[_0x53413d(0x1b3)]={...this[_0x53413d(0x1b3)],..._0x221530},this):(_0x2bf7bf(this[_0x53413d(0x1b3)],_0x45ce30,_0x221530),this);}[_0x14c989(0x1ed)](_0x4f7454){const _0x4f3bf4=_0x14c989;return this[_0x4f3bf4(0x1a0)]=_0x4f7454,this;}[_0x14c989(0x1bc)](_0x130c16){const _0x3aa75e=_0x14c989;return this[_0x3aa75e(0x1ad)]('theme',_0x130c16),this;}[_0x14c989(0x186)](_0x222361){const _0x27f99c=_0x14c989;var _0xfb2bc0;const _0x15e5e1=((_0xfb2bc0=this[_0x27f99c(0x1b3)])==null?void 0x0:_0xfb2bc0[_0x27f99c(0x1d0)])||{};return _0x15e5e1[_0x27f99c(0x1c9)]=_0x222361,this[_0x27f99c(0x1ad)]('xAxisTitle',_0x15e5e1),this;}[_0x14c989(0x1bb)](_0x282de6){const _0x27d40c=_0x14c989;var _0x24c4f2;const _0x539dce=((_0x24c4f2=this[_0x27d40c(0x1b3)])==null?void 0x0:_0x24c4f2[_0x27d40c(0x1f4)])||{};return _0x539dce[_0x27d40c(0x1c9)]=_0x282de6,this[_0x27d40c(0x1ad)](_0x27d40c(0x1f4),_0x539dce),this;}[_0x14c989(0x15c)](_0x1501b2){const _0x23df44=_0x14c989;var _0x8d59fc;const _0x313268=((_0x8d59fc=this[_0x23df44(0x1b3)])==null?void 0x0:_0x8d59fc[_0x23df44(0x196)])||{};return _0x313268[_0x23df44(0x1c9)]=_0x1501b2,this[_0x23df44(0x1ad)](_0x23df44(0x196),_0x313268),this;}['setXAxisTextStyle'](_0xdf2e14){var _0x1e7d3f;const _0x4f3ef8=((_0x1e7d3f=this['options'])==null?void 0x0:_0x1e7d3f['xAxisTitle'])||{};return this['setOptions']('xAxisTitle',{..._0x4f3ef8,..._0xdf2e14}),this;}[_0x14c989(0x17a)](_0x41c3f3){const _0x245228=_0x14c989;var _0x357f58;const _0x419231=((_0x357f58=this[_0x245228(0x1b3)])==null?void 0x0:_0x357f58[_0x245228(0x1f4)])||{};return this[_0x245228(0x1ad)](_0x245228(0x1f4),{..._0x419231,..._0x41c3f3}),this;}[_0x14c989(0x1c1)](_0x282e4b){const _0x5ce09c=_0x14c989;var _0x431b9b;const _0xb4bc1f=((_0x431b9b=this[_0x5ce09c(0x1b3)])==null?void 0x0:_0x431b9b['rightYAxisTitle'])||{};return this[_0x5ce09c(0x1ad)](_0x5ce09c(0x196),{..._0xb4bc1f,..._0x282e4b}),this;}[_0x14c989(0x160)](_0x12c4ff){const _0x769c8b=_0x14c989;return this[_0x769c8b(0x1ad)](_0x769c8b(0x1e2),_0x12c4ff),this;}[_0x14c989(0x1b8)](_0x4696e2){const _0x5baeb7=_0x14c989;return this[_0x5baeb7(0x1ad)](_0x5baeb7(0x168),_0x4696e2),this;}[_0x14c989(0x18a)](_0x258c4d){const _0x288767=_0x14c989;return this[_0x288767(0x1ad)](_0x288767(0x1c7),_0x258c4d),this;}['setSeriesStyle'](_0x49c26c,_0x4dedd5){const _0x1d6428=_0x14c989;return this['setOptions'](_0x1d6428(0x1e3),{[_0x49c26c]:_0x4dedd5}),this;}[_0x14c989(0x1cd)](){const _0x52d923=_0x14c989;return{'unitId':this[_0x52d923(0x174)],'subUnitId':this[_0x52d923(0x1f3)],'chartId':this['chartId'],'range':this[_0x52d923(0x1a1)],'sourceSheetName':this[_0x52d923(0x1a6)],'x':this['x'],'y':this['y'],'width':this[_0x52d923(0x19f)],'height':this['height'],'chartType':this[_0x52d923(0x1ce)],'options':this[_0x52d923(0x1b3)],'isRowDirection':this['transposeRowsAndColumns']};}}class P{constructor(_0x282aad,_0x13431c,_0x4f077d,_0x3bb6e3){const _0x1e8b0d=_0x14c989;n(this,'unitId'),n(this,_0x1e8b0d(0x1f3)),n(this,_0x1e8b0d(0x16b)),n(this,_0x1e8b0d(0x198)),(this[_0x1e8b0d(0x174)]=_0x282aad,this[_0x1e8b0d(0x1f3)]=_0x13431c,this[_0x1e8b0d(0x16b)]=_0x4f077d,this[_0x1e8b0d(0x198)]=_0x3bb6e3);}[_0x14c989(0x18e)](){const _0x327de7=_0x14c989;return this[_0x327de7(0x16b)];}['getRange'](){const _0x3b9283=_0x14c989,_0x1dd7f6=this[_0x3b9283(0x198)][_0x3b9283(0x1d2)](_0x1e7aea)[_0x3b9283(0x153)](this['chartId']);if(_0x1dd7f6)return _0x1dd7f6[_0x3b9283(0x1cb)][_0x3b9283(0x18b)]();}[_0x14c989(0x1a7)](_0x549dbb){const _0x2bb936=_0x14c989;return this[_0x2bb936(0x198)][_0x2bb936(0x1d2)](_0x245d9a)[_0x2bb936(0x14e)](_0x25b274['id'],{'unitId':this[_0x2bb936(0x174)],'chartModelId':this[_0x2bb936(0x16b)],'range':_0x549dbb});}[_0x14c989(0x1a2)](){const _0x538387=_0x14c989;var _0x2c519d;const _0x34012=this[_0x538387(0x198)][_0x538387(0x1d2)](_0x1e7aea)[_0x538387(0x153)](this[_0x538387(0x16b)]);if(_0x34012)return(_0x2c519d=_0x34012['config'])==null?void 0x0:_0x2c519d[_0x538387(0x19c)];}['getCategoryData'](){const _0x4a79a0=_0x14c989;var _0x1a8e10;const _0x3daaa1=this[_0x4a79a0(0x198)][_0x4a79a0(0x1d2)](_0x1e7aea)['getChartModel'](this['chartId']);if(_0x3daaa1)return(_0x1a8e10=_0x3daaa1[_0x4a79a0(0x1c5)])==null?void 0x0:_0x1a8e10['category'];}['modify'](){const _0x1ecb8d=_0x14c989,_0x4243d1=this[_0x1ecb8d(0x198)][_0x1ecb8d(0x1d2)](_0x480d2b)[_0x1ecb8d(0x1b9)](_0xef67ad[_0x1ecb8d(0x1dc)]);return new c(this[_0x1ecb8d(0x174)],this[_0x1ecb8d(0x1f3)],_0x4243d1,this['_injector'],this['chartId']);}}class $ extends _0xa5e49f{async[_0x14c989(0x195)](_0x3918df){const _0x1ac97f=_0x14c989;var _0x51b32b,_0x5762f0,_0x18877a;const _0x55eaaf=_0x3918df[_0x1ac97f(0x174)]||this[_0x1ac97f(0x1b4)]()[_0x1ac97f(0x1e1)](),_0x3711be=_0x3918df[_0x1ac97f(0x1f3)]||this[_0x1ac97f(0x17d)](),_0x242e21=_0x3918df[_0x1ac97f(0x16b)]||_0x4749a5(),_0x17f05a=_0x3918df[_0x1ac97f(0x1ce)],_0x3ba135=_0x3918df['range'],_0x17fe62=_0x3918df[_0x1ac97f(0x1a6)],_0x23e24c={'x':_0x3918df['x'],'y':_0x3918df['y']},_0x52347c=_0x3918df['width'],_0x337319=_0x3918df[_0x1ac97f(0x1da)],_0x1594e2=(_0x51b32b=_0x3918df[_0x1ac97f(0x1b3)])==null?void 0x0:_0x51b32b[_0x1ac97f(0x1c6)],_0xf691ce=(_0x5762f0=_0x3918df['options'])==null?void 0x0:_0x5762f0[_0x1ac97f(0x1c0)],_0x2c0f8f=C(_0x55eaaf,_0x242e21,_0x17f05a,_0x3918df[_0x1ac97f(0x1b3)]),_0x5c756e=(_0x18877a=_0x3918df[_0x1ac97f(0x17b)])!=null?_0x18877a:!0x0;if(!_0x3ba135)throw new Error(_0x1ac97f(0x1f5));return await this[_0x1ac97f(0x16f)][_0x1ac97f(0x14e)](_0xc6740b['id'],{'unitId':_0x55eaaf,'subUnitId':_0x3711be,'chartId':_0x242e21,'chartType':_0x17f05a,'range':_0x3ba135,'sourceSheetName':_0x17fe62,'position':_0x23e24c,'width':_0x52347c,'height':_0x337319,'backgroundColor':_0x1594e2,'borderColor':_0xf691ce,'config':_0x2c0f8f,'isRowDirection':_0x5c756e}),new P(_0x55eaaf,_0x3711be,_0x242e21,this['_injector']);}[_0x14c989(0x17f)](_0x3df274){const _0x4438e1=_0x14c989,{unitId:_0x3a1087,chartId:_0x39bd36,chartType:_0x3bd735,options:_0x2fba35}=_0x3df274,_0x117a28=C(_0x3a1087,_0x39bd36,_0x3bd735,_0x2fba35);this[_0x4438e1(0x16f)][_0x4438e1(0x14e)](_0x6581f3['id'],_0x117a28);}[_0x14c989(0x187)](_0x3c03a8){const _0x2d2b93=_0x14c989;if(_0x3c03a8)return new c(_0x3c03a8[_0x2d2b93(0x174)],_0x3c03a8[_0x2d2b93(0x1f3)],this['_workbook'],this['_injector'],_0x3c03a8[_0x2d2b93(0x16b)]);const _0x4f8110=this[_0x2d2b93(0x1b4)]()['getUnitId'](),_0x1f1534=this[_0x2d2b93(0x17d)]();return new c(_0x4f8110,_0x1f1534,this[_0x2d2b93(0x149)],this[_0x2d2b93(0x198)]);}[_0x14c989(0x16e)](){const _0x1aad5b=_0x14c989,_0x2cecf4=this['_injector'][_0x1aad5b(0x1d2)](_0x1e7aea),_0x45f387=this[_0x1aad5b(0x1b4)]()['getUnitId']();return _0x2cecf4['getUnitChartModels'](_0x45f387,this[_0x1aad5b(0x17d)]())[_0x1aad5b(0x146)](_0x3fbff7=>new P(_0x45f387,this['getSheetId'](),_0x3fbff7['id'],this[_0x1aad5b(0x198)]));}['removeChart'](_0x287ec6){const _0x157d07=_0x14c989,_0x566fec=_0x287ec6['unitId'],_0x163f01=_0x287ec6[_0x157d07(0x1f3)],_0x400cbc=_0x287ec6[_0x157d07(0x16b)],_0x346e01={'unitId':_0x566fec,'drawings':[{'unitId':_0x566fec,'subUnitId':_0x163f01,'drawingId':_0x400cbc,'drawingType':_0x4f9c4b[_0x157d07(0x165)]}]};return this['_commandService'][_0x157d07(0x14e)](_0x780251['id'],_0x346e01);}['registerChartTheme'](_0x436917,_0x544ba5){const _0x2406cd=_0x14c989;this['_injector'][_0x2406cd(0x1d2)](_0x1f6d83)[_0x2406cd(0x1ee)](_0x436917,_0x544ba5);}}_0xa5e49f[_0x14c989(0x188)]($);class tt extends _0x5c169c{get[_0x14c989(0x13c)](){return _0x5e78e8;}get['LegendPositionEnum'](){return _0x4b64cd;}get[_0x14c989(0x1e6)](){return _0x3b6b6a;}get[_0x14c989(0x1eb)](){return _0x42a4c5;}get['ChartBorderDashType'](){return _0x20fb03;}get[_0x14c989(0x1e5)](){return _0x8ea241;}get[_0x14c989(0x193)](){return _0x385552;}get[_0x14c989(0x1bd)](){return _0xefb375;}}_0x5c169c['extend'](tt);class et extends c{constructor(_0xd2213d,_0x71c5c7,_0x181481,_0x5bf0a1,_0x2c5f68){const _0x4f751e=_0x14c989;super(_0xd2213d,_0x71c5c7,_0x181481,_0x5bf0a1,_0x2c5f68),n(this,_0x4f751e(0x1dd)),n(this,_0x4f751e(0x16c)),n(this,_0x4f751e(0x16a)),n(this,_0x4f751e(0x18c));}[_0x14c989(0x1c2)](_0x458d7b){const _0x3b7b4a=_0x14c989;return this[_0x3b7b4a(0x1dd)]=_0x458d7b,this;}['setDataPointShape'](_0x498495){const _0x4ab10b=_0x14c989;return this[_0x4ab10b(0x16c)]=_0x498495,this;}[_0x14c989(0x172)](_0x2a931a){const _0x1a97ff=_0x14c989;return this[_0x1a97ff(0x16a)]=_0x2a931a,this;}[_0x14c989(0x190)](_0x26e27e){const _0x32d482=_0x14c989;return this[_0x32d482(0x18c)]=_0x26e27e,this;}[_0x14c989(0x1cd)](){const _0x3bb7ad=_0x14c989,_0x33eedd=super['build']();_0x33eedd[_0x3bb7ad(0x1ce)]=_0x5e78e8['Line'];const _0x59bf70=_0x33eedd[_0x3bb7ad(0x1b3)]||{};return s(_0x59bf70,_0x3bb7ad(0x15e),this[_0x3bb7ad(0x1dd)]),s(_0x59bf70,_0x3bb7ad(0x1df),this[_0x3bb7ad(0x16c)]),s(_0x59bf70,_0x3bb7ad(0x17e),this[_0x3bb7ad(0x16a)]),s(_0x59bf70,_0x3bb7ad(0x1ac),this[_0x3bb7ad(0x18c)]),_0x33eedd[_0x3bb7ad(0x1b3)]=_0x59bf70,_0x33eedd;}}class it extends c{[_0x14c989(0x13d)](){const _0x59bf39=_0x14c989;return new et(this['unitId'],this[_0x59bf39(0x1f3)],this[_0x59bf39(0x149)],this['_injector'],this[_0x59bf39(0x16b)]);}}c['extend'](it);class st extends c{constructor(_0x456ff8,_0x21a4a8,_0x3591de,_0x390a41,_0x4e1178){const _0x1adca1=_0x14c989;super(_0x456ff8,_0x21a4a8,_0x3591de,_0x390a41,_0x4e1178),n(this,_0x1adca1(0x19a)),n(this,'borderColor'),n(this,_0x1adca1(0x157)),n(this,'isHalfPie'),n(this,'rosePie'),n(this,'showLabelLine');}[_0x14c989(0x159)](_0x17b0fe){const _0x5d264=_0x14c989;return this[_0x5d264(0x19a)]=_0x17b0fe,this;}[_0x14c989(0x163)](_0x160e43){return this['borderColor']=_0x160e43,this;}[_0x14c989(0x167)](_0x374165){return this['hasPaddingAngle']=_0x374165,this;}[_0x14c989(0x1c3)](_0x1e9596){const _0x2ec58a=_0x14c989;return this[_0x2ec58a(0x13e)]=_0x1e9596,this;}[_0x14c989(0x147)](_0x419843){const _0x4d24d6=_0x14c989;return this[_0x4d24d6(0x1d8)]=_0x419843,this;}[_0x14c989(0x15b)](_0x2a8aca){const _0x5ccfb7=_0x14c989;return this[_0x5ccfb7(0x1af)]=_0x2a8aca,this;}['build'](){const _0x2c32a0=_0x14c989,_0x2f35a0=super[_0x2c32a0(0x1cd)]();_0x2f35a0[_0x2c32a0(0x1ce)]=_0x5e78e8['Pie'];const _0x3eef6e=_0x2f35a0[_0x2c32a0(0x1b3)]||{};return s(_0x3eef6e,_0x2c32a0(0x1ba),this['doughnutHole']),s(_0x3eef6e,_0x2c32a0(0x156),this[_0x2c32a0(0x1c0)]),s(_0x3eef6e,_0x2c32a0(0x158),this['hasPaddingAngle']),s(_0x3eef6e,_0x2c32a0(0x1cf),this[_0x2c32a0(0x13e)]),s(_0x3eef6e,_0x2c32a0(0x1d1),this[_0x2c32a0(0x1d8)]),s(_0x3eef6e,'pie.showLabelLine',this[_0x2c32a0(0x1af)]),_0x2f35a0[_0x2c32a0(0x1b3)]=_0x3eef6e,_0x2f35a0;}}class rt extends c{[_0x14c989(0x140)](){const _0xd05af=_0x14c989;return new st(this['unitId'],this[_0xd05af(0x1f3)],this[_0xd05af(0x149)],this[_0xd05af(0x198)],this['chartId']);}}c[_0x14c989(0x188)](rt);class ot extends c{constructor(_0xdc12c3,_0x3fc583,_0x339f53,_0xf23960,_0x1e5d23){const _0x53774e=_0x14c989;super(_0xdc12c3,_0x3fc583,_0x339f53,_0xf23960,_0x1e5d23),n(this,_0x53774e(0x1f1)),n(this,'fill');}['setShape'](_0x1e8418){const _0x521687=_0x14c989;return this[_0x521687(0x1f1)]=_0x1e8418,this;}[_0x14c989(0x1e4)](_0x23a37a){const _0x36d496=_0x14c989;return this[_0x36d496(0x15f)]=_0x23a37a,this;}[_0x14c989(0x1cd)](){const _0x5987ad=_0x14c989,_0x9341ad=super[_0x5987ad(0x1cd)]();_0x9341ad['chartType']=_0x5e78e8[_0x5987ad(0x14d)];const _0x43a173=_0x9341ad[_0x5987ad(0x1b3)]||{};return s(_0x43a173,_0x5987ad(0x152),this[_0x5987ad(0x1f1)]),s(_0x43a173,'radar.fill',this[_0x5987ad(0x15f)]),_0x9341ad[_0x5987ad(0x1b3)]=_0x43a173,_0x9341ad;}}class nt extends c{[_0x14c989(0x18d)](){const _0x1f8c9c=_0x14c989;return new ot(this['unitId'],this[_0x1f8c9c(0x1f3)],this[_0x1f8c9c(0x149)],this[_0x1f8c9c(0x198)],this[_0x1f8c9c(0x16b)]);}}c[_0x14c989(0x188)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};function _0x14fa(){const _0x1c3574=['Radar','executeCommand','position','addRange','theme','radar.shape','getChartModel','titles.xAxisTitle.font','titles.xAxisTitle.content','pie.borderColor','hasPaddingAngle','pie.hasPaddingAngle','setDoughnutHole','allSeriesStyle.point','setShowLabelLine','setRightYAxisTitle','left','area.lineStyle','fill','setInvalidValueStrategy','setPosition','tooltip.indicatorLabelTextColor','setBorderColor','titles.title.align','DRAWING_CHART','label','setHasPaddingAngle','axisPointer','yAxis','dataPointColor','chartId','dataPointShape','legend.position','getCharts','_commandService','allSeriesStyle.rightYAxis','tooltip.indicatorLabelColor','setDataPointColor','titles.rightYAxisTitle.color','unitId','fontSize','legend.label.color','titles.rightYAxisTitle.font','axisAlignment','defineProperty','setYAxisTextStyle','isRowDirection','bold','getSheetId','allSeriesStyle.point.color','updateChart','tooltip.indicatorLineColor','fontColor','titles.title.bold','radar','titles.xAxisTitle.bold','xAxis','setXAxisTitle','newChart','extend','context','setAllSeriesStyle','getRangeInfo','dataPointSize','asRadarChart','getChartId','setWidth','setDataPointSize','244JKiNnv','470736zbXrje','TitlePositionEnum','2486898kojDEM','insertChart','rightYAxisTitle','titles.yAxisTitle.fontSize','_injector','allSeriesStyle.label','doughnutHole','setHeight','series','keys','clearRange','width','transposeRowsAndColumns','range','getSeriesData','504464iMeVKh','titles.titlePosition','getChartType','sourceSheetName','updateRange','italic','fontStyle','titles.xAxisTitle.color','titles.yAxisTitle.font','allSeriesStyle.point.size','setOptions','indicatorLineType','showLabelLine','setChartType','allSeriesStyle.border','975064sEfAmI','options','getWorkbook','style','getRenderById','top','setAxisPointerStyle','getCurrentUnitForType','pie.doughnutHole','setYAxisTitle','setTheme','RadarShape','legend.label.fontSize','2163056SsSIeU','borderColor','setRightYAxisTextStyle','setLineStyle','setIsHalfPie','indicatorLabelTextColor','config','backgroundColor','allSeriesStyle','titles.xAxisTitle.fontSize','content','length','dataSource','pie','build','chartType','pie.isHalfPie','xAxisTitle','pie.rosePie','get','titles.title.content','titles.title.family','legend','border','pie.showLabelLine','rosePie','legend.label.bold','height','yAxis.label.axisTitleAlign','UNIVER_SHEET','lineStyle','selectMode','allSeriesStyle.point.shape','titles.title.color','getUnitId','invalidValueType','seriesStyleMap','setFill','LinePointShape','SelectModeEnum','379620UVCukN','xAxis.label.axisTitleAlign','titles.title.fontSize','font','AxisAlignEnum','symbol','setTransposeRowsAndColumns','registerTheme','title','titleAlignment','shape','25715kMJBLt','subUnitId','yAxisTitle','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','ChartType','asLineChart','isHalfPie','area','asPieChart','titles.rightYAxisTitle.fontSize','titles.rightYAxisTitle.content','titles.rightYAxisTitle.bold','rightYAxis','gradientFill','map','setRosePie','point','_workbook','sheetName','setAbsolutePosition','with'];_0x14fa=function(){return _0x1c3574;};return _0x14fa();}