@univerjs-pro/sheets-chart-ui 0.13.0 → 0.14.0-insiders.20251227-b250a8d
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x1252(){const _0x164f8b=['使用值作為節點大小','百分比','氣泡大小','標題對齊','X軸標題','983316sjIZKx','所有系列','數據範圍','視覺映射範圍','垂直軸','環形圖','最小值','空心針形','Y軸標題','exports','顯示空單元格為','第三四分位數','顯示公式','三角形','空心矩形','氣泡圖','趨勢線類型','系列\x20{0}','(空)','添加趨勢線','漏斗圖','8qanRMS','698800gvBJpP','網格線','{0}\x20顏色','請先添加系列開始數據可視化','千分位符','1058796seiNrK','小計圖例文本','負值圖例文本','設置標籤格式','百分比堆疊條形圖','圖表和軸標題','主刻度線','多邊形','日期軸僅在數據全部為日期格式時可用','打開圖表面板','開啟選中淡入特效','指示線類型','趨勢線線類型','堆疊面積圖','空心箭頭','玫瑰圖','2tyfYjS','節點形狀','空心圓形','常規格式不包含任何特定的數字格式。','最大值','隱藏圖表面板','空心菱形','顯示數據標籤','圖表樣式','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','雷達圖','使用絕對值','添加系列','空心正方形','水平軸','日期格式將日期和時間系列數值顯示為日期值。','左對齊','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','866016xdOLNb','刻度線長度','散點圖','空心三角形','{0}\x20大小','多項式階數','主標題','旋轉標籤','第一四分位數','股票圖','圖表數據源必須包含多於1列和1欄。','中位數','趨勢線名稱','移動平均','空心圓角矩形','標題格式','網格線和刻度線','多項式','切換列或欄','小計樣式','3260285CZDtIA','詞雲形狀','重複詞雲標籤','關係圖','使用\x20{0}\x20作為類別標籤','右Y軸標題','自定義圖表','主網格線','負值樣式','数值后缀','佈局類型','顯示小計','編輯圖表','格式類型','使用右軸','刻度線位置','第\x20{0}\x20項','小數位數','指示線顏色','指示標籤','類別\x20{0}','右對齊','{0}\x20類型','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','累積占比系列','組合圖','趨勢線顏色','設置圖表','長條圖系列','折線圖','更多設置','R平方','熱力圖','日期類型','顯示軸線','節點距離','顯示標籤','背景顏色','17784549EzoHdE','顯示標籤線','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','正方形','圓角矩形','標籤旋轉','數據點樣式','数值比例','正值樣式','氣泡圖至少需要2欄,X軸、Y軸。','{0}\x20格式','標籤位置','詞雲圖','排列圖','標題文本','堆疊方式','桑基圖不能包含循環數據','柱狀圖','1015050kYdiUs','百分比堆疊面積圖','{0}\x20粗細','使用日期軸','插入圖表'];_0x1252=function(){return _0x164f8b;};return _0x1252();}const _0x3c6890=_0x5b5f;(function(_0x1f2d6c,_0x3ce734){const _0x194e17=_0x5b5f,_0x3da3bc=_0x1f2d6c();while(!![]){try{const _0x1db7dc=-parseInt(_0x194e17(0x10f))/0x1+parseInt(_0x194e17(0xfd))/0x2*(parseInt(_0x194e17(0xed))/0x3)+-parseInt(_0x194e17(0xe8))/0x4+-parseInt(_0x194e17(0x15b))/0x5+-parseInt(_0x194e17(0xd2))/0x6+-parseInt(_0x194e17(0x123))/0x7+-parseInt(_0x194e17(0xe7))/0x8*(-parseInt(_0x194e17(0x149))/0x9);if(_0x1db7dc===_0x3ce734)break;else _0x3da3bc['push'](_0x3da3bc['shift']());}catch(_0x5d8fd7){_0x3da3bc['push'](_0x3da3bc['shift']());}}}(_0x1252,0x6f3ca));function _0x5b5f(_0xa7539b,_0x4d6321){_0xa7539b=_0xa7539b-0xc9;const _0x125260=_0x1252();let _0x5b5fbb=_0x125260[_0xa7539b];return _0x5b5fbb;}const e={'chart':{'insertChart':_0x3c6890(0xcc),'editChart':_0x3c6890(0x12f),'openChartPanel':_0x3c6890(0xf6),'deleteChart':'刪除圖表','hideChartPanel':_0x3c6890(0x102),'setupChart':_0x3c6890(0x13e),'customChart':_0x3c6890(0x129),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x3c6890(0xd4),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x3c6890(0xd3),'series':'系列','addSeries':_0x3c6890(0x109),'moreSettings':_0x3c6890(0x141),'min':_0x3c6890(0xd8),'max':_0x3c6890(0x101),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':_0x3c6890(0xe4),'seriesBlock':{'format':'格式','dataPointStyle':_0x3c6890(0x14f)},'backgroundColor':_0x3c6890(0x148),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x3c6890(0x115),'subTitle':'副標題','xAxisTitle':_0x3c6890(0xd1),'yAxisTitle':_0x3c6890(0xda),'rightYAxisTitle':_0x3c6890(0x128),'titleFormat':_0x3c6890(0x11e),'titleText':_0x3c6890(0x157),'titlePosition':'標題位置','titleAlign':_0x3c6890(0xd0)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x3c6890(0x121),'useAsCategoryLabels':_0x3c6890(0x127),'showEmptyCellsAs':_0x3c6890(0xdc)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x3c6890(0x10d),'center':'居中','right':_0x3c6890(0x138)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x3c6890(0x105),'chartAndAxisTitles':_0x3c6890(0xf2),'legend':'圖例','legendSelectMode':'圖例選擇模式','legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':'軸選項','horizontalAxis':_0x3c6890(0x10b),'verticalAxis':_0x3c6890(0xd6),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x3c6890(0x131)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x3c6890(0x11f),'indicatorLine':'指示線','indicatorLineType':_0x3c6890(0xf8),'indicatorLineColor':_0x3c6890(0x135),'indicatorLabel':_0x3c6890(0x136),'indicatorValue':'指示值','shape':{'polygon':_0x3c6890(0xf4),'circle':'圓形','square':_0x3c6890(0x14c),'triangle':_0x3c6890(0xdf),'diamond':'菱形','rect':'矩形','roundRect':_0x3c6890(0x14d),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x3c6890(0xff),'emptySquare':_0x3c6890(0x10a),'emptyTriangle':_0x3c6890(0x112),'emptyDiamond':_0x3c6890(0x103),'emptyRect':_0x3c6890(0xe0),'emptyRoundRect':_0x3c6890(0x11d),'emptyPin':_0x3c6890(0xd9),'emptyArrow':_0x3c6890(0xfb)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x3c6890(0xea),'withThickness':_0x3c6890(0xca),'withType':_0x3c6890(0x139),'withSize':_0x3c6890(0x113),'withShape':'{0}\x20形狀','withFormat':_0x3c6890(0x153),'dataPoint':'數據點','dataNodeShape':_0x3c6890(0xfe),'addDataPoint':'添加數據點','point':'數據點','percentage':_0x3c6890(0xce),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x3c6890(0x12a),'text':_0x3c6890(0xe9)},'ticks':{'majorTick':_0x3c6890(0xf3),'tickPosition':_0x3c6890(0x132),'tickLength':_0x3c6890(0x110)},'none':'無','theIndexItem':_0x3c6890(0x133),'seriesDefaultName':_0x3c6890(0xe3),'categoryDefaultName':_0x3c6890(0x137),'styleEditPanel':{'showLabels':_0x3c6890(0x147),'showDataLabels':_0x3c6890(0x104),'padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x3c6890(0xfc),'pieValScale':_0x3c6890(0x150),'pieValSuffix':_0x3c6890(0x12c),'pieDigitalFixed':'小數位數','showLabelLine':_0x3c6890(0x14a),'reverseAxisOrder':'逆序軸','showAxisLine':_0x3c6890(0x145),'labelPosition':_0x3c6890(0x154),'labelText':'標籤文本','repeatWordCould':_0x3c6890(0x125),'gap':'間隔','useAbsValue':_0x3c6890(0x108),'labelRotate':_0x3c6890(0x14e),'wordCloudShape':_0x3c6890(0x124),'useDateAxis':_0x3c6890(0xcb),'dateAxisTips':_0x3c6890(0xf5)},'radar':{'fill':'填充'},'doughnutHole':'圓環孔','msg':{'invalidSource':_0x3c6890(0x119),'emptyTips':_0x3c6890(0xeb),'sankeyCircularTips':_0x3c6890(0x159)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':'趨勢線名稱','addTrendLine':_0x3c6890(0xe5),'trendlineType':_0x3c6890(0xe2),'trendlineName':_0x3c6890(0x11b),'trendlineColor':_0x3c6890(0x13d),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x3c6890(0xf9),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x3c6890(0x11c),'poly':_0x3c6890(0x120),'order':_0x3c6890(0x114),'period':'移動平均周期','showFormula':_0x3c6890(0xde),'showR2':'顯示R平方','formula':'公式','r2':_0x3c6890(0x142)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x3c6890(0xcf),'label':'氣泡標籤','emptyTips':_0x3c6890(0x152)},'relation':{'title':_0x3c6890(0x126),'auto':'自動','circular':'環形','force':'力導向','useValueAsSymbolSize':_0x3c6890(0xcd),'layoutType':_0x3c6890(0x12d),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x3c6890(0x146),'rotateLabel':_0x3c6890(0x116),'emphasis':_0x3c6890(0xf7),'emptyTips':_0x3c6890(0x10e)},'waterfall':{'stackType':_0x3c6890(0x158),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x3c6890(0x12e),'positiveStyle':_0x3c6890(0x151),'negativeStyle':_0x3c6890(0x12b),'subtotalStyle':_0x3c6890(0x122),'positiveLegendText':'正值圖例文本','negativeLegendText':_0x3c6890(0xef),'subtotalLegendText':_0x3c6890(0xee)},'pareto':{'lineName':'累積占比','lineSeries':_0x3c6890(0x13b),'barSeries':_0x3c6890(0x13f)},'visualMapScope':_0x3c6890(0xd5),'boxplot':{'min':_0x3c6890(0xd8),'q1':_0x3c6890(0x117),'median':_0x3c6890(0x11a),'q3':_0x3c6890(0xdd),'max':_0x3c6890(0x101)}},'chartTypes':{'line':_0x3c6890(0x140),'area':'面積圖','areaStacked':_0x3c6890(0xfa),'areaPercentStacked':_0x3c6890(0xc9),'column':_0x3c6890(0x15a),'bar':'條形圖','barStacked':'堆疊條形圖','barPercentStacked':_0x3c6890(0xf1),'pie':'餅圖','donut':_0x3c6890(0xd7),'scatter':_0x3c6890(0x111),'radar':_0x3c6890(0x107),'bubble':_0x3c6890(0xe1),'stock':_0x3c6890(0x118),'combination':_0x3c6890(0x13c),'wordCloud':_0x3c6890(0x155),'funnel':_0x3c6890(0xe6),'relation':_0x3c6890(0x126),'waterfall':'瀑布圖','pareto':_0x3c6890(0x156),'sankey':'桑基圖','heatmap':_0x3c6890(0x143),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x3c6890(0xec),'fieldSetting':'字段設置','formatTypes':_0x3c6890(0x130),'confirm':'確定','cancel':'取消','generalDesc':_0x3c6890(0x100),'accountingDesc':_0x3c6890(0x106),'currencyDesc':_0x3c6890(0x14b),'dateDesc':_0x3c6890(0x10c),'thousandthPercentileDesc':_0x3c6890(0x13a),'decimalPlaces':_0x3c6890(0x134),'currencyTypes':'貨幣類型','negativeNumberTypes':'負數類型','dateTypes':_0x3c6890(0x144)},'setFormat':_0x3c6890(0xf0)}};module[_0x3c6890(0xdb)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x12ec5f=_0x46bf;(function(_0xbf2554,_0x72a13e){const _0x287986=_0x46bf,_0x2ac1cf=_0xbf2554();while(!![]){try{const _0x12444d=-parseInt(_0x287986(0x1d8))/0x1*(parseInt(_0x287986(0x1c1))/0x2)+parseInt(_0x287986(0x146))/0x3+-parseInt(_0x287986(0x1bb))/0x4*(-parseInt(_0x287986(0x17a))/0x5)+-parseInt(_0x287986(0x1bd))/0x6+parseInt(_0x287986(0x1a8))/0x7+-parseInt(_0x287986(0x1a2))/0x8*(-parseInt(_0x287986(0x19f))/0x9)+parseInt(_0x287986(0x1ca))/0xa*(-parseInt(_0x287986(0x153))/0xb);if(_0x12444d===_0x72a13e)break;else _0x2ac1cf['push'](_0x2ac1cf['shift']());}catch(_0x5a18c1){_0x2ac1cf['push'](_0x2ac1cf['shift']());}}}(_0x3d45,0xcce63));var R=Object[_0x12ec5f(0x137)],k=(_0x2670b8,_0x608468,_0x2f711c)=>_0x608468 in _0x2670b8?R(_0x2670b8,_0x608468,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f711c}):_0x2670b8[_0x608468]=_0x2f711c,n=(_0x2d6dca,_0x53692d,_0x21331e)=>k(_0x2d6dca,typeof _0x53692d!=_0x12ec5f(0x144)?_0x53692d+'':_0x53692d,_0x21331e);import{ChartThemeService as _0x43df51,ChartTypeBits as _0x112c6f,LegendPositionEnum as _0x506c6b,SelectModeEnum as _0x589f6d,AxisAlignEnum as _0x907380,ChartBorderDashType as _0x4bbf26,LinePointShape as _0x481414,TitlePositionEnum as _0x3651aa,RadarShape as _0x5deaa5}from'@univerjs-pro/engine-chart';import{setProperty as _0x358bea,SheetsChartService as _0x420f0f,ChartUpdateSourceCommand as _0x2990d7,ChartUpdateConfigCommand as _0xe255db}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x11948f}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x4a0af1,IUniverInstanceService as _0x13aa02,UniverInstanceType as _0x273077,generateRandomId as _0xb69f,DrawingTypeEnum as _0x203380}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1d4e47}from'@univerjs/sheets-drawing-ui';function _0x3d45(){const _0x287605=['getCurrentUnitForType','getRangeInfo','xAxisTitle','sheetName','chartId','setAxisPointerStyle','updateRange','area.lineStyle','_injector','pie','dataPointShape','getChartId','412xcannu','map','1152732GMrXcw','titles.yAxisTitle.color','transposeRowsAndColumns','pie.showLabelLine','808irbIAL','setChartType','pie.rosePie','lineStyle','seriesStyleMap','legend.position','executeCommand','titles.xAxisTitle.font','getWorkbook','14400DmSyhs','invalidValueType','allSeriesStyle.point','fill','axisAlignment','legend','getRenderById','fontStyle','pie.doughnutHole','tooltip.indicatorLineColor','registerTheme','style','tooltip.indicatorLabelColor','tooltip.indicatorLineType','1467lbTpyf','allSeriesStyle','setShowLabelLine','setHeight','title','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','yAxisTitle','subUnitId','getChartModel','clearRange','UNIVER_SHEET','titles.rightYAxisTitle.family','ChartBorderDashType','setHasPaddingAngle','allSeriesStyle.border','position','hasPaddingAngle','legend.label.color','SelectModeEnum','defineProperty','titles.xAxisTitle.bold','fontColor','titles.title.bold','extend','allSeriesStyle.point.color','theme','LinePointShape','setWidth','titles.title.color','titles.xAxisTitle.content','legend.label.bold','setYAxisTextStyle','symbol','indicatorLineColor','3741411onfBAK','titles.title.fontSize','pie.borderColor','height','border','bold','showLabelLine','allSeriesStyle.point.size','asRadarChart','getSheetId','setBorderColor','removeChart','backgroundColor','15081mvuvIQ','titles.xAxisTitle.color','gradientFill','yRightAxis','setXAxisTextStyle','radar','unitId','setOptions','chartType','titles.yAxisTitle.fontSize','titles.rightYAxisTitle.font','label','area','keys','radar.fill','config','setInvalidValueStrategy','titles.xAxisTitle.family','setDataPointColor','allSeriesStyle.label','modify','xAxis.label.axisTitleAlign','color','titles.rightYAxisTitle.content','isHalfPie','setAllSeriesStyle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','radar.shape','titles.title.font','legend.label.fontSize','setPosition','rosePie','asPieChart','xAxis','options','rightYAxisTitle','newChart','AxisAlignEnum','allSeriesStyle.point.shape','13190jRDmCX','getChartType','addRange','rightYAxis','setTheme','top','left','range','category','setFill','titles.xAxisTitle.fontSize','build','doughnutHole','font','point','setSeriesStyle','_commandService','dataSource','shape','dataPointSize','getCharts','yAxis','borderColor','with','get','sourceSheetName','_workbook','titleAlignment','getUnitId','titles.rightYAxisTitle.color','axisPointer','asLineChart','width','dataPointColor','allSeriesStyle.color','titles.yAxisTitle.bold','indicatorLabelTextColor','2018151yXiYBt','setDoughnutHole','titles.rightYAxisTitle.bold','40uIWnIf','titles.title.align','setIsHalfPie','pie.hasPaddingAngle','TitlePositionEnum','updateChart','6707757blfaUe','titles.titlePosition','indicatorLineType','content','setXAxisTitle','setDataPointSize','fontSize'];_0x3d45=function(){return _0x287605;};return _0x3d45();}import{FWorksheet as _0x17af67}from'@univerjs/sheets/facade';import{FBase as _0x11ceb4,FEnum as _0x1d39c0}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x134441}from'@univerjs/engine-formula';function _0x46bf(_0xefcbdd,_0x16587b){_0xefcbdd=_0xefcbdd-0x129;const _0x3d459e=_0x3d45();let _0x46bfa2=_0x3d459e[_0xefcbdd];return _0x46bfa2;}import{IRenderManagerService as _0x112bf7}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x206535,SheetSkeletonManagerService as _0x53a5d8,convertPositionCellToSheetOverGrid as _0x1db847}from'@univerjs/sheets-ui';const s=(_0x26d8e3,_0x1f5020,_0x1e4983)=>{_0x1e4983!==void 0x0&&_0x358bea(_0x26d8e3,_0x1f5020,_0x1e4983);},C=(_0x5cfb72,_0x12404a,_0x49d147,_0x1556f5={})=>{const _0x276d9b=_0x12ec5f,_0x403507={},_0x380105={};if(_0x1556f5[_0x276d9b(0x1dc)]){const _0x338b1d=_0x1556f5[_0x276d9b(0x1dc)];s(_0x403507,'titles.title.content',_0x338b1d[_0x276d9b(0x1ab)]),s(_0x403507,_0x276d9b(0x16f),_0x338b1d[_0x276d9b(0x187)]),s(_0x403507,_0x276d9b(0x147),_0x338b1d[_0x276d9b(0x1ae)]),s(_0x403507,_0x276d9b(0x140),_0x338b1d[_0x276d9b(0x139)]),s(_0x403507,'titles.title.family',_0x338b1d[_0x276d9b(0x1d1)]),s(_0x403507,_0x276d9b(0x13a),_0x338b1d[_0x276d9b(0x14b)]),s(_0x403507,_0x276d9b(0x1a3),_0x338b1d[_0x276d9b(0x195)]),s(_0x403507,_0x276d9b(0x1a9),_0x338b1d[_0x276d9b(0x133)]);}if(_0x1556f5['legend']){const _0x51c871=_0x1556f5[_0x276d9b(0x1cf)];s(_0x403507,_0x276d9b(0x1c6),_0x51c871[_0x276d9b(0x133)]),s(_0x403507,'legend.selectMode',_0x51c871['selectMode']),s(_0x403507,_0x276d9b(0x170),_0x51c871[_0x276d9b(0x1ae)]),s(_0x403507,_0x276d9b(0x135),_0x51c871[_0x276d9b(0x169)]),s(_0x403507,_0x276d9b(0x142),_0x51c871[_0x276d9b(0x14b)]),s(_0x403507,'legend.label.italic',_0x51c871['italic']);}if(_0x1556f5[_0x276d9b(0x1b8)]){const _0x56dc12=_0x1556f5['pie'];s(_0x403507,_0x276d9b(0x1d2),_0x56dc12[_0x276d9b(0x186)]),s(_0x403507,_0x276d9b(0x148),_0x56dc12[_0x276d9b(0x190)]),s(_0x403507,_0x276d9b(0x1a5),_0x56dc12[_0x276d9b(0x134)]),s(_0x403507,'pie.isHalfPie',_0x56dc12['isHalfPie']),s(_0x403507,'pie.rosePie',_0x56dc12[_0x276d9b(0x172)]),s(_0x403507,_0x276d9b(0x1c0),_0x56dc12['showLabelLine']);}if(_0x1556f5['axisPointer']){const _0x590ca5=_0x1556f5[_0x276d9b(0x198)];s(_0x403507,_0x276d9b(0x1d6),_0x590ca5['indicatorLabelColor']),s(_0x403507,_0x276d9b(0x1d7),_0x590ca5[_0x276d9b(0x1aa)]),s(_0x403507,_0x276d9b(0x1d3),_0x590ca5[_0x276d9b(0x145)]),s(_0x403507,'tooltip.indicatorLabelTextColor',_0x590ca5[_0x276d9b(0x19e)]);}if(_0x1556f5[_0x276d9b(0x1d9)]&&(s(_0x403507,_0x276d9b(0x132),_0x1556f5[_0x276d9b(0x1d9)][_0x276d9b(0x14a)]),s(_0x403507,_0x276d9b(0x166),_0x1556f5['allSeriesStyle'][_0x276d9b(0x15e)]),s(_0x403507,'allSeriesStyle.rightYAxis',_0x1556f5[_0x276d9b(0x1d9)][_0x276d9b(0x17d)]),s(_0x403507,_0x276d9b(0x1cc),_0x1556f5[_0x276d9b(0x1d9)][_0x276d9b(0x188)]),s(_0x403507,_0x276d9b(0x19c),_0x1556f5['allSeriesStyle'][_0x276d9b(0x169)])),_0x1556f5[_0x276d9b(0x15f)]&&s(_0x403507,_0x276d9b(0x1b6),_0x1556f5['area'][_0x276d9b(0x1c4)]),_0x1556f5['theme']&&s(_0x403507,_0x276d9b(0x13d),_0x1556f5[_0x276d9b(0x13d)]),_0x1556f5[_0x276d9b(0x152)]&&s(_0x403507,_0x276d9b(0x152),_0x1556f5[_0x276d9b(0x152)]),_0x1556f5[_0x276d9b(0x190)]&&s(_0x403507,_0x276d9b(0x190),_0x1556f5['borderColor']),_0x1556f5['gradientFill']&&s(_0x403507,_0x276d9b(0x155),_0x1556f5[_0x276d9b(0x155)]),_0x1556f5['invalidValueType']&&s(_0x403507,_0x276d9b(0x1cb),_0x1556f5['invalidValueType']),_0x1556f5[_0x276d9b(0x158)]&&s(_0x403507,'radar',_0x1556f5[_0x276d9b(0x158)]),_0x1556f5['xAxisTitle']){const _0x53f558=_0x1556f5[_0x276d9b(0x1b1)];s(_0x403507,_0x276d9b(0x141),_0x53f558[_0x276d9b(0x1ab)]),s(_0x403507,_0x276d9b(0x1c8),_0x53f558[_0x276d9b(0x187)]),s(_0x403507,_0x276d9b(0x184),_0x53f558[_0x276d9b(0x1ae)]),s(_0x403507,_0x276d9b(0x154),_0x53f558[_0x276d9b(0x139)]),s(_0x403507,_0x276d9b(0x164),_0x53f558['fontStyle']),s(_0x403507,_0x276d9b(0x138),_0x53f558['bold']),s(_0x403507,_0x276d9b(0x168),_0x53f558['axisAlignment']);}if(_0x1556f5['yAxisTitle']){const _0x595773=_0x1556f5[_0x276d9b(0x12a)];s(_0x403507,'titles.yAxisTitle.content',_0x595773[_0x276d9b(0x1ab)]),s(_0x403507,'titles.yAxisTitle.font',_0x595773[_0x276d9b(0x187)]),s(_0x403507,_0x276d9b(0x15c),_0x595773[_0x276d9b(0x1ae)]),s(_0x403507,_0x276d9b(0x1be),_0x595773[_0x276d9b(0x139)]),s(_0x403507,'titles.yAxisTitle.family',_0x595773[_0x276d9b(0x1d1)]),s(_0x403507,_0x276d9b(0x19d),_0x595773['bold']),s(_0x403507,'yAxis.label.axisTitleAlign',_0x595773[_0x276d9b(0x1ce)]);}if(_0x1556f5[_0x276d9b(0x176)]){const _0x3c6f95=_0x1556f5[_0x276d9b(0x176)];s(_0x403507,_0x276d9b(0x16a),_0x3c6f95['content']),s(_0x403507,_0x276d9b(0x15d),_0x3c6f95[_0x276d9b(0x187)]),s(_0x403507,'titles.rightYAxisTitle.fontSize',_0x3c6f95[_0x276d9b(0x1ae)]),s(_0x403507,_0x276d9b(0x197),_0x3c6f95['fontColor']),s(_0x403507,_0x276d9b(0x12f),_0x3c6f95[_0x276d9b(0x1d1)]),s(_0x403507,_0x276d9b(0x1a1),_0x3c6f95[_0x276d9b(0x14b)]),s(_0x403507,'rightYAxis.label.axisTitleAlign',_0x3c6f95[_0x276d9b(0x1ce)]);}_0x1556f5[_0x276d9b(0x174)]&&s(_0x403507,_0x276d9b(0x174),_0x1556f5['xAxis']),_0x1556f5[_0x276d9b(0x18f)]&&s(_0x403507,_0x276d9b(0x18f),_0x1556f5[_0x276d9b(0x18f)]),_0x1556f5[_0x276d9b(0x156)]&&s(_0x403507,'rightYAxis',_0x1556f5[_0x276d9b(0x156)]),_0x1556f5[_0x276d9b(0x1c5)]&&s(_0x403507,_0x276d9b(0x1c5),_0x1556f5[_0x276d9b(0x1c5)]);const _0x2da1ce={'unitId':_0x5cfb72,'chartModelId':_0x12404a};let _0x3d822d=!0x1;if(_0x49d147!==void 0x0&&(_0x2da1ce[_0x276d9b(0x15b)]=_0x49d147,_0x3d822d=!0x0),Object[_0x276d9b(0x160)](_0x403507)['length']>0x0&&(_0x2da1ce[_0x276d9b(0x1d5)]=_0x403507,_0x3d822d=!0x0),Object[_0x276d9b(0x160)](_0x380105)['length']>0x0&&(_0x2da1ce['context']=_0x380105,_0x3d822d=!0x0),_0x3d822d)return _0x2da1ce;};class c extends _0x11ceb4{constructor(_0x53418f,_0xb6827d,_0x6c6ba4,_0x26fb74,_0x1a20c6){const _0x2fbc3d=_0x12ec5f;super(),n(this,'_workbook'),n(this,_0x2fbc3d(0x1b7)),n(this,_0x2fbc3d(0x159)),n(this,_0x2fbc3d(0x12b)),n(this,_0x2fbc3d(0x1b3)),n(this,'range'),n(this,_0x2fbc3d(0x193)),n(this,'x'),n(this,'y'),n(this,_0x2fbc3d(0x19a)),n(this,_0x2fbc3d(0x149)),n(this,_0x2fbc3d(0x15b)),n(this,_0x2fbc3d(0x175)),n(this,_0x2fbc3d(0x1bf)),(this[_0x2fbc3d(0x159)]=_0x53418f,this['subUnitId']=_0xb6827d,this[_0x2fbc3d(0x194)]=_0x6c6ba4,this['_injector']=_0x26fb74,_0x1a20c6&&(this[_0x2fbc3d(0x1b3)]=_0x1a20c6));}[_0x12ec5f(0x17b)](){const _0x460537=_0x12ec5f;return this[_0x460537(0x15b)];}[_0x12ec5f(0x17c)](_0x57aa8d){const _0x45631c=_0x12ec5f;if(typeof _0x57aa8d=='string'){const _0x3c9b8e=_0x134441(_0x57aa8d);_0x3c9b8e[_0x45631c(0x1b2)]&&(this['sourceSheetName']=_0x3c9b8e['sheetName']),this[_0x45631c(0x181)]=_0x3c9b8e['range'];}else this[_0x45631c(0x181)]=_0x57aa8d;return this;}[_0x12ec5f(0x12d)](){const _0x2d19b1=_0x12ec5f;return this[_0x2d19b1(0x181)]=void 0x0,this[_0x2d19b1(0x193)]=void 0x0,this;}[_0x12ec5f(0x171)](_0x54aad3,_0x34e7ba,_0xa087fa,_0x27eb17){const _0x35a2c6=_0x12ec5f,_0x511330=this[_0x35a2c6(0x1b7)]['get'](_0x112bf7)[_0x35a2c6(0x1d0)](this['unitId']);if(!_0x511330)throw new Error(_0x35a2c6(0x16d));const _0x251efc=_0x511330['with'](_0x206535),_0x52c2bd=_0x511330[_0x35a2c6(0x191)](_0x53a5d8),{transform:_0x327926}=_0x1db847(this[_0x35a2c6(0x159)],this[_0x35a2c6(0x12b)],{'row':_0x54aad3,'column':_0x34e7ba,'rowOffset':_0xa087fa,'columnOffset':_0x27eb17},0x1,0x1,_0x251efc,_0x52c2bd),_0x1572a6=_0x327926[_0x35a2c6(0x17f)],_0x322b0b=_0x327926[_0x35a2c6(0x180)];return this['x']=_0x322b0b,this['y']=_0x1572a6,this;}['setAbsolutePosition'](_0x4e7ed0,_0x3489c5){return this['x']=_0x4e7ed0,this['y']=_0x3489c5,this;}[_0x12ec5f(0x1c2)](_0xa997da){const _0x4b726c=_0x12ec5f;return this[_0x4b726c(0x15b)]=_0xa997da,this;}[_0x12ec5f(0x13f)](_0x6c82db){const _0x2d2945=_0x12ec5f;return this[_0x2d2945(0x19a)]=_0x6c82db,this;}[_0x12ec5f(0x1db)](_0x248168){return this['height']=_0x248168,this;}['setOptions'](_0xdce503,_0x168359){const _0x3a46a9=_0x12ec5f;return this['options']||(this['options']={}),_0xdce503===''?(this[_0x3a46a9(0x175)]={...this['options'],..._0x168359},this):(_0x358bea(this[_0x3a46a9(0x175)],_0xdce503,_0x168359),this);}['setTransposeRowsAndColumns'](_0xb0e1b3){const _0x5a763f=_0x12ec5f;return this[_0x5a763f(0x1bf)]=_0xb0e1b3,this;}[_0x12ec5f(0x17e)](_0x5b9c0e){const _0x53d24a=_0x12ec5f;return this[_0x53d24a(0x15a)](_0x53d24a(0x13d),_0x5b9c0e),this;}[_0x12ec5f(0x1ac)](_0x47436f){const _0x150bf7=_0x12ec5f;var _0x8ca2f;const _0xf3bc5d=((_0x8ca2f=this[_0x150bf7(0x175)])==null?void 0x0:_0x8ca2f[_0x150bf7(0x1b1)])||{};return _0xf3bc5d[_0x150bf7(0x1ab)]=_0x47436f,this[_0x150bf7(0x15a)](_0x150bf7(0x1b1),_0xf3bc5d),this;}['setYAxisTitle'](_0x590de9){const _0x414c51=_0x12ec5f;var _0x5697b7;const _0x31799f=((_0x5697b7=this[_0x414c51(0x175)])==null?void 0x0:_0x5697b7[_0x414c51(0x12a)])||{};return _0x31799f[_0x414c51(0x1ab)]=_0x590de9,this[_0x414c51(0x15a)](_0x414c51(0x12a),_0x31799f),this;}['setRightYAxisTitle'](_0x330a25){const _0x548f88=_0x12ec5f;var _0x272c2e;const _0x2cc3fd=((_0x272c2e=this[_0x548f88(0x175)])==null?void 0x0:_0x272c2e[_0x548f88(0x176)])||{};return _0x2cc3fd['content']=_0x330a25,this['setOptions']('rightYAxisTitle',_0x2cc3fd),this;}[_0x12ec5f(0x157)](_0xe550ae){const _0x1e2606=_0x12ec5f;var _0x2eba3b;const _0x2274d9=((_0x2eba3b=this[_0x1e2606(0x175)])==null?void 0x0:_0x2eba3b[_0x1e2606(0x1b1)])||{};return this[_0x1e2606(0x15a)](_0x1e2606(0x1b1),{..._0x2274d9,..._0xe550ae}),this;}[_0x12ec5f(0x143)](_0x348c1c){const _0x514080=_0x12ec5f;var _0x65f19e;const _0x3c74cf=((_0x65f19e=this[_0x514080(0x175)])==null?void 0x0:_0x65f19e[_0x514080(0x12a)])||{};return this[_0x514080(0x15a)](_0x514080(0x12a),{..._0x3c74cf,..._0x348c1c}),this;}['setRightYAxisTextStyle'](_0x34dde6){const _0x174a75=_0x12ec5f;var _0x36d08f;const _0x37679d=((_0x36d08f=this['options'])==null?void 0x0:_0x36d08f[_0x174a75(0x176)])||{};return this[_0x174a75(0x15a)](_0x174a75(0x176),{..._0x37679d,..._0x34dde6}),this;}[_0x12ec5f(0x163)](_0x2bc085){const _0x41bd1a=_0x12ec5f;return this[_0x41bd1a(0x15a)](_0x41bd1a(0x1cb),_0x2bc085),this;}[_0x12ec5f(0x1b4)](_0x54e849){const _0x1f47b7=_0x12ec5f;return this[_0x1f47b7(0x15a)](_0x1f47b7(0x198),_0x54e849),this;}[_0x12ec5f(0x16c)](_0x267958){const _0x3b2aac=_0x12ec5f;return this[_0x3b2aac(0x15a)]('allSeriesStyle',_0x267958),this;}[_0x12ec5f(0x189)](_0x3451e6,_0x21092b){const _0x4bddd7=_0x12ec5f;return this[_0x4bddd7(0x15a)]('seriesStyleMap',{[_0x3451e6]:_0x21092b}),this;}[_0x12ec5f(0x185)](){const _0x47a338=_0x12ec5f;return{'unitId':this[_0x47a338(0x159)],'subUnitId':this[_0x47a338(0x12b)],'chartId':this['chartId'],'range':this[_0x47a338(0x181)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x47a338(0x19a)],'height':this[_0x47a338(0x149)],'chartType':this['chartType'],'options':this[_0x47a338(0x175)],'isRowDirection':this['transposeRowsAndColumns']};}}class P{constructor(_0x1ec35b,_0x321def,_0x2dcfe7,_0x413c40){const _0x6b9dcc=_0x12ec5f;n(this,_0x6b9dcc(0x159)),n(this,_0x6b9dcc(0x12b)),n(this,_0x6b9dcc(0x1b3)),n(this,_0x6b9dcc(0x1b7)),(this[_0x6b9dcc(0x159)]=_0x1ec35b,this[_0x6b9dcc(0x12b)]=_0x321def,this[_0x6b9dcc(0x1b3)]=_0x2dcfe7,this[_0x6b9dcc(0x1b7)]=_0x413c40);}[_0x12ec5f(0x1ba)](){const _0x2dca49=_0x12ec5f;return this[_0x2dca49(0x1b3)];}['getRange'](){const _0x590628=_0x12ec5f,_0x5dd3af=this[_0x590628(0x1b7)][_0x590628(0x192)](_0x420f0f)[_0x590628(0x12c)](this['chartId']);if(_0x5dd3af)return _0x5dd3af[_0x590628(0x18b)][_0x590628(0x1b0)]();}[_0x12ec5f(0x1b5)](_0x2645ae){const _0x3c39c1=_0x12ec5f;return this[_0x3c39c1(0x1b7)][_0x3c39c1(0x192)](_0x4a0af1)['executeCommand'](_0x2990d7['id'],{'unitId':this[_0x3c39c1(0x159)],'chartModelId':this[_0x3c39c1(0x1b3)],'range':_0x2645ae});}['getSeriesData'](){const _0x1942ac=_0x12ec5f;var _0x14751e;const _0x4cde31=this[_0x1942ac(0x1b7)][_0x1942ac(0x192)](_0x420f0f)[_0x1942ac(0x12c)](this['chartId']);if(_0x4cde31)return(_0x14751e=_0x4cde31[_0x1942ac(0x162)])==null?void 0x0:_0x14751e['series'];}['getCategoryData'](){const _0x3c30a6=_0x12ec5f;var _0x1ca6e2;const _0x4d3463=this[_0x3c30a6(0x1b7)][_0x3c30a6(0x192)](_0x420f0f)[_0x3c30a6(0x12c)](this[_0x3c30a6(0x1b3)]);if(_0x4d3463)return(_0x1ca6e2=_0x4d3463['config'])==null?void 0x0:_0x1ca6e2[_0x3c30a6(0x182)];}[_0x12ec5f(0x167)](){const _0x16edca=_0x12ec5f,_0x4b6770=this[_0x16edca(0x1b7)][_0x16edca(0x192)](_0x13aa02)[_0x16edca(0x1af)](_0x273077[_0x16edca(0x12e)]);return new c(this[_0x16edca(0x159)],this[_0x16edca(0x12b)],_0x4b6770,this[_0x16edca(0x1b7)],this[_0x16edca(0x1b3)]);}}class $ extends _0x17af67{async['insertChart'](_0x11afe1){const _0x411327=_0x12ec5f;var _0x31e4a4,_0x19a8ca,_0x1f2391;const _0x5b4948=_0x11afe1['unitId']||this[_0x411327(0x1c9)]()[_0x411327(0x196)](),_0x465c91=_0x11afe1[_0x411327(0x12b)]||this[_0x411327(0x14f)](),_0x3deb3d=_0x11afe1[_0x411327(0x1b3)]||_0xb69f(),_0x5366b9=_0x11afe1['chartType'],_0x110fb8=_0x11afe1[_0x411327(0x181)],_0x46746e=_0x11afe1[_0x411327(0x193)],_0x19775a={'x':_0x11afe1['x'],'y':_0x11afe1['y']},_0x58886e=_0x11afe1[_0x411327(0x19a)],_0xecfb3f=_0x11afe1[_0x411327(0x149)],_0x2b6b1d=(_0x31e4a4=_0x11afe1['options'])==null?void 0x0:_0x31e4a4[_0x411327(0x152)],_0x16f54c=(_0x19a8ca=_0x11afe1[_0x411327(0x175)])==null?void 0x0:_0x19a8ca[_0x411327(0x190)],_0x59dac4=C(_0x5b4948,_0x3deb3d,_0x5366b9,_0x11afe1[_0x411327(0x175)]),_0x1e5ab1=(_0x1f2391=_0x11afe1['isRowDirection'])!=null?_0x1f2391:!0x0;if(!_0x110fb8)throw new Error(_0x411327(0x129));return await this['_commandService'][_0x411327(0x1c7)](_0x11948f['id'],{'unitId':_0x5b4948,'subUnitId':_0x465c91,'chartId':_0x3deb3d,'chartType':_0x5366b9,'range':_0x110fb8,'sourceSheetName':_0x46746e,'position':_0x19775a,'width':_0x58886e,'height':_0xecfb3f,'backgroundColor':_0x2b6b1d,'borderColor':_0x16f54c,'config':_0x59dac4,'isRowDirection':_0x1e5ab1}),new P(_0x5b4948,_0x465c91,_0x3deb3d,this[_0x411327(0x1b7)]);}[_0x12ec5f(0x1a7)](_0x1b24d5){const _0x401b4d=_0x12ec5f,{unitId:_0x3a500e,chartId:_0x3a34d9,chartType:_0x1268a5,options:_0x475d5f}=_0x1b24d5,_0x15b4f3=C(_0x3a500e,_0x3a34d9,_0x1268a5,_0x475d5f);this[_0x401b4d(0x18a)]['executeCommand'](_0xe255db['id'],_0x15b4f3);}[_0x12ec5f(0x177)](_0x5416d1){const _0x208ed5=_0x12ec5f;if(_0x5416d1)return new c(_0x5416d1['unitId'],_0x5416d1['subUnitId'],this['_workbook'],this[_0x208ed5(0x1b7)],_0x5416d1[_0x208ed5(0x1b3)]);const _0x256fe0=this['getWorkbook']()[_0x208ed5(0x196)](),_0xf85773=this[_0x208ed5(0x14f)]();return new c(_0x256fe0,_0xf85773,this[_0x208ed5(0x194)],this['_injector']);}[_0x12ec5f(0x18e)](){const _0x22e8f9=_0x12ec5f,_0x300199=this[_0x22e8f9(0x1b7)][_0x22e8f9(0x192)](_0x420f0f),_0x41f180=this[_0x22e8f9(0x1c9)]()[_0x22e8f9(0x196)]();return _0x300199['getUnitChartModels'](_0x41f180,this[_0x22e8f9(0x14f)]())[_0x22e8f9(0x1bc)](_0x55edef=>new P(_0x41f180,this[_0x22e8f9(0x14f)](),_0x55edef['id'],this[_0x22e8f9(0x1b7)]));}[_0x12ec5f(0x151)](_0x4c470e){const _0xfd86ce=_0x12ec5f,_0x2392cb=_0x4c470e[_0xfd86ce(0x159)],_0x4ae612=_0x4c470e[_0xfd86ce(0x12b)],_0x1e1fb1=_0x4c470e[_0xfd86ce(0x1b3)],_0x1ce846={'unitId':_0x2392cb,'drawings':[{'unitId':_0x2392cb,'subUnitId':_0x4ae612,'drawingId':_0x1e1fb1,'drawingType':_0x203380['DRAWING_CHART']}]};return this[_0xfd86ce(0x18a)][_0xfd86ce(0x1c7)](_0x1d4e47['id'],_0x1ce846);}['registerChartTheme'](_0x14ee24,_0x1712f7){const _0x9a0413=_0x12ec5f;this[_0x9a0413(0x1b7)]['get'](_0x43df51)[_0x9a0413(0x1d4)](_0x14ee24,_0x1712f7);}}_0x17af67[_0x12ec5f(0x13b)]($);class tt extends _0x1d39c0{get['ChartType'](){return _0x112c6f;}get['LegendPositionEnum'](){return _0x506c6b;}get[_0x12ec5f(0x136)](){return _0x589f6d;}get[_0x12ec5f(0x178)](){return _0x907380;}get[_0x12ec5f(0x130)](){return _0x4bbf26;}get[_0x12ec5f(0x13e)](){return _0x481414;}get[_0x12ec5f(0x1a6)](){return _0x3651aa;}get['RadarShape'](){return _0x5deaa5;}}_0x1d39c0[_0x12ec5f(0x13b)](tt);class et extends c{constructor(_0x5ebf6f,_0x5c5e17,_0x3aa31f,_0x249d09,_0x30b549){const _0x54d75e=_0x12ec5f;super(_0x5ebf6f,_0x5c5e17,_0x3aa31f,_0x249d09,_0x30b549),n(this,_0x54d75e(0x1c4)),n(this,_0x54d75e(0x1b9)),n(this,_0x54d75e(0x19b)),n(this,_0x54d75e(0x18d));}['setLineStyle'](_0x5565a5){const _0x377fe1=_0x12ec5f;return this[_0x377fe1(0x1c4)]=_0x5565a5,this;}['setDataPointShape'](_0x55cdf1){const _0xde433=_0x12ec5f;return this[_0xde433(0x1b9)]=_0x55cdf1,this;}[_0x12ec5f(0x165)](_0x35ef36){const _0x3be464=_0x12ec5f;return this[_0x3be464(0x19b)]=_0x35ef36,this;}[_0x12ec5f(0x1ad)](_0x13aae9){return this['dataPointSize']=_0x13aae9,this;}[_0x12ec5f(0x185)](){const _0x387416=_0x12ec5f,_0xe1d922=super[_0x387416(0x185)]();_0xe1d922['chartType']=_0x112c6f['Line'];const _0x3b68de=_0xe1d922[_0x387416(0x175)]||{};return s(_0x3b68de,_0x387416(0x1b6),this[_0x387416(0x1c4)]),s(_0x3b68de,_0x387416(0x179),this['dataPointShape']),s(_0x3b68de,_0x387416(0x13c),this[_0x387416(0x19b)]),s(_0x3b68de,_0x387416(0x14d),this['dataPointSize']),_0xe1d922[_0x387416(0x175)]=_0x3b68de,_0xe1d922;}}class it extends c{[_0x12ec5f(0x199)](){const _0x574179=_0x12ec5f;return new et(this[_0x574179(0x159)],this[_0x574179(0x12b)],this['_workbook'],this[_0x574179(0x1b7)],this[_0x574179(0x1b3)]);}}c['extend'](it);class st extends c{constructor(_0x1c523f,_0x17ac06,_0x5e3ba2,_0x4be7c3,_0x5efb8a){const _0x368618=_0x12ec5f;super(_0x1c523f,_0x17ac06,_0x5e3ba2,_0x4be7c3,_0x5efb8a),n(this,_0x368618(0x186)),n(this,_0x368618(0x190)),n(this,_0x368618(0x134)),n(this,'isHalfPie'),n(this,_0x368618(0x172)),n(this,_0x368618(0x14c));}[_0x12ec5f(0x1a0)](_0x1f3e42){return this['doughnutHole']=_0x1f3e42,this;}[_0x12ec5f(0x150)](_0x4ff95f){const _0x5a3eb3=_0x12ec5f;return this[_0x5a3eb3(0x190)]=_0x4ff95f,this;}[_0x12ec5f(0x131)](_0x44415a){const _0x4d4e12=_0x12ec5f;return this[_0x4d4e12(0x134)]=_0x44415a,this;}[_0x12ec5f(0x1a4)](_0x488763){const _0x5637f0=_0x12ec5f;return this[_0x5637f0(0x16b)]=_0x488763,this;}['setRosePie'](_0x451d1d){return this['rosePie']=_0x451d1d,this;}[_0x12ec5f(0x1da)](_0x3aaeaf){const _0x14c05c=_0x12ec5f;return this[_0x14c05c(0x14c)]=_0x3aaeaf,this;}[_0x12ec5f(0x185)](){const _0x216493=_0x12ec5f,_0x5ef642=super[_0x216493(0x185)]();_0x5ef642[_0x216493(0x15b)]=_0x112c6f['Pie'];const _0x379153=_0x5ef642['options']||{};return s(_0x379153,_0x216493(0x1d2),this['doughnutHole']),s(_0x379153,_0x216493(0x148),this[_0x216493(0x190)]),s(_0x379153,_0x216493(0x1a5),this['hasPaddingAngle']),s(_0x379153,'pie.isHalfPie',this[_0x216493(0x16b)]),s(_0x379153,_0x216493(0x1c3),this['rosePie']),s(_0x379153,_0x216493(0x1c0),this[_0x216493(0x14c)]),_0x5ef642[_0x216493(0x175)]=_0x379153,_0x5ef642;}}class rt extends c{[_0x12ec5f(0x173)](){const _0x2940bb=_0x12ec5f;return new st(this[_0x2940bb(0x159)],this[_0x2940bb(0x12b)],this[_0x2940bb(0x194)],this[_0x2940bb(0x1b7)],this[_0x2940bb(0x1b3)]);}}c[_0x12ec5f(0x13b)](rt);class ot extends c{constructor(_0x39cc88,_0x55048d,_0x6a1f97,_0x36499b,_0x164132){const _0x4cd579=_0x12ec5f;super(_0x39cc88,_0x55048d,_0x6a1f97,_0x36499b,_0x164132),n(this,'shape'),n(this,_0x4cd579(0x1cd));}['setShape'](_0x45f870){return this['shape']=_0x45f870,this;}[_0x12ec5f(0x183)](_0x9e4f7){const _0x3737df=_0x12ec5f;return this[_0x3737df(0x1cd)]=_0x9e4f7,this;}[_0x12ec5f(0x185)](){const _0x1d86ff=_0x12ec5f,_0x12fb18=super[_0x1d86ff(0x185)]();_0x12fb18[_0x1d86ff(0x15b)]=_0x112c6f['Radar'];const _0x4e58b5=_0x12fb18[_0x1d86ff(0x175)]||{};return s(_0x4e58b5,_0x1d86ff(0x16e),this[_0x1d86ff(0x18c)]),s(_0x4e58b5,_0x1d86ff(0x161),this[_0x1d86ff(0x1cd)]),_0x12fb18[_0x1d86ff(0x175)]=_0x4e58b5,_0x12fb18;}}class nt extends c{[_0x12ec5f(0x14e)](){const _0x273b08=_0x12ec5f;return new ot(this[_0x273b08(0x159)],this[_0x273b08(0x12b)],this[_0x273b08(0x194)],this[_0x273b08(0x1b7)],this['chartId']);}}c[_0x12ec5f(0x13b)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|
|
1
|
+
const _0x1f79ef=_0xc184;function _0xc184(_0x431861,_0x5a21c4){_0x431861=_0x431861-0x1b7;const _0x35b4c1=_0x35b4();let _0xc184f7=_0x35b4c1[_0x431861];return _0xc184f7;}(function(_0x50d8e1,_0x4925a3){const _0x2de8a7=_0xc184,_0x3e0730=_0x50d8e1();while(!![]){try{const _0x4f6893=-parseInt(_0x2de8a7(0x230))/0x1+parseInt(_0x2de8a7(0x1cb))/0x2*(-parseInt(_0x2de8a7(0x1db))/0x3)+parseInt(_0x2de8a7(0x201))/0x4*(-parseInt(_0x2de8a7(0x23f))/0x5)+-parseInt(_0x2de8a7(0x26e))/0x6+parseInt(_0x2de8a7(0x231))/0x7*(parseInt(_0x2de8a7(0x1ca))/0x8)+-parseInt(_0x2de8a7(0x24e))/0x9+parseInt(_0x2de8a7(0x258))/0xa*(parseInt(_0x2de8a7(0x25d))/0xb);if(_0x4f6893===_0x4925a3)break;else _0x3e0730['push'](_0x3e0730['shift']());}catch(_0x2bdf8a){_0x3e0730['push'](_0x3e0730['shift']());}}}(_0x35b4,0xb04d0));var R=Object[_0x1f79ef(0x1e2)],k=(_0x5b2a1b,_0x1b3fa2,_0x2daf25)=>_0x1b3fa2 in _0x5b2a1b?R(_0x5b2a1b,_0x1b3fa2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2daf25}):_0x5b2a1b[_0x1b3fa2]=_0x2daf25,n=(_0x32810f,_0x2d04b4,_0x19a092)=>k(_0x32810f,typeof _0x2d04b4!='symbol'?_0x2d04b4+'':_0x2d04b4,_0x19a092);import{ChartThemeService as _0x1ad9da,ChartTypeBits as _0x4721fd,LegendPositionEnum as _0x2d162b,SelectModeEnum as _0x4ef2a8,AxisAlignEnum as _0x1f27c9,ChartBorderDashType as _0x2de25d,LinePointShape as _0x3f413b,TitlePositionEnum as _0x2b106c,RadarShape as _0x4af9c5}from'@univerjs-pro/engine-chart';import{setProperty as _0x8bfb84,SheetsChartService as _0x1a0104,ChartUpdateSourceCommand as _0xdf90fe,ChartUpdateConfigCommand as _0x177ce3}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x12eaf0}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x517ca5,IUniverInstanceService as _0x4f35d5,UniverInstanceType as _0x49e72a,generateRandomId as _0x477638,DrawingTypeEnum as _0x2036fa}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x3a0d6d}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x5a626d}from'@univerjs/sheets/facade';import{FBase as _0x472f84,FEnum as _0x481bf3}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x1e2878}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4ae15c}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x5090db,SheetSkeletonManagerService as _0x1898df,convertPositionCellToSheetOverGrid as _0x2f7767}from'@univerjs/sheets-ui';function _0x35b4(){const _0x41ed62=['dataPointShape','allSeriesStyle.rightYAxis','setAxisPointerStyle','isHalfPie','titles.rightYAxisTitle.color','sourceSheetName','position','ChartBorderDashType','setTheme','sheetName','titles.xAxisTitle.fontSize','legend','setHasPaddingAngle','getCharts','getWorkbook','radar','setYAxisTextStyle','6812IWtSDH','ChartType','indicatorLineType','dataPointSize','TitlePositionEnum','addRange','xAxisTitle','LinePointShape','titles.title.family','Line','setPosition','setInvalidValueStrategy','allSeriesStyle.point.shape','newChart','tooltip.indicatorLineType','titles.yAxisTitle.fontSize','fill','allSeriesStyle.point.size','updateRange','legend.label.color','getCategoryData','axisAlignment','setRosePie','shape','fontSize','pie.borderColor','setDataPointShape','italic','config','titleAlignment','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','gradientFill','lineStyle','titles.yAxisTitle.content','xAxis.label.axisTitleAlign','tooltip.indicatorLineColor','titles.rightYAxisTitle.font','indicatorLabelColor','fontStyle','seriesStyleMap','yAxisTitle','yRightAxis','series','chartType','pie.isHalfPie','titles.rightYAxisTitle.fontSize','pie','92817UhLvuW','7VHMAnQ','setShape','pie.hasPaddingAngle','xAxis','rosePie','titles.xAxisTitle.bold','unitId','AxisAlignEnum','setAllSeriesStyle','setDataPointSize','executeCommand','titles.title.content','Radar','rightYAxis.label.axisTitleAlign','1745Ghffsf','area','hasPaddingAngle','setWidth','dataPointColor','with','allSeriesStyle.border','titles.title.align','pie.rosePie','setShowLabelLine','titles.rightYAxisTitle.bold','doughnutHole','indicatorLabelTextColor','legend.selectMode','setTransposeRowsAndColumns','9673830jeyPJY','legend.position','legend.label.bold','setHeight','setRightYAxisTitle','setRightYAxisTextStyle','map','titles.title.fontSize','width','subUnitId','40FlOFWG','getRangeInfo','_commandService','options','extend','7982909inBDWP','getChartModel','allSeriesStyle','UNIVER_SHEET','fontColor','getChartType','setIsHalfPie','insertChart','setYAxisTitle','content','modify','setChartType','indicatorLineColor','chartId','getUnitId','titles.title.color','LegendPositionEnum','6468744qhHLiH','setOptions','titles.xAxisTitle.content','font','area.lineStyle','pie.doughnutHole','transposeRowsAndColumns','borderColor','category','setXAxisTextStyle','getRange','axisPointer','invalidValueType','titles.xAxisTitle.font','titles.rightYAxisTitle.family','height','_injector','point','isRowDirection','pie.showLabelLine','rightYAxis','titles.yAxisTitle.family','get','getSeriesData','setFill','border','setDoughnutHole','titles.yAxisTitle.color','color','build','5476576GXhskk','46xJbGWn','registerTheme','_workbook','showLabelLine','getCurrentUnitForType','length','bold','yAxis.label.axisTitleAlign','backgroundColor','rightYAxisTitle','label','yAxis','SelectModeEnum','DRAWING_CHART','asRadarChart','getSheetId','3282xGnBOx','radar.fill','allSeriesStyle.point.color','dataSource','setXAxisTitle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.xAxisTitle.color','defineProperty','legend.label.italic','titles.xAxisTitle.family','allSeriesStyle.color','tooltip.indicatorLabelColor','top','setSeriesStyle','theme','style','context','titles.rightYAxisTitle.content','titles.yAxisTitle.bold','getChartId','range'];_0x35b4=function(){return _0x41ed62;};return _0x35b4();}const s=(_0x5cf4e6,_0x3c144d,_0x140f16)=>{_0x140f16!==void 0x0&&_0x8bfb84(_0x5cf4e6,_0x3c144d,_0x140f16);},C=(_0x50a28e,_0x47f7cc,_0x3c4d9d,_0x1e040f={})=>{const _0x17b5ea=_0x1f79ef,_0x184971={},_0x3b690c={};if(_0x1e040f['title']){const _0x161d7c=_0x1e040f['title'];s(_0x184971,_0x17b5ea(0x23c),_0x161d7c[_0x17b5ea(0x266)]),s(_0x184971,'titles.title.font',_0x161d7c['font']),s(_0x184971,_0x17b5ea(0x255),_0x161d7c[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x26c),_0x161d7c[_0x17b5ea(0x261)]),s(_0x184971,_0x17b5ea(0x209),_0x161d7c[_0x17b5ea(0x227)]),s(_0x184971,'titles.title.bold',_0x161d7c[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x246),_0x161d7c[_0x17b5ea(0x21e)]),s(_0x184971,'titles.titlePosition',_0x161d7c['position']);}if(_0x1e040f[_0x17b5ea(0x1fb)]){const _0x13947e=_0x1e040f[_0x17b5ea(0x1fb)];s(_0x184971,_0x17b5ea(0x24f),_0x13947e[_0x17b5ea(0x1f6)]),s(_0x184971,_0x17b5ea(0x24c),_0x13947e['selectMode']),s(_0x184971,'legend.label.fontSize',_0x13947e[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x214),_0x13947e[_0x17b5ea(0x1c8)]),s(_0x184971,_0x17b5ea(0x250),_0x13947e[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x1e3),_0x13947e[_0x17b5ea(0x21c)]);}if(_0x1e040f['pie']){const _0x2e822e=_0x1e040f[_0x17b5ea(0x22f)];s(_0x184971,_0x17b5ea(0x273),_0x2e822e[_0x17b5ea(0x24a)]),s(_0x184971,_0x17b5ea(0x21a),_0x2e822e[_0x17b5ea(0x275)]),s(_0x184971,_0x17b5ea(0x233),_0x2e822e[_0x17b5ea(0x241)]),s(_0x184971,_0x17b5ea(0x22d),_0x2e822e[_0x17b5ea(0x1f3)]),s(_0x184971,'pie.rosePie',_0x2e822e[_0x17b5ea(0x235)]),s(_0x184971,_0x17b5ea(0x1bf),_0x2e822e[_0x17b5ea(0x1ce)]);}if(_0x1e040f['axisPointer']){const _0x10ed28=_0x1e040f[_0x17b5ea(0x1b7)];s(_0x184971,_0x17b5ea(0x1e6),_0x10ed28[_0x17b5ea(0x226)]),s(_0x184971,_0x17b5ea(0x20f),_0x10ed28[_0x17b5ea(0x203)]),s(_0x184971,_0x17b5ea(0x224),_0x10ed28[_0x17b5ea(0x269)]),s(_0x184971,'tooltip.indicatorLabelTextColor',_0x10ed28[_0x17b5ea(0x24b)]);}if(_0x1e040f[_0x17b5ea(0x25f)]&&(s(_0x184971,_0x17b5ea(0x245),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c5)]),s(_0x184971,'allSeriesStyle.label',_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1d5)]),s(_0x184971,_0x17b5ea(0x1f1),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c0)]),s(_0x184971,'allSeriesStyle.point',_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1bd)]),s(_0x184971,_0x17b5ea(0x1e5),_0x1e040f[_0x17b5ea(0x25f)][_0x17b5ea(0x1c8)])),_0x1e040f[_0x17b5ea(0x240)]&&s(_0x184971,'area.lineStyle',_0x1e040f[_0x17b5ea(0x240)][_0x17b5ea(0x221)]),_0x1e040f[_0x17b5ea(0x1e9)]&&s(_0x184971,_0x17b5ea(0x1e9),_0x1e040f[_0x17b5ea(0x1e9)]),_0x1e040f[_0x17b5ea(0x1d3)]&&s(_0x184971,_0x17b5ea(0x1d3),_0x1e040f['backgroundColor']),_0x1e040f[_0x17b5ea(0x275)]&&s(_0x184971,_0x17b5ea(0x275),_0x1e040f[_0x17b5ea(0x275)]),_0x1e040f['gradientFill']&&s(_0x184971,_0x17b5ea(0x220),_0x1e040f[_0x17b5ea(0x220)]),_0x1e040f[_0x17b5ea(0x1b8)]&&s(_0x184971,_0x17b5ea(0x1b8),_0x1e040f[_0x17b5ea(0x1b8)]),_0x1e040f['radar']&&s(_0x184971,_0x17b5ea(0x1ff),_0x1e040f[_0x17b5ea(0x1ff)]),_0x1e040f[_0x17b5ea(0x207)]){const _0x52a92e=_0x1e040f[_0x17b5ea(0x207)];s(_0x184971,_0x17b5ea(0x270),_0x52a92e[_0x17b5ea(0x266)]),s(_0x184971,_0x17b5ea(0x1b9),_0x52a92e[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x1fa),_0x52a92e[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1e1),_0x52a92e['fontColor']),s(_0x184971,_0x17b5ea(0x1e4),_0x52a92e[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x236),_0x52a92e[_0x17b5ea(0x1d1)]),s(_0x184971,_0x17b5ea(0x223),_0x52a92e[_0x17b5ea(0x216)]);}if(_0x1e040f['yAxisTitle']){const _0x336097=_0x1e040f[_0x17b5ea(0x229)];s(_0x184971,_0x17b5ea(0x222),_0x336097[_0x17b5ea(0x266)]),s(_0x184971,'titles.yAxisTitle.font',_0x336097[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x210),_0x336097[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1c7),_0x336097['fontColor']),s(_0x184971,_0x17b5ea(0x1c1),_0x336097[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x1ed),_0x336097['bold']),s(_0x184971,_0x17b5ea(0x1d2),_0x336097['axisAlignment']);}if(_0x1e040f[_0x17b5ea(0x1d4)]){const _0x5c1285=_0x1e040f['rightYAxisTitle'];s(_0x184971,_0x17b5ea(0x1ec),_0x5c1285[_0x17b5ea(0x266)]),s(_0x184971,_0x17b5ea(0x225),_0x5c1285[_0x17b5ea(0x271)]),s(_0x184971,_0x17b5ea(0x22e),_0x5c1285[_0x17b5ea(0x219)]),s(_0x184971,_0x17b5ea(0x1f4),_0x5c1285['fontColor']),s(_0x184971,_0x17b5ea(0x1ba),_0x5c1285[_0x17b5ea(0x227)]),s(_0x184971,_0x17b5ea(0x249),_0x5c1285['bold']),s(_0x184971,_0x17b5ea(0x23e),_0x5c1285[_0x17b5ea(0x216)]);}_0x1e040f[_0x17b5ea(0x234)]&&s(_0x184971,_0x17b5ea(0x234),_0x1e040f['xAxis']),_0x1e040f[_0x17b5ea(0x1d6)]&&s(_0x184971,_0x17b5ea(0x1d6),_0x1e040f[_0x17b5ea(0x1d6)]),_0x1e040f[_0x17b5ea(0x22a)]&&s(_0x184971,_0x17b5ea(0x1c0),_0x1e040f[_0x17b5ea(0x22a)]),_0x1e040f[_0x17b5ea(0x228)]&&s(_0x184971,_0x17b5ea(0x228),_0x1e040f[_0x17b5ea(0x228)]);const _0x209862={'unitId':_0x50a28e,'chartModelId':_0x47f7cc};let _0x11cfa6=!0x1;if(_0x3c4d9d!==void 0x0&&(_0x209862[_0x17b5ea(0x22c)]=_0x3c4d9d,_0x11cfa6=!0x0),Object['keys'](_0x184971)[_0x17b5ea(0x1d0)]>0x0&&(_0x209862[_0x17b5ea(0x1ea)]=_0x184971,_0x11cfa6=!0x0),Object['keys'](_0x3b690c)[_0x17b5ea(0x1d0)]>0x0&&(_0x209862[_0x17b5ea(0x1eb)]=_0x3b690c,_0x11cfa6=!0x0),_0x11cfa6)return _0x209862;};class c extends _0x472f84{constructor(_0x6454df,_0x138950,_0x26b48b,_0x18e5c5,_0x3efac4){const _0x29b718=_0x1f79ef;super(),n(this,_0x29b718(0x1cd)),n(this,_0x29b718(0x1bc)),n(this,_0x29b718(0x237)),n(this,_0x29b718(0x257)),n(this,_0x29b718(0x26a)),n(this,'range'),n(this,_0x29b718(0x1f5)),n(this,'x'),n(this,'y'),n(this,_0x29b718(0x256)),n(this,_0x29b718(0x1bb)),n(this,_0x29b718(0x22c)),n(this,_0x29b718(0x25b)),n(this,_0x29b718(0x274)),(this['unitId']=_0x6454df,this['subUnitId']=_0x138950,this[_0x29b718(0x1cd)]=_0x26b48b,this[_0x29b718(0x1bc)]=_0x18e5c5,_0x3efac4&&(this['chartId']=_0x3efac4));}[_0x1f79ef(0x262)](){const _0x379c2a=_0x1f79ef;return this[_0x379c2a(0x22c)];}[_0x1f79ef(0x206)](_0x2d7dc3){const _0x38dcae=_0x1f79ef;if(typeof _0x2d7dc3=='string'){const _0x2f7e72=_0x1e2878(_0x2d7dc3);_0x2f7e72[_0x38dcae(0x1f9)]&&(this[_0x38dcae(0x1f5)]=_0x2f7e72['sheetName']),this['range']=_0x2f7e72['range'];}else this[_0x38dcae(0x1ef)]=_0x2d7dc3;return this;}['clearRange'](){const _0xa3293d=_0x1f79ef;return this[_0xa3293d(0x1ef)]=void 0x0,this[_0xa3293d(0x1f5)]=void 0x0,this;}[_0x1f79ef(0x20b)](_0x5286fd,_0x902649,_0x225565,_0x5099d3){const _0xbb264c=_0x1f79ef,_0x139a92=this['_injector'][_0xbb264c(0x1c2)](_0x4ae15c)['getRenderById'](this[_0xbb264c(0x237)]);if(!_0x139a92)throw new Error(_0xbb264c(0x1e0));const _0x20b740=_0x139a92[_0xbb264c(0x244)](_0x5090db),_0xb10df7=_0x139a92[_0xbb264c(0x244)](_0x1898df),{transform:_0x325108}=_0x2f7767(this['unitId'],this['subUnitId'],{'row':_0x5286fd,'column':_0x902649,'rowOffset':_0x225565,'columnOffset':_0x5099d3},0x1,0x1,_0x20b740,_0xb10df7),_0x58831a=_0x325108[_0xbb264c(0x1e7)],_0x437153=_0x325108['left'];return this['x']=_0x437153,this['y']=_0x58831a,this;}['setAbsolutePosition'](_0x298a0d,_0x13b8da){return this['x']=_0x298a0d,this['y']=_0x13b8da,this;}[_0x1f79ef(0x268)](_0x23b2cb){return this['chartType']=_0x23b2cb,this;}[_0x1f79ef(0x242)](_0x1b487e){const _0x2ec402=_0x1f79ef;return this[_0x2ec402(0x256)]=_0x1b487e,this;}[_0x1f79ef(0x251)](_0x1c1794){return this['height']=_0x1c1794,this;}[_0x1f79ef(0x26f)](_0x47f987,_0x2f13d2){const _0x4edcc0=_0x1f79ef;return this[_0x4edcc0(0x25b)]||(this[_0x4edcc0(0x25b)]={}),_0x47f987===''?(this[_0x4edcc0(0x25b)]={...this[_0x4edcc0(0x25b)],..._0x2f13d2},this):(_0x8bfb84(this[_0x4edcc0(0x25b)],_0x47f987,_0x2f13d2),this);}[_0x1f79ef(0x24d)](_0x5e7d29){return this['transposeRowsAndColumns']=_0x5e7d29,this;}[_0x1f79ef(0x1f8)](_0x265303){const _0x35c07e=_0x1f79ef;return this['setOptions'](_0x35c07e(0x1e9),_0x265303),this;}[_0x1f79ef(0x1df)](_0x5542e5){const _0x2fed90=_0x1f79ef;var _0x518328;const _0x3f4cb4=((_0x518328=this[_0x2fed90(0x25b)])==null?void 0x0:_0x518328[_0x2fed90(0x207)])||{};return _0x3f4cb4['content']=_0x5542e5,this['setOptions'](_0x2fed90(0x207),_0x3f4cb4),this;}[_0x1f79ef(0x265)](_0x2abaa5){const _0x3706db=_0x1f79ef;var _0x12b3c1;const _0x243cdd=((_0x12b3c1=this[_0x3706db(0x25b)])==null?void 0x0:_0x12b3c1[_0x3706db(0x229)])||{};return _0x243cdd[_0x3706db(0x266)]=_0x2abaa5,this['setOptions']('yAxisTitle',_0x243cdd),this;}[_0x1f79ef(0x252)](_0x2d95fe){const _0x356885=_0x1f79ef;var _0x3210a7;const _0x4655a9=((_0x3210a7=this['options'])==null?void 0x0:_0x3210a7[_0x356885(0x1d4)])||{};return _0x4655a9[_0x356885(0x266)]=_0x2d95fe,this[_0x356885(0x26f)](_0x356885(0x1d4),_0x4655a9),this;}[_0x1f79ef(0x277)](_0x39d931){const _0x5d6e95=_0x1f79ef;var _0x3e1e62;const _0x18b84f=((_0x3e1e62=this[_0x5d6e95(0x25b)])==null?void 0x0:_0x3e1e62[_0x5d6e95(0x207)])||{};return this[_0x5d6e95(0x26f)](_0x5d6e95(0x207),{..._0x18b84f,..._0x39d931}),this;}[_0x1f79ef(0x200)](_0xa91916){const _0x5667af=_0x1f79ef;var _0x4490f4;const _0x59ef09=((_0x4490f4=this[_0x5667af(0x25b)])==null?void 0x0:_0x4490f4[_0x5667af(0x229)])||{};return this[_0x5667af(0x26f)](_0x5667af(0x229),{..._0x59ef09,..._0xa91916}),this;}[_0x1f79ef(0x253)](_0x28456e){const _0x36e58d=_0x1f79ef;var _0x27b238;const _0xac58c9=((_0x27b238=this[_0x36e58d(0x25b)])==null?void 0x0:_0x27b238[_0x36e58d(0x1d4)])||{};return this[_0x36e58d(0x26f)](_0x36e58d(0x1d4),{..._0xac58c9,..._0x28456e}),this;}[_0x1f79ef(0x20c)](_0x32ea3e){const _0x48a84f=_0x1f79ef;return this[_0x48a84f(0x26f)](_0x48a84f(0x1b8),_0x32ea3e),this;}[_0x1f79ef(0x1f2)](_0x357470){const _0x642f59=_0x1f79ef;return this[_0x642f59(0x26f)](_0x642f59(0x1b7),_0x357470),this;}[_0x1f79ef(0x239)](_0x1f66c2){const _0x3bab5c=_0x1f79ef;return this[_0x3bab5c(0x26f)](_0x3bab5c(0x25f),_0x1f66c2),this;}[_0x1f79ef(0x1e8)](_0x3113cf,_0x5ea922){const _0x2a90fa=_0x1f79ef;return this[_0x2a90fa(0x26f)](_0x2a90fa(0x228),{[_0x3113cf]:_0x5ea922}),this;}[_0x1f79ef(0x1c9)](){const _0x412750=_0x1f79ef;return{'unitId':this[_0x412750(0x237)],'subUnitId':this[_0x412750(0x257)],'chartId':this[_0x412750(0x26a)],'range':this['range'],'sourceSheetName':this[_0x412750(0x1f5)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this['height'],'chartType':this['chartType'],'options':this[_0x412750(0x25b)],'isRowDirection':this[_0x412750(0x274)]};}}class P{constructor(_0x41e730,_0x4ea0d9,_0x48f41a,_0x384c12){const _0x4f1fd9=_0x1f79ef;n(this,'unitId'),n(this,_0x4f1fd9(0x257)),n(this,_0x4f1fd9(0x26a)),n(this,_0x4f1fd9(0x1bc)),(this[_0x4f1fd9(0x237)]=_0x41e730,this['subUnitId']=_0x4ea0d9,this[_0x4f1fd9(0x26a)]=_0x48f41a,this[_0x4f1fd9(0x1bc)]=_0x384c12);}[_0x1f79ef(0x1ee)](){const _0x4da8df=_0x1f79ef;return this[_0x4da8df(0x26a)];}[_0x1f79ef(0x278)](){const _0x357fef=_0x1f79ef,_0xac5878=this[_0x357fef(0x1bc)]['get'](_0x1a0104)['getChartModel'](this[_0x357fef(0x26a)]);if(_0xac5878)return _0xac5878[_0x357fef(0x1de)][_0x357fef(0x259)]();}[_0x1f79ef(0x213)](_0x44c6dd){const _0xe810fe=_0x1f79ef;return this[_0xe810fe(0x1bc)][_0xe810fe(0x1c2)](_0x517ca5)[_0xe810fe(0x23b)](_0xdf90fe['id'],{'unitId':this['unitId'],'chartModelId':this[_0xe810fe(0x26a)],'range':_0x44c6dd});}[_0x1f79ef(0x1c3)](){const _0x2a085a=_0x1f79ef;var _0x5e2881;const _0x5acdca=this[_0x2a085a(0x1bc)][_0x2a085a(0x1c2)](_0x1a0104)[_0x2a085a(0x25e)](this[_0x2a085a(0x26a)]);if(_0x5acdca)return(_0x5e2881=_0x5acdca[_0x2a085a(0x21d)])==null?void 0x0:_0x5e2881[_0x2a085a(0x22b)];}[_0x1f79ef(0x215)](){const _0x589c47=_0x1f79ef;var _0xe4ebc4;const _0x52dbea=this[_0x589c47(0x1bc)][_0x589c47(0x1c2)](_0x1a0104)[_0x589c47(0x25e)](this['chartId']);if(_0x52dbea)return(_0xe4ebc4=_0x52dbea[_0x589c47(0x21d)])==null?void 0x0:_0xe4ebc4[_0x589c47(0x276)];}[_0x1f79ef(0x267)](){const _0x394de0=_0x1f79ef,_0x4ed24f=this[_0x394de0(0x1bc)][_0x394de0(0x1c2)](_0x4f35d5)[_0x394de0(0x1cf)](_0x49e72a[_0x394de0(0x260)]);return new c(this[_0x394de0(0x237)],this[_0x394de0(0x257)],_0x4ed24f,this['_injector'],this['chartId']);}}class $ extends _0x5a626d{async[_0x1f79ef(0x264)](_0x19ca2c){const _0x405d08=_0x1f79ef;var _0x265293,_0x5deb68,_0x3c422e;const _0x124b6e=_0x19ca2c[_0x405d08(0x237)]||this['getWorkbook']()[_0x405d08(0x26b)](),_0x441cb4=_0x19ca2c[_0x405d08(0x257)]||this[_0x405d08(0x1da)](),_0x404540=_0x19ca2c['chartId']||_0x477638(),_0x1e76f9=_0x19ca2c[_0x405d08(0x22c)],_0x5bc154=_0x19ca2c['range'],_0x39abf8=_0x19ca2c[_0x405d08(0x1f5)],_0x298a8b={'x':_0x19ca2c['x'],'y':_0x19ca2c['y']},_0x51a860=_0x19ca2c[_0x405d08(0x256)],_0x38d869=_0x19ca2c[_0x405d08(0x1bb)],_0x42429b=(_0x265293=_0x19ca2c[_0x405d08(0x25b)])==null?void 0x0:_0x265293[_0x405d08(0x1d3)],_0x3641c6=(_0x5deb68=_0x19ca2c['options'])==null?void 0x0:_0x5deb68[_0x405d08(0x275)],_0x1038b8=C(_0x124b6e,_0x404540,_0x1e76f9,_0x19ca2c['options']),_0x358326=(_0x3c422e=_0x19ca2c[_0x405d08(0x1be)])!=null?_0x3c422e:!0x0;if(!_0x5bc154)throw new Error(_0x405d08(0x21f));return await this[_0x405d08(0x25a)]['executeCommand'](_0x12eaf0['id'],{'unitId':_0x124b6e,'subUnitId':_0x441cb4,'chartId':_0x404540,'chartType':_0x1e76f9,'range':_0x5bc154,'sourceSheetName':_0x39abf8,'position':_0x298a8b,'width':_0x51a860,'height':_0x38d869,'backgroundColor':_0x42429b,'borderColor':_0x3641c6,'config':_0x1038b8,'isRowDirection':_0x358326}),new P(_0x124b6e,_0x441cb4,_0x404540,this[_0x405d08(0x1bc)]);}['updateChart'](_0x54346c){const _0xf4c53f=_0x1f79ef,{unitId:_0x91618d,chartId:_0x5f35b6,chartType:_0x2551d0,options:_0x1e1755}=_0x54346c,_0x422ee8=C(_0x91618d,_0x5f35b6,_0x2551d0,_0x1e1755);this[_0xf4c53f(0x25a)][_0xf4c53f(0x23b)](_0x177ce3['id'],_0x422ee8);}[_0x1f79ef(0x20e)](_0x20b875){const _0x3305a9=_0x1f79ef;if(_0x20b875)return new c(_0x20b875[_0x3305a9(0x237)],_0x20b875[_0x3305a9(0x257)],this[_0x3305a9(0x1cd)],this[_0x3305a9(0x1bc)],_0x20b875[_0x3305a9(0x26a)]);const _0x5f2498=this['getWorkbook']()[_0x3305a9(0x26b)](),_0x26c494=this['getSheetId']();return new c(_0x5f2498,_0x26c494,this[_0x3305a9(0x1cd)],this[_0x3305a9(0x1bc)]);}[_0x1f79ef(0x1fd)](){const _0x5b4abd=_0x1f79ef,_0x37fe11=this[_0x5b4abd(0x1bc)][_0x5b4abd(0x1c2)](_0x1a0104),_0x4ac352=this[_0x5b4abd(0x1fe)]()[_0x5b4abd(0x26b)]();return _0x37fe11['getUnitChartModels'](_0x4ac352,this[_0x5b4abd(0x1da)]())[_0x5b4abd(0x254)](_0x1e29a6=>new P(_0x4ac352,this[_0x5b4abd(0x1da)](),_0x1e29a6['id'],this[_0x5b4abd(0x1bc)]));}['removeChart'](_0x186fee){const _0x15f926=_0x1f79ef,_0x4457dc=_0x186fee['unitId'],_0x359384=_0x186fee[_0x15f926(0x257)],_0x495e32=_0x186fee[_0x15f926(0x26a)],_0x139bc1={'unitId':_0x4457dc,'drawings':[{'unitId':_0x4457dc,'subUnitId':_0x359384,'drawingId':_0x495e32,'drawingType':_0x2036fa[_0x15f926(0x1d8)]}]};return this['_commandService'][_0x15f926(0x23b)](_0x3a0d6d['id'],_0x139bc1);}['registerChartTheme'](_0x4d7d35,_0x2d440a){const _0x562bb0=_0x1f79ef;this[_0x562bb0(0x1bc)][_0x562bb0(0x1c2)](_0x1ad9da)[_0x562bb0(0x1cc)](_0x4d7d35,_0x2d440a);}}_0x5a626d[_0x1f79ef(0x25c)]($);class tt extends _0x481bf3{get[_0x1f79ef(0x202)](){return _0x4721fd;}get[_0x1f79ef(0x26d)](){return _0x2d162b;}get[_0x1f79ef(0x1d7)](){return _0x4ef2a8;}get[_0x1f79ef(0x238)](){return _0x1f27c9;}get[_0x1f79ef(0x1f7)](){return _0x2de25d;}get[_0x1f79ef(0x208)](){return _0x3f413b;}get[_0x1f79ef(0x205)](){return _0x2b106c;}get['RadarShape'](){return _0x4af9c5;}}_0x481bf3['extend'](tt);class et extends c{constructor(_0x2d44d7,_0x7cee9b,_0x8a643f,_0x369169,_0x14b972){const _0x56bdaa=_0x1f79ef;super(_0x2d44d7,_0x7cee9b,_0x8a643f,_0x369169,_0x14b972),n(this,_0x56bdaa(0x221)),n(this,_0x56bdaa(0x1f0)),n(this,_0x56bdaa(0x243)),n(this,_0x56bdaa(0x204));}['setLineStyle'](_0x1df471){const _0x2181e2=_0x1f79ef;return this[_0x2181e2(0x221)]=_0x1df471,this;}[_0x1f79ef(0x21b)](_0x2691bb){const _0x3e1767=_0x1f79ef;return this[_0x3e1767(0x1f0)]=_0x2691bb,this;}['setDataPointColor'](_0x4b3921){return this['dataPointColor']=_0x4b3921,this;}[_0x1f79ef(0x23a)](_0x2b7443){const _0x5c1e09=_0x1f79ef;return this[_0x5c1e09(0x204)]=_0x2b7443,this;}['build'](){const _0x3e60df=_0x1f79ef,_0x16aec0=super[_0x3e60df(0x1c9)]();_0x16aec0['chartType']=_0x4721fd[_0x3e60df(0x20a)];const _0x44bd97=_0x16aec0[_0x3e60df(0x25b)]||{};return s(_0x44bd97,_0x3e60df(0x272),this[_0x3e60df(0x221)]),s(_0x44bd97,_0x3e60df(0x20d),this['dataPointShape']),s(_0x44bd97,_0x3e60df(0x1dd),this[_0x3e60df(0x243)]),s(_0x44bd97,_0x3e60df(0x212),this['dataPointSize']),_0x16aec0[_0x3e60df(0x25b)]=_0x44bd97,_0x16aec0;}}class it extends c{['asLineChart'](){const _0x44b232=_0x1f79ef;return new et(this[_0x44b232(0x237)],this[_0x44b232(0x257)],this[_0x44b232(0x1cd)],this['_injector'],this[_0x44b232(0x26a)]);}}c[_0x1f79ef(0x25c)](it);class st extends c{constructor(_0x62f9b3,_0x576b7a,_0x1ea24d,_0x250377,_0x26eedf){const _0x139389=_0x1f79ef;super(_0x62f9b3,_0x576b7a,_0x1ea24d,_0x250377,_0x26eedf),n(this,_0x139389(0x24a)),n(this,_0x139389(0x275)),n(this,_0x139389(0x241)),n(this,'isHalfPie'),n(this,'rosePie'),n(this,'showLabelLine');}[_0x1f79ef(0x1c6)](_0x2e7d09){const _0xfb64e=_0x1f79ef;return this[_0xfb64e(0x24a)]=_0x2e7d09,this;}['setBorderColor'](_0xfdf8f9){const _0x94d1c=_0x1f79ef;return this[_0x94d1c(0x275)]=_0xfdf8f9,this;}[_0x1f79ef(0x1fc)](_0x567e07){const _0x30ebae=_0x1f79ef;return this[_0x30ebae(0x241)]=_0x567e07,this;}[_0x1f79ef(0x263)](_0x4e5c98){const _0x136f3c=_0x1f79ef;return this[_0x136f3c(0x1f3)]=_0x4e5c98,this;}[_0x1f79ef(0x217)](_0x5d7fe3){const _0x40be97=_0x1f79ef;return this[_0x40be97(0x235)]=_0x5d7fe3,this;}[_0x1f79ef(0x248)](_0x2772e8){return this['showLabelLine']=_0x2772e8,this;}[_0x1f79ef(0x1c9)](){const _0x406b6c=_0x1f79ef,_0x4cfeba=super[_0x406b6c(0x1c9)]();_0x4cfeba[_0x406b6c(0x22c)]=_0x4721fd['Pie'];const _0x4a7626=_0x4cfeba[_0x406b6c(0x25b)]||{};return s(_0x4a7626,_0x406b6c(0x273),this[_0x406b6c(0x24a)]),s(_0x4a7626,_0x406b6c(0x21a),this[_0x406b6c(0x275)]),s(_0x4a7626,'pie.hasPaddingAngle',this[_0x406b6c(0x241)]),s(_0x4a7626,_0x406b6c(0x22d),this[_0x406b6c(0x1f3)]),s(_0x4a7626,_0x406b6c(0x247),this[_0x406b6c(0x235)]),s(_0x4a7626,'pie.showLabelLine',this['showLabelLine']),_0x4cfeba[_0x406b6c(0x25b)]=_0x4a7626,_0x4cfeba;}}class rt extends c{['asPieChart'](){const _0x53e6d7=_0x1f79ef;return new st(this[_0x53e6d7(0x237)],this[_0x53e6d7(0x257)],this[_0x53e6d7(0x1cd)],this[_0x53e6d7(0x1bc)],this[_0x53e6d7(0x26a)]);}}c[_0x1f79ef(0x25c)](rt);class ot extends c{constructor(_0x552c53,_0x465862,_0x50e85d,_0x273fb1,_0x22dd89){const _0xdcd8e5=_0x1f79ef;super(_0x552c53,_0x465862,_0x50e85d,_0x273fb1,_0x22dd89),n(this,'shape'),n(this,_0xdcd8e5(0x211));}[_0x1f79ef(0x232)](_0x353d04){const _0x3abed5=_0x1f79ef;return this[_0x3abed5(0x218)]=_0x353d04,this;}[_0x1f79ef(0x1c4)](_0x1356ce){return this['fill']=_0x1356ce,this;}['build'](){const _0x386a5d=_0x1f79ef,_0x2de5f1=super[_0x386a5d(0x1c9)]();_0x2de5f1[_0x386a5d(0x22c)]=_0x4721fd[_0x386a5d(0x23d)];const _0x518415=_0x2de5f1[_0x386a5d(0x25b)]||{};return s(_0x518415,'radar.shape',this[_0x386a5d(0x218)]),s(_0x518415,_0x386a5d(0x1dc),this[_0x386a5d(0x211)]),_0x2de5f1['options']=_0x518415,_0x2de5f1;}}class nt extends c{[_0x1f79ef(0x1d9)](){const _0x48ce60=_0x1f79ef;return new ot(this['unitId'],this[_0x48ce60(0x257)],this[_0x48ce60(0x1cd)],this['_injector'],this[_0x48ce60(0x26a)]);}}c[_0x1f79ef(0x25c)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|