@univerjs-pro/sheets-chart-ui 0.15.1-insiders.20260117-8ce4a01 → 0.15.2-insiders.20260119-edc718c

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
- 'use strict';const _0x2ff049=_0x2214;(function(_0x11fe1a,_0x39f7c9){const _0x337c19=_0x2214,_0xbeef9f=_0x11fe1a();while(!![]){try{const _0x3bdb5c=-parseInt(_0x337c19(0x93))/0x1*(-parseInt(_0x337c19(0x104))/0x2)+-parseInt(_0x337c19(0x9a))/0x3+-parseInt(_0x337c19(0x9f))/0x4+parseInt(_0x337c19(0xb9))/0x5+-parseInt(_0x337c19(0x8f))/0x6+-parseInt(_0x337c19(0xbc))/0x7*(parseInt(_0x337c19(0x105))/0x8)+parseInt(_0x337c19(0xfc))/0x9*(parseInt(_0x337c19(0xcb))/0xa);if(_0x3bdb5c===_0x39f7c9)break;else _0xbeef9f['push'](_0xbeef9f['shift']());}catch(_0x47d671){_0xbeef9f['push'](_0xbeef9f['shift']());}}}(_0x13be,0xc848a));function _0x13be(){const _0x734ad=['長條圖系列','空心矩形','空心三角形','線類型','圖例選擇模式','78198ylscsR','{0}\x20顏色','{0}\x20粗細','隱藏圖表面板','823Ccibmy','節點距離','標籤旋轉','佈局類型','桑基圖','三角形','正值樣式','1587660LyujmQ','負值樣式','自定義圖表','正值圖例文本','百分比堆疊條形圖','3567100GqITgU','X軸標題','顯示公式','類別\x20{0}','指示值','背景顏色','最大值','設置標籤格式','網格線','小數位數','用直線連接數據點','負數類型','節點形狀','右Y軸標題','主刻度線','瀑布圖','刪除圖表','趨勢線','使用\x20{0}\x20作為類別標籤','数值比例','空心圓角矩形','趨勢線名稱','添加系列','標籤位置','圖表邊框顏色','貨幣類型','3249600YjDZXF','{0}\x20形狀','氣泡圖至少需要2欄,X軸、Y軸。','466291ioOaMv','詞雲圖','空心正方形','標題文本','逆序軸','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','數據點','網格線和刻度線','所有系列','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','{0}\x20透明度','指示標籤','負值圖例文本','主網格線','{0}\x20類型','22642390dmltEd','正方形','箱型圖','打開圖表面板','R平方','圖表和軸標題','插入圖表','指示線','空心圓形','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','設置圖表','添加趨勢線','Y軸標題','軸選項','條形圖','移動平均','圖表類型','股票圖','雷達圖','數據範圍','力導向','累積占比','折線圖','百分比','標題位置','氣泡圖','小計圖例文本','水平軸','詞雲形狀','第三四分位數','關係圖','百分比堆疊','堆疊方式','日期軸僅在數據全部為日期格式時可用','排列圖','使用絕對值','多項式','垂直軸','格式類型','使用值作為節點大小','氣泡標籤','使用日期軸','數據標籤','切換列或欄','漏斗圖','氣泡大小','圓環孔','副標題','力導向選項','9fBMgzm','重複詞雲標籤','最小值','常規格式不包含任何特定的數字格式。','右垂直軸','刻度線位置','開啟選中淡入特效','指示線顏色','1958AfSuEq','176lCJNhs','百分比堆疊面積圖','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','左對齊','指示線類型','請先添加系列開始數據可視化','熱力圖','旋轉標籤','面積圖','玫瑰圖','顯示數據標籤','堆疊面積圖','編輯圖表','標題對齊'];_0x13be=function(){return _0x734ad;};return _0x13be();}function _0x2214(_0x317b84,_0x5aa13c){_0x317b84=_0x317b84-0x86;const _0x13be44=_0x13be();let _0x22141f=_0x13be44[_0x317b84];return _0x22141f;}const e={'chart':{'insertChart':_0x2ff049(0xd1),'editChart':_0x2ff049(0x88),'openChartPanel':_0x2ff049(0xce),'deleteChart':_0x2ff049(0xaf),'hideChartPanel':_0x2ff049(0x92),'setupChart':_0x2ff049(0xd5),'customChart':_0x2ff049(0x9c),'default':'默認','reset':'重置','chartType':_0x2ff049(0xdb),'themes':'主題','dataRange':_0x2ff049(0xde),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x2ff049(0xc4),'series':'系列','addSeries':_0x2ff049(0xb5),'moreSettings':'更多設置','min':_0x2ff049(0xfe),'max':_0x2ff049(0xa5),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x2ff049(0xa9)},'blank':'()','seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x2ff049(0xa4),'chartBorderColor':_0x2ff049(0xb7),'titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x2ff049(0xfa),'xAxisTitle':_0x2ff049(0xa0),'yAxisTitle':_0x2ff049(0xd7),'rightYAxisTitle':_0x2ff049(0xac),'titleFormat':'標題格式','titleText':_0x2ff049(0xbf),'titlePosition':_0x2ff049(0xe3),'titleAlign':_0x2ff049(0x89)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x2ff049(0xf6),'useAsCategoryLabels':_0x2ff049(0xb1),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x2ff049(0x108),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':_0x2ff049(0xd0),'legend':'圖例','legendSelectMode':_0x2ff049(0x8e),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x2ff049(0xd8),'horizontalAxis':_0x2ff049(0xe6),'verticalAxis':_0x2ff049(0xf0),'rightVerticalAxis':_0x2ff049(0x100),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':_0x2ff049(0xf5),'gridlinesAndTicks':_0x2ff049(0xc3),'indicatorLine':_0x2ff049(0xd2),'indicatorLineType':_0x2ff049(0x109),'indicatorLineColor':_0x2ff049(0x103),'indicatorLabel':_0x2ff049(0xc7),'indicatorValue':_0x2ff049(0xa3),'shape':{'polygon':'多邊形','circle':'圓形','square':_0x2ff049(0xcc),'triangle':_0x2ff049(0x98),'diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x2ff049(0xd3),'emptySquare':_0x2ff049(0xbe),'emptyTriangle':_0x2ff049(0x8c),'emptyDiamond':'空心菱形','emptyRect':_0x2ff049(0x8b),'emptyRoundRect':_0x2ff049(0xb3),'emptyPin':'空心針形','emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x2ff049(0xc6),'withColor':_0x2ff049(0x90),'withThickness':_0x2ff049(0x91),'withType':_0x2ff049(0xca),'withSize':'{0}\x20大小','withShape':_0x2ff049(0xba),'withFormat':'{0}\x20格式','dataPoint':_0x2ff049(0xc2),'dataNodeShape':_0x2ff049(0xab),'addDataPoint':'添加數據點','point':_0x2ff049(0xc2),'percentage':_0x2ff049(0xe2),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x2ff049(0xea)},'lineDashType':_0x2ff049(0x8d),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x2ff049(0xc9),'text':_0x2ff049(0xa7)},'ticks':{'majorTick':_0x2ff049(0xad),'tickPosition':_0x2ff049(0x101),'tickLength':'刻度線長度'},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x2ff049(0xa2),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x2ff049(0x86),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x2ff049(0x10e),'pieValScale':_0x2ff049(0xb2),'pieValSuffix':'数值后缀','pieDigitalFixed':_0x2ff049(0xa8),'showLabelLine':'顯示標籤線','reverseAxisOrder':_0x2ff049(0xc0),'showAxisLine':'顯示軸線','labelPosition':_0x2ff049(0xb6),'labelText':'標籤文本','repeatWordCould':_0x2ff049(0xfd),'gap':'間隔','useAbsValue':_0x2ff049(0xee),'labelRotate':_0x2ff049(0x95),'wordCloudShape':_0x2ff049(0xe7),'useDateAxis':_0x2ff049(0xf4),'dateAxisTips':_0x2ff049(0xec)},'radar':{'fill':'填充'},'doughnutHole':_0x2ff049(0xf9),'msg':{'invalidSource':'圖表數據源必須包含多於1列和1欄。','emptyTips':_0x2ff049(0x10a),'sankeyCircularTips':'桑基圖不能包含循環數據'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x2ff049(0xb0),'displayName':'趨勢線名稱','addTrendLine':_0x2ff049(0xd6),'trendlineType':'趨勢線類型','trendlineName':_0x2ff049(0xb4),'trendlineColor':'趨勢線顏色','trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x2ff049(0xda),'poly':_0x2ff049(0xef),'order':'多項式階數','period':'移動平均周期','showFormula':_0x2ff049(0xa1),'showR2':'顯示R平方','formula':'公式','r2':_0x2ff049(0xcf)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x2ff049(0xf8),'label':_0x2ff049(0xf3),'emptyTips':_0x2ff049(0xbb)},'relation':{'title':_0x2ff049(0xe9),'auto':'自動','circular':'環形','force':_0x2ff049(0xdf),'useValueAsSymbolSize':_0x2ff049(0xf2),'layoutType':_0x2ff049(0x96),'forceOptions':_0x2ff049(0xfb),'repulsion':'斥力','gravity':'引力','edgeLength':_0x2ff049(0x94),'rotateLabel':_0x2ff049(0x10c),'emphasis':_0x2ff049(0x102),'emptyTips':_0x2ff049(0xd4)},'waterfall':{'stackType':_0x2ff049(0xeb),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x2ff049(0x99),'negativeStyle':_0x2ff049(0x9b),'subtotalStyle':'小計樣式','positiveLegendText':_0x2ff049(0x9d),'negativeLegendText':_0x2ff049(0xc8),'subtotalLegendText':_0x2ff049(0xe5)},'pareto':{'lineName':_0x2ff049(0xe0),'lineSeries':'累積占比系列','barSeries':_0x2ff049(0x8a)},'visualMapScope':'視覺映射範圍','boxplot':{'min':'最小值','q1':'第一四分位數','median':'中位數','q3':_0x2ff049(0xe8),'max':_0x2ff049(0xa5)}},'chartTypes':{'line':_0x2ff049(0xe1),'area':_0x2ff049(0x10d),'areaStacked':_0x2ff049(0x87),'areaPercentStacked':_0x2ff049(0x106),'column':'柱狀圖','bar':_0x2ff049(0xd9),'barStacked':'堆疊條形圖','barPercentStacked':_0x2ff049(0x9e),'pie':'餅圖','donut':'環形圖','scatter':'散點圖','radar':_0x2ff049(0xdd),'bubble':_0x2ff049(0xe4),'stock':_0x2ff049(0xdc),'combination':'組合圖','wordCloud':_0x2ff049(0xbd),'funnel':_0x2ff049(0xf7),'relation':_0x2ff049(0xe9),'waterfall':_0x2ff049(0xae),'pareto':_0x2ff049(0xed),'sankey':_0x2ff049(0x97),'heatmap':_0x2ff049(0x10b),'boxplot':_0x2ff049(0xcd)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':'字段設置','formatTypes':_0x2ff049(0xf1),'confirm':'確定','cancel':'取消','generalDesc':_0x2ff049(0xff),'accountingDesc':_0x2ff049(0xc5),'currencyDesc':_0x2ff049(0xc1),'dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x2ff049(0x107),'decimalPlaces':'小數位數','currencyTypes':_0x2ff049(0xb8),'negativeNumberTypes':_0x2ff049(0xaa),'dateTypes':'日期類型'},'setFormat':_0x2ff049(0xa6)}};module['exports']=e;
1
+ 'use strict';const _0x35fa07=_0x5534;(function(_0x489896,_0x5740a3){const _0x35eaba=_0x5534,_0x282ed4=_0x489896();while(!![]){try{const _0x55c31f=-parseInt(_0x35eaba(0x248))/0x1*(-parseInt(_0x35eaba(0x240))/0x2)+parseInt(_0x35eaba(0x259))/0x3+-parseInt(_0x35eaba(0x1f5))/0x4+-parseInt(_0x35eaba(0x216))/0x5+-parseInt(_0x35eaba(0x24b))/0x6*(-parseInt(_0x35eaba(0x1e1))/0x7)+parseInt(_0x35eaba(0x21d))/0x8*(-parseInt(_0x35eaba(0x258))/0x9)+parseInt(_0x35eaba(0x1e9))/0xa;if(_0x55c31f===_0x5740a3)break;else _0x282ed4['push'](_0x282ed4['shift']());}catch(_0x5c10d8){_0x282ed4['push'](_0x282ed4['shift']());}}}(_0x186e,0x7c411));function _0x5534(_0x3e9cb3,_0x3bbe49){_0x3e9cb3=_0x3e9cb3-0x1d9;const _0x186e03=_0x186e();let _0x55342a=_0x186e03[_0x3e9cb3];return _0x55342a;}function _0x186e(){const _0x2a9b68=['氣泡圖至少需要2欄,X軸、Y軸。','刻度線長度','桑基圖','小數位數','負值圖例文本','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','瀑布圖','三角形','所有系列','正值樣式','逆序軸','移動平均周期','標題文本','請先添加系列開始數據可視化','空心針形','(空)','力導向','顯示標籤','節點形狀','圖例選擇模式','系列\x20{0}','組合圖','正值圖例文本','格式類型','節點距離','主網格線','{0}\x20大小','圓環孔','4741681jcPYgG','百分比','小計圖例文本','氣泡大小','{0}\x20顏色','多邊形','旋轉標籤','漸變填充','7090130zqoUyF','{0}\x20粗細','切換列或欄','移動平均','空心圓形','指示線類型','標題位置','網格線','趨勢線顏色','空心三角形','柱狀圖','指示線顏色','2877864xLraqK','圖表類型','垂直軸','數據點樣式','主標題','條形圖','標題對齊','圖表數據源必須包含多於1列和1欄。','標籤文本','空心圓角矩形','中位數','左對齊','長條圖系列','圖表邊框顏色','千分位符','扇形間距','{0}\x20透明度','佈局類型','{0}\x20形狀','數據標籤','開啟選中淡入特效','累積占比系列','折線圖','顯示數據標籤','類別\x20{0}','第一四分位數','玫瑰圖','熱力圖','右Y軸標題','更多設置','線類型','添加系列','百分比堆疊','808880KVpIuS','顯示空單元格為','刪除圖表','指示標籤','主刻度線','正方形','負值樣式','8RYjXtQ','詞雲形狀','漏斗圖','用直線連接數據點','標題格式','圓角矩形','空心矩形','設置標籤格式','{0}\x20類型','數據範圍','標籤位置','顯示公式','標籤旋轉','百分比堆疊條形圖','exports','視覺映射範圍','趨勢線名稱','指示線','右對齊','趨勢線線類型','R平方','最小值','設置圖表','貨幣類型','環形圖','数值后缀','数值比例','堆疊面積圖','股票圖','Y軸標題','插入圖表','空心菱形','顯示標籤線','{0}\x20格式','桑基圖不能包含循環數據','10jasWHx','氣泡標籤','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','多項式','使用右軸','數據點','打開圖表面板','刻度線位置','38774JsPJaQ','第\x20{0}\x20項','圖表和軸標題','6FRzHYt','字段設置','水平軸','散點圖','添加數據點','顯示軸線','日期類型','關係圖','使用值作為節點大小','空心正方形','日期軸僅在數據全部為日期格式時可用','網格線和刻度線','日期格式將日期和時間系列數值顯示為日期值。','3548979rRTtjs','612756hmCVXl'];_0x186e=function(){return _0x2a9b68;};return _0x186e();}const e={'chart':{'insertChart':_0x35fa07(0x23b),'editChart':'編輯圖表','openChartPanel':_0x35fa07(0x246),'deleteChart':_0x35fa07(0x218),'hideChartPanel':'隱藏圖表面板','setupChart':_0x35fa07(0x233),'customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x35fa07(0x1f6),'themes':'主題','dataRange':_0x35fa07(0x226),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x35fa07(0x262),'series':'系列','addSeries':_0x35fa07(0x214),'moreSettings':_0x35fa07(0x212),'min':_0x35fa07(0x232),'max':'最大值','invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x35fa07(0x220)},'blank':_0x35fa07(0x269),'seriesBlock':{'format':'格式','dataPointStyle':_0x35fa07(0x1f8)},'backgroundColor':'背景顏色','chartBorderColor':_0x35fa07(0x202),'titles':{'title':'標題','mainTitle':_0x35fa07(0x1f9),'subTitle':'副標題','xAxisTitle':'X軸標題','yAxisTitle':_0x35fa07(0x23a),'rightYAxisTitle':_0x35fa07(0x211),'titleFormat':_0x35fa07(0x221),'titleText':_0x35fa07(0x266),'titlePosition':_0x35fa07(0x1ef),'titleAlign':_0x35fa07(0x1fb)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x35fa07(0x1e8),'settingsLabels':{'switchToRowOrColumn':_0x35fa07(0x1eb),'useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x35fa07(0x217)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x35fa07(0x200),'center':'居中','right':_0x35fa07(0x22f)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':_0x35fa07(0x24a),'legend':'圖例','legendSelectMode':_0x35fa07(0x26d),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':_0x35fa07(0x24d),'verticalAxis':_0x35fa07(0x1f7),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x35fa07(0x244)},'position':'位置','dataLabels':_0x35fa07(0x208),'gridlinesAndTicks':_0x35fa07(0x256),'indicatorLine':_0x35fa07(0x22e),'indicatorLineType':_0x35fa07(0x1ee),'indicatorLineColor':_0x35fa07(0x1f4),'indicatorLabel':_0x35fa07(0x219),'indicatorValue':'指示值','shape':{'polygon':_0x35fa07(0x1e6),'circle':'圓形','square':_0x35fa07(0x21b),'triangle':_0x35fa07(0x261),'diamond':'菱形','rect':'矩形','roundRect':_0x35fa07(0x222),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x35fa07(0x1ed),'emptySquare':_0x35fa07(0x254),'emptyTriangle':_0x35fa07(0x1f2),'emptyDiamond':_0x35fa07(0x23c),'emptyRect':_0x35fa07(0x223),'emptyRoundRect':_0x35fa07(0x1fe),'emptyPin':_0x35fa07(0x268),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x35fa07(0x205),'withColor':_0x35fa07(0x1e5),'withThickness':_0x35fa07(0x1ea),'withType':_0x35fa07(0x225),'withSize':_0x35fa07(0x1df),'withShape':_0x35fa07(0x207),'withFormat':_0x35fa07(0x23e),'dataPoint':_0x35fa07(0x245),'dataNodeShape':_0x35fa07(0x26c),'addDataPoint':_0x35fa07(0x24f),'point':_0x35fa07(0x245),'percentage':_0x35fa07(0x1e2),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x35fa07(0x215)},'lineDashType':_0x35fa07(0x213),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x35fa07(0x1de),'text':_0x35fa07(0x1f0)},'ticks':{'majorTick':_0x35fa07(0x21a),'tickPosition':_0x35fa07(0x247),'tickLength':_0x35fa07(0x25b)},'none':'無','theIndexItem':_0x35fa07(0x249),'seriesDefaultName':_0x35fa07(0x1d9),'categoryDefaultName':_0x35fa07(0x20d),'styleEditPanel':{'showLabels':_0x35fa07(0x26b),'showDataLabels':_0x35fa07(0x20c),'padAngle':_0x35fa07(0x204),'halfPie':'半餅','rosePie':_0x35fa07(0x20f),'pieValScale':_0x35fa07(0x237),'pieValSuffix':_0x35fa07(0x236),'pieDigitalFixed':_0x35fa07(0x25d),'showLabelLine':_0x35fa07(0x23d),'reverseAxisOrder':_0x35fa07(0x264),'showAxisLine':_0x35fa07(0x250),'labelPosition':_0x35fa07(0x227),'labelText':_0x35fa07(0x1fd),'repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x35fa07(0x229),'wordCloudShape':_0x35fa07(0x21e),'useDateAxis':'使用日期軸','dateAxisTips':_0x35fa07(0x255)},'radar':{'fill':'填充'},'doughnutHole':_0x35fa07(0x1e0),'msg':{'invalidSource':_0x35fa07(0x1fc),'emptyTips':_0x35fa07(0x267),'sankeyCircularTips':_0x35fa07(0x23f)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x35fa07(0x22d),'addTrendLine':'添加趨勢線','trendlineType':'趨勢線類型','trendlineName':'趨勢線名稱','trendlineColor':_0x35fa07(0x1f1),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x35fa07(0x230),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x35fa07(0x1ec),'poly':_0x35fa07(0x243),'order':'多項式階數','period':_0x35fa07(0x265),'showFormula':_0x35fa07(0x228),'showR2':'顯示R平方','formula':'公式','r2':_0x35fa07(0x231)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x35fa07(0x1e4),'label':_0x35fa07(0x241),'emptyTips':_0x35fa07(0x25a)},'relation':{'title':_0x35fa07(0x252),'auto':'自動','circular':'環形','force':_0x35fa07(0x26a),'useValueAsSymbolSize':_0x35fa07(0x253),'layoutType':_0x35fa07(0x206),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x35fa07(0x1dd),'rotateLabel':_0x35fa07(0x1e7),'emphasis':_0x35fa07(0x209),'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'waterfall':{'stackType':'堆疊方式','arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x35fa07(0x263),'negativeStyle':_0x35fa07(0x21c),'subtotalStyle':'小計樣式','positiveLegendText':_0x35fa07(0x1db),'negativeLegendText':_0x35fa07(0x25e),'subtotalLegendText':_0x35fa07(0x1e3)},'pareto':{'lineName':'累積占比','lineSeries':_0x35fa07(0x20a),'barSeries':_0x35fa07(0x201)},'visualMapScope':_0x35fa07(0x22c),'boxplot':{'min':_0x35fa07(0x232),'q1':_0x35fa07(0x20e),'median':_0x35fa07(0x1ff),'q3':'第三四分位數','max':'最大值'}},'chartTypes':{'line':_0x35fa07(0x20b),'area':'面積圖','areaStacked':_0x35fa07(0x238),'areaPercentStacked':'百分比堆疊面積圖','column':_0x35fa07(0x1f3),'bar':_0x35fa07(0x1fa),'barStacked':'堆疊條形圖','barPercentStacked':_0x35fa07(0x22a),'pie':'餅圖','donut':_0x35fa07(0x235),'scatter':_0x35fa07(0x24e),'radar':'雷達圖','bubble':'氣泡圖','stock':_0x35fa07(0x239),'combination':_0x35fa07(0x1da),'wordCloud':'詞雲圖','funnel':_0x35fa07(0x21f),'relation':'關係圖','waterfall':_0x35fa07(0x260),'pareto':'排列圖','sankey':_0x35fa07(0x25c),'heatmap':_0x35fa07(0x210),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x35fa07(0x203),'fieldSetting':_0x35fa07(0x24c),'formatTypes':_0x35fa07(0x1dc),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x35fa07(0x242),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x35fa07(0x257),'thousandthPercentileDesc':_0x35fa07(0x25f),'decimalPlaces':_0x35fa07(0x25d),'currencyTypes':_0x35fa07(0x234),'negativeNumberTypes':'負數類型','dateTypes':_0x35fa07(0x251)},'setFormat':_0x35fa07(0x224)}};module[_0x35fa07(0x22b)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x3d5107=_0x2cd5;(function(_0x555fb0,_0x28488d){const _0x5056ae=_0x2cd5,_0x4b66f0=_0x555fb0();while(!![]){try{const _0x59f1be=parseInt(_0x5056ae(0x15b))/0x1*(parseInt(_0x5056ae(0x17c))/0x2)+-parseInt(_0x5056ae(0x14f))/0x3*(-parseInt(_0x5056ae(0x11c))/0x4)+-parseInt(_0x5056ae(0x15d))/0x5*(-parseInt(_0x5056ae(0x139))/0x6)+-parseInt(_0x5056ae(0x147))/0x7+parseInt(_0x5056ae(0x116))/0x8+-parseInt(_0x5056ae(0x1c1))/0x9+parseInt(_0x5056ae(0x129))/0xa*(-parseInt(_0x5056ae(0x14d))/0xb);if(_0x59f1be===_0x28488d)break;else _0x4b66f0['push'](_0x4b66f0['shift']());}catch(_0x57c148){_0x4b66f0['push'](_0x4b66f0['shift']());}}}(_0x10fa,0xc09a4));var R=Object['defineProperty'],k=(_0x5bad5a,_0x59fae0,_0x23838e)=>_0x59fae0 in _0x5bad5a?R(_0x5bad5a,_0x59fae0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23838e}):_0x5bad5a[_0x59fae0]=_0x23838e,n=(_0x24fafe,_0x56ffae,_0x4a671e)=>k(_0x24fafe,typeof _0x56ffae!=_0x3d5107(0x169)?_0x56ffae+'':_0x56ffae,_0x4a671e);import{ChartThemeService as _0x297d91,ChartTypeBits as _0x175c54,LegendPositionEnum as _0x812238,SelectModeEnum as _0x488ec1,AxisAlignEnum as _0x5ebec0,ChartBorderDashType as _0x248abc,LinePointShape as _0x5e16d4,TitlePositionEnum as _0x90f1cb,RadarShape as _0x16093d}from'@univerjs-pro/engine-chart';import{setProperty as _0x4e0c8d,SheetsChartService as _0x4bd493,ChartUpdateSourceCommand as _0x335784,ChartUpdateConfigCommand as _0x3f0ce5}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x4df80d}from'@univerjs-pro/sheets-chart-ui';function _0x10fa(){const _0x34f30b=['Line','25ehvlkC','label','getCharts','get','options','titles.yAxisTitle.fontSize','registerTheme','content','getRenderById','fontColor','bold','keys','symbol','pie.borderColor','pie','legend.label.italic','titles.rightYAxisTitle.color','setAbsolutePosition','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','titles.xAxisTitle.content','allSeriesStyle.point.color','setAxisPointerStyle','setBorderColor','rightYAxisTitle','build','titles.rightYAxisTitle.content','height','getRange','chartType','color','getUnitId','16dIpOzo','with','titles.yAxisTitle.color','setShape','setRightYAxisTitle','Pie','italic','transposeRowsAndColumns','AxisAlignEnum','setDoughnutHole','context','asLineChart','clearRange','area.lineStyle','_injector','getUnitChartModels','ChartType','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.title.font','top','radar','seriesStyleMap','DRAWING_CHART','titles.rightYAxisTitle.family','setTheme','gradientFill','titles.title.family','fontStyle','getCurrentUnitForType','shape','titles.titlePosition','setHeight','indicatorLineType','setShowLabelLine','unitId','titles.xAxisTitle.font','indicatorLabelColor','font','backgroundColor','tooltip.indicatorLabelTextColor','setPosition','rightYAxis','titles.rightYAxisTitle.fontSize','getSheetId','RadarShape','setSeriesStyle','subUnitId','rightYAxis.label.axisTitleAlign','allSeriesStyle.rightYAxis','pie.doughnutHole','lineStyle','config','dataPointShape','fill','sourceSheetName','setIsHalfPie','getChartId','allSeriesStyle.border','executeCommand','invalidValueType','setOptions','titles.rightYAxisTitle.bold','legend.label.bold','updateRange','legend.label.fontSize','width','borderColor','newChart','showLabelLine','1811196aVLurJ','getRangeInfo','registerChartTheme','setYAxisTextStyle','getChartModel','isRowDirection','axisAlignment','titles.title.color','rosePie','allSeriesStyle','sheetName','legend','setRosePie','doughnutHole','setXAxisTextStyle','indicatorLineColor','8628896JbsbJv','_workbook','yRightAxis','legend.selectMode','allSeriesStyle.point','titles.yAxisTitle.family','14284fPCwoI','titles.xAxisTitle.fontSize','axisPointer','tooltip.indicatorLabelColor','extend','yAxis','UNIVER_SHEET','selectMode','setHasPaddingAngle','addRange','title','setChartType','isHalfPie','17872610EALqgX','yAxisTitle','xAxisTitle','titles.title.fontSize','hasPaddingAngle','setXAxisTitle','Radar','xAxis','tooltip.indicatorLineType','_commandService','position','border','pie.isHalfPie','area','LinePointShape','titles.xAxisTitle.color','1603110pVWTUH','pie.hasPaddingAngle','allSeriesStyle.point.size','setAllSeriesStyle','chartId','getChartType','titles.yAxisTitle.font','dataPointColor','setWidth','tooltip.indicatorLineColor','getWorkbook','fontSize','setTransposeRowsAndColumns','dataPointSize','2752603dqpiDN','pie.showLabelLine','setDataPointColor','range','left','setInvalidValueStrategy','11DjdpMY','category','393zJpgjM','insertChart','setLineStyle','asPieChart','allSeriesStyle.color','theme','map','titles.title.content','modify','pie.rosePie','getSeriesData','titles.xAxisTitle.bold','36037iYpybJ'];_0x10fa=function(){return _0x34f30b;};return _0x10fa();}import{ICommandService as _0x542e52,IUniverInstanceService as _0x355ce4,UniverInstanceType as _0x2cfc02,generateRandomId as _0x25ff7b,DrawingTypeEnum as _0x4adb39}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x2be3d7}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2dd69b}from'@univerjs/sheets/facade';import{FBase as _0x5cb3a0,FEnum as _0x42f65e}from'@univerjs/core/facade';function _0x2cd5(_0x182ae4,_0x5e61ce){_0x182ae4=_0x182ae4-0x10a;const _0x10fa3a=_0x10fa();let _0x2cd5dd=_0x10fa3a[_0x182ae4];return _0x2cd5dd;}import{deserializeRangeWithSheet as _0x46d967}from'@univerjs/engine-formula';import{IRenderManagerService as _0x64f3f6}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x53907b,SheetSkeletonManagerService as _0x29a6d6,convertPositionCellToSheetOverGrid as _0x489ce1}from'@univerjs/sheets-ui';const s=(_0x237eda,_0x547795,_0x1b6e3a)=>{_0x1b6e3a!==void 0x0&&_0x4e0c8d(_0x237eda,_0x547795,_0x1b6e3a);},C=(_0x55d2b1,_0x501042,_0x219a8a,_0x380e70={})=>{const _0x45e9fc=_0x3d5107,_0x30b6fd={},_0x17d59a={};if(_0x380e70[_0x45e9fc(0x126)]){const _0x10b33f=_0x380e70[_0x45e9fc(0x126)];s(_0x30b6fd,_0x45e9fc(0x156),_0x10b33f[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x18e),_0x10b33f[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x12c),_0x10b33f[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x10d),_0x10b33f['fontColor']),s(_0x30b6fd,_0x45e9fc(0x196),_0x10b33f[_0x45e9fc(0x197)]),s(_0x30b6fd,'titles.title.bold',_0x10b33f[_0x45e9fc(0x167)]),s(_0x30b6fd,'titles.title.align',_0x10b33f['titleAlignment']),s(_0x30b6fd,_0x45e9fc(0x19a),_0x10b33f[_0x45e9fc(0x133)]);}if(_0x380e70[_0x45e9fc(0x111)]){const _0x2d6225=_0x380e70[_0x45e9fc(0x111)];s(_0x30b6fd,'legend.position',_0x2d6225[_0x45e9fc(0x133)]),s(_0x30b6fd,_0x45e9fc(0x119),_0x2d6225[_0x45e9fc(0x123)]),s(_0x30b6fd,_0x45e9fc(0x1bc),_0x2d6225['fontSize']),s(_0x30b6fd,'legend.label.color',_0x2d6225[_0x45e9fc(0x17a)]),s(_0x30b6fd,_0x45e9fc(0x1ba),_0x2d6225['bold']),s(_0x30b6fd,_0x45e9fc(0x16c),_0x2d6225[_0x45e9fc(0x182)]);}if(_0x380e70[_0x45e9fc(0x16b)]){const _0x488e2d=_0x380e70[_0x45e9fc(0x16b)];s(_0x30b6fd,_0x45e9fc(0x1ad),_0x488e2d['doughnutHole']),s(_0x30b6fd,'pie.borderColor',_0x488e2d[_0x45e9fc(0x1be)]),s(_0x30b6fd,_0x45e9fc(0x13a),_0x488e2d[_0x45e9fc(0x12d)]),s(_0x30b6fd,_0x45e9fc(0x135),_0x488e2d[_0x45e9fc(0x128)]),s(_0x30b6fd,'pie.rosePie',_0x488e2d[_0x45e9fc(0x10e)]),s(_0x30b6fd,_0x45e9fc(0x148),_0x488e2d[_0x45e9fc(0x1c0)]);}if(_0x380e70['axisPointer']){const _0x31cd1e=_0x380e70[_0x45e9fc(0x11e)];s(_0x30b6fd,_0x45e9fc(0x11f),_0x31cd1e[_0x45e9fc(0x1a0)]),s(_0x30b6fd,_0x45e9fc(0x131),_0x31cd1e[_0x45e9fc(0x19c)]),s(_0x30b6fd,_0x45e9fc(0x142),_0x31cd1e[_0x45e9fc(0x115)]),s(_0x30b6fd,_0x45e9fc(0x1a3),_0x31cd1e['indicatorLabelTextColor']);}if(_0x380e70['allSeriesStyle']&&(s(_0x30b6fd,_0x45e9fc(0x1b5),_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x134)]),s(_0x30b6fd,'allSeriesStyle.label',_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x15e)]),s(_0x30b6fd,_0x45e9fc(0x1ac),_0x380e70[_0x45e9fc(0x10f)][_0x45e9fc(0x1a5)]),s(_0x30b6fd,_0x45e9fc(0x11a),_0x380e70[_0x45e9fc(0x10f)]['point']),s(_0x30b6fd,_0x45e9fc(0x153),_0x380e70['allSeriesStyle']['color'])),_0x380e70[_0x45e9fc(0x136)]&&s(_0x30b6fd,_0x45e9fc(0x189),_0x380e70[_0x45e9fc(0x136)]['lineStyle']),_0x380e70[_0x45e9fc(0x154)]&&s(_0x30b6fd,_0x45e9fc(0x154),_0x380e70[_0x45e9fc(0x154)]),_0x380e70['backgroundColor']&&s(_0x30b6fd,_0x45e9fc(0x1a2),_0x380e70[_0x45e9fc(0x1a2)]),_0x380e70[_0x45e9fc(0x1be)]&&s(_0x30b6fd,_0x45e9fc(0x1be),_0x380e70[_0x45e9fc(0x1be)]),_0x380e70['gradientFill']&&s(_0x30b6fd,_0x45e9fc(0x195),_0x380e70[_0x45e9fc(0x195)]),_0x380e70[_0x45e9fc(0x1b7)]&&s(_0x30b6fd,_0x45e9fc(0x1b7),_0x380e70[_0x45e9fc(0x1b7)]),_0x380e70['radar']&&s(_0x30b6fd,'radar',_0x380e70[_0x45e9fc(0x190)]),_0x380e70[_0x45e9fc(0x12b)]){const _0x12c3ff=_0x380e70[_0x45e9fc(0x12b)];s(_0x30b6fd,_0x45e9fc(0x170),_0x12c3ff[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x19f),_0x12c3ff[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x11d),_0x12c3ff[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x138),_0x12c3ff[_0x45e9fc(0x166)]),s(_0x30b6fd,'titles.xAxisTitle.family',_0x12c3ff[_0x45e9fc(0x197)]),s(_0x30b6fd,_0x45e9fc(0x15a),_0x12c3ff['bold']),s(_0x30b6fd,'xAxis.label.axisTitleAlign',_0x12c3ff[_0x45e9fc(0x10c)]);}if(_0x380e70[_0x45e9fc(0x12a)]){const _0x3365be=_0x380e70[_0x45e9fc(0x12a)];s(_0x30b6fd,'titles.yAxisTitle.content',_0x3365be[_0x45e9fc(0x164)]),s(_0x30b6fd,_0x45e9fc(0x13f),_0x3365be[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x162),_0x3365be['fontSize']),s(_0x30b6fd,_0x45e9fc(0x17e),_0x3365be[_0x45e9fc(0x166)]),s(_0x30b6fd,_0x45e9fc(0x11b),_0x3365be['fontStyle']),s(_0x30b6fd,'titles.yAxisTitle.bold',_0x3365be['bold']),s(_0x30b6fd,'yAxis.label.axisTitleAlign',_0x3365be['axisAlignment']);}if(_0x380e70[_0x45e9fc(0x174)]){const _0x9627d8=_0x380e70[_0x45e9fc(0x174)];s(_0x30b6fd,_0x45e9fc(0x176),_0x9627d8[_0x45e9fc(0x164)]),s(_0x30b6fd,'titles.rightYAxisTitle.font',_0x9627d8[_0x45e9fc(0x1a1)]),s(_0x30b6fd,_0x45e9fc(0x1a6),_0x9627d8[_0x45e9fc(0x144)]),s(_0x30b6fd,_0x45e9fc(0x16d),_0x9627d8[_0x45e9fc(0x166)]),s(_0x30b6fd,_0x45e9fc(0x193),_0x9627d8[_0x45e9fc(0x197)]),s(_0x30b6fd,_0x45e9fc(0x1b9),_0x9627d8[_0x45e9fc(0x167)]),s(_0x30b6fd,_0x45e9fc(0x1ab),_0x9627d8[_0x45e9fc(0x10c)]);}_0x380e70[_0x45e9fc(0x130)]&&s(_0x30b6fd,'xAxis',_0x380e70[_0x45e9fc(0x130)]),_0x380e70[_0x45e9fc(0x121)]&&s(_0x30b6fd,_0x45e9fc(0x121),_0x380e70['yAxis']),_0x380e70['yRightAxis']&&s(_0x30b6fd,_0x45e9fc(0x1a5),_0x380e70[_0x45e9fc(0x118)]),_0x380e70[_0x45e9fc(0x191)]&&s(_0x30b6fd,_0x45e9fc(0x191),_0x380e70['seriesStyleMap']);const _0xab0ae1={'unitId':_0x55d2b1,'chartModelId':_0x501042};let _0x13a7c3=!0x1;if(_0x219a8a!==void 0x0&&(_0xab0ae1[_0x45e9fc(0x179)]=_0x219a8a,_0x13a7c3=!0x0),Object[_0x45e9fc(0x168)](_0x30b6fd)['length']>0x0&&(_0xab0ae1['style']=_0x30b6fd,_0x13a7c3=!0x0),Object['keys'](_0x17d59a)['length']>0x0&&(_0xab0ae1[_0x45e9fc(0x186)]=_0x17d59a,_0x13a7c3=!0x0),_0x13a7c3)return _0xab0ae1;};class c extends _0x5cb3a0{constructor(_0x23165f,_0x1e371c,_0x5a8ec2,_0x3579ff,_0x1d5c5f){const _0xb0ad7=_0x3d5107;super(),n(this,_0xb0ad7(0x117)),n(this,_0xb0ad7(0x18a)),n(this,_0xb0ad7(0x19e)),n(this,'subUnitId'),n(this,'chartId'),n(this,_0xb0ad7(0x14a)),n(this,_0xb0ad7(0x1b2)),n(this,'x'),n(this,'y'),n(this,_0xb0ad7(0x1bd)),n(this,'height'),n(this,'chartType'),n(this,_0xb0ad7(0x161)),n(this,_0xb0ad7(0x183)),(this[_0xb0ad7(0x19e)]=_0x23165f,this[_0xb0ad7(0x1aa)]=_0x1e371c,this[_0xb0ad7(0x117)]=_0x5a8ec2,this[_0xb0ad7(0x18a)]=_0x3579ff,_0x1d5c5f&&(this[_0xb0ad7(0x13d)]=_0x1d5c5f));}[_0x3d5107(0x13e)](){const _0x3fdc6f=_0x3d5107;return this[_0x3fdc6f(0x179)];}[_0x3d5107(0x125)](_0x2d5521){const _0x15f547=_0x3d5107;if(typeof _0x2d5521=='string'){const _0x433ce9=_0x46d967(_0x2d5521);_0x433ce9[_0x15f547(0x110)]&&(this['sourceSheetName']=_0x433ce9[_0x15f547(0x110)]),this[_0x15f547(0x14a)]=_0x433ce9[_0x15f547(0x14a)];}else this[_0x15f547(0x14a)]=_0x2d5521;return this;}[_0x3d5107(0x188)](){const _0x425856=_0x3d5107;return this[_0x425856(0x14a)]=void 0x0,this[_0x425856(0x1b2)]=void 0x0,this;}[_0x3d5107(0x1a4)](_0xeb03c8,_0x4479ba,_0x3479c5,_0x3ac408){const _0x40b3da=_0x3d5107,_0xf905e2=this[_0x40b3da(0x18a)][_0x40b3da(0x160)](_0x64f3f6)[_0x40b3da(0x165)](this[_0x40b3da(0x19e)]);if(!_0xf905e2)throw new Error(_0x40b3da(0x18d));const _0x1ff5ed=_0xf905e2[_0x40b3da(0x17d)](_0x53907b),_0x21b76f=_0xf905e2['with'](_0x29a6d6),{transform:_0x2821fc}=_0x489ce1(this[_0x40b3da(0x19e)],this[_0x40b3da(0x1aa)],{'row':_0xeb03c8,'column':_0x4479ba,'rowOffset':_0x3479c5,'columnOffset':_0x3ac408},0x1,0x1,_0x1ff5ed,_0x21b76f),_0x5e7690=_0x2821fc[_0x40b3da(0x18f)],_0x2771e9=_0x2821fc[_0x40b3da(0x14b)];return this['x']=_0x2771e9,this['y']=_0x5e7690,this;}[_0x3d5107(0x16e)](_0xc930ec,_0x59ea2c){return this['x']=_0xc930ec,this['y']=_0x59ea2c,this;}[_0x3d5107(0x127)](_0x535c79){const _0x1d4e1e=_0x3d5107;return this[_0x1d4e1e(0x179)]=_0x535c79,this;}[_0x3d5107(0x141)](_0x4d68c3){const _0x2e0fe4=_0x3d5107;return this[_0x2e0fe4(0x1bd)]=_0x4d68c3,this;}[_0x3d5107(0x19b)](_0x3978bd){const _0x1c9180=_0x3d5107;return this[_0x1c9180(0x177)]=_0x3978bd,this;}['setOptions'](_0x14eed9,_0x5f0552){const _0x416f1a=_0x3d5107;return this[_0x416f1a(0x161)]||(this[_0x416f1a(0x161)]={}),_0x14eed9===''?(this[_0x416f1a(0x161)]={...this[_0x416f1a(0x161)],..._0x5f0552},this):(_0x4e0c8d(this[_0x416f1a(0x161)],_0x14eed9,_0x5f0552),this);}[_0x3d5107(0x145)](_0x327818){const _0x4d7830=_0x3d5107;return this[_0x4d7830(0x183)]=_0x327818,this;}[_0x3d5107(0x194)](_0x5301ae){const _0xe1a51d=_0x3d5107;return this[_0xe1a51d(0x1b8)](_0xe1a51d(0x154),_0x5301ae),this;}[_0x3d5107(0x12e)](_0x4cc5aa){const _0x36e96a=_0x3d5107;var _0x2a7ff8;const _0x5386b5=((_0x2a7ff8=this[_0x36e96a(0x161)])==null?void 0x0:_0x2a7ff8[_0x36e96a(0x12b)])||{};return _0x5386b5[_0x36e96a(0x164)]=_0x4cc5aa,this[_0x36e96a(0x1b8)](_0x36e96a(0x12b),_0x5386b5),this;}['setYAxisTitle'](_0x206fe4){const _0x550e45=_0x3d5107;var _0x33c09d;const _0x4925aa=((_0x33c09d=this[_0x550e45(0x161)])==null?void 0x0:_0x33c09d[_0x550e45(0x12a)])||{};return _0x4925aa['content']=_0x206fe4,this[_0x550e45(0x1b8)]('yAxisTitle',_0x4925aa),this;}[_0x3d5107(0x180)](_0x5d4bcc){const _0x20074c=_0x3d5107;var _0x5b91da;const _0x53f09a=((_0x5b91da=this[_0x20074c(0x161)])==null?void 0x0:_0x5b91da[_0x20074c(0x174)])||{};return _0x53f09a[_0x20074c(0x164)]=_0x5d4bcc,this[_0x20074c(0x1b8)](_0x20074c(0x174),_0x53f09a),this;}[_0x3d5107(0x114)](_0x365097){const _0xffe09b=_0x3d5107;var _0x167ecf;const _0x460db9=((_0x167ecf=this[_0xffe09b(0x161)])==null?void 0x0:_0x167ecf['xAxisTitle'])||{};return this[_0xffe09b(0x1b8)](_0xffe09b(0x12b),{..._0x460db9,..._0x365097}),this;}[_0x3d5107(0x1c4)](_0x481f4a){const _0x41f531=_0x3d5107;var _0x113389;const _0x1e4b37=((_0x113389=this[_0x41f531(0x161)])==null?void 0x0:_0x113389[_0x41f531(0x12a)])||{};return this[_0x41f531(0x1b8)](_0x41f531(0x12a),{..._0x1e4b37,..._0x481f4a}),this;}['setRightYAxisTextStyle'](_0xe9babc){const _0x5207d7=_0x3d5107;var _0x15b778;const _0x5346f2=((_0x15b778=this[_0x5207d7(0x161)])==null?void 0x0:_0x15b778[_0x5207d7(0x174)])||{};return this['setOptions']('rightYAxisTitle',{..._0x5346f2,..._0xe9babc}),this;}[_0x3d5107(0x14c)](_0x4d316f){const _0x3b91d8=_0x3d5107;return this[_0x3b91d8(0x1b8)](_0x3b91d8(0x1b7),_0x4d316f),this;}[_0x3d5107(0x172)](_0x430ac4){const _0xf2f58c=_0x3d5107;return this[_0xf2f58c(0x1b8)]('axisPointer',_0x430ac4),this;}[_0x3d5107(0x13c)](_0xb13799){const _0x3d779c=_0x3d5107;return this['setOptions'](_0x3d779c(0x10f),_0xb13799),this;}[_0x3d5107(0x1a9)](_0x2bf13d,_0x1602fe){const _0x1e06b8=_0x3d5107;return this[_0x1e06b8(0x1b8)]('seriesStyleMap',{[_0x2bf13d]:_0x1602fe}),this;}[_0x3d5107(0x175)](){const _0x5ef693=_0x3d5107;return{'unitId':this[_0x5ef693(0x19e)],'subUnitId':this[_0x5ef693(0x1aa)],'chartId':this[_0x5ef693(0x13d)],'range':this[_0x5ef693(0x14a)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x5ef693(0x1bd)],'height':this[_0x5ef693(0x177)],'chartType':this[_0x5ef693(0x179)],'options':this['options'],'isRowDirection':this[_0x5ef693(0x183)]};}}class P{constructor(_0x9e418,_0x106843,_0x297ca9,_0x49908a){const _0x223804=_0x3d5107;n(this,_0x223804(0x19e)),n(this,_0x223804(0x1aa)),n(this,'chartId'),n(this,'_injector'),(this['unitId']=_0x9e418,this['subUnitId']=_0x106843,this[_0x223804(0x13d)]=_0x297ca9,this[_0x223804(0x18a)]=_0x49908a);}[_0x3d5107(0x1b4)](){const _0x19f842=_0x3d5107;return this[_0x19f842(0x13d)];}[_0x3d5107(0x178)](){const _0xe7d9da=_0x3d5107,_0xd2c5b7=this[_0xe7d9da(0x18a)][_0xe7d9da(0x160)](_0x4bd493)[_0xe7d9da(0x10a)](this[_0xe7d9da(0x13d)]);if(_0xd2c5b7)return _0xd2c5b7['dataSource'][_0xe7d9da(0x1c2)]();}[_0x3d5107(0x1bb)](_0x3a1d1e){const _0xfc6a00=_0x3d5107;return this[_0xfc6a00(0x18a)]['get'](_0x542e52)['executeCommand'](_0x335784['id'],{'unitId':this[_0xfc6a00(0x19e)],'chartModelId':this[_0xfc6a00(0x13d)],'range':_0x3a1d1e});}[_0x3d5107(0x159)](){const _0x1b37cf=_0x3d5107;var _0x1c81a4;const _0x3fd543=this[_0x1b37cf(0x18a)][_0x1b37cf(0x160)](_0x4bd493)[_0x1b37cf(0x10a)](this[_0x1b37cf(0x13d)]);if(_0x3fd543)return(_0x1c81a4=_0x3fd543['config'])==null?void 0x0:_0x1c81a4['series'];}['getCategoryData'](){const _0x103436=_0x3d5107;var _0x39fcb8;const _0x2422d5=this[_0x103436(0x18a)][_0x103436(0x160)](_0x4bd493)['getChartModel'](this[_0x103436(0x13d)]);if(_0x2422d5)return(_0x39fcb8=_0x2422d5[_0x103436(0x1af)])==null?void 0x0:_0x39fcb8[_0x103436(0x14e)];}[_0x3d5107(0x157)](){const _0x527edb=_0x3d5107,_0x3621f0=this[_0x527edb(0x18a)]['get'](_0x355ce4)[_0x527edb(0x198)](_0x2cfc02[_0x527edb(0x122)]);return new c(this['unitId'],this[_0x527edb(0x1aa)],_0x3621f0,this[_0x527edb(0x18a)],this[_0x527edb(0x13d)]);}}class $ extends _0x2dd69b{async[_0x3d5107(0x150)](_0x59d77e){const _0x44f6cb=_0x3d5107;var _0x27146a,_0x558cfb,_0x470feb;const _0x251e66=_0x59d77e[_0x44f6cb(0x19e)]||this[_0x44f6cb(0x143)]()['getUnitId'](),_0x13941c=_0x59d77e[_0x44f6cb(0x1aa)]||this[_0x44f6cb(0x1a7)](),_0x54c7e6=_0x59d77e[_0x44f6cb(0x13d)]||_0x25ff7b(),_0x194955=_0x59d77e[_0x44f6cb(0x179)],_0x22b461=_0x59d77e['range'],_0x21cc39=_0x59d77e[_0x44f6cb(0x1b2)],_0x2457cc={'x':_0x59d77e['x'],'y':_0x59d77e['y']},_0x4e683d=_0x59d77e[_0x44f6cb(0x1bd)],_0xa4e515=_0x59d77e['height'],_0x4b1039=(_0x27146a=_0x59d77e['options'])==null?void 0x0:_0x27146a[_0x44f6cb(0x1a2)],_0x5c186a=(_0x558cfb=_0x59d77e[_0x44f6cb(0x161)])==null?void 0x0:_0x558cfb[_0x44f6cb(0x1be)],_0x1b5ca8=C(_0x251e66,_0x54c7e6,_0x194955,_0x59d77e[_0x44f6cb(0x161)]),_0x56cce5=(_0x470feb=_0x59d77e[_0x44f6cb(0x10b)])!=null?_0x470feb:!0x0;if(!_0x22b461)throw new Error(_0x44f6cb(0x16f));return await this[_0x44f6cb(0x132)][_0x44f6cb(0x1b6)](_0x4df80d['id'],{'unitId':_0x251e66,'subUnitId':_0x13941c,'chartId':_0x54c7e6,'chartType':_0x194955,'range':_0x22b461,'sourceSheetName':_0x21cc39,'position':_0x2457cc,'width':_0x4e683d,'height':_0xa4e515,'backgroundColor':_0x4b1039,'borderColor':_0x5c186a,'config':_0x1b5ca8,'isRowDirection':_0x56cce5}),new P(_0x251e66,_0x13941c,_0x54c7e6,this[_0x44f6cb(0x18a)]);}['updateChart'](_0x2797ad){const _0x1aa497=_0x3d5107,{unitId:_0x4055a4,chartId:_0x44098f,chartType:_0xcf2ee9,options:_0x313158}=_0x2797ad,_0x3e981c=C(_0x4055a4,_0x44098f,_0xcf2ee9,_0x313158);this[_0x1aa497(0x132)][_0x1aa497(0x1b6)](_0x3f0ce5['id'],_0x3e981c);}[_0x3d5107(0x1bf)](_0x2e041b){const _0x30f42b=_0x3d5107;if(_0x2e041b)return new c(_0x2e041b['unitId'],_0x2e041b[_0x30f42b(0x1aa)],this['_workbook'],this['_injector'],_0x2e041b[_0x30f42b(0x13d)]);const _0x23bbc4=this[_0x30f42b(0x143)]()[_0x30f42b(0x17b)](),_0x246e41=this[_0x30f42b(0x1a7)]();return new c(_0x23bbc4,_0x246e41,this['_workbook'],this[_0x30f42b(0x18a)]);}[_0x3d5107(0x15f)](){const _0x35a56b=_0x3d5107,_0x36529e=this[_0x35a56b(0x18a)][_0x35a56b(0x160)](_0x4bd493),_0x2a896e=this[_0x35a56b(0x143)]()[_0x35a56b(0x17b)]();return _0x36529e[_0x35a56b(0x18b)](_0x2a896e,this[_0x35a56b(0x1a7)]())[_0x35a56b(0x155)](_0x3d7dab=>new P(_0x2a896e,this[_0x35a56b(0x1a7)](),_0x3d7dab['id'],this[_0x35a56b(0x18a)]));}['removeChart'](_0x536032){const _0x52770c=_0x3d5107,_0x5dcc1c=_0x536032[_0x52770c(0x19e)],_0x41b809=_0x536032['subUnitId'],_0x32edb4=_0x536032[_0x52770c(0x13d)],_0x34a9ac={'unitId':_0x5dcc1c,'drawings':[{'unitId':_0x5dcc1c,'subUnitId':_0x41b809,'drawingId':_0x32edb4,'drawingType':_0x4adb39[_0x52770c(0x192)]}]};return this['_commandService']['executeCommand'](_0x2be3d7['id'],_0x34a9ac);}[_0x3d5107(0x1c3)](_0x4b4cf4,_0x381d03){const _0x5a984b=_0x3d5107;this[_0x5a984b(0x18a)][_0x5a984b(0x160)](_0x297d91)[_0x5a984b(0x163)](_0x4b4cf4,_0x381d03);}}_0x2dd69b[_0x3d5107(0x120)]($);class tt extends _0x42f65e{get[_0x3d5107(0x18c)](){return _0x175c54;}get['LegendPositionEnum'](){return _0x812238;}get['SelectModeEnum'](){return _0x488ec1;}get[_0x3d5107(0x184)](){return _0x5ebec0;}get['ChartBorderDashType'](){return _0x248abc;}get[_0x3d5107(0x137)](){return _0x5e16d4;}get['TitlePositionEnum'](){return _0x90f1cb;}get[_0x3d5107(0x1a8)](){return _0x16093d;}}_0x42f65e[_0x3d5107(0x120)](tt);class et extends c{constructor(_0x26eb2b,_0x2e9cb5,_0x58b016,_0x33dcb9,_0x2a178f){const _0x1a7305=_0x3d5107;super(_0x26eb2b,_0x2e9cb5,_0x58b016,_0x33dcb9,_0x2a178f),n(this,_0x1a7305(0x1ae)),n(this,'dataPointShape'),n(this,_0x1a7305(0x140)),n(this,_0x1a7305(0x146));}[_0x3d5107(0x151)](_0x3fee2b){const _0x299a22=_0x3d5107;return this[_0x299a22(0x1ae)]=_0x3fee2b,this;}['setDataPointShape'](_0x2747c9){return this['dataPointShape']=_0x2747c9,this;}[_0x3d5107(0x149)](_0x599e7a){const _0x11f565=_0x3d5107;return this[_0x11f565(0x140)]=_0x599e7a,this;}['setDataPointSize'](_0x29450e){const _0x1b66d4=_0x3d5107;return this[_0x1b66d4(0x146)]=_0x29450e,this;}[_0x3d5107(0x175)](){const _0x2ba21c=_0x3d5107,_0x2fc4d7=super[_0x2ba21c(0x175)]();_0x2fc4d7['chartType']=_0x175c54[_0x2ba21c(0x15c)];const _0x5be5f1=_0x2fc4d7[_0x2ba21c(0x161)]||{};return s(_0x5be5f1,'area.lineStyle',this[_0x2ba21c(0x1ae)]),s(_0x5be5f1,'allSeriesStyle.point.shape',this[_0x2ba21c(0x1b0)]),s(_0x5be5f1,_0x2ba21c(0x171),this[_0x2ba21c(0x140)]),s(_0x5be5f1,_0x2ba21c(0x13b),this[_0x2ba21c(0x146)]),_0x2fc4d7['options']=_0x5be5f1,_0x2fc4d7;}}class it extends c{[_0x3d5107(0x187)](){const _0x286d68=_0x3d5107;return new et(this[_0x286d68(0x19e)],this[_0x286d68(0x1aa)],this[_0x286d68(0x117)],this[_0x286d68(0x18a)],this[_0x286d68(0x13d)]);}}c['extend'](it);class st extends c{constructor(_0x1ee52c,_0x19c1a3,_0x48842c,_0x32f518,_0x1686ab){const _0x2a5049=_0x3d5107;super(_0x1ee52c,_0x19c1a3,_0x48842c,_0x32f518,_0x1686ab),n(this,'doughnutHole'),n(this,_0x2a5049(0x1be)),n(this,_0x2a5049(0x12d)),n(this,_0x2a5049(0x128)),n(this,_0x2a5049(0x10e)),n(this,_0x2a5049(0x1c0));}[_0x3d5107(0x185)](_0x132b81){const _0x51ca69=_0x3d5107;return this[_0x51ca69(0x113)]=_0x132b81,this;}[_0x3d5107(0x173)](_0x342ba9){const _0x4b6c84=_0x3d5107;return this[_0x4b6c84(0x1be)]=_0x342ba9,this;}[_0x3d5107(0x124)](_0x2825bf){const _0x395ba7=_0x3d5107;return this[_0x395ba7(0x12d)]=_0x2825bf,this;}[_0x3d5107(0x1b3)](_0x14899e){const _0x3d6f1e=_0x3d5107;return this[_0x3d6f1e(0x128)]=_0x14899e,this;}[_0x3d5107(0x112)](_0x126857){const _0x5b6ed3=_0x3d5107;return this[_0x5b6ed3(0x10e)]=_0x126857,this;}[_0x3d5107(0x19d)](_0x58a1ca){return this['showLabelLine']=_0x58a1ca,this;}['build'](){const _0x2b1a7d=_0x3d5107,_0x5bf912=super['build']();_0x5bf912[_0x2b1a7d(0x179)]=_0x175c54[_0x2b1a7d(0x181)];const _0x2651e0=_0x5bf912['options']||{};return s(_0x2651e0,_0x2b1a7d(0x1ad),this[_0x2b1a7d(0x113)]),s(_0x2651e0,_0x2b1a7d(0x16a),this[_0x2b1a7d(0x1be)]),s(_0x2651e0,_0x2b1a7d(0x13a),this['hasPaddingAngle']),s(_0x2651e0,_0x2b1a7d(0x135),this[_0x2b1a7d(0x128)]),s(_0x2651e0,_0x2b1a7d(0x158),this[_0x2b1a7d(0x10e)]),s(_0x2651e0,_0x2b1a7d(0x148),this['showLabelLine']),_0x5bf912['options']=_0x2651e0,_0x5bf912;}}class rt extends c{[_0x3d5107(0x152)](){const _0x127799=_0x3d5107;return new st(this['unitId'],this[_0x127799(0x1aa)],this[_0x127799(0x117)],this[_0x127799(0x18a)],this[_0x127799(0x13d)]);}}c[_0x3d5107(0x120)](rt);class ot extends c{constructor(_0x1fad72,_0x3b16a4,_0x1389dc,_0x379e95,_0x101602){const _0x40cd6c=_0x3d5107;super(_0x1fad72,_0x3b16a4,_0x1389dc,_0x379e95,_0x101602),n(this,_0x40cd6c(0x199)),n(this,_0x40cd6c(0x1b1));}[_0x3d5107(0x17f)](_0x432917){const _0x72055b=_0x3d5107;return this[_0x72055b(0x199)]=_0x432917,this;}['setFill'](_0x2530eb){return this['fill']=_0x2530eb,this;}[_0x3d5107(0x175)](){const _0x1b56ad=_0x3d5107,_0x51db19=super[_0x1b56ad(0x175)]();_0x51db19[_0x1b56ad(0x179)]=_0x175c54[_0x1b56ad(0x12f)];const _0xc2e9a8=_0x51db19[_0x1b56ad(0x161)]||{};return s(_0xc2e9a8,'radar.shape',this[_0x1b56ad(0x199)]),s(_0xc2e9a8,'radar.fill',this[_0x1b56ad(0x1b1)]),_0x51db19[_0x1b56ad(0x161)]=_0xc2e9a8,_0x51db19;}}class nt extends c{['asRadarChart'](){const _0x338810=_0x3d5107;return new ot(this[_0x338810(0x19e)],this[_0x338810(0x1aa)],this['_workbook'],this[_0x338810(0x18a)],this[_0x338810(0x13d)]);}}c[_0x3d5107(0x120)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
1
+ const _0x1b07a7=_0x1265;function _0x1265(_0x5daaeb,_0x57c6c6){_0x5daaeb=_0x5daaeb-0xbe;const _0x23fdc3=_0x23fd();let _0x1265a1=_0x23fdc3[_0x5daaeb];return _0x1265a1;}(function(_0x570237,_0x47db4c){const _0x548ac4=_0x1265,_0x5a5edc=_0x570237();while(!![]){try{const _0x16c269=-parseInt(_0x548ac4(0xca))/0x1*(parseInt(_0x548ac4(0xe3))/0x2)+parseInt(_0x548ac4(0xd9))/0x3+parseInt(_0x548ac4(0x150))/0x4+-parseInt(_0x548ac4(0x103))/0x5+-parseInt(_0x548ac4(0x174))/0x6*(-parseInt(_0x548ac4(0x14f))/0x7)+parseInt(_0x548ac4(0x115))/0x8*(parseInt(_0x548ac4(0xcd))/0x9)+-parseInt(_0x548ac4(0x151))/0xa;if(_0x16c269===_0x47db4c)break;else _0x5a5edc['push'](_0x5a5edc['shift']());}catch(_0x242c7c){_0x5a5edc['push'](_0x5a5edc['shift']());}}}(_0x23fd,0xe4339));var R=Object[_0x1b07a7(0x13a)],k=(_0x84aeb5,_0x204e13,_0x11eeae)=>_0x204e13 in _0x84aeb5?R(_0x84aeb5,_0x204e13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11eeae}):_0x84aeb5[_0x204e13]=_0x11eeae,n=(_0x205a45,_0x1a4336,_0x299efa)=>k(_0x205a45,typeof _0x1a4336!=_0x1b07a7(0xe1)?_0x1a4336+'':_0x1a4336,_0x299efa);import{ChartThemeService as _0x4a38f7,ChartTypeBits as _0x4df349,LegendPositionEnum as _0x256096,SelectModeEnum as _0xd90239,AxisAlignEnum as _0x29d060,ChartBorderDashType as _0x5a1427,LinePointShape as _0x5914d5,TitlePositionEnum as _0x158ac9,RadarShape as _0xd6f1d4}from'@univerjs-pro/engine-chart';import{setProperty as _0x2e98b2,SheetsChartService as _0x591acc,ChartUpdateSourceCommand as _0x3969fb,ChartUpdateConfigCommand as _0x2ebb29}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x3d604c}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x88ad89,IUniverInstanceService as _0x5b479c,UniverInstanceType as _0x8634f4,generateRandomId as _0x51111d,DrawingTypeEnum as _0x105a67}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x19b816}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2477ca}from'@univerjs/sheets/facade';import{FBase as _0x4d2972,FEnum as _0xea86f3}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x56f58b}from'@univerjs/engine-formula';import{IRenderManagerService as _0x253125}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x562bcb,SheetSkeletonManagerService as _0x2fd135,convertPositionCellToSheetOverGrid as _0x1d783d}from'@univerjs/sheets-ui';const s=(_0x4174bf,_0x300512,_0x569d5e)=>{_0x569d5e!==void 0x0&&_0x2e98b2(_0x4174bf,_0x300512,_0x569d5e);},C=(_0x1728c0,_0x4e4b31,_0x94ba15,_0x5c5fbc={})=>{const _0x25ff2b=_0x1b07a7,_0x4add1={},_0x1e76a3={};if(_0x5c5fbc[_0x25ff2b(0x11a)]){const _0x4999fc=_0x5c5fbc[_0x25ff2b(0x11a)];s(_0x4add1,_0x25ff2b(0xfc),_0x4999fc[_0x25ff2b(0x163)]),s(_0x4add1,_0x25ff2b(0xc5),_0x4999fc['font']),s(_0x4add1,_0x25ff2b(0xd6),_0x4999fc[_0x25ff2b(0x102)]),s(_0x4add1,_0x25ff2b(0x10e),_0x4999fc[_0x25ff2b(0x155)]),s(_0x4add1,_0x25ff2b(0xe6),_0x4999fc[_0x25ff2b(0xbf)]),s(_0x4add1,_0x25ff2b(0xf6),_0x4999fc[_0x25ff2b(0x116)]),s(_0x4add1,_0x25ff2b(0xde),_0x4999fc[_0x25ff2b(0x16f)]),s(_0x4add1,_0x25ff2b(0x168),_0x4999fc[_0x25ff2b(0x15b)]);}if(_0x5c5fbc[_0x25ff2b(0x148)]){const _0x3e91de=_0x5c5fbc['legend'];s(_0x4add1,_0x25ff2b(0xd4),_0x3e91de[_0x25ff2b(0x15b)]),s(_0x4add1,_0x25ff2b(0x154),_0x3e91de[_0x25ff2b(0x118)]),s(_0x4add1,_0x25ff2b(0x149),_0x3e91de[_0x25ff2b(0x102)]),s(_0x4add1,_0x25ff2b(0xdf),_0x3e91de[_0x25ff2b(0x14c)]),s(_0x4add1,_0x25ff2b(0x12c),_0x3e91de[_0x25ff2b(0x116)]),s(_0x4add1,_0x25ff2b(0x121),_0x3e91de['italic']);}if(_0x5c5fbc[_0x25ff2b(0x101)]){const _0x29d4c6=_0x5c5fbc['pie'];s(_0x4add1,_0x25ff2b(0x159),_0x29d4c6['doughnutHole']),s(_0x4add1,'pie.borderColor',_0x29d4c6[_0x25ff2b(0x119)]),s(_0x4add1,'pie.hasPaddingAngle',_0x29d4c6['hasPaddingAngle']),s(_0x4add1,'pie.isHalfPie',_0x29d4c6['isHalfPie']),s(_0x4add1,_0x25ff2b(0xe4),_0x29d4c6[_0x25ff2b(0xd3)]),s(_0x4add1,'pie.showLabelLine',_0x29d4c6[_0x25ff2b(0x131)]);}if(_0x5c5fbc[_0x25ff2b(0x147)]){const _0x4fbb30=_0x5c5fbc[_0x25ff2b(0x147)];s(_0x4add1,_0x25ff2b(0x129),_0x4fbb30[_0x25ff2b(0x12f)]),s(_0x4add1,_0x25ff2b(0x10a),_0x4fbb30['indicatorLineType']),s(_0x4add1,'tooltip.indicatorLineColor',_0x4fbb30[_0x25ff2b(0xf3)]),s(_0x4add1,_0x25ff2b(0x108),_0x4fbb30['indicatorLabelTextColor']);}if(_0x5c5fbc[_0x25ff2b(0xff)]&&(s(_0x4add1,_0x25ff2b(0x15c),_0x5c5fbc['allSeriesStyle']['border']),s(_0x4add1,_0x25ff2b(0x15e),_0x5c5fbc[_0x25ff2b(0xff)][_0x25ff2b(0x110)]),s(_0x4add1,'allSeriesStyle.rightYAxis',_0x5c5fbc['allSeriesStyle'][_0x25ff2b(0xec)]),s(_0x4add1,_0x25ff2b(0xd0),_0x5c5fbc[_0x25ff2b(0xff)][_0x25ff2b(0x169)]),s(_0x4add1,_0x25ff2b(0x13b),_0x5c5fbc['allSeriesStyle'][_0x25ff2b(0x14c)])),_0x5c5fbc['area']&&s(_0x4add1,'area.lineStyle',_0x5c5fbc[_0x25ff2b(0x130)][_0x25ff2b(0x171)]),_0x5c5fbc[_0x25ff2b(0x132)]&&s(_0x4add1,'theme',_0x5c5fbc[_0x25ff2b(0x132)]),_0x5c5fbc[_0x25ff2b(0xd2)]&&s(_0x4add1,_0x25ff2b(0xd2),_0x5c5fbc[_0x25ff2b(0xd2)]),_0x5c5fbc['borderColor']&&s(_0x4add1,'borderColor',_0x5c5fbc['borderColor']),_0x5c5fbc['gradientFill']&&s(_0x4add1,'gradientFill',_0x5c5fbc[_0x25ff2b(0xd1)]),_0x5c5fbc[_0x25ff2b(0x112)]&&s(_0x4add1,_0x25ff2b(0x112),_0x5c5fbc[_0x25ff2b(0x112)]),_0x5c5fbc[_0x25ff2b(0xef)]&&s(_0x4add1,_0x25ff2b(0xef),_0x5c5fbc[_0x25ff2b(0xef)]),_0x5c5fbc[_0x25ff2b(0x142)]){const _0xbfbb7e=_0x5c5fbc[_0x25ff2b(0x142)];s(_0x4add1,'titles.xAxisTitle.content',_0xbfbb7e[_0x25ff2b(0x163)]),s(_0x4add1,_0x25ff2b(0x15f),_0xbfbb7e['font']),s(_0x4add1,_0x25ff2b(0xc2),_0xbfbb7e[_0x25ff2b(0x102)]),s(_0x4add1,'titles.xAxisTitle.color',_0xbfbb7e['fontColor']),s(_0x4add1,'titles.xAxisTitle.family',_0xbfbb7e['fontStyle']),s(_0x4add1,_0x25ff2b(0xee),_0xbfbb7e[_0x25ff2b(0x116)]),s(_0x4add1,_0x25ff2b(0x10f),_0xbfbb7e[_0x25ff2b(0xe2)]);}if(_0x5c5fbc[_0x25ff2b(0x122)]){const _0x20e092=_0x5c5fbc[_0x25ff2b(0x122)];s(_0x4add1,'titles.yAxisTitle.content',_0x20e092[_0x25ff2b(0x163)]),s(_0x4add1,'titles.yAxisTitle.font',_0x20e092['font']),s(_0x4add1,_0x25ff2b(0x10c),_0x20e092[_0x25ff2b(0x102)]),s(_0x4add1,_0x25ff2b(0xda),_0x20e092[_0x25ff2b(0x155)]),s(_0x4add1,_0x25ff2b(0xbe),_0x20e092[_0x25ff2b(0xbf)]),s(_0x4add1,_0x25ff2b(0xcb),_0x20e092['bold']),s(_0x4add1,_0x25ff2b(0x146),_0x20e092['axisAlignment']);}if(_0x5c5fbc[_0x25ff2b(0xea)]){const _0x1ccdb3=_0x5c5fbc[_0x25ff2b(0xea)];s(_0x4add1,'titles.rightYAxisTitle.content',_0x1ccdb3[_0x25ff2b(0x163)]),s(_0x4add1,_0x25ff2b(0x138),_0x1ccdb3[_0x25ff2b(0x16d)]),s(_0x4add1,_0x25ff2b(0xc7),_0x1ccdb3[_0x25ff2b(0x102)]),s(_0x4add1,_0x25ff2b(0xd7),_0x1ccdb3['fontColor']),s(_0x4add1,_0x25ff2b(0x137),_0x1ccdb3[_0x25ff2b(0xbf)]),s(_0x4add1,_0x25ff2b(0x166),_0x1ccdb3[_0x25ff2b(0x116)]),s(_0x4add1,_0x25ff2b(0x13e),_0x1ccdb3[_0x25ff2b(0xe2)]);}_0x5c5fbc[_0x25ff2b(0x120)]&&s(_0x4add1,_0x25ff2b(0x120),_0x5c5fbc[_0x25ff2b(0x120)]),_0x5c5fbc[_0x25ff2b(0x12e)]&&s(_0x4add1,_0x25ff2b(0x12e),_0x5c5fbc[_0x25ff2b(0x12e)]),_0x5c5fbc['yRightAxis']&&s(_0x4add1,'rightYAxis',_0x5c5fbc['yRightAxis']),_0x5c5fbc[_0x25ff2b(0x10d)]&&s(_0x4add1,_0x25ff2b(0x10d),_0x5c5fbc['seriesStyleMap']);const _0x65cb58={'unitId':_0x1728c0,'chartModelId':_0x4e4b31};let _0x55b0b7=!0x1;if(_0x94ba15!==void 0x0&&(_0x65cb58['chartType']=_0x94ba15,_0x55b0b7=!0x0),Object[_0x25ff2b(0x12d)](_0x4add1)[_0x25ff2b(0xed)]>0x0&&(_0x65cb58[_0x25ff2b(0x16b)]=_0x4add1,_0x55b0b7=!0x0),Object['keys'](_0x1e76a3)[_0x25ff2b(0xed)]>0x0&&(_0x65cb58[_0x25ff2b(0xcf)]=_0x1e76a3,_0x55b0b7=!0x0),_0x55b0b7)return _0x65cb58;};class c extends _0x4d2972{constructor(_0x3102c5,_0x35ac64,_0x53a5e8,_0x3fb5ab,_0x46a163){const _0xaf0652=_0x1b07a7;super(),n(this,_0xaf0652(0xc8)),n(this,_0xaf0652(0xe7)),n(this,_0xaf0652(0x109)),n(this,_0xaf0652(0xe0)),n(this,'chartId'),n(this,'range'),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0xaf0652(0x145)),n(this,_0xaf0652(0x11e)),n(this,_0xaf0652(0x165)),n(this,'options'),n(this,_0xaf0652(0x173)),(this[_0xaf0652(0x109)]=_0x3102c5,this[_0xaf0652(0xe0)]=_0x35ac64,this[_0xaf0652(0xc8)]=_0x53a5e8,this[_0xaf0652(0xe7)]=_0x3fb5ab,_0x46a163&&(this[_0xaf0652(0xdd)]=_0x46a163));}[_0x1b07a7(0xc4)](){const _0xf17db7=_0x1b07a7;return this[_0xf17db7(0x165)];}[_0x1b07a7(0x160)](_0x3541dc){const _0x1f7dff=_0x1b07a7;if(typeof _0x3541dc==_0x1f7dff(0x12a)){const _0x55b5bb=_0x56f58b(_0x3541dc);_0x55b5bb[_0x1f7dff(0x16e)]&&(this[_0x1f7dff(0x105)]=_0x55b5bb[_0x1f7dff(0x16e)]),this[_0x1f7dff(0x157)]=_0x55b5bb['range'];}else this[_0x1f7dff(0x157)]=_0x3541dc;return this;}[_0x1b07a7(0x127)](){const _0x547f12=_0x1b07a7;return this[_0x547f12(0x157)]=void 0x0,this[_0x547f12(0x105)]=void 0x0,this;}[_0x1b07a7(0x161)](_0x48f3b0,_0x47b1ce,_0x473058,_0x4a6b95){const _0x55f093=_0x1b07a7,_0x19f82f=this[_0x55f093(0xe7)][_0x55f093(0x11c)](_0x253125)[_0x55f093(0xf2)](this[_0x55f093(0x109)]);if(!_0x19f82f)throw new Error(_0x55f093(0xf9));const _0x24f587=_0x19f82f[_0x55f093(0xdc)](_0x562bcb),_0x4b0d4d=_0x19f82f[_0x55f093(0xdc)](_0x2fd135),{transform:_0x31b68e}=_0x1d783d(this['unitId'],this[_0x55f093(0xe0)],{'row':_0x48f3b0,'column':_0x47b1ce,'rowOffset':_0x473058,'columnOffset':_0x4a6b95},0x1,0x1,_0x24f587,_0x4b0d4d),_0x2c434e=_0x31b68e['top'],_0x343417=_0x31b68e[_0x55f093(0x140)];return this['x']=_0x343417,this['y']=_0x2c434e,this;}['setAbsolutePosition'](_0x15a3e1,_0x48f4f8){return this['x']=_0x15a3e1,this['y']=_0x48f4f8,this;}['setChartType'](_0x3ce6c7){return this['chartType']=_0x3ce6c7,this;}['setWidth'](_0x32c413){const _0x2f9346=_0x1b07a7;return this[_0x2f9346(0x145)]=_0x32c413,this;}[_0x1b07a7(0x111)](_0x29ab18){const _0x16cb40=_0x1b07a7;return this[_0x16cb40(0x11e)]=_0x29ab18,this;}[_0x1b07a7(0x15d)](_0x451cbc,_0x1aaa4f){const _0x5cacc1=_0x1b07a7;return this[_0x5cacc1(0x135)]||(this['options']={}),_0x451cbc===''?(this[_0x5cacc1(0x135)]={...this[_0x5cacc1(0x135)],..._0x1aaa4f},this):(_0x2e98b2(this[_0x5cacc1(0x135)],_0x451cbc,_0x1aaa4f),this);}['setTransposeRowsAndColumns'](_0x4997c2){const _0x4a04a1=_0x1b07a7;return this[_0x4a04a1(0x173)]=_0x4997c2,this;}[_0x1b07a7(0x126)](_0x127767){const _0x5f2202=_0x1b07a7;return this['setOptions'](_0x5f2202(0x132),_0x127767),this;}[_0x1b07a7(0x128)](_0x1cc0d6){const _0x46f817=_0x1b07a7;var _0x1810a3;const _0x52aab6=((_0x1810a3=this[_0x46f817(0x135)])==null?void 0x0:_0x1810a3[_0x46f817(0x142)])||{};return _0x52aab6[_0x46f817(0x163)]=_0x1cc0d6,this[_0x46f817(0x15d)](_0x46f817(0x142),_0x52aab6),this;}['setYAxisTitle'](_0x40822d){const _0x58eac3=_0x1b07a7;var _0x5a2674;const _0xd23ed6=((_0x5a2674=this[_0x58eac3(0x135)])==null?void 0x0:_0x5a2674[_0x58eac3(0x122)])||{};return _0xd23ed6[_0x58eac3(0x163)]=_0x40822d,this[_0x58eac3(0x15d)]('yAxisTitle',_0xd23ed6),this;}['setRightYAxisTitle'](_0x274203){const _0x269abd=_0x1b07a7;var _0x3efa38;const _0x1a00ea=((_0x3efa38=this[_0x269abd(0x135)])==null?void 0x0:_0x3efa38[_0x269abd(0xea)])||{};return _0x1a00ea[_0x269abd(0x163)]=_0x274203,this[_0x269abd(0x15d)](_0x269abd(0xea),_0x1a00ea),this;}[_0x1b07a7(0xf1)](_0x5c0e5b){const _0x449bca=_0x1b07a7;var _0x3ae4db;const _0x6f87e7=((_0x3ae4db=this[_0x449bca(0x135)])==null?void 0x0:_0x3ae4db[_0x449bca(0x142)])||{};return this[_0x449bca(0x15d)](_0x449bca(0x142),{..._0x6f87e7,..._0x5c0e5b}),this;}['setYAxisTextStyle'](_0x3a084e){const _0x520f36=_0x1b07a7;var _0x2058f7;const _0x9e01e3=((_0x2058f7=this[_0x520f36(0x135)])==null?void 0x0:_0x2058f7[_0x520f36(0x122)])||{};return this[_0x520f36(0x15d)](_0x520f36(0x122),{..._0x9e01e3,..._0x3a084e}),this;}[_0x1b07a7(0x14a)](_0x41b3b3){const _0x31d6d5=_0x1b07a7;var _0x52804e;const _0x3ce96b=((_0x52804e=this[_0x31d6d5(0x135)])==null?void 0x0:_0x52804e[_0x31d6d5(0xea)])||{};return this[_0x31d6d5(0x15d)](_0x31d6d5(0xea),{..._0x3ce96b,..._0x41b3b3}),this;}['setInvalidValueStrategy'](_0x51b1f5){const _0xd98fb6=_0x1b07a7;return this[_0xd98fb6(0x15d)]('invalidValueType',_0x51b1f5),this;}[_0x1b07a7(0xd8)](_0x4ea9c8){const _0x417498=_0x1b07a7;return this[_0x417498(0x15d)](_0x417498(0x147),_0x4ea9c8),this;}[_0x1b07a7(0xf5)](_0x37ddef){const _0x32d325=_0x1b07a7;return this[_0x32d325(0x15d)](_0x32d325(0xff),_0x37ddef),this;}[_0x1b07a7(0xfa)](_0xb2f3ac,_0x156a27){const _0x5e5963=_0x1b07a7;return this[_0x5e5963(0x15d)](_0x5e5963(0x10d),{[_0xb2f3ac]:_0x156a27}),this;}[_0x1b07a7(0x164)](){const _0x2f7863=_0x1b07a7;return{'unitId':this[_0x2f7863(0x109)],'subUnitId':this[_0x2f7863(0xe0)],'chartId':this[_0x2f7863(0xdd)],'range':this[_0x2f7863(0x157)],'sourceSheetName':this[_0x2f7863(0x105)],'x':this['x'],'y':this['y'],'width':this[_0x2f7863(0x145)],'height':this['height'],'chartType':this[_0x2f7863(0x165)],'options':this[_0x2f7863(0x135)],'isRowDirection':this[_0x2f7863(0x173)]};}}class P{constructor(_0x11f16b,_0x5783d6,_0xca74a4,_0x34b29b){const _0x279376=_0x1b07a7;n(this,_0x279376(0x109)),n(this,_0x279376(0xe0)),n(this,_0x279376(0xdd)),n(this,_0x279376(0xe7)),(this['unitId']=_0x11f16b,this[_0x279376(0xe0)]=_0x5783d6,this[_0x279376(0xdd)]=_0xca74a4,this[_0x279376(0xe7)]=_0x34b29b);}[_0x1b07a7(0x172)](){return this['chartId'];}[_0x1b07a7(0xf4)](){const _0x2144d1=_0x1b07a7,_0xa6ca47=this[_0x2144d1(0xe7)]['get'](_0x591acc)[_0x2144d1(0x117)](this[_0x2144d1(0xdd)]);if(_0xa6ca47)return _0xa6ca47[_0x2144d1(0x16a)][_0x2144d1(0xfe)]();}['updateRange'](_0x41eb8b){const _0x17a3b3=_0x1b07a7;return this['_injector'][_0x17a3b3(0x11c)](_0x88ad89)[_0x17a3b3(0xc6)](_0x3969fb['id'],{'unitId':this[_0x17a3b3(0x109)],'chartModelId':this['chartId'],'range':_0x41eb8b});}[_0x1b07a7(0xce)](){const _0xaf69d6=_0x1b07a7;var _0x5e3315;const _0x151740=this[_0xaf69d6(0xe7)][_0xaf69d6(0x11c)](_0x591acc)['getChartModel'](this[_0xaf69d6(0xdd)]);if(_0x151740)return(_0x5e3315=_0x151740['config'])==null?void 0x0:_0x5e3315[_0xaf69d6(0x106)];}[_0x1b07a7(0x162)](){const _0xdc0687=_0x1b07a7;var _0xadbd54;const _0xe618d7=this[_0xdc0687(0xe7)][_0xdc0687(0x11c)](_0x591acc)[_0xdc0687(0x117)](this[_0xdc0687(0xdd)]);if(_0xe618d7)return(_0xadbd54=_0xe618d7[_0xdc0687(0x139)])==null?void 0x0:_0xadbd54[_0xdc0687(0xe5)];}[_0x1b07a7(0x123)](){const _0x32b698=_0x1b07a7,_0x30bda9=this[_0x32b698(0xe7)]['get'](_0x5b479c)[_0x32b698(0x134)](_0x8634f4[_0x32b698(0x167)]);return new c(this[_0x32b698(0x109)],this['subUnitId'],_0x30bda9,this[_0x32b698(0xe7)],this['chartId']);}}class $ extends _0x2477ca{async[_0x1b07a7(0x125)](_0x1a388f){const _0x36dd11=_0x1b07a7;var _0x1141c8,_0x21ed9a,_0x4a5308;const _0xc8bacc=_0x1a388f[_0x36dd11(0x109)]||this[_0x36dd11(0x136)]()[_0x36dd11(0x141)](),_0x73ef70=_0x1a388f[_0x36dd11(0xe0)]||this[_0x36dd11(0x13f)](),_0x5343d8=_0x1a388f[_0x36dd11(0xdd)]||_0x51111d(),_0x1826c2=_0x1a388f['chartType'],_0x2206ff=_0x1a388f[_0x36dd11(0x157)],_0x197cc9=_0x1a388f[_0x36dd11(0x105)],_0x39057e={'x':_0x1a388f['x'],'y':_0x1a388f['y']},_0x420021=_0x1a388f['width'],_0x3b005c=_0x1a388f[_0x36dd11(0x11e)],_0x745a89=(_0x1141c8=_0x1a388f[_0x36dd11(0x135)])==null?void 0x0:_0x1141c8[_0x36dd11(0xd2)],_0x355f27=(_0x21ed9a=_0x1a388f['options'])==null?void 0x0:_0x21ed9a['borderColor'],_0x4ed4a5=C(_0xc8bacc,_0x5343d8,_0x1826c2,_0x1a388f['options']),_0x4cd225=(_0x4a5308=_0x1a388f[_0x36dd11(0x124)])!=null?_0x4a5308:!0x0;if(!_0x2206ff)throw new Error(_0x36dd11(0x153));return await this[_0x36dd11(0x11d)][_0x36dd11(0xc6)](_0x3d604c['id'],{'unitId':_0xc8bacc,'subUnitId':_0x73ef70,'chartId':_0x5343d8,'chartType':_0x1826c2,'range':_0x2206ff,'sourceSheetName':_0x197cc9,'position':_0x39057e,'width':_0x420021,'height':_0x3b005c,'backgroundColor':_0x745a89,'borderColor':_0x355f27,'config':_0x4ed4a5,'isRowDirection':_0x4cd225}),new P(_0xc8bacc,_0x73ef70,_0x5343d8,this[_0x36dd11(0xe7)]);}[_0x1b07a7(0x158)](_0x4985bf){const _0x4e5f3f=_0x1b07a7,{unitId:_0x1a185a,chartId:_0x88da7f,chartType:_0x569a89,options:_0x1c01d2}=_0x4985bf,_0x3681b2=C(_0x1a185a,_0x88da7f,_0x569a89,_0x1c01d2);this[_0x4e5f3f(0x11d)]['executeCommand'](_0x2ebb29['id'],_0x3681b2);}[_0x1b07a7(0x156)](_0x363111){const _0x5482df=_0x1b07a7;if(_0x363111)return new c(_0x363111[_0x5482df(0x109)],_0x363111[_0x5482df(0xe0)],this['_workbook'],this[_0x5482df(0xe7)],_0x363111[_0x5482df(0xdd)]);const _0x26c18f=this[_0x5482df(0x136)]()[_0x5482df(0x141)](),_0x1de2c4=this[_0x5482df(0x13f)]();return new c(_0x26c18f,_0x1de2c4,this[_0x5482df(0xc8)],this[_0x5482df(0xe7)]);}['getCharts'](){const _0x17fc75=_0x1b07a7,_0x4e0bba=this[_0x17fc75(0xe7)][_0x17fc75(0x11c)](_0x591acc),_0x2a7afe=this[_0x17fc75(0x136)]()[_0x17fc75(0x141)]();return _0x4e0bba[_0x17fc75(0x170)](_0x2a7afe,this['getSheetId']())[_0x17fc75(0x15a)](_0x3a1772=>new P(_0x2a7afe,this[_0x17fc75(0x13f)](),_0x3a1772['id'],this[_0x17fc75(0xe7)]));}[_0x1b07a7(0x144)](_0x3b8d41){const _0x4140fd=_0x1b07a7,_0xcf8f5b=_0x3b8d41[_0x4140fd(0x109)],_0x413743=_0x3b8d41[_0x4140fd(0xe0)],_0x4d135d=_0x3b8d41['chartId'],_0x4ba198={'unitId':_0xcf8f5b,'drawings':[{'unitId':_0xcf8f5b,'subUnitId':_0x413743,'drawingId':_0x4d135d,'drawingType':_0x105a67[_0x4140fd(0x114)]}]};return this[_0x4140fd(0x11d)][_0x4140fd(0xc6)](_0x19b816['id'],_0x4ba198);}[_0x1b07a7(0xe9)](_0x28b34a,_0x5a66f9){const _0x324383=_0x1b07a7;this[_0x324383(0xe7)]['get'](_0x4a38f7)[_0x324383(0x12b)](_0x28b34a,_0x5a66f9);}}_0x2477ca['extend']($);class tt extends _0xea86f3{get[_0x1b07a7(0xc1)](){return _0x4df349;}get[_0x1b07a7(0x113)](){return _0x256096;}get['SelectModeEnum'](){return _0xd90239;}get['AxisAlignEnum'](){return _0x29d060;}get['ChartBorderDashType'](){return _0x5a1427;}get[_0x1b07a7(0x152)](){return _0x5914d5;}get[_0x1b07a7(0xdb)](){return _0x158ac9;}get['RadarShape'](){return _0xd6f1d4;}}_0xea86f3[_0x1b07a7(0xfd)](tt);function _0x23fd(){const _0x50a037=['map','position','allSeriesStyle.border','setOptions','allSeriesStyle.label','titles.xAxisTitle.font','addRange','setPosition','getCategoryData','content','build','chartType','titles.rightYAxisTitle.bold','UNIVER_SHEET','titles.titlePosition','point','dataSource','style','asRadarChart','font','sheetName','titleAlignment','getUnitChartModels','lineStyle','getChartId','transposeRowsAndColumns','18yglIkN','titles.yAxisTitle.family','fontStyle','setDataPointColor','ChartType','titles.xAxisTitle.fontSize','setFill','getChartType','titles.title.font','executeCommand','titles.rightYAxisTitle.fontSize','_workbook','doughnutHole','1042NngFoX','titles.yAxisTitle.bold','Line','5117931qBkTPA','getSeriesData','context','allSeriesStyle.point','gradientFill','backgroundColor','rosePie','legend.position','asLineChart','titles.title.fontSize','titles.rightYAxisTitle.color','setAxisPointerStyle','3899988yqbkYR','titles.yAxisTitle.color','TitlePositionEnum','with','chartId','titles.title.align','legend.label.color','subUnitId','symbol','axisAlignment','1992PxmXtU','pie.rosePie','category','titles.title.family','_injector','area.lineStyle','registerChartTheme','rightYAxisTitle','dataPointSize','rightYAxis','length','titles.xAxisTitle.bold','radar','pie.isHalfPie','setXAxisTextStyle','getRenderById','indicatorLineColor','getRange','setAllSeriesStyle','titles.title.bold','allSeriesStyle.point.color','setShowLabelLine','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','setSeriesStyle','setLineStyle','titles.title.content','extend','getRangeInfo','allSeriesStyle','shape','pie','fontSize','3403740pGPlwB','pie.borderColor','sourceSheetName','series','setDataPointShape','tooltip.indicatorLabelTextColor','unitId','tooltip.indicatorLineType','isHalfPie','titles.yAxisTitle.fontSize','seriesStyleMap','titles.title.color','xAxis.label.axisTitleAlign','label','setHeight','invalidValueType','LegendPositionEnum','DRAWING_CHART','24YmcklG','bold','getChartModel','selectMode','borderColor','title','setHasPaddingAngle','get','_commandService','height','setDoughnutHole','xAxis','legend.label.italic','yAxisTitle','modify','isRowDirection','insertChart','setTheme','clearRange','setXAxisTitle','tooltip.indicatorLabelColor','string','registerTheme','legend.label.bold','keys','yAxis','indicatorLabelColor','area','showLabelLine','theme','dataPointColor','getCurrentUnitForType','options','getWorkbook','titles.rightYAxisTitle.family','titles.rightYAxisTitle.font','config','defineProperty','allSeriesStyle.color','setBorderColor','fill','rightYAxis.label.axisTitleAlign','getSheetId','left','getUnitId','xAxisTitle','Radar','removeChart','width','yAxis.label.axisTitleAlign','axisPointer','legend','legend.label.fontSize','setRightYAxisTextStyle','pie.showLabelLine','color','radar.shape','dataPointShape','925253XkbPmO','7226140kplopu','25557520qtmgps','LinePointShape','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','legend.selectMode','fontColor','newChart','range','updateChart','pie.doughnutHole'];_0x23fd=function(){return _0x50a037;};return _0x23fd();}class et extends c{constructor(_0x1664ae,_0xdbed2c,_0x46fd3e,_0x276baf,_0x3832f2){const _0x28783f=_0x1b07a7;super(_0x1664ae,_0xdbed2c,_0x46fd3e,_0x276baf,_0x3832f2),n(this,_0x28783f(0x171)),n(this,_0x28783f(0x14e)),n(this,_0x28783f(0x133)),n(this,'dataPointSize');}[_0x1b07a7(0xfb)](_0x15570d){const _0x488ed5=_0x1b07a7;return this[_0x488ed5(0x171)]=_0x15570d,this;}[_0x1b07a7(0x107)](_0x341011){const _0x3962d5=_0x1b07a7;return this[_0x3962d5(0x14e)]=_0x341011,this;}[_0x1b07a7(0xc0)](_0x506e35){const _0x4c2298=_0x1b07a7;return this[_0x4c2298(0x133)]=_0x506e35,this;}['setDataPointSize'](_0xc2c0e3){const _0x4ec06b=_0x1b07a7;return this[_0x4ec06b(0xeb)]=_0xc2c0e3,this;}[_0x1b07a7(0x164)](){const _0x54f4ec=_0x1b07a7,_0x38943f=super[_0x54f4ec(0x164)]();_0x38943f[_0x54f4ec(0x165)]=_0x4df349[_0x54f4ec(0xcc)];const _0x24c9a7=_0x38943f['options']||{};return s(_0x24c9a7,_0x54f4ec(0xe8),this['lineStyle']),s(_0x24c9a7,'allSeriesStyle.point.shape',this[_0x54f4ec(0x14e)]),s(_0x24c9a7,_0x54f4ec(0xf7),this[_0x54f4ec(0x133)]),s(_0x24c9a7,'allSeriesStyle.point.size',this[_0x54f4ec(0xeb)]),_0x38943f[_0x54f4ec(0x135)]=_0x24c9a7,_0x38943f;}}class it extends c{[_0x1b07a7(0xd5)](){const _0x439e7b=_0x1b07a7;return new et(this[_0x439e7b(0x109)],this[_0x439e7b(0xe0)],this[_0x439e7b(0xc8)],this[_0x439e7b(0xe7)],this[_0x439e7b(0xdd)]);}}c[_0x1b07a7(0xfd)](it);class st extends c{constructor(_0xeef63e,_0x5a58c6,_0x149557,_0x305f4f,_0x27c200){const _0x2e9098=_0x1b07a7;super(_0xeef63e,_0x5a58c6,_0x149557,_0x305f4f,_0x27c200),n(this,_0x2e9098(0xc9)),n(this,_0x2e9098(0x119)),n(this,'hasPaddingAngle'),n(this,_0x2e9098(0x10b)),n(this,_0x2e9098(0xd3)),n(this,_0x2e9098(0x131));}[_0x1b07a7(0x11f)](_0x4558be){const _0x5be0b8=_0x1b07a7;return this[_0x5be0b8(0xc9)]=_0x4558be,this;}[_0x1b07a7(0x13c)](_0x120375){const _0x23f288=_0x1b07a7;return this[_0x23f288(0x119)]=_0x120375,this;}[_0x1b07a7(0x11b)](_0x1e3f16){return this['hasPaddingAngle']=_0x1e3f16,this;}['setIsHalfPie'](_0x3bb0bc){return this['isHalfPie']=_0x3bb0bc,this;}['setRosePie'](_0x23da38){const _0x498004=_0x1b07a7;return this[_0x498004(0xd3)]=_0x23da38,this;}[_0x1b07a7(0xf8)](_0x3d4d92){const _0x3b8442=_0x1b07a7;return this[_0x3b8442(0x131)]=_0x3d4d92,this;}[_0x1b07a7(0x164)](){const _0x589aaf=_0x1b07a7,_0x2837cf=super[_0x589aaf(0x164)]();_0x2837cf['chartType']=_0x4df349['Pie'];const _0x3673c7=_0x2837cf[_0x589aaf(0x135)]||{};return s(_0x3673c7,_0x589aaf(0x159),this[_0x589aaf(0xc9)]),s(_0x3673c7,_0x589aaf(0x104),this[_0x589aaf(0x119)]),s(_0x3673c7,'pie.hasPaddingAngle',this['hasPaddingAngle']),s(_0x3673c7,_0x589aaf(0xf0),this[_0x589aaf(0x10b)]),s(_0x3673c7,'pie.rosePie',this['rosePie']),s(_0x3673c7,_0x589aaf(0x14b),this['showLabelLine']),_0x2837cf[_0x589aaf(0x135)]=_0x3673c7,_0x2837cf;}}class rt extends c{['asPieChart'](){const _0x579aeb=_0x1b07a7;return new st(this[_0x579aeb(0x109)],this[_0x579aeb(0xe0)],this[_0x579aeb(0xc8)],this[_0x579aeb(0xe7)],this['chartId']);}}c[_0x1b07a7(0xfd)](rt);class ot extends c{constructor(_0xfc5d5e,_0x3d72d3,_0x41f249,_0x2950a9,_0x5a8985){const _0xc9ddc6=_0x1b07a7;super(_0xfc5d5e,_0x3d72d3,_0x41f249,_0x2950a9,_0x5a8985),n(this,_0xc9ddc6(0x100)),n(this,_0xc9ddc6(0x13d));}['setShape'](_0x8d019b){return this['shape']=_0x8d019b,this;}[_0x1b07a7(0xc3)](_0xbee3ea){const _0x139c9b=_0x1b07a7;return this[_0x139c9b(0x13d)]=_0xbee3ea,this;}['build'](){const _0xa9984f=_0x1b07a7,_0x3f5bd7=super['build']();_0x3f5bd7[_0xa9984f(0x165)]=_0x4df349[_0xa9984f(0x143)];const _0x6adebf=_0x3f5bd7['options']||{};return s(_0x6adebf,_0xa9984f(0x14d),this[_0xa9984f(0x100)]),s(_0x6adebf,'radar.fill',this['fill']),_0x3f5bd7[_0xa9984f(0x135)]=_0x6adebf,_0x3f5bd7;}}class nt extends c{[_0x1b07a7(0x16c)](){const _0x1f6b5b=_0x1b07a7;return new ot(this[_0x1f6b5b(0x109)],this[_0x1f6b5b(0xe0)],this[_0x1f6b5b(0xc8)],this[_0x1f6b5b(0xe7)],this[_0x1f6b5b(0xdd)]);}}c[_0x1b07a7(0xfd)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};