@univerjs-pro/sheets-chart-ui 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/sheets-chart.command.d.ts +1 -0
- package/lib/types/controllers/chart-sheet-change.controller.d.ts +12 -0
- package/lib/types/facade/chart-builder/chart-builder-base.d.ts +17 -11
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x244c17=_0x525b;(function(_0x4ace00,_0x285e07){const _0x44046d=_0x525b,_0x555417=_0x4ace00();while(!![]){try{const _0xe2fea0=-parseInt(_0x44046d(0x12d))/0x1+-parseInt(_0x44046d(0x127))/0x2*(parseInt(_0x44046d(0x124))/0x3)+-parseInt(_0x44046d(0x129))/0x4*(-parseInt(_0x44046d(0x137))/0x5)+parseInt(_0x44046d(0x145))/0x6+-parseInt(_0x44046d(0x164))/0x7+parseInt(_0x44046d(0x18c))/0x8+-parseInt(_0x44046d(0x169))/0x9;if(_0xe2fea0===_0x285e07)break;else _0x555417['push'](_0x555417['shift']());}catch(_0x397f13){_0x555417['push'](_0x555417['shift']());}}}(_0x4b32,0xdf427));const e={'chart':{'insertChart':_0x244c17(0x187),'editChart':_0x244c17(0x123),'openChartPanel':_0x244c17(0x125),'deleteChart':'刪除圖表','hideChartPanel':_0x244c17(0x167),'setupChart':'設置圖表','customChart':'自定義圖表','default':'默認','reset':'重置','chartType':_0x244c17(0x186),'themes':'主題','dataRange':_0x244c17(0x15a),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x244c17(0x13e),'moreSettings':'更多設置','min':'最小值','max':_0x244c17(0x146),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x244c17(0x112)},'blank':_0x244c17(0x170),'seriesBlock':{'format':'格式','dataPointStyle':_0x244c17(0x16d)},'backgroundColor':'背景顏色','chartBorderColor':_0x244c17(0x157),'titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x244c17(0x177),'xAxisTitle':_0x244c17(0x138),'yAxisTitle':_0x244c17(0x11a),'rightYAxisTitle':_0x244c17(0x111),'titleFormat':_0x244c17(0x139),'titleText':_0x244c17(0x183),'titlePosition':_0x244c17(0x144),'titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x244c17(0x149),'settingsLabels':{'switchToRowOrColumn':'切換列或欄','useAsCategoryLabels':_0x244c17(0x12e),'showEmptyCellsAs':_0x244c17(0x15d)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x244c17(0x116),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':'圖表樣式','chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x244c17(0x11e),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x244c17(0x120),'horizontalAxis':_0x244c17(0x161),'verticalAxis':_0x244c17(0x17b),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x244c17(0x160)},'position':'位置','dataLabels':_0x244c17(0x13a),'gridlinesAndTicks':_0x244c17(0x12a),'indicatorLine':_0x244c17(0x159),'indicatorLineType':_0x244c17(0x17c),'indicatorLineColor':'指示線顏色','indicatorLabel':'指示標籤','indicatorValue':_0x244c17(0x16c),'shape':{'polygon':_0x244c17(0x158),'circle':'圓形','square':'正方形','triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x244c17(0x16e),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x244c17(0x14e),'emptyTriangle':'空心三角形','emptyDiamond':_0x244c17(0x190),'emptyRect':_0x244c17(0x18a),'emptyRoundRect':_0x244c17(0x13d),'emptyPin':'空心針形','emptyArrow':_0x244c17(0x12c)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x244c17(0x185),'withColor':_0x244c17(0x130),'withThickness':_0x244c17(0x153),'withType':_0x244c17(0x156),'withSize':'{0}\x20大小','withShape':_0x244c17(0x17f),'withFormat':_0x244c17(0x166),'dataPoint':_0x244c17(0x14d),'dataNodeShape':_0x244c17(0x17e),'addDataPoint':_0x244c17(0x143),'point':_0x244c17(0x14d),'percentage':_0x244c17(0x17a),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x244c17(0x11d)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x244c17(0x142),'text':_0x244c17(0x165)},'ticks':{'majorTick':_0x244c17(0x117),'tickPosition':_0x244c17(0x12f),'tickLength':_0x244c17(0x188)},'none':'無','theIndexItem':_0x244c17(0x13f),'seriesDefaultName':_0x244c17(0x136),'categoryDefaultName':_0x244c17(0x134),'styleEditPanel':{'showLabels':_0x244c17(0x193),'showDataLabels':_0x244c17(0x14c),'padAngle':'扇形間距','halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':_0x244c17(0x12b),'pieValSuffix':_0x244c17(0x181),'pieDigitalFixed':'小數位數','showLabelLine':_0x244c17(0x14a),'reverseAxisOrder':_0x244c17(0x147),'showAxisLine':'顯示軸線','labelPosition':'標籤位置','labelText':_0x244c17(0x115),'repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':_0x244c17(0x191),'labelRotate':'標籤旋轉','wordCloudShape':'詞雲形狀','useDateAxis':_0x244c17(0x171),'dateAxisTips':_0x244c17(0x172)},'radar':{'fill':'填充'},'doughnutHole':_0x244c17(0x18d),'msg':{'invalidSource':_0x244c17(0x192),'emptyTips':_0x244c17(0x126)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x244c17(0x18f),'displayName':_0x244c17(0x135),'addTrendLine':_0x244c17(0x155),'trendlineType':'趨勢線類型','trendlineName':_0x244c17(0x135),'trendlineColor':_0x244c17(0x163),'trendlineThickness':_0x244c17(0x15c),'trendlineDashType':_0x244c17(0x18b),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':'移動平均','poly':_0x244c17(0x179),'order':_0x244c17(0x11f),'period':'移動平均周期','showFormula':_0x244c17(0x189),'showR2':_0x244c17(0x184),'formula':'公式','r2':_0x244c17(0x173)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':'氣泡大小','label':'氣泡標籤','emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':_0x244c17(0x16b),'auto':'自動','circular':'環形','force':_0x244c17(0x168),'useValueAsSymbolSize':_0x244c17(0x132),'layoutType':_0x244c17(0x16f),'forceOptions':_0x244c17(0x176),'repulsion':'斥力','gravity':'引力','edgeLength':_0x244c17(0x180),'rotateLabel':_0x244c17(0x17d),'emphasis':_0x244c17(0x13b),'emptyTips':_0x244c17(0x14f)},'waterfall':{'stackType':_0x244c17(0x174),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x244c17(0x150),'positiveStyle':_0x244c17(0x114),'negativeStyle':'負值樣式','subtotalStyle':'小計樣式','positiveLegendText':'正值圖例文本','negativeLegendText':'負值圖例文本','subtotalLegendText':_0x244c17(0x11c)},'pareto':{'lineName':_0x244c17(0x15e),'lineSeries':'累積占比系列','barSeries':'長條圖系列'},'visualMapScope':_0x244c17(0x14b),'boxplot':{'min':'最小值','q1':_0x244c17(0x119),'median':_0x244c17(0x18e),'q3':_0x244c17(0x113),'max':_0x244c17(0x146)}},'chartTypes':{'line':'折線圖','area':'面積圖','areaStacked':_0x244c17(0x151),'areaPercentStacked':_0x244c17(0x15b),'column':_0x244c17(0x152),'bar':_0x244c17(0x148),'barStacked':_0x244c17(0x182),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x244c17(0x16a),'scatter':_0x244c17(0x122),'radar':_0x244c17(0x15f),'bubble':_0x244c17(0x128),'stock':'股票圖','combination':'組合圖','wordCloud':'詞雲圖','funnel':_0x244c17(0x133),'relation':_0x244c17(0x16b),'waterfall':'瀑布圖','pareto':_0x244c17(0x121),'sankey':_0x244c17(0x13c),'heatmap':'熱力圖','boxplot':_0x244c17(0x154)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x244c17(0x11b),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x244c17(0x140),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x244c17(0x162),'decimalPlaces':_0x244c17(0x118),'currencyTypes':_0x244c17(0x131),'negativeNumberTypes':_0x244c17(0x175),'dateTypes':_0x244c17(0x141)},'setFormat':_0x244c17(0x178)}};function _0x525b(_0x49ea55,_0xb69ab5){_0x49ea55=_0x49ea55-0x111;const _0x4b3263=_0x4b32();let _0x525b03=_0x4b3263[_0x49ea55];return _0x525b03;}export{e as default};function _0x4b32(){const _0x2b4e03=['千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','趨勢線顏色','10932278PMvlUe','網格線','{0}\x20格式','隱藏圖表面板','力導向','2439522piiWju','環形圖','關係圖','指示值','數據點樣式','圓角矩形','佈局類型','(空)','使用日期軸','日期軸僅在數據全部為日期格式時可用','R平方','堆疊方式','負數類型','力導向選項','副標題','設置標籤格式','多項式','百分比','垂直軸','指示線類型','旋轉標籤','節點形狀','{0}\x20形狀','節點距離','数值后缀','堆疊條形圖','標題文本','顯示R平方','{0}\x20透明度','圖表類型','插入圖表','刻度線長度','顯示公式','空心矩形','趨勢線線類型','14118792DZUFEG','圓環孔','中位數','趨勢線','空心菱形','使用絕對值','圖表數據源必須包含多於1列和1欄。','顯示標籤','右Y軸標題','用直線連接數據點','第三四分位數','正值樣式','標籤文本','左對齊','主刻度線','小數位數','第一四分位數','Y軸標題','字段設置','小計圖例文本','百分比堆疊','圖例選擇模式','多項式階數','軸選項','排列圖','散點圖','編輯圖表','1158810mVwExW','打開圖表面板','請先添加系列開始數據可視化','6xyxzFo','氣泡圖','612NVHmdh','網格線和刻度線','数值比例','空心箭頭','184718owznoS','使用\x20{0}\x20作為類別標籤','刻度線位置','{0}\x20顏色','貨幣類型','使用值作為節點大小','漏斗圖','類別\x20{0}','趨勢線名稱','系列\x20{0}','57065mEGMeM','X軸標題','標題格式','數據標籤','開啟選中淡入特效','桑基圖','空心圓角矩形','添加系列','第\x20{0}\x20項','常規格式不包含任何特定的數字格式。','日期類型','主網格線','添加數據點','標題位置','3478638XNfdcf','最大值','逆序軸','條形圖','漸變填充','顯示標籤線','視覺映射範圍','顯示數據標籤','數據點','空心正方形','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','顯示小計','堆疊面積圖','柱狀圖','{0}\x20粗細','箱型圖','添加趨勢線','{0}\x20類型','圖表邊框顏色','多邊形','指示線','數據範圍','百分比堆疊面積圖','趨勢線粗細','顯示空單元格為','累積占比','雷達圖','使用右軸','水平軸'];_0x4b32=function(){return _0x2b4e03;};return _0x4b32();}
|
|
@@ -4,6 +4,7 @@ import { ISheetCommandSharedParams } from '@univerjs/sheets';
|
|
|
4
4
|
import { ChartTypeBits } from '@univerjs-pro/engine-chart';
|
|
5
5
|
export interface IInsertChartCommandParams extends ISheetCommandSharedParams {
|
|
6
6
|
range: IRange;
|
|
7
|
+
sourceSheetName?: string;
|
|
7
8
|
chartId: string;
|
|
8
9
|
theme?: string;
|
|
9
10
|
chartType: ChartTypeBits;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChartModelService } from '@univerjs-pro/sheets-chart';
|
|
2
|
+
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
3
|
+
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
4
|
+
import { ISheetDrawingService } from '@univerjs/sheets-drawing';
|
|
5
|
+
export declare class ChartSheetChangeController extends Disposable {
|
|
6
|
+
private _univerInstanceService;
|
|
7
|
+
private readonly _sheetInterceptorService;
|
|
8
|
+
private readonly _sheetDrawingService;
|
|
9
|
+
private readonly _chartModelService;
|
|
10
|
+
constructor(_univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _sheetDrawingService: ISheetDrawingService, _chartModelService: ChartModelService);
|
|
11
|
+
private _initSheetChange;
|
|
12
|
+
}
|
|
@@ -6,21 +6,26 @@ import { FBase } from '@univerjs/core/facade';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface IChartBuilderInfo {
|
|
8
8
|
/**
|
|
9
|
-
* @property {string} unitId The
|
|
9
|
+
* @property {string} unitId The workbook id where the chart is located.
|
|
10
10
|
*/
|
|
11
11
|
unitId: string;
|
|
12
12
|
/**
|
|
13
|
-
* @property {string} subUnitId The
|
|
13
|
+
* @property {string} subUnitId The worksheet id where the chart is located.
|
|
14
14
|
*/
|
|
15
15
|
subUnitId: string;
|
|
16
16
|
/**
|
|
17
|
-
* @property {string} chartId The
|
|
17
|
+
* @property {string} chartId The id of the chart.
|
|
18
18
|
*/
|
|
19
19
|
chartId: string;
|
|
20
20
|
/**
|
|
21
|
-
* @property {IRange} range The range of the chart.
|
|
21
|
+
* @property {IRange} range The data source range of the chart.
|
|
22
22
|
*/
|
|
23
23
|
range: IRange | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* @property {string} sourceSheetName The name of the worksheet which the data source range of the chart belongs to.
|
|
26
|
+
* If not set, the data source range is in the current active worksheet.
|
|
27
|
+
*/
|
|
28
|
+
sourceSheetName: string | undefined;
|
|
24
29
|
/**
|
|
25
30
|
* @property {number} x The x-coordinate of the chart.
|
|
26
31
|
*/
|
|
@@ -38,7 +43,7 @@ export interface IChartBuilderInfo {
|
|
|
38
43
|
*/
|
|
39
44
|
height: number;
|
|
40
45
|
/**
|
|
41
|
-
* @property {ChartTypeBits} chartType The
|
|
46
|
+
* @property {ChartTypeBits} chartType The type of the chart.
|
|
42
47
|
*/
|
|
43
48
|
chartType: ChartTypeBits;
|
|
44
49
|
/**
|
|
@@ -242,23 +247,24 @@ export declare class FChartBuilderBase extends FBase {
|
|
|
242
247
|
protected readonly _workbook: Workbook;
|
|
243
248
|
protected readonly _injector: Injector;
|
|
244
249
|
/**
|
|
245
|
-
* @property {string} unitId The
|
|
250
|
+
* @property {string} unitId The workbook id where the chart is located.
|
|
246
251
|
*/
|
|
247
252
|
unitId: string;
|
|
248
253
|
/**
|
|
249
|
-
* @property {string} subUnitId The
|
|
254
|
+
* @property {string} subUnitId The worksheet id where the chart is located.
|
|
250
255
|
*/
|
|
251
256
|
subUnitId: string;
|
|
252
257
|
/**
|
|
253
|
-
* @property {string} chartId The
|
|
258
|
+
* @property {string} chartId The id of the chart.
|
|
254
259
|
*/
|
|
255
260
|
chartId: string;
|
|
256
261
|
/**
|
|
257
|
-
* @property {IRange} range The source range of the chart.
|
|
262
|
+
* @property {IRange} range The data source range of the chart.
|
|
258
263
|
*/
|
|
259
264
|
range: IRange | undefined;
|
|
260
265
|
/**
|
|
261
|
-
* @property {string} sourceSheetName The source
|
|
266
|
+
* @property {string} sourceSheetName The name of the worksheet which the data source range of the chart belongs to.
|
|
267
|
+
* If not set, the data source range is in the current active worksheet.
|
|
262
268
|
*/
|
|
263
269
|
sourceSheetName: string | undefined;
|
|
264
270
|
/**
|
|
@@ -278,7 +284,7 @@ export declare class FChartBuilderBase extends FBase {
|
|
|
278
284
|
*/
|
|
279
285
|
height: number;
|
|
280
286
|
/**
|
|
281
|
-
* @property {ChartTypeBits} chartType The
|
|
287
|
+
* @property {ChartTypeBits} chartType The type of the chart.
|
|
282
288
|
*/
|
|
283
289
|
chartType: ChartTypeBits;
|
|
284
290
|
/**
|
|
@@ -29,5 +29,6 @@ export declare class SheetsChartHostProviderService extends Disposable implement
|
|
|
29
29
|
mountNode: HTMLElement;
|
|
30
30
|
dispose: () => void;
|
|
31
31
|
}>;
|
|
32
|
+
private _createHost;
|
|
32
33
|
}
|
|
33
34
|
export declare const IChartHostProviderService: import('@wendellhu/redi').IdentifierDecorator<IChartHostProviderService>;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x7ab4(_0x5dd3ca,_0x30c437){const _0x3b8a9a=_0x3b8a();return _0x7ab4=function(_0x7ab40,_0xd2ec1){_0x7ab40=_0x7ab40-0x1e8;let _0x97f91e=_0x3b8a9a[_0x7ab40];return _0x97f91e;},_0x7ab4(_0x5dd3ca,_0x30c437);}(function(_0x571d75,_0x18bbe9){const _0x231794=_0x7ab4,_0x19937c=_0x571d75();while(!![]){try{const _0x4f8dc3=-parseInt(_0x231794(0x280))/0x1*(parseInt(_0x231794(0x22e))/0x2)+-parseInt(_0x231794(0x2b3))/0x3*(parseInt(_0x231794(0x267))/0x4)+parseInt(_0x231794(0x237))/0x5+-parseInt(_0x231794(0x220))/0x6*(-parseInt(_0x231794(0x22c))/0x7)+parseInt(_0x231794(0x2ca))/0x8+-parseInt(_0x231794(0x28c))/0x9+parseInt(_0x231794(0x212))/0xa;if(_0x4f8dc3===_0x18bbe9)break;else _0x19937c['push'](_0x19937c['shift']());}catch(_0x5c471a){_0x19937c['push'](_0x19937c['shift']());}}}(_0x3b8a,0x93053),function(_0x50af63,_0x2043e6){const _0x1315d0=_0x7ab4;typeof exports==_0x1315d0(0x2a7)&&typeof module<'u'?_0x2043e6(exports,require('@univerjs-pro/engine-chart'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs/core'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x1315d0(0x242)]?define([_0x1315d0(0x297),_0x1315d0(0x27d),'@univerjs-pro/sheets-chart',_0x1315d0(0x295),'@univerjs/core',_0x1315d0(0x24e),_0x1315d0(0x215),_0x1315d0(0x22b),_0x1315d0(0x2be),_0x1315d0(0x251),_0x1315d0(0x218)],_0x2043e6):(_0x50af63=typeof globalThis<'u'?globalThis:_0x50af63||self,_0x2043e6(_0x50af63[_0x1315d0(0x227)]={},_0x50af63[_0x1315d0(0x2bb)],_0x50af63[_0x1315d0(0x247)],_0x50af63[_0x1315d0(0x201)],_0x50af63[_0x1315d0(0x2c1)],_0x50af63[_0x1315d0(0x26d)],_0x50af63[_0x1315d0(0x228)],_0x50af63[_0x1315d0(0x1f0)],_0x50af63['UniverEngineFormula'],_0x50af63[_0x1315d0(0x22d)],_0x50af63['UniverSheetsUi']));}(this,function(_0x10a9db,_0x2a97f7,_0x4cba6c,_0x5b4ade,_0x29966a,_0x4acfb2,_0x38a0f6,_0x11f7ee,_0x2ae31f,_0x5ba821,_0x450d6d){'use strict';const _0x5eda0e=_0x7ab4;var _0x263995=Object[_0x5eda0e(0x2c5)],_0x1381b1=(_0x2401a5,_0x3551e2,_0x358005)=>_0x3551e2 in _0x2401a5?_0x263995(_0x2401a5,_0x3551e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x358005}):_0x2401a5[_0x3551e2]=_0x358005,_0x287d0e=(_0x49b34e,_0x1b120d,_0x493a26)=>_0x1381b1(_0x49b34e,typeof _0x1b120d!=_0x5eda0e(0x2c2)?_0x1b120d+'':_0x1b120d,_0x493a26);const _0x2b5cae=(_0x3872dc,_0x353002,_0x2a45b2)=>{const _0x5985d3=_0x5eda0e;_0x2a45b2!==void 0x0&&_0x4cba6c[_0x5985d3(0x274)](_0x3872dc,_0x353002,_0x2a45b2);},_0x1c5999=(_0x1ad2b2,_0x117418,_0x63fb52,_0x38d813={})=>{const _0x4277ce=_0x5eda0e,_0x4aff4b={},_0x4a2a25={};if(_0x38d813[_0x4277ce(0x20a)]){const _0x55b461=_0x38d813[_0x4277ce(0x20a)];_0x2b5cae(_0x4aff4b,_0x4277ce(0x279),_0x55b461[_0x4277ce(0x1f7)]),_0x2b5cae(_0x4aff4b,'titles.title.font',_0x55b461['font']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x21a),_0x55b461[_0x4277ce(0x1fe)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x1e8),_0x55b461['fontColor']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x20c),_0x55b461[_0x4277ce(0x2a3)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x28f),_0x55b461[_0x4277ce(0x21b)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x20d),_0x55b461[_0x4277ce(0x1ff)]),_0x2b5cae(_0x4aff4b,'titles.titlePosition',_0x55b461[_0x4277ce(0x209)]);}if(_0x38d813[_0x4277ce(0x29c)]){const _0x593315=_0x38d813['legend'];_0x2b5cae(_0x4aff4b,_0x4277ce(0x2b2),_0x593315[_0x4277ce(0x209)]),_0x2b5cae(_0x4aff4b,'legend.selectMode',_0x593315[_0x4277ce(0x211)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x25a),_0x593315[_0x4277ce(0x1fe)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x22f),_0x593315[_0x4277ce(0x264)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x240),_0x593315[_0x4277ce(0x21b)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x298),_0x593315[_0x4277ce(0x26a)]);}if(_0x38d813[_0x4277ce(0x2a4)]){const _0x3af095=_0x38d813['pie'];_0x2b5cae(_0x4aff4b,_0x4277ce(0x2a0),_0x3af095['doughnutHole']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x294),_0x3af095[_0x4277ce(0x272)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x2cd),_0x3af095[_0x4277ce(0x213)]),_0x2b5cae(_0x4aff4b,'pie.isHalfPie',_0x3af095['isHalfPie']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x27c),_0x3af095[_0x4277ce(0x28d)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x2bc),_0x3af095['showLabelLine']);}if(_0x38d813['axisPointer']){const _0xf883a8=_0x38d813[_0x4277ce(0x29a)];_0x2b5cae(_0x4aff4b,_0x4277ce(0x289),_0xf883a8['indicatorLabelColor']),_0x2b5cae(_0x4aff4b,'tooltip.indicatorLineType',_0xf883a8[_0x4277ce(0x26c)]),_0x2b5cae(_0x4aff4b,'tooltip.indicatorLineColor',_0xf883a8[_0x4277ce(0x236)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x229),_0xf883a8['indicatorLabelTextColor']);}if(_0x38d813[_0x4277ce(0x202)]&&(_0x2b5cae(_0x4aff4b,_0x4277ce(0x208),_0x38d813[_0x4277ce(0x202)][_0x4277ce(0x25e)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x2aa),_0x38d813[_0x4277ce(0x202)][_0x4277ce(0x231)]),_0x2b5cae(_0x4aff4b,'allSeriesStyle.rightYAxis',_0x38d813[_0x4277ce(0x202)][_0x4277ce(0x226)]),_0x2b5cae(_0x4aff4b,'allSeriesStyle.point',_0x38d813[_0x4277ce(0x202)][_0x4277ce(0x2cc)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x266),_0x38d813[_0x4277ce(0x202)]['color'])),_0x38d813[_0x4277ce(0x26e)]&&_0x2b5cae(_0x4aff4b,_0x4277ce(0x2af),_0x38d813[_0x4277ce(0x26e)]['lineStyle']),_0x38d813['theme']&&_0x2b5cae(_0x4aff4b,'theme',_0x38d813['theme']),_0x38d813[_0x4277ce(0x2ce)]&&_0x2b5cae(_0x4aff4b,_0x4277ce(0x2ce),_0x38d813[_0x4277ce(0x2ce)]),_0x38d813[_0x4277ce(0x272)]&&_0x2b5cae(_0x4aff4b,_0x4277ce(0x272),_0x38d813[_0x4277ce(0x272)]),_0x38d813[_0x4277ce(0x21f)]&&_0x2b5cae(_0x4aff4b,'gradientFill',_0x38d813[_0x4277ce(0x21f)]),_0x38d813['invalidValueType']&&_0x2b5cae(_0x4aff4b,_0x4277ce(0x25c),_0x38d813['invalidValueType']),_0x38d813[_0x4277ce(0x1f2)]&&_0x2b5cae(_0x4aff4b,'radar',_0x38d813[_0x4277ce(0x1f2)]),_0x38d813['xAxisTitle']){const _0x2ef539=_0x38d813[_0x4277ce(0x29e)];_0x2b5cae(_0x4aff4b,_0x4277ce(0x299),_0x2ef539['content']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x2c4),_0x2ef539[_0x4277ce(0x2c8)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x29b),_0x2ef539[_0x4277ce(0x1fe)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x275),_0x2ef539[_0x4277ce(0x28a)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x23d),_0x2ef539['fontStyle']),_0x2b5cae(_0x4aff4b,'titles.xAxisTitle.bold',_0x2ef539[_0x4277ce(0x21b)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x24d),_0x2ef539['axisAlignment']);}if(_0x38d813[_0x4277ce(0x230)]){const _0x4ff44c=_0x38d813['yAxisTitle'];_0x2b5cae(_0x4aff4b,'titles.yAxisTitle.content',_0x4ff44c[_0x4277ce(0x1f7)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x29d),_0x4ff44c[_0x4277ce(0x2c8)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x25d),_0x4ff44c['fontSize']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x225),_0x4ff44c[_0x4277ce(0x28a)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x263),_0x4ff44c['fontStyle']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x2cf),_0x4ff44c['bold']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x256),_0x4ff44c[_0x4277ce(0x26b)]);}if(_0x38d813['rightYAxisTitle']){const _0x1e28c3=_0x38d813['rightYAxisTitle'];_0x2b5cae(_0x4aff4b,_0x4277ce(0x284),_0x1e28c3['content']),_0x2b5cae(_0x4aff4b,_0x4277ce(0x24f),_0x1e28c3[_0x4277ce(0x2c8)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x206),_0x1e28c3[_0x4277ce(0x1fe)]),_0x2b5cae(_0x4aff4b,'titles.rightYAxisTitle.color',_0x1e28c3['fontColor']),_0x2b5cae(_0x4aff4b,'titles.rightYAxisTitle.family',_0x1e28c3[_0x4277ce(0x2a3)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x252),_0x1e28c3[_0x4277ce(0x21b)]),_0x2b5cae(_0x4aff4b,_0x4277ce(0x2b8),_0x1e28c3['axisAlignment']);}_0x38d813[_0x4277ce(0x2a6)]&&_0x2b5cae(_0x4aff4b,_0x4277ce(0x2a6),_0x38d813['xAxis']),_0x38d813[_0x4277ce(0x1f8)]&&_0x2b5cae(_0x4aff4b,'yAxis',_0x38d813[_0x4277ce(0x1f8)]),_0x38d813[_0x4277ce(0x27a)]&&_0x2b5cae(_0x4aff4b,_0x4277ce(0x226),_0x38d813[_0x4277ce(0x27a)]),_0x38d813[_0x4277ce(0x2c9)]&&_0x2b5cae(_0x4aff4b,'seriesStyleMap',_0x38d813[_0x4277ce(0x2c9)]);const _0x5487c9={'unitId':_0x1ad2b2,'chartModelId':_0x117418};let _0x138b40=!0x1;if(_0x63fb52!==void 0x0&&(_0x5487c9['chartType']=_0x63fb52,_0x138b40=!0x0),Object['keys'](_0x4aff4b)['length']>0x0&&(_0x5487c9['style']=_0x4aff4b,_0x138b40=!0x0),Object[_0x4277ce(0x23a)](_0x4a2a25)[_0x4277ce(0x269)]>0x0&&(_0x5487c9[_0x4277ce(0x1fa)]=_0x4a2a25,_0x138b40=!0x0),_0x138b40)return _0x5487c9;};class _0x2b737d extends _0x11f7ee[_0x5eda0e(0x20e)]{constructor(_0x25786a,_0x1bea0f,_0x45df30,_0x40f636,_0x343531){const _0x1b0423=_0x5eda0e;super(),_0x287d0e(this,_0x1b0423(0x1fc)),_0x287d0e(this,_0x1b0423(0x2b7)),_0x287d0e(this,_0x1b0423(0x281)),_0x287d0e(this,_0x1b0423(0x2ac)),_0x287d0e(this,_0x1b0423(0x238)),_0x287d0e(this,_0x1b0423(0x250)),_0x287d0e(this,_0x1b0423(0x232)),_0x287d0e(this,'x'),_0x287d0e(this,'y'),_0x287d0e(this,_0x1b0423(0x27b)),_0x287d0e(this,_0x1b0423(0x292)),_0x287d0e(this,_0x1b0423(0x273)),_0x287d0e(this,_0x1b0423(0x29f)),_0x287d0e(this,_0x1b0423(0x205)),(this[_0x1b0423(0x281)]=_0x25786a,this['subUnitId']=_0x1bea0f,this['_workbook']=_0x45df30,this[_0x1b0423(0x2b7)]=_0x40f636,_0x343531&&(this['chartId']=_0x343531));}[_0x5eda0e(0x233)](){const _0x503a8f=_0x5eda0e;return this[_0x503a8f(0x273)];}[_0x5eda0e(0x2bd)](_0x589b78){const _0x1fb7bc=_0x5eda0e;if(typeof _0x589b78==_0x1fb7bc(0x1f6)){const _0x48e2d2=_0x2ae31f[_0x1fb7bc(0x20b)](_0x589b78);_0x48e2d2[_0x1fb7bc(0x2a1)]&&(this[_0x1fb7bc(0x232)]=_0x48e2d2[_0x1fb7bc(0x2a1)]),this[_0x1fb7bc(0x250)]=_0x48e2d2[_0x1fb7bc(0x250)];}else this[_0x1fb7bc(0x250)]=_0x589b78;return this;}[_0x5eda0e(0x2b6)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x5eda0e(0x258)](_0x2c8e0f,_0x16d8ab,_0x3a205d,_0x428dec){const _0x4e4bf9=_0x5eda0e,_0x4c866f=this[_0x4e4bf9(0x2b7)][_0x4e4bf9(0x2a2)](_0x5ba821['IRenderManagerService'])[_0x4e4bf9(0x1f5)](this[_0x4e4bf9(0x281)]);if(!_0x4c866f)throw new Error(_0x4e4bf9(0x282));const _0x402829=_0x4c866f[_0x4e4bf9(0x268)](_0x450d6d[_0x4e4bf9(0x287)]),_0x298eb0=_0x4c866f[_0x4e4bf9(0x268)](_0x450d6d[_0x4e4bf9(0x207)]),{transform:_0xb7856a}=_0x450d6d[_0x4e4bf9(0x25f)](this[_0x4e4bf9(0x281)],this[_0x4e4bf9(0x2ac)],{'row':_0x2c8e0f,'column':_0x16d8ab,'rowOffset':_0x3a205d,'columnOffset':_0x428dec},0x1,0x1,_0x402829,_0x298eb0),_0x57d9ea=_0xb7856a['top'],_0x23c0dc=_0xb7856a[_0x4e4bf9(0x2cb)];return this['x']=_0x23c0dc,this['y']=_0x57d9ea,this;}[_0x5eda0e(0x249)](_0x161780,_0x22349d){return this['x']=_0x161780,this['y']=_0x22349d,this;}[_0x5eda0e(0x204)](_0x1c7990){const _0x18469c=_0x5eda0e;return this[_0x18469c(0x273)]=_0x1c7990,this;}[_0x5eda0e(0x28b)](_0x7ab88c){const _0x10fe5b=_0x5eda0e;return this[_0x10fe5b(0x27b)]=_0x7ab88c,this;}['setHeight'](_0x1b432a){return this['height']=_0x1b432a,this;}[_0x5eda0e(0x285)](_0x2c6d8c,_0x35c801){const _0x20b9bb=_0x5eda0e;return this['options']||(this[_0x20b9bb(0x29f)]={}),_0x2c6d8c===''?(this['options']={...this['options'],..._0x35c801},this):(_0x4cba6c[_0x20b9bb(0x274)](this['options'],_0x2c6d8c,_0x35c801),this);}['setTransposeRowsAndColumns'](_0x4ae097){const _0x38d336=_0x5eda0e;return this[_0x38d336(0x205)]=_0x4ae097,this;}[_0x5eda0e(0x1f3)](_0x2b77f7){const _0x5bfc37=_0x5eda0e;return this['setOptions'](_0x5bfc37(0x22a),_0x2b77f7),this;}['setXAxisTitle'](_0x5c0864){const _0x448054=_0x5eda0e;var _0x1ee578;const _0x133aea=((_0x1ee578=this[_0x448054(0x29f)])==null?void 0x0:_0x1ee578[_0x448054(0x29e)])||{};return _0x133aea[_0x448054(0x1f7)]=_0x5c0864,this[_0x448054(0x285)]('xAxisTitle',_0x133aea),this;}[_0x5eda0e(0x23b)](_0x18aea1){const _0x36254d=_0x5eda0e;var _0x4e927c;const _0x3e119a=((_0x4e927c=this[_0x36254d(0x29f)])==null?void 0x0:_0x4e927c[_0x36254d(0x230)])||{};return _0x3e119a[_0x36254d(0x1f7)]=_0x18aea1,this['setOptions'](_0x36254d(0x230),_0x3e119a),this;}[_0x5eda0e(0x2ba)](_0x2f115a){const _0x290ae6=_0x5eda0e;var _0x37f5a3;const _0x48449b=((_0x37f5a3=this[_0x290ae6(0x29f)])==null?void 0x0:_0x37f5a3[_0x290ae6(0x271)])||{};return _0x48449b[_0x290ae6(0x1f7)]=_0x2f115a,this['setOptions']('rightYAxisTitle',_0x48449b),this;}[_0x5eda0e(0x2b9)](_0x298398){const _0x3607f9=_0x5eda0e;var _0x52d2e1;const _0x572836=((_0x52d2e1=this['options'])==null?void 0x0:_0x52d2e1[_0x3607f9(0x29e)])||{};return this[_0x3607f9(0x285)](_0x3607f9(0x29e),{..._0x572836,..._0x298398}),this;}[_0x5eda0e(0x2c0)](_0x3fc23a){const _0x110ef8=_0x5eda0e;var _0x445cb2;const _0x907882=((_0x445cb2=this[_0x110ef8(0x29f)])==null?void 0x0:_0x445cb2[_0x110ef8(0x230)])||{};return this[_0x110ef8(0x285)](_0x110ef8(0x230),{..._0x907882,..._0x3fc23a}),this;}[_0x5eda0e(0x1f1)](_0x443e51){const _0x2af778=_0x5eda0e;var _0x4bf58c;const _0x368e86=((_0x4bf58c=this[_0x2af778(0x29f)])==null?void 0x0:_0x4bf58c[_0x2af778(0x271)])||{};return this[_0x2af778(0x285)](_0x2af778(0x271),{..._0x368e86,..._0x443e51}),this;}[_0x5eda0e(0x24c)](_0x39a1f7){const _0x3639c9=_0x5eda0e;return this[_0x3639c9(0x285)](_0x3639c9(0x25c),_0x39a1f7),this;}[_0x5eda0e(0x200)](_0x195c8b){const _0x2c7c80=_0x5eda0e;return this[_0x2c7c80(0x285)]('axisPointer',_0x195c8b),this;}[_0x5eda0e(0x221)](_0x5d5cfa){const _0x705531=_0x5eda0e;return this[_0x705531(0x285)]('allSeriesStyle',_0x5d5cfa),this;}[_0x5eda0e(0x23e)](_0x2eab57,_0x425cf3){const _0x2d1bb4=_0x5eda0e;return this[_0x2d1bb4(0x285)](_0x2d1bb4(0x2c9),{[_0x2eab57]:_0x425cf3}),this;}[_0x5eda0e(0x1fd)](){const _0x1d4402=_0x5eda0e;var _0x211495;let _0x50fb64=this[_0x1d4402(0x2ac)];if(this[_0x1d4402(0x232)]){const _0x201dc8=(_0x211495=this[_0x1d4402(0x1fc)][_0x1d4402(0x248)](this['sourceSheetName']))==null?void 0x0:_0x211495[_0x1d4402(0x290)]();if(!_0x201dc8)throw new Error('Sheet\x20'+this[_0x1d4402(0x232)]+_0x1d4402(0x241));_0x50fb64=_0x201dc8;}return{'unitId':this['unitId'],'subUnitId':_0x50fb64,'chartId':this['chartId'],'range':this[_0x1d4402(0x250)],'x':this['x'],'y':this['y'],'width':this[_0x1d4402(0x27b)],'height':this['height'],'chartType':this['chartType'],'options':this[_0x1d4402(0x29f)],'isRowDirection':this[_0x1d4402(0x205)]};}}class _0x220d97{constructor(_0x47e7d8,_0x35ea44,_0x30751c,_0x702d39){const _0x5af0dd=_0x5eda0e;_0x287d0e(this,_0x5af0dd(0x281)),_0x287d0e(this,_0x5af0dd(0x2ac)),_0x287d0e(this,'chartId'),_0x287d0e(this,'_injector'),(this[_0x5af0dd(0x281)]=_0x47e7d8,this[_0x5af0dd(0x2ac)]=_0x35ea44,this[_0x5af0dd(0x238)]=_0x30751c,this[_0x5af0dd(0x2b7)]=_0x702d39);}[_0x5eda0e(0x20f)](){return this['chartId'];}[_0x5eda0e(0x234)](){const _0x322dc6=_0x5eda0e,_0x3a6b6e=this['_injector'][_0x322dc6(0x2a2)](_0x4cba6c['SheetsChartService'])[_0x322dc6(0x245)](this[_0x322dc6(0x238)]);if(_0x3a6b6e)return _0x3a6b6e['dataSource'][_0x322dc6(0x265)]();}[_0x5eda0e(0x21d)](_0x456509){const _0x116fc3=_0x5eda0e;return this['_injector']['get'](_0x29966a[_0x116fc3(0x1ed)])['executeCommand'](_0x4cba6c[_0x116fc3(0x296)]['id'],{'unitId':this['unitId'],'chartModelId':this[_0x116fc3(0x238)],'range':_0x456509});}[_0x5eda0e(0x293)](){const _0x39507e=_0x5eda0e;var _0x759114;const _0x1e4b56=this[_0x39507e(0x2b7)][_0x39507e(0x2a2)](_0x4cba6c[_0x39507e(0x203)])[_0x39507e(0x245)](this['chartId']);if(_0x1e4b56)return(_0x759114=_0x1e4b56[_0x39507e(0x2ad)])==null?void 0x0:_0x759114[_0x39507e(0x2ae)];}[_0x5eda0e(0x2a9)](){const _0x27bccb=_0x5eda0e;var _0xcf4c32;const _0x479d80=this[_0x27bccb(0x2b7)][_0x27bccb(0x2a2)](_0x4cba6c[_0x27bccb(0x203)])[_0x27bccb(0x245)](this[_0x27bccb(0x238)]);if(_0x479d80)return(_0xcf4c32=_0x479d80[_0x27bccb(0x2ad)])==null?void 0x0:_0xcf4c32[_0x27bccb(0x1ef)];}[_0x5eda0e(0x288)](){const _0x3ecd1a=_0x5eda0e,_0x4c8a8d=this['_injector'][_0x3ecd1a(0x2a2)](_0x29966a[_0x3ecd1a(0x27f)])['getCurrentUnitForType'](_0x29966a[_0x3ecd1a(0x2d0)][_0x3ecd1a(0x2c6)]);return new _0x2b737d(this[_0x3ecd1a(0x281)],this[_0x3ecd1a(0x2ac)],_0x4c8a8d,this[_0x3ecd1a(0x2b7)],this['chartId']);}}class _0x485ac4 extends _0x38a0f6['FWorksheet']{async[_0x5eda0e(0x25b)](_0x1a60f7){const _0x5f1c61=_0x5eda0e;var _0x4a1e24,_0x2685d9,_0x2e0f56;const _0x3e557c=_0x1a60f7[_0x5f1c61(0x281)]||this[_0x5f1c61(0x24b)]()[_0x5f1c61(0x255)](),_0x495049=_0x1a60f7[_0x5f1c61(0x2ac)]||this[_0x5f1c61(0x290)](),_0x2d7a74=_0x1a60f7[_0x5f1c61(0x238)]||_0x29966a['generateRandomId'](),_0xb9958f=_0x1a60f7[_0x5f1c61(0x273)],_0x43d348=_0x1a60f7[_0x5f1c61(0x250)],_0x5ebfad={'x':_0x1a60f7['x'],'y':_0x1a60f7['y']},_0x53b582=_0x1a60f7[_0x5f1c61(0x27b)],_0x2a91c9=_0x1a60f7[_0x5f1c61(0x292)],_0x27bfab=(_0x4a1e24=_0x1a60f7['options'])==null?void 0x0:_0x4a1e24[_0x5f1c61(0x2ce)],_0x27da52=(_0x2685d9=_0x1a60f7[_0x5f1c61(0x29f)])==null?void 0x0:_0x2685d9['borderColor'],_0xb7200b=_0x1c5999(_0x3e557c,_0x2d7a74,_0xb9958f,_0x1a60f7['options']),_0x2f4c5d=(_0x2e0f56=_0x1a60f7['isRowDirection'])!=null?_0x2e0f56:!0x0;if(!_0x43d348)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x5f1c61(0x2c7)]['executeCommand'](_0x5b4ade[_0x5f1c61(0x286)]['id'],{'unitId':_0x3e557c,'subUnitId':_0x495049,'chartId':_0x2d7a74,'chartType':_0xb9958f,'range':_0x43d348,'position':_0x5ebfad,'width':_0x53b582,'height':_0x2a91c9,'backgroundColor':_0x27bfab,'borderColor':_0x27da52,'config':_0xb7200b,'isRowDirection':_0x2f4c5d}),new _0x220d97(_0x3e557c,_0x495049,_0x2d7a74,this['_injector']);}[_0x5eda0e(0x24a)](_0x30286d){const _0xdc4780=_0x5eda0e,{unitId:_0x19d266,chartId:_0x259780,chartType:_0x28f59d,options:_0x3400d4}=_0x30286d,_0x5a1c58=_0x1c5999(_0x19d266,_0x259780,_0x28f59d,_0x3400d4);this['_commandService'][_0xdc4780(0x23c)](_0x4cba6c[_0xdc4780(0x260)]['id'],_0x5a1c58);}['newChart'](_0x2cf5ff){const _0x4088c9=_0x5eda0e;if(_0x2cf5ff)return new _0x2b737d(_0x2cf5ff[_0x4088c9(0x281)],_0x2cf5ff[_0x4088c9(0x2ac)],this[_0x4088c9(0x1fc)],this[_0x4088c9(0x2b7)],_0x2cf5ff[_0x4088c9(0x238)]);const _0x4f6ec0=this[_0x4088c9(0x24b)]()[_0x4088c9(0x255)](),_0x3d44d2=this[_0x4088c9(0x290)]();return new _0x2b737d(_0x4f6ec0,_0x3d44d2,this['_workbook'],this[_0x4088c9(0x2b7)]);}[_0x5eda0e(0x277)](){const _0x42fb42=_0x5eda0e,_0x44bdb8=this[_0x42fb42(0x2b7)][_0x42fb42(0x2a2)](_0x4cba6c['SheetsChartService']),_0x2ab6a8=this[_0x42fb42(0x24b)]()[_0x42fb42(0x255)]();return _0x44bdb8[_0x42fb42(0x257)](_0x2ab6a8,this[_0x42fb42(0x290)]())[_0x42fb42(0x210)](_0x13827e=>new _0x220d97(_0x2ab6a8,this[_0x42fb42(0x290)](),_0x13827e['id'],this[_0x42fb42(0x2b7)]));}[_0x5eda0e(0x21c)](_0x2c2be4){const _0x2a330f=_0x5eda0e,_0x42d41a=_0x2c2be4[_0x2a330f(0x281)],_0x5702dd=_0x2c2be4[_0x2a330f(0x2ac)],_0x30cf9a=_0x2c2be4[_0x2a330f(0x238)],_0x15e2e2={'unitId':_0x42d41a,'drawings':[{'unitId':_0x42d41a,'subUnitId':_0x5702dd,'drawingId':_0x30cf9a,'drawingType':_0x29966a[_0x2a330f(0x278)][_0x2a330f(0x235)]}]};return this['_commandService']['executeCommand'](_0x4acfb2[_0x2a330f(0x1ee)]['id'],_0x15e2e2);}[_0x5eda0e(0x222)](_0x5af25a,_0x380d4e){const _0x2ab4e7=_0x5eda0e;this[_0x2ab4e7(0x2b7)]['get'](_0x2a97f7['ChartThemeService'])[_0x2ab4e7(0x217)](_0x5af25a,_0x380d4e);}}_0x38a0f6[_0x5eda0e(0x2a8)][_0x5eda0e(0x214)](_0x485ac4);class _0x2c4dc8 extends _0x11f7ee[_0x5eda0e(0x283)]{get[_0x5eda0e(0x1f4)](){const _0x24635e=_0x5eda0e;return _0x2a97f7[_0x24635e(0x239)];}get[_0x5eda0e(0x2b0)](){const _0x2269c2=_0x5eda0e;return _0x2a97f7[_0x2269c2(0x2b0)];}get[_0x5eda0e(0x216)](){const _0x5d3b00=_0x5eda0e;return _0x2a97f7[_0x5d3b00(0x216)];}get[_0x5eda0e(0x27e)](){const _0x4c0ccd=_0x5eda0e;return _0x2a97f7[_0x4c0ccd(0x27e)];}get[_0x5eda0e(0x2b1)](){const _0x7d3c14=_0x5eda0e;return _0x2a97f7[_0x7d3c14(0x2b1)];}get['LinePointShape'](){const _0x1d8c23=_0x5eda0e;return _0x2a97f7[_0x1d8c23(0x244)];}get['TitlePositionEnum'](){const _0x17be87=_0x5eda0e;return _0x2a97f7[_0x17be87(0x2b4)];}get[_0x5eda0e(0x2a5)](){const _0x5d200c=_0x5eda0e;return _0x2a97f7[_0x5d200c(0x2a5)];}}_0x11f7ee['FEnum'][_0x5eda0e(0x214)](_0x2c4dc8);class _0x416a08 extends _0x2b737d{constructor(_0x10e01f,_0x4c2ee3,_0x114482,_0x45f82f,_0x2cf6bd){const _0x1a7b06=_0x5eda0e;super(_0x10e01f,_0x4c2ee3,_0x114482,_0x45f82f,_0x2cf6bd),_0x287d0e(this,_0x1a7b06(0x259)),_0x287d0e(this,_0x1a7b06(0x276)),_0x287d0e(this,_0x1a7b06(0x1e9)),_0x287d0e(this,_0x1a7b06(0x2ab));}['setLineStyle'](_0x1f52ce){return this['lineStyle']=_0x1f52ce,this;}[_0x5eda0e(0x26f)](_0x3ea1e5){const _0x1e89f3=_0x5eda0e;return this[_0x1e89f3(0x276)]=_0x3ea1e5,this;}['setDataPointColor'](_0x39c584){const _0x4d0c16=_0x5eda0e;return this[_0x4d0c16(0x1e9)]=_0x39c584,this;}[_0x5eda0e(0x1eb)](_0xc344a6){const _0xa61188=_0x5eda0e;return this[_0xa61188(0x2ab)]=_0xc344a6,this;}['build'](){const _0x1cbe52=_0x5eda0e,_0x354e96=super[_0x1cbe52(0x1fd)]();_0x354e96[_0x1cbe52(0x273)]=_0x2a97f7['ChartTypeBits'][_0x1cbe52(0x2c3)];const _0x50bf39=_0x354e96[_0x1cbe52(0x29f)]||{};return _0x2b5cae(_0x50bf39,'area.lineStyle',this['lineStyle']),_0x2b5cae(_0x50bf39,_0x1cbe52(0x1ea),this[_0x1cbe52(0x276)]),_0x2b5cae(_0x50bf39,_0x1cbe52(0x23f),this[_0x1cbe52(0x1e9)]),_0x2b5cae(_0x50bf39,'allSeriesStyle.point.size',this[_0x1cbe52(0x2ab)]),_0x354e96['options']=_0x50bf39,_0x354e96;}}class _0x7519ce extends _0x2b737d{['asLineChart'](){const _0x32f75a=_0x5eda0e;return new _0x416a08(this[_0x32f75a(0x281)],this[_0x32f75a(0x2ac)],this[_0x32f75a(0x1fc)],this['_injector'],this[_0x32f75a(0x238)]);}}_0x2b737d[_0x5eda0e(0x214)](_0x7519ce);class _0x1df1f8 extends _0x2b737d{constructor(_0x2e3812,_0x3041d9,_0x52f4b2,_0x5032f0,_0x43c8d4){const _0x214e15=_0x5eda0e;super(_0x2e3812,_0x3041d9,_0x52f4b2,_0x5032f0,_0x43c8d4),_0x287d0e(this,_0x214e15(0x261)),_0x287d0e(this,_0x214e15(0x272)),_0x287d0e(this,_0x214e15(0x213)),_0x287d0e(this,'isHalfPie'),_0x287d0e(this,_0x214e15(0x28d)),_0x287d0e(this,'showLabelLine');}['setDoughnutHole'](_0x5e7180){const _0x375312=_0x5eda0e;return this[_0x375312(0x261)]=_0x5e7180,this;}[_0x5eda0e(0x224)](_0x438304){const _0x4d798b=_0x5eda0e;return this[_0x4d798b(0x272)]=_0x438304,this;}[_0x5eda0e(0x246)](_0xe5f91f){const _0x40e542=_0x5eda0e;return this[_0x40e542(0x213)]=_0xe5f91f,this;}['setIsHalfPie'](_0x4829d4){const _0x5b17d9=_0x5eda0e;return this[_0x5b17d9(0x1f9)]=_0x4829d4,this;}['setRosePie'](_0x3856f6){const _0x17049b=_0x5eda0e;return this[_0x17049b(0x28d)]=_0x3856f6,this;}['setShowLabelLine'](_0x3f65c2){const _0x3bde1a=_0x5eda0e;return this[_0x3bde1a(0x253)]=_0x3f65c2,this;}[_0x5eda0e(0x1fd)](){const _0x36bb5c=_0x5eda0e,_0x492723=super[_0x36bb5c(0x1fd)]();_0x492723[_0x36bb5c(0x273)]=_0x2a97f7['ChartTypeBits'][_0x36bb5c(0x21e)];const _0x598045=_0x492723[_0x36bb5c(0x29f)]||{};return _0x2b5cae(_0x598045,_0x36bb5c(0x2a0),this[_0x36bb5c(0x261)]),_0x2b5cae(_0x598045,'pie.borderColor',this['borderColor']),_0x2b5cae(_0x598045,_0x36bb5c(0x2cd),this[_0x36bb5c(0x213)]),_0x2b5cae(_0x598045,'pie.isHalfPie',this[_0x36bb5c(0x1f9)]),_0x2b5cae(_0x598045,_0x36bb5c(0x27c),this[_0x36bb5c(0x28d)]),_0x2b5cae(_0x598045,'pie.showLabelLine',this['showLabelLine']),_0x492723[_0x36bb5c(0x29f)]=_0x598045,_0x492723;}}class _0xd1fab5 extends _0x2b737d{[_0x5eda0e(0x28e)](){const _0x1aade9=_0x5eda0e;return new _0x1df1f8(this[_0x1aade9(0x281)],this[_0x1aade9(0x2ac)],this[_0x1aade9(0x1fc)],this[_0x1aade9(0x2b7)],this[_0x1aade9(0x238)]);}}_0x2b737d['extend'](_0xd1fab5);class _0x355405 extends _0x2b737d{constructor(_0x175cf1,_0x362850,_0x2ca994,_0x45f596,_0x5abd76){const _0x38d75a=_0x5eda0e;super(_0x175cf1,_0x362850,_0x2ca994,_0x45f596,_0x5abd76),_0x287d0e(this,_0x38d75a(0x1fb)),_0x287d0e(this,_0x38d75a(0x1ec));}['setShape'](_0x339520){return this['shape']=_0x339520,this;}[_0x5eda0e(0x219)](_0x54da4f){const _0x5749e7=_0x5eda0e;return this[_0x5749e7(0x1ec)]=_0x54da4f,this;}[_0x5eda0e(0x1fd)](){const _0x3fd9a9=_0x5eda0e,_0x4bf33b=super[_0x3fd9a9(0x1fd)]();_0x4bf33b[_0x3fd9a9(0x273)]=_0x2a97f7['ChartTypeBits'][_0x3fd9a9(0x270)];const _0x4ff8a7=_0x4bf33b[_0x3fd9a9(0x29f)]||{};return _0x2b5cae(_0x4ff8a7,_0x3fd9a9(0x2bf),this[_0x3fd9a9(0x1fb)]),_0x2b5cae(_0x4ff8a7,_0x3fd9a9(0x243),this[_0x3fd9a9(0x1ec)]),_0x4bf33b[_0x3fd9a9(0x29f)]=_0x4ff8a7,_0x4bf33b;}}class _0x41c982 extends _0x2b737d{[_0x5eda0e(0x291)](){const _0xd9a54=_0x5eda0e;return new _0x355405(this['unitId'],this['subUnitId'],this[_0xd9a54(0x1fc)],this[_0xd9a54(0x2b7)],this['chartId']);}}_0x2b737d[_0x5eda0e(0x214)](_0x41c982),_0x10a9db['FChart']=_0x220d97,_0x10a9db[_0x5eda0e(0x2b5)]=_0x2b737d,_0x10a9db[_0x5eda0e(0x223)]=_0x416a08,_0x10a9db[_0x5eda0e(0x254)]=_0x1df1f8,_0x10a9db['RadarChartBuilder']=_0x355405,Object[_0x5eda0e(0x2c5)](_0x10a9db,Symbol[_0x5eda0e(0x262)],{'value':'Module'});}));function _0x3b8a(){const _0x1b3f24=['@univerjs/sheets-drawing-ui','titles.rightYAxisTitle.font','range','@univerjs/engine-render','titles.rightYAxisTitle.bold','showLabelLine','PieChartBuilder','getUnitId','yAxis.label.axisTitleAlign','getUnitChartModels','setPosition','lineStyle','legend.label.fontSize','insertChart','invalidValueType','titles.yAxisTitle.fontSize','border','convertPositionCellToSheetOverGrid','ChartUpdateConfigCommand','doughnutHole','toStringTag','titles.yAxisTitle.family','color','getRangeInfo','allSeriesStyle.color','3126116LXKEEE','with','length','italic','axisAlignment','indicatorLineType','UniverSheetsDrawingUi','area','setDataPointShape','Radar','rightYAxisTitle','borderColor','chartType','setProperty','titles.xAxisTitle.color','dataPointShape','getCharts','DrawingTypeEnum','titles.title.content','yRightAxis','width','pie.rosePie','@univerjs-pro/engine-chart','AxisAlignEnum','IUniverInstanceService','3143IwJRso','unitId','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','FEnum','titles.rightYAxisTitle.content','setOptions','InsertChartCommand','ISheetSelectionRenderService','modify','tooltip.indicatorLabelColor','fontColor','setWidth','4386069QhCKZj','rosePie','asPieChart','titles.title.bold','getSheetId','asRadarChart','height','getSeriesData','pie.borderColor','@univerjs-pro/sheets-chart-ui','ChartUpdateSourceCommand','exports','legend.label.italic','titles.xAxisTitle.content','axisPointer','titles.xAxisTitle.fontSize','legend','titles.yAxisTitle.font','xAxisTitle','options','pie.doughnutHole','sheetName','get','fontStyle','pie','RadarShape','xAxis','object','FWorksheet','getCategoryData','allSeriesStyle.label','dataPointSize','subUnitId','config','series','area.lineStyle','LegendPositionEnum','ChartBorderDashType','legend.position','3qmatjM','TitlePositionEnum','FChartBuilderBase','clearRange','_injector','rightYAxis.label.axisTitleAlign','setXAxisTextStyle','setRightYAxisTitle','UniverProEngineChart','pie.showLabelLine','addRange','@univerjs/engine-formula','radar.shape','setYAxisTextStyle','UniverCore','symbol','Line','titles.xAxisTitle.font','defineProperty','UNIVER_SHEET','_commandService','font','seriesStyleMap','733640RsUGKG','left','point','pie.hasPaddingAngle','backgroundColor','titles.yAxisTitle.bold','UniverInstanceType','titles.title.color','dataPointColor','allSeriesStyle.point.shape','setDataPointSize','fill','ICommandService','RemoveSheetDrawingCommand','category','UniverCoreFacade','setRightYAxisTextStyle','radar','setTheme','ChartType','getRenderById','string','content','yAxis','isHalfPie','context','shape','_workbook','build','fontSize','titleAlignment','setAxisPointerStyle','UniverProSheetsChartUi','allSeriesStyle','SheetsChartService','setChartType','transposeRowsAndColumns','titles.rightYAxisTitle.fontSize','SheetSkeletonManagerService','allSeriesStyle.border','position','title','deserializeRangeWithSheet','titles.title.family','titles.title.align','FBase','getChartId','map','selectMode','1464600BpgzfN','hasPaddingAngle','extend','@univerjs/sheets/facade','SelectModeEnum','registerTheme','@univerjs/sheets-ui','setFill','titles.title.fontSize','bold','removeChart','updateRange','Pie','gradientFill','338274QUQAJT','setAllSeriesStyle','registerChartTheme','LineChartBuilder','setBorderColor','titles.yAxisTitle.color','rightYAxis','UniverProSheetsChartUiFacade','UniverSheetsFacade','tooltip.indicatorLabelTextColor','theme','@univerjs/core/facade','147eJdWav','UniverEngineRender','104lAzYCh','legend.label.color','yAxisTitle','label','sourceSheetName','getChartType','getRange','DRAWING_CHART','indicatorLineColor','3061885ZpNRaE','chartId','ChartTypeBits','keys','setYAxisTitle','executeCommand','titles.xAxisTitle.family','setSeriesStyle','allSeriesStyle.point.color','legend.label.bold','\x20not\x20found','amd','radar.fill','LinePointShape','getChartModel','setHasPaddingAngle','UniverProSheetsChart','getSheetBySheetName','setAbsolutePosition','updateChart','getWorkbook','setInvalidValueStrategy','xAxis.label.axisTitleAlign'];_0x3b8a=function(){return _0x1b3f24;};return _0x3b8a();}
|
|
1
|
+
function _0xaceb(){const _0x27c3c3=['sourceSheetName','registerChartTheme','yAxis.label.axisTitleAlign','getChartId','setOptions','removeChart','hasPaddingAngle','fontSize','newChart','gradientFill','UniverEngineFormula','getChartModel','allSeriesStyle.point.color','yAxisTitle','indicatorLineType','_injector','legend.position','titles.xAxisTitle.color','titles.title.fontSize','_workbook','context','getSheetId','pie.showLabelLine','xAxisTitle','font','titles.yAxisTitle.color','axisAlignment','setDataPointColor','xAxis','build','allSeriesStyle.color','shape','getUnitId','italic','xAxis.label.axisTitleAlign','theme','setLineStyle','FChartBuilderBase','7EjkKsB','height','chartId','indicatorLabelTextColor','label','UniverSheetsDrawingUi','1646975HAgKCA','setSeriesStyle','1994136FoIbRt','ChartUpdateSourceCommand','seriesStyleMap','titles.yAxisTitle.content','7002jwRoLH','setAbsolutePosition','UniverCore','setHasPaddingAngle','clearRange','setTheme','generateRandomId','isHalfPie','left','object','Pie','titles.rightYAxisTitle.family','dataPointSize','titles.xAxisTitle.fontSize','titles.xAxisTitle.family','pie.hasPaddingAngle','tooltip.indicatorLineType','amd','color','LinePointShape','setProperty','subUnitId','asLineChart','setWidth','updateChart','allSeriesStyle.border','sheetName','options','titles.xAxisTitle.bold','symbol','ChartTypeBits','transposeRowsAndColumns','yRightAxis','with','toStringTag','ChartBorderDashType','allSeriesStyle','category','content','setBorderColor','ChartThemeService','setChartType','fontStyle','LegendPositionEnum','UniverInstanceType','RadarShape','getChartType','setDataPointSize','9286uXbyui','titles.yAxisTitle.bold','PieChartBuilder','backgroundColor','FWorksheet','tooltip.indicatorLabelTextColor','LineChartBuilder','titles.rightYAxisTitle.fontSize','titles.yAxisTitle.fontSize','UniverCoreFacade','FEnum','@univerjs/sheets/facade','3447330TfjVKR','allSeriesStyle.point.shape','border','InsertChartCommand','titles.title.bold','RadarChartBuilder','getSeriesData','rosePie','setFill','UniverProSheetsChart','AxisAlignEnum','getRenderById','titles.xAxisTitle.font','extend','dataPointColor','allSeriesStyle.point.size','selectMode','pie.rosePie','SheetSkeletonManagerService','TitlePositionEnum','setYAxisTitle','IUniverInstanceService','fill','DRAWING_CHART','unitId','titles.yAxisTitle.font','SheetsChartService','getCurrentUnitForType','top','setRightYAxisTitle','borderColor','3023656fqcYtV','@univerjs/engine-render','position','radar','UniverSheetsFacade','style','setIsHalfPie','setShowLabelLine','lineStyle','exports','@univerjs/core/facade','bold','titles.rightYAxisTitle.bold','titles.title.content','getCategoryData','isRowDirection','doughnutHole','titles.title.font','17150510uPPJIS','keys','rightYAxisTitle','UniverSheetsUi','legend.label.italic','asPieChart','Line','title','setXAxisTextStyle','yAxis','pie.doughnutHole','rightYAxis.label.axisTitleAlign','dataPointShape','tooltip.indicatorLineColor','chartType','pie','setYAxisTextStyle','get','Module','setRightYAxisTextStyle','titles.xAxisTitle.content','ChartUpdateConfigCommand','config','UNIVER_SHEET','legend.label.fontSize','titles.titlePosition','RemoveSheetDrawingCommand','width','setRosePie','pie.borderColor','FBase','getWorkbook','showLabelLine','length','area.lineStyle','rightYAxis','FChart','@univerjs-pro/engine-chart','range','executeCommand','@univerjs-pro/sheets-chart','axisPointer','ISheetSelectionRenderService','dataSource','77OfICKu','SelectModeEnum','titles.rightYAxisTitle.color','registerTheme','_commandService','UniverProSheetsChartUi','tooltip.indicatorLabelColor','deserializeRangeWithSheet','UniverProSheetsChartUiFacade','fontColor','ChartType','setInvalidValueStrategy','7640zMjSQS','defineProperty','area','asRadarChart','legend.label.color','indicatorLabelColor','titles.title.align','pie.isHalfPie','invalidValueType','getRangeInfo','getRange','insertChart','UniverProEngineChart','allSeriesStyle.point'];_0xaceb=function(){return _0x27c3c3;};return _0xaceb();}function _0x18b1(_0x3ea464,_0x5aa4f2){_0x3ea464=_0x3ea464-0x1f4;const _0xaceb18=_0xaceb();let _0x18b11c=_0xaceb18[_0x3ea464];return _0x18b11c;}(function(_0x204082,_0x3ebd41){const _0x4cc124=_0x18b1,_0x166d20=_0x204082();while(!![]){try{const _0x4c8a24=parseInt(_0x4cc124(0x2a4))/0x1*(parseInt(_0x4cc124(0x23b))/0x2)+-parseInt(_0x4cc124(0x207))/0x3+parseInt(_0x4cc124(0x266))/0x4+parseInt(_0x4cc124(0x205))/0x5+-parseInt(_0x4cc124(0x247))/0x6*(-parseInt(_0x4cc124(0x1ff))/0x7)+-parseInt(_0x4cc124(0x2b0))/0x8*(-parseInt(_0x4cc124(0x20b))/0x9)+-parseInt(_0x4cc124(0x278))/0xa;if(_0x4c8a24===_0x3ebd41)break;else _0x166d20['push'](_0x166d20['shift']());}catch(_0x312508){_0x166d20['push'](_0x166d20['shift']());}}}(_0xaceb,0x5ceba),function(_0x1f7b28,_0x3d6308){const _0x59d744=_0x18b1;typeof exports==_0x59d744(0x214)&&typeof module<'u'?_0x3d6308(exports,require('@univerjs-pro/engine-chart'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs/core'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets/facade'),require('@univerjs/core/facade'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x59d744(0x21c)]?define([_0x59d744(0x26f),_0x59d744(0x29d),_0x59d744(0x2a0),'@univerjs-pro/sheets-chart-ui','@univerjs/core','@univerjs/sheets-drawing-ui',_0x59d744(0x246),_0x59d744(0x270),'@univerjs/engine-formula',_0x59d744(0x267),'@univerjs/sheets-ui'],_0x3d6308):(_0x1f7b28=typeof globalThis<'u'?globalThis:_0x1f7b28||self,_0x3d6308(_0x1f7b28[_0x59d744(0x2ac)]={},_0x1f7b28[_0x59d744(0x2bc)],_0x1f7b28[_0x59d744(0x250)],_0x1f7b28[_0x59d744(0x2a9)],_0x1f7b28[_0x59d744(0x20d)],_0x1f7b28[_0x59d744(0x204)],_0x1f7b28[_0x59d744(0x26a)],_0x1f7b28[_0x59d744(0x244)],_0x1f7b28[_0x59d744(0x2c8)],_0x1f7b28['UniverEngineRender'],_0x1f7b28[_0x59d744(0x27b)]));}(this,function(_0x4f0899,_0x6cf23a,_0x38140e,_0x3025e0,_0x54767c,_0x161ce9,_0x5959ec,_0x2cd5ef,_0x342b3e,_0x41f6f2,_0x164025){'use strict';const _0x4584be=_0x18b1;var _0x20a276=Object[_0x4584be(0x2b1)],_0x8aeb11=(_0x1be2bd,_0x4a82f1,_0x52985c)=>_0x4a82f1 in _0x1be2bd?_0x20a276(_0x1be2bd,_0x4a82f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52985c}):_0x1be2bd[_0x4a82f1]=_0x52985c,_0x44d816=(_0x5d672b,_0x2eb399,_0x3d3e90)=>_0x8aeb11(_0x5d672b,typeof _0x2eb399!=_0x4584be(0x228)?_0x2eb399+'':_0x2eb399,_0x3d3e90);const _0x2c6fa9=(_0xc99db9,_0x261321,_0x516507)=>{const _0x1100c4=_0x4584be;_0x516507!==void 0x0&&_0x38140e[_0x1100c4(0x21f)](_0xc99db9,_0x261321,_0x516507);},_0x25bd9c=(_0x11360c,_0x3db7af,_0x1ff696,_0x43a640={})=>{const _0x41a6e6=_0x4584be,_0x191cb1={},_0x563e2e={};if(_0x43a640['title']){const _0x49f00f=_0x43a640[_0x41a6e6(0x27f)];_0x2c6fa9(_0x191cb1,_0x41a6e6(0x273),_0x49f00f[_0x41a6e6(0x231)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x277),_0x49f00f[_0x41a6e6(0x2d6)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2d0),_0x49f00f[_0x41a6e6(0x2c5)]),_0x2c6fa9(_0x191cb1,'titles.title.color',_0x49f00f[_0x41a6e6(0x2ad)]),_0x2c6fa9(_0x191cb1,'titles.title.family',_0x49f00f[_0x41a6e6(0x235)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x24b),_0x49f00f[_0x41a6e6(0x271)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2b6),_0x49f00f['titleAlignment']),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x291),_0x49f00f[_0x41a6e6(0x268)]);}if(_0x43a640['legend']){const _0xcd56a5=_0x43a640['legend'];_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2ce),_0xcd56a5[_0x41a6e6(0x268)]),_0x2c6fa9(_0x191cb1,'legend.selectMode',_0xcd56a5[_0x41a6e6(0x257)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x290),_0xcd56a5['fontSize']),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2b4),_0xcd56a5[_0x41a6e6(0x21d)]),_0x2c6fa9(_0x191cb1,'legend.label.bold',_0xcd56a5[_0x41a6e6(0x271)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x27c),_0xcd56a5[_0x41a6e6(0x1fa)]);}if(_0x43a640['pie']){const _0x351438=_0x43a640[_0x41a6e6(0x287)];_0x2c6fa9(_0x191cb1,_0x41a6e6(0x282),_0x351438[_0x41a6e6(0x276)]),_0x2c6fa9(_0x191cb1,'pie.borderColor',_0x351438[_0x41a6e6(0x265)]),_0x2c6fa9(_0x191cb1,'pie.hasPaddingAngle',_0x351438[_0x41a6e6(0x2c4)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2b7),_0x351438[_0x41a6e6(0x212)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x258),_0x351438['rosePie']),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2d4),_0x351438[_0x41a6e6(0x298)]);}if(_0x43a640[_0x41a6e6(0x2a1)]){const _0x305098=_0x43a640[_0x41a6e6(0x2a1)];_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2aa),_0x305098[_0x41a6e6(0x2b5)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x21b),_0x305098[_0x41a6e6(0x2cc)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x285),_0x305098['indicatorLineColor']),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x240),_0x305098[_0x41a6e6(0x202)]);}if(_0x43a640[_0x41a6e6(0x22f)]&&(_0x2c6fa9(_0x191cb1,_0x41a6e6(0x224),_0x43a640[_0x41a6e6(0x22f)][_0x41a6e6(0x249)]),_0x2c6fa9(_0x191cb1,'allSeriesStyle.label',_0x43a640[_0x41a6e6(0x22f)][_0x41a6e6(0x203)]),_0x2c6fa9(_0x191cb1,'allSeriesStyle.rightYAxis',_0x43a640[_0x41a6e6(0x22f)][_0x41a6e6(0x29b)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2bd),_0x43a640[_0x41a6e6(0x22f)]['point']),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x1f7),_0x43a640[_0x41a6e6(0x22f)][_0x41a6e6(0x21d)])),_0x43a640[_0x41a6e6(0x2b2)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x29a),_0x43a640[_0x41a6e6(0x2b2)]['lineStyle']),_0x43a640[_0x41a6e6(0x1fc)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x1fc),_0x43a640[_0x41a6e6(0x1fc)]),_0x43a640['backgroundColor']&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x23e),_0x43a640[_0x41a6e6(0x23e)]),_0x43a640[_0x41a6e6(0x265)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x265),_0x43a640['borderColor']),_0x43a640[_0x41a6e6(0x2c7)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2c7),_0x43a640[_0x41a6e6(0x2c7)]),_0x43a640[_0x41a6e6(0x2b8)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2b8),_0x43a640[_0x41a6e6(0x2b8)]),_0x43a640[_0x41a6e6(0x269)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x269),_0x43a640[_0x41a6e6(0x269)]),_0x43a640['xAxisTitle']){const _0x20457a=_0x43a640[_0x41a6e6(0x2d5)];_0x2c6fa9(_0x191cb1,_0x41a6e6(0x28c),_0x20457a[_0x41a6e6(0x231)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x253),_0x20457a[_0x41a6e6(0x2d6)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x218),_0x20457a[_0x41a6e6(0x2c5)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2cf),_0x20457a['fontColor']),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x219),_0x20457a[_0x41a6e6(0x235)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x227),_0x20457a[_0x41a6e6(0x271)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x1fb),_0x20457a[_0x41a6e6(0x2d8)]);}if(_0x43a640[_0x41a6e6(0x2cb)]){const _0x7d0d3f=_0x43a640['yAxisTitle'];_0x2c6fa9(_0x191cb1,_0x41a6e6(0x20a),_0x7d0d3f[_0x41a6e6(0x231)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x260),_0x7d0d3f[_0x41a6e6(0x2d6)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x243),_0x7d0d3f[_0x41a6e6(0x2c5)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2d7),_0x7d0d3f[_0x41a6e6(0x2ad)]),_0x2c6fa9(_0x191cb1,'titles.yAxisTitle.family',_0x7d0d3f[_0x41a6e6(0x235)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x23c),_0x7d0d3f[_0x41a6e6(0x271)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2c0),_0x7d0d3f[_0x41a6e6(0x2d8)]);}if(_0x43a640[_0x41a6e6(0x27a)]){const _0x26185c=_0x43a640['rightYAxisTitle'];_0x2c6fa9(_0x191cb1,'titles.rightYAxisTitle.content',_0x26185c[_0x41a6e6(0x231)]),_0x2c6fa9(_0x191cb1,'titles.rightYAxisTitle.font',_0x26185c[_0x41a6e6(0x2d6)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x242),_0x26185c[_0x41a6e6(0x2c5)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x2a6),_0x26185c['fontColor']),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x216),_0x26185c[_0x41a6e6(0x235)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x272),_0x26185c[_0x41a6e6(0x271)]),_0x2c6fa9(_0x191cb1,_0x41a6e6(0x283),_0x26185c[_0x41a6e6(0x2d8)]);}_0x43a640[_0x41a6e6(0x1f5)]&&_0x2c6fa9(_0x191cb1,'xAxis',_0x43a640[_0x41a6e6(0x1f5)]),_0x43a640[_0x41a6e6(0x281)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x281),_0x43a640[_0x41a6e6(0x281)]),_0x43a640[_0x41a6e6(0x22b)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x29b),_0x43a640['yRightAxis']),_0x43a640[_0x41a6e6(0x209)]&&_0x2c6fa9(_0x191cb1,_0x41a6e6(0x209),_0x43a640[_0x41a6e6(0x209)]);const _0x176493={'unitId':_0x11360c,'chartModelId':_0x3db7af};let _0x584b6e=!0x1;if(_0x1ff696!==void 0x0&&(_0x176493[_0x41a6e6(0x286)]=_0x1ff696,_0x584b6e=!0x0),Object[_0x41a6e6(0x279)](_0x191cb1)[_0x41a6e6(0x299)]>0x0&&(_0x176493[_0x41a6e6(0x26b)]=_0x191cb1,_0x584b6e=!0x0),Object[_0x41a6e6(0x279)](_0x563e2e)[_0x41a6e6(0x299)]>0x0&&(_0x176493[_0x41a6e6(0x2d2)]=_0x563e2e,_0x584b6e=!0x0),_0x584b6e)return _0x176493;};class _0x24a9b0 extends _0x2cd5ef[_0x4584be(0x296)]{constructor(_0x1ff0c1,_0x577f2a,_0x465728,_0x1e7f63,_0xaee392){const _0x53efe3=_0x4584be;super(),_0x44d816(this,_0x53efe3(0x2d1)),_0x44d816(this,_0x53efe3(0x2cd)),_0x44d816(this,'unitId'),_0x44d816(this,_0x53efe3(0x220)),_0x44d816(this,_0x53efe3(0x201)),_0x44d816(this,_0x53efe3(0x29e)),_0x44d816(this,_0x53efe3(0x2be)),_0x44d816(this,'x'),_0x44d816(this,'y'),_0x44d816(this,'width'),_0x44d816(this,_0x53efe3(0x200)),_0x44d816(this,_0x53efe3(0x286)),_0x44d816(this,'options'),_0x44d816(this,_0x53efe3(0x22a)),(this[_0x53efe3(0x25f)]=_0x1ff0c1,this[_0x53efe3(0x220)]=_0x577f2a,this[_0x53efe3(0x2d1)]=_0x465728,this[_0x53efe3(0x2cd)]=_0x1e7f63,_0xaee392&&(this['chartId']=_0xaee392));}[_0x4584be(0x239)](){const _0x4b3a83=_0x4584be;return this[_0x4b3a83(0x286)];}['addRange'](_0x1e2c8a){const _0x3a4ccf=_0x4584be;if(typeof _0x1e2c8a=='string'){const _0x32e51a=_0x342b3e[_0x3a4ccf(0x2ab)](_0x1e2c8a);_0x32e51a[_0x3a4ccf(0x225)]&&(this[_0x3a4ccf(0x2be)]=_0x32e51a['sheetName']),this[_0x3a4ccf(0x29e)]=_0x32e51a[_0x3a4ccf(0x29e)];}else this[_0x3a4ccf(0x29e)]=_0x1e2c8a;return this;}[_0x4584be(0x20f)](){const _0x11d3d0=_0x4584be;return this[_0x11d3d0(0x29e)]=void 0x0,this['sourceSheetName']=void 0x0,this;}['setPosition'](_0x15c0fa,_0x3c70f5,_0xc63997,_0xbeb84c){const _0x2551a8=_0x4584be,_0x8f852=this[_0x2551a8(0x2cd)]['get'](_0x41f6f2['IRenderManagerService'])[_0x2551a8(0x252)](this[_0x2551a8(0x25f)]);if(!_0x8f852)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x52633e=_0x8f852['with'](_0x164025[_0x2551a8(0x2a2)]),_0x116371=_0x8f852[_0x2551a8(0x22c)](_0x164025[_0x2551a8(0x259)]),{transform:_0x2c2ee9}=_0x164025['convertPositionCellToSheetOverGrid'](this['unitId'],this[_0x2551a8(0x220)],{'row':_0x15c0fa,'column':_0x3c70f5,'rowOffset':_0xc63997,'columnOffset':_0xbeb84c},0x1,0x1,_0x52633e,_0x116371),_0x53562e=_0x2c2ee9[_0x2551a8(0x263)],_0xae23d3=_0x2c2ee9[_0x2551a8(0x213)];return this['x']=_0xae23d3,this['y']=_0x53562e,this;}[_0x4584be(0x20c)](_0x1a4cc7,_0xb585dc){return this['x']=_0x1a4cc7,this['y']=_0xb585dc,this;}[_0x4584be(0x234)](_0x49dd50){const _0x2368e6=_0x4584be;return this[_0x2368e6(0x286)]=_0x49dd50,this;}[_0x4584be(0x222)](_0x491d3d){const _0x249080=_0x4584be;return this[_0x249080(0x293)]=_0x491d3d,this;}['setHeight'](_0x545fa7){return this['height']=_0x545fa7,this;}[_0x4584be(0x2c2)](_0x5ccbb3,_0x497166){const _0x6293e5=_0x4584be;return this['options']||(this[_0x6293e5(0x226)]={}),_0x5ccbb3===''?(this['options']={...this[_0x6293e5(0x226)],..._0x497166},this):(_0x38140e['setProperty'](this[_0x6293e5(0x226)],_0x5ccbb3,_0x497166),this);}['setTransposeRowsAndColumns'](_0xa259da){const _0x35e43e=_0x4584be;return this[_0x35e43e(0x22a)]=_0xa259da,this;}[_0x4584be(0x210)](_0x41edb2){const _0x110a7b=_0x4584be;return this[_0x110a7b(0x2c2)](_0x110a7b(0x1fc),_0x41edb2),this;}['setXAxisTitle'](_0x2d229e){const _0x3697b8=_0x4584be;var _0x495f14;const _0x572c76=((_0x495f14=this[_0x3697b8(0x226)])==null?void 0x0:_0x495f14[_0x3697b8(0x2d5)])||{};return _0x572c76[_0x3697b8(0x231)]=_0x2d229e,this[_0x3697b8(0x2c2)](_0x3697b8(0x2d5),_0x572c76),this;}[_0x4584be(0x25b)](_0x47cff1){const _0x2ffd6a=_0x4584be;var _0x3a3caa;const _0x4c8224=((_0x3a3caa=this[_0x2ffd6a(0x226)])==null?void 0x0:_0x3a3caa[_0x2ffd6a(0x2cb)])||{};return _0x4c8224[_0x2ffd6a(0x231)]=_0x47cff1,this['setOptions'](_0x2ffd6a(0x2cb),_0x4c8224),this;}[_0x4584be(0x264)](_0x56cfff){const _0x3bba69=_0x4584be;var _0x217ce2;const _0x433a2d=((_0x217ce2=this[_0x3bba69(0x226)])==null?void 0x0:_0x217ce2['rightYAxisTitle'])||{};return _0x433a2d[_0x3bba69(0x231)]=_0x56cfff,this[_0x3bba69(0x2c2)](_0x3bba69(0x27a),_0x433a2d),this;}[_0x4584be(0x280)](_0x4a081b){const _0x40c3cc=_0x4584be;var _0x47ae5a;const _0x3240c8=((_0x47ae5a=this[_0x40c3cc(0x226)])==null?void 0x0:_0x47ae5a['xAxisTitle'])||{};return this[_0x40c3cc(0x2c2)](_0x40c3cc(0x2d5),{..._0x3240c8,..._0x4a081b}),this;}[_0x4584be(0x288)](_0x2aeba1){const _0x1620b5=_0x4584be;var _0x3a0c62;const _0x45ae6f=((_0x3a0c62=this[_0x1620b5(0x226)])==null?void 0x0:_0x3a0c62['yAxisTitle'])||{};return this[_0x1620b5(0x2c2)](_0x1620b5(0x2cb),{..._0x45ae6f,..._0x2aeba1}),this;}[_0x4584be(0x28b)](_0x47535d){const _0x24a3a4=_0x4584be;var _0x5db880;const _0x4ff70e=((_0x5db880=this[_0x24a3a4(0x226)])==null?void 0x0:_0x5db880[_0x24a3a4(0x27a)])||{};return this['setOptions'](_0x24a3a4(0x27a),{..._0x4ff70e,..._0x47535d}),this;}[_0x4584be(0x2af)](_0x4ba70c){const _0xdea26b=_0x4584be;return this[_0xdea26b(0x2c2)](_0xdea26b(0x2b8),_0x4ba70c),this;}['setAxisPointerStyle'](_0x24cdc1){const _0x507880=_0x4584be;return this[_0x507880(0x2c2)](_0x507880(0x2a1),_0x24cdc1),this;}['setAllSeriesStyle'](_0xbd33ad){const _0x4f4f58=_0x4584be;return this[_0x4f4f58(0x2c2)](_0x4f4f58(0x22f),_0xbd33ad),this;}[_0x4584be(0x206)](_0x1b0059,_0x268c6c){const _0x4b5af6=_0x4584be;return this['setOptions'](_0x4b5af6(0x209),{[_0x1b0059]:_0x268c6c}),this;}[_0x4584be(0x1f6)](){const _0xac0b75=_0x4584be;return{'unitId':this[_0xac0b75(0x25f)],'subUnitId':this['subUnitId'],'chartId':this[_0xac0b75(0x201)],'range':this[_0xac0b75(0x29e)],'sourceSheetName':this[_0xac0b75(0x2be)],'x':this['x'],'y':this['y'],'width':this[_0xac0b75(0x293)],'height':this['height'],'chartType':this[_0xac0b75(0x286)],'options':this[_0xac0b75(0x226)],'isRowDirection':this[_0xac0b75(0x22a)]};}}class _0x1c8818{constructor(_0x5ec5f9,_0x5b075c,_0x421ff6,_0x1ad8bb){const _0xe132a7=_0x4584be;_0x44d816(this,_0xe132a7(0x25f)),_0x44d816(this,'subUnitId'),_0x44d816(this,_0xe132a7(0x201)),_0x44d816(this,_0xe132a7(0x2cd)),(this[_0xe132a7(0x25f)]=_0x5ec5f9,this[_0xe132a7(0x220)]=_0x5b075c,this[_0xe132a7(0x201)]=_0x421ff6,this[_0xe132a7(0x2cd)]=_0x1ad8bb);}[_0x4584be(0x2c1)](){const _0x3f8dda=_0x4584be;return this[_0x3f8dda(0x201)];}[_0x4584be(0x2ba)](){const _0x23e6b2=_0x4584be,_0xeae8d2=this[_0x23e6b2(0x2cd)][_0x23e6b2(0x289)](_0x38140e[_0x23e6b2(0x261)])[_0x23e6b2(0x2c9)](this['chartId']);if(_0xeae8d2)return _0xeae8d2[_0x23e6b2(0x2a3)][_0x23e6b2(0x2b9)]();}['updateRange'](_0x15da5b){const _0x2b18ac=_0x4584be;return this['_injector']['get'](_0x54767c['ICommandService'])['executeCommand'](_0x38140e[_0x2b18ac(0x208)]['id'],{'unitId':this[_0x2b18ac(0x25f)],'chartModelId':this[_0x2b18ac(0x201)],'range':_0x15da5b});}[_0x4584be(0x24d)](){const _0x16437d=_0x4584be;var _0x21e4f6;const _0x2fdfdb=this[_0x16437d(0x2cd)][_0x16437d(0x289)](_0x38140e[_0x16437d(0x261)])[_0x16437d(0x2c9)](this[_0x16437d(0x201)]);if(_0x2fdfdb)return(_0x21e4f6=_0x2fdfdb[_0x16437d(0x28e)])==null?void 0x0:_0x21e4f6['series'];}[_0x4584be(0x274)](){const _0x514c82=_0x4584be;var _0x3019e5;const _0x3b4fd4=this[_0x514c82(0x2cd)][_0x514c82(0x289)](_0x38140e[_0x514c82(0x261)])[_0x514c82(0x2c9)](this[_0x514c82(0x201)]);if(_0x3b4fd4)return(_0x3019e5=_0x3b4fd4[_0x514c82(0x28e)])==null?void 0x0:_0x3019e5[_0x514c82(0x230)];}['modify'](){const _0x1e7699=_0x4584be,_0x28a1c3=this[_0x1e7699(0x2cd)]['get'](_0x54767c[_0x1e7699(0x25c)])[_0x1e7699(0x262)](_0x54767c[_0x1e7699(0x237)][_0x1e7699(0x28f)]);return new _0x24a9b0(this[_0x1e7699(0x25f)],this[_0x1e7699(0x220)],_0x28a1c3,this[_0x1e7699(0x2cd)],this['chartId']);}}class _0x419c9e extends _0x5959ec[_0x4584be(0x23f)]{async[_0x4584be(0x2bb)](_0xefa568){const _0xb5269d=_0x4584be;var _0x36d307,_0x4c1492,_0x423d89;const _0x258a37=_0xefa568['unitId']||this[_0xb5269d(0x297)]()[_0xb5269d(0x1f9)](),_0x234dbc=_0xefa568['subUnitId']||this[_0xb5269d(0x2d3)](),_0x4741fa=_0xefa568[_0xb5269d(0x201)]||_0x54767c[_0xb5269d(0x211)](),_0x3779d5=_0xefa568[_0xb5269d(0x286)],_0x5f3aba=_0xefa568[_0xb5269d(0x29e)],_0x927051=_0xefa568[_0xb5269d(0x2be)],_0x13249d={'x':_0xefa568['x'],'y':_0xefa568['y']},_0x11f712=_0xefa568[_0xb5269d(0x293)],_0x3fa101=_0xefa568[_0xb5269d(0x200)],_0x5363d8=(_0x36d307=_0xefa568[_0xb5269d(0x226)])==null?void 0x0:_0x36d307['backgroundColor'],_0x1e1e65=(_0x4c1492=_0xefa568[_0xb5269d(0x226)])==null?void 0x0:_0x4c1492[_0xb5269d(0x265)],_0x7b2af5=_0x25bd9c(_0x258a37,_0x4741fa,_0x3779d5,_0xefa568[_0xb5269d(0x226)]),_0x56f447=(_0x423d89=_0xefa568[_0xb5269d(0x275)])!=null?_0x423d89:!0x0;if(!_0x5f3aba)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService']['executeCommand'](_0x3025e0[_0xb5269d(0x24a)]['id'],{'unitId':_0x258a37,'subUnitId':_0x234dbc,'chartId':_0x4741fa,'chartType':_0x3779d5,'range':_0x5f3aba,'sourceSheetName':_0x927051,'position':_0x13249d,'width':_0x11f712,'height':_0x3fa101,'backgroundColor':_0x5363d8,'borderColor':_0x1e1e65,'config':_0x7b2af5,'isRowDirection':_0x56f447}),new _0x1c8818(_0x258a37,_0x234dbc,_0x4741fa,this['_injector']);}[_0x4584be(0x223)](_0x2b3fca){const _0x41f2a7=_0x4584be,{unitId:_0x19f50d,chartId:_0x4552e0,chartType:_0x224652,options:_0x12ddc9}=_0x2b3fca,_0x35af71=_0x25bd9c(_0x19f50d,_0x4552e0,_0x224652,_0x12ddc9);this[_0x41f2a7(0x2a8)]['executeCommand'](_0x38140e[_0x41f2a7(0x28d)]['id'],_0x35af71);}[_0x4584be(0x2c6)](_0x3b1281){const _0x223845=_0x4584be;if(_0x3b1281)return new _0x24a9b0(_0x3b1281[_0x223845(0x25f)],_0x3b1281[_0x223845(0x220)],this[_0x223845(0x2d1)],this[_0x223845(0x2cd)],_0x3b1281[_0x223845(0x201)]);const _0xf3f0f1=this[_0x223845(0x297)]()[_0x223845(0x1f9)](),_0x4b1ad2=this[_0x223845(0x2d3)]();return new _0x24a9b0(_0xf3f0f1,_0x4b1ad2,this[_0x223845(0x2d1)],this[_0x223845(0x2cd)]);}['getCharts'](){const _0x50eb9b=_0x4584be,_0x1d4bc5=this[_0x50eb9b(0x2cd)][_0x50eb9b(0x289)](_0x38140e['SheetsChartService']),_0x5f3700=this[_0x50eb9b(0x297)]()[_0x50eb9b(0x1f9)]();return _0x1d4bc5['getUnitChartModels'](_0x5f3700,this['getSheetId']())['map'](_0x10c53e=>new _0x1c8818(_0x5f3700,this[_0x50eb9b(0x2d3)](),_0x10c53e['id'],this[_0x50eb9b(0x2cd)]));}[_0x4584be(0x2c3)](_0x478712){const _0x12d6c1=_0x4584be,_0x108b7f=_0x478712[_0x12d6c1(0x25f)],_0x55560d=_0x478712[_0x12d6c1(0x220)],_0x133609=_0x478712[_0x12d6c1(0x201)],_0xe9ee77={'unitId':_0x108b7f,'drawings':[{'unitId':_0x108b7f,'subUnitId':_0x55560d,'drawingId':_0x133609,'drawingType':_0x54767c['DrawingTypeEnum'][_0x12d6c1(0x25e)]}]};return this[_0x12d6c1(0x2a8)][_0x12d6c1(0x29f)](_0x161ce9[_0x12d6c1(0x292)]['id'],_0xe9ee77);}[_0x4584be(0x2bf)](_0x2cb701,_0x50a911){const _0x29fcd3=_0x4584be;this[_0x29fcd3(0x2cd)][_0x29fcd3(0x289)](_0x6cf23a[_0x29fcd3(0x233)])[_0x29fcd3(0x2a7)](_0x2cb701,_0x50a911);}}_0x5959ec[_0x4584be(0x23f)][_0x4584be(0x254)](_0x419c9e);class _0x49deff extends _0x2cd5ef[_0x4584be(0x245)]{get[_0x4584be(0x2ae)](){const _0x450542=_0x4584be;return _0x6cf23a[_0x450542(0x229)];}get[_0x4584be(0x236)](){return _0x6cf23a['LegendPositionEnum'];}get[_0x4584be(0x2a5)](){return _0x6cf23a['SelectModeEnum'];}get[_0x4584be(0x251)](){const _0x18d3b1=_0x4584be;return _0x6cf23a[_0x18d3b1(0x251)];}get[_0x4584be(0x22e)](){const _0x1a4637=_0x4584be;return _0x6cf23a[_0x1a4637(0x22e)];}get[_0x4584be(0x21e)](){const _0x3ac909=_0x4584be;return _0x6cf23a[_0x3ac909(0x21e)];}get[_0x4584be(0x25a)](){const _0x1edec0=_0x4584be;return _0x6cf23a[_0x1edec0(0x25a)];}get[_0x4584be(0x238)](){const _0x296210=_0x4584be;return _0x6cf23a[_0x296210(0x238)];}}_0x2cd5ef[_0x4584be(0x245)][_0x4584be(0x254)](_0x49deff);class _0x31931c extends _0x24a9b0{constructor(_0x3a90a0,_0x6fe120,_0x5bc926,_0x4d0826,_0x573764){const _0x434ee9=_0x4584be;super(_0x3a90a0,_0x6fe120,_0x5bc926,_0x4d0826,_0x573764),_0x44d816(this,_0x434ee9(0x26e)),_0x44d816(this,_0x434ee9(0x284)),_0x44d816(this,'dataPointColor'),_0x44d816(this,_0x434ee9(0x217));}[_0x4584be(0x1fd)](_0x30b5a1){const _0x432548=_0x4584be;return this[_0x432548(0x26e)]=_0x30b5a1,this;}['setDataPointShape'](_0x2b67c4){const _0x20eedd=_0x4584be;return this[_0x20eedd(0x284)]=_0x2b67c4,this;}[_0x4584be(0x1f4)](_0x1be03e){const _0xf580dc=_0x4584be;return this[_0xf580dc(0x255)]=_0x1be03e,this;}[_0x4584be(0x23a)](_0x2c9da6){return this['dataPointSize']=_0x2c9da6,this;}[_0x4584be(0x1f6)](){const _0x1adbcc=_0x4584be,_0x427273=super[_0x1adbcc(0x1f6)]();_0x427273['chartType']=_0x6cf23a[_0x1adbcc(0x229)][_0x1adbcc(0x27e)];const _0x3b355e=_0x427273[_0x1adbcc(0x226)]||{};return _0x2c6fa9(_0x3b355e,'area.lineStyle',this[_0x1adbcc(0x26e)]),_0x2c6fa9(_0x3b355e,_0x1adbcc(0x248),this['dataPointShape']),_0x2c6fa9(_0x3b355e,_0x1adbcc(0x2ca),this[_0x1adbcc(0x255)]),_0x2c6fa9(_0x3b355e,_0x1adbcc(0x256),this['dataPointSize']),_0x427273['options']=_0x3b355e,_0x427273;}}class _0x5a53d9 extends _0x24a9b0{[_0x4584be(0x221)](){const _0x53d004=_0x4584be;return new _0x31931c(this[_0x53d004(0x25f)],this[_0x53d004(0x220)],this[_0x53d004(0x2d1)],this[_0x53d004(0x2cd)],this[_0x53d004(0x201)]);}}_0x24a9b0[_0x4584be(0x254)](_0x5a53d9);class _0x46f830 extends _0x24a9b0{constructor(_0xb3369d,_0x4cc65c,_0x1c6192,_0x1764c6,_0xf8a921){const _0x22086f=_0x4584be;super(_0xb3369d,_0x4cc65c,_0x1c6192,_0x1764c6,_0xf8a921),_0x44d816(this,_0x22086f(0x276)),_0x44d816(this,_0x22086f(0x265)),_0x44d816(this,_0x22086f(0x2c4)),_0x44d816(this,_0x22086f(0x212)),_0x44d816(this,_0x22086f(0x24e)),_0x44d816(this,_0x22086f(0x298));}['setDoughnutHole'](_0x1e772e){const _0x3e433e=_0x4584be;return this[_0x3e433e(0x276)]=_0x1e772e,this;}[_0x4584be(0x232)](_0x522f67){const _0x19ebb1=_0x4584be;return this[_0x19ebb1(0x265)]=_0x522f67,this;}[_0x4584be(0x20e)](_0xfb7b2c){const _0x495c16=_0x4584be;return this[_0x495c16(0x2c4)]=_0xfb7b2c,this;}[_0x4584be(0x26c)](_0x307c35){const _0x57642a=_0x4584be;return this[_0x57642a(0x212)]=_0x307c35,this;}[_0x4584be(0x294)](_0x4e7280){const _0x16128e=_0x4584be;return this[_0x16128e(0x24e)]=_0x4e7280,this;}[_0x4584be(0x26d)](_0x43e0bf){const _0xba67f0=_0x4584be;return this[_0xba67f0(0x298)]=_0x43e0bf,this;}[_0x4584be(0x1f6)](){const _0x1f062b=_0x4584be,_0x171e3e=super[_0x1f062b(0x1f6)]();_0x171e3e[_0x1f062b(0x286)]=_0x6cf23a['ChartTypeBits'][_0x1f062b(0x215)];const _0x2a86f3=_0x171e3e[_0x1f062b(0x226)]||{};return _0x2c6fa9(_0x2a86f3,_0x1f062b(0x282),this[_0x1f062b(0x276)]),_0x2c6fa9(_0x2a86f3,_0x1f062b(0x295),this[_0x1f062b(0x265)]),_0x2c6fa9(_0x2a86f3,_0x1f062b(0x21a),this[_0x1f062b(0x2c4)]),_0x2c6fa9(_0x2a86f3,_0x1f062b(0x2b7),this['isHalfPie']),_0x2c6fa9(_0x2a86f3,_0x1f062b(0x258),this['rosePie']),_0x2c6fa9(_0x2a86f3,_0x1f062b(0x2d4),this[_0x1f062b(0x298)]),_0x171e3e[_0x1f062b(0x226)]=_0x2a86f3,_0x171e3e;}}class _0x1ca983 extends _0x24a9b0{[_0x4584be(0x27d)](){const _0x57b33b=_0x4584be;return new _0x46f830(this['unitId'],this[_0x57b33b(0x220)],this[_0x57b33b(0x2d1)],this['_injector'],this[_0x57b33b(0x201)]);}}_0x24a9b0[_0x4584be(0x254)](_0x1ca983);class _0xdac4fa extends _0x24a9b0{constructor(_0x1cd717,_0xf6dd97,_0x24f503,_0x23e65e,_0xc4ea89){const _0xd030b7=_0x4584be;super(_0x1cd717,_0xf6dd97,_0x24f503,_0x23e65e,_0xc4ea89),_0x44d816(this,'shape'),_0x44d816(this,_0xd030b7(0x25d));}['setShape'](_0x4e1a5c){const _0x4e6bac=_0x4584be;return this[_0x4e6bac(0x1f8)]=_0x4e1a5c,this;}[_0x4584be(0x24f)](_0x16de66){const _0x1d5451=_0x4584be;return this[_0x1d5451(0x25d)]=_0x16de66,this;}[_0x4584be(0x1f6)](){const _0x5af696=_0x4584be,_0x5da22a=super['build']();_0x5da22a['chartType']=_0x6cf23a[_0x5af696(0x229)]['Radar'];const _0x3f85d0=_0x5da22a[_0x5af696(0x226)]||{};return _0x2c6fa9(_0x3f85d0,'radar.shape',this['shape']),_0x2c6fa9(_0x3f85d0,'radar.fill',this[_0x5af696(0x25d)]),_0x5da22a[_0x5af696(0x226)]=_0x3f85d0,_0x5da22a;}}class _0x5d02cc extends _0x24a9b0{[_0x4584be(0x2b3)](){const _0x335826=_0x4584be;return new _0xdac4fa(this[_0x335826(0x25f)],this['subUnitId'],this[_0x335826(0x2d1)],this[_0x335826(0x2cd)],this['chartId']);}}_0x24a9b0[_0x4584be(0x254)](_0x5d02cc),_0x4f0899[_0x4584be(0x29c)]=_0x1c8818,_0x4f0899[_0x4584be(0x1fe)]=_0x24a9b0,_0x4f0899[_0x4584be(0x241)]=_0x31931c,_0x4f0899[_0x4584be(0x23d)]=_0x46f830,_0x4f0899[_0x4584be(0x24c)]=_0xdac4fa,Object['defineProperty'](_0x4f0899,Symbol[_0x4584be(0x22d)],{'value':_0x4584be(0x28a)});}));
|