@univerjs-pro/sheets-chart-ui 0.15.2 → 0.15.3-insiders.20260131-cbd5fac
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -0
- 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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -0
- 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 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -0
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/sk-SK.d.ts +3 -0
- package/lib/types/services/chart-render.service.d.ts +2 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -0
- 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 +16 -16
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x14c989=_0x1714;(function(_0x13d764,_0x16d041){const _0x3ed275=_0x1714,_0x345338=_0x13d764();while(!![]){try{const _0x2a2c3a=-parseInt(_0x3ed275(0x1e7))/0x1+parseInt(_0x3ed275(0x1a3))/0x2+parseInt(_0x3ed275(0x192))/0x3+parseInt(_0x3ed275(0x191))/0x4*(parseInt(_0x3ed275(0x1f2))/0x5)+parseInt(_0x3ed275(0x194))/0x6+-parseInt(_0x3ed275(0x1bf))/0x7+-parseInt(_0x3ed275(0x1b2))/0x8;if(_0x2a2c3a===_0x16d041)break;else _0x345338['push'](_0x345338['shift']());}catch(_0x4b6259){_0x345338['push'](_0x345338['shift']());}}}(_0x14fa,0x4fcb7));var R=Object[_0x14c989(0x179)],k=(_0x124c5b,_0x52a3f7,_0x2b60e1)=>_0x52a3f7 in _0x124c5b?R(_0x124c5b,_0x52a3f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b60e1}):_0x124c5b[_0x52a3f7]=_0x2b60e1,n=(_0x5348c4,_0x17770d,_0x574003)=>k(_0x5348c4,typeof _0x17770d!=_0x14c989(0x1ec)?_0x17770d+'':_0x17770d,_0x574003);import{ChartThemeService as _0x1f6d83,ChartTypeBits as _0x5e78e8,LegendPositionEnum as _0x4b64cd,SelectModeEnum as _0x3b6b6a,AxisAlignEnum as _0x42a4c5,ChartBorderDashType as _0x20fb03,LinePointShape as _0x8ea241,TitlePositionEnum as _0x385552,RadarShape as _0xefb375}from'@univerjs-pro/engine-chart';import{setProperty as _0x2bf7bf,SheetsChartService as _0x1e7aea,ChartUpdateSourceCommand as _0x25b274,ChartUpdateConfigCommand as _0x6581f3}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0xc6740b}from'@univerjs-pro/sheets-chart-ui';function _0x1714(_0x50b585,_0x316007){_0x50b585=_0x50b585-0x13c;const _0x14fa22=_0x14fa();let _0x1714f6=_0x14fa22[_0x50b585];return _0x1714f6;}import{ICommandService as _0x245d9a,IUniverInstanceService as _0x480d2b,UniverInstanceType as _0xef67ad,generateRandomId as _0x4749a5,DrawingTypeEnum as _0x4f9c4b}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x780251}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0xa5e49f}from'@univerjs/sheets/facade';import{FBase as _0x42eb17,FEnum as _0x5c169c}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x5e7cef}from'@univerjs/engine-formula';import{IRenderManagerService as _0x16eead}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x40f199,SheetSkeletonManagerService as _0x5914a8,convertPositionCellToSheetOverGrid as _0x4078dc}from'@univerjs/sheets-ui';const s=(_0x4cbcb4,_0x31bc07,_0x3dafdc)=>{_0x3dafdc!==void 0x0&&_0x2bf7bf(_0x4cbcb4,_0x31bc07,_0x3dafdc);},C=(_0x5d93b3,_0x4f9aab,_0x1be72f,_0x14fc3a={})=>{const _0x2fca31=_0x14c989,_0x5cba3a={},_0x17bb52={};if(_0x14fc3a[_0x2fca31(0x1ef)]){const _0x1d3057=_0x14fc3a[_0x2fca31(0x1ef)];s(_0x5cba3a,_0x2fca31(0x1d3),_0x1d3057['content']),s(_0x5cba3a,'titles.title.font',_0x1d3057[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x1e9),_0x1d3057['fontSize']),s(_0x5cba3a,_0x2fca31(0x1e0),_0x1d3057[_0x2fca31(0x181)]),s(_0x5cba3a,_0x2fca31(0x1d4),_0x1d3057[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x182),_0x1d3057[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x164),_0x1d3057[_0x2fca31(0x1f0)]),s(_0x5cba3a,_0x2fca31(0x1a4),_0x1d3057[_0x2fca31(0x14f)]);}if(_0x14fc3a['legend']){const _0x5e3268=_0x14fc3a[_0x2fca31(0x1d5)];s(_0x5cba3a,_0x2fca31(0x16d),_0x5e3268[_0x2fca31(0x14f)]),s(_0x5cba3a,'legend.selectMode',_0x5e3268[_0x2fca31(0x1de)]),s(_0x5cba3a,_0x2fca31(0x1be),_0x5e3268[_0x2fca31(0x175)]),s(_0x5cba3a,_0x2fca31(0x176),_0x5e3268['color']),s(_0x5cba3a,_0x2fca31(0x1d9),_0x5e3268[_0x2fca31(0x17c)]),s(_0x5cba3a,'legend.label.italic',_0x5e3268[_0x2fca31(0x1a8)]);}if(_0x14fc3a[_0x2fca31(0x1cc)]){const _0x51fe98=_0x14fc3a[_0x2fca31(0x1cc)];s(_0x5cba3a,_0x2fca31(0x1ba),_0x51fe98[_0x2fca31(0x19a)]),s(_0x5cba3a,'pie.borderColor',_0x51fe98[_0x2fca31(0x1c0)]),s(_0x5cba3a,'pie.hasPaddingAngle',_0x51fe98[_0x2fca31(0x157)]),s(_0x5cba3a,_0x2fca31(0x1cf),_0x51fe98['isHalfPie']),s(_0x5cba3a,_0x2fca31(0x1d1),_0x51fe98[_0x2fca31(0x1d8)]),s(_0x5cba3a,_0x2fca31(0x1d7),_0x51fe98[_0x2fca31(0x1af)]);}if(_0x14fc3a[_0x2fca31(0x168)]){const _0x4b5539=_0x14fc3a[_0x2fca31(0x168)];s(_0x5cba3a,_0x2fca31(0x171),_0x4b5539['indicatorLabelColor']),s(_0x5cba3a,'tooltip.indicatorLineType',_0x4b5539[_0x2fca31(0x1ae)]),s(_0x5cba3a,_0x2fca31(0x180),_0x4b5539['indicatorLineColor']),s(_0x5cba3a,_0x2fca31(0x162),_0x4b5539[_0x2fca31(0x1c4)]);}if(_0x14fc3a[_0x2fca31(0x1c7)]&&(s(_0x5cba3a,_0x2fca31(0x1b1),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x1d6)]),s(_0x5cba3a,_0x2fca31(0x199),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x166)]),s(_0x5cba3a,_0x2fca31(0x170),_0x14fc3a['allSeriesStyle'][_0x2fca31(0x144)]),s(_0x5cba3a,_0x2fca31(0x15a),_0x14fc3a[_0x2fca31(0x1c7)][_0x2fca31(0x148)]),s(_0x5cba3a,'allSeriesStyle.color',_0x14fc3a[_0x2fca31(0x1c7)]['color'])),_0x14fc3a[_0x2fca31(0x13f)]&&s(_0x5cba3a,_0x2fca31(0x15e),_0x14fc3a['area'][_0x2fca31(0x1dd)]),_0x14fc3a[_0x2fca31(0x151)]&&s(_0x5cba3a,_0x2fca31(0x151),_0x14fc3a[_0x2fca31(0x151)]),_0x14fc3a[_0x2fca31(0x1c6)]&&s(_0x5cba3a,_0x2fca31(0x1c6),_0x14fc3a['backgroundColor']),_0x14fc3a[_0x2fca31(0x1c0)]&&s(_0x5cba3a,_0x2fca31(0x1c0),_0x14fc3a[_0x2fca31(0x1c0)]),_0x14fc3a[_0x2fca31(0x145)]&&s(_0x5cba3a,_0x2fca31(0x145),_0x14fc3a[_0x2fca31(0x145)]),_0x14fc3a[_0x2fca31(0x1e2)]&&s(_0x5cba3a,_0x2fca31(0x1e2),_0x14fc3a[_0x2fca31(0x1e2)]),_0x14fc3a[_0x2fca31(0x183)]&&s(_0x5cba3a,'radar',_0x14fc3a['radar']),_0x14fc3a[_0x2fca31(0x1d0)]){const _0x1ac873=_0x14fc3a['xAxisTitle'];s(_0x5cba3a,_0x2fca31(0x155),_0x1ac873['content']),s(_0x5cba3a,_0x2fca31(0x154),_0x1ac873[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x1c8),_0x1ac873['fontSize']),s(_0x5cba3a,_0x2fca31(0x1aa),_0x1ac873['fontColor']),s(_0x5cba3a,'titles.xAxisTitle.family',_0x1ac873[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x184),_0x1ac873[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x1e8),_0x1ac873[_0x2fca31(0x178)]);}if(_0x14fc3a[_0x2fca31(0x1f4)]){const _0x2efc81=_0x14fc3a[_0x2fca31(0x1f4)];s(_0x5cba3a,'titles.yAxisTitle.content',_0x2efc81[_0x2fca31(0x1c9)]),s(_0x5cba3a,_0x2fca31(0x1ab),_0x2efc81[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x197),_0x2efc81['fontSize']),s(_0x5cba3a,'titles.yAxisTitle.color',_0x2efc81['fontColor']),s(_0x5cba3a,'titles.yAxisTitle.family',_0x2efc81[_0x2fca31(0x1a9)]),s(_0x5cba3a,'titles.yAxisTitle.bold',_0x2efc81[_0x2fca31(0x17c)]),s(_0x5cba3a,_0x2fca31(0x1db),_0x2efc81[_0x2fca31(0x178)]);}if(_0x14fc3a['rightYAxisTitle']){const _0x2e68b9=_0x14fc3a[_0x2fca31(0x196)];s(_0x5cba3a,_0x2fca31(0x142),_0x2e68b9[_0x2fca31(0x1c9)]),s(_0x5cba3a,_0x2fca31(0x177),_0x2e68b9[_0x2fca31(0x1ea)]),s(_0x5cba3a,_0x2fca31(0x141),_0x2e68b9['fontSize']),s(_0x5cba3a,_0x2fca31(0x173),_0x2e68b9['fontColor']),s(_0x5cba3a,'titles.rightYAxisTitle.family',_0x2e68b9[_0x2fca31(0x1a9)]),s(_0x5cba3a,_0x2fca31(0x143),_0x2e68b9[_0x2fca31(0x17c)]),s(_0x5cba3a,'rightYAxis.label.axisTitleAlign',_0x2e68b9[_0x2fca31(0x178)]);}_0x14fc3a[_0x2fca31(0x185)]&&s(_0x5cba3a,_0x2fca31(0x185),_0x14fc3a[_0x2fca31(0x185)]),_0x14fc3a['yAxis']&&s(_0x5cba3a,_0x2fca31(0x169),_0x14fc3a[_0x2fca31(0x169)]),_0x14fc3a['yRightAxis']&&s(_0x5cba3a,'rightYAxis',_0x14fc3a['yRightAxis']),_0x14fc3a[_0x2fca31(0x1e3)]&&s(_0x5cba3a,_0x2fca31(0x1e3),_0x14fc3a[_0x2fca31(0x1e3)]);const _0x37460f={'unitId':_0x5d93b3,'chartModelId':_0x4f9aab};let _0x534aef=!0x1;if(_0x1be72f!==void 0x0&&(_0x37460f['chartType']=_0x1be72f,_0x534aef=!0x0),Object[_0x2fca31(0x19d)](_0x5cba3a)[_0x2fca31(0x1ca)]>0x0&&(_0x37460f[_0x2fca31(0x1b5)]=_0x5cba3a,_0x534aef=!0x0),Object[_0x2fca31(0x19d)](_0x17bb52)[_0x2fca31(0x1ca)]>0x0&&(_0x37460f[_0x2fca31(0x189)]=_0x17bb52,_0x534aef=!0x0),_0x534aef)return _0x37460f;};class c extends _0x42eb17{constructor(_0x4eab56,_0x465284,_0xdc3b44,_0x1191b9,_0x10d9ff){const _0x5092e4=_0x14c989;super(),n(this,_0x5092e4(0x149)),n(this,_0x5092e4(0x198)),n(this,_0x5092e4(0x174)),n(this,_0x5092e4(0x1f3)),n(this,_0x5092e4(0x16b)),n(this,_0x5092e4(0x1a1)),n(this,_0x5092e4(0x1a6)),n(this,'x'),n(this,'y'),n(this,'width'),n(this,_0x5092e4(0x1da)),n(this,_0x5092e4(0x1ce)),n(this,_0x5092e4(0x1b3)),n(this,_0x5092e4(0x1a0)),(this[_0x5092e4(0x174)]=_0x4eab56,this[_0x5092e4(0x1f3)]=_0x465284,this[_0x5092e4(0x149)]=_0xdc3b44,this['_injector']=_0x1191b9,_0x10d9ff&&(this[_0x5092e4(0x16b)]=_0x10d9ff));}[_0x14c989(0x1a5)](){const _0x261724=_0x14c989;return this[_0x261724(0x1ce)];}[_0x14c989(0x150)](_0x52b09e){const _0x53be17=_0x14c989;if(typeof _0x52b09e=='string'){const _0x5253b2=_0x5e7cef(_0x52b09e);_0x5253b2[_0x53be17(0x14a)]&&(this[_0x53be17(0x1a6)]=_0x5253b2[_0x53be17(0x14a)]),this[_0x53be17(0x1a1)]=_0x5253b2[_0x53be17(0x1a1)];}else this['range']=_0x52b09e;return this;}[_0x14c989(0x19e)](){const _0x29d620=_0x14c989;return this['range']=void 0x0,this[_0x29d620(0x1a6)]=void 0x0,this;}[_0x14c989(0x161)](_0x2f4a90,_0x17abf1,_0x3af68d,_0x872ef9){const _0x1a50e7=_0x14c989,_0x203370=this[_0x1a50e7(0x198)][_0x1a50e7(0x1d2)](_0x16eead)[_0x1a50e7(0x1b6)](this[_0x1a50e7(0x174)]);if(!_0x203370)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x547b95=_0x203370['with'](_0x40f199),_0x5f028e=_0x203370[_0x1a50e7(0x14c)](_0x5914a8),{transform:_0x42024b}=_0x4078dc(this['unitId'],this[_0x1a50e7(0x1f3)],{'row':_0x2f4a90,'column':_0x17abf1,'rowOffset':_0x3af68d,'columnOffset':_0x872ef9},0x1,0x1,_0x547b95,_0x5f028e),_0x20c784=_0x42024b[_0x1a50e7(0x1b7)],_0x3886df=_0x42024b[_0x1a50e7(0x15d)];return this['x']=_0x3886df,this['y']=_0x20c784,this;}[_0x14c989(0x14b)](_0x189d74,_0x43d03f){return this['x']=_0x189d74,this['y']=_0x43d03f,this;}[_0x14c989(0x1b0)](_0xaaea72){const _0x512981=_0x14c989;return this[_0x512981(0x1ce)]=_0xaaea72,this;}[_0x14c989(0x18f)](_0x3b2665){const _0x5ed794=_0x14c989;return this[_0x5ed794(0x19f)]=_0x3b2665,this;}[_0x14c989(0x19b)](_0x52e5fd){return this['height']=_0x52e5fd,this;}['setOptions'](_0x45ce30,_0x221530){const _0x53413d=_0x14c989;return this['options']||(this[_0x53413d(0x1b3)]={}),_0x45ce30===''?(this[_0x53413d(0x1b3)]={...this[_0x53413d(0x1b3)],..._0x221530},this):(_0x2bf7bf(this[_0x53413d(0x1b3)],_0x45ce30,_0x221530),this);}[_0x14c989(0x1ed)](_0x4f7454){const _0x4f3bf4=_0x14c989;return this[_0x4f3bf4(0x1a0)]=_0x4f7454,this;}[_0x14c989(0x1bc)](_0x130c16){const _0x3aa75e=_0x14c989;return this[_0x3aa75e(0x1ad)]('theme',_0x130c16),this;}[_0x14c989(0x186)](_0x222361){const _0x27f99c=_0x14c989;var _0xfb2bc0;const _0x15e5e1=((_0xfb2bc0=this[_0x27f99c(0x1b3)])==null?void 0x0:_0xfb2bc0[_0x27f99c(0x1d0)])||{};return _0x15e5e1[_0x27f99c(0x1c9)]=_0x222361,this[_0x27f99c(0x1ad)]('xAxisTitle',_0x15e5e1),this;}[_0x14c989(0x1bb)](_0x282de6){const _0x27d40c=_0x14c989;var _0x24c4f2;const _0x539dce=((_0x24c4f2=this[_0x27d40c(0x1b3)])==null?void 0x0:_0x24c4f2[_0x27d40c(0x1f4)])||{};return _0x539dce[_0x27d40c(0x1c9)]=_0x282de6,this[_0x27d40c(0x1ad)](_0x27d40c(0x1f4),_0x539dce),this;}[_0x14c989(0x15c)](_0x1501b2){const _0x23df44=_0x14c989;var _0x8d59fc;const _0x313268=((_0x8d59fc=this[_0x23df44(0x1b3)])==null?void 0x0:_0x8d59fc[_0x23df44(0x196)])||{};return _0x313268[_0x23df44(0x1c9)]=_0x1501b2,this[_0x23df44(0x1ad)](_0x23df44(0x196),_0x313268),this;}['setXAxisTextStyle'](_0xdf2e14){var _0x1e7d3f;const _0x4f3ef8=((_0x1e7d3f=this['options'])==null?void 0x0:_0x1e7d3f['xAxisTitle'])||{};return this['setOptions']('xAxisTitle',{..._0x4f3ef8,..._0xdf2e14}),this;}[_0x14c989(0x17a)](_0x41c3f3){const _0x245228=_0x14c989;var _0x357f58;const _0x419231=((_0x357f58=this[_0x245228(0x1b3)])==null?void 0x0:_0x357f58[_0x245228(0x1f4)])||{};return this[_0x245228(0x1ad)](_0x245228(0x1f4),{..._0x419231,..._0x41c3f3}),this;}[_0x14c989(0x1c1)](_0x282e4b){const _0x5ce09c=_0x14c989;var _0x431b9b;const _0xb4bc1f=((_0x431b9b=this[_0x5ce09c(0x1b3)])==null?void 0x0:_0x431b9b['rightYAxisTitle'])||{};return this[_0x5ce09c(0x1ad)](_0x5ce09c(0x196),{..._0xb4bc1f,..._0x282e4b}),this;}[_0x14c989(0x160)](_0x12c4ff){const _0x769c8b=_0x14c989;return this[_0x769c8b(0x1ad)](_0x769c8b(0x1e2),_0x12c4ff),this;}[_0x14c989(0x1b8)](_0x4696e2){const _0x5baeb7=_0x14c989;return this[_0x5baeb7(0x1ad)](_0x5baeb7(0x168),_0x4696e2),this;}[_0x14c989(0x18a)](_0x258c4d){const _0x288767=_0x14c989;return this[_0x288767(0x1ad)](_0x288767(0x1c7),_0x258c4d),this;}['setSeriesStyle'](_0x49c26c,_0x4dedd5){const _0x1d6428=_0x14c989;return this['setOptions'](_0x1d6428(0x1e3),{[_0x49c26c]:_0x4dedd5}),this;}[_0x14c989(0x1cd)](){const _0x52d923=_0x14c989;return{'unitId':this[_0x52d923(0x174)],'subUnitId':this[_0x52d923(0x1f3)],'chartId':this['chartId'],'range':this[_0x52d923(0x1a1)],'sourceSheetName':this[_0x52d923(0x1a6)],'x':this['x'],'y':this['y'],'width':this[_0x52d923(0x19f)],'height':this['height'],'chartType':this[_0x52d923(0x1ce)],'options':this[_0x52d923(0x1b3)],'isRowDirection':this['transposeRowsAndColumns']};}}class P{constructor(_0x282aad,_0x13431c,_0x4f077d,_0x3bb6e3){const _0x1e8b0d=_0x14c989;n(this,'unitId'),n(this,_0x1e8b0d(0x1f3)),n(this,_0x1e8b0d(0x16b)),n(this,_0x1e8b0d(0x198)),(this[_0x1e8b0d(0x174)]=_0x282aad,this[_0x1e8b0d(0x1f3)]=_0x13431c,this[_0x1e8b0d(0x16b)]=_0x4f077d,this[_0x1e8b0d(0x198)]=_0x3bb6e3);}[_0x14c989(0x18e)](){const _0x327de7=_0x14c989;return this[_0x327de7(0x16b)];}['getRange'](){const _0x3b9283=_0x14c989,_0x1dd7f6=this[_0x3b9283(0x198)][_0x3b9283(0x1d2)](_0x1e7aea)[_0x3b9283(0x153)](this['chartId']);if(_0x1dd7f6)return _0x1dd7f6[_0x3b9283(0x1cb)][_0x3b9283(0x18b)]();}[_0x14c989(0x1a7)](_0x549dbb){const _0x2bb936=_0x14c989;return this[_0x2bb936(0x198)][_0x2bb936(0x1d2)](_0x245d9a)[_0x2bb936(0x14e)](_0x25b274['id'],{'unitId':this[_0x2bb936(0x174)],'chartModelId':this[_0x2bb936(0x16b)],'range':_0x549dbb});}[_0x14c989(0x1a2)](){const _0x538387=_0x14c989;var _0x2c519d;const _0x34012=this[_0x538387(0x198)][_0x538387(0x1d2)](_0x1e7aea)[_0x538387(0x153)](this[_0x538387(0x16b)]);if(_0x34012)return(_0x2c519d=_0x34012['config'])==null?void 0x0:_0x2c519d[_0x538387(0x19c)];}['getCategoryData'](){const _0x4a79a0=_0x14c989;var _0x1a8e10;const _0x3daaa1=this[_0x4a79a0(0x198)][_0x4a79a0(0x1d2)](_0x1e7aea)['getChartModel'](this['chartId']);if(_0x3daaa1)return(_0x1a8e10=_0x3daaa1[_0x4a79a0(0x1c5)])==null?void 0x0:_0x1a8e10['category'];}['modify'](){const _0x1ecb8d=_0x14c989,_0x4243d1=this[_0x1ecb8d(0x198)][_0x1ecb8d(0x1d2)](_0x480d2b)[_0x1ecb8d(0x1b9)](_0xef67ad[_0x1ecb8d(0x1dc)]);return new c(this[_0x1ecb8d(0x174)],this[_0x1ecb8d(0x1f3)],_0x4243d1,this['_injector'],this['chartId']);}}class $ extends _0xa5e49f{async[_0x14c989(0x195)](_0x3918df){const _0x1ac97f=_0x14c989;var _0x51b32b,_0x5762f0,_0x18877a;const _0x55eaaf=_0x3918df[_0x1ac97f(0x174)]||this[_0x1ac97f(0x1b4)]()[_0x1ac97f(0x1e1)](),_0x3711be=_0x3918df[_0x1ac97f(0x1f3)]||this[_0x1ac97f(0x17d)](),_0x242e21=_0x3918df[_0x1ac97f(0x16b)]||_0x4749a5(),_0x17f05a=_0x3918df[_0x1ac97f(0x1ce)],_0x3ba135=_0x3918df['range'],_0x17fe62=_0x3918df[_0x1ac97f(0x1a6)],_0x23e24c={'x':_0x3918df['x'],'y':_0x3918df['y']},_0x52347c=_0x3918df['width'],_0x337319=_0x3918df[_0x1ac97f(0x1da)],_0x1594e2=(_0x51b32b=_0x3918df[_0x1ac97f(0x1b3)])==null?void 0x0:_0x51b32b[_0x1ac97f(0x1c6)],_0xf691ce=(_0x5762f0=_0x3918df['options'])==null?void 0x0:_0x5762f0[_0x1ac97f(0x1c0)],_0x2c0f8f=C(_0x55eaaf,_0x242e21,_0x17f05a,_0x3918df[_0x1ac97f(0x1b3)]),_0x5c756e=(_0x18877a=_0x3918df[_0x1ac97f(0x17b)])!=null?_0x18877a:!0x0;if(!_0x3ba135)throw new Error(_0x1ac97f(0x1f5));return await this[_0x1ac97f(0x16f)][_0x1ac97f(0x14e)](_0xc6740b['id'],{'unitId':_0x55eaaf,'subUnitId':_0x3711be,'chartId':_0x242e21,'chartType':_0x17f05a,'range':_0x3ba135,'sourceSheetName':_0x17fe62,'position':_0x23e24c,'width':_0x52347c,'height':_0x337319,'backgroundColor':_0x1594e2,'borderColor':_0xf691ce,'config':_0x2c0f8f,'isRowDirection':_0x5c756e}),new P(_0x55eaaf,_0x3711be,_0x242e21,this['_injector']);}[_0x14c989(0x17f)](_0x3df274){const _0x4438e1=_0x14c989,{unitId:_0x3a1087,chartId:_0x39bd36,chartType:_0x3bd735,options:_0x2fba35}=_0x3df274,_0x117a28=C(_0x3a1087,_0x39bd36,_0x3bd735,_0x2fba35);this[_0x4438e1(0x16f)][_0x4438e1(0x14e)](_0x6581f3['id'],_0x117a28);}[_0x14c989(0x187)](_0x3c03a8){const _0x2d2b93=_0x14c989;if(_0x3c03a8)return new c(_0x3c03a8[_0x2d2b93(0x174)],_0x3c03a8[_0x2d2b93(0x1f3)],this['_workbook'],this['_injector'],_0x3c03a8[_0x2d2b93(0x16b)]);const _0x4f8110=this[_0x2d2b93(0x1b4)]()['getUnitId'](),_0x1f1534=this[_0x2d2b93(0x17d)]();return new c(_0x4f8110,_0x1f1534,this[_0x2d2b93(0x149)],this[_0x2d2b93(0x198)]);}[_0x14c989(0x16e)](){const _0x1aad5b=_0x14c989,_0x2cecf4=this['_injector'][_0x1aad5b(0x1d2)](_0x1e7aea),_0x45f387=this[_0x1aad5b(0x1b4)]()['getUnitId']();return _0x2cecf4['getUnitChartModels'](_0x45f387,this[_0x1aad5b(0x17d)]())[_0x1aad5b(0x146)](_0x3fbff7=>new P(_0x45f387,this['getSheetId'](),_0x3fbff7['id'],this[_0x1aad5b(0x198)]));}['removeChart'](_0x287ec6){const _0x157d07=_0x14c989,_0x566fec=_0x287ec6['unitId'],_0x163f01=_0x287ec6[_0x157d07(0x1f3)],_0x400cbc=_0x287ec6[_0x157d07(0x16b)],_0x346e01={'unitId':_0x566fec,'drawings':[{'unitId':_0x566fec,'subUnitId':_0x163f01,'drawingId':_0x400cbc,'drawingType':_0x4f9c4b[_0x157d07(0x165)]}]};return this['_commandService'][_0x157d07(0x14e)](_0x780251['id'],_0x346e01);}['registerChartTheme'](_0x436917,_0x544ba5){const _0x2406cd=_0x14c989;this['_injector'][_0x2406cd(0x1d2)](_0x1f6d83)[_0x2406cd(0x1ee)](_0x436917,_0x544ba5);}}_0xa5e49f[_0x14c989(0x188)]($);class tt extends _0x5c169c{get[_0x14c989(0x13c)](){return _0x5e78e8;}get['LegendPositionEnum'](){return _0x4b64cd;}get[_0x14c989(0x1e6)](){return _0x3b6b6a;}get[_0x14c989(0x1eb)](){return _0x42a4c5;}get['ChartBorderDashType'](){return _0x20fb03;}get[_0x14c989(0x1e5)](){return _0x8ea241;}get[_0x14c989(0x193)](){return _0x385552;}get[_0x14c989(0x1bd)](){return _0xefb375;}}_0x5c169c['extend'](tt);class et extends c{constructor(_0xd2213d,_0x71c5c7,_0x181481,_0x5bf0a1,_0x2c5f68){const _0x4f751e=_0x14c989;super(_0xd2213d,_0x71c5c7,_0x181481,_0x5bf0a1,_0x2c5f68),n(this,_0x4f751e(0x1dd)),n(this,_0x4f751e(0x16c)),n(this,_0x4f751e(0x16a)),n(this,_0x4f751e(0x18c));}[_0x14c989(0x1c2)](_0x458d7b){const _0x3b7b4a=_0x14c989;return this[_0x3b7b4a(0x1dd)]=_0x458d7b,this;}['setDataPointShape'](_0x498495){const _0x4ab10b=_0x14c989;return this[_0x4ab10b(0x16c)]=_0x498495,this;}[_0x14c989(0x172)](_0x2a931a){const _0x1a97ff=_0x14c989;return this[_0x1a97ff(0x16a)]=_0x2a931a,this;}[_0x14c989(0x190)](_0x26e27e){const _0x32d482=_0x14c989;return this[_0x32d482(0x18c)]=_0x26e27e,this;}[_0x14c989(0x1cd)](){const _0x3bb7ad=_0x14c989,_0x33eedd=super['build']();_0x33eedd[_0x3bb7ad(0x1ce)]=_0x5e78e8['Line'];const _0x59bf70=_0x33eedd[_0x3bb7ad(0x1b3)]||{};return s(_0x59bf70,_0x3bb7ad(0x15e),this[_0x3bb7ad(0x1dd)]),s(_0x59bf70,_0x3bb7ad(0x1df),this[_0x3bb7ad(0x16c)]),s(_0x59bf70,_0x3bb7ad(0x17e),this[_0x3bb7ad(0x16a)]),s(_0x59bf70,_0x3bb7ad(0x1ac),this[_0x3bb7ad(0x18c)]),_0x33eedd[_0x3bb7ad(0x1b3)]=_0x59bf70,_0x33eedd;}}class it extends c{[_0x14c989(0x13d)](){const _0x59bf39=_0x14c989;return new et(this['unitId'],this[_0x59bf39(0x1f3)],this[_0x59bf39(0x149)],this['_injector'],this[_0x59bf39(0x16b)]);}}c['extend'](it);class st extends c{constructor(_0x456ff8,_0x21a4a8,_0x3591de,_0x390a41,_0x4e1178){const _0x1adca1=_0x14c989;super(_0x456ff8,_0x21a4a8,_0x3591de,_0x390a41,_0x4e1178),n(this,_0x1adca1(0x19a)),n(this,'borderColor'),n(this,_0x1adca1(0x157)),n(this,'isHalfPie'),n(this,'rosePie'),n(this,'showLabelLine');}[_0x14c989(0x159)](_0x17b0fe){const _0x5d264=_0x14c989;return this[_0x5d264(0x19a)]=_0x17b0fe,this;}[_0x14c989(0x163)](_0x160e43){return this['borderColor']=_0x160e43,this;}[_0x14c989(0x167)](_0x374165){return this['hasPaddingAngle']=_0x374165,this;}[_0x14c989(0x1c3)](_0x1e9596){const _0x2ec58a=_0x14c989;return this[_0x2ec58a(0x13e)]=_0x1e9596,this;}[_0x14c989(0x147)](_0x419843){const _0x4d24d6=_0x14c989;return this[_0x4d24d6(0x1d8)]=_0x419843,this;}[_0x14c989(0x15b)](_0x2a8aca){const _0x5ccfb7=_0x14c989;return this[_0x5ccfb7(0x1af)]=_0x2a8aca,this;}['build'](){const _0x2c32a0=_0x14c989,_0x2f35a0=super[_0x2c32a0(0x1cd)]();_0x2f35a0[_0x2c32a0(0x1ce)]=_0x5e78e8['Pie'];const _0x3eef6e=_0x2f35a0[_0x2c32a0(0x1b3)]||{};return s(_0x3eef6e,_0x2c32a0(0x1ba),this['doughnutHole']),s(_0x3eef6e,_0x2c32a0(0x156),this[_0x2c32a0(0x1c0)]),s(_0x3eef6e,_0x2c32a0(0x158),this['hasPaddingAngle']),s(_0x3eef6e,_0x2c32a0(0x1cf),this[_0x2c32a0(0x13e)]),s(_0x3eef6e,_0x2c32a0(0x1d1),this[_0x2c32a0(0x1d8)]),s(_0x3eef6e,'pie.showLabelLine',this[_0x2c32a0(0x1af)]),_0x2f35a0[_0x2c32a0(0x1b3)]=_0x3eef6e,_0x2f35a0;}}class rt extends c{[_0x14c989(0x140)](){const _0xd05af=_0x14c989;return new st(this['unitId'],this[_0xd05af(0x1f3)],this[_0xd05af(0x149)],this[_0xd05af(0x198)],this['chartId']);}}c[_0x14c989(0x188)](rt);class ot extends c{constructor(_0xdc12c3,_0x3fc583,_0x339f53,_0xf23960,_0x1e5d23){const _0x53774e=_0x14c989;super(_0xdc12c3,_0x3fc583,_0x339f53,_0xf23960,_0x1e5d23),n(this,_0x53774e(0x1f1)),n(this,'fill');}['setShape'](_0x1e8418){const _0x521687=_0x14c989;return this[_0x521687(0x1f1)]=_0x1e8418,this;}[_0x14c989(0x1e4)](_0x23a37a){const _0x36d496=_0x14c989;return this[_0x36d496(0x15f)]=_0x23a37a,this;}[_0x14c989(0x1cd)](){const _0x5987ad=_0x14c989,_0x9341ad=super[_0x5987ad(0x1cd)]();_0x9341ad['chartType']=_0x5e78e8[_0x5987ad(0x14d)];const _0x43a173=_0x9341ad[_0x5987ad(0x1b3)]||{};return s(_0x43a173,_0x5987ad(0x152),this[_0x5987ad(0x1f1)]),s(_0x43a173,'radar.fill',this[_0x5987ad(0x15f)]),_0x9341ad[_0x5987ad(0x1b3)]=_0x43a173,_0x9341ad;}}class nt extends c{[_0x14c989(0x18d)](){const _0x1f8c9c=_0x14c989;return new ot(this['unitId'],this[_0x1f8c9c(0x1f3)],this[_0x1f8c9c(0x149)],this[_0x1f8c9c(0x198)],this[_0x1f8c9c(0x16b)]);}}c[_0x14c989(0x188)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};function _0x14fa(){const _0x1c3574=['Radar','executeCommand','position','addRange','theme','radar.shape','getChartModel','titles.xAxisTitle.font','titles.xAxisTitle.content','pie.borderColor','hasPaddingAngle','pie.hasPaddingAngle','setDoughnutHole','allSeriesStyle.point','setShowLabelLine','setRightYAxisTitle','left','area.lineStyle','fill','setInvalidValueStrategy','setPosition','tooltip.indicatorLabelTextColor','setBorderColor','titles.title.align','DRAWING_CHART','label','setHasPaddingAngle','axisPointer','yAxis','dataPointColor','chartId','dataPointShape','legend.position','getCharts','_commandService','allSeriesStyle.rightYAxis','tooltip.indicatorLabelColor','setDataPointColor','titles.rightYAxisTitle.color','unitId','fontSize','legend.label.color','titles.rightYAxisTitle.font','axisAlignment','defineProperty','setYAxisTextStyle','isRowDirection','bold','getSheetId','allSeriesStyle.point.color','updateChart','tooltip.indicatorLineColor','fontColor','titles.title.bold','radar','titles.xAxisTitle.bold','xAxis','setXAxisTitle','newChart','extend','context','setAllSeriesStyle','getRangeInfo','dataPointSize','asRadarChart','getChartId','setWidth','setDataPointSize','244JKiNnv','470736zbXrje','TitlePositionEnum','2486898kojDEM','insertChart','rightYAxisTitle','titles.yAxisTitle.fontSize','_injector','allSeriesStyle.label','doughnutHole','setHeight','series','keys','clearRange','width','transposeRowsAndColumns','range','getSeriesData','504464iMeVKh','titles.titlePosition','getChartType','sourceSheetName','updateRange','italic','fontStyle','titles.xAxisTitle.color','titles.yAxisTitle.font','allSeriesStyle.point.size','setOptions','indicatorLineType','showLabelLine','setChartType','allSeriesStyle.border','975064sEfAmI','options','getWorkbook','style','getRenderById','top','setAxisPointerStyle','getCurrentUnitForType','pie.doughnutHole','setYAxisTitle','setTheme','RadarShape','legend.label.fontSize','2163056SsSIeU','borderColor','setRightYAxisTextStyle','setLineStyle','setIsHalfPie','indicatorLabelTextColor','config','backgroundColor','allSeriesStyle','titles.xAxisTitle.fontSize','content','length','dataSource','pie','build','chartType','pie.isHalfPie','xAxisTitle','pie.rosePie','get','titles.title.content','titles.title.family','legend','border','pie.showLabelLine','rosePie','legend.label.bold','height','yAxis.label.axisTitleAlign','UNIVER_SHEET','lineStyle','selectMode','allSeriesStyle.point.shape','titles.title.color','getUnitId','invalidValueType','seriesStyleMap','setFill','LinePointShape','SelectModeEnum','379620UVCukN','xAxis.label.axisTitleAlign','titles.title.fontSize','font','AxisAlignEnum','symbol','setTransposeRowsAndColumns','registerTheme','title','titleAlignment','shape','25715kMJBLt','subUnitId','yAxisTitle','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','ChartType','asLineChart','isHalfPie','area','asPieChart','titles.rightYAxisTitle.fontSize','titles.rightYAxisTitle.content','titles.rightYAxisTitle.bold','rightYAxis','gradientFill','map','setRosePie','point','_workbook','sheetName','setAbsolutePosition','with'];_0x14fa=function(){return _0x1c3574;};return _0x14fa();}
|
|
1
|
+
const _0x3c1d27=_0x236a;(function(_0x2a89aa,_0x3a83d2){const _0xbfd96e=_0x236a,_0x50622c=_0x2a89aa();while(!![]){try{const _0x287c95=parseInt(_0xbfd96e(0x179))/0x1+-parseInt(_0xbfd96e(0x177))/0x2*(-parseInt(_0xbfd96e(0x109))/0x3)+-parseInt(_0xbfd96e(0xed))/0x4*(-parseInt(_0xbfd96e(0x13b))/0x5)+-parseInt(_0xbfd96e(0x106))/0x6*(-parseInt(_0xbfd96e(0x14e))/0x7)+-parseInt(_0xbfd96e(0x118))/0x8+parseInt(_0xbfd96e(0x150))/0x9*(-parseInt(_0xbfd96e(0x126))/0xa)+-parseInt(_0xbfd96e(0xe1))/0xb;if(_0x287c95===_0x3a83d2)break;else _0x50622c['push'](_0x50622c['shift']());}catch(_0x5de4e6){_0x50622c['push'](_0x50622c['shift']());}}}(_0x4d8f,0xde24e));var R=Object[_0x3c1d27(0x146)],k=(_0x2f8ea4,_0x220614,_0x4b4ffc)=>_0x220614 in _0x2f8ea4?R(_0x2f8ea4,_0x220614,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b4ffc}):_0x2f8ea4[_0x220614]=_0x4b4ffc,n=(_0x5bea3a,_0x501378,_0x823b20)=>k(_0x5bea3a,typeof _0x501378!=_0x3c1d27(0x10d)?_0x501378+'':_0x501378,_0x823b20);import{ChartThemeService as _0xf959e3,ChartTypeBits as _0x37529d,LegendPositionEnum as _0x323c95,SelectModeEnum as _0x209f30,AxisAlignEnum as _0x5df00c,ChartBorderDashType as _0x1ff266,LinePointShape as _0x2c1298,TitlePositionEnum as _0x1541cf,RadarShape as _0x18245f}from'@univerjs-pro/engine-chart';function _0x4d8f(){const _0x56378a=['setAllSeriesStyle','legend.selectMode','getUnitChartModels','_injector','insertChart','yRightAxis','rightYAxisTitle','executeCommand','updateRange','invalidValueType','allSeriesStyle.border','setDataPointSize','yAxis.label.axisTitleAlign','dataPointColor','sheetName','fontSize','config','hasPaddingAngle','getRange','axisAlignment','setRosePie','allSeriesStyle.point.size','area','ChartType','AxisAlignEnum','with','rightYAxis','titles.title.bold','rosePie','6338UBYxmC','titles.title.content','1723993IUZwDF','keys','dataPointSize','titles.yAxisTitle.font','titles.rightYAxisTitle.bold','tooltip.indicatorLineType','legend.position','shape','setYAxisTextStyle','extend','pie.hasPaddingAngle','DRAWING_CHART','setXAxisTextStyle','setRightYAxisTitle','border','bold','setTransposeRowsAndColumns','getRenderById','selectMode','asLineChart','TitlePositionEnum','allSeriesStyle.rightYAxis','unitId','allSeriesStyle.point.shape','allSeriesStyle','setLineStyle','pie.borderColor','allSeriesStyle.color','lineStyle','build','setInvalidValueStrategy','titles.rightYAxisTitle.family','Pie','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','options','theme','chartId','category','titles.title.font','font','allSeriesStyle.point.color','xAxisTitle','LegendPositionEnum','radar','titles.titlePosition','newChart','31401282NOFPFm','setSeriesStyle','modify','getCurrentUnitForType','pie','_commandService','LinePointShape','removeChart','pie.isHalfPie','getWorkbook','fill','yAxisTitle','624VZxjgM','titles.rightYAxisTitle.color','legend.label.italic','ChartBorderDashType','string','sourceSheetName','getCategoryData','pie.showLabelLine','setAxisPointerStyle','legend','context','titles.xAxisTitle.content','setIsHalfPie','legend.label.color','titles.xAxisTitle.fontSize','setShape','Radar','getSeriesData','pie.doughnutHole','isHalfPie','titles.rightYAxisTitle.content','area.lineStyle','xAxis','borderColor','getChartId','12LsLsIv','left','setAbsolutePosition','1635ctHrcK','titles.yAxisTitle.content','asPieChart','fontColor','symbol','dataPointShape','seriesStyleMap','style','addRange','setOptions','chartType','getChartModel','titles.yAxisTitle.bold','setDataPointColor','setChartType','11326080CjSRvw','map','titles.title.fontSize','showLabelLine','get','height','asRadarChart','_workbook','pie.rosePie','xAxis.label.axisTitleAlign','point','updateChart','range','gradientFill','320IsQgmu','setPosition','setHasPaddingAngle','width','setRightYAxisTextStyle','titleAlignment','fontStyle','titles.title.align','setHeight','titles.xAxisTitle.color','registerTheme','yAxis','getChartType','position','titles.xAxisTitle.font','setBorderColor','backgroundColor','series','indicatorLineType','length','titles.yAxisTitle.family','16855fgalCs','label','setTheme','titles.xAxisTitle.bold','titles.xAxisTitle.family','indicatorLabelColor','setDoughnutHole','getRangeInfo','subUnitId','color','setXAxisTitle','defineProperty','content','tooltip.indicatorLineColor','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','titles.rightYAxisTitle.font','axisPointer','title','getUnitId','5166413WjQxgX','dataSource','76716dOEZDd','indicatorLineColor','italic','legend.label.fontSize','UNIVER_SHEET','transposeRowsAndColumns','getSheetId','setDataPointShape','tooltip.indicatorLabelColor','doughnutHole'];_0x4d8f=function(){return _0x56378a;};return _0x4d8f();}import{setProperty as _0x340f55,SheetsChartService as _0x442ada,ChartUpdateSourceCommand as _0x18b6ae,ChartUpdateConfigCommand as _0x24732b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x5c5dae}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x375c04,IUniverInstanceService as _0x1e9419,UniverInstanceType as _0x5490d6,generateRandomId as _0x257305,DrawingTypeEnum as _0x4c014f}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x548ec0}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x392652}from'@univerjs/sheets/facade';import{FBase as _0x543c58,FEnum as _0x3cfbf9}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x3dd2bd}from'@univerjs/engine-formula';import{IRenderManagerService as _0x26115f}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x2a1f1e,SheetSkeletonManagerService as _0x1fa45e,convertPositionCellToSheetOverGrid as _0x2ea764}from'@univerjs/sheets-ui';const s=(_0x32470f,_0xa24fd1,_0xdcbfba)=>{_0xdcbfba!==void 0x0&&_0x340f55(_0x32470f,_0xa24fd1,_0xdcbfba);},C=(_0x3ecd80,_0x46f202,_0x15d552,_0x4e39bb={})=>{const _0x28222e=_0x3c1d27,_0x40fc70={},_0x32f389={};if(_0x4e39bb[_0x28222e(0x14c)]){const _0x709331=_0x4e39bb['title'];s(_0x40fc70,_0x28222e(0x178),_0x709331[_0x28222e(0x147)]),s(_0x40fc70,_0x28222e(0xd9),_0x709331[_0x28222e(0xda)]),s(_0x40fc70,_0x28222e(0x11a),_0x709331[_0x28222e(0x169)]),s(_0x40fc70,'titles.title.color',_0x709331[_0x28222e(0x10c)]),s(_0x40fc70,'titles.title.family',_0x709331[_0x28222e(0x12c)]),s(_0x40fc70,_0x28222e(0x175),_0x709331[_0x28222e(0xc2)]),s(_0x40fc70,_0x28222e(0x12d),_0x709331[_0x28222e(0x12b)]),s(_0x40fc70,_0x28222e(0xdf),_0x709331[_0x28222e(0x133)]);}if(_0x4e39bb['legend']){const _0x15236d=_0x4e39bb[_0x28222e(0xf6)];s(_0x40fc70,_0x28222e(0x17f),_0x15236d[_0x28222e(0x133)]),s(_0x40fc70,_0x28222e(0x15b),_0x15236d[_0x28222e(0xc5)]),s(_0x40fc70,_0x28222e(0x153),_0x15236d[_0x28222e(0x169)]),s(_0x40fc70,_0x28222e(0xfa),_0x15236d[_0x28222e(0x144)]),s(_0x40fc70,'legend.label.bold',_0x15236d[_0x28222e(0xc2)]),s(_0x40fc70,_0x28222e(0xef),_0x15236d[_0x28222e(0x152)]);}if(_0x4e39bb['pie']){const _0x4d42fd=_0x4e39bb[_0x28222e(0xe5)];s(_0x40fc70,_0x28222e(0xff),_0x4d42fd['doughnutHole']),s(_0x40fc70,_0x28222e(0xcd),_0x4d42fd[_0x28222e(0x104)]),s(_0x40fc70,_0x28222e(0xbd),_0x4d42fd[_0x28222e(0x16b)]),s(_0x40fc70,'pie.isHalfPie',_0x4d42fd['isHalfPie']),s(_0x40fc70,_0x28222e(0x120),_0x4d42fd[_0x28222e(0x176)]),s(_0x40fc70,_0x28222e(0xf4),_0x4d42fd[_0x28222e(0x11b)]);}if(_0x4e39bb['axisPointer']){const _0xc0c012=_0x4e39bb['axisPointer'];s(_0x40fc70,_0x28222e(0x158),_0xc0c012[_0x28222e(0x140)]),s(_0x40fc70,_0x28222e(0x17e),_0xc0c012[_0x28222e(0x138)]),s(_0x40fc70,_0x28222e(0x148),_0xc0c012[_0x28222e(0x151)]),s(_0x40fc70,'tooltip.indicatorLabelTextColor',_0xc0c012['indicatorLabelTextColor']);}if(_0x4e39bb['allSeriesStyle']&&(s(_0x40fc70,_0x28222e(0x164),_0x4e39bb[_0x28222e(0xcb)][_0x28222e(0xc1)]),s(_0x40fc70,'allSeriesStyle.label',_0x4e39bb[_0x28222e(0xcb)][_0x28222e(0x13c)]),s(_0x40fc70,_0x28222e(0xc8),_0x4e39bb[_0x28222e(0xcb)]['rightYAxis']),s(_0x40fc70,'allSeriesStyle.point',_0x4e39bb['allSeriesStyle'][_0x28222e(0x122)]),s(_0x40fc70,_0x28222e(0xce),_0x4e39bb[_0x28222e(0xcb)][_0x28222e(0x144)])),_0x4e39bb[_0x28222e(0x170)]&&s(_0x40fc70,_0x28222e(0x102),_0x4e39bb[_0x28222e(0x170)][_0x28222e(0xcf)]),_0x4e39bb['theme']&&s(_0x40fc70,_0x28222e(0xd6),_0x4e39bb['theme']),_0x4e39bb[_0x28222e(0x136)]&&s(_0x40fc70,'backgroundColor',_0x4e39bb[_0x28222e(0x136)]),_0x4e39bb[_0x28222e(0x104)]&&s(_0x40fc70,'borderColor',_0x4e39bb['borderColor']),_0x4e39bb['gradientFill']&&s(_0x40fc70,_0x28222e(0x125),_0x4e39bb[_0x28222e(0x125)]),_0x4e39bb[_0x28222e(0x163)]&&s(_0x40fc70,'invalidValueType',_0x4e39bb[_0x28222e(0x163)]),_0x4e39bb[_0x28222e(0xde)]&&s(_0x40fc70,_0x28222e(0xde),_0x4e39bb['radar']),_0x4e39bb[_0x28222e(0xdc)]){const _0x479f4b=_0x4e39bb[_0x28222e(0xdc)];s(_0x40fc70,_0x28222e(0xf8),_0x479f4b[_0x28222e(0x147)]),s(_0x40fc70,_0x28222e(0x134),_0x479f4b[_0x28222e(0xda)]),s(_0x40fc70,_0x28222e(0xfb),_0x479f4b['fontSize']),s(_0x40fc70,_0x28222e(0x12f),_0x479f4b[_0x28222e(0x10c)]),s(_0x40fc70,_0x28222e(0x13f),_0x479f4b[_0x28222e(0x12c)]),s(_0x40fc70,_0x28222e(0x13e),_0x479f4b[_0x28222e(0xc2)]),s(_0x40fc70,_0x28222e(0x121),_0x479f4b['axisAlignment']);}if(_0x4e39bb[_0x28222e(0xec)]){const _0x1493d5=_0x4e39bb['yAxisTitle'];s(_0x40fc70,_0x28222e(0x10a),_0x1493d5[_0x28222e(0x147)]),s(_0x40fc70,_0x28222e(0x17c),_0x1493d5[_0x28222e(0xda)]),s(_0x40fc70,'titles.yAxisTitle.fontSize',_0x1493d5[_0x28222e(0x169)]),s(_0x40fc70,'titles.yAxisTitle.color',_0x1493d5[_0x28222e(0x10c)]),s(_0x40fc70,_0x28222e(0x13a),_0x1493d5[_0x28222e(0x12c)]),s(_0x40fc70,_0x28222e(0x115),_0x1493d5[_0x28222e(0xc2)]),s(_0x40fc70,_0x28222e(0x166),_0x1493d5[_0x28222e(0x16d)]);}if(_0x4e39bb[_0x28222e(0x160)]){const _0x371c61=_0x4e39bb['rightYAxisTitle'];s(_0x40fc70,_0x28222e(0x101),_0x371c61[_0x28222e(0x147)]),s(_0x40fc70,_0x28222e(0x14a),_0x371c61[_0x28222e(0xda)]),s(_0x40fc70,'titles.rightYAxisTitle.fontSize',_0x371c61[_0x28222e(0x169)]),s(_0x40fc70,_0x28222e(0xee),_0x371c61[_0x28222e(0x10c)]),s(_0x40fc70,_0x28222e(0xd2),_0x371c61[_0x28222e(0x12c)]),s(_0x40fc70,_0x28222e(0x17d),_0x371c61['bold']),s(_0x40fc70,'rightYAxis.label.axisTitleAlign',_0x371c61[_0x28222e(0x16d)]);}_0x4e39bb['xAxis']&&s(_0x40fc70,_0x28222e(0x103),_0x4e39bb[_0x28222e(0x103)]),_0x4e39bb[_0x28222e(0x131)]&&s(_0x40fc70,_0x28222e(0x131),_0x4e39bb[_0x28222e(0x131)]),_0x4e39bb[_0x28222e(0x15f)]&&s(_0x40fc70,_0x28222e(0x174),_0x4e39bb['yRightAxis']),_0x4e39bb['seriesStyleMap']&&s(_0x40fc70,'seriesStyleMap',_0x4e39bb[_0x28222e(0x10f)]);const _0x3d84c1={'unitId':_0x3ecd80,'chartModelId':_0x46f202};let _0x4697b2=!0x1;if(_0x15d552!==void 0x0&&(_0x3d84c1[_0x28222e(0x113)]=_0x15d552,_0x4697b2=!0x0),Object[_0x28222e(0x17a)](_0x40fc70)[_0x28222e(0x139)]>0x0&&(_0x3d84c1[_0x28222e(0x110)]=_0x40fc70,_0x4697b2=!0x0),Object[_0x28222e(0x17a)](_0x32f389)[_0x28222e(0x139)]>0x0&&(_0x3d84c1[_0x28222e(0xf7)]=_0x32f389,_0x4697b2=!0x0),_0x4697b2)return _0x3d84c1;};class c extends _0x543c58{constructor(_0x2b1b44,_0x20f66e,_0x11e813,_0x9d9c8c,_0x3e3379){const _0x2ddc7e=_0x3c1d27;super(),n(this,_0x2ddc7e(0x11f)),n(this,_0x2ddc7e(0x15d)),n(this,_0x2ddc7e(0xc9)),n(this,'subUnitId'),n(this,_0x2ddc7e(0xd7)),n(this,_0x2ddc7e(0x124)),n(this,_0x2ddc7e(0xf2)),n(this,'x'),n(this,'y'),n(this,_0x2ddc7e(0x129)),n(this,_0x2ddc7e(0x11d)),n(this,_0x2ddc7e(0x113)),n(this,_0x2ddc7e(0xd5)),n(this,_0x2ddc7e(0x155)),(this[_0x2ddc7e(0xc9)]=_0x2b1b44,this[_0x2ddc7e(0x143)]=_0x20f66e,this[_0x2ddc7e(0x11f)]=_0x11e813,this[_0x2ddc7e(0x15d)]=_0x9d9c8c,_0x3e3379&&(this[_0x2ddc7e(0xd7)]=_0x3e3379));}[_0x3c1d27(0x132)](){const _0x3782c8=_0x3c1d27;return this[_0x3782c8(0x113)];}[_0x3c1d27(0x111)](_0x4f8283){const _0x14807e=_0x3c1d27;if(typeof _0x4f8283==_0x14807e(0xf1)){const _0x56a549=_0x3dd2bd(_0x4f8283);_0x56a549[_0x14807e(0x168)]&&(this[_0x14807e(0xf2)]=_0x56a549['sheetName']),this[_0x14807e(0x124)]=_0x56a549[_0x14807e(0x124)];}else this[_0x14807e(0x124)]=_0x4f8283;return this;}['clearRange'](){const _0x36c15c=_0x3c1d27;return this[_0x36c15c(0x124)]=void 0x0,this[_0x36c15c(0xf2)]=void 0x0,this;}[_0x3c1d27(0x127)](_0x55a3d9,_0x2e7a16,_0x300137,_0x1d6f8a){const _0x4668e3=_0x3c1d27,_0x323a66=this[_0x4668e3(0x15d)][_0x4668e3(0x11c)](_0x26115f)[_0x4668e3(0xc4)](this[_0x4668e3(0xc9)]);if(!_0x323a66)throw new Error(_0x4668e3(0xd4));const _0x5518a9=_0x323a66[_0x4668e3(0x173)](_0x2a1f1e),_0x2c434c=_0x323a66[_0x4668e3(0x173)](_0x1fa45e),{transform:_0x3b31ca}=_0x2ea764(this['unitId'],this[_0x4668e3(0x143)],{'row':_0x55a3d9,'column':_0x2e7a16,'rowOffset':_0x300137,'columnOffset':_0x1d6f8a},0x1,0x1,_0x5518a9,_0x2c434c),_0x1279be=_0x3b31ca['top'],_0x49ebdc=_0x3b31ca[_0x4668e3(0x107)];return this['x']=_0x49ebdc,this['y']=_0x1279be,this;}[_0x3c1d27(0x108)](_0xd235fd,_0x1e4d37){return this['x']=_0xd235fd,this['y']=_0x1e4d37,this;}[_0x3c1d27(0x117)](_0x39731d){const _0x48a322=_0x3c1d27;return this[_0x48a322(0x113)]=_0x39731d,this;}['setWidth'](_0x3b8ba2){const _0x2fbb3b=_0x3c1d27;return this[_0x2fbb3b(0x129)]=_0x3b8ba2,this;}[_0x3c1d27(0x12e)](_0x5c1b2d){const _0x18f76f=_0x3c1d27;return this[_0x18f76f(0x11d)]=_0x5c1b2d,this;}[_0x3c1d27(0x112)](_0x2ffe94,_0x5ef241){const _0x513ad9=_0x3c1d27;return this[_0x513ad9(0xd5)]||(this[_0x513ad9(0xd5)]={}),_0x2ffe94===''?(this[_0x513ad9(0xd5)]={...this[_0x513ad9(0xd5)],..._0x5ef241},this):(_0x340f55(this[_0x513ad9(0xd5)],_0x2ffe94,_0x5ef241),this);}[_0x3c1d27(0xc3)](_0x54d74b){const _0x4ccc77=_0x3c1d27;return this[_0x4ccc77(0x155)]=_0x54d74b,this;}[_0x3c1d27(0x13d)](_0x16b10b){const _0x4698d4=_0x3c1d27;return this[_0x4698d4(0x112)](_0x4698d4(0xd6),_0x16b10b),this;}[_0x3c1d27(0x145)](_0x3fce56){const _0x461efc=_0x3c1d27;var _0x433fe0;const _0x2f051c=((_0x433fe0=this[_0x461efc(0xd5)])==null?void 0x0:_0x433fe0['xAxisTitle'])||{};return _0x2f051c[_0x461efc(0x147)]=_0x3fce56,this['setOptions']('xAxisTitle',_0x2f051c),this;}['setYAxisTitle'](_0x26403d){const _0xe1b931=_0x3c1d27;var _0x4aaf0c;const _0x4e72b1=((_0x4aaf0c=this['options'])==null?void 0x0:_0x4aaf0c[_0xe1b931(0xec)])||{};return _0x4e72b1[_0xe1b931(0x147)]=_0x26403d,this[_0xe1b931(0x112)](_0xe1b931(0xec),_0x4e72b1),this;}[_0x3c1d27(0xc0)](_0x3aa3f4){const _0x489c30=_0x3c1d27;var _0x44463c;const _0x2eb3bd=((_0x44463c=this[_0x489c30(0xd5)])==null?void 0x0:_0x44463c[_0x489c30(0x160)])||{};return _0x2eb3bd['content']=_0x3aa3f4,this[_0x489c30(0x112)](_0x489c30(0x160),_0x2eb3bd),this;}[_0x3c1d27(0xbf)](_0x195d4d){const _0x5ab979=_0x3c1d27;var _0x10dc99;const _0x2488c9=((_0x10dc99=this[_0x5ab979(0xd5)])==null?void 0x0:_0x10dc99[_0x5ab979(0xdc)])||{};return this[_0x5ab979(0x112)](_0x5ab979(0xdc),{..._0x2488c9,..._0x195d4d}),this;}[_0x3c1d27(0xbb)](_0x4681a3){const _0xe57607=_0x3c1d27;var _0x41bb5e;const _0x508459=((_0x41bb5e=this[_0xe57607(0xd5)])==null?void 0x0:_0x41bb5e[_0xe57607(0xec)])||{};return this[_0xe57607(0x112)](_0xe57607(0xec),{..._0x508459,..._0x4681a3}),this;}[_0x3c1d27(0x12a)](_0x4e3126){const _0x54493f=_0x3c1d27;var _0x149515;const _0x3949c4=((_0x149515=this[_0x54493f(0xd5)])==null?void 0x0:_0x149515[_0x54493f(0x160)])||{};return this[_0x54493f(0x112)](_0x54493f(0x160),{..._0x3949c4,..._0x4e3126}),this;}[_0x3c1d27(0xd1)](_0x3fc227){return this['setOptions']('invalidValueType',_0x3fc227),this;}[_0x3c1d27(0xf5)](_0x3dd33a){const _0x240536=_0x3c1d27;return this['setOptions'](_0x240536(0x14b),_0x3dd33a),this;}[_0x3c1d27(0x15a)](_0x5bf906){const _0x5b11be=_0x3c1d27;return this[_0x5b11be(0x112)](_0x5b11be(0xcb),_0x5bf906),this;}[_0x3c1d27(0xe2)](_0x1afa5b,_0x4e5c57){const _0x540e1e=_0x3c1d27;return this[_0x540e1e(0x112)](_0x540e1e(0x10f),{[_0x1afa5b]:_0x4e5c57}),this;}[_0x3c1d27(0xd0)](){const _0x5e34bb=_0x3c1d27;return{'unitId':this[_0x5e34bb(0xc9)],'subUnitId':this[_0x5e34bb(0x143)],'chartId':this[_0x5e34bb(0xd7)],'range':this[_0x5e34bb(0x124)],'sourceSheetName':this[_0x5e34bb(0xf2)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this['height'],'chartType':this['chartType'],'options':this[_0x5e34bb(0xd5)],'isRowDirection':this[_0x5e34bb(0x155)]};}}class P{constructor(_0x420e3a,_0x145a7c,_0x359bb5,_0x1e44fd){const _0x289654=_0x3c1d27;n(this,_0x289654(0xc9)),n(this,'subUnitId'),n(this,_0x289654(0xd7)),n(this,_0x289654(0x15d)),(this[_0x289654(0xc9)]=_0x420e3a,this[_0x289654(0x143)]=_0x145a7c,this[_0x289654(0xd7)]=_0x359bb5,this[_0x289654(0x15d)]=_0x1e44fd);}[_0x3c1d27(0x105)](){const _0x113472=_0x3c1d27;return this[_0x113472(0xd7)];}[_0x3c1d27(0x16c)](){const _0x3a8124=_0x3c1d27,_0x5c8c58=this['_injector']['get'](_0x442ada)[_0x3a8124(0x114)](this[_0x3a8124(0xd7)]);if(_0x5c8c58)return _0x5c8c58[_0x3a8124(0x14f)][_0x3a8124(0x142)]();}[_0x3c1d27(0x162)](_0xd25701){const _0x4496f3=_0x3c1d27;return this[_0x4496f3(0x15d)]['get'](_0x375c04)[_0x4496f3(0x161)](_0x18b6ae['id'],{'unitId':this[_0x4496f3(0xc9)],'chartModelId':this[_0x4496f3(0xd7)],'range':_0xd25701});}[_0x3c1d27(0xfe)](){const _0x315fb5=_0x3c1d27;var _0x4822e1;const _0xb449a8=this[_0x315fb5(0x15d)][_0x315fb5(0x11c)](_0x442ada)[_0x315fb5(0x114)](this[_0x315fb5(0xd7)]);if(_0xb449a8)return(_0x4822e1=_0xb449a8['config'])==null?void 0x0:_0x4822e1[_0x315fb5(0x137)];}[_0x3c1d27(0xf3)](){const _0x591b51=_0x3c1d27;var _0x2f87f2;const _0x5ef5dd=this['_injector'][_0x591b51(0x11c)](_0x442ada)['getChartModel'](this[_0x591b51(0xd7)]);if(_0x5ef5dd)return(_0x2f87f2=_0x5ef5dd[_0x591b51(0x16a)])==null?void 0x0:_0x2f87f2[_0x591b51(0xd8)];}[_0x3c1d27(0xe3)](){const _0x4c0e2a=_0x3c1d27,_0x48d496=this[_0x4c0e2a(0x15d)][_0x4c0e2a(0x11c)](_0x1e9419)[_0x4c0e2a(0xe4)](_0x5490d6[_0x4c0e2a(0x154)]);return new c(this[_0x4c0e2a(0xc9)],this[_0x4c0e2a(0x143)],_0x48d496,this['_injector'],this[_0x4c0e2a(0xd7)]);}}class $ extends _0x392652{async[_0x3c1d27(0x15e)](_0x3ced29){const _0x38be70=_0x3c1d27;var _0x4c5546,_0x2fe8ff,_0x325812;const _0x25c4e3=_0x3ced29[_0x38be70(0xc9)]||this[_0x38be70(0xea)]()[_0x38be70(0x14d)](),_0x436452=_0x3ced29[_0x38be70(0x143)]||this[_0x38be70(0x156)](),_0x5876b6=_0x3ced29[_0x38be70(0xd7)]||_0x257305(),_0x429121=_0x3ced29[_0x38be70(0x113)],_0x3e23cc=_0x3ced29[_0x38be70(0x124)],_0x116806=_0x3ced29[_0x38be70(0xf2)],_0x240cec={'x':_0x3ced29['x'],'y':_0x3ced29['y']},_0x486e1a=_0x3ced29[_0x38be70(0x129)],_0x332920=_0x3ced29[_0x38be70(0x11d)],_0xe5623=(_0x4c5546=_0x3ced29['options'])==null?void 0x0:_0x4c5546[_0x38be70(0x136)],_0x5ace0d=(_0x2fe8ff=_0x3ced29['options'])==null?void 0x0:_0x2fe8ff['borderColor'],_0x4c0818=C(_0x25c4e3,_0x5876b6,_0x429121,_0x3ced29[_0x38be70(0xd5)]),_0x300dad=(_0x325812=_0x3ced29['isRowDirection'])!=null?_0x325812:!0x0;if(!_0x3e23cc)throw new Error(_0x38be70(0x149));return await this[_0x38be70(0xe6)][_0x38be70(0x161)](_0x5c5dae['id'],{'unitId':_0x25c4e3,'subUnitId':_0x436452,'chartId':_0x5876b6,'chartType':_0x429121,'range':_0x3e23cc,'sourceSheetName':_0x116806,'position':_0x240cec,'width':_0x486e1a,'height':_0x332920,'backgroundColor':_0xe5623,'borderColor':_0x5ace0d,'config':_0x4c0818,'isRowDirection':_0x300dad}),new P(_0x25c4e3,_0x436452,_0x5876b6,this[_0x38be70(0x15d)]);}[_0x3c1d27(0x123)](_0xbf19a7){const _0xbe324b=_0x3c1d27,{unitId:_0x4437dd,chartId:_0x1550ee,chartType:_0x210b4f,options:_0x49f690}=_0xbf19a7,_0x4568e1=C(_0x4437dd,_0x1550ee,_0x210b4f,_0x49f690);this[_0xbe324b(0xe6)][_0xbe324b(0x161)](_0x24732b['id'],_0x4568e1);}[_0x3c1d27(0xe0)](_0x5cbdc4){const _0xc4d352=_0x3c1d27;if(_0x5cbdc4)return new c(_0x5cbdc4['unitId'],_0x5cbdc4[_0xc4d352(0x143)],this[_0xc4d352(0x11f)],this[_0xc4d352(0x15d)],_0x5cbdc4[_0xc4d352(0xd7)]);const _0x479c98=this[_0xc4d352(0xea)]()['getUnitId'](),_0x56f9ce=this[_0xc4d352(0x156)]();return new c(_0x479c98,_0x56f9ce,this[_0xc4d352(0x11f)],this[_0xc4d352(0x15d)]);}['getCharts'](){const _0x2ad5e2=_0x3c1d27,_0x2f9d22=this['_injector'][_0x2ad5e2(0x11c)](_0x442ada),_0x4a6c50=this[_0x2ad5e2(0xea)]()[_0x2ad5e2(0x14d)]();return _0x2f9d22[_0x2ad5e2(0x15c)](_0x4a6c50,this[_0x2ad5e2(0x156)]())[_0x2ad5e2(0x119)](_0x5b2a83=>new P(_0x4a6c50,this[_0x2ad5e2(0x156)](),_0x5b2a83['id'],this[_0x2ad5e2(0x15d)]));}[_0x3c1d27(0xe8)](_0x35d06e){const _0x2ef58d=_0x3c1d27,_0x27fffc=_0x35d06e['unitId'],_0x4a22f4=_0x35d06e[_0x2ef58d(0x143)],_0x586064=_0x35d06e[_0x2ef58d(0xd7)],_0xfbea01={'unitId':_0x27fffc,'drawings':[{'unitId':_0x27fffc,'subUnitId':_0x4a22f4,'drawingId':_0x586064,'drawingType':_0x4c014f[_0x2ef58d(0xbe)]}]};return this[_0x2ef58d(0xe6)]['executeCommand'](_0x548ec0['id'],_0xfbea01);}['registerChartTheme'](_0x11986b,_0x2c4960){const _0x51787d=_0x3c1d27;this[_0x51787d(0x15d)][_0x51787d(0x11c)](_0xf959e3)[_0x51787d(0x130)](_0x11986b,_0x2c4960);}}_0x392652[_0x3c1d27(0xbc)]($);class tt extends _0x3cfbf9{get[_0x3c1d27(0x171)](){return _0x37529d;}get[_0x3c1d27(0xdd)](){return _0x323c95;}get['SelectModeEnum'](){return _0x209f30;}get[_0x3c1d27(0x172)](){return _0x5df00c;}get[_0x3c1d27(0xf0)](){return _0x1ff266;}get[_0x3c1d27(0xe7)](){return _0x2c1298;}get[_0x3c1d27(0xc7)](){return _0x1541cf;}get['RadarShape'](){return _0x18245f;}}_0x3cfbf9[_0x3c1d27(0xbc)](tt);class et extends c{constructor(_0x1d49a5,_0x9ef50f,_0x3370e3,_0x21f860,_0x24f1d7){const _0x54e44b=_0x3c1d27;super(_0x1d49a5,_0x9ef50f,_0x3370e3,_0x21f860,_0x24f1d7),n(this,_0x54e44b(0xcf)),n(this,_0x54e44b(0x10e)),n(this,_0x54e44b(0x167)),n(this,'dataPointSize');}[_0x3c1d27(0xcc)](_0x2e9737){const _0x5ac4a2=_0x3c1d27;return this[_0x5ac4a2(0xcf)]=_0x2e9737,this;}[_0x3c1d27(0x157)](_0x293bdf){const _0x4be0fc=_0x3c1d27;return this[_0x4be0fc(0x10e)]=_0x293bdf,this;}[_0x3c1d27(0x116)](_0x308e98){return this['dataPointColor']=_0x308e98,this;}[_0x3c1d27(0x165)](_0x3e2c4a){const _0xb32437=_0x3c1d27;return this[_0xb32437(0x17b)]=_0x3e2c4a,this;}[_0x3c1d27(0xd0)](){const _0x4c8d4f=_0x3c1d27,_0x332089=super[_0x4c8d4f(0xd0)]();_0x332089[_0x4c8d4f(0x113)]=_0x37529d['Line'];const _0x171d07=_0x332089['options']||{};return s(_0x171d07,_0x4c8d4f(0x102),this[_0x4c8d4f(0xcf)]),s(_0x171d07,_0x4c8d4f(0xca),this[_0x4c8d4f(0x10e)]),s(_0x171d07,_0x4c8d4f(0xdb),this[_0x4c8d4f(0x167)]),s(_0x171d07,_0x4c8d4f(0x16f),this[_0x4c8d4f(0x17b)]),_0x332089[_0x4c8d4f(0xd5)]=_0x171d07,_0x332089;}}function _0x236a(_0x39162e,_0x91d839){_0x39162e=_0x39162e-0xba;const _0x4d8f38=_0x4d8f();let _0x236a57=_0x4d8f38[_0x39162e];return _0x236a57;}class it extends c{[_0x3c1d27(0xc6)](){const _0x26eedc=_0x3c1d27;return new et(this[_0x26eedc(0xc9)],this[_0x26eedc(0x143)],this[_0x26eedc(0x11f)],this[_0x26eedc(0x15d)],this[_0x26eedc(0xd7)]);}}c['extend'](it);class st extends c{constructor(_0x5aa9a4,_0x4c54d5,_0x521696,_0x192baf,_0x49548a){const _0x144c41=_0x3c1d27;super(_0x5aa9a4,_0x4c54d5,_0x521696,_0x192baf,_0x49548a),n(this,_0x144c41(0x159)),n(this,_0x144c41(0x104)),n(this,'hasPaddingAngle'),n(this,'isHalfPie'),n(this,_0x144c41(0x176)),n(this,'showLabelLine');}[_0x3c1d27(0x141)](_0x154f74){const _0x11cabe=_0x3c1d27;return this[_0x11cabe(0x159)]=_0x154f74,this;}[_0x3c1d27(0x135)](_0x476b01){const _0x597ad1=_0x3c1d27;return this[_0x597ad1(0x104)]=_0x476b01,this;}[_0x3c1d27(0x128)](_0x5594b6){return this['hasPaddingAngle']=_0x5594b6,this;}[_0x3c1d27(0xf9)](_0x457bb8){const _0x19c80e=_0x3c1d27;return this[_0x19c80e(0x100)]=_0x457bb8,this;}[_0x3c1d27(0x16e)](_0x2ea1a6){const _0x4b9868=_0x3c1d27;return this[_0x4b9868(0x176)]=_0x2ea1a6,this;}['setShowLabelLine'](_0x459418){const _0x3fa4c4=_0x3c1d27;return this[_0x3fa4c4(0x11b)]=_0x459418,this;}[_0x3c1d27(0xd0)](){const _0x43ef14=_0x3c1d27,_0x19bcb9=super[_0x43ef14(0xd0)]();_0x19bcb9[_0x43ef14(0x113)]=_0x37529d[_0x43ef14(0xd3)];const _0xf6f53=_0x19bcb9[_0x43ef14(0xd5)]||{};return s(_0xf6f53,_0x43ef14(0xff),this['doughnutHole']),s(_0xf6f53,_0x43ef14(0xcd),this[_0x43ef14(0x104)]),s(_0xf6f53,'pie.hasPaddingAngle',this[_0x43ef14(0x16b)]),s(_0xf6f53,_0x43ef14(0xe9),this[_0x43ef14(0x100)]),s(_0xf6f53,_0x43ef14(0x120),this[_0x43ef14(0x176)]),s(_0xf6f53,_0x43ef14(0xf4),this[_0x43ef14(0x11b)]),_0x19bcb9[_0x43ef14(0xd5)]=_0xf6f53,_0x19bcb9;}}class rt extends c{[_0x3c1d27(0x10b)](){const _0x311a96=_0x3c1d27;return new st(this[_0x311a96(0xc9)],this['subUnitId'],this['_workbook'],this[_0x311a96(0x15d)],this[_0x311a96(0xd7)]);}}c[_0x3c1d27(0xbc)](rt);class ot extends c{constructor(_0x1ac9c8,_0x892441,_0xdb337f,_0x3ebb27,_0x4b64e7){const _0x1abfa4=_0x3c1d27;super(_0x1ac9c8,_0x892441,_0xdb337f,_0x3ebb27,_0x4b64e7),n(this,_0x1abfa4(0xba)),n(this,_0x1abfa4(0xeb));}[_0x3c1d27(0xfc)](_0x33064d){const _0x17712a=_0x3c1d27;return this[_0x17712a(0xba)]=_0x33064d,this;}['setFill'](_0x15513b){const _0x3d1fea=_0x3c1d27;return this[_0x3d1fea(0xeb)]=_0x15513b,this;}[_0x3c1d27(0xd0)](){const _0xe224b0=_0x3c1d27,_0x113bcf=super[_0xe224b0(0xd0)]();_0x113bcf[_0xe224b0(0x113)]=_0x37529d[_0xe224b0(0xfd)];const _0x16344f=_0x113bcf['options']||{};return s(_0x16344f,'radar.shape',this[_0xe224b0(0xba)]),s(_0x16344f,'radar.fill',this[_0xe224b0(0xeb)]),_0x113bcf[_0xe224b0(0xd5)]=_0x16344f,_0x113bcf;}}class nt extends c{[_0x3c1d27(0x11e)](){const _0x3b5ca7=_0x3c1d27;return new ot(this[_0x3b5ca7(0xc9)],this[_0x3b5ca7(0x143)],this[_0x3b5ca7(0x11f)],this[_0x3b5ca7(0x15d)],this[_0x3b5ca7(0xd7)]);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|
package/lib/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-right-2{right:.5rem}.univer-top-2{top:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-2{margin-top:.5rem;margin-bottom:.5rem}.univer-mb-2{margin-bottom:.5rem}.univer-mb-4{margin-bottom:1rem}.univer-ml-1{margin-left:.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-mr-2{margin-right:.5rem}.univer-mr-5{margin-right:1.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-2{margin-top:.5rem}.univer-mt-2\.5{margin-top:.625rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-1{height:.25rem}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[26px\]{height:26px}.univer-
|
|
1
|
+
.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-right-2{right:.5rem}.univer-top-2{top:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-2{margin-top:.5rem;margin-bottom:.5rem}.univer-mb-2{margin-bottom:.5rem}.univer-mb-4{margin-bottom:1rem}.univer-ml-1{margin-left:.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-mr-2{margin-right:.5rem}.univer-mr-5{margin-right:1.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-2{margin-top:.5rem}.univer-mt-2\.5{margin-top:.625rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-size-full{width:100%;height:100%}.univer-h-1{height:.25rem}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[26px\]{height:26px}.univer-w-1\/2{width:50%}.univer-w-\[--radix-popper-anchor-width\]{width:var(--radix-popper-anchor-width)}.univer-w-\[136px\]{width:136px}.univer-w-\[208px\]{width:208px}.univer-w-\[290px\]{width:290px}.univer-w-fit{width:-moz-fit-content;width:fit-content}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-flex-1{flex:1 1 0%}.univer-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-rotate-180{--univer-tw-rotate: 180deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(180deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-cursor-default{cursor:default}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-2{gap:.5rem}.univer-gap-2\.5{gap:.625rem}.univer-gap-3{gap:.75rem}.univer-gap-4{gap:1rem}.univer-justify-self-end{justify-self:end}.univer-overflow-auto{overflow:auto}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-rounded-sm{border-radius:.125rem}.univer-rounded-xl{border-radius:.75rem}.univer-border{border-width:1px}.univer-border-b{border-bottom-width:1px}.univer-border-solid{border-style:solid}.univer-border-gray-200{border-color:var(--univer-gray-200)}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-bg-transparent{background-color:transparent}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-4{padding-top:1rem;padding-bottom:1rem}.univer-pb-2\.5{padding-bottom:.625rem}.univer-pb-3{padding-bottom:.75rem}.univer-text-center{text-align:center}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-font-semibold{font-weight:600}.univer-leading-4{line-height:1rem}.univer-leading-5{line-height:1.25rem}.univer-leading-6{line-height:1.5rem}.univer-leading-8{line-height:2rem}.univer-leading-tight{line-height:1.25}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.univer-duration-300{transition-duration:.3s}.placeholder\:univer-text-gray-400::-moz-placeholder{color:var(--univer-gray-400)}.placeholder\:univer-text-gray-400::placeholder{color:var(--univer-gray-400)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.focus\:univer-border-primary-500:focus{border-color:var(--univer-primary-500)}.focus\:univer-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:univer-ring-2:focus{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 rgba(0,0,0,0))}.focus\:univer-ring-primary-50:focus{--univer-tw-ring-color: var(--univer-primary-50) }.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-100:where(.univer-dark,.univer-dark *){color:var(--univer-gray-100)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:\!univer-shadow-none:where(.univer-dark,.univer-dark *){--univer-tw-shadow: 0 0 rgba(0,0,0,0) !important;--univer-tw-shadow-colored: 0 0 rgba(0,0,0,0) !important;box-shadow:0 0 #0000,0 0 #0000,0 0 #0000!important;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}
|