@univerjs-pro/sheets-chart-ui 0.15.2-insiders.20260124-12fc7f0 → 0.15.3
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/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 +15 -15
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5e65a3=_0x3cd8;function _0x3cd8(_0x3be4b6,_0x198b50){_0x3be4b6=_0x3be4b6-0xb4;const _0x2ed7d5=_0x2ed7();let _0x3cd833=_0x2ed7d5[_0x3be4b6];return _0x3cd833;}(function(_0x1b1160,_0x2d0945){const _0x4219bd=_0x3cd8,_0x47fc06=_0x1b1160();while(!![]){try{const _0xbde268=-parseInt(_0x4219bd(0xdb))/0x1+parseInt(_0x4219bd(0xcd))/0x2+-parseInt(_0x4219bd(0xdd))/0x3*(-parseInt(_0x4219bd(0xd1))/0x4)+parseInt(_0x4219bd(0xb6))/0x5+-parseInt(_0x4219bd(0x129))/0x6*(parseInt(_0x4219bd(0xeb))/0x7)+-parseInt(_0x4219bd(0x107))/0x8+-parseInt(_0x4219bd(0x141))/0x9;if(_0xbde268===_0x2d0945)break;else _0x47fc06['push'](_0x47fc06['shift']());}catch(_0x2e629f){_0x47fc06['push'](_0x47fc06['shift']());}}}(_0x2ed7,0xb704f));const e={'chart':{'insertChart':_0x5e65a3(0x111),'editChart':_0x5e65a3(0xc0),'openChartPanel':_0x5e65a3(0xc7),'deleteChart':_0x5e65a3(0xdc),'hideChartPanel':_0x5e65a3(0x139),'setupChart':'設置圖表','customChart':_0x5e65a3(0xe7),'default':'默認','reset':'重置','chartType':_0x5e65a3(0x12f),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x5e65a3(0x137),'series':'系列','addSeries':_0x5e65a3(0x11a),'moreSettings':_0x5e65a3(0x134),'min':_0x5e65a3(0xc4),'max':_0x5e65a3(0xd0),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x5e65a3(0xde)},'blank':_0x5e65a3(0xf5),'seriesBlock':{'format':'格式','dataPointStyle':_0x5e65a3(0xea)},'backgroundColor':'背景顏色','chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x5e65a3(0x144),'subTitle':_0x5e65a3(0x101),'xAxisTitle':_0x5e65a3(0x117),'yAxisTitle':_0x5e65a3(0xed),'rightYAxisTitle':_0x5e65a3(0xe4),'titleFormat':_0x5e65a3(0xd8),'titleText':_0x5e65a3(0xbc),'titlePosition':_0x5e65a3(0x104),'titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x5e65a3(0xc8),'settingsLabels':{'switchToRowOrColumn':_0x5e65a3(0xce),'useAsCategoryLabels':_0x5e65a3(0xee),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x5e65a3(0xc5),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x5e65a3(0xf1),'chartAndAxisTitles':_0x5e65a3(0x12b),'legend':'圖例','legendSelectMode':_0x5e65a3(0xd7),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x5e65a3(0xfb),'horizontalAxis':'水平軸','verticalAxis':'垂直軸','rightVerticalAxis':_0x5e65a3(0x11b),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x5e65a3(0x102)},'position':'位置','dataLabels':_0x5e65a3(0x10d),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x5e65a3(0xbb),'indicatorLineType':_0x5e65a3(0xbd),'indicatorLineColor':'指示線顏色','indicatorLabel':'指示標籤','indicatorValue':'指示值','shape':{'polygon':_0x5e65a3(0x135),'circle':'圓形','square':_0x5e65a3(0xfa),'triangle':_0x5e65a3(0xd5),'diamond':'菱形','rect':'矩形','roundRect':_0x5e65a3(0xcc),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x5e65a3(0xcb),'emptySquare':_0x5e65a3(0xff),'emptyTriangle':_0x5e65a3(0x136),'emptyDiamond':'空心菱形','emptyRect':_0x5e65a3(0x12c),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x5e65a3(0x108),'emptyArrow':_0x5e65a3(0xe2)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x5e65a3(0x13f),'withColor':_0x5e65a3(0x13e),'withThickness':_0x5e65a3(0xe9),'withType':'{0}\x20類型','withSize':_0x5e65a3(0xb9),'withShape':'{0}\x20形狀','withFormat':_0x5e65a3(0xba),'dataPoint':_0x5e65a3(0xd6),'dataNodeShape':_0x5e65a3(0x126),'addDataPoint':_0x5e65a3(0xbe),'point':_0x5e65a3(0xd6),'percentage':_0x5e65a3(0xfc),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x5e65a3(0x131)},'lineDashType':_0x5e65a3(0x133),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x5e65a3(0xc9),'text':'網格線'},'ticks':{'majorTick':_0x5e65a3(0x127),'tickPosition':_0x5e65a3(0x13d),'tickLength':_0x5e65a3(0x128)},'none':'無','theIndexItem':_0x5e65a3(0x122),'seriesDefaultName':_0x5e65a3(0x113),'categoryDefaultName':_0x5e65a3(0x100),'styleEditPanel':{'showLabels':_0x5e65a3(0xe1),'showDataLabels':_0x5e65a3(0x11c),'padAngle':_0x5e65a3(0x130),'halfPie':'半餅','rosePie':_0x5e65a3(0xfe),'pieValScale':'数值比例','pieValSuffix':_0x5e65a3(0xc6),'pieDigitalFixed':'小數位數','showLabelLine':'顯示標籤線','reverseAxisOrder':'逆序軸','showAxisLine':_0x5e65a3(0xcf),'labelPosition':_0x5e65a3(0x109),'labelText':'標籤文本','repeatWordCould':_0x5e65a3(0xec),'gap':'間隔','useAbsValue':_0x5e65a3(0xf0),'labelRotate':_0x5e65a3(0xf3),'wordCloudShape':'詞雲形狀','useDateAxis':_0x5e65a3(0xf8),'dateAxisTips':_0x5e65a3(0x10e)},'radar':{'fill':'填充'},'doughnutHole':_0x5e65a3(0xfd),'msg':{'invalidSource':_0x5e65a3(0xd9),'emptyTips':_0x5e65a3(0xd2),'sankeyCircularTips':_0x5e65a3(0xbf)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x5e65a3(0xf4),'addTrendLine':'添加趨勢線','trendlineType':'趨勢線類型','trendlineName':_0x5e65a3(0xf4),'trendlineColor':_0x5e65a3(0x10a),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x5e65a3(0xda),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x5e65a3(0x147),'poly':_0x5e65a3(0x103),'order':_0x5e65a3(0x11f),'period':_0x5e65a3(0x120),'showFormula':_0x5e65a3(0xf9),'showR2':_0x5e65a3(0xc3),'formula':'公式','r2':_0x5e65a3(0x119)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x5e65a3(0xc2),'label':'氣泡標籤','emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x5e65a3(0x132),'useValueAsSymbolSize':_0x5e65a3(0x11d),'layoutType':_0x5e65a3(0x13a),'forceOptions':_0x5e65a3(0x121),'repulsion':'斥力','gravity':'引力','edgeLength':_0x5e65a3(0xe8),'rotateLabel':_0x5e65a3(0x145),'emphasis':_0x5e65a3(0x13c),'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'waterfall':{'stackType':_0x5e65a3(0xb8),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x5e65a3(0xb4),'positiveStyle':_0x5e65a3(0x10c),'negativeStyle':_0x5e65a3(0x12e),'subtotalStyle':_0x5e65a3(0xef),'positiveLegendText':_0x5e65a3(0x142),'negativeLegendText':_0x5e65a3(0x110),'subtotalLegendText':_0x5e65a3(0x114)},'pareto':{'lineName':_0x5e65a3(0xe0),'lineSeries':_0x5e65a3(0x115),'barSeries':_0x5e65a3(0xc1)},'visualMapScope':_0x5e65a3(0x106),'boxplot':{'min':_0x5e65a3(0xc4),'q1':_0x5e65a3(0x10b),'median':_0x5e65a3(0x138),'q3':_0x5e65a3(0x125),'max':_0x5e65a3(0xd0)}},'chartTypes':{'line':_0x5e65a3(0xca),'area':'面積圖','areaStacked':_0x5e65a3(0x13b),'areaPercentStacked':_0x5e65a3(0x140),'column':'柱狀圖','bar':_0x5e65a3(0x12a),'barStacked':_0x5e65a3(0xdf),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x5e65a3(0xb7),'scatter':_0x5e65a3(0xf7),'radar':_0x5e65a3(0xd4),'bubble':_0x5e65a3(0x11e),'stock':_0x5e65a3(0x118),'combination':_0x5e65a3(0x146),'wordCloud':'詞雲圖','funnel':_0x5e65a3(0xb5),'relation':'關係圖','waterfall':_0x5e65a3(0x124),'pareto':'排列圖','sankey':_0x5e65a3(0x123),'heatmap':_0x5e65a3(0xf6),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x5e65a3(0x112),'fieldSetting':_0x5e65a3(0xe3),'formatTypes':_0x5e65a3(0xd3),'confirm':'確定','cancel':'取消','generalDesc':_0x5e65a3(0xe5),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x5e65a3(0x116),'dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x5e65a3(0x12d),'decimalPlaces':_0x5e65a3(0xe6),'currencyTypes':_0x5e65a3(0x105),'negativeNumberTypes':_0x5e65a3(0xf2),'dateTypes':_0x5e65a3(0x10f)},'setFormat':_0x5e65a3(0x143)}};function _0x2ed7(){const _0x2a8455=['千分位符','系列\x20{0}','小計圖例文本','累積占比系列','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','X軸標題','股票圖','R平方','添加系列','右垂直軸','顯示數據標籤','使用值作為節點大小','氣泡圖','多項式階數','移動平均周期','力導向選項','第\x20{0}\x20項','桑基圖','瀑布圖','第三四分位數','節點形狀','主刻度線','刻度線長度','176184EuApRQ','條形圖','圖表和軸標題','空心矩形','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','負值樣式','圖表類型','扇形間距','百分比堆疊','力導向','線類型','更多設置','多邊形','空心三角形','所有系列','中位數','隱藏圖表面板','佈局類型','堆疊面積圖','開啟選中淡入特效','刻度線位置','{0}\x20顏色','{0}\x20透明度','百分比堆疊面積圖','1809630RiApyT','正值圖例文本','設置標籤格式','主標題','旋轉標籤','組合圖','移動平均','顯示小計','漏斗圖','7155085DGWltj','環形圖','堆疊方式','{0}\x20大小','{0}\x20格式','指示線','標題文本','指示線類型','添加數據點','桑基圖不能包含循環數據','編輯圖表','長條圖系列','氣泡大小','顯示R平方','最小值','左對齊','数值后缀','打開圖表面板','漸變填充','主網格線','折線圖','空心圓形','圓角矩形','1397520nTClaF','切換列或欄','顯示軸線','最大值','392WfGyjH','請先添加系列開始數據可視化','格式類型','雷達圖','三角形','數據點','圖例選擇模式','標題格式','圖表數據源必須包含多於1列和1欄。','趨勢線線類型','977233DiYFDn','刪除圖表','3489JHUAOZ','用直線連接數據點','堆疊條形圖','累積占比','顯示標籤','空心箭頭','字段設置','右Y軸標題','常規格式不包含任何特定的數字格式。','小數位數','自定義圖表','節點距離','{0}\x20粗細','數據點樣式','63LDXBEX','重複詞雲標籤','Y軸標題','使用\x20{0}\x20作為類別標籤','小計樣式','使用絕對值','圖表樣式','負數類型','標籤旋轉','趨勢線名稱','(空)','熱力圖','散點圖','使用日期軸','顯示公式','正方形','軸選項','百分比','圓環孔','玫瑰圖','空心正方形','類別\x20{0}','副標題','使用右軸','多項式','標題位置','貨幣類型','視覺映射範圍','412200yrOjCi','空心針形','標籤位置','趨勢線顏色','第一四分位數','正值樣式','數據標籤','日期軸僅在數據全部為日期格式時可用','日期類型','負值圖例文本','插入圖表'];_0x2ed7=function(){return _0x2a8455;};return _0x2ed7();}export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xf5fd6d=_0x401f;(function(_0x571f1f,_0x3aea58){const _0x1b44f1=_0x401f,_0x29ec09=_0x571f1f();while(!![]){try{const _0x235743=parseInt(_0x1b44f1(0x224))/0x1+-parseInt(_0x1b44f1(0x280))/0x2*(-parseInt(_0x1b44f1(0x21b))/0x3)+-parseInt(_0x1b44f1(0x26e))/0x4+parseInt(_0x1b44f1(0x219))/0x5+parseInt(_0x1b44f1(0x261))/0x6*(-parseInt(_0x1b44f1(0x259))/0x7)+-parseInt(_0x1b44f1(0x253))/0x8+parseInt(_0x1b44f1(0x1cb))/0x9;if(_0x235743===_0x3aea58)break;else _0x29ec09['push'](_0x29ec09['shift']());}catch(_0x56a10b){_0x29ec09['push'](_0x29ec09['shift']());}}}(_0x412c,0x1bc7b));function _0x412c(){const _0x336ecc=['setLineStyle','titles.titlePosition','setXAxisTitle','pie.rosePie','titles.xAxisTitle.font','setTheme','titles.rightYAxisTitle.content','setChartType','setRosePie','get','allSeriesStyle.point.size','titles.xAxisTitle.content','theme','sourceSheetName','executeCommand','setOptions','options','Pie','AxisAlignEnum','setHasPaddingAngle','gradientFill','titles.title.bold','setHeight','indicatorLabelTextColor','getCategoryData','symbol','399776ZAivOF','setDataPointShape','range','allSeriesStyle.rightYAxis','allSeriesStyle.point','with','7vUAbmi','dataPointShape','UNIVER_SHEET','addRange','setRightYAxisTitle','asPieChart','yAxisTitle','rosePie','19626kAsFuN','getRangeInfo','setBorderColor','ChartBorderDashType','TitlePositionEnum','yRightAxis','titles.xAxisTitle.family','registerChartTheme','legend','setDataPointColor','font','getUnitChartModels','titles.xAxisTitle.fontSize','816740GHOqYl','allSeriesStyle.point.shape','radar.shape','updateRange','indicatorLineColor','modify','titles.rightYAxisTitle.bold','seriesStyleMap','getChartId','series','tooltip.indicatorLabelColor','newChart','dataPointColor','italic','border','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','Radar','Line','4VZXwFn','removeChart','fontSize','content','transposeRowsAndColumns','yAxis','xAxisTitle','allSeriesStyle.border','271098gsmWTD','context','shape','setAbsolutePosition','getSeriesData','asRadarChart','getCurrentUnitForType','indicatorLineType','fill','height','getChartType','isRowDirection','titles.title.content','getRange','setSeriesStyle','titles.rightYAxisTitle.color','pie.showLabelLine','isHalfPie','build','rightYAxis','xAxis','indicatorLabelColor','string','sheetName','_commandService','titles.xAxisTitle.color','legend.selectMode','area.lineStyle','pie.hasPaddingAngle','getWorkbook','extend','titles.rightYAxisTitle.fontSize','setFill','getSheetId','titles.yAxisTitle.color','unitId','backgroundColor','axisPointer','length','color','category','titles.title.color','invalidValueType','_injector','setYAxisTitle','titles.yAxisTitle.family','pie.borderColor','keys','doughnutHole','setDataPointSize','setDoughnutHole','fontColor','titleAlignment','bold','axisAlignment','DRAWING_CHART','radar','legend.label.color','config','getUnitId','rightYAxisTitle','setWidth','rightYAxis.label.axisTitleAlign','pie','chartType','label','setInvalidValueStrategy','pie.doughnutHole','titles.rightYAxisTitle.family','_workbook','position','pie.isHalfPie','legend.label.bold','clearRange','getRenderById','titles.rightYAxisTitle.font','showLabelLine','titles.yAxisTitle.bold','810355qQKCmo','top','236217YJdppA','titles.yAxisTitle.font','lineStyle','setIsHalfPie','ChartType','hasPaddingAngle','point','getChartModel','width','21544PUSixQ','left','title','LinePointShape','setAxisPointerStyle','setXAxisTextStyle','RadarShape','dataPointSize','updateChart','allSeriesStyle.color','borderColor','allSeriesStyle','tooltip.indicatorLineType','titles.title.family','chartId','fontStyle','setShowLabelLine','SelectModeEnum','dataSource','subUnitId','area'];_0x412c=function(){return _0x336ecc;};return _0x412c();}var R=Object['defineProperty'],k=(_0x3f0477,_0x2cc83b,_0x26f1cc)=>_0x2cc83b in _0x3f0477?R(_0x3f0477,_0x2cc83b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26f1cc}):_0x3f0477[_0x2cc83b]=_0x26f1cc,n=(_0x348014,_0x477dbc,_0x1a3147)=>k(_0x348014,typeof _0x477dbc!=_0xf5fd6d(0x252)?_0x477dbc+'':_0x477dbc,_0x1a3147);import{ChartThemeService as _0x1bd974,ChartTypeBits as _0x22dcf3,LegendPositionEnum as _0x289eb8,SelectModeEnum as _0x109fce,AxisAlignEnum as _0x42bc42,ChartBorderDashType as _0x5d89de,LinePointShape as _0x37f1d7,TitlePositionEnum as _0x348a67,RadarShape as _0x1e4a16}from'@univerjs-pro/engine-chart';import{setProperty as _0xb3f250,SheetsChartService as _0x23183a,ChartUpdateSourceCommand as _0x3c551,ChartUpdateConfigCommand as _0xccbadb}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x5d2a0b}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x8b64f2,IUniverInstanceService as _0x3beaa6,UniverInstanceType as _0x152fb7,generateRandomId as _0x965ab4,DrawingTypeEnum as _0x42471f}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0xe7cc4a}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x20e24f}from'@univerjs/sheets/facade';import{FBase as _0x3a1191,FEnum as _0x2e5550}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x245dd8}from'@univerjs/engine-formula';import{IRenderManagerService as _0x164066}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x4ea2f5,SheetSkeletonManagerService as _0x582681,convertPositionCellToSheetOverGrid as _0x59b961}from'@univerjs/sheets-ui';const s=(_0x57fe49,_0x5e05b2,_0x5acc00)=>{_0x5acc00!==void 0x0&&_0xb3f250(_0x57fe49,_0x5e05b2,_0x5acc00);},C=(_0x51f604,_0x5e8c18,_0xd97785,_0x1a1eaf={})=>{const _0x40869c=_0xf5fd6d,_0x278410={},_0x5d927e={};if(_0x1a1eaf['title']){const _0x10841f=_0x1a1eaf[_0x40869c(0x226)];s(_0x278410,_0x40869c(0x1d7),_0x10841f[_0x40869c(0x283)]),s(_0x278410,'titles.title.font',_0x10841f[_0x40869c(0x26b)]),s(_0x278410,'titles.title.fontSize',_0x10841f[_0x40869c(0x282)]),s(_0x278410,_0x40869c(0x1f4),_0x10841f['fontColor']),s(_0x278410,_0x40869c(0x231),_0x10841f[_0x40869c(0x233)]),s(_0x278410,_0x40869c(0x24e),_0x10841f[_0x40869c(0x200)]),s(_0x278410,'titles.title.align',_0x10841f[_0x40869c(0x1ff)]),s(_0x278410,_0x40869c(0x23a),_0x10841f[_0x40869c(0x211)]);}if(_0x1a1eaf['legend']){const _0x3b8cda=_0x1a1eaf[_0x40869c(0x269)];s(_0x278410,'legend.position',_0x3b8cda[_0x40869c(0x211)]),s(_0x278410,_0x40869c(0x1e5),_0x3b8cda['selectMode']),s(_0x278410,'legend.label.fontSize',_0x3b8cda[_0x40869c(0x282)]),s(_0x278410,_0x40869c(0x204),_0x3b8cda[_0x40869c(0x1f2)]),s(_0x278410,_0x40869c(0x213),_0x3b8cda[_0x40869c(0x200)]),s(_0x278410,'legend.label.italic',_0x3b8cda[_0x40869c(0x27b)]);}if(_0x1a1eaf[_0x40869c(0x20a)]){const _0x333c54=_0x1a1eaf[_0x40869c(0x20a)];s(_0x278410,_0x40869c(0x20e),_0x333c54[_0x40869c(0x1fb)]),s(_0x278410,_0x40869c(0x1f9),_0x333c54[_0x40869c(0x22e)]),s(_0x278410,_0x40869c(0x1e7),_0x333c54[_0x40869c(0x220)]),s(_0x278410,_0x40869c(0x212),_0x333c54[_0x40869c(0x1dc)]),s(_0x278410,_0x40869c(0x23c),_0x333c54[_0x40869c(0x260)]),s(_0x278410,_0x40869c(0x1db),_0x333c54[_0x40869c(0x217)]);}if(_0x1a1eaf['axisPointer']){const _0x33f2bc=_0x1a1eaf['axisPointer'];s(_0x278410,_0x40869c(0x278),_0x33f2bc[_0x40869c(0x1e0)]),s(_0x278410,_0x40869c(0x230),_0x33f2bc[_0x40869c(0x1d2)]),s(_0x278410,'tooltip.indicatorLineColor',_0x33f2bc[_0x40869c(0x272)]),s(_0x278410,'tooltip.indicatorLabelTextColor',_0x33f2bc[_0x40869c(0x250)]);}if(_0x1a1eaf['allSeriesStyle']&&(s(_0x278410,_0x40869c(0x287),_0x1a1eaf[_0x40869c(0x22f)][_0x40869c(0x27c)]),s(_0x278410,'allSeriesStyle.label',_0x1a1eaf[_0x40869c(0x22f)][_0x40869c(0x20c)]),s(_0x278410,_0x40869c(0x256),_0x1a1eaf[_0x40869c(0x22f)]['rightYAxis']),s(_0x278410,_0x40869c(0x257),_0x1a1eaf[_0x40869c(0x22f)][_0x40869c(0x221)]),s(_0x278410,_0x40869c(0x22d),_0x1a1eaf[_0x40869c(0x22f)][_0x40869c(0x1f2)])),_0x1a1eaf[_0x40869c(0x238)]&&s(_0x278410,_0x40869c(0x1e6),_0x1a1eaf['area'][_0x40869c(0x21d)]),_0x1a1eaf['theme']&&s(_0x278410,'theme',_0x1a1eaf['theme']),_0x1a1eaf[_0x40869c(0x1ef)]&&s(_0x278410,'backgroundColor',_0x1a1eaf[_0x40869c(0x1ef)]),_0x1a1eaf[_0x40869c(0x22e)]&&s(_0x278410,_0x40869c(0x22e),_0x1a1eaf[_0x40869c(0x22e)]),_0x1a1eaf[_0x40869c(0x24d)]&&s(_0x278410,_0x40869c(0x24d),_0x1a1eaf[_0x40869c(0x24d)]),_0x1a1eaf['invalidValueType']&&s(_0x278410,_0x40869c(0x1f5),_0x1a1eaf[_0x40869c(0x1f5)]),_0x1a1eaf['radar']&&s(_0x278410,_0x40869c(0x203),_0x1a1eaf[_0x40869c(0x203)]),_0x1a1eaf[_0x40869c(0x286)]){const _0x19256b=_0x1a1eaf[_0x40869c(0x286)];s(_0x278410,_0x40869c(0x244),_0x19256b[_0x40869c(0x283)]),s(_0x278410,_0x40869c(0x23d),_0x19256b[_0x40869c(0x26b)]),s(_0x278410,_0x40869c(0x26d),_0x19256b['fontSize']),s(_0x278410,_0x40869c(0x1e4),_0x19256b['fontColor']),s(_0x278410,_0x40869c(0x267),_0x19256b['fontStyle']),s(_0x278410,'titles.xAxisTitle.bold',_0x19256b[_0x40869c(0x200)]),s(_0x278410,'xAxis.label.axisTitleAlign',_0x19256b[_0x40869c(0x201)]);}if(_0x1a1eaf[_0x40869c(0x25f)]){const _0x2bfb4b=_0x1a1eaf['yAxisTitle'];s(_0x278410,'titles.yAxisTitle.content',_0x2bfb4b[_0x40869c(0x283)]),s(_0x278410,_0x40869c(0x21c),_0x2bfb4b[_0x40869c(0x26b)]),s(_0x278410,'titles.yAxisTitle.fontSize',_0x2bfb4b['fontSize']),s(_0x278410,_0x40869c(0x1ed),_0x2bfb4b['fontColor']),s(_0x278410,_0x40869c(0x1f8),_0x2bfb4b[_0x40869c(0x233)]),s(_0x278410,_0x40869c(0x218),_0x2bfb4b['bold']),s(_0x278410,'yAxis.label.axisTitleAlign',_0x2bfb4b[_0x40869c(0x201)]);}if(_0x1a1eaf[_0x40869c(0x207)]){const _0x24d2fd=_0x1a1eaf[_0x40869c(0x207)];s(_0x278410,_0x40869c(0x23f),_0x24d2fd[_0x40869c(0x283)]),s(_0x278410,_0x40869c(0x216),_0x24d2fd[_0x40869c(0x26b)]),s(_0x278410,_0x40869c(0x1ea),_0x24d2fd['fontSize']),s(_0x278410,_0x40869c(0x1da),_0x24d2fd[_0x40869c(0x1fe)]),s(_0x278410,_0x40869c(0x20f),_0x24d2fd[_0x40869c(0x233)]),s(_0x278410,_0x40869c(0x274),_0x24d2fd[_0x40869c(0x200)]),s(_0x278410,_0x40869c(0x209),_0x24d2fd[_0x40869c(0x201)]);}_0x1a1eaf['xAxis']&&s(_0x278410,_0x40869c(0x1df),_0x1a1eaf['xAxis']),_0x1a1eaf[_0x40869c(0x285)]&&s(_0x278410,_0x40869c(0x285),_0x1a1eaf[_0x40869c(0x285)]),_0x1a1eaf[_0x40869c(0x266)]&&s(_0x278410,_0x40869c(0x1de),_0x1a1eaf[_0x40869c(0x266)]),_0x1a1eaf[_0x40869c(0x275)]&&s(_0x278410,_0x40869c(0x275),_0x1a1eaf[_0x40869c(0x275)]);const _0xec12a5={'unitId':_0x51f604,'chartModelId':_0x5e8c18};let _0x4875ef=!0x1;if(_0xd97785!==void 0x0&&(_0xec12a5['chartType']=_0xd97785,_0x4875ef=!0x0),Object[_0x40869c(0x1fa)](_0x278410)[_0x40869c(0x1f1)]>0x0&&(_0xec12a5['style']=_0x278410,_0x4875ef=!0x0),Object[_0x40869c(0x1fa)](_0x5d927e)['length']>0x0&&(_0xec12a5[_0x40869c(0x1cc)]=_0x5d927e,_0x4875ef=!0x0),_0x4875ef)return _0xec12a5;};class c extends _0x3a1191{constructor(_0x14494d,_0x338147,_0x38612a,_0x25da27,_0x15ea60){const _0x2a6df1=_0xf5fd6d;super(),n(this,'_workbook'),n(this,_0x2a6df1(0x1f6)),n(this,_0x2a6df1(0x1ee)),n(this,_0x2a6df1(0x237)),n(this,_0x2a6df1(0x232)),n(this,_0x2a6df1(0x255)),n(this,_0x2a6df1(0x246)),n(this,'x'),n(this,'y'),n(this,_0x2a6df1(0x223)),n(this,_0x2a6df1(0x1d4)),n(this,'chartType'),n(this,_0x2a6df1(0x249)),n(this,'transposeRowsAndColumns'),(this[_0x2a6df1(0x1ee)]=_0x14494d,this['subUnitId']=_0x338147,this[_0x2a6df1(0x210)]=_0x38612a,this[_0x2a6df1(0x1f6)]=_0x25da27,_0x15ea60&&(this[_0x2a6df1(0x232)]=_0x15ea60));}[_0xf5fd6d(0x1d5)](){const _0x81d6cc=_0xf5fd6d;return this[_0x81d6cc(0x20b)];}[_0xf5fd6d(0x25c)](_0x16b126){const _0x2f142f=_0xf5fd6d;if(typeof _0x16b126==_0x2f142f(0x1e1)){const _0xa4c2f2=_0x245dd8(_0x16b126);_0xa4c2f2[_0x2f142f(0x1e2)]&&(this['sourceSheetName']=_0xa4c2f2[_0x2f142f(0x1e2)]),this['range']=_0xa4c2f2['range'];}else this[_0x2f142f(0x255)]=_0x16b126;return this;}[_0xf5fd6d(0x214)](){const _0x543c9f=_0xf5fd6d;return this['range']=void 0x0,this[_0x543c9f(0x246)]=void 0x0,this;}['setPosition'](_0x3685e,_0x2fa249,_0x4b5ad8,_0x4b8b15){const _0x1f1cba=_0xf5fd6d,_0x38d381=this[_0x1f1cba(0x1f6)][_0x1f1cba(0x242)](_0x164066)[_0x1f1cba(0x215)](this[_0x1f1cba(0x1ee)]);if(!_0x38d381)throw new Error(_0x1f1cba(0x27d));const _0x1a0fd4=_0x38d381['with'](_0x4ea2f5),_0x1fbe7c=_0x38d381[_0x1f1cba(0x258)](_0x582681),{transform:_0x579c86}=_0x59b961(this[_0x1f1cba(0x1ee)],this[_0x1f1cba(0x237)],{'row':_0x3685e,'column':_0x2fa249,'rowOffset':_0x4b5ad8,'columnOffset':_0x4b8b15},0x1,0x1,_0x1a0fd4,_0x1fbe7c),_0x2af454=_0x579c86[_0x1f1cba(0x21a)],_0x101563=_0x579c86[_0x1f1cba(0x225)];return this['x']=_0x101563,this['y']=_0x2af454,this;}[_0xf5fd6d(0x1ce)](_0x2efc3e,_0x486f45){return this['x']=_0x2efc3e,this['y']=_0x486f45,this;}[_0xf5fd6d(0x240)](_0x2529e7){const _0x5beb52=_0xf5fd6d;return this[_0x5beb52(0x20b)]=_0x2529e7,this;}[_0xf5fd6d(0x208)](_0x3e9e93){const _0x30ece6=_0xf5fd6d;return this[_0x30ece6(0x223)]=_0x3e9e93,this;}[_0xf5fd6d(0x24f)](_0x59314c){const _0x48fdcd=_0xf5fd6d;return this[_0x48fdcd(0x1d4)]=_0x59314c,this;}[_0xf5fd6d(0x248)](_0x51f348,_0x4f5ec9){const _0x466e4c=_0xf5fd6d;return this[_0x466e4c(0x249)]||(this['options']={}),_0x51f348===''?(this[_0x466e4c(0x249)]={...this['options'],..._0x4f5ec9},this):(_0xb3f250(this[_0x466e4c(0x249)],_0x51f348,_0x4f5ec9),this);}['setTransposeRowsAndColumns'](_0x33b17a){const _0x586c2a=_0xf5fd6d;return this[_0x586c2a(0x284)]=_0x33b17a,this;}[_0xf5fd6d(0x23e)](_0x14837b){const _0x4472d2=_0xf5fd6d;return this[_0x4472d2(0x248)](_0x4472d2(0x245),_0x14837b),this;}[_0xf5fd6d(0x23b)](_0x355f1a){const _0x194941=_0xf5fd6d;var _0x21798e;const _0x545cfc=((_0x21798e=this[_0x194941(0x249)])==null?void 0x0:_0x21798e[_0x194941(0x286)])||{};return _0x545cfc[_0x194941(0x283)]=_0x355f1a,this['setOptions'](_0x194941(0x286),_0x545cfc),this;}[_0xf5fd6d(0x1f7)](_0x100ada){const _0x169c01=_0xf5fd6d;var _0x2b4e9f;const _0xe784e9=((_0x2b4e9f=this['options'])==null?void 0x0:_0x2b4e9f[_0x169c01(0x25f)])||{};return _0xe784e9[_0x169c01(0x283)]=_0x100ada,this[_0x169c01(0x248)](_0x169c01(0x25f),_0xe784e9),this;}[_0xf5fd6d(0x25d)](_0x5546bd){const _0x2f0bad=_0xf5fd6d;var _0x57e671;const _0x5c28d0=((_0x57e671=this[_0x2f0bad(0x249)])==null?void 0x0:_0x57e671[_0x2f0bad(0x207)])||{};return _0x5c28d0['content']=_0x5546bd,this[_0x2f0bad(0x248)](_0x2f0bad(0x207),_0x5c28d0),this;}[_0xf5fd6d(0x229)](_0x107764){const _0x4745bb=_0xf5fd6d;var _0x12f624;const _0x5f436d=((_0x12f624=this[_0x4745bb(0x249)])==null?void 0x0:_0x12f624[_0x4745bb(0x286)])||{};return this[_0x4745bb(0x248)](_0x4745bb(0x286),{..._0x5f436d,..._0x107764}),this;}['setYAxisTextStyle'](_0x2138f7){const _0x2bd8c1=_0xf5fd6d;var _0x230109;const _0x20c4ba=((_0x230109=this[_0x2bd8c1(0x249)])==null?void 0x0:_0x230109[_0x2bd8c1(0x25f)])||{};return this[_0x2bd8c1(0x248)](_0x2bd8c1(0x25f),{..._0x20c4ba,..._0x2138f7}),this;}['setRightYAxisTextStyle'](_0x4b0398){const _0x387251=_0xf5fd6d;var _0x3b56f0;const _0x21d27e=((_0x3b56f0=this[_0x387251(0x249)])==null?void 0x0:_0x3b56f0[_0x387251(0x207)])||{};return this[_0x387251(0x248)]('rightYAxisTitle',{..._0x21d27e,..._0x4b0398}),this;}[_0xf5fd6d(0x20d)](_0x5e2b23){const _0x2319e6=_0xf5fd6d;return this[_0x2319e6(0x248)](_0x2319e6(0x1f5),_0x5e2b23),this;}[_0xf5fd6d(0x228)](_0x155ff4){const _0x4638cd=_0xf5fd6d;return this[_0x4638cd(0x248)](_0x4638cd(0x1f0),_0x155ff4),this;}['setAllSeriesStyle'](_0x2a9acc){const _0x1df589=_0xf5fd6d;return this[_0x1df589(0x248)](_0x1df589(0x22f),_0x2a9acc),this;}[_0xf5fd6d(0x1d9)](_0x2e06f7,_0x53195b){const _0x128c02=_0xf5fd6d;return this[_0x128c02(0x248)]('seriesStyleMap',{[_0x2e06f7]:_0x53195b}),this;}[_0xf5fd6d(0x1dd)](){const _0x4c2bc8=_0xf5fd6d;return{'unitId':this[_0x4c2bc8(0x1ee)],'subUnitId':this[_0x4c2bc8(0x237)],'chartId':this[_0x4c2bc8(0x232)],'range':this[_0x4c2bc8(0x255)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x4c2bc8(0x223)],'height':this[_0x4c2bc8(0x1d4)],'chartType':this[_0x4c2bc8(0x20b)],'options':this[_0x4c2bc8(0x249)],'isRowDirection':this[_0x4c2bc8(0x284)]};}}class P{constructor(_0x57f388,_0x5c6834,_0x3dae42,_0xc442ff){const _0xe4c95b=_0xf5fd6d;n(this,'unitId'),n(this,_0xe4c95b(0x237)),n(this,'chartId'),n(this,_0xe4c95b(0x1f6)),(this[_0xe4c95b(0x1ee)]=_0x57f388,this[_0xe4c95b(0x237)]=_0x5c6834,this[_0xe4c95b(0x232)]=_0x3dae42,this[_0xe4c95b(0x1f6)]=_0xc442ff);}[_0xf5fd6d(0x276)](){const _0x3994b1=_0xf5fd6d;return this[_0x3994b1(0x232)];}[_0xf5fd6d(0x1d8)](){const _0x1594a7=_0xf5fd6d,_0x4bd914=this[_0x1594a7(0x1f6)]['get'](_0x23183a)[_0x1594a7(0x222)](this[_0x1594a7(0x232)]);if(_0x4bd914)return _0x4bd914[_0x1594a7(0x236)][_0x1594a7(0x262)]();}[_0xf5fd6d(0x271)](_0x27cf7a){const _0x2449ba=_0xf5fd6d;return this[_0x2449ba(0x1f6)]['get'](_0x8b64f2)['executeCommand'](_0x3c551['id'],{'unitId':this[_0x2449ba(0x1ee)],'chartModelId':this['chartId'],'range':_0x27cf7a});}[_0xf5fd6d(0x1cf)](){const _0x3966e2=_0xf5fd6d;var _0x4fe093;const _0x4b77fc=this[_0x3966e2(0x1f6)][_0x3966e2(0x242)](_0x23183a)[_0x3966e2(0x222)](this[_0x3966e2(0x232)]);if(_0x4b77fc)return(_0x4fe093=_0x4b77fc[_0x3966e2(0x205)])==null?void 0x0:_0x4fe093[_0x3966e2(0x277)];}[_0xf5fd6d(0x251)](){const _0x1f7712=_0xf5fd6d;var _0x1df68f;const _0x28955=this[_0x1f7712(0x1f6)][_0x1f7712(0x242)](_0x23183a)['getChartModel'](this[_0x1f7712(0x232)]);if(_0x28955)return(_0x1df68f=_0x28955['config'])==null?void 0x0:_0x1df68f[_0x1f7712(0x1f3)];}[_0xf5fd6d(0x273)](){const _0x5b4c6c=_0xf5fd6d,_0x1c70e5=this[_0x5b4c6c(0x1f6)]['get'](_0x3beaa6)[_0x5b4c6c(0x1d1)](_0x152fb7[_0x5b4c6c(0x25b)]);return new c(this['unitId'],this[_0x5b4c6c(0x237)],_0x1c70e5,this[_0x5b4c6c(0x1f6)],this[_0x5b4c6c(0x232)]);}}function _0x401f(_0x2208f2,_0x5b0aa5){_0x2208f2=_0x2208f2-0x1cb;const _0x412c0f=_0x412c();let _0x401fcd=_0x412c0f[_0x2208f2];return _0x401fcd;}class $ extends _0x20e24f{async['insertChart'](_0x5b2102){const _0x39d522=_0xf5fd6d;var _0x504864,_0x287d39,_0xb51d95;const _0x503c7f=_0x5b2102[_0x39d522(0x1ee)]||this[_0x39d522(0x1e8)]()[_0x39d522(0x206)](),_0x407a40=_0x5b2102[_0x39d522(0x237)]||this[_0x39d522(0x1ec)](),_0x2eff34=_0x5b2102[_0x39d522(0x232)]||_0x965ab4(),_0x456cae=_0x5b2102[_0x39d522(0x20b)],_0x33e616=_0x5b2102[_0x39d522(0x255)],_0x3158fd=_0x5b2102[_0x39d522(0x246)],_0x4536d7={'x':_0x5b2102['x'],'y':_0x5b2102['y']},_0x4711ae=_0x5b2102[_0x39d522(0x223)],_0x562da0=_0x5b2102['height'],_0x26708d=(_0x504864=_0x5b2102[_0x39d522(0x249)])==null?void 0x0:_0x504864[_0x39d522(0x1ef)],_0x166e9a=(_0x287d39=_0x5b2102[_0x39d522(0x249)])==null?void 0x0:_0x287d39['borderColor'],_0x325640=C(_0x503c7f,_0x2eff34,_0x456cae,_0x5b2102[_0x39d522(0x249)]),_0x1b7dff=(_0xb51d95=_0x5b2102[_0x39d522(0x1d6)])!=null?_0xb51d95:!0x0;if(!_0x33e616)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x39d522(0x1e3)]['executeCommand'](_0x5d2a0b['id'],{'unitId':_0x503c7f,'subUnitId':_0x407a40,'chartId':_0x2eff34,'chartType':_0x456cae,'range':_0x33e616,'sourceSheetName':_0x3158fd,'position':_0x4536d7,'width':_0x4711ae,'height':_0x562da0,'backgroundColor':_0x26708d,'borderColor':_0x166e9a,'config':_0x325640,'isRowDirection':_0x1b7dff}),new P(_0x503c7f,_0x407a40,_0x2eff34,this[_0x39d522(0x1f6)]);}[_0xf5fd6d(0x22c)](_0x511996){const _0x35e6d1=_0xf5fd6d,{unitId:_0x8c5a77,chartId:_0x154228,chartType:_0x2c1f77,options:_0x430b80}=_0x511996,_0x1f777a=C(_0x8c5a77,_0x154228,_0x2c1f77,_0x430b80);this[_0x35e6d1(0x1e3)][_0x35e6d1(0x247)](_0xccbadb['id'],_0x1f777a);}[_0xf5fd6d(0x279)](_0x30320d){const _0x128d08=_0xf5fd6d;if(_0x30320d)return new c(_0x30320d[_0x128d08(0x1ee)],_0x30320d[_0x128d08(0x237)],this[_0x128d08(0x210)],this['_injector'],_0x30320d[_0x128d08(0x232)]);const _0x46c9b7=this['getWorkbook']()[_0x128d08(0x206)](),_0x13e545=this[_0x128d08(0x1ec)]();return new c(_0x46c9b7,_0x13e545,this[_0x128d08(0x210)],this['_injector']);}['getCharts'](){const _0x217206=_0xf5fd6d,_0x909751=this[_0x217206(0x1f6)]['get'](_0x23183a),_0x357fa2=this[_0x217206(0x1e8)]()[_0x217206(0x206)]();return _0x909751[_0x217206(0x26c)](_0x357fa2,this[_0x217206(0x1ec)]())['map'](_0x213a4b=>new P(_0x357fa2,this[_0x217206(0x1ec)](),_0x213a4b['id'],this[_0x217206(0x1f6)]));}[_0xf5fd6d(0x281)](_0x41b8e2){const _0x2f6665=_0xf5fd6d,_0x67510d=_0x41b8e2[_0x2f6665(0x1ee)],_0xdb3f32=_0x41b8e2[_0x2f6665(0x237)],_0x2b0645=_0x41b8e2[_0x2f6665(0x232)],_0x400746={'unitId':_0x67510d,'drawings':[{'unitId':_0x67510d,'subUnitId':_0xdb3f32,'drawingId':_0x2b0645,'drawingType':_0x42471f[_0x2f6665(0x202)]}]};return this['_commandService'][_0x2f6665(0x247)](_0xe7cc4a['id'],_0x400746);}[_0xf5fd6d(0x268)](_0x7b9a1a,_0x39c936){const _0x5d8a0=_0xf5fd6d;this[_0x5d8a0(0x1f6)][_0x5d8a0(0x242)](_0x1bd974)['registerTheme'](_0x7b9a1a,_0x39c936);}}_0x20e24f['extend']($);class tt extends _0x2e5550{get[_0xf5fd6d(0x21f)](){return _0x22dcf3;}get['LegendPositionEnum'](){return _0x289eb8;}get[_0xf5fd6d(0x235)](){return _0x109fce;}get[_0xf5fd6d(0x24b)](){return _0x42bc42;}get[_0xf5fd6d(0x264)](){return _0x5d89de;}get[_0xf5fd6d(0x227)](){return _0x37f1d7;}get[_0xf5fd6d(0x265)](){return _0x348a67;}get[_0xf5fd6d(0x22a)](){return _0x1e4a16;}}_0x2e5550['extend'](tt);class et extends c{constructor(_0x13f7cb,_0x529836,_0x12e11f,_0x266e0d,_0x74fbd7){const _0x433d39=_0xf5fd6d;super(_0x13f7cb,_0x529836,_0x12e11f,_0x266e0d,_0x74fbd7),n(this,_0x433d39(0x21d)),n(this,_0x433d39(0x25a)),n(this,_0x433d39(0x27a)),n(this,_0x433d39(0x22b));}[_0xf5fd6d(0x239)](_0x5b186f){const _0x41e450=_0xf5fd6d;return this[_0x41e450(0x21d)]=_0x5b186f,this;}[_0xf5fd6d(0x254)](_0x3165f5){return this['dataPointShape']=_0x3165f5,this;}[_0xf5fd6d(0x26a)](_0x43daf0){const _0x5452ea=_0xf5fd6d;return this[_0x5452ea(0x27a)]=_0x43daf0,this;}[_0xf5fd6d(0x1fc)](_0x499078){const _0x3ea6bf=_0xf5fd6d;return this[_0x3ea6bf(0x22b)]=_0x499078,this;}[_0xf5fd6d(0x1dd)](){const _0x210ab3=_0xf5fd6d,_0x37d643=super['build']();_0x37d643[_0x210ab3(0x20b)]=_0x22dcf3[_0x210ab3(0x27f)];const _0x41bcd2=_0x37d643[_0x210ab3(0x249)]||{};return s(_0x41bcd2,_0x210ab3(0x1e6),this[_0x210ab3(0x21d)]),s(_0x41bcd2,_0x210ab3(0x26f),this[_0x210ab3(0x25a)]),s(_0x41bcd2,'allSeriesStyle.point.color',this[_0x210ab3(0x27a)]),s(_0x41bcd2,_0x210ab3(0x243),this[_0x210ab3(0x22b)]),_0x37d643[_0x210ab3(0x249)]=_0x41bcd2,_0x37d643;}}class it extends c{['asLineChart'](){const _0xaa5c02=_0xf5fd6d;return new et(this[_0xaa5c02(0x1ee)],this[_0xaa5c02(0x237)],this[_0xaa5c02(0x210)],this[_0xaa5c02(0x1f6)],this[_0xaa5c02(0x232)]);}}c['extend'](it);class st extends c{constructor(_0x131d23,_0x351b0d,_0x542027,_0x44ddc7,_0x5430a6){const _0x2b5979=_0xf5fd6d;super(_0x131d23,_0x351b0d,_0x542027,_0x44ddc7,_0x5430a6),n(this,_0x2b5979(0x1fb)),n(this,'borderColor'),n(this,'hasPaddingAngle'),n(this,'isHalfPie'),n(this,_0x2b5979(0x260)),n(this,_0x2b5979(0x217));}[_0xf5fd6d(0x1fd)](_0xbcfd34){const _0x350744=_0xf5fd6d;return this[_0x350744(0x1fb)]=_0xbcfd34,this;}[_0xf5fd6d(0x263)](_0x41129c){const _0x46960d=_0xf5fd6d;return this[_0x46960d(0x22e)]=_0x41129c,this;}[_0xf5fd6d(0x24c)](_0x5a308d){const _0x4a6016=_0xf5fd6d;return this[_0x4a6016(0x220)]=_0x5a308d,this;}[_0xf5fd6d(0x21e)](_0x4e93e0){const _0xe52b4e=_0xf5fd6d;return this[_0xe52b4e(0x1dc)]=_0x4e93e0,this;}[_0xf5fd6d(0x241)](_0x4ab268){const _0x2b62bc=_0xf5fd6d;return this[_0x2b62bc(0x260)]=_0x4ab268,this;}[_0xf5fd6d(0x234)](_0x1954c3){const _0x578e6e=_0xf5fd6d;return this[_0x578e6e(0x217)]=_0x1954c3,this;}['build'](){const _0x27107a=_0xf5fd6d,_0x121fa0=super[_0x27107a(0x1dd)]();_0x121fa0['chartType']=_0x22dcf3[_0x27107a(0x24a)];const _0x115da9=_0x121fa0[_0x27107a(0x249)]||{};return s(_0x115da9,'pie.doughnutHole',this['doughnutHole']),s(_0x115da9,_0x27107a(0x1f9),this[_0x27107a(0x22e)]),s(_0x115da9,_0x27107a(0x1e7),this[_0x27107a(0x220)]),s(_0x115da9,_0x27107a(0x212),this['isHalfPie']),s(_0x115da9,_0x27107a(0x23c),this[_0x27107a(0x260)]),s(_0x115da9,_0x27107a(0x1db),this[_0x27107a(0x217)]),_0x121fa0['options']=_0x115da9,_0x121fa0;}}class rt extends c{[_0xf5fd6d(0x25e)](){const _0x5d1038=_0xf5fd6d;return new st(this[_0x5d1038(0x1ee)],this[_0x5d1038(0x237)],this[_0x5d1038(0x210)],this[_0x5d1038(0x1f6)],this[_0x5d1038(0x232)]);}}c[_0xf5fd6d(0x1e9)](rt);class ot extends c{constructor(_0x3ba4cc,_0x4eaffb,_0x259715,_0x371d28,_0x4f5d53){const _0x23febc=_0xf5fd6d;super(_0x3ba4cc,_0x4eaffb,_0x259715,_0x371d28,_0x4f5d53),n(this,_0x23febc(0x1cd)),n(this,_0x23febc(0x1d3));}['setShape'](_0x27de79){const _0xd7a458=_0xf5fd6d;return this[_0xd7a458(0x1cd)]=_0x27de79,this;}[_0xf5fd6d(0x1eb)](_0x241483){const _0x570c98=_0xf5fd6d;return this[_0x570c98(0x1d3)]=_0x241483,this;}[_0xf5fd6d(0x1dd)](){const _0x48e372=_0xf5fd6d,_0x1f50df=super[_0x48e372(0x1dd)]();_0x1f50df[_0x48e372(0x20b)]=_0x22dcf3[_0x48e372(0x27e)];const _0x41c621=_0x1f50df[_0x48e372(0x249)]||{};return s(_0x41c621,_0x48e372(0x270),this[_0x48e372(0x1cd)]),s(_0x41c621,'radar.fill',this[_0x48e372(0x1d3)]),_0x1f50df[_0x48e372(0x249)]=_0x41c621,_0x1f50df;}}class nt extends c{[_0xf5fd6d(0x1d0)](){const _0x3ad866=_0xf5fd6d;return new ot(this[_0x3ad866(0x1ee)],this[_0x3ad866(0x237)],this[_0x3ad866(0x210)],this[_0x3ad866(0x1f6)],this[_0x3ad866(0x232)]);}}c[_0xf5fd6d(0x1e9)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|
|
1
|
+
const _0x419911=_0x5a2c;(function(_0x4246dd,_0x42ced9){const _0x56c024=_0x5a2c,_0x241ff3=_0x4246dd();while(!![]){try{const _0x139b77=parseInt(_0x56c024(0x1d3))/0x1*(parseInt(_0x56c024(0x1c1))/0x2)+parseInt(_0x56c024(0x1f4))/0x3+-parseInt(_0x56c024(0x210))/0x4*(-parseInt(_0x56c024(0x179))/0x5)+-parseInt(_0x56c024(0x1e3))/0x6+-parseInt(_0x56c024(0x1e4))/0x7*(parseInt(_0x56c024(0x1de))/0x8)+parseInt(_0x56c024(0x1e7))/0x9+-parseInt(_0x56c024(0x196))/0xa;if(_0x139b77===_0x42ced9)break;else _0x241ff3['push'](_0x241ff3['shift']());}catch(_0x4d9ffb){_0x241ff3['push'](_0x241ff3['shift']());}}}(_0x152a,0x6c5b2));var R=Object[_0x419911(0x1f6)],k=(_0x554dae,_0x36be07,_0x1aa744)=>_0x36be07 in _0x554dae?R(_0x554dae,_0x36be07,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aa744}):_0x554dae[_0x36be07]=_0x1aa744,n=(_0x1745df,_0x37d6b6,_0x58d13c)=>k(_0x1745df,typeof _0x37d6b6!=_0x419911(0x182)?_0x37d6b6+'':_0x37d6b6,_0x58d13c);import{ChartThemeService as _0x26ce89,ChartTypeBits as _0x3ed09e,LegendPositionEnum as _0x3daf84,SelectModeEnum as _0xf30ab2,AxisAlignEnum as _0x1249aa,ChartBorderDashType as _0x160748,LinePointShape as _0x29b7cd,TitlePositionEnum as _0x555f1a,RadarShape as _0x2a095d}from'@univerjs-pro/engine-chart';import{setProperty as _0x1beb8b,SheetsChartService as _0x2a9304,ChartUpdateSourceCommand as _0x567c83,ChartUpdateConfigCommand as _0x28717b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x42c39e}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x49edee,IUniverInstanceService as _0x16d66c,UniverInstanceType as _0x571be9,generateRandomId as _0x43cfe3,DrawingTypeEnum as _0x3e1407}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x5a6d06}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2fe7a9}from'@univerjs/sheets/facade';import{FBase as _0x2fc0e4,FEnum as _0x2886ff}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x2e7ccf}from'@univerjs/engine-formula';import{IRenderManagerService as _0x2e07e3}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x30bdde,SheetSkeletonManagerService as _0x3dbe74,convertPositionCellToSheetOverGrid as _0x4565d7}from'@univerjs/sheets-ui';const s=(_0x1e1425,_0x211064,_0x303b57)=>{_0x303b57!==void 0x0&&_0x1beb8b(_0x1e1425,_0x211064,_0x303b57);},C=(_0x1d256f,_0x403b47,_0x2a3d88,_0x53a68f={})=>{const _0x1d11b8=_0x419911,_0x4a6776={},_0xc5f51b={};if(_0x53a68f['title']){const _0x5bd049=_0x53a68f[_0x1d11b8(0x1b3)];s(_0x4a6776,_0x1d11b8(0x219),_0x5bd049[_0x1d11b8(0x1bd)]),s(_0x4a6776,'titles.title.font',_0x5bd049[_0x1d11b8(0x1ca)]),s(_0x4a6776,_0x1d11b8(0x206),_0x5bd049['fontSize']),s(_0x4a6776,_0x1d11b8(0x198),_0x5bd049[_0x1d11b8(0x1ee)]),s(_0x4a6776,_0x1d11b8(0x213),_0x5bd049['fontStyle']),s(_0x4a6776,'titles.title.bold',_0x5bd049[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1be),_0x5bd049[_0x1d11b8(0x177)]),s(_0x4a6776,_0x1d11b8(0x1e9),_0x5bd049[_0x1d11b8(0x19e)]);}if(_0x53a68f['legend']){const _0x12f4d6=_0x53a68f['legend'];s(_0x4a6776,'legend.position',_0x12f4d6[_0x1d11b8(0x19e)]),s(_0x4a6776,_0x1d11b8(0x1d5),_0x12f4d6['selectMode']),s(_0x4a6776,'legend.label.fontSize',_0x12f4d6[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x21a),_0x12f4d6[_0x1d11b8(0x18e)]),s(_0x4a6776,_0x1d11b8(0x181),_0x12f4d6[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1a9),_0x12f4d6[_0x1d11b8(0x21f)]);}if(_0x53a68f[_0x1d11b8(0x189)]){const _0x2a147d=_0x53a68f[_0x1d11b8(0x189)];s(_0x4a6776,_0x1d11b8(0x1f8),_0x2a147d[_0x1d11b8(0x1b7)]),s(_0x4a6776,_0x1d11b8(0x1fb),_0x2a147d[_0x1d11b8(0x1f2)]),s(_0x4a6776,_0x1d11b8(0x17e),_0x2a147d[_0x1d11b8(0x176)]),s(_0x4a6776,'pie.isHalfPie',_0x2a147d[_0x1d11b8(0x218)]),s(_0x4a6776,_0x1d11b8(0x212),_0x2a147d[_0x1d11b8(0x1a7)]),s(_0x4a6776,_0x1d11b8(0x1d1),_0x2a147d[_0x1d11b8(0x17d)]);}if(_0x53a68f[_0x1d11b8(0x1eb)]){const _0x59395a=_0x53a68f[_0x1d11b8(0x1eb)];s(_0x4a6776,_0x1d11b8(0x1ad),_0x59395a[_0x1d11b8(0x19c)]),s(_0x4a6776,'tooltip.indicatorLineType',_0x59395a[_0x1d11b8(0x197)]),s(_0x4a6776,_0x1d11b8(0x1ab),_0x59395a[_0x1d11b8(0x224)]),s(_0x4a6776,_0x1d11b8(0x195),_0x59395a[_0x1d11b8(0x1d0)]);}if(_0x53a68f[_0x1d11b8(0x18b)]&&(s(_0x4a6776,_0x1d11b8(0x1b6),_0x53a68f[_0x1d11b8(0x18b)]['border']),s(_0x4a6776,_0x1d11b8(0x173),_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x1ef)]),s(_0x4a6776,'allSeriesStyle.rightYAxis',_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x205)]),s(_0x4a6776,_0x1d11b8(0x1b2),_0x53a68f[_0x1d11b8(0x18b)]['point']),s(_0x4a6776,_0x1d11b8(0x1f0),_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x18e)])),_0x53a68f[_0x1d11b8(0x18c)]&&s(_0x4a6776,_0x1d11b8(0x1dd),_0x53a68f[_0x1d11b8(0x18c)]['lineStyle']),_0x53a68f[_0x1d11b8(0x17f)]&&s(_0x4a6776,_0x1d11b8(0x17f),_0x53a68f[_0x1d11b8(0x17f)]),_0x53a68f['backgroundColor']&&s(_0x4a6776,'backgroundColor',_0x53a68f[_0x1d11b8(0x1f7)]),_0x53a68f[_0x1d11b8(0x1f2)]&&s(_0x4a6776,_0x1d11b8(0x1f2),_0x53a68f[_0x1d11b8(0x1f2)]),_0x53a68f[_0x1d11b8(0x1fe)]&&s(_0x4a6776,_0x1d11b8(0x1fe),_0x53a68f[_0x1d11b8(0x1fe)]),_0x53a68f[_0x1d11b8(0x209)]&&s(_0x4a6776,'invalidValueType',_0x53a68f[_0x1d11b8(0x209)]),_0x53a68f[_0x1d11b8(0x1ea)]&&s(_0x4a6776,_0x1d11b8(0x1ea),_0x53a68f[_0x1d11b8(0x1ea)]),_0x53a68f[_0x1d11b8(0x1c6)]){const _0x523b95=_0x53a68f[_0x1d11b8(0x1c6)];s(_0x4a6776,'titles.xAxisTitle.content',_0x523b95[_0x1d11b8(0x1bd)]),s(_0x4a6776,_0x1d11b8(0x20d),_0x523b95['font']),s(_0x4a6776,_0x1d11b8(0x1cb),_0x523b95[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x1a8),_0x523b95['fontColor']),s(_0x4a6776,_0x1d11b8(0x220),_0x523b95[_0x1d11b8(0x1f5)]),s(_0x4a6776,_0x1d11b8(0x1dc),_0x523b95[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x18f),_0x523b95[_0x1d11b8(0x1ed)]);}if(_0x53a68f[_0x1d11b8(0x1fa)]){const _0x537cdf=_0x53a68f['yAxisTitle'];s(_0x4a6776,'titles.yAxisTitle.content',_0x537cdf['content']),s(_0x4a6776,_0x1d11b8(0x17c),_0x537cdf['font']),s(_0x4a6776,_0x1d11b8(0x1fc),_0x537cdf[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x1e8),_0x537cdf[_0x1d11b8(0x1ee)]),s(_0x4a6776,'titles.yAxisTitle.family',_0x537cdf['fontStyle']),s(_0x4a6776,'titles.yAxisTitle.bold',_0x537cdf[_0x1d11b8(0x202)]),s(_0x4a6776,'yAxis.label.axisTitleAlign',_0x537cdf[_0x1d11b8(0x1ed)]);}if(_0x53a68f[_0x1d11b8(0x1e0)]){const _0x29231c=_0x53a68f['rightYAxisTitle'];s(_0x4a6776,_0x1d11b8(0x225),_0x29231c[_0x1d11b8(0x1bd)]),s(_0x4a6776,_0x1d11b8(0x19b),_0x29231c[_0x1d11b8(0x1ca)]),s(_0x4a6776,'titles.rightYAxisTitle.fontSize',_0x29231c[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x214),_0x29231c[_0x1d11b8(0x1ee)]),s(_0x4a6776,'titles.rightYAxisTitle.family',_0x29231c[_0x1d11b8(0x1f5)]),s(_0x4a6776,_0x1d11b8(0x1ac),_0x29231c[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1b0),_0x29231c[_0x1d11b8(0x1ed)]);}_0x53a68f[_0x1d11b8(0x1d9)]&&s(_0x4a6776,_0x1d11b8(0x1d9),_0x53a68f[_0x1d11b8(0x1d9)]),_0x53a68f[_0x1d11b8(0x178)]&&s(_0x4a6776,_0x1d11b8(0x178),_0x53a68f[_0x1d11b8(0x178)]),_0x53a68f[_0x1d11b8(0x184)]&&s(_0x4a6776,_0x1d11b8(0x205),_0x53a68f[_0x1d11b8(0x184)]),_0x53a68f[_0x1d11b8(0x1cf)]&&s(_0x4a6776,_0x1d11b8(0x1cf),_0x53a68f[_0x1d11b8(0x1cf)]);const _0xb904cc={'unitId':_0x1d256f,'chartModelId':_0x403b47};let _0x1f0372=!0x1;if(_0x2a3d88!==void 0x0&&(_0xb904cc[_0x1d11b8(0x1ec)]=_0x2a3d88,_0x1f0372=!0x0),Object[_0x1d11b8(0x1b8)](_0x4a6776)['length']>0x0&&(_0xb904cc['style']=_0x4a6776,_0x1f0372=!0x0),Object[_0x1d11b8(0x1b8)](_0xc5f51b)[_0x1d11b8(0x186)]>0x0&&(_0xb904cc['context']=_0xc5f51b,_0x1f0372=!0x0),_0x1f0372)return _0xb904cc;};class c extends _0x2fc0e4{constructor(_0x32e105,_0x5a6ad0,_0x5eae6e,_0x5b8eed,_0x39732c){const _0x44d46c=_0x419911;super(),n(this,_0x44d46c(0x1a6)),n(this,_0x44d46c(0x217)),n(this,_0x44d46c(0x221)),n(this,_0x44d46c(0x1b5)),n(this,'chartId'),n(this,_0x44d46c(0x1a0)),n(this,_0x44d46c(0x1df)),n(this,'x'),n(this,'y'),n(this,_0x44d46c(0x191)),n(this,_0x44d46c(0x21b)),n(this,_0x44d46c(0x1ec)),n(this,'options'),n(this,_0x44d46c(0x201)),(this[_0x44d46c(0x221)]=_0x32e105,this[_0x44d46c(0x1b5)]=_0x5a6ad0,this[_0x44d46c(0x1a6)]=_0x5eae6e,this['_injector']=_0x5b8eed,_0x39732c&&(this['chartId']=_0x39732c));}[_0x419911(0x208)](){const _0x5d8785=_0x419911;return this[_0x5d8785(0x1ec)];}[_0x419911(0x226)](_0x22bec6){const _0x54830f=_0x419911;if(typeof _0x22bec6==_0x54830f(0x17a)){const _0x239b9b=_0x2e7ccf(_0x22bec6);_0x239b9b[_0x54830f(0x1d2)]&&(this[_0x54830f(0x1df)]=_0x239b9b[_0x54830f(0x1d2)]),this['range']=_0x239b9b[_0x54830f(0x1a0)];}else this[_0x54830f(0x1a0)]=_0x22bec6;return this;}[_0x419911(0x20b)](){const _0x499502=_0x419911;return this[_0x499502(0x1a0)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x419911(0x211)](_0x27d53e,_0x4e1e92,_0x862b08,_0x50f847){const _0x431d84=_0x419911,_0x547c51=this[_0x431d84(0x217)][_0x431d84(0x20f)](_0x2e07e3)[_0x431d84(0x20e)](this['unitId']);if(!_0x547c51)throw new Error(_0x431d84(0x207));const _0x1d91d7=_0x547c51[_0x431d84(0x1af)](_0x30bdde),_0x445df4=_0x547c51[_0x431d84(0x1af)](_0x3dbe74),{transform:_0x51f980}=_0x4565d7(this[_0x431d84(0x221)],this[_0x431d84(0x1b5)],{'row':_0x27d53e,'column':_0x4e1e92,'rowOffset':_0x862b08,'columnOffset':_0x50f847},0x1,0x1,_0x1d91d7,_0x445df4),_0x3d4bf1=_0x51f980[_0x431d84(0x172)],_0x473862=_0x51f980['left'];return this['x']=_0x473862,this['y']=_0x3d4bf1,this;}[_0x419911(0x1aa)](_0x1d71e1,_0x188bfa){return this['x']=_0x1d71e1,this['y']=_0x188bfa,this;}['setChartType'](_0x2eb99b){const _0x1b37c3=_0x419911;return this[_0x1b37c3(0x1ec)]=_0x2eb99b,this;}[_0x419911(0x1a4)](_0x1bd893){const _0x77c818=_0x419911;return this[_0x77c818(0x191)]=_0x1bd893,this;}['setHeight'](_0x2f5c75){const _0x5bd5d6=_0x419911;return this[_0x5bd5d6(0x21b)]=_0x2f5c75,this;}[_0x419911(0x200)](_0xdaaf38,_0x57c242){const _0x322ee9=_0x419911;return this[_0x322ee9(0x1a2)]||(this[_0x322ee9(0x1a2)]={}),_0xdaaf38===''?(this[_0x322ee9(0x1a2)]={...this[_0x322ee9(0x1a2)],..._0x57c242},this):(_0x1beb8b(this[_0x322ee9(0x1a2)],_0xdaaf38,_0x57c242),this);}[_0x419911(0x1c7)](_0x3e6edf){return this['transposeRowsAndColumns']=_0x3e6edf,this;}[_0x419911(0x222)](_0x2d24d2){const _0x1495f2=_0x419911;return this['setOptions'](_0x1495f2(0x17f),_0x2d24d2),this;}[_0x419911(0x21c)](_0x5f8a4){const _0x854570=_0x419911;var _0x48e41d;const _0x792276=((_0x48e41d=this[_0x854570(0x1a2)])==null?void 0x0:_0x48e41d['xAxisTitle'])||{};return _0x792276[_0x854570(0x1bd)]=_0x5f8a4,this[_0x854570(0x200)](_0x854570(0x1c6),_0x792276),this;}['setYAxisTitle'](_0x138a42){const _0x33d91c=_0x419911;var _0x1f4671;const _0x1d6b16=((_0x1f4671=this[_0x33d91c(0x1a2)])==null?void 0x0:_0x1f4671[_0x33d91c(0x1fa)])||{};return _0x1d6b16['content']=_0x138a42,this[_0x33d91c(0x200)](_0x33d91c(0x1fa),_0x1d6b16),this;}['setRightYAxisTitle'](_0x38380a){const _0x5d23ca=_0x419911;var _0x4baa2b;const _0x38ac5e=((_0x4baa2b=this[_0x5d23ca(0x1a2)])==null?void 0x0:_0x4baa2b[_0x5d23ca(0x1e0)])||{};return _0x38ac5e[_0x5d23ca(0x1bd)]=_0x38380a,this['setOptions'](_0x5d23ca(0x1e0),_0x38ac5e),this;}[_0x419911(0x18d)](_0x14b6b4){const _0x29c564=_0x419911;var _0x2cff8a;const _0x5c877b=((_0x2cff8a=this[_0x29c564(0x1a2)])==null?void 0x0:_0x2cff8a[_0x29c564(0x1c6)])||{};return this[_0x29c564(0x200)]('xAxisTitle',{..._0x5c877b,..._0x14b6b4}),this;}[_0x419911(0x216)](_0xe1b61f){const _0x32fc28=_0x419911;var _0x5e54a6;const _0x41a3ed=((_0x5e54a6=this['options'])==null?void 0x0:_0x5e54a6['yAxisTitle'])||{};return this['setOptions'](_0x32fc28(0x1fa),{..._0x41a3ed,..._0xe1b61f}),this;}['setRightYAxisTextStyle'](_0x59fa62){const _0x14ca1b=_0x419911;var _0x921146;const _0x57ea74=((_0x921146=this[_0x14ca1b(0x1a2)])==null?void 0x0:_0x921146['rightYAxisTitle'])||{};return this[_0x14ca1b(0x200)](_0x14ca1b(0x1e0),{..._0x57ea74,..._0x59fa62}),this;}[_0x419911(0x175)](_0x50417d){const _0x2f8e15=_0x419911;return this[_0x2f8e15(0x200)](_0x2f8e15(0x209),_0x50417d),this;}[_0x419911(0x199)](_0x2d8c03){const _0x5f596e=_0x419911;return this['setOptions'](_0x5f596e(0x1eb),_0x2d8c03),this;}[_0x419911(0x1e1)](_0x57cfd8){const _0x5506c0=_0x419911;return this[_0x5506c0(0x200)](_0x5506c0(0x18b),_0x57cfd8),this;}[_0x419911(0x20a)](_0x1c53a3,_0xff6d08){const _0x564498=_0x419911;return this[_0x564498(0x200)](_0x564498(0x1cf),{[_0x1c53a3]:_0xff6d08}),this;}['build'](){const _0xc9a4ea=_0x419911;return{'unitId':this[_0xc9a4ea(0x221)],'subUnitId':this[_0xc9a4ea(0x1b5)],'chartId':this[_0xc9a4ea(0x18a)],'range':this[_0xc9a4ea(0x1a0)],'sourceSheetName':this[_0xc9a4ea(0x1df)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0xc9a4ea(0x21b)],'chartType':this[_0xc9a4ea(0x1ec)],'options':this[_0xc9a4ea(0x1a2)],'isRowDirection':this[_0xc9a4ea(0x201)]};}}class P{constructor(_0x17ac45,_0x2a94b8,_0x548443,_0x51da49){const _0x3d9e76=_0x419911;n(this,_0x3d9e76(0x221)),n(this,_0x3d9e76(0x1b5)),n(this,_0x3d9e76(0x18a)),n(this,'_injector'),(this[_0x3d9e76(0x221)]=_0x17ac45,this[_0x3d9e76(0x1b5)]=_0x2a94b8,this[_0x3d9e76(0x18a)]=_0x548443,this[_0x3d9e76(0x217)]=_0x51da49);}[_0x419911(0x188)](){const _0x48b5e5=_0x419911;return this[_0x48b5e5(0x18a)];}[_0x419911(0x1c3)](){const _0x3d403a=_0x419911,_0x59e869=this['_injector'][_0x3d403a(0x20f)](_0x2a9304)[_0x3d403a(0x1c4)](this[_0x3d403a(0x18a)]);if(_0x59e869)return _0x59e869[_0x3d403a(0x187)][_0x3d403a(0x1b4)]();}[_0x419911(0x1f1)](_0x203949){const _0x9c9b4a=_0x419911;return this[_0x9c9b4a(0x217)][_0x9c9b4a(0x20f)](_0x49edee)[_0x9c9b4a(0x21e)](_0x567c83['id'],{'unitId':this['unitId'],'chartModelId':this[_0x9c9b4a(0x18a)],'range':_0x203949});}[_0x419911(0x192)](){const _0xcc52e9=_0x419911;var _0x2a317a;const _0xf9ecb3=this[_0xcc52e9(0x217)][_0xcc52e9(0x20f)](_0x2a9304)[_0xcc52e9(0x1c4)](this[_0xcc52e9(0x18a)]);if(_0xf9ecb3)return(_0x2a317a=_0xf9ecb3[_0xcc52e9(0x183)])==null?void 0x0:_0x2a317a[_0xcc52e9(0x1da)];}[_0x419911(0x180)](){const _0x343853=_0x419911;var _0x5d9424;const _0x38d476=this[_0x343853(0x217)][_0x343853(0x20f)](_0x2a9304)['getChartModel'](this[_0x343853(0x18a)]);if(_0x38d476)return(_0x5d9424=_0x38d476['config'])==null?void 0x0:_0x5d9424[_0x343853(0x1c9)];}[_0x419911(0x1db)](){const _0xfc250=_0x419911,_0xf9f594=this[_0xfc250(0x217)][_0xfc250(0x20f)](_0x16d66c)[_0xfc250(0x1d6)](_0x571be9['UNIVER_SHEET']);return new c(this[_0xfc250(0x221)],this[_0xfc250(0x1b5)],_0xf9f594,this['_injector'],this[_0xfc250(0x18a)]);}}class $ extends _0x2fe7a9{async[_0x419911(0x1c5)](_0x5ae6cd){const _0x58835c=_0x419911;var _0x409f8f,_0x1b4033,_0xfcef42;const _0x352d5e=_0x5ae6cd['unitId']||this[_0x58835c(0x1e2)]()[_0x58835c(0x1d8)](),_0x20158d=_0x5ae6cd['subUnitId']||this[_0x58835c(0x1fd)](),_0x2e3eb3=_0x5ae6cd[_0x58835c(0x18a)]||_0x43cfe3(),_0x40eaa7=_0x5ae6cd['chartType'],_0x1657bb=_0x5ae6cd[_0x58835c(0x1a0)],_0x297195=_0x5ae6cd['sourceSheetName'],_0x2009e8={'x':_0x5ae6cd['x'],'y':_0x5ae6cd['y']},_0x49525f=_0x5ae6cd[_0x58835c(0x191)],_0x4e1bb3=_0x5ae6cd[_0x58835c(0x21b)],_0x17fd75=(_0x409f8f=_0x5ae6cd[_0x58835c(0x1a2)])==null?void 0x0:_0x409f8f[_0x58835c(0x1f7)],_0x3c5da4=(_0x1b4033=_0x5ae6cd[_0x58835c(0x1a2)])==null?void 0x0:_0x1b4033[_0x58835c(0x1f2)],_0x6f068a=C(_0x352d5e,_0x2e3eb3,_0x40eaa7,_0x5ae6cd['options']),_0x30e265=(_0xfcef42=_0x5ae6cd[_0x58835c(0x1c0)])!=null?_0xfcef42:!0x0;if(!_0x1657bb)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x58835c(0x1f9)][_0x58835c(0x21e)](_0x42c39e['id'],{'unitId':_0x352d5e,'subUnitId':_0x20158d,'chartId':_0x2e3eb3,'chartType':_0x40eaa7,'range':_0x1657bb,'sourceSheetName':_0x297195,'position':_0x2009e8,'width':_0x49525f,'height':_0x4e1bb3,'backgroundColor':_0x17fd75,'borderColor':_0x3c5da4,'config':_0x6f068a,'isRowDirection':_0x30e265}),new P(_0x352d5e,_0x20158d,_0x2e3eb3,this['_injector']);}['updateChart'](_0x2a30be){const _0x50639c=_0x419911,{unitId:_0x58a711,chartId:_0x22127f,chartType:_0x11d39f,options:_0x3416ae}=_0x2a30be,_0x6bcfc6=C(_0x58a711,_0x22127f,_0x11d39f,_0x3416ae);this[_0x50639c(0x1f9)][_0x50639c(0x21e)](_0x28717b['id'],_0x6bcfc6);}['newChart'](_0x2c5e32){const _0xd0ce9b=_0x419911;if(_0x2c5e32)return new c(_0x2c5e32['unitId'],_0x2c5e32['subUnitId'],this[_0xd0ce9b(0x1a6)],this[_0xd0ce9b(0x217)],_0x2c5e32[_0xd0ce9b(0x18a)]);const _0x1a15ac=this['getWorkbook']()[_0xd0ce9b(0x1d8)](),_0x473143=this['getSheetId']();return new c(_0x1a15ac,_0x473143,this['_workbook'],this['_injector']);}['getCharts'](){const _0x4ab725=_0x419911,_0x1401a6=this[_0x4ab725(0x217)][_0x4ab725(0x20f)](_0x2a9304),_0x3d6458=this[_0x4ab725(0x1e2)]()['getUnitId']();return _0x1401a6[_0x4ab725(0x19a)](_0x3d6458,this[_0x4ab725(0x1fd)]())[_0x4ab725(0x1a3)](_0x28db48=>new P(_0x3d6458,this['getSheetId'](),_0x28db48['id'],this['_injector']));}['removeChart'](_0x2038e2){const _0x5d5d15=_0x419911,_0x2cd0ad=_0x2038e2[_0x5d5d15(0x221)],_0x5459db=_0x2038e2['subUnitId'],_0x6cb68=_0x2038e2['chartId'],_0x4a3be9={'unitId':_0x2cd0ad,'drawings':[{'unitId':_0x2cd0ad,'subUnitId':_0x5459db,'drawingId':_0x6cb68,'drawingType':_0x3e1407[_0x5d5d15(0x1e6)]}]};return this[_0x5d5d15(0x1f9)]['executeCommand'](_0x5a6d06['id'],_0x4a3be9);}['registerChartTheme'](_0x5ac8e9,_0xd7b985){const _0x499e96=_0x419911;this[_0x499e96(0x217)]['get'](_0x26ce89)[_0x499e96(0x185)](_0x5ac8e9,_0xd7b985);}}_0x2fe7a9[_0x419911(0x227)]($);class tt extends _0x2886ff{get[_0x419911(0x1e5)](){return _0x3ed09e;}get[_0x419911(0x1d4)](){return _0x3daf84;}get[_0x419911(0x215)](){return _0xf30ab2;}get[_0x419911(0x204)](){return _0x1249aa;}get[_0x419911(0x193)](){return _0x160748;}get[_0x419911(0x1a5)](){return _0x29b7cd;}get[_0x419911(0x1cc)](){return _0x555f1a;}get['RadarShape'](){return _0x2a095d;}}_0x2886ff[_0x419911(0x227)](tt);class et extends c{constructor(_0x47e7b9,_0x14f25e,_0x280405,_0x5ce157,_0x510b09){const _0x1ce6c1=_0x419911;super(_0x47e7b9,_0x14f25e,_0x280405,_0x5ce157,_0x510b09),n(this,'lineStyle'),n(this,_0x1ce6c1(0x1bf)),n(this,'dataPointColor'),n(this,_0x1ce6c1(0x190));}['setLineStyle'](_0x12b2f0){const _0xa98983=_0x419911;return this[_0xa98983(0x21d)]=_0x12b2f0,this;}[_0x419911(0x1b1)](_0x1089d3){const _0x1ed419=_0x419911;return this[_0x1ed419(0x1bf)]=_0x1089d3,this;}[_0x419911(0x1bc)](_0x42a4a6){const _0x55cf40=_0x419911;return this[_0x55cf40(0x1c2)]=_0x42a4a6,this;}[_0x419911(0x1a1)](_0xeaf30a){const _0x4f6714=_0x419911;return this[_0x4f6714(0x190)]=_0xeaf30a,this;}[_0x419911(0x174)](){const _0x2d64fb=_0x419911,_0x12ceae=super[_0x2d64fb(0x174)]();_0x12ceae[_0x2d64fb(0x1ec)]=_0x3ed09e[_0x2d64fb(0x1ce)];const _0x53f34a=_0x12ceae[_0x2d64fb(0x1a2)]||{};return s(_0x53f34a,_0x2d64fb(0x1dd),this[_0x2d64fb(0x21d)]),s(_0x53f34a,_0x2d64fb(0x19d),this[_0x2d64fb(0x1bf)]),s(_0x53f34a,'allSeriesStyle.point.color',this[_0x2d64fb(0x1c2)]),s(_0x53f34a,_0x2d64fb(0x1cd),this[_0x2d64fb(0x190)]),_0x12ceae[_0x2d64fb(0x1a2)]=_0x53f34a,_0x12ceae;}}class it extends c{[_0x419911(0x1bb)](){const _0x5276f3=_0x419911;return new et(this[_0x5276f3(0x221)],this[_0x5276f3(0x1b5)],this[_0x5276f3(0x1a6)],this['_injector'],this[_0x5276f3(0x18a)]);}}function _0x152a(){const _0x2083ba=['setDataPointSize','options','map','setWidth','LinePointShape','_workbook','rosePie','titles.xAxisTitle.color','legend.label.italic','setAbsolutePosition','tooltip.indicatorLineColor','titles.rightYAxisTitle.bold','tooltip.indicatorLabelColor','setRosePie','with','rightYAxis.label.axisTitleAlign','setDataPointShape','allSeriesStyle.point','title','getRangeInfo','subUnitId','allSeriesStyle.border','doughnutHole','keys','setFill','setHasPaddingAngle','asLineChart','setDataPointColor','content','titles.title.align','dataPointShape','isRowDirection','998rYEwqB','dataPointColor','getRange','getChartModel','insertChart','xAxisTitle','setTransposeRowsAndColumns','asPieChart','category','font','titles.xAxisTitle.fontSize','TitlePositionEnum','allSeriesStyle.point.size','Line','seriesStyleMap','indicatorLabelTextColor','pie.showLabelLine','sheetName','509fiyHzR','LegendPositionEnum','legend.selectMode','getCurrentUnitForType','setIsHalfPie','getUnitId','xAxis','series','modify','titles.xAxisTitle.bold','area.lineStyle','49464PXOtyI','sourceSheetName','rightYAxisTitle','setAllSeriesStyle','getWorkbook','1017804KgoMlP','287qHVffZ','ChartType','DRAWING_CHART','942849QCBUSH','titles.yAxisTitle.color','titles.titlePosition','radar','axisPointer','chartType','axisAlignment','fontColor','label','allSeriesStyle.color','updateRange','borderColor','setShowLabelLine','1196685MZoUrn','fontStyle','defineProperty','backgroundColor','pie.doughnutHole','_commandService','yAxisTitle','pie.borderColor','titles.yAxisTitle.fontSize','getSheetId','gradientFill','fill','setOptions','transposeRowsAndColumns','bold','fontSize','AxisAlignEnum','rightYAxis','titles.title.fontSize','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','getChartType','invalidValueType','setSeriesStyle','clearRange','pie.isHalfPie','titles.xAxisTitle.font','getRenderById','get','152MpDlAt','setPosition','pie.rosePie','titles.title.family','titles.rightYAxisTitle.color','SelectModeEnum','setYAxisTextStyle','_injector','isHalfPie','titles.title.content','legend.label.color','height','setXAxisTitle','lineStyle','executeCommand','italic','titles.xAxisTitle.family','unitId','setTheme','Radar','indicatorLineColor','titles.rightYAxisTitle.content','addRange','extend','top','allSeriesStyle.label','build','setInvalidValueStrategy','hasPaddingAngle','titleAlignment','yAxis','103755LigWkp','string','radar.fill','titles.yAxisTitle.font','showLabelLine','pie.hasPaddingAngle','theme','getCategoryData','legend.label.bold','symbol','config','yRightAxis','registerTheme','length','dataSource','getChartId','pie','chartId','allSeriesStyle','area','setXAxisTextStyle','color','xAxis.label.axisTitleAlign','dataPointSize','width','getSeriesData','ChartBorderDashType','setShape','tooltip.indicatorLabelTextColor','6792220dqAfGF','indicatorLineType','titles.title.color','setAxisPointerStyle','getUnitChartModels','titles.rightYAxisTitle.font','indicatorLabelColor','allSeriesStyle.point.shape','position','shape','range'];_0x152a=function(){return _0x2083ba;};return _0x152a();}c[_0x419911(0x227)](it);function _0x5a2c(_0xdee45b,_0x408189){_0xdee45b=_0xdee45b-0x172;const _0x152ae8=_0x152a();let _0x5a2c6f=_0x152ae8[_0xdee45b];return _0x5a2c6f;}class st extends c{constructor(_0x2bbb82,_0x3556a4,_0x33cf69,_0x12755b,_0x5e1c1a){const _0xf4bcc1=_0x419911;super(_0x2bbb82,_0x3556a4,_0x33cf69,_0x12755b,_0x5e1c1a),n(this,_0xf4bcc1(0x1b7)),n(this,_0xf4bcc1(0x1f2)),n(this,_0xf4bcc1(0x176)),n(this,_0xf4bcc1(0x218)),n(this,_0xf4bcc1(0x1a7)),n(this,'showLabelLine');}['setDoughnutHole'](_0xaddbcf){const _0x5ba5a5=_0x419911;return this[_0x5ba5a5(0x1b7)]=_0xaddbcf,this;}['setBorderColor'](_0x34f3c1){const _0xe62976=_0x419911;return this[_0xe62976(0x1f2)]=_0x34f3c1,this;}[_0x419911(0x1ba)](_0xfc89ae){const _0x17eadf=_0x419911;return this[_0x17eadf(0x176)]=_0xfc89ae,this;}[_0x419911(0x1d7)](_0x3acc75){const _0x426c22=_0x419911;return this[_0x426c22(0x218)]=_0x3acc75,this;}[_0x419911(0x1ae)](_0x11ae3a){const _0x253f01=_0x419911;return this[_0x253f01(0x1a7)]=_0x11ae3a,this;}[_0x419911(0x1f3)](_0x1a4b4e){const _0x560724=_0x419911;return this[_0x560724(0x17d)]=_0x1a4b4e,this;}[_0x419911(0x174)](){const _0xcbb2e0=_0x419911,_0x3d2bd=super['build']();_0x3d2bd['chartType']=_0x3ed09e['Pie'];const _0x28e4de=_0x3d2bd[_0xcbb2e0(0x1a2)]||{};return s(_0x28e4de,'pie.doughnutHole',this['doughnutHole']),s(_0x28e4de,_0xcbb2e0(0x1fb),this[_0xcbb2e0(0x1f2)]),s(_0x28e4de,'pie.hasPaddingAngle',this[_0xcbb2e0(0x176)]),s(_0x28e4de,_0xcbb2e0(0x20c),this['isHalfPie']),s(_0x28e4de,'pie.rosePie',this[_0xcbb2e0(0x1a7)]),s(_0x28e4de,'pie.showLabelLine',this[_0xcbb2e0(0x17d)]),_0x3d2bd[_0xcbb2e0(0x1a2)]=_0x28e4de,_0x3d2bd;}}class rt extends c{[_0x419911(0x1c8)](){const _0x3af751=_0x419911;return new st(this[_0x3af751(0x221)],this[_0x3af751(0x1b5)],this[_0x3af751(0x1a6)],this[_0x3af751(0x217)],this[_0x3af751(0x18a)]);}}c['extend'](rt);class ot extends c{constructor(_0x30a26c,_0x3574d7,_0x6522d5,_0x2353e1,_0x32d766){const _0x4bf2e7=_0x419911;super(_0x30a26c,_0x3574d7,_0x6522d5,_0x2353e1,_0x32d766),n(this,_0x4bf2e7(0x19f)),n(this,'fill');}[_0x419911(0x194)](_0x34d5a3){const _0x168861=_0x419911;return this[_0x168861(0x19f)]=_0x34d5a3,this;}[_0x419911(0x1b9)](_0x594827){const _0xe788df=_0x419911;return this[_0xe788df(0x1ff)]=_0x594827,this;}[_0x419911(0x174)](){const _0x3bc6db=_0x419911,_0x1221bb=super[_0x3bc6db(0x174)]();_0x1221bb[_0x3bc6db(0x1ec)]=_0x3ed09e[_0x3bc6db(0x223)];const _0x4c5c8e=_0x1221bb[_0x3bc6db(0x1a2)]||{};return s(_0x4c5c8e,'radar.shape',this[_0x3bc6db(0x19f)]),s(_0x4c5c8e,_0x3bc6db(0x17b),this['fill']),_0x1221bb['options']=_0x4c5c8e,_0x1221bb;}}class nt extends c{['asRadarChart'](){const _0x18a2d4=_0x419911;return new ot(this[_0x18a2d4(0x221)],this['subUnitId'],this[_0x18a2d4(0x1a6)],this[_0x18a2d4(0x217)],this['chartId']);}}c[_0x419911(0x227)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|