@univerjs-pro/sheets-chart-ui 0.6.4 → 0.6.5

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 (87) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +1 -1
  20. package/lib/types/commands/commands/sheets-chart.command.d.ts +2 -1
  21. package/lib/types/controllers/chart-host-provider.controller.d.ts +1 -1
  22. package/lib/types/controllers/chart-render.controller.d.ts +4 -2
  23. package/lib/types/facade/chart-builder/builder-util.d.ts +2 -1
  24. package/lib/types/facade/chart-builder/chart-builder-base.d.ts +1 -1
  25. package/lib/types/facade/chart-builder/line-chart-builder.d.ts +1 -1
  26. package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +1 -1
  27. package/lib/types/facade/f-chart.d.ts +2 -1
  28. package/lib/types/facade/f-enum.d.ts +1 -1
  29. package/lib/types/facade/f-worksheet.d.ts +1 -1
  30. package/lib/types/services/chart-render.service.d.ts +4 -3
  31. package/lib/types/services/sheets-chart-ui.service.d.ts +10 -4
  32. package/lib/types/util.d.ts +2 -1
  33. package/lib/types/views/chart-edit-panel/options.d.ts +1 -1
  34. package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +1 -1
  35. package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +1 -1
  36. package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +1 -1
  37. package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +1 -1
  38. package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +1 -1
  39. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +1 -1
  40. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +1 -1
  41. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +1 -1
  42. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/const.d.ts +1 -1
  43. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +1 -1
  44. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/widgets.d.ts +1 -1
  45. package/lib/umd/facade.js +1 -1
  46. package/lib/umd/index.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +19 -18
  55. package/lib/types/models/converters/combination-chart-converter.d.ts +0 -3
  56. package/lib/types/models/converters/constants.d.ts +0 -7
  57. package/lib/types/models/converters/pie-chart-converter.d.ts +0 -3
  58. package/lib/types/models/converters/radar-chart-converter.d.ts +0 -3
  59. package/lib/types/models/converters/tools.d.ts +0 -5
  60. package/lib/types/models/echart-render-engine.d.ts +0 -27
  61. package/lib/types/models/echart-render-model.d.ts +0 -18
  62. package/lib/types/models/index.d.ts +0 -1
  63. package/lib/types/models/interface.d.ts +0 -33
  64. package/lib/types/models/render-spec-operators/axis-title.operator.d.ts +0 -2
  65. package/lib/types/models/render-spec-operators/chart-axes.operator.d.ts +0 -2
  66. package/lib/types/models/render-spec-operators/chart-box-style.operator.d.ts +0 -2
  67. package/lib/types/models/render-spec-operators/empty-style-operator.d.ts +0 -2
  68. package/lib/types/models/render-spec-operators/font-size.operator.d.ts +0 -2
  69. package/lib/types/models/render-spec-operators/grid-operator.d.ts +0 -2
  70. package/lib/types/models/render-spec-operators/hover-mark-style.operator.d.ts +0 -2
  71. package/lib/types/models/render-spec-operators/index.d.ts +0 -13
  72. package/lib/types/models/render-spec-operators/invalid-value-style.operator.d.ts +0 -2
  73. package/lib/types/models/render-spec-operators/legend-style.operator.d.ts +0 -2
  74. package/lib/types/models/render-spec-operators/line-like-style.operator.d.ts +0 -2
  75. package/lib/types/models/render-spec-operators/operator-types.d.ts +0 -7
  76. package/lib/types/models/render-spec-operators/pie-style.operator.d.ts +0 -2
  77. package/lib/types/models/render-spec-operators/radar-style.operator.d.ts +0 -2
  78. package/lib/types/models/render-spec-operators/scatter-style.operator.d.ts +0 -2
  79. package/lib/types/models/render-spec-operators/series-style-operator/series-chart-style.handler.d.ts +0 -2
  80. package/lib/types/models/render-spec-operators/series-style-operator/series-data-label.handler.d.ts +0 -2
  81. package/lib/types/models/render-spec-operators/series-style-operator/series-style-operator.d.ts +0 -11
  82. package/lib/types/models/render-spec-operators/stack.operator.d.ts +0 -2
  83. package/lib/types/models/render-spec-operators/theme.operator.d.ts +0 -2
  84. package/lib/types/models/render-spec-operators/title-style.operator.d.ts +0 -2
  85. package/lib/types/models/render-spec-operators/tool-tip-operator.d.ts +0 -2
  86. package/lib/types/models/render-spec-operators/tools.d.ts +0 -14
  87. package/lib/types/models/render-spec-operators/watermark.operator.d.ts +0 -2
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x5a4255=_0x5ba7;(function(_0x20732e,_0x272eb8){const _0x254228=_0x5ba7,_0x1937a8=_0x20732e();while(!![]){try{const _0x562363=parseInt(_0x254228(0x1f8))/0x1+parseInt(_0x254228(0x215))/0x2+parseInt(_0x254228(0x28b))/0x3+-parseInt(_0x254228(0x213))/0x4*(-parseInt(_0x254228(0x22b))/0x5)+parseInt(_0x254228(0x247))/0x6+parseInt(_0x254228(0x292))/0x7*(parseInt(_0x254228(0x216))/0x8)+parseInt(_0x254228(0x233))/0x9*(-parseInt(_0x254228(0x221))/0xa);if(_0x562363===_0x272eb8)break;else _0x1937a8['push'](_0x1937a8['shift']());}catch(_0x31a010){_0x1937a8['push'](_0x1937a8['shift']());}}}(_0x197a,0xccd9b));var b=Object['defineProperty'],k=(_0x123cc8,_0x3e749d,_0x342ca5)=>_0x3e749d in _0x123cc8?b(_0x123cc8,_0x3e749d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x342ca5}):_0x123cc8[_0x3e749d]=_0x342ca5,n=(_0xf39b23,_0x338015,_0x55e391)=>k(_0xf39b23,typeof _0x338015!=_0x5a4255(0x229)?_0x338015+'':_0x338015,_0x55e391);import{setProperty as _0x213778,SheetsChartService as _0x430bd4,ChartUpdateSourceCommand as _0xda746d,ChartUpdateConfigCommand as _0x3bad65,ChartThemeService as _0x43fdc2,ChartTypeBits as _0x113ff4,LegendPositionEnum as _0x815058,SelectModeEnum as _0xb2f9f0,AxisAlignEnum as _0x2a1afa,ChartBorderDashType as _0x2bc20e,LinePointShape as _0x10af85,TitlePositionEnum as _0x15daf0,RadarShape as _0x1e91b8}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x48d8a6}from'@univerjs-pro/sheets-chart-ui';function _0x5ba7(_0x2c1d8e,_0x28f1d0){const _0x197af7=_0x197a();return _0x5ba7=function(_0x5ba743,_0x53af26){_0x5ba743=_0x5ba743-0x1f0;let _0x172cdd=_0x197af7[_0x5ba743];return _0x172cdd;},_0x5ba7(_0x2c1d8e,_0x28f1d0);}import{ICommandService as _0x13ce8f,IUniverInstanceService as _0x247c4a,UniverInstanceType as _0x241ea3,generateRandomId as _0x2e4249,DrawingTypeEnum as _0x52fe22}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1599fb}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x399eb2}from'@univerjs/sheets/facade';import{FBase as _0x3f3524,FEnum as _0x577fcc}from'@univerjs/core/facade';function _0x197a(){const _0x52610d=['fontSize','Sheet\x20','doughnutHole','getUnitChartModels','axisAlignment','isHalfPie','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','string','setChartType','_commandService','setBorderColor','setRosePie','rosePie','xAxis','height','2603884fRfEMJ','options','513852nyoAQA','8fsclKk','setShowLabelLine','pie.rosePie','setYAxisTitle','range','sourceSheetName','yRightAxis','setRightYAxisTitle','gradientFill','getCharts','titleAlignment','24469750fNYzFu','with','updateChart','indicatorLineColor','allSeriesStyle.label','allSeriesStyle.point.color','setWidth','titles.rightYAxisTitle.family','symbol','seriesStyleMap','5SmLYaa','italic','extend','AxisAlignEnum','get','chartId','getSheetBySheetName','area.lineStyle','9dldwBa','xAxisTitle','setLineStyle','getWorkbook','getRange','color','allSeriesStyle.point.shape','TitlePositionEnum','setTheme','bold','titles.title.align','setAxisPointerStyle','LinePointShape','yAxis.label.axisTitleAlign','DRAWING_CHART','setAbsolutePosition','length','build','chartType','setXAxisTitle','5780028xHYWZj','pie.hasPaddingAngle','position','titles.title.font','rightYAxis.label.axisTitleAlign','setHeight','titles.title.color','insertChart','indicatorLineType','legend.label.fontSize','SelectModeEnum','Radar','titles.rightYAxisTitle.fontSize','yAxis','getChartModel','pie','updateRange','xAxis.label.axisTitleAlign','dataPointSize','titles.yAxisTitle.family','titles.yAxisTitle.color','yAxisTitle','titles.title.family','setFill','setDataPointShape','backgroundColor','getCurrentUnitForType','hasPaddingAngle','content','indicatorLabelTextColor','registerChartTheme','isRowDirection','allSeriesStyle','_injector','title','setRightYAxisTextStyle','style','keys','titles.yAxisTitle.content','titles.title.bold','getRenderById','titles.titlePosition','titles.yAxisTitle.bold','radar.fill','titles.title.fontSize','titles.xAxisTitle.content','ChartBorderDashType','tooltip.indicatorLineType','newChart','setDoughnutHole','Pie','titles.yAxisTitle.font','fill','pie.isHalfPie','fontColor','asRadarChart','dataPointColor','theme','subUnitId','radar','titles.xAxisTitle.fontSize','rightYAxis','getSheetId','Line','titles.rightYAxisTitle.bold','setInvalidValueStrategy','setSeriesStyle','titles.rightYAxisTitle.color','3708378OWCEJt','allSeriesStyle.point','removeChart','pie.doughnutHole','legend.selectMode','titles.title.content','invalidValueType','786681QQmccJ','dataSource','setTransposeRowsAndColumns','legend.label.italic','indicatorLabelColor','setDataPointSize','shape','width','borderColor','tooltip.indicatorLabelColor','dataPointShape','tooltip.indicatorLineColor','transposeRowsAndColumns','tooltip.indicatorLabelTextColor','context','fontStyle','config','legend','UNIVER_SHEET','pie.showLabelLine','font','sheetName','getUnitId','pie.borderColor','setYAxisTextStyle','getChartId','setShape','66298ogTjwE','asPieChart','area','_workbook','radar.shape','showLabelLine','setOptions','getCategoryData','unitId','lineStyle','executeCommand','rightYAxisTitle'];_0x197a=function(){return _0x52610d;};return _0x197a();}import{deserializeRangeWithSheet as _0x109a93}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4a661b}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x427015,SheetSkeletonManagerService as _0x338758,convertPositionCellToSheetOverGrid as _0x1130ae}from'@univerjs/sheets-ui';const s=(_0x1d5eef,_0x2896ba,_0x290b7d)=>{_0x290b7d!==void 0x0&&_0x213778(_0x1d5eef,_0x2896ba,_0x290b7d);},C=(_0x1cd700,_0x11a20f,_0x41e3d8,_0x3f4959={})=>{const _0x1cd8cc=_0x5a4255,_0xa89855={},_0x3ac172={};if(_0x3f4959[_0x1cd8cc(0x269)]){const _0x2f3277=_0x3f4959[_0x1cd8cc(0x269)];s(_0xa89855,_0x1cd8cc(0x290),_0x2f3277['content']),s(_0xa89855,_0x1cd8cc(0x24a),_0x2f3277[_0x1cd8cc(0x1f1)]),s(_0xa89855,_0x1cd8cc(0x273),_0x2f3277[_0x1cd8cc(0x204)]),s(_0xa89855,_0x1cd8cc(0x24d),_0x2f3277[_0x1cd8cc(0x27d)]),s(_0xa89855,_0x1cd8cc(0x25d),_0x2f3277['fontStyle']),s(_0xa89855,_0x1cd8cc(0x26e),_0x2f3277[_0x1cd8cc(0x23c)]),s(_0xa89855,_0x1cd8cc(0x23d),_0x2f3277[_0x1cd8cc(0x220)]),s(_0xa89855,_0x1cd8cc(0x270),_0x2f3277[_0x1cd8cc(0x249)]);}if(_0x3f4959[_0x1cd8cc(0x2a3)]){const _0x3fe361=_0x3f4959[_0x1cd8cc(0x2a3)];s(_0xa89855,'legend.position',_0x3fe361[_0x1cd8cc(0x249)]),s(_0xa89855,_0x1cd8cc(0x28f),_0x3fe361['selectMode']),s(_0xa89855,_0x1cd8cc(0x250),_0x3fe361[_0x1cd8cc(0x204)]),s(_0xa89855,'legend.label.color',_0x3fe361[_0x1cd8cc(0x238)]),s(_0xa89855,'legend.label.bold',_0x3fe361[_0x1cd8cc(0x23c)]),s(_0xa89855,_0x1cd8cc(0x295),_0x3fe361[_0x1cd8cc(0x22c)]);}if(_0x3f4959[_0x1cd8cc(0x256)]){const _0x22fd44=_0x3f4959[_0x1cd8cc(0x256)];s(_0xa89855,_0x1cd8cc(0x28e),_0x22fd44[_0x1cd8cc(0x206)]),s(_0xa89855,'pie.borderColor',_0x22fd44[_0x1cd8cc(0x29a)]),s(_0xa89855,_0x1cd8cc(0x248),_0x22fd44[_0x1cd8cc(0x262)]),s(_0xa89855,'pie.isHalfPie',_0x22fd44[_0x1cd8cc(0x209)]),s(_0xa89855,_0x1cd8cc(0x218),_0x22fd44[_0x1cd8cc(0x210)]),s(_0xa89855,_0x1cd8cc(0x1f0),_0x22fd44[_0x1cd8cc(0x1fd)]);}if(_0x3f4959['axisPointer']){const _0x1b6c9a=_0x3f4959['axisPointer'];s(_0xa89855,_0x1cd8cc(0x29b),_0x1b6c9a[_0x1cd8cc(0x296)]),s(_0xa89855,_0x1cd8cc(0x276),_0x1b6c9a[_0x1cd8cc(0x24f)]),s(_0xa89855,_0x1cd8cc(0x29d),_0x1b6c9a[_0x1cd8cc(0x224)]),s(_0xa89855,_0x1cd8cc(0x29f),_0x1b6c9a[_0x1cd8cc(0x264)]);}if(_0x3f4959[_0x1cd8cc(0x267)]&&(s(_0xa89855,'allSeriesStyle.border',_0x3f4959[_0x1cd8cc(0x267)]['border']),s(_0xa89855,_0x1cd8cc(0x225),_0x3f4959[_0x1cd8cc(0x267)]['label']),s(_0xa89855,'allSeriesStyle.rightYAxis',_0x3f4959[_0x1cd8cc(0x267)][_0x1cd8cc(0x284)]),s(_0xa89855,_0x1cd8cc(0x28c),_0x3f4959[_0x1cd8cc(0x267)]['point']),s(_0xa89855,'allSeriesStyle.color',_0x3f4959[_0x1cd8cc(0x267)][_0x1cd8cc(0x238)])),_0x3f4959[_0x1cd8cc(0x1fa)]&&s(_0xa89855,_0x1cd8cc(0x232),_0x3f4959[_0x1cd8cc(0x1fa)][_0x1cd8cc(0x201)]),_0x3f4959[_0x1cd8cc(0x280)]&&s(_0xa89855,_0x1cd8cc(0x280),_0x3f4959[_0x1cd8cc(0x280)]),_0x3f4959[_0x1cd8cc(0x260)]&&s(_0xa89855,'backgroundColor',_0x3f4959['backgroundColor']),_0x3f4959[_0x1cd8cc(0x29a)]&&s(_0xa89855,_0x1cd8cc(0x29a),_0x3f4959[_0x1cd8cc(0x29a)]),_0x3f4959[_0x1cd8cc(0x21e)]&&s(_0xa89855,_0x1cd8cc(0x21e),_0x3f4959[_0x1cd8cc(0x21e)]),_0x3f4959[_0x1cd8cc(0x291)]&&s(_0xa89855,'invalidValueType',_0x3f4959[_0x1cd8cc(0x291)]),_0x3f4959['radar']&&s(_0xa89855,_0x1cd8cc(0x282),_0x3f4959[_0x1cd8cc(0x282)]),_0x3f4959[_0x1cd8cc(0x234)]){const _0x29eb5e=_0x3f4959[_0x1cd8cc(0x234)];s(_0xa89855,_0x1cd8cc(0x274),_0x29eb5e['content']),s(_0xa89855,'titles.xAxisTitle.font',_0x29eb5e[_0x1cd8cc(0x1f1)]),s(_0xa89855,_0x1cd8cc(0x283),_0x29eb5e[_0x1cd8cc(0x204)]),s(_0xa89855,'titles.xAxisTitle.color',_0x29eb5e[_0x1cd8cc(0x27d)]),s(_0xa89855,'titles.xAxisTitle.family',_0x29eb5e[_0x1cd8cc(0x2a1)]),s(_0xa89855,'titles.xAxisTitle.bold',_0x29eb5e[_0x1cd8cc(0x23c)]),s(_0xa89855,_0x1cd8cc(0x258),_0x29eb5e[_0x1cd8cc(0x208)]);}if(_0x3f4959[_0x1cd8cc(0x25c)]){const _0x3f461d=_0x3f4959[_0x1cd8cc(0x25c)];s(_0xa89855,_0x1cd8cc(0x26d),_0x3f461d[_0x1cd8cc(0x263)]),s(_0xa89855,_0x1cd8cc(0x27a),_0x3f461d['font']),s(_0xa89855,'titles.yAxisTitle.fontSize',_0x3f461d[_0x1cd8cc(0x204)]),s(_0xa89855,_0x1cd8cc(0x25b),_0x3f461d[_0x1cd8cc(0x27d)]),s(_0xa89855,_0x1cd8cc(0x25a),_0x3f461d[_0x1cd8cc(0x2a1)]),s(_0xa89855,_0x1cd8cc(0x271),_0x3f461d[_0x1cd8cc(0x23c)]),s(_0xa89855,_0x1cd8cc(0x240),_0x3f461d[_0x1cd8cc(0x208)]);}if(_0x3f4959[_0x1cd8cc(0x203)]){const _0x35e6cb=_0x3f4959[_0x1cd8cc(0x203)];s(_0xa89855,'titles.rightYAxisTitle.content',_0x35e6cb[_0x1cd8cc(0x263)]),s(_0xa89855,'titles.rightYAxisTitle.font',_0x35e6cb[_0x1cd8cc(0x1f1)]),s(_0xa89855,_0x1cd8cc(0x253),_0x35e6cb['fontSize']),s(_0xa89855,_0x1cd8cc(0x28a),_0x35e6cb['fontColor']),s(_0xa89855,_0x1cd8cc(0x228),_0x35e6cb['fontStyle']),s(_0xa89855,_0x1cd8cc(0x287),_0x35e6cb[_0x1cd8cc(0x23c)]),s(_0xa89855,_0x1cd8cc(0x24b),_0x35e6cb[_0x1cd8cc(0x208)]);}_0x3f4959[_0x1cd8cc(0x211)]&&s(_0xa89855,_0x1cd8cc(0x211),_0x3f4959[_0x1cd8cc(0x211)]),_0x3f4959[_0x1cd8cc(0x254)]&&s(_0xa89855,_0x1cd8cc(0x254),_0x3f4959[_0x1cd8cc(0x254)]),_0x3f4959['yRightAxis']&&s(_0xa89855,_0x1cd8cc(0x284),_0x3f4959[_0x1cd8cc(0x21c)]),_0x3f4959[_0x1cd8cc(0x22a)]&&s(_0xa89855,_0x1cd8cc(0x22a),_0x3f4959[_0x1cd8cc(0x22a)]);const _0xe48e65={'unitId':_0x1cd700,'chartModelId':_0x11a20f};let _0x1508bf=!0x1;if(_0x41e3d8!==void 0x0&&(_0xe48e65[_0x1cd8cc(0x245)]=_0x41e3d8,_0x1508bf=!0x0),Object[_0x1cd8cc(0x26c)](_0xa89855)[_0x1cd8cc(0x243)]>0x0&&(_0xe48e65[_0x1cd8cc(0x26b)]=_0xa89855,_0x1508bf=!0x0),Object[_0x1cd8cc(0x26c)](_0x3ac172)[_0x1cd8cc(0x243)]>0x0&&(_0xe48e65[_0x1cd8cc(0x2a0)]=_0x3ac172,_0x1508bf=!0x0),_0x1508bf)return _0xe48e65;};class c extends _0x3f3524{constructor(_0x231717,_0x59512a,_0x4a886d,_0x50c647,_0x347640){const _0x57b015=_0x5a4255;super(),n(this,_0x57b015(0x1fb)),n(this,'_injector'),n(this,'unitId'),n(this,_0x57b015(0x281)),n(this,_0x57b015(0x230)),n(this,'range'),n(this,_0x57b015(0x21b)),n(this,'x'),n(this,'y'),n(this,_0x57b015(0x299)),n(this,'height'),n(this,_0x57b015(0x245)),n(this,_0x57b015(0x214)),n(this,_0x57b015(0x29e)),(this[_0x57b015(0x200)]=_0x231717,this[_0x57b015(0x281)]=_0x59512a,this[_0x57b015(0x1fb)]=_0x4a886d,this[_0x57b015(0x268)]=_0x50c647,_0x347640&&(this[_0x57b015(0x230)]=_0x347640));}['getChartType'](){const _0x468dc0=_0x5a4255;return this[_0x468dc0(0x245)];}['addRange'](_0x4d5746){const _0x45feb4=_0x5a4255;if(typeof _0x4d5746==_0x45feb4(0x20b)){const _0x5a408a=_0x109a93(_0x4d5746);_0x5a408a[_0x45feb4(0x1f2)]&&(this[_0x45feb4(0x21b)]=_0x5a408a['sheetName']),this['range']=_0x5a408a[_0x45feb4(0x21a)];}else this[_0x45feb4(0x21a)]=_0x4d5746;return this;}['clearRange'](){const _0x92be00=_0x5a4255;return this[_0x92be00(0x21a)]=void 0x0,this[_0x92be00(0x21b)]=void 0x0,this;}['setPosition'](_0x2dcf56,_0x6d674f,_0x2d4181,_0x197bb1){const _0x3f7bc7=_0x5a4255,_0x38c54e=this[_0x3f7bc7(0x268)][_0x3f7bc7(0x22f)](_0x4a661b)[_0x3f7bc7(0x26f)](this['unitId']);if(!_0x38c54e)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0xc007bd=_0x38c54e[_0x3f7bc7(0x222)](_0x427015),_0x3ab226=_0x38c54e[_0x3f7bc7(0x222)](_0x338758),{transform:_0x264b2d}=_0x1130ae(this[_0x3f7bc7(0x200)],this['subUnitId'],{'row':_0x2dcf56,'column':_0x6d674f,'rowOffset':_0x2d4181,'columnOffset':_0x197bb1},0x1,0x1,_0xc007bd,_0x3ab226),_0x65fb0d=_0x264b2d['top'],_0x50cf48=_0x264b2d['left'];return this['x']=_0x50cf48,this['y']=_0x65fb0d,this;}[_0x5a4255(0x242)](_0x560691,_0x41cde6){return this['x']=_0x560691,this['y']=_0x41cde6,this;}[_0x5a4255(0x20c)](_0x40c639){return this['chartType']=_0x40c639,this;}[_0x5a4255(0x227)](_0x52d365){const _0x317fc1=_0x5a4255;return this[_0x317fc1(0x299)]=_0x52d365,this;}[_0x5a4255(0x24c)](_0x157eea){const _0x7a2b62=_0x5a4255;return this[_0x7a2b62(0x212)]=_0x157eea,this;}['setOptions'](_0x3e1201,_0x2d6a9e){const _0x4742ae=_0x5a4255;return this['options']||(this[_0x4742ae(0x214)]={}),_0x3e1201===''?(this[_0x4742ae(0x214)]={...this[_0x4742ae(0x214)],..._0x2d6a9e},this):(_0x213778(this[_0x4742ae(0x214)],_0x3e1201,_0x2d6a9e),this);}[_0x5a4255(0x294)](_0x2c84c0){return this['transposeRowsAndColumns']=_0x2c84c0,this;}[_0x5a4255(0x23b)](_0x199369){const _0x4b7f4a=_0x5a4255;return this[_0x4b7f4a(0x1fe)](_0x4b7f4a(0x280),_0x199369),this;}[_0x5a4255(0x246)](_0x341ac0){const _0x57812f=_0x5a4255;var _0x3e914f;const _0x468986=((_0x3e914f=this[_0x57812f(0x214)])==null?void 0x0:_0x3e914f[_0x57812f(0x234)])||{};return _0x468986[_0x57812f(0x263)]=_0x341ac0,this[_0x57812f(0x1fe)]('xAxisTitle',_0x468986),this;}[_0x5a4255(0x219)](_0x1983ce){const _0x5d905f=_0x5a4255;var _0x5db78e;const _0x52f3e0=((_0x5db78e=this['options'])==null?void 0x0:_0x5db78e[_0x5d905f(0x25c)])||{};return _0x52f3e0[_0x5d905f(0x263)]=_0x1983ce,this['setOptions'](_0x5d905f(0x25c),_0x52f3e0),this;}[_0x5a4255(0x21d)](_0x32c642){const _0x53307d=_0x5a4255;var _0x1d61e4;const _0x32d1b6=((_0x1d61e4=this[_0x53307d(0x214)])==null?void 0x0:_0x1d61e4[_0x53307d(0x203)])||{};return _0x32d1b6['content']=_0x32c642,this[_0x53307d(0x1fe)](_0x53307d(0x203),_0x32d1b6),this;}['setXAxisTextStyle'](_0x226d4b){const _0x59df53=_0x5a4255;var _0x5cdae8;const _0x173d3a=((_0x5cdae8=this[_0x59df53(0x214)])==null?void 0x0:_0x5cdae8['xAxisTitle'])||{};return this[_0x59df53(0x1fe)]('xAxisTitle',{..._0x173d3a,..._0x226d4b}),this;}[_0x5a4255(0x1f5)](_0x9b4ea6){const _0x2816ff=_0x5a4255;var _0x26db6f;const _0x39fbc8=((_0x26db6f=this[_0x2816ff(0x214)])==null?void 0x0:_0x26db6f['yAxisTitle'])||{};return this[_0x2816ff(0x1fe)](_0x2816ff(0x25c),{..._0x39fbc8,..._0x9b4ea6}),this;}[_0x5a4255(0x26a)](_0x68d26d){const _0x19b3b4=_0x5a4255;var _0x9fb6fe;const _0xac0e60=((_0x9fb6fe=this[_0x19b3b4(0x214)])==null?void 0x0:_0x9fb6fe[_0x19b3b4(0x203)])||{};return this[_0x19b3b4(0x1fe)](_0x19b3b4(0x203),{..._0xac0e60,..._0x68d26d}),this;}[_0x5a4255(0x288)](_0x5b3f03){const _0x3a8384=_0x5a4255;return this[_0x3a8384(0x1fe)](_0x3a8384(0x291),_0x5b3f03),this;}[_0x5a4255(0x23e)](_0x52fa35){const _0xc43e55=_0x5a4255;return this[_0xc43e55(0x1fe)]('axisPointer',_0x52fa35),this;}['setAllSeriesStyle'](_0x3d5e99){const _0xe000be=_0x5a4255;return this[_0xe000be(0x1fe)](_0xe000be(0x267),_0x3d5e99),this;}[_0x5a4255(0x289)](_0x3debf4,_0x2a97a0){const _0x5da6a8=_0x5a4255;return this[_0x5da6a8(0x1fe)](_0x5da6a8(0x22a),{[_0x3debf4]:_0x2a97a0}),this;}[_0x5a4255(0x244)](){const _0x27b661=_0x5a4255;var _0x3b7fe4;let _0x86668d=this[_0x27b661(0x281)];if(this['sourceSheetName']){const _0x5df303=(_0x3b7fe4=this[_0x27b661(0x1fb)][_0x27b661(0x231)](this[_0x27b661(0x21b)]))==null?void 0x0:_0x3b7fe4[_0x27b661(0x285)]();if(!_0x5df303)throw new Error(_0x27b661(0x205)+this[_0x27b661(0x21b)]+'\x20not\x20found');_0x86668d=_0x5df303;}return{'unitId':this[_0x27b661(0x200)],'subUnitId':_0x86668d,'chartId':this[_0x27b661(0x230)],'range':this['range'],'x':this['x'],'y':this['y'],'width':this[_0x27b661(0x299)],'height':this['height'],'chartType':this[_0x27b661(0x245)],'options':this[_0x27b661(0x214)],'isRowDirection':this[_0x27b661(0x29e)]};}}class f{constructor(_0xf31b63,_0x3e7002,_0x294580,_0x58762c){const _0x96f901=_0x5a4255;n(this,_0x96f901(0x200)),n(this,_0x96f901(0x281)),n(this,_0x96f901(0x230)),n(this,_0x96f901(0x268)),(this[_0x96f901(0x200)]=_0xf31b63,this[_0x96f901(0x281)]=_0x3e7002,this[_0x96f901(0x230)]=_0x294580,this[_0x96f901(0x268)]=_0x58762c);}[_0x5a4255(0x1f6)](){return this['chartId'];}[_0x5a4255(0x237)](){const _0xc9f9b3=_0x5a4255,_0x4678a1=this[_0xc9f9b3(0x268)][_0xc9f9b3(0x22f)](_0x430bd4)[_0xc9f9b3(0x255)](this[_0xc9f9b3(0x230)]);if(_0x4678a1)return _0x4678a1[_0xc9f9b3(0x293)]['getRangeInfo']();}[_0x5a4255(0x257)](_0x5f323f){const _0x4b6118=_0x5a4255;return this[_0x4b6118(0x268)][_0x4b6118(0x22f)](_0x13ce8f)[_0x4b6118(0x202)](_0xda746d['id'],{'unitId':this['unitId'],'chartModelId':this[_0x4b6118(0x230)],'range':_0x5f323f});}['getSeriesData'](){const _0x321265=_0x5a4255;var _0x12ac84;const _0x4f7891=this[_0x321265(0x268)]['get'](_0x430bd4)[_0x321265(0x255)](this['chartId']);if(_0x4f7891)return(_0x12ac84=_0x4f7891[_0x321265(0x2a2)])==null?void 0x0:_0x12ac84['series'];}[_0x5a4255(0x1ff)](){const _0x31c00e=_0x5a4255;var _0x3b6e05;const _0x1d8888=this[_0x31c00e(0x268)]['get'](_0x430bd4)[_0x31c00e(0x255)](this[_0x31c00e(0x230)]);if(_0x1d8888)return(_0x3b6e05=_0x1d8888[_0x31c00e(0x2a2)])==null?void 0x0:_0x3b6e05['category'];}['modify'](){const _0x23d170=_0x5a4255,_0x2fc47c=this[_0x23d170(0x268)]['get'](_0x247c4a)[_0x23d170(0x261)](_0x241ea3[_0x23d170(0x2a4)]);return new c(this[_0x23d170(0x200)],this[_0x23d170(0x281)],_0x2fc47c,this[_0x23d170(0x268)],this[_0x23d170(0x230)]);}}class Q extends _0x399eb2{async[_0x5a4255(0x24e)](_0x45002a){const _0x17e754=_0x5a4255;var _0x2d2e1d,_0x17c226,_0xaec622;const _0x12b00f=_0x45002a[_0x17e754(0x200)]||this[_0x17e754(0x236)]()[_0x17e754(0x1f3)](),_0x43d8c4=_0x45002a['subUnitId']||this[_0x17e754(0x285)](),_0x52d653=_0x45002a[_0x17e754(0x230)]||_0x2e4249(),_0x104504=_0x45002a[_0x17e754(0x245)],_0x948f78=_0x45002a[_0x17e754(0x21a)],_0xf6296a={'x':_0x45002a['x'],'y':_0x45002a['y']},_0x307487=_0x45002a[_0x17e754(0x299)],_0x48ca8b=_0x45002a['height'],_0x1ad429=(_0x2d2e1d=_0x45002a[_0x17e754(0x214)])==null?void 0x0:_0x2d2e1d[_0x17e754(0x260)],_0x1cee12=(_0x17c226=_0x45002a[_0x17e754(0x214)])==null?void 0x0:_0x17c226['borderColor'],_0x279cc2=C(_0x12b00f,_0x52d653,_0x104504,_0x45002a[_0x17e754(0x214)]),_0x3b62f6=(_0xaec622=_0x45002a[_0x17e754(0x266)])!=null?_0xaec622:!0x0;if(!_0x948f78)throw new Error(_0x17e754(0x20a));return await this[_0x17e754(0x20d)][_0x17e754(0x202)](_0x48d8a6['id'],{'unitId':_0x12b00f,'subUnitId':_0x43d8c4,'chartId':_0x52d653,'chartType':_0x104504,'range':_0x948f78,'position':_0xf6296a,'width':_0x307487,'height':_0x48ca8b,'backgroundColor':_0x1ad429,'borderColor':_0x1cee12,'config':_0x279cc2,'isRowDirection':_0x3b62f6}),new f(_0x12b00f,_0x43d8c4,_0x52d653,this[_0x17e754(0x268)]);}[_0x5a4255(0x223)](_0x1c6256){const _0x1ccb73=_0x5a4255,{unitId:_0x2906a2,chartId:_0x46d695,chartType:_0x5eb201,options:_0x100201}=_0x1c6256,_0x323849=C(_0x2906a2,_0x46d695,_0x5eb201,_0x100201);this[_0x1ccb73(0x20d)][_0x1ccb73(0x202)](_0x3bad65['id'],_0x323849);}[_0x5a4255(0x277)](_0x2c1f03){const _0x586ccc=_0x5a4255;if(_0x2c1f03)return new c(_0x2c1f03['unitId'],_0x2c1f03[_0x586ccc(0x281)],this[_0x586ccc(0x1fb)],this[_0x586ccc(0x268)],_0x2c1f03[_0x586ccc(0x230)]);const _0x2d6f6d=this[_0x586ccc(0x236)]()['getUnitId'](),_0x24b14a=this[_0x586ccc(0x285)]();return new c(_0x2d6f6d,_0x24b14a,this['_workbook'],this[_0x586ccc(0x268)]);}[_0x5a4255(0x21f)](){const _0x1dad8c=_0x5a4255,_0x219772=this[_0x1dad8c(0x268)][_0x1dad8c(0x22f)](_0x430bd4),_0x249643=this['getWorkbook']()[_0x1dad8c(0x1f3)]();return _0x219772[_0x1dad8c(0x207)](_0x249643,this[_0x1dad8c(0x285)]())['map'](_0x5b60a5=>new f(_0x249643,this[_0x1dad8c(0x285)](),_0x5b60a5['id'],this[_0x1dad8c(0x268)]));}[_0x5a4255(0x28d)](_0x37265b){const _0x1d09ff=_0x5a4255,_0x343850=_0x37265b['unitId'],_0x131579=_0x37265b[_0x1d09ff(0x281)],_0x45c593=_0x37265b['chartId'],_0x153dfe={'unitId':_0x343850,'drawings':[{'unitId':_0x343850,'subUnitId':_0x131579,'drawingId':_0x45c593,'drawingType':_0x52fe22[_0x1d09ff(0x241)]}]};return this['_commandService'][_0x1d09ff(0x202)](_0x1599fb['id'],_0x153dfe);}[_0x5a4255(0x265)](_0x1565ec,_0x111353){const _0x63af07=_0x5a4255;this[_0x63af07(0x268)][_0x63af07(0x22f)](_0x43fdc2)['registerTheme'](_0x1565ec,_0x111353);}}_0x399eb2[_0x5a4255(0x22d)](Q);class Z extends _0x577fcc{get['ChartType'](){return _0x113ff4;}get['LegendPositionEnum'](){return _0x815058;}get[_0x5a4255(0x251)](){return _0xb2f9f0;}get[_0x5a4255(0x22e)](){return _0x2a1afa;}get[_0x5a4255(0x275)](){return _0x2bc20e;}get[_0x5a4255(0x23f)](){return _0x10af85;}get[_0x5a4255(0x23a)](){return _0x15daf0;}get['RadarShape'](){return _0x1e91b8;}}_0x577fcc['extend'](Z);class tt extends c{constructor(_0x5050ec,_0x77ae4e,_0x3a049d,_0x8a42ff,_0x248bbe){const _0x560b16=_0x5a4255;super(_0x5050ec,_0x77ae4e,_0x3a049d,_0x8a42ff,_0x248bbe),n(this,_0x560b16(0x201)),n(this,_0x560b16(0x29c)),n(this,'dataPointColor'),n(this,_0x560b16(0x259));}[_0x5a4255(0x235)](_0x11d2b1){const _0x24f209=_0x5a4255;return this[_0x24f209(0x201)]=_0x11d2b1,this;}[_0x5a4255(0x25f)](_0x43382f){const _0x453e30=_0x5a4255;return this[_0x453e30(0x29c)]=_0x43382f,this;}['setDataPointColor'](_0x38aa75){const _0x3603c2=_0x5a4255;return this[_0x3603c2(0x27f)]=_0x38aa75,this;}[_0x5a4255(0x297)](_0x3975e7){const _0x426285=_0x5a4255;return this[_0x426285(0x259)]=_0x3975e7,this;}[_0x5a4255(0x244)](){const _0x4a5474=_0x5a4255,_0x26af68=super['build']();_0x26af68[_0x4a5474(0x245)]=_0x113ff4[_0x4a5474(0x286)];const _0x10accd=_0x26af68[_0x4a5474(0x214)]||{};return s(_0x10accd,'area.lineStyle',this[_0x4a5474(0x201)]),s(_0x10accd,_0x4a5474(0x239),this[_0x4a5474(0x29c)]),s(_0x10accd,_0x4a5474(0x226),this[_0x4a5474(0x27f)]),s(_0x10accd,'allSeriesStyle.point.size',this['dataPointSize']),_0x26af68[_0x4a5474(0x214)]=_0x10accd,_0x26af68;}}class et extends c{['asLineChart'](){const _0x26e80b=_0x5a4255;return new tt(this[_0x26e80b(0x200)],this['subUnitId'],this[_0x26e80b(0x1fb)],this[_0x26e80b(0x268)],this[_0x26e80b(0x230)]);}}c[_0x5a4255(0x22d)](et);class it extends c{constructor(_0x41b02e,_0x15a486,_0x59a03a,_0x31dbeb,_0x262566){const _0x47d604=_0x5a4255;super(_0x41b02e,_0x15a486,_0x59a03a,_0x31dbeb,_0x262566),n(this,_0x47d604(0x206)),n(this,_0x47d604(0x29a)),n(this,_0x47d604(0x262)),n(this,_0x47d604(0x209)),n(this,_0x47d604(0x210)),n(this,_0x47d604(0x1fd));}[_0x5a4255(0x278)](_0x10016e){const _0x1dd5cd=_0x5a4255;return this[_0x1dd5cd(0x206)]=_0x10016e,this;}[_0x5a4255(0x20e)](_0x10c81e){const _0x3cf49f=_0x5a4255;return this[_0x3cf49f(0x29a)]=_0x10c81e,this;}['setHasPaddingAngle'](_0x24ae7c){const _0x287848=_0x5a4255;return this[_0x287848(0x262)]=_0x24ae7c,this;}['setIsHalfPie'](_0x3edc90){const _0xa83cd9=_0x5a4255;return this[_0xa83cd9(0x209)]=_0x3edc90,this;}[_0x5a4255(0x20f)](_0x1ad507){const _0x13adcf=_0x5a4255;return this[_0x13adcf(0x210)]=_0x1ad507,this;}[_0x5a4255(0x217)](_0x261f98){const _0x4d6490=_0x5a4255;return this[_0x4d6490(0x1fd)]=_0x261f98,this;}[_0x5a4255(0x244)](){const _0x23e17a=_0x5a4255,_0x3a2246=super[_0x23e17a(0x244)]();_0x3a2246[_0x23e17a(0x245)]=_0x113ff4[_0x23e17a(0x279)];const _0x346a35=_0x3a2246[_0x23e17a(0x214)]||{};return s(_0x346a35,_0x23e17a(0x28e),this[_0x23e17a(0x206)]),s(_0x346a35,_0x23e17a(0x1f4),this['borderColor']),s(_0x346a35,_0x23e17a(0x248),this['hasPaddingAngle']),s(_0x346a35,_0x23e17a(0x27c),this[_0x23e17a(0x209)]),s(_0x346a35,_0x23e17a(0x218),this[_0x23e17a(0x210)]),s(_0x346a35,_0x23e17a(0x1f0),this[_0x23e17a(0x1fd)]),_0x3a2246[_0x23e17a(0x214)]=_0x346a35,_0x3a2246;}}class st extends c{[_0x5a4255(0x1f9)](){const _0x3bd213=_0x5a4255;return new it(this[_0x3bd213(0x200)],this['subUnitId'],this[_0x3bd213(0x1fb)],this['_injector'],this['chartId']);}}c[_0x5a4255(0x22d)](st);class rt extends c{constructor(_0x9754d4,_0x1ae9ca,_0x49e7cb,_0x171e1b,_0x2f7585){const _0x593877=_0x5a4255;super(_0x9754d4,_0x1ae9ca,_0x49e7cb,_0x171e1b,_0x2f7585),n(this,_0x593877(0x298)),n(this,_0x593877(0x27b));}[_0x5a4255(0x1f7)](_0x28bdb9){return this['shape']=_0x28bdb9,this;}[_0x5a4255(0x25e)](_0x443b1f){return this['fill']=_0x443b1f,this;}[_0x5a4255(0x244)](){const _0x38abc7=_0x5a4255,_0x2eea53=super['build']();_0x2eea53[_0x38abc7(0x245)]=_0x113ff4[_0x38abc7(0x252)];const _0x3651bb=_0x2eea53[_0x38abc7(0x214)]||{};return s(_0x3651bb,_0x38abc7(0x1fc),this[_0x38abc7(0x298)]),s(_0x3651bb,_0x38abc7(0x272),this['fill']),_0x2eea53[_0x38abc7(0x214)]=_0x3651bb,_0x2eea53;}}class ot extends c{[_0x5a4255(0x27e)](){const _0x2c4f4a=_0x5a4255;return new rt(this['unitId'],this[_0x2c4f4a(0x281)],this[_0x2c4f4a(0x1fb)],this[_0x2c4f4a(0x268)],this['chartId']);}}c[_0x5a4255(0x22d)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
1
+ const _0x1c3786=_0x3ca2;(function(_0x497ac3,_0xeb20b0){const _0x5745bd=_0x3ca2,_0x5d862a=_0x497ac3();while(!![]){try{const _0x5d887a=-parseInt(_0x5745bd(0x219))/0x1*(-parseInt(_0x5745bd(0x1fd))/0x2)+-parseInt(_0x5745bd(0x22b))/0x3+parseInt(_0x5745bd(0x1d7))/0x4+-parseInt(_0x5745bd(0x255))/0x5+parseInt(_0x5745bd(0x1d4))/0x6*(parseInt(_0x5745bd(0x223))/0x7)+parseInt(_0x5745bd(0x272))/0x8*(-parseInt(_0x5745bd(0x1f5))/0x9)+parseInt(_0x5745bd(0x222))/0xa;if(_0x5d887a===_0xeb20b0)break;else _0x5d862a['push'](_0x5d862a['shift']());}catch(_0x162dc6){_0x5d862a['push'](_0x5d862a['shift']());}}}(_0x5ed7,0x94b21));var b=Object[_0x1c3786(0x203)],k=(_0xcfd9a,_0xec3fe2,_0x3e0f4d)=>_0xec3fe2 in _0xcfd9a?b(_0xcfd9a,_0xec3fe2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e0f4d}):_0xcfd9a[_0xec3fe2]=_0x3e0f4d,n=(_0x4c93bc,_0x10b86e,_0xea55bd)=>k(_0x4c93bc,typeof _0x10b86e!=_0x1c3786(0x22a)?_0x10b86e+'':_0x10b86e,_0xea55bd);import{ChartThemeService as _0x360521,ChartTypeBits as _0xdff936,LegendPositionEnum as _0x5a80f1,SelectModeEnum as _0x20269d,AxisAlignEnum as _0x37b6c6,ChartBorderDashType as _0xedbc00,LinePointShape as _0x59be73,TitlePositionEnum as _0x5c1ad4,RadarShape as _0x155bf5}from'@univerjs-pro/engine-chart';import{setProperty as _0xf20f09,SheetsChartService as _0x3a35c3,ChartUpdateSourceCommand as _0x5c6f61,ChartUpdateConfigCommand as _0x40fece}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x51cea4}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x774744,IUniverInstanceService as _0xc4fad0,UniverInstanceType as _0x1ce19c,generateRandomId as _0x4b398c,DrawingTypeEnum as _0x46fdd5}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x296bd4}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x580bb8}from'@univerjs/sheets/facade';import{FBase as _0x44164f,FEnum as _0x459021}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x4ee6cb}from'@univerjs/engine-formula';import{IRenderManagerService as _0xcde72a}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x2e1881,SheetSkeletonManagerService as _0x4b5e55,convertPositionCellToSheetOverGrid as _0x324149}from'@univerjs/sheets-ui';const s=(_0x2e5500,_0x153e7e,_0x36466c)=>{_0x36466c!==void 0x0&&_0xf20f09(_0x2e5500,_0x153e7e,_0x36466c);},C=(_0xe5f0ac,_0x6b4bb2,_0x52112e,_0x5c0ec0={})=>{const _0x4fc192=_0x1c3786,_0x4b20db={},_0x353263={};if(_0x5c0ec0['title']){const _0x140b1e=_0x5c0ec0[_0x4fc192(0x256)];s(_0x4b20db,_0x4fc192(0x1e8),_0x140b1e[_0x4fc192(0x282)]),s(_0x4b20db,_0x4fc192(0x250),_0x140b1e[_0x4fc192(0x243)]),s(_0x4b20db,_0x4fc192(0x28c),_0x140b1e[_0x4fc192(0x229)]),s(_0x4b20db,_0x4fc192(0x279),_0x140b1e['fontColor']),s(_0x4b20db,_0x4fc192(0x23a),_0x140b1e[_0x4fc192(0x241)]),s(_0x4b20db,_0x4fc192(0x25f),_0x140b1e[_0x4fc192(0x261)]),s(_0x4b20db,_0x4fc192(0x230),_0x140b1e['titleAlignment']),s(_0x4b20db,_0x4fc192(0x234),_0x140b1e[_0x4fc192(0x1e2)]);}if(_0x5c0ec0['legend']){const _0x4f5064=_0x5c0ec0[_0x4fc192(0x1f4)];s(_0x4b20db,'legend.position',_0x4f5064[_0x4fc192(0x1e2)]),s(_0x4b20db,'legend.selectMode',_0x4f5064[_0x4fc192(0x271)]),s(_0x4b20db,_0x4fc192(0x215),_0x4f5064[_0x4fc192(0x229)]),s(_0x4b20db,_0x4fc192(0x1ee),_0x4f5064['color']),s(_0x4b20db,_0x4fc192(0x277),_0x4f5064[_0x4fc192(0x261)]),s(_0x4b20db,_0x4fc192(0x202),_0x4f5064[_0x4fc192(0x216)]);}if(_0x5c0ec0[_0x4fc192(0x1df)]){const _0x159dd8=_0x5c0ec0[_0x4fc192(0x1df)];s(_0x4b20db,'pie.doughnutHole',_0x159dd8[_0x4fc192(0x1e3)]),s(_0x4b20db,_0x4fc192(0x1eb),_0x159dd8[_0x4fc192(0x25c)]),s(_0x4b20db,_0x4fc192(0x27d),_0x159dd8[_0x4fc192(0x25b)]),s(_0x4b20db,'pie.isHalfPie',_0x159dd8['isHalfPie']),s(_0x4b20db,_0x4fc192(0x1f2),_0x159dd8['rosePie']),s(_0x4b20db,'pie.showLabelLine',_0x159dd8['showLabelLine']);}if(_0x5c0ec0[_0x4fc192(0x1f1)]){const _0x9f9106=_0x5c0ec0['axisPointer'];s(_0x4b20db,_0x4fc192(0x209),_0x9f9106[_0x4fc192(0x20b)]),s(_0x4b20db,_0x4fc192(0x26f),_0x9f9106['indicatorLineType']),s(_0x4b20db,_0x4fc192(0x269),_0x9f9106[_0x4fc192(0x25a)]),s(_0x4b20db,_0x4fc192(0x204),_0x9f9106['indicatorLabelTextColor']);}if(_0x5c0ec0[_0x4fc192(0x262)]&&(s(_0x4b20db,_0x4fc192(0x1e9),_0x5c0ec0[_0x4fc192(0x262)][_0x4fc192(0x248)]),s(_0x4b20db,_0x4fc192(0x1d8),_0x5c0ec0[_0x4fc192(0x262)][_0x4fc192(0x225)]),s(_0x4b20db,_0x4fc192(0x245),_0x5c0ec0[_0x4fc192(0x262)]['rightYAxis']),s(_0x4b20db,_0x4fc192(0x228),_0x5c0ec0['allSeriesStyle'][_0x4fc192(0x1f3)]),s(_0x4b20db,'allSeriesStyle.color',_0x5c0ec0[_0x4fc192(0x262)]['color'])),_0x5c0ec0[_0x4fc192(0x200)]&&s(_0x4b20db,_0x4fc192(0x1e5),_0x5c0ec0[_0x4fc192(0x200)][_0x4fc192(0x208)]),_0x5c0ec0['theme']&&s(_0x4b20db,'theme',_0x5c0ec0[_0x4fc192(0x1d6)]),_0x5c0ec0[_0x4fc192(0x24c)]&&s(_0x4b20db,_0x4fc192(0x24c),_0x5c0ec0['backgroundColor']),_0x5c0ec0[_0x4fc192(0x25c)]&&s(_0x4b20db,_0x4fc192(0x25c),_0x5c0ec0[_0x4fc192(0x25c)]),_0x5c0ec0[_0x4fc192(0x210)]&&s(_0x4b20db,'gradientFill',_0x5c0ec0['gradientFill']),_0x5c0ec0[_0x4fc192(0x26b)]&&s(_0x4b20db,'invalidValueType',_0x5c0ec0[_0x4fc192(0x26b)]),_0x5c0ec0[_0x4fc192(0x252)]&&s(_0x4b20db,_0x4fc192(0x252),_0x5c0ec0[_0x4fc192(0x252)]),_0x5c0ec0[_0x4fc192(0x22d)]){const _0x3087c0=_0x5c0ec0[_0x4fc192(0x22d)];s(_0x4b20db,_0x4fc192(0x20a),_0x3087c0[_0x4fc192(0x282)]),s(_0x4b20db,_0x4fc192(0x27c),_0x3087c0[_0x4fc192(0x243)]),s(_0x4b20db,_0x4fc192(0x226),_0x3087c0[_0x4fc192(0x229)]),s(_0x4b20db,_0x4fc192(0x1e4),_0x3087c0[_0x4fc192(0x249)]),s(_0x4b20db,'titles.xAxisTitle.family',_0x3087c0[_0x4fc192(0x241)]),s(_0x4b20db,_0x4fc192(0x263),_0x3087c0[_0x4fc192(0x261)]),s(_0x4b20db,_0x4fc192(0x242),_0x3087c0[_0x4fc192(0x213)]);}if(_0x5c0ec0[_0x4fc192(0x23b)]){const _0x560115=_0x5c0ec0[_0x4fc192(0x23b)];s(_0x4b20db,_0x4fc192(0x280),_0x560115[_0x4fc192(0x282)]),s(_0x4b20db,_0x4fc192(0x1d2),_0x560115['font']),s(_0x4b20db,_0x4fc192(0x27b),_0x560115[_0x4fc192(0x229)]),s(_0x4b20db,'titles.yAxisTitle.color',_0x560115[_0x4fc192(0x249)]),s(_0x4b20db,'titles.yAxisTitle.family',_0x560115[_0x4fc192(0x241)]),s(_0x4b20db,_0x4fc192(0x1ed),_0x560115['bold']),s(_0x4b20db,_0x4fc192(0x24d),_0x560115['axisAlignment']);}if(_0x5c0ec0[_0x4fc192(0x265)]){const _0x53c7e5=_0x5c0ec0[_0x4fc192(0x265)];s(_0x4b20db,_0x4fc192(0x1fc),_0x53c7e5[_0x4fc192(0x282)]),s(_0x4b20db,_0x4fc192(0x1e1),_0x53c7e5[_0x4fc192(0x243)]),s(_0x4b20db,'titles.rightYAxisTitle.fontSize',_0x53c7e5[_0x4fc192(0x229)]),s(_0x4b20db,'titles.rightYAxisTitle.color',_0x53c7e5[_0x4fc192(0x249)]),s(_0x4b20db,'titles.rightYAxisTitle.family',_0x53c7e5['fontStyle']),s(_0x4b20db,_0x4fc192(0x26e),_0x53c7e5['bold']),s(_0x4b20db,_0x4fc192(0x1dc),_0x53c7e5[_0x4fc192(0x213)]);}_0x5c0ec0[_0x4fc192(0x1d9)]&&s(_0x4b20db,_0x4fc192(0x1d9),_0x5c0ec0[_0x4fc192(0x1d9)]),_0x5c0ec0[_0x4fc192(0x276)]&&s(_0x4b20db,_0x4fc192(0x276),_0x5c0ec0[_0x4fc192(0x276)]),_0x5c0ec0[_0x4fc192(0x23e)]&&s(_0x4b20db,'rightYAxis',_0x5c0ec0[_0x4fc192(0x23e)]),_0x5c0ec0['seriesStyleMap']&&s(_0x4b20db,_0x4fc192(0x1da),_0x5c0ec0[_0x4fc192(0x1da)]);const _0x3822d7={'unitId':_0xe5f0ac,'chartModelId':_0x6b4bb2};let _0x1ad73e=!0x1;if(_0x52112e!==void 0x0&&(_0x3822d7[_0x4fc192(0x287)]=_0x52112e,_0x1ad73e=!0x0),Object[_0x4fc192(0x26c)](_0x4b20db)[_0x4fc192(0x21b)]>0x0&&(_0x3822d7['style']=_0x4b20db,_0x1ad73e=!0x0),Object['keys'](_0x353263)[_0x4fc192(0x21b)]>0x0&&(_0x3822d7[_0x4fc192(0x1e0)]=_0x353263,_0x1ad73e=!0x0),_0x1ad73e)return _0x3822d7;};class c extends _0x44164f{constructor(_0x587228,_0x13e665,_0x2fbd99,_0x23aede,_0x5283e9){const _0x409444=_0x1c3786;super(),n(this,_0x409444(0x268)),n(this,_0x409444(0x1dd)),n(this,_0x409444(0x205)),n(this,_0x409444(0x1f0)),n(this,'chartId'),n(this,_0x409444(0x25e)),n(this,_0x409444(0x231)),n(this,'x'),n(this,'y'),n(this,_0x409444(0x270)),n(this,_0x409444(0x1f8)),n(this,'chartType'),n(this,_0x409444(0x1e7)),n(this,'transposeRowsAndColumns'),(this[_0x409444(0x205)]=_0x587228,this[_0x409444(0x1f0)]=_0x13e665,this[_0x409444(0x268)]=_0x2fbd99,this[_0x409444(0x1dd)]=_0x23aede,_0x5283e9&&(this[_0x409444(0x218)]=_0x5283e9));}[_0x1c3786(0x27e)](){const _0x152bde=_0x1c3786;return this[_0x152bde(0x287)];}['addRange'](_0x295a9b){const _0x11268b=_0x1c3786;if(typeof _0x295a9b=='string'){const _0x56430b=_0x4ee6cb(_0x295a9b);_0x56430b['sheetName']&&(this[_0x11268b(0x231)]=_0x56430b[_0x11268b(0x1f6)]),this['range']=_0x56430b[_0x11268b(0x25e)];}else this[_0x11268b(0x25e)]=_0x295a9b;return this;}[_0x1c3786(0x1fb)](){const _0x2cb2fb=_0x1c3786;return this[_0x2cb2fb(0x25e)]=void 0x0,this[_0x2cb2fb(0x231)]=void 0x0,this;}[_0x1c3786(0x240)](_0x537840,_0x361a2f,_0x11fe1b,_0xce3453){const _0x204814=_0x1c3786,_0x26bd1=this[_0x204814(0x1dd)][_0x204814(0x259)](_0xcde72a)[_0x204814(0x251)](this[_0x204814(0x205)]);if(!_0x26bd1)throw new Error(_0x204814(0x21a));const _0x5455bf=_0x26bd1[_0x204814(0x1f7)](_0x2e1881),_0x167cac=_0x26bd1[_0x204814(0x1f7)](_0x4b5e55),{transform:_0x48a348}=_0x324149(this[_0x204814(0x205)],this[_0x204814(0x1f0)],{'row':_0x537840,'column':_0x361a2f,'rowOffset':_0x11fe1b,'columnOffset':_0xce3453},0x1,0x1,_0x5455bf,_0x167cac),_0x2a546b=_0x48a348[_0x204814(0x1ff)],_0xc19e7e=_0x48a348[_0x204814(0x21c)];return this['x']=_0xc19e7e,this['y']=_0x2a546b,this;}[_0x1c3786(0x289)](_0x4dfa7e,_0x49661f){return this['x']=_0x4dfa7e,this['y']=_0x49661f,this;}[_0x1c3786(0x206)](_0x251b6f){return this['chartType']=_0x251b6f,this;}[_0x1c3786(0x275)](_0x2e0a07){const _0x3a8a58=_0x1c3786;return this[_0x3a8a58(0x270)]=_0x2e0a07,this;}[_0x1c3786(0x1ef)](_0x4bfce9){return this['height']=_0x4bfce9,this;}[_0x1c3786(0x20c)](_0x5b93e1,_0xf9e928){const _0x112a2a=_0x1c3786;return this['options']||(this[_0x112a2a(0x1e7)]={}),_0x5b93e1===''?(this['options']={...this[_0x112a2a(0x1e7)],..._0xf9e928},this):(_0xf20f09(this['options'],_0x5b93e1,_0xf9e928),this);}[_0x1c3786(0x1d5)](_0x55b1d1){const _0x5d8444=_0x1c3786;return this[_0x5d8444(0x237)]=_0x55b1d1,this;}[_0x1c3786(0x274)](_0x22d774){const _0x5421f6=_0x1c3786;return this[_0x5421f6(0x20c)](_0x5421f6(0x1d6),_0x22d774),this;}[_0x1c3786(0x283)](_0x55958d){const _0xb1ea1f=_0x1c3786;var _0x5bf754;const _0x56b3cc=((_0x5bf754=this[_0xb1ea1f(0x1e7)])==null?void 0x0:_0x5bf754[_0xb1ea1f(0x22d)])||{};return _0x56b3cc['content']=_0x55958d,this['setOptions'](_0xb1ea1f(0x22d),_0x56b3cc),this;}[_0x1c3786(0x1fe)](_0x55dcea){const _0x140793=_0x1c3786;var _0x59e4bb;const _0x4b54dd=((_0x59e4bb=this['options'])==null?void 0x0:_0x59e4bb['yAxisTitle'])||{};return _0x4b54dd[_0x140793(0x282)]=_0x55dcea,this[_0x140793(0x20c)](_0x140793(0x23b),_0x4b54dd),this;}['setRightYAxisTitle'](_0x17d8bf){const _0x59cdbe=_0x1c3786;var _0x1e9914;const _0x288a7c=((_0x1e9914=this['options'])==null?void 0x0:_0x1e9914[_0x59cdbe(0x265)])||{};return _0x288a7c[_0x59cdbe(0x282)]=_0x17d8bf,this[_0x59cdbe(0x20c)](_0x59cdbe(0x265),_0x288a7c),this;}[_0x1c3786(0x254)](_0x160e51){const _0xf493cc=_0x1c3786;var _0x90f552;const _0x14a5c4=((_0x90f552=this[_0xf493cc(0x1e7)])==null?void 0x0:_0x90f552[_0xf493cc(0x22d)])||{};return this[_0xf493cc(0x20c)](_0xf493cc(0x22d),{..._0x14a5c4,..._0x160e51}),this;}[_0x1c3786(0x266)](_0x36f076){const _0x1967d3=_0x1c3786;var _0x2dfe94;const _0x4a0020=((_0x2dfe94=this[_0x1967d3(0x1e7)])==null?void 0x0:_0x2dfe94[_0x1967d3(0x23b)])||{};return this[_0x1967d3(0x20c)]('yAxisTitle',{..._0x4a0020,..._0x36f076}),this;}[_0x1c3786(0x26a)](_0x462f14){const _0x1eb0c7=_0x1c3786;var _0x3f8bd0;const _0x485fe9=((_0x3f8bd0=this['options'])==null?void 0x0:_0x3f8bd0[_0x1eb0c7(0x265)])||{};return this[_0x1eb0c7(0x20c)]('rightYAxisTitle',{..._0x485fe9,..._0x462f14}),this;}['setInvalidValueStrategy'](_0x3a3b77){const _0x1f1412=_0x1c3786;return this['setOptions'](_0x1f1412(0x26b),_0x3a3b77),this;}[_0x1c3786(0x20e)](_0x3b39ab){const _0x16aa7f=_0x1c3786;return this[_0x16aa7f(0x20c)](_0x16aa7f(0x1f1),_0x3b39ab),this;}[_0x1c3786(0x212)](_0x51337e){const _0x58822b=_0x1c3786;return this[_0x58822b(0x20c)](_0x58822b(0x262),_0x51337e),this;}[_0x1c3786(0x21e)](_0x39c27f,_0x30a3cb){const _0x3c824b=_0x1c3786;return this['setOptions'](_0x3c824b(0x1da),{[_0x39c27f]:_0x30a3cb}),this;}[_0x1c3786(0x233)](){const _0x54c6f5=_0x1c3786;var _0x57af0b;let _0x25fc63=this[_0x54c6f5(0x1f0)];if(this[_0x54c6f5(0x231)]){const _0x4d38bb=(_0x57af0b=this[_0x54c6f5(0x268)][_0x54c6f5(0x23f)](this[_0x54c6f5(0x231)]))==null?void 0x0:_0x57af0b[_0x54c6f5(0x236)]();if(!_0x4d38bb)throw new Error(_0x54c6f5(0x260)+this['sourceSheetName']+_0x54c6f5(0x264));_0x25fc63=_0x4d38bb;}return{'unitId':this[_0x54c6f5(0x205)],'subUnitId':_0x25fc63,'chartId':this[_0x54c6f5(0x218)],'range':this['range'],'x':this['x'],'y':this['y'],'width':this[_0x54c6f5(0x270)],'height':this[_0x54c6f5(0x1f8)],'chartType':this[_0x54c6f5(0x287)],'options':this[_0x54c6f5(0x1e7)],'isRowDirection':this[_0x54c6f5(0x237)]};}}class f{constructor(_0xb5e52e,_0x1fe914,_0x2a7916,_0x14fc04){const _0x20769a=_0x1c3786;n(this,_0x20769a(0x205)),n(this,_0x20769a(0x1f0)),n(this,_0x20769a(0x218)),n(this,_0x20769a(0x1dd)),(this[_0x20769a(0x205)]=_0xb5e52e,this['subUnitId']=_0x1fe914,this[_0x20769a(0x218)]=_0x2a7916,this[_0x20769a(0x1dd)]=_0x14fc04);}[_0x1c3786(0x24f)](){const _0x321791=_0x1c3786;return this[_0x321791(0x218)];}[_0x1c3786(0x284)](){const _0x323b0c=_0x1c3786,_0x6bfabc=this[_0x323b0c(0x1dd)]['get'](_0x3a35c3)[_0x323b0c(0x239)](this[_0x323b0c(0x218)]);if(_0x6bfabc)return _0x6bfabc['dataSource'][_0x323b0c(0x1db)]();}[_0x1c3786(0x217)](_0x34ebba){const _0x1ee785=_0x1c3786;return this['_injector']['get'](_0x774744)[_0x1ee785(0x23d)](_0x5c6f61['id'],{'unitId':this[_0x1ee785(0x205)],'chartModelId':this[_0x1ee785(0x218)],'range':_0x34ebba});}[_0x1c3786(0x227)](){const _0x528671=_0x1c3786;var _0x1280e1;const _0x58c344=this[_0x528671(0x1dd)][_0x528671(0x259)](_0x3a35c3)[_0x528671(0x239)](this[_0x528671(0x218)]);if(_0x58c344)return(_0x1280e1=_0x58c344[_0x528671(0x22f)])==null?void 0x0:_0x1280e1[_0x528671(0x214)];}['getCategoryData'](){const _0x59295b=_0x1c3786;var _0x4d7a35;const _0xd6d680=this[_0x59295b(0x1dd)][_0x59295b(0x259)](_0x3a35c3)[_0x59295b(0x239)](this[_0x59295b(0x218)]);if(_0xd6d680)return(_0x4d7a35=_0xd6d680[_0x59295b(0x22f)])==null?void 0x0:_0x4d7a35[_0x59295b(0x221)];}[_0x1c3786(0x246)](){const _0x463802=_0x1c3786,_0x4c280f=this['_injector'][_0x463802(0x259)](_0xc4fad0)['getCurrentUnitForType'](_0x1ce19c[_0x463802(0x232)]);return new c(this[_0x463802(0x205)],this[_0x463802(0x1f0)],_0x4c280f,this['_injector'],this[_0x463802(0x218)]);}}class Q extends _0x580bb8{async[_0x1c3786(0x1d1)](_0x4cdeb4){const _0x7a6248=_0x1c3786;var _0x1ad6aa,_0x305746,_0x5110f4;const _0x2efb50=_0x4cdeb4[_0x7a6248(0x205)]||this[_0x7a6248(0x238)]()[_0x7a6248(0x244)](),_0x31fe4e=_0x4cdeb4[_0x7a6248(0x1f0)]||this[_0x7a6248(0x236)](),_0x184e8c=_0x4cdeb4['chartId']||_0x4b398c(),_0xb539a0=_0x4cdeb4[_0x7a6248(0x287)],_0x3e861d=_0x4cdeb4[_0x7a6248(0x25e)],_0x52f027={'x':_0x4cdeb4['x'],'y':_0x4cdeb4['y']},_0x3fc1f2=_0x4cdeb4['width'],_0x34ba0d=_0x4cdeb4['height'],_0x28b4b1=(_0x1ad6aa=_0x4cdeb4['options'])==null?void 0x0:_0x1ad6aa['backgroundColor'],_0x32040f=(_0x305746=_0x4cdeb4[_0x7a6248(0x1e7)])==null?void 0x0:_0x305746[_0x7a6248(0x25c)],_0x1197c7=C(_0x2efb50,_0x184e8c,_0xb539a0,_0x4cdeb4[_0x7a6248(0x1e7)]),_0x166f0f=(_0x5110f4=_0x4cdeb4[_0x7a6248(0x286)])!=null?_0x5110f4:!0x0;if(!_0x3e861d)throw new Error(_0x7a6248(0x278));return await this['_commandService'][_0x7a6248(0x23d)](_0x51cea4['id'],{'unitId':_0x2efb50,'subUnitId':_0x31fe4e,'chartId':_0x184e8c,'chartType':_0xb539a0,'range':_0x3e861d,'position':_0x52f027,'width':_0x3fc1f2,'height':_0x34ba0d,'backgroundColor':_0x28b4b1,'borderColor':_0x32040f,'config':_0x1197c7,'isRowDirection':_0x166f0f}),new f(_0x2efb50,_0x31fe4e,_0x184e8c,this['_injector']);}['updateChart'](_0x524d59){const _0x5b27a4=_0x1c3786,{unitId:_0x3221af,chartId:_0x3fd766,chartType:_0x290edf,options:_0x282952}=_0x524d59,_0x1e3259=C(_0x3221af,_0x3fd766,_0x290edf,_0x282952);this[_0x5b27a4(0x26d)][_0x5b27a4(0x23d)](_0x40fece['id'],_0x1e3259);}[_0x1c3786(0x21f)](_0x2f91fe){const _0x1bf3f1=_0x1c3786;if(_0x2f91fe)return new c(_0x2f91fe[_0x1bf3f1(0x205)],_0x2f91fe['subUnitId'],this[_0x1bf3f1(0x268)],this[_0x1bf3f1(0x1dd)],_0x2f91fe['chartId']);const _0x4e0217=this[_0x1bf3f1(0x238)]()[_0x1bf3f1(0x244)](),_0x53e3d4=this['getSheetId']();return new c(_0x4e0217,_0x53e3d4,this[_0x1bf3f1(0x268)],this['_injector']);}['getCharts'](){const _0x4b03f1=_0x1c3786,_0x56a629=this[_0x4b03f1(0x1dd)]['get'](_0x3a35c3),_0x437318=this[_0x4b03f1(0x238)]()[_0x4b03f1(0x244)]();return _0x56a629[_0x4b03f1(0x24e)](_0x437318,this[_0x4b03f1(0x236)]())[_0x4b03f1(0x224)](_0x2df0e6=>new f(_0x437318,this[_0x4b03f1(0x236)](),_0x2df0e6['id'],this[_0x4b03f1(0x1dd)]));}[_0x1c3786(0x23c)](_0x5524da){const _0x46856f=_0x1c3786,_0x842047=_0x5524da[_0x46856f(0x205)],_0x21401a=_0x5524da[_0x46856f(0x1f0)],_0x3367a2=_0x5524da['chartId'],_0x20890d={'unitId':_0x842047,'drawings':[{'unitId':_0x842047,'subUnitId':_0x21401a,'drawingId':_0x3367a2,'drawingType':_0x46fdd5['DRAWING_CHART']}]};return this['_commandService'][_0x46856f(0x23d)](_0x296bd4['id'],_0x20890d);}['registerChartTheme'](_0x3364c2,_0x1acedc){const _0x4c1153=_0x1c3786;this[_0x4c1153(0x1dd)][_0x4c1153(0x259)](_0x360521)[_0x4c1153(0x258)](_0x3364c2,_0x1acedc);}}_0x580bb8[_0x1c3786(0x235)](Q);class Z extends _0x459021{get['ChartType'](){return _0xdff936;}get[_0x1c3786(0x267)](){return _0x5a80f1;}get['SelectModeEnum'](){return _0x20269d;}get[_0x1c3786(0x24a)](){return _0x37b6c6;}get[_0x1c3786(0x253)](){return _0xedbc00;}get[_0x1c3786(0x24b)](){return _0x59be73;}get[_0x1c3786(0x285)](){return _0x5c1ad4;}get[_0x1c3786(0x28a)](){return _0x155bf5;}}function _0x5ed7(){const _0xef1b6a=['\x20not\x20found','rightYAxisTitle','setYAxisTextStyle','LegendPositionEnum','_workbook','tooltip.indicatorLineColor','setRightYAxisTextStyle','invalidValueType','keys','_commandService','titles.rightYAxisTitle.bold','tooltip.indicatorLineType','width','selectMode','240104UkYSzP','setHasPaddingAngle','setTheme','setWidth','yAxis','legend.label.bold','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','titles.title.color','setFill','titles.yAxisTitle.fontSize','titles.xAxisTitle.font','pie.hasPaddingAngle','getChartType','fill','titles.yAxisTitle.content','setIsHalfPie','content','setXAxisTitle','getRange','TitlePositionEnum','isRowDirection','chartType','rosePie','setAbsolutePosition','RadarShape','shape','titles.title.fontSize','asLineChart','pie.showLabelLine','allSeriesStyle.point.shape','insertChart','titles.yAxisTitle.font','asRadarChart','3432JESQqa','setTransposeRowsAndColumns','theme','1266712myfGRj','allSeriesStyle.label','xAxis','seriesStyleMap','getRangeInfo','rightYAxis.label.axisTitleAlign','_injector','setBorderColor','pie','context','titles.rightYAxisTitle.font','position','doughnutHole','titles.xAxisTitle.color','area.lineStyle','dataPointColor','options','titles.title.content','allSeriesStyle.border','Radar','pie.borderColor','Pie','titles.yAxisTitle.bold','legend.label.color','setHeight','subUnitId','axisPointer','pie.rosePie','point','legend','9ampXvt','sheetName','with','height','dataPointShape','showLabelLine','clearRange','titles.rightYAxisTitle.content','2rYbShm','setYAxisTitle','top','area','pie.doughnutHole','legend.label.italic','defineProperty','tooltip.indicatorLabelTextColor','unitId','setChartType','radar.shape','lineStyle','tooltip.indicatorLabelColor','titles.xAxisTitle.content','indicatorLabelColor','setOptions','radar.fill','setAxisPointerStyle','isHalfPie','gradientFill','setDataPointColor','setAllSeriesStyle','axisAlignment','series','legend.label.fontSize','italic','updateRange','chartId','427462kkzsaZ','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','length','left','allSeriesStyle.point.color','setSeriesStyle','newChart','setDataPointShape','category','9457590HSaayr','5761onSadx','map','label','titles.xAxisTitle.fontSize','getSeriesData','allSeriesStyle.point','fontSize','symbol','2874912TfAwWN','setShowLabelLine','xAxisTitle','Line','config','titles.title.align','sourceSheetName','UNIVER_SHEET','build','titles.titlePosition','extend','getSheetId','transposeRowsAndColumns','getWorkbook','getChartModel','titles.title.family','yAxisTitle','removeChart','executeCommand','yRightAxis','getSheetBySheetName','setPosition','fontStyle','xAxis.label.axisTitleAlign','font','getUnitId','allSeriesStyle.rightYAxis','modify','setLineStyle','border','fontColor','AxisAlignEnum','LinePointShape','backgroundColor','yAxis.label.axisTitleAlign','getUnitChartModels','getChartId','titles.title.font','getRenderById','radar','ChartBorderDashType','setXAxisTextStyle','2816405JPXSAq','title','dataPointSize','registerTheme','get','indicatorLineColor','hasPaddingAngle','borderColor','pie.isHalfPie','range','titles.title.bold','Sheet\x20','bold','allSeriesStyle','titles.xAxisTitle.bold'];_0x5ed7=function(){return _0xef1b6a;};return _0x5ed7();}_0x459021['extend'](Z);class tt extends c{constructor(_0x346f61,_0x2d99a3,_0x32f0cc,_0x1bade3,_0x440f6a){const _0x1a7144=_0x1c3786;super(_0x346f61,_0x2d99a3,_0x32f0cc,_0x1bade3,_0x440f6a),n(this,_0x1a7144(0x208)),n(this,_0x1a7144(0x1f9)),n(this,_0x1a7144(0x1e6)),n(this,_0x1a7144(0x257));}[_0x1c3786(0x247)](_0x12cdfb){return this['lineStyle']=_0x12cdfb,this;}[_0x1c3786(0x220)](_0x7ae3a8){const _0x94321f=_0x1c3786;return this[_0x94321f(0x1f9)]=_0x7ae3a8,this;}[_0x1c3786(0x211)](_0x2c2b42){const _0x113454=_0x1c3786;return this[_0x113454(0x1e6)]=_0x2c2b42,this;}['setDataPointSize'](_0x29c739){return this['dataPointSize']=_0x29c739,this;}[_0x1c3786(0x233)](){const _0x1bbf8f=_0x1c3786,_0x282594=super['build']();_0x282594[_0x1bbf8f(0x287)]=_0xdff936[_0x1bbf8f(0x22e)];const _0x24cdb7=_0x282594['options']||{};return s(_0x24cdb7,_0x1bbf8f(0x1e5),this['lineStyle']),s(_0x24cdb7,_0x1bbf8f(0x1d0),this[_0x1bbf8f(0x1f9)]),s(_0x24cdb7,_0x1bbf8f(0x21d),this[_0x1bbf8f(0x1e6)]),s(_0x24cdb7,'allSeriesStyle.point.size',this['dataPointSize']),_0x282594[_0x1bbf8f(0x1e7)]=_0x24cdb7,_0x282594;}}class et extends c{[_0x1c3786(0x28d)](){const _0xb739e0=_0x1c3786;return new tt(this[_0xb739e0(0x205)],this['subUnitId'],this[_0xb739e0(0x268)],this[_0xb739e0(0x1dd)],this[_0xb739e0(0x218)]);}}c[_0x1c3786(0x235)](et);class it extends c{constructor(_0x40322e,_0x3193ca,_0x43dcfc,_0x1c70b1,_0x39679e){const _0x4205a3=_0x1c3786;super(_0x40322e,_0x3193ca,_0x43dcfc,_0x1c70b1,_0x39679e),n(this,_0x4205a3(0x1e3)),n(this,'borderColor'),n(this,'hasPaddingAngle'),n(this,_0x4205a3(0x20f)),n(this,_0x4205a3(0x288)),n(this,'showLabelLine');}['setDoughnutHole'](_0x77021d){const _0x212235=_0x1c3786;return this[_0x212235(0x1e3)]=_0x77021d,this;}[_0x1c3786(0x1de)](_0x318766){const _0x52dccd=_0x1c3786;return this[_0x52dccd(0x25c)]=_0x318766,this;}[_0x1c3786(0x273)](_0xa5f636){const _0x496710=_0x1c3786;return this[_0x496710(0x25b)]=_0xa5f636,this;}[_0x1c3786(0x281)](_0x4c3d3a){const _0x1cfd7c=_0x1c3786;return this[_0x1cfd7c(0x20f)]=_0x4c3d3a,this;}['setRosePie'](_0x3c835e){const _0x2e4137=_0x1c3786;return this[_0x2e4137(0x288)]=_0x3c835e,this;}[_0x1c3786(0x22c)](_0x2ebd3d){const _0x52ac67=_0x1c3786;return this[_0x52ac67(0x1fa)]=_0x2ebd3d,this;}[_0x1c3786(0x233)](){const _0x125985=_0x1c3786,_0x23a71d=super['build']();_0x23a71d[_0x125985(0x287)]=_0xdff936[_0x125985(0x1ec)];const _0x454c25=_0x23a71d[_0x125985(0x1e7)]||{};return s(_0x454c25,_0x125985(0x201),this[_0x125985(0x1e3)]),s(_0x454c25,_0x125985(0x1eb),this['borderColor']),s(_0x454c25,_0x125985(0x27d),this[_0x125985(0x25b)]),s(_0x454c25,_0x125985(0x25d),this[_0x125985(0x20f)]),s(_0x454c25,_0x125985(0x1f2),this[_0x125985(0x288)]),s(_0x454c25,_0x125985(0x1cf),this[_0x125985(0x1fa)]),_0x23a71d[_0x125985(0x1e7)]=_0x454c25,_0x23a71d;}}class st extends c{['asPieChart'](){const _0x5762ab=_0x1c3786;return new it(this[_0x5762ab(0x205)],this[_0x5762ab(0x1f0)],this[_0x5762ab(0x268)],this[_0x5762ab(0x1dd)],this['chartId']);}}c['extend'](st);class rt extends c{constructor(_0x2a9cb1,_0x5e879e,_0x4c0f29,_0x2e79ea,_0x370d22){const _0x4f250a=_0x1c3786;super(_0x2a9cb1,_0x5e879e,_0x4c0f29,_0x2e79ea,_0x370d22),n(this,_0x4f250a(0x28b)),n(this,_0x4f250a(0x27f));}['setShape'](_0x50bfdd){const _0x2f42cf=_0x1c3786;return this[_0x2f42cf(0x28b)]=_0x50bfdd,this;}[_0x1c3786(0x27a)](_0x3fea12){const _0x3bd811=_0x1c3786;return this[_0x3bd811(0x27f)]=_0x3fea12,this;}[_0x1c3786(0x233)](){const _0x5a49fd=_0x1c3786,_0x5ea359=super[_0x5a49fd(0x233)]();_0x5ea359[_0x5a49fd(0x287)]=_0xdff936[_0x5a49fd(0x1ea)];const _0x3de8d2=_0x5ea359['options']||{};return s(_0x3de8d2,_0x5a49fd(0x207),this[_0x5a49fd(0x28b)]),s(_0x3de8d2,_0x5a49fd(0x20d),this[_0x5a49fd(0x27f)]),_0x5ea359[_0x5a49fd(0x1e7)]=_0x3de8d2,_0x5ea359;}}class ot extends c{[_0x1c3786(0x1d3)](){const _0x5c4a13=_0x1c3786;return new rt(this['unitId'],this[_0x5c4a13(0x1f0)],this[_0x5c4a13(0x268)],this[_0x5c4a13(0x1dd)],this[_0x5c4a13(0x218)]);}}c['extend'](ot);function _0x3ca2(_0x35b2e0,_0x4e6d7a){const _0x5ed779=_0x5ed7();return _0x3ca2=function(_0x3ca2c5,_0x18deed){_0x3ca2c5=_0x3ca2c5-0x1cf;let _0x3b3022=_0x5ed779[_0x3ca2c5];return _0x3b3022;},_0x3ca2(_0x35b2e0,_0x4e6d7a);}export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};