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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2c7191=_0x1832;(function(_0x1a3d40,_0x233560){const _0x52adc1=_0x1832,_0x2303b4=_0x1a3d40();while(!![]){try{const _0x13c381=-parseInt(_0x52adc1(0x15c))/0x1*(-parseInt(_0x52adc1(0x152))/0x2)+-parseInt(_0x52adc1(0x14b))/0x3*(parseInt(_0x52adc1(0x115))/0x4)+parseInt(_0x52adc1(0x183))/0x5*(-parseInt(_0x52adc1(0x180))/0x6)+-parseInt(_0x52adc1(0x17f))/0x7*(parseInt(_0x52adc1(0xdf))/0x8)+-parseInt(_0x52adc1(0xec))/0x9+-parseInt(_0x52adc1(0x156))/0xa+-parseInt(_0x52adc1(0xfd))/0xb*(-parseInt(_0x52adc1(0x119))/0xc);if(_0x13c381===_0x233560)break;else _0x2303b4['push'](_0x2303b4['shift']());}catch(_0x274700){_0x2303b4['push'](_0x2303b4['shift']());}}}(_0x454c,0xc32f6));function _0x1832(_0x79b6ee,_0x4e5c2f){const _0x454cb6=_0x454c();return _0x1832=function(_0x1832f9,_0x432d79){_0x1832f9=_0x1832f9-0xcf;let _0x57de6b=_0x454cb6[_0x1832f9];return _0x57de6b;},_0x1832(_0x79b6ee,_0x4e5c2f);}var k=Object['defineProperty'],_=(_0x24bc25,_0x42273e,_0x38170d)=>_0x42273e in _0x24bc25?k(_0x24bc25,_0x42273e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38170d}):_0x24bc25[_0x42273e]=_0x38170d,o=(_0x2c483c,_0x5b898d,_0x100dd1)=>_(_0x2c483c,typeof _0x5b898d!=_0x2c7191(0x128)?_0x5b898d+'':_0x5b898d,_0x100dd1);Object['defineProperty'](exports,Symbol[_0x2c7191(0x158)],{'value':_0x2c7191(0x101)});const d=require('@univerjs-pro/sheets-chart'),U=require(_0x2c7191(0x16c)),u=require(_0x2c7191(0x12b)),L=require(_0x2c7191(0x185)),w=require(_0x2c7191(0x13a)),M=require(_0x2c7191(0x165)),j=require(_0x2c7191(0x150)),C=require(_0x2c7191(0xe6)),s=(_0x2dc60a,_0x30cde7,_0x21d522)=>{const _0x3d3d37=_0x2c7191;_0x21d522!==void 0x0&&d[_0x3d3d37(0x179)](_0x2dc60a,_0x30cde7,_0x21d522);},I=(_0x68756c,_0x4030d8,_0x25ff84,_0x295504={})=>{const _0x388d40=_0x2c7191,_0x59a917={},_0xd92f24={};if(_0x295504['title']){const _0x267296=_0x295504['title'];s(_0x59a917,_0x388d40(0x174),_0x267296[_0x388d40(0xe8)]),s(_0x59a917,_0x388d40(0x13e),_0x267296[_0x388d40(0x147)]),s(_0x59a917,'titles.title.fontSize',_0x267296['fontSize']),s(_0x59a917,_0x388d40(0x110),_0x267296[_0x388d40(0x162)]),s(_0x59a917,_0x388d40(0x191),_0x267296['fontStyle']),s(_0x59a917,_0x388d40(0x155),_0x267296[_0x388d40(0x107)]),s(_0x59a917,_0x388d40(0xf7),_0x267296[_0x388d40(0xe2)]),s(_0x59a917,_0x388d40(0x112),_0x267296[_0x388d40(0x15e)]);}if(_0x295504[_0x388d40(0xf3)]){const _0x4308e1=_0x295504[_0x388d40(0xf3)];s(_0x59a917,_0x388d40(0x145),_0x4308e1[_0x388d40(0x15e)]),s(_0x59a917,_0x388d40(0xf4),_0x4308e1[_0x388d40(0x17c)]),s(_0x59a917,_0x388d40(0x16a),_0x4308e1['fontSize']),s(_0x59a917,_0x388d40(0x157),_0x4308e1[_0x388d40(0x10b)]),s(_0x59a917,'legend.label.bold',_0x4308e1[_0x388d40(0x103)]),s(_0x59a917,_0x388d40(0x151),_0x4308e1[_0x388d40(0x12d)]);}if(_0x295504[_0x388d40(0xd8)]){const _0x56406a=_0x295504[_0x388d40(0xd8)];s(_0x59a917,'pie.doughnutHole',_0x56406a[_0x388d40(0x148)]),s(_0x59a917,_0x388d40(0x190),_0x56406a[_0x388d40(0x160)]),s(_0x59a917,'pie.hasPaddingAngle',_0x56406a[_0x388d40(0x18e)]),s(_0x59a917,_0x388d40(0x14a),_0x56406a[_0x388d40(0x189)]),s(_0x59a917,_0x388d40(0x120),_0x56406a[_0x388d40(0xe1)]),s(_0x59a917,_0x388d40(0x18b),_0x56406a[_0x388d40(0x172)]);}if(_0x295504[_0x388d40(0x193)]){const _0x4956ee=_0x295504['axisPointer'];s(_0x59a917,_0x388d40(0x12a),_0x4956ee['indicatorLabelColor']),s(_0x59a917,'tooltip.indicatorLineType',_0x4956ee['indicatorLineType']),s(_0x59a917,_0x388d40(0x11b),_0x4956ee[_0x388d40(0xdb)]),s(_0x59a917,'tooltip.indicatorLabelTextColor',_0x4956ee['indicatorLabelTextColor']);}if(_0x295504[_0x388d40(0x187)]&&s(_0x59a917,_0x388d40(0x129),_0x295504[_0x388d40(0x187)]['point']),_0x295504[_0x388d40(0x116)]&&s(_0x59a917,_0x388d40(0x14d),_0x295504[_0x388d40(0x116)][_0x388d40(0x136)]),_0x295504['theme']&&s(_0x59a917,_0x388d40(0x135),_0x295504['theme']),_0x295504[_0x388d40(0xe3)]){const _0x7b0fae=_0x295504[_0x388d40(0xe3)];s(_0x59a917,_0x388d40(0xde),_0x7b0fae['content']),s(_0x59a917,_0x388d40(0x143),_0x7b0fae[_0x388d40(0x147)]),s(_0x59a917,_0x388d40(0x144),_0x7b0fae[_0x388d40(0x141)]),s(_0x59a917,_0x388d40(0xf1),_0x7b0fae[_0x388d40(0x162)]),s(_0x59a917,_0x388d40(0xf8),_0x7b0fae['fontStyle']),s(_0x59a917,'titles.xAxisTitle.fontWeight',_0x7b0fae[_0x388d40(0x107)]),s(_0x59a917,_0x388d40(0xee),_0x7b0fae[_0x388d40(0xe2)]);}if(_0x295504['yAxisTitle']){const _0x533b18=_0x295504[_0x388d40(0xcf)];s(_0x59a917,_0x388d40(0x15a),_0x533b18[_0x388d40(0xe8)]),s(_0x59a917,'titles.yAxisTitle.font',_0x533b18['font']),s(_0x59a917,'titles.yAxisTitle.fontSize',_0x533b18[_0x388d40(0x141)]),s(_0x59a917,_0x388d40(0xda),_0x533b18[_0x388d40(0x162)]),s(_0x59a917,_0x388d40(0x11e),_0x533b18[_0x388d40(0x12f)]),s(_0x59a917,'titles.yAxisTitle.fontWeight',_0x533b18[_0x388d40(0x107)]),s(_0x59a917,_0x388d40(0x154),_0x533b18[_0x388d40(0xe2)]);}if(_0x295504[_0x388d40(0x113)]){const _0x27f81a=_0x295504['rightYAxisTitle'];s(_0x59a917,'titles.rightYAxisTitle.content',_0x27f81a[_0x388d40(0xe8)]),s(_0x59a917,_0x388d40(0x17d),_0x27f81a[_0x388d40(0x147)]),s(_0x59a917,'titles.rightYAxisTitle.fontSize',_0x27f81a[_0x388d40(0x141)]),s(_0x59a917,'titles.rightYAxisTitle.fontColor',_0x27f81a[_0x388d40(0x162)]),s(_0x59a917,'titles.rightYAxisTitle.fontStyle',_0x27f81a[_0x388d40(0x12f)]),s(_0x59a917,_0x388d40(0xfc),_0x27f81a[_0x388d40(0x107)]),s(_0x59a917,'titles.rightYAxisTitle.alignment',_0x27f81a[_0x388d40(0xe2)]);}_0x295504[_0x388d40(0x108)]&&s(_0x59a917,'xAxis',_0x295504['xAxis']),_0x295504[_0x388d40(0x175)]&&s(_0x59a917,'yAxis',_0x295504[_0x388d40(0x175)]),_0x295504[_0x388d40(0xd2)]&&s(_0x59a917,_0x388d40(0xf0),_0x295504[_0x388d40(0xd2)]),_0x295504[_0x388d40(0x14f)]&&s(_0x59a917,_0x388d40(0x14f),_0x295504['seriesStyleMap']);const _0x2ff57d={'unitId':_0x68756c,'chartModelId':_0x4030d8};let _0x123575=!0x1;if(_0x25ff84!==void 0x0&&(_0x2ff57d[_0x388d40(0x126)]=_0x25ff84,_0x123575=!0x0),Object[_0x388d40(0xe7)](_0x59a917)[_0x388d40(0x16f)]>0x0&&(_0x2ff57d['style']=_0x59a917,_0x123575=!0x0),Object[_0x388d40(0xe7)](_0xd92f24)[_0x388d40(0x16f)]>0x0&&(_0x2ff57d['context']=_0xd92f24,_0x123575=!0x0),_0x123575)return _0x2ff57d;};class c extends u[_0x2c7191(0x12c)]{constructor(_0x58c530,_0x5cc7d3,_0x1179b,_0x2a0d04,_0x41b33d){const _0x21f059=_0x2c7191;super(),o(this,'_workbook'),o(this,_0x21f059(0x166)),o(this,_0x21f059(0xf5)),o(this,_0x21f059(0x10f)),o(this,_0x21f059(0xf9)),o(this,_0x21f059(0x181)),o(this,'sourceSheetName'),o(this,'x'),o(this,'y'),o(this,_0x21f059(0x161)),o(this,'height'),o(this,_0x21f059(0x126)),o(this,_0x21f059(0x171)),o(this,_0x21f059(0x16d)),(this[_0x21f059(0xf5)]=_0x58c530,this[_0x21f059(0x10f)]=_0x5cc7d3,this['_workbook']=_0x1179b,this[_0x21f059(0x166)]=_0x2a0d04,_0x41b33d&&(this[_0x21f059(0xf9)]=_0x41b33d));}['getChartType'](){const _0x23db28=_0x2c7191;return this[_0x23db28(0x126)];}[_0x2c7191(0x10d)](_0x20f0e4){const _0xc3dcd2=_0x2c7191;if(typeof _0x20f0e4==_0xc3dcd2(0xf6)){const _0x196dff=M[_0xc3dcd2(0x149)](_0x20f0e4);_0x196dff['sheetName']&&(this[_0xc3dcd2(0x153)]=_0x196dff[_0xc3dcd2(0xd4)]),this['range']=_0x196dff['range'];}else this[_0xc3dcd2(0x181)]=_0x20f0e4;return this;}[_0x2c7191(0x15f)](){const _0x49a96e=_0x2c7191;return this['range']=void 0x0,this[_0x49a96e(0x153)]=void 0x0,this;}[_0x2c7191(0x131)](_0x51db05,_0x11e61c,_0x32abe7,_0x187716){const _0x1371a1=_0x2c7191,_0xa286c4=this['_injector'][_0x1371a1(0x18f)](j['IRenderManagerService'])[_0x1371a1(0xff)](this[_0x1371a1(0xf5)]);if(!_0xa286c4)throw new Error(_0x1371a1(0x164));const _0x53d848=_0xa286c4[_0x1371a1(0x10c)](C['ISheetSelectionRenderService']),_0x5cd705=_0xa286c4[_0x1371a1(0x10c)](C[_0x1371a1(0x134)]),{transform:_0x5e39ee}=C[_0x1371a1(0x124)](this[_0x1371a1(0xf5)],this[_0x1371a1(0x10f)],{'row':_0x51db05,'column':_0x11e61c,'rowOffset':_0x32abe7,'columnOffset':_0x187716},0x1,0x1,_0x53d848,_0x5cd705),_0x541081=_0x5e39ee[_0x1371a1(0x111)],_0x5cf724=_0x5e39ee[_0x1371a1(0xd0)];return this['x']=_0x5cf724,this['y']=_0x541081,this;}[_0x2c7191(0x137)](_0x2c9539,_0x24dedc){return this['x']=_0x2c9539,this['y']=_0x24dedc,this;}['setChartType'](_0x5e6a5d){const _0x313195=_0x2c7191;return this[_0x313195(0x126)]=_0x5e6a5d,this;}[_0x2c7191(0xfe)](_0x297636){const _0x5805df=_0x2c7191;return this[_0x5805df(0x161)]=_0x297636,this;}[_0x2c7191(0x17e)](_0x28c56e){const _0x3c8c3b=_0x2c7191;return this[_0x3c8c3b(0xe4)]=_0x28c56e,this;}[_0x2c7191(0x188)](_0x3721a2,_0x5ee4dc){const _0x55af4a=_0x2c7191;return this[_0x55af4a(0x171)]||(this[_0x55af4a(0x171)]={}),_0x3721a2===''?(this[_0x55af4a(0x171)]={...this['options'],..._0x5ee4dc},this):(d[_0x55af4a(0x179)](this[_0x55af4a(0x171)],_0x3721a2,_0x5ee4dc),this);}[_0x2c7191(0xe0)](_0x53cabb){const _0x49925e=_0x2c7191;return this[_0x49925e(0x16d)]=_0x53cabb,this;}[_0x2c7191(0xd9)](_0x187516){const _0x2d5312=_0x2c7191;return this[_0x2d5312(0x188)](_0x2d5312(0x135),_0x187516),this;}['setXAxisTitle'](_0x1bf067){const _0xc6fed9=_0x2c7191;var _0x2f65c3;const _0x399275=((_0x2f65c3=this[_0xc6fed9(0x171)])==null?void 0x0:_0x2f65c3[_0xc6fed9(0xe3)])||{};return _0x399275['content']=_0x1bf067,this[_0xc6fed9(0x188)]('xAxisTitle',_0x399275),this;}[_0x2c7191(0x118)](_0x4b933d){const _0x2a7445=_0x2c7191;var _0x129dd0;const _0x50bb23=((_0x129dd0=this['options'])==null?void 0x0:_0x129dd0['yAxisTitle'])||{};return _0x50bb23[_0x2a7445(0xe8)]=_0x4b933d,this[_0x2a7445(0x188)](_0x2a7445(0xcf),_0x50bb23),this;}[_0x2c7191(0x13c)](_0x4a9905){const _0x361f80=_0x2c7191;var _0x36d55c;const _0xd5f556=((_0x36d55c=this[_0x361f80(0x171)])==null?void 0x0:_0x36d55c['rightYAxisTitle'])||{};return _0xd5f556[_0x361f80(0xe8)]=_0x4a9905,this[_0x361f80(0x188)](_0x361f80(0x113),_0xd5f556),this;}['setXAxisTextStyle'](_0x3b897b){const _0x462a40=_0x2c7191;var _0x55ac53;const _0x799fba=((_0x55ac53=this[_0x462a40(0x171)])==null?void 0x0:_0x55ac53[_0x462a40(0xe3)])||{};return this[_0x462a40(0x188)](_0x462a40(0xe3),{..._0x799fba,..._0x3b897b}),this;}[_0x2c7191(0x139)](_0x291e2f){const _0x1c6666=_0x2c7191;var _0xee589c;const _0x37c490=((_0xee589c=this['options'])==null?void 0x0:_0xee589c['yAxisTitle'])||{};return this[_0x1c6666(0x188)](_0x1c6666(0xcf),{..._0x37c490,..._0x291e2f}),this;}[_0x2c7191(0x10e)](_0x28691b){const _0xd1673b=_0x2c7191;var _0x239bc7;const _0x29135c=((_0x239bc7=this['options'])==null?void 0x0:_0x239bc7['rightYAxisTitle'])||{};return this[_0xd1673b(0x188)](_0xd1673b(0x113),{..._0x29135c,..._0x28691b}),this;}['setInvalidValueStrategy'](_0x48fb08){const _0x2f2757=_0x2c7191;return this[_0x2f2757(0x188)](_0x2f2757(0xfa),_0x48fb08),this;}[_0x2c7191(0x11d)](_0x1ed0d5){const _0xa11a48=_0x2c7191;return this[_0xa11a48(0x188)](_0xa11a48(0x193),_0x1ed0d5),this;}[_0x2c7191(0x122)](_0x4e6005){return this['setOptions']('allSeriesStyle',_0x4e6005),this;}[_0x2c7191(0xdd)](_0x3827d3,_0x2ed188){const _0x279994=_0x2c7191;return this[_0x279994(0x188)]('seriesStyleMap',{[_0x3827d3]:_0x2ed188}),this;}[_0x2c7191(0xd5)](){const _0xbfba26=_0x2c7191;var _0x5c4c6c;let _0x5bff9f=this[_0xbfba26(0x10f)];if(this[_0xbfba26(0x153)]){const _0xc23843=(_0x5c4c6c=this[_0xbfba26(0x114)][_0xbfba26(0x194)](this[_0xbfba26(0x153)]))==null?void 0x0:_0x5c4c6c['getSheetId']();if(!_0xc23843)throw new Error(_0xbfba26(0x13f)+this[_0xbfba26(0x153)]+'\x20not\x20found');_0x5bff9f=_0xc23843;}return{'unitId':this['unitId'],'subUnitId':_0x5bff9f,'chartId':this[_0xbfba26(0xf9)],'range':this[_0xbfba26(0x181)],'x':this['x'],'y':this['y'],'width':this[_0xbfba26(0x161)],'height':this[_0xbfba26(0xe4)],'chartType':this[_0xbfba26(0x126)],'options':this['options'],'isRowDirection':this[_0xbfba26(0x16d)]};}}class T{constructor(_0x34f4ca,_0x2dc896,_0x443bf6,_0x35cc80){const _0x2d0ffa=_0x2c7191;o(this,_0x2d0ffa(0xf5)),o(this,_0x2d0ffa(0x10f)),o(this,'chartId'),o(this,_0x2d0ffa(0x166)),(this[_0x2d0ffa(0xf5)]=_0x34f4ca,this[_0x2d0ffa(0x10f)]=_0x2dc896,this[_0x2d0ffa(0xf9)]=_0x443bf6,this[_0x2d0ffa(0x166)]=_0x35cc80);}[_0x2c7191(0x16b)](){const _0x20e39d=_0x2c7191;return this[_0x20e39d(0xf9)];}['getRange'](){const _0x12e447=_0x2c7191,_0x2868ee=this[_0x12e447(0x166)]['get'](d['SheetsChartService'])[_0x12e447(0x146)](this['chartId']);if(_0x2868ee)return _0x2868ee[_0x12e447(0x17b)][_0x12e447(0x11a)]();}['updateRange'](_0x32fbae){const _0x58de1a=_0x2c7191;return this[_0x58de1a(0x166)][_0x58de1a(0x18f)](u[_0x58de1a(0xd6)])[_0x58de1a(0x13d)](d[_0x58de1a(0x17a)]['id'],{'unitId':this['unitId'],'chartModelId':this[_0x58de1a(0xf9)],'range':_0x32fbae});}[_0x2c7191(0x140)](){const _0x3cc60c=_0x2c7191;var _0x3acdfa;const _0x11c541=this[_0x3cc60c(0x166)][_0x3cc60c(0x18f)](d['SheetsChartService'])[_0x3cc60c(0x146)](this[_0x3cc60c(0xf9)]);if(_0x11c541)return(_0x3acdfa=_0x11c541['config'])==null?void 0x0:_0x3acdfa['series'];}['getCategoryData'](){const _0x1e7996=_0x2c7191;var _0x27431e;const _0x40f99f=this[_0x1e7996(0x166)]['get'](d[_0x1e7996(0x127)])['getChartModel'](this['chartId']);if(_0x40f99f)return(_0x27431e=_0x40f99f[_0x1e7996(0x184)])==null?void 0x0:_0x27431e[_0x1e7996(0x138)];}[_0x2c7191(0x123)](){const _0x4f8525=_0x2c7191,_0x294a60=this[_0x4f8525(0x166)]['get'](u[_0x4f8525(0x18c)])[_0x4f8525(0xe9)](u['UniverInstanceType'][_0x4f8525(0x11f)]);return new c(this[_0x4f8525(0xf5)],this['subUnitId'],_0x294a60,this['_injector'],this[_0x4f8525(0xf9)]);}}class Y extends w[_0x2c7191(0x125)]{async['insertChart'](_0x1036ec){const _0x2e23b6=_0x2c7191;var _0x4f048,_0x3bed58,_0x113730;const _0x1d63d3=_0x1036ec[_0x2e23b6(0xf5)]||this[_0x2e23b6(0x106)]()[_0x2e23b6(0x192)](),_0x5c69ae=_0x1036ec['subUnitId']||this[_0x2e23b6(0x195)](),_0x45f794=_0x1036ec[_0x2e23b6(0xf9)]||u['generateRandomId'](),_0xefcac5=_0x1036ec['chartType'],_0x4f9c46=_0x1036ec[_0x2e23b6(0x181)],_0x18e34b={'x':_0x1036ec['x'],'y':_0x1036ec['y']},_0x6c883a=_0x1036ec[_0x2e23b6(0x161)],_0x1b7298=_0x1036ec['height'],_0x52cf8b=(_0x4f048=_0x1036ec[_0x2e23b6(0x171)])==null?void 0x0:_0x4f048[_0x2e23b6(0x102)],_0x52f4d3=(_0x3bed58=_0x1036ec[_0x2e23b6(0x171)])==null?void 0x0:_0x3bed58['borderColor'],_0x540142=I(_0x1d63d3,_0x45f794,_0xefcac5,_0x1036ec[_0x2e23b6(0x171)]),_0x4414f2=(_0x113730=_0x1036ec['isRowDirection'])!=null?_0x113730:!0x0;if(!_0x4f9c46)throw new Error(_0x2e23b6(0xe5));return await this[_0x2e23b6(0x132)][_0x2e23b6(0x13d)](U['InsertChartCommand']['id'],{'unitId':_0x1d63d3,'subUnitId':_0x5c69ae,'chartId':_0x45f794,'chartType':_0xefcac5,'range':_0x4f9c46,'position':_0x18e34b,'width':_0x6c883a,'height':_0x1b7298,'backgroundColor':_0x52cf8b,'borderColor':_0x52f4d3,'config':_0x540142,'isRowDirection':_0x4414f2}),new T(_0x1d63d3,_0x5c69ae,_0x45f794,this[_0x2e23b6(0x166)]);}['updateChart'](_0x507ce5){const _0x198dc4=_0x2c7191,{unitId:_0x2cb099,chartId:_0x1e32cb,chartType:_0x13565b,options:_0x43ee79}=_0x507ce5,_0x3ed459=I(_0x2cb099,_0x1e32cb,_0x13565b,_0x43ee79);this['_commandService']['executeCommand'](d[_0x198dc4(0x159)]['id'],_0x3ed459);}[_0x2c7191(0x10a)](_0x49691f){const _0x266e9c=_0x2c7191;if(_0x49691f)return new c(_0x49691f[_0x266e9c(0xf5)],_0x49691f[_0x266e9c(0x10f)],this[_0x266e9c(0x114)],this[_0x266e9c(0x166)],_0x49691f[_0x266e9c(0xf9)]);const _0x3eb3c4=this['getWorkbook']()['getUnitId'](),_0x2ba567=this[_0x266e9c(0x195)]();return new c(_0x3eb3c4,_0x2ba567,this[_0x266e9c(0x114)],this[_0x266e9c(0x166)]);}[_0x2c7191(0x11c)](){const _0x3a6fdf=_0x2c7191,_0x32a792=this[_0x3a6fdf(0x166)][_0x3a6fdf(0x18f)](d['SheetsChartService']),_0x23699d=this[_0x3a6fdf(0x106)]()[_0x3a6fdf(0x192)]();return _0x32a792['getUnitChartModels'](_0x23699d,this['getSheetId']())[_0x3a6fdf(0x133)](_0x317bef=>new T(_0x23699d,this[_0x3a6fdf(0x195)](),_0x317bef['id'],this[_0x3a6fdf(0x166)]));}[_0x2c7191(0x18a)](_0x4c56ca){const _0x3ae20c=_0x2c7191,_0x11711f=_0x4c56ca[_0x3ae20c(0xf5)],_0x34ecd7=_0x4c56ca[_0x3ae20c(0x10f)],_0x4ff1de=_0x4c56ca['chartId'],_0x369bce={'unitId':_0x11711f,'drawings':[{'unitId':_0x11711f,'subUnitId':_0x34ecd7,'drawingId':_0x4ff1de,'drawingType':u[_0x3ae20c(0x121)]['DRAWING_CHART']}]};return this[_0x3ae20c(0x132)][_0x3ae20c(0x13d)](L[_0x3ae20c(0x105)]['id'],_0x369bce);}[_0x2c7191(0x130)](_0x3822dd,_0x180ce0){const _0x48d174=_0x2c7191;this[_0x48d174(0x166)][_0x48d174(0x18f)](d[_0x48d174(0xfb)])[_0x48d174(0x178)](_0x3822dd,_0x180ce0);}}w['FWorksheet'][_0x2c7191(0x15b)](Y);class P extends c{constructor(_0x49f381,_0x288b0d,_0x2bfe05,_0x4df3a9,_0x3eadc2){const _0x5d67b4=_0x2c7191;super(_0x49f381,_0x288b0d,_0x2bfe05,_0x4df3a9,_0x3eadc2),o(this,_0x5d67b4(0x136)),o(this,_0x5d67b4(0x169)),o(this,_0x5d67b4(0xd3)),o(this,_0x5d67b4(0x117));}['setLineStyle'](_0x55aee3){const _0x145584=_0x2c7191;return this[_0x145584(0x136)]=_0x55aee3,this;}[_0x2c7191(0x14e)](_0x26b16b){const _0x16c143=_0x2c7191;return this[_0x16c143(0x169)]=_0x26b16b,this;}[_0x2c7191(0xef)](_0x5cb349){const _0x54b76c=_0x2c7191;return this[_0x54b76c(0xd3)]=_0x5cb349,this;}[_0x2c7191(0x177)](_0x2d2103){const _0x74e1dc=_0x2c7191;return this[_0x74e1dc(0x117)]=_0x2d2103,this;}[_0x2c7191(0xd5)](){const _0x1a90f0=_0x2c7191,_0x42c470=super[_0x1a90f0(0xd5)]();_0x42c470['chartType']=d[_0x1a90f0(0xed)][_0x1a90f0(0x173)];const _0x359e7b=_0x42c470[_0x1a90f0(0x171)]||{};return s(_0x359e7b,_0x1a90f0(0x14d),this[_0x1a90f0(0x136)]),s(_0x359e7b,_0x1a90f0(0x100),this['dataPointShape']),s(_0x359e7b,_0x1a90f0(0x18d),this[_0x1a90f0(0xd3)]),s(_0x359e7b,_0x1a90f0(0x170),this[_0x1a90f0(0x117)]),_0x42c470[_0x1a90f0(0x171)]=_0x359e7b,_0x42c470;}}class H extends c{[_0x2c7191(0x109)](){const _0x12ecef=_0x2c7191;return new P(this[_0x12ecef(0xf5)],this[_0x12ecef(0x10f)],this[_0x12ecef(0x114)],this[_0x12ecef(0x166)],this[_0x12ecef(0xf9)]);}}c[_0x2c7191(0x15b)](H);class v extends c{constructor(_0x51081c,_0x462fc4,_0x1773e6,_0x1c5ef0,_0x45ef0b){const _0x3422e0=_0x2c7191;super(_0x51081c,_0x462fc4,_0x1773e6,_0x1c5ef0,_0x45ef0b),o(this,_0x3422e0(0x148)),o(this,_0x3422e0(0x160)),o(this,_0x3422e0(0x18e)),o(this,_0x3422e0(0x189)),o(this,_0x3422e0(0xe1)),o(this,_0x3422e0(0x172));}[_0x2c7191(0x182)](_0x47cfd7){const _0x47c58f=_0x2c7191;return this[_0x47c58f(0x148)]=_0x47cfd7,this;}[_0x2c7191(0xf2)](_0x53cd83){const _0x23da39=_0x2c7191;return this[_0x23da39(0x160)]=_0x53cd83,this;}[_0x2c7191(0x16e)](_0x5eb2ea){const _0x1270a4=_0x2c7191;return this[_0x1270a4(0x18e)]=_0x5eb2ea,this;}[_0x2c7191(0x13b)](_0x3f178a){const _0x4922e6=_0x2c7191;return this[_0x4922e6(0x189)]=_0x3f178a,this;}['setRosePie'](_0x4a2fa2){const _0x38a049=_0x2c7191;return this[_0x38a049(0xe1)]=_0x4a2fa2,this;}[_0x2c7191(0xdc)](_0x32f78c){const _0x248922=_0x2c7191;return this[_0x248922(0x172)]=_0x32f78c,this;}[_0x2c7191(0xd5)](){const _0x539828=_0x2c7191,_0x213635=super[_0x539828(0xd5)]();_0x213635['chartType']=d[_0x539828(0xed)][_0x539828(0x167)];const _0x3ab78d=_0x213635['options']||{};return s(_0x3ab78d,_0x539828(0xd7),this[_0x539828(0x148)]),s(_0x3ab78d,_0x539828(0x190),this[_0x539828(0x160)]),s(_0x3ab78d,'pie.hasPaddingAngle',this[_0x539828(0x18e)]),s(_0x3ab78d,_0x539828(0x14a),this['isHalfPie']),s(_0x3ab78d,_0x539828(0x120),this[_0x539828(0xe1)]),s(_0x3ab78d,_0x539828(0x18b),this['showLabelLine']),_0x213635['options']=_0x3ab78d,_0x213635;}}function _0x454c(){const _0x355391=['fontStyle','registerChartTheme','setPosition','_commandService','map','SheetSkeletonManagerService','theme','lineStyle','setAbsolutePosition','category','setYAxisTextStyle','@univerjs/sheets/facade','setIsHalfPie','setRightYAxisTitle','executeCommand','titles.title.font','Sheet\x20','getSeriesData','fontSize','setShape','titles.xAxisTitle.font','titles.xAxisTitle.fontSize','legend.position','getChartModel','font','doughnutHole','deserializeRangeWithSheet','pie.isHalfPie','51eCQnhA','radar.shape','area.lineStyle','setDataPointShape','seriesStyleMap','@univerjs/engine-render','legend.label.italic','2uUlqgG','sourceSheetName','titles.yAxisTitle.alignment','titles.title.fontWeight','351840HRsobF','legend.label.color','toStringTag','ChartUpdateConfigCommand','titles.yAxisTitle.content','extend','1318159LBZrOL','RadarChartBuilder','position','clearRange','borderColor','width','fontColor','shape','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','@univerjs/engine-formula','_injector','Pie','Radar','dataPointShape','legend.label.fontSize','getChartId','@univerjs-pro/sheets-chart-ui','transposeRowsAndColumns','setHasPaddingAngle','length','allSeriesStyle.point.size','options','showLabelLine','Line','titles.title.content','yAxis','setFill','setDataPointSize','registerTheme','setProperty','ChartUpdateSourceCommand','dataSource','selectMode','titles.rightYAxisTitle.font','setHeight','2961994ZqDnVP','278904RBDeET','range','setDoughnutHole','10somwRg','config','@univerjs/sheets-drawing-ui','LineChartBuilder','allSeriesStyle','setOptions','isHalfPie','removeChart','pie.showLabelLine','IUniverInstanceService','allSeriesStyle.point.color','hasPaddingAngle','get','pie.borderColor','titles.title.fontStyle','getUnitId','axisPointer','getSheetBySheetName','getSheetId','yAxisTitle','left','asRadarChart','yRightAxis','dataPointColor','sheetName','build','CommandService','pie.doughnutHole','pie','setTheme','titles.yAxisTitle.fontColor','indicatorLineColor','setShowLabelLine','setSeriesStyle','titles.xAxisTitle.content','8rzTUxb','setTransposeRowsAndColumns','rosePie','alignment','xAxisTitle','height','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','@univerjs/sheets-ui','keys','content','getCurrentUnitForType','radar.fill','PieChartBuilder','5865885yQDwrG','ChartTypeBits','titles.xAxisTitle.alignment','setDataPointColor','rightYAxis','titles.xAxisTitle.fontColor','setBorderColor','legend','legend.selectMode','unitId','string','titles.title.alignment','titles.xAxisTitle.fontStyle','chartId','invalidValueType','ChartThemeService','titles.rightYAxisTitle.fontWeight','11rQhoig','setWidth','getRenderById','allSeriesStyle.point.shape','Module','backgroundColor','bold','fill','RemoveSheetDrawingCommand','getWorkbook','fontWeight','xAxis','asLineChart','newChart','color','with','addRange','setRightYAxisTextStyle','subUnitId','titles.title.fontColor','top','titles.title.titlePosition','rightYAxisTitle','_workbook','169132KCYTqT','area','dataPointSize','setYAxisTitle','16838268TujUeN','getRangeInfo','tooltip.indicatorLineColor','getCharts','setAxisPointerStyle','titles.yAxisTitle.fontStyle','UNIVER_SHEET','pie.rosePie','DrawingTypeEnum','setAllSeriesStyle','modify','convertPositionCellToSheetOverGrid','FWorksheet','chartType','SheetsChartService','symbol','allSeriesStyle.point','tooltip.indicatorLabelColor','@univerjs/core','FBase','italic','FChart'];_0x454c=function(){return _0x355391;};return _0x454c();}class z extends c{['asPieChart'](){const _0xa4d2be=_0x2c7191;return new v(this[_0xa4d2be(0xf5)],this[_0xa4d2be(0x10f)],this[_0xa4d2be(0x114)],this[_0xa4d2be(0x166)],this['chartId']);}}c['extend'](z);class b extends c{constructor(_0x253e36,_0x1e076c,_0x3961c6,_0xe8569b,_0xa1c5ca){const _0x1a868d=_0x2c7191;super(_0x253e36,_0x1e076c,_0x3961c6,_0xe8569b,_0xa1c5ca),o(this,_0x1a868d(0x163)),o(this,_0x1a868d(0x104));}[_0x2c7191(0x142)](_0x474d09){return this['shape']=_0x474d09,this;}[_0x2c7191(0x176)](_0x1667eb){const _0x4c3289=_0x2c7191;return this[_0x4c3289(0x104)]=_0x1667eb,this;}['build'](){const _0xb1ee5a=_0x2c7191,_0x38330c=super[_0xb1ee5a(0xd5)]();_0x38330c[_0xb1ee5a(0x126)]=d[_0xb1ee5a(0xed)][_0xb1ee5a(0x168)];const _0x39d4fa=_0x38330c[_0xb1ee5a(0x171)]||{};return s(_0x39d4fa,_0xb1ee5a(0x14c),this[_0xb1ee5a(0x163)]),s(_0x39d4fa,_0xb1ee5a(0xea),this[_0xb1ee5a(0x104)]),_0x38330c[_0xb1ee5a(0x171)]=_0x39d4fa,_0x38330c;}}class W extends c{[_0x2c7191(0xd1)](){const _0x5c7b2c=_0x2c7191;return new b(this[_0x5c7b2c(0xf5)],this['subUnitId'],this[_0x5c7b2c(0x114)],this[_0x5c7b2c(0x166)],this[_0x5c7b2c(0xf9)]);}}c[_0x2c7191(0x15b)](W),exports[_0x2c7191(0x12e)]=T,exports['FChartBuilderBase']=c,exports[_0x2c7191(0x186)]=P,exports[_0x2c7191(0xeb)]=v,exports[_0x2c7191(0x15d)]=b;
1
+ 'use strict';const _0x2b3a25=_0x2cd6;(function(_0x573869,_0x2db7f2){const _0x233707=_0x2cd6,_0x32b58d=_0x573869();while(!![]){try{const _0x14b98c=parseInt(_0x233707(0xdd))/0x1+parseInt(_0x233707(0x148))/0x2+-parseInt(_0x233707(0x19b))/0x3*(parseInt(_0x233707(0x13f))/0x4)+-parseInt(_0x233707(0x16e))/0x5*(-parseInt(_0x233707(0xf3))/0x6)+-parseInt(_0x233707(0xea))/0x7*(-parseInt(_0x233707(0x12c))/0x8)+-parseInt(_0x233707(0x12b))/0x9+-parseInt(_0x233707(0xf7))/0xa*(-parseInt(_0x233707(0x140))/0xb);if(_0x14b98c===_0x2db7f2)break;else _0x32b58d['push'](_0x32b58d['shift']());}catch(_0x53349d){_0x32b58d['push'](_0x32b58d['shift']());}}}(_0x1894,0xf1301));function _0x2cd6(_0x2dff38,_0x14d2f3){const _0x18941a=_0x1894();return _0x2cd6=function(_0x2cd6fe,_0x3fbcae){_0x2cd6fe=_0x2cd6fe-0xdc;let _0x3519f7=_0x18941a[_0x2cd6fe];return _0x3519f7;},_0x2cd6(_0x2dff38,_0x14d2f3);}var k=Object[_0x2b3a25(0x15e)],_=(_0x456156,_0x3dc4fc,_0x49ba70)=>_0x3dc4fc in _0x456156?k(_0x456156,_0x3dc4fc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49ba70}):_0x456156[_0x3dc4fc]=_0x49ba70,o=(_0x1b706f,_0x171b42,_0x1d61e7)=>_(_0x1b706f,typeof _0x171b42!=_0x2b3a25(0xeb)?_0x171b42+'':_0x171b42,_0x1d61e7);function _0x1894(){const _0x5ec6ce=['setDataPointSize','fontColor','lineStyle','asPieChart','IRenderManagerService','PieChartBuilder','IUniverInstanceService','titles.rightYAxisTitle.color','indicatorLabelColor','xAxisTitle','getUnitId','hasPaddingAngle','legend.selectMode','pie.borderColor','width','deserializeRangeWithSheet','tooltip.indicatorLineColor','setLineStyle','range','defineProperty','titles.yAxisTitle.family','category','radar.shape','setShowLabelLine','titles.rightYAxisTitle.font','allSeriesStyle.point.shape','config','_injector','titles.xAxisTitle.bold','sourceSheetName','pie.isHalfPie','yAxis.label.axisTitleAlign','subUnitId','height','radar','5pjSWnj','pie','FChart','allSeriesStyle.point.size','titles.title.fontSize','transposeRowsAndColumns','convertPositionCellToSheetOverGrid','setPosition','fill','keys','titles.yAxisTitle.color','axisPointer','titles.xAxisTitle.content','modify','@univerjs/sheets-drawing-ui','indicatorLabelTextColor','legend.label.color','Module','_workbook','setShape','titles.title.content','getChartId','xAxis','get','setBorderColor','top','@univerjs-pro/sheets-chart-ui','setXAxisTitle','setWidth','clearRange','allSeriesStyle.point','titles.yAxisTitle.bold','titles.yAxisTitle.content','setOptions','isHalfPie','addRange','chartId','ChartUpdateConfigCommand','@univerjs/sheets-ui','titleAlignment','unitId','_commandService','ChartTypeBits','isRowDirection','tooltip.indicatorLineType','13578sxhDCp','@univerjs/core','axisAlignment','yAxisTitle','1912816miZZMz','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','SheetsChartService','seriesStyleMap','setDataPointShape','fontSize','setAbsolutePosition','setDoughnutHole','Radar','Line','CommandService','radar.fill','Sheet\x20','7JcOWcp','symbol','setProperty','yAxis','rightYAxis.label.axisTitleAlign','\x20not\x20found','setRosePie','extend','dataPointShape','4539690XFYcWk','pie.hasPaddingAngle','length','showLabelLine','170kzhaLk','titles.title.family','style','legend','allSeriesStyle','options','backgroundColor','legend.position','doughnutHole','@univerjs/engine-render','executeCommand','shape','getCategoryData','setFill','legend.label.bold','getWorkbook','area','context','getCharts','DRAWING_CHART','setYAxisTextStyle','theme','registerTheme','asRadarChart','dataPointColor','getChartType','with','@univerjs/sheets/facade','@univerjs/engine-formula','setAllSeriesStyle','getSheetBySheetName','invalidValueType','getSheetId','point','content','indicatorLineColor','titles.xAxisTitle.fontSize','fontStyle','rightYAxis','rightYAxisTitle','titles.rightYAxisTitle.content','pie.doughnutHole','area.lineStyle','font','titles.rightYAxisTitle.family','FBase','position','string','ChartThemeService','borderColor','setInvalidValueStrategy','titles.title.align','10847133LfmxPm','3450728OhPEIa','legend.label.italic','sheetName','pie.showLabelLine','titles.rightYAxisTitle.fontSize','dataSource','titles.xAxisTitle.family','@univerjs-pro/sheets-chart','title','registerChartTheme','setHasPaddingAngle','getChartModel','build','insertChart','UniverInstanceType','selectMode','asLineChart','pie.rosePie','dataPointSize','1680XikKJM','194678AXavur','titles.yAxisTitle.font','chartType','bold','getRangeInfo','DrawingTypeEnum','rosePie','getCurrentUnitForType','1384848NwMdnc','setRightYAxisTitle','SheetSkeletonManagerService'];_0x1894=function(){return _0x5ec6ce;};return _0x1894();}Object[_0x2b3a25(0x15e)](exports,Symbol['toStringTag'],{'value':_0x2b3a25(0x17f)});const d=require(_0x2b3a25(0x133)),U=require(_0x2b3a25(0x188)),g=require(_0x2b3a25(0x19c)),L=require(_0x2b3a25(0x17c)),w=require(_0x2b3a25(0x112)),M=require(_0x2b3a25(0x113)),j=require(_0x2b3a25(0x100)),C=require(_0x2b3a25(0x194)),s=(_0x4c99f0,_0x1f2cbd,_0x3a7b19)=>{_0x3a7b19!==void 0x0&&d['setProperty'](_0x4c99f0,_0x1f2cbd,_0x3a7b19);},f=(_0x51989c,_0x290bb0,_0x4c7349,_0x123aa3={})=>{const _0x3e94b7=_0x2b3a25,_0x4a140b={},_0x2cc2e0={};if(_0x123aa3[_0x3e94b7(0x134)]){const _0x93532c=_0x123aa3['title'];s(_0x4a140b,_0x3e94b7(0x182),_0x93532c['content']),s(_0x4a140b,'titles.title.font',_0x93532c[_0x3e94b7(0x122)]),s(_0x4a140b,_0x3e94b7(0x172),_0x93532c['fontSize']),s(_0x4a140b,'titles.title.color',_0x93532c[_0x3e94b7(0x14c)]),s(_0x4a140b,_0x3e94b7(0xf8),_0x93532c[_0x3e94b7(0x11c)]),s(_0x4a140b,'titles.title.bold',_0x93532c['bold']),s(_0x4a140b,_0x3e94b7(0x12a),_0x93532c[_0x3e94b7(0x195)]),s(_0x4a140b,'titles.titlePosition',_0x93532c['position']);}if(_0x123aa3[_0x3e94b7(0xfa)]){const _0x3cb3a7=_0x123aa3[_0x3e94b7(0xfa)];s(_0x4a140b,_0x3e94b7(0xfe),_0x3cb3a7[_0x3e94b7(0x125)]),s(_0x4a140b,_0x3e94b7(0x157),_0x3cb3a7[_0x3e94b7(0x13b)]),s(_0x4a140b,'legend.label.fontSize',_0x3cb3a7[_0x3e94b7(0xe2)]),s(_0x4a140b,_0x3e94b7(0x17e),_0x3cb3a7['color']),s(_0x4a140b,_0x3e94b7(0x105),_0x3cb3a7[_0x3e94b7(0x143)]),s(_0x4a140b,_0x3e94b7(0x12d),_0x3cb3a7['italic']);}if(_0x123aa3[_0x3e94b7(0x16f)]){const _0x3dad99=_0x123aa3['pie'];s(_0x4a140b,_0x3e94b7(0x120),_0x3dad99[_0x3e94b7(0xff)]),s(_0x4a140b,_0x3e94b7(0x158),_0x3dad99['borderColor']),s(_0x4a140b,_0x3e94b7(0xf4),_0x3dad99[_0x3e94b7(0x156)]),s(_0x4a140b,_0x3e94b7(0x169),_0x3dad99[_0x3e94b7(0x190)]),s(_0x4a140b,_0x3e94b7(0x13d),_0x3dad99[_0x3e94b7(0x146)]),s(_0x4a140b,_0x3e94b7(0x12f),_0x3dad99[_0x3e94b7(0xf6)]);}if(_0x123aa3['axisPointer']){const _0x5ce423=_0x123aa3[_0x3e94b7(0x179)];s(_0x4a140b,'tooltip.indicatorLabelColor',_0x5ce423[_0x3e94b7(0x153)]),s(_0x4a140b,_0x3e94b7(0x19a),_0x5ce423['indicatorLineType']),s(_0x4a140b,_0x3e94b7(0x15b),_0x5ce423[_0x3e94b7(0x11a)]),s(_0x4a140b,'tooltip.indicatorLabelTextColor',_0x5ce423[_0x3e94b7(0x17d)]);}if(_0x123aa3[_0x3e94b7(0xfb)]&&s(_0x4a140b,_0x3e94b7(0x18c),_0x123aa3['allSeriesStyle'][_0x3e94b7(0x118)]),_0x123aa3[_0x3e94b7(0x107)]&&s(_0x4a140b,_0x3e94b7(0x121),_0x123aa3[_0x3e94b7(0x107)][_0x3e94b7(0x14d)]),_0x123aa3[_0x3e94b7(0x10c)]&&s(_0x4a140b,_0x3e94b7(0x10c),_0x123aa3[_0x3e94b7(0x10c)]),_0x123aa3[_0x3e94b7(0x16d)]&&s(_0x4a140b,_0x3e94b7(0x16d),_0x123aa3['radar']),_0x123aa3[_0x3e94b7(0x154)]){const _0x37e576=_0x123aa3[_0x3e94b7(0x154)];s(_0x4a140b,_0x3e94b7(0x17a),_0x37e576['content']),s(_0x4a140b,'titles.xAxisTitle.font',_0x37e576['font']),s(_0x4a140b,_0x3e94b7(0x11b),_0x37e576['fontSize']),s(_0x4a140b,'titles.xAxisTitle.color',_0x37e576['fontColor']),s(_0x4a140b,_0x3e94b7(0x132),_0x37e576[_0x3e94b7(0x11c)]),s(_0x4a140b,_0x3e94b7(0x167),_0x37e576[_0x3e94b7(0x143)]),s(_0x4a140b,'xAxis.label.axisTitleAlign',_0x37e576['axisAlignment']);}if(_0x123aa3[_0x3e94b7(0xdc)]){const _0x16dc2e=_0x123aa3['yAxisTitle'];s(_0x4a140b,_0x3e94b7(0x18e),_0x16dc2e[_0x3e94b7(0x119)]),s(_0x4a140b,_0x3e94b7(0x141),_0x16dc2e[_0x3e94b7(0x122)]),s(_0x4a140b,'titles.yAxisTitle.fontSize',_0x16dc2e[_0x3e94b7(0xe2)]),s(_0x4a140b,_0x3e94b7(0x178),_0x16dc2e[_0x3e94b7(0x14c)]),s(_0x4a140b,_0x3e94b7(0x15f),_0x16dc2e[_0x3e94b7(0x11c)]),s(_0x4a140b,_0x3e94b7(0x18d),_0x16dc2e[_0x3e94b7(0x143)]),s(_0x4a140b,_0x3e94b7(0x16a),_0x16dc2e[_0x3e94b7(0x19d)]);}if(_0x123aa3[_0x3e94b7(0x11e)]){const _0x52ae2d=_0x123aa3[_0x3e94b7(0x11e)];s(_0x4a140b,_0x3e94b7(0x11f),_0x52ae2d[_0x3e94b7(0x119)]),s(_0x4a140b,_0x3e94b7(0x163),_0x52ae2d[_0x3e94b7(0x122)]),s(_0x4a140b,_0x3e94b7(0x130),_0x52ae2d['fontSize']),s(_0x4a140b,_0x3e94b7(0x152),_0x52ae2d[_0x3e94b7(0x14c)]),s(_0x4a140b,_0x3e94b7(0x123),_0x52ae2d['fontStyle']),s(_0x4a140b,'titles.rightYAxisTitle.bold',_0x52ae2d[_0x3e94b7(0x143)]),s(_0x4a140b,_0x3e94b7(0xee),_0x52ae2d[_0x3e94b7(0x19d)]);}_0x123aa3['xAxis']&&s(_0x4a140b,_0x3e94b7(0x184),_0x123aa3[_0x3e94b7(0x184)]),_0x123aa3['yAxis']&&s(_0x4a140b,_0x3e94b7(0xed),_0x123aa3[_0x3e94b7(0xed)]),_0x123aa3['yRightAxis']&&s(_0x4a140b,_0x3e94b7(0x11d),_0x123aa3['yRightAxis']),_0x123aa3['seriesStyleMap']&&s(_0x4a140b,'seriesStyleMap',_0x123aa3[_0x3e94b7(0xe0)]);const _0x51945d={'unitId':_0x51989c,'chartModelId':_0x290bb0};let _0x393085=!0x1;if(_0x4c7349!==void 0x0&&(_0x51945d[_0x3e94b7(0x142)]=_0x4c7349,_0x393085=!0x0),Object[_0x3e94b7(0x177)](_0x4a140b)['length']>0x0&&(_0x51945d[_0x3e94b7(0xf9)]=_0x4a140b,_0x393085=!0x0),Object['keys'](_0x2cc2e0)[_0x3e94b7(0xf5)]>0x0&&(_0x51945d[_0x3e94b7(0x108)]=_0x2cc2e0,_0x393085=!0x0),_0x393085)return _0x51945d;};class c extends g[_0x2b3a25(0x124)]{constructor(_0x5b1650,_0x2f3361,_0x283b60,_0x58c82e,_0x5eebbe){const _0xefee84=_0x2b3a25;super(),o(this,_0xefee84(0x180)),o(this,_0xefee84(0x166)),o(this,_0xefee84(0x196)),o(this,_0xefee84(0x16b)),o(this,_0xefee84(0x192)),o(this,_0xefee84(0x15d)),o(this,_0xefee84(0x168)),o(this,'x'),o(this,'y'),o(this,_0xefee84(0x159)),o(this,'height'),o(this,_0xefee84(0x142)),o(this,_0xefee84(0xfc)),o(this,_0xefee84(0x173)),(this[_0xefee84(0x196)]=_0x5b1650,this['subUnitId']=_0x2f3361,this[_0xefee84(0x180)]=_0x283b60,this[_0xefee84(0x166)]=_0x58c82e,_0x5eebbe&&(this[_0xefee84(0x192)]=_0x5eebbe));}[_0x2b3a25(0x110)](){const _0x2404a1=_0x2b3a25;return this[_0x2404a1(0x142)];}[_0x2b3a25(0x191)](_0x1021d3){const _0x40ca90=_0x2b3a25;if(typeof _0x1021d3==_0x40ca90(0x126)){const _0x1a582b=M[_0x40ca90(0x15a)](_0x1021d3);_0x1a582b[_0x40ca90(0x12e)]&&(this[_0x40ca90(0x168)]=_0x1a582b[_0x40ca90(0x12e)]),this['range']=_0x1a582b['range'];}else this['range']=_0x1021d3;return this;}[_0x2b3a25(0x18b)](){const _0x3f8070=_0x2b3a25;return this['range']=void 0x0,this[_0x3f8070(0x168)]=void 0x0,this;}[_0x2b3a25(0x175)](_0x1e2a7d,_0x2a6be7,_0xd0b0b,_0x516cdc){const _0x494021=_0x2b3a25,_0x167b49=this[_0x494021(0x166)]['get'](j[_0x494021(0x14f)])['getRenderById'](this[_0x494021(0x196)]);if(!_0x167b49)throw new Error(_0x494021(0xde));const _0x30fa95=_0x167b49[_0x494021(0x111)](C['ISheetSelectionRenderService']),_0x1e0a7b=_0x167b49[_0x494021(0x111)](C[_0x494021(0x14a)]),{transform:_0x11565b}=C[_0x494021(0x174)](this[_0x494021(0x196)],this['subUnitId'],{'row':_0x1e2a7d,'column':_0x2a6be7,'rowOffset':_0xd0b0b,'columnOffset':_0x516cdc},0x1,0x1,_0x30fa95,_0x1e0a7b),_0x4a8534=_0x11565b[_0x494021(0x187)],_0x5b1c26=_0x11565b['left'];return this['x']=_0x5b1c26,this['y']=_0x4a8534,this;}[_0x2b3a25(0xe3)](_0x125215,_0x474635){return this['x']=_0x125215,this['y']=_0x474635,this;}['setChartType'](_0x5c473a){const _0x216db1=_0x2b3a25;return this[_0x216db1(0x142)]=_0x5c473a,this;}[_0x2b3a25(0x18a)](_0x3a9d57){const _0x4ba8b0=_0x2b3a25;return this[_0x4ba8b0(0x159)]=_0x3a9d57,this;}['setHeight'](_0xfa7ec0){return this['height']=_0xfa7ec0,this;}[_0x2b3a25(0x18f)](_0x323a0e,_0x592dc6){const _0x4a2147=_0x2b3a25;return this[_0x4a2147(0xfc)]||(this[_0x4a2147(0xfc)]={}),_0x323a0e===''?(this[_0x4a2147(0xfc)]={...this[_0x4a2147(0xfc)],..._0x592dc6},this):(d[_0x4a2147(0xec)](this['options'],_0x323a0e,_0x592dc6),this);}['setTransposeRowsAndColumns'](_0x2e996b){const _0x3e2e07=_0x2b3a25;return this[_0x3e2e07(0x173)]=_0x2e996b,this;}['setTheme'](_0x2eafba){const _0x3034e4=_0x2b3a25;return this[_0x3034e4(0x18f)](_0x3034e4(0x10c),_0x2eafba),this;}[_0x2b3a25(0x189)](_0x2a3ff4){const _0x45b362=_0x2b3a25;var _0x4ab5b6;const _0x1aa5f4=((_0x4ab5b6=this['options'])==null?void 0x0:_0x4ab5b6[_0x45b362(0x154)])||{};return _0x1aa5f4[_0x45b362(0x119)]=_0x2a3ff4,this['setOptions'](_0x45b362(0x154),_0x1aa5f4),this;}['setYAxisTitle'](_0x6380a1){const _0x2688a7=_0x2b3a25;var _0x14f240;const _0x4330f4=((_0x14f240=this[_0x2688a7(0xfc)])==null?void 0x0:_0x14f240['yAxisTitle'])||{};return _0x4330f4['content']=_0x6380a1,this['setOptions'](_0x2688a7(0xdc),_0x4330f4),this;}[_0x2b3a25(0x149)](_0x390f21){const _0x3f36d0=_0x2b3a25;var _0x21f5f2;const _0x415ea5=((_0x21f5f2=this[_0x3f36d0(0xfc)])==null?void 0x0:_0x21f5f2[_0x3f36d0(0x11e)])||{};return _0x415ea5[_0x3f36d0(0x119)]=_0x390f21,this[_0x3f36d0(0x18f)](_0x3f36d0(0x11e),_0x415ea5),this;}['setXAxisTextStyle'](_0x26ab8f){const _0x1ee33d=_0x2b3a25;var _0x3553c0;const _0x33741c=((_0x3553c0=this[_0x1ee33d(0xfc)])==null?void 0x0:_0x3553c0['xAxisTitle'])||{};return this[_0x1ee33d(0x18f)](_0x1ee33d(0x154),{..._0x33741c,..._0x26ab8f}),this;}[_0x2b3a25(0x10b)](_0xa9f006){const _0xe77e14=_0x2b3a25;var _0x3048b3;const _0x17eb55=((_0x3048b3=this['options'])==null?void 0x0:_0x3048b3[_0xe77e14(0xdc)])||{};return this[_0xe77e14(0x18f)](_0xe77e14(0xdc),{..._0x17eb55,..._0xa9f006}),this;}['setRightYAxisTextStyle'](_0xeeb017){const _0x30d584=_0x2b3a25;var _0x351340;const _0x32b5e4=((_0x351340=this[_0x30d584(0xfc)])==null?void 0x0:_0x351340[_0x30d584(0x11e)])||{};return this[_0x30d584(0x18f)]('rightYAxisTitle',{..._0x32b5e4,..._0xeeb017}),this;}[_0x2b3a25(0x129)](_0x14326b){const _0x15a5f9=_0x2b3a25;return this[_0x15a5f9(0x18f)](_0x15a5f9(0x116),_0x14326b),this;}['setAxisPointerStyle'](_0x4cef8e){const _0x1719f5=_0x2b3a25;return this[_0x1719f5(0x18f)](_0x1719f5(0x179),_0x4cef8e),this;}[_0x2b3a25(0x114)](_0xae37ee){const _0x1fe456=_0x2b3a25;return this[_0x1fe456(0x18f)](_0x1fe456(0xfb),_0xae37ee),this;}['setSeriesStyle'](_0xc9deb9,_0x33250f){const _0x4e25c6=_0x2b3a25;return this[_0x4e25c6(0x18f)](_0x4e25c6(0xe0),{[_0xc9deb9]:_0x33250f}),this;}[_0x2b3a25(0x138)](){const _0x4a2438=_0x2b3a25;var _0x3519b6;let _0x299979=this[_0x4a2438(0x16b)];if(this['sourceSheetName']){const _0x49bbeb=(_0x3519b6=this[_0x4a2438(0x180)][_0x4a2438(0x115)](this[_0x4a2438(0x168)]))==null?void 0x0:_0x3519b6['getSheetId']();if(!_0x49bbeb)throw new Error(_0x4a2438(0xe9)+this[_0x4a2438(0x168)]+_0x4a2438(0xef));_0x299979=_0x49bbeb;}return{'unitId':this[_0x4a2438(0x196)],'subUnitId':_0x299979,'chartId':this['chartId'],'range':this[_0x4a2438(0x15d)],'x':this['x'],'y':this['y'],'width':this[_0x4a2438(0x159)],'height':this['height'],'chartType':this[_0x4a2438(0x142)],'options':this[_0x4a2438(0xfc)],'isRowDirection':this[_0x4a2438(0x173)]};}}class T{constructor(_0x2c645c,_0x3423be,_0x4b5df5,_0xe6146a){const _0x429bc4=_0x2b3a25;o(this,'unitId'),o(this,_0x429bc4(0x16b)),o(this,'chartId'),o(this,_0x429bc4(0x166)),(this[_0x429bc4(0x196)]=_0x2c645c,this['subUnitId']=_0x3423be,this[_0x429bc4(0x192)]=_0x4b5df5,this['_injector']=_0xe6146a);}[_0x2b3a25(0x183)](){const _0x2dc389=_0x2b3a25;return this[_0x2dc389(0x192)];}['getRange'](){const _0x1761e7=_0x2b3a25,_0x305658=this['_injector'][_0x1761e7(0x185)](d['SheetsChartService'])[_0x1761e7(0x137)](this[_0x1761e7(0x192)]);if(_0x305658)return _0x305658[_0x1761e7(0x131)][_0x1761e7(0x144)]();}['updateRange'](_0x2780f4){const _0x2610af=_0x2b3a25;return this['_injector'][_0x2610af(0x185)](g[_0x2610af(0xe7)])[_0x2610af(0x101)](d['ChartUpdateSourceCommand']['id'],{'unitId':this[_0x2610af(0x196)],'chartModelId':this['chartId'],'range':_0x2780f4});}['getSeriesData'](){const _0x54a25e=_0x2b3a25;var _0x4021ff;const _0x502cd2=this['_injector']['get'](d[_0x54a25e(0xdf)])['getChartModel'](this['chartId']);if(_0x502cd2)return(_0x4021ff=_0x502cd2[_0x54a25e(0x165)])==null?void 0x0:_0x4021ff['series'];}[_0x2b3a25(0x103)](){const _0x38d08f=_0x2b3a25;var _0x5e5e03;const _0x3d5ac3=this[_0x38d08f(0x166)]['get'](d[_0x38d08f(0xdf)])[_0x38d08f(0x137)](this[_0x38d08f(0x192)]);if(_0x3d5ac3)return(_0x5e5e03=_0x3d5ac3[_0x38d08f(0x165)])==null?void 0x0:_0x5e5e03[_0x38d08f(0x160)];}[_0x2b3a25(0x17b)](){const _0x52d3f3=_0x2b3a25,_0x51eef7=this[_0x52d3f3(0x166)][_0x52d3f3(0x185)](g[_0x52d3f3(0x151)])[_0x52d3f3(0x147)](g[_0x52d3f3(0x13a)]['UNIVER_SHEET']);return new c(this[_0x52d3f3(0x196)],this[_0x52d3f3(0x16b)],_0x51eef7,this[_0x52d3f3(0x166)],this[_0x52d3f3(0x192)]);}}class Y extends w['FWorksheet']{async[_0x2b3a25(0x139)](_0x39d127){const _0x28994e=_0x2b3a25;var _0x5d1f1d,_0x38581b,_0x3598d6;const _0xbbf4bf=_0x39d127['unitId']||this[_0x28994e(0x106)]()[_0x28994e(0x155)](),_0x545150=_0x39d127[_0x28994e(0x16b)]||this[_0x28994e(0x117)](),_0x46ddbf=_0x39d127[_0x28994e(0x192)]||g['generateRandomId'](),_0x2c2e77=_0x39d127['chartType'],_0x4ec660=_0x39d127[_0x28994e(0x15d)],_0x251318={'x':_0x39d127['x'],'y':_0x39d127['y']},_0x3d241d=_0x39d127[_0x28994e(0x159)],_0x48ddc5=_0x39d127[_0x28994e(0x16c)],_0x3c2a19=(_0x5d1f1d=_0x39d127[_0x28994e(0xfc)])==null?void 0x0:_0x5d1f1d[_0x28994e(0xfd)],_0x559251=(_0x38581b=_0x39d127[_0x28994e(0xfc)])==null?void 0x0:_0x38581b[_0x28994e(0x128)],_0x3c7f98=f(_0xbbf4bf,_0x46ddbf,_0x2c2e77,_0x39d127[_0x28994e(0xfc)]),_0x4765ee=(_0x3598d6=_0x39d127[_0x28994e(0x199)])!=null?_0x3598d6:!0x0;if(!_0x4ec660)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this['_commandService'][_0x28994e(0x101)](U['InsertChartCommand']['id'],{'unitId':_0xbbf4bf,'subUnitId':_0x545150,'chartId':_0x46ddbf,'chartType':_0x2c2e77,'range':_0x4ec660,'position':_0x251318,'width':_0x3d241d,'height':_0x48ddc5,'backgroundColor':_0x3c2a19,'borderColor':_0x559251,'config':_0x3c7f98,'isRowDirection':_0x4765ee}),new T(_0xbbf4bf,_0x545150,_0x46ddbf,this[_0x28994e(0x166)]);}['updateChart'](_0x16be79){const _0x141ef2=_0x2b3a25,{unitId:_0x116624,chartId:_0x2e20c5,chartType:_0x526386,options:_0x248616}=_0x16be79,_0x3b6f6f=f(_0x116624,_0x2e20c5,_0x526386,_0x248616);this[_0x141ef2(0x197)][_0x141ef2(0x101)](d[_0x141ef2(0x193)]['id'],_0x3b6f6f);}['newChart'](_0x1ba531){const _0x2b95b1=_0x2b3a25;if(_0x1ba531)return new c(_0x1ba531[_0x2b95b1(0x196)],_0x1ba531['subUnitId'],this[_0x2b95b1(0x180)],this[_0x2b95b1(0x166)],_0x1ba531[_0x2b95b1(0x192)]);const _0x5c5cee=this[_0x2b95b1(0x106)]()[_0x2b95b1(0x155)](),_0xc5cc26=this[_0x2b95b1(0x117)]();return new c(_0x5c5cee,_0xc5cc26,this[_0x2b95b1(0x180)],this['_injector']);}[_0x2b3a25(0x109)](){const _0x42c00d=_0x2b3a25,_0x4466bb=this[_0x42c00d(0x166)][_0x42c00d(0x185)](d['SheetsChartService']),_0x2c746a=this[_0x42c00d(0x106)]()[_0x42c00d(0x155)]();return _0x4466bb['getUnitChartModels'](_0x2c746a,this[_0x42c00d(0x117)]())['map'](_0x4f5ebe=>new T(_0x2c746a,this[_0x42c00d(0x117)](),_0x4f5ebe['id'],this[_0x42c00d(0x166)]));}['removeChart'](_0x1b6f19){const _0x342020=_0x2b3a25,_0x1ded0d=_0x1b6f19[_0x342020(0x196)],_0xd5bd41=_0x1b6f19[_0x342020(0x16b)],_0x844a23=_0x1b6f19[_0x342020(0x192)],_0x47a187={'unitId':_0x1ded0d,'drawings':[{'unitId':_0x1ded0d,'subUnitId':_0xd5bd41,'drawingId':_0x844a23,'drawingType':g[_0x342020(0x145)][_0x342020(0x10a)]}]};return this[_0x342020(0x197)][_0x342020(0x101)](L['RemoveSheetDrawingCommand']['id'],_0x47a187);}[_0x2b3a25(0x135)](_0x1de448,_0x4e8e78){const _0x555bbf=_0x2b3a25;this[_0x555bbf(0x166)]['get'](d[_0x555bbf(0x127)])[_0x555bbf(0x10d)](_0x1de448,_0x4e8e78);}}w['FWorksheet'][_0x2b3a25(0xf1)](Y);class P extends c{constructor(_0x5e753d,_0x430396,_0x5f4cf7,_0x4e236b,_0x1429d0){const _0x117c69=_0x2b3a25;super(_0x5e753d,_0x430396,_0x5f4cf7,_0x4e236b,_0x1429d0),o(this,_0x117c69(0x14d)),o(this,'dataPointShape'),o(this,_0x117c69(0x10f)),o(this,'dataPointSize');}[_0x2b3a25(0x15c)](_0x559f90){const _0x2670e4=_0x2b3a25;return this[_0x2670e4(0x14d)]=_0x559f90,this;}[_0x2b3a25(0xe1)](_0x54d6cd){const _0x756f62=_0x2b3a25;return this[_0x756f62(0xf2)]=_0x54d6cd,this;}['setDataPointColor'](_0x367676){const _0x34cc52=_0x2b3a25;return this[_0x34cc52(0x10f)]=_0x367676,this;}[_0x2b3a25(0x14b)](_0x32b806){const _0x2561b8=_0x2b3a25;return this[_0x2561b8(0x13e)]=_0x32b806,this;}[_0x2b3a25(0x138)](){const _0x345530=_0x2b3a25,_0x165930=super['build']();_0x165930[_0x345530(0x142)]=d[_0x345530(0x198)][_0x345530(0xe6)];const _0x7b2e98=_0x165930[_0x345530(0xfc)]||{};return s(_0x7b2e98,_0x345530(0x121),this[_0x345530(0x14d)]),s(_0x7b2e98,_0x345530(0x164),this['dataPointShape']),s(_0x7b2e98,'allSeriesStyle.point.color',this[_0x345530(0x10f)]),s(_0x7b2e98,_0x345530(0x171),this[_0x345530(0x13e)]),_0x165930['options']=_0x7b2e98,_0x165930;}}class H extends c{[_0x2b3a25(0x13c)](){const _0x3008f4=_0x2b3a25;return new P(this[_0x3008f4(0x196)],this[_0x3008f4(0x16b)],this[_0x3008f4(0x180)],this[_0x3008f4(0x166)],this['chartId']);}}c[_0x2b3a25(0xf1)](H);class b extends c{constructor(_0x4b1c1b,_0x44e977,_0x44ab68,_0x453146,_0x3c472b){const _0x56a1c2=_0x2b3a25;super(_0x4b1c1b,_0x44e977,_0x44ab68,_0x453146,_0x3c472b),o(this,'doughnutHole'),o(this,'borderColor'),o(this,_0x56a1c2(0x156)),o(this,_0x56a1c2(0x190)),o(this,_0x56a1c2(0x146)),o(this,_0x56a1c2(0xf6));}[_0x2b3a25(0xe4)](_0x37ce09){return this['doughnutHole']=_0x37ce09,this;}[_0x2b3a25(0x186)](_0x304d1f){return this['borderColor']=_0x304d1f,this;}[_0x2b3a25(0x136)](_0x3c6e39){const _0x34bf2e=_0x2b3a25;return this[_0x34bf2e(0x156)]=_0x3c6e39,this;}['setIsHalfPie'](_0xf1e34d){return this['isHalfPie']=_0xf1e34d,this;}[_0x2b3a25(0xf0)](_0x330b47){return this['rosePie']=_0x330b47,this;}[_0x2b3a25(0x162)](_0x115479){const _0x16c9af=_0x2b3a25;return this[_0x16c9af(0xf6)]=_0x115479,this;}[_0x2b3a25(0x138)](){const _0x1d1897=_0x2b3a25,_0x5084e1=super[_0x1d1897(0x138)]();_0x5084e1[_0x1d1897(0x142)]=d[_0x1d1897(0x198)]['Pie'];const _0x3187ca=_0x5084e1[_0x1d1897(0xfc)]||{};return s(_0x3187ca,_0x1d1897(0x120),this[_0x1d1897(0xff)]),s(_0x3187ca,'pie.borderColor',this[_0x1d1897(0x128)]),s(_0x3187ca,_0x1d1897(0xf4),this['hasPaddingAngle']),s(_0x3187ca,_0x1d1897(0x169),this[_0x1d1897(0x190)]),s(_0x3187ca,'pie.rosePie',this[_0x1d1897(0x146)]),s(_0x3187ca,_0x1d1897(0x12f),this[_0x1d1897(0xf6)]),_0x5084e1['options']=_0x3187ca,_0x5084e1;}}class z extends c{[_0x2b3a25(0x14e)](){const _0x4017c3=_0x2b3a25;return new b(this['unitId'],this[_0x4017c3(0x16b)],this['_workbook'],this[_0x4017c3(0x166)],this[_0x4017c3(0x192)]);}}c['extend'](z);class v extends c{constructor(_0x236d36,_0x146283,_0x339187,_0x1e58a3,_0x3c105f){const _0x20e219=_0x2b3a25;super(_0x236d36,_0x146283,_0x339187,_0x1e58a3,_0x3c105f),o(this,_0x20e219(0x102)),o(this,_0x20e219(0x176));}[_0x2b3a25(0x181)](_0x1b4774){const _0x4dd221=_0x2b3a25;return this[_0x4dd221(0x102)]=_0x1b4774,this;}[_0x2b3a25(0x104)](_0x227c18){return this['fill']=_0x227c18,this;}[_0x2b3a25(0x138)](){const _0x3e58f1=_0x2b3a25,_0x5367ed=super['build']();_0x5367ed[_0x3e58f1(0x142)]=d[_0x3e58f1(0x198)][_0x3e58f1(0xe5)];const _0x4ee8db=_0x5367ed[_0x3e58f1(0xfc)]||{};return s(_0x4ee8db,_0x3e58f1(0x161),this[_0x3e58f1(0x102)]),s(_0x4ee8db,_0x3e58f1(0xe8),this['fill']),_0x5367ed[_0x3e58f1(0xfc)]=_0x4ee8db,_0x5367ed;}}class O extends c{[_0x2b3a25(0x10e)](){const _0x4cf04f=_0x2b3a25;return new v(this[_0x4cf04f(0x196)],this[_0x4cf04f(0x16b)],this[_0x4cf04f(0x180)],this[_0x4cf04f(0x166)],this[_0x4cf04f(0x192)]);}}c[_0x2b3a25(0xf1)](O),exports[_0x2b3a25(0x170)]=T,exports['FChartBuilderBase']=c,exports['LineChartBuilder']=P,exports[_0x2b3a25(0x150)]=b,exports['RadarChartBuilder']=v;