@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/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 _0x4ef584=_0x9b47;(function(_0x2e8049,_0x321d4f){const _0x226c5f=_0x9b47,_0x34d898=_0x2e8049();while(!![]){try{const _0x6b7ac8=-parseInt(_0x226c5f(0x1b1))/0x1+parseInt(_0x226c5f(0x193))/0x2*(-parseInt(_0x226c5f(0x201))/0x3)+-parseInt(_0x226c5f(0x178))/0x4*(-parseInt(_0x226c5f(0x1a6))/0x5)+-parseInt(_0x226c5f(0x14b))/0x6+parseInt(_0x226c5f(0x1e9))/0x7+parseInt(_0x226c5f(0x175))/0x8+parseInt(_0x226c5f(0x16b))/0x9;if(_0x6b7ac8===_0x321d4f)break;else _0x34d898['push'](_0x34d898['shift']());}catch(_0x4c7e8a){_0x34d898['push'](_0x34d898['shift']());}}}(_0x4fb8,0x2bad6));var L=Object[_0x4ef584(0x1c5)],U=(_0x4871b1,_0xd35880,_0x4a8b24)=>_0xd35880 in _0x4871b1?L(_0x4871b1,_0xd35880,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a8b24}):_0x4871b1[_0xd35880]=_0x4a8b24,o=(_0x28609a,_0x391bf7,_0x13cca1)=>U(_0x28609a,typeof _0x391bf7!='symbol'?_0x391bf7+'':_0x391bf7,_0x13cca1);Object[_0x4ef584(0x1c5)](exports,Symbol[_0x4ef584(0x191)],{'value':_0x4ef584(0x1d1)});const d=require(_0x4ef584(0x1f6)),u=require('@univerjs-pro/sheets-chart'),M=require(_0x4ef584(0x1d8)),S=require(_0x4ef584(0x147)),j=require(_0x4ef584(0x1b2)),b=require(_0x4ef584(0x194)),m=require(_0x4ef584(0x14f)),Y=require(_0x4ef584(0x1e4)),E=require(_0x4ef584(0x1b0)),T=require('@univerjs/sheets-ui'),s=(_0x521a7a,_0x1acd0f,_0x9ab5f0)=>{const _0xf7bab5=_0x4ef584;_0x9ab5f0!==void 0x0&&u[_0xf7bab5(0x1fa)](_0x521a7a,_0x1acd0f,_0x9ab5f0);},f=(_0x2d575c,_0x6af67b,_0x42c94c,_0x4c7287={})=>{const _0x29c840=_0x4ef584,_0x423ea6={},_0x2a8b4c={};if(_0x4c7287[_0x29c840(0x213)]){const _0x558d90=_0x4c7287['title'];s(_0x423ea6,'titles.title.content',_0x558d90[_0x29c840(0x173)]),s(_0x423ea6,_0x29c840(0x1a5),_0x558d90['font']),s(_0x423ea6,_0x29c840(0x184),_0x558d90[_0x29c840(0x168)]),s(_0x423ea6,_0x29c840(0x159),_0x558d90[_0x29c840(0x1e0)]),s(_0x423ea6,_0x29c840(0x1fe),_0x558d90['fontStyle']),s(_0x423ea6,_0x29c840(0x13d),_0x558d90[_0x29c840(0x196)]),s(_0x423ea6,_0x29c840(0x1bc),_0x558d90['titleAlignment']),s(_0x423ea6,'titles.titlePosition',_0x558d90[_0x29c840(0x1f5)]);}if(_0x4c7287[_0x29c840(0x157)]){const _0x150bdf=_0x4c7287[_0x29c840(0x157)];s(_0x423ea6,'legend.position',_0x150bdf['position']),s(_0x423ea6,_0x29c840(0x1ef),_0x150bdf['selectMode']),s(_0x423ea6,_0x29c840(0x1aa),_0x150bdf['fontSize']),s(_0x423ea6,_0x29c840(0x155),_0x150bdf[_0x29c840(0x174)]),s(_0x423ea6,_0x29c840(0x198),_0x150bdf[_0x29c840(0x196)]),s(_0x423ea6,_0x29c840(0x20a),_0x150bdf['italic']);}if(_0x4c7287[_0x29c840(0x1c7)]){const _0x4c6532=_0x4c7287['pie'];s(_0x423ea6,_0x29c840(0x1e7),_0x4c6532[_0x29c840(0x18f)]),s(_0x423ea6,_0x29c840(0x17b),_0x4c6532[_0x29c840(0x160)]),s(_0x423ea6,_0x29c840(0x182),_0x4c6532[_0x29c840(0x1f2)]),s(_0x423ea6,_0x29c840(0x164),_0x4c6532[_0x29c840(0x1a3)]),s(_0x423ea6,_0x29c840(0x19b),_0x4c6532[_0x29c840(0x1d4)]),s(_0x423ea6,_0x29c840(0x13f),_0x4c6532[_0x29c840(0x1c0)]);}if(_0x4c7287[_0x29c840(0x172)]){const _0x50bed2=_0x4c7287[_0x29c840(0x172)];s(_0x423ea6,_0x29c840(0x18d),_0x50bed2[_0x29c840(0x154)]),s(_0x423ea6,'tooltip.indicatorLineType',_0x50bed2[_0x29c840(0x166)]),s(_0x423ea6,'tooltip.indicatorLineColor',_0x50bed2['indicatorLineColor']),s(_0x423ea6,_0x29c840(0x1bf),_0x50bed2['indicatorLabelTextColor']);}if(_0x4c7287['allSeriesStyle']&&(s(_0x423ea6,_0x29c840(0x14d),_0x4c7287[_0x29c840(0x150)][_0x29c840(0x171)]),s(_0x423ea6,_0x29c840(0x1c4),_0x4c7287[_0x29c840(0x150)][_0x29c840(0x1dd)]),s(_0x423ea6,_0x29c840(0x18b),_0x4c7287[_0x29c840(0x150)][_0x29c840(0x144)]),s(_0x423ea6,_0x29c840(0x1fd),_0x4c7287[_0x29c840(0x150)]['point']),s(_0x423ea6,_0x29c840(0x140),_0x4c7287['allSeriesStyle'][_0x29c840(0x174)])),_0x4c7287[_0x29c840(0x1b4)]&&s(_0x423ea6,'area.lineStyle',_0x4c7287[_0x29c840(0x1b4)][_0x29c840(0x1a0)]),_0x4c7287[_0x29c840(0x215)]&&s(_0x423ea6,_0x29c840(0x215),_0x4c7287['theme']),_0x4c7287['backgroundColor']&&s(_0x423ea6,_0x29c840(0x1cc),_0x4c7287[_0x29c840(0x1cc)]),_0x4c7287['borderColor']&&s(_0x423ea6,'borderColor',_0x4c7287['borderColor']),_0x4c7287[_0x29c840(0x186)]&&s(_0x423ea6,_0x29c840(0x186),_0x4c7287[_0x29c840(0x186)]),_0x4c7287[_0x29c840(0x204)]&&s(_0x423ea6,_0x29c840(0x204),_0x4c7287[_0x29c840(0x204)]),_0x4c7287[_0x29c840(0x1e1)]&&s(_0x423ea6,_0x29c840(0x1e1),_0x4c7287[_0x29c840(0x1e1)]),_0x4c7287[_0x29c840(0x199)]){const _0xa97f8e=_0x4c7287[_0x29c840(0x199)];s(_0x423ea6,_0x29c840(0x142),_0xa97f8e[_0x29c840(0x173)]),s(_0x423ea6,'titles.xAxisTitle.font',_0xa97f8e['font']),s(_0x423ea6,'titles.xAxisTitle.fontSize',_0xa97f8e['fontSize']),s(_0x423ea6,_0x29c840(0x1c2),_0xa97f8e[_0x29c840(0x1e0)]),s(_0x423ea6,_0x29c840(0x177),_0xa97f8e[_0x29c840(0x158)]),s(_0x423ea6,_0x29c840(0x1d7),_0xa97f8e[_0x29c840(0x196)]),s(_0x423ea6,'xAxis.label.axisTitleAlign',_0xa97f8e[_0x29c840(0x1b7)]);}if(_0x4c7287[_0x29c840(0x15d)]){const _0x314ba0=_0x4c7287[_0x29c840(0x15d)];s(_0x423ea6,_0x29c840(0x1d0),_0x314ba0[_0x29c840(0x173)]),s(_0x423ea6,'titles.yAxisTitle.font',_0x314ba0['font']),s(_0x423ea6,'titles.yAxisTitle.fontSize',_0x314ba0[_0x29c840(0x168)]),s(_0x423ea6,_0x29c840(0x16a),_0x314ba0['fontColor']),s(_0x423ea6,_0x29c840(0x15b),_0x314ba0[_0x29c840(0x158)]),s(_0x423ea6,_0x29c840(0x1e2),_0x314ba0[_0x29c840(0x196)]),s(_0x423ea6,'yAxis.label.axisTitleAlign',_0x314ba0[_0x29c840(0x1b7)]);}if(_0x4c7287['rightYAxisTitle']){const _0x20e279=_0x4c7287['rightYAxisTitle'];s(_0x423ea6,_0x29c840(0x176),_0x20e279[_0x29c840(0x173)]),s(_0x423ea6,_0x29c840(0x17f),_0x20e279['font']),s(_0x423ea6,_0x29c840(0x185),_0x20e279[_0x29c840(0x168)]),s(_0x423ea6,_0x29c840(0x1d3),_0x20e279[_0x29c840(0x1e0)]),s(_0x423ea6,_0x29c840(0x141),_0x20e279['fontStyle']),s(_0x423ea6,_0x29c840(0x20e),_0x20e279[_0x29c840(0x196)]),s(_0x423ea6,_0x29c840(0x20d),_0x20e279[_0x29c840(0x1b7)]);}_0x4c7287[_0x29c840(0x14e)]&&s(_0x423ea6,_0x29c840(0x14e),_0x4c7287[_0x29c840(0x14e)]),_0x4c7287[_0x29c840(0x1ee)]&&s(_0x423ea6,_0x29c840(0x1ee),_0x4c7287[_0x29c840(0x1ee)]),_0x4c7287[_0x29c840(0x18e)]&&s(_0x423ea6,_0x29c840(0x144),_0x4c7287['yRightAxis']),_0x4c7287['seriesStyleMap']&&s(_0x423ea6,_0x29c840(0x152),_0x4c7287['seriesStyleMap']);const _0x3a618a={'unitId':_0x2d575c,'chartModelId':_0x6af67b};let _0x4714c6=!0x1;if(_0x42c94c!==void 0x0&&(_0x3a618a[_0x29c840(0x1df)]=_0x42c94c,_0x4714c6=!0x0),Object[_0x29c840(0x1ac)](_0x423ea6)['length']>0x0&&(_0x3a618a[_0x29c840(0x1fc)]=_0x423ea6,_0x4714c6=!0x0),Object[_0x29c840(0x1ac)](_0x2a8b4c)[_0x29c840(0x200)]>0x0&&(_0x3a618a[_0x29c840(0x205)]=_0x2a8b4c,_0x4714c6=!0x0),_0x4714c6)return _0x3a618a;};class c extends m[_0x4ef584(0x1f4)]{constructor(_0x129e7d,_0x3e76a5,_0x4d9f74,_0x1a56e1,_0x5481e8){const _0x14ffbf=_0x4ef584;super(),o(this,_0x14ffbf(0x1f3)),o(this,'_injector'),o(this,_0x14ffbf(0x165)),o(this,_0x14ffbf(0x19c)),o(this,'chartId'),o(this,_0x14ffbf(0x19f)),o(this,_0x14ffbf(0x202)),o(this,'x'),o(this,'y'),o(this,_0x14ffbf(0x209)),o(this,_0x14ffbf(0x1b6)),o(this,'chartType'),o(this,_0x14ffbf(0x216)),o(this,'transposeRowsAndColumns'),(this[_0x14ffbf(0x165)]=_0x129e7d,this['subUnitId']=_0x3e76a5,this[_0x14ffbf(0x1f3)]=_0x4d9f74,this['_injector']=_0x1a56e1,_0x5481e8&&(this[_0x14ffbf(0x16e)]=_0x5481e8));}[_0x4ef584(0x1a8)](){return this['chartType'];}[_0x4ef584(0x1ea)](_0x10270f){const _0x27cdc5=_0x4ef584;if(typeof _0x10270f=='string'){const _0x98db71=Y[_0x27cdc5(0x17a)](_0x10270f);_0x98db71[_0x27cdc5(0x1bd)]&&(this[_0x27cdc5(0x202)]=_0x98db71[_0x27cdc5(0x1bd)]),this[_0x27cdc5(0x19f)]=_0x98db71[_0x27cdc5(0x19f)];}else this[_0x27cdc5(0x19f)]=_0x10270f;return this;}[_0x4ef584(0x20f)](){const _0x2abfed=_0x4ef584;return this[_0x2abfed(0x19f)]=void 0x0,this[_0x2abfed(0x202)]=void 0x0,this;}[_0x4ef584(0x192)](_0x8632f4,_0x5ecb5e,_0x44a89a,_0x27f5d9){const _0x377e60=_0x4ef584,_0x28f935=this[_0x377e60(0x1ff)][_0x377e60(0x16c)](E[_0x377e60(0x1cb)])[_0x377e60(0x1ab)](this[_0x377e60(0x165)]);if(!_0x28f935)throw new Error(_0x377e60(0x1ba));const _0x57b540=_0x28f935[_0x377e60(0x145)](T['ISheetSelectionRenderService']),_0x1cf231=_0x28f935[_0x377e60(0x145)](T[_0x377e60(0x1c3)]),{transform:_0x2f9fb3}=T[_0x377e60(0x15a)](this['unitId'],this[_0x377e60(0x19c)],{'row':_0x8632f4,'column':_0x5ecb5e,'rowOffset':_0x44a89a,'columnOffset':_0x27f5d9},0x1,0x1,_0x57b540,_0x1cf231),_0x4172d4=_0x2f9fb3[_0x377e60(0x19e)],_0x36f38d=_0x2f9fb3[_0x377e60(0x179)];return this['x']=_0x36f38d,this['y']=_0x4172d4,this;}[_0x4ef584(0x1a9)](_0x225a79,_0x485a2d){return this['x']=_0x225a79,this['y']=_0x485a2d,this;}[_0x4ef584(0x1c6)](_0x4ef6b0){const _0x5c9cc2=_0x4ef584;return this[_0x5c9cc2(0x1df)]=_0x4ef6b0,this;}[_0x4ef584(0x1e8)](_0xf26d5f){return this['width']=_0xf26d5f,this;}[_0x4ef584(0x169)](_0x5c8bff){const _0x39d184=_0x4ef584;return this[_0x39d184(0x1b6)]=_0x5c8bff,this;}['setOptions'](_0x3e925c,_0x45efc5){const _0x180dfc=_0x4ef584;return this['options']||(this[_0x180dfc(0x216)]={}),_0x3e925c===''?(this['options']={...this[_0x180dfc(0x216)],..._0x45efc5},this):(u[_0x180dfc(0x1fa)](this[_0x180dfc(0x216)],_0x3e925c,_0x45efc5),this);}[_0x4ef584(0x1d2)](_0x441fd0){return this['transposeRowsAndColumns']=_0x441fd0,this;}['setTheme'](_0x35623a){const _0x2dd91e=_0x4ef584;return this[_0x2dd91e(0x20c)](_0x2dd91e(0x215),_0x35623a),this;}['setXAxisTitle'](_0x373148){const _0x51ffa0=_0x4ef584;var _0x253027;const _0x27d290=((_0x253027=this[_0x51ffa0(0x216)])==null?void 0x0:_0x253027['xAxisTitle'])||{};return _0x27d290[_0x51ffa0(0x173)]=_0x373148,this[_0x51ffa0(0x20c)](_0x51ffa0(0x199),_0x27d290),this;}[_0x4ef584(0x189)](_0x53e23f){const _0x5590c2=_0x4ef584;var _0x259c16;const _0x1d5936=((_0x259c16=this[_0x5590c2(0x216)])==null?void 0x0:_0x259c16[_0x5590c2(0x15d)])||{};return _0x1d5936[_0x5590c2(0x173)]=_0x53e23f,this[_0x5590c2(0x20c)](_0x5590c2(0x15d),_0x1d5936),this;}[_0x4ef584(0x1de)](_0x145310){const _0x231156=_0x4ef584;var _0x5253fb;const _0x3665d2=((_0x5253fb=this['options'])==null?void 0x0:_0x5253fb[_0x231156(0x1b9)])||{};return _0x3665d2[_0x231156(0x173)]=_0x145310,this[_0x231156(0x20c)]('rightYAxisTitle',_0x3665d2),this;}[_0x4ef584(0x20b)](_0x57ec00){const _0x5cddee=_0x4ef584;var _0x4440af;const _0x4ef2a5=((_0x4440af=this[_0x5cddee(0x216)])==null?void 0x0:_0x4440af[_0x5cddee(0x199)])||{};return this[_0x5cddee(0x20c)](_0x5cddee(0x199),{..._0x4ef2a5,..._0x57ec00}),this;}[_0x4ef584(0x14a)](_0x2397b5){const _0x353e87=_0x4ef584;var _0x3e789b;const _0x293915=((_0x3e789b=this[_0x353e87(0x216)])==null?void 0x0:_0x3e789b[_0x353e87(0x15d)])||{};return this[_0x353e87(0x20c)](_0x353e87(0x15d),{..._0x293915,..._0x2397b5}),this;}[_0x4ef584(0x16d)](_0x280f7e){const _0x37001c=_0x4ef584;var _0x38ab2d;const _0xbea2d1=((_0x38ab2d=this[_0x37001c(0x216)])==null?void 0x0:_0x38ab2d[_0x37001c(0x1b9)])||{};return this[_0x37001c(0x20c)](_0x37001c(0x1b9),{..._0xbea2d1,..._0x280f7e}),this;}[_0x4ef584(0x1e5)](_0x59182a){return this['setOptions']('invalidValueType',_0x59182a),this;}[_0x4ef584(0x1c9)](_0x13f4ec){const _0x240ae9=_0x4ef584;return this[_0x240ae9(0x20c)]('axisPointer',_0x13f4ec),this;}[_0x4ef584(0x203)](_0x4a2c23){const _0x47d4c0=_0x4ef584;return this['setOptions'](_0x47d4c0(0x150),_0x4a2c23),this;}[_0x4ef584(0x217)](_0x36a0b3,_0x1b060f){const _0x1303bd=_0x4ef584;return this[_0x1303bd(0x20c)]('seriesStyleMap',{[_0x36a0b3]:_0x1b060f}),this;}[_0x4ef584(0x1ca)](){const _0x1f041b=_0x4ef584;var _0x62bfe9;let _0x544e06=this[_0x1f041b(0x19c)];if(this[_0x1f041b(0x202)]){const _0x1b2770=(_0x62bfe9=this[_0x1f041b(0x1f3)][_0x1f041b(0x15f)](this['sourceSheetName']))==null?void 0x0:_0x62bfe9[_0x1f041b(0x19d)]();if(!_0x1b2770)throw new Error(_0x1f041b(0x156)+this[_0x1f041b(0x202)]+_0x1f041b(0x1b3));_0x544e06=_0x1b2770;}return{'unitId':this[_0x1f041b(0x165)],'subUnitId':_0x544e06,'chartId':this[_0x1f041b(0x16e)],'range':this['range'],'x':this['x'],'y':this['y'],'width':this[_0x1f041b(0x209)],'height':this[_0x1f041b(0x1b6)],'chartType':this[_0x1f041b(0x1df)],'options':this[_0x1f041b(0x216)],'isRowDirection':this[_0x1f041b(0x149)]};}}class A{constructor(_0x5831f3,_0x2301b3,_0x3cdf89,_0x7af377){const _0x5d9c59=_0x4ef584;o(this,_0x5d9c59(0x165)),o(this,_0x5d9c59(0x19c)),o(this,'chartId'),o(this,'_injector'),(this[_0x5d9c59(0x165)]=_0x5831f3,this[_0x5d9c59(0x19c)]=_0x2301b3,this['chartId']=_0x3cdf89,this[_0x5d9c59(0x1ff)]=_0x7af377);}[_0x4ef584(0x1a1)](){return this['chartId'];}[_0x4ef584(0x190)](){const _0x36ea23=_0x4ef584,_0x1f3ac2=this[_0x36ea23(0x1ff)][_0x36ea23(0x16c)](u[_0x36ea23(0x1f7)])[_0x36ea23(0x211)](this[_0x36ea23(0x16e)]);if(_0x1f3ac2)return _0x1f3ac2[_0x36ea23(0x1ce)]['getRangeInfo']();}[_0x4ef584(0x18c)](_0x42967e){const _0x118a77=_0x4ef584;return this[_0x118a77(0x1ff)]['get'](S[_0x118a77(0x1cd)])[_0x118a77(0x1a7)](u[_0x118a77(0x1d5)]['id'],{'unitId':this[_0x118a77(0x165)],'chartModelId':this[_0x118a77(0x16e)],'range':_0x42967e});}[_0x4ef584(0x17e)](){const _0x4c15d7=_0x4ef584;var _0x39cbb9;const _0x22d39c=this[_0x4c15d7(0x1ff)]['get'](u[_0x4c15d7(0x1f7)])[_0x4c15d7(0x211)](this['chartId']);if(_0x22d39c)return(_0x39cbb9=_0x22d39c[_0x4c15d7(0x1bb)])==null?void 0x0:_0x39cbb9[_0x4c15d7(0x1b5)];}[_0x4ef584(0x1dc)](){const _0x2d230e=_0x4ef584;var _0x500176;const _0x4c50a0=this[_0x2d230e(0x1ff)][_0x2d230e(0x16c)](u[_0x2d230e(0x1f7)])['getChartModel'](this[_0x2d230e(0x16e)]);if(_0x4c50a0)return(_0x500176=_0x4c50a0[_0x2d230e(0x1bb)])==null?void 0x0:_0x500176['category'];}['modify'](){const _0x46c8f0=_0x4ef584,_0x372817=this[_0x46c8f0(0x1ff)][_0x46c8f0(0x16c)](S[_0x46c8f0(0x1fb)])[_0x46c8f0(0x1ec)](S[_0x46c8f0(0x1f8)][_0x46c8f0(0x1d9)]);return new c(this[_0x46c8f0(0x165)],this[_0x46c8f0(0x19c)],_0x372817,this[_0x46c8f0(0x1ff)],this[_0x46c8f0(0x16e)]);}}class H extends b[_0x4ef584(0x13e)]{async[_0x4ef584(0x1f0)](_0x2562ad){const _0x1e9181=_0x4ef584;var _0x247782,_0x3d81ae,_0x1c7fbe;const _0x52aba0=_0x2562ad[_0x1e9181(0x165)]||this[_0x1e9181(0x1cf)]()[_0x1e9181(0x1db)](),_0x5e9b73=_0x2562ad[_0x1e9181(0x19c)]||this[_0x1e9181(0x19d)](),_0x5cb423=_0x2562ad['chartId']||S['generateRandomId'](),_0x2b97fc=_0x2562ad['chartType'],_0x2b5a90=_0x2562ad[_0x1e9181(0x19f)],_0x453f29={'x':_0x2562ad['x'],'y':_0x2562ad['y']},_0x2576ac=_0x2562ad['width'],_0x3af3c6=_0x2562ad[_0x1e9181(0x1b6)],_0x4cb0ea=(_0x247782=_0x2562ad['options'])==null?void 0x0:_0x247782[_0x1e9181(0x1cc)],_0x3568b9=(_0x3d81ae=_0x2562ad['options'])==null?void 0x0:_0x3d81ae[_0x1e9181(0x160)],_0x3d6eb6=f(_0x52aba0,_0x5cb423,_0x2b97fc,_0x2562ad['options']),_0xae0c15=(_0x1c7fbe=_0x2562ad[_0x1e9181(0x1ae)])!=null?_0x1c7fbe:!0x0;if(!_0x2b5a90)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService'][_0x1e9181(0x1a7)](M[_0x1e9181(0x181)]['id'],{'unitId':_0x52aba0,'subUnitId':_0x5e9b73,'chartId':_0x5cb423,'chartType':_0x2b97fc,'range':_0x2b5a90,'position':_0x453f29,'width':_0x2576ac,'height':_0x3af3c6,'backgroundColor':_0x4cb0ea,'borderColor':_0x3568b9,'config':_0x3d6eb6,'isRowDirection':_0xae0c15}),new A(_0x52aba0,_0x5e9b73,_0x5cb423,this[_0x1e9181(0x1ff)]);}['updateChart'](_0xc7c5fb){const _0x21290d=_0x4ef584,{unitId:_0x27b92a,chartId:_0x7a0784,chartType:_0x431672,options:_0x242257}=_0xc7c5fb,_0x244621=f(_0x27b92a,_0x7a0784,_0x431672,_0x242257);this[_0x21290d(0x218)]['executeCommand'](u['ChartUpdateConfigCommand']['id'],_0x244621);}['newChart'](_0x3e2688){const _0x1fe0f9=_0x4ef584;if(_0x3e2688)return new c(_0x3e2688[_0x1fe0f9(0x165)],_0x3e2688[_0x1fe0f9(0x19c)],this[_0x1fe0f9(0x1f3)],this[_0x1fe0f9(0x1ff)],_0x3e2688[_0x1fe0f9(0x16e)]);const _0x73d6fa=this[_0x1fe0f9(0x1cf)]()[_0x1fe0f9(0x1db)](),_0x47e412=this[_0x1fe0f9(0x19d)]();return new c(_0x73d6fa,_0x47e412,this[_0x1fe0f9(0x1f3)],this[_0x1fe0f9(0x1ff)]);}[_0x4ef584(0x163)](){const _0x149ce8=_0x4ef584,_0x11a7be=this[_0x149ce8(0x1ff)][_0x149ce8(0x16c)](u['SheetsChartService']),_0xae9216=this[_0x149ce8(0x1cf)]()[_0x149ce8(0x1db)]();return _0x11a7be[_0x149ce8(0x197)](_0xae9216,this[_0x149ce8(0x19d)]())[_0x149ce8(0x1ed)](_0x2d42b1=>new A(_0xae9216,this[_0x149ce8(0x19d)](),_0x2d42b1['id'],this[_0x149ce8(0x1ff)]));}[_0x4ef584(0x188)](_0x476ee4){const _0xf8f999=_0x4ef584,_0x45ffb5=_0x476ee4['unitId'],_0x44bf18=_0x476ee4[_0xf8f999(0x19c)],_0x55b2f1=_0x476ee4['chartId'],_0x3e8f14={'unitId':_0x45ffb5,'drawings':[{'unitId':_0x45ffb5,'subUnitId':_0x44bf18,'drawingId':_0x55b2f1,'drawingType':S[_0xf8f999(0x1c8)]['DRAWING_CHART']}]};return this['_commandService'][_0xf8f999(0x1a7)](j[_0xf8f999(0x206)]['id'],_0x3e8f14);}[_0x4ef584(0x18a)](_0x444d5c,_0xf91b78){const _0x3e5f5a=_0x4ef584;this[_0x3e5f5a(0x1ff)][_0x3e5f5a(0x16c)](d[_0x3e5f5a(0x153)])['registerTheme'](_0x444d5c,_0xf91b78);}}b[_0x4ef584(0x13e)]['extend'](H);class z extends m[_0x4ef584(0x19a)]{get[_0x4ef584(0x214)](){const _0x54bf27=_0x4ef584;return d[_0x54bf27(0x1d6)];}get[_0x4ef584(0x15c)](){const _0x34e7a9=_0x4ef584;return d[_0x34e7a9(0x15c)];}get[_0x4ef584(0x1c1)](){const _0x1bc250=_0x4ef584;return d[_0x1bc250(0x1c1)];}get[_0x4ef584(0x162)](){const _0x27a146=_0x4ef584;return d[_0x27a146(0x162)];}get['ChartBorderDashType'](){return d['ChartBorderDashType'];}get[_0x4ef584(0x15e)](){const _0x4c1c9a=_0x4ef584;return d[_0x4c1c9a(0x15e)];}get[_0x4ef584(0x17c)](){const _0x3fc823=_0x4ef584;return d[_0x3fc823(0x17c)];}get[_0x4ef584(0x208)](){const _0x1035fc=_0x4ef584;return d[_0x1035fc(0x208)];}}m['FEnum']['extend'](z);class I extends c{constructor(_0x4f9e32,_0x38e70f,_0x173212,_0x5d56c3,_0x4be974){const _0xeac744=_0x4ef584;super(_0x4f9e32,_0x38e70f,_0x173212,_0x5d56c3,_0x4be974),o(this,_0xeac744(0x1a0)),o(this,_0xeac744(0x187)),o(this,'dataPointColor'),o(this,_0xeac744(0x1af));}[_0x4ef584(0x16f)](_0x89b645){const _0x3a8792=_0x4ef584;return this[_0x3a8792(0x1a0)]=_0x89b645,this;}[_0x4ef584(0x167)](_0x10606b){const _0x33657e=_0x4ef584;return this[_0x33657e(0x187)]=_0x10606b,this;}[_0x4ef584(0x170)](_0x18be35){return this['dataPointColor']=_0x18be35,this;}[_0x4ef584(0x210)](_0x524d12){const _0x53e19f=_0x4ef584;return this[_0x53e19f(0x1af)]=_0x524d12,this;}['build'](){const _0x49f010=_0x4ef584,_0x52eaf9=super[_0x49f010(0x1ca)]();_0x52eaf9['chartType']=d[_0x49f010(0x1d6)][_0x49f010(0x13c)];const _0x443148=_0x52eaf9[_0x49f010(0x216)]||{};return s(_0x443148,_0x49f010(0x143),this[_0x49f010(0x1a0)]),s(_0x443148,_0x49f010(0x14c),this[_0x49f010(0x187)]),s(_0x443148,'allSeriesStyle.point.color',this[_0x49f010(0x1a2)]),s(_0x443148,_0x49f010(0x183),this[_0x49f010(0x1af)]),_0x52eaf9[_0x49f010(0x216)]=_0x443148,_0x52eaf9;}}class F extends c{[_0x4ef584(0x161)](){const _0x3c4fef=_0x4ef584;return new I(this['unitId'],this[_0x3c4fef(0x19c)],this[_0x3c4fef(0x1f3)],this['_injector'],this[_0x3c4fef(0x16e)]);}}c[_0x4ef584(0x1ad)](F);function _0x4fb8(){const _0x3d8ac8=['setAllSeriesStyle','invalidValueType','context','RemoveSheetDrawingCommand','shape','RadarShape','width','legend.label.italic','setXAxisTextStyle','setOptions','rightYAxis.label.axisTitleAlign','titles.rightYAxisTitle.bold','clearRange','setDataPointSize','getChartModel','setHasPaddingAngle','title','ChartType','theme','options','setSeriesStyle','_commandService','Line','titles.title.bold','FWorksheet','pie.showLabelLine','allSeriesStyle.color','titles.rightYAxisTitle.family','titles.xAxisTitle.content','area.lineStyle','rightYAxis','with','setBorderColor','@univerjs/core','FChartBuilderBase','transposeRowsAndColumns','setYAxisTextStyle','299778XXxByt','allSeriesStyle.point.shape','allSeriesStyle.border','xAxis','@univerjs/core/facade','allSeriesStyle','setShape','seriesStyleMap','ChartThemeService','indicatorLabelColor','legend.label.color','Sheet\x20','legend','fontStyle','titles.title.color','convertPositionCellToSheetOverGrid','titles.yAxisTitle.family','LegendPositionEnum','yAxisTitle','LinePointShape','getSheetBySheetName','borderColor','asLineChart','AxisAlignEnum','getCharts','pie.isHalfPie','unitId','indicatorLineType','setDataPointShape','fontSize','setHeight','titles.yAxisTitle.color','3228786aSlpTb','get','setRightYAxisTextStyle','chartId','setLineStyle','setDataPointColor','border','axisPointer','content','color','1759624lNYruX','titles.rightYAxisTitle.content','titles.xAxisTitle.family','584244tTUIYM','left','deserializeRangeWithSheet','pie.borderColor','TitlePositionEnum','radar.shape','getSeriesData','titles.rightYAxisTitle.font','RadarChartBuilder','InsertChartCommand','pie.hasPaddingAngle','allSeriesStyle.point.size','titles.title.fontSize','titles.rightYAxisTitle.fontSize','gradientFill','dataPointShape','removeChart','setYAxisTitle','registerChartTheme','allSeriesStyle.rightYAxis','updateRange','tooltip.indicatorLabelColor','yRightAxis','doughnutHole','getRange','toStringTag','setPosition','108rLgDtW','@univerjs/sheets/facade','setFill','bold','getUnitChartModels','legend.label.bold','xAxisTitle','FEnum','pie.rosePie','subUnitId','getSheetId','top','range','lineStyle','getChartId','dataPointColor','isHalfPie','setShowLabelLine','titles.title.font','5NJUgXM','executeCommand','getChartType','setAbsolutePosition','legend.label.fontSize','getRenderById','keys','extend','isRowDirection','dataPointSize','@univerjs/engine-render','187200yEadAh','@univerjs/sheets-drawing-ui','\x20not\x20found','area','series','height','axisAlignment','asRadarChart','rightYAxisTitle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','config','titles.title.align','sheetName','LineChartBuilder','tooltip.indicatorLabelTextColor','showLabelLine','SelectModeEnum','titles.xAxisTitle.color','SheetSkeletonManagerService','allSeriesStyle.label','defineProperty','setChartType','pie','DrawingTypeEnum','setAxisPointerStyle','build','IRenderManagerService','backgroundColor','ICommandService','dataSource','getWorkbook','titles.yAxisTitle.content','Module','setTransposeRowsAndColumns','titles.rightYAxisTitle.color','rosePie','ChartUpdateSourceCommand','ChartTypeBits','titles.xAxisTitle.bold','@univerjs-pro/sheets-chart-ui','UNIVER_SHEET','Pie','getUnitId','getCategoryData','label','setRightYAxisTitle','chartType','fontColor','radar','titles.yAxisTitle.bold','Radar','@univerjs/engine-formula','setInvalidValueStrategy','asPieChart','pie.doughnutHole','setWidth','238623EHQZNI','addRange','fill','getCurrentUnitForType','map','yAxis','legend.selectMode','insertChart','setIsHalfPie','hasPaddingAngle','_workbook','FBase','position','@univerjs-pro/engine-chart','SheetsChartService','UniverInstanceType','setRosePie','setProperty','IUniverInstanceService','style','allSeriesStyle.point','titles.title.family','_injector','length','19044HMkwkv','sourceSheetName'];_0x4fb8=function(){return _0x3d8ac8;};return _0x4fb8();}class k extends c{constructor(_0x553e0a,_0x512987,_0xf606a,_0x371351,_0x48dabe){const _0x48b621=_0x4ef584;super(_0x553e0a,_0x512987,_0xf606a,_0x371351,_0x48dabe),o(this,'doughnutHole'),o(this,_0x48b621(0x160)),o(this,_0x48b621(0x1f2)),o(this,_0x48b621(0x1a3)),o(this,_0x48b621(0x1d4)),o(this,_0x48b621(0x1c0));}['setDoughnutHole'](_0x224830){const _0xdbdfda=_0x4ef584;return this[_0xdbdfda(0x18f)]=_0x224830,this;}[_0x4ef584(0x146)](_0x50684a){return this['borderColor']=_0x50684a,this;}[_0x4ef584(0x212)](_0x343c10){const _0x3bde90=_0x4ef584;return this[_0x3bde90(0x1f2)]=_0x343c10,this;}[_0x4ef584(0x1f1)](_0x86bf6e){const _0x57ea9e=_0x4ef584;return this[_0x57ea9e(0x1a3)]=_0x86bf6e,this;}[_0x4ef584(0x1f9)](_0x5e0b47){const _0x247435=_0x4ef584;return this[_0x247435(0x1d4)]=_0x5e0b47,this;}[_0x4ef584(0x1a4)](_0x5722a6){const _0x94c04d=_0x4ef584;return this[_0x94c04d(0x1c0)]=_0x5722a6,this;}['build'](){const _0x4d9832=_0x4ef584,_0x2a7ab5=super[_0x4d9832(0x1ca)]();_0x2a7ab5['chartType']=d[_0x4d9832(0x1d6)][_0x4d9832(0x1da)];const _0x1155ea=_0x2a7ab5['options']||{};return s(_0x1155ea,_0x4d9832(0x1e7),this['doughnutHole']),s(_0x1155ea,'pie.borderColor',this[_0x4d9832(0x160)]),s(_0x1155ea,_0x4d9832(0x182),this['hasPaddingAngle']),s(_0x1155ea,_0x4d9832(0x164),this[_0x4d9832(0x1a3)]),s(_0x1155ea,'pie.rosePie',this[_0x4d9832(0x1d4)]),s(_0x1155ea,_0x4d9832(0x13f),this[_0x4d9832(0x1c0)]),_0x2a7ab5[_0x4d9832(0x216)]=_0x1155ea,_0x2a7ab5;}}class O extends c{[_0x4ef584(0x1e6)](){const _0x549247=_0x4ef584;return new k(this[_0x549247(0x165)],this[_0x549247(0x19c)],this['_workbook'],this['_injector'],this[_0x549247(0x16e)]);}}c[_0x4ef584(0x1ad)](O);class R extends c{constructor(_0x56ade1,_0x418b95,_0x316dd3,_0x49f183,_0x55d186){const _0x182f87=_0x4ef584;super(_0x56ade1,_0x418b95,_0x316dd3,_0x49f183,_0x55d186),o(this,_0x182f87(0x207)),o(this,_0x182f87(0x1eb));}[_0x4ef584(0x151)](_0x13a33c){const _0x426cb6=_0x4ef584;return this[_0x426cb6(0x207)]=_0x13a33c,this;}[_0x4ef584(0x195)](_0x412a7b){return this['fill']=_0x412a7b,this;}[_0x4ef584(0x1ca)](){const _0x24fe89=_0x4ef584,_0xc01a78=super[_0x24fe89(0x1ca)]();_0xc01a78['chartType']=d[_0x24fe89(0x1d6)][_0x24fe89(0x1e3)];const _0x374db8=_0xc01a78[_0x24fe89(0x216)]||{};return s(_0x374db8,_0x24fe89(0x17d),this['shape']),s(_0x374db8,'radar.fill',this[_0x24fe89(0x1eb)]),_0xc01a78[_0x24fe89(0x216)]=_0x374db8,_0xc01a78;}}function _0x9b47(_0x46ca45,_0x462e92){const _0x4fb843=_0x4fb8();return _0x9b47=function(_0x9b473a,_0x3e1ce0){_0x9b473a=_0x9b473a-0x13c;let _0x1d70ff=_0x4fb843[_0x9b473a];return _0x1d70ff;},_0x9b47(_0x46ca45,_0x462e92);}class B extends c{[_0x4ef584(0x1b8)](){const _0x30fecf=_0x4ef584;return new R(this[_0x30fecf(0x165)],this[_0x30fecf(0x19c)],this[_0x30fecf(0x1f3)],this[_0x30fecf(0x1ff)],this[_0x30fecf(0x16e)]);}}c[_0x4ef584(0x1ad)](B),exports['FChart']=A,exports[_0x4ef584(0x148)]=c,exports[_0x4ef584(0x1be)]=I,exports['PieChartBuilder']=k,exports[_0x4ef584(0x180)]=R;