@univerjs-pro/sheets-chart-ui 0.5.4 → 0.5.5-experimental.20250123-34738ff
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/index.css +1 -1
- package/lib/types/facade/chart-builder/chart-builder-base.d.ts +287 -136
- package/lib/types/facade/chart-builder/line-chart-builder.d.ts +28 -8
- package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +15 -7
- package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +19 -3
- package/lib/types/facade/chart-builder/types.d.ts +9 -0
- package/lib/types/facade/f-chart.d.ts +34 -13
- package/lib/types/facade/f-enum.d.ts +135 -0
- package/lib/types/facade/f-worksheet.d.ts +13 -1
- package/lib/types/facade/index.d.ts +4 -0
- package/lib/types/views/chart-edit-panel/ChartEditPanel.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/ChartSelect.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/color-picker-control/index.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/data-tab-panel/DataTabPanel.d.ts +2 -3
- package/lib/types/views/chart-edit-panel/dropdown-menu/index.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/font-format-bar/FontFormatBar.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/StyleTabPanel.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +1 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/widgets.d.ts +4 -5
- 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/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2f2f0d=_0x3716;(function(_0x438311,_0x285ec4){const _0x30458f=_0x3716,_0x4aa3bc=_0x438311();while(!![]){try{const _0x5d1b5f=-parseInt(_0x30458f(0x10d))/0x1*(parseInt(_0x30458f(0xe9))/0x2)+-parseInt(_0x30458f(0xde))/0x3*(parseInt(_0x30458f(0x96))/0x4)+-parseInt(_0x30458f(0x8e))/0x5*(parseInt(_0x30458f(0x10c))/0x6)+-parseInt(_0x30458f(0x9b))/0x7*(-parseInt(_0x30458f(0xd9))/0x8)+-parseInt(_0x30458f(0xa7))/0x9+parseInt(_0x30458f(0x72))/0xa+parseInt(_0x30458f(0x7d))/0xb;if(_0x5d1b5f===_0x285ec4)break;else _0x4aa3bc['push'](_0x4aa3bc['shift']());}catch(_0x58a0d0){_0x4aa3bc['push'](_0x4aa3bc['shift']());}}}(_0x3fea,0xae6a1));var P=Object[_0x2f2f0d(0x9f)],v=(_0x3c8d59,_0x44a366,_0x1bc77f)=>_0x44a366 in _0x3c8d59?P(_0x3c8d59,_0x44a366,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bc77f}):_0x3c8d59[_0x44a366]=_0x1bc77f,o=(_0x125497,_0x552dd0,_0x391c73)=>v(_0x125497,typeof _0x552dd0!='symbol'?_0x552dd0+'':_0x552dd0,_0x391c73);import{setProperty as _0x108e23,SheetsChartService as _0x49879b,ChartUpdateSourceCommand as _0x45f8fb,ChartUpdateConfigCommand as _0x2f0387,ChartThemeService as _0x248d59,ChartTypeBits as _0x214b97}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x45bf4e}from'@univerjs-pro/sheets-chart-ui';import{FBase as _0x28cc20,CommandService as _0x252c34,IUniverInstanceService as _0x24c396,UniverInstanceType as _0x729f00,generateRandomId as _0x638761,DrawingTypeEnum as _0x13a8b2}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x3285ca}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x197c60}from'@univerjs/sheets/facade';import{deserializeRangeWithSheet as _0x3968f3}from'@univerjs/engine-formula';import{IRenderManagerService as _0x259b9d}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x4fb53c,SheetSkeletonManagerService as _0x3a91c2,convertPositionCellToSheetOverGrid as _0x5e099b}from'@univerjs/sheets-ui';function _0x3716(_0x30421e,_0x37dd19){const _0x3fea70=_0x3fea();return _0x3716=function(_0x3716d2,_0x57b8d0){_0x3716d2=_0x3716d2-0x66;let _0x5882c1=_0x3fea70[_0x3716d2];return _0x5882c1;},_0x3716(_0x30421e,_0x37dd19);}const s=(_0x2a9222,_0x547fd1,_0x23593f)=>{_0x23593f!==void 0x0&&_0x108e23(_0x2a9222,_0x547fd1,_0x23593f);},C=(_0x38b28d,_0xabd0f0,_0x23c49b,_0x282bf8={})=>{const _0x265642=_0x2f2f0d,_0x5d26d8={},_0x240122={};if(_0x282bf8['title']){const _0x231be6=_0x282bf8[_0x265642(0x116)];s(_0x5d26d8,_0x265642(0x101),_0x231be6[_0x265642(0x69)]),s(_0x5d26d8,_0x265642(0xc9),_0x231be6[_0x265642(0x115)]),s(_0x5d26d8,_0x265642(0x92),_0x231be6[_0x265642(0x10e)]),s(_0x5d26d8,'titles.title.color',_0x231be6['fontColor']),s(_0x5d26d8,_0x265642(0xea),_0x231be6[_0x265642(0x7e)]),s(_0x5d26d8,'titles.title.bold',_0x231be6[_0x265642(0xab)]),s(_0x5d26d8,'titles.title.align',_0x231be6[_0x265642(0xe1)]),s(_0x5d26d8,_0x265642(0x7f),_0x231be6[_0x265642(0xe3)]);}if(_0x282bf8[_0x265642(0xec)]){const _0x27ee81=_0x282bf8[_0x265642(0xec)];s(_0x5d26d8,_0x265642(0xaa),_0x27ee81[_0x265642(0xe3)]),s(_0x5d26d8,_0x265642(0x102),_0x27ee81['selectMode']),s(_0x5d26d8,'legend.label.fontSize',_0x27ee81[_0x265642(0x10e)]),s(_0x5d26d8,'legend.label.color',_0x27ee81[_0x265642(0x106)]),s(_0x5d26d8,_0x265642(0x6e),_0x27ee81['bold']),s(_0x5d26d8,_0x265642(0x87),_0x27ee81[_0x265642(0xc6)]);}if(_0x282bf8[_0x265642(0x77)]){const _0xcf8b2a=_0x282bf8['pie'];s(_0x5d26d8,_0x265642(0x86),_0xcf8b2a[_0x265642(0xb2)]),s(_0x5d26d8,_0x265642(0x67),_0xcf8b2a[_0x265642(0x74)]),s(_0x5d26d8,_0x265642(0x112),_0xcf8b2a[_0x265642(0xcc)]),s(_0x5d26d8,_0x265642(0xd2),_0xcf8b2a[_0x265642(0xba)]),s(_0x5d26d8,_0x265642(0x97),_0xcf8b2a['rosePie']),s(_0x5d26d8,'pie.showLabelLine',_0xcf8b2a[_0x265642(0xf0)]);}if(_0x282bf8[_0x265642(0x84)]){const _0x25d399=_0x282bf8['axisPointer'];s(_0x5d26d8,'tooltip.indicatorLabelColor',_0x25d399[_0x265642(0x8b)]),s(_0x5d26d8,_0x265642(0xa5),_0x25d399['indicatorLineType']),s(_0x5d26d8,_0x265642(0xa3),_0x25d399['indicatorLineColor']),s(_0x5d26d8,'tooltip.indicatorLabelTextColor',_0x25d399[_0x265642(0xeb)]);}if(_0x282bf8[_0x265642(0xfe)]&&s(_0x5d26d8,_0x265642(0x70),_0x282bf8[_0x265642(0xfe)][_0x265642(0xb3)]),_0x282bf8[_0x265642(0xc7)]&&s(_0x5d26d8,'area.lineStyle',_0x282bf8[_0x265642(0xc7)]['lineStyle']),_0x282bf8[_0x265642(0x105)]&&s(_0x5d26d8,_0x265642(0x105),_0x282bf8[_0x265642(0x105)]),_0x282bf8[_0x265642(0x78)]&&s(_0x5d26d8,'radar',_0x282bf8[_0x265642(0x78)]),_0x282bf8[_0x265642(0xe6)]){const _0x2500ec=_0x282bf8['xAxisTitle'];s(_0x5d26d8,_0x265642(0x108),_0x2500ec[_0x265642(0x69)]),s(_0x5d26d8,_0x265642(0x100),_0x2500ec['font']),s(_0x5d26d8,_0x265642(0x79),_0x2500ec[_0x265642(0x10e)]),s(_0x5d26d8,_0x265642(0xe4),_0x2500ec[_0x265642(0xa0)]),s(_0x5d26d8,_0x265642(0x104),_0x2500ec[_0x265642(0x7e)]),s(_0x5d26d8,_0x265642(0x89),_0x2500ec['bold']),s(_0x5d26d8,_0x265642(0xc8),_0x2500ec[_0x265642(0xad)]);}if(_0x282bf8[_0x265642(0xe8)]){const _0x561b04=_0x282bf8[_0x265642(0xe8)];s(_0x5d26d8,_0x265642(0xf7),_0x561b04[_0x265642(0x69)]),s(_0x5d26d8,'titles.yAxisTitle.font',_0x561b04['font']),s(_0x5d26d8,'titles.yAxisTitle.fontSize',_0x561b04[_0x265642(0x10e)]),s(_0x5d26d8,_0x265642(0x109),_0x561b04['fontColor']),s(_0x5d26d8,_0x265642(0xc0),_0x561b04[_0x265642(0x7e)]),s(_0x5d26d8,_0x265642(0x9d),_0x561b04[_0x265642(0xab)]),s(_0x5d26d8,'yAxis.label.axisTitleAlign',_0x561b04[_0x265642(0xad)]);}if(_0x282bf8[_0x265642(0xbc)]){const _0x1c3bf8=_0x282bf8[_0x265642(0xbc)];s(_0x5d26d8,_0x265642(0x73),_0x1c3bf8['content']),s(_0x5d26d8,_0x265642(0xb6),_0x1c3bf8[_0x265642(0x115)]),s(_0x5d26d8,'titles.rightYAxisTitle.fontSize',_0x1c3bf8['fontSize']),s(_0x5d26d8,_0x265642(0x93),_0x1c3bf8[_0x265642(0xa0)]),s(_0x5d26d8,'titles.rightYAxisTitle.family',_0x1c3bf8[_0x265642(0x7e)]),s(_0x5d26d8,_0x265642(0xae),_0x1c3bf8['bold']),s(_0x5d26d8,_0x265642(0xfa),_0x1c3bf8[_0x265642(0xad)]);}_0x282bf8[_0x265642(0xf9)]&&s(_0x5d26d8,_0x265642(0xf9),_0x282bf8['xAxis']),_0x282bf8['yAxis']&&s(_0x5d26d8,_0x265642(0xb7),_0x282bf8['yAxis']),_0x282bf8[_0x265642(0xe5)]&&s(_0x5d26d8,_0x265642(0x6c),_0x282bf8[_0x265642(0xe5)]),_0x282bf8['seriesStyleMap']&&s(_0x5d26d8,_0x265642(0x76),_0x282bf8[_0x265642(0x76)]);const _0x9df992={'unitId':_0x38b28d,'chartModelId':_0xabd0f0};let _0x172e1f=!0x1;if(_0x23c49b!==void 0x0&&(_0x9df992[_0x265642(0x10f)]=_0x23c49b,_0x172e1f=!0x0),Object['keys'](_0x5d26d8)['length']>0x0&&(_0x9df992[_0x265642(0x7b)]=_0x5d26d8,_0x172e1f=!0x0),Object['keys'](_0x240122)[_0x265642(0x66)]>0x0&&(_0x9df992['context']=_0x240122,_0x172e1f=!0x0),_0x172e1f)return _0x9df992;};class c extends _0x28cc20{constructor(_0x311e92,_0x1ecaf2,_0x615a32,_0x3eb605,_0x3098da){const _0x305fdb=_0x2f2f0d;super(),o(this,_0x305fdb(0xdf)),o(this,'_injector'),o(this,'unitId'),o(this,'subUnitId'),o(this,_0x305fdb(0xc3)),o(this,'range'),o(this,_0x305fdb(0xcb)),o(this,'x'),o(this,'y'),o(this,'width'),o(this,_0x305fdb(0x113)),o(this,_0x305fdb(0x10f)),o(this,_0x305fdb(0xca)),o(this,_0x305fdb(0xf8)),(this[_0x305fdb(0x9c)]=_0x311e92,this[_0x305fdb(0x8c)]=_0x1ecaf2,this[_0x305fdb(0xdf)]=_0x615a32,this[_0x305fdb(0xcd)]=_0x3eb605,_0x3098da&&(this[_0x305fdb(0xc3)]=_0x3098da));}[_0x2f2f0d(0x6f)](){return this['chartType'];}[_0x2f2f0d(0xe2)](_0x500e93){const _0xf26783=_0x2f2f0d;if(typeof _0x500e93==_0xf26783(0xd7)){const _0x54e9e4=_0x3968f3(_0x500e93);_0x54e9e4[_0xf26783(0x71)]&&(this[_0xf26783(0xcb)]=_0x54e9e4[_0xf26783(0x71)]),this['range']=_0x54e9e4[_0xf26783(0x83)];}else this[_0xf26783(0x83)]=_0x500e93;return this;}[_0x2f2f0d(0x85)](){const _0x1ca455=_0x2f2f0d;return this[_0x1ca455(0x83)]=void 0x0,this[_0x1ca455(0xcb)]=void 0x0,this;}[_0x2f2f0d(0xb1)](_0x2e732d,_0x21ba70,_0x5ac977,_0x8825c6){const _0x187368=_0x2f2f0d,_0x37bd6d=this[_0x187368(0xcd)]['get'](_0x259b9d)[_0x187368(0xdb)](this[_0x187368(0x9c)]);if(!_0x37bd6d)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x38b2cd=_0x37bd6d[_0x187368(0xd4)](_0x4fb53c),_0x5d8ac3=_0x37bd6d['with'](_0x3a91c2),{transform:_0xd623b2}=_0x5e099b(this[_0x187368(0x9c)],this[_0x187368(0x8c)],{'row':_0x2e732d,'column':_0x21ba70,'rowOffset':_0x5ac977,'columnOffset':_0x8825c6},0x1,0x1,_0x38b2cd,_0x5d8ac3),_0x5e8130=_0xd623b2['top'],_0x400e62=_0xd623b2[_0x187368(0x75)];return this['x']=_0x400e62,this['y']=_0x5e8130,this;}[_0x2f2f0d(0xdd)](_0x228399,_0x1910d7){return this['x']=_0x228399,this['y']=_0x1910d7,this;}[_0x2f2f0d(0x8f)](_0xea66b2){const _0x32161f=_0x2f2f0d;return this[_0x32161f(0x10f)]=_0xea66b2,this;}['setWidth'](_0x32b1f7){return this['width']=_0x32b1f7,this;}[_0x2f2f0d(0xb8)](_0x4bc873){const _0x358ead=_0x2f2f0d;return this[_0x358ead(0x113)]=_0x4bc873,this;}[_0x2f2f0d(0x114)](_0x5a6d55,_0x5ef4b5){const _0x3138fe=_0x2f2f0d;return this[_0x3138fe(0xca)]||(this['options']={}),_0x5a6d55===''?(this[_0x3138fe(0xca)]={...this[_0x3138fe(0xca)],..._0x5ef4b5},this):(_0x108e23(this[_0x3138fe(0xca)],_0x5a6d55,_0x5ef4b5),this);}['setTransposeRowsAndColumns'](_0x51ba3e){return this['transposeRowsAndColumns']=_0x51ba3e,this;}[_0x2f2f0d(0x82)](_0x4f5313){const _0x418088=_0x2f2f0d;return this[_0x418088(0x114)](_0x418088(0x105),_0x4f5313),this;}[_0x2f2f0d(0xac)](_0x1a38bb){const _0x216984=_0x2f2f0d;var _0x5dd908;const _0x407976=((_0x5dd908=this['options'])==null?void 0x0:_0x5dd908[_0x216984(0xe6)])||{};return _0x407976[_0x216984(0x69)]=_0x1a38bb,this[_0x216984(0x114)](_0x216984(0xe6),_0x407976),this;}[_0x2f2f0d(0x98)](_0x4c4241){const _0x5d5716=_0x2f2f0d;var _0x4aff8e;const _0x3d4110=((_0x4aff8e=this[_0x5d5716(0xca)])==null?void 0x0:_0x4aff8e[_0x5d5716(0xe8)])||{};return _0x3d4110[_0x5d5716(0x69)]=_0x4c4241,this[_0x5d5716(0x114)](_0x5d5716(0xe8),_0x3d4110),this;}[_0x2f2f0d(0x6a)](_0x12e343){const _0xc8c033=_0x2f2f0d;var _0x259012;const _0x4c33bf=((_0x259012=this[_0xc8c033(0xca)])==null?void 0x0:_0x259012[_0xc8c033(0xbc)])||{};return _0x4c33bf['content']=_0x12e343,this[_0xc8c033(0x114)](_0xc8c033(0xbc),_0x4c33bf),this;}[_0x2f2f0d(0xfd)](_0x1e73f1){const _0xa21f7=_0x2f2f0d;var _0x3d394e;const _0x3283db=((_0x3d394e=this[_0xa21f7(0xca)])==null?void 0x0:_0x3d394e[_0xa21f7(0xe6)])||{};return this['setOptions'](_0xa21f7(0xe6),{..._0x3283db,..._0x1e73f1}),this;}[_0x2f2f0d(0xf1)](_0x39cb8f){const _0x489116=_0x2f2f0d;var _0x1b0f75;const _0x56802a=((_0x1b0f75=this['options'])==null?void 0x0:_0x1b0f75['yAxisTitle'])||{};return this[_0x489116(0x114)]('yAxisTitle',{..._0x56802a,..._0x39cb8f}),this;}[_0x2f2f0d(0xbd)](_0x1cf025){const _0x10d1f0=_0x2f2f0d;var _0xb328c9;const _0x44da78=((_0xb328c9=this[_0x10d1f0(0xca)])==null?void 0x0:_0xb328c9['rightYAxisTitle'])||{};return this[_0x10d1f0(0x114)]('rightYAxisTitle',{..._0x44da78,..._0x1cf025}),this;}[_0x2f2f0d(0x110)](_0x3986a4){const _0x3d34df=_0x2f2f0d;return this['setOptions'](_0x3d34df(0xee),_0x3986a4),this;}[_0x2f2f0d(0xfb)](_0x4e2620){const _0x1ad1f2=_0x2f2f0d;return this[_0x1ad1f2(0x114)](_0x1ad1f2(0x84),_0x4e2620),this;}[_0x2f2f0d(0xbf)](_0x50be12){const _0x371145=_0x2f2f0d;return this[_0x371145(0x114)](_0x371145(0xfe),_0x50be12),this;}[_0x2f2f0d(0x8d)](_0x41c589,_0x553280){return this['setOptions']('seriesStyleMap',{[_0x41c589]:_0x553280}),this;}[_0x2f2f0d(0xed)](){const _0x5f38c6=_0x2f2f0d;var _0x35678e;let _0x53d9ec=this[_0x5f38c6(0x8c)];if(this[_0x5f38c6(0xcb)]){const _0x12c59c=(_0x35678e=this[_0x5f38c6(0xdf)][_0x5f38c6(0x6b)](this[_0x5f38c6(0xcb)]))==null?void 0x0:_0x35678e['getSheetId']();if(!_0x12c59c)throw new Error(_0x5f38c6(0x111)+this[_0x5f38c6(0xcb)]+_0x5f38c6(0x94));_0x53d9ec=_0x12c59c;}return{'unitId':this[_0x5f38c6(0x9c)],'subUnitId':_0x53d9ec,'chartId':this[_0x5f38c6(0xc3)],'range':this['range'],'x':this['x'],'y':this['y'],'width':this[_0x5f38c6(0x103)],'height':this[_0x5f38c6(0x113)],'chartType':this[_0x5f38c6(0x10f)],'options':this['options'],'isRowDirection':this[_0x5f38c6(0xf8)]};}}class f{constructor(_0x3dc49f,_0x23c84a,_0x1b84cd,_0x4396d1){const _0x352c26=_0x2f2f0d;o(this,_0x352c26(0x9c)),o(this,'subUnitId'),o(this,'chartId'),o(this,_0x352c26(0xcd)),(this[_0x352c26(0x9c)]=_0x3dc49f,this[_0x352c26(0x8c)]=_0x23c84a,this['chartId']=_0x1b84cd,this[_0x352c26(0xcd)]=_0x4396d1);}[_0x2f2f0d(0xd0)](){const _0x39fcbd=_0x2f2f0d;return this[_0x39fcbd(0xc3)];}[_0x2f2f0d(0xbe)](){const _0x65d3d3=_0x2f2f0d,_0x5ed3a8=this[_0x65d3d3(0xcd)][_0x65d3d3(0xf3)](_0x49879b)[_0x65d3d3(0x95)](this[_0x65d3d3(0xc3)]);if(_0x5ed3a8)return _0x5ed3a8[_0x65d3d3(0xda)][_0x65d3d3(0xa2)]();}[_0x2f2f0d(0xe7)](_0x36331c){const _0x8fbc3f=_0x2f2f0d;return this[_0x8fbc3f(0xcd)][_0x8fbc3f(0xf3)](_0x252c34)['executeCommand'](_0x45f8fb['id'],{'unitId':this[_0x8fbc3f(0x9c)],'chartModelId':this[_0x8fbc3f(0xc3)],'range':_0x36331c});}[_0x2f2f0d(0x81)](){const _0x1ddbd5=_0x2f2f0d;var _0xe90adf;const _0x187d99=this['_injector'][_0x1ddbd5(0xf3)](_0x49879b)[_0x1ddbd5(0x95)](this['chartId']);if(_0x187d99)return(_0xe90adf=_0x187d99[_0x1ddbd5(0xb4)])==null?void 0x0:_0xe90adf['series'];}[_0x2f2f0d(0x6d)](){const _0x415205=_0x2f2f0d;var _0x57e77b;const _0x18ad14=this[_0x415205(0xcd)][_0x415205(0xf3)](_0x49879b)['getChartModel'](this['chartId']);if(_0x18ad14)return(_0x57e77b=_0x18ad14[_0x415205(0xb4)])==null?void 0x0:_0x57e77b['category'];}[_0x2f2f0d(0xf2)](){const _0x152d20=_0x2f2f0d,_0x596772=this[_0x152d20(0xcd)][_0x152d20(0xf3)](_0x24c396)[_0x152d20(0xd1)](_0x729f00[_0x152d20(0xb0)]);return new c(this[_0x152d20(0x9c)],this[_0x152d20(0x8c)],_0x596772,this[_0x152d20(0xcd)],this[_0x152d20(0xc3)]);}}class B extends _0x197c60{async[_0x2f2f0d(0x90)](_0x2b10d6){const _0x5b0bc7=_0x2f2f0d;var _0x2fecb0,_0x54a16b,_0x3f1eb7;const _0x5d4765=_0x2b10d6['unitId']||this[_0x5b0bc7(0xd8)]()[_0x5b0bc7(0xf6)](),_0x1c136c=_0x2b10d6[_0x5b0bc7(0x8c)]||this[_0x5b0bc7(0x8a)](),_0x1d756b=_0x2b10d6[_0x5b0bc7(0xc3)]||_0x638761(),_0xb2ad8e=_0x2b10d6[_0x5b0bc7(0x10f)],_0x5f3392=_0x2b10d6[_0x5b0bc7(0x83)],_0x175070={'x':_0x2b10d6['x'],'y':_0x2b10d6['y']},_0x2e7493=_0x2b10d6[_0x5b0bc7(0x103)],_0x1d93e9=_0x2b10d6[_0x5b0bc7(0x113)],_0xa9125e=(_0x2fecb0=_0x2b10d6[_0x5b0bc7(0xca)])==null?void 0x0:_0x2fecb0[_0x5b0bc7(0x7a)],_0x5d1d1b=(_0x54a16b=_0x2b10d6[_0x5b0bc7(0xca)])==null?void 0x0:_0x54a16b[_0x5b0bc7(0x74)],_0x492c96=C(_0x5d4765,_0x1d756b,_0xb2ad8e,_0x2b10d6[_0x5b0bc7(0xca)]),_0x553e47=(_0x3f1eb7=_0x2b10d6[_0x5b0bc7(0x88)])!=null?_0x3f1eb7:!0x0;if(!_0x5f3392)throw new Error(_0x5b0bc7(0xef));return await this['_commandService'][_0x5b0bc7(0xa8)](_0x45bf4e['id'],{'unitId':_0x5d4765,'subUnitId':_0x1c136c,'chartId':_0x1d756b,'chartType':_0xb2ad8e,'range':_0x5f3392,'position':_0x175070,'width':_0x2e7493,'height':_0x1d93e9,'backgroundColor':_0xa9125e,'borderColor':_0x5d1d1b,'config':_0x492c96,'isRowDirection':_0x553e47}),new f(_0x5d4765,_0x1c136c,_0x1d756b,this[_0x5b0bc7(0xcd)]);}[_0x2f2f0d(0xff)](_0x26876b){const _0x598a74=_0x2f2f0d,{unitId:_0x37126d,chartId:_0x18937b,chartType:_0xffc1d6,options:_0xcac725}=_0x26876b,_0x25bbe8=C(_0x37126d,_0x18937b,_0xffc1d6,_0xcac725);this[_0x598a74(0x7c)][_0x598a74(0xa8)](_0x2f0387['id'],_0x25bbe8);}[_0x2f2f0d(0xfc)](_0x5cdd14){const _0x1c00e8=_0x2f2f0d;if(_0x5cdd14)return new c(_0x5cdd14[_0x1c00e8(0x9c)],_0x5cdd14[_0x1c00e8(0x8c)],this[_0x1c00e8(0xdf)],this[_0x1c00e8(0xcd)],_0x5cdd14[_0x1c00e8(0xc3)]);const _0x27fb7a=this[_0x1c00e8(0xd8)]()[_0x1c00e8(0xf6)](),_0x39b3f2=this[_0x1c00e8(0x8a)]();return new c(_0x27fb7a,_0x39b3f2,this[_0x1c00e8(0xdf)],this['_injector']);}['getCharts'](){const _0x19acfc=_0x2f2f0d,_0x5c71aa=this[_0x19acfc(0xcd)][_0x19acfc(0xf3)](_0x49879b),_0x14c861=this['getWorkbook']()[_0x19acfc(0xf6)]();return _0x5c71aa[_0x19acfc(0xbb)](_0x14c861,this[_0x19acfc(0x8a)]())[_0x19acfc(0x91)](_0x3e8f5b=>new f(_0x14c861,this[_0x19acfc(0x8a)](),_0x3e8f5b['id'],this[_0x19acfc(0xcd)]));}[_0x2f2f0d(0xa1)](_0x18233b){const _0x158c62=_0x2f2f0d,_0x223488=_0x18233b[_0x158c62(0x9c)],_0x598073=_0x18233b[_0x158c62(0x8c)],_0xd46a77=_0x18233b[_0x158c62(0xc3)],_0x97b3bd={'unitId':_0x223488,'drawings':[{'unitId':_0x223488,'subUnitId':_0x598073,'drawingId':_0xd46a77,'drawingType':_0x13a8b2[_0x158c62(0xcf)]}]};return this[_0x158c62(0x7c)][_0x158c62(0xa8)](_0x3285ca['id'],_0x97b3bd);}['registerChartTheme'](_0x55149a,_0x29cfb6){const _0x5c4e89=_0x2f2f0d;this['_injector'][_0x5c4e89(0xf3)](_0x248d59)[_0x5c4e89(0xd5)](_0x55149a,_0x29cfb6);}}_0x197c60[_0x2f2f0d(0xb9)](B);class G extends c{constructor(_0x26d3f0,_0x226b1e,_0x148ffc,_0x2a27d8,_0x2ac6e2){const _0x130f30=_0x2f2f0d;super(_0x26d3f0,_0x226b1e,_0x148ffc,_0x2a27d8,_0x2ac6e2),o(this,'lineStyle'),o(this,'dataPointShape'),o(this,'dataPointColor'),o(this,_0x130f30(0x80));}['setLineStyle'](_0x9d6ff1){const _0x3b1e77=_0x2f2f0d;return this[_0x3b1e77(0xa6)]=_0x9d6ff1,this;}[_0x2f2f0d(0xc2)](_0x59209f){return this['dataPointShape']=_0x59209f,this;}['setDataPointColor'](_0x1b0919){const _0x2306cc=_0x2f2f0d;return this[_0x2306cc(0x9a)]=_0x1b0919,this;}[_0x2f2f0d(0xc1)](_0x24bed0){const _0x2cfab1=_0x2f2f0d;return this[_0x2cfab1(0x80)]=_0x24bed0,this;}[_0x2f2f0d(0xed)](){const _0xedf145=_0x2f2f0d,_0x1a4617=super[_0xedf145(0xed)]();_0x1a4617[_0xedf145(0x10f)]=_0x214b97[_0xedf145(0x107)];const _0xfaad2b=_0x1a4617[_0xedf145(0xca)]||{};return s(_0xfaad2b,_0xedf145(0x9e),this[_0xedf145(0xa6)]),s(_0xfaad2b,'allSeriesStyle.point.shape',this[_0xedf145(0xd3)]),s(_0xfaad2b,_0xedf145(0xd6),this['dataPointColor']),s(_0xfaad2b,_0xedf145(0xf5),this[_0xedf145(0x80)]),_0x1a4617[_0xedf145(0xca)]=_0xfaad2b,_0x1a4617;}}class V extends c{[_0x2f2f0d(0xdc)](){const _0x24dfa6=_0x2f2f0d;return new G(this[_0x24dfa6(0x9c)],this[_0x24dfa6(0x8c)],this[_0x24dfa6(0xdf)],this[_0x24dfa6(0xcd)],this[_0x24dfa6(0xc3)]);}}c[_0x2f2f0d(0xb9)](V);class X extends c{constructor(_0x47cd12,_0x2b4bb5,_0x59fed7,_0x12f391,_0x4cf971){const _0x4ac185=_0x2f2f0d;super(_0x47cd12,_0x2b4bb5,_0x59fed7,_0x12f391,_0x4cf971),o(this,_0x4ac185(0xb2)),o(this,_0x4ac185(0x74)),o(this,_0x4ac185(0xcc)),o(this,_0x4ac185(0xba)),o(this,'rosePie'),o(this,'showLabelLine');}['setDoughnutHole'](_0x2450ea){const _0x492771=_0x2f2f0d;return this[_0x492771(0xb2)]=_0x2450ea,this;}[_0x2f2f0d(0xaf)](_0x3a7e10){const _0x53c07b=_0x2f2f0d;return this[_0x53c07b(0x74)]=_0x3a7e10,this;}[_0x2f2f0d(0x10a)](_0x54da3d){const _0x130003=_0x2f2f0d;return this[_0x130003(0xcc)]=_0x54da3d,this;}[_0x2f2f0d(0x68)](_0x548b3c){return this['isHalfPie']=_0x548b3c,this;}[_0x2f2f0d(0x99)](_0x377bac){const _0x5e7b84=_0x2f2f0d;return this[_0x5e7b84(0xe0)]=_0x377bac,this;}['setShowLabelLine'](_0x3aea4a){const _0x430bf5=_0x2f2f0d;return this[_0x430bf5(0xf0)]=_0x3aea4a,this;}[_0x2f2f0d(0xed)](){const _0x3788d8=_0x2f2f0d,_0x31a85a=super[_0x3788d8(0xed)]();_0x31a85a[_0x3788d8(0x10f)]=_0x214b97[_0x3788d8(0x10b)];const _0x392558=_0x31a85a[_0x3788d8(0xca)]||{};return s(_0x392558,'pie.doughnutHole',this[_0x3788d8(0xb2)]),s(_0x392558,_0x3788d8(0x67),this['borderColor']),s(_0x392558,'pie.hasPaddingAngle',this['hasPaddingAngle']),s(_0x392558,_0x3788d8(0xd2),this['isHalfPie']),s(_0x392558,'pie.rosePie',this[_0x3788d8(0xe0)]),s(_0x392558,'pie.showLabelLine',this[_0x3788d8(0xf0)]),_0x31a85a[_0x3788d8(0xca)]=_0x392558,_0x31a85a;}}class q extends c{[_0x2f2f0d(0xa4)](){const _0x20b38f=_0x2f2f0d;return new X(this[_0x20b38f(0x9c)],this[_0x20b38f(0x8c)],this['_workbook'],this['_injector'],this[_0x20b38f(0xc3)]);}}c['extend'](q);class $ extends c{constructor(_0x4c757f,_0x13dd2a,_0x256c10,_0x31969f,_0x28d617){const _0x17eb20=_0x2f2f0d;super(_0x4c757f,_0x13dd2a,_0x256c10,_0x31969f,_0x28d617),o(this,'shape'),o(this,_0x17eb20(0xb5));}[_0x2f2f0d(0xc5)](_0x42056c){const _0xd1b3b2=_0x2f2f0d;return this[_0xd1b3b2(0xa9)]=_0x42056c,this;}['setFill'](_0x4eba6e){return this['fill']=_0x4eba6e,this;}[_0x2f2f0d(0xed)](){const _0x41f52e=_0x2f2f0d,_0x40e98e=super[_0x41f52e(0xed)]();_0x40e98e['chartType']=_0x214b97[_0x41f52e(0xce)];const _0x176d69=_0x40e98e['options']||{};return s(_0x176d69,_0x41f52e(0xc4),this[_0x41f52e(0xa9)]),s(_0x176d69,_0x41f52e(0xf4),this[_0x41f52e(0xb5)]),_0x40e98e[_0x41f52e(0xca)]=_0x176d69,_0x40e98e;}}function _0x3fea(){const _0x226ece=['pie.doughnutHole','legend.label.italic','isRowDirection','titles.xAxisTitle.bold','getSheetId','indicatorLabelColor','subUnitId','setSeriesStyle','519775BJPfHH','setChartType','insertChart','map','titles.title.fontSize','titles.rightYAxisTitle.color','\x20not\x20found','getChartModel','32VEHLpb','pie.rosePie','setYAxisTitle','setRosePie','dataPointColor','1869eqEfwL','unitId','titles.yAxisTitle.bold','area.lineStyle','defineProperty','fontColor','removeChart','getRangeInfo','tooltip.indicatorLineColor','asPieChart','tooltip.indicatorLineType','lineStyle','11993958IcEEym','executeCommand','shape','legend.position','bold','setXAxisTitle','axisAlignment','titles.rightYAxisTitle.bold','setBorderColor','UNIVER_SHEET','setPosition','doughnutHole','point','config','fill','titles.rightYAxisTitle.font','yAxis','setHeight','extend','isHalfPie','getUnitChartModels','rightYAxisTitle','setRightYAxisTextStyle','getRange','setAllSeriesStyle','titles.yAxisTitle.family','setDataPointSize','setDataPointShape','chartId','radar.shape','setShape','italic','area','xAxis.label.axisTitleAlign','titles.title.font','options','sourceSheetName','hasPaddingAngle','_injector','Radar','DRAWING_CHART','getChartId','getCurrentUnitForType','pie.isHalfPie','dataPointShape','with','registerTheme','allSeriesStyle.point.color','string','getWorkbook','37968GiTETP','dataSource','getRenderById','asLineChart','setAbsolutePosition','73263kAUaBf','_workbook','rosePie','titleAlignment','addRange','position','titles.xAxisTitle.color','yRightAxis','xAxisTitle','updateRange','yAxisTitle','270964bASQCx','titles.title.family','indicatorLabelTextColor','legend','build','invalidValueType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','showLabelLine','setYAxisTextStyle','modify','get','radar.fill','allSeriesStyle.point.size','getUnitId','titles.yAxisTitle.content','transposeRowsAndColumns','xAxis','rightYAxis.label.axisTitleAlign','setAxisPointerStyle','newChart','setXAxisTextStyle','allSeriesStyle','updateChart','titles.xAxisTitle.font','titles.title.content','legend.selectMode','width','titles.xAxisTitle.family','theme','color','Line','titles.xAxisTitle.content','titles.yAxisTitle.color','setHasPaddingAngle','Pie','72dxBabs','1ZEzeiH','fontSize','chartType','setInvalidValueStrategy','Sheet\x20','pie.hasPaddingAngle','height','setOptions','font','title','length','pie.borderColor','setIsHalfPie','content','setRightYAxisTitle','getSheetBySheetName','rightYAxis','getCategoryData','legend.label.bold','getChartType','allSeriesStyle.point','sheetName','12950450DDCGWX','titles.rightYAxisTitle.content','borderColor','left','seriesStyleMap','pie','radar','titles.xAxisTitle.fontSize','backgroundColor','style','_commandService','11694606zZtHza','fontStyle','titles.titlePosition','dataPointSize','getSeriesData','setTheme','range','axisPointer','clearRange'];_0x3fea=function(){return _0x226ece;};return _0x3fea();}class J extends c{['asRadarChart'](){const _0x107886=_0x2f2f0d;return new $(this[_0x107886(0x9c)],this[_0x107886(0x8c)],this[_0x107886(0xdf)],this[_0x107886(0xcd)],this[_0x107886(0xc3)]);}}c[_0x2f2f0d(0xb9)](J);export{f as FChart,c as FChartBuilderBase,G as LineChartBuilder,X as PieChartBuilder,$ as RadarChartBuilder};
|
|
1
|
+
const _0x5e3aa5=_0x2783;(function(_0x15e0de,_0x4f3843){const _0x4223c1=_0x2783,_0x12316f=_0x15e0de();while(!![]){try{const _0x31cc95=parseInt(_0x4223c1(0x19f))/0x1+-parseInt(_0x4223c1(0x143))/0x2+-parseInt(_0x4223c1(0x1e2))/0x3*(parseInt(_0x4223c1(0x1cc))/0x4)+-parseInt(_0x4223c1(0x1d2))/0x5+-parseInt(_0x4223c1(0x196))/0x6+parseInt(_0x4223c1(0x1b6))/0x7*(parseInt(_0x4223c1(0x1ac))/0x8)+parseInt(_0x4223c1(0x1b9))/0x9;if(_0x31cc95===_0x4f3843)break;else _0x12316f['push'](_0x12316f['shift']());}catch(_0x337cd6){_0x12316f['push'](_0x12316f['shift']());}}}(_0x2dbd,0x3a542));var __defProp=Object[_0x5e3aa5(0x1b1)],__defNormalProp=(_0x2952a5,_0x16877b,_0x328fd7)=>_0x16877b in _0x2952a5?__defProp(_0x2952a5,_0x16877b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x328fd7}):_0x2952a5[_0x16877b]=_0x328fd7,__name=(_0x5c8649,_0x265298)=>__defProp(_0x5c8649,_0x5e3aa5(0x1c2),{'value':_0x265298,'configurable':!0x0}),__publicField=(_0x2715be,_0x54d8c0,_0x16e04a)=>__defNormalProp(_0x2715be,typeof _0x54d8c0!=_0x5e3aa5(0x13b)?_0x54d8c0+'':_0x54d8c0,_0x16e04a);import{setProperty,SheetsChartService,ChartUpdateSourceCommand,ChartUpdateConfigCommand,ChartThemeService,ChartTypeBits,LegendPositionEnum,SelectModeEnum,AxisAlignEnum,ChartBorderDashType,LinePointShape,TitlePositionEnum}from'@univerjs-pro/sheets-chart';import{InsertChartCommand}from'@univerjs-pro/sheets-chart-ui';import{FBase,CommandService,IUniverInstanceService,UniverInstanceType,generateRandomId,DrawingTypeEnum,FEnum}from'@univerjs/core';import{RemoveSheetDrawingCommand}from'@univerjs/sheets-drawing-ui';import{FWorksheet}from'@univerjs/sheets/facade';import{deserializeRangeWithSheet}from'@univerjs/engine-formula';import{IRenderManagerService}from'@univerjs/engine-render';import{ISheetSelectionRenderService,SheetSkeletonManagerService,convertPositionCellToSheetOverGrid}from'@univerjs/sheets-ui';const setPropertyIfExist=__name((_0x2bc4b3,_0x1f3261,_0x28eca9)=>{_0x28eca9!==void 0x0&&setProperty(_0x2bc4b3,_0x1f3261,_0x28eca9);},_0x5e3aa5(0x1d0)),transformBuildInfoToMutation=__name((_0x265505,_0x2bf339,_0x37bf05,_0xee53b0={})=>{const _0x19effc=_0x5e3aa5,_0x2fbf18={},_0x18d6ab={};if(_0xee53b0[_0x19effc(0x1b3)]){const _0x211ebc=_0xee53b0[_0x19effc(0x1b3)];setPropertyIfExist(_0x2fbf18,_0x19effc(0x15d),_0x211ebc[_0x19effc(0x1a5)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x177),_0x211ebc[_0x19effc(0x1bf)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x16a),_0x211ebc['fontSize']),setPropertyIfExist(_0x2fbf18,'titles.title.color',_0x211ebc[_0x19effc(0x145)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x197),_0x211ebc[_0x19effc(0x1b7)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x148),_0x211ebc[_0x19effc(0x16d)]),setPropertyIfExist(_0x2fbf18,'titles.title.align',_0x211ebc[_0x19effc(0x1a7)]),setPropertyIfExist(_0x2fbf18,'titles.titlePosition',_0x211ebc[_0x19effc(0x194)]);}if(_0xee53b0['legend']){const _0x5cb36d=_0xee53b0['legend'];setPropertyIfExist(_0x2fbf18,_0x19effc(0x1e7),_0x5cb36d[_0x19effc(0x194)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x131),_0x5cb36d[_0x19effc(0x14b)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x17f),_0x5cb36d['fontSize']),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1d5),_0x5cb36d[_0x19effc(0x136)]),setPropertyIfExist(_0x2fbf18,'legend.label.bold',_0x5cb36d['bold']),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1cf),_0x5cb36d[_0x19effc(0x171)]);}if(_0xee53b0[_0x19effc(0x13e)]){const _0x3ae2e1=_0xee53b0['pie'];setPropertyIfExist(_0x2fbf18,_0x19effc(0x1c5),_0x3ae2e1['doughnutHole']),setPropertyIfExist(_0x2fbf18,_0x19effc(0x14f),_0x3ae2e1['borderColor']),setPropertyIfExist(_0x2fbf18,_0x19effc(0x185),_0x3ae2e1[_0x19effc(0x1da)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x176),_0x3ae2e1['isHalfPie']),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1a0),_0x3ae2e1['rosePie']),setPropertyIfExist(_0x2fbf18,_0x19effc(0x135),_0x3ae2e1[_0x19effc(0x1c3)]);}if(_0xee53b0[_0x19effc(0x183)]){const _0x534c17=_0xee53b0[_0x19effc(0x183)];setPropertyIfExist(_0x2fbf18,_0x19effc(0x15e),_0x534c17['indicatorLabelColor']),setPropertyIfExist(_0x2fbf18,'tooltip.indicatorLineType',_0x534c17[_0x19effc(0x1dd)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x18c),_0x534c17[_0x19effc(0x1cb)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1ea),_0x534c17['indicatorLabelTextColor']);}if(_0xee53b0[_0x19effc(0x158)]&&setPropertyIfExist(_0x2fbf18,_0x19effc(0x134),_0xee53b0[_0x19effc(0x158)][_0x19effc(0x1ae)]),_0xee53b0[_0x19effc(0x165)]&&setPropertyIfExist(_0x2fbf18,'area.lineStyle',_0xee53b0[_0x19effc(0x165)]['lineStyle']),_0xee53b0['theme']&&setPropertyIfExist(_0x2fbf18,_0x19effc(0x191),_0xee53b0['theme']),_0xee53b0[_0x19effc(0x16c)]&&setPropertyIfExist(_0x2fbf18,'radar',_0xee53b0['radar']),_0xee53b0['xAxisTitle']){const _0x44b459=_0xee53b0[_0x19effc(0x17a)];setPropertyIfExist(_0x2fbf18,'titles.xAxisTitle.content',_0x44b459['content']),setPropertyIfExist(_0x2fbf18,'titles.xAxisTitle.font',_0x44b459[_0x19effc(0x1bf)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1e9),_0x44b459[_0x19effc(0x1d1)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1ce),_0x44b459[_0x19effc(0x145)]),setPropertyIfExist(_0x2fbf18,'titles.xAxisTitle.family',_0x44b459[_0x19effc(0x1b7)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1ad),_0x44b459[_0x19effc(0x16d)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x153),_0x44b459['axisAlignment']);}if(_0xee53b0[_0x19effc(0x188)]){const _0x580423=_0xee53b0[_0x19effc(0x188)];setPropertyIfExist(_0x2fbf18,_0x19effc(0x1c4),_0x580423[_0x19effc(0x1a5)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x18d),_0x580423[_0x19effc(0x1bf)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x14e),_0x580423[_0x19effc(0x1d1)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x151),_0x580423['fontColor']),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1c1),_0x580423['fontStyle']),setPropertyIfExist(_0x2fbf18,'titles.yAxisTitle.bold',_0x580423[_0x19effc(0x16d)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x14a),_0x580423[_0x19effc(0x132)]);}if(_0xee53b0[_0x19effc(0x1c6)]){const _0x28d93d=_0xee53b0[_0x19effc(0x1c6)];setPropertyIfExist(_0x2fbf18,_0x19effc(0x138),_0x28d93d[_0x19effc(0x1a5)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x1d8),_0x28d93d['font']),setPropertyIfExist(_0x2fbf18,_0x19effc(0x198),_0x28d93d[_0x19effc(0x1d1)]),setPropertyIfExist(_0x2fbf18,'titles.rightYAxisTitle.color',_0x28d93d[_0x19effc(0x145)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x172),_0x28d93d[_0x19effc(0x1b7)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x139),_0x28d93d[_0x19effc(0x16d)]),setPropertyIfExist(_0x2fbf18,_0x19effc(0x157),_0x28d93d[_0x19effc(0x132)]);}_0xee53b0['xAxis']&&setPropertyIfExist(_0x2fbf18,_0x19effc(0x181),_0xee53b0[_0x19effc(0x181)]),_0xee53b0[_0x19effc(0x1af)]&&setPropertyIfExist(_0x2fbf18,'yAxis',_0xee53b0[_0x19effc(0x1af)]),_0xee53b0[_0x19effc(0x1d3)]&&setPropertyIfExist(_0x2fbf18,_0x19effc(0x179),_0xee53b0[_0x19effc(0x1d3)]),_0xee53b0[_0x19effc(0x156)]&&setPropertyIfExist(_0x2fbf18,'seriesStyleMap',_0xee53b0[_0x19effc(0x156)]);const _0x274212={'unitId':_0x265505,'chartModelId':_0x2bf339};let _0x408dba=!0x1;if(_0x37bf05!==void 0x0&&(_0x274212[_0x19effc(0x141)]=_0x37bf05,_0x408dba=!0x0),Object[_0x19effc(0x175)](_0x2fbf18)[_0x19effc(0x167)]>0x0&&(_0x274212[_0x19effc(0x19c)]=_0x2fbf18,_0x408dba=!0x0),Object['keys'](_0x18d6ab)[_0x19effc(0x167)]>0x0&&(_0x274212[_0x19effc(0x195)]=_0x18d6ab,_0x408dba=!0x0),_0x408dba)return _0x274212;},_0x5e3aa5(0x17c)),_FChartBuilderBase=class _FChartBuilderBase extends FBase{constructor(_0x45a1ce,_0x2839e4,_0x6388dd,_0x1e2682,_0x18d121){const _0x1ea9cb=_0x5e3aa5;super(),__publicField(this,_0x1ea9cb(0x150)),__publicField(this,_0x1ea9cb(0x180)),__publicField(this,_0x1ea9cb(0x1ba)),__publicField(this,_0x1ea9cb(0x144)),__publicField(this,_0x1ea9cb(0x1e4)),__publicField(this,'range'),__publicField(this,'sourceSheetName'),__publicField(this,'x'),__publicField(this,'y'),__publicField(this,_0x1ea9cb(0x13f)),__publicField(this,_0x1ea9cb(0x14c)),__publicField(this,_0x1ea9cb(0x141)),__publicField(this,'options'),__publicField(this,'transposeRowsAndColumns'),(this['unitId']=_0x45a1ce,this[_0x1ea9cb(0x144)]=_0x2839e4,this['_workbook']=_0x6388dd,this[_0x1ea9cb(0x180)]=_0x1e2682,_0x18d121&&(this[_0x1ea9cb(0x1e4)]=_0x18d121));}['getChartType'](){const _0x1fa6e3=_0x5e3aa5;return this[_0x1fa6e3(0x141)];}[_0x5e3aa5(0x1d9)](_0xbd904f){const _0x5af5d6=_0x5e3aa5;if(typeof _0xbd904f==_0x5af5d6(0x1a1)){const _0x28f46b=deserializeRangeWithSheet(_0xbd904f);_0x28f46b['sheetName']&&(this['sourceSheetName']=_0x28f46b['sheetName']),this[_0x5af5d6(0x133)]=_0x28f46b[_0x5af5d6(0x133)];}else this[_0x5af5d6(0x133)]=_0xbd904f;return this;}[_0x5e3aa5(0x1e8)](){const _0x390f6d=_0x5e3aa5;return this[_0x390f6d(0x133)]=void 0x0,this['sourceSheetName']=void 0x0,this;}['setPosition'](_0x1454f1,_0x1e1c6c,_0x5db0b1,_0x6ea5f4){const _0x1855f0=_0x5e3aa5,_0x3b390b=this[_0x1855f0(0x180)][_0x1855f0(0x159)](IRenderManagerService)[_0x1855f0(0x190)](this[_0x1855f0(0x1ba)]);if(!_0x3b390b)throw new Error(_0x1855f0(0x19e));const _0x556a3d=_0x3b390b['with'](ISheetSelectionRenderService),_0x354298=_0x3b390b[_0x1855f0(0x19a)](SheetSkeletonManagerService),{transform:_0x37c539}=convertPositionCellToSheetOverGrid(this[_0x1855f0(0x1ba)],this[_0x1855f0(0x144)],{'row':_0x1454f1,'column':_0x1e1c6c,'rowOffset':_0x5db0b1,'columnOffset':_0x6ea5f4},0x1,0x1,_0x556a3d,_0x354298),_0x2ea990=_0x37c539[_0x1855f0(0x18e)],_0x3b9142=_0x37c539[_0x1855f0(0x193)];return this['x']=_0x3b9142,this['y']=_0x2ea990,this;}[_0x5e3aa5(0x19d)](_0x67e992,_0x525dc6){return this['x']=_0x67e992,this['y']=_0x525dc6,this;}[_0x5e3aa5(0x187)](_0x115fbf){return this['chartType']=_0x115fbf,this;}[_0x5e3aa5(0x16f)](_0x2a0001){const _0x4aeb86=_0x5e3aa5;return this[_0x4aeb86(0x13f)]=_0x2a0001,this;}['setHeight'](_0x48616a){const _0x55d74f=_0x5e3aa5;return this[_0x55d74f(0x14c)]=_0x48616a,this;}[_0x5e3aa5(0x1b8)](_0xa3219c,_0x339a9d){const _0x20e1e0=_0x5e3aa5;return this[_0x20e1e0(0x162)]||(this[_0x20e1e0(0x162)]={}),_0xa3219c===''?(this[_0x20e1e0(0x162)]={...this[_0x20e1e0(0x162)],..._0x339a9d},this):(setProperty(this[_0x20e1e0(0x162)],_0xa3219c,_0x339a9d),this);}[_0x5e3aa5(0x182)](_0x2f1481){const _0x1914d5=_0x5e3aa5;return this[_0x1914d5(0x1c9)]=_0x2f1481,this;}[_0x5e3aa5(0x160)](_0x2a7b6f){const _0x39cb6a=_0x5e3aa5;return this[_0x39cb6a(0x1b8)](_0x39cb6a(0x191),_0x2a7b6f),this;}[_0x5e3aa5(0x1aa)](_0x3942c6){const _0x5a16e2=_0x5e3aa5;var _0x4f3004;const _0x5561ef=((_0x4f3004=this[_0x5a16e2(0x162)])==null?void 0x0:_0x4f3004[_0x5a16e2(0x17a)])||{};return _0x5561ef[_0x5a16e2(0x1a5)]=_0x3942c6,this[_0x5a16e2(0x1b8)](_0x5a16e2(0x17a),_0x5561ef),this;}['setYAxisTitle'](_0x5c053b){const _0x44a2a5=_0x5e3aa5;var _0x498a06;const _0x3269d7=((_0x498a06=this[_0x44a2a5(0x162)])==null?void 0x0:_0x498a06[_0x44a2a5(0x188)])||{};return _0x3269d7[_0x44a2a5(0x1a5)]=_0x5c053b,this[_0x44a2a5(0x1b8)](_0x44a2a5(0x188),_0x3269d7),this;}[_0x5e3aa5(0x17b)](_0x412573){const _0x6004c4=_0x5e3aa5;var _0x461aa8;const _0xb7a0ab=((_0x461aa8=this[_0x6004c4(0x162)])==null?void 0x0:_0x461aa8[_0x6004c4(0x1c6)])||{};return _0xb7a0ab[_0x6004c4(0x1a5)]=_0x412573,this[_0x6004c4(0x1b8)](_0x6004c4(0x1c6),_0xb7a0ab),this;}[_0x5e3aa5(0x1a8)](_0x4cf38b){const _0x2c8332=_0x5e3aa5;var _0x5063ee;const _0x210bd1=((_0x5063ee=this['options'])==null?void 0x0:_0x5063ee[_0x2c8332(0x17a)])||{};return this[_0x2c8332(0x1b8)](_0x2c8332(0x17a),{..._0x210bd1,..._0x4cf38b}),this;}['setYAxisTextStyle'](_0x2e7bef){const _0x396039=_0x5e3aa5;var _0x1853b6;const _0x34d71f=((_0x1853b6=this[_0x396039(0x162)])==null?void 0x0:_0x1853b6[_0x396039(0x188)])||{};return this[_0x396039(0x1b8)]('yAxisTitle',{..._0x34d71f,..._0x2e7bef}),this;}[_0x5e3aa5(0x173)](_0xd953f0){const _0x491c54=_0x5e3aa5;var _0x56420e;const _0x174b15=((_0x56420e=this[_0x491c54(0x162)])==null?void 0x0:_0x56420e[_0x491c54(0x1c6)])||{};return this[_0x491c54(0x1b8)](_0x491c54(0x1c6),{..._0x174b15,..._0xd953f0}),this;}[_0x5e3aa5(0x15f)](_0x14a118){const _0xd029e1=_0x5e3aa5;return this['setOptions'](_0xd029e1(0x1a2),_0x14a118),this;}[_0x5e3aa5(0x192)](_0x3312cb){const _0x51e0bc=_0x5e3aa5;return this['setOptions'](_0x51e0bc(0x183),_0x3312cb),this;}[_0x5e3aa5(0x13a)](_0x252b89){const _0x3c84f1=_0x5e3aa5;return this[_0x3c84f1(0x1b8)](_0x3c84f1(0x158),_0x252b89),this;}[_0x5e3aa5(0x1c7)](_0x3c1255,_0x5c459b){const _0x1358b5=_0x5e3aa5;return this[_0x1358b5(0x1b8)]('seriesStyleMap',{[_0x3c1255]:_0x5c459b}),this;}[_0x5e3aa5(0x1e3)](){const _0x1a0f25=_0x5e3aa5;var _0x1557b6;let _0x147e18=this[_0x1a0f25(0x144)];if(this[_0x1a0f25(0x199)]){const _0x309940=(_0x1557b6=this['_workbook'][_0x1a0f25(0x163)](this[_0x1a0f25(0x199)]))==null?void 0x0:_0x1557b6[_0x1a0f25(0x1a3)]();if(!_0x309940)throw new Error('Sheet\x20'+this['sourceSheetName']+_0x1a0f25(0x149));_0x147e18=_0x309940;}return{'unitId':this['unitId'],'subUnitId':_0x147e18,'chartId':this[_0x1a0f25(0x1e4)],'range':this[_0x1a0f25(0x133)],'x':this['x'],'y':this['y'],'width':this[_0x1a0f25(0x13f)],'height':this[_0x1a0f25(0x14c)],'chartType':this[_0x1a0f25(0x141)],'options':this[_0x1a0f25(0x162)],'isRowDirection':this[_0x1a0f25(0x1c9)]};}};__name(_FChartBuilderBase,_0x5e3aa5(0x1bc));let FChartBuilderBase=_FChartBuilderBase;const _FChart=class _FChart{constructor(_0x35dc64,_0x35ad86,_0x451481,_0x16b7c1){const _0x8ce7d4=_0x5e3aa5;__publicField(this,_0x8ce7d4(0x1ba)),__publicField(this,'subUnitId'),__publicField(this,_0x8ce7d4(0x1e4)),__publicField(this,_0x8ce7d4(0x180)),(this[_0x8ce7d4(0x1ba)]=_0x35dc64,this[_0x8ce7d4(0x144)]=_0x35ad86,this[_0x8ce7d4(0x1e4)]=_0x451481,this[_0x8ce7d4(0x180)]=_0x16b7c1);}['getChartId'](){return this['chartId'];}['getRange'](){const _0x1ffba8=_0x5e3aa5,_0x922687=this[_0x1ffba8(0x180)][_0x1ffba8(0x159)](SheetsChartService)[_0x1ffba8(0x1d4)](this[_0x1ffba8(0x1e4)]);if(_0x922687)return _0x922687[_0x1ffba8(0x164)][_0x1ffba8(0x17d)]();}['updateRange'](_0x4204f9){const _0x54c10a=_0x5e3aa5;return this['_injector'][_0x54c10a(0x159)](CommandService)['executeCommand'](ChartUpdateSourceCommand['id'],{'unitId':this[_0x54c10a(0x1ba)],'chartModelId':this[_0x54c10a(0x1e4)],'range':_0x4204f9});}[_0x5e3aa5(0x1a6)](){const _0x4dd1de=_0x5e3aa5;var _0x3321e0;const _0x3ad69c=this['_injector'][_0x4dd1de(0x159)](SheetsChartService)[_0x4dd1de(0x1d4)](this[_0x4dd1de(0x1e4)]);if(_0x3ad69c)return(_0x3321e0=_0x3ad69c[_0x4dd1de(0x169)])==null?void 0x0:_0x3321e0['series'];}[_0x5e3aa5(0x184)](){const _0x4e1a96=_0x5e3aa5;var _0x9d314b;const _0x51ae54=this['_injector']['get'](SheetsChartService)['getChartModel'](this[_0x4e1a96(0x1e4)]);if(_0x51ae54)return(_0x9d314b=_0x51ae54['config'])==null?void 0x0:_0x9d314b[_0x4e1a96(0x1be)];}[_0x5e3aa5(0x1e5)](){const _0x5b09d7=_0x5e3aa5,_0x5c21b6=this[_0x5b09d7(0x180)][_0x5b09d7(0x159)](IUniverInstanceService)[_0x5b09d7(0x137)](UniverInstanceType[_0x5b09d7(0x186)]);return new FChartBuilderBase(this[_0x5b09d7(0x1ba)],this[_0x5b09d7(0x144)],_0x5c21b6,this[_0x5b09d7(0x180)],this['chartId']);}};__name(_FChart,_0x5e3aa5(0x142));let FChart=_FChart;const _FWorksheetChartMixin=class _FWorksheetChartMixin extends FWorksheet{async['insertChart'](_0x382007){const _0x473596=_0x5e3aa5;var _0x19df6e,_0x3badae,_0x261938;const _0x2fffc0=_0x382007['unitId']||this[_0x473596(0x16e)]()[_0x473596(0x1ca)](),_0x50a2de=_0x382007['subUnitId']||this[_0x473596(0x1a3)](),_0x4713a5=_0x382007[_0x473596(0x1e4)]||generateRandomId(),_0x71834d=_0x382007['chartType'],_0x14fe9c=_0x382007[_0x473596(0x133)],_0x2a8f91={'x':_0x382007['x'],'y':_0x382007['y']},_0x53f773=_0x382007[_0x473596(0x13f)],_0x4d7416=_0x382007['height'],_0x17ae17=(_0x19df6e=_0x382007[_0x473596(0x162)])==null?void 0x0:_0x19df6e['backgroundColor'],_0x1b42f0=(_0x3badae=_0x382007[_0x473596(0x162)])==null?void 0x0:_0x3badae['borderColor'],_0x1144e2=transformBuildInfoToMutation(_0x2fffc0,_0x4713a5,_0x71834d,_0x382007[_0x473596(0x162)]),_0x33dbb2=(_0x261938=_0x382007[_0x473596(0x19b)])!=null?_0x261938:!0x0;if(!_0x14fe9c)throw new Error(_0x473596(0x189));return await this['_commandService'][_0x473596(0x178)](InsertChartCommand['id'],{'unitId':_0x2fffc0,'subUnitId':_0x50a2de,'chartId':_0x4713a5,'chartType':_0x71834d,'range':_0x14fe9c,'position':_0x2a8f91,'width':_0x53f773,'height':_0x4d7416,'backgroundColor':_0x17ae17,'borderColor':_0x1b42f0,'config':_0x1144e2,'isRowDirection':_0x33dbb2}),new FChart(_0x2fffc0,_0x50a2de,_0x4713a5,this[_0x473596(0x180)]);}['updateChart'](_0x27ea06){const {unitId:_0x4aa33a,chartId:_0x70f54f,chartType:_0x40509c,options:_0x3c6b34}=_0x27ea06,_0x50e17a=transformBuildInfoToMutation(_0x4aa33a,_0x70f54f,_0x40509c,_0x3c6b34);this['_commandService']['executeCommand'](ChartUpdateConfigCommand['id'],_0x50e17a);}[_0x5e3aa5(0x1e6)](_0x381d78){const _0x13c3f9=_0x5e3aa5;if(_0x381d78)return new FChartBuilderBase(_0x381d78['unitId'],_0x381d78[_0x13c3f9(0x144)],this[_0x13c3f9(0x150)],this[_0x13c3f9(0x180)],_0x381d78['chartId']);const _0x459d70=this['getWorkbook']()['getUnitId'](),_0x59ab6d=this[_0x13c3f9(0x1a3)]();return new FChartBuilderBase(_0x459d70,_0x59ab6d,this[_0x13c3f9(0x150)],this[_0x13c3f9(0x180)]);}['getCharts'](){const _0x228f11=_0x5e3aa5,_0x18749e=this[_0x228f11(0x180)][_0x228f11(0x159)](SheetsChartService),_0x106d05=this[_0x228f11(0x16e)]()[_0x228f11(0x1ca)]();return _0x18749e['getUnitChartModels'](_0x106d05,this[_0x228f11(0x1a3)]())[_0x228f11(0x1e1)](_0x27870a=>new FChart(_0x106d05,this['getSheetId'](),_0x27870a['id'],this[_0x228f11(0x180)]));}['removeChart'](_0x2b9ce3){const _0x30c5d3=_0x5e3aa5,_0x2d0eed=_0x2b9ce3[_0x30c5d3(0x1ba)],_0x1b690c=_0x2b9ce3[_0x30c5d3(0x144)],_0x45b53a=_0x2b9ce3[_0x30c5d3(0x1e4)],_0x50ba99={'unitId':_0x2d0eed,'drawings':[{'unitId':_0x2d0eed,'subUnitId':_0x1b690c,'drawingId':_0x45b53a,'drawingType':DrawingTypeEnum[_0x30c5d3(0x1b2)]}]};return this[_0x30c5d3(0x14d)][_0x30c5d3(0x178)](RemoveSheetDrawingCommand['id'],_0x50ba99);}[_0x5e3aa5(0x1b5)](_0x5385a0,_0x6a9285){const _0x5e3acf=_0x5e3aa5;this['_injector'][_0x5e3acf(0x159)](ChartThemeService)['registerTheme'](_0x5385a0,_0x6a9285);}};__name(_FWorksheetChartMixin,'FWorksheetChartMixin');let FWorksheetChartMixin=_FWorksheetChartMixin;FWorksheet[_0x5e3aa5(0x146)](FWorksheetChartMixin);const _FPivotEnum=class _FPivotEnum extends FEnum{get[_0x5e3aa5(0x15a)](){return ChartTypeBits;}get[_0x5e3aa5(0x1bd)](){return LegendPositionEnum;}get['SelectModeEnum'](){return SelectModeEnum;}get[_0x5e3aa5(0x174)](){return AxisAlignEnum;}get['ChartBorderDashType'](){return ChartBorderDashType;}get[_0x5e3aa5(0x140)](){return LinePointShape;}get['TitlePositionEnum'](){return TitlePositionEnum;}};__name(_FPivotEnum,_0x5e3aa5(0x1b0));let FPivotEnum=_FPivotEnum;FEnum[_0x5e3aa5(0x146)](FPivotEnum);function _0x2783(_0x590a31,_0x5a021f){const _0x2dbd24=_0x2dbd();return _0x2783=function(_0x2783eb,_0x250464){_0x2783eb=_0x2783eb-0x131;let _0x5d1fbf=_0x2dbd24[_0x2783eb];return _0x5d1fbf;},_0x2783(_0x590a31,_0x5a021f);}function _0x2dbd(){const _0x19201b=['shape','FChartBuilderBase','LegendPositionEnum','category','font','fill','titles.yAxisTitle.family','name','showLabelLine','titles.yAxisTitle.content','pie.doughnutHole','rightYAxisTitle','setSeriesStyle','rosePie','transposeRowsAndColumns','getUnitId','indicatorLineColor','1459344qWbanX','doughnutHole','titles.xAxisTitle.color','legend.label.italic','setPropertyIfExist','fontSize','1442900vRGoTU','yRightAxis','getChartModel','legend.label.color','setDoughnutHole','setLineStyle','titles.rightYAxisTitle.font','addRange','hasPaddingAngle','setFill','setDataPointSize','indicatorLineType','LineChartBuilder','area.lineStyle','setRosePie','map','3ylObmo','build','chartId','modify','newChart','legend.position','clearRange','titles.xAxisTitle.fontSize','tooltip.indicatorLabelTextColor','legend.selectMode','axisAlignment','range','allSeriesStyle.point','pie.showLabelLine','color','getCurrentUnitForType','titles.rightYAxisTitle.content','titles.rightYAxisTitle.bold','setAllSeriesStyle','symbol','setHasPaddingAngle','PieChartBuilderMixin','pie','width','LinePointShape','chartType','FChart','351454lJqnIS','subUnitId','fontColor','extend','LineChartBuilderMixin','titles.title.bold','\x20not\x20found','yAxis.label.axisTitleAlign','selectMode','height','_commandService','titles.yAxisTitle.fontSize','pie.borderColor','_workbook','titles.yAxisTitle.color','setIsHalfPie','xAxis.label.axisTitleAlign','Radar','radar.fill','seriesStyleMap','rightYAxis.label.axisTitleAlign','allSeriesStyle','get','ChartType','Pie','asPieChart','titles.title.content','tooltip.indicatorLabelColor','setInvalidValueStrategy','setTheme','allSeriesStyle.point.color','options','getSheetBySheetName','dataSource','area','allSeriesStyle.point.shape','length','allSeriesStyle.point.size','config','titles.title.fontSize','dataPointColor','radar','bold','getWorkbook','setWidth','isHalfPie','italic','titles.rightYAxisTitle.family','setRightYAxisTextStyle','AxisAlignEnum','keys','pie.isHalfPie','titles.title.font','executeCommand','rightYAxis','xAxisTitle','setRightYAxisTitle','transformBuildInfoToMutation','getRangeInfo','Line','legend.label.fontSize','_injector','xAxis','setTransposeRowsAndColumns','axisPointer','getCategoryData','pie.hasPaddingAngle','UNIVER_SHEET','setChartType','yAxisTitle','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','dataPointSize','radar.shape','tooltip.indicatorLineColor','titles.yAxisTitle.font','top','RadarChartBuilder','getRenderById','theme','setAxisPointerStyle','left','position','context','2526204OFMmJW','titles.title.family','titles.rightYAxisTitle.fontSize','sourceSheetName','with','isRowDirection','style','setAbsolutePosition','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','14846BgDmgP','pie.rosePie','string','invalidValueType','getSheetId','PieChartBuilder','content','getSeriesData','titleAlignment','setXAxisTextStyle','lineStyle','setXAxisTitle','setBorderColor','8SSuXRo','titles.xAxisTitle.bold','point','yAxis','FPivotEnum','defineProperty','DRAWING_CHART','title','dataPointShape','registerChartTheme','2690457wbePRf','fontStyle','setOptions','9809046WxSmRL','unitId'];_0x2dbd=function(){return _0x19201b;};return _0x2dbd();}const _LineChartBuilder=class _LineChartBuilder extends FChartBuilderBase{constructor(_0x4e2d61,_0x582feb,_0x5e1b9a,_0x4faf0a,_0x3b8282){const _0x22c556=_0x5e3aa5;super(_0x4e2d61,_0x582feb,_0x5e1b9a,_0x4faf0a,_0x3b8282),__publicField(this,'lineStyle'),__publicField(this,_0x22c556(0x1b4)),__publicField(this,_0x22c556(0x16b)),__publicField(this,_0x22c556(0x18a));}[_0x5e3aa5(0x1d7)](_0x2a49a2){const _0x4828cb=_0x5e3aa5;return this[_0x4828cb(0x1a9)]=_0x2a49a2,this;}['setDataPointShape'](_0x5a9faa){const _0x31f534=_0x5e3aa5;return this[_0x31f534(0x1b4)]=_0x5a9faa,this;}['setDataPointColor'](_0x253bb7){const _0x5046c9=_0x5e3aa5;return this[_0x5046c9(0x16b)]=_0x253bb7,this;}[_0x5e3aa5(0x1dc)](_0x10b564){return this['dataPointSize']=_0x10b564,this;}['build'](){const _0x2f0751=_0x5e3aa5,_0x1eeee2=super['build']();_0x1eeee2[_0x2f0751(0x141)]=ChartTypeBits[_0x2f0751(0x17e)];const _0x40eb1c=_0x1eeee2['options']||{};return setPropertyIfExist(_0x40eb1c,_0x2f0751(0x1df),this[_0x2f0751(0x1a9)]),setPropertyIfExist(_0x40eb1c,_0x2f0751(0x166),this['dataPointShape']),setPropertyIfExist(_0x40eb1c,_0x2f0751(0x161),this[_0x2f0751(0x16b)]),setPropertyIfExist(_0x40eb1c,_0x2f0751(0x168),this[_0x2f0751(0x18a)]),_0x1eeee2[_0x2f0751(0x162)]=_0x40eb1c,_0x1eeee2;}};__name(_LineChartBuilder,_0x5e3aa5(0x1de));let LineChartBuilder=_LineChartBuilder;const _LineChartBuilderMixin=class _LineChartBuilderMixin extends FChartBuilderBase{['asLineChart'](){const _0x59208c=_0x5e3aa5;return new LineChartBuilder(this['unitId'],this[_0x59208c(0x144)],this[_0x59208c(0x150)],this[_0x59208c(0x180)],this[_0x59208c(0x1e4)]);}};__name(_LineChartBuilderMixin,_0x5e3aa5(0x147));let LineChartBuilderMixin=_LineChartBuilderMixin;FChartBuilderBase['extend'](LineChartBuilderMixin);const _PieChartBuilder=class _PieChartBuilder extends FChartBuilderBase{constructor(_0x953bce,_0x1af84e,_0x23253b,_0x2f0369,_0x14dca4){const _0x164297=_0x5e3aa5;super(_0x953bce,_0x1af84e,_0x23253b,_0x2f0369,_0x14dca4),__publicField(this,_0x164297(0x1cd)),__publicField(this,'borderColor'),__publicField(this,'hasPaddingAngle'),__publicField(this,_0x164297(0x170)),__publicField(this,_0x164297(0x1c8)),__publicField(this,_0x164297(0x1c3));}[_0x5e3aa5(0x1d6)](_0x54b916){const _0x127395=_0x5e3aa5;return this[_0x127395(0x1cd)]=_0x54b916,this;}[_0x5e3aa5(0x1ab)](_0x434903){return this['borderColor']=_0x434903,this;}[_0x5e3aa5(0x13c)](_0x4896cf){const _0x3eb397=_0x5e3aa5;return this[_0x3eb397(0x1da)]=_0x4896cf,this;}[_0x5e3aa5(0x152)](_0x34a062){const _0x1a3aff=_0x5e3aa5;return this[_0x1a3aff(0x170)]=_0x34a062,this;}[_0x5e3aa5(0x1e0)](_0x13addb){const _0x3a0a21=_0x5e3aa5;return this[_0x3a0a21(0x1c8)]=_0x13addb,this;}['setShowLabelLine'](_0x4f6513){const _0x283e08=_0x5e3aa5;return this[_0x283e08(0x1c3)]=_0x4f6513,this;}[_0x5e3aa5(0x1e3)](){const _0x417437=_0x5e3aa5,_0x634a84=super[_0x417437(0x1e3)]();_0x634a84[_0x417437(0x141)]=ChartTypeBits[_0x417437(0x15b)];const _0x1c8c59=_0x634a84[_0x417437(0x162)]||{};return setPropertyIfExist(_0x1c8c59,_0x417437(0x1c5),this['doughnutHole']),setPropertyIfExist(_0x1c8c59,'pie.borderColor',this['borderColor']),setPropertyIfExist(_0x1c8c59,_0x417437(0x185),this[_0x417437(0x1da)]),setPropertyIfExist(_0x1c8c59,_0x417437(0x176),this[_0x417437(0x170)]),setPropertyIfExist(_0x1c8c59,_0x417437(0x1a0),this[_0x417437(0x1c8)]),setPropertyIfExist(_0x1c8c59,'pie.showLabelLine',this[_0x417437(0x1c3)]),_0x634a84[_0x417437(0x162)]=_0x1c8c59,_0x634a84;}};__name(_PieChartBuilder,_0x5e3aa5(0x1a4));let PieChartBuilder=_PieChartBuilder;const _PieChartBuilderMixin=class _PieChartBuilderMixin extends FChartBuilderBase{[_0x5e3aa5(0x15c)](){const _0x426b24=_0x5e3aa5;return new PieChartBuilder(this[_0x426b24(0x1ba)],this[_0x426b24(0x144)],this['_workbook'],this['_injector'],this[_0x426b24(0x1e4)]);}};__name(_PieChartBuilderMixin,_0x5e3aa5(0x13d));let PieChartBuilderMixin=_PieChartBuilderMixin;FChartBuilderBase['extend'](PieChartBuilderMixin);const _RadarChartBuilder=class _RadarChartBuilder extends FChartBuilderBase{constructor(_0x108033,_0x38aa6e,_0x46b798,_0x1c94a5,_0x13bb6e){const _0x321e3b=_0x5e3aa5;super(_0x108033,_0x38aa6e,_0x46b798,_0x1c94a5,_0x13bb6e),__publicField(this,'shape'),__publicField(this,_0x321e3b(0x1c0));}['setShape'](_0x61ba1b){const _0x61ebef=_0x5e3aa5;return this[_0x61ebef(0x1bb)]=_0x61ba1b,this;}[_0x5e3aa5(0x1db)](_0x45c12d){const _0x26f0f3=_0x5e3aa5;return this[_0x26f0f3(0x1c0)]=_0x45c12d,this;}[_0x5e3aa5(0x1e3)](){const _0x2c15a9=_0x5e3aa5,_0x1c5f57=super[_0x2c15a9(0x1e3)]();_0x1c5f57[_0x2c15a9(0x141)]=ChartTypeBits[_0x2c15a9(0x154)];const _0x348707=_0x1c5f57[_0x2c15a9(0x162)]||{};return setPropertyIfExist(_0x348707,_0x2c15a9(0x18b),this[_0x2c15a9(0x1bb)]),setPropertyIfExist(_0x348707,_0x2c15a9(0x155),this[_0x2c15a9(0x1c0)]),_0x1c5f57[_0x2c15a9(0x162)]=_0x348707,_0x1c5f57;}};__name(_RadarChartBuilder,_0x5e3aa5(0x18f));let RadarChartBuilder=_RadarChartBuilder;const _RadarChartBuilderMixin=class _RadarChartBuilderMixin extends FChartBuilderBase{['asRadarChart'](){const _0x1186c6=_0x5e3aa5;return new RadarChartBuilder(this[_0x1186c6(0x1ba)],this[_0x1186c6(0x144)],this[_0x1186c6(0x150)],this[_0x1186c6(0x180)],this[_0x1186c6(0x1e4)]);}};__name(_RadarChartBuilderMixin,'RadarChartBuilderMixin');let RadarChartBuilderMixin=_RadarChartBuilderMixin;FChartBuilderBase[_0x5e3aa5(0x146)](RadarChartBuilderMixin);export{FChart,FChartBuilderBase,LineChartBuilder,PieChartBuilder,RadarChartBuilder};
|