@univerjs-pro/sheets-chart-ui 0.15.2-insiders.20260119-edc718c → 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 +14 -14
@@ -1 +1 @@
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;
1
+ 'use strict';const _0x5e4301=_0xa97b;(function(_0x2f2bac,_0x60ac33){const _0x455ed8=_0xa97b,_0x11ac08=_0x2f2bac();while(!![]){try{const _0x19f2e9=parseInt(_0x455ed8(0xdd))/0x1+parseInt(_0x455ed8(0x105))/0x2+parseInt(_0x455ed8(0x10b))/0x3+-parseInt(_0x455ed8(0xd7))/0x4*(parseInt(_0x455ed8(0x112))/0x5)+-parseInt(_0x455ed8(0xf4))/0x6*(parseInt(_0x455ed8(0xe2))/0x7)+parseInt(_0x455ed8(0xa9))/0x8+-parseInt(_0x455ed8(0x9d))/0x9;if(_0x19f2e9===_0x60ac33)break;else _0x11ac08['push'](_0x11ac08['shift']());}catch(_0x2c5bb8){_0x11ac08['push'](_0x11ac08['shift']());}}}(_0x519b,0xaab5e));function _0x519b(){const _0x5b0e7f=['小數位數','百分比堆疊條形圖','顯示軸線','9585225nmAbpy','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','隱藏圖表面板','指示標籤','小計樣式','{0}\x20透明度','趨勢線類型','扇形間距','千分位符','編輯圖表','顯示數據標籤','多項式階數','7337048APJzRm','柱狀圖','節點距離','百分比堆疊面積圖','標籤文本','線類型','用直線連接數據點','使用值作為節點大小','{0}\x20顏色','負數類型','空心箭頭','右Y軸標題','折線圖','數據點樣式','數據範圍','空心圓形','垂直軸','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','圖表數據源必須包含多於1列和1欄。','網格線','氣泡大小','指示線','{0}\x20大小','三角形','顯示標籤線','日期格式將日期和時間系列數值顯示為日期值。','中位數','右對齊','指示值','堆疊面積圖','請先添加系列開始數據可視化','插入圖表','標題格式','exports','重複詞雲標籤','股票圖','排列圖','指示線顏色','系列\x20{0}','貨幣類型','日期類型','空心三角形','正值樣式','趨勢線名稱','顯示標籤','多邊形','36KFGIIN','氣泡圖','條形圖','佈局類型','百分比','打開圖表面板','672471sOzMMN','主標題','漸變填充','圓環孔','面積圖','3189592AadSAg','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','堆疊條形圖','所有系列','力導向','自定義圖表','最小值','漏斗圖','X軸標題','設置圖表','網格線和刻度線','数值后缀','負值圖例文本','熱力圖','氣泡圖至少需要2欄,X軸、Y軸。','正方形','左對齊','第\x20{0}\x20項','6FuDdeo','空心圓角矩形','堆疊方式','顯示小計','百分比堆疊','圖例選擇模式','第三四分位數','累積占比系列','正值圖例文本','{0}\x20格式','詞雲形狀','力導向選項','數據點','空心針形','標題對齊','格式類型','逆序軸','1430106AcnsjP','(空)','設置標籤格式','主刻度線','字段設置','顯示空單元格為','2407374OXoYej','瀑布圖','移動平均','圖表類型','組合圖','第一四分位數','空心正方形','492890Qbkpmc','開啟選中淡入特效','顯示公式','玫瑰圖','背景顏色','右垂直軸','最大值','{0}\x20類型','軸選項','趨勢線顏色','刪除圖表','散點圖','氣泡標籤','更多設置','數據標籤','圖表樣式','雷達圖','{0}\x20粗細','日期軸僅在數據全部為日期格式時可用','箱型圖'];_0x519b=function(){return _0x5b0e7f;};return _0x519b();}function _0xa97b(_0x3b668e,_0x112874){_0x3b668e=_0x3b668e-0x94;const _0x519b12=_0x519b();let _0xa97b3f=_0x519b12[_0x3b668e];return _0xa97b3f;}const e={'chart':{'insertChart':_0x5e4301(0xc8),'editChart':_0x5e4301(0xa6),'openChartPanel':_0x5e4301(0xdc),'deleteChart':_0x5e4301(0x11c),'hideChartPanel':_0x5e4301(0x9f),'setupChart':_0x5e4301(0xeb),'customChart':_0x5e4301(0xe7),'default':'默認','reset':'重置','chartType':_0x5e4301(0x10e),'themes':'主題','dataRange':_0x5e4301(0xb7),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x5e4301(0xe5),'series':'系列','addSeries':'添加系列','moreSettings':_0x5e4301(0x11f),'min':_0x5e4301(0xe8),'max':_0x5e4301(0x118),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x5e4301(0xaf)},'blank':_0x5e4301(0x106),'seriesBlock':{'format':'格式','dataPointStyle':_0x5e4301(0xb6)},'backgroundColor':_0x5e4301(0x116),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x5e4301(0xde),'subTitle':'副標題','xAxisTitle':_0x5e4301(0xea),'yAxisTitle':'Y軸標題','rightYAxisTitle':_0x5e4301(0xb4),'titleFormat':_0x5e4301(0xc9),'titleText':'標題文本','titlePosition':'標題位置','titleAlign':_0x5e4301(0x102)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x5e4301(0xdf),'settingsLabels':{'switchToRowOrColumn':'切換列或欄','useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x5e4301(0x10a)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x5e4301(0xf2),'center':'居中','right':_0x5e4301(0xc4)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x5e4301(0x95),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x5e4301(0xf9),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x5e4301(0x11a),'horizontalAxis':'水平軸','verticalAxis':_0x5e4301(0xb9),'rightVerticalAxis':_0x5e4301(0x117),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':_0x5e4301(0x94),'gridlinesAndTicks':_0x5e4301(0xec),'indicatorLine':_0x5e4301(0xbe),'indicatorLineType':'指示線類型','indicatorLineColor':_0x5e4301(0xce),'indicatorLabel':_0x5e4301(0xa0),'indicatorValue':_0x5e4301(0xc5),'shape':{'polygon':_0x5e4301(0xd6),'circle':'圓形','square':_0x5e4301(0xf1),'triangle':_0x5e4301(0xc0),'diamond':'菱形','rect':'矩形','roundRect':'圓角矩形','pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x5e4301(0xb8),'emptySquare':_0x5e4301(0x111),'emptyTriangle':_0x5e4301(0xd2),'emptyDiamond':'空心菱形','emptyRect':'空心矩形','emptyRoundRect':_0x5e4301(0xf5),'emptyPin':_0x5e4301(0x101),'emptyArrow':_0x5e4301(0xb3)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x5e4301(0xa2),'withColor':_0x5e4301(0xb1),'withThickness':_0x5e4301(0x97),'withType':_0x5e4301(0x119),'withSize':_0x5e4301(0xbf),'withShape':'{0}\x20形狀','withFormat':_0x5e4301(0xfd),'dataPoint':_0x5e4301(0x100),'dataNodeShape':'節點形狀','addDataPoint':'添加數據點','point':'數據點','percentage':_0x5e4301(0xdb),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x5e4301(0xf8)},'lineDashType':_0x5e4301(0xae),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x5e4301(0xbc)},'ticks':{'majorTick':_0x5e4301(0x108),'tickPosition':'刻度線位置','tickLength':'刻度線長度'},'none':'無','theIndexItem':_0x5e4301(0xf3),'seriesDefaultName':_0x5e4301(0xcf),'categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':_0x5e4301(0xd5),'showDataLabels':_0x5e4301(0xa7),'padAngle':_0x5e4301(0xa4),'halfPie':'半餅','rosePie':_0x5e4301(0x115),'pieValScale':'数值比例','pieValSuffix':_0x5e4301(0xed),'pieDigitalFixed':'小數位數','showLabelLine':_0x5e4301(0xc1),'reverseAxisOrder':_0x5e4301(0x104),'showAxisLine':_0x5e4301(0x9c),'labelPosition':'標籤位置','labelText':_0x5e4301(0xad),'repeatWordCould':_0x5e4301(0xcb),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':'標籤旋轉','wordCloudShape':_0x5e4301(0xfe),'useDateAxis':'使用日期軸','dateAxisTips':_0x5e4301(0x98)},'radar':{'fill':'填充'},'doughnutHole':_0x5e4301(0xe0),'msg':{'invalidSource':_0x5e4301(0xbb),'emptyTips':_0x5e4301(0xc7),'sankeyCircularTips':'桑基圖不能包含循環數據'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x5e4301(0xd4),'addTrendLine':'添加趨勢線','trendlineType':_0x5e4301(0xa3),'trendlineName':_0x5e4301(0xd4),'trendlineColor':_0x5e4301(0x11b),'trendlineThickness':'趨勢線粗細','trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x5e4301(0x10d),'poly':'多項式','order':_0x5e4301(0xa8),'period':'移動平均周期','showFormula':_0x5e4301(0x114),'showR2':'顯示R平方','formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x5e4301(0xbd),'label':_0x5e4301(0x11e),'emptyTips':_0x5e4301(0xf0)},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x5e4301(0xe6),'useValueAsSymbolSize':_0x5e4301(0xb0),'layoutType':_0x5e4301(0xda),'forceOptions':_0x5e4301(0xff),'repulsion':'斥力','gravity':'引力','edgeLength':_0x5e4301(0xab),'rotateLabel':'旋轉標籤','emphasis':_0x5e4301(0x113),'emptyTips':_0x5e4301(0xba)},'waterfall':{'stackType':_0x5e4301(0xf6),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x5e4301(0xf7),'positiveStyle':_0x5e4301(0xd3),'negativeStyle':'負值樣式','subtotalStyle':_0x5e4301(0xa1),'positiveLegendText':_0x5e4301(0xfc),'negativeLegendText':_0x5e4301(0xee),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':'累積占比','lineSeries':_0x5e4301(0xfb),'barSeries':'長條圖系列'},'visualMapScope':'視覺映射範圍','boxplot':{'min':_0x5e4301(0xe8),'q1':_0x5e4301(0x110),'median':_0x5e4301(0xc3),'q3':_0x5e4301(0xfa),'max':'最大值'}},'chartTypes':{'line':_0x5e4301(0xb5),'area':_0x5e4301(0xe1),'areaStacked':_0x5e4301(0xc6),'areaPercentStacked':_0x5e4301(0xac),'column':_0x5e4301(0xaa),'bar':_0x5e4301(0xd9),'barStacked':_0x5e4301(0xe4),'barPercentStacked':_0x5e4301(0x9b),'pie':'餅圖','donut':'環形圖','scatter':_0x5e4301(0x11d),'radar':_0x5e4301(0x96),'bubble':_0x5e4301(0xd8),'stock':_0x5e4301(0xcc),'combination':_0x5e4301(0x10f),'wordCloud':'詞雲圖','funnel':_0x5e4301(0xe9),'relation':'關係圖','waterfall':_0x5e4301(0x10c),'pareto':_0x5e4301(0xcd),'sankey':'桑基圖','heatmap':_0x5e4301(0xef),'boxplot':_0x5e4301(0x99)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x5e4301(0xa5),'fieldSetting':_0x5e4301(0x109),'formatTypes':_0x5e4301(0x103),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x5e4301(0x9e),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x5e4301(0xc2),'thousandthPercentileDesc':_0x5e4301(0xe3),'decimalPlaces':_0x5e4301(0x9a),'currencyTypes':_0x5e4301(0xd0),'negativeNumberTypes':_0x5e4301(0xb2),'dateTypes':_0x5e4301(0xd1)},'setFormat':_0x5e4301(0x107)}};module[_0x5e4301(0xca)]=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
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};
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();}