@univerjs-pro/sheets-chart-ui 0.15.3-insiders.20260131-b9b8805 → 0.15.3-insiders.20260131-cbd5fac
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/sk-SK.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/sk-SK.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/sk-SK.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/sk-SK.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 +14 -14
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x92e6(_0x22bb8d,_0x3bdaf8){_0x22bb8d=_0x22bb8d-0x1b9;const _0x3a627f=_0x3a62();let _0x92e69f=_0x3a627f[_0x22bb8d];return _0x92e69f;}const _0x20e16e=_0x92e6;function _0x3a62(){const _0x55647c=['顯示R平方','{0}\x20類型','條形圖','累積占比','數據點','日期類型','負數類型','趨勢線','趨勢線類型','正方形','空心圓形','網格線','請先添加系列開始數據可視化','指示標籤','日期格式將日期和時間系列數值顯示為日期值。','水平軸','旋轉標籤','空心針形','氣泡大小','插入圖表','圖表類型','重複詞雲標籤','(空)','軸選項','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','日期軸僅在數據全部為日期格式時可用','圖例選擇模式','左對齊','顯示數據標籤','最小值','堆疊方式','環形圖','指示線類型','第一四分位數','{0}\x20透明度','201003cKhvjd','股票圖','添加系列','正值圖例文本','詞雲圖','漸變填充','刻度線位置','雷達圖','添加趨勢線','中位數','開啟選中淡入特效','組合圖','添加數據點','多項式','4553136CMcTJD','236185wQZjWT','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','更多設置','關係圖','1126035FbiypF','桑基圖不能包含循環數據','用直線連接數據點','熱力圖','顯示小計','刪除圖表','趨勢線粗細','{0}\x20顏色','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','50WbQqzV','16726ohZLad','力導向選項','數據標籤','数值比例','圖表數據源必須包含多於1列和1欄。','空心圓角矩形','視覺映射範圍','數據點樣式','標籤旋轉','第\x20{0}\x20項','顯示標籤','箱型圖','6IvGcQo','格式類型','力導向','累積占比系列','百分比','三角形','打開圖表面板','空心箭頭','指示線顏色','128fqQTai','網格線和刻度線','隱藏圖表面板','百分比堆疊條形圖','多邊形','圖表和軸標題','堆疊條形圖','副標題','面積圖','玫瑰圖','刻度線長度','設置圖表','數據範圍','標籤文本','圖表樣式','顯示軸線','排列圖','背景顏色','右對齊','使用值作為節點大小','主刻度線','R平方','垂直軸','使用右軸','標題對齊','小數位數','使用日期軸','{0}\x20粗細','所有系列','氣泡標籤','扇形間距','趨勢線名稱','百分比堆疊','顯示公式','百分比堆疊面積圖','佈局類型','指示值','標題格式','5552836IqfXCB','自定義圖表','切換列或欄','1579707WHmTZs','主標題','圓角矩形','散點圖','千分位符','正值樣式','数值后缀','56RgCosR','趨勢線線類型','小計圖例文本','右垂直軸','右Y軸標題','圖表邊框顏色','線類型','氣泡圖至少需要2欄,X軸、Y軸。','{0}\x20格式','空心正方形','詞雲形狀','圓環孔','瀑布圖','最大值'];_0x3a62=function(){return _0x55647c;};return _0x3a62();}(function(_0x20b612,_0x244380){const _0x1b12e1=_0x92e6,_0x2c9322=_0x20b612();while(!![]){try{const _0x52bdd2=parseInt(_0x1b12e1(0x1e6))/0x1*(parseInt(_0x1b12e1(0x1d1))/0x2)+parseInt(_0x1b12e1(0x1c7))/0x3+parseInt(_0x1b12e1(0x20c))/0x4+parseInt(_0x1b12e1(0x1c3))/0x5*(-parseInt(_0x1b12e1(0x1dd))/0x6)+-parseInt(_0x1b12e1(0x1c2))/0x7+-parseInt(_0x1b12e1(0x216))/0x8*(parseInt(_0x1b12e1(0x20f))/0x9)+-parseInt(_0x1b12e1(0x1d0))/0xa*(parseInt(_0x1b12e1(0x247))/0xb);if(_0x52bdd2===_0x244380)break;else _0x2c9322['push'](_0x2c9322['shift']());}catch(_0x55e17f){_0x2c9322['push'](_0x2c9322['shift']());}}}(_0x3a62,0xc74b3));const e={'chart':{'insertChart':_0x20e16e(0x237),'editChart':'編輯圖表','openChartPanel':_0x20e16e(0x1e3),'deleteChart':_0x20e16e(0x1cc),'hideChartPanel':_0x20e16e(0x1e8),'setupChart':_0x20e16e(0x1f1),'customChart':_0x20e16e(0x20d),'default':'默認','reset':'重置','chartType':_0x20e16e(0x238),'themes':'主題','dataRange':_0x20e16e(0x1f2),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x20e16e(0x202),'series':'系列','addSeries':_0x20e16e(0x249),'moreSettings':_0x20e16e(0x1c5),'min':'最小值','max':_0x20e16e(0x223),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x20e16e(0x1c9)},'blank':_0x20e16e(0x23a),'seriesBlock':{'format':'格式','dataPointStyle':_0x20e16e(0x1d8)},'backgroundColor':_0x20e16e(0x1f7),'chartBorderColor':_0x20e16e(0x21b),'titles':{'title':'標題','mainTitle':_0x20e16e(0x210),'subTitle':_0x20e16e(0x1ed),'xAxisTitle':'X軸標題','yAxisTitle':'Y軸標題','rightYAxisTitle':_0x20e16e(0x21a),'titleFormat':_0x20e16e(0x20b),'titleText':'標題文本','titlePosition':'標題位置','titleAlign':_0x20e16e(0x1fe)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x20e16e(0x1b9),'settingsLabels':{'switchToRowOrColumn':_0x20e16e(0x20e),'useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x20e16e(0x23f),'center':'居中','right':_0x20e16e(0x1f8)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x20e16e(0x1f4),'chartAndAxisTitles':_0x20e16e(0x1eb),'legend':'圖例','legendSelectMode':_0x20e16e(0x23e),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x20e16e(0x23b),'horizontalAxis':_0x20e16e(0x233),'verticalAxis':_0x20e16e(0x1fc),'rightVerticalAxis':_0x20e16e(0x219),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x20e16e(0x1fd)},'position':'位置','dataLabels':_0x20e16e(0x1d3),'gridlinesAndTicks':_0x20e16e(0x1e7),'indicatorLine':'指示線','indicatorLineType':_0x20e16e(0x244),'indicatorLineColor':_0x20e16e(0x1e5),'indicatorLabel':_0x20e16e(0x231),'indicatorValue':_0x20e16e(0x20a),'shape':{'polygon':_0x20e16e(0x1ea),'circle':'圓形','square':_0x20e16e(0x22d),'triangle':_0x20e16e(0x1e2),'diamond':'菱形','rect':'矩形','roundRect':_0x20e16e(0x211),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x20e16e(0x22e),'emptySquare':_0x20e16e(0x21f),'emptyTriangle':'空心三角形','emptyDiamond':'空心菱形','emptyRect':'空心矩形','emptyRoundRect':_0x20e16e(0x1d6),'emptyPin':_0x20e16e(0x235),'emptyArrow':_0x20e16e(0x1e4)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x20e16e(0x246),'withColor':_0x20e16e(0x1ce),'withThickness':_0x20e16e(0x201),'withType':_0x20e16e(0x225),'withSize':'{0}\x20大小','withShape':'{0}\x20形狀','withFormat':_0x20e16e(0x21e),'dataPoint':'數據點','dataNodeShape':'節點形狀','addDataPoint':_0x20e16e(0x1c0),'point':_0x20e16e(0x228),'percentage':_0x20e16e(0x1e1),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x20e16e(0x206)},'lineDashType':_0x20e16e(0x21c),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x20e16e(0x22f)},'ticks':{'majorTick':_0x20e16e(0x1fa),'tickPosition':_0x20e16e(0x1ba),'tickLength':_0x20e16e(0x1f0)},'none':'無','theIndexItem':_0x20e16e(0x1da),'seriesDefaultName':'系列\x20{0}','categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':_0x20e16e(0x1db),'showDataLabels':_0x20e16e(0x240),'padAngle':_0x20e16e(0x204),'halfPie':'半餅','rosePie':_0x20e16e(0x1ef),'pieValScale':_0x20e16e(0x1d4),'pieValSuffix':_0x20e16e(0x215),'pieDigitalFixed':'小數位數','showLabelLine':'顯示標籤線','reverseAxisOrder':'逆序軸','showAxisLine':_0x20e16e(0x1f5),'labelPosition':'標籤位置','labelText':_0x20e16e(0x1f3),'repeatWordCould':_0x20e16e(0x239),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x20e16e(0x1d9),'wordCloudShape':_0x20e16e(0x220),'useDateAxis':_0x20e16e(0x200),'dateAxisTips':_0x20e16e(0x23d)},'radar':{'fill':'填充'},'doughnutHole':_0x20e16e(0x221),'msg':{'invalidSource':_0x20e16e(0x1d5),'emptyTips':_0x20e16e(0x230),'sankeyCircularTips':_0x20e16e(0x1c8)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x20e16e(0x22b),'displayName':'趨勢線名稱','addTrendLine':_0x20e16e(0x1bc),'trendlineType':_0x20e16e(0x22c),'trendlineName':_0x20e16e(0x205),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x20e16e(0x1cd),'trendlineDashType':_0x20e16e(0x217),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x20e16e(0x1c1),'order':'多項式階數','period':'移動平均周期','showFormula':_0x20e16e(0x207),'showR2':_0x20e16e(0x224),'formula':'公式','r2':_0x20e16e(0x1fb)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x20e16e(0x236),'label':_0x20e16e(0x203),'emptyTips':_0x20e16e(0x21d)},'relation':{'title':_0x20e16e(0x1c6),'auto':'自動','circular':'環形','force':_0x20e16e(0x1df),'useValueAsSymbolSize':_0x20e16e(0x1f9),'layoutType':_0x20e16e(0x209),'forceOptions':_0x20e16e(0x1d2),'repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x20e16e(0x234),'emphasis':_0x20e16e(0x1be),'emptyTips':_0x20e16e(0x1c4)},'waterfall':{'stackType':_0x20e16e(0x242),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x20e16e(0x1cb),'positiveStyle':_0x20e16e(0x214),'negativeStyle':'負值樣式','subtotalStyle':'小計樣式','positiveLegendText':_0x20e16e(0x24a),'negativeLegendText':'負值圖例文本','subtotalLegendText':_0x20e16e(0x218)},'pareto':{'lineName':_0x20e16e(0x227),'lineSeries':_0x20e16e(0x1e0),'barSeries':'長條圖系列'},'visualMapScope':_0x20e16e(0x1d7),'boxplot':{'min':_0x20e16e(0x241),'q1':_0x20e16e(0x245),'median':_0x20e16e(0x1bd),'q3':'第三四分位數','max':_0x20e16e(0x223)}},'chartTypes':{'line':'折線圖','area':_0x20e16e(0x1ee),'areaStacked':'堆疊面積圖','areaPercentStacked':_0x20e16e(0x208),'column':'柱狀圖','bar':_0x20e16e(0x226),'barStacked':_0x20e16e(0x1ec),'barPercentStacked':_0x20e16e(0x1e9),'pie':'餅圖','donut':_0x20e16e(0x243),'scatter':_0x20e16e(0x212),'radar':_0x20e16e(0x1bb),'bubble':'氣泡圖','stock':_0x20e16e(0x248),'combination':_0x20e16e(0x1bf),'wordCloud':_0x20e16e(0x24b),'funnel':'漏斗圖','relation':_0x20e16e(0x1c6),'waterfall':_0x20e16e(0x222),'pareto':_0x20e16e(0x1f6),'sankey':'桑基圖','heatmap':_0x20e16e(0x1ca),'boxplot':_0x20e16e(0x1dc)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x20e16e(0x213),'fieldSetting':'字段設置','formatTypes':_0x20e16e(0x1de),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x20e16e(0x1cf),'dateDesc':_0x20e16e(0x232),'thousandthPercentileDesc':_0x20e16e(0x23c),'decimalPlaces':_0x20e16e(0x1ff),'currencyTypes':'貨幣類型','negativeNumberTypes':_0x20e16e(0x22a),'dateTypes':_0x20e16e(0x229)},'setFormat':'設置標籤格式'}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3369de=_0x551c;(function(_0x3e26d0,_0xa2ec79){const _0x5c0ea7=_0x551c,_0x565a51=_0x3e26d0();while(!![]){try{const _0x65db27=-parseInt(_0x5c0ea7(0x205))/0x1*(parseInt(_0x5c0ea7(0x24b))/0x2)+parseInt(_0x5c0ea7(0x252))/0x3*(-parseInt(_0x5c0ea7(0x1e2))/0x4)+parseInt(_0x5c0ea7(0x1ed))/0x5+parseInt(_0x5c0ea7(0x21d))/0x6*(parseInt(_0x5c0ea7(0x21b))/0x7)+parseInt(_0x5c0ea7(0x1f5))/0x8+parseInt(_0x5c0ea7(0x214))/0x9+parseInt(_0x5c0ea7(0x246))/0xa*(-parseInt(_0x5c0ea7(0x201))/0xb);if(_0x65db27===_0xa2ec79)break;else _0x565a51['push'](_0x565a51['shift']());}catch(_0x15f326){_0x565a51['push'](_0x565a51['shift']());}}}(_0x2928,0x39b4c));var R=Object[_0x3369de(0x20a)],k=(_0x2d322d,_0x1b6796,_0x8c841d)=>_0x1b6796 in _0x2d322d?R(_0x2d322d,_0x1b6796,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8c841d}):_0x2d322d[_0x1b6796]=_0x8c841d,n=(_0x41e140,_0x4ef441,_0x5160b1)=>k(_0x41e140,typeof _0x4ef441!=_0x3369de(0x21e)?_0x4ef441+'':_0x4ef441,_0x5160b1);import{ChartThemeService as _0x517d69,ChartTypeBits as _0x1db6e7,LegendPositionEnum as _0x191475,SelectModeEnum as _0x1020d3,AxisAlignEnum as _0x5c5508,ChartBorderDashType as _0x1c9149,LinePointShape as _0x3dca78,TitlePositionEnum as _0x17c12f,RadarShape as _0x5c3175}from'@univerjs-pro/engine-chart';import{setProperty as _0x16f801,SheetsChartService as _0x5e387b,ChartUpdateSourceCommand as _0x568228,ChartUpdateConfigCommand as _0x3f3012}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x6d169}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x467b6f,IUniverInstanceService as _0x30808e,UniverInstanceType as _0x5aadb3,generateRandomId as _0x50cc6c,DrawingTypeEnum as _0x47f7b4}from'@univerjs/core';function _0x2928(){const _0x100e30=['getWorkbook','titles.xAxisTitle.family','_commandService','getSheetId','fontStyle','setDataPointSize','titles.xAxisTitle.bold','setAbsolutePosition','yAxis','allSeriesStyle.point','setAllSeriesStyle','setTransposeRowsAndColumns','title','transposeRowsAndColumns','axisAlignment','position','Pie','indicatorLabelColor','pie.borderColor','radar','allSeriesStyle','isRowDirection','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','config','yAxis.label.axisTitleAlign','allSeriesStyle.label','updateChart','asPieChart','updateRange','setOptions','content','extend','subUnitId','isHalfPie','string','setShowLabelLine','registerTheme','area','titles.rightYAxisTitle.bold','fontColor','lineStyle','77476ZbOBeP','dataPointColor','_workbook','font','radar.fill','getUnitChartModels','theme','rightYAxisTitle','sheetName','setXAxisTextStyle','pie.isHalfPie','1986940WKnYuI','pie.rosePie','titles.title.font','xAxisTitle','titles.title.content','titles.xAxisTitle.content','_injector','keys','3569912XLMugK','removeChart','allSeriesStyle.color','titles.yAxisTitle.color','dataSource','titles.rightYAxisTitle.font','width','titles.title.align','getChartId','setHeight','setShape','showLabelLine','65120ANPktJ','titles.yAxisTitle.content','titles.rightYAxisTitle.fontSize','titles.xAxisTitle.color','117592vspFsI','titles.title.bold','getChartModel','color','getRangeInfo','defineProperty','titles.xAxisTitle.fontSize','getRenderById','insertChart','titleAlignment','tooltip.indicatorLineColor','shape','dataPointShape','setRosePie','setDataPointColor','3247434UAOAcr','dataPointSize','indicatorLineType','axisPointer','getChartType','xAxis','getUnitId','7KKhNyY','titles.title.family','224976inEzZg','symbol','legend.label.italic','setRightYAxisTitle','getCharts','setXAxisTitle','yRightAxis','setTheme','Line','modify','setRightYAxisTextStyle','titles.titlePosition','tooltip.indicatorLineType','with','length','legend.label.color','legend.label.bold','sourceSheetName','setInvalidValueStrategy','area.lineStyle','map','asRadarChart','setLineStyle','tooltip.indicatorLabelColor','hasPaddingAngle','doughnutHole','gradientFill','selectMode','TitlePositionEnum','bold','backgroundColor','allSeriesStyle.rightYAxis','rightYAxis','titles.title.color','newChart','invalidValueType','setChartType','titles.rightYAxisTitle.color','yAxisTitle','setIsHalfPie','indicatorLabelTextColor','1070iiWTag','titles.yAxisTitle.family','chartType','italic','borderColor','6BwPLNj','executeCommand','setSeriesStyle','allSeriesStyle.point.shape','seriesStyleMap','rosePie','label','3gfViok','SelectModeEnum','LinePointShape','getCurrentUnitForType','fill','ChartBorderDashType','options','chartId','height','point','addRange','allSeriesStyle.point.size','tooltip.indicatorLabelTextColor','unitId','pie','UNIVER_SHEET','pie.doughnutHole','clearRange','fontSize','setWidth','setFill','pie.hasPaddingAngle','range','RadarShape','context','ChartType','get','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','rightYAxis.label.axisTitleAlign','build','AxisAlignEnum','allSeriesStyle.border'];_0x2928=function(){return _0x100e30;};return _0x2928();}import{RemoveSheetDrawingCommand as _0x15e937}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x35fe43}from'@univerjs/sheets/facade';import{FBase as _0x1f12f7,FEnum as _0x56773d}from'@univerjs/core/facade';function _0x551c(_0x117282,_0x1e901c){_0x117282=_0x117282-0x1c8;const _0x292822=_0x2928();let _0x551c8f=_0x292822[_0x117282];return _0x551c8f;}import{deserializeRangeWithSheet as _0x1aa717}from'@univerjs/engine-formula';import{IRenderManagerService as _0xe2aa31}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x550ee0,SheetSkeletonManagerService as _0x43eef4,convertPositionCellToSheetOverGrid as _0x12c1d8}from'@univerjs/sheets-ui';const s=(_0x232563,_0x223635,_0x511fb3)=>{_0x511fb3!==void 0x0&&_0x16f801(_0x232563,_0x223635,_0x511fb3);},C=(_0x3761e1,_0x365b2c,_0x1fbba0,_0x2dc9fa={})=>{const _0x360d2c=_0x3369de,_0xb8116a={},_0x30ca1a={};if(_0x2dc9fa[_0x360d2c(0x27e)]){const _0x5e32ea=_0x2dc9fa['title'];s(_0xb8116a,_0x360d2c(0x1f1),_0x5e32ea['content']),s(_0xb8116a,_0x360d2c(0x1ef),_0x5e32ea[_0x360d2c(0x1e5)]),s(_0xb8116a,'titles.title.fontSize',_0x5e32ea[_0x360d2c(0x264)]),s(_0xb8116a,_0x360d2c(0x23e),_0x5e32ea[_0x360d2c(0x1e0)]),s(_0xb8116a,_0x360d2c(0x21c),_0x5e32ea[_0x360d2c(0x276)]),s(_0xb8116a,_0x360d2c(0x206),_0x5e32ea[_0x360d2c(0x23a)]),s(_0xb8116a,_0x360d2c(0x1fc),_0x5e32ea[_0x360d2c(0x20e)]),s(_0xb8116a,_0x360d2c(0x228),_0x5e32ea['position']);}if(_0x2dc9fa['legend']){const _0x4e1a49=_0x2dc9fa['legend'];s(_0xb8116a,'legend.position',_0x4e1a49[_0x360d2c(0x1c8)]),s(_0xb8116a,'legend.selectMode',_0x4e1a49[_0x360d2c(0x238)]),s(_0xb8116a,'legend.label.fontSize',_0x4e1a49['fontSize']),s(_0xb8116a,_0x360d2c(0x22c),_0x4e1a49[_0x360d2c(0x208)]),s(_0xb8116a,_0x360d2c(0x22d),_0x4e1a49[_0x360d2c(0x23a)]),s(_0xb8116a,_0x360d2c(0x21f),_0x4e1a49[_0x360d2c(0x249)]);}if(_0x2dc9fa[_0x360d2c(0x260)]){const _0x4bf6b7=_0x2dc9fa['pie'];s(_0xb8116a,_0x360d2c(0x262),_0x4bf6b7[_0x360d2c(0x236)]),s(_0xb8116a,'pie.borderColor',_0x4bf6b7[_0x360d2c(0x24a)]),s(_0xb8116a,_0x360d2c(0x267),_0x4bf6b7[_0x360d2c(0x235)]),s(_0xb8116a,_0x360d2c(0x1ec),_0x4bf6b7[_0x360d2c(0x1da)]),s(_0xb8116a,_0x360d2c(0x1ee),_0x4bf6b7[_0x360d2c(0x250)]),s(_0xb8116a,'pie.showLabelLine',_0x4bf6b7[_0x360d2c(0x200)]);}if(_0x2dc9fa['axisPointer']){const _0x283573=_0x2dc9fa[_0x360d2c(0x217)];s(_0xb8116a,_0x360d2c(0x234),_0x283573[_0x360d2c(0x1ca)]),s(_0xb8116a,_0x360d2c(0x229),_0x283573[_0x360d2c(0x216)]),s(_0xb8116a,_0x360d2c(0x20f),_0x283573['indicatorLineColor']),s(_0xb8116a,_0x360d2c(0x25e),_0x283573[_0x360d2c(0x245)]);}if(_0x2dc9fa['allSeriesStyle']&&(s(_0xb8116a,_0x360d2c(0x271),_0x2dc9fa[_0x360d2c(0x1cd)]['border']),s(_0xb8116a,_0x360d2c(0x1d2),_0x2dc9fa['allSeriesStyle'][_0x360d2c(0x251)]),s(_0xb8116a,_0x360d2c(0x23c),_0x2dc9fa['allSeriesStyle'][_0x360d2c(0x23d)]),s(_0xb8116a,_0x360d2c(0x27b),_0x2dc9fa[_0x360d2c(0x1cd)][_0x360d2c(0x25b)]),s(_0xb8116a,_0x360d2c(0x1f7),_0x2dc9fa[_0x360d2c(0x1cd)]['color'])),_0x2dc9fa[_0x360d2c(0x1de)]&&s(_0xb8116a,_0x360d2c(0x230),_0x2dc9fa[_0x360d2c(0x1de)]['lineStyle']),_0x2dc9fa[_0x360d2c(0x1e8)]&&s(_0xb8116a,_0x360d2c(0x1e8),_0x2dc9fa[_0x360d2c(0x1e8)]),_0x2dc9fa[_0x360d2c(0x23b)]&&s(_0xb8116a,_0x360d2c(0x23b),_0x2dc9fa[_0x360d2c(0x23b)]),_0x2dc9fa['borderColor']&&s(_0xb8116a,_0x360d2c(0x24a),_0x2dc9fa[_0x360d2c(0x24a)]),_0x2dc9fa[_0x360d2c(0x237)]&&s(_0xb8116a,_0x360d2c(0x237),_0x2dc9fa[_0x360d2c(0x237)]),_0x2dc9fa[_0x360d2c(0x240)]&&s(_0xb8116a,'invalidValueType',_0x2dc9fa[_0x360d2c(0x240)]),_0x2dc9fa[_0x360d2c(0x1cc)]&&s(_0xb8116a,_0x360d2c(0x1cc),_0x2dc9fa['radar']),_0x2dc9fa[_0x360d2c(0x1f0)]){const _0x2cd60c=_0x2dc9fa['xAxisTitle'];s(_0xb8116a,_0x360d2c(0x1f2),_0x2cd60c[_0x360d2c(0x1d7)]),s(_0xb8116a,'titles.xAxisTitle.font',_0x2cd60c[_0x360d2c(0x1e5)]),s(_0xb8116a,_0x360d2c(0x20b),_0x2cd60c['fontSize']),s(_0xb8116a,_0x360d2c(0x204),_0x2cd60c[_0x360d2c(0x1e0)]),s(_0xb8116a,_0x360d2c(0x273),_0x2cd60c[_0x360d2c(0x276)]),s(_0xb8116a,_0x360d2c(0x278),_0x2cd60c[_0x360d2c(0x23a)]),s(_0xb8116a,'xAxis.label.axisTitleAlign',_0x2cd60c[_0x360d2c(0x280)]);}if(_0x2dc9fa[_0x360d2c(0x243)]){const _0x43d62f=_0x2dc9fa[_0x360d2c(0x243)];s(_0xb8116a,_0x360d2c(0x202),_0x43d62f['content']),s(_0xb8116a,'titles.yAxisTitle.font',_0x43d62f['font']),s(_0xb8116a,'titles.yAxisTitle.fontSize',_0x43d62f[_0x360d2c(0x264)]),s(_0xb8116a,_0x360d2c(0x1f8),_0x43d62f[_0x360d2c(0x1e0)]),s(_0xb8116a,_0x360d2c(0x247),_0x43d62f['fontStyle']),s(_0xb8116a,'titles.yAxisTitle.bold',_0x43d62f[_0x360d2c(0x23a)]),s(_0xb8116a,_0x360d2c(0x1d1),_0x43d62f[_0x360d2c(0x280)]);}if(_0x2dc9fa[_0x360d2c(0x1e9)]){const _0x18d8e1=_0x2dc9fa[_0x360d2c(0x1e9)];s(_0xb8116a,'titles.rightYAxisTitle.content',_0x18d8e1[_0x360d2c(0x1d7)]),s(_0xb8116a,_0x360d2c(0x1fa),_0x18d8e1[_0x360d2c(0x1e5)]),s(_0xb8116a,_0x360d2c(0x203),_0x18d8e1['fontSize']),s(_0xb8116a,_0x360d2c(0x242),_0x18d8e1[_0x360d2c(0x1e0)]),s(_0xb8116a,'titles.rightYAxisTitle.family',_0x18d8e1['fontStyle']),s(_0xb8116a,_0x360d2c(0x1df),_0x18d8e1[_0x360d2c(0x23a)]),s(_0xb8116a,_0x360d2c(0x26e),_0x18d8e1[_0x360d2c(0x280)]);}_0x2dc9fa[_0x360d2c(0x219)]&&s(_0xb8116a,_0x360d2c(0x219),_0x2dc9fa[_0x360d2c(0x219)]),_0x2dc9fa[_0x360d2c(0x27a)]&&s(_0xb8116a,'yAxis',_0x2dc9fa[_0x360d2c(0x27a)]),_0x2dc9fa[_0x360d2c(0x223)]&&s(_0xb8116a,_0x360d2c(0x23d),_0x2dc9fa[_0x360d2c(0x223)]),_0x2dc9fa['seriesStyleMap']&&s(_0xb8116a,'seriesStyleMap',_0x2dc9fa[_0x360d2c(0x24f)]);const _0x43ef86={'unitId':_0x3761e1,'chartModelId':_0x365b2c};let _0x95f035=!0x1;if(_0x1fbba0!==void 0x0&&(_0x43ef86[_0x360d2c(0x248)]=_0x1fbba0,_0x95f035=!0x0),Object['keys'](_0xb8116a)[_0x360d2c(0x22b)]>0x0&&(_0x43ef86['style']=_0xb8116a,_0x95f035=!0x0),Object[_0x360d2c(0x1f4)](_0x30ca1a)[_0x360d2c(0x22b)]>0x0&&(_0x43ef86[_0x360d2c(0x26a)]=_0x30ca1a,_0x95f035=!0x0),_0x95f035)return _0x43ef86;};class c extends _0x1f12f7{constructor(_0x533faa,_0x2066dc,_0x2dfec0,_0x76f643,_0x44ec7c){const _0x1bdc22=_0x3369de;super(),n(this,_0x1bdc22(0x1e4)),n(this,_0x1bdc22(0x1f3)),n(this,_0x1bdc22(0x25f)),n(this,_0x1bdc22(0x1d9)),n(this,_0x1bdc22(0x259)),n(this,_0x1bdc22(0x268)),n(this,_0x1bdc22(0x22e)),n(this,'x'),n(this,'y'),n(this,_0x1bdc22(0x1fb)),n(this,_0x1bdc22(0x25a)),n(this,'chartType'),n(this,_0x1bdc22(0x258)),n(this,'transposeRowsAndColumns'),(this[_0x1bdc22(0x25f)]=_0x533faa,this[_0x1bdc22(0x1d9)]=_0x2066dc,this['_workbook']=_0x2dfec0,this[_0x1bdc22(0x1f3)]=_0x76f643,_0x44ec7c&&(this[_0x1bdc22(0x259)]=_0x44ec7c));}[_0x3369de(0x218)](){const _0x1be70f=_0x3369de;return this[_0x1be70f(0x248)];}[_0x3369de(0x25c)](_0x577dc3){const _0x26ce13=_0x3369de;if(typeof _0x577dc3==_0x26ce13(0x1db)){const _0xe2921f=_0x1aa717(_0x577dc3);_0xe2921f[_0x26ce13(0x1ea)]&&(this[_0x26ce13(0x22e)]=_0xe2921f[_0x26ce13(0x1ea)]),this['range']=_0xe2921f['range'];}else this[_0x26ce13(0x268)]=_0x577dc3;return this;}[_0x3369de(0x263)](){const _0x15c7ac=_0x3369de;return this[_0x15c7ac(0x268)]=void 0x0,this[_0x15c7ac(0x22e)]=void 0x0,this;}['setPosition'](_0x1025f9,_0x1ac557,_0x2b665a,_0x26f3d3){const _0x27eba9=_0x3369de,_0x48e75a=this[_0x27eba9(0x1f3)][_0x27eba9(0x26c)](_0xe2aa31)[_0x27eba9(0x20c)](this[_0x27eba9(0x25f)]);if(!_0x48e75a)throw new Error(_0x27eba9(0x1cf));const _0x493e7a=_0x48e75a[_0x27eba9(0x22a)](_0x550ee0),_0x50c33d=_0x48e75a[_0x27eba9(0x22a)](_0x43eef4),{transform:_0xa7131f}=_0x12c1d8(this[_0x27eba9(0x25f)],this[_0x27eba9(0x1d9)],{'row':_0x1025f9,'column':_0x1ac557,'rowOffset':_0x2b665a,'columnOffset':_0x26f3d3},0x1,0x1,_0x493e7a,_0x50c33d),_0x3f0fbc=_0xa7131f['top'],_0x228b06=_0xa7131f['left'];return this['x']=_0x228b06,this['y']=_0x3f0fbc,this;}[_0x3369de(0x279)](_0x4470e8,_0x312b75){return this['x']=_0x4470e8,this['y']=_0x312b75,this;}[_0x3369de(0x241)](_0x1fa77b){const _0x3cb649=_0x3369de;return this[_0x3cb649(0x248)]=_0x1fa77b,this;}[_0x3369de(0x265)](_0x362a8b){const _0x39666c=_0x3369de;return this[_0x39666c(0x1fb)]=_0x362a8b,this;}[_0x3369de(0x1fe)](_0x53de7b){const _0x2e02e1=_0x3369de;return this[_0x2e02e1(0x25a)]=_0x53de7b,this;}[_0x3369de(0x1d6)](_0x43ac0e,_0x3865f1){const _0x23b435=_0x3369de;return this['options']||(this[_0x23b435(0x258)]={}),_0x43ac0e===''?(this['options']={...this[_0x23b435(0x258)],..._0x3865f1},this):(_0x16f801(this[_0x23b435(0x258)],_0x43ac0e,_0x3865f1),this);}[_0x3369de(0x27d)](_0x1dea21){const _0x436a2a=_0x3369de;return this[_0x436a2a(0x27f)]=_0x1dea21,this;}[_0x3369de(0x224)](_0x52ae28){const _0x40f6bb=_0x3369de;return this['setOptions'](_0x40f6bb(0x1e8),_0x52ae28),this;}[_0x3369de(0x222)](_0x598830){const _0xc7dcf7=_0x3369de;var _0x425764;const _0x51d00d=((_0x425764=this[_0xc7dcf7(0x258)])==null?void 0x0:_0x425764['xAxisTitle'])||{};return _0x51d00d['content']=_0x598830,this['setOptions']('xAxisTitle',_0x51d00d),this;}['setYAxisTitle'](_0x1ecd32){const _0x50aedc=_0x3369de;var _0x3cf4fe;const _0x4f9960=((_0x3cf4fe=this[_0x50aedc(0x258)])==null?void 0x0:_0x3cf4fe[_0x50aedc(0x243)])||{};return _0x4f9960[_0x50aedc(0x1d7)]=_0x1ecd32,this[_0x50aedc(0x1d6)](_0x50aedc(0x243),_0x4f9960),this;}[_0x3369de(0x220)](_0x427038){const _0x6e0488=_0x3369de;var _0x336c15;const _0x130888=((_0x336c15=this[_0x6e0488(0x258)])==null?void 0x0:_0x336c15[_0x6e0488(0x1e9)])||{};return _0x130888[_0x6e0488(0x1d7)]=_0x427038,this[_0x6e0488(0x1d6)](_0x6e0488(0x1e9),_0x130888),this;}[_0x3369de(0x1eb)](_0x483c43){const _0x46203c=_0x3369de;var _0x3959cf;const _0x59674a=((_0x3959cf=this[_0x46203c(0x258)])==null?void 0x0:_0x3959cf[_0x46203c(0x1f0)])||{};return this[_0x46203c(0x1d6)](_0x46203c(0x1f0),{..._0x59674a,..._0x483c43}),this;}['setYAxisTextStyle'](_0x85b328){const _0x4ded27=_0x3369de;var _0x17b6fe;const _0x5115ec=((_0x17b6fe=this[_0x4ded27(0x258)])==null?void 0x0:_0x17b6fe[_0x4ded27(0x243)])||{};return this[_0x4ded27(0x1d6)](_0x4ded27(0x243),{..._0x5115ec,..._0x85b328}),this;}[_0x3369de(0x227)](_0x242d38){const _0x445a9f=_0x3369de;var _0x530e03;const _0x4f9939=((_0x530e03=this['options'])==null?void 0x0:_0x530e03[_0x445a9f(0x1e9)])||{};return this[_0x445a9f(0x1d6)](_0x445a9f(0x1e9),{..._0x4f9939,..._0x242d38}),this;}[_0x3369de(0x22f)](_0x23e58a){return this['setOptions']('invalidValueType',_0x23e58a),this;}['setAxisPointerStyle'](_0x3eddfd){const _0x5d8084=_0x3369de;return this[_0x5d8084(0x1d6)](_0x5d8084(0x217),_0x3eddfd),this;}[_0x3369de(0x27c)](_0x3fb6b2){const _0x2eb320=_0x3369de;return this[_0x2eb320(0x1d6)](_0x2eb320(0x1cd),_0x3fb6b2),this;}[_0x3369de(0x24d)](_0xb5bbb7,_0x4b4a2d){const _0xe8340=_0x3369de;return this[_0xe8340(0x1d6)]('seriesStyleMap',{[_0xb5bbb7]:_0x4b4a2d}),this;}[_0x3369de(0x26f)](){const _0x31beef=_0x3369de;return{'unitId':this['unitId'],'subUnitId':this[_0x31beef(0x1d9)],'chartId':this[_0x31beef(0x259)],'range':this[_0x31beef(0x268)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this['width'],'height':this['height'],'chartType':this['chartType'],'options':this[_0x31beef(0x258)],'isRowDirection':this[_0x31beef(0x27f)]};}}class P{constructor(_0x29deef,_0x255ef9,_0x98b518,_0x3d4370){const _0x14acc5=_0x3369de;n(this,_0x14acc5(0x25f)),n(this,_0x14acc5(0x1d9)),n(this,'chartId'),n(this,'_injector'),(this[_0x14acc5(0x25f)]=_0x29deef,this['subUnitId']=_0x255ef9,this[_0x14acc5(0x259)]=_0x98b518,this[_0x14acc5(0x1f3)]=_0x3d4370);}[_0x3369de(0x1fd)](){const _0x26e4ff=_0x3369de;return this[_0x26e4ff(0x259)];}['getRange'](){const _0x4fef2d=_0x3369de,_0x797043=this[_0x4fef2d(0x1f3)]['get'](_0x5e387b)[_0x4fef2d(0x207)](this[_0x4fef2d(0x259)]);if(_0x797043)return _0x797043[_0x4fef2d(0x1f9)][_0x4fef2d(0x209)]();}[_0x3369de(0x1d5)](_0x4e4827){const _0x290914=_0x3369de;return this['_injector']['get'](_0x467b6f)[_0x290914(0x24c)](_0x568228['id'],{'unitId':this[_0x290914(0x25f)],'chartModelId':this[_0x290914(0x259)],'range':_0x4e4827});}['getSeriesData'](){const _0x56de0c=_0x3369de;var _0x54d7ca;const _0x2325d9=this[_0x56de0c(0x1f3)][_0x56de0c(0x26c)](_0x5e387b)[_0x56de0c(0x207)](this[_0x56de0c(0x259)]);if(_0x2325d9)return(_0x54d7ca=_0x2325d9[_0x56de0c(0x1d0)])==null?void 0x0:_0x54d7ca['series'];}['getCategoryData'](){const _0x1c18d8=_0x3369de;var _0x18c9cd;const _0x4320bf=this['_injector']['get'](_0x5e387b)[_0x1c18d8(0x207)](this[_0x1c18d8(0x259)]);if(_0x4320bf)return(_0x18c9cd=_0x4320bf[_0x1c18d8(0x1d0)])==null?void 0x0:_0x18c9cd['category'];}[_0x3369de(0x226)](){const _0x58ef80=_0x3369de,_0x1ec190=this[_0x58ef80(0x1f3)]['get'](_0x30808e)[_0x58ef80(0x255)](_0x5aadb3[_0x58ef80(0x261)]);return new c(this[_0x58ef80(0x25f)],this['subUnitId'],_0x1ec190,this['_injector'],this[_0x58ef80(0x259)]);}}class $ extends _0x35fe43{async[_0x3369de(0x20d)](_0x514f0c){const _0xadc057=_0x3369de;var _0xba277c,_0x4f8190,_0x534382;const _0x341139=_0x514f0c[_0xadc057(0x25f)]||this[_0xadc057(0x272)]()['getUnitId'](),_0xbe3561=_0x514f0c[_0xadc057(0x1d9)]||this[_0xadc057(0x275)](),_0x12a854=_0x514f0c['chartId']||_0x50cc6c(),_0x19380b=_0x514f0c['chartType'],_0x5231a8=_0x514f0c['range'],_0x5bcf3d=_0x514f0c['sourceSheetName'],_0x3dd6d2={'x':_0x514f0c['x'],'y':_0x514f0c['y']},_0x4455c8=_0x514f0c[_0xadc057(0x1fb)],_0x1bbea8=_0x514f0c[_0xadc057(0x25a)],_0x1602a7=(_0xba277c=_0x514f0c[_0xadc057(0x258)])==null?void 0x0:_0xba277c[_0xadc057(0x23b)],_0x3981c3=(_0x4f8190=_0x514f0c[_0xadc057(0x258)])==null?void 0x0:_0x4f8190[_0xadc057(0x24a)],_0x50c030=C(_0x341139,_0x12a854,_0x19380b,_0x514f0c[_0xadc057(0x258)]),_0x39337f=(_0x534382=_0x514f0c[_0xadc057(0x1ce)])!=null?_0x534382:!0x0;if(!_0x5231a8)throw new Error(_0xadc057(0x26d));return await this['_commandService'][_0xadc057(0x24c)](_0x6d169['id'],{'unitId':_0x341139,'subUnitId':_0xbe3561,'chartId':_0x12a854,'chartType':_0x19380b,'range':_0x5231a8,'sourceSheetName':_0x5bcf3d,'position':_0x3dd6d2,'width':_0x4455c8,'height':_0x1bbea8,'backgroundColor':_0x1602a7,'borderColor':_0x3981c3,'config':_0x50c030,'isRowDirection':_0x39337f}),new P(_0x341139,_0xbe3561,_0x12a854,this[_0xadc057(0x1f3)]);}[_0x3369de(0x1d3)](_0x44021a){const _0x36e916=_0x3369de,{unitId:_0x2fb462,chartId:_0x1f0cf7,chartType:_0x52b963,options:_0xcb1b65}=_0x44021a,_0x3c5f99=C(_0x2fb462,_0x1f0cf7,_0x52b963,_0xcb1b65);this['_commandService'][_0x36e916(0x24c)](_0x3f3012['id'],_0x3c5f99);}[_0x3369de(0x23f)](_0x3694b6){const _0x52952f=_0x3369de;if(_0x3694b6)return new c(_0x3694b6[_0x52952f(0x25f)],_0x3694b6[_0x52952f(0x1d9)],this[_0x52952f(0x1e4)],this['_injector'],_0x3694b6[_0x52952f(0x259)]);const _0x36cb21=this['getWorkbook']()['getUnitId'](),_0x2e8cc5=this[_0x52952f(0x275)]();return new c(_0x36cb21,_0x2e8cc5,this['_workbook'],this[_0x52952f(0x1f3)]);}[_0x3369de(0x221)](){const _0x4a1f8d=_0x3369de,_0x89f70a=this['_injector'][_0x4a1f8d(0x26c)](_0x5e387b),_0x45ad9a=this[_0x4a1f8d(0x272)]()[_0x4a1f8d(0x21a)]();return _0x89f70a[_0x4a1f8d(0x1e7)](_0x45ad9a,this[_0x4a1f8d(0x275)]())[_0x4a1f8d(0x231)](_0x4d9ef6=>new P(_0x45ad9a,this[_0x4a1f8d(0x275)](),_0x4d9ef6['id'],this[_0x4a1f8d(0x1f3)]));}[_0x3369de(0x1f6)](_0x490de5){const _0x49133a=_0x3369de,_0x11cb15=_0x490de5[_0x49133a(0x25f)],_0x3e8609=_0x490de5[_0x49133a(0x1d9)],_0x284121=_0x490de5[_0x49133a(0x259)],_0x517e92={'unitId':_0x11cb15,'drawings':[{'unitId':_0x11cb15,'subUnitId':_0x3e8609,'drawingId':_0x284121,'drawingType':_0x47f7b4['DRAWING_CHART']}]};return this[_0x49133a(0x274)][_0x49133a(0x24c)](_0x15e937['id'],_0x517e92);}['registerChartTheme'](_0x158c08,_0x33c5f9){const _0x166788=_0x3369de;this['_injector']['get'](_0x517d69)[_0x166788(0x1dd)](_0x158c08,_0x33c5f9);}}_0x35fe43[_0x3369de(0x1d8)]($);class tt extends _0x56773d{get[_0x3369de(0x26b)](){return _0x1db6e7;}get['LegendPositionEnum'](){return _0x191475;}get[_0x3369de(0x253)](){return _0x1020d3;}get[_0x3369de(0x270)](){return _0x5c5508;}get[_0x3369de(0x257)](){return _0x1c9149;}get[_0x3369de(0x254)](){return _0x3dca78;}get[_0x3369de(0x239)](){return _0x17c12f;}get[_0x3369de(0x269)](){return _0x5c3175;}}_0x56773d[_0x3369de(0x1d8)](tt);class et extends c{constructor(_0x5c712c,_0x507434,_0x38910f,_0x30da56,_0x5240c4){const _0x22a37f=_0x3369de;super(_0x5c712c,_0x507434,_0x38910f,_0x30da56,_0x5240c4),n(this,_0x22a37f(0x1e1)),n(this,_0x22a37f(0x211)),n(this,_0x22a37f(0x1e3)),n(this,_0x22a37f(0x215));}[_0x3369de(0x233)](_0x32b926){const _0x55a2a0=_0x3369de;return this[_0x55a2a0(0x1e1)]=_0x32b926,this;}['setDataPointShape'](_0x388d38){const _0x2865c7=_0x3369de;return this[_0x2865c7(0x211)]=_0x388d38,this;}[_0x3369de(0x213)](_0x3f19f4){const _0x4911ec=_0x3369de;return this[_0x4911ec(0x1e3)]=_0x3f19f4,this;}[_0x3369de(0x277)](_0x15c446){const _0x47a7fe=_0x3369de;return this[_0x47a7fe(0x215)]=_0x15c446,this;}[_0x3369de(0x26f)](){const _0x51f30b=_0x3369de,_0xfb0df=super['build']();_0xfb0df[_0x51f30b(0x248)]=_0x1db6e7[_0x51f30b(0x225)];const _0x6e23dc=_0xfb0df[_0x51f30b(0x258)]||{};return s(_0x6e23dc,_0x51f30b(0x230),this[_0x51f30b(0x1e1)]),s(_0x6e23dc,_0x51f30b(0x24e),this['dataPointShape']),s(_0x6e23dc,'allSeriesStyle.point.color',this['dataPointColor']),s(_0x6e23dc,_0x51f30b(0x25d),this[_0x51f30b(0x215)]),_0xfb0df['options']=_0x6e23dc,_0xfb0df;}}class it extends c{['asLineChart'](){const _0x142675=_0x3369de;return new et(this[_0x142675(0x25f)],this[_0x142675(0x1d9)],this['_workbook'],this['_injector'],this['chartId']);}}c[_0x3369de(0x1d8)](it);class st extends c{constructor(_0xccc30,_0x167be0,_0x1bb698,_0x453b9c,_0x39477e){const _0xe64a5a=_0x3369de;super(_0xccc30,_0x167be0,_0x1bb698,_0x453b9c,_0x39477e),n(this,_0xe64a5a(0x236)),n(this,'borderColor'),n(this,_0xe64a5a(0x235)),n(this,_0xe64a5a(0x1da)),n(this,_0xe64a5a(0x250)),n(this,'showLabelLine');}['setDoughnutHole'](_0xe63272){const _0x401df2=_0x3369de;return this[_0x401df2(0x236)]=_0xe63272,this;}['setBorderColor'](_0x1b13d3){return this['borderColor']=_0x1b13d3,this;}['setHasPaddingAngle'](_0x10fd47){const _0x24984a=_0x3369de;return this[_0x24984a(0x235)]=_0x10fd47,this;}[_0x3369de(0x244)](_0x13d648){const _0x59666a=_0x3369de;return this[_0x59666a(0x1da)]=_0x13d648,this;}[_0x3369de(0x212)](_0x15d796){const _0x182fb5=_0x3369de;return this[_0x182fb5(0x250)]=_0x15d796,this;}[_0x3369de(0x1dc)](_0x325bd0){const _0xfb7db=_0x3369de;return this[_0xfb7db(0x200)]=_0x325bd0,this;}['build'](){const _0x4204f5=_0x3369de,_0x2fa7bd=super[_0x4204f5(0x26f)]();_0x2fa7bd['chartType']=_0x1db6e7[_0x4204f5(0x1c9)];const _0x5d6123=_0x2fa7bd['options']||{};return s(_0x5d6123,'pie.doughnutHole',this['doughnutHole']),s(_0x5d6123,_0x4204f5(0x1cb),this[_0x4204f5(0x24a)]),s(_0x5d6123,'pie.hasPaddingAngle',this[_0x4204f5(0x235)]),s(_0x5d6123,_0x4204f5(0x1ec),this[_0x4204f5(0x1da)]),s(_0x5d6123,'pie.rosePie',this['rosePie']),s(_0x5d6123,'pie.showLabelLine',this['showLabelLine']),_0x2fa7bd[_0x4204f5(0x258)]=_0x5d6123,_0x2fa7bd;}}class rt extends c{[_0x3369de(0x1d4)](){const _0x2fb738=_0x3369de;return new st(this['unitId'],this[_0x2fb738(0x1d9)],this[_0x2fb738(0x1e4)],this[_0x2fb738(0x1f3)],this['chartId']);}}c[_0x3369de(0x1d8)](rt);class ot extends c{constructor(_0x33c6b9,_0x472c1a,_0x51e885,_0x30eab8,_0x2a58f3){const _0xe9c7ff=_0x3369de;super(_0x33c6b9,_0x472c1a,_0x51e885,_0x30eab8,_0x2a58f3),n(this,_0xe9c7ff(0x210)),n(this,_0xe9c7ff(0x256));}[_0x3369de(0x1ff)](_0x576ce7){const _0x4f8f94=_0x3369de;return this[_0x4f8f94(0x210)]=_0x576ce7,this;}[_0x3369de(0x266)](_0xafb4d0){return this['fill']=_0xafb4d0,this;}[_0x3369de(0x26f)](){const _0x2b084c=_0x3369de,_0xf66439=super[_0x2b084c(0x26f)]();_0xf66439['chartType']=_0x1db6e7['Radar'];const _0x1c0b17=_0xf66439[_0x2b084c(0x258)]||{};return s(_0x1c0b17,'radar.shape',this['shape']),s(_0x1c0b17,_0x2b084c(0x1e6),this[_0x2b084c(0x256)]),_0xf66439[_0x2b084c(0x258)]=_0x1c0b17,_0xf66439;}}class nt extends c{[_0x3369de(0x232)](){const _0x14126a=_0x3369de;return new ot(this[_0x14126a(0x25f)],this[_0x14126a(0x1d9)],this[_0x14126a(0x1e4)],this[_0x14126a(0x1f3)],this[_0x14126a(0x259)]);}}c[_0x3369de(0x1d8)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|
|
1
|
+
const _0x3c1d27=_0x236a;(function(_0x2a89aa,_0x3a83d2){const _0xbfd96e=_0x236a,_0x50622c=_0x2a89aa();while(!![]){try{const _0x287c95=parseInt(_0xbfd96e(0x179))/0x1+-parseInt(_0xbfd96e(0x177))/0x2*(-parseInt(_0xbfd96e(0x109))/0x3)+-parseInt(_0xbfd96e(0xed))/0x4*(-parseInt(_0xbfd96e(0x13b))/0x5)+-parseInt(_0xbfd96e(0x106))/0x6*(-parseInt(_0xbfd96e(0x14e))/0x7)+-parseInt(_0xbfd96e(0x118))/0x8+parseInt(_0xbfd96e(0x150))/0x9*(-parseInt(_0xbfd96e(0x126))/0xa)+-parseInt(_0xbfd96e(0xe1))/0xb;if(_0x287c95===_0x3a83d2)break;else _0x50622c['push'](_0x50622c['shift']());}catch(_0x5de4e6){_0x50622c['push'](_0x50622c['shift']());}}}(_0x4d8f,0xde24e));var R=Object[_0x3c1d27(0x146)],k=(_0x2f8ea4,_0x220614,_0x4b4ffc)=>_0x220614 in _0x2f8ea4?R(_0x2f8ea4,_0x220614,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b4ffc}):_0x2f8ea4[_0x220614]=_0x4b4ffc,n=(_0x5bea3a,_0x501378,_0x823b20)=>k(_0x5bea3a,typeof _0x501378!=_0x3c1d27(0x10d)?_0x501378+'':_0x501378,_0x823b20);import{ChartThemeService as _0xf959e3,ChartTypeBits as _0x37529d,LegendPositionEnum as _0x323c95,SelectModeEnum as _0x209f30,AxisAlignEnum as _0x5df00c,ChartBorderDashType as _0x1ff266,LinePointShape as _0x2c1298,TitlePositionEnum as _0x1541cf,RadarShape as _0x18245f}from'@univerjs-pro/engine-chart';function _0x4d8f(){const _0x56378a=['setAllSeriesStyle','legend.selectMode','getUnitChartModels','_injector','insertChart','yRightAxis','rightYAxisTitle','executeCommand','updateRange','invalidValueType','allSeriesStyle.border','setDataPointSize','yAxis.label.axisTitleAlign','dataPointColor','sheetName','fontSize','config','hasPaddingAngle','getRange','axisAlignment','setRosePie','allSeriesStyle.point.size','area','ChartType','AxisAlignEnum','with','rightYAxis','titles.title.bold','rosePie','6338UBYxmC','titles.title.content','1723993IUZwDF','keys','dataPointSize','titles.yAxisTitle.font','titles.rightYAxisTitle.bold','tooltip.indicatorLineType','legend.position','shape','setYAxisTextStyle','extend','pie.hasPaddingAngle','DRAWING_CHART','setXAxisTextStyle','setRightYAxisTitle','border','bold','setTransposeRowsAndColumns','getRenderById','selectMode','asLineChart','TitlePositionEnum','allSeriesStyle.rightYAxis','unitId','allSeriesStyle.point.shape','allSeriesStyle','setLineStyle','pie.borderColor','allSeriesStyle.color','lineStyle','build','setInvalidValueStrategy','titles.rightYAxisTitle.family','Pie','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','options','theme','chartId','category','titles.title.font','font','allSeriesStyle.point.color','xAxisTitle','LegendPositionEnum','radar','titles.titlePosition','newChart','31401282NOFPFm','setSeriesStyle','modify','getCurrentUnitForType','pie','_commandService','LinePointShape','removeChart','pie.isHalfPie','getWorkbook','fill','yAxisTitle','624VZxjgM','titles.rightYAxisTitle.color','legend.label.italic','ChartBorderDashType','string','sourceSheetName','getCategoryData','pie.showLabelLine','setAxisPointerStyle','legend','context','titles.xAxisTitle.content','setIsHalfPie','legend.label.color','titles.xAxisTitle.fontSize','setShape','Radar','getSeriesData','pie.doughnutHole','isHalfPie','titles.rightYAxisTitle.content','area.lineStyle','xAxis','borderColor','getChartId','12LsLsIv','left','setAbsolutePosition','1635ctHrcK','titles.yAxisTitle.content','asPieChart','fontColor','symbol','dataPointShape','seriesStyleMap','style','addRange','setOptions','chartType','getChartModel','titles.yAxisTitle.bold','setDataPointColor','setChartType','11326080CjSRvw','map','titles.title.fontSize','showLabelLine','get','height','asRadarChart','_workbook','pie.rosePie','xAxis.label.axisTitleAlign','point','updateChart','range','gradientFill','320IsQgmu','setPosition','setHasPaddingAngle','width','setRightYAxisTextStyle','titleAlignment','fontStyle','titles.title.align','setHeight','titles.xAxisTitle.color','registerTheme','yAxis','getChartType','position','titles.xAxisTitle.font','setBorderColor','backgroundColor','series','indicatorLineType','length','titles.yAxisTitle.family','16855fgalCs','label','setTheme','titles.xAxisTitle.bold','titles.xAxisTitle.family','indicatorLabelColor','setDoughnutHole','getRangeInfo','subUnitId','color','setXAxisTitle','defineProperty','content','tooltip.indicatorLineColor','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','titles.rightYAxisTitle.font','axisPointer','title','getUnitId','5166413WjQxgX','dataSource','76716dOEZDd','indicatorLineColor','italic','legend.label.fontSize','UNIVER_SHEET','transposeRowsAndColumns','getSheetId','setDataPointShape','tooltip.indicatorLabelColor','doughnutHole'];_0x4d8f=function(){return _0x56378a;};return _0x4d8f();}import{setProperty as _0x340f55,SheetsChartService as _0x442ada,ChartUpdateSourceCommand as _0x18b6ae,ChartUpdateConfigCommand as _0x24732b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x5c5dae}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x375c04,IUniverInstanceService as _0x1e9419,UniverInstanceType as _0x5490d6,generateRandomId as _0x257305,DrawingTypeEnum as _0x4c014f}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x548ec0}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x392652}from'@univerjs/sheets/facade';import{FBase as _0x543c58,FEnum as _0x3cfbf9}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x3dd2bd}from'@univerjs/engine-formula';import{IRenderManagerService as _0x26115f}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x2a1f1e,SheetSkeletonManagerService as _0x1fa45e,convertPositionCellToSheetOverGrid as _0x2ea764}from'@univerjs/sheets-ui';const s=(_0x32470f,_0xa24fd1,_0xdcbfba)=>{_0xdcbfba!==void 0x0&&_0x340f55(_0x32470f,_0xa24fd1,_0xdcbfba);},C=(_0x3ecd80,_0x46f202,_0x15d552,_0x4e39bb={})=>{const _0x28222e=_0x3c1d27,_0x40fc70={},_0x32f389={};if(_0x4e39bb[_0x28222e(0x14c)]){const _0x709331=_0x4e39bb['title'];s(_0x40fc70,_0x28222e(0x178),_0x709331[_0x28222e(0x147)]),s(_0x40fc70,_0x28222e(0xd9),_0x709331[_0x28222e(0xda)]),s(_0x40fc70,_0x28222e(0x11a),_0x709331[_0x28222e(0x169)]),s(_0x40fc70,'titles.title.color',_0x709331[_0x28222e(0x10c)]),s(_0x40fc70,'titles.title.family',_0x709331[_0x28222e(0x12c)]),s(_0x40fc70,_0x28222e(0x175),_0x709331[_0x28222e(0xc2)]),s(_0x40fc70,_0x28222e(0x12d),_0x709331[_0x28222e(0x12b)]),s(_0x40fc70,_0x28222e(0xdf),_0x709331[_0x28222e(0x133)]);}if(_0x4e39bb['legend']){const _0x15236d=_0x4e39bb[_0x28222e(0xf6)];s(_0x40fc70,_0x28222e(0x17f),_0x15236d[_0x28222e(0x133)]),s(_0x40fc70,_0x28222e(0x15b),_0x15236d[_0x28222e(0xc5)]),s(_0x40fc70,_0x28222e(0x153),_0x15236d[_0x28222e(0x169)]),s(_0x40fc70,_0x28222e(0xfa),_0x15236d[_0x28222e(0x144)]),s(_0x40fc70,'legend.label.bold',_0x15236d[_0x28222e(0xc2)]),s(_0x40fc70,_0x28222e(0xef),_0x15236d[_0x28222e(0x152)]);}if(_0x4e39bb['pie']){const _0x4d42fd=_0x4e39bb[_0x28222e(0xe5)];s(_0x40fc70,_0x28222e(0xff),_0x4d42fd['doughnutHole']),s(_0x40fc70,_0x28222e(0xcd),_0x4d42fd[_0x28222e(0x104)]),s(_0x40fc70,_0x28222e(0xbd),_0x4d42fd[_0x28222e(0x16b)]),s(_0x40fc70,'pie.isHalfPie',_0x4d42fd['isHalfPie']),s(_0x40fc70,_0x28222e(0x120),_0x4d42fd[_0x28222e(0x176)]),s(_0x40fc70,_0x28222e(0xf4),_0x4d42fd[_0x28222e(0x11b)]);}if(_0x4e39bb['axisPointer']){const _0xc0c012=_0x4e39bb['axisPointer'];s(_0x40fc70,_0x28222e(0x158),_0xc0c012[_0x28222e(0x140)]),s(_0x40fc70,_0x28222e(0x17e),_0xc0c012[_0x28222e(0x138)]),s(_0x40fc70,_0x28222e(0x148),_0xc0c012[_0x28222e(0x151)]),s(_0x40fc70,'tooltip.indicatorLabelTextColor',_0xc0c012['indicatorLabelTextColor']);}if(_0x4e39bb['allSeriesStyle']&&(s(_0x40fc70,_0x28222e(0x164),_0x4e39bb[_0x28222e(0xcb)][_0x28222e(0xc1)]),s(_0x40fc70,'allSeriesStyle.label',_0x4e39bb[_0x28222e(0xcb)][_0x28222e(0x13c)]),s(_0x40fc70,_0x28222e(0xc8),_0x4e39bb[_0x28222e(0xcb)]['rightYAxis']),s(_0x40fc70,'allSeriesStyle.point',_0x4e39bb['allSeriesStyle'][_0x28222e(0x122)]),s(_0x40fc70,_0x28222e(0xce),_0x4e39bb[_0x28222e(0xcb)][_0x28222e(0x144)])),_0x4e39bb[_0x28222e(0x170)]&&s(_0x40fc70,_0x28222e(0x102),_0x4e39bb[_0x28222e(0x170)][_0x28222e(0xcf)]),_0x4e39bb['theme']&&s(_0x40fc70,_0x28222e(0xd6),_0x4e39bb['theme']),_0x4e39bb[_0x28222e(0x136)]&&s(_0x40fc70,'backgroundColor',_0x4e39bb[_0x28222e(0x136)]),_0x4e39bb[_0x28222e(0x104)]&&s(_0x40fc70,'borderColor',_0x4e39bb['borderColor']),_0x4e39bb['gradientFill']&&s(_0x40fc70,_0x28222e(0x125),_0x4e39bb[_0x28222e(0x125)]),_0x4e39bb[_0x28222e(0x163)]&&s(_0x40fc70,'invalidValueType',_0x4e39bb[_0x28222e(0x163)]),_0x4e39bb[_0x28222e(0xde)]&&s(_0x40fc70,_0x28222e(0xde),_0x4e39bb['radar']),_0x4e39bb[_0x28222e(0xdc)]){const _0x479f4b=_0x4e39bb[_0x28222e(0xdc)];s(_0x40fc70,_0x28222e(0xf8),_0x479f4b[_0x28222e(0x147)]),s(_0x40fc70,_0x28222e(0x134),_0x479f4b[_0x28222e(0xda)]),s(_0x40fc70,_0x28222e(0xfb),_0x479f4b['fontSize']),s(_0x40fc70,_0x28222e(0x12f),_0x479f4b[_0x28222e(0x10c)]),s(_0x40fc70,_0x28222e(0x13f),_0x479f4b[_0x28222e(0x12c)]),s(_0x40fc70,_0x28222e(0x13e),_0x479f4b[_0x28222e(0xc2)]),s(_0x40fc70,_0x28222e(0x121),_0x479f4b['axisAlignment']);}if(_0x4e39bb[_0x28222e(0xec)]){const _0x1493d5=_0x4e39bb['yAxisTitle'];s(_0x40fc70,_0x28222e(0x10a),_0x1493d5[_0x28222e(0x147)]),s(_0x40fc70,_0x28222e(0x17c),_0x1493d5[_0x28222e(0xda)]),s(_0x40fc70,'titles.yAxisTitle.fontSize',_0x1493d5[_0x28222e(0x169)]),s(_0x40fc70,'titles.yAxisTitle.color',_0x1493d5[_0x28222e(0x10c)]),s(_0x40fc70,_0x28222e(0x13a),_0x1493d5[_0x28222e(0x12c)]),s(_0x40fc70,_0x28222e(0x115),_0x1493d5[_0x28222e(0xc2)]),s(_0x40fc70,_0x28222e(0x166),_0x1493d5[_0x28222e(0x16d)]);}if(_0x4e39bb[_0x28222e(0x160)]){const _0x371c61=_0x4e39bb['rightYAxisTitle'];s(_0x40fc70,_0x28222e(0x101),_0x371c61[_0x28222e(0x147)]),s(_0x40fc70,_0x28222e(0x14a),_0x371c61[_0x28222e(0xda)]),s(_0x40fc70,'titles.rightYAxisTitle.fontSize',_0x371c61[_0x28222e(0x169)]),s(_0x40fc70,_0x28222e(0xee),_0x371c61[_0x28222e(0x10c)]),s(_0x40fc70,_0x28222e(0xd2),_0x371c61[_0x28222e(0x12c)]),s(_0x40fc70,_0x28222e(0x17d),_0x371c61['bold']),s(_0x40fc70,'rightYAxis.label.axisTitleAlign',_0x371c61[_0x28222e(0x16d)]);}_0x4e39bb['xAxis']&&s(_0x40fc70,_0x28222e(0x103),_0x4e39bb[_0x28222e(0x103)]),_0x4e39bb[_0x28222e(0x131)]&&s(_0x40fc70,_0x28222e(0x131),_0x4e39bb[_0x28222e(0x131)]),_0x4e39bb[_0x28222e(0x15f)]&&s(_0x40fc70,_0x28222e(0x174),_0x4e39bb['yRightAxis']),_0x4e39bb['seriesStyleMap']&&s(_0x40fc70,'seriesStyleMap',_0x4e39bb[_0x28222e(0x10f)]);const _0x3d84c1={'unitId':_0x3ecd80,'chartModelId':_0x46f202};let _0x4697b2=!0x1;if(_0x15d552!==void 0x0&&(_0x3d84c1[_0x28222e(0x113)]=_0x15d552,_0x4697b2=!0x0),Object[_0x28222e(0x17a)](_0x40fc70)[_0x28222e(0x139)]>0x0&&(_0x3d84c1[_0x28222e(0x110)]=_0x40fc70,_0x4697b2=!0x0),Object[_0x28222e(0x17a)](_0x32f389)[_0x28222e(0x139)]>0x0&&(_0x3d84c1[_0x28222e(0xf7)]=_0x32f389,_0x4697b2=!0x0),_0x4697b2)return _0x3d84c1;};class c extends _0x543c58{constructor(_0x2b1b44,_0x20f66e,_0x11e813,_0x9d9c8c,_0x3e3379){const _0x2ddc7e=_0x3c1d27;super(),n(this,_0x2ddc7e(0x11f)),n(this,_0x2ddc7e(0x15d)),n(this,_0x2ddc7e(0xc9)),n(this,'subUnitId'),n(this,_0x2ddc7e(0xd7)),n(this,_0x2ddc7e(0x124)),n(this,_0x2ddc7e(0xf2)),n(this,'x'),n(this,'y'),n(this,_0x2ddc7e(0x129)),n(this,_0x2ddc7e(0x11d)),n(this,_0x2ddc7e(0x113)),n(this,_0x2ddc7e(0xd5)),n(this,_0x2ddc7e(0x155)),(this[_0x2ddc7e(0xc9)]=_0x2b1b44,this[_0x2ddc7e(0x143)]=_0x20f66e,this[_0x2ddc7e(0x11f)]=_0x11e813,this[_0x2ddc7e(0x15d)]=_0x9d9c8c,_0x3e3379&&(this[_0x2ddc7e(0xd7)]=_0x3e3379));}[_0x3c1d27(0x132)](){const _0x3782c8=_0x3c1d27;return this[_0x3782c8(0x113)];}[_0x3c1d27(0x111)](_0x4f8283){const _0x14807e=_0x3c1d27;if(typeof _0x4f8283==_0x14807e(0xf1)){const _0x56a549=_0x3dd2bd(_0x4f8283);_0x56a549[_0x14807e(0x168)]&&(this[_0x14807e(0xf2)]=_0x56a549['sheetName']),this[_0x14807e(0x124)]=_0x56a549[_0x14807e(0x124)];}else this[_0x14807e(0x124)]=_0x4f8283;return this;}['clearRange'](){const _0x36c15c=_0x3c1d27;return this[_0x36c15c(0x124)]=void 0x0,this[_0x36c15c(0xf2)]=void 0x0,this;}[_0x3c1d27(0x127)](_0x55a3d9,_0x2e7a16,_0x300137,_0x1d6f8a){const _0x4668e3=_0x3c1d27,_0x323a66=this[_0x4668e3(0x15d)][_0x4668e3(0x11c)](_0x26115f)[_0x4668e3(0xc4)](this[_0x4668e3(0xc9)]);if(!_0x323a66)throw new Error(_0x4668e3(0xd4));const _0x5518a9=_0x323a66[_0x4668e3(0x173)](_0x2a1f1e),_0x2c434c=_0x323a66[_0x4668e3(0x173)](_0x1fa45e),{transform:_0x3b31ca}=_0x2ea764(this['unitId'],this[_0x4668e3(0x143)],{'row':_0x55a3d9,'column':_0x2e7a16,'rowOffset':_0x300137,'columnOffset':_0x1d6f8a},0x1,0x1,_0x5518a9,_0x2c434c),_0x1279be=_0x3b31ca['top'],_0x49ebdc=_0x3b31ca[_0x4668e3(0x107)];return this['x']=_0x49ebdc,this['y']=_0x1279be,this;}[_0x3c1d27(0x108)](_0xd235fd,_0x1e4d37){return this['x']=_0xd235fd,this['y']=_0x1e4d37,this;}[_0x3c1d27(0x117)](_0x39731d){const _0x48a322=_0x3c1d27;return this[_0x48a322(0x113)]=_0x39731d,this;}['setWidth'](_0x3b8ba2){const _0x2fbb3b=_0x3c1d27;return this[_0x2fbb3b(0x129)]=_0x3b8ba2,this;}[_0x3c1d27(0x12e)](_0x5c1b2d){const _0x18f76f=_0x3c1d27;return this[_0x18f76f(0x11d)]=_0x5c1b2d,this;}[_0x3c1d27(0x112)](_0x2ffe94,_0x5ef241){const _0x513ad9=_0x3c1d27;return this[_0x513ad9(0xd5)]||(this[_0x513ad9(0xd5)]={}),_0x2ffe94===''?(this[_0x513ad9(0xd5)]={...this[_0x513ad9(0xd5)],..._0x5ef241},this):(_0x340f55(this[_0x513ad9(0xd5)],_0x2ffe94,_0x5ef241),this);}[_0x3c1d27(0xc3)](_0x54d74b){const _0x4ccc77=_0x3c1d27;return this[_0x4ccc77(0x155)]=_0x54d74b,this;}[_0x3c1d27(0x13d)](_0x16b10b){const _0x4698d4=_0x3c1d27;return this[_0x4698d4(0x112)](_0x4698d4(0xd6),_0x16b10b),this;}[_0x3c1d27(0x145)](_0x3fce56){const _0x461efc=_0x3c1d27;var _0x433fe0;const _0x2f051c=((_0x433fe0=this[_0x461efc(0xd5)])==null?void 0x0:_0x433fe0['xAxisTitle'])||{};return _0x2f051c[_0x461efc(0x147)]=_0x3fce56,this['setOptions']('xAxisTitle',_0x2f051c),this;}['setYAxisTitle'](_0x26403d){const _0xe1b931=_0x3c1d27;var _0x4aaf0c;const _0x4e72b1=((_0x4aaf0c=this['options'])==null?void 0x0:_0x4aaf0c[_0xe1b931(0xec)])||{};return _0x4e72b1[_0xe1b931(0x147)]=_0x26403d,this[_0xe1b931(0x112)](_0xe1b931(0xec),_0x4e72b1),this;}[_0x3c1d27(0xc0)](_0x3aa3f4){const _0x489c30=_0x3c1d27;var _0x44463c;const _0x2eb3bd=((_0x44463c=this[_0x489c30(0xd5)])==null?void 0x0:_0x44463c[_0x489c30(0x160)])||{};return _0x2eb3bd['content']=_0x3aa3f4,this[_0x489c30(0x112)](_0x489c30(0x160),_0x2eb3bd),this;}[_0x3c1d27(0xbf)](_0x195d4d){const _0x5ab979=_0x3c1d27;var _0x10dc99;const _0x2488c9=((_0x10dc99=this[_0x5ab979(0xd5)])==null?void 0x0:_0x10dc99[_0x5ab979(0xdc)])||{};return this[_0x5ab979(0x112)](_0x5ab979(0xdc),{..._0x2488c9,..._0x195d4d}),this;}[_0x3c1d27(0xbb)](_0x4681a3){const _0xe57607=_0x3c1d27;var _0x41bb5e;const _0x508459=((_0x41bb5e=this[_0xe57607(0xd5)])==null?void 0x0:_0x41bb5e[_0xe57607(0xec)])||{};return this[_0xe57607(0x112)](_0xe57607(0xec),{..._0x508459,..._0x4681a3}),this;}[_0x3c1d27(0x12a)](_0x4e3126){const _0x54493f=_0x3c1d27;var _0x149515;const _0x3949c4=((_0x149515=this[_0x54493f(0xd5)])==null?void 0x0:_0x149515[_0x54493f(0x160)])||{};return this[_0x54493f(0x112)](_0x54493f(0x160),{..._0x3949c4,..._0x4e3126}),this;}[_0x3c1d27(0xd1)](_0x3fc227){return this['setOptions']('invalidValueType',_0x3fc227),this;}[_0x3c1d27(0xf5)](_0x3dd33a){const _0x240536=_0x3c1d27;return this['setOptions'](_0x240536(0x14b),_0x3dd33a),this;}[_0x3c1d27(0x15a)](_0x5bf906){const _0x5b11be=_0x3c1d27;return this[_0x5b11be(0x112)](_0x5b11be(0xcb),_0x5bf906),this;}[_0x3c1d27(0xe2)](_0x1afa5b,_0x4e5c57){const _0x540e1e=_0x3c1d27;return this[_0x540e1e(0x112)](_0x540e1e(0x10f),{[_0x1afa5b]:_0x4e5c57}),this;}[_0x3c1d27(0xd0)](){const _0x5e34bb=_0x3c1d27;return{'unitId':this[_0x5e34bb(0xc9)],'subUnitId':this[_0x5e34bb(0x143)],'chartId':this[_0x5e34bb(0xd7)],'range':this[_0x5e34bb(0x124)],'sourceSheetName':this[_0x5e34bb(0xf2)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this['height'],'chartType':this['chartType'],'options':this[_0x5e34bb(0xd5)],'isRowDirection':this[_0x5e34bb(0x155)]};}}class P{constructor(_0x420e3a,_0x145a7c,_0x359bb5,_0x1e44fd){const _0x289654=_0x3c1d27;n(this,_0x289654(0xc9)),n(this,'subUnitId'),n(this,_0x289654(0xd7)),n(this,_0x289654(0x15d)),(this[_0x289654(0xc9)]=_0x420e3a,this[_0x289654(0x143)]=_0x145a7c,this[_0x289654(0xd7)]=_0x359bb5,this[_0x289654(0x15d)]=_0x1e44fd);}[_0x3c1d27(0x105)](){const _0x113472=_0x3c1d27;return this[_0x113472(0xd7)];}[_0x3c1d27(0x16c)](){const _0x3a8124=_0x3c1d27,_0x5c8c58=this['_injector']['get'](_0x442ada)[_0x3a8124(0x114)](this[_0x3a8124(0xd7)]);if(_0x5c8c58)return _0x5c8c58[_0x3a8124(0x14f)][_0x3a8124(0x142)]();}[_0x3c1d27(0x162)](_0xd25701){const _0x4496f3=_0x3c1d27;return this[_0x4496f3(0x15d)]['get'](_0x375c04)[_0x4496f3(0x161)](_0x18b6ae['id'],{'unitId':this[_0x4496f3(0xc9)],'chartModelId':this[_0x4496f3(0xd7)],'range':_0xd25701});}[_0x3c1d27(0xfe)](){const _0x315fb5=_0x3c1d27;var _0x4822e1;const _0xb449a8=this[_0x315fb5(0x15d)][_0x315fb5(0x11c)](_0x442ada)[_0x315fb5(0x114)](this[_0x315fb5(0xd7)]);if(_0xb449a8)return(_0x4822e1=_0xb449a8['config'])==null?void 0x0:_0x4822e1[_0x315fb5(0x137)];}[_0x3c1d27(0xf3)](){const _0x591b51=_0x3c1d27;var _0x2f87f2;const _0x5ef5dd=this['_injector'][_0x591b51(0x11c)](_0x442ada)['getChartModel'](this[_0x591b51(0xd7)]);if(_0x5ef5dd)return(_0x2f87f2=_0x5ef5dd[_0x591b51(0x16a)])==null?void 0x0:_0x2f87f2[_0x591b51(0xd8)];}[_0x3c1d27(0xe3)](){const _0x4c0e2a=_0x3c1d27,_0x48d496=this[_0x4c0e2a(0x15d)][_0x4c0e2a(0x11c)](_0x1e9419)[_0x4c0e2a(0xe4)](_0x5490d6[_0x4c0e2a(0x154)]);return new c(this[_0x4c0e2a(0xc9)],this[_0x4c0e2a(0x143)],_0x48d496,this['_injector'],this[_0x4c0e2a(0xd7)]);}}class $ extends _0x392652{async[_0x3c1d27(0x15e)](_0x3ced29){const _0x38be70=_0x3c1d27;var _0x4c5546,_0x2fe8ff,_0x325812;const _0x25c4e3=_0x3ced29[_0x38be70(0xc9)]||this[_0x38be70(0xea)]()[_0x38be70(0x14d)](),_0x436452=_0x3ced29[_0x38be70(0x143)]||this[_0x38be70(0x156)](),_0x5876b6=_0x3ced29[_0x38be70(0xd7)]||_0x257305(),_0x429121=_0x3ced29[_0x38be70(0x113)],_0x3e23cc=_0x3ced29[_0x38be70(0x124)],_0x116806=_0x3ced29[_0x38be70(0xf2)],_0x240cec={'x':_0x3ced29['x'],'y':_0x3ced29['y']},_0x486e1a=_0x3ced29[_0x38be70(0x129)],_0x332920=_0x3ced29[_0x38be70(0x11d)],_0xe5623=(_0x4c5546=_0x3ced29['options'])==null?void 0x0:_0x4c5546[_0x38be70(0x136)],_0x5ace0d=(_0x2fe8ff=_0x3ced29['options'])==null?void 0x0:_0x2fe8ff['borderColor'],_0x4c0818=C(_0x25c4e3,_0x5876b6,_0x429121,_0x3ced29[_0x38be70(0xd5)]),_0x300dad=(_0x325812=_0x3ced29['isRowDirection'])!=null?_0x325812:!0x0;if(!_0x3e23cc)throw new Error(_0x38be70(0x149));return await this[_0x38be70(0xe6)][_0x38be70(0x161)](_0x5c5dae['id'],{'unitId':_0x25c4e3,'subUnitId':_0x436452,'chartId':_0x5876b6,'chartType':_0x429121,'range':_0x3e23cc,'sourceSheetName':_0x116806,'position':_0x240cec,'width':_0x486e1a,'height':_0x332920,'backgroundColor':_0xe5623,'borderColor':_0x5ace0d,'config':_0x4c0818,'isRowDirection':_0x300dad}),new P(_0x25c4e3,_0x436452,_0x5876b6,this[_0x38be70(0x15d)]);}[_0x3c1d27(0x123)](_0xbf19a7){const _0xbe324b=_0x3c1d27,{unitId:_0x4437dd,chartId:_0x1550ee,chartType:_0x210b4f,options:_0x49f690}=_0xbf19a7,_0x4568e1=C(_0x4437dd,_0x1550ee,_0x210b4f,_0x49f690);this[_0xbe324b(0xe6)][_0xbe324b(0x161)](_0x24732b['id'],_0x4568e1);}[_0x3c1d27(0xe0)](_0x5cbdc4){const _0xc4d352=_0x3c1d27;if(_0x5cbdc4)return new c(_0x5cbdc4['unitId'],_0x5cbdc4[_0xc4d352(0x143)],this[_0xc4d352(0x11f)],this[_0xc4d352(0x15d)],_0x5cbdc4[_0xc4d352(0xd7)]);const _0x479c98=this[_0xc4d352(0xea)]()['getUnitId'](),_0x56f9ce=this[_0xc4d352(0x156)]();return new c(_0x479c98,_0x56f9ce,this[_0xc4d352(0x11f)],this[_0xc4d352(0x15d)]);}['getCharts'](){const _0x2ad5e2=_0x3c1d27,_0x2f9d22=this['_injector'][_0x2ad5e2(0x11c)](_0x442ada),_0x4a6c50=this[_0x2ad5e2(0xea)]()[_0x2ad5e2(0x14d)]();return _0x2f9d22[_0x2ad5e2(0x15c)](_0x4a6c50,this[_0x2ad5e2(0x156)]())[_0x2ad5e2(0x119)](_0x5b2a83=>new P(_0x4a6c50,this[_0x2ad5e2(0x156)](),_0x5b2a83['id'],this[_0x2ad5e2(0x15d)]));}[_0x3c1d27(0xe8)](_0x35d06e){const _0x2ef58d=_0x3c1d27,_0x27fffc=_0x35d06e['unitId'],_0x4a22f4=_0x35d06e[_0x2ef58d(0x143)],_0x586064=_0x35d06e[_0x2ef58d(0xd7)],_0xfbea01={'unitId':_0x27fffc,'drawings':[{'unitId':_0x27fffc,'subUnitId':_0x4a22f4,'drawingId':_0x586064,'drawingType':_0x4c014f[_0x2ef58d(0xbe)]}]};return this[_0x2ef58d(0xe6)]['executeCommand'](_0x548ec0['id'],_0xfbea01);}['registerChartTheme'](_0x11986b,_0x2c4960){const _0x51787d=_0x3c1d27;this[_0x51787d(0x15d)][_0x51787d(0x11c)](_0xf959e3)[_0x51787d(0x130)](_0x11986b,_0x2c4960);}}_0x392652[_0x3c1d27(0xbc)]($);class tt extends _0x3cfbf9{get[_0x3c1d27(0x171)](){return _0x37529d;}get[_0x3c1d27(0xdd)](){return _0x323c95;}get['SelectModeEnum'](){return _0x209f30;}get[_0x3c1d27(0x172)](){return _0x5df00c;}get[_0x3c1d27(0xf0)](){return _0x1ff266;}get[_0x3c1d27(0xe7)](){return _0x2c1298;}get[_0x3c1d27(0xc7)](){return _0x1541cf;}get['RadarShape'](){return _0x18245f;}}_0x3cfbf9[_0x3c1d27(0xbc)](tt);class et extends c{constructor(_0x1d49a5,_0x9ef50f,_0x3370e3,_0x21f860,_0x24f1d7){const _0x54e44b=_0x3c1d27;super(_0x1d49a5,_0x9ef50f,_0x3370e3,_0x21f860,_0x24f1d7),n(this,_0x54e44b(0xcf)),n(this,_0x54e44b(0x10e)),n(this,_0x54e44b(0x167)),n(this,'dataPointSize');}[_0x3c1d27(0xcc)](_0x2e9737){const _0x5ac4a2=_0x3c1d27;return this[_0x5ac4a2(0xcf)]=_0x2e9737,this;}[_0x3c1d27(0x157)](_0x293bdf){const _0x4be0fc=_0x3c1d27;return this[_0x4be0fc(0x10e)]=_0x293bdf,this;}[_0x3c1d27(0x116)](_0x308e98){return this['dataPointColor']=_0x308e98,this;}[_0x3c1d27(0x165)](_0x3e2c4a){const _0xb32437=_0x3c1d27;return this[_0xb32437(0x17b)]=_0x3e2c4a,this;}[_0x3c1d27(0xd0)](){const _0x4c8d4f=_0x3c1d27,_0x332089=super[_0x4c8d4f(0xd0)]();_0x332089[_0x4c8d4f(0x113)]=_0x37529d['Line'];const _0x171d07=_0x332089['options']||{};return s(_0x171d07,_0x4c8d4f(0x102),this[_0x4c8d4f(0xcf)]),s(_0x171d07,_0x4c8d4f(0xca),this[_0x4c8d4f(0x10e)]),s(_0x171d07,_0x4c8d4f(0xdb),this[_0x4c8d4f(0x167)]),s(_0x171d07,_0x4c8d4f(0x16f),this[_0x4c8d4f(0x17b)]),_0x332089[_0x4c8d4f(0xd5)]=_0x171d07,_0x332089;}}function _0x236a(_0x39162e,_0x91d839){_0x39162e=_0x39162e-0xba;const _0x4d8f38=_0x4d8f();let _0x236a57=_0x4d8f38[_0x39162e];return _0x236a57;}class it extends c{[_0x3c1d27(0xc6)](){const _0x26eedc=_0x3c1d27;return new et(this[_0x26eedc(0xc9)],this[_0x26eedc(0x143)],this[_0x26eedc(0x11f)],this[_0x26eedc(0x15d)],this[_0x26eedc(0xd7)]);}}c['extend'](it);class st extends c{constructor(_0x5aa9a4,_0x4c54d5,_0x521696,_0x192baf,_0x49548a){const _0x144c41=_0x3c1d27;super(_0x5aa9a4,_0x4c54d5,_0x521696,_0x192baf,_0x49548a),n(this,_0x144c41(0x159)),n(this,_0x144c41(0x104)),n(this,'hasPaddingAngle'),n(this,'isHalfPie'),n(this,_0x144c41(0x176)),n(this,'showLabelLine');}[_0x3c1d27(0x141)](_0x154f74){const _0x11cabe=_0x3c1d27;return this[_0x11cabe(0x159)]=_0x154f74,this;}[_0x3c1d27(0x135)](_0x476b01){const _0x597ad1=_0x3c1d27;return this[_0x597ad1(0x104)]=_0x476b01,this;}[_0x3c1d27(0x128)](_0x5594b6){return this['hasPaddingAngle']=_0x5594b6,this;}[_0x3c1d27(0xf9)](_0x457bb8){const _0x19c80e=_0x3c1d27;return this[_0x19c80e(0x100)]=_0x457bb8,this;}[_0x3c1d27(0x16e)](_0x2ea1a6){const _0x4b9868=_0x3c1d27;return this[_0x4b9868(0x176)]=_0x2ea1a6,this;}['setShowLabelLine'](_0x459418){const _0x3fa4c4=_0x3c1d27;return this[_0x3fa4c4(0x11b)]=_0x459418,this;}[_0x3c1d27(0xd0)](){const _0x43ef14=_0x3c1d27,_0x19bcb9=super[_0x43ef14(0xd0)]();_0x19bcb9[_0x43ef14(0x113)]=_0x37529d[_0x43ef14(0xd3)];const _0xf6f53=_0x19bcb9[_0x43ef14(0xd5)]||{};return s(_0xf6f53,_0x43ef14(0xff),this['doughnutHole']),s(_0xf6f53,_0x43ef14(0xcd),this[_0x43ef14(0x104)]),s(_0xf6f53,'pie.hasPaddingAngle',this[_0x43ef14(0x16b)]),s(_0xf6f53,_0x43ef14(0xe9),this[_0x43ef14(0x100)]),s(_0xf6f53,_0x43ef14(0x120),this[_0x43ef14(0x176)]),s(_0xf6f53,_0x43ef14(0xf4),this[_0x43ef14(0x11b)]),_0x19bcb9[_0x43ef14(0xd5)]=_0xf6f53,_0x19bcb9;}}class rt extends c{[_0x3c1d27(0x10b)](){const _0x311a96=_0x3c1d27;return new st(this[_0x311a96(0xc9)],this['subUnitId'],this['_workbook'],this[_0x311a96(0x15d)],this[_0x311a96(0xd7)]);}}c[_0x3c1d27(0xbc)](rt);class ot extends c{constructor(_0x1ac9c8,_0x892441,_0xdb337f,_0x3ebb27,_0x4b64e7){const _0x1abfa4=_0x3c1d27;super(_0x1ac9c8,_0x892441,_0xdb337f,_0x3ebb27,_0x4b64e7),n(this,_0x1abfa4(0xba)),n(this,_0x1abfa4(0xeb));}[_0x3c1d27(0xfc)](_0x33064d){const _0x17712a=_0x3c1d27;return this[_0x17712a(0xba)]=_0x33064d,this;}['setFill'](_0x15513b){const _0x3d1fea=_0x3c1d27;return this[_0x3d1fea(0xeb)]=_0x15513b,this;}[_0x3c1d27(0xd0)](){const _0xe224b0=_0x3c1d27,_0x113bcf=super[_0xe224b0(0xd0)]();_0x113bcf[_0xe224b0(0x113)]=_0x37529d[_0xe224b0(0xfd)];const _0x16344f=_0x113bcf['options']||{};return s(_0x16344f,'radar.shape',this[_0xe224b0(0xba)]),s(_0x16344f,'radar.fill',this[_0xe224b0(0xeb)]),_0x113bcf[_0xe224b0(0xd5)]=_0x16344f,_0x113bcf;}}class nt extends c{[_0x3c1d27(0x11e)](){const _0x3b5ca7=_0x3c1d27;return new ot(this[_0x3b5ca7(0xc9)],this[_0x3b5ca7(0x143)],this[_0x3b5ca7(0x11f)],this[_0x3b5ca7(0x15d)],this[_0x3b5ca7(0xd7)]);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|