@univerjs-pro/sheets-chart-ui 0.6.4 → 0.6.5-nightly.202503121607

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/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5e7d0c=_0x5864;(function(_0x39ac2e,_0x500bb3){const _0x5bfe4d=_0x5864,_0x4590b7=_0x39ac2e();while(!![]){try{const _0x52c75=parseInt(_0x5bfe4d(0x180))/0x1*(parseInt(_0x5bfe4d(0xf1))/0x2)+parseInt(_0x5bfe4d(0xd6))/0x3+parseInt(_0x5bfe4d(0x196))/0x4+parseInt(_0x5bfe4d(0xe7))/0x5*(parseInt(_0x5bfe4d(0xf5))/0x6)+-parseInt(_0x5bfe4d(0x131))/0x7*(-parseInt(_0x5bfe4d(0xd5))/0x8)+parseInt(_0x5bfe4d(0x154))/0x9*(-parseInt(_0x5bfe4d(0x14d))/0xa)+parseInt(_0x5bfe4d(0x12c))/0xb*(-parseInt(_0x5bfe4d(0x119))/0xc);if(_0x52c75===_0x500bb3)break;else _0x4590b7['push'](_0x4590b7['shift']());}catch(_0x2a78c9){_0x4590b7['push'](_0x4590b7['shift']());}}}(_0x488d,0x771d3));function _0x5864(_0xdf15c5,_0x47fa59){const _0x488d1f=_0x488d();return _0x5864=function(_0x586480,_0x120d1a){_0x586480=_0x586480-0xd0;let _0x777649=_0x488d1f[_0x586480];return _0x777649;},_0x5864(_0xdf15c5,_0x47fa59);}var _=Object[_0x5e7d0c(0x10f)],L=(_0x1552a5,_0x4b15c8,_0x113e7e)=>_0x4b15c8 in _0x1552a5?_(_0x1552a5,_0x4b15c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x113e7e}):_0x1552a5[_0x4b15c8]=_0x113e7e,o=(_0x1309a2,_0x3fa8ff,_0x1595d6)=>L(_0x1309a2,typeof _0x3fa8ff!=_0x5e7d0c(0x152)?_0x3fa8ff+'':_0x3fa8ff,_0x1595d6);Object[_0x5e7d0c(0x10f)](exports,Symbol[_0x5e7d0c(0x103)],{'value':_0x5e7d0c(0xe5)});const h=require('@univerjs-pro/sheets-chart'),U=require(_0x5e7d0c(0x157)),u=require('@univerjs/core'),M=require(_0x5e7d0c(0x116)),f=require(_0x5e7d0c(0x163)),A=require(_0x5e7d0c(0x11e)),j=require(_0x5e7d0c(0x1ab)),Y=require(_0x5e7d0c(0xf0)),C=require('@univerjs/sheets-ui'),s=(_0x1142c8,_0x32994d,_0x31aac8)=>{const _0x7d035e=_0x5e7d0c;_0x31aac8!==void 0x0&&h[_0x7d035e(0x1a8)](_0x1142c8,_0x32994d,_0x31aac8);},v=(_0x19e10f,_0x4057ae,_0x3f040c,_0x328591={})=>{const _0x5e5529=_0x5e7d0c,_0x3ffda5={},_0x551dea={};if(_0x328591[_0x5e5529(0x1a0)]){const _0x41a74a=_0x328591['title'];s(_0x3ffda5,_0x5e5529(0x114),_0x41a74a[_0x5e5529(0xe2)]),s(_0x3ffda5,'titles.title.font',_0x41a74a[_0x5e5529(0x165)]),s(_0x3ffda5,_0x5e5529(0x19a),_0x41a74a[_0x5e5529(0x18a)]),s(_0x3ffda5,_0x5e5529(0x168),_0x41a74a[_0x5e5529(0x16f)]),s(_0x3ffda5,'titles.title.family',_0x41a74a[_0x5e5529(0xdf)]),s(_0x3ffda5,_0x5e5529(0x100),_0x41a74a['bold']),s(_0x3ffda5,_0x5e5529(0x183),_0x41a74a['titleAlignment']),s(_0x3ffda5,_0x5e5529(0x1a1),_0x41a74a[_0x5e5529(0x115)]);}if(_0x328591[_0x5e5529(0xd4)]){const _0x14d3c5=_0x328591[_0x5e5529(0xd4)];s(_0x3ffda5,_0x5e5529(0x1a6),_0x14d3c5[_0x5e5529(0x115)]),s(_0x3ffda5,_0x5e5529(0x111),_0x14d3c5[_0x5e5529(0x171)]),s(_0x3ffda5,_0x5e5529(0x132),_0x14d3c5[_0x5e5529(0x18a)]),s(_0x3ffda5,'legend.label.color',_0x14d3c5[_0x5e5529(0x133)]),s(_0x3ffda5,_0x5e5529(0x14a),_0x14d3c5[_0x5e5529(0x1a4)]),s(_0x3ffda5,_0x5e5529(0x15e),_0x14d3c5['italic']);}if(_0x328591[_0x5e5529(0x102)]){const _0xb239c4=_0x328591[_0x5e5529(0x102)];s(_0x3ffda5,_0x5e5529(0x130),_0xb239c4[_0x5e5529(0xee)]),s(_0x3ffda5,'pie.borderColor',_0xb239c4[_0x5e5529(0x104)]),s(_0x3ffda5,_0x5e5529(0x13a),_0xb239c4[_0x5e5529(0x186)]),s(_0x3ffda5,_0x5e5529(0x14e),_0xb239c4[_0x5e5529(0x17a)]),s(_0x3ffda5,_0x5e5529(0x142),_0xb239c4[_0x5e5529(0x15f)]),s(_0x3ffda5,'pie.showLabelLine',_0xb239c4[_0x5e5529(0x195)]);}if(_0x328591[_0x5e5529(0x172)]){const _0xded8a1=_0x328591[_0x5e5529(0x172)];s(_0x3ffda5,_0x5e5529(0x13b),_0xded8a1[_0x5e5529(0x106)]),s(_0x3ffda5,'tooltip.indicatorLineType',_0xded8a1[_0x5e5529(0xe3)]),s(_0x3ffda5,_0x5e5529(0x149),_0xded8a1[_0x5e5529(0x1aa)]),s(_0x3ffda5,'tooltip.indicatorLabelTextColor',_0xded8a1[_0x5e5529(0x160)]);}if(_0x328591[_0x5e5529(0xf3)]&&(s(_0x3ffda5,_0x5e5529(0x14f),_0x328591[_0x5e5529(0xf3)][_0x5e5529(0x178)]),s(_0x3ffda5,'allSeriesStyle.label',_0x328591[_0x5e5529(0xf3)][_0x5e5529(0x110)]),s(_0x3ffda5,_0x5e5529(0xdd),_0x328591[_0x5e5529(0xf3)][_0x5e5529(0x191)]),s(_0x3ffda5,_0x5e5529(0x138),_0x328591['allSeriesStyle'][_0x5e5529(0x189)]),s(_0x3ffda5,_0x5e5529(0x1a3),_0x328591[_0x5e5529(0xf3)][_0x5e5529(0x133)])),_0x328591['area']&&s(_0x3ffda5,_0x5e5529(0x169),_0x328591[_0x5e5529(0x12e)][_0x5e5529(0x1a5)]),_0x328591['theme']&&s(_0x3ffda5,_0x5e5529(0x1a7),_0x328591[_0x5e5529(0x1a7)]),_0x328591[_0x5e5529(0x192)]&&s(_0x3ffda5,_0x5e5529(0x192),_0x328591[_0x5e5529(0x192)]),_0x328591[_0x5e5529(0x104)]&&s(_0x3ffda5,_0x5e5529(0x104),_0x328591[_0x5e5529(0x104)]),_0x328591['gradientFill']&&s(_0x3ffda5,_0x5e5529(0x13d),_0x328591[_0x5e5529(0x13d)]),_0x328591[_0x5e5529(0xfc)]&&s(_0x3ffda5,_0x5e5529(0xfc),_0x328591[_0x5e5529(0xfc)]),_0x328591['radar']&&s(_0x3ffda5,_0x5e5529(0x19f),_0x328591['radar']),_0x328591[_0x5e5529(0x18f)]){const _0x439938=_0x328591[_0x5e5529(0x18f)];s(_0x3ffda5,'titles.xAxisTitle.content',_0x439938[_0x5e5529(0xe2)]),s(_0x3ffda5,_0x5e5529(0x18d),_0x439938['font']),s(_0x3ffda5,_0x5e5529(0xd3),_0x439938[_0x5e5529(0x18a)]),s(_0x3ffda5,'titles.xAxisTitle.color',_0x439938[_0x5e5529(0x16f)]),s(_0x3ffda5,'titles.xAxisTitle.family',_0x439938[_0x5e5529(0xdf)]),s(_0x3ffda5,_0x5e5529(0x19b),_0x439938[_0x5e5529(0x1a4)]),s(_0x3ffda5,'xAxis.label.axisTitleAlign',_0x439938[_0x5e5529(0x135)]);}if(_0x328591[_0x5e5529(0x158)]){const _0x476d2c=_0x328591[_0x5e5529(0x158)];s(_0x3ffda5,_0x5e5529(0x107),_0x476d2c[_0x5e5529(0xe2)]),s(_0x3ffda5,_0x5e5529(0xed),_0x476d2c[_0x5e5529(0x165)]),s(_0x3ffda5,'titles.yAxisTitle.fontSize',_0x476d2c[_0x5e5529(0x18a)]),s(_0x3ffda5,_0x5e5529(0xfe),_0x476d2c[_0x5e5529(0x16f)]),s(_0x3ffda5,_0x5e5529(0x17d),_0x476d2c[_0x5e5529(0xdf)]),s(_0x3ffda5,_0x5e5529(0x105),_0x476d2c['bold']),s(_0x3ffda5,'yAxis.label.axisTitleAlign',_0x476d2c[_0x5e5529(0x135)]);}if(_0x328591[_0x5e5529(0xe8)]){const _0x253d47=_0x328591['rightYAxisTitle'];s(_0x3ffda5,'titles.rightYAxisTitle.content',_0x253d47[_0x5e5529(0xe2)]),s(_0x3ffda5,_0x5e5529(0x112),_0x253d47[_0x5e5529(0x165)]),s(_0x3ffda5,_0x5e5529(0xf4),_0x253d47['fontSize']),s(_0x3ffda5,_0x5e5529(0x175),_0x253d47[_0x5e5529(0x16f)]),s(_0x3ffda5,_0x5e5529(0x164),_0x253d47[_0x5e5529(0xdf)]),s(_0x3ffda5,_0x5e5529(0xfb),_0x253d47[_0x5e5529(0x1a4)]),s(_0x3ffda5,'rightYAxis.label.axisTitleAlign',_0x253d47[_0x5e5529(0x135)]);}_0x328591[_0x5e5529(0x140)]&&s(_0x3ffda5,_0x5e5529(0x140),_0x328591[_0x5e5529(0x140)]),_0x328591[_0x5e5529(0x12f)]&&s(_0x3ffda5,_0x5e5529(0x12f),_0x328591[_0x5e5529(0x12f)]),_0x328591[_0x5e5529(0x141)]&&s(_0x3ffda5,_0x5e5529(0x191),_0x328591[_0x5e5529(0x141)]),_0x328591['seriesStyleMap']&&s(_0x3ffda5,_0x5e5529(0xd1),_0x328591['seriesStyleMap']);const _0x5316ed={'unitId':_0x19e10f,'chartModelId':_0x4057ae};let _0x32935a=!0x1;if(_0x3f040c!==void 0x0&&(_0x5316ed[_0x5e5529(0x12d)]=_0x3f040c,_0x32935a=!0x0),Object[_0x5e5529(0x12b)](_0x3ffda5)[_0x5e5529(0x176)]>0x0&&(_0x5316ed[_0x5e5529(0x166)]=_0x3ffda5,_0x32935a=!0x0),Object[_0x5e5529(0x12b)](_0x551dea)[_0x5e5529(0x176)]>0x0&&(_0x5316ed[_0x5e5529(0x1a9)]=_0x551dea,_0x32935a=!0x0),_0x32935a)return _0x5316ed;};class d extends A[_0x5e7d0c(0x13e)]{constructor(_0x158105,_0x4f65af,_0x56aa0d,_0x5e4c11,_0xe99d8c){const _0x48a0ca=_0x5e7d0c;super(),o(this,'_workbook'),o(this,'_injector'),o(this,_0x48a0ca(0x125)),o(this,'subUnitId'),o(this,_0x48a0ca(0x127)),o(this,_0x48a0ca(0xea)),o(this,_0x48a0ca(0x144)),o(this,'x'),o(this,'y'),o(this,_0x48a0ca(0xd2)),o(this,_0x48a0ca(0x118)),o(this,'chartType'),o(this,_0x48a0ca(0x126)),o(this,_0x48a0ca(0x19e)),(this[_0x48a0ca(0x125)]=_0x158105,this['subUnitId']=_0x4f65af,this[_0x48a0ca(0xef)]=_0x56aa0d,this[_0x48a0ca(0x17f)]=_0x5e4c11,_0xe99d8c&&(this['chartId']=_0xe99d8c));}[_0x5e7d0c(0x153)](){const _0x4909f4=_0x5e7d0c;return this[_0x4909f4(0x12d)];}[_0x5e7d0c(0x16a)](_0x52dc53){const _0x2aad6d=_0x5e7d0c;if(typeof _0x52dc53==_0x2aad6d(0xeb)){const _0x536dee=j[_0x2aad6d(0x10d)](_0x52dc53);_0x536dee['sheetName']&&(this[_0x2aad6d(0x144)]=_0x536dee[_0x2aad6d(0x124)]),this['range']=_0x536dee[_0x2aad6d(0xea)];}else this[_0x2aad6d(0xea)]=_0x52dc53;return this;}[_0x5e7d0c(0x10c)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}['setPosition'](_0x4851b6,_0x172d29,_0xabe11e,_0x3fce83){const _0x4a9954=_0x5e7d0c,_0x500f4c=this[_0x4a9954(0x17f)][_0x4a9954(0x145)](Y[_0x4a9954(0x16e)])[_0x4a9954(0x162)](this[_0x4a9954(0x125)]);if(!_0x500f4c)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x8d0f5b=_0x500f4c['with'](C['ISheetSelectionRenderService']),_0x1a9f2f=_0x500f4c[_0x4a9954(0xd0)](C[_0x4a9954(0x10b)]),{transform:_0x1644a9}=C['convertPositionCellToSheetOverGrid'](this[_0x4a9954(0x125)],this[_0x4a9954(0x11a)],{'row':_0x4851b6,'column':_0x172d29,'rowOffset':_0xabe11e,'columnOffset':_0x3fce83},0x1,0x1,_0x8d0f5b,_0x1a9f2f),_0x2dce63=_0x1644a9[_0x4a9954(0x13c)],_0x8ba240=_0x1644a9[_0x4a9954(0xff)];return this['x']=_0x8ba240,this['y']=_0x2dce63,this;}[_0x5e7d0c(0x193)](_0x1d995a,_0x3cb97f){return this['x']=_0x1d995a,this['y']=_0x3cb97f,this;}[_0x5e7d0c(0x113)](_0x5cf491){return this['chartType']=_0x5cf491,this;}[_0x5e7d0c(0x170)](_0x36c0b1){const _0x467348=_0x5e7d0c;return this[_0x467348(0xd2)]=_0x36c0b1,this;}[_0x5e7d0c(0x167)](_0x2e6fc3){return this['height']=_0x2e6fc3,this;}[_0x5e7d0c(0x16c)](_0x2f692f,_0x27211e){const _0x1f9281=_0x5e7d0c;return this[_0x1f9281(0x126)]||(this[_0x1f9281(0x126)]={}),_0x2f692f===''?(this[_0x1f9281(0x126)]={...this[_0x1f9281(0x126)],..._0x27211e},this):(h['setProperty'](this[_0x1f9281(0x126)],_0x2f692f,_0x27211e),this);}['setTransposeRowsAndColumns'](_0x5b66ca){const _0x4cae9f=_0x5e7d0c;return this[_0x4cae9f(0x19e)]=_0x5b66ca,this;}['setTheme'](_0x1ead5b){const _0x4f613d=_0x5e7d0c;return this[_0x4f613d(0x16c)]('theme',_0x1ead5b),this;}[_0x5e7d0c(0x121)](_0x3f0bc7){const _0x1a4f7b=_0x5e7d0c;var _0x501f17;const _0x2e1151=((_0x501f17=this['options'])==null?void 0x0:_0x501f17[_0x1a4f7b(0x18f)])||{};return _0x2e1151[_0x1a4f7b(0xe2)]=_0x3f0bc7,this[_0x1a4f7b(0x16c)](_0x1a4f7b(0x18f),_0x2e1151),this;}[_0x5e7d0c(0x1a2)](_0x3e0157){const _0x38504b=_0x5e7d0c;var _0x3f27ea;const _0x25401f=((_0x3f27ea=this['options'])==null?void 0x0:_0x3f27ea['yAxisTitle'])||{};return _0x25401f[_0x38504b(0xe2)]=_0x3e0157,this[_0x38504b(0x16c)]('yAxisTitle',_0x25401f),this;}[_0x5e7d0c(0x19d)](_0x2477e9){const _0x3f4f44=_0x5e7d0c;var _0x23ae65;const _0x2dcab8=((_0x23ae65=this[_0x3f4f44(0x126)])==null?void 0x0:_0x23ae65[_0x3f4f44(0xe8)])||{};return _0x2dcab8['content']=_0x2477e9,this[_0x3f4f44(0x16c)](_0x3f4f44(0xe8),_0x2dcab8),this;}['setXAxisTextStyle'](_0x4d4285){const _0x32131a=_0x5e7d0c;var _0x2c7c37;const _0x286c70=((_0x2c7c37=this[_0x32131a(0x126)])==null?void 0x0:_0x2c7c37[_0x32131a(0x18f)])||{};return this['setOptions'](_0x32131a(0x18f),{..._0x286c70,..._0x4d4285}),this;}[_0x5e7d0c(0x136)](_0xe0b52f){const _0x4e154f=_0x5e7d0c;var _0x82b458;const _0xc2d983=((_0x82b458=this[_0x4e154f(0x126)])==null?void 0x0:_0x82b458[_0x4e154f(0x158)])||{};return this['setOptions'](_0x4e154f(0x158),{..._0xc2d983,..._0xe0b52f}),this;}[_0x5e7d0c(0x161)](_0x42e0d2){const _0x1159c0=_0x5e7d0c;var _0x38b94d;const _0xd4e793=((_0x38b94d=this[_0x1159c0(0x126)])==null?void 0x0:_0x38b94d[_0x1159c0(0xe8)])||{};return this[_0x1159c0(0x16c)](_0x1159c0(0xe8),{..._0xd4e793,..._0x42e0d2}),this;}[_0x5e7d0c(0xe6)](_0x33a7ae){const _0x378246=_0x5e7d0c;return this[_0x378246(0x16c)]('invalidValueType',_0x33a7ae),this;}[_0x5e7d0c(0x187)](_0x19edf3){const _0x15fcbf=_0x5e7d0c;return this[_0x15fcbf(0x16c)](_0x15fcbf(0x172),_0x19edf3),this;}[_0x5e7d0c(0xda)](_0x167971){return this['setOptions']('allSeriesStyle',_0x167971),this;}[_0x5e7d0c(0x12a)](_0x3a26a9,_0x3fe67d){const _0x9cb379=_0x5e7d0c;return this[_0x9cb379(0x16c)](_0x9cb379(0xd1),{[_0x3a26a9]:_0x3fe67d}),this;}['build'](){const _0x4d8d2a=_0x5e7d0c;var _0x3b9091;let _0x2b33af=this[_0x4d8d2a(0x11a)];if(this[_0x4d8d2a(0x144)]){const _0x4989e7=(_0x3b9091=this['_workbook'][_0x4d8d2a(0x151)](this[_0x4d8d2a(0x144)]))==null?void 0x0:_0x3b9091[_0x4d8d2a(0x156)]();if(!_0x4989e7)throw new Error(_0x4d8d2a(0x17b)+this[_0x4d8d2a(0x144)]+_0x4d8d2a(0xd7));_0x2b33af=_0x4989e7;}return{'unitId':this[_0x4d8d2a(0x125)],'subUnitId':_0x2b33af,'chartId':this[_0x4d8d2a(0x127)],'range':this[_0x4d8d2a(0xea)],'x':this['x'],'y':this['y'],'width':this[_0x4d8d2a(0xd2)],'height':this[_0x4d8d2a(0x118)],'chartType':this['chartType'],'options':this[_0x4d8d2a(0x126)],'isRowDirection':this[_0x4d8d2a(0x19e)]};}}class T{constructor(_0x26c3b3,_0x16a6c9,_0x191b11,_0x1016e1){const _0x2f5858=_0x5e7d0c;o(this,_0x2f5858(0x125)),o(this,_0x2f5858(0x11a)),o(this,_0x2f5858(0x127)),o(this,_0x2f5858(0x17f)),(this[_0x2f5858(0x125)]=_0x26c3b3,this[_0x2f5858(0x11a)]=_0x16a6c9,this[_0x2f5858(0x127)]=_0x191b11,this[_0x2f5858(0x17f)]=_0x1016e1);}[_0x5e7d0c(0xf7)](){const _0x4700dc=_0x5e7d0c;return this[_0x4700dc(0x127)];}[_0x5e7d0c(0x181)](){const _0x10ac67=_0x5e7d0c,_0x52ddcb=this[_0x10ac67(0x17f)]['get'](h['SheetsChartService'])[_0x10ac67(0x19c)](this[_0x10ac67(0x127)]);if(_0x52ddcb)return _0x52ddcb[_0x10ac67(0xe4)]['getRangeInfo']();}['updateRange'](_0xfebf86){const _0x3c052f=_0x5e7d0c;return this['_injector'][_0x3c052f(0x145)](u[_0x3c052f(0x184)])[_0x3c052f(0xe0)](h[_0x3c052f(0x18e)]['id'],{'unitId':this['unitId'],'chartModelId':this[_0x3c052f(0x127)],'range':_0xfebf86});}[_0x5e7d0c(0x198)](){const _0x2c57be=_0x5e7d0c;var _0x5d0dce;const _0xe14619=this[_0x2c57be(0x17f)][_0x2c57be(0x145)](h[_0x2c57be(0x17e)])['getChartModel'](this[_0x2c57be(0x127)]);if(_0xe14619)return(_0x5d0dce=_0xe14619[_0x2c57be(0x139)])==null?void 0x0:_0x5d0dce['series'];}[_0x5e7d0c(0xe1)](){const _0x1f9397=_0x5e7d0c;var _0x2ef6e7;const _0x1e029c=this[_0x1f9397(0x17f)][_0x1f9397(0x145)](h[_0x1f9397(0x17e)])['getChartModel'](this['chartId']);if(_0x1e029c)return(_0x2ef6e7=_0x1e029c['config'])==null?void 0x0:_0x2ef6e7[_0x1f9397(0x147)];}[_0x5e7d0c(0x137)](){const _0x17c6d7=_0x5e7d0c,_0x20cc6e=this[_0x17c6d7(0x17f)][_0x17c6d7(0x145)](u[_0x17c6d7(0x109)])['getCurrentUnitForType'](u[_0x17c6d7(0xfd)][_0x17c6d7(0xde)]);return new d(this[_0x17c6d7(0x125)],this['subUnitId'],_0x20cc6e,this['_injector'],this[_0x17c6d7(0x127)]);}}class E extends f[_0x5e7d0c(0x11f)]{async[_0x5e7d0c(0x134)](_0x433672){const _0x3d093a=_0x5e7d0c;var _0x1f8005,_0x123447,_0x2418b6;const _0x3881d1=_0x433672[_0x3d093a(0x125)]||this[_0x3d093a(0xdb)]()[_0x3d093a(0x174)](),_0x299a1e=_0x433672[_0x3d093a(0x11a)]||this[_0x3d093a(0x156)](),_0x50f54f=_0x433672['chartId']||u[_0x3d093a(0x18b)](),_0x387292=_0x433672[_0x3d093a(0x12d)],_0x30a211=_0x433672['range'],_0xf74a88={'x':_0x433672['x'],'y':_0x433672['y']},_0x307125=_0x433672[_0x3d093a(0xd2)],_0x291e9b=_0x433672[_0x3d093a(0x118)],_0x3f75d3=(_0x1f8005=_0x433672[_0x3d093a(0x126)])==null?void 0x0:_0x1f8005[_0x3d093a(0x192)],_0x25f56d=(_0x123447=_0x433672[_0x3d093a(0x126)])==null?void 0x0:_0x123447[_0x3d093a(0x104)],_0x20081b=v(_0x3881d1,_0x50f54f,_0x387292,_0x433672[_0x3d093a(0x126)]),_0x2ff59f=(_0x2418b6=_0x433672[_0x3d093a(0x129)])!=null?_0x2418b6:!0x0;if(!_0x30a211)throw new Error(_0x3d093a(0x155));return await this[_0x3d093a(0xe9)][_0x3d093a(0xe0)](U[_0x3d093a(0x185)]['id'],{'unitId':_0x3881d1,'subUnitId':_0x299a1e,'chartId':_0x50f54f,'chartType':_0x387292,'range':_0x30a211,'position':_0xf74a88,'width':_0x307125,'height':_0x291e9b,'backgroundColor':_0x3f75d3,'borderColor':_0x25f56d,'config':_0x20081b,'isRowDirection':_0x2ff59f}),new T(_0x3881d1,_0x299a1e,_0x50f54f,this['_injector']);}[_0x5e7d0c(0x11b)](_0x2ee764){const _0x5e06ed=_0x5e7d0c,{unitId:_0x1d3704,chartId:_0x18a605,chartType:_0x4d0f17,options:_0x2e07ce}=_0x2ee764,_0x11aeec=v(_0x1d3704,_0x18a605,_0x4d0f17,_0x2e07ce);this[_0x5e06ed(0xe9)][_0x5e06ed(0xe0)](h['ChartUpdateConfigCommand']['id'],_0x11aeec);}['newChart'](_0x143dbb){const _0xb675c=_0x5e7d0c;if(_0x143dbb)return new d(_0x143dbb['unitId'],_0x143dbb[_0xb675c(0x11a)],this[_0xb675c(0xef)],this[_0xb675c(0x17f)],_0x143dbb['chartId']);const _0xb4d1b9=this[_0xb675c(0xdb)]()[_0xb675c(0x174)](),_0x55c7c8=this[_0xb675c(0x156)]();return new d(_0xb4d1b9,_0x55c7c8,this[_0xb675c(0xef)],this[_0xb675c(0x17f)]);}[_0x5e7d0c(0x194)](){const _0x1ee423=_0x5e7d0c,_0x3082d0=this[_0x1ee423(0x17f)][_0x1ee423(0x145)](h[_0x1ee423(0x17e)]),_0x18806b=this['getWorkbook']()[_0x1ee423(0x174)]();return _0x3082d0[_0x1ee423(0xf9)](_0x18806b,this[_0x1ee423(0x156)]())[_0x1ee423(0x11c)](_0x1eb43a=>new T(_0x18806b,this[_0x1ee423(0x156)](),_0x1eb43a['id'],this[_0x1ee423(0x17f)]));}[_0x5e7d0c(0x146)](_0x35a52f){const _0x51e811=_0x5e7d0c,_0x203a2b=_0x35a52f[_0x51e811(0x125)],_0x97772c=_0x35a52f[_0x51e811(0x11a)],_0x510313=_0x35a52f[_0x51e811(0x127)],_0x44bbdd={'unitId':_0x203a2b,'drawings':[{'unitId':_0x203a2b,'subUnitId':_0x97772c,'drawingId':_0x510313,'drawingType':u[_0x51e811(0xf6)]['DRAWING_CHART']}]};return this['_commandService'][_0x51e811(0xe0)](M[_0x51e811(0xec)]['id'],_0x44bbdd);}['registerChartTheme'](_0x1f8464,_0x429243){const _0x33aeec=_0x5e7d0c;this[_0x33aeec(0x17f)][_0x33aeec(0x145)](h[_0x33aeec(0x18c)])['registerTheme'](_0x1f8464,_0x429243);}}f[_0x5e7d0c(0x11f)][_0x5e7d0c(0x101)](E);function _0x488d(){const _0x308011=['titles.xAxisTitle.bold','getChartModel','setRightYAxisTitle','transposeRowsAndColumns','radar','title','titles.titlePosition','setYAxisTitle','allSeriesStyle.color','bold','lineStyle','legend.position','theme','setProperty','context','indicatorLineColor','@univerjs/engine-formula','shape','with','seriesStyleMap','width','titles.xAxisTitle.fontSize','legend','373720uZoCdj','1305420yrmywg','\x20not\x20found','FEnum','ChartTypeBits','setAllSeriesStyle','getWorkbook','asRadarChart','allSeriesStyle.rightYAxis','UNIVER_SHEET','fontStyle','executeCommand','getCategoryData','content','indicatorLineType','dataSource','Module','setInvalidValueStrategy','1779455QJLRDR','rightYAxisTitle','_commandService','range','string','RemoveSheetDrawingCommand','titles.yAxisTitle.font','doughnutHole','_workbook','@univerjs/engine-render','124208VFlnuC','dataPointColor','allSeriesStyle','titles.rightYAxisTitle.fontSize','6izfuQy','DrawingTypeEnum','getChartId','radar.shape','getUnitChartModels','setDataPointColor','titles.rightYAxisTitle.bold','invalidValueType','UniverInstanceType','titles.yAxisTitle.color','left','titles.title.bold','extend','pie','toStringTag','borderColor','titles.yAxisTitle.bold','indicatorLabelColor','titles.yAxisTitle.content','fill','IUniverInstanceService','Pie','SheetSkeletonManagerService','clearRange','deserializeRangeWithSheet','AxisAlignEnum','defineProperty','label','legend.selectMode','titles.rightYAxisTitle.font','setChartType','titles.title.content','position','@univerjs/sheets-drawing-ui','pie.showLabelLine','height','12UNIgeF','subUnitId','updateChart','map','allSeriesStyle.point.color','@univerjs/core/facade','FWorksheet','dataPointSize','setXAxisTitle','LinePointShape','RadarShape','sheetName','unitId','options','chartId','setDataPointSize','isRowDirection','setSeriesStyle','keys','4868699JkEmSD','chartType','area','yAxis','pie.doughnutHole','28LDwlKe','legend.label.fontSize','color','insertChart','axisAlignment','setYAxisTextStyle','modify','allSeriesStyle.point','config','pie.hasPaddingAngle','tooltip.indicatorLabelColor','top','gradientFill','FBase','setBorderColor','xAxis','yRightAxis','pie.rosePie','asLineChart','sourceSheetName','get','removeChart','category','asPieChart','tooltip.indicatorLineColor','legend.label.bold','ChartType','setDataPointShape','2905960rnynxn','pie.isHalfPie','allSeriesStyle.border','setRosePie','getSheetBySheetName','symbol','getChartType','9uQbRup','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','getSheetId','@univerjs-pro/sheets-chart-ui','yAxisTitle','build','SelectModeEnum','setDoughnutHole','setHasPaddingAngle','setShape','legend.label.italic','rosePie','indicatorLabelTextColor','setRightYAxisTextStyle','getRenderById','@univerjs/sheets/facade','titles.rightYAxisTitle.family','font','style','setHeight','titles.title.color','area.lineStyle','addRange','allSeriesStyle.point.size','setOptions','LegendPositionEnum','IRenderManagerService','fontColor','setWidth','selectMode','axisPointer','LineChartBuilder','getUnitId','titles.rightYAxisTitle.color','length','PieChartBuilder','border','setIsHalfPie','isHalfPie','Sheet\x20','setLineStyle','titles.yAxisTitle.family','SheetsChartService','_injector','1zVrMPi','getRange','FChart','titles.title.align','ICommandService','InsertChartCommand','hasPaddingAngle','setAxisPointerStyle','dataPointShape','point','fontSize','generateRandomId','ChartThemeService','titles.xAxisTitle.font','ChartUpdateSourceCommand','xAxisTitle','RadarChartBuilder','rightYAxis','backgroundColor','setAbsolutePosition','getCharts','showLabelLine','724404LLKoap','allSeriesStyle.point.shape','getSeriesData','ChartBorderDashType','titles.title.fontSize'];_0x488d=function(){return _0x308011;};return _0x488d();}class H extends A[_0x5e7d0c(0xd8)]{get[_0x5e7d0c(0x14b)](){return h['ChartTypeBits'];}get[_0x5e7d0c(0x16d)](){return h['LegendPositionEnum'];}get[_0x5e7d0c(0x15a)](){const _0x113d2b=_0x5e7d0c;return h[_0x113d2b(0x15a)];}get[_0x5e7d0c(0x10e)](){const _0x21051a=_0x5e7d0c;return h[_0x21051a(0x10e)];}get[_0x5e7d0c(0x199)](){const _0x41230e=_0x5e7d0c;return h[_0x41230e(0x199)];}get[_0x5e7d0c(0x122)](){return h['LinePointShape'];}get['TitlePositionEnum'](){return h['TitlePositionEnum'];}get[_0x5e7d0c(0x123)](){const _0x539f16=_0x5e7d0c;return h[_0x539f16(0x123)];}}A[_0x5e7d0c(0xd8)][_0x5e7d0c(0x101)](H);class b extends d{constructor(_0x39d6d0,_0x48b1ac,_0x2b7f33,_0x57ca65,_0x7e9310){const _0x4f9821=_0x5e7d0c;super(_0x39d6d0,_0x48b1ac,_0x2b7f33,_0x57ca65,_0x7e9310),o(this,_0x4f9821(0x1a5)),o(this,_0x4f9821(0x188)),o(this,_0x4f9821(0xf2)),o(this,_0x4f9821(0x120));}[_0x5e7d0c(0x17c)](_0x3ba58a){return this['lineStyle']=_0x3ba58a,this;}[_0x5e7d0c(0x14c)](_0x3f078f){const _0x488275=_0x5e7d0c;return this[_0x488275(0x188)]=_0x3f078f,this;}[_0x5e7d0c(0xfa)](_0x1e92d5){const _0x5ba932=_0x5e7d0c;return this[_0x5ba932(0xf2)]=_0x1e92d5,this;}[_0x5e7d0c(0x128)](_0xb1938e){const _0x3421da=_0x5e7d0c;return this[_0x3421da(0x120)]=_0xb1938e,this;}[_0x5e7d0c(0x159)](){const _0x6faa9d=_0x5e7d0c,_0x189e7b=super[_0x6faa9d(0x159)]();_0x189e7b['chartType']=h[_0x6faa9d(0xd9)]['Line'];const _0x196728=_0x189e7b[_0x6faa9d(0x126)]||{};return s(_0x196728,_0x6faa9d(0x169),this[_0x6faa9d(0x1a5)]),s(_0x196728,_0x6faa9d(0x197),this[_0x6faa9d(0x188)]),s(_0x196728,_0x6faa9d(0x11d),this[_0x6faa9d(0xf2)]),s(_0x196728,_0x6faa9d(0x16b),this[_0x6faa9d(0x120)]),_0x189e7b[_0x6faa9d(0x126)]=_0x196728,_0x189e7b;}}class z extends d{[_0x5e7d0c(0x143)](){const _0x163e92=_0x5e7d0c;return new b(this[_0x163e92(0x125)],this['subUnitId'],this[_0x163e92(0xef)],this['_injector'],this[_0x163e92(0x127)]);}}d['extend'](z);class I extends d{constructor(_0x19db37,_0x543a08,_0x36bc69,_0xfd9568,_0x4d9768){const _0x1da2d9=_0x5e7d0c;super(_0x19db37,_0x543a08,_0x36bc69,_0xfd9568,_0x4d9768),o(this,_0x1da2d9(0xee)),o(this,_0x1da2d9(0x104)),o(this,_0x1da2d9(0x186)),o(this,_0x1da2d9(0x17a)),o(this,_0x1da2d9(0x15f)),o(this,'showLabelLine');}[_0x5e7d0c(0x15b)](_0x427c34){const _0x38c4a7=_0x5e7d0c;return this[_0x38c4a7(0xee)]=_0x427c34,this;}[_0x5e7d0c(0x13f)](_0x33d034){const _0x2d6c87=_0x5e7d0c;return this[_0x2d6c87(0x104)]=_0x33d034,this;}[_0x5e7d0c(0x15c)](_0x22a844){const _0x282367=_0x5e7d0c;return this[_0x282367(0x186)]=_0x22a844,this;}[_0x5e7d0c(0x179)](_0x1cce65){const _0x5b4b0c=_0x5e7d0c;return this[_0x5b4b0c(0x17a)]=_0x1cce65,this;}[_0x5e7d0c(0x150)](_0x397ff2){return this['rosePie']=_0x397ff2,this;}['setShowLabelLine'](_0x35ca8c){return this['showLabelLine']=_0x35ca8c,this;}[_0x5e7d0c(0x159)](){const _0x246c95=_0x5e7d0c,_0x5956b6=super[_0x246c95(0x159)]();_0x5956b6[_0x246c95(0x12d)]=h['ChartTypeBits'][_0x246c95(0x10a)];const _0x1480e8=_0x5956b6[_0x246c95(0x126)]||{};return s(_0x1480e8,'pie.doughnutHole',this[_0x246c95(0xee)]),s(_0x1480e8,'pie.borderColor',this[_0x246c95(0x104)]),s(_0x1480e8,'pie.hasPaddingAngle',this[_0x246c95(0x186)]),s(_0x1480e8,_0x246c95(0x14e),this['isHalfPie']),s(_0x1480e8,'pie.rosePie',this[_0x246c95(0x15f)]),s(_0x1480e8,_0x246c95(0x117),this[_0x246c95(0x195)]),_0x5956b6[_0x246c95(0x126)]=_0x1480e8,_0x5956b6;}}class F extends d{[_0x5e7d0c(0x148)](){const _0x5a88a1=_0x5e7d0c;return new I(this[_0x5a88a1(0x125)],this['subUnitId'],this[_0x5a88a1(0xef)],this[_0x5a88a1(0x17f)],this[_0x5a88a1(0x127)]);}}d['extend'](F);class k extends d{constructor(_0x3d3388,_0x283749,_0x5358fb,_0x141d9e,_0x4d765b){const _0x24e658=_0x5e7d0c;super(_0x3d3388,_0x283749,_0x5358fb,_0x141d9e,_0x4d765b),o(this,_0x24e658(0x1ac)),o(this,'fill');}[_0x5e7d0c(0x15d)](_0x148cd5){const _0x3d531b=_0x5e7d0c;return this[_0x3d531b(0x1ac)]=_0x148cd5,this;}['setFill'](_0x3c7325){const _0x253c46=_0x5e7d0c;return this[_0x253c46(0x108)]=_0x3c7325,this;}['build'](){const _0x5c2e08=_0x5e7d0c,_0x377cd5=super['build']();_0x377cd5['chartType']=h['ChartTypeBits']['Radar'];const _0x5d4b20=_0x377cd5['options']||{};return s(_0x5d4b20,_0x5c2e08(0xf8),this[_0x5c2e08(0x1ac)]),s(_0x5d4b20,'radar.fill',this['fill']),_0x377cd5[_0x5c2e08(0x126)]=_0x5d4b20,_0x377cd5;}}class O extends d{[_0x5e7d0c(0xdc)](){const _0x909659=_0x5e7d0c;return new k(this[_0x909659(0x125)],this[_0x909659(0x11a)],this[_0x909659(0xef)],this['_injector'],this['chartId']);}}d[_0x5e7d0c(0x101)](O),exports[_0x5e7d0c(0x182)]=T,exports['FChartBuilderBase']=d,exports[_0x5e7d0c(0x173)]=b,exports[_0x5e7d0c(0x177)]=I,exports[_0x5e7d0c(0x190)]=k;
1
+ 'use strict';const _0xc983bc=_0x59cd;(function(_0x3bf925,_0xc85c42){const _0x28910d=_0x59cd,_0x2d545d=_0x3bf925();while(!![]){try{const _0x887e38=parseInt(_0x28910d(0x1eb))/0x1*(-parseInt(_0x28910d(0x270))/0x2)+parseInt(_0x28910d(0x211))/0x3+-parseInt(_0x28910d(0x1e2))/0x4*(parseInt(_0x28910d(0x27a))/0x5)+-parseInt(_0x28910d(0x20a))/0x6*(-parseInt(_0x28910d(0x255))/0x7)+parseInt(_0x28910d(0x28e))/0x8+parseInt(_0x28910d(0x271))/0x9+parseInt(_0x28910d(0x265))/0xa;if(_0x887e38===_0xc85c42)break;else _0x2d545d['push'](_0x2d545d['shift']());}catch(_0x58eb77){_0x2d545d['push'](_0x2d545d['shift']());}}}(_0x469d,0xbbfa8));var L=Object[_0xc983bc(0x24f)],U=(_0x3c2e60,_0x3b0343,_0x1699b5)=>_0x3b0343 in _0x3c2e60?L(_0x3c2e60,_0x3b0343,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1699b5}):_0x3c2e60[_0x3b0343]=_0x1699b5,o=(_0x3fb09a,_0x183f92,_0x5f275d)=>U(_0x3fb09a,typeof _0x183f92!=_0xc983bc(0x22b)?_0x183f92+'':_0x183f92,_0x5f275d);Object[_0xc983bc(0x24f)](exports,Symbol[_0xc983bc(0x227)],{'value':'Module'});const d=require('@univerjs-pro/engine-chart'),u=require('@univerjs-pro/sheets-chart'),M=require(_0xc983bc(0x219)),S=require(_0xc983bc(0x216)),j=require(_0xc983bc(0x20c)),b=require(_0xc983bc(0x279)),m=require('@univerjs/core/facade'),Y=require(_0xc983bc(0x283)),E=require('@univerjs/engine-render'),T=require('@univerjs/sheets-ui'),s=(_0x376193,_0x18a9c9,_0x2a25fe)=>{const _0x1a3b11=_0xc983bc;_0x2a25fe!==void 0x0&&u[_0x1a3b11(0x27d)](_0x376193,_0x18a9c9,_0x2a25fe);},f=(_0x46e303,_0x2c3a5a,_0x4ac4a0,_0x51443f={})=>{const _0x37d852=_0xc983bc,_0x3832ff={},_0x54bc3c={};if(_0x51443f[_0x37d852(0x2af)]){const _0x58db5a=_0x51443f['title'];s(_0x3832ff,'titles.title.content',_0x58db5a['content']),s(_0x3832ff,_0x37d852(0x28d),_0x58db5a[_0x37d852(0x276)]),s(_0x3832ff,_0x37d852(0x287),_0x58db5a[_0x37d852(0x26c)]),s(_0x3832ff,_0x37d852(0x27f),_0x58db5a['fontColor']),s(_0x3832ff,'titles.title.family',_0x58db5a[_0x37d852(0x251)]),s(_0x3832ff,_0x37d852(0x1fb),_0x58db5a[_0x37d852(0x2ab)]),s(_0x3832ff,_0x37d852(0x23c),_0x58db5a[_0x37d852(0x1f1)]),s(_0x3832ff,_0x37d852(0x252),_0x58db5a[_0x37d852(0x2a8)]);}if(_0x51443f['legend']){const _0x476ad0=_0x51443f['legend'];s(_0x3832ff,_0x37d852(0x1e9),_0x476ad0[_0x37d852(0x2a8)]),s(_0x3832ff,_0x37d852(0x1fc),_0x476ad0['selectMode']),s(_0x3832ff,_0x37d852(0x217),_0x476ad0['fontSize']),s(_0x3832ff,_0x37d852(0x1de),_0x476ad0[_0x37d852(0x240)]),s(_0x3832ff,_0x37d852(0x21c),_0x476ad0[_0x37d852(0x2ab)]),s(_0x3832ff,'legend.label.italic',_0x476ad0['italic']);}if(_0x51443f[_0x37d852(0x1fd)]){const _0x386a73=_0x51443f[_0x37d852(0x1fd)];s(_0x3832ff,_0x37d852(0x293),_0x386a73[_0x37d852(0x28f)]),s(_0x3832ff,_0x37d852(0x29f),_0x386a73[_0x37d852(0x21a)]),s(_0x3832ff,_0x37d852(0x1f9),_0x386a73['hasPaddingAngle']),s(_0x3832ff,_0x37d852(0x2a0),_0x386a73['isHalfPie']),s(_0x3832ff,_0x37d852(0x289),_0x386a73[_0x37d852(0x244)]),s(_0x3832ff,_0x37d852(0x1e0),_0x386a73[_0x37d852(0x25e)]);}if(_0x51443f[_0x37d852(0x288)]){const _0x144781=_0x51443f[_0x37d852(0x288)];s(_0x3832ff,_0x37d852(0x262),_0x144781[_0x37d852(0x24d)]),s(_0x3832ff,_0x37d852(0x1ec),_0x144781[_0x37d852(0x294)]),s(_0x3832ff,_0x37d852(0x1f8),_0x144781[_0x37d852(0x1fe)]),s(_0x3832ff,_0x37d852(0x23f),_0x144781['indicatorLabelTextColor']);}if(_0x51443f['allSeriesStyle']&&(s(_0x3832ff,_0x37d852(0x215),_0x51443f['allSeriesStyle'][_0x37d852(0x1ee)]),s(_0x3832ff,_0x37d852(0x285),_0x51443f[_0x37d852(0x26a)]['label']),s(_0x3832ff,'allSeriesStyle.rightYAxis',_0x51443f[_0x37d852(0x26a)]['rightYAxis']),s(_0x3832ff,_0x37d852(0x1e4),_0x51443f[_0x37d852(0x26a)]['point']),s(_0x3832ff,_0x37d852(0x2ae),_0x51443f[_0x37d852(0x26a)]['color'])),_0x51443f['area']&&s(_0x3832ff,_0x37d852(0x214),_0x51443f[_0x37d852(0x207)][_0x37d852(0x2a3)]),_0x51443f[_0x37d852(0x243)]&&s(_0x3832ff,_0x37d852(0x243),_0x51443f['theme']),_0x51443f[_0x37d852(0x238)]&&s(_0x3832ff,'backgroundColor',_0x51443f[_0x37d852(0x238)]),_0x51443f['borderColor']&&s(_0x3832ff,_0x37d852(0x21a),_0x51443f['borderColor']),_0x51443f['gradientFill']&&s(_0x3832ff,_0x37d852(0x2a2),_0x51443f[_0x37d852(0x2a2)]),_0x51443f[_0x37d852(0x239)]&&s(_0x3832ff,_0x37d852(0x239),_0x51443f[_0x37d852(0x239)]),_0x51443f['radar']&&s(_0x3832ff,_0x37d852(0x256),_0x51443f[_0x37d852(0x256)]),_0x51443f[_0x37d852(0x226)]){const _0xf471af=_0x51443f[_0x37d852(0x226)];s(_0x3832ff,_0x37d852(0x1e1),_0xf471af['content']),s(_0x3832ff,_0x37d852(0x269),_0xf471af['font']),s(_0x3832ff,'titles.xAxisTitle.fontSize',_0xf471af['fontSize']),s(_0x3832ff,_0x37d852(0x250),_0xf471af[_0x37d852(0x284)]),s(_0x3832ff,_0x37d852(0x1dd),_0xf471af[_0x37d852(0x251)]),s(_0x3832ff,'titles.xAxisTitle.bold',_0xf471af[_0x37d852(0x2ab)]),s(_0x3832ff,_0x37d852(0x24c),_0xf471af[_0x37d852(0x212)]);}if(_0x51443f[_0x37d852(0x25c)]){const _0x27a9c8=_0x51443f[_0x37d852(0x25c)];s(_0x3832ff,'titles.yAxisTitle.content',_0x27a9c8[_0x37d852(0x204)]),s(_0x3832ff,_0x37d852(0x1dc),_0x27a9c8[_0x37d852(0x276)]),s(_0x3832ff,_0x37d852(0x22e),_0x27a9c8[_0x37d852(0x26c)]),s(_0x3832ff,_0x37d852(0x242),_0x27a9c8['fontColor']),s(_0x3832ff,_0x37d852(0x1e6),_0x27a9c8[_0x37d852(0x251)]),s(_0x3832ff,_0x37d852(0x2ad),_0x27a9c8['bold']),s(_0x3832ff,_0x37d852(0x245),_0x27a9c8[_0x37d852(0x212)]);}if(_0x51443f[_0x37d852(0x21b)]){const _0x4f45c8=_0x51443f['rightYAxisTitle'];s(_0x3832ff,_0x37d852(0x233),_0x4f45c8[_0x37d852(0x204)]),s(_0x3832ff,_0x37d852(0x23b),_0x4f45c8['font']),s(_0x3832ff,_0x37d852(0x231),_0x4f45c8[_0x37d852(0x26c)]),s(_0x3832ff,_0x37d852(0x1d6),_0x4f45c8[_0x37d852(0x284)]),s(_0x3832ff,_0x37d852(0x22d),_0x4f45c8[_0x37d852(0x251)]),s(_0x3832ff,_0x37d852(0x20d),_0x4f45c8[_0x37d852(0x2ab)]),s(_0x3832ff,_0x37d852(0x28c),_0x4f45c8[_0x37d852(0x212)]);}_0x51443f[_0x37d852(0x20b)]&&s(_0x3832ff,_0x37d852(0x20b),_0x51443f['xAxis']),_0x51443f[_0x37d852(0x26d)]&&s(_0x3832ff,'yAxis',_0x51443f[_0x37d852(0x26d)]),_0x51443f['yRightAxis']&&s(_0x3832ff,_0x37d852(0x298),_0x51443f[_0x37d852(0x213)]),_0x51443f[_0x37d852(0x223)]&&s(_0x3832ff,_0x37d852(0x223),_0x51443f[_0x37d852(0x223)]);const _0x47c496={'unitId':_0x46e303,'chartModelId':_0x2c3a5a};let _0x33d9b0=!0x1;if(_0x4ac4a0!==void 0x0&&(_0x47c496['chartType']=_0x4ac4a0,_0x33d9b0=!0x0),Object[_0x37d852(0x281)](_0x3832ff)[_0x37d852(0x218)]>0x0&&(_0x47c496[_0x37d852(0x246)]=_0x3832ff,_0x33d9b0=!0x0),Object[_0x37d852(0x281)](_0x54bc3c)[_0x37d852(0x218)]>0x0&&(_0x47c496[_0x37d852(0x1fa)]=_0x54bc3c,_0x33d9b0=!0x0),_0x33d9b0)return _0x47c496;};function _0x59cd(_0x212f1f,_0x219923){const _0x469d60=_0x469d();return _0x59cd=function(_0x59cdbb,_0x572fd7){_0x59cdbb=_0x59cdbb-0x1d5;let _0x15b588=_0x469d60[_0x59cdbb];return _0x15b588;},_0x59cd(_0x212f1f,_0x219923);}class c extends m['FBase']{constructor(_0x1fae4a,_0x3bfbca,_0x56d0a1,_0x2f19b8,_0x52207e){const _0x47a487=_0xc983bc;super(),o(this,'_workbook'),o(this,_0x47a487(0x260)),o(this,_0x47a487(0x27b)),o(this,_0x47a487(0x278)),o(this,_0x47a487(0x286)),o(this,_0x47a487(0x29e)),o(this,'sourceSheetName'),o(this,'x'),o(this,'y'),o(this,_0x47a487(0x22a)),o(this,_0x47a487(0x1db)),o(this,_0x47a487(0x1f2)),o(this,_0x47a487(0x205)),o(this,'transposeRowsAndColumns'),(this[_0x47a487(0x27b)]=_0x1fae4a,this[_0x47a487(0x278)]=_0x3bfbca,this[_0x47a487(0x292)]=_0x56d0a1,this['_injector']=_0x2f19b8,_0x52207e&&(this['chartId']=_0x52207e));}[_0xc983bc(0x2a6)](){const _0x2ce871=_0xc983bc;return this[_0x2ce871(0x1f2)];}[_0xc983bc(0x249)](_0x418b73){const _0x3049f0=_0xc983bc;if(typeof _0x418b73==_0x3049f0(0x1f3)){const _0x370d16=Y[_0x3049f0(0x20e)](_0x418b73);_0x370d16[_0x3049f0(0x23e)]&&(this['sourceSheetName']=_0x370d16['sheetName']),this[_0x3049f0(0x29e)]=_0x370d16[_0x3049f0(0x29e)];}else this[_0x3049f0(0x29e)]=_0x418b73;return this;}[_0xc983bc(0x24e)](){const _0x302b26=_0xc983bc;return this[_0x302b26(0x29e)]=void 0x0,this[_0x302b26(0x24b)]=void 0x0,this;}['setPosition'](_0x56e394,_0x53b959,_0x5ae195,_0x25dd16){const _0x51b7f3=_0xc983bc,_0x5bcb77=this[_0x51b7f3(0x260)][_0x51b7f3(0x241)](E[_0x51b7f3(0x209)])[_0x51b7f3(0x2a5)](this[_0x51b7f3(0x27b)]);if(!_0x5bcb77)throw new Error(_0x51b7f3(0x1d9));const _0x280dd8=_0x5bcb77[_0x51b7f3(0x228)](T['ISheetSelectionRenderService']),_0x20d364=_0x5bcb77[_0x51b7f3(0x228)](T['SheetSkeletonManagerService']),{transform:_0x53b279}=T[_0x51b7f3(0x28a)](this['unitId'],this['subUnitId'],{'row':_0x56e394,'column':_0x53b959,'rowOffset':_0x5ae195,'columnOffset':_0x25dd16},0x1,0x1,_0x280dd8,_0x20d364),_0x34d539=_0x53b279[_0x51b7f3(0x202)],_0x5a71ae=_0x53b279[_0x51b7f3(0x1d8)];return this['x']=_0x5a71ae,this['y']=_0x34d539,this;}[_0xc983bc(0x1da)](_0x523163,_0x4bb284){return this['x']=_0x523163,this['y']=_0x4bb284,this;}[_0xc983bc(0x1d7)](_0x3c7b73){const _0x427222=_0xc983bc;return this[_0x427222(0x1f2)]=_0x3c7b73,this;}[_0xc983bc(0x2b0)](_0x5ebe6d){return this['width']=_0x5ebe6d,this;}[_0xc983bc(0x200)](_0x47e1ff){const _0x214b86=_0xc983bc;return this[_0x214b86(0x1db)]=_0x47e1ff,this;}[_0xc983bc(0x20f)](_0x3a3c21,_0xb783c3){const _0x1f58e5=_0xc983bc;return this[_0x1f58e5(0x205)]||(this['options']={}),_0x3a3c21===''?(this[_0x1f58e5(0x205)]={...this[_0x1f58e5(0x205)],..._0xb783c3},this):(u[_0x1f58e5(0x27d)](this[_0x1f58e5(0x205)],_0x3a3c21,_0xb783c3),this);}[_0xc983bc(0x254)](_0x24b645){const _0x3dc878=_0xc983bc;return this[_0x3dc878(0x206)]=_0x24b645,this;}[_0xc983bc(0x230)](_0x3c0be5){const _0x25f232=_0xc983bc;return this[_0x25f232(0x20f)](_0x25f232(0x243),_0x3c0be5),this;}[_0xc983bc(0x208)](_0x1713be){const _0x2b3cfb=_0xc983bc;var _0xe13070;const _0x2f6cef=((_0xe13070=this[_0x2b3cfb(0x205)])==null?void 0x0:_0xe13070[_0x2b3cfb(0x226)])||{};return _0x2f6cef[_0x2b3cfb(0x204)]=_0x1713be,this[_0x2b3cfb(0x20f)]('xAxisTitle',_0x2f6cef),this;}[_0xc983bc(0x1ea)](_0x3248ca){const _0x33ad16=_0xc983bc;var _0x47d5ed;const _0x44a715=((_0x47d5ed=this[_0x33ad16(0x205)])==null?void 0x0:_0x47d5ed['yAxisTitle'])||{};return _0x44a715[_0x33ad16(0x204)]=_0x3248ca,this[_0x33ad16(0x20f)](_0x33ad16(0x25c),_0x44a715),this;}['setRightYAxisTitle'](_0x65626f){const _0x486cec=_0xc983bc;var _0x5c8404;const _0x3e28d0=((_0x5c8404=this[_0x486cec(0x205)])==null?void 0x0:_0x5c8404[_0x486cec(0x21b)])||{};return _0x3e28d0[_0x486cec(0x204)]=_0x65626f,this[_0x486cec(0x20f)](_0x486cec(0x21b),_0x3e28d0),this;}[_0xc983bc(0x272)](_0x44c3ed){const _0x40f3a0=_0xc983bc;var _0x490bb2;const _0x48a1a9=((_0x490bb2=this[_0x40f3a0(0x205)])==null?void 0x0:_0x490bb2['xAxisTitle'])||{};return this['setOptions']('xAxisTitle',{..._0x48a1a9,..._0x44c3ed}),this;}[_0xc983bc(0x2b2)](_0x27a8c8){const _0x110c1b=_0xc983bc;var _0x563f30;const _0x38d8ce=((_0x563f30=this[_0x110c1b(0x205)])==null?void 0x0:_0x563f30[_0x110c1b(0x25c)])||{};return this[_0x110c1b(0x20f)](_0x110c1b(0x25c),{..._0x38d8ce,..._0x27a8c8}),this;}['setRightYAxisTextStyle'](_0x408f43){const _0x3cc2ae=_0xc983bc;var _0x3d4b87;const _0x3d051d=((_0x3d4b87=this[_0x3cc2ae(0x205)])==null?void 0x0:_0x3d4b87[_0x3cc2ae(0x21b)])||{};return this[_0x3cc2ae(0x20f)]('rightYAxisTitle',{..._0x3d051d,..._0x408f43}),this;}[_0xc983bc(0x235)](_0x571326){const _0x1b1c6e=_0xc983bc;return this[_0x1b1c6e(0x20f)](_0x1b1c6e(0x239),_0x571326),this;}[_0xc983bc(0x267)](_0x12fcae){const _0x3b2cec=_0xc983bc;return this[_0x3b2cec(0x20f)](_0x3b2cec(0x288),_0x12fcae),this;}[_0xc983bc(0x237)](_0x47eea4){const _0x98a431=_0xc983bc;return this[_0x98a431(0x20f)](_0x98a431(0x26a),_0x47eea4),this;}[_0xc983bc(0x26f)](_0x36628a,_0x4e6d77){const _0x4a1eef=_0xc983bc;return this[_0x4a1eef(0x20f)](_0x4a1eef(0x223),{[_0x36628a]:_0x4e6d77}),this;}['build'](){const _0x49d798=_0xc983bc;var _0x2393b2;let _0x296547=this[_0x49d798(0x278)];if(this[_0x49d798(0x24b)]){const _0x413f3a=(_0x2393b2=this['_workbook'][_0x49d798(0x236)](this['sourceSheetName']))==null?void 0x0:_0x2393b2[_0x49d798(0x22f)]();if(!_0x413f3a)throw new Error(_0x49d798(0x25d)+this[_0x49d798(0x24b)]+_0x49d798(0x1ff));_0x296547=_0x413f3a;}return{'unitId':this[_0x49d798(0x27b)],'subUnitId':_0x296547,'chartId':this[_0x49d798(0x286)],'range':this[_0x49d798(0x29e)],'x':this['x'],'y':this['y'],'width':this[_0x49d798(0x22a)],'height':this[_0x49d798(0x1db)],'chartType':this[_0x49d798(0x1f2)],'options':this[_0x49d798(0x205)],'isRowDirection':this[_0x49d798(0x206)]};}}function _0x469d(){const _0xf9b929=['radar.shape','titles.yAxisTitle.bold','allSeriesStyle.color','title','setWidth','ChartType','setYAxisTextStyle','registerChartTheme','FWorksheet','FChartBuilderBase','asRadarChart','UniverInstanceType','titles.rightYAxisTitle.color','setChartType','left','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','setAbsolutePosition','height','titles.yAxisTitle.font','titles.xAxisTitle.family','legend.label.color','LegendPositionEnum','pie.showLabelLine','titles.xAxisTitle.content','4364936YTnisb','setBorderColor','allSeriesStyle.point','setDoughnutHole','titles.yAxisTitle.family','map','build','legend.position','setYAxisTitle','17tXUNVZ','tooltip.indicatorLineType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','border','generateRandomId','removeChart','titleAlignment','chartType','string','asLineChart','isHalfPie','getRange','InsertChartCommand','tooltip.indicatorLineColor','pie.hasPaddingAngle','context','titles.title.bold','legend.selectMode','pie','indicatorLineColor','\x20not\x20found','setHeight','ChartUpdateSourceCommand','top','setDataPointColor','content','options','transposeRowsAndColumns','area','setXAxisTitle','IRenderManagerService','8040xpLtbD','xAxis','@univerjs/sheets-drawing-ui','titles.rightYAxisTitle.bold','deserializeRangeWithSheet','setOptions','insertChart','1625538OuSRzY','axisAlignment','yRightAxis','area.lineStyle','allSeriesStyle.border','@univerjs/core','legend.label.fontSize','length','@univerjs-pro/sheets-chart-ui','borderColor','rightYAxisTitle','legend.label.bold','dataPointSize','getCharts','executeCommand','getChartId','Line','_commandService','seriesStyleMap','RadarShape','allSeriesStyle.point.color','xAxisTitle','toStringTag','with','updateRange','width','symbol','Radar','titles.rightYAxisTitle.family','titles.yAxisTitle.fontSize','getSheetId','setTheme','titles.rightYAxisTitle.fontSize','getChartModel','titles.rightYAxisTitle.content','UNIVER_SHEET','setInvalidValueStrategy','getSheetBySheetName','setAllSeriesStyle','backgroundColor','invalidValueType','setHasPaddingAngle','titles.rightYAxisTitle.font','titles.title.align','shape','sheetName','tooltip.indicatorLabelTextColor','color','get','titles.yAxisTitle.color','theme','rosePie','yAxis.label.axisTitleAlign','style','getUnitChartModels','fill','addRange','DrawingTypeEnum','sourceSheetName','xAxis.label.axisTitleAlign','indicatorLabelColor','clearRange','defineProperty','titles.xAxisTitle.color','fontStyle','titles.titlePosition','RemoveSheetDrawingCommand','setTransposeRowsAndColumns','1029NybYyK','radar','DRAWING_CHART','FEnum','getUnitId','updateChart','setIsHalfPie','yAxisTitle','Sheet\x20','showLabelLine','hasPaddingAngle','_injector','series','tooltip.indicatorLabelColor','TitlePositionEnum','asPieChart','907430uzyOoI','FChart','setAxisPointerStyle','Pie','titles.xAxisTitle.font','allSeriesStyle','RadarChartBuilder','fontSize','yAxis','extend','setSeriesStyle','109002hIIQWw','6231645sdVuMq','setXAxisTextStyle','setShowLabelLine','registerTheme','dataPointShape','font','setDataPointShape','subUnitId','@univerjs/sheets/facade','5ubzGYe','unitId','allSeriesStyle.point.size','setProperty','setFill','titles.title.color','ICommandService','keys','SheetsChartService','@univerjs/engine-formula','fontColor','allSeriesStyle.label','chartId','titles.title.fontSize','axisPointer','pie.rosePie','convertPositionCellToSheetOverGrid','setRosePie','rightYAxis.label.axisTitleAlign','titles.title.font','10125896xGLxUu','doughnutHole','getWorkbook','setDataPointSize','_workbook','pie.doughnutHole','indicatorLineType','isRowDirection','category','SelectModeEnum','rightYAxis','ChartBorderDashType','ChartTypeBits','LinePointShape','modify','allSeriesStyle.point.shape','range','pie.borderColor','pie.isHalfPie','dataPointColor','gradientFill','lineStyle','config','getRenderById','getChartType','setLineStyle','position','PieChartBuilder','setShape','bold'];_0x469d=function(){return _0xf9b929;};return _0x469d();}class A{constructor(_0x38b0b9,_0x182353,_0x4f6af1,_0x1acd6e){const _0x64a9e1=_0xc983bc;o(this,_0x64a9e1(0x27b)),o(this,_0x64a9e1(0x278)),o(this,_0x64a9e1(0x286)),o(this,_0x64a9e1(0x260)),(this[_0x64a9e1(0x27b)]=_0x38b0b9,this['subUnitId']=_0x182353,this[_0x64a9e1(0x286)]=_0x4f6af1,this[_0x64a9e1(0x260)]=_0x1acd6e);}[_0xc983bc(0x220)](){const _0x1a0d20=_0xc983bc;return this[_0x1a0d20(0x286)];}[_0xc983bc(0x1f6)](){const _0x8ff520=_0xc983bc,_0x3dc4fa=this[_0x8ff520(0x260)][_0x8ff520(0x241)](u[_0x8ff520(0x282)])['getChartModel'](this['chartId']);if(_0x3dc4fa)return _0x3dc4fa['dataSource']['getRangeInfo']();}[_0xc983bc(0x229)](_0x278e4f){const _0x2de7fa=_0xc983bc;return this['_injector'][_0x2de7fa(0x241)](S[_0x2de7fa(0x280)])[_0x2de7fa(0x21f)](u[_0x2de7fa(0x201)]['id'],{'unitId':this[_0x2de7fa(0x27b)],'chartModelId':this[_0x2de7fa(0x286)],'range':_0x278e4f});}['getSeriesData'](){const _0x35c754=_0xc983bc;var _0xb30d24;const _0x7537e8=this[_0x35c754(0x260)][_0x35c754(0x241)](u[_0x35c754(0x282)])[_0x35c754(0x232)](this['chartId']);if(_0x7537e8)return(_0xb30d24=_0x7537e8['config'])==null?void 0x0:_0xb30d24[_0x35c754(0x261)];}['getCategoryData'](){const _0x467257=_0xc983bc;var _0x53b5ee;const _0x98d5b3=this[_0x467257(0x260)][_0x467257(0x241)](u[_0x467257(0x282)])[_0x467257(0x232)](this[_0x467257(0x286)]);if(_0x98d5b3)return(_0x53b5ee=_0x98d5b3[_0x467257(0x2a4)])==null?void 0x0:_0x53b5ee[_0x467257(0x296)];}[_0xc983bc(0x29c)](){const _0x11d84f=_0xc983bc,_0x535bdb=this[_0x11d84f(0x260)][_0x11d84f(0x241)](S['IUniverInstanceService'])['getCurrentUnitForType'](S[_0x11d84f(0x1d5)][_0x11d84f(0x234)]);return new c(this['unitId'],this[_0x11d84f(0x278)],_0x535bdb,this[_0x11d84f(0x260)],this['chartId']);}}class H extends b[_0xc983bc(0x2b4)]{async[_0xc983bc(0x210)](_0x549202){const _0x2e5b75=_0xc983bc;var _0x37a80f,_0x51e6f3,_0x468c3f;const _0x55f54f=_0x549202['unitId']||this[_0x2e5b75(0x290)]()['getUnitId'](),_0x19e46c=_0x549202[_0x2e5b75(0x278)]||this['getSheetId'](),_0x1b4d74=_0x549202['chartId']||S[_0x2e5b75(0x1ef)](),_0x4bdbc1=_0x549202['chartType'],_0x409648=_0x549202[_0x2e5b75(0x29e)],_0x3526b5={'x':_0x549202['x'],'y':_0x549202['y']},_0x4325ef=_0x549202[_0x2e5b75(0x22a)],_0x478865=_0x549202['height'],_0x1d5d50=(_0x37a80f=_0x549202[_0x2e5b75(0x205)])==null?void 0x0:_0x37a80f['backgroundColor'],_0x28142d=(_0x51e6f3=_0x549202[_0x2e5b75(0x205)])==null?void 0x0:_0x51e6f3['borderColor'],_0x2ff3c6=f(_0x55f54f,_0x1b4d74,_0x4bdbc1,_0x549202['options']),_0x16a81e=(_0x468c3f=_0x549202[_0x2e5b75(0x295)])!=null?_0x468c3f:!0x0;if(!_0x409648)throw new Error(_0x2e5b75(0x1ed));return await this[_0x2e5b75(0x222)][_0x2e5b75(0x21f)](M[_0x2e5b75(0x1f7)]['id'],{'unitId':_0x55f54f,'subUnitId':_0x19e46c,'chartId':_0x1b4d74,'chartType':_0x4bdbc1,'range':_0x409648,'position':_0x3526b5,'width':_0x4325ef,'height':_0x478865,'backgroundColor':_0x1d5d50,'borderColor':_0x28142d,'config':_0x2ff3c6,'isRowDirection':_0x16a81e}),new A(_0x55f54f,_0x19e46c,_0x1b4d74,this[_0x2e5b75(0x260)]);}[_0xc983bc(0x25a)](_0x379a76){const _0x362872=_0xc983bc,{unitId:_0x30f47f,chartId:_0x223365,chartType:_0x4152c4,options:_0x415a4d}=_0x379a76,_0x4677cc=f(_0x30f47f,_0x223365,_0x4152c4,_0x415a4d);this['_commandService'][_0x362872(0x21f)](u['ChartUpdateConfigCommand']['id'],_0x4677cc);}['newChart'](_0x33f8a9){const _0x528740=_0xc983bc;if(_0x33f8a9)return new c(_0x33f8a9['unitId'],_0x33f8a9[_0x528740(0x278)],this['_workbook'],this[_0x528740(0x260)],_0x33f8a9[_0x528740(0x286)]);const _0x2c52ae=this[_0x528740(0x290)]()[_0x528740(0x259)](),_0x143966=this['getSheetId']();return new c(_0x2c52ae,_0x143966,this[_0x528740(0x292)],this['_injector']);}[_0xc983bc(0x21e)](){const _0xc3453f=_0xc983bc,_0x184bc5=this[_0xc3453f(0x260)]['get'](u['SheetsChartService']),_0x2a4df8=this[_0xc3453f(0x290)]()[_0xc3453f(0x259)]();return _0x184bc5[_0xc3453f(0x247)](_0x2a4df8,this[_0xc3453f(0x22f)]())[_0xc3453f(0x1e7)](_0x295055=>new A(_0x2a4df8,this['getSheetId'](),_0x295055['id'],this[_0xc3453f(0x260)]));}[_0xc983bc(0x1f0)](_0x483b39){const _0xa7e519=_0xc983bc,_0x7501dd=_0x483b39['unitId'],_0x2a8dde=_0x483b39['subUnitId'],_0x118447=_0x483b39[_0xa7e519(0x286)],_0x42a09d={'unitId':_0x7501dd,'drawings':[{'unitId':_0x7501dd,'subUnitId':_0x2a8dde,'drawingId':_0x118447,'drawingType':S[_0xa7e519(0x24a)][_0xa7e519(0x257)]}]};return this[_0xa7e519(0x222)]['executeCommand'](j[_0xa7e519(0x253)]['id'],_0x42a09d);}[_0xc983bc(0x2b3)](_0x4f3c9a,_0x5c8d16){const _0x6c44a5=_0xc983bc;this[_0x6c44a5(0x260)]['get'](d['ChartThemeService'])[_0x6c44a5(0x274)](_0x4f3c9a,_0x5c8d16);}}b[_0xc983bc(0x2b4)][_0xc983bc(0x26e)](H);class z extends m[_0xc983bc(0x258)]{get[_0xc983bc(0x2b1)](){const _0x39dce7=_0xc983bc;return d[_0x39dce7(0x29a)];}get[_0xc983bc(0x1df)](){const _0x5b8ea3=_0xc983bc;return d[_0x5b8ea3(0x1df)];}get[_0xc983bc(0x297)](){const _0x440e30=_0xc983bc;return d[_0x440e30(0x297)];}get['AxisAlignEnum'](){return d['AxisAlignEnum'];}get[_0xc983bc(0x299)](){const _0xd87cef=_0xc983bc;return d[_0xd87cef(0x299)];}get[_0xc983bc(0x29b)](){const _0x2973b2=_0xc983bc;return d[_0x2973b2(0x29b)];}get['TitlePositionEnum'](){const _0x5a4aa7=_0xc983bc;return d[_0x5a4aa7(0x263)];}get[_0xc983bc(0x224)](){const _0x1d4da7=_0xc983bc;return d[_0x1d4da7(0x224)];}}m[_0xc983bc(0x258)][_0xc983bc(0x26e)](z);class I extends c{constructor(_0x459d97,_0x3ea705,_0x16bb03,_0x1fa397,_0x14f92a){const _0xff5176=_0xc983bc;super(_0x459d97,_0x3ea705,_0x16bb03,_0x1fa397,_0x14f92a),o(this,_0xff5176(0x2a3)),o(this,_0xff5176(0x275)),o(this,_0xff5176(0x2a1)),o(this,_0xff5176(0x21d));}[_0xc983bc(0x2a7)](_0x3637c0){const _0x4c63eb=_0xc983bc;return this[_0x4c63eb(0x2a3)]=_0x3637c0,this;}[_0xc983bc(0x277)](_0x147018){const _0x33764e=_0xc983bc;return this[_0x33764e(0x275)]=_0x147018,this;}[_0xc983bc(0x203)](_0x50d1f8){const _0x12197d=_0xc983bc;return this[_0x12197d(0x2a1)]=_0x50d1f8,this;}[_0xc983bc(0x291)](_0x2c9967){const _0x1840df=_0xc983bc;return this[_0x1840df(0x21d)]=_0x2c9967,this;}[_0xc983bc(0x1e8)](){const _0x43d2cc=_0xc983bc,_0x2ceced=super[_0x43d2cc(0x1e8)]();_0x2ceced[_0x43d2cc(0x1f2)]=d['ChartTypeBits'][_0x43d2cc(0x221)];const _0xa6fdaf=_0x2ceced['options']||{};return s(_0xa6fdaf,'area.lineStyle',this[_0x43d2cc(0x2a3)]),s(_0xa6fdaf,_0x43d2cc(0x29d),this['dataPointShape']),s(_0xa6fdaf,_0x43d2cc(0x225),this[_0x43d2cc(0x2a1)]),s(_0xa6fdaf,_0x43d2cc(0x27c),this[_0x43d2cc(0x21d)]),_0x2ceced[_0x43d2cc(0x205)]=_0xa6fdaf,_0x2ceced;}}class F extends c{[_0xc983bc(0x1f4)](){const _0x412d94=_0xc983bc;return new I(this[_0x412d94(0x27b)],this[_0x412d94(0x278)],this[_0x412d94(0x292)],this['_injector'],this[_0x412d94(0x286)]);}}c[_0xc983bc(0x26e)](F);class k extends c{constructor(_0xc35514,_0x417870,_0x1d452a,_0x422f23,_0xcb0390){const _0x3908f3=_0xc983bc;super(_0xc35514,_0x417870,_0x1d452a,_0x422f23,_0xcb0390),o(this,_0x3908f3(0x28f)),o(this,_0x3908f3(0x21a)),o(this,_0x3908f3(0x25f)),o(this,_0x3908f3(0x1f5)),o(this,'rosePie'),o(this,_0x3908f3(0x25e));}[_0xc983bc(0x1e5)](_0x3c7f47){const _0x27adff=_0xc983bc;return this[_0x27adff(0x28f)]=_0x3c7f47,this;}[_0xc983bc(0x1e3)](_0x5466d2){return this['borderColor']=_0x5466d2,this;}[_0xc983bc(0x23a)](_0x322c79){return this['hasPaddingAngle']=_0x322c79,this;}[_0xc983bc(0x25b)](_0x45abe3){return this['isHalfPie']=_0x45abe3,this;}[_0xc983bc(0x28b)](_0x39358a){const _0x1794c1=_0xc983bc;return this[_0x1794c1(0x244)]=_0x39358a,this;}[_0xc983bc(0x273)](_0x414dcc){const _0x585b8f=_0xc983bc;return this[_0x585b8f(0x25e)]=_0x414dcc,this;}[_0xc983bc(0x1e8)](){const _0x1b5e62=_0xc983bc,_0x190621=super[_0x1b5e62(0x1e8)]();_0x190621[_0x1b5e62(0x1f2)]=d[_0x1b5e62(0x29a)][_0x1b5e62(0x268)];const _0x5edc92=_0x190621['options']||{};return s(_0x5edc92,'pie.doughnutHole',this[_0x1b5e62(0x28f)]),s(_0x5edc92,'pie.borderColor',this['borderColor']),s(_0x5edc92,_0x1b5e62(0x1f9),this[_0x1b5e62(0x25f)]),s(_0x5edc92,_0x1b5e62(0x2a0),this[_0x1b5e62(0x1f5)]),s(_0x5edc92,_0x1b5e62(0x289),this[_0x1b5e62(0x244)]),s(_0x5edc92,'pie.showLabelLine',this['showLabelLine']),_0x190621['options']=_0x5edc92,_0x190621;}}class O extends c{[_0xc983bc(0x264)](){const _0x1d3c97=_0xc983bc;return new k(this[_0x1d3c97(0x27b)],this[_0x1d3c97(0x278)],this['_workbook'],this[_0x1d3c97(0x260)],this['chartId']);}}c['extend'](O);class R extends c{constructor(_0x51673f,_0x513b4a,_0x55f434,_0x142e05,_0x2a934a){const _0xabd683=_0xc983bc;super(_0x51673f,_0x513b4a,_0x55f434,_0x142e05,_0x2a934a),o(this,'shape'),o(this,_0xabd683(0x248));}[_0xc983bc(0x2aa)](_0x1588b8){return this['shape']=_0x1588b8,this;}[_0xc983bc(0x27e)](_0x17c369){return this['fill']=_0x17c369,this;}[_0xc983bc(0x1e8)](){const _0x31e9ac=_0xc983bc,_0xa7b315=super['build']();_0xa7b315[_0x31e9ac(0x1f2)]=d[_0x31e9ac(0x29a)][_0x31e9ac(0x22c)];const _0x211085=_0xa7b315[_0x31e9ac(0x205)]||{};return s(_0x211085,_0x31e9ac(0x2ac),this[_0x31e9ac(0x23d)]),s(_0x211085,'radar.fill',this[_0x31e9ac(0x248)]),_0xa7b315[_0x31e9ac(0x205)]=_0x211085,_0xa7b315;}}class B extends c{[_0xc983bc(0x2b6)](){const _0x162e8f=_0xc983bc;return new R(this[_0x162e8f(0x27b)],this[_0x162e8f(0x278)],this[_0x162e8f(0x292)],this[_0x162e8f(0x260)],this[_0x162e8f(0x286)]);}}c[_0xc983bc(0x26e)](B),exports[_0xc983bc(0x266)]=A,exports[_0xc983bc(0x2b5)]=c,exports['LineChartBuilder']=I,exports[_0xc983bc(0x2a9)]=k,exports[_0xc983bc(0x26b)]=R;