@univerjs-pro/sheets-chart-ui 0.5.1 → 0.5.2

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.
Files changed (56) hide show
  1. package/README.md +40 -7
  2. package/lib/cjs/facade.js +1 -0
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -0
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ru-RU.js +1 -1
  17. package/lib/es/locale/vi-VN.js +1 -1
  18. package/lib/es/locale/zh-CN.js +1 -1
  19. package/lib/es/locale/zh-TW.js +1 -1
  20. package/lib/index.css +1 -1
  21. package/lib/types/commands/commands/sheets-chart.command.d.ts +11 -1
  22. package/lib/types/const.d.ts +1 -0
  23. package/lib/types/facade/chart-builder/builder-util.d.ts +4 -0
  24. package/lib/types/facade/chart-builder/chart-builder-base.d.ts +568 -0
  25. package/lib/types/facade/chart-builder/line-chart-builder.d.ts +55 -0
  26. package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +70 -0
  27. package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +42 -0
  28. package/lib/types/facade/chart-builder/types.d.ts +22 -0
  29. package/lib/types/facade/f-chart.d.ts +86 -0
  30. package/lib/types/facade/f-worksheet.d.ts +120 -0
  31. package/lib/types/facade/index.d.ts +16 -0
  32. package/lib/types/index.d.ts +1 -0
  33. package/lib/types/locale/zh-CN.d.ts +19 -0
  34. package/lib/types/models/echart-render-engine.d.ts +2 -0
  35. package/lib/types/models/echart-render-model.d.ts +1 -1
  36. package/lib/types/models/render-spec-operators/axis-title.operator.d.ts +2 -0
  37. package/lib/types/models/render-spec-operators/index.d.ts +2 -1
  38. package/lib/types/models/render-spec-operators/title-style.operator.d.ts +1 -1
  39. package/lib/types/models/render-spec-operators/tools.d.ts +4 -2
  40. package/lib/types/services/sheets-chart-ui.service.d.ts +2 -1
  41. package/lib/types/views/chart-edit-panel/options.d.ts +5 -5
  42. package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +1 -1
  43. package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +19 -0
  44. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +2 -2
  45. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/const.d.ts +2 -0
  46. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/widgets.d.ts +3 -6
  47. package/lib/umd/facade.js +1 -0
  48. package/lib/umd/index.js +1 -1
  49. package/lib/umd/locale/en-US.js +1 -1
  50. package/lib/umd/locale/fa-IR.js +1 -1
  51. package/lib/umd/locale/fr-FR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/vi-VN.js +1 -1
  54. package/lib/umd/locale/zh-CN.js +1 -1
  55. package/lib/umd/locale/zh-TW.js +1 -1
  56. package/package.json +29 -17
