@univerjs-pro/sheets-chart-ui 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +547 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +3 -3
- package/lib/types/commands/commands/sheets-chart.command.d.ts +3 -3
- package/lib/types/commands/operations/hide-chart-panel-operation.d.ts +1 -1
- package/lib/types/commands/operations/open-chart-panel-operation.d.ts +1 -1
- package/lib/types/controllers/menu.schema.d.ts +1 -1
- package/lib/types/facade/chart-builder/builder-util.d.ts +3 -3
- package/lib/types/facade/chart-builder/chart-builder-base.d.ts +2 -2
- package/lib/types/facade/chart-builder/line-chart-builder.d.ts +4 -3
- package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +3 -2
- package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +4 -3
- package/lib/types/facade/chart-builder/types.d.ts +3 -3
- package/lib/types/facade/f-chart.d.ts +3 -3
- package/lib/types/facade/f-worksheet.d.ts +3 -2
- package/lib/types/facade/index.d.ts +1 -1
- package/lib/types/hooks.d.ts +2 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/chart-render.service.d.ts +2 -1
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +4 -3
- package/lib/types/services/sheets-chart-ui.service.d.ts +9 -6
- package/lib/types/util.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/Options.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/color-picker-control/index.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/dropdown-menu/index.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/font-format-bar/FontFormatBar.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +3 -3
- package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +4 -4
- package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +3 -3
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +4 -3
- 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/SeriesStyleEdit.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/Widgets.d.ts +3 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +2 -2
- package/lib/types/views/chart-edit-panel/use-translated-options.d.ts +2 -2
- package/lib/types/views/chart-menu/chart-menu-factory.d.ts +2 -2
- package/lib/types/wordcloud/index.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -20
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x2ea393=_0x42f6;(function(_0x1995c1,_0x1255f6){const _0x273c4b=_0x42f6,_0x302cd4=_0x1995c1();while(!![]){try{const _0x765711=-parseInt(_0x273c4b(0x1e6))/0x1+parseInt(_0x273c4b(0x1b8))/0x2*(parseInt(_0x273c4b(0x17a))/0x3)+parseInt(_0x273c4b(0x1a8))/0x4+parseInt(_0x273c4b(0x1c3))/0x5+parseInt(_0x273c4b(0x20a))/0x6+parseInt(_0x273c4b(0x166))/0x7*(parseInt(_0x273c4b(0x1a0))/0x8)+parseInt(_0x273c4b(0x20b))/0x9*(-parseInt(_0x273c4b(0x1fa))/0xa);if(_0x765711===_0x1255f6)break;else _0x302cd4['push'](_0x302cd4['shift']());}catch(_0x3d1a7c){_0x302cd4['push'](_0x302cd4['shift']());}}}(_0x2916,0x20cf4));var U=Object[_0x2ea393(0x212)],M=(_0x22a9be,_0x293e0b,_0xecc908)=>_0x293e0b in _0x22a9be?U(_0x22a9be,_0x293e0b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xecc908}):_0x22a9be[_0x293e0b]=_0xecc908,o=(_0x19cee9,_0x138e6c,_0x21dea0)=>M(_0x19cee9,typeof _0x138e6c!=_0x2ea393(0x1e5)?_0x138e6c+'':_0x138e6c,_0x21dea0);Object[_0x2ea393(0x212)](exports,Symbol[_0x2ea393(0x193)],{'value':_0x2ea393(0x215)});const d=require('@univerjs-pro/engine-chart'),u=require('@univerjs-pro/sheets-chart'),j=require('@univerjs-pro/sheets-chart-ui'),p=require('@univerjs/core'),Y=require('@univerjs/sheets-drawing-ui'),f=require('@univerjs/sheets/facade'),m=require('@univerjs/core/facade'),E=require('@univerjs/engine-formula'),H=require('@univerjs/engine-render'),T=require('@univerjs/sheets-ui'),s=(_0x273f7e,_0x37a32e,_0x28d0e0)=>{const _0x2c38a9=_0x2ea393;_0x28d0e0!==void 0x0&&u[_0x2c38a9(0x1dd)](_0x273f7e,_0x37a32e,_0x28d0e0);},b=(_0x52c4b3,_0x4791c1,_0x353aef,_0x36cc1c={})=>{const _0x558903=_0x2ea393,_0x4bc2fc={},_0x257b58={};if(_0x36cc1c['title']){const _0x5c5ac8=_0x36cc1c[_0x558903(0x1df)];s(_0x4bc2fc,_0x558903(0x179),_0x5c5ac8['content']),s(_0x4bc2fc,_0x558903(0x1a5),_0x5c5ac8[_0x558903(0x18b)]),s(_0x4bc2fc,_0x558903(0x1c7),_0x5c5ac8[_0x558903(0x19d)]),s(_0x4bc2fc,_0x558903(0x15d),_0x5c5ac8[_0x558903(0x168)]),s(_0x4bc2fc,_0x558903(0x217),_0x5c5ac8[_0x558903(0x177)]),s(_0x4bc2fc,_0x558903(0x16b),_0x5c5ac8[_0x558903(0x1a3)]),s(_0x4bc2fc,_0x558903(0x1e8),_0x5c5ac8['titleAlignment']),s(_0x4bc2fc,_0x558903(0x1f8),_0x5c5ac8[_0x558903(0x1ca)]);}if(_0x36cc1c['legend']){const _0x1726f4=_0x36cc1c[_0x558903(0x178)];s(_0x4bc2fc,'legend.position',_0x1726f4[_0x558903(0x1ca)]),s(_0x4bc2fc,_0x558903(0x187),_0x1726f4[_0x558903(0x21c)]),s(_0x4bc2fc,_0x558903(0x1c1),_0x1726f4['fontSize']),s(_0x4bc2fc,'legend.label.color',_0x1726f4[_0x558903(0x1f1)]),s(_0x4bc2fc,_0x558903(0x1d0),_0x1726f4[_0x558903(0x1a3)]),s(_0x4bc2fc,_0x558903(0x15f),_0x1726f4[_0x558903(0x171)]);}if(_0x36cc1c[_0x558903(0x1d1)]){const _0x5ee692=_0x36cc1c[_0x558903(0x1d1)];s(_0x4bc2fc,_0x558903(0x1c4),_0x5ee692[_0x558903(0x1e0)]),s(_0x4bc2fc,_0x558903(0x1f2),_0x5ee692[_0x558903(0x227)]),s(_0x4bc2fc,_0x558903(0x170),_0x5ee692['hasPaddingAngle']),s(_0x4bc2fc,'pie.isHalfPie',_0x5ee692[_0x558903(0x1d7)]),s(_0x4bc2fc,_0x558903(0x222),_0x5ee692[_0x558903(0x199)]),s(_0x4bc2fc,'pie.showLabelLine',_0x5ee692[_0x558903(0x1c5)]);}if(_0x36cc1c[_0x558903(0x1e7)]){const _0x86ac1e=_0x36cc1c[_0x558903(0x1e7)];s(_0x4bc2fc,'tooltip.indicatorLabelColor',_0x86ac1e[_0x558903(0x1da)]),s(_0x4bc2fc,'tooltip.indicatorLineType',_0x86ac1e[_0x558903(0x1be)]),s(_0x4bc2fc,_0x558903(0x210),_0x86ac1e[_0x558903(0x1d2)]),s(_0x4bc2fc,_0x558903(0x185),_0x86ac1e[_0x558903(0x17b)]);}if(_0x36cc1c[_0x558903(0x1f5)]&&(s(_0x4bc2fc,_0x558903(0x1d3),_0x36cc1c[_0x558903(0x1f5)][_0x558903(0x209)]),s(_0x4bc2fc,_0x558903(0x182),_0x36cc1c[_0x558903(0x1f5)][_0x558903(0x20c)]),s(_0x4bc2fc,_0x558903(0x1af),_0x36cc1c[_0x558903(0x1f5)]['rightYAxis']),s(_0x4bc2fc,_0x558903(0x20d),_0x36cc1c[_0x558903(0x1f5)][_0x558903(0x203)]),s(_0x4bc2fc,'allSeriesStyle.color',_0x36cc1c[_0x558903(0x1f5)][_0x558903(0x1f1)])),_0x36cc1c['area']&&s(_0x4bc2fc,_0x558903(0x1b7),_0x36cc1c[_0x558903(0x1ba)][_0x558903(0x1e3)]),_0x36cc1c[_0x558903(0x1bc)]&&s(_0x4bc2fc,'theme',_0x36cc1c[_0x558903(0x1bc)]),_0x36cc1c[_0x558903(0x159)]&&s(_0x4bc2fc,_0x558903(0x159),_0x36cc1c['backgroundColor']),_0x36cc1c['borderColor']&&s(_0x4bc2fc,_0x558903(0x227),_0x36cc1c[_0x558903(0x227)]),_0x36cc1c['gradientFill']&&s(_0x4bc2fc,_0x558903(0x1e2),_0x36cc1c['gradientFill']),_0x36cc1c['invalidValueType']&&s(_0x4bc2fc,_0x558903(0x1fd),_0x36cc1c[_0x558903(0x1fd)]),_0x36cc1c[_0x558903(0x21f)]&&s(_0x4bc2fc,_0x558903(0x21f),_0x36cc1c[_0x558903(0x21f)]),_0x36cc1c[_0x558903(0x167)]){const _0x11c2b5=_0x36cc1c[_0x558903(0x167)];s(_0x4bc2fc,_0x558903(0x225),_0x11c2b5['content']),s(_0x4bc2fc,_0x558903(0x1ae),_0x11c2b5[_0x558903(0x18b)]),s(_0x4bc2fc,_0x558903(0x1ac),_0x11c2b5['fontSize']),s(_0x4bc2fc,_0x558903(0x172),_0x11c2b5['fontColor']),s(_0x4bc2fc,_0x558903(0x190),_0x11c2b5[_0x558903(0x177)]),s(_0x4bc2fc,_0x558903(0x211),_0x11c2b5[_0x558903(0x1a3)]),s(_0x4bc2fc,'xAxis.label.axisTitleAlign',_0x11c2b5[_0x558903(0x1b5)]);}if(_0x36cc1c[_0x558903(0x17d)]){const _0x49fed9=_0x36cc1c['yAxisTitle'];s(_0x4bc2fc,_0x558903(0x207),_0x49fed9[_0x558903(0x195)]),s(_0x4bc2fc,'titles.yAxisTitle.font',_0x49fed9[_0x558903(0x18b)]),s(_0x4bc2fc,_0x558903(0x19b),_0x49fed9[_0x558903(0x19d)]),s(_0x4bc2fc,_0x558903(0x174),_0x49fed9[_0x558903(0x168)]),s(_0x4bc2fc,_0x558903(0x1c6),_0x49fed9['fontStyle']),s(_0x4bc2fc,'titles.yAxisTitle.bold',_0x49fed9[_0x558903(0x1a3)]),s(_0x4bc2fc,'yAxis.label.axisTitleAlign',_0x49fed9['axisAlignment']);}if(_0x36cc1c[_0x558903(0x224)]){const _0x2a3d4b=_0x36cc1c[_0x558903(0x224)];s(_0x4bc2fc,_0x558903(0x1c8),_0x2a3d4b[_0x558903(0x195)]),s(_0x4bc2fc,'titles.rightYAxisTitle.font',_0x2a3d4b['font']),s(_0x4bc2fc,'titles.rightYAxisTitle.fontSize',_0x2a3d4b[_0x558903(0x19d)]),s(_0x4bc2fc,_0x558903(0x204),_0x2a3d4b['fontColor']),s(_0x4bc2fc,_0x558903(0x192),_0x2a3d4b['fontStyle']),s(_0x4bc2fc,_0x558903(0x1b3),_0x2a3d4b[_0x558903(0x1a3)]),s(_0x4bc2fc,_0x558903(0x218),_0x2a3d4b[_0x558903(0x1b5)]);}_0x36cc1c['xAxis']&&s(_0x4bc2fc,_0x558903(0x1fe),_0x36cc1c['xAxis']),_0x36cc1c[_0x558903(0x18a)]&&s(_0x4bc2fc,_0x558903(0x18a),_0x36cc1c['yAxis']),_0x36cc1c['yRightAxis']&&s(_0x4bc2fc,'rightYAxis',_0x36cc1c[_0x558903(0x18f)]),_0x36cc1c[_0x558903(0x188)]&&s(_0x4bc2fc,_0x558903(0x188),_0x36cc1c[_0x558903(0x188)]);const _0x3c8f80={'unitId':_0x52c4b3,'chartModelId':_0x4791c1};let _0x14bdd4=!0x1;if(_0x353aef!==void 0x0&&(_0x3c8f80[_0x558903(0x1dc)]=_0x353aef,_0x14bdd4=!0x0),Object[_0x558903(0x1fc)](_0x4bc2fc)['length']>0x0&&(_0x3c8f80['style']=_0x4bc2fc,_0x14bdd4=!0x0),Object[_0x558903(0x1fc)](_0x257b58)[_0x558903(0x16a)]>0x0&&(_0x3c8f80['context']=_0x257b58,_0x14bdd4=!0x0),_0x14bdd4)return _0x3c8f80;};function _0x2916(){const _0x3a6430=['unitId','yRightAxis','titles.xAxisTitle.family','shape','titles.rightYAxisTitle.family','toStringTag','chartId','content','get','fill','DrawingTypeEnum','rosePie','top','titles.yAxisTitle.fontSize','RadarShape','fontSize','getSheetId','transposeRowsAndColumns','8824agOrwl','setOptions','getUnitId','bold','DRAWING_CHART','titles.title.font','Radar','AxisAlignEnum','442544lsrMMW','RadarChartBuilder','pie.showLabelLine','convertPositionCellToSheetOverGrid','titles.xAxisTitle.fontSize','setDoughnutHole','titles.xAxisTitle.font','allSeriesStyle.rightYAxis','setLineStyle','setFill','modify','titles.rightYAxisTitle.bold','setIsHalfPie','axisAlignment','getWorkbook','area.lineStyle','1724UzSVAV','setHasPaddingAngle','area','getCurrentUnitForType','theme','ChartTypeBits','indicatorLineType','dataPointShape','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','legend.label.fontSize','UNIVER_SHEET','1168000SuUTre','pie.doughnutHole','showLabelLine','titles.yAxisTitle.family','titles.title.fontSize','titles.rightYAxisTitle.content','setDataPointColor','position','TitlePositionEnum','updateChart','setShowLabelLine','setAxisPointerStyle','LinePointShape','legend.label.bold','pie','indicatorLineColor','allSeriesStyle.border','LegendPositionEnum','LineChartBuilder','clearRange','isHalfPie','getUnitChartModels','getRangeInfo','indicatorLabelColor','_workbook','chartType','setProperty','Line','title','doughnutHole','category','gradientFill','lineStyle','getChartModel','symbol','257651LEUaat','axisPointer','titles.title.align','FChartBuilderBase','asRadarChart','ICommandService','PieChartBuilder','setShape','setTheme','getCategoryData','SheetsChartService','color','pie.borderColor','range','dataSource','allSeriesStyle','setYAxisTextStyle','removeChart','titles.titlePosition','SheetSkeletonManagerService','1570090koMtWE','_commandService','keys','invalidValueType','xAxis','setSeriesStyle','subUnitId','sourceSheetName','with','point','titles.rightYAxisTitle.color','options','setWidth','titles.yAxisTitle.content','map','border','486048OBXwVZ','9XAISLm','label','allSeriesStyle.point','pie.isHalfPie','ChartUpdateSourceCommand','tooltip.indicatorLineColor','titles.xAxisTitle.bold','defineProperty','sheetName','height','Module','registerTheme','titles.title.family','rightYAxis.label.axisTitleAlign','setHeight','extend','getSeriesData','selectMode','IRenderManagerService','_injector','radar','setAllSeriesStyle','setRosePie','pie.rosePie','getRange','rightYAxisTitle','titles.xAxisTitle.content','isRowDirection','borderColor','allSeriesStyle.point.shape','FWorksheet','asLineChart','Pie','ChartUpdateConfigCommand','setDataPointShape','backgroundColor','setInvalidValueStrategy','width','setTransposeRowsAndColumns','titles.title.color','dataPointSize','legend.label.italic','getRenderById','ISheetSelectionRenderService','generateRandomId','setXAxisTitle','IUniverInstanceService','updateRange','266eighcp','xAxisTitle','fontColor','hasPaddingAngle','length','titles.title.bold','executeCommand','config','asPieChart','allSeriesStyle.point.size','pie.hasPaddingAngle','italic','titles.xAxisTitle.color','UniverInstanceType','titles.yAxisTitle.color','RemoveSheetDrawingCommand','setDataPointSize','fontStyle','legend','titles.title.content','285yojkuM','indicatorLabelTextColor','radar.shape','yAxisTitle','registerChartTheme','build','ChartType','ChartBorderDashType','allSeriesStyle.label','FEnum','getChartType','tooltip.indicatorLabelTextColor','SelectModeEnum','legend.selectMode','seriesStyleMap','dataPointColor','yAxis','font','setRightYAxisTitle','setPosition'];_0x2916=function(){return _0x3a6430;};return _0x2916();}class c extends m['FBase']{constructor(_0x5519cc,_0x488aa3,_0x54ab32,_0x33985a,_0x31e666){const _0x4f702f=_0x2ea393;super(),o(this,'_workbook'),o(this,_0x4f702f(0x21e)),o(this,_0x4f702f(0x18e)),o(this,_0x4f702f(0x200)),o(this,_0x4f702f(0x194)),o(this,'range'),o(this,_0x4f702f(0x201)),o(this,'x'),o(this,'y'),o(this,'width'),o(this,_0x4f702f(0x214)),o(this,_0x4f702f(0x1dc)),o(this,_0x4f702f(0x205)),o(this,_0x4f702f(0x19f)),(this[_0x4f702f(0x18e)]=_0x5519cc,this[_0x4f702f(0x200)]=_0x488aa3,this[_0x4f702f(0x1db)]=_0x54ab32,this[_0x4f702f(0x21e)]=_0x33985a,_0x31e666&&(this[_0x4f702f(0x194)]=_0x31e666));}[_0x2ea393(0x184)](){const _0x398120=_0x2ea393;return this[_0x398120(0x1dc)];}['addRange'](_0x552b67){const _0x3da77a=_0x2ea393;if(typeof _0x552b67=='string'){const _0x3cd0f5=E['deserializeRangeWithSheet'](_0x552b67);_0x3cd0f5['sheetName']&&(this['sourceSheetName']=_0x3cd0f5[_0x3da77a(0x213)]),this['range']=_0x3cd0f5['range'];}else this['range']=_0x552b67;return this;}[_0x2ea393(0x1d6)](){const _0x2aed6a=_0x2ea393;return this['range']=void 0x0,this[_0x2aed6a(0x201)]=void 0x0,this;}[_0x2ea393(0x18d)](_0x53ae89,_0x1ba230,_0x4fdd57,_0x2da177){const _0x58ed6f=_0x2ea393,_0x346944=this['_injector'][_0x58ed6f(0x196)](H[_0x58ed6f(0x21d)])[_0x58ed6f(0x160)](this['unitId']);if(!_0x346944)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x504cf4=_0x346944[_0x58ed6f(0x202)](T[_0x58ed6f(0x161)]),_0xc160b8=_0x346944[_0x58ed6f(0x202)](T[_0x58ed6f(0x1f9)]),{transform:_0x1d5a6d}=T[_0x58ed6f(0x1ab)](this[_0x58ed6f(0x18e)],this[_0x58ed6f(0x200)],{'row':_0x53ae89,'column':_0x1ba230,'rowOffset':_0x4fdd57,'columnOffset':_0x2da177},0x1,0x1,_0x504cf4,_0xc160b8),_0x4ae932=_0x1d5a6d[_0x58ed6f(0x19a)],_0x48664d=_0x1d5a6d['left'];return this['x']=_0x48664d,this['y']=_0x4ae932,this;}['setAbsolutePosition'](_0x51a4fc,_0x160b09){return this['x']=_0x51a4fc,this['y']=_0x160b09,this;}['setChartType'](_0x46f505){const _0x30696a=_0x2ea393;return this[_0x30696a(0x1dc)]=_0x46f505,this;}[_0x2ea393(0x206)](_0x429073){const _0x3b8945=_0x2ea393;return this[_0x3b8945(0x15b)]=_0x429073,this;}[_0x2ea393(0x219)](_0x279a2b){return this['height']=_0x279a2b,this;}[_0x2ea393(0x1a1)](_0x3be48a,_0x304c16){const _0x5e8058=_0x2ea393;return this['options']||(this[_0x5e8058(0x205)]={}),_0x3be48a===''?(this[_0x5e8058(0x205)]={...this[_0x5e8058(0x205)],..._0x304c16},this):(u[_0x5e8058(0x1dd)](this[_0x5e8058(0x205)],_0x3be48a,_0x304c16),this);}[_0x2ea393(0x15c)](_0x15adf7){const _0x2af485=_0x2ea393;return this[_0x2af485(0x19f)]=_0x15adf7,this;}[_0x2ea393(0x1ee)](_0x5d7992){const _0x1cf2f0=_0x2ea393;return this['setOptions'](_0x1cf2f0(0x1bc),_0x5d7992),this;}[_0x2ea393(0x163)](_0x1ef2c5){const _0x362363=_0x2ea393;var _0xf18c71;const _0x4cd433=((_0xf18c71=this[_0x362363(0x205)])==null?void 0x0:_0xf18c71['xAxisTitle'])||{};return _0x4cd433[_0x362363(0x195)]=_0x1ef2c5,this[_0x362363(0x1a1)]('xAxisTitle',_0x4cd433),this;}['setYAxisTitle'](_0x380207){const _0x5d81af=_0x2ea393;var _0x9c86b4;const _0x23db30=((_0x9c86b4=this[_0x5d81af(0x205)])==null?void 0x0:_0x9c86b4['yAxisTitle'])||{};return _0x23db30[_0x5d81af(0x195)]=_0x380207,this[_0x5d81af(0x1a1)](_0x5d81af(0x17d),_0x23db30),this;}[_0x2ea393(0x18c)](_0xefdd8a){const _0x9a5806=_0x2ea393;var _0x346dfe;const _0x87c1e7=((_0x346dfe=this['options'])==null?void 0x0:_0x346dfe[_0x9a5806(0x224)])||{};return _0x87c1e7[_0x9a5806(0x195)]=_0xefdd8a,this['setOptions'](_0x9a5806(0x224),_0x87c1e7),this;}['setXAxisTextStyle'](_0x3115d2){const _0x4866da=_0x2ea393;var _0x33429f;const _0x56d463=((_0x33429f=this[_0x4866da(0x205)])==null?void 0x0:_0x33429f[_0x4866da(0x167)])||{};return this[_0x4866da(0x1a1)](_0x4866da(0x167),{..._0x56d463,..._0x3115d2}),this;}[_0x2ea393(0x1f6)](_0x508a4e){const _0x3c8346=_0x2ea393;var _0x2fc742;const _0x2d2e17=((_0x2fc742=this[_0x3c8346(0x205)])==null?void 0x0:_0x2fc742['yAxisTitle'])||{};return this[_0x3c8346(0x1a1)](_0x3c8346(0x17d),{..._0x2d2e17,..._0x508a4e}),this;}['setRightYAxisTextStyle'](_0x3d4d30){const _0x56ffce=_0x2ea393;var _0x28e5ec;const _0x33f6a0=((_0x28e5ec=this[_0x56ffce(0x205)])==null?void 0x0:_0x28e5ec[_0x56ffce(0x224)])||{};return this[_0x56ffce(0x1a1)](_0x56ffce(0x224),{..._0x33f6a0,..._0x3d4d30}),this;}[_0x2ea393(0x15a)](_0x4d4e49){const _0x32512e=_0x2ea393;return this[_0x32512e(0x1a1)]('invalidValueType',_0x4d4e49),this;}[_0x2ea393(0x1ce)](_0xe3183e){const _0x523756=_0x2ea393;return this[_0x523756(0x1a1)]('axisPointer',_0xe3183e),this;}[_0x2ea393(0x220)](_0x41ab68){const _0x260f85=_0x2ea393;return this[_0x260f85(0x1a1)](_0x260f85(0x1f5),_0x41ab68),this;}[_0x2ea393(0x1ff)](_0x1bff7a,_0x252594){const _0x18819e=_0x2ea393;return this[_0x18819e(0x1a1)](_0x18819e(0x188),{[_0x1bff7a]:_0x252594}),this;}[_0x2ea393(0x17f)](){const _0x25dcb0=_0x2ea393;return{'unitId':this[_0x25dcb0(0x18e)],'subUnitId':this['subUnitId'],'chartId':this[_0x25dcb0(0x194)],'range':this[_0x25dcb0(0x1f3)],'sourceSheetName':this[_0x25dcb0(0x201)],'x':this['x'],'y':this['y'],'width':this[_0x25dcb0(0x15b)],'height':this['height'],'chartType':this[_0x25dcb0(0x1dc)],'options':this[_0x25dcb0(0x205)],'isRowDirection':this[_0x25dcb0(0x19f)]};}}function _0x42f6(_0x473eba,_0x10a4f2){_0x473eba=_0x473eba-0x157;const _0x29166e=_0x2916();let _0x42f6b4=_0x29166e[_0x473eba];return _0x42f6b4;}class A{constructor(_0x902bbc,_0x4c76b2,_0x5ef0eb,_0x3ad4d4){const _0xb0a895=_0x2ea393;o(this,_0xb0a895(0x18e)),o(this,_0xb0a895(0x200)),o(this,_0xb0a895(0x194)),o(this,'_injector'),(this[_0xb0a895(0x18e)]=_0x902bbc,this[_0xb0a895(0x200)]=_0x4c76b2,this[_0xb0a895(0x194)]=_0x5ef0eb,this['_injector']=_0x3ad4d4);}['getChartId'](){const _0x132ced=_0x2ea393;return this[_0x132ced(0x194)];}[_0x2ea393(0x223)](){const _0x35b6d6=_0x2ea393,_0x35bec3=this[_0x35b6d6(0x21e)][_0x35b6d6(0x196)](u['SheetsChartService'])[_0x35b6d6(0x1e4)](this['chartId']);if(_0x35bec3)return _0x35bec3[_0x35b6d6(0x1f4)][_0x35b6d6(0x1d9)]();}[_0x2ea393(0x165)](_0xbee8a5){const _0x5a6dd8=_0x2ea393;return this[_0x5a6dd8(0x21e)][_0x5a6dd8(0x196)](p[_0x5a6dd8(0x1eb)])['executeCommand'](u[_0x5a6dd8(0x20f)]['id'],{'unitId':this[_0x5a6dd8(0x18e)],'chartModelId':this[_0x5a6dd8(0x194)],'range':_0xbee8a5});}[_0x2ea393(0x21b)](){const _0x4b09a3=_0x2ea393;var _0x4d8e06;const _0x92db4f=this[_0x4b09a3(0x21e)][_0x4b09a3(0x196)](u[_0x4b09a3(0x1f0)])['getChartModel'](this[_0x4b09a3(0x194)]);if(_0x92db4f)return(_0x4d8e06=_0x92db4f[_0x4b09a3(0x16d)])==null?void 0x0:_0x4d8e06['series'];}[_0x2ea393(0x1ef)](){const _0x37be07=_0x2ea393;var _0x27aa57;const _0x5f0265=this[_0x37be07(0x21e)][_0x37be07(0x196)](u[_0x37be07(0x1f0)])['getChartModel'](this[_0x37be07(0x194)]);if(_0x5f0265)return(_0x27aa57=_0x5f0265[_0x37be07(0x16d)])==null?void 0x0:_0x27aa57[_0x37be07(0x1e1)];}[_0x2ea393(0x1b2)](){const _0x3e2678=_0x2ea393,_0xe2a095=this[_0x3e2678(0x21e)][_0x3e2678(0x196)](p[_0x3e2678(0x164)])[_0x3e2678(0x1bb)](p[_0x3e2678(0x173)][_0x3e2678(0x1c2)]);return new c(this[_0x3e2678(0x18e)],this[_0x3e2678(0x200)],_0xe2a095,this['_injector'],this[_0x3e2678(0x194)]);}}class z extends f[_0x2ea393(0x229)]{async['insertChart'](_0x562aca){const _0x17805b=_0x2ea393;var _0x35af95,_0x119cec,_0x124bd3;const _0x2ad13f=_0x562aca[_0x17805b(0x18e)]||this[_0x17805b(0x1b6)]()[_0x17805b(0x1a2)](),_0x582655=_0x562aca[_0x17805b(0x200)]||this['getSheetId'](),_0x45e411=_0x562aca[_0x17805b(0x194)]||p[_0x17805b(0x162)](),_0x538027=_0x562aca[_0x17805b(0x1dc)],_0xe022e4=_0x562aca[_0x17805b(0x1f3)],_0x1c8e1c=_0x562aca[_0x17805b(0x201)],_0x4cf191={'x':_0x562aca['x'],'y':_0x562aca['y']},_0x2dd88e=_0x562aca['width'],_0x176ef6=_0x562aca[_0x17805b(0x214)],_0x59f539=(_0x35af95=_0x562aca[_0x17805b(0x205)])==null?void 0x0:_0x35af95['backgroundColor'],_0x3905f4=(_0x119cec=_0x562aca[_0x17805b(0x205)])==null?void 0x0:_0x119cec[_0x17805b(0x227)],_0x306b07=b(_0x2ad13f,_0x45e411,_0x538027,_0x562aca[_0x17805b(0x205)]),_0x5b3439=(_0x124bd3=_0x562aca[_0x17805b(0x226)])!=null?_0x124bd3:!0x0;if(!_0xe022e4)throw new Error(_0x17805b(0x1c0));return await this[_0x17805b(0x1fb)]['executeCommand'](j['InsertChartCommand']['id'],{'unitId':_0x2ad13f,'subUnitId':_0x582655,'chartId':_0x45e411,'chartType':_0x538027,'range':_0xe022e4,'sourceSheetName':_0x1c8e1c,'position':_0x4cf191,'width':_0x2dd88e,'height':_0x176ef6,'backgroundColor':_0x59f539,'borderColor':_0x3905f4,'config':_0x306b07,'isRowDirection':_0x5b3439}),new A(_0x2ad13f,_0x582655,_0x45e411,this[_0x17805b(0x21e)]);}[_0x2ea393(0x1cc)](_0x4045bc){const _0x2bd84c=_0x2ea393,{unitId:_0x33c974,chartId:_0x48fe85,chartType:_0x4f40ad,options:_0x5afd34}=_0x4045bc,_0x12d9c6=b(_0x33c974,_0x48fe85,_0x4f40ad,_0x5afd34);this[_0x2bd84c(0x1fb)][_0x2bd84c(0x16c)](u[_0x2bd84c(0x157)]['id'],_0x12d9c6);}['newChart'](_0x22e83e){const _0x28b889=_0x2ea393;if(_0x22e83e)return new c(_0x22e83e[_0x28b889(0x18e)],_0x22e83e[_0x28b889(0x200)],this[_0x28b889(0x1db)],this[_0x28b889(0x21e)],_0x22e83e['chartId']);const _0x25fcf8=this[_0x28b889(0x1b6)]()['getUnitId'](),_0x245ac5=this['getSheetId']();return new c(_0x25fcf8,_0x245ac5,this[_0x28b889(0x1db)],this['_injector']);}['getCharts'](){const _0x19691a=_0x2ea393,_0x3c29a9=this[_0x19691a(0x21e)][_0x19691a(0x196)](u[_0x19691a(0x1f0)]),_0x58ef2f=this[_0x19691a(0x1b6)]()['getUnitId']();return _0x3c29a9[_0x19691a(0x1d8)](_0x58ef2f,this[_0x19691a(0x19e)]())[_0x19691a(0x208)](_0x4a8915=>new A(_0x58ef2f,this[_0x19691a(0x19e)](),_0x4a8915['id'],this[_0x19691a(0x21e)]));}[_0x2ea393(0x1f7)](_0x344bee){const _0x266c7b=_0x2ea393,_0xf5ad65=_0x344bee[_0x266c7b(0x18e)],_0x40d941=_0x344bee[_0x266c7b(0x200)],_0x7ae343=_0x344bee[_0x266c7b(0x194)],_0x470fa0={'unitId':_0xf5ad65,'drawings':[{'unitId':_0xf5ad65,'subUnitId':_0x40d941,'drawingId':_0x7ae343,'drawingType':p[_0x266c7b(0x198)][_0x266c7b(0x1a4)]}]};return this[_0x266c7b(0x1fb)][_0x266c7b(0x16c)](Y[_0x266c7b(0x175)]['id'],_0x470fa0);}[_0x2ea393(0x17e)](_0x11634c,_0x570c4a){const _0xcb3cab=_0x2ea393;this[_0xcb3cab(0x21e)][_0xcb3cab(0x196)](d['ChartThemeService'])[_0xcb3cab(0x216)](_0x11634c,_0x570c4a);}}f[_0x2ea393(0x229)][_0x2ea393(0x21a)](z);class F extends m[_0x2ea393(0x183)]{get[_0x2ea393(0x180)](){return d['ChartTypeBits'];}get[_0x2ea393(0x1d4)](){const _0x28f80d=_0x2ea393;return d[_0x28f80d(0x1d4)];}get[_0x2ea393(0x186)](){const _0x2cbe69=_0x2ea393;return d[_0x2cbe69(0x186)];}get['AxisAlignEnum'](){const _0xb370b=_0x2ea393;return d[_0xb370b(0x1a7)];}get[_0x2ea393(0x181)](){const _0x517c45=_0x2ea393;return d[_0x517c45(0x181)];}get['LinePointShape'](){const _0x1d8b03=_0x2ea393;return d[_0x1d8b03(0x1cf)];}get[_0x2ea393(0x1cb)](){const _0x10c24a=_0x2ea393;return d[_0x10c24a(0x1cb)];}get[_0x2ea393(0x19c)](){const _0xc4c75=_0x2ea393;return d[_0xc4c75(0x19c)];}}m[_0x2ea393(0x183)][_0x2ea393(0x21a)](F);class I extends c{constructor(_0x5b16db,_0x16bb5c,_0x5e6ebb,_0x3edd5b,_0x4803a3){const _0x2689a6=_0x2ea393;super(_0x5b16db,_0x16bb5c,_0x5e6ebb,_0x3edd5b,_0x4803a3),o(this,_0x2689a6(0x1e3)),o(this,'dataPointShape'),o(this,_0x2689a6(0x189)),o(this,_0x2689a6(0x15e));}[_0x2ea393(0x1b0)](_0x4ac721){const _0x2aaeca=_0x2ea393;return this[_0x2aaeca(0x1e3)]=_0x4ac721,this;}[_0x2ea393(0x158)](_0x23bc01){return this['dataPointShape']=_0x23bc01,this;}[_0x2ea393(0x1c9)](_0x2fec27){return this['dataPointColor']=_0x2fec27,this;}[_0x2ea393(0x176)](_0x4129a1){return this['dataPointSize']=_0x4129a1,this;}['build'](){const _0xc08acb=_0x2ea393,_0xa7f98a=super[_0xc08acb(0x17f)]();_0xa7f98a[_0xc08acb(0x1dc)]=d[_0xc08acb(0x1bd)][_0xc08acb(0x1de)];const _0x3a7022=_0xa7f98a['options']||{};return s(_0x3a7022,_0xc08acb(0x1b7),this['lineStyle']),s(_0x3a7022,_0xc08acb(0x228),this[_0xc08acb(0x1bf)]),s(_0x3a7022,'allSeriesStyle.point.color',this[_0xc08acb(0x189)]),s(_0x3a7022,_0xc08acb(0x16f),this[_0xc08acb(0x15e)]),_0xa7f98a[_0xc08acb(0x205)]=_0x3a7022,_0xa7f98a;}}class O extends c{[_0x2ea393(0x22a)](){const _0x3aeaa3=_0x2ea393;return new I(this[_0x3aeaa3(0x18e)],this[_0x3aeaa3(0x200)],this['_workbook'],this[_0x3aeaa3(0x21e)],this[_0x3aeaa3(0x194)]);}}c[_0x2ea393(0x21a)](O);class R extends c{constructor(_0x293d9a,_0x3fb2a3,_0x161d21,_0x29cc00,_0x57a1ce){const _0x7cddf6=_0x2ea393;super(_0x293d9a,_0x3fb2a3,_0x161d21,_0x29cc00,_0x57a1ce),o(this,_0x7cddf6(0x1e0)),o(this,'borderColor'),o(this,_0x7cddf6(0x169)),o(this,_0x7cddf6(0x1d7)),o(this,_0x7cddf6(0x199)),o(this,_0x7cddf6(0x1c5));}[_0x2ea393(0x1ad)](_0x3e77a2){const _0x308cab=_0x2ea393;return this[_0x308cab(0x1e0)]=_0x3e77a2,this;}['setBorderColor'](_0x170242){const _0x1afd0a=_0x2ea393;return this[_0x1afd0a(0x227)]=_0x170242,this;}[_0x2ea393(0x1b9)](_0x512232){const _0x56ec1c=_0x2ea393;return this[_0x56ec1c(0x169)]=_0x512232,this;}[_0x2ea393(0x1b4)](_0x4fae43){const _0x66ef3f=_0x2ea393;return this[_0x66ef3f(0x1d7)]=_0x4fae43,this;}[_0x2ea393(0x221)](_0x5e9ee0){return this['rosePie']=_0x5e9ee0,this;}[_0x2ea393(0x1cd)](_0x2472bc){const _0x5a51e5=_0x2ea393;return this[_0x5a51e5(0x1c5)]=_0x2472bc,this;}[_0x2ea393(0x17f)](){const _0x49e1fb=_0x2ea393,_0x25c4dc=super[_0x49e1fb(0x17f)]();_0x25c4dc['chartType']=d['ChartTypeBits'][_0x49e1fb(0x22b)];const _0x1ca56e=_0x25c4dc[_0x49e1fb(0x205)]||{};return s(_0x1ca56e,_0x49e1fb(0x1c4),this[_0x49e1fb(0x1e0)]),s(_0x1ca56e,_0x49e1fb(0x1f2),this['borderColor']),s(_0x1ca56e,_0x49e1fb(0x170),this[_0x49e1fb(0x169)]),s(_0x1ca56e,_0x49e1fb(0x20e),this[_0x49e1fb(0x1d7)]),s(_0x1ca56e,_0x49e1fb(0x222),this[_0x49e1fb(0x199)]),s(_0x1ca56e,_0x49e1fb(0x1aa),this[_0x49e1fb(0x1c5)]),_0x25c4dc[_0x49e1fb(0x205)]=_0x1ca56e,_0x25c4dc;}}class D extends c{[_0x2ea393(0x16e)](){const _0x5eccf5=_0x2ea393;return new R(this[_0x5eccf5(0x18e)],this['subUnitId'],this[_0x5eccf5(0x1db)],this[_0x5eccf5(0x21e)],this['chartId']);}}c['extend'](D);class k extends c{constructor(_0x5a072b,_0x5cd108,_0x47b1f4,_0xa0221a,_0x3ebd34){const _0x20cd55=_0x2ea393;super(_0x5a072b,_0x5cd108,_0x47b1f4,_0xa0221a,_0x3ebd34),o(this,'shape'),o(this,_0x20cd55(0x197));}[_0x2ea393(0x1ed)](_0x3eb385){const _0x3c25ba=_0x2ea393;return this[_0x3c25ba(0x191)]=_0x3eb385,this;}[_0x2ea393(0x1b1)](_0xd8c86){const _0x4c87d6=_0x2ea393;return this[_0x4c87d6(0x197)]=_0xd8c86,this;}[_0x2ea393(0x17f)](){const _0x9408e6=_0x2ea393,_0x3269d4=super[_0x9408e6(0x17f)]();_0x3269d4[_0x9408e6(0x1dc)]=d[_0x9408e6(0x1bd)][_0x9408e6(0x1a6)];const _0x35cc47=_0x3269d4['options']||{};return s(_0x35cc47,_0x9408e6(0x17c),this[_0x9408e6(0x191)]),s(_0x35cc47,'radar.fill',this['fill']),_0x3269d4[_0x9408e6(0x205)]=_0x35cc47,_0x3269d4;}}class B extends c{[_0x2ea393(0x1ea)](){const _0x40d977=_0x2ea393;return new k(this[_0x40d977(0x18e)],this[_0x40d977(0x200)],this[_0x40d977(0x1db)],this[_0x40d977(0x21e)],this[_0x40d977(0x194)]);}}c[_0x2ea393(0x21a)](B),exports['FChart']=A,exports[_0x2ea393(0x1e9)]=c,exports[_0x2ea393(0x1d5)]=I,exports[_0x2ea393(0x1ec)]=R,exports[_0x2ea393(0x1a9)]=k;
|
|
1
|
+
function _0x2e74(_0x3ed303,_0x4ae9c4){_0x3ed303=_0x3ed303-0x151;const _0x15bfd9=_0x15bf();let _0x2e74fc=_0x15bfd9[_0x3ed303];return _0x2e74fc;}const _0x52f9f6=_0x2e74;(function(_0x15b84c,_0x472339){const _0x1b928d=_0x2e74,_0x107aef=_0x15b84c();while(!![]){try{const _0x1aa7bc=-parseInt(_0x1b928d(0x215))/0x1*(-parseInt(_0x1b928d(0x1e1))/0x2)+parseInt(_0x1b928d(0x1a8))/0x3+parseInt(_0x1b928d(0x1ab))/0x4*(-parseInt(_0x1b928d(0x204))/0x5)+parseInt(_0x1b928d(0x221))/0x6+parseInt(_0x1b928d(0x1ec))/0x7+-parseInt(_0x1b928d(0x18d))/0x8+parseInt(_0x1b928d(0x1fc))/0x9;if(_0x1aa7bc===_0x472339)break;else _0x107aef['push'](_0x107aef['shift']());}catch(_0x810ebf){_0x107aef['push'](_0x107aef['shift']());}}}(_0x15bf,0x9a139),Object[_0x52f9f6(0x177)](exports,Symbol[_0x52f9f6(0x17e)],{'value':_0x52f9f6(0x166)}));let e=require(`@univerjs-pro/engine-chart`),t=require(`@univerjs-pro/sheets-chart`),n=require(`@univerjs-pro/sheets-chart-ui`),r=require(`@univerjs/core`),i=require(`@univerjs/sheets-drawing-ui`),a=require(`@univerjs/sheets/facade`),o=require(`@univerjs/core/facade`),s=require(`@univerjs/engine-formula`),c=require(`@univerjs/engine-render`),l=require(`@univerjs/sheets-ui`);const u=(_0x3b490a,_0x38129c,_0x10e118)=>{const _0x1a339a=_0x52f9f6;_0x10e118!==void 0x0&&(0x0,t[_0x1a339a(0x1e0)])(_0x3b490a,_0x38129c,_0x10e118);},d=(_0x339752,_0x4eb04b,_0x3f9aa2,_0x421c12={})=>{const _0x32f93a=_0x52f9f6;let _0x85063d={},_0x58fb8a={};if(_0x421c12['title']){let _0x5c0a74=_0x421c12[_0x32f93a(0x21f)];u(_0x85063d,_0x32f93a(0x15f),_0x5c0a74[_0x32f93a(0x1f7)]),u(_0x85063d,'titles.title.font',_0x5c0a74[_0x32f93a(0x171)]),u(_0x85063d,'titles.title.fontSize',_0x5c0a74[_0x32f93a(0x220)]),u(_0x85063d,_0x32f93a(0x20f),_0x5c0a74[_0x32f93a(0x1bc)]),u(_0x85063d,_0x32f93a(0x1db),_0x5c0a74[_0x32f93a(0x1a4)]),u(_0x85063d,_0x32f93a(0x1e7),_0x5c0a74[_0x32f93a(0x206)]),u(_0x85063d,'titles.title.align',_0x5c0a74[_0x32f93a(0x1fa)]),u(_0x85063d,_0x32f93a(0x169),_0x5c0a74[_0x32f93a(0x210)]);}if(_0x421c12['legend']){let _0x56f80f=_0x421c12[_0x32f93a(0x218)];u(_0x85063d,'legend.position',_0x56f80f[_0x32f93a(0x210)]),u(_0x85063d,_0x32f93a(0x16a),_0x56f80f['selectMode']),u(_0x85063d,_0x32f93a(0x18f),_0x56f80f[_0x32f93a(0x220)]),u(_0x85063d,'legend.label.color',_0x56f80f[_0x32f93a(0x167)]),u(_0x85063d,_0x32f93a(0x1e4),_0x56f80f[_0x32f93a(0x206)]),u(_0x85063d,'legend.label.italic',_0x56f80f[_0x32f93a(0x21e)]);}if(_0x421c12[_0x32f93a(0x197)]){let _0x286c35=_0x421c12[_0x32f93a(0x197)];u(_0x85063d,_0x32f93a(0x162),_0x286c35[_0x32f93a(0x213)]),u(_0x85063d,_0x32f93a(0x174),_0x286c35[_0x32f93a(0x1a2)]),u(_0x85063d,_0x32f93a(0x1ca),_0x286c35[_0x32f93a(0x1b6)]),u(_0x85063d,_0x32f93a(0x1ba),_0x286c35[_0x32f93a(0x1d9)]),u(_0x85063d,'pie.rosePie',_0x286c35[_0x32f93a(0x21d)]),u(_0x85063d,_0x32f93a(0x1fb),_0x286c35[_0x32f93a(0x185)]);}if(_0x421c12['axisPointer']){let _0x2c70ce=_0x421c12['axisPointer'];u(_0x85063d,_0x32f93a(0x209),_0x2c70ce[_0x32f93a(0x1d4)]),u(_0x85063d,'tooltip.indicatorLineType',_0x2c70ce[_0x32f93a(0x17f)]),u(_0x85063d,_0x32f93a(0x1e5),_0x2c70ce[_0x32f93a(0x1d8)]),u(_0x85063d,_0x32f93a(0x196),_0x2c70ce[_0x32f93a(0x1ef)]);}if(_0x421c12[_0x32f93a(0x1f3)]&&(u(_0x85063d,'allSeriesStyle.border',_0x421c12[_0x32f93a(0x1f3)]['border']),u(_0x85063d,_0x32f93a(0x16c),_0x421c12[_0x32f93a(0x1f3)][_0x32f93a(0x201)]),u(_0x85063d,'allSeriesStyle.rightYAxis',_0x421c12[_0x32f93a(0x1f3)][_0x32f93a(0x156)]),u(_0x85063d,_0x32f93a(0x1bf),_0x421c12[_0x32f93a(0x1f3)][_0x32f93a(0x1b3)]),u(_0x85063d,_0x32f93a(0x194),_0x421c12[_0x32f93a(0x1f3)][_0x32f93a(0x167)])),_0x421c12[_0x32f93a(0x175)]&&u(_0x85063d,_0x32f93a(0x1bb),_0x421c12[_0x32f93a(0x175)][_0x32f93a(0x1b0)]),_0x421c12['theme']&&u(_0x85063d,_0x32f93a(0x1ee),_0x421c12[_0x32f93a(0x1ee)]),_0x421c12[_0x32f93a(0x1ed)]&&u(_0x85063d,'backgroundColor',_0x421c12[_0x32f93a(0x1ed)]),_0x421c12[_0x32f93a(0x1a2)]&&u(_0x85063d,_0x32f93a(0x1a2),_0x421c12[_0x32f93a(0x1a2)]),_0x421c12[_0x32f93a(0x1f0)]&&u(_0x85063d,_0x32f93a(0x1f0),_0x421c12[_0x32f93a(0x1f0)]),_0x421c12[_0x32f93a(0x16f)]&&u(_0x85063d,_0x32f93a(0x16f),_0x421c12['invalidValueType']),_0x421c12[_0x32f93a(0x19c)]&&u(_0x85063d,_0x32f93a(0x19c),_0x421c12[_0x32f93a(0x19c)]),_0x421c12[_0x32f93a(0x20a)]){let _0x4ddbce=_0x421c12[_0x32f93a(0x20a)];u(_0x85063d,'titles.xAxisTitle.content',_0x4ddbce[_0x32f93a(0x1f7)]),u(_0x85063d,'titles.xAxisTitle.font',_0x4ddbce[_0x32f93a(0x171)]),u(_0x85063d,_0x32f93a(0x191),_0x4ddbce[_0x32f93a(0x220)]),u(_0x85063d,_0x32f93a(0x151),_0x4ddbce['fontColor']),u(_0x85063d,'titles.xAxisTitle.family',_0x4ddbce[_0x32f93a(0x1a4)]),u(_0x85063d,_0x32f93a(0x1c9),_0x4ddbce[_0x32f93a(0x206)]),u(_0x85063d,_0x32f93a(0x18b),_0x4ddbce['axisAlignment']);}if(_0x421c12[_0x32f93a(0x182)]){let _0x2cff97=_0x421c12[_0x32f93a(0x182)];u(_0x85063d,_0x32f93a(0x1c5),_0x2cff97['content']),u(_0x85063d,'titles.yAxisTitle.font',_0x2cff97['font']),u(_0x85063d,'titles.yAxisTitle.fontSize',_0x2cff97['fontSize']),u(_0x85063d,'titles.yAxisTitle.color',_0x2cff97[_0x32f93a(0x1bc)]),u(_0x85063d,_0x32f93a(0x207),_0x2cff97[_0x32f93a(0x1a4)]),u(_0x85063d,'titles.yAxisTitle.bold',_0x2cff97['bold']),u(_0x85063d,_0x32f93a(0x1df),_0x2cff97[_0x32f93a(0x1c3)]);}if(_0x421c12['rightYAxisTitle']){let _0x1499a4=_0x421c12['rightYAxisTitle'];u(_0x85063d,'titles.rightYAxisTitle.content',_0x1499a4[_0x32f93a(0x1f7)]),u(_0x85063d,_0x32f93a(0x170),_0x1499a4[_0x32f93a(0x171)]),u(_0x85063d,_0x32f93a(0x20d),_0x1499a4[_0x32f93a(0x220)]),u(_0x85063d,_0x32f93a(0x15c),_0x1499a4['fontColor']),u(_0x85063d,_0x32f93a(0x1c8),_0x1499a4[_0x32f93a(0x1a4)]),u(_0x85063d,_0x32f93a(0x1d7),_0x1499a4[_0x32f93a(0x206)]),u(_0x85063d,_0x32f93a(0x1f9),_0x1499a4[_0x32f93a(0x1c3)]);}_0x421c12[_0x32f93a(0x1e9)]&&u(_0x85063d,_0x32f93a(0x1e9),_0x421c12['xAxis']),_0x421c12[_0x32f93a(0x190)]&&u(_0x85063d,_0x32f93a(0x190),_0x421c12['yAxis']),_0x421c12[_0x32f93a(0x187)]&&u(_0x85063d,_0x32f93a(0x156),_0x421c12[_0x32f93a(0x187)]),_0x421c12[_0x32f93a(0x183)]&&u(_0x85063d,'seriesStyleMap',_0x421c12[_0x32f93a(0x183)]);let _0x264ba1={'unitId':_0x339752,'chartModelId':_0x4eb04b},_0x1c7027=!0x1;if(_0x3f9aa2!==void 0x0&&(_0x264ba1['chartType']=_0x3f9aa2,_0x1c7027=!0x0),Object['keys'](_0x85063d)[_0x32f93a(0x18e)]>0x0&&(_0x264ba1[_0x32f93a(0x19f)]=_0x85063d,_0x1c7027=!0x0),Object[_0x32f93a(0x192)](_0x58fb8a)[_0x32f93a(0x18e)]>0x0&&(_0x264ba1[_0x32f93a(0x1cd)]=_0x58fb8a,_0x1c7027=!0x0),_0x1c7027)return _0x264ba1;};function f(_0x525acc){'@babel/helpers - typeof';const _0x19257b=_0x52f9f6;return f=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x19257b(0x1e3)?function(_0x4e5b9f){return typeof _0x4e5b9f;}:function(_0x1cc75b){const _0x11f556=_0x19257b;return _0x1cc75b&&typeof Symbol=='function'&&_0x1cc75b['constructor']===Symbol&&_0x1cc75b!==Symbol[_0x11f556(0x1bd)]?'symbol':typeof _0x1cc75b;},f(_0x525acc);}function p(_0x177636,_0x18fc7a){const _0x156cb7=_0x52f9f6;if(f(_0x177636)!=_0x156cb7(0x16e)||!_0x177636)return _0x177636;var _0xc46df1=_0x177636[Symbol['toPrimitive']];if(_0xc46df1!==void 0x0){var _0x3c7402=_0xc46df1[_0x156cb7(0x1cc)](_0x177636,_0x18fc7a||'default');if(f(_0x3c7402)!=_0x156cb7(0x16e))return _0x3c7402;throw TypeError(_0x156cb7(0x195));}return(_0x18fc7a==='string'?String:Number)(_0x177636);}function m(_0x856a2e){const _0x5ebb05=_0x52f9f6;var _0x324ee6=p(_0x856a2e,_0x5ebb05(0x1de));return f(_0x324ee6)==_0x5ebb05(0x1e3)?_0x324ee6:_0x324ee6+'';}function h(_0x12e9e4,_0xf99772,_0x27ece3){return(_0xf99772=m(_0xf99772))in _0x12e9e4?Object['defineProperty'](_0x12e9e4,_0xf99772,{'value':_0x27ece3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x12e9e4[_0xf99772]=_0x27ece3,_0x12e9e4;}var g=class extends o[_0x52f9f6(0x1a5)]{constructor(_0x527e6f,_0xf775bd,_0x2b877a,_0x9a9781,_0x5ae11e){const _0x2560fb=_0x52f9f6;super(),h(this,_0x2560fb(0x17b),void 0x0),h(this,_0x2560fb(0x1d1),void 0x0),h(this,_0x2560fb(0x181),void 0x0),h(this,'subUnitId',void 0x0),h(this,'chartId',void 0x0),h(this,_0x2560fb(0x20e),void 0x0),h(this,'sourceSheetName',void 0x0),h(this,'x',void 0x0),h(this,'y',void 0x0),h(this,_0x2560fb(0x158),void 0x0),h(this,_0x2560fb(0x15e),void 0x0),h(this,_0x2560fb(0x1b2),void 0x0),h(this,_0x2560fb(0x19a),void 0x0),h(this,_0x2560fb(0x17d),void 0x0),this['unitId']=_0x527e6f,this[_0x2560fb(0x21c)]=_0xf775bd,this[_0x2560fb(0x17b)]=_0x2b877a,this[_0x2560fb(0x1d1)]=_0x9a9781,_0x5ae11e&&(this[_0x2560fb(0x165)]=_0x5ae11e);}[_0x52f9f6(0x161)](){return this['chartType'];}[_0x52f9f6(0x16d)](_0x34f3f5){const _0x245e9a=_0x52f9f6;if(typeof _0x34f3f5==_0x245e9a(0x1de)){let _0x583795=(0x0,s['deserializeRangeWithSheet'])(_0x34f3f5);_0x583795[_0x245e9a(0x1f8)]&&(this[_0x245e9a(0x193)]=_0x583795['sheetName']),this[_0x245e9a(0x20e)]=_0x583795[_0x245e9a(0x20e)];}else this['range']=_0x34f3f5;return this;}['clearRange'](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x52f9f6(0x1f2)](_0x555949,_0x1f2eee,_0x57038a,_0x473bb3){const _0x3c67de=_0x52f9f6;let _0x17a36e=this[_0x3c67de(0x1d1)]['get'](c['IRenderManagerService'])[_0x3c67de(0x160)](this[_0x3c67de(0x181)]);if(!_0x17a36e)throw Error(_0x3c67de(0x1a1));let _0x13c6e4=_0x17a36e[_0x3c67de(0x164)](l[_0x3c67de(0x20c)]),_0x1404c2=_0x17a36e[_0x3c67de(0x164)](l[_0x3c67de(0x1c2)]),{transform:_0x90ecbb}=(0x0,l[_0x3c67de(0x1b4)])(this['unitId'],this[_0x3c67de(0x21c)],{'row':_0x555949,'column':_0x1f2eee,'rowOffset':_0x57038a,'columnOffset':_0x473bb3},0x1,0x1,_0x13c6e4,_0x1404c2),_0x3fef9c=_0x90ecbb[_0x3c67de(0x19e)];return this['x']=_0x90ecbb[_0x3c67de(0x15b)],this['y']=_0x3fef9c,this;}['setAbsolutePosition'](_0x381283,_0x27c8a6){return this['x']=_0x381283,this['y']=_0x27c8a6,this;}[_0x52f9f6(0x1f5)](_0x485466){const _0x5932a3=_0x52f9f6;return this[_0x5932a3(0x1b2)]=_0x485466,this;}['setWidth'](_0x52cdca){return this['width']=_0x52cdca,this;}[_0x52f9f6(0x15d)](_0x473555){const _0xf07066=_0x52f9f6;return this[_0xf07066(0x15e)]=_0x473555,this;}[_0x52f9f6(0x1a7)](_0x403127,_0x5109a5){const _0x43503a=_0x52f9f6;return this[_0x43503a(0x19a)]||(this['options']={}),_0x403127===''?(this[_0x43503a(0x19a)]={...this[_0x43503a(0x19a)],..._0x5109a5},this):((0x0,t[_0x43503a(0x1e0)])(this[_0x43503a(0x19a)],_0x403127,_0x5109a5),this);}['setTransposeRowsAndColumns'](_0x29ace8){const _0x5b09a7=_0x52f9f6;return this[_0x5b09a7(0x17d)]=_0x29ace8,this;}[_0x52f9f6(0x202)](_0x34791d){const _0xd12367=_0x52f9f6;return this['setOptions'](_0xd12367(0x1ee),_0x34791d),this;}[_0x52f9f6(0x17a)](_0x35a71e){const _0x42ffc0=_0x52f9f6;var _0xd2935a;let _0x15869a=((_0xd2935a=this['options'])==null?void 0x0:_0xd2935a[_0x42ffc0(0x20a)])||{};return _0x15869a[_0x42ffc0(0x1f7)]=_0x35a71e,this['setOptions'](_0x42ffc0(0x20a),_0x15869a),this;}[_0x52f9f6(0x1d0)](_0x3aa376){const _0x20a45b=_0x52f9f6;var _0x50739f;let _0x5c140a=((_0x50739f=this[_0x20a45b(0x19a)])==null?void 0x0:_0x50739f[_0x20a45b(0x182)])||{};return _0x5c140a['content']=_0x3aa376,this['setOptions'](_0x20a45b(0x182),_0x5c140a),this;}[_0x52f9f6(0x222)](_0x17a682){const _0xb791ca=_0x52f9f6;var _0x316345;let _0x1bc2f3=((_0x316345=this[_0xb791ca(0x19a)])==null?void 0x0:_0x316345['rightYAxisTitle'])||{};return _0x1bc2f3[_0xb791ca(0x1f7)]=_0x17a682,this[_0xb791ca(0x1a7)]('rightYAxisTitle',_0x1bc2f3),this;}[_0x52f9f6(0x1c1)](_0x4398dd){const _0x305644=_0x52f9f6;var _0x9bc459;let _0x5696f=((_0x9bc459=this['options'])==null?void 0x0:_0x9bc459['xAxisTitle'])||{};return this[_0x305644(0x1a7)]('xAxisTitle',{..._0x5696f,..._0x4398dd}),this;}['setYAxisTextStyle'](_0x177a25){const _0x366fd7=_0x52f9f6;var _0x5e67e2;let _0x333cea=((_0x5e67e2=this[_0x366fd7(0x19a)])==null?void 0x0:_0x5e67e2[_0x366fd7(0x182)])||{};return this[_0x366fd7(0x1a7)](_0x366fd7(0x182),{..._0x333cea,..._0x177a25}),this;}[_0x52f9f6(0x1c6)](_0x24c680){const _0x24bbf0=_0x52f9f6;var _0x358e55;let _0x3036a4=((_0x358e55=this[_0x24bbf0(0x19a)])==null?void 0x0:_0x358e55[_0x24bbf0(0x19b)])||{};return this[_0x24bbf0(0x1a7)]('rightYAxisTitle',{..._0x3036a4,..._0x24c680}),this;}[_0x52f9f6(0x1dc)](_0x3bd95c){const _0x2b6f6b=_0x52f9f6;return this[_0x2b6f6b(0x1a7)]('invalidValueType',_0x3bd95c),this;}[_0x52f9f6(0x1aa)](_0x8f2d43){const _0x5eaf0d=_0x52f9f6;return this['setOptions'](_0x5eaf0d(0x1af),_0x8f2d43),this;}[_0x52f9f6(0x189)](_0x290c32){const _0x54ef1a=_0x52f9f6;return this[_0x54ef1a(0x1a7)](_0x54ef1a(0x1f3),_0x290c32),this;}[_0x52f9f6(0x20b)](_0x3361db,_0x5101a7){const _0xb1638d=_0x52f9f6;return this[_0xb1638d(0x1a7)](_0xb1638d(0x183),{[_0x3361db]:_0x5101a7}),this;}['build'](){const _0x1aa021=_0x52f9f6;return{'unitId':this['unitId'],'subUnitId':this['subUnitId'],'chartId':this[_0x1aa021(0x165)],'range':this[_0x1aa021(0x20e)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x1aa021(0x158)],'height':this[_0x1aa021(0x15e)],'chartType':this[_0x1aa021(0x1b2)],'options':this[_0x1aa021(0x19a)],'isRowDirection':this[_0x1aa021(0x17d)]};}},_=class{constructor(_0xea7d83,_0x44ecfd,_0x337c54,_0x1d68ac){const _0x1d5d4d=_0x52f9f6;h(this,_0x1d5d4d(0x181),void 0x0),h(this,_0x1d5d4d(0x21c),void 0x0),h(this,'chartId',void 0x0),h(this,'_injector',void 0x0),this[_0x1d5d4d(0x181)]=_0xea7d83,this[_0x1d5d4d(0x21c)]=_0x44ecfd,this[_0x1d5d4d(0x165)]=_0x337c54,this['_injector']=_0x1d68ac;}[_0x52f9f6(0x15a)](){const _0x22e01e=_0x52f9f6;return this[_0x22e01e(0x165)];}[_0x52f9f6(0x1f1)](){const _0x4ea6fc=_0x52f9f6;let _0xddd5d9=this[_0x4ea6fc(0x1d1)][_0x4ea6fc(0x180)](t['SheetsChartService'])[_0x4ea6fc(0x1d6)](this['chartId']);if(_0xddd5d9)return _0xddd5d9['dataSource']['getRangeInfo']();}[_0x52f9f6(0x1d2)](_0x11e17d){const _0x4d5f54=_0x52f9f6;return this['_injector'][_0x4d5f54(0x180)](r[_0x4d5f54(0x1d3)])[_0x4d5f54(0x173)](t[_0x4d5f54(0x1c4)]['id'],{'unitId':this['unitId'],'chartModelId':this['chartId'],'range':_0x11e17d});}[_0x52f9f6(0x1a9)](){const _0x3919f8=_0x52f9f6;let _0x33b0bf=this['_injector'][_0x3919f8(0x180)](t[_0x3919f8(0x1ce)])[_0x3919f8(0x1d6)](this[_0x3919f8(0x165)]);if(_0x33b0bf){var _0x5099ee;return(_0x5099ee=_0x33b0bf[_0x3919f8(0x188)])==null?void 0x0:_0x5099ee[_0x3919f8(0x199)];}}[_0x52f9f6(0x1ff)](){const _0x31bda8=_0x52f9f6;let _0x29e911=this['_injector'][_0x31bda8(0x180)](t[_0x31bda8(0x1ce)])[_0x31bda8(0x1d6)](this[_0x31bda8(0x165)]);if(_0x29e911){var _0x21ac2d;return(_0x21ac2d=_0x29e911[_0x31bda8(0x188)])==null?void 0x0:_0x21ac2d[_0x31bda8(0x1e8)];}}[_0x52f9f6(0x163)](){const _0x40d133=_0x52f9f6;let _0x5b7433=this['_injector']['get'](r[_0x40d133(0x19d)])[_0x40d133(0x200)](r[_0x40d133(0x216)][_0x40d133(0x198)]);return new g(this[_0x40d133(0x181)],this[_0x40d133(0x21c)],_0x5b7433,this[_0x40d133(0x1d1)],this[_0x40d133(0x165)]);}},v=class extends a[_0x52f9f6(0x1b1)]{async[_0x52f9f6(0x184)](_0x4ff58b){const _0x1b759f=_0x52f9f6;var _0x4330cf,_0x567374,_0x9dc888;let _0xc6c005=_0x4ff58b[_0x1b759f(0x181)]||this[_0x1b759f(0x18c)]()[_0x1b759f(0x211)](),_0xfbfa5f=_0x4ff58b[_0x1b759f(0x21c)]||this['getSheetId'](),_0x539fe7=_0x4ff58b[_0x1b759f(0x165)]||(0x0,r[_0x1b759f(0x157)])(),_0x30e9b9=_0x4ff58b[_0x1b759f(0x1b2)],_0xa6915e=_0x4ff58b[_0x1b759f(0x20e)],_0x289b97=_0x4ff58b[_0x1b759f(0x193)],_0x1243f0={'x':_0x4ff58b['x'],'y':_0x4ff58b['y']},_0x3fbdfd=_0x4ff58b['width'],_0x3a3105=_0x4ff58b[_0x1b759f(0x15e)],_0x21b173=(_0x4330cf=_0x4ff58b[_0x1b759f(0x19a)])==null?void 0x0:_0x4330cf[_0x1b759f(0x1ed)],_0x19c13a=(_0x567374=_0x4ff58b[_0x1b759f(0x19a)])==null?void 0x0:_0x567374['borderColor'],_0x20976b=d(_0xc6c005,_0x539fe7,_0x30e9b9,_0x4ff58b['options']),_0x1419ec=(_0x9dc888=_0x4ff58b['isRowDirection'])==null?!0x0:_0x9dc888;if(!_0xa6915e)throw Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService'][_0x1b759f(0x173)](n[_0x1b759f(0x159)]['id'],{'unitId':_0xc6c005,'subUnitId':_0xfbfa5f,'chartId':_0x539fe7,'chartType':_0x30e9b9,'range':_0xa6915e,'sourceSheetName':_0x289b97,'position':_0x1243f0,'width':_0x3fbdfd,'height':_0x3a3105,'backgroundColor':_0x21b173,'borderColor':_0x19c13a,'config':_0x20976b,'isRowDirection':_0x1419ec}),new _(_0xc6c005,_0xfbfa5f,_0x539fe7,this[_0x1b759f(0x1d1)]);}[_0x52f9f6(0x1ac)](_0x14766c){const _0x1bc163=_0x52f9f6;let {unitId:_0xc71ba4,chartId:_0x12eb9a,chartType:_0x5be230,options:_0xcfadeb}=_0x14766c,_0x5c362b=d(_0xc71ba4,_0x12eb9a,_0x5be230,_0xcfadeb);this[_0x1bc163(0x17c)]['executeCommand'](t[_0x1bc163(0x1dd)]['id'],_0x5c362b);}['newChart'](_0x390c36){const _0x1fbe3c=_0x52f9f6;return _0x390c36?new g(_0x390c36[_0x1fbe3c(0x181)],_0x390c36[_0x1fbe3c(0x21c)],this[_0x1fbe3c(0x17b)],this[_0x1fbe3c(0x1d1)],_0x390c36[_0x1fbe3c(0x165)]):new g(this[_0x1fbe3c(0x18c)]()[_0x1fbe3c(0x211)](),this[_0x1fbe3c(0x16b)](),this[_0x1fbe3c(0x17b)],this[_0x1fbe3c(0x1d1)]);}[_0x52f9f6(0x1b7)](){const _0xb5f3c5=_0x52f9f6;let _0x6cc553=this['_injector']['get'](t[_0xb5f3c5(0x1ce)]),_0x52cb69=this[_0xb5f3c5(0x18c)]()[_0xb5f3c5(0x211)]();return _0x6cc553[_0xb5f3c5(0x1da)](_0x52cb69,this['getSheetId']())[_0xb5f3c5(0x1ad)](_0x1f7954=>new _(_0x52cb69,this[_0xb5f3c5(0x16b)](),_0x1f7954['id'],this[_0xb5f3c5(0x1d1)]));}['removeChart'](_0x596cd2){const _0x3dd087=_0x52f9f6;let _0x1ec885=_0x596cd2[_0x3dd087(0x181)],_0x3cb0f2={'unitId':_0x1ec885,'drawings':[{'unitId':_0x1ec885,'subUnitId':_0x596cd2['subUnitId'],'drawingId':_0x596cd2['chartId'],'drawingType':r['DrawingTypeEnum'][_0x3dd087(0x1f6)]}]};return this[_0x3dd087(0x17c)][_0x3dd087(0x173)](i[_0x3dd087(0x1c0)]['id'],_0x3cb0f2);}[_0x52f9f6(0x1cb)](_0xed9e50,_0x1199fc){const _0x4b55a8=_0x52f9f6;this[_0x4b55a8(0x1d1)][_0x4b55a8(0x180)](e['ChartThemeService'])['registerTheme'](_0xed9e50,_0x1199fc);}};a[_0x52f9f6(0x1b1)][_0x52f9f6(0x178)](v);var y=class extends o[_0x52f9f6(0x1b8)]{get['ChartType'](){const _0x33c58c=_0x52f9f6;return e[_0x33c58c(0x154)];}get['LegendPositionEnum'](){const _0x5b86dc=_0x52f9f6;return e[_0x5b86dc(0x203)];}get[_0x52f9f6(0x1ea)](){const _0xaa7249=_0x52f9f6;return e[_0xaa7249(0x1ea)];}get[_0x52f9f6(0x172)](){const _0x3234bc=_0x52f9f6;return e[_0x3234bc(0x172)];}get[_0x52f9f6(0x1fe)](){const _0x1549db=_0x52f9f6;return e[_0x1549db(0x1fe)];}get['LinePointShape'](){const _0xd20cea=_0x52f9f6;return e[_0xd20cea(0x155)];}get['TitlePositionEnum'](){const _0x71ca21=_0x52f9f6;return e[_0x71ca21(0x1a6)];}get['RadarShape'](){const _0x15b806=_0x52f9f6;return e[_0x15b806(0x1b5)];}};o['FEnum']['extend'](y);var b=class extends g{constructor(_0x57d3a0,_0x1e581c,_0x146cdd,_0x236d93,_0x46c0c7){const _0x3e7e6c=_0x52f9f6;super(_0x57d3a0,_0x1e581c,_0x146cdd,_0x236d93,_0x46c0c7),h(this,_0x3e7e6c(0x1b0),void 0x0),h(this,_0x3e7e6c(0x217),void 0x0),h(this,_0x3e7e6c(0x179),void 0x0),h(this,_0x3e7e6c(0x153),void 0x0);}[_0x52f9f6(0x1eb)](_0x33bea3){const _0x479e35=_0x52f9f6;return this[_0x479e35(0x1b0)]=_0x33bea3,this;}['setDataPointShape'](_0x2a5829){const _0x126608=_0x52f9f6;return this[_0x126608(0x217)]=_0x2a5829,this;}[_0x52f9f6(0x212)](_0x47eaa4){return this['dataPointColor']=_0x47eaa4,this;}['setDataPointSize'](_0x31cd76){return this['dataPointSize']=_0x31cd76,this;}[_0x52f9f6(0x1a0)](){const _0x281808=_0x52f9f6;let _0x433005=super[_0x281808(0x1a0)]();_0x433005['chartType']=e[_0x281808(0x154)][_0x281808(0x214)];let _0x2fce59=_0x433005['options']||{};return u(_0x2fce59,_0x281808(0x1bb),this[_0x281808(0x1b0)]),u(_0x2fce59,_0x281808(0x168),this['dataPointShape']),u(_0x2fce59,_0x281808(0x1f4),this[_0x281808(0x179)]),u(_0x2fce59,_0x281808(0x18a),this['dataPointSize']),_0x433005[_0x281808(0x19a)]=_0x2fce59,_0x433005;}},x=class extends g{['asLineChart'](){const _0x467ebd=_0x52f9f6;return new b(this[_0x467ebd(0x181)],this[_0x467ebd(0x21c)],this['_workbook'],this[_0x467ebd(0x1d1)],this[_0x467ebd(0x165)]);}};g[_0x52f9f6(0x178)](x);var S=class extends g{constructor(_0x3915e1,_0x486f3d,_0x1bc498,_0x314289,_0x5b60da){const _0x2e8154=_0x52f9f6;super(_0x3915e1,_0x486f3d,_0x1bc498,_0x314289,_0x5b60da),h(this,_0x2e8154(0x213),void 0x0),h(this,'borderColor',void 0x0),h(this,'hasPaddingAngle',void 0x0),h(this,_0x2e8154(0x1d9),void 0x0),h(this,_0x2e8154(0x21d),void 0x0),h(this,_0x2e8154(0x185),void 0x0);}[_0x52f9f6(0x205)](_0x97d469){const _0x27c616=_0x52f9f6;return this[_0x27c616(0x213)]=_0x97d469,this;}[_0x52f9f6(0x1e2)](_0x1a1a59){const _0x15ddbd=_0x52f9f6;return this[_0x15ddbd(0x1a2)]=_0x1a1a59,this;}[_0x52f9f6(0x176)](_0xa85ea4){const _0x2c15c8=_0x52f9f6;return this[_0x2c15c8(0x1b6)]=_0xa85ea4,this;}[_0x52f9f6(0x1c7)](_0x5a499e){return this['isHalfPie']=_0x5a499e,this;}[_0x52f9f6(0x21b)](_0x4cae5f){return this['rosePie']=_0x4cae5f,this;}['setShowLabelLine'](_0x33bed7){const _0x2942f3=_0x52f9f6;return this[_0x2942f3(0x185)]=_0x33bed7,this;}[_0x52f9f6(0x1a0)](){const _0x3a6ee0=_0x52f9f6;let _0x3e69e4=super[_0x3a6ee0(0x1a0)]();_0x3e69e4[_0x3a6ee0(0x1b2)]=e[_0x3a6ee0(0x154)]['Pie'];let _0x18fdea=_0x3e69e4[_0x3a6ee0(0x19a)]||{};return u(_0x18fdea,_0x3a6ee0(0x162),this[_0x3a6ee0(0x213)]),u(_0x18fdea,_0x3a6ee0(0x174),this[_0x3a6ee0(0x1a2)]),u(_0x18fdea,_0x3a6ee0(0x1ca),this[_0x3a6ee0(0x1b6)]),u(_0x18fdea,_0x3a6ee0(0x1ba),this[_0x3a6ee0(0x1d9)]),u(_0x18fdea,_0x3a6ee0(0x219),this[_0x3a6ee0(0x21d)]),u(_0x18fdea,_0x3a6ee0(0x1fb),this[_0x3a6ee0(0x185)]),_0x3e69e4[_0x3a6ee0(0x19a)]=_0x18fdea,_0x3e69e4;}},C=class extends g{[_0x52f9f6(0x1cf)](){const _0x5ed901=_0x52f9f6;return new S(this[_0x5ed901(0x181)],this[_0x5ed901(0x21c)],this[_0x5ed901(0x17b)],this[_0x5ed901(0x1d1)],this['chartId']);}};g[_0x52f9f6(0x178)](C);function _0x15bf(){const _0x23dc2b=['SheetsChartService','asPieChart','setYAxisTitle','_injector','updateRange','ICommandService','indicatorLabelColor','setShape','getChartModel','titles.rightYAxisTitle.bold','indicatorLineColor','isHalfPie','getUnitChartModels','titles.title.family','setInvalidValueStrategy','ChartUpdateConfigCommand','string','yAxis.label.axisTitleAlign','setProperty','100738MGWFhn','setBorderColor','symbol','legend.label.bold','tooltip.indicatorLineColor','RadarChartBuilder','titles.title.bold','category','xAxis','SelectModeEnum','setLineStyle','1347185pscRpS','backgroundColor','theme','indicatorLabelTextColor','gradientFill','getRange','setPosition','allSeriesStyle','allSeriesStyle.point.color','setChartType','DRAWING_CHART','content','sheetName','rightYAxis.label.axisTitleAlign','titleAlignment','pie.showLabelLine','6117741pcvBYB','fill','ChartBorderDashType','getCategoryData','getCurrentUnitForType','label','setTheme','LegendPositionEnum','39955OcwxCe','setDoughnutHole','bold','titles.yAxisTitle.family','PieChartBuilder','tooltip.indicatorLabelColor','xAxisTitle','setSeriesStyle','ISheetSelectionRenderService','titles.rightYAxisTitle.fontSize','range','titles.title.color','position','getUnitId','setDataPointColor','doughnutHole','Line','2GWrBfd','UniverInstanceType','dataPointShape','legend','pie.rosePie','FChart','setRosePie','subUnitId','rosePie','italic','title','fontSize','2022102WLXzQk','setRightYAxisTitle','titles.xAxisTitle.color','FChartBuilderBase','dataPointSize','ChartTypeBits','LinePointShape','rightYAxis','generateRandomId','width','InsertChartCommand','getChartId','left','titles.rightYAxisTitle.color','setHeight','height','titles.title.content','getRenderById','getChartType','pie.doughnutHole','modify','with','chartId','Module','color','allSeriesStyle.point.shape','titles.titlePosition','legend.selectMode','getSheetId','allSeriesStyle.label','addRange','object','invalidValueType','titles.rightYAxisTitle.font','font','AxisAlignEnum','executeCommand','pie.borderColor','area','setHasPaddingAngle','defineProperty','extend','dataPointColor','setXAxisTitle','_workbook','_commandService','transposeRowsAndColumns','toStringTag','indicatorLineType','get','unitId','yAxisTitle','seriesStyleMap','insertChart','showLabelLine','radar.shape','yRightAxis','config','setAllSeriesStyle','allSeriesStyle.point.size','xAxis.label.axisTitleAlign','getWorkbook','7756808BgLBng','length','legend.label.fontSize','yAxis','titles.xAxisTitle.fontSize','keys','sourceSheetName','allSeriesStyle.color','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','tooltip.indicatorLabelTextColor','pie','UNIVER_SHEET','series','options','rightYAxisTitle','radar','IUniverInstanceService','top','style','build','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','borderColor','LineChartBuilder','fontStyle','FBase','TitlePositionEnum','setOptions','1831137zEEmxs','getSeriesData','setAxisPointerStyle','160mumzvz','updateChart','map','Radar','axisPointer','lineStyle','FWorksheet','chartType','point','convertPositionCellToSheetOverGrid','RadarShape','hasPaddingAngle','getCharts','FEnum','shape','pie.isHalfPie','area.lineStyle','fontColor','prototype','radar.fill','allSeriesStyle.point','RemoveSheetDrawingCommand','setXAxisTextStyle','SheetSkeletonManagerService','axisAlignment','ChartUpdateSourceCommand','titles.yAxisTitle.content','setRightYAxisTextStyle','setIsHalfPie','titles.rightYAxisTitle.family','titles.xAxisTitle.bold','pie.hasPaddingAngle','registerChartTheme','call','context'];_0x15bf=function(){return _0x23dc2b;};return _0x15bf();}var w=class extends g{constructor(_0x1e549f,_0x98cd8b,_0x36f309,_0x415934,_0x132866){const _0x446852=_0x52f9f6;super(_0x1e549f,_0x98cd8b,_0x36f309,_0x415934,_0x132866),h(this,_0x446852(0x1b9),void 0x0),h(this,_0x446852(0x1fd),void 0x0);}[_0x52f9f6(0x1d5)](_0x54b999){return this['shape']=_0x54b999,this;}['setFill'](_0x3f0359){const _0x5e67b7=_0x52f9f6;return this[_0x5e67b7(0x1fd)]=_0x3f0359,this;}[_0x52f9f6(0x1a0)](){const _0x3b84ff=_0x52f9f6;let _0x32ac1b=super[_0x3b84ff(0x1a0)]();_0x32ac1b[_0x3b84ff(0x1b2)]=e['ChartTypeBits'][_0x3b84ff(0x1ae)];let _0x4ea967=_0x32ac1b[_0x3b84ff(0x19a)]||{};return u(_0x4ea967,_0x3b84ff(0x186),this[_0x3b84ff(0x1b9)]),u(_0x4ea967,_0x3b84ff(0x1be),this[_0x3b84ff(0x1fd)]),_0x32ac1b[_0x3b84ff(0x19a)]=_0x4ea967,_0x32ac1b;}},T=class extends g{['asRadarChart'](){const _0x49f33b=_0x52f9f6;return new w(this[_0x49f33b(0x181)],this[_0x49f33b(0x21c)],this[_0x49f33b(0x17b)],this['_injector'],this[_0x49f33b(0x165)]);}};g[_0x52f9f6(0x178)](T),exports[_0x52f9f6(0x21a)]=_,exports[_0x52f9f6(0x152)]=g,exports[_0x52f9f6(0x1a3)]=b,exports[_0x52f9f6(0x208)]=S,exports[_0x52f9f6(0x1e6)]=w;
|