@univerjs-pro/sheets-chart-ui 0.13.0-insiders.20251220-0a5ea4d → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2a34b6=_0x16b9;(function(_0x2d7f51,_0x3264c9){const _0x1713bd=_0x16b9,_0x4707c6=_0x2d7f51();while(!![]){try{const _0x25c0b3=-parseInt(_0x1713bd(0x1e5))/0x1+parseInt(_0x1713bd(0x1a9))/0x2*(-parseInt(_0x1713bd(0x1c5))/0x3)+parseInt(_0x1713bd(0x1bd))/0x4*(-parseInt(_0x1713bd(0x1b1))/0x5)+parseInt(_0x1713bd(0x1ae))/0x6*(parseInt(_0x1713bd(0x1c9))/0x7)+parseInt(_0x1713bd(0x1f0))/0x8*(-parseInt(_0x1713bd(0x19a))/0x9)+-parseInt(_0x1713bd(0x173))/0xa+parseInt(_0x1713bd(0x1b3))/0xb;if(_0x25c0b3===_0x3264c9)break;else _0x4707c6['push'](_0x4707c6['shift']());}catch(_0x2fcf4c){_0x4707c6['push'](_0x4707c6['shift']());}}}(_0x340f,0x36639));function _0x340f(){const _0x59d3ea=['負值樣式','715WNOltb','網格線','15134526USZknC','累積占比系列','Y軸標題','X軸標題','字段設置','力導向','圓環孔','数值比例','指示線類型','(空)','2424uRSuoh','左對齊','空心正方形','貨幣類型','第三四分位數','正值樣式','軸選項','水平軸','3trwVjm','氣泡標籤','顯示小計','背景顏色','128611LTadnY','指示線','使用絕對值','編輯圖表','請先添加系列開始數據可視化','旋轉標籤','插入圖表','詞雲圖','顯示軸線','數據範圍','日期格式將日期和時間系列數值顯示為日期值。','刻度線位置','使用右軸','長條圖系列','百分比堆疊','逆序軸','添加數據點','日期軸僅在數據全部為日期格式時可用','負數類型','熱力圖','氣泡圖','箱型圖','主刻度線','標籤旋轉','面積圖','節點形狀','標題對齊','設置圖表','240987TCGnKv','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','桑基圖','切換列或欄','累積占比','添加趨勢線','顯示標籤線','指示標籤','數據點','視覺映射範圍','圖表樣式','48mUsLLr','系列\x20{0}','自定義圖表','{0}\x20格式','氣泡圖至少需要2欄,X軸、Y軸。','顯示數據標籤','三角形','多邊形','玫瑰圖','小數位數','數據標籤','主網格線','雷達圖','顯示空單元格為','最大值','移動平均周期','用直線連接數據點','條形圖','百分比','第\x20{0}\x20項','最小值','3184730TAhRWU','股票圖','{0}\x20顏色','空心三角形','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','圖表數據源必須包含多於1列和1欄。','隱藏圖表面板','排列圖','扇形間距','空心針形','趨勢線','圖表和軸標題','負值圖例文本','小計樣式','使用值作為節點大小','日期類型','瀑布圖','百分比堆疊條形圖','開啟選中淡入特效','刻度線長度','桑基圖不能包含循環數據','趨勢線名稱','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','類別\x20{0}','圖例選擇模式','{0}\x20形狀','添加系列','顯示標籤','圓角矩形','多項式','圖表邊框顏色','数值后缀','{0}\x20透明度','標題文本','圖表類型','指示值','設置標籤格式','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','空心矩形','606465YbNyiy','重複詞雲標籤','打開圖表面板','堆疊條形圖','堆疊面積圖','標籤位置','趨勢線粗細','佈局類型','堆疊方式','使用\x20{0}\x20作為類別標籤','詞雲形狀','百分比堆疊面積圖','更多設置','關係圖','網格線和刻度線','793258uFKqFY','移動平均','右垂直軸','環形圖','顯示公式','96EDnwMu','漸變填充'];_0x340f=function(){return _0x59d3ea;};return _0x340f();}const e={'chart':{'insertChart':_0x2a34b6(0x1cf),'editChart':_0x2a34b6(0x1cc),'openChartPanel':_0x2a34b6(0x19c),'deleteChart':'刪除圖表','hideChartPanel':_0x2a34b6(0x179),'setupChart':_0x2a34b6(0x1e4),'customChart':_0x2a34b6(0x1f2),'default':'默認','reset':'重置','chartType':_0x2a34b6(0x195),'themes':'主題','dataRange':_0x2a34b6(0x1d2),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x2a34b6(0x18d),'moreSettings':_0x2a34b6(0x1a6),'min':'最小值','max':_0x2a34b6(0x1fe),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x2a34b6(0x200)},'blank':_0x2a34b6(0x1bc),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x2a34b6(0x1c8),'chartBorderColor':_0x2a34b6(0x191),'titles':{'title':'標題','mainTitle':'主標題','subTitle':'副標題','xAxisTitle':_0x2a34b6(0x1b6),'yAxisTitle':_0x2a34b6(0x1b5),'rightYAxisTitle':'右Y軸標題','titleFormat':'標題格式','titleText':_0x2a34b6(0x194),'titlePosition':'標題位置','titleAlign':_0x2a34b6(0x1e3)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x2a34b6(0x1af),'settingsLabels':{'switchToRowOrColumn':_0x2a34b6(0x1e8),'useAsCategoryLabels':_0x2a34b6(0x1a3),'showEmptyCellsAs':_0x2a34b6(0x1fd)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x2a34b6(0x1be),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x2a34b6(0x1ef),'chartAndAxisTitles':_0x2a34b6(0x17e),'legend':'圖例','legendSelectMode':_0x2a34b6(0x18b),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x2a34b6(0x1c3),'horizontalAxis':_0x2a34b6(0x1c4),'verticalAxis':'垂直軸','rightVerticalAxis':_0x2a34b6(0x1ab),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x2a34b6(0x1d5)},'position':'位置','dataLabels':_0x2a34b6(0x1fa),'gridlinesAndTicks':_0x2a34b6(0x1a8),'indicatorLine':_0x2a34b6(0x1ca),'indicatorLineType':_0x2a34b6(0x1bb),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x2a34b6(0x1ec),'indicatorValue':_0x2a34b6(0x196),'shape':{'polygon':_0x2a34b6(0x1f7),'circle':'圓形','square':'正方形','triangle':_0x2a34b6(0x1f6),'diamond':'菱形','rect':'矩形','roundRect':_0x2a34b6(0x18f),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x2a34b6(0x1bf),'emptyTriangle':_0x2a34b6(0x176),'emptyDiamond':'空心菱形','emptyRect':_0x2a34b6(0x199),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x2a34b6(0x17c),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x2a34b6(0x193),'withColor':_0x2a34b6(0x175),'withThickness':'{0}\x20粗細','withType':'{0}\x20類型','withSize':'{0}\x20大小','withShape':_0x2a34b6(0x18c),'withFormat':_0x2a34b6(0x1f3),'dataPoint':_0x2a34b6(0x1ed),'dataNodeShape':_0x2a34b6(0x1e2),'addDataPoint':_0x2a34b6(0x1d9),'point':'數據點','percentage':_0x2a34b6(0x170),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x2a34b6(0x1d7)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x2a34b6(0x1fb),'text':_0x2a34b6(0x1b2)},'ticks':{'majorTick':_0x2a34b6(0x1df),'tickPosition':_0x2a34b6(0x1d4),'tickLength':_0x2a34b6(0x186)},'none':'無','theIndexItem':_0x2a34b6(0x171),'seriesDefaultName':_0x2a34b6(0x1f1),'categoryDefaultName':_0x2a34b6(0x18a),'styleEditPanel':{'showLabels':_0x2a34b6(0x18e),'showDataLabels':_0x2a34b6(0x1f5),'padAngle':_0x2a34b6(0x17b),'halfPie':'半餅','rosePie':_0x2a34b6(0x1f8),'pieValScale':_0x2a34b6(0x1ba),'pieValSuffix':_0x2a34b6(0x192),'pieDigitalFixed':_0x2a34b6(0x1f9),'showLabelLine':_0x2a34b6(0x1eb),'reverseAxisOrder':_0x2a34b6(0x1d8),'showAxisLine':_0x2a34b6(0x1d1),'labelPosition':_0x2a34b6(0x19f),'labelText':'標籤文本','repeatWordCould':_0x2a34b6(0x19b),'gap':'間隔','useAbsValue':_0x2a34b6(0x1cb),'labelRotate':_0x2a34b6(0x1e0),'wordCloudShape':_0x2a34b6(0x1a4),'useDateAxis':'使用日期軸','dateAxisTips':_0x2a34b6(0x1da)},'radar':{'fill':'填充'},'doughnutHole':_0x2a34b6(0x1b9),'msg':{'invalidSource':_0x2a34b6(0x178),'emptyTips':_0x2a34b6(0x1cd),'sankeyCircularTips':_0x2a34b6(0x187)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x2a34b6(0x17d),'displayName':_0x2a34b6(0x188),'addTrendLine':_0x2a34b6(0x1ea),'trendlineType':'趨勢線類型','trendlineName':_0x2a34b6(0x188),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x2a34b6(0x1a0),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x2a34b6(0x1aa),'poly':_0x2a34b6(0x190),'order':'多項式階數','period':_0x2a34b6(0x1ff),'showFormula':_0x2a34b6(0x1ad),'showR2':'顯示R平方','formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':'氣泡大小','label':_0x2a34b6(0x1c6),'emptyTips':_0x2a34b6(0x1f4)},'relation':{'title':_0x2a34b6(0x1a7),'auto':'自動','circular':'環形','force':_0x2a34b6(0x1b8),'useValueAsSymbolSize':_0x2a34b6(0x181),'layoutType':_0x2a34b6(0x1a1),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':'節點距離','rotateLabel':_0x2a34b6(0x1ce),'emphasis':_0x2a34b6(0x185),'emptyTips':_0x2a34b6(0x189)},'waterfall':{'stackType':_0x2a34b6(0x1a2),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x2a34b6(0x1c7),'positiveStyle':_0x2a34b6(0x1c2),'negativeStyle':_0x2a34b6(0x1b0),'subtotalStyle':_0x2a34b6(0x180),'positiveLegendText':'正值圖例文本','negativeLegendText':_0x2a34b6(0x17f),'subtotalLegendText':'小計圖例文本'},'pareto':{'lineName':_0x2a34b6(0x1e9),'lineSeries':_0x2a34b6(0x1b4),'barSeries':_0x2a34b6(0x1d6)},'visualMapScope':_0x2a34b6(0x1ee),'boxplot':{'min':_0x2a34b6(0x172),'q1':'第一四分位數','median':'中位數','q3':_0x2a34b6(0x1c1),'max':_0x2a34b6(0x1fe)}},'chartTypes':{'line':'折線圖','area':_0x2a34b6(0x1e1),'areaStacked':_0x2a34b6(0x19e),'areaPercentStacked':_0x2a34b6(0x1a5),'column':'柱狀圖','bar':_0x2a34b6(0x201),'barStacked':_0x2a34b6(0x19d),'barPercentStacked':_0x2a34b6(0x184),'pie':'餅圖','donut':_0x2a34b6(0x1ac),'scatter':'散點圖','radar':_0x2a34b6(0x1fc),'bubble':_0x2a34b6(0x1dd),'stock':_0x2a34b6(0x174),'combination':'組合圖','wordCloud':_0x2a34b6(0x1d0),'funnel':'漏斗圖','relation':_0x2a34b6(0x1a7),'waterfall':_0x2a34b6(0x183),'pareto':_0x2a34b6(0x17a),'sankey':_0x2a34b6(0x1e7),'heatmap':_0x2a34b6(0x1dc),'boxplot':_0x2a34b6(0x1de)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x2a34b6(0x1b7),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x2a34b6(0x1e6),'currencyDesc':_0x2a34b6(0x177),'dateDesc':_0x2a34b6(0x1d3),'thousandthPercentileDesc':_0x2a34b6(0x198),'decimalPlaces':_0x2a34b6(0x1f9),'currencyTypes':_0x2a34b6(0x1c0),'negativeNumberTypes':_0x2a34b6(0x1db),'dateTypes':_0x2a34b6(0x182)},'setFormat':_0x2a34b6(0x197)}};function _0x16b9(_0x39bd6b,_0x3fd6ad){_0x39bd6b=_0x39bd6b-0x170;const _0x340fe1=_0x340f();let _0x16b906=_0x340fe1[_0x39bd6b];return _0x16b906;}module['exports']=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
const _0x24cb33=_0x341e;(function(_0x5f6da7,_0x1faa64){const _0x598883=_0x341e,_0xc4e5a3=_0x5f6da7();while(!![]){try{const _0x59b3a6=-parseInt(_0x598883(0x1f1))/0x1+-parseInt(_0x598883(0x227))/0x2+parseInt(_0x598883(0x1f8))/0x3*(parseInt(_0x598883(0x26d))/0x4)+-parseInt(_0x598883(0x1f0))/0x5+-parseInt(_0x598883(0x28f))/0x6+parseInt(_0x598883(0x260))/0x7*(parseInt(_0x598883(0x258))/0x8)+parseInt(_0x598883(0x219))/0x9;if(_0x59b3a6===_0x1faa64)break;else _0xc4e5a3['push'](_0xc4e5a3['shift']());}catch(_0x5c516c){_0xc4e5a3['push'](_0xc4e5a3['shift']());}}}(_0x477b,0x37740));var R=Object[_0x24cb33(0x247)],k=(_0x16d4c3,_0x304923,_0x4e26d4)=>_0x304923 in _0x16d4c3?R(_0x16d4c3,_0x304923,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e26d4}):_0x16d4c3[_0x304923]=_0x4e26d4,n=(_0x1bacb9,_0x2d535e,_0x147637)=>k(_0x1bacb9,typeof _0x2d535e!='symbol'?_0x2d535e+'':_0x2d535e,_0x147637);import{ChartThemeService as _0x31e844,ChartTypeBits as _0xc2e64c,LegendPositionEnum as _0x4d8f69,SelectModeEnum as _0x5120a5,AxisAlignEnum as _0x146cae,ChartBorderDashType as _0xff32fb,LinePointShape as _0x2e7fc4,TitlePositionEnum as _0x16cbcf,RadarShape as _0x355190}from'@univerjs-pro/engine-chart';import{setProperty as _0x3665cc,SheetsChartService as _0x3f282a,ChartUpdateSourceCommand as _0x3ea413,ChartUpdateConfigCommand as _0x4a9f76}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x2f92a7}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x3ed6d6,IUniverInstanceService as _0x10eb52,UniverInstanceType as _0x21cf54,generateRandomId as _0x4cfb1e,DrawingTypeEnum as _0x136f2b}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x3ba912}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x8aa54c}from'@univerjs/sheets/facade';import{FBase as _0x1ef2ac,FEnum as _0x2316d2}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x159bed}from'@univerjs/engine-formula';import{IRenderManagerService as _0x3b740d}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x2856b5,SheetSkeletonManagerService as _0x3bbb8d,convertPositionCellToSheetOverGrid as _0x488a4}from'@univerjs/sheets-ui';const s=(_0x36e28b,_0x1a1b91,_0x1b6025)=>{_0x1b6025!==void 0x0&&_0x3665cc(_0x36e28b,_0x1a1b91,_0x1b6025);},C=(_0x376f38,_0x21b958,_0x221c0b,_0x37412b={})=>{const _0x5f4310=_0x24cb33,_0x3fab85={},_0x4282f0={};if(_0x37412b[_0x5f4310(0x1f4)]){const _0x50c5a8=_0x37412b[_0x5f4310(0x1f4)];s(_0x3fab85,_0x5f4310(0x25b),_0x50c5a8['content']),s(_0x3fab85,_0x5f4310(0x295),_0x50c5a8[_0x5f4310(0x23e)]),s(_0x3fab85,_0x5f4310(0x1fb),_0x50c5a8[_0x5f4310(0x267)]),s(_0x3fab85,_0x5f4310(0x29b),_0x50c5a8[_0x5f4310(0x238)]),s(_0x3fab85,_0x5f4310(0x231),_0x50c5a8[_0x5f4310(0x274)]),s(_0x3fab85,'titles.title.bold',_0x50c5a8['bold']),s(_0x3fab85,'titles.title.align',_0x50c5a8['titleAlignment']),s(_0x3fab85,_0x5f4310(0x225),_0x50c5a8['position']);}if(_0x37412b[_0x5f4310(0x22f)]){const _0x56f3b4=_0x37412b[_0x5f4310(0x22f)];s(_0x3fab85,'legend.position',_0x56f3b4[_0x5f4310(0x237)]),s(_0x3fab85,_0x5f4310(0x224),_0x56f3b4['selectMode']),s(_0x3fab85,_0x5f4310(0x200),_0x56f3b4[_0x5f4310(0x267)]),s(_0x3fab85,_0x5f4310(0x262),_0x56f3b4['color']),s(_0x3fab85,_0x5f4310(0x257),_0x56f3b4[_0x5f4310(0x235)]),s(_0x3fab85,_0x5f4310(0x22c),_0x56f3b4['italic']);}if(_0x37412b[_0x5f4310(0x297)]){const _0x52ab5b=_0x37412b['pie'];s(_0x3fab85,_0x5f4310(0x22e),_0x52ab5b[_0x5f4310(0x28b)]),s(_0x3fab85,_0x5f4310(0x201),_0x52ab5b[_0x5f4310(0x221)]),s(_0x3fab85,_0x5f4310(0x20f),_0x52ab5b[_0x5f4310(0x24c)]),s(_0x3fab85,_0x5f4310(0x24f),_0x52ab5b['isHalfPie']),s(_0x3fab85,_0x5f4310(0x299),_0x52ab5b[_0x5f4310(0x242)]),s(_0x3fab85,_0x5f4310(0x21a),_0x52ab5b[_0x5f4310(0x252)]);}if(_0x37412b[_0x5f4310(0x26f)]){const _0x5aa697=_0x37412b['axisPointer'];s(_0x3fab85,_0x5f4310(0x244),_0x5aa697[_0x5f4310(0x23a)]),s(_0x3fab85,_0x5f4310(0x20d),_0x5aa697[_0x5f4310(0x20a)]),s(_0x3fab85,_0x5f4310(0x2a2),_0x5aa697['indicatorLineColor']),s(_0x3fab85,'tooltip.indicatorLabelTextColor',_0x5aa697['indicatorLabelTextColor']);}if(_0x37412b[_0x5f4310(0x286)]&&(s(_0x3fab85,_0x5f4310(0x1ed),_0x37412b['allSeriesStyle'][_0x5f4310(0x268)]),s(_0x3fab85,_0x5f4310(0x298),_0x37412b['allSeriesStyle'][_0x5f4310(0x245)]),s(_0x3fab85,'allSeriesStyle.rightYAxis',_0x37412b[_0x5f4310(0x286)][_0x5f4310(0x272)]),s(_0x3fab85,_0x5f4310(0x223),_0x37412b['allSeriesStyle']['point']),s(_0x3fab85,'allSeriesStyle.color',_0x37412b['allSeriesStyle'][_0x5f4310(0x27b)])),_0x37412b[_0x5f4310(0x27e)]&&s(_0x3fab85,_0x5f4310(0x21f),_0x37412b[_0x5f4310(0x27e)][_0x5f4310(0x24e)]),_0x37412b[_0x5f4310(0x293)]&&s(_0x3fab85,_0x5f4310(0x293),_0x37412b[_0x5f4310(0x293)]),_0x37412b[_0x5f4310(0x21c)]&&s(_0x3fab85,_0x5f4310(0x21c),_0x37412b[_0x5f4310(0x21c)]),_0x37412b[_0x5f4310(0x221)]&&s(_0x3fab85,_0x5f4310(0x221),_0x37412b[_0x5f4310(0x221)]),_0x37412b[_0x5f4310(0x204)]&&s(_0x3fab85,_0x5f4310(0x204),_0x37412b['gradientFill']),_0x37412b[_0x5f4310(0x209)]&&s(_0x3fab85,_0x5f4310(0x209),_0x37412b['invalidValueType']),_0x37412b[_0x5f4310(0x273)]&&s(_0x3fab85,_0x5f4310(0x273),_0x37412b[_0x5f4310(0x273)]),_0x37412b[_0x5f4310(0x248)]){const _0x34bb8b=_0x37412b[_0x5f4310(0x248)];s(_0x3fab85,_0x5f4310(0x1fe),_0x34bb8b[_0x5f4310(0x251)]),s(_0x3fab85,_0x5f4310(0x271),_0x34bb8b['font']),s(_0x3fab85,_0x5f4310(0x27d),_0x34bb8b['fontSize']),s(_0x3fab85,_0x5f4310(0x234),_0x34bb8b[_0x5f4310(0x238)]),s(_0x3fab85,_0x5f4310(0x213),_0x34bb8b[_0x5f4310(0x274)]),s(_0x3fab85,'titles.xAxisTitle.bold',_0x34bb8b[_0x5f4310(0x235)]),s(_0x3fab85,'xAxis.label.axisTitleAlign',_0x34bb8b[_0x5f4310(0x29e)]);}if(_0x37412b[_0x5f4310(0x255)]){const _0x454ca1=_0x37412b[_0x5f4310(0x255)];s(_0x3fab85,'titles.yAxisTitle.content',_0x454ca1[_0x5f4310(0x251)]),s(_0x3fab85,_0x5f4310(0x270),_0x454ca1[_0x5f4310(0x23e)]),s(_0x3fab85,_0x5f4310(0x280),_0x454ca1[_0x5f4310(0x267)]),s(_0x3fab85,_0x5f4310(0x1f2),_0x454ca1[_0x5f4310(0x238)]),s(_0x3fab85,_0x5f4310(0x253),_0x454ca1[_0x5f4310(0x274)]),s(_0x3fab85,'titles.yAxisTitle.bold',_0x454ca1[_0x5f4310(0x235)]),s(_0x3fab85,'yAxis.label.axisTitleAlign',_0x454ca1[_0x5f4310(0x29e)]);}if(_0x37412b[_0x5f4310(0x265)]){const _0x38475a=_0x37412b[_0x5f4310(0x265)];s(_0x3fab85,'titles.rightYAxisTitle.content',_0x38475a['content']),s(_0x3fab85,'titles.rightYAxisTitle.font',_0x38475a['font']),s(_0x3fab85,'titles.rightYAxisTitle.fontSize',_0x38475a[_0x5f4310(0x267)]),s(_0x3fab85,_0x5f4310(0x1ff),_0x38475a[_0x5f4310(0x238)]),s(_0x3fab85,_0x5f4310(0x28e),_0x38475a[_0x5f4310(0x274)]),s(_0x3fab85,_0x5f4310(0x287),_0x38475a[_0x5f4310(0x235)]),s(_0x3fab85,_0x5f4310(0x278),_0x38475a[_0x5f4310(0x29e)]);}_0x37412b[_0x5f4310(0x26a)]&&s(_0x3fab85,_0x5f4310(0x26a),_0x37412b['xAxis']),_0x37412b[_0x5f4310(0x256)]&&s(_0x3fab85,_0x5f4310(0x256),_0x37412b[_0x5f4310(0x256)]),_0x37412b[_0x5f4310(0x21e)]&&s(_0x3fab85,_0x5f4310(0x272),_0x37412b[_0x5f4310(0x21e)]),_0x37412b[_0x5f4310(0x25f)]&&s(_0x3fab85,_0x5f4310(0x25f),_0x37412b['seriesStyleMap']);const _0x40d1b4={'unitId':_0x376f38,'chartModelId':_0x21b958};let _0x7c2597=!0x1;if(_0x221c0b!==void 0x0&&(_0x40d1b4[_0x5f4310(0x216)]=_0x221c0b,_0x7c2597=!0x0),Object[_0x5f4310(0x28c)](_0x3fab85)[_0x5f4310(0x214)]>0x0&&(_0x40d1b4[_0x5f4310(0x292)]=_0x3fab85,_0x7c2597=!0x0),Object[_0x5f4310(0x28c)](_0x4282f0)[_0x5f4310(0x214)]>0x0&&(_0x40d1b4[_0x5f4310(0x261)]=_0x4282f0,_0x7c2597=!0x0),_0x7c2597)return _0x40d1b4;};class c extends _0x1ef2ac{constructor(_0x372117,_0x53a4b4,_0x15fb3a,_0x54de3b,_0x549602){const _0xe0bfc=_0x24cb33;super(),n(this,'_workbook'),n(this,'_injector'),n(this,_0xe0bfc(0x20b)),n(this,_0xe0bfc(0x20c)),n(this,_0xe0bfc(0x230)),n(this,_0xe0bfc(0x229)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0xe0bfc(0x23c)),n(this,'height'),n(this,_0xe0bfc(0x216)),n(this,'options'),n(this,'transposeRowsAndColumns'),(this[_0xe0bfc(0x20b)]=_0x372117,this[_0xe0bfc(0x20c)]=_0x53a4b4,this[_0xe0bfc(0x276)]=_0x15fb3a,this[_0xe0bfc(0x22a)]=_0x54de3b,_0x549602&&(this[_0xe0bfc(0x230)]=_0x549602));}['getChartType'](){const _0x506927=_0x24cb33;return this[_0x506927(0x216)];}[_0x24cb33(0x203)](_0x3bb26f){const _0x12b7da=_0x24cb33;if(typeof _0x3bb26f=='string'){const _0xe602b1=_0x159bed(_0x3bb26f);_0xe602b1['sheetName']&&(this[_0x12b7da(0x23d)]=_0xe602b1[_0x12b7da(0x277)]),this[_0x12b7da(0x229)]=_0xe602b1['range'];}else this[_0x12b7da(0x229)]=_0x3bb26f;return this;}[_0x24cb33(0x254)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x24cb33(0x2a1)](_0x16b3a1,_0x437d8a,_0x1955b2,_0x405727){const _0x1cb2c3=_0x24cb33,_0x5cf80d=this['_injector'][_0x1cb2c3(0x233)](_0x3b740d)['getRenderById'](this[_0x1cb2c3(0x20b)]);if(!_0x5cf80d)throw new Error(_0x1cb2c3(0x22d));const _0xd71177=_0x5cf80d[_0x1cb2c3(0x25c)](_0x2856b5),_0x59ab18=_0x5cf80d[_0x1cb2c3(0x25c)](_0x3bbb8d),{transform:_0x2f6d48}=_0x488a4(this['unitId'],this[_0x1cb2c3(0x20c)],{'row':_0x16b3a1,'column':_0x437d8a,'rowOffset':_0x1955b2,'columnOffset':_0x405727},0x1,0x1,_0xd71177,_0x59ab18),_0x63ae2=_0x2f6d48[_0x1cb2c3(0x290)],_0x5e08c9=_0x2f6d48[_0x1cb2c3(0x291)];return this['x']=_0x5e08c9,this['y']=_0x63ae2,this;}['setAbsolutePosition'](_0x952f60,_0x961a11){return this['x']=_0x952f60,this['y']=_0x961a11,this;}[_0x24cb33(0x226)](_0x51a466){const _0x5ef4a4=_0x24cb33;return this[_0x5ef4a4(0x216)]=_0x51a466,this;}[_0x24cb33(0x29c)](_0x37a01d){const _0x7dde31=_0x24cb33;return this[_0x7dde31(0x23c)]=_0x37a01d,this;}[_0x24cb33(0x1f7)](_0x1b5377){return this['height']=_0x1b5377,this;}[_0x24cb33(0x1ef)](_0x24c779,_0x44d46c){const _0x1ea249=_0x24cb33;return this[_0x1ea249(0x24a)]||(this[_0x1ea249(0x24a)]={}),_0x24c779===''?(this[_0x1ea249(0x24a)]={...this[_0x1ea249(0x24a)],..._0x44d46c},this):(_0x3665cc(this[_0x1ea249(0x24a)],_0x24c779,_0x44d46c),this);}[_0x24cb33(0x26e)](_0x5eac46){const _0x1ea3d7=_0x24cb33;return this[_0x1ea3d7(0x282)]=_0x5eac46,this;}[_0x24cb33(0x24d)](_0x11202e){return this['setOptions']('theme',_0x11202e),this;}[_0x24cb33(0x27f)](_0x426f7a){const _0x3b18d2=_0x24cb33;var _0x490229;const _0x3d6d3d=((_0x490229=this[_0x3b18d2(0x24a)])==null?void 0x0:_0x490229[_0x3b18d2(0x248)])||{};return _0x3d6d3d[_0x3b18d2(0x251)]=_0x426f7a,this['setOptions'](_0x3b18d2(0x248),_0x3d6d3d),this;}['setYAxisTitle'](_0x325df1){const _0x311281=_0x24cb33;var _0x2ed626;const _0xd93128=((_0x2ed626=this[_0x311281(0x24a)])==null?void 0x0:_0x2ed626[_0x311281(0x255)])||{};return _0xd93128[_0x311281(0x251)]=_0x325df1,this[_0x311281(0x1ef)](_0x311281(0x255),_0xd93128),this;}[_0x24cb33(0x243)](_0x18767c){const _0x403cef=_0x24cb33;var _0x2d977b;const _0x3b70c3=((_0x2d977b=this[_0x403cef(0x24a)])==null?void 0x0:_0x2d977b['rightYAxisTitle'])||{};return _0x3b70c3['content']=_0x18767c,this[_0x403cef(0x1ef)]('rightYAxisTitle',_0x3b70c3),this;}[_0x24cb33(0x269)](_0x4181d5){const _0x4db51a=_0x24cb33;var _0x1c5aef;const _0x2a697e=((_0x1c5aef=this[_0x4db51a(0x24a)])==null?void 0x0:_0x1c5aef[_0x4db51a(0x248)])||{};return this[_0x4db51a(0x1ef)]('xAxisTitle',{..._0x2a697e,..._0x4181d5}),this;}[_0x24cb33(0x28a)](_0x4c86c7){const _0x32d18e=_0x24cb33;var _0x47636f;const _0x4a5fac=((_0x47636f=this[_0x32d18e(0x24a)])==null?void 0x0:_0x47636f[_0x32d18e(0x255)])||{};return this[_0x32d18e(0x1ef)](_0x32d18e(0x255),{..._0x4a5fac,..._0x4c86c7}),this;}[_0x24cb33(0x25d)](_0x5eac29){const _0x5e6d95=_0x24cb33;var _0xf4fe31;const _0x343c67=((_0xf4fe31=this[_0x5e6d95(0x24a)])==null?void 0x0:_0xf4fe31[_0x5e6d95(0x265)])||{};return this[_0x5e6d95(0x1ef)]('rightYAxisTitle',{..._0x343c67,..._0x5eac29}),this;}['setInvalidValueStrategy'](_0x1dce41){const _0x24cbd9=_0x24cb33;return this[_0x24cbd9(0x1ef)](_0x24cbd9(0x209),_0x1dce41),this;}['setAxisPointerStyle'](_0x57a2bc){const _0x18c739=_0x24cb33;return this[_0x18c739(0x1ef)](_0x18c739(0x26f),_0x57a2bc),this;}[_0x24cb33(0x208)](_0x1f2939){const _0x4200c0=_0x24cb33;return this[_0x4200c0(0x1ef)](_0x4200c0(0x286),_0x1f2939),this;}[_0x24cb33(0x202)](_0x5a8f91,_0xefd085){const _0x2c6ca5=_0x24cb33;return this['setOptions'](_0x2c6ca5(0x25f),{[_0x5a8f91]:_0xefd085}),this;}['build'](){const _0x14f81c=_0x24cb33;return{'unitId':this['unitId'],'subUnitId':this[_0x14f81c(0x20c)],'chartId':this[_0x14f81c(0x230)],'range':this[_0x14f81c(0x229)],'sourceSheetName':this[_0x14f81c(0x23d)],'x':this['x'],'y':this['y'],'width':this[_0x14f81c(0x23c)],'height':this[_0x14f81c(0x27c)],'chartType':this['chartType'],'options':this[_0x14f81c(0x24a)],'isRowDirection':this[_0x14f81c(0x282)]};}}class P{constructor(_0x51cf1a,_0x47f618,_0x2707a5,_0x1054d7){const _0xd4d71b=_0x24cb33;n(this,_0xd4d71b(0x20b)),n(this,'subUnitId'),n(this,_0xd4d71b(0x230)),n(this,_0xd4d71b(0x22a)),(this[_0xd4d71b(0x20b)]=_0x51cf1a,this[_0xd4d71b(0x20c)]=_0x47f618,this[_0xd4d71b(0x230)]=_0x2707a5,this['_injector']=_0x1054d7);}['getChartId'](){return this['chartId'];}[_0x24cb33(0x279)](){const _0xb929e9=_0x24cb33,_0x48b2eb=this[_0xb929e9(0x22a)]['get'](_0x3f282a)['getChartModel'](this[_0xb929e9(0x230)]);if(_0x48b2eb)return _0x48b2eb[_0xb929e9(0x281)][_0xb929e9(0x23b)]();}['updateRange'](_0x1f008c){const _0x4c806b=_0x24cb33;return this[_0x4c806b(0x22a)][_0x4c806b(0x233)](_0x3ed6d6)['executeCommand'](_0x3ea413['id'],{'unitId':this[_0x4c806b(0x20b)],'chartModelId':this[_0x4c806b(0x230)],'range':_0x1f008c});}[_0x24cb33(0x1ec)](){const _0x5c4b50=_0x24cb33;var _0x185484;const _0x25156c=this['_injector'][_0x5c4b50(0x233)](_0x3f282a)['getChartModel'](this[_0x5c4b50(0x230)]);if(_0x25156c)return(_0x185484=_0x25156c[_0x5c4b50(0x246)])==null?void 0x0:_0x185484[_0x5c4b50(0x220)];}[_0x24cb33(0x218)](){const _0x2b88a1=_0x24cb33;var _0x173ce7;const _0x4e0a13=this[_0x2b88a1(0x22a)][_0x2b88a1(0x233)](_0x3f282a)[_0x2b88a1(0x240)](this[_0x2b88a1(0x230)]);if(_0x4e0a13)return(_0x173ce7=_0x4e0a13[_0x2b88a1(0x246)])==null?void 0x0:_0x173ce7[_0x2b88a1(0x1f9)];}[_0x24cb33(0x27a)](){const _0x36279e=_0x24cb33,_0x52cafc=this[_0x36279e(0x22a)][_0x36279e(0x233)](_0x10eb52)[_0x36279e(0x1fd)](_0x21cf54[_0x36279e(0x28d)]);return new c(this['unitId'],this[_0x36279e(0x20c)],_0x52cafc,this[_0x36279e(0x22a)],this[_0x36279e(0x230)]);}}function _0x477b(){const _0x59b15f=['setDoughnutHole','8pIeBVK','setTransposeRowsAndColumns','axisPointer','titles.yAxisTitle.font','titles.xAxisTitle.font','rightYAxis','radar','fontStyle','AxisAlignEnum','_workbook','sheetName','rightYAxis.label.axisTitleAlign','getRange','modify','color','height','titles.xAxisTitle.fontSize','area','setXAxisTitle','titles.yAxisTitle.fontSize','dataSource','transposeRowsAndColumns','map','TitlePositionEnum','newChart','allSeriesStyle','titles.rightYAxisTitle.bold','dataPointColor','allSeriesStyle.point.color','setYAxisTextStyle','doughnutHole','keys','UNIVER_SHEET','titles.rightYAxisTitle.family','254136rlZncs','top','left','style','theme','setRosePie','titles.title.font','shape','pie','allSeriesStyle.label','pie.rosePie','dataPointSize','titles.title.color','setWidth','dataPointShape','axisAlignment','allSeriesStyle.point.size','extend','setPosition','tooltip.indicatorLineColor','getSeriesData','allSeriesStyle.border','RadarShape','setOptions','1313205RgNCUH','239368CxKTeQ','titles.yAxisTitle.color','Radar','title','ChartType','Line','setHeight','124083cJnoBB','category','setLineStyle','titles.title.fontSize','asLineChart','getCurrentUnitForType','titles.xAxisTitle.content','titles.rightYAxisTitle.color','legend.label.fontSize','pie.borderColor','setSeriesStyle','addRange','gradientFill','_commandService','registerChartTheme','removeChart','setAllSeriesStyle','invalidValueType','indicatorLineType','unitId','subUnitId','tooltip.indicatorLineType','insertChart','pie.hasPaddingAngle','setDataPointSize','getSheetId','asPieChart','titles.xAxisTitle.family','length','radar.fill','chartType','isRowDirection','getCategoryData','5283288LIHQBV','pie.showLabelLine','setDataPointColor','backgroundColor','SelectModeEnum','yRightAxis','area.lineStyle','series','borderColor','radar.shape','allSeriesStyle.point','legend.selectMode','titles.titlePosition','setChartType','356478aHWPxA','setHasPaddingAngle','range','_injector','LinePointShape','legend.label.italic','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','pie.doughnutHole','legend','chartId','titles.title.family','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','get','titles.xAxisTitle.color','bold','updateChart','position','fontColor','asRadarChart','indicatorLabelColor','getRangeInfo','width','sourceSheetName','font','getUnitId','getChartModel','allSeriesStyle.point.shape','rosePie','setRightYAxisTitle','tooltip.indicatorLabelColor','label','config','defineProperty','xAxisTitle','setIsHalfPie','options','build','hasPaddingAngle','setTheme','lineStyle','pie.isHalfPie','getCharts','content','showLabelLine','titles.yAxisTitle.family','clearRange','yAxisTitle','yAxis','legend.label.bold','8KRNDFb','executeCommand','setDataPointShape','titles.title.content','with','setRightYAxisTextStyle','getWorkbook','seriesStyleMap','1959902lfOCnG','context','legend.label.color','registerTheme','DRAWING_CHART','rightYAxisTitle','fill','fontSize','border','setXAxisTextStyle','xAxis','isHalfPie'];_0x477b=function(){return _0x59b15f;};return _0x477b();}class $ extends _0x8aa54c{async[_0x24cb33(0x20e)](_0x4c3d05){const _0x1d41a1=_0x24cb33;var _0x336810,_0x3e3531,_0x412a0e;const _0xd222a=_0x4c3d05[_0x1d41a1(0x20b)]||this[_0x1d41a1(0x25e)]()['getUnitId'](),_0x3ae4c5=_0x4c3d05['subUnitId']||this[_0x1d41a1(0x211)](),_0xf4a615=_0x4c3d05[_0x1d41a1(0x230)]||_0x4cfb1e(),_0x11a1bf=_0x4c3d05['chartType'],_0x4f45d6=_0x4c3d05[_0x1d41a1(0x229)],_0x5a7fe1=_0x4c3d05[_0x1d41a1(0x23d)],_0x58b13e={'x':_0x4c3d05['x'],'y':_0x4c3d05['y']},_0x2ac0ef=_0x4c3d05[_0x1d41a1(0x23c)],_0x20fa0d=_0x4c3d05['height'],_0x554610=(_0x336810=_0x4c3d05[_0x1d41a1(0x24a)])==null?void 0x0:_0x336810[_0x1d41a1(0x21c)],_0x101f1c=(_0x3e3531=_0x4c3d05['options'])==null?void 0x0:_0x3e3531[_0x1d41a1(0x221)],_0x16e43b=C(_0xd222a,_0xf4a615,_0x11a1bf,_0x4c3d05['options']),_0x295777=(_0x412a0e=_0x4c3d05[_0x1d41a1(0x217)])!=null?_0x412a0e:!0x0;if(!_0x4f45d6)throw new Error(_0x1d41a1(0x232));return await this[_0x1d41a1(0x205)][_0x1d41a1(0x259)](_0x2f92a7['id'],{'unitId':_0xd222a,'subUnitId':_0x3ae4c5,'chartId':_0xf4a615,'chartType':_0x11a1bf,'range':_0x4f45d6,'sourceSheetName':_0x5a7fe1,'position':_0x58b13e,'width':_0x2ac0ef,'height':_0x20fa0d,'backgroundColor':_0x554610,'borderColor':_0x101f1c,'config':_0x16e43b,'isRowDirection':_0x295777}),new P(_0xd222a,_0x3ae4c5,_0xf4a615,this[_0x1d41a1(0x22a)]);}[_0x24cb33(0x236)](_0x23e76f){const {unitId:_0x384be4,chartId:_0x43a9bf,chartType:_0x496947,options:_0x40fcd0}=_0x23e76f,_0x4d1049=C(_0x384be4,_0x43a9bf,_0x496947,_0x40fcd0);this['_commandService']['executeCommand'](_0x4a9f76['id'],_0x4d1049);}[_0x24cb33(0x285)](_0x3f5d2c){const _0xc9ced1=_0x24cb33;if(_0x3f5d2c)return new c(_0x3f5d2c[_0xc9ced1(0x20b)],_0x3f5d2c[_0xc9ced1(0x20c)],this['_workbook'],this['_injector'],_0x3f5d2c['chartId']);const _0x369dbf=this[_0xc9ced1(0x25e)]()['getUnitId'](),_0x2e92e9=this['getSheetId']();return new c(_0x369dbf,_0x2e92e9,this[_0xc9ced1(0x276)],this[_0xc9ced1(0x22a)]);}[_0x24cb33(0x250)](){const _0x13dd15=_0x24cb33,_0x5d2d57=this['_injector'][_0x13dd15(0x233)](_0x3f282a),_0xc26d25=this[_0x13dd15(0x25e)]()[_0x13dd15(0x23f)]();return _0x5d2d57['getUnitChartModels'](_0xc26d25,this[_0x13dd15(0x211)]())[_0x13dd15(0x283)](_0x3bd289=>new P(_0xc26d25,this[_0x13dd15(0x211)](),_0x3bd289['id'],this[_0x13dd15(0x22a)]));}[_0x24cb33(0x207)](_0x5cedf8){const _0x238e93=_0x24cb33,_0x120836=_0x5cedf8[_0x238e93(0x20b)],_0x586491=_0x5cedf8[_0x238e93(0x20c)],_0x20dd6b=_0x5cedf8[_0x238e93(0x230)],_0x12d8d8={'unitId':_0x120836,'drawings':[{'unitId':_0x120836,'subUnitId':_0x586491,'drawingId':_0x20dd6b,'drawingType':_0x136f2b[_0x238e93(0x264)]}]};return this[_0x238e93(0x205)][_0x238e93(0x259)](_0x3ba912['id'],_0x12d8d8);}[_0x24cb33(0x206)](_0x2aa9a8,_0x175a49){const _0x43f019=_0x24cb33;this[_0x43f019(0x22a)][_0x43f019(0x233)](_0x31e844)[_0x43f019(0x263)](_0x2aa9a8,_0x175a49);}}_0x8aa54c[_0x24cb33(0x2a0)]($);class tt extends _0x2316d2{get[_0x24cb33(0x1f5)](){return _0xc2e64c;}get['LegendPositionEnum'](){return _0x4d8f69;}get[_0x24cb33(0x21d)](){return _0x5120a5;}get[_0x24cb33(0x275)](){return _0x146cae;}get['ChartBorderDashType'](){return _0xff32fb;}get[_0x24cb33(0x22b)](){return _0x2e7fc4;}get[_0x24cb33(0x284)](){return _0x16cbcf;}get[_0x24cb33(0x1ee)](){return _0x355190;}}_0x2316d2[_0x24cb33(0x2a0)](tt);class et extends c{constructor(_0x40dbb8,_0x269a46,_0x3c5393,_0x57cc3a,_0x245e2a){const _0x1622f2=_0x24cb33;super(_0x40dbb8,_0x269a46,_0x3c5393,_0x57cc3a,_0x245e2a),n(this,_0x1622f2(0x24e)),n(this,_0x1622f2(0x29d)),n(this,'dataPointColor'),n(this,_0x1622f2(0x29a));}[_0x24cb33(0x1fa)](_0x505c90){return this['lineStyle']=_0x505c90,this;}[_0x24cb33(0x25a)](_0x178f98){const _0x288566=_0x24cb33;return this[_0x288566(0x29d)]=_0x178f98,this;}[_0x24cb33(0x21b)](_0x1f0518){const _0x3aada4=_0x24cb33;return this[_0x3aada4(0x288)]=_0x1f0518,this;}[_0x24cb33(0x210)](_0xc9e23a){const _0x57a47a=_0x24cb33;return this[_0x57a47a(0x29a)]=_0xc9e23a,this;}[_0x24cb33(0x24b)](){const _0x60ddca=_0x24cb33,_0x692365=super[_0x60ddca(0x24b)]();_0x692365[_0x60ddca(0x216)]=_0xc2e64c[_0x60ddca(0x1f6)];const _0x12ea33=_0x692365[_0x60ddca(0x24a)]||{};return s(_0x12ea33,_0x60ddca(0x21f),this['lineStyle']),s(_0x12ea33,_0x60ddca(0x241),this[_0x60ddca(0x29d)]),s(_0x12ea33,_0x60ddca(0x289),this[_0x60ddca(0x288)]),s(_0x12ea33,_0x60ddca(0x29f),this[_0x60ddca(0x29a)]),_0x692365[_0x60ddca(0x24a)]=_0x12ea33,_0x692365;}}class it extends c{[_0x24cb33(0x1fc)](){const _0x47bff7=_0x24cb33;return new et(this['unitId'],this['subUnitId'],this['_workbook'],this[_0x47bff7(0x22a)],this[_0x47bff7(0x230)]);}}c[_0x24cb33(0x2a0)](it);class st extends c{constructor(_0x5c9553,_0x2ab02f,_0x5aa0cc,_0x4593d2,_0x3db53a){const _0x261d74=_0x24cb33;super(_0x5c9553,_0x2ab02f,_0x5aa0cc,_0x4593d2,_0x3db53a),n(this,_0x261d74(0x28b)),n(this,'borderColor'),n(this,_0x261d74(0x24c)),n(this,_0x261d74(0x26b)),n(this,_0x261d74(0x242)),n(this,'showLabelLine');}[_0x24cb33(0x26c)](_0x3c8584){return this['doughnutHole']=_0x3c8584,this;}['setBorderColor'](_0x49aa13){const _0x19f00a=_0x24cb33;return this[_0x19f00a(0x221)]=_0x49aa13,this;}[_0x24cb33(0x228)](_0x3bd768){const _0x4b1b92=_0x24cb33;return this[_0x4b1b92(0x24c)]=_0x3bd768,this;}[_0x24cb33(0x249)](_0x4e6bc9){const _0xc6b4a4=_0x24cb33;return this[_0xc6b4a4(0x26b)]=_0x4e6bc9,this;}[_0x24cb33(0x294)](_0x18df23){const _0x1127ec=_0x24cb33;return this[_0x1127ec(0x242)]=_0x18df23,this;}['setShowLabelLine'](_0x3a254b){const _0x249e16=_0x24cb33;return this[_0x249e16(0x252)]=_0x3a254b,this;}[_0x24cb33(0x24b)](){const _0x51f1e1=_0x24cb33,_0x333e8f=super[_0x51f1e1(0x24b)]();_0x333e8f[_0x51f1e1(0x216)]=_0xc2e64c['Pie'];const _0x53cb66=_0x333e8f[_0x51f1e1(0x24a)]||{};return s(_0x53cb66,'pie.doughnutHole',this[_0x51f1e1(0x28b)]),s(_0x53cb66,'pie.borderColor',this[_0x51f1e1(0x221)]),s(_0x53cb66,_0x51f1e1(0x20f),this[_0x51f1e1(0x24c)]),s(_0x53cb66,_0x51f1e1(0x24f),this['isHalfPie']),s(_0x53cb66,_0x51f1e1(0x299),this[_0x51f1e1(0x242)]),s(_0x53cb66,_0x51f1e1(0x21a),this[_0x51f1e1(0x252)]),_0x333e8f[_0x51f1e1(0x24a)]=_0x53cb66,_0x333e8f;}}function _0x341e(_0x59f0f7,_0x401999){_0x59f0f7=_0x59f0f7-0x1ec;const _0x477b2d=_0x477b();let _0x341ea8=_0x477b2d[_0x59f0f7];return _0x341ea8;}class rt extends c{[_0x24cb33(0x212)](){const _0xa07406=_0x24cb33;return new st(this[_0xa07406(0x20b)],this[_0xa07406(0x20c)],this['_workbook'],this[_0xa07406(0x22a)],this[_0xa07406(0x230)]);}}c[_0x24cb33(0x2a0)](rt);class ot extends c{constructor(_0x400349,_0x4f927b,_0x5b3a1c,_0x5d2cd2,_0x5a0cfe){super(_0x400349,_0x4f927b,_0x5b3a1c,_0x5d2cd2,_0x5a0cfe),n(this,'shape'),n(this,'fill');}['setShape'](_0x16a9fd){const _0x75f39d=_0x24cb33;return this[_0x75f39d(0x296)]=_0x16a9fd,this;}['setFill'](_0x47b293){const _0x315917=_0x24cb33;return this[_0x315917(0x266)]=_0x47b293,this;}[_0x24cb33(0x24b)](){const _0x56bbef=_0x24cb33,_0x3d886d=super[_0x56bbef(0x24b)]();_0x3d886d[_0x56bbef(0x216)]=_0xc2e64c[_0x56bbef(0x1f3)];const _0x356dab=_0x3d886d[_0x56bbef(0x24a)]||{};return s(_0x356dab,_0x56bbef(0x222),this[_0x56bbef(0x296)]),s(_0x356dab,_0x56bbef(0x215),this[_0x56bbef(0x266)]),_0x3d886d[_0x56bbef(0x24a)]=_0x356dab,_0x3d886d;}}class nt extends c{[_0x24cb33(0x239)](){const _0x196250=_0x24cb33;return new ot(this['unitId'],this[_0x196250(0x20c)],this[_0x196250(0x276)],this['_injector'],this[_0x196250(0x230)]);}}c[_0x24cb33(0x2a0)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|