@univerjs-pro/sheets-chart-ui 0.6.6 → 0.6.7-experimental.20250328-3aaa828
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 +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -0
- package/lib/index.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
package/lib/facade.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x492a4b=_0x431c;(function(_0x2c8cd6,_0x5481d1){const _0xc585fe=_0x431c,_0x1ca81e=_0x2c8cd6();while(!![]){try{const _0x349789=parseInt(_0xc585fe(0xec))/0x1*(parseInt(_0xc585fe(0xcc))/0x2)+parseInt(_0xc585fe(0x102))/0x3+parseInt(_0xc585fe(0xf9))/0x4+parseInt(_0xc585fe(0x145))/0x5*(-parseInt(_0xc585fe(0xe9))/0x6)+parseInt(_0xc585fe(0xc3))/0x7+-parseInt(_0xc585fe(0xe6))/0x8+-parseInt(_0xc585fe(0xd6))/0x9*(parseInt(_0xc585fe(0x135))/0xa);if(_0x349789===_0x5481d1)break;else _0x1ca81e['push'](_0x1ca81e['shift']());}catch(_0x26896d){_0x1ca81e['push'](_0x1ca81e['shift']());}}}(_0xeafa,0x560d2));var b=Object[_0x492a4b(0x140)],k=(_0x2edd07,_0x359221,_0x4fe017)=>_0x359221 in _0x2edd07?b(_0x2edd07,_0x359221,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fe017}):_0x2edd07[_0x359221]=_0x4fe017,n=(_0x54386d,_0x3e06a5,_0x56ae92)=>k(_0x54386d,typeof _0x3e06a5!=_0x492a4b(0x142)?_0x3e06a5+'':_0x3e06a5,_0x56ae92);import{ChartThemeService as _0x49740b,ChartTypeBits as _0x490fc1,LegendPositionEnum as _0x4c42da,SelectModeEnum as _0x1e3b81,AxisAlignEnum as _0x1661d9,ChartBorderDashType as _0x5dab6e,LinePointShape as _0x25135d,TitlePositionEnum as _0x411e01,RadarShape as _0x1d5757}from'@univerjs-pro/engine-chart';import{setProperty as _0x1e51e7,SheetsChartService as _0x43e3b2,ChartUpdateSourceCommand as _0x4af856,ChartUpdateConfigCommand as _0x551897}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x451059}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x7b1b22,IUniverInstanceService as _0x1dd183,UniverInstanceType as _0x55d2be,generateRandomId as _0x4cc351,DrawingTypeEnum as _0x32258a}from'@univerjs/core';function _0x431c(_0x3db8ab,_0x327d5c){const _0xeafa96=_0xeafa();return _0x431c=function(_0x431ced,_0xb1f5bd){_0x431ced=_0x431ced-0x9f;let _0x728101=_0xeafa96[_0x431ced];return _0x728101;},_0x431c(_0x3db8ab,_0x327d5c);}import{RemoveSheetDrawingCommand as _0x5a27bc}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x4a6829}from'@univerjs/sheets/facade';import{FBase as _0x1c2c0c,FEnum as _0x388249}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x1d959e}from'@univerjs/engine-formula';import{IRenderManagerService as _0x58a56e}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x43d697,SheetSkeletonManagerService as _0x4788a9,convertPositionCellToSheetOverGrid as _0x11d6b5}from'@univerjs/sheets-ui';const s=(_0x4510f7,_0x3d9337,_0x71bf50)=>{_0x71bf50!==void 0x0&&_0x1e51e7(_0x4510f7,_0x3d9337,_0x71bf50);},C=(_0x14a933,_0x478501,_0x5f0ccb,_0x373fec={})=>{const _0x399b43=_0x492a4b,_0x3f8745={},_0x203beb={};if(_0x373fec['title']){const _0x3d8b7f=_0x373fec[_0x399b43(0x103)];s(_0x3f8745,_0x399b43(0x116),_0x3d8b7f[_0x399b43(0x10d)]),s(_0x3f8745,_0x399b43(0xc8),_0x3d8b7f['font']),s(_0x3f8745,_0x399b43(0xde),_0x3d8b7f[_0x399b43(0xfa)]),s(_0x3f8745,'titles.title.color',_0x3d8b7f[_0x399b43(0x127)]),s(_0x3f8745,_0x399b43(0x112),_0x3d8b7f[_0x399b43(0x157)]),s(_0x3f8745,'titles.title.bold',_0x3d8b7f['bold']),s(_0x3f8745,_0x399b43(0xfe),_0x3d8b7f[_0x399b43(0xd3)]),s(_0x3f8745,_0x399b43(0xe0),_0x3d8b7f[_0x399b43(0xe7)]);}if(_0x373fec[_0x399b43(0xe5)]){const _0x597371=_0x373fec[_0x399b43(0xe5)];s(_0x3f8745,_0x399b43(0x113),_0x597371[_0x399b43(0xe7)]),s(_0x3f8745,'legend.selectMode',_0x597371[_0x399b43(0xc0)]),s(_0x3f8745,_0x399b43(0x10f),_0x597371[_0x399b43(0xfa)]),s(_0x3f8745,'legend.label.color',_0x597371[_0x399b43(0x104)]),s(_0x3f8745,'legend.label.bold',_0x597371['bold']),s(_0x3f8745,_0x399b43(0xea),_0x597371[_0x399b43(0xac)]);}if(_0x373fec[_0x399b43(0x122)]){const _0x3754e5=_0x373fec['pie'];s(_0x3f8745,'pie.doughnutHole',_0x3754e5[_0x399b43(0xb8)]),s(_0x3f8745,'pie.borderColor',_0x3754e5[_0x399b43(0x14e)]),s(_0x3f8745,_0x399b43(0x10b),_0x3754e5[_0x399b43(0x115)]),s(_0x3f8745,_0x399b43(0xc7),_0x3754e5[_0x399b43(0xee)]),s(_0x3f8745,_0x399b43(0x128),_0x3754e5[_0x399b43(0x143)]),s(_0x3f8745,_0x399b43(0xa9),_0x3754e5[_0x399b43(0x14c)]);}if(_0x373fec[_0x399b43(0xab)]){const _0x13d861=_0x373fec[_0x399b43(0xab)];s(_0x3f8745,'tooltip.indicatorLabelColor',_0x13d861[_0x399b43(0xb7)]),s(_0x3f8745,_0x399b43(0x147),_0x13d861[_0x399b43(0x156)]),s(_0x3f8745,_0x399b43(0xbd),_0x13d861['indicatorLineColor']),s(_0x3f8745,_0x399b43(0xc5),_0x13d861[_0x399b43(0xef)]);}if(_0x373fec[_0x399b43(0xf6)]&&(s(_0x3f8745,_0x399b43(0xba),_0x373fec[_0x399b43(0xf6)][_0x399b43(0xe1)]),s(_0x3f8745,'allSeriesStyle.label',_0x373fec[_0x399b43(0xf6)][_0x399b43(0xaa)]),s(_0x3f8745,_0x399b43(0xbe),_0x373fec[_0x399b43(0xf6)][_0x399b43(0xc2)]),s(_0x3f8745,_0x399b43(0xb9),_0x373fec[_0x399b43(0xf6)]['point']),s(_0x3f8745,_0x399b43(0x10c),_0x373fec['allSeriesStyle'][_0x399b43(0x104)])),_0x373fec[_0x399b43(0xc9)]&&s(_0x3f8745,'area.lineStyle',_0x373fec[_0x399b43(0xc9)][_0x399b43(0x141)]),_0x373fec[_0x399b43(0xad)]&&s(_0x3f8745,_0x399b43(0xad),_0x373fec[_0x399b43(0xad)]),_0x373fec[_0x399b43(0x138)]&&s(_0x3f8745,_0x399b43(0x138),_0x373fec['backgroundColor']),_0x373fec['borderColor']&&s(_0x3f8745,'borderColor',_0x373fec[_0x399b43(0x14e)]),_0x373fec[_0x399b43(0xf0)]&&s(_0x3f8745,_0x399b43(0xf0),_0x373fec[_0x399b43(0xf0)]),_0x373fec['invalidValueType']&&s(_0x3f8745,_0x399b43(0xb6),_0x373fec['invalidValueType']),_0x373fec['radar']&&s(_0x3f8745,_0x399b43(0xbf),_0x373fec[_0x399b43(0xbf)]),_0x373fec[_0x399b43(0x13e)]){const _0xf137ae=_0x373fec[_0x399b43(0x13e)];s(_0x3f8745,_0x399b43(0xed),_0xf137ae[_0x399b43(0x10d)]),s(_0x3f8745,'titles.xAxisTitle.font',_0xf137ae['font']),s(_0x3f8745,'titles.xAxisTitle.fontSize',_0xf137ae[_0x399b43(0xfa)]),s(_0x3f8745,_0x399b43(0x154),_0xf137ae[_0x399b43(0x127)]),s(_0x3f8745,_0x399b43(0xce),_0xf137ae[_0x399b43(0x157)]),s(_0x3f8745,'titles.xAxisTitle.bold',_0xf137ae[_0x399b43(0x14a)]),s(_0x3f8745,_0x399b43(0xb1),_0xf137ae[_0x399b43(0x130)]);}if(_0x373fec['yAxisTitle']){const _0x3e4869=_0x373fec[_0x399b43(0x150)];s(_0x3f8745,'titles.yAxisTitle.content',_0x3e4869['content']),s(_0x3f8745,_0x399b43(0x11d),_0x3e4869[_0x399b43(0xd2)]),s(_0x3f8745,'titles.yAxisTitle.fontSize',_0x3e4869['fontSize']),s(_0x3f8745,_0x399b43(0x9f),_0x3e4869[_0x399b43(0x127)]),s(_0x3f8745,_0x399b43(0x10e),_0x3e4869[_0x399b43(0x157)]),s(_0x3f8745,_0x399b43(0xdd),_0x3e4869[_0x399b43(0x14a)]),s(_0x3f8745,_0x399b43(0x13d),_0x3e4869['axisAlignment']);}if(_0x373fec[_0x399b43(0xf2)]){const _0x164d6b=_0x373fec['rightYAxisTitle'];s(_0x3f8745,_0x399b43(0xf1),_0x164d6b[_0x399b43(0x10d)]),s(_0x3f8745,_0x399b43(0x133),_0x164d6b[_0x399b43(0xd2)]),s(_0x3f8745,'titles.rightYAxisTitle.fontSize',_0x164d6b[_0x399b43(0xfa)]),s(_0x3f8745,_0x399b43(0x152),_0x164d6b[_0x399b43(0x127)]),s(_0x3f8745,'titles.rightYAxisTitle.family',_0x164d6b['fontStyle']),s(_0x3f8745,'titles.rightYAxisTitle.bold',_0x164d6b[_0x399b43(0x14a)]),s(_0x3f8745,_0x399b43(0x110),_0x164d6b[_0x399b43(0x130)]);}_0x373fec[_0x399b43(0xfc)]&&s(_0x3f8745,_0x399b43(0xfc),_0x373fec[_0x399b43(0xfc)]),_0x373fec[_0x399b43(0xcb)]&&s(_0x3f8745,'yAxis',_0x373fec[_0x399b43(0xcb)]),_0x373fec[_0x399b43(0xd8)]&&s(_0x3f8745,_0x399b43(0xc2),_0x373fec[_0x399b43(0xd8)]),_0x373fec['seriesStyleMap']&&s(_0x3f8745,_0x399b43(0xb4),_0x373fec[_0x399b43(0xb4)]);const _0x49a3d2={'unitId':_0x14a933,'chartModelId':_0x478501};let _0x482323=!0x1;if(_0x5f0ccb!==void 0x0&&(_0x49a3d2[_0x399b43(0xcd)]=_0x5f0ccb,_0x482323=!0x0),Object[_0x399b43(0xb2)](_0x3f8745)['length']>0x0&&(_0x49a3d2['style']=_0x3f8745,_0x482323=!0x0),Object[_0x399b43(0xb2)](_0x203beb)[_0x399b43(0x14b)]>0x0&&(_0x49a3d2[_0x399b43(0x126)]=_0x203beb,_0x482323=!0x0),_0x482323)return _0x49a3d2;};class c extends _0x1c2c0c{constructor(_0x408b2b,_0x21a7e1,_0x45402a,_0x73e1e7,_0x4c782f){const _0x430609=_0x492a4b;super(),n(this,_0x430609(0xdf)),n(this,'_injector'),n(this,'unitId'),n(this,_0x430609(0x149)),n(this,_0x430609(0x101)),n(this,_0x430609(0xf7)),n(this,_0x430609(0x12e)),n(this,'x'),n(this,'y'),n(this,_0x430609(0x14d)),n(this,_0x430609(0xf8)),n(this,_0x430609(0xcd)),n(this,_0x430609(0x148)),n(this,_0x430609(0xe2)),(this['unitId']=_0x408b2b,this['subUnitId']=_0x21a7e1,this[_0x430609(0xdf)]=_0x45402a,this[_0x430609(0xc4)]=_0x73e1e7,_0x4c782f&&(this[_0x430609(0x101)]=_0x4c782f));}[_0x492a4b(0x121)](){const _0x487037=_0x492a4b;return this[_0x487037(0xcd)];}['addRange'](_0x5b948e){const _0x34d9c2=_0x492a4b;if(typeof _0x5b948e=='string'){const _0x4414a5=_0x1d959e(_0x5b948e);_0x4414a5[_0x34d9c2(0xe4)]&&(this['sourceSheetName']=_0x4414a5[_0x34d9c2(0xe4)]),this[_0x34d9c2(0xf7)]=_0x4414a5[_0x34d9c2(0xf7)];}else this[_0x34d9c2(0xf7)]=_0x5b948e;return this;}[_0x492a4b(0x14f)](){const _0x201fdb=_0x492a4b;return this['range']=void 0x0,this[_0x201fdb(0x12e)]=void 0x0,this;}[_0x492a4b(0x137)](_0x19a8ac,_0x5666b7,_0xaa71a2,_0x103ad2){const _0x499dbe=_0x492a4b,_0x2ec6c1=this[_0x499dbe(0xc4)][_0x499dbe(0xa3)](_0x58a56e)[_0x499dbe(0xa5)](this[_0x499dbe(0x119)]);if(!_0x2ec6c1)throw new Error(_0x499dbe(0x13f));const _0x218fd4=_0x2ec6c1[_0x499dbe(0xfb)](_0x43d697),_0x4a5718=_0x2ec6c1[_0x499dbe(0xfb)](_0x4788a9),{transform:_0x56cc5c}=_0x11d6b5(this[_0x499dbe(0x119)],this[_0x499dbe(0x149)],{'row':_0x19a8ac,'column':_0x5666b7,'rowOffset':_0xaa71a2,'columnOffset':_0x103ad2},0x1,0x1,_0x218fd4,_0x4a5718),_0xa38093=_0x56cc5c[_0x499dbe(0xa8)],_0x29a9bf=_0x56cc5c[_0x499dbe(0x12d)];return this['x']=_0x29a9bf,this['y']=_0xa38093,this;}[_0x492a4b(0x109)](_0x16d08f,_0xc4c18){return this['x']=_0x16d08f,this['y']=_0xc4c18,this;}['setChartType'](_0x265ce7){return this['chartType']=_0x265ce7,this;}['setWidth'](_0x4f2367){const _0x1da925=_0x492a4b;return this[_0x1da925(0x14d)]=_0x4f2367,this;}[_0x492a4b(0x123)](_0x5312e6){const _0x5dac25=_0x492a4b;return this[_0x5dac25(0xf8)]=_0x5312e6,this;}[_0x492a4b(0x136)](_0x630481,_0x5cd049){const _0x5524a7=_0x492a4b;return this[_0x5524a7(0x148)]||(this[_0x5524a7(0x148)]={}),_0x630481===''?(this[_0x5524a7(0x148)]={...this[_0x5524a7(0x148)],..._0x5cd049},this):(_0x1e51e7(this['options'],_0x630481,_0x5cd049),this);}[_0x492a4b(0xa7)](_0x1911a2){const _0x20d0e=_0x492a4b;return this[_0x20d0e(0xe2)]=_0x1911a2,this;}[_0x492a4b(0x120)](_0x2e8a32){const _0x535810=_0x492a4b;return this[_0x535810(0x136)](_0x535810(0xad),_0x2e8a32),this;}[_0x492a4b(0x125)](_0x22956f){const _0x3a3810=_0x492a4b;var _0x2f1515;const _0x4982f6=((_0x2f1515=this[_0x3a3810(0x148)])==null?void 0x0:_0x2f1515[_0x3a3810(0x13e)])||{};return _0x4982f6[_0x3a3810(0x10d)]=_0x22956f,this[_0x3a3810(0x136)]('xAxisTitle',_0x4982f6),this;}[_0x492a4b(0xbc)](_0x56f094){const _0x30ecf3=_0x492a4b;var _0x31b962;const _0x237d39=((_0x31b962=this[_0x30ecf3(0x148)])==null?void 0x0:_0x31b962[_0x30ecf3(0x150)])||{};return _0x237d39[_0x30ecf3(0x10d)]=_0x56f094,this[_0x30ecf3(0x136)](_0x30ecf3(0x150),_0x237d39),this;}[_0x492a4b(0x107)](_0x3b166f){const _0xbd4c3f=_0x492a4b;var _0x24d859;const _0x3ec7f5=((_0x24d859=this['options'])==null?void 0x0:_0x24d859[_0xbd4c3f(0xf2)])||{};return _0x3ec7f5[_0xbd4c3f(0x10d)]=_0x3b166f,this['setOptions'](_0xbd4c3f(0xf2),_0x3ec7f5),this;}[_0x492a4b(0xfd)](_0x3a5ce0){const _0x158fdc=_0x492a4b;var _0x59ce80;const _0x3d34d1=((_0x59ce80=this[_0x158fdc(0x148)])==null?void 0x0:_0x59ce80[_0x158fdc(0x13e)])||{};return this[_0x158fdc(0x136)](_0x158fdc(0x13e),{..._0x3d34d1,..._0x3a5ce0}),this;}[_0x492a4b(0x151)](_0x475bfb){const _0x14a67b=_0x492a4b;var _0x30810c;const _0x5eee74=((_0x30810c=this[_0x14a67b(0x148)])==null?void 0x0:_0x30810c[_0x14a67b(0x150)])||{};return this[_0x14a67b(0x136)]('yAxisTitle',{..._0x5eee74,..._0x475bfb}),this;}['setRightYAxisTextStyle'](_0x5d86d4){const _0x18eeee=_0x492a4b;var _0x4db0ce;const _0xc6e404=((_0x4db0ce=this[_0x18eeee(0x148)])==null?void 0x0:_0x4db0ce['rightYAxisTitle'])||{};return this[_0x18eeee(0x136)](_0x18eeee(0xf2),{..._0xc6e404,..._0x5d86d4}),this;}[_0x492a4b(0x134)](_0x15128d){const _0x3dfe6e=_0x492a4b;return this[_0x3dfe6e(0x136)](_0x3dfe6e(0xb6),_0x15128d),this;}[_0x492a4b(0x12f)](_0x1c1d91){const _0x234e10=_0x492a4b;return this[_0x234e10(0x136)](_0x234e10(0xab),_0x1c1d91),this;}[_0x492a4b(0xaf)](_0x2a6e07){const _0x1e61a7=_0x492a4b;return this[_0x1e61a7(0x136)](_0x1e61a7(0xf6),_0x2a6e07),this;}[_0x492a4b(0xcf)](_0x12413b,_0x3d5870){const _0x46b086=_0x492a4b;return this[_0x46b086(0x136)](_0x46b086(0xb4),{[_0x12413b]:_0x3d5870}),this;}[_0x492a4b(0xe8)](){const _0x24cc08=_0x492a4b;var _0x321ceb;let _0x35dec8=this['subUnitId'];if(this[_0x24cc08(0x12e)]){const _0xd8f976=(_0x321ceb=this['_workbook'][_0x24cc08(0x146)](this[_0x24cc08(0x12e)]))==null?void 0x0:_0x321ceb[_0x24cc08(0x11a)]();if(!_0xd8f976)throw new Error('Sheet\x20'+this[_0x24cc08(0x12e)]+_0x24cc08(0x13b));_0x35dec8=_0xd8f976;}return{'unitId':this[_0x24cc08(0x119)],'subUnitId':_0x35dec8,'chartId':this[_0x24cc08(0x101)],'range':this[_0x24cc08(0xf7)],'x':this['x'],'y':this['y'],'width':this[_0x24cc08(0x14d)],'height':this[_0x24cc08(0xf8)],'chartType':this[_0x24cc08(0xcd)],'options':this[_0x24cc08(0x148)],'isRowDirection':this[_0x24cc08(0xe2)]};}}class f{constructor(_0x10277f,_0x3c99f4,_0x2890f9,_0x482281){const _0x3eb725=_0x492a4b;n(this,_0x3eb725(0x119)),n(this,_0x3eb725(0x149)),n(this,_0x3eb725(0x101)),n(this,_0x3eb725(0xc4)),(this['unitId']=_0x10277f,this[_0x3eb725(0x149)]=_0x3c99f4,this[_0x3eb725(0x101)]=_0x2890f9,this['_injector']=_0x482281);}['getChartId'](){const _0x43bb43=_0x492a4b;return this[_0x43bb43(0x101)];}[_0x492a4b(0xc6)](){const _0x506006=_0x492a4b,_0x4c6798=this[_0x506006(0xc4)][_0x506006(0xa3)](_0x43e3b2)[_0x506006(0x129)](this[_0x506006(0x101)]);if(_0x4c6798)return _0x4c6798[_0x506006(0xb5)][_0x506006(0x155)]();}[_0x492a4b(0xd4)](_0x55ec38){const _0xaffc7=_0x492a4b;return this[_0xaffc7(0xc4)]['get'](_0x7b1b22)[_0xaffc7(0x114)](_0x4af856['id'],{'unitId':this['unitId'],'chartModelId':this[_0xaffc7(0x101)],'range':_0x55ec38});}[_0x492a4b(0x12a)](){const _0x52f902=_0x492a4b;var _0x6154a9;const _0x1094a2=this['_injector'][_0x52f902(0xa3)](_0x43e3b2)['getChartModel'](this[_0x52f902(0x101)]);if(_0x1094a2)return(_0x6154a9=_0x1094a2[_0x52f902(0x131)])==null?void 0x0:_0x6154a9['series'];}[_0x492a4b(0xdb)](){const _0x54bbdf=_0x492a4b;var _0x5cd91f;const _0x415861=this[_0x54bbdf(0xc4)]['get'](_0x43e3b2)['getChartModel'](this[_0x54bbdf(0x101)]);if(_0x415861)return(_0x5cd91f=_0x415861['config'])==null?void 0x0:_0x5cd91f['category'];}[_0x492a4b(0xf4)](){const _0x13faed=_0x492a4b,_0x552bed=this['_injector'][_0x13faed(0xa3)](_0x1dd183)['getCurrentUnitForType'](_0x55d2be[_0x13faed(0x153)]);return new c(this['unitId'],this[_0x13faed(0x149)],_0x552bed,this[_0x13faed(0xc4)],this['chartId']);}}class Q extends _0x4a6829{async[_0x492a4b(0x105)](_0x3c3415){const _0x335513=_0x492a4b;var _0x240156,_0x5f1e5c,_0x4fcb07;const _0x26a071=_0x3c3415[_0x335513(0x119)]||this[_0x335513(0xa2)]()[_0x335513(0x10a)](),_0x3372ff=_0x3c3415[_0x335513(0x149)]||this['getSheetId'](),_0x95819c=_0x3c3415[_0x335513(0x101)]||_0x4cc351(),_0xe94bef=_0x3c3415[_0x335513(0xcd)],_0x2eed72=_0x3c3415[_0x335513(0xf7)],_0x2dc909={'x':_0x3c3415['x'],'y':_0x3c3415['y']},_0x43e258=_0x3c3415[_0x335513(0x14d)],_0x4100bd=_0x3c3415[_0x335513(0xf8)],_0x2f1367=(_0x240156=_0x3c3415[_0x335513(0x148)])==null?void 0x0:_0x240156[_0x335513(0x138)],_0x43d77b=(_0x5f1e5c=_0x3c3415[_0x335513(0x148)])==null?void 0x0:_0x5f1e5c['borderColor'],_0x33a5bf=C(_0x26a071,_0x95819c,_0xe94bef,_0x3c3415['options']),_0x5cb766=(_0x4fcb07=_0x3c3415[_0x335513(0xb3)])!=null?_0x4fcb07:!0x0;if(!_0x2eed72)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x335513(0x11c)]['executeCommand'](_0x451059['id'],{'unitId':_0x26a071,'subUnitId':_0x3372ff,'chartId':_0x95819c,'chartType':_0xe94bef,'range':_0x2eed72,'position':_0x2dc909,'width':_0x43e258,'height':_0x4100bd,'backgroundColor':_0x2f1367,'borderColor':_0x43d77b,'config':_0x33a5bf,'isRowDirection':_0x5cb766}),new f(_0x26a071,_0x3372ff,_0x95819c,this['_injector']);}[_0x492a4b(0x111)](_0x5d8b6a){const _0x52384b=_0x492a4b,{unitId:_0x41178c,chartId:_0x57066a,chartType:_0x390ac7,options:_0x1adda7}=_0x5d8b6a,_0x1bf197=C(_0x41178c,_0x57066a,_0x390ac7,_0x1adda7);this[_0x52384b(0x11c)]['executeCommand'](_0x551897['id'],_0x1bf197);}['newChart'](_0x4dc584){const _0x29015e=_0x492a4b;if(_0x4dc584)return new c(_0x4dc584['unitId'],_0x4dc584[_0x29015e(0x149)],this[_0x29015e(0xdf)],this[_0x29015e(0xc4)],_0x4dc584[_0x29015e(0x101)]);const _0x24559f=this[_0x29015e(0xa2)]()[_0x29015e(0x10a)](),_0x2fbebe=this['getSheetId']();return new c(_0x24559f,_0x2fbebe,this['_workbook'],this[_0x29015e(0xc4)]);}['getCharts'](){const _0xef6e64=_0x492a4b,_0x82e9e=this[_0xef6e64(0xc4)]['get'](_0x43e3b2),_0x1023f1=this[_0xef6e64(0xa2)]()['getUnitId']();return _0x82e9e[_0xef6e64(0xf3)](_0x1023f1,this[_0xef6e64(0x11a)]())['map'](_0x35cda8=>new f(_0x1023f1,this['getSheetId'](),_0x35cda8['id'],this[_0xef6e64(0xc4)]));}[_0x492a4b(0xa1)](_0x5e678e){const _0x5ccaa8=_0x492a4b,_0x398956=_0x5e678e[_0x5ccaa8(0x119)],_0x42df9d=_0x5e678e[_0x5ccaa8(0x149)],_0x427860=_0x5e678e[_0x5ccaa8(0x101)],_0xc2257a={'unitId':_0x398956,'drawings':[{'unitId':_0x398956,'subUnitId':_0x42df9d,'drawingId':_0x427860,'drawingType':_0x32258a['DRAWING_CHART']}]};return this['_commandService'][_0x5ccaa8(0x114)](_0x5a27bc['id'],_0xc2257a);}['registerChartTheme'](_0x1831f1,_0x14bf49){const _0x43cff8=_0x492a4b;this[_0x43cff8(0xc4)][_0x43cff8(0xa3)](_0x49740b)[_0x43cff8(0x144)](_0x1831f1,_0x14bf49);}}_0x4a6829[_0x492a4b(0x108)](Q);class Z extends _0x388249{get[_0x492a4b(0xa6)](){return _0x490fc1;}get['LegendPositionEnum'](){return _0x4c42da;}get[_0x492a4b(0xdc)](){return _0x1e3b81;}get[_0x492a4b(0xd9)](){return _0x1661d9;}get[_0x492a4b(0xeb)](){return _0x5dab6e;}get[_0x492a4b(0x118)](){return _0x25135d;}get['TitlePositionEnum'](){return _0x411e01;}get['RadarShape'](){return _0x1d5757;}}_0x388249['extend'](Z);class tt extends c{constructor(_0xd1df86,_0x5ebfdc,_0x4eca4d,_0x7c2512,_0x2d5306){const _0xeacad2=_0x492a4b;super(_0xd1df86,_0x5ebfdc,_0x4eca4d,_0x7c2512,_0x2d5306),n(this,_0xeacad2(0x141)),n(this,'dataPointShape'),n(this,'dataPointColor'),n(this,_0xeacad2(0xb0));}[_0x492a4b(0xc1)](_0x428df9){const _0x1747c5=_0x492a4b;return this[_0x1747c5(0x141)]=_0x428df9,this;}[_0x492a4b(0x11f)](_0x40ea53){const _0x890671=_0x492a4b;return this[_0x890671(0x13c)]=_0x40ea53,this;}[_0x492a4b(0xa4)](_0x38dfb2){const _0x7f597a=_0x492a4b;return this[_0x7f597a(0x13a)]=_0x38dfb2,this;}[_0x492a4b(0xbb)](_0x5ce640){return this['dataPointSize']=_0x5ce640,this;}[_0x492a4b(0xe8)](){const _0x38d9f2=_0x492a4b,_0x37547b=super[_0x38d9f2(0xe8)]();_0x37547b['chartType']=_0x490fc1[_0x38d9f2(0x124)];const _0x525673=_0x37547b[_0x38d9f2(0x148)]||{};return s(_0x525673,_0x38d9f2(0xd1),this[_0x38d9f2(0x141)]),s(_0x525673,'allSeriesStyle.point.shape',this[_0x38d9f2(0x13c)]),s(_0x525673,_0x38d9f2(0xa0),this['dataPointColor']),s(_0x525673,_0x38d9f2(0x12c),this['dataPointSize']),_0x37547b[_0x38d9f2(0x148)]=_0x525673,_0x37547b;}}class et extends c{[_0x492a4b(0x117)](){const _0x56eea8=_0x492a4b;return new tt(this[_0x56eea8(0x119)],this[_0x56eea8(0x149)],this['_workbook'],this[_0x56eea8(0xc4)],this[_0x56eea8(0x101)]);}}c[_0x492a4b(0x108)](et);class it extends c{constructor(_0x489cc6,_0x595c9e,_0x1a6d4f,_0xfa2b25,_0x3d76ff){const _0x410899=_0x492a4b;super(_0x489cc6,_0x595c9e,_0x1a6d4f,_0xfa2b25,_0x3d76ff),n(this,_0x410899(0xb8)),n(this,'borderColor'),n(this,_0x410899(0x115)),n(this,'isHalfPie'),n(this,_0x410899(0x143)),n(this,'showLabelLine');}[_0x492a4b(0xff)](_0xef327b){const _0xf8db6f=_0x492a4b;return this[_0xf8db6f(0xb8)]=_0xef327b,this;}[_0x492a4b(0xe3)](_0x463736){const _0x58d642=_0x492a4b;return this[_0x58d642(0x14e)]=_0x463736,this;}[_0x492a4b(0x11e)](_0xa1261d){const _0x1707b3=_0x492a4b;return this[_0x1707b3(0x115)]=_0xa1261d,this;}['setIsHalfPie'](_0x512f85){const _0x2605ee=_0x492a4b;return this[_0x2605ee(0xee)]=_0x512f85,this;}[_0x492a4b(0x139)](_0x6750cb){const _0x74096d=_0x492a4b;return this[_0x74096d(0x143)]=_0x6750cb,this;}[_0x492a4b(0x132)](_0x243a3a){const _0x9edc18=_0x492a4b;return this[_0x9edc18(0x14c)]=_0x243a3a,this;}[_0x492a4b(0xe8)](){const _0x464676=_0x492a4b,_0x2b5225=super[_0x464676(0xe8)]();_0x2b5225[_0x464676(0xcd)]=_0x490fc1[_0x464676(0xd7)];const _0x362531=_0x2b5225['options']||{};return s(_0x362531,_0x464676(0xae),this[_0x464676(0xb8)]),s(_0x362531,_0x464676(0x12b),this['borderColor']),s(_0x362531,_0x464676(0x10b),this[_0x464676(0x115)]),s(_0x362531,_0x464676(0xc7),this[_0x464676(0xee)]),s(_0x362531,_0x464676(0x128),this['rosePie']),s(_0x362531,_0x464676(0xa9),this[_0x464676(0x14c)]),_0x2b5225[_0x464676(0x148)]=_0x362531,_0x2b5225;}}class st extends c{[_0x492a4b(0x106)](){const _0x130827=_0x492a4b;return new it(this[_0x130827(0x119)],this[_0x130827(0x149)],this['_workbook'],this[_0x130827(0xc4)],this[_0x130827(0x101)]);}}c['extend'](st);class rt extends c{constructor(_0x135152,_0x6af33b,_0x978890,_0x347836,_0x5a9316){super(_0x135152,_0x6af33b,_0x978890,_0x347836,_0x5a9316),n(this,'shape'),n(this,'fill');}[_0x492a4b(0xca)](_0x4019be){const _0x426310=_0x492a4b;return this[_0x426310(0x11b)]=_0x4019be,this;}['setFill'](_0x13e02d){const _0x385383=_0x492a4b;return this[_0x385383(0xd5)]=_0x13e02d,this;}[_0x492a4b(0xe8)](){const _0x5547f1=_0x492a4b,_0x5056d4=super[_0x5547f1(0xe8)]();_0x5056d4[_0x5547f1(0xcd)]=_0x490fc1[_0x5547f1(0xf5)];const _0x50c769=_0x5056d4['options']||{};return s(_0x50c769,_0x5547f1(0xda),this['shape']),s(_0x50c769,_0x5547f1(0xd0),this[_0x5547f1(0xd5)]),_0x5056d4[_0x5547f1(0x148)]=_0x50c769,_0x5056d4;}}function _0xeafa(){const _0x38f895=['yAxisTitle','setYAxisTextStyle','titles.rightYAxisTitle.color','UNIVER_SHEET','titles.xAxisTitle.color','getRangeInfo','indicatorLineType','fontStyle','titles.yAxisTitle.color','allSeriesStyle.point.color','removeChart','getWorkbook','get','setDataPointColor','getRenderById','ChartType','setTransposeRowsAndColumns','top','pie.showLabelLine','label','axisPointer','italic','theme','pie.doughnutHole','setAllSeriesStyle','dataPointSize','xAxis.label.axisTitleAlign','keys','isRowDirection','seriesStyleMap','dataSource','invalidValueType','indicatorLabelColor','doughnutHole','allSeriesStyle.point','allSeriesStyle.border','setDataPointSize','setYAxisTitle','tooltip.indicatorLineColor','allSeriesStyle.rightYAxis','radar','selectMode','setLineStyle','rightYAxis','4401404eSuJJa','_injector','tooltip.indicatorLabelTextColor','getRange','pie.isHalfPie','titles.title.font','area','setShape','yAxis','5126UHBWnE','chartType','titles.xAxisTitle.family','setSeriesStyle','radar.fill','area.lineStyle','font','titleAlignment','updateRange','fill','81270vtlRfY','Pie','yRightAxis','AxisAlignEnum','radar.shape','getCategoryData','SelectModeEnum','titles.yAxisTitle.bold','titles.title.fontSize','_workbook','titles.titlePosition','border','transposeRowsAndColumns','setBorderColor','sheetName','legend','5318904rQZBXV','position','build','768576kbnPtC','legend.label.italic','ChartBorderDashType','211qMTQao','titles.xAxisTitle.content','isHalfPie','indicatorLabelTextColor','gradientFill','titles.rightYAxisTitle.content','rightYAxisTitle','getUnitChartModels','modify','Radar','allSeriesStyle','range','height','435984qDmOYw','fontSize','with','xAxis','setXAxisTextStyle','titles.title.align','setDoughnutHole','asRadarChart','chartId','66150crtRFI','title','color','insertChart','asPieChart','setRightYAxisTitle','extend','setAbsolutePosition','getUnitId','pie.hasPaddingAngle','allSeriesStyle.color','content','titles.yAxisTitle.family','legend.label.fontSize','rightYAxis.label.axisTitleAlign','updateChart','titles.title.family','legend.position','executeCommand','hasPaddingAngle','titles.title.content','asLineChart','LinePointShape','unitId','getSheetId','shape','_commandService','titles.yAxisTitle.font','setHasPaddingAngle','setDataPointShape','setTheme','getChartType','pie','setHeight','Line','setXAxisTitle','context','fontColor','pie.rosePie','getChartModel','getSeriesData','pie.borderColor','allSeriesStyle.point.size','left','sourceSheetName','setAxisPointerStyle','axisAlignment','config','setShowLabelLine','titles.rightYAxisTitle.font','setInvalidValueStrategy','30xIYhEJ','setOptions','setPosition','backgroundColor','setRosePie','dataPointColor','\x20not\x20found','dataPointShape','yAxis.label.axisTitleAlign','xAxisTitle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','defineProperty','lineStyle','symbol','rosePie','registerTheme','10NpdTjF','getSheetBySheetName','tooltip.indicatorLineType','options','subUnitId','bold','length','showLabelLine','width','borderColor','clearRange'];_0xeafa=function(){return _0x38f895;};return _0xeafa();}class ot extends c{[_0x492a4b(0x100)](){const _0x1f2b18=_0x492a4b;return new rt(this[_0x1f2b18(0x119)],this[_0x1f2b18(0x149)],this[_0x1f2b18(0xdf)],this[_0x1f2b18(0xc4)],this[_0x1f2b18(0x101)]);}}c[_0x492a4b(0x108)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
|