@univerjs-pro/sheets-chart-ui 0.5.1 → 0.5.2-nightly.202412291605
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/README.md +40 -7
- package/lib/cjs/facade.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.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/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 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.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/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/index.css +1 -1
- package/lib/types/commands/commands/sheets-chart.command.d.ts +11 -1
- package/lib/types/const.d.ts +1 -0
- package/lib/types/facade/chart-builder/builder-util.d.ts +4 -0
- package/lib/types/facade/chart-builder/chart-builder-base.d.ts +568 -0
- package/lib/types/facade/chart-builder/line-chart-builder.d.ts +55 -0
- package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +70 -0
- package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +42 -0
- package/lib/types/facade/chart-builder/types.d.ts +22 -0
- package/lib/types/facade/f-chart.d.ts +86 -0
- package/lib/types/facade/f-worksheet.d.ts +120 -0
- package/lib/types/facade/index.d.ts +16 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/locale/zh-CN.d.ts +19 -0
- package/lib/types/models/echart-render-engine.d.ts +2 -0
- package/lib/types/models/echart-render-model.d.ts +1 -1
- package/lib/types/models/render-spec-operators/axis-title.operator.d.ts +2 -0
- package/lib/types/models/render-spec-operators/index.d.ts +2 -1
- package/lib/types/models/render-spec-operators/title-style.operator.d.ts +1 -1
- package/lib/types/models/render-spec-operators/tools.d.ts +4 -2
- package/lib/types/services/sheets-chart-ui.service.d.ts +2 -1
- package/lib/types/views/chart-edit-panel/options.d.ts +5 -5
- package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +19 -0
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/const.d.ts +2 -0
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/widgets.d.ts +3 -6
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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 +29 -17
package/README.md
CHANGED
|
@@ -1,16 +1,49 @@
|
|
|
1
1
|
# ChartPlugin
|
|
2
2
|
|
|
3
|
-
[](https://npmjs.org/packages/@univerjs-pro/sheets-chart-ui)
|
|
4
|
+
[](https://img.shields.io/npm/l/@univerjs-pro/sheets-chart-ui)
|
|
5
|
+

|
|
6
|
+

|
|
5
7
|
|
|
6
|
-
## Introduction
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
### Installation
|
|
10
|
+
|
|
11
|
+
Chart Feature provide the ability to insert floating charts based on range data in spreadsheets.
|
|
12
|
+
|
|
13
|
+
This feature includes the following plugin packages:
|
|
14
|
+
|
|
15
|
+
- `@univerjs-pro/sheets-chart` - Chart plugin
|
|
16
|
+
- `@univerjs-pro/sheets-chart-ui` - Chart UI plugin
|
|
17
|
+
|
|
18
|
+
```shell npm2yarn
|
|
19
|
+
npm install @univerjs-pro/sheets-chart @univerjs-pro/sheets-chart-ui
|
|
20
|
+
```
|
|
21
|
+
|
|
9
22
|
|
|
10
23
|
## Usage
|
|
11
24
|
|
|
12
|
-
|
|
25
|
+
```typescript
|
|
26
|
+
import { LocaleType, merge, Univer } from '@univerjs/core';
|
|
27
|
+
import { defaultTheme } from "@univerjs/design";
|
|
28
|
+
import { UniverSheetsChartPlugin } from '@univerjs-pro/sheets-chart';
|
|
29
|
+
import { UniverSheetsChartUIPlugin } from '@univerjs-pro/sheets-chart-ui';
|
|
30
|
+
import SheetsChartZhCN from '@univerjs-pro/sheets-chart/locale/zh-CN';
|
|
31
|
+
import SheetsChartUIZhCN from '@univerjs-pro/sheets-chart-ui/locale/zh-CN';
|
|
32
|
+
|
|
33
|
+
import '@univerjs-pro/sheets-chart-ui/lib/index.css';
|
|
34
|
+
|
|
35
|
+
const univer = new Univer({
|
|
36
|
+
theme: defaultTheme,
|
|
37
|
+
locale: LocaleType.ZH_CN,
|
|
38
|
+
locales: {
|
|
39
|
+
[LocaleType.ZH_CN]: merge(
|
|
40
|
+
{},
|
|
41
|
+
SheetsChartZhCN,
|
|
42
|
+
SheetsChartUIZhCN
|
|
43
|
+
),
|
|
44
|
+
},
|
|
45
|
+
});
|
|
13
46
|
|
|
14
|
-
|
|
15
|
-
|
|
47
|
+
univer.registerPlugin(UniverSheetsChartPlugin);
|
|
48
|
+
univer.registerPlugin(UniverSheetsChartUIPlugin);
|
|
16
49
|
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function _0x3f09(_0x16b56c,_0x140fef){const _0x3f94fe=_0x3f94();return _0x3f09=function(_0x3f09ed,_0x216a0c){_0x3f09ed=_0x3f09ed-0x19a;let _0x32a768=_0x3f94fe[_0x3f09ed];return _0x32a768;},_0x3f09(_0x16b56c,_0x140fef);}const _0x14e85c=_0x3f09;(function(_0x5d6e23,_0x542125){const _0x36c645=_0x3f09,_0x137566=_0x5d6e23();while(!![]){try{const _0x5ecf1e=-parseInt(_0x36c645(0x1d0))/0x1+-parseInt(_0x36c645(0x1fe))/0x2+parseInt(_0x36c645(0x260))/0x3+-parseInt(_0x36c645(0x1d8))/0x4*(-parseInt(_0x36c645(0x231))/0x5)+-parseInt(_0x36c645(0x22a))/0x6+parseInt(_0x36c645(0x1ea))/0x7*(-parseInt(_0x36c645(0x23d))/0x8)+parseInt(_0x36c645(0x1bf))/0x9;if(_0x5ecf1e===_0x542125)break;else _0x137566['push'](_0x137566['shift']());}catch(_0x4c06fe){_0x137566['push'](_0x137566['shift']());}}}(_0x3f94,0xefa8e));function _0x3f94(){const _0x582693=['xAxis','title','getSeriesData','4140395OJhMRY','titles.rightYAxisTitle.fontWeight','setTheme','@univerjs/sheets/facade','extend','titles.rightYAxisTitle.font','options','dataPointSize','setOptions','titles.yAxisTitle.fontWeight','setHeight','top','5049480uDMwKG','fontStyle','setProperty','left','allSeriesStyle.point.shape','config','addRange','titles.title.font','getSheetId','fontSize','titles.yAxisTitle.font','titles.xAxisTitle.fontWeight','setAbsolutePosition','InsertChartCommand','getUnitChartModels','get','sourceSheetName','pie.showLabelLine','indicatorLineColor','pie.hasPaddingAngle','italic','indicatorLabelColor','titles.xAxisTitle.fontSize','titles.title.content','content','FWorksheet','toStringTag','allSeriesStyle.point.color','asPieChart','setTransposeRowsAndColumns','fontWeight','tooltip.indicatorLabelColor','getCharts','ChartUpdateConfigCommand','legend.selectMode','3274611dCzgZF','titles.title.alignment','position','Pie','getRenderById','unitId','setShowLabelLine','setWidth','getCurrentUnitForType','width','allSeriesStyle','symbol','doughnutHole','setInvalidValueStrategy','SheetsChartService','pie.borderColor','clearRange','setHasPaddingAngle','getChartId','setChartType','legend.label.color','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','setFill','RadarChartBuilder','isRowDirection','setDoughnutHole','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','_injector','setYAxisTextStyle','bold','@univerjs-pro/sheets-chart','theme','chartType','height','RemoveSheetDrawingCommand','allSeriesStyle.point.size','titles.rightYAxisTitle.content','ChartTypeBits','UNIVER_SHEET','fill','_workbook','PieChartBuilder','titles.yAxisTitle.fontColor','\x20not\x20found','setAxisPointerStyle','@univerjs/engine-render','39013578bXpQvR','setLineStyle','area','setRightYAxisTitle','SheetSkeletonManagerService','series','subUnitId','ChartUpdateSourceCommand','tooltip.indicatorLabelTextColor','titles.xAxisTitle.font','@univerjs-pro/sheets-chart-ui','Module','@univerjs/core','indicatorLabelTextColor','style','pie.doughnutHole','titles.xAxisTitle.content','609762RuAOTP','point','allSeriesStyle.point','getChartModel','setPosition','with','getSheetBySheetName','shape','4PwFIFp','removeChart','LineChartBuilder','setIsHalfPie','legend.label.bold','dataPointShape','titles.xAxisTitle.alignment','titles.title.titlePosition','FChart','titles.rightYAxisTitle.fontColor','selectMode','setAllSeriesStyle','axisPointer','FChartBuilderBase','registerTheme','keys','alignment','registerChartTheme','21oEDqIp','radar.shape','showLabelLine','range','sheetName','IUniverInstanceService','lineStyle','setRosePie','isHalfPie','titles.yAxisTitle.fontStyle','getUnitId','hasPaddingAngle','yAxisTitle','fontColor','@univerjs/sheets-drawing-ui','titles.yAxisTitle.content','getRangeInfo','getCategoryData','string','chartId','2585532aSBmHQ','titles.rightYAxisTitle.fontStyle','pie.rosePie','Sheet\x20','rosePie','asRadarChart','UniverInstanceType','transposeRowsAndColumns','rightYAxisTitle','@univerjs/engine-formula','setBorderColor','newChart','font','yAxis','yRightAxis','_commandService','area.lineStyle','legend','pie.isHalfPie','backgroundColor','titles.title.fontSize','executeCommand','setXAxisTextStyle','setDataPointShape','getWorkbook','titles.yAxisTitle.fontSize','asLineChart','setDataPointSize','setRightYAxisTextStyle','legend.position','setXAxisTitle','xAxisTitle','updateChart','build','setShape','borderColor','pie','Line','setYAxisTitle','seriesStyleMap','tooltip.indicatorLineColor','length','ChartThemeService','dataPointColor','8860374OHrkAn','getRange','setSeriesStyle','titles.yAxisTitle.alignment'];_0x3f94=function(){return _0x582693;};return _0x3f94();}var k=Object['defineProperty'],_=(_0x337db8,_0x6c1640,_0x1b699e)=>_0x6c1640 in _0x337db8?k(_0x337db8,_0x6c1640,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b699e}):_0x337db8[_0x6c1640]=_0x1b699e,o=(_0x102e05,_0x473002,_0x392e81)=>_(_0x102e05,typeof _0x473002!=_0x14e85c(0x19c)?_0x473002+'':_0x473002,_0x392e81);Object['defineProperty'](exports,Symbol[_0x14e85c(0x257)],{'value':_0x14e85c(0x1ca)});const d=require(_0x14e85c(0x1af)),U=require(_0x14e85c(0x1c9)),u=require(_0x14e85c(0x1cb)),L=require(_0x14e85c(0x1f8)),w=require(_0x14e85c(0x234)),M=require(_0x14e85c(0x207)),j=require(_0x14e85c(0x1be)),C=require('@univerjs/sheets-ui'),s=(_0x55ad89,_0x4a9d37,_0x6be028)=>{const _0x332e90=_0x14e85c;_0x6be028!==void 0x0&&d[_0x332e90(0x23f)](_0x55ad89,_0x4a9d37,_0x6be028);},I=(_0x591018,_0x2dd6ea,_0x283487,_0x3c7a0d={})=>{const _0x36def6=_0x14e85c,_0x139da7={},_0x2b2302={};if(_0x3c7a0d[_0x36def6(0x22f)]){const _0x41b497=_0x3c7a0d[_0x36def6(0x22f)];s(_0x139da7,_0x36def6(0x254),_0x41b497[_0x36def6(0x255)]),s(_0x139da7,_0x36def6(0x244),_0x41b497[_0x36def6(0x20a)]),s(_0x139da7,_0x36def6(0x212),_0x41b497[_0x36def6(0x246)]),s(_0x139da7,'titles.title.fontColor',_0x41b497[_0x36def6(0x1f7)]),s(_0x139da7,'titles.title.fontStyle',_0x41b497[_0x36def6(0x23e)]),s(_0x139da7,'titles.title.fontWeight',_0x41b497[_0x36def6(0x25b)]),s(_0x139da7,_0x36def6(0x261),_0x41b497['alignment']),s(_0x139da7,_0x36def6(0x1df),_0x41b497[_0x36def6(0x262)]);}if(_0x3c7a0d[_0x36def6(0x20f)]){const _0x3dc9fc=_0x3c7a0d[_0x36def6(0x20f)];s(_0x139da7,_0x36def6(0x21b),_0x3dc9fc[_0x36def6(0x262)]),s(_0x139da7,_0x36def6(0x25f),_0x3dc9fc[_0x36def6(0x1e2)]),s(_0x139da7,'legend.label.fontSize',_0x3dc9fc[_0x36def6(0x246)]),s(_0x139da7,_0x36def6(0x1a5),_0x3dc9fc['color']),s(_0x139da7,_0x36def6(0x1dc),_0x3dc9fc[_0x36def6(0x1ae)]),s(_0x139da7,'legend.label.italic',_0x3dc9fc[_0x36def6(0x251)]);}if(_0x3c7a0d[_0x36def6(0x222)]){const _0x12fb11=_0x3c7a0d['pie'];s(_0x139da7,_0x36def6(0x1ce),_0x12fb11[_0x36def6(0x19d)]),s(_0x139da7,_0x36def6(0x1a0),_0x12fb11[_0x36def6(0x221)]),s(_0x139da7,'pie.hasPaddingAngle',_0x12fb11[_0x36def6(0x1f5)]),s(_0x139da7,_0x36def6(0x210),_0x12fb11[_0x36def6(0x1f2)]),s(_0x139da7,_0x36def6(0x200),_0x12fb11[_0x36def6(0x202)]),s(_0x139da7,'pie.showLabelLine',_0x12fb11[_0x36def6(0x1ec)]);}if(_0x3c7a0d[_0x36def6(0x1e4)]){const _0x394cca=_0x3c7a0d[_0x36def6(0x1e4)];s(_0x139da7,_0x36def6(0x25c),_0x394cca[_0x36def6(0x252)]),s(_0x139da7,'tooltip.indicatorLineType',_0x394cca['indicatorLineType']),s(_0x139da7,_0x36def6(0x226),_0x394cca[_0x36def6(0x24f)]),s(_0x139da7,_0x36def6(0x1c7),_0x394cca[_0x36def6(0x1cc)]);}if(_0x3c7a0d[_0x36def6(0x19b)]&&s(_0x139da7,_0x36def6(0x1d2),_0x3c7a0d['allSeriesStyle'][_0x36def6(0x1d1)]),_0x3c7a0d['area']&&s(_0x139da7,_0x36def6(0x20e),_0x3c7a0d[_0x36def6(0x1c1)][_0x36def6(0x1f0)]),_0x3c7a0d['theme']&&s(_0x139da7,_0x36def6(0x1b0),_0x3c7a0d['theme']),_0x3c7a0d[_0x36def6(0x21d)]){const _0x226900=_0x3c7a0d[_0x36def6(0x21d)];s(_0x139da7,_0x36def6(0x1cf),_0x226900['content']),s(_0x139da7,_0x36def6(0x1c8),_0x226900['font']),s(_0x139da7,_0x36def6(0x253),_0x226900[_0x36def6(0x246)]),s(_0x139da7,'titles.xAxisTitle.fontColor',_0x226900['fontColor']),s(_0x139da7,'titles.xAxisTitle.fontStyle',_0x226900['fontStyle']),s(_0x139da7,_0x36def6(0x248),_0x226900[_0x36def6(0x25b)]),s(_0x139da7,_0x36def6(0x1de),_0x226900[_0x36def6(0x1e8)]);}if(_0x3c7a0d['yAxisTitle']){const _0x168290=_0x3c7a0d['yAxisTitle'];s(_0x139da7,_0x36def6(0x1f9),_0x168290[_0x36def6(0x255)]),s(_0x139da7,_0x36def6(0x247),_0x168290[_0x36def6(0x20a)]),s(_0x139da7,_0x36def6(0x217),_0x168290[_0x36def6(0x246)]),s(_0x139da7,_0x36def6(0x1bb),_0x168290[_0x36def6(0x1f7)]),s(_0x139da7,_0x36def6(0x1f3),_0x168290[_0x36def6(0x23e)]),s(_0x139da7,_0x36def6(0x23a),_0x168290[_0x36def6(0x25b)]),s(_0x139da7,_0x36def6(0x22d),_0x168290['alignment']);}if(_0x3c7a0d[_0x36def6(0x206)]){const _0x5c787d=_0x3c7a0d[_0x36def6(0x206)];s(_0x139da7,_0x36def6(0x1b5),_0x5c787d['content']),s(_0x139da7,_0x36def6(0x236),_0x5c787d[_0x36def6(0x20a)]),s(_0x139da7,'titles.rightYAxisTitle.fontSize',_0x5c787d[_0x36def6(0x246)]),s(_0x139da7,_0x36def6(0x1e1),_0x5c787d['fontColor']),s(_0x139da7,_0x36def6(0x1ff),_0x5c787d['fontStyle']),s(_0x139da7,_0x36def6(0x232),_0x5c787d[_0x36def6(0x25b)]),s(_0x139da7,'titles.rightYAxisTitle.alignment',_0x5c787d[_0x36def6(0x1e8)]);}_0x3c7a0d[_0x36def6(0x22e)]&&s(_0x139da7,_0x36def6(0x22e),_0x3c7a0d['xAxis']),_0x3c7a0d['yAxis']&&s(_0x139da7,_0x36def6(0x20b),_0x3c7a0d[_0x36def6(0x20b)]),_0x3c7a0d[_0x36def6(0x20c)]&&s(_0x139da7,'rightYAxis',_0x3c7a0d[_0x36def6(0x20c)]),_0x3c7a0d['seriesStyleMap']&&s(_0x139da7,_0x36def6(0x225),_0x3c7a0d[_0x36def6(0x225)]);const _0x4dc722={'unitId':_0x591018,'chartModelId':_0x2dd6ea};let _0x3c6955=!0x1;if(_0x283487!==void 0x0&&(_0x4dc722['chartType']=_0x283487,_0x3c6955=!0x0),Object[_0x36def6(0x1e7)](_0x139da7)['length']>0x0&&(_0x4dc722[_0x36def6(0x1cd)]=_0x139da7,_0x3c6955=!0x0),Object['keys'](_0x2b2302)[_0x36def6(0x227)]>0x0&&(_0x4dc722['context']=_0x2b2302,_0x3c6955=!0x0),_0x3c6955)return _0x4dc722;};class c extends u['FBase']{constructor(_0x2b8fc3,_0x56e1a0,_0x948e30,_0x1f0363,_0x1b7794){const _0x483691=_0x14e85c;super(),o(this,_0x483691(0x1b9)),o(this,_0x483691(0x1ac)),o(this,'unitId'),o(this,_0x483691(0x1c5)),o(this,_0x483691(0x1fd)),o(this,_0x483691(0x1ed)),o(this,'sourceSheetName'),o(this,'x'),o(this,'y'),o(this,_0x483691(0x19a)),o(this,'height'),o(this,_0x483691(0x1b1)),o(this,_0x483691(0x237)),o(this,_0x483691(0x205)),(this[_0x483691(0x265)]=_0x2b8fc3,this[_0x483691(0x1c5)]=_0x56e1a0,this[_0x483691(0x1b9)]=_0x948e30,this[_0x483691(0x1ac)]=_0x1f0363,_0x1b7794&&(this[_0x483691(0x1fd)]=_0x1b7794));}['getChartType'](){return this['chartType'];}[_0x14e85c(0x243)](_0x3a03cf){const _0x2f708e=_0x14e85c;if(typeof _0x3a03cf==_0x2f708e(0x1fc)){const _0x2655b0=M['deserializeRangeWithSheet'](_0x3a03cf);_0x2655b0[_0x2f708e(0x1ee)]&&(this['sourceSheetName']=_0x2655b0[_0x2f708e(0x1ee)]),this['range']=_0x2655b0[_0x2f708e(0x1ed)];}else this[_0x2f708e(0x1ed)]=_0x3a03cf;return this;}[_0x14e85c(0x1a1)](){const _0x1c7724=_0x14e85c;return this[_0x1c7724(0x1ed)]=void 0x0,this[_0x1c7724(0x24d)]=void 0x0,this;}[_0x14e85c(0x1d4)](_0x58d4b3,_0x4a0c03,_0x9651f6,_0x212ccb){const _0x9a8da7=_0x14e85c,_0x41a669=this['_injector'][_0x9a8da7(0x24c)](j['IRenderManagerService'])[_0x9a8da7(0x264)](this[_0x9a8da7(0x265)]);if(!_0x41a669)throw new Error(_0x9a8da7(0x1ab));const _0xdcc4fa=_0x41a669['with'](C['ISheetSelectionRenderService']),_0x44213c=_0x41a669[_0x9a8da7(0x1d5)](C[_0x9a8da7(0x1c3)]),{transform:_0x217b2d}=C['convertPositionCellToSheetOverGrid'](this['unitId'],this[_0x9a8da7(0x1c5)],{'row':_0x58d4b3,'column':_0x4a0c03,'rowOffset':_0x9651f6,'columnOffset':_0x212ccb},0x1,0x1,_0xdcc4fa,_0x44213c),_0x4b44bf=_0x217b2d[_0x9a8da7(0x23c)],_0x2e0855=_0x217b2d[_0x9a8da7(0x240)];return this['x']=_0x2e0855,this['y']=_0x4b44bf,this;}[_0x14e85c(0x249)](_0x54bd80,_0x34bda7){return this['x']=_0x54bd80,this['y']=_0x34bda7,this;}[_0x14e85c(0x1a4)](_0x4133cb){return this['chartType']=_0x4133cb,this;}[_0x14e85c(0x267)](_0x40beca){const _0x1de5a9=_0x14e85c;return this[_0x1de5a9(0x19a)]=_0x40beca,this;}[_0x14e85c(0x23b)](_0x3f4c21){const _0x88ac01=_0x14e85c;return this[_0x88ac01(0x1b2)]=_0x3f4c21,this;}[_0x14e85c(0x239)](_0x518d94,_0x2b4cd6){const _0x4fe75e=_0x14e85c;return this[_0x4fe75e(0x237)]||(this[_0x4fe75e(0x237)]={}),_0x518d94===''?(this[_0x4fe75e(0x237)]={...this[_0x4fe75e(0x237)],..._0x2b4cd6},this):(d[_0x4fe75e(0x23f)](this[_0x4fe75e(0x237)],_0x518d94,_0x2b4cd6),this);}[_0x14e85c(0x25a)](_0x2332fe){const _0x2a7e23=_0x14e85c;return this[_0x2a7e23(0x205)]=_0x2332fe,this;}[_0x14e85c(0x233)](_0x26737d){const _0x55c782=_0x14e85c;return this[_0x55c782(0x239)](_0x55c782(0x1b0),_0x26737d),this;}[_0x14e85c(0x21c)](_0x1aac3e){const _0x25377d=_0x14e85c;var _0x47e7cb;const _0x374b07=((_0x47e7cb=this[_0x25377d(0x237)])==null?void 0x0:_0x47e7cb[_0x25377d(0x21d)])||{};return _0x374b07[_0x25377d(0x255)]=_0x1aac3e,this['setOptions'](_0x25377d(0x21d),_0x374b07),this;}[_0x14e85c(0x224)](_0xf8a498){const _0x5c88d9=_0x14e85c;var _0x58e2d6;const _0x53bce5=((_0x58e2d6=this[_0x5c88d9(0x237)])==null?void 0x0:_0x58e2d6[_0x5c88d9(0x1f6)])||{};return _0x53bce5[_0x5c88d9(0x255)]=_0xf8a498,this[_0x5c88d9(0x239)](_0x5c88d9(0x1f6),_0x53bce5),this;}[_0x14e85c(0x1c2)](_0x3582eb){const _0x5d0d75=_0x14e85c;var _0x14e9d4;const _0x101bba=((_0x14e9d4=this[_0x5d0d75(0x237)])==null?void 0x0:_0x14e9d4['rightYAxisTitle'])||{};return _0x101bba[_0x5d0d75(0x255)]=_0x3582eb,this['setOptions'](_0x5d0d75(0x206),_0x101bba),this;}[_0x14e85c(0x214)](_0xc0539f){const _0x39687c=_0x14e85c;var _0x1769c3;const _0x741e0d=((_0x1769c3=this[_0x39687c(0x237)])==null?void 0x0:_0x1769c3['xAxisTitle'])||{};return this[_0x39687c(0x239)]('xAxisTitle',{..._0x741e0d,..._0xc0539f}),this;}[_0x14e85c(0x1ad)](_0x5d0c78){const _0x35c06c=_0x14e85c;var _0x466c94;const _0x39b20f=((_0x466c94=this[_0x35c06c(0x237)])==null?void 0x0:_0x466c94[_0x35c06c(0x1f6)])||{};return this[_0x35c06c(0x239)](_0x35c06c(0x1f6),{..._0x39b20f,..._0x5d0c78}),this;}[_0x14e85c(0x21a)](_0x15bb3e){const _0x2b1a83=_0x14e85c;var _0xb2329d;const _0xbd6725=((_0xb2329d=this[_0x2b1a83(0x237)])==null?void 0x0:_0xb2329d[_0x2b1a83(0x206)])||{};return this[_0x2b1a83(0x239)](_0x2b1a83(0x206),{..._0xbd6725,..._0x15bb3e}),this;}[_0x14e85c(0x19e)](_0x1baa2a){const _0x4aab52=_0x14e85c;return this[_0x4aab52(0x239)]('invalidValueType',_0x1baa2a),this;}[_0x14e85c(0x1bd)](_0x531f96){const _0x38ab38=_0x14e85c;return this[_0x38ab38(0x239)](_0x38ab38(0x1e4),_0x531f96),this;}[_0x14e85c(0x1e3)](_0x44786d){return this['setOptions']('allSeriesStyle',_0x44786d),this;}[_0x14e85c(0x22c)](_0x511167,_0x19f3e7){const _0x1d9107=_0x14e85c;return this[_0x1d9107(0x239)](_0x1d9107(0x225),{[_0x511167]:_0x19f3e7}),this;}[_0x14e85c(0x21f)](){const _0x5eb9f2=_0x14e85c;var _0x1deed7;let _0x51c46f=this[_0x5eb9f2(0x1c5)];if(this[_0x5eb9f2(0x24d)]){const _0x3c93da=(_0x1deed7=this[_0x5eb9f2(0x1b9)][_0x5eb9f2(0x1d6)](this[_0x5eb9f2(0x24d)]))==null?void 0x0:_0x1deed7[_0x5eb9f2(0x245)]();if(!_0x3c93da)throw new Error(_0x5eb9f2(0x201)+this[_0x5eb9f2(0x24d)]+_0x5eb9f2(0x1bc));_0x51c46f=_0x3c93da;}return{'unitId':this[_0x5eb9f2(0x265)],'subUnitId':_0x51c46f,'chartId':this[_0x5eb9f2(0x1fd)],'range':this[_0x5eb9f2(0x1ed)],'x':this['x'],'y':this['y'],'width':this[_0x5eb9f2(0x19a)],'height':this[_0x5eb9f2(0x1b2)],'chartType':this[_0x5eb9f2(0x1b1)],'options':this[_0x5eb9f2(0x237)],'isRowDirection':this['transposeRowsAndColumns']};}}class T{constructor(_0x424ad2,_0x131ed0,_0x9b56c0,_0x88b16c){const _0x44364e=_0x14e85c;o(this,'unitId'),o(this,_0x44364e(0x1c5)),o(this,'chartId'),o(this,_0x44364e(0x1ac)),(this[_0x44364e(0x265)]=_0x424ad2,this['subUnitId']=_0x131ed0,this['chartId']=_0x9b56c0,this['_injector']=_0x88b16c);}[_0x14e85c(0x1a3)](){const _0x3695e5=_0x14e85c;return this[_0x3695e5(0x1fd)];}[_0x14e85c(0x22b)](){const _0x18f427=_0x14e85c,_0x31dc78=this['_injector'][_0x18f427(0x24c)](d[_0x18f427(0x19f)])['getChartModel'](this['chartId']);if(_0x31dc78)return _0x31dc78['dataSource'][_0x18f427(0x1fa)]();}['updateRange'](_0x331d3b){const _0x6c57f5=_0x14e85c;return this[_0x6c57f5(0x1ac)]['get'](u['CommandService'])[_0x6c57f5(0x213)](d[_0x6c57f5(0x1c6)]['id'],{'unitId':this[_0x6c57f5(0x265)],'chartModelId':this[_0x6c57f5(0x1fd)],'range':_0x331d3b});}[_0x14e85c(0x230)](){const _0x2a04b9=_0x14e85c;var _0x132bcd;const _0x175bde=this[_0x2a04b9(0x1ac)]['get'](d[_0x2a04b9(0x19f)])['getChartModel'](this[_0x2a04b9(0x1fd)]);if(_0x175bde)return(_0x132bcd=_0x175bde['config'])==null?void 0x0:_0x132bcd[_0x2a04b9(0x1c4)];}[_0x14e85c(0x1fb)](){const _0x5df88f=_0x14e85c;var _0x23f756;const _0x549989=this['_injector'][_0x5df88f(0x24c)](d[_0x5df88f(0x19f)])[_0x5df88f(0x1d3)](this[_0x5df88f(0x1fd)]);if(_0x549989)return(_0x23f756=_0x549989[_0x5df88f(0x242)])==null?void 0x0:_0x23f756['category'];}['modify'](){const _0x5c219b=_0x14e85c,_0x3d072e=this['_injector'][_0x5c219b(0x24c)](u[_0x5c219b(0x1ef)])[_0x5c219b(0x268)](u[_0x5c219b(0x204)][_0x5c219b(0x1b7)]);return new c(this[_0x5c219b(0x265)],this[_0x5c219b(0x1c5)],_0x3d072e,this['_injector'],this[_0x5c219b(0x1fd)]);}}class Y extends w[_0x14e85c(0x256)]{async['insertChart'](_0x310574){const _0x1f7762=_0x14e85c;var _0x193484,_0x29c0c1,_0x525efb;const _0x53c8e3=_0x310574['unitId']||this[_0x1f7762(0x216)]()[_0x1f7762(0x1f4)](),_0x4f82aa=_0x310574[_0x1f7762(0x1c5)]||this[_0x1f7762(0x245)](),_0x37e3ea=_0x310574['chartId']||u['generateRandomId'](),_0x18d346=_0x310574['chartType'],_0x5f04ed=_0x310574[_0x1f7762(0x1ed)],_0x38ea64={'x':_0x310574['x'],'y':_0x310574['y']},_0xbaeb2d=_0x310574['width'],_0x4b3313=_0x310574[_0x1f7762(0x1b2)],_0x3893a3=(_0x193484=_0x310574[_0x1f7762(0x237)])==null?void 0x0:_0x193484[_0x1f7762(0x211)],_0x4fb8a7=(_0x29c0c1=_0x310574['options'])==null?void 0x0:_0x29c0c1[_0x1f7762(0x221)],_0x299815=I(_0x53c8e3,_0x37e3ea,_0x18d346,_0x310574[_0x1f7762(0x237)]),_0x1b5571=(_0x525efb=_0x310574[_0x1f7762(0x1a9)])!=null?_0x525efb:!0x0;if(!_0x5f04ed)throw new Error(_0x1f7762(0x1a6));return await this[_0x1f7762(0x20d)][_0x1f7762(0x213)](U[_0x1f7762(0x24a)]['id'],{'unitId':_0x53c8e3,'subUnitId':_0x4f82aa,'chartId':_0x37e3ea,'chartType':_0x18d346,'range':_0x5f04ed,'position':_0x38ea64,'width':_0xbaeb2d,'height':_0x4b3313,'backgroundColor':_0x3893a3,'borderColor':_0x4fb8a7,'config':_0x299815,'isRowDirection':_0x1b5571}),new T(_0x53c8e3,_0x4f82aa,_0x37e3ea,this['_injector']);}[_0x14e85c(0x21e)](_0x5946a2){const _0x4ea0e6=_0x14e85c,{unitId:_0x48e424,chartId:_0x1a06e3,chartType:_0xe56fd3,options:_0x2e57d7}=_0x5946a2,_0x49ca5a=I(_0x48e424,_0x1a06e3,_0xe56fd3,_0x2e57d7);this['_commandService'][_0x4ea0e6(0x213)](d[_0x4ea0e6(0x25e)]['id'],_0x49ca5a);}[_0x14e85c(0x209)](_0x2a8b22){const _0x510a56=_0x14e85c;if(_0x2a8b22)return new c(_0x2a8b22['unitId'],_0x2a8b22[_0x510a56(0x1c5)],this[_0x510a56(0x1b9)],this[_0x510a56(0x1ac)],_0x2a8b22[_0x510a56(0x1fd)]);const _0x30a56b=this[_0x510a56(0x216)]()[_0x510a56(0x1f4)](),_0x1c88db=this[_0x510a56(0x245)]();return new c(_0x30a56b,_0x1c88db,this[_0x510a56(0x1b9)],this[_0x510a56(0x1ac)]);}[_0x14e85c(0x25d)](){const _0x1a1b95=_0x14e85c,_0xface99=this['_injector'][_0x1a1b95(0x24c)](d[_0x1a1b95(0x19f)]),_0x45e75b=this['getWorkbook']()['getUnitId']();return _0xface99[_0x1a1b95(0x24b)](_0x45e75b,this['getSheetId']())['map'](_0x230650=>new T(_0x45e75b,this[_0x1a1b95(0x245)](),_0x230650['id'],this[_0x1a1b95(0x1ac)]));}[_0x14e85c(0x1d9)](_0x510495){const _0x31f030=_0x14e85c,_0xbdf273=_0x510495[_0x31f030(0x265)],_0x3a355c=_0x510495[_0x31f030(0x1c5)],_0x4c4bf3=_0x510495[_0x31f030(0x1fd)],_0x45c036={'unitId':_0xbdf273,'drawings':[{'unitId':_0xbdf273,'subUnitId':_0x3a355c,'drawingId':_0x4c4bf3,'drawingType':u['DrawingTypeEnum']['DRAWING_CHART']}]};return this[_0x31f030(0x20d)][_0x31f030(0x213)](L[_0x31f030(0x1b3)]['id'],_0x45c036);}[_0x14e85c(0x1e9)](_0x3bd98b,_0x5f4c9a){const _0xdcd30e=_0x14e85c;this[_0xdcd30e(0x1ac)][_0xdcd30e(0x24c)](d[_0xdcd30e(0x228)])[_0xdcd30e(0x1e6)](_0x3bd98b,_0x5f4c9a);}}w[_0x14e85c(0x256)][_0x14e85c(0x235)](Y);class P extends c{constructor(_0x25e95b,_0x52f662,_0x57f7c3,_0x24d2bb,_0x298e6c){const _0x1b0c18=_0x14e85c;super(_0x25e95b,_0x52f662,_0x57f7c3,_0x24d2bb,_0x298e6c),o(this,_0x1b0c18(0x1f0)),o(this,'dataPointShape'),o(this,_0x1b0c18(0x229)),o(this,_0x1b0c18(0x238));}[_0x14e85c(0x1c0)](_0x27e0c5){const _0x256478=_0x14e85c;return this[_0x256478(0x1f0)]=_0x27e0c5,this;}[_0x14e85c(0x215)](_0x58c534){const _0x2987dd=_0x14e85c;return this[_0x2987dd(0x1dd)]=_0x58c534,this;}['setDataPointColor'](_0x581054){const _0x50e8d8=_0x14e85c;return this[_0x50e8d8(0x229)]=_0x581054,this;}[_0x14e85c(0x219)](_0x3f0096){const _0x31e908=_0x14e85c;return this[_0x31e908(0x238)]=_0x3f0096,this;}[_0x14e85c(0x21f)](){const _0xdc482e=_0x14e85c,_0x3968d9=super['build']();_0x3968d9[_0xdc482e(0x1b1)]=d['ChartTypeBits'][_0xdc482e(0x223)];const _0x792cb1=_0x3968d9['options']||{};return s(_0x792cb1,_0xdc482e(0x20e),this[_0xdc482e(0x1f0)]),s(_0x792cb1,_0xdc482e(0x241),this[_0xdc482e(0x1dd)]),s(_0x792cb1,_0xdc482e(0x258),this[_0xdc482e(0x229)]),s(_0x792cb1,_0xdc482e(0x1b4),this[_0xdc482e(0x238)]),_0x3968d9['options']=_0x792cb1,_0x3968d9;}}class H extends c{[_0x14e85c(0x218)](){const _0x3c447b=_0x14e85c;return new P(this[_0x3c447b(0x265)],this[_0x3c447b(0x1c5)],this[_0x3c447b(0x1b9)],this[_0x3c447b(0x1ac)],this[_0x3c447b(0x1fd)]);}}c[_0x14e85c(0x235)](H);class v extends c{constructor(_0x6580ea,_0x285925,_0x27fb2,_0x1e9b90,_0x1f23e9){const _0x7822b3=_0x14e85c;super(_0x6580ea,_0x285925,_0x27fb2,_0x1e9b90,_0x1f23e9),o(this,'doughnutHole'),o(this,_0x7822b3(0x221)),o(this,_0x7822b3(0x1f5)),o(this,_0x7822b3(0x1f2)),o(this,_0x7822b3(0x202)),o(this,_0x7822b3(0x1ec));}[_0x14e85c(0x1aa)](_0x4377b8){return this['doughnutHole']=_0x4377b8,this;}[_0x14e85c(0x208)](_0x484945){const _0x3a6c4b=_0x14e85c;return this[_0x3a6c4b(0x221)]=_0x484945,this;}[_0x14e85c(0x1a2)](_0x170130){const _0x3fbdf5=_0x14e85c;return this[_0x3fbdf5(0x1f5)]=_0x170130,this;}[_0x14e85c(0x1db)](_0x3b3a71){const _0x35d907=_0x14e85c;return this[_0x35d907(0x1f2)]=_0x3b3a71,this;}[_0x14e85c(0x1f1)](_0x281c53){const _0x1b82c0=_0x14e85c;return this[_0x1b82c0(0x202)]=_0x281c53,this;}[_0x14e85c(0x266)](_0x366690){return this['showLabelLine']=_0x366690,this;}[_0x14e85c(0x21f)](){const _0x34f70d=_0x14e85c,_0x5df1e3=super[_0x34f70d(0x21f)]();_0x5df1e3[_0x34f70d(0x1b1)]=d[_0x34f70d(0x1b6)][_0x34f70d(0x263)];const _0x4d18db=_0x5df1e3[_0x34f70d(0x237)]||{};return s(_0x4d18db,_0x34f70d(0x1ce),this[_0x34f70d(0x19d)]),s(_0x4d18db,_0x34f70d(0x1a0),this[_0x34f70d(0x221)]),s(_0x4d18db,_0x34f70d(0x250),this[_0x34f70d(0x1f5)]),s(_0x4d18db,_0x34f70d(0x210),this[_0x34f70d(0x1f2)]),s(_0x4d18db,_0x34f70d(0x200),this[_0x34f70d(0x202)]),s(_0x4d18db,_0x34f70d(0x24e),this[_0x34f70d(0x1ec)]),_0x5df1e3['options']=_0x4d18db,_0x5df1e3;}}class z extends c{[_0x14e85c(0x259)](){const _0x21eb6f=_0x14e85c;return new v(this[_0x21eb6f(0x265)],this['subUnitId'],this['_workbook'],this[_0x21eb6f(0x1ac)],this['chartId']);}}c['extend'](z);class b extends c{constructor(_0x45d5db,_0x162bd1,_0x3cacba,_0x1ce57e,_0x2cd0ae){super(_0x45d5db,_0x162bd1,_0x3cacba,_0x1ce57e,_0x2cd0ae),o(this,'shape'),o(this,'fill');}[_0x14e85c(0x220)](_0x50df28){return this['shape']=_0x50df28,this;}[_0x14e85c(0x1a7)](_0x581028){const _0x16bc6f=_0x14e85c;return this[_0x16bc6f(0x1b8)]=_0x581028,this;}['build'](){const _0x2ab57f=_0x14e85c,_0x23bfd0=super[_0x2ab57f(0x21f)]();_0x23bfd0[_0x2ab57f(0x1b1)]=d[_0x2ab57f(0x1b6)]['Radar'];const _0x236f3c=_0x23bfd0[_0x2ab57f(0x237)]||{};return s(_0x236f3c,_0x2ab57f(0x1eb),this[_0x2ab57f(0x1d7)]),s(_0x236f3c,'radar.fill',this[_0x2ab57f(0x1b8)]),_0x23bfd0['options']=_0x236f3c,_0x23bfd0;}}class W extends c{[_0x14e85c(0x203)](){const _0x45bd03=_0x14e85c;return new b(this[_0x45bd03(0x265)],this[_0x45bd03(0x1c5)],this[_0x45bd03(0x1b9)],this[_0x45bd03(0x1ac)],this['chartId']);}}c['extend'](W),exports[_0x14e85c(0x1e0)]=T,exports[_0x14e85c(0x1e5)]=c,exports[_0x14e85c(0x1da)]=P,exports[_0x14e85c(0x1ba)]=v,exports[_0x14e85c(0x1a8)]=b;
|