@@ -0,0 +1 @@
1
+ function _0x1f03(){const _0x569dc0=['titles.xAxisTitle.fontSize','titles.xAxisTitle.alignment','setRightYAxisTextStyle','xAxisTitle','fontSize','convertPositionCellToSheetOverGrid','setLineStyle','RemoveSheetDrawingCommand','fontWeight','pie.rosePie','titles.title.titlePosition','setYAxisTextStyle','bold','getCharts','tooltip.indicatorLineColor','6OVAwUo','pie.borderColor','6250937OZqYBC','indicatorLineColor','setDataPointShape','ChartThemeService','getChartModel','symbol','setSeriesStyle','with','2074960fTIsNw','getUnitId','updateRange','chartType','setChartType','dataPointShape','titles.title.alignment','sourceSheetName','926141ExoLVr','config','color','titles.yAxisTitle.alignment','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','setPosition','getRange','setBorderColor','UniverProSheetsChartUiFacade','ChartUpdateSourceCommand','titles.rightYAxisTitle.fontWeight','setXAxisTextStyle','IUniverInstanceService','subUnitId','2275230rznZSz','xAxis','setDataPointSize','getWorkbook','UNIVER_SHEET','pie','titles.xAxisTitle.fontColor','borderColor','alignment','UniverEngineRender','position','radar.fill','Radar','setHeight','range','ChartTypeBits','dataPointSize','generateRandomId','sheetName','area.lineStyle','RadarChartBuilder','removeChart','seriesStyleMap','8705484xjukzr','registerTheme','titles.title.font','theme','UniverSheetsDrawingUi','setProperty','titles.rightYAxisTitle.content','fontStyle','UniverInstanceType','titles.title.fontSize','asRadarChart','getChartType','area','setTheme','chartId','UniverEngineFormula','title','indicatorLineType','shape','italic','titles.xAxisTitle.fontStyle','setAllSeriesStyle','setTransposeRowsAndColumns','titles.title.content','rightYAxisTitle','Line','@univerjs/sheets-drawing-ui','tooltip.indicatorLineType','options','legend.label.color','titles.yAxisTitle.content','function','titles.title.fontWeight','rightYAxis','showLabelLine','keys','getCategoryData','context','getSeriesData','legend','dataPointColor','string','732120WcHSnY','Module','@univerjs/sheets-ui','font','setDataPointColor','hasPaddingAngle','clearRange','defineProperty','radar.shape','setDoughnutHole','titles.xAxisTitle.content','height','deserializeRangeWithSheet','length','extend','get','8jqvnMb','allSeriesStyle.point.color','getSheetId','titles.yAxisTitle.fontSize','content','getChartId','yAxisTitle','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','asPieChart','dataSource','width','@univerjs/engine-render','setAxisPointerStyle','isHalfPie','Sheet\x20','getRenderById','indicatorLabelTextColor','yRightAxis','legend.label.bold','pie.hasPaddingAngle','@univerjs/engine-formula','titles.title.fontStyle','4939760bsBiqV','fill','fontColor','DRAWING_CHART','addRange','legend.position','newChart','titles.rightYAxisTitle.fontColor','CommandService','getCurrentUnitForType','@univerjs/sheets/facade','axisPointer','pie.doughnutHole','point','invalidValueType','isRowDirection','UniverSheetsFacade','tooltip.indicatorLabelColor','UniverSheetsUi','@univerjs/core','setShowLabelLine','tooltip.indicatorLabelTextColor','ISheetSelectionRenderService','legend.label.italic','ChartUpdateConfigCommand','lineStyle','PieChartBuilder','_commandService','build','titles.yAxisTitle.fontColor','titles.rightYAxisTitle.fontStyle','backgroundColor','object','SheetsChartService','registerChartTheme','FBase','setOptions','titles.xAxisTitle.font','_workbook','allSeriesStyle','_injector','setShape','setAbsolutePosition','indicatorLabelColor','executeCommand','unitId','toStringTag','@univerjs-pro/sheets-chart','transposeRowsAndColumns','\x20not\x20found','yAxis','legend.label.fontSize','pie.showLabelLine','rosePie','DrawingTypeEnum','FChart','doughnutHole'];_0x1f03=function(){return _0x569dc0;};return _0x1f03();}function _0x1d32(_0x143941,_0x102d7b){const _0x1f03b5=_0x1f03();return _0x1d32=function(_0x1d3208,_0x34de4e){_0x1d3208=_0x1d3208-0x1cd;let _0x5769aa=_0x1f03b5[_0x1d3208];return _0x5769aa;},_0x1d32(_0x143941,_0x102d7b);}(function(_0x300258,_0x10a4d8){const _0x3e24dd=_0x1d32,_0x542925=_0x300258();while(!![]){try{const _0xb6c08e=-parseInt(_0x3e24dd(0x290))/0x1+parseInt(_0x3e24dd(0x210))/0x2+parseInt(_0x3e24dd(0x1cf))/0x3+-parseInt(_0x3e24dd(0x220))/0x4*(parseInt(_0x3e24dd(0x288))/0x5)+-parseInt(_0x3e24dd(0x27e))/0x6*(-parseInt(_0x3e24dd(0x280))/0x7)+-parseInt(_0x3e24dd(0x236))/0x8+parseInt(_0x3e24dd(0x1e6))/0x9;if(_0xb6c08e===_0x10a4d8)break;else _0x542925['push'](_0x542925['shift']());}catch(_0x3a32b8){_0x542925['push'](_0x542925['shift']());}}}(_0x1f03,0x95346),function(_0x566f63,_0xfc7e81){const _0x3c0aab=_0x1d32;typeof exports==_0x3c0aab(0x256)&&typeof module<'u'?_0xfc7e81(exports,require(_0x3c0aab(0x265)),require('@univerjs-pro/sheets-chart-ui'),require(_0x3c0aab(0x249)),require(_0x3c0aab(0x200)),require(_0x3c0aab(0x240)),require(_0x3c0aab(0x234)),require(_0x3c0aab(0x22b)),require(_0x3c0aab(0x212))):typeof define==_0x3c0aab(0x205)&&define['amd']?define(['exports',_0x3c0aab(0x265),'@univerjs-pro/sheets-chart-ui','@univerjs/core',_0x3c0aab(0x200),_0x3c0aab(0x240),'@univerjs/engine-formula',_0x3c0aab(0x22b),_0x3c0aab(0x212)],_0xfc7e81):(_0x566f63=typeof globalThis<'u'?globalThis:_0x566f63||self,_0xfc7e81(_0x566f63[_0x3c0aab(0x298)]={},_0x566f63['UniverProSheetsChart'],_0x566f63['UniverProSheetsChartUi'],_0x566f63['UniverCore'],_0x566f63[_0x3c0aab(0x1ea)],_0x566f63[_0x3c0aab(0x246)],_0x566f63[_0x3c0aab(0x1f5)],_0x566f63[_0x3c0aab(0x1d8)],_0x566f63[_0x3c0aab(0x248)]));}(this,function(_0x343f69,_0x28f2fb,_0x3faa1e,_0x28ac5e,_0x109214,_0x51d57a,_0x255e30,_0x5adb08,_0x307e37){'use strict';const _0x468c49=_0x1d32;var _0x2298ad=Object[_0x468c49(0x217)],_0xa758aa=(_0x7d91b3,_0x17abb8,_0x4083c0)=>_0x17abb8 in _0x7d91b3?_0x2298ad(_0x7d91b3,_0x17abb8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4083c0}):_0x7d91b3[_0x17abb8]=_0x4083c0,_0x4a73e7=(_0x1a6689,_0x18e0fc,_0x25e5e7)=>_0xa758aa(_0x1a6689,typeof _0x18e0fc!=_0x468c49(0x285)?_0x18e0fc+'':_0x18e0fc,_0x25e5e7);const _0x49b778=(_0x50ebe4,_0x3678f9,_0xe81329)=>{const _0x14222f=_0x468c49;_0xe81329!==void 0x0&&_0x28f2fb[_0x14222f(0x1eb)](_0x50ebe4,_0x3678f9,_0xe81329);},_0x4b385a=(_0xa40633,_0x57c6ec,_0x12d468,_0xd7a133={})=>{const _0x57ecf4=_0x468c49,_0x1f2f17={},_0x4eb846={};if(_0xd7a133[_0x57ecf4(0x1f6)]){const _0x18ed8f=_0xd7a133[_0x57ecf4(0x1f6)];_0x49b778(_0x1f2f17,_0x57ecf4(0x1fd),_0x18ed8f[_0x57ecf4(0x224)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x1e8),_0x18ed8f['font']),_0x49b778(_0x1f2f17,_0x57ecf4(0x1ef),_0x18ed8f[_0x57ecf4(0x273)]),_0x49b778(_0x1f2f17,'titles.title.fontColor',_0x18ed8f['fontColor']),_0x49b778(_0x1f2f17,_0x57ecf4(0x235),_0x18ed8f['fontStyle']),_0x49b778(_0x1f2f17,_0x57ecf4(0x206),_0x18ed8f[_0x57ecf4(0x277)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x28e),_0x18ed8f[_0x57ecf4(0x1d7)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x279),_0x18ed8f[_0x57ecf4(0x1d9)]);}if(_0xd7a133[_0x57ecf4(0x20d)]){const _0x266315=_0xd7a133[_0x57ecf4(0x20d)];_0x49b778(_0x1f2f17,_0x57ecf4(0x23b),_0x266315['position']),_0x49b778(_0x1f2f17,'legend.selectMode',_0x266315['selectMode']),_0x49b778(_0x1f2f17,_0x57ecf4(0x269),_0x266315[_0x57ecf4(0x273)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x203),_0x266315[_0x57ecf4(0x292)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x232),_0x266315[_0x57ecf4(0x27b)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x24d),_0x266315[_0x57ecf4(0x1f9)]);}if(_0xd7a133[_0x57ecf4(0x1d4)]){const _0x76e37b=_0xd7a133[_0x57ecf4(0x1d4)];_0x49b778(_0x1f2f17,_0x57ecf4(0x242),_0x76e37b[_0x57ecf4(0x26e)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x27f),_0x76e37b[_0x57ecf4(0x1d6)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x233),_0x76e37b[_0x57ecf4(0x215)]),_0x49b778(_0x1f2f17,'pie.isHalfPie',_0x76e37b['isHalfPie']),_0x49b778(_0x1f2f17,_0x57ecf4(0x278),_0x76e37b['rosePie']),_0x49b778(_0x1f2f17,_0x57ecf4(0x26a),_0x76e37b[_0x57ecf4(0x208)]);}if(_0xd7a133[_0x57ecf4(0x241)]){const _0x16316d=_0xd7a133[_0x57ecf4(0x241)];_0x49b778(_0x1f2f17,_0x57ecf4(0x247),_0x16316d[_0x57ecf4(0x261)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x201),_0x16316d[_0x57ecf4(0x1f7)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x27d),_0x16316d[_0x57ecf4(0x281)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x24b),_0x16316d[_0x57ecf4(0x230)]);}if(_0xd7a133[_0x57ecf4(0x25d)]&&_0x49b778(_0x1f2f17,'allSeriesStyle.point',_0xd7a133[_0x57ecf4(0x25d)][_0x57ecf4(0x243)]),_0xd7a133[_0x57ecf4(0x1f2)]&&_0x49b778(_0x1f2f17,_0x57ecf4(0x1e2),_0xd7a133[_0x57ecf4(0x1f2)][_0x57ecf4(0x24f)]),_0xd7a133[_0x57ecf4(0x1e9)]&&_0x49b778(_0x1f2f17,_0x57ecf4(0x1e9),_0xd7a133['theme']),_0xd7a133[_0x57ecf4(0x272)]){const _0x4d4404=_0xd7a133[_0x57ecf4(0x272)];_0x49b778(_0x1f2f17,_0x57ecf4(0x21a),_0x4d4404['content']),_0x49b778(_0x1f2f17,_0x57ecf4(0x25b),_0x4d4404[_0x57ecf4(0x213)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x26f),_0x4d4404[_0x57ecf4(0x273)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x1d5),_0x4d4404[_0x57ecf4(0x238)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x1fa),_0x4d4404['fontStyle']),_0x49b778(_0x1f2f17,'titles.xAxisTitle.fontWeight',_0x4d4404['fontWeight']),_0x49b778(_0x1f2f17,_0x57ecf4(0x270),_0x4d4404['alignment']);}if(_0xd7a133[_0x57ecf4(0x226)]){const _0x3f9227=_0xd7a133[_0x57ecf4(0x226)];_0x49b778(_0x1f2f17,_0x57ecf4(0x204),_0x3f9227[_0x57ecf4(0x224)]),_0x49b778(_0x1f2f17,'titles.yAxisTitle.font',_0x3f9227[_0x57ecf4(0x213)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x223),_0x3f9227[_0x57ecf4(0x273)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x253),_0x3f9227[_0x57ecf4(0x238)]),_0x49b778(_0x1f2f17,'titles.yAxisTitle.fontStyle',_0x3f9227[_0x57ecf4(0x1ed)]),_0x49b778(_0x1f2f17,'titles.yAxisTitle.fontWeight',_0x3f9227[_0x57ecf4(0x277)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x293),_0x3f9227['alignment']);}if(_0xd7a133[_0x57ecf4(0x1fe)]){const _0x44c343=_0xd7a133[_0x57ecf4(0x1fe)];_0x49b778(_0x1f2f17,_0x57ecf4(0x1ec),_0x44c343[_0x57ecf4(0x224)]),_0x49b778(_0x1f2f17,'titles.rightYAxisTitle.font',_0x44c343['font']),_0x49b778(_0x1f2f17,'titles.rightYAxisTitle.fontSize',_0x44c343[_0x57ecf4(0x273)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x23d),_0x44c343[_0x57ecf4(0x238)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x254),_0x44c343[_0x57ecf4(0x1ed)]),_0x49b778(_0x1f2f17,_0x57ecf4(0x29a),_0x44c343[_0x57ecf4(0x277)]),_0x49b778(_0x1f2f17,'titles.rightYAxisTitle.alignment',_0x44c343[_0x57ecf4(0x1d7)]);}_0xd7a133[_0x57ecf4(0x1d0)]&&_0x49b778(_0x1f2f17,_0x57ecf4(0x1d0),_0xd7a133['xAxis']),_0xd7a133[_0x57ecf4(0x268)]&&_0x49b778(_0x1f2f17,_0x57ecf4(0x268),_0xd7a133[_0x57ecf4(0x268)]),_0xd7a133['yRightAxis']&&_0x49b778(_0x1f2f17,_0x57ecf4(0x207),_0xd7a133[_0x57ecf4(0x231)]),_0xd7a133['seriesStyleMap']&&_0x49b778(_0x1f2f17,_0x57ecf4(0x1e5),_0xd7a133[_0x57ecf4(0x1e5)]);const _0x51a0d9={'unitId':_0xa40633,'chartModelId':_0x57c6ec};let _0x5d7ee5=!0x1;if(_0x12d468!==void 0x0&&(_0x51a0d9[_0x57ecf4(0x28b)]=_0x12d468,_0x5d7ee5=!0x0),Object[_0x57ecf4(0x209)](_0x1f2f17)[_0x57ecf4(0x21d)]>0x0&&(_0x51a0d9['style']=_0x1f2f17,_0x5d7ee5=!0x0),Object['keys'](_0x4eb846)[_0x57ecf4(0x21d)]>0x0&&(_0x51a0d9[_0x57ecf4(0x20b)]=_0x4eb846,_0x5d7ee5=!0x0),_0x5d7ee5)return _0x51a0d9;};class _0x4c7cb0 extends _0x28ac5e[_0x468c49(0x259)]{constructor(_0x80f9e,_0x2f48dc,_0x19a489,_0x307f73,_0x2801fd){const _0x52a6ae=_0x468c49;super(),_0x4a73e7(this,_0x52a6ae(0x25c)),_0x4a73e7(this,'_injector'),_0x4a73e7(this,_0x52a6ae(0x263)),_0x4a73e7(this,_0x52a6ae(0x1ce)),_0x4a73e7(this,_0x52a6ae(0x1f4)),_0x4a73e7(this,_0x52a6ae(0x1dd)),_0x4a73e7(this,'sourceSheetName'),_0x4a73e7(this,'x'),_0x4a73e7(this,'y'),_0x4a73e7(this,_0x52a6ae(0x22a)),_0x4a73e7(this,'height'),_0x4a73e7(this,_0x52a6ae(0x28b)),_0x4a73e7(this,_0x52a6ae(0x202)),_0x4a73e7(this,_0x52a6ae(0x266)),(this[_0x52a6ae(0x263)]=_0x80f9e,this['subUnitId']=_0x2f48dc,this['_workbook']=_0x19a489,this[_0x52a6ae(0x25e)]=_0x307f73,_0x2801fd&&(this[_0x52a6ae(0x1f4)]=_0x2801fd));}[_0x468c49(0x1f1)](){const _0x1acf42=_0x468c49;return this[_0x1acf42(0x28b)];}[_0x468c49(0x23a)](_0x509470){const _0x4491b7=_0x468c49;if(typeof _0x509470==_0x4491b7(0x20f)){const _0x4032ab=_0x255e30[_0x4491b7(0x21c)](_0x509470);_0x4032ab[_0x4491b7(0x1e1)]&&(this[_0x4491b7(0x28f)]=_0x4032ab[_0x4491b7(0x1e1)]),this[_0x4491b7(0x1dd)]=_0x4032ab[_0x4491b7(0x1dd)];}else this[_0x4491b7(0x1dd)]=_0x509470;return this;}[_0x468c49(0x216)](){const _0x21fedb=_0x468c49;return this[_0x21fedb(0x1dd)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x468c49(0x295)](_0x1c8f47,_0xef008a,_0x404253,_0x4756cb){const _0x2a952a=_0x468c49,_0x1b7fdf=this[_0x2a952a(0x25e)][_0x2a952a(0x21f)](_0x5adb08['IRenderManagerService'])[_0x2a952a(0x22f)](this[_0x2a952a(0x263)]);if(!_0x1b7fdf)throw new Error(_0x2a952a(0x294));const _0x4657a0=_0x1b7fdf['with'](_0x307e37[_0x2a952a(0x24c)]),_0x400eab=_0x1b7fdf[_0x2a952a(0x287)](_0x307e37['SheetSkeletonManagerService']),{transform:_0x73c0a8}=_0x307e37[_0x2a952a(0x274)](this[_0x2a952a(0x263)],this['subUnitId'],{'row':_0x1c8f47,'column':_0xef008a,'rowOffset':_0x404253,'columnOffset':_0x4756cb},0x1,0x1,_0x4657a0,_0x400eab),_0x3c6d45=_0x73c0a8['top'],_0x9b1715=_0x73c0a8['left'];return this['x']=_0x9b1715,this['y']=_0x3c6d45,this;}[_0x468c49(0x260)](_0x50cf07,_0x5b32c0){return this['x']=_0x50cf07,this['y']=_0x5b32c0,this;}[_0x468c49(0x28c)](_0x443a4e){const _0xfaba61=_0x468c49;return this[_0xfaba61(0x28b)]=_0x443a4e,this;}['setWidth'](_0x58546d){const _0x4a7956=_0x468c49;return this[_0x4a7956(0x22a)]=_0x58546d,this;}[_0x468c49(0x1dc)](_0x1da3ae){const _0x3ee41f=_0x468c49;return this[_0x3ee41f(0x21b)]=_0x1da3ae,this;}[_0x468c49(0x25a)](_0x2a0d4f,_0x2420e5){const _0x482d21=_0x468c49;return this[_0x482d21(0x202)]||(this[_0x482d21(0x202)]={}),_0x2a0d4f===''?(this[_0x482d21(0x202)]={...this['options'],..._0x2420e5},this):(_0x28f2fb['setProperty'](this[_0x482d21(0x202)],_0x2a0d4f,_0x2420e5),this);}[_0x468c49(0x1fc)](_0xfb2025){const _0x10b938=_0x468c49;return this[_0x10b938(0x266)]=_0xfb2025,this;}[_0x468c49(0x1f3)](_0xdc276f){const _0x465ec0=_0x468c49;return this[_0x465ec0(0x25a)](_0x465ec0(0x1e9),_0xdc276f),this;}['setXAxisTitle'](_0x123a83){const _0x230c8e=_0x468c49;var _0x55fa87;const _0x55955d=((_0x55fa87=this[_0x230c8e(0x202)])==null?void 0x0:_0x55fa87[_0x230c8e(0x272)])||{};return _0x55955d[_0x230c8e(0x224)]=_0x123a83,this[_0x230c8e(0x25a)](_0x230c8e(0x272),_0x55955d),this;}['setYAxisTitle'](_0x13b72e){const _0x2fcb08=_0x468c49;var _0x57d19e;const _0x5db899=((_0x57d19e=this[_0x2fcb08(0x202)])==null?void 0x0:_0x57d19e['yAxisTitle'])||{};return _0x5db899[_0x2fcb08(0x224)]=_0x13b72e,this['setOptions'](_0x2fcb08(0x226),_0x5db899),this;}['setRightYAxisTitle'](_0x3db479){const _0x1ba4af=_0x468c49;var _0xab6f7e;const _0x121d86=((_0xab6f7e=this[_0x1ba4af(0x202)])==null?void 0x0:_0xab6f7e[_0x1ba4af(0x1fe)])||{};return _0x121d86[_0x1ba4af(0x224)]=_0x3db479,this['setOptions'](_0x1ba4af(0x1fe),_0x121d86),this;}[_0x468c49(0x29b)](_0x182d7b){const _0x356886=_0x468c49;var _0x15b679;const _0x3f2c19=((_0x15b679=this[_0x356886(0x202)])==null?void 0x0:_0x15b679['xAxisTitle'])||{};return this['setOptions'](_0x356886(0x272),{..._0x3f2c19,..._0x182d7b}),this;}[_0x468c49(0x27a)](_0x4602b2){const _0x399347=_0x468c49;var _0x1ae5f7;const _0x1257ee=((_0x1ae5f7=this['options'])==null?void 0x0:_0x1ae5f7[_0x399347(0x226)])||{};return this[_0x399347(0x25a)](_0x399347(0x226),{..._0x1257ee,..._0x4602b2}),this;}[_0x468c49(0x271)](_0x2a0502){const _0x3c8994=_0x468c49;var _0x22c2dc;const _0x4c6e0f=((_0x22c2dc=this['options'])==null?void 0x0:_0x22c2dc[_0x3c8994(0x1fe)])||{};return this[_0x3c8994(0x25a)](_0x3c8994(0x1fe),{..._0x4c6e0f,..._0x2a0502}),this;}['setInvalidValueStrategy'](_0x44bb09){const _0x5389aa=_0x468c49;return this['setOptions'](_0x5389aa(0x244),_0x44bb09),this;}[_0x468c49(0x22c)](_0x264aab){const _0x117a2c=_0x468c49;return this[_0x117a2c(0x25a)](_0x117a2c(0x241),_0x264aab),this;}[_0x468c49(0x1fb)](_0x4481ed){const _0x40c7f=_0x468c49;return this[_0x40c7f(0x25a)](_0x40c7f(0x25d),_0x4481ed),this;}[_0x468c49(0x286)](_0x1974b1,_0x292903){const _0x2868f2=_0x468c49;return this[_0x2868f2(0x25a)](_0x2868f2(0x1e5),{[_0x1974b1]:_0x292903}),this;}['build'](){const _0x4adfab=_0x468c49;var _0x26ffa6;let _0x5b3ac6=this[_0x4adfab(0x1ce)];if(this[_0x4adfab(0x28f)]){const _0x24f2d5=(_0x26ffa6=this[_0x4adfab(0x25c)]['getSheetBySheetName'](this[_0x4adfab(0x28f)]))==null?void 0x0:_0x26ffa6[_0x4adfab(0x222)]();if(!_0x24f2d5)throw new Error(_0x4adfab(0x22e)+this['sourceSheetName']+_0x4adfab(0x267));_0x5b3ac6=_0x24f2d5;}return{'unitId':this[_0x4adfab(0x263)],'subUnitId':_0x5b3ac6,'chartId':this['chartId'],'range':this['range'],'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0x4adfab(0x21b)],'chartType':this[_0x4adfab(0x28b)],'options':this[_0x4adfab(0x202)],'isRowDirection':this[_0x4adfab(0x266)]};}}class _0x2fd813{constructor(_0x364893,_0x13b7f3,_0x233886,_0x4c1f5c){const _0x493c82=_0x468c49;_0x4a73e7(this,_0x493c82(0x263)),_0x4a73e7(this,_0x493c82(0x1ce)),_0x4a73e7(this,_0x493c82(0x1f4)),_0x4a73e7(this,_0x493c82(0x25e)),(this[_0x493c82(0x263)]=_0x364893,this['subUnitId']=_0x13b7f3,this[_0x493c82(0x1f4)]=_0x233886,this[_0x493c82(0x25e)]=_0x4c1f5c);}[_0x468c49(0x225)](){return this['chartId'];}[_0x468c49(0x296)](){const _0x38ff12=_0x468c49,_0x9b0885=this['_injector'][_0x38ff12(0x21f)](_0x28f2fb[_0x38ff12(0x257)])[_0x38ff12(0x284)](this[_0x38ff12(0x1f4)]);if(_0x9b0885)return _0x9b0885[_0x38ff12(0x229)]['getRangeInfo']();}[_0x468c49(0x28a)](_0x4b09e2){const _0x58d072=_0x468c49;return this['_injector']['get'](_0x28ac5e[_0x58d072(0x23e)])[_0x58d072(0x262)](_0x28f2fb[_0x58d072(0x299)]['id'],{'unitId':this[_0x58d072(0x263)],'chartModelId':this['chartId'],'range':_0x4b09e2});}[_0x468c49(0x20c)](){const _0x551f84=_0x468c49;var _0x16a507;const _0x18666c=this[_0x551f84(0x25e)][_0x551f84(0x21f)](_0x28f2fb[_0x551f84(0x257)])[_0x551f84(0x284)](this['chartId']);if(_0x18666c)return(_0x16a507=_0x18666c[_0x551f84(0x291)])==null?void 0x0:_0x16a507['series'];}[_0x468c49(0x20a)](){const _0x1f2f6b=_0x468c49;var _0x28f02f;const _0x417732=this[_0x1f2f6b(0x25e)][_0x1f2f6b(0x21f)](_0x28f2fb[_0x1f2f6b(0x257)])[_0x1f2f6b(0x284)](this[_0x1f2f6b(0x1f4)]);if(_0x417732)return(_0x28f02f=_0x417732[_0x1f2f6b(0x291)])==null?void 0x0:_0x28f02f['category'];}['modify'](){const _0x634578=_0x468c49,_0x25b374=this[_0x634578(0x25e)][_0x634578(0x21f)](_0x28ac5e[_0x634578(0x1cd)])[_0x634578(0x23f)](_0x28ac5e[_0x634578(0x1ee)][_0x634578(0x1d3)]);return new _0x4c7cb0(this[_0x634578(0x263)],this[_0x634578(0x1ce)],_0x25b374,this[_0x634578(0x25e)],this[_0x634578(0x1f4)]);}}class _0x3164b9 extends _0x51d57a['FWorksheet']{async['insertChart'](_0xf293ae){const _0x18192c=_0x468c49;var _0x4cace3,_0x11d704,_0x1ca12a;const _0x1aba19=_0xf293ae[_0x18192c(0x263)]||this[_0x18192c(0x1d2)]()[_0x18192c(0x289)](),_0x3d87db=_0xf293ae[_0x18192c(0x1ce)]||this[_0x18192c(0x222)](),_0x1f3bac=_0xf293ae[_0x18192c(0x1f4)]||_0x28ac5e[_0x18192c(0x1e0)](),_0x9c4ffc=_0xf293ae[_0x18192c(0x28b)],_0x42be21=_0xf293ae[_0x18192c(0x1dd)],_0x19b6ee={'x':_0xf293ae['x'],'y':_0xf293ae['y']},_0x4a91c7=_0xf293ae[_0x18192c(0x22a)],_0x1574c7=_0xf293ae[_0x18192c(0x21b)],_0x35844c=(_0x4cace3=_0xf293ae[_0x18192c(0x202)])==null?void 0x0:_0x4cace3[_0x18192c(0x255)],_0x355bfe=(_0x11d704=_0xf293ae[_0x18192c(0x202)])==null?void 0x0:_0x11d704[_0x18192c(0x1d6)],_0x32179d=_0x4b385a(_0x1aba19,_0x1f3bac,_0x9c4ffc,_0xf293ae[_0x18192c(0x202)]),_0x54cbf0=(_0x1ca12a=_0xf293ae[_0x18192c(0x245)])!=null?_0x1ca12a:!0x0;if(!_0x42be21)throw new Error(_0x18192c(0x227));return await this[_0x18192c(0x251)][_0x18192c(0x262)](_0x3faa1e['InsertChartCommand']['id'],{'unitId':_0x1aba19,'subUnitId':_0x3d87db,'chartId':_0x1f3bac,'chartType':_0x9c4ffc,'range':_0x42be21,'position':_0x19b6ee,'width':_0x4a91c7,'height':_0x1574c7,'backgroundColor':_0x35844c,'borderColor':_0x355bfe,'config':_0x32179d,'isRowDirection':_0x54cbf0}),new _0x2fd813(_0x1aba19,_0x3d87db,_0x1f3bac,this[_0x18192c(0x25e)]);}['updateChart'](_0x4751f8){const _0x1cf9b6=_0x468c49,{unitId:_0x41572d,chartId:_0x2f2f7c,chartType:_0x4a14a8,options:_0x4a7473}=_0x4751f8,_0x436880=_0x4b385a(_0x41572d,_0x2f2f7c,_0x4a14a8,_0x4a7473);this[_0x1cf9b6(0x251)][_0x1cf9b6(0x262)](_0x28f2fb[_0x1cf9b6(0x24e)]['id'],_0x436880);}[_0x468c49(0x23c)](_0x312421){const _0x48aa76=_0x468c49;if(_0x312421)return new _0x4c7cb0(_0x312421[_0x48aa76(0x263)],_0x312421['subUnitId'],this[_0x48aa76(0x25c)],this[_0x48aa76(0x25e)],_0x312421[_0x48aa76(0x1f4)]);const _0x1c02ca=this[_0x48aa76(0x1d2)]()[_0x48aa76(0x289)](),_0x34dccc=this[_0x48aa76(0x222)]();return new _0x4c7cb0(_0x1c02ca,_0x34dccc,this['_workbook'],this[_0x48aa76(0x25e)]);}[_0x468c49(0x27c)](){const _0x4bd14f=_0x468c49,_0x434e6e=this['_injector'][_0x4bd14f(0x21f)](_0x28f2fb[_0x4bd14f(0x257)]),_0x5d2ebc=this['getWorkbook']()['getUnitId']();return _0x434e6e['getUnitChartModels'](_0x5d2ebc,this[_0x4bd14f(0x222)]())['map'](_0x174f7e=>new _0x2fd813(_0x5d2ebc,this['getSheetId'](),_0x174f7e['id'],this[_0x4bd14f(0x25e)]));}[_0x468c49(0x1e4)](_0x2b9a4b){const _0x2f9809=_0x468c49,_0x4e6bcd=_0x2b9a4b['unitId'],_0x48e970=_0x2b9a4b[_0x2f9809(0x1ce)],_0x53aaad=_0x2b9a4b[_0x2f9809(0x1f4)],_0x1f71bf={'unitId':_0x4e6bcd,'drawings':[{'unitId':_0x4e6bcd,'subUnitId':_0x48e970,'drawingId':_0x53aaad,'drawingType':_0x28ac5e[_0x2f9809(0x26c)][_0x2f9809(0x239)]}]};return this[_0x2f9809(0x251)]['executeCommand'](_0x109214[_0x2f9809(0x276)]['id'],_0x1f71bf);}[_0x468c49(0x258)](_0x37e776,_0x5f0840){const _0x4f3f1e=_0x468c49;this[_0x4f3f1e(0x25e)][_0x4f3f1e(0x21f)](_0x28f2fb[_0x4f3f1e(0x283)])[_0x4f3f1e(0x1e7)](_0x37e776,_0x5f0840);}}_0x51d57a['FWorksheet'][_0x468c49(0x21e)](_0x3164b9);class _0x2bbdd4 extends _0x4c7cb0{constructor(_0x4d8a5e,_0x5bbc5e,_0x4271f6,_0x1da10e,_0x40a5f7){const _0x8e712d=_0x468c49;super(_0x4d8a5e,_0x5bbc5e,_0x4271f6,_0x1da10e,_0x40a5f7),_0x4a73e7(this,_0x8e712d(0x24f)),_0x4a73e7(this,'dataPointShape'),_0x4a73e7(this,_0x8e712d(0x20e)),_0x4a73e7(this,'dataPointSize');}[_0x468c49(0x275)](_0x5e3b91){const _0x4b3e78=_0x468c49;return this[_0x4b3e78(0x24f)]=_0x5e3b91,this;}[_0x468c49(0x282)](_0x5ba01b){const _0x405f7c=_0x468c49;return this[_0x405f7c(0x28d)]=_0x5ba01b,this;}[_0x468c49(0x214)](_0x58e043){const _0x4d87bf=_0x468c49;return this[_0x4d87bf(0x20e)]=_0x58e043,this;}[_0x468c49(0x1d1)](_0x36205c){const _0x4142cc=_0x468c49;return this[_0x4142cc(0x1df)]=_0x36205c,this;}[_0x468c49(0x252)](){const _0x57187f=_0x468c49,_0x1e4f77=super['build']();_0x1e4f77[_0x57187f(0x28b)]=_0x28f2fb[_0x57187f(0x1de)][_0x57187f(0x1ff)];const _0x34d77c=_0x1e4f77[_0x57187f(0x202)]||{};return _0x49b778(_0x34d77c,_0x57187f(0x1e2),this[_0x57187f(0x24f)]),_0x49b778(_0x34d77c,'allSeriesStyle.point.shape',this[_0x57187f(0x28d)]),_0x49b778(_0x34d77c,_0x57187f(0x221),this['dataPointColor']),_0x49b778(_0x34d77c,'allSeriesStyle.point.size',this[_0x57187f(0x1df)]),_0x1e4f77[_0x57187f(0x202)]=_0x34d77c,_0x1e4f77;}}class _0x573466 extends _0x4c7cb0{['asLineChart'](){const _0x77df73=_0x468c49;return new _0x2bbdd4(this['unitId'],this[_0x77df73(0x1ce)],this['_workbook'],this[_0x77df73(0x25e)],this[_0x77df73(0x1f4)]);}}_0x4c7cb0['extend'](_0x573466);class _0x2bd7da extends _0x4c7cb0{constructor(_0x1f511b,_0x52663a,_0x25bb80,_0x29d22d,_0x3077b7){const _0x4bdd37=_0x468c49;super(_0x1f511b,_0x52663a,_0x25bb80,_0x29d22d,_0x3077b7),_0x4a73e7(this,_0x4bdd37(0x26e)),_0x4a73e7(this,_0x4bdd37(0x1d6)),_0x4a73e7(this,_0x4bdd37(0x215)),_0x4a73e7(this,_0x4bdd37(0x22d)),_0x4a73e7(this,_0x4bdd37(0x26b)),_0x4a73e7(this,'showLabelLine');}[_0x468c49(0x219)](_0x3b29f3){const _0x227549=_0x468c49;return this[_0x227549(0x26e)]=_0x3b29f3,this;}[_0x468c49(0x297)](_0x249120){const _0x509dcd=_0x468c49;return this[_0x509dcd(0x1d6)]=_0x249120,this;}['setHasPaddingAngle'](_0x3406ff){const _0x467ae6=_0x468c49;return this[_0x467ae6(0x215)]=_0x3406ff,this;}['setIsHalfPie'](_0x3e1501){const _0x4b9650=_0x468c49;return this[_0x4b9650(0x22d)]=_0x3e1501,this;}['setRosePie'](_0x4d6799){const _0x5d8529=_0x468c49;return this[_0x5d8529(0x26b)]=_0x4d6799,this;}[_0x468c49(0x24a)](_0x47c048){return this['showLabelLine']=_0x47c048,this;}['build'](){const _0x56c492=_0x468c49,_0x183eee=super[_0x56c492(0x252)]();_0x183eee['chartType']=_0x28f2fb[_0x56c492(0x1de)]['Pie'];const _0x307041=_0x183eee[_0x56c492(0x202)]||{};return _0x49b778(_0x307041,_0x56c492(0x242),this['doughnutHole']),_0x49b778(_0x307041,_0x56c492(0x27f),this[_0x56c492(0x1d6)]),_0x49b778(_0x307041,_0x56c492(0x233),this[_0x56c492(0x215)]),_0x49b778(_0x307041,'pie.isHalfPie',this[_0x56c492(0x22d)]),_0x49b778(_0x307041,_0x56c492(0x278),this[_0x56c492(0x26b)]),_0x49b778(_0x307041,_0x56c492(0x26a),this[_0x56c492(0x208)]),_0x183eee[_0x56c492(0x202)]=_0x307041,_0x183eee;}}class _0x3a50d0 extends _0x4c7cb0{[_0x468c49(0x228)](){const _0x2af971=_0x468c49;return new _0x2bd7da(this[_0x2af971(0x263)],this[_0x2af971(0x1ce)],this[_0x2af971(0x25c)],this[_0x2af971(0x25e)],this['chartId']);}}_0x4c7cb0[_0x468c49(0x21e)](_0x3a50d0);class _0x4e41c8 extends _0x4c7cb0{constructor(_0x3f9909,_0x1fe264,_0x2d436a,_0x19214d,_0x1a9968){const _0x391122=_0x468c49;super(_0x3f9909,_0x1fe264,_0x2d436a,_0x19214d,_0x1a9968),_0x4a73e7(this,_0x391122(0x1f8)),_0x4a73e7(this,_0x391122(0x237));}[_0x468c49(0x25f)](_0xafae98){const _0x2334ba=_0x468c49;return this[_0x2334ba(0x1f8)]=_0xafae98,this;}['setFill'](_0x238d8e){const _0x3f453d=_0x468c49;return this[_0x3f453d(0x237)]=_0x238d8e,this;}[_0x468c49(0x252)](){const _0xf3b7c4=_0x468c49,_0x33381a=super['build']();_0x33381a['chartType']=_0x28f2fb[_0xf3b7c4(0x1de)][_0xf3b7c4(0x1db)];const _0x5132ea=_0x33381a[_0xf3b7c4(0x202)]||{};return _0x49b778(_0x5132ea,_0xf3b7c4(0x218),this[_0xf3b7c4(0x1f8)]),_0x49b778(_0x5132ea,_0xf3b7c4(0x1da),this[_0xf3b7c4(0x237)]),_0x33381a['options']=_0x5132ea,_0x33381a;}}class _0x2b07df extends _0x4c7cb0{[_0x468c49(0x1f0)](){const _0x1e2c14=_0x468c49;return new _0x4e41c8(this['unitId'],this[_0x1e2c14(0x1ce)],this[_0x1e2c14(0x25c)],this[_0x1e2c14(0x25e)],this['chartId']);}}_0x4c7cb0['extend'](_0x2b07df),_0x343f69[_0x468c49(0x26d)]=_0x2fd813,_0x343f69['FChartBuilderBase']=_0x4c7cb0,_0x343f69['LineChartBuilder']=_0x2bbdd4,_0x343f69[_0x468c49(0x250)]=_0x2bd7da,_0x343f69[_0x468c49(0x1e3)]=_0x4e41c8,Object[_0x468c49(0x217)](_0x343f69,Symbol[_0x468c49(0x264)],{'value':_0x468c49(0x211)});}));