@univerjs-pro/sheets-chart-ui 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251220-0a5ea4d
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 +14 -14
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5d02(_0x7fde69,_0x392d1d){_0x7fde69=_0x7fde69-0xbf;const _0x570de7=_0x570d();let _0x5d027f=_0x570de7[_0x7fde69];return _0x5d027f;}function _0x570d(){const _0x119b7c=['貨幣類型','線類型','組合圖','柱狀圖','字段設置','重複詞雲標籤','顯示軸線','更多設置','空心箭頭','散點圖','{0}\x20形狀','累積占比系列','228CEPexs','{0}\x20大小','設置圖表','網格線和刻度線','副標題','自定義圖表','使用日期軸','7781760pblsKP','正值樣式','圓環孔','添加系列','標籤位置','漏斗圖','指示值','右Y軸標題','視覺映射範圍','移動平均','所有系列','面積圖','主網格線','多項式階數','97967IuULEM','漸變填充','詞雲形狀','日期軸僅在數據全部為日期格式時可用','12uWIdBa','累積占比','氣泡圖','小計圖例文本','刻度線位置','第一四分位數','瀑布圖','1527111gMMYJc','多邊形','氣泡標籤','最小值','趨勢線','百分比堆疊條形圖','圖表類型','數據範圍','堆疊方式','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','負數類型','趨勢線名稱','指示線類型','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','顯示小計','條形圖','X軸標題','使用右軸','垂直軸','R平方','{0}\x20類型','數據點','千分位符','標題對齊','指示線顏色','日期類型','雷達圖','空心圓角矩形','第三四分位數','環形圖','20suCDDT','数值后缀','百分比','圓角矩形','玫瑰圖','Y軸標題','插入圖表','趨勢線類型','圖表樣式','顯示標籤','桑基圖','圖表數據源必須包含多於1列和1欄。','氣泡大小','旋轉標籤','力導向選項','(空)','空心三角形','標籤文本','中位數','添加數據點','堆疊條形圖','詞雲圖','小計樣式','負值圖例文本','数值比例','趨勢線線類型','佈局類型','使用值作為節點大小','1004894lCHxEQ','{0}\x20粗細','打開圖表面板','小數位數','排列圖','空心正方形','463310RIrsyE','熱力圖','左對齊','主刻度線','負值樣式','編輯圖表','系列\x20{0}','顯示標籤線','標題文本','標題格式','節點距離','用直線連接數據點','正值圖例文本','三角形','指示標籤','力導向','日期格式將日期和時間系列數值顯示為日期值。','指示線','請先添加系列開始數據可視化','{0}\x20格式','圖例選擇模式','軸選項','1765596FDasIT','背景顏色','刻度線長度','添加趨勢線','標題位置','12RLfZjO','節點形狀','最大值','水平軸','正方形','顯示公式','開啟選中淡入特效','標籤旋轉','空心矩形','關係圖','顯示空單元格為','圖表和軸標題','多項式','1148934ksAUpD','36iexlqE','堆疊面積圖','刪除圖表','空心針形'];_0x570d=function(){return _0x119b7c;};return _0x570d();}const _0x562ef8=_0x5d02;(function(_0x4777ae,_0x3ffbc9){const _0x2143df=_0x5d02,_0xd5ccf4=_0x4777ae();while(!![]){try{const _0x8c2663=parseInt(_0x2143df(0x111))/0x1*(-parseInt(_0x2143df(0x115))/0x2)+parseInt(_0x2143df(0xeb))/0x3+-parseInt(_0x2143df(0xec))/0x4*(parseInt(_0x2143df(0xc3))/0x5)+-parseInt(_0x2143df(0xde))/0x6*(-parseInt(_0x2143df(0xd9))/0x7)+-parseInt(_0x2143df(0x103))/0x8+-parseInt(_0x2143df(0x11c))/0x9*(-parseInt(_0x2143df(0x13a))/0xa)+-parseInt(_0x2143df(0x156))/0xb*(-parseInt(_0x2143df(0xfc))/0xc);if(_0x8c2663===_0x3ffbc9)break;else _0xd5ccf4['push'](_0xd5ccf4['shift']());}catch(_0x2f73a5){_0xd5ccf4['push'](_0xd5ccf4['shift']());}}}(_0x570d,0x8aae6));const e={'chart':{'insertChart':_0x562ef8(0x140),'editChart':_0x562ef8(0xc8),'openChartPanel':_0x562ef8(0xbf),'deleteChart':_0x562ef8(0xee),'hideChartPanel':'隱藏圖表面板','setupChart':_0x562ef8(0xfe),'customChart':_0x562ef8(0x101),'default':'默認','reset':'重置','chartType':_0x562ef8(0x122),'themes':'主題','dataRange':_0x562ef8(0x123),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x562ef8(0x10d),'series':'系列','addSeries':_0x562ef8(0x106),'moreSettings':_0x562ef8(0xf7),'min':_0x562ef8(0x11f),'max':_0x562ef8(0xe0),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x562ef8(0xce)},'blank':_0x562ef8(0x149),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x562ef8(0xda),'chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x562ef8(0x100),'xAxisTitle':_0x562ef8(0x12c),'yAxisTitle':_0x562ef8(0x13f),'rightYAxisTitle':_0x562ef8(0x10a),'titleFormat':_0x562ef8(0xcc),'titleText':_0x562ef8(0xcb),'titlePosition':_0x562ef8(0xdd),'titleAlign':_0x562ef8(0x133)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x562ef8(0x112),'settingsLabels':{'switchToRowOrColumn':'切換列或欄','useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':_0x562ef8(0xe8)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x562ef8(0xc5),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x562ef8(0x142),'chartAndAxisTitles':_0x562ef8(0xe9),'legend':'圖例','legendSelectMode':_0x562ef8(0xd7),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x562ef8(0xd8),'horizontalAxis':_0x562ef8(0xe1),'verticalAxis':_0x562ef8(0x12e),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x562ef8(0x12d)},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x562ef8(0xff),'indicatorLine':_0x562ef8(0xd4),'indicatorLineType':_0x562ef8(0x128),'indicatorLineColor':_0x562ef8(0x134),'indicatorLabel':_0x562ef8(0xd1),'indicatorValue':_0x562ef8(0x109),'shape':{'polygon':_0x562ef8(0x11d),'circle':'圓形','square':_0x562ef8(0xe2),'triangle':_0x562ef8(0xd0),'diamond':'菱形','rect':'矩形','roundRect':_0x562ef8(0x13d),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x562ef8(0xc2),'emptyTriangle':_0x562ef8(0x14a),'emptyDiamond':'空心菱形','emptyRect':_0x562ef8(0xe6),'emptyRoundRect':_0x562ef8(0x137),'emptyPin':_0x562ef8(0xef),'emptyArrow':_0x562ef8(0xf8)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':'{0}\x20顏色','withThickness':_0x562ef8(0x157),'withType':_0x562ef8(0x130),'withSize':_0x562ef8(0xfd),'withShape':_0x562ef8(0xfa),'withFormat':_0x562ef8(0xd6),'dataPoint':'數據點','dataNodeShape':_0x562ef8(0xdf),'addDataPoint':_0x562ef8(0x14d),'point':_0x562ef8(0x131),'percentage':_0x562ef8(0x13c),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':_0x562ef8(0xf1),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x562ef8(0x10f),'text':'網格線'},'ticks':{'majorTick':_0x562ef8(0xc6),'tickPosition':_0x562ef8(0x119),'tickLength':_0x562ef8(0xdb)},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x562ef8(0xc9),'categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':_0x562ef8(0x143),'showDataLabels':'顯示數據標籤','padAngle':'扇形間距','halfPie':'半餅','rosePie':_0x562ef8(0x13e),'pieValScale':_0x562ef8(0x152),'pieValSuffix':_0x562ef8(0x13b),'pieDigitalFixed':_0x562ef8(0xc0),'showLabelLine':_0x562ef8(0xca),'reverseAxisOrder':'逆序軸','showAxisLine':_0x562ef8(0xf6),'labelPosition':_0x562ef8(0x107),'labelText':_0x562ef8(0x14b),'repeatWordCould':_0x562ef8(0xf5),'gap':'間隔','useAbsValue':'使用絕對值','labelRotate':_0x562ef8(0xe5),'wordCloudShape':_0x562ef8(0x113),'useDateAxis':_0x562ef8(0x102),'dateAxisTips':_0x562ef8(0x114)},'radar':{'fill':'填充'},'doughnutHole':_0x562ef8(0x105),'msg':{'invalidSource':_0x562ef8(0x145),'emptyTips':_0x562ef8(0xd5),'sankeyCircularTips':'桑基圖不能包含循環數據'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x562ef8(0x120),'displayName':'趨勢線名稱','addTrendLine':_0x562ef8(0xdc),'trendlineType':_0x562ef8(0x141),'trendlineName':_0x562ef8(0x127),'trendlineColor':'趨勢線顏色','trendlineThickness':'趨勢線粗細','trendlineDashType':_0x562ef8(0x153),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x562ef8(0x10c),'poly':_0x562ef8(0xea),'order':_0x562ef8(0x110),'period':'移動平均周期','showFormula':_0x562ef8(0xe3),'showR2':'顯示R平方','formula':'公式','r2':_0x562ef8(0x12f)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x562ef8(0x146),'label':_0x562ef8(0x11e),'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':_0x562ef8(0xe7),'auto':'自動','circular':'環形','force':_0x562ef8(0xd2),'useValueAsSymbolSize':_0x562ef8(0x155),'layoutType':_0x562ef8(0x154),'forceOptions':_0x562ef8(0x148),'repulsion':'斥力','gravity':'引力','edgeLength':_0x562ef8(0xcd),'rotateLabel':_0x562ef8(0x147),'emphasis':_0x562ef8(0xe4),'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'waterfall':{'stackType':_0x562ef8(0x124),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x562ef8(0x12a),'positiveStyle':_0x562ef8(0x104),'negativeStyle':_0x562ef8(0xc7),'subtotalStyle':_0x562ef8(0x150),'positiveLegendText':_0x562ef8(0xcf),'negativeLegendText':_0x562ef8(0x151),'subtotalLegendText':_0x562ef8(0x118)},'pareto':{'lineName':_0x562ef8(0x116),'lineSeries':_0x562ef8(0xfb),'barSeries':'長條圖系列'},'visualMapScope':_0x562ef8(0x10b),'boxplot':{'min':_0x562ef8(0x11f),'q1':_0x562ef8(0x11a),'median':_0x562ef8(0x14c),'q3':_0x562ef8(0x138),'max':_0x562ef8(0xe0)}},'chartTypes':{'line':'折線圖','area':_0x562ef8(0x10e),'areaStacked':_0x562ef8(0xed),'areaPercentStacked':'百分比堆疊面積圖','column':_0x562ef8(0xf3),'bar':_0x562ef8(0x12b),'barStacked':_0x562ef8(0x14e),'barPercentStacked':_0x562ef8(0x121),'pie':'餅圖','donut':_0x562ef8(0x139),'scatter':_0x562ef8(0xf9),'radar':_0x562ef8(0x136),'bubble':_0x562ef8(0x117),'stock':'股票圖','combination':_0x562ef8(0xf2),'wordCloud':_0x562ef8(0x14f),'funnel':_0x562ef8(0x108),'relation':_0x562ef8(0xe7),'waterfall':_0x562ef8(0x11b),'pareto':_0x562ef8(0xc1),'sankey':_0x562ef8(0x144),'heatmap':_0x562ef8(0xc4),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x562ef8(0x132),'fieldSetting':_0x562ef8(0xf4),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x562ef8(0x129),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x562ef8(0xd3),'thousandthPercentileDesc':_0x562ef8(0x125),'decimalPlaces':_0x562ef8(0xc0),'currencyTypes':_0x562ef8(0xf0),'negativeNumberTypes':_0x562ef8(0x126),'dateTypes':_0x562ef8(0x135)},'setFormat':'設置標籤格式'}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x459e6b=_0x2a94;(function(_0x3764fa,_0x851736){const _0xd72ae3=_0x2a94,_0x113abc=_0x3764fa();while(!![]){try{const _0x472dab=parseInt(_0xd72ae3(0x154))/0x1+-parseInt(_0xd72ae3(0x114))/0x2*(-parseInt(_0xd72ae3(0x1c0))/0x3)+parseInt(_0xd72ae3(0x16d))/0x4+-parseInt(_0xd72ae3(0x19f))/0x5+-parseInt(_0xd72ae3(0x11c))/0x6*(parseInt(_0xd72ae3(0x171))/0x7)+-parseInt(_0xd72ae3(0x1ac))/0x8*(-parseInt(_0xd72ae3(0x17e))/0x9)+-parseInt(_0xd72ae3(0x155))/0xa*(parseInt(_0xd72ae3(0x10f))/0xb);if(_0x472dab===_0x851736)break;else _0x113abc['push'](_0x113abc['shift']());}catch(_0x1d09be){_0x113abc['push'](_0x113abc['shift']());}}}(_0x46f5,0x9e74d));var R=Object[_0x459e6b(0x196)],k=(_0xeb0870,_0x44fb6f,_0x3442cd)=>_0x44fb6f in _0xeb0870?R(_0xeb0870,_0x44fb6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3442cd}):_0xeb0870[_0x44fb6f]=_0x3442cd,n=(_0x259590,_0x6b3095,_0x2678a1)=>k(_0x259590,typeof _0x6b3095!=_0x459e6b(0x150)?_0x6b3095+'':_0x6b3095,_0x2678a1);import{ChartThemeService as _0x116ea9,ChartTypeBits as _0x23d433,LegendPositionEnum as _0x5c1119,SelectModeEnum as _0x2b493e,AxisAlignEnum as _0x1b155c,ChartBorderDashType as _0x3ded6e,LinePointShape as _0x4a2521,TitlePositionEnum as _0x37aac5,RadarShape as _0x4da2e1}from'@univerjs-pro/engine-chart';import{setProperty as _0x4412aa,SheetsChartService as _0x1f890b,ChartUpdateSourceCommand as _0x59e7c4,ChartUpdateConfigCommand as _0x388897}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0xe6f8b6}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x3cc36e,IUniverInstanceService as _0x5aa793,UniverInstanceType as _0x27c51e,generateRandomId as _0x1e49d8,DrawingTypeEnum as _0x5ddc72}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x26e978}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x1bcecf}from'@univerjs/sheets/facade';import{FBase as _0x49e354,FEnum as _0x57e511}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x34391f}from'@univerjs/engine-formula';import{IRenderManagerService as _0x469fdc}from'@univerjs/engine-render';function _0x46f5(){const _0xc2b8a4=['pie','ChartType','lineStyle','context','LegendPositionEnum','dataPointSize','setHasPaddingAngle','setSeriesStyle','getSheetId','_workbook','borderColor','pie.rosePie','titles.title.content','build','9567HFLKHE','keys','legend','tooltip.indicatorLabelTextColor','299332dMcmMa','DRAWING_CHART','titles.yAxisTitle.bold','gradientFill','invalidValueType','458RZrGxk','dataPointShape','setRosePie','chartType','asPieChart','rosePie','doughnutHole','position','12lOAVSV','radar','tooltip.indicatorLabelColor','getWorkbook','setShowLabelLine','RadarShape','UNIVER_SHEET','pie.borderColor','pie.isHalfPie','setOptions','indicatorLabelColor','getUnitChartModels','legend.label.italic','font','theme','setDataPointShape','indicatorLineType','registerChartTheme','allSeriesStyle.border','asLineChart','content','left','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','shape','get','titleAlignment','setAllSeriesStyle','map','legend.label.bold','extend','options','legend.position','getCurrentUnitForType','pie.doughnutHole','pie.showLabelLine','getSeriesData','setDataPointColor','label','sourceSheetName','registerTheme','setAbsolutePosition','xAxis','style','allSeriesStyle.rightYAxis','pie.hasPaddingAngle','fontSize','getRange','getChartId','xAxis.label.axisTitleAlign','setLineStyle','titles.rightYAxisTitle.family','getCategoryData','symbol','with','selectMode','radar.shape','978035fEEoiq','390QUnYta','tooltip.indicatorLineColor','setChartType','legend.label.color','titles.yAxisTitle.fontSize','config','_commandService','setPosition','setXAxisTextStyle','updateChart','bold','setInvalidValueStrategy','titles.titlePosition','fill','clearRange','titles.title.color','showLabelLine','allSeriesStyle.color','titles.yAxisTitle.color','allSeriesStyle','yRightAxis','titles.rightYAxisTitle.font','yAxisTitle','axisAlignment','463216WsXWNj','titles.title.align','getRangeInfo','unitId','975548gXdvTu','getChartType','hasPaddingAngle','transposeRowsAndColumns','removeChart','allSeriesStyle.point.size','_injector','setYAxisTitle','modify','yAxis','setBorderColor','Pie','xAxisTitle','9jcYVxQ','setDataPointSize','titles.xAxisTitle.font','range','executeCommand','getRenderById','titles.rightYAxisTitle.bold','setTransposeRowsAndColumns','insertChart','chartId','isHalfPie','Radar','rightYAxisTitle','area.lineStyle','top','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','width','ChartBorderDashType','height','titles.xAxisTitle.bold','getUnitId','dataPointColor','color','allSeriesStyle.point','defineProperty','getChartModel','area','backgroundColor','titles.title.fontSize','setHeight','titles.yAxisTitle.content','getCharts','titles.title.font','1005410xMWEmr','setRightYAxisTextStyle','fontColor','titles.xAxisTitle.content','rightYAxis','setXAxisTitle','titles.title.family','setTheme','subUnitId','titles.yAxisTitle.font','setRightYAxisTitle','title','isRowDirection','2927960DgKhXJ','axisPointer','titles.rightYAxisTitle.color','titles.rightYAxisTitle.content','fontStyle','legend.selectMode'];_0x46f5=function(){return _0xc2b8a4;};return _0x46f5();}import{ISheetSelectionRenderService as _0x54ee36,SheetSkeletonManagerService as _0x1ab284,convertPositionCellToSheetOverGrid as _0x362e11}from'@univerjs/sheets-ui';const s=(_0x26af2a,_0x4f072e,_0x235c6b)=>{_0x235c6b!==void 0x0&&_0x4412aa(_0x26af2a,_0x4f072e,_0x235c6b);},C=(_0x33a2f7,_0x57fee2,_0x3b40f5,_0x561f07={})=>{const _0x43060b=_0x459e6b,_0x4a12b4={},_0x41d4ef={};if(_0x561f07[_0x43060b(0x1aa)]){const _0x439e58=_0x561f07[_0x43060b(0x1aa)];s(_0x4a12b4,_0x43060b(0x1be),_0x439e58[_0x43060b(0x130)]),s(_0x4a12b4,_0x43060b(0x19e),_0x439e58[_0x43060b(0x129)]),s(_0x4a12b4,_0x43060b(0x19a),_0x439e58['fontSize']),s(_0x4a12b4,_0x43060b(0x164),_0x439e58[_0x43060b(0x1a1)]),s(_0x4a12b4,_0x43060b(0x1a5),_0x439e58[_0x43060b(0x1b0)]),s(_0x4a12b4,'titles.title.bold',_0x439e58[_0x43060b(0x15f)]),s(_0x4a12b4,_0x43060b(0x16e),_0x439e58[_0x43060b(0x135)]),s(_0x4a12b4,_0x43060b(0x161),_0x439e58['position']);}if(_0x561f07[_0x43060b(0x1c2)]){const _0x557e92=_0x561f07[_0x43060b(0x1c2)];s(_0x4a12b4,_0x43060b(0x13b),_0x557e92[_0x43060b(0x11b)]),s(_0x4a12b4,_0x43060b(0x1b1),_0x557e92[_0x43060b(0x152)]),s(_0x4a12b4,'legend.label.fontSize',_0x557e92[_0x43060b(0x149)]),s(_0x4a12b4,_0x43060b(0x158),_0x557e92[_0x43060b(0x194)]),s(_0x4a12b4,_0x43060b(0x138),_0x557e92[_0x43060b(0x15f)]),s(_0x4a12b4,_0x43060b(0x128),_0x557e92['italic']);}if(_0x561f07[_0x43060b(0x1b2)]){const _0xa90003=_0x561f07[_0x43060b(0x1b2)];s(_0x4a12b4,_0x43060b(0x13d),_0xa90003[_0x43060b(0x11a)]),s(_0x4a12b4,_0x43060b(0x123),_0xa90003[_0x43060b(0x1bc)]),s(_0x4a12b4,_0x43060b(0x148),_0xa90003['hasPaddingAngle']),s(_0x4a12b4,_0x43060b(0x124),_0xa90003[_0x43060b(0x188)]),s(_0x4a12b4,_0x43060b(0x1bd),_0xa90003[_0x43060b(0x119)]),s(_0x4a12b4,_0x43060b(0x13e),_0xa90003['showLabelLine']);}if(_0x561f07['axisPointer']){const _0x16792b=_0x561f07['axisPointer'];s(_0x4a12b4,_0x43060b(0x11e),_0x16792b[_0x43060b(0x126)]),s(_0x4a12b4,'tooltip.indicatorLineType',_0x16792b[_0x43060b(0x12c)]),s(_0x4a12b4,_0x43060b(0x156),_0x16792b['indicatorLineColor']),s(_0x4a12b4,_0x43060b(0x1c3),_0x16792b['indicatorLabelTextColor']);}if(_0x561f07[_0x43060b(0x168)]&&(s(_0x4a12b4,_0x43060b(0x12e),_0x561f07[_0x43060b(0x168)]['border']),s(_0x4a12b4,'allSeriesStyle.label',_0x561f07[_0x43060b(0x168)][_0x43060b(0x141)]),s(_0x4a12b4,_0x43060b(0x147),_0x561f07[_0x43060b(0x168)][_0x43060b(0x1a3)]),s(_0x4a12b4,_0x43060b(0x195),_0x561f07[_0x43060b(0x168)]['point']),s(_0x4a12b4,_0x43060b(0x166),_0x561f07[_0x43060b(0x168)][_0x43060b(0x194)])),_0x561f07[_0x43060b(0x198)]&&s(_0x4a12b4,_0x43060b(0x18b),_0x561f07['area'][_0x43060b(0x1b4)]),_0x561f07[_0x43060b(0x12a)]&&s(_0x4a12b4,_0x43060b(0x12a),_0x561f07['theme']),_0x561f07[_0x43060b(0x199)]&&s(_0x4a12b4,'backgroundColor',_0x561f07[_0x43060b(0x199)]),_0x561f07[_0x43060b(0x1bc)]&&s(_0x4a12b4,'borderColor',_0x561f07['borderColor']),_0x561f07[_0x43060b(0x112)]&&s(_0x4a12b4,'gradientFill',_0x561f07['gradientFill']),_0x561f07[_0x43060b(0x113)]&&s(_0x4a12b4,_0x43060b(0x113),_0x561f07[_0x43060b(0x113)]),_0x561f07['radar']&&s(_0x4a12b4,_0x43060b(0x11d),_0x561f07[_0x43060b(0x11d)]),_0x561f07[_0x43060b(0x17d)]){const _0x1c89e2=_0x561f07[_0x43060b(0x17d)];s(_0x4a12b4,_0x43060b(0x1a2),_0x1c89e2[_0x43060b(0x130)]),s(_0x4a12b4,_0x43060b(0x180),_0x1c89e2['font']),s(_0x4a12b4,'titles.xAxisTitle.fontSize',_0x1c89e2[_0x43060b(0x149)]),s(_0x4a12b4,'titles.xAxisTitle.color',_0x1c89e2[_0x43060b(0x1a1)]),s(_0x4a12b4,'titles.xAxisTitle.family',_0x1c89e2[_0x43060b(0x1b0)]),s(_0x4a12b4,_0x43060b(0x191),_0x1c89e2[_0x43060b(0x15f)]),s(_0x4a12b4,_0x43060b(0x14c),_0x1c89e2['axisAlignment']);}if(_0x561f07[_0x43060b(0x16b)]){const _0x48acac=_0x561f07['yAxisTitle'];s(_0x4a12b4,_0x43060b(0x19c),_0x48acac[_0x43060b(0x130)]),s(_0x4a12b4,_0x43060b(0x1a8),_0x48acac['font']),s(_0x4a12b4,_0x43060b(0x159),_0x48acac[_0x43060b(0x149)]),s(_0x4a12b4,_0x43060b(0x167),_0x48acac['fontColor']),s(_0x4a12b4,'titles.yAxisTitle.family',_0x48acac[_0x43060b(0x1b0)]),s(_0x4a12b4,_0x43060b(0x111),_0x48acac[_0x43060b(0x15f)]),s(_0x4a12b4,'yAxis.label.axisTitleAlign',_0x48acac[_0x43060b(0x16c)]);}if(_0x561f07[_0x43060b(0x18a)]){const _0x41296b=_0x561f07['rightYAxisTitle'];s(_0x4a12b4,_0x43060b(0x1af),_0x41296b[_0x43060b(0x130)]),s(_0x4a12b4,_0x43060b(0x16a),_0x41296b[_0x43060b(0x129)]),s(_0x4a12b4,'titles.rightYAxisTitle.fontSize',_0x41296b[_0x43060b(0x149)]),s(_0x4a12b4,_0x43060b(0x1ae),_0x41296b[_0x43060b(0x1a1)]),s(_0x4a12b4,_0x43060b(0x14e),_0x41296b[_0x43060b(0x1b0)]),s(_0x4a12b4,_0x43060b(0x184),_0x41296b[_0x43060b(0x15f)]),s(_0x4a12b4,'rightYAxis.label.axisTitleAlign',_0x41296b[_0x43060b(0x16c)]);}_0x561f07[_0x43060b(0x145)]&&s(_0x4a12b4,_0x43060b(0x145),_0x561f07[_0x43060b(0x145)]),_0x561f07['yAxis']&&s(_0x4a12b4,_0x43060b(0x17a),_0x561f07[_0x43060b(0x17a)]),_0x561f07['yRightAxis']&&s(_0x4a12b4,_0x43060b(0x1a3),_0x561f07[_0x43060b(0x169)]),_0x561f07['seriesStyleMap']&&s(_0x4a12b4,'seriesStyleMap',_0x561f07['seriesStyleMap']);const _0x1cadaf={'unitId':_0x33a2f7,'chartModelId':_0x57fee2};let _0x390fc4=!0x1;if(_0x3b40f5!==void 0x0&&(_0x1cadaf[_0x43060b(0x117)]=_0x3b40f5,_0x390fc4=!0x0),Object[_0x43060b(0x1c1)](_0x4a12b4)['length']>0x0&&(_0x1cadaf[_0x43060b(0x146)]=_0x4a12b4,_0x390fc4=!0x0),Object[_0x43060b(0x1c1)](_0x41d4ef)['length']>0x0&&(_0x1cadaf[_0x43060b(0x1b5)]=_0x41d4ef,_0x390fc4=!0x0),_0x390fc4)return _0x1cadaf;};class c extends _0x49e354{constructor(_0x27646f,_0x832130,_0x8cb708,_0x5b5a55,_0x5d741e){const _0x256c5d=_0x459e6b;super(),n(this,_0x256c5d(0x1bb)),n(this,_0x256c5d(0x177)),n(this,_0x256c5d(0x170)),n(this,_0x256c5d(0x1a7)),n(this,_0x256c5d(0x187)),n(this,_0x256c5d(0x181)),n(this,_0x256c5d(0x142)),n(this,'x'),n(this,'y'),n(this,_0x256c5d(0x18e)),n(this,_0x256c5d(0x190)),n(this,_0x256c5d(0x117)),n(this,_0x256c5d(0x13a)),n(this,_0x256c5d(0x174)),(this['unitId']=_0x27646f,this[_0x256c5d(0x1a7)]=_0x832130,this['_workbook']=_0x8cb708,this[_0x256c5d(0x177)]=_0x5b5a55,_0x5d741e&&(this['chartId']=_0x5d741e));}[_0x459e6b(0x172)](){const _0x5f8e8c=_0x459e6b;return this[_0x5f8e8c(0x117)];}['addRange'](_0x5db429){const _0x3d0992=_0x459e6b;if(typeof _0x5db429=='string'){const _0x4eeb80=_0x34391f(_0x5db429);_0x4eeb80['sheetName']&&(this[_0x3d0992(0x142)]=_0x4eeb80['sheetName']),this[_0x3d0992(0x181)]=_0x4eeb80[_0x3d0992(0x181)];}else this[_0x3d0992(0x181)]=_0x5db429;return this;}[_0x459e6b(0x163)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x459e6b(0x15c)](_0x3e2bd4,_0x572ee1,_0x25c8b2,_0x4650a3){const _0x2359c2=_0x459e6b,_0x2b6a21=this[_0x2359c2(0x177)]['get'](_0x469fdc)[_0x2359c2(0x183)](this[_0x2359c2(0x170)]);if(!_0x2b6a21)throw new Error(_0x2359c2(0x132));const _0x539d18=_0x2b6a21['with'](_0x54ee36),_0x433132=_0x2b6a21[_0x2359c2(0x151)](_0x1ab284),{transform:_0x1f7abf}=_0x362e11(this[_0x2359c2(0x170)],this[_0x2359c2(0x1a7)],{'row':_0x3e2bd4,'column':_0x572ee1,'rowOffset':_0x25c8b2,'columnOffset':_0x4650a3},0x1,0x1,_0x539d18,_0x433132),_0x347519=_0x1f7abf[_0x2359c2(0x18c)],_0xb8897e=_0x1f7abf[_0x2359c2(0x131)];return this['x']=_0xb8897e,this['y']=_0x347519,this;}[_0x459e6b(0x144)](_0x4c21ab,_0x403734){return this['x']=_0x4c21ab,this['y']=_0x403734,this;}[_0x459e6b(0x157)](_0x1fe2fe){const _0xa486a5=_0x459e6b;return this[_0xa486a5(0x117)]=_0x1fe2fe,this;}['setWidth'](_0x378680){const _0xf09c7c=_0x459e6b;return this[_0xf09c7c(0x18e)]=_0x378680,this;}[_0x459e6b(0x19b)](_0x28a868){return this['height']=_0x28a868,this;}['setOptions'](_0x5df67c,_0x3b1773){const _0x16586d=_0x459e6b;return this[_0x16586d(0x13a)]||(this[_0x16586d(0x13a)]={}),_0x5df67c===''?(this[_0x16586d(0x13a)]={...this['options'],..._0x3b1773},this):(_0x4412aa(this[_0x16586d(0x13a)],_0x5df67c,_0x3b1773),this);}[_0x459e6b(0x185)](_0x178192){return this['transposeRowsAndColumns']=_0x178192,this;}[_0x459e6b(0x1a6)](_0x5de991){const _0x597f87=_0x459e6b;return this['setOptions'](_0x597f87(0x12a),_0x5de991),this;}[_0x459e6b(0x1a4)](_0x44c2e1){const _0x1f1f8a=_0x459e6b;var _0x2afeec;const _0x1261f8=((_0x2afeec=this[_0x1f1f8a(0x13a)])==null?void 0x0:_0x2afeec['xAxisTitle'])||{};return _0x1261f8[_0x1f1f8a(0x130)]=_0x44c2e1,this[_0x1f1f8a(0x125)]('xAxisTitle',_0x1261f8),this;}[_0x459e6b(0x178)](_0x23a697){const _0x125a47=_0x459e6b;var _0x5defb6;const _0x1ad142=((_0x5defb6=this[_0x125a47(0x13a)])==null?void 0x0:_0x5defb6['yAxisTitle'])||{};return _0x1ad142[_0x125a47(0x130)]=_0x23a697,this[_0x125a47(0x125)](_0x125a47(0x16b),_0x1ad142),this;}[_0x459e6b(0x1a9)](_0x1757a4){const _0x3a0bb2=_0x459e6b;var _0x1592f3;const _0x1b8e29=((_0x1592f3=this[_0x3a0bb2(0x13a)])==null?void 0x0:_0x1592f3[_0x3a0bb2(0x18a)])||{};return _0x1b8e29['content']=_0x1757a4,this[_0x3a0bb2(0x125)](_0x3a0bb2(0x18a),_0x1b8e29),this;}[_0x459e6b(0x15d)](_0x4b9a2b){const _0x5158c5=_0x459e6b;var _0xb893a9;const _0x53d571=((_0xb893a9=this['options'])==null?void 0x0:_0xb893a9['xAxisTitle'])||{};return this['setOptions'](_0x5158c5(0x17d),{..._0x53d571,..._0x4b9a2b}),this;}['setYAxisTextStyle'](_0x4ab5a2){const _0x3ced0d=_0x459e6b;var _0x5a9a82;const _0x4b1ecc=((_0x5a9a82=this['options'])==null?void 0x0:_0x5a9a82[_0x3ced0d(0x16b)])||{};return this['setOptions']('yAxisTitle',{..._0x4b1ecc,..._0x4ab5a2}),this;}[_0x459e6b(0x1a0)](_0x2e68af){const _0x391531=_0x459e6b;var _0x217a39;const _0x4609f2=((_0x217a39=this[_0x391531(0x13a)])==null?void 0x0:_0x217a39[_0x391531(0x18a)])||{};return this['setOptions']('rightYAxisTitle',{..._0x4609f2,..._0x2e68af}),this;}[_0x459e6b(0x160)](_0x7a0497){const _0x32ca31=_0x459e6b;return this[_0x32ca31(0x125)](_0x32ca31(0x113),_0x7a0497),this;}['setAxisPointerStyle'](_0x1186bf){const _0x25804c=_0x459e6b;return this['setOptions'](_0x25804c(0x1ad),_0x1186bf),this;}[_0x459e6b(0x136)](_0x3888ac){const _0x38f555=_0x459e6b;return this[_0x38f555(0x125)](_0x38f555(0x168),_0x3888ac),this;}[_0x459e6b(0x1b9)](_0x31e250,_0x1ef17e){return this['setOptions']('seriesStyleMap',{[_0x31e250]:_0x1ef17e}),this;}['build'](){const _0x3704ca=_0x459e6b;return{'unitId':this['unitId'],'subUnitId':this[_0x3704ca(0x1a7)],'chartId':this[_0x3704ca(0x187)],'range':this['range'],'sourceSheetName':this[_0x3704ca(0x142)],'x':this['x'],'y':this['y'],'width':this[_0x3704ca(0x18e)],'height':this[_0x3704ca(0x190)],'chartType':this['chartType'],'options':this[_0x3704ca(0x13a)],'isRowDirection':this[_0x3704ca(0x174)]};}}class P{constructor(_0x39a70,_0xf2a6b2,_0x2ce374,_0x14e1d0){const _0x4d7e73=_0x459e6b;n(this,_0x4d7e73(0x170)),n(this,_0x4d7e73(0x1a7)),n(this,'chartId'),n(this,_0x4d7e73(0x177)),(this[_0x4d7e73(0x170)]=_0x39a70,this[_0x4d7e73(0x1a7)]=_0xf2a6b2,this['chartId']=_0x2ce374,this[_0x4d7e73(0x177)]=_0x14e1d0);}[_0x459e6b(0x14b)](){return this['chartId'];}[_0x459e6b(0x14a)](){const _0xacc077=_0x459e6b,_0x577dd2=this[_0xacc077(0x177)]['get'](_0x1f890b)[_0xacc077(0x197)](this[_0xacc077(0x187)]);if(_0x577dd2)return _0x577dd2['dataSource'][_0xacc077(0x16f)]();}['updateRange'](_0xb56e5e){const _0x5441cc=_0x459e6b;return this['_injector'][_0x5441cc(0x134)](_0x3cc36e)[_0x5441cc(0x182)](_0x59e7c4['id'],{'unitId':this['unitId'],'chartModelId':this[_0x5441cc(0x187)],'range':_0xb56e5e});}[_0x459e6b(0x13f)](){const _0x5d613a=_0x459e6b;var _0x2a4995;const _0x51c965=this['_injector'][_0x5d613a(0x134)](_0x1f890b)[_0x5d613a(0x197)](this['chartId']);if(_0x51c965)return(_0x2a4995=_0x51c965[_0x5d613a(0x15a)])==null?void 0x0:_0x2a4995['series'];}[_0x459e6b(0x14f)](){const _0x5a4573=_0x459e6b;var _0x5595e1;const _0x1de7bc=this['_injector'][_0x5a4573(0x134)](_0x1f890b)['getChartModel'](this[_0x5a4573(0x187)]);if(_0x1de7bc)return(_0x5595e1=_0x1de7bc['config'])==null?void 0x0:_0x5595e1['category'];}[_0x459e6b(0x179)](){const _0x1a3a03=_0x459e6b,_0x3c30a3=this[_0x1a3a03(0x177)]['get'](_0x5aa793)[_0x1a3a03(0x13c)](_0x27c51e[_0x1a3a03(0x122)]);return new c(this[_0x1a3a03(0x170)],this['subUnitId'],_0x3c30a3,this[_0x1a3a03(0x177)],this[_0x1a3a03(0x187)]);}}class $ extends _0x1bcecf{async[_0x459e6b(0x186)](_0x3a6b11){const _0x47e476=_0x459e6b;var _0x5ce12f,_0x2798b2,_0x349772;const _0x18b104=_0x3a6b11[_0x47e476(0x170)]||this[_0x47e476(0x11f)]()[_0x47e476(0x192)](),_0x2d6788=_0x3a6b11['subUnitId']||this[_0x47e476(0x1ba)](),_0x4e9f3c=_0x3a6b11[_0x47e476(0x187)]||_0x1e49d8(),_0x190777=_0x3a6b11[_0x47e476(0x117)],_0x59c242=_0x3a6b11[_0x47e476(0x181)],_0x3c187c=_0x3a6b11['sourceSheetName'],_0x296d25={'x':_0x3a6b11['x'],'y':_0x3a6b11['y']},_0x2916c6=_0x3a6b11[_0x47e476(0x18e)],_0x32dc97=_0x3a6b11['height'],_0x17715f=(_0x5ce12f=_0x3a6b11['options'])==null?void 0x0:_0x5ce12f[_0x47e476(0x199)],_0x24e522=(_0x2798b2=_0x3a6b11[_0x47e476(0x13a)])==null?void 0x0:_0x2798b2[_0x47e476(0x1bc)],_0x272566=C(_0x18b104,_0x4e9f3c,_0x190777,_0x3a6b11[_0x47e476(0x13a)]),_0x9a8aea=(_0x349772=_0x3a6b11[_0x47e476(0x1ab)])!=null?_0x349772:!0x0;if(!_0x59c242)throw new Error(_0x47e476(0x18d));return await this[_0x47e476(0x15b)][_0x47e476(0x182)](_0xe6f8b6['id'],{'unitId':_0x18b104,'subUnitId':_0x2d6788,'chartId':_0x4e9f3c,'chartType':_0x190777,'range':_0x59c242,'sourceSheetName':_0x3c187c,'position':_0x296d25,'width':_0x2916c6,'height':_0x32dc97,'backgroundColor':_0x17715f,'borderColor':_0x24e522,'config':_0x272566,'isRowDirection':_0x9a8aea}),new P(_0x18b104,_0x2d6788,_0x4e9f3c,this[_0x47e476(0x177)]);}[_0x459e6b(0x15e)](_0x3fc3a9){const _0x1a3848=_0x459e6b,{unitId:_0x2afa0f,chartId:_0x1a6cee,chartType:_0x1cb164,options:_0x47d0b1}=_0x3fc3a9,_0x176171=C(_0x2afa0f,_0x1a6cee,_0x1cb164,_0x47d0b1);this[_0x1a3848(0x15b)][_0x1a3848(0x182)](_0x388897['id'],_0x176171);}['newChart'](_0x272cf5){const _0x14710a=_0x459e6b;if(_0x272cf5)return new c(_0x272cf5[_0x14710a(0x170)],_0x272cf5[_0x14710a(0x1a7)],this[_0x14710a(0x1bb)],this[_0x14710a(0x177)],_0x272cf5[_0x14710a(0x187)]);const _0x32e217=this[_0x14710a(0x11f)]()['getUnitId'](),_0x152bf6=this[_0x14710a(0x1ba)]();return new c(_0x32e217,_0x152bf6,this[_0x14710a(0x1bb)],this[_0x14710a(0x177)]);}[_0x459e6b(0x19d)](){const _0xe7e63f=_0x459e6b,_0x30ed78=this[_0xe7e63f(0x177)]['get'](_0x1f890b),_0xd3584f=this['getWorkbook']()['getUnitId']();return _0x30ed78[_0xe7e63f(0x127)](_0xd3584f,this['getSheetId']())[_0xe7e63f(0x137)](_0x3f2149=>new P(_0xd3584f,this[_0xe7e63f(0x1ba)](),_0x3f2149['id'],this[_0xe7e63f(0x177)]));}[_0x459e6b(0x175)](_0x2a04be){const _0x54b1fb=_0x459e6b,_0x20723a=_0x2a04be[_0x54b1fb(0x170)],_0x346c2d=_0x2a04be[_0x54b1fb(0x1a7)],_0x4ab197=_0x2a04be['chartId'],_0x48ec3f={'unitId':_0x20723a,'drawings':[{'unitId':_0x20723a,'subUnitId':_0x346c2d,'drawingId':_0x4ab197,'drawingType':_0x5ddc72[_0x54b1fb(0x110)]}]};return this['_commandService']['executeCommand'](_0x26e978['id'],_0x48ec3f);}[_0x459e6b(0x12d)](_0x44f9fc,_0x19a540){const _0x340945=_0x459e6b;this[_0x340945(0x177)][_0x340945(0x134)](_0x116ea9)[_0x340945(0x143)](_0x44f9fc,_0x19a540);}}_0x1bcecf[_0x459e6b(0x139)]($);class tt extends _0x57e511{get[_0x459e6b(0x1b3)](){return _0x23d433;}get[_0x459e6b(0x1b6)](){return _0x5c1119;}get['SelectModeEnum'](){return _0x2b493e;}get['AxisAlignEnum'](){return _0x1b155c;}get[_0x459e6b(0x18f)](){return _0x3ded6e;}get['LinePointShape'](){return _0x4a2521;}get['TitlePositionEnum'](){return _0x37aac5;}get[_0x459e6b(0x121)](){return _0x4da2e1;}}function _0x2a94(_0x53764c,_0x413859){_0x53764c=_0x53764c-0x10f;const _0x46f533=_0x46f5();let _0x2a947f=_0x46f533[_0x53764c];return _0x2a947f;}_0x57e511[_0x459e6b(0x139)](tt);class et extends c{constructor(_0x5dd498,_0x4190f7,_0x20ec3b,_0x18a84b,_0x51ddb6){const _0x4af86c=_0x459e6b;super(_0x5dd498,_0x4190f7,_0x20ec3b,_0x18a84b,_0x51ddb6),n(this,'lineStyle'),n(this,_0x4af86c(0x115)),n(this,_0x4af86c(0x193)),n(this,_0x4af86c(0x1b7));}[_0x459e6b(0x14d)](_0xf667bb){const _0x13df89=_0x459e6b;return this[_0x13df89(0x1b4)]=_0xf667bb,this;}[_0x459e6b(0x12b)](_0x5049c5){const _0x36f24c=_0x459e6b;return this[_0x36f24c(0x115)]=_0x5049c5,this;}[_0x459e6b(0x140)](_0x59672f){const _0x4eeb47=_0x459e6b;return this[_0x4eeb47(0x193)]=_0x59672f,this;}[_0x459e6b(0x17f)](_0x58841b){const _0x8f359d=_0x459e6b;return this[_0x8f359d(0x1b7)]=_0x58841b,this;}[_0x459e6b(0x1bf)](){const _0x421ece=_0x459e6b,_0x1ad25f=super[_0x421ece(0x1bf)]();_0x1ad25f[_0x421ece(0x117)]=_0x23d433['Line'];const _0x34c30b=_0x1ad25f[_0x421ece(0x13a)]||{};return s(_0x34c30b,'area.lineStyle',this['lineStyle']),s(_0x34c30b,'allSeriesStyle.point.shape',this['dataPointShape']),s(_0x34c30b,'allSeriesStyle.point.color',this[_0x421ece(0x193)]),s(_0x34c30b,_0x421ece(0x176),this[_0x421ece(0x1b7)]),_0x1ad25f[_0x421ece(0x13a)]=_0x34c30b,_0x1ad25f;}}class it extends c{[_0x459e6b(0x12f)](){const _0x5ecbbe=_0x459e6b;return new et(this[_0x5ecbbe(0x170)],this[_0x5ecbbe(0x1a7)],this[_0x5ecbbe(0x1bb)],this[_0x5ecbbe(0x177)],this[_0x5ecbbe(0x187)]);}}c['extend'](it);class st extends c{constructor(_0xd93e4d,_0x462026,_0x75c5ac,_0x36efef,_0x478205){const _0x37f998=_0x459e6b;super(_0xd93e4d,_0x462026,_0x75c5ac,_0x36efef,_0x478205),n(this,_0x37f998(0x11a)),n(this,_0x37f998(0x1bc)),n(this,_0x37f998(0x173)),n(this,_0x37f998(0x188)),n(this,'rosePie'),n(this,'showLabelLine');}['setDoughnutHole'](_0x4fbadd){const _0x2317aa=_0x459e6b;return this[_0x2317aa(0x11a)]=_0x4fbadd,this;}[_0x459e6b(0x17b)](_0x181618){const _0x48eef8=_0x459e6b;return this[_0x48eef8(0x1bc)]=_0x181618,this;}[_0x459e6b(0x1b8)](_0x298c31){const _0x19ee8d=_0x459e6b;return this[_0x19ee8d(0x173)]=_0x298c31,this;}['setIsHalfPie'](_0x1ebcbd){return this['isHalfPie']=_0x1ebcbd,this;}[_0x459e6b(0x116)](_0x4b24af){const _0x32935a=_0x459e6b;return this[_0x32935a(0x119)]=_0x4b24af,this;}[_0x459e6b(0x120)](_0x313f25){const _0xbd90ba=_0x459e6b;return this[_0xbd90ba(0x165)]=_0x313f25,this;}[_0x459e6b(0x1bf)](){const _0x1730de=_0x459e6b,_0x498ed0=super['build']();_0x498ed0['chartType']=_0x23d433[_0x1730de(0x17c)];const _0x279b65=_0x498ed0[_0x1730de(0x13a)]||{};return s(_0x279b65,'pie.doughnutHole',this[_0x1730de(0x11a)]),s(_0x279b65,_0x1730de(0x123),this[_0x1730de(0x1bc)]),s(_0x279b65,_0x1730de(0x148),this['hasPaddingAngle']),s(_0x279b65,'pie.isHalfPie',this[_0x1730de(0x188)]),s(_0x279b65,_0x1730de(0x1bd),this[_0x1730de(0x119)]),s(_0x279b65,_0x1730de(0x13e),this['showLabelLine']),_0x498ed0[_0x1730de(0x13a)]=_0x279b65,_0x498ed0;}}class rt extends c{[_0x459e6b(0x118)](){const _0x32c488=_0x459e6b;return new st(this[_0x32c488(0x170)],this['subUnitId'],this[_0x32c488(0x1bb)],this[_0x32c488(0x177)],this[_0x32c488(0x187)]);}}c[_0x459e6b(0x139)](rt);class ot extends c{constructor(_0x3338de,_0x581da3,_0x3cc2f9,_0x46c120,_0x42117e){const _0x2f1492=_0x459e6b;super(_0x3338de,_0x581da3,_0x3cc2f9,_0x46c120,_0x42117e),n(this,_0x2f1492(0x133)),n(this,'fill');}['setShape'](_0xe9f02a){return this['shape']=_0xe9f02a,this;}['setFill'](_0x128b18){const _0x35f273=_0x459e6b;return this[_0x35f273(0x162)]=_0x128b18,this;}[_0x459e6b(0x1bf)](){const _0x131e9b=_0x459e6b,_0x1ebb67=super[_0x131e9b(0x1bf)]();_0x1ebb67[_0x131e9b(0x117)]=_0x23d433[_0x131e9b(0x189)];const _0x277eed=_0x1ebb67['options']||{};return s(_0x277eed,_0x131e9b(0x153),this[_0x131e9b(0x133)]),s(_0x277eed,'radar.fill',this['fill']),_0x1ebb67[_0x131e9b(0x13a)]=_0x277eed,_0x1ebb67;}}class nt extends c{['asRadarChart'](){const _0x109fce=_0x459e6b;return new ot(this['unitId'],this[_0x109fce(0x1a7)],this[_0x109fce(0x1bb)],this[_0x109fce(0x177)],this['chartId']);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|
|
1
|
+
const _0x90b167=_0x18f7;(function(_0x53eb2e,_0x552695){const _0x271314=_0x18f7,_0x21c199=_0x53eb2e();while(!![]){try{const _0x4a4f0a=-parseInt(_0x271314(0x14d))/0x1*(parseInt(_0x271314(0x1b1))/0x2)+-parseInt(_0x271314(0x1b8))/0x3+-parseInt(_0x271314(0x123))/0x4+-parseInt(_0x271314(0x133))/0x5*(parseInt(_0x271314(0x15a))/0x6)+-parseInt(_0x271314(0x16e))/0x7*(-parseInt(_0x271314(0x15e))/0x8)+-parseInt(_0x271314(0x1b6))/0x9+parseInt(_0x271314(0x1aa))/0xa;if(_0x4a4f0a===_0x552695)break;else _0x21c199['push'](_0x21c199['shift']());}catch(_0x4d7873){_0x21c199['push'](_0x21c199['shift']());}}}(_0x52df,0x6aabf));function _0x18f7(_0x22c069,_0x39e38b){_0x22c069=_0x22c069-0xfb;const _0x52df06=_0x52df();let _0x18f7da=_0x52df06[_0x22c069];return _0x18f7da;}var R=Object[_0x90b167(0x1a5)],k=(_0x52a582,_0x2c8a67,_0x3be926)=>_0x2c8a67 in _0x52a582?R(_0x52a582,_0x2c8a67,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3be926}):_0x52a582[_0x2c8a67]=_0x3be926,n=(_0x2a07df,_0x19106d,_0x18e1be)=>k(_0x2a07df,typeof _0x19106d!=_0x90b167(0x103)?_0x19106d+'':_0x19106d,_0x18e1be);import{ChartThemeService as _0x4b38c0,ChartTypeBits as _0x3480d3,LegendPositionEnum as _0x511770,SelectModeEnum as _0x1b5ada,AxisAlignEnum as _0xbd28cc,ChartBorderDashType as _0x437020,LinePointShape as _0x1b7bf6,TitlePositionEnum as _0x26e466,RadarShape as _0x30723c}from'@univerjs-pro/engine-chart';import{setProperty as _0x4a97a1,SheetsChartService as _0x30701d,ChartUpdateSourceCommand as _0x1e9c68,ChartUpdateConfigCommand as _0x1312fe}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x1c0674}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x4e9df1,IUniverInstanceService as _0x4f294d,UniverInstanceType as _0x4fcc75,generateRandomId as _0x7d67bb,DrawingTypeEnum as _0x257d1d}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x528d60}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x1a006c}from'@univerjs/sheets/facade';import{FBase as _0xaed6d3,FEnum as _0x5517a5}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x41ff2e}from'@univerjs/engine-formula';function _0x52df(){const _0x5889a8=['ChartType','font','legend.label.bold','getUnitId','gradientFill','setDoughnutHole','registerTheme','isHalfPie','border','setWidth','setAllSeriesStyle','rightYAxis.label.axisTitleAlign','indicatorLabelTextColor','clearRange','radar.fill','pie.isHalfPie','legend.label.fontSize','titleAlignment','titles.title.content','axisAlignment','titles.rightYAxisTitle.color','legend','SelectModeEnum','dataPointColor','chartId','italic','titles.title.color','range','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','registerChartTheme','style','with','getSheetId','setSeriesStyle','options','tooltip.indicatorLabelColor','legend.label.italic','axisPointer','transposeRowsAndColumns','_commandService','allSeriesStyle','Pie','defineProperty','fontColor','AxisAlignEnum','pie.showLabelLine','dataSource','29558560TEVtVt','fill','allSeriesStyle.point','setIsHalfPie','allSeriesStyle.point.color','top','color','95084EMvyXs','tooltip.indicatorLineType','getRange','titles.rightYAxisTitle.fontSize','setTheme','5824584juAtzm','titles.rightYAxisTitle.font','1931589lUUAqY','titles.rightYAxisTitle.family','config','allSeriesStyle.label','lineStyle','backgroundColor','setRightYAxisTitle','updateChart','fontStyle','allSeriesStyle.rightYAxis','shape','keys','titles.rightYAxisTitle.bold','symbol','allSeriesStyle.color','indicatorLineColor','yAxis','dataPointSize','ChartBorderDashType','executeCommand','setYAxisTextStyle','indicatorLineType','rightYAxis','doughnutHole','Line','indicatorLabelColor','TitlePositionEnum','getRangeInfo','titles.xAxisTitle.content','Radar','titles.title.family','subUnitId','setAxisPointerStyle','allSeriesStyle.point.shape','getChartType','setYAxisTitle','position','xAxis.label.axisTitleAlign','width','_injector','rightYAxisTitle','unitId','dataPointShape','title','pie.doughnutHole','1807200RxAmgp','height','legend.label.color','context','tooltip.indicatorLineColor','titles.xAxisTitle.family','titles.yAxisTitle.fontSize','getCharts','DRAWING_CHART','setFill','setOptions','tooltip.indicatorLabelTextColor','map','getWorkbook','length','get','322020JKMwik','pie.hasPaddingAngle','series','updateRange','legend.selectMode','setTransposeRowsAndColumns','setRosePie','sheetName','setDataPointShape','setBorderColor','rosePie','titles.title.bold','chartType','selectMode','extend','setXAxisTitle','label','pie','titles.xAxisTitle.bold','area.lineStyle','radar','setShowLabelLine','asPieChart','seriesStyleMap','LinePointShape','yRightAxis','18zdJZfG','getChartModel','showLabelLine','bold','newChart','getRenderById','area','titles.yAxisTitle.content','yAxisTitle','setAbsolutePosition','point','allSeriesStyle.point.size','setRightYAxisTextStyle','36CAqKSQ','setInvalidValueStrategy','invalidValueType','getUnitChartModels','29360OWXEPF','content','asRadarChart','modify','sourceSheetName','titles.xAxisTitle.fontSize','_workbook','theme','category','xAxisTitle','titles.xAxisTitle.font','string','build','getCategoryData','borderColor','titles.yAxisTitle.font','889hKTPqc','fontSize','getChartId','hasPaddingAngle','xAxis','yAxis.label.axisTitleAlign','setHeight','asLineChart','insertChart','isRowDirection','removeChart','left','setHasPaddingAngle'];_0x52df=function(){return _0x5889a8;};return _0x52df();}import{IRenderManagerService as _0x364658}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x3402b6,SheetSkeletonManagerService as _0x5d4c0b,convertPositionCellToSheetOverGrid as _0xc58f74}from'@univerjs/sheets-ui';const s=(_0x5b481d,_0xe61d9d,_0x365e7c)=>{_0x365e7c!==void 0x0&&_0x4a97a1(_0x5b481d,_0xe61d9d,_0x365e7c);},C=(_0xd6b312,_0x3f05e5,_0x1c6c00,_0x75b3d3={})=>{const _0x4a1014=_0x90b167,_0x1a1da9={},_0x4eb3f9={};if(_0x75b3d3[_0x4a1014(0x121)]){const _0x40e49e=_0x75b3d3[_0x4a1014(0x121)];s(_0x1a1da9,_0x4a1014(0x18d),_0x40e49e[_0x4a1014(0x15f)]),s(_0x1a1da9,'titles.title.font',_0x40e49e[_0x4a1014(0x17c)]),s(_0x1a1da9,'titles.title.fontSize',_0x40e49e[_0x4a1014(0x16f)]),s(_0x1a1da9,_0x4a1014(0x195),_0x40e49e['fontColor']),s(_0x1a1da9,_0x4a1014(0x114),_0x40e49e['fontStyle']),s(_0x1a1da9,_0x4a1014(0x13e),_0x40e49e['bold']),s(_0x1a1da9,'titles.title.align',_0x40e49e[_0x4a1014(0x18c)]),s(_0x1a1da9,'titles.titlePosition',_0x40e49e[_0x4a1014(0x11a)]);}if(_0x75b3d3[_0x4a1014(0x190)]){const _0x35d12f=_0x75b3d3[_0x4a1014(0x190)];s(_0x1a1da9,'legend.position',_0x35d12f['position']),s(_0x1a1da9,_0x4a1014(0x137),_0x35d12f[_0x4a1014(0x140)]),s(_0x1a1da9,_0x4a1014(0x18b),_0x35d12f[_0x4a1014(0x16f)]),s(_0x1a1da9,_0x4a1014(0x125),_0x35d12f[_0x4a1014(0x1b0)]),s(_0x1a1da9,_0x4a1014(0x17d),_0x35d12f['bold']),s(_0x1a1da9,_0x4a1014(0x19f),_0x35d12f[_0x4a1014(0x194)]);}if(_0x75b3d3[_0x4a1014(0x144)]){const _0x1e88c1=_0x75b3d3['pie'];s(_0x1a1da9,_0x4a1014(0x122),_0x1e88c1['doughnutHole']),s(_0x1a1da9,'pie.borderColor',_0x1e88c1['borderColor']),s(_0x1a1da9,_0x4a1014(0x134),_0x1e88c1[_0x4a1014(0x171)]),s(_0x1a1da9,'pie.isHalfPie',_0x1e88c1[_0x4a1014(0x182)]),s(_0x1a1da9,'pie.rosePie',_0x1e88c1['rosePie']),s(_0x1a1da9,_0x4a1014(0x1a8),_0x1e88c1[_0x4a1014(0x14f)]);}if(_0x75b3d3['axisPointer']){const _0x3aff7a=_0x75b3d3['axisPointer'];s(_0x1a1da9,_0x4a1014(0x19e),_0x3aff7a[_0x4a1014(0x10f)]),s(_0x1a1da9,_0x4a1014(0x1b2),_0x3aff7a[_0x4a1014(0x10b)]),s(_0x1a1da9,_0x4a1014(0x127),_0x3aff7a[_0x4a1014(0x105)]),s(_0x1a1da9,_0x4a1014(0x12e),_0x3aff7a[_0x4a1014(0x187)]);}if(_0x75b3d3['allSeriesStyle']&&(s(_0x1a1da9,'allSeriesStyle.border',_0x75b3d3[_0x4a1014(0x1a3)][_0x4a1014(0x183)]),s(_0x1a1da9,_0x4a1014(0x1bb),_0x75b3d3[_0x4a1014(0x1a3)][_0x4a1014(0x143)]),s(_0x1a1da9,_0x4a1014(0xff),_0x75b3d3['allSeriesStyle'][_0x4a1014(0x10c)]),s(_0x1a1da9,_0x4a1014(0x1ac),_0x75b3d3[_0x4a1014(0x1a3)][_0x4a1014(0x157)]),s(_0x1a1da9,_0x4a1014(0x104),_0x75b3d3['allSeriesStyle'][_0x4a1014(0x1b0)])),_0x75b3d3[_0x4a1014(0x153)]&&s(_0x1a1da9,_0x4a1014(0x146),_0x75b3d3[_0x4a1014(0x153)][_0x4a1014(0x1bc)]),_0x75b3d3[_0x4a1014(0x165)]&&s(_0x1a1da9,_0x4a1014(0x165),_0x75b3d3[_0x4a1014(0x165)]),_0x75b3d3[_0x4a1014(0xfb)]&&s(_0x1a1da9,'backgroundColor',_0x75b3d3[_0x4a1014(0xfb)]),_0x75b3d3['borderColor']&&s(_0x1a1da9,'borderColor',_0x75b3d3[_0x4a1014(0x16c)]),_0x75b3d3[_0x4a1014(0x17f)]&&s(_0x1a1da9,_0x4a1014(0x17f),_0x75b3d3[_0x4a1014(0x17f)]),_0x75b3d3['invalidValueType']&&s(_0x1a1da9,_0x4a1014(0x15c),_0x75b3d3['invalidValueType']),_0x75b3d3[_0x4a1014(0x147)]&&s(_0x1a1da9,'radar',_0x75b3d3[_0x4a1014(0x147)]),_0x75b3d3[_0x4a1014(0x167)]){const _0x2c1de6=_0x75b3d3[_0x4a1014(0x167)];s(_0x1a1da9,_0x4a1014(0x112),_0x2c1de6['content']),s(_0x1a1da9,_0x4a1014(0x168),_0x2c1de6[_0x4a1014(0x17c)]),s(_0x1a1da9,_0x4a1014(0x163),_0x2c1de6[_0x4a1014(0x16f)]),s(_0x1a1da9,'titles.xAxisTitle.color',_0x2c1de6[_0x4a1014(0x1a6)]),s(_0x1a1da9,_0x4a1014(0x128),_0x2c1de6[_0x4a1014(0xfe)]),s(_0x1a1da9,_0x4a1014(0x145),_0x2c1de6[_0x4a1014(0x150)]),s(_0x1a1da9,_0x4a1014(0x11b),_0x2c1de6['axisAlignment']);}if(_0x75b3d3[_0x4a1014(0x155)]){const _0x19afcb=_0x75b3d3[_0x4a1014(0x155)];s(_0x1a1da9,_0x4a1014(0x154),_0x19afcb['content']),s(_0x1a1da9,_0x4a1014(0x16d),_0x19afcb[_0x4a1014(0x17c)]),s(_0x1a1da9,_0x4a1014(0x129),_0x19afcb[_0x4a1014(0x16f)]),s(_0x1a1da9,'titles.yAxisTitle.color',_0x19afcb[_0x4a1014(0x1a6)]),s(_0x1a1da9,'titles.yAxisTitle.family',_0x19afcb[_0x4a1014(0xfe)]),s(_0x1a1da9,'titles.yAxisTitle.bold',_0x19afcb[_0x4a1014(0x150)]),s(_0x1a1da9,_0x4a1014(0x173),_0x19afcb[_0x4a1014(0x18e)]);}if(_0x75b3d3[_0x4a1014(0x11e)]){const _0x5ed6c8=_0x75b3d3[_0x4a1014(0x11e)];s(_0x1a1da9,'titles.rightYAxisTitle.content',_0x5ed6c8[_0x4a1014(0x15f)]),s(_0x1a1da9,_0x4a1014(0x1b7),_0x5ed6c8[_0x4a1014(0x17c)]),s(_0x1a1da9,_0x4a1014(0x1b4),_0x5ed6c8['fontSize']),s(_0x1a1da9,_0x4a1014(0x18f),_0x5ed6c8[_0x4a1014(0x1a6)]),s(_0x1a1da9,_0x4a1014(0x1b9),_0x5ed6c8[_0x4a1014(0xfe)]),s(_0x1a1da9,_0x4a1014(0x102),_0x5ed6c8['bold']),s(_0x1a1da9,_0x4a1014(0x186),_0x5ed6c8[_0x4a1014(0x18e)]);}_0x75b3d3[_0x4a1014(0x172)]&&s(_0x1a1da9,_0x4a1014(0x172),_0x75b3d3[_0x4a1014(0x172)]),_0x75b3d3[_0x4a1014(0x106)]&&s(_0x1a1da9,_0x4a1014(0x106),_0x75b3d3[_0x4a1014(0x106)]),_0x75b3d3['yRightAxis']&&s(_0x1a1da9,_0x4a1014(0x10c),_0x75b3d3[_0x4a1014(0x14c)]),_0x75b3d3[_0x4a1014(0x14a)]&&s(_0x1a1da9,_0x4a1014(0x14a),_0x75b3d3[_0x4a1014(0x14a)]);const _0x2fd6ea={'unitId':_0xd6b312,'chartModelId':_0x3f05e5};let _0x226f5d=!0x1;if(_0x1c6c00!==void 0x0&&(_0x2fd6ea['chartType']=_0x1c6c00,_0x226f5d=!0x0),Object[_0x4a1014(0x101)](_0x1a1da9)[_0x4a1014(0x131)]>0x0&&(_0x2fd6ea[_0x4a1014(0x199)]=_0x1a1da9,_0x226f5d=!0x0),Object[_0x4a1014(0x101)](_0x4eb3f9)[_0x4a1014(0x131)]>0x0&&(_0x2fd6ea[_0x4a1014(0x126)]=_0x4eb3f9,_0x226f5d=!0x0),_0x226f5d)return _0x2fd6ea;};class c extends _0xaed6d3{constructor(_0x4bfe62,_0x40593e,_0x4bfe9b,_0x42f289,_0x3c339d){const _0x50c76d=_0x90b167;super(),n(this,_0x50c76d(0x164)),n(this,_0x50c76d(0x11d)),n(this,_0x50c76d(0x11f)),n(this,_0x50c76d(0x115)),n(this,'chartId'),n(this,_0x50c76d(0x196)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,'width'),n(this,_0x50c76d(0x124)),n(this,'chartType'),n(this,_0x50c76d(0x19d)),n(this,_0x50c76d(0x1a1)),(this[_0x50c76d(0x11f)]=_0x4bfe62,this[_0x50c76d(0x115)]=_0x40593e,this[_0x50c76d(0x164)]=_0x4bfe9b,this['_injector']=_0x42f289,_0x3c339d&&(this[_0x50c76d(0x193)]=_0x3c339d));}[_0x90b167(0x118)](){const _0x4e92bf=_0x90b167;return this[_0x4e92bf(0x13f)];}['addRange'](_0x38934c){const _0x3d2026=_0x90b167;if(typeof _0x38934c==_0x3d2026(0x169)){const _0x149e34=_0x41ff2e(_0x38934c);_0x149e34[_0x3d2026(0x13a)]&&(this['sourceSheetName']=_0x149e34[_0x3d2026(0x13a)]),this[_0x3d2026(0x196)]=_0x149e34[_0x3d2026(0x196)];}else this['range']=_0x38934c;return this;}[_0x90b167(0x188)](){const _0xd0b388=_0x90b167;return this[_0xd0b388(0x196)]=void 0x0,this[_0xd0b388(0x162)]=void 0x0,this;}['setPosition'](_0x4c6eb0,_0x32a05e,_0xe51560,_0x1a84a4){const _0x40329f=_0x90b167,_0x2a4f62=this[_0x40329f(0x11d)][_0x40329f(0x132)](_0x364658)[_0x40329f(0x152)](this[_0x40329f(0x11f)]);if(!_0x2a4f62)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x354edb=_0x2a4f62[_0x40329f(0x19a)](_0x3402b6),_0x4dc9af=_0x2a4f62[_0x40329f(0x19a)](_0x5d4c0b),{transform:_0x18ec51}=_0xc58f74(this[_0x40329f(0x11f)],this[_0x40329f(0x115)],{'row':_0x4c6eb0,'column':_0x32a05e,'rowOffset':_0xe51560,'columnOffset':_0x1a84a4},0x1,0x1,_0x354edb,_0x4dc9af),_0x272eb6=_0x18ec51[_0x40329f(0x1af)],_0x33a642=_0x18ec51[_0x40329f(0x179)];return this['x']=_0x33a642,this['y']=_0x272eb6,this;}[_0x90b167(0x156)](_0x2cbe6f,_0x56ed3f){return this['x']=_0x2cbe6f,this['y']=_0x56ed3f,this;}['setChartType'](_0x4279c9){const _0x446536=_0x90b167;return this[_0x446536(0x13f)]=_0x4279c9,this;}[_0x90b167(0x184)](_0x4d5242){const _0x46ca46=_0x90b167;return this[_0x46ca46(0x11c)]=_0x4d5242,this;}[_0x90b167(0x174)](_0x2a4f1f){const _0x2e46ac=_0x90b167;return this[_0x2e46ac(0x124)]=_0x2a4f1f,this;}['setOptions'](_0x1d61e5,_0x35a060){const _0x1b5df1=_0x90b167;return this[_0x1b5df1(0x19d)]||(this[_0x1b5df1(0x19d)]={}),_0x1d61e5===''?(this[_0x1b5df1(0x19d)]={...this[_0x1b5df1(0x19d)],..._0x35a060},this):(_0x4a97a1(this[_0x1b5df1(0x19d)],_0x1d61e5,_0x35a060),this);}[_0x90b167(0x138)](_0x596432){return this['transposeRowsAndColumns']=_0x596432,this;}[_0x90b167(0x1b5)](_0x1e5927){const _0x134d9d=_0x90b167;return this[_0x134d9d(0x12d)](_0x134d9d(0x165),_0x1e5927),this;}[_0x90b167(0x142)](_0x20c56a){const _0x3b6e0d=_0x90b167;var _0x2fe522;const _0x504c2f=((_0x2fe522=this[_0x3b6e0d(0x19d)])==null?void 0x0:_0x2fe522[_0x3b6e0d(0x167)])||{};return _0x504c2f[_0x3b6e0d(0x15f)]=_0x20c56a,this[_0x3b6e0d(0x12d)](_0x3b6e0d(0x167),_0x504c2f),this;}[_0x90b167(0x119)](_0x52dba1){const _0x4e003b=_0x90b167;var _0x2f91dc;const _0x24e179=((_0x2f91dc=this['options'])==null?void 0x0:_0x2f91dc[_0x4e003b(0x155)])||{};return _0x24e179[_0x4e003b(0x15f)]=_0x52dba1,this[_0x4e003b(0x12d)](_0x4e003b(0x155),_0x24e179),this;}[_0x90b167(0xfc)](_0x3fbc3e){const _0x338ac4=_0x90b167;var _0x37cc3c;const _0x288fbb=((_0x37cc3c=this[_0x338ac4(0x19d)])==null?void 0x0:_0x37cc3c['rightYAxisTitle'])||{};return _0x288fbb[_0x338ac4(0x15f)]=_0x3fbc3e,this[_0x338ac4(0x12d)](_0x338ac4(0x11e),_0x288fbb),this;}['setXAxisTextStyle'](_0x17daaf){const _0x1501e8=_0x90b167;var _0x2d8131;const _0x4d95af=((_0x2d8131=this[_0x1501e8(0x19d)])==null?void 0x0:_0x2d8131['xAxisTitle'])||{};return this[_0x1501e8(0x12d)](_0x1501e8(0x167),{..._0x4d95af,..._0x17daaf}),this;}[_0x90b167(0x10a)](_0x2d5e12){const _0x41cb12=_0x90b167;var _0x298dc8;const _0x175aab=((_0x298dc8=this[_0x41cb12(0x19d)])==null?void 0x0:_0x298dc8[_0x41cb12(0x155)])||{};return this[_0x41cb12(0x12d)](_0x41cb12(0x155),{..._0x175aab,..._0x2d5e12}),this;}[_0x90b167(0x159)](_0x233876){const _0x301971=_0x90b167;var _0x5d6d1c;const _0xc8db80=((_0x5d6d1c=this[_0x301971(0x19d)])==null?void 0x0:_0x5d6d1c[_0x301971(0x11e)])||{};return this[_0x301971(0x12d)](_0x301971(0x11e),{..._0xc8db80,..._0x233876}),this;}[_0x90b167(0x15b)](_0x402b54){const _0x2ef7bf=_0x90b167;return this[_0x2ef7bf(0x12d)](_0x2ef7bf(0x15c),_0x402b54),this;}[_0x90b167(0x116)](_0x4b8af9){const _0x435d3a=_0x90b167;return this[_0x435d3a(0x12d)](_0x435d3a(0x1a0),_0x4b8af9),this;}[_0x90b167(0x185)](_0x128f9c){const _0x26a91b=_0x90b167;return this[_0x26a91b(0x12d)](_0x26a91b(0x1a3),_0x128f9c),this;}[_0x90b167(0x19c)](_0x502049,_0x30a1b1){const _0x185725=_0x90b167;return this[_0x185725(0x12d)]('seriesStyleMap',{[_0x502049]:_0x30a1b1}),this;}['build'](){const _0x6b1c71=_0x90b167;return{'unitId':this[_0x6b1c71(0x11f)],'subUnitId':this[_0x6b1c71(0x115)],'chartId':this[_0x6b1c71(0x193)],'range':this[_0x6b1c71(0x196)],'sourceSheetName':this[_0x6b1c71(0x162)],'x':this['x'],'y':this['y'],'width':this[_0x6b1c71(0x11c)],'height':this[_0x6b1c71(0x124)],'chartType':this['chartType'],'options':this['options'],'isRowDirection':this[_0x6b1c71(0x1a1)]};}}class P{constructor(_0x3634fa,_0x7f493c,_0xbbe575,_0x167f57){const _0x1073d1=_0x90b167;n(this,_0x1073d1(0x11f)),n(this,'subUnitId'),n(this,_0x1073d1(0x193)),n(this,_0x1073d1(0x11d)),(this[_0x1073d1(0x11f)]=_0x3634fa,this[_0x1073d1(0x115)]=_0x7f493c,this[_0x1073d1(0x193)]=_0xbbe575,this[_0x1073d1(0x11d)]=_0x167f57);}[_0x90b167(0x170)](){const _0x5c2010=_0x90b167;return this[_0x5c2010(0x193)];}[_0x90b167(0x1b3)](){const _0x49aab8=_0x90b167,_0x2f2a1f=this[_0x49aab8(0x11d)][_0x49aab8(0x132)](_0x30701d)[_0x49aab8(0x14e)](this[_0x49aab8(0x193)]);if(_0x2f2a1f)return _0x2f2a1f[_0x49aab8(0x1a9)][_0x49aab8(0x111)]();}[_0x90b167(0x136)](_0x5b5cdb){const _0x200b5d=_0x90b167;return this[_0x200b5d(0x11d)]['get'](_0x4e9df1)['executeCommand'](_0x1e9c68['id'],{'unitId':this[_0x200b5d(0x11f)],'chartModelId':this['chartId'],'range':_0x5b5cdb});}['getSeriesData'](){const _0x1d9f46=_0x90b167;var _0x21110b;const _0x8c9906=this[_0x1d9f46(0x11d)]['get'](_0x30701d)['getChartModel'](this[_0x1d9f46(0x193)]);if(_0x8c9906)return(_0x21110b=_0x8c9906[_0x1d9f46(0x1ba)])==null?void 0x0:_0x21110b[_0x1d9f46(0x135)];}[_0x90b167(0x16b)](){const _0x319bfd=_0x90b167;var _0x1e9cc9;const _0x34c7a6=this['_injector'][_0x319bfd(0x132)](_0x30701d)['getChartModel'](this[_0x319bfd(0x193)]);if(_0x34c7a6)return(_0x1e9cc9=_0x34c7a6['config'])==null?void 0x0:_0x1e9cc9[_0x319bfd(0x166)];}[_0x90b167(0x161)](){const _0x65c2d0=_0x90b167,_0x1225a8=this[_0x65c2d0(0x11d)][_0x65c2d0(0x132)](_0x4f294d)['getCurrentUnitForType'](_0x4fcc75['UNIVER_SHEET']);return new c(this[_0x65c2d0(0x11f)],this[_0x65c2d0(0x115)],_0x1225a8,this[_0x65c2d0(0x11d)],this[_0x65c2d0(0x193)]);}}class $ extends _0x1a006c{async[_0x90b167(0x176)](_0x62a74b){const _0x169ac0=_0x90b167;var _0x572512,_0xd76f87,_0xf1a89;const _0x3891e4=_0x62a74b[_0x169ac0(0x11f)]||this['getWorkbook']()[_0x169ac0(0x17e)](),_0x4f3f63=_0x62a74b[_0x169ac0(0x115)]||this[_0x169ac0(0x19b)](),_0x55076f=_0x62a74b[_0x169ac0(0x193)]||_0x7d67bb(),_0x3dc49e=_0x62a74b[_0x169ac0(0x13f)],_0x1c5025=_0x62a74b['range'],_0x2edbd9=_0x62a74b['sourceSheetName'],_0x33340e={'x':_0x62a74b['x'],'y':_0x62a74b['y']},_0x1344e0=_0x62a74b['width'],_0x17bb93=_0x62a74b[_0x169ac0(0x124)],_0xbd348e=(_0x572512=_0x62a74b[_0x169ac0(0x19d)])==null?void 0x0:_0x572512[_0x169ac0(0xfb)],_0x469a89=(_0xd76f87=_0x62a74b['options'])==null?void 0x0:_0xd76f87[_0x169ac0(0x16c)],_0x11551b=C(_0x3891e4,_0x55076f,_0x3dc49e,_0x62a74b[_0x169ac0(0x19d)]),_0x394dd3=(_0xf1a89=_0x62a74b[_0x169ac0(0x177)])!=null?_0xf1a89:!0x0;if(!_0x1c5025)throw new Error(_0x169ac0(0x197));return await this[_0x169ac0(0x1a2)][_0x169ac0(0x109)](_0x1c0674['id'],{'unitId':_0x3891e4,'subUnitId':_0x4f3f63,'chartId':_0x55076f,'chartType':_0x3dc49e,'range':_0x1c5025,'sourceSheetName':_0x2edbd9,'position':_0x33340e,'width':_0x1344e0,'height':_0x17bb93,'backgroundColor':_0xbd348e,'borderColor':_0x469a89,'config':_0x11551b,'isRowDirection':_0x394dd3}),new P(_0x3891e4,_0x4f3f63,_0x55076f,this[_0x169ac0(0x11d)]);}[_0x90b167(0xfd)](_0x3672c0){const _0x51c6ee=_0x90b167,{unitId:_0x35764c,chartId:_0x591f71,chartType:_0x184a8e,options:_0x48ae8a}=_0x3672c0,_0x4abdea=C(_0x35764c,_0x591f71,_0x184a8e,_0x48ae8a);this[_0x51c6ee(0x1a2)][_0x51c6ee(0x109)](_0x1312fe['id'],_0x4abdea);}[_0x90b167(0x151)](_0x3300c6){const _0x27d46d=_0x90b167;if(_0x3300c6)return new c(_0x3300c6[_0x27d46d(0x11f)],_0x3300c6['subUnitId'],this[_0x27d46d(0x164)],this[_0x27d46d(0x11d)],_0x3300c6['chartId']);const _0x540152=this[_0x27d46d(0x130)]()[_0x27d46d(0x17e)](),_0x29f805=this[_0x27d46d(0x19b)]();return new c(_0x540152,_0x29f805,this[_0x27d46d(0x164)],this[_0x27d46d(0x11d)]);}[_0x90b167(0x12a)](){const _0x39c64c=_0x90b167,_0x4b186b=this[_0x39c64c(0x11d)][_0x39c64c(0x132)](_0x30701d),_0x4f887e=this[_0x39c64c(0x130)]()[_0x39c64c(0x17e)]();return _0x4b186b[_0x39c64c(0x15d)](_0x4f887e,this[_0x39c64c(0x19b)]())[_0x39c64c(0x12f)](_0x2a9643=>new P(_0x4f887e,this['getSheetId'](),_0x2a9643['id'],this[_0x39c64c(0x11d)]));}[_0x90b167(0x178)](_0x324a68){const _0x2b9cd0=_0x90b167,_0x173f67=_0x324a68[_0x2b9cd0(0x11f)],_0x1f0d7f=_0x324a68[_0x2b9cd0(0x115)],_0x50c7e4=_0x324a68[_0x2b9cd0(0x193)],_0x5f5961={'unitId':_0x173f67,'drawings':[{'unitId':_0x173f67,'subUnitId':_0x1f0d7f,'drawingId':_0x50c7e4,'drawingType':_0x257d1d[_0x2b9cd0(0x12b)]}]};return this['_commandService'][_0x2b9cd0(0x109)](_0x528d60['id'],_0x5f5961);}[_0x90b167(0x198)](_0x1f5c3e,_0x1acd58){const _0x17b0ee=_0x90b167;this[_0x17b0ee(0x11d)][_0x17b0ee(0x132)](_0x4b38c0)[_0x17b0ee(0x181)](_0x1f5c3e,_0x1acd58);}}_0x1a006c['extend']($);class tt extends _0x5517a5{get[_0x90b167(0x17b)](){return _0x3480d3;}get['LegendPositionEnum'](){return _0x511770;}get[_0x90b167(0x191)](){return _0x1b5ada;}get[_0x90b167(0x1a7)](){return _0xbd28cc;}get[_0x90b167(0x108)](){return _0x437020;}get[_0x90b167(0x14b)](){return _0x1b7bf6;}get[_0x90b167(0x110)](){return _0x26e466;}get['RadarShape'](){return _0x30723c;}}_0x5517a5[_0x90b167(0x141)](tt);class et extends c{constructor(_0x1f9a3d,_0x2797eb,_0x26946c,_0x4c1ba8,_0x5dcb8f){const _0x361e5c=_0x90b167;super(_0x1f9a3d,_0x2797eb,_0x26946c,_0x4c1ba8,_0x5dcb8f),n(this,'lineStyle'),n(this,_0x361e5c(0x120)),n(this,_0x361e5c(0x192)),n(this,_0x361e5c(0x107));}['setLineStyle'](_0x28bb22){const _0xa489a0=_0x90b167;return this[_0xa489a0(0x1bc)]=_0x28bb22,this;}[_0x90b167(0x13b)](_0x411724){return this['dataPointShape']=_0x411724,this;}['setDataPointColor'](_0x3695b5){const _0x317a02=_0x90b167;return this[_0x317a02(0x192)]=_0x3695b5,this;}['setDataPointSize'](_0x21b4c1){const _0x260af=_0x90b167;return this[_0x260af(0x107)]=_0x21b4c1,this;}[_0x90b167(0x16a)](){const _0x3b2eb1=_0x90b167,_0x16da37=super[_0x3b2eb1(0x16a)]();_0x16da37[_0x3b2eb1(0x13f)]=_0x3480d3[_0x3b2eb1(0x10e)];const _0x39ad1c=_0x16da37[_0x3b2eb1(0x19d)]||{};return s(_0x39ad1c,_0x3b2eb1(0x146),this['lineStyle']),s(_0x39ad1c,_0x3b2eb1(0x117),this[_0x3b2eb1(0x120)]),s(_0x39ad1c,_0x3b2eb1(0x1ae),this[_0x3b2eb1(0x192)]),s(_0x39ad1c,_0x3b2eb1(0x158),this[_0x3b2eb1(0x107)]),_0x16da37[_0x3b2eb1(0x19d)]=_0x39ad1c,_0x16da37;}}class it extends c{[_0x90b167(0x175)](){const _0x247a2e=_0x90b167;return new et(this['unitId'],this['subUnitId'],this[_0x247a2e(0x164)],this['_injector'],this[_0x247a2e(0x193)]);}}c[_0x90b167(0x141)](it);class st extends c{constructor(_0x3e5478,_0x219835,_0x4da117,_0x1a6638,_0x3438d2){const _0x54f4ca=_0x90b167;super(_0x3e5478,_0x219835,_0x4da117,_0x1a6638,_0x3438d2),n(this,_0x54f4ca(0x10d)),n(this,_0x54f4ca(0x16c)),n(this,'hasPaddingAngle'),n(this,_0x54f4ca(0x182)),n(this,'rosePie'),n(this,_0x54f4ca(0x14f));}[_0x90b167(0x180)](_0x36e952){const _0x26ec2d=_0x90b167;return this[_0x26ec2d(0x10d)]=_0x36e952,this;}[_0x90b167(0x13c)](_0x5a6ab8){return this['borderColor']=_0x5a6ab8,this;}[_0x90b167(0x17a)](_0x593e09){return this['hasPaddingAngle']=_0x593e09,this;}[_0x90b167(0x1ad)](_0x5f2bbe){const _0x33bda3=_0x90b167;return this[_0x33bda3(0x182)]=_0x5f2bbe,this;}[_0x90b167(0x139)](_0x332511){const _0x10c24e=_0x90b167;return this[_0x10c24e(0x13d)]=_0x332511,this;}[_0x90b167(0x148)](_0x55d3e0){const _0x12cd70=_0x90b167;return this[_0x12cd70(0x14f)]=_0x55d3e0,this;}['build'](){const _0x4046ed=_0x90b167,_0xd3d2a5=super['build']();_0xd3d2a5[_0x4046ed(0x13f)]=_0x3480d3[_0x4046ed(0x1a4)];const _0x3b5921=_0xd3d2a5[_0x4046ed(0x19d)]||{};return s(_0x3b5921,_0x4046ed(0x122),this[_0x4046ed(0x10d)]),s(_0x3b5921,'pie.borderColor',this[_0x4046ed(0x16c)]),s(_0x3b5921,_0x4046ed(0x134),this[_0x4046ed(0x171)]),s(_0x3b5921,_0x4046ed(0x18a),this['isHalfPie']),s(_0x3b5921,'pie.rosePie',this[_0x4046ed(0x13d)]),s(_0x3b5921,_0x4046ed(0x1a8),this[_0x4046ed(0x14f)]),_0xd3d2a5[_0x4046ed(0x19d)]=_0x3b5921,_0xd3d2a5;}}class rt extends c{[_0x90b167(0x149)](){const _0x49ca63=_0x90b167;return new st(this[_0x49ca63(0x11f)],this[_0x49ca63(0x115)],this[_0x49ca63(0x164)],this[_0x49ca63(0x11d)],this['chartId']);}}c[_0x90b167(0x141)](rt);class ot extends c{constructor(_0x520f9d,_0x29ff9b,_0x1a6bf5,_0x4970cf,_0x56102a){super(_0x520f9d,_0x29ff9b,_0x1a6bf5,_0x4970cf,_0x56102a),n(this,'shape'),n(this,'fill');}['setShape'](_0x5cb0b3){const _0x2d7dcc=_0x90b167;return this[_0x2d7dcc(0x100)]=_0x5cb0b3,this;}[_0x90b167(0x12c)](_0x12eb49){return this['fill']=_0x12eb49,this;}[_0x90b167(0x16a)](){const _0x18ae1b=_0x90b167,_0x1b71b3=super[_0x18ae1b(0x16a)]();_0x1b71b3[_0x18ae1b(0x13f)]=_0x3480d3[_0x18ae1b(0x113)];const _0x91a8bd=_0x1b71b3['options']||{};return s(_0x91a8bd,'radar.shape',this['shape']),s(_0x91a8bd,_0x18ae1b(0x189),this[_0x18ae1b(0x1ab)]),_0x1b71b3['options']=_0x91a8bd,_0x1b71b3;}}class nt extends c{[_0x90b167(0x160)](){const _0x385b8b=_0x90b167;return new ot(this[_0x385b8b(0x11f)],this['subUnitId'],this[_0x385b8b(0x164)],this[_0x385b8b(0x11d)],this[_0x385b8b(0x193)]);}}c[_0x90b167(0x141)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|