@univerjs-pro/sheets-chart-ui 0.15.2 → 0.15.3-insiders.20260131-b9b8805

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -0
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -0
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.css +1 -1
  31. package/lib/index.js +1 -1
  32. package/lib/locale/ca-ES.js +1 -1
  33. package/lib/locale/en-US.js +1 -1
  34. package/lib/locale/es-ES.js +1 -1
  35. package/lib/locale/fa-IR.js +1 -1
  36. package/lib/locale/fr-FR.js +1 -1
  37. package/lib/locale/ja-JP.js +1 -1
  38. package/lib/locale/ko-KR.js +1 -1
  39. package/lib/locale/ru-RU.js +1 -1
  40. package/lib/locale/sk-SK.js +1 -0
  41. package/lib/locale/vi-VN.js +1 -1
  42. package/lib/locale/zh-CN.js +1 -1
  43. package/lib/locale/zh-TW.js +1 -1
  44. package/lib/types/locale/sk-SK.d.ts +3 -0
  45. package/lib/types/services/chart-render.service.d.ts +2 -1
  46. package/lib/umd/facade.js +1 -1
  47. package/lib/umd/index.js +1 -1
  48. package/lib/umd/locale/ca-ES.js +1 -1
  49. package/lib/umd/locale/en-US.js +1 -1
  50. package/lib/umd/locale/es-ES.js +1 -1
  51. package/lib/umd/locale/fa-IR.js +1 -1
  52. package/lib/umd/locale/fr-FR.js +1 -1
  53. package/lib/umd/locale/ja-JP.js +1 -1
  54. package/lib/umd/locale/ko-KR.js +1 -1
  55. package/lib/umd/locale/ru-RU.js +1 -1
  56. package/lib/umd/locale/sk-SK.js +1 -0
  57. package/lib/umd/locale/vi-VN.js +1 -1
  58. package/lib/umd/locale/zh-CN.js +1 -1
  59. package/lib/umd/locale/zh-TW.js +1 -1
  60. 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 _0x3369de=_0x551c;(function(_0x3e26d0,_0xa2ec79){const _0x5c0ea7=_0x551c,_0x565a51=_0x3e26d0();while(!![]){try{const _0x65db27=-parseInt(_0x5c0ea7(0x205))/0x1*(parseInt(_0x5c0ea7(0x24b))/0x2)+parseInt(_0x5c0ea7(0x252))/0x3*(-parseInt(_0x5c0ea7(0x1e2))/0x4)+parseInt(_0x5c0ea7(0x1ed))/0x5+parseInt(_0x5c0ea7(0x21d))/0x6*(parseInt(_0x5c0ea7(0x21b))/0x7)+parseInt(_0x5c0ea7(0x1f5))/0x8+parseInt(_0x5c0ea7(0x214))/0x9+parseInt(_0x5c0ea7(0x246))/0xa*(-parseInt(_0x5c0ea7(0x201))/0xb);if(_0x65db27===_0xa2ec79)break;else _0x565a51['push'](_0x565a51['shift']());}catch(_0x15f326){_0x565a51['push'](_0x565a51['shift']());}}}(_0x2928,0x39b4c));var R=Object[_0x3369de(0x20a)],k=(_0x2d322d,_0x1b6796,_0x8c841d)=>_0x1b6796 in _0x2d322d?R(_0x2d322d,_0x1b6796,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8c841d}):_0x2d322d[_0x1b6796]=_0x8c841d,n=(_0x41e140,_0x4ef441,_0x5160b1)=>k(_0x41e140,typeof _0x4ef441!=_0x3369de(0x21e)?_0x4ef441+'':_0x4ef441,_0x5160b1);import{ChartThemeService as _0x517d69,ChartTypeBits as _0x1db6e7,LegendPositionEnum as _0x191475,SelectModeEnum as _0x1020d3,AxisAlignEnum as _0x5c5508,ChartBorderDashType as _0x1c9149,LinePointShape as _0x3dca78,TitlePositionEnum as _0x17c12f,RadarShape as _0x5c3175}from'@univerjs-pro/engine-chart';import{setProperty as _0x16f801,SheetsChartService as _0x5e387b,ChartUpdateSourceCommand as _0x568228,ChartUpdateConfigCommand as _0x3f3012}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x6d169}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x467b6f,IUniverInstanceService as _0x30808e,UniverInstanceType as _0x5aadb3,generateRandomId as _0x50cc6c,DrawingTypeEnum as _0x47f7b4}from'@univerjs/core';function _0x2928(){const _0x100e30=['getWorkbook','titles.xAxisTitle.family','_commandService','getSheetId','fontStyle','setDataPointSize','titles.xAxisTitle.bold','setAbsolutePosition','yAxis','allSeriesStyle.point','setAllSeriesStyle','setTransposeRowsAndColumns','title','transposeRowsAndColumns','axisAlignment','position','Pie','indicatorLabelColor','pie.borderColor','radar','allSeriesStyle','isRowDirection','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','config','yAxis.label.axisTitleAlign','allSeriesStyle.label','updateChart','asPieChart','updateRange','setOptions','content','extend','subUnitId','isHalfPie','string','setShowLabelLine','registerTheme','area','titles.rightYAxisTitle.bold','fontColor','lineStyle','77476ZbOBeP','dataPointColor','_workbook','font','radar.fill','getUnitChartModels','theme','rightYAxisTitle','sheetName','setXAxisTextStyle','pie.isHalfPie','1986940WKnYuI','pie.rosePie','titles.title.font','xAxisTitle','titles.title.content','titles.xAxisTitle.content','_injector','keys','3569912XLMugK','removeChart','allSeriesStyle.color','titles.yAxisTitle.color','dataSource','titles.rightYAxisTitle.font','width','titles.title.align','getChartId','setHeight','setShape','showLabelLine','65120ANPktJ','titles.yAxisTitle.content','titles.rightYAxisTitle.fontSize','titles.xAxisTitle.color','117592vspFsI','titles.title.bold','getChartModel','color','getRangeInfo','defineProperty','titles.xAxisTitle.fontSize','getRenderById','insertChart','titleAlignment','tooltip.indicatorLineColor','shape','dataPointShape','setRosePie','setDataPointColor','3247434UAOAcr','dataPointSize','indicatorLineType','axisPointer','getChartType','xAxis','getUnitId','7KKhNyY','titles.title.family','224976inEzZg','symbol','legend.label.italic','setRightYAxisTitle','getCharts','setXAxisTitle','yRightAxis','setTheme','Line','modify','setRightYAxisTextStyle','titles.titlePosition','tooltip.indicatorLineType','with','length','legend.label.color','legend.label.bold','sourceSheetName','setInvalidValueStrategy','area.lineStyle','map','asRadarChart','setLineStyle','tooltip.indicatorLabelColor','hasPaddingAngle','doughnutHole','gradientFill','selectMode','TitlePositionEnum','bold','backgroundColor','allSeriesStyle.rightYAxis','rightYAxis','titles.title.color','newChart','invalidValueType','setChartType','titles.rightYAxisTitle.color','yAxisTitle','setIsHalfPie','indicatorLabelTextColor','1070iiWTag','titles.yAxisTitle.family','chartType','italic','borderColor','6BwPLNj','executeCommand','setSeriesStyle','allSeriesStyle.point.shape','seriesStyleMap','rosePie','label','3gfViok','SelectModeEnum','LinePointShape','getCurrentUnitForType','fill','ChartBorderDashType','options','chartId','height','point','addRange','allSeriesStyle.point.size','tooltip.indicatorLabelTextColor','unitId','pie','UNIVER_SHEET','pie.doughnutHole','clearRange','fontSize','setWidth','setFill','pie.hasPaddingAngle','range','RadarShape','context','ChartType','get','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','rightYAxis.label.axisTitleAlign','build','AxisAlignEnum','allSeriesStyle.border'];_0x2928=function(){return _0x100e30;};return _0x2928();}import{RemoveSheetDrawingCommand as _0x15e937}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x35fe43}from'@univerjs/sheets/facade';import{FBase as _0x1f12f7,FEnum as _0x56773d}from'@univerjs/core/facade';function _0x551c(_0x117282,_0x1e901c){_0x117282=_0x117282-0x1c8;const _0x292822=_0x2928();let _0x551c8f=_0x292822[_0x117282];return _0x551c8f;}import{deserializeRangeWithSheet as _0x1aa717}from'@univerjs/engine-formula';import{IRenderManagerService as _0xe2aa31}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x550ee0,SheetSkeletonManagerService as _0x43eef4,convertPositionCellToSheetOverGrid as _0x12c1d8}from'@univerjs/sheets-ui';const s=(_0x232563,_0x223635,_0x511fb3)=>{_0x511fb3!==void 0x0&&_0x16f801(_0x232563,_0x223635,_0x511fb3);},C=(_0x3761e1,_0x365b2c,_0x1fbba0,_0x2dc9fa={})=>{const _0x360d2c=_0x3369de,_0xb8116a={},_0x30ca1a={};if(_0x2dc9fa[_0x360d2c(0x27e)]){const _0x5e32ea=_0x2dc9fa['title'];s(_0xb8116a,_0x360d2c(0x1f1),_0x5e32ea['content']),s(_0xb8116a,_0x360d2c(0x1ef),_0x5e32ea[_0x360d2c(0x1e5)]),s(_0xb8116a,'titles.title.fontSize',_0x5e32ea[_0x360d2c(0x264)]),s(_0xb8116a,_0x360d2c(0x23e),_0x5e32ea[_0x360d2c(0x1e0)]),s(_0xb8116a,_0x360d2c(0x21c),_0x5e32ea[_0x360d2c(0x276)]),s(_0xb8116a,_0x360d2c(0x206),_0x5e32ea[_0x360d2c(0x23a)]),s(_0xb8116a,_0x360d2c(0x1fc),_0x5e32ea[_0x360d2c(0x20e)]),s(_0xb8116a,_0x360d2c(0x228),_0x5e32ea['position']);}if(_0x2dc9fa['legend']){const _0x4e1a49=_0x2dc9fa['legend'];s(_0xb8116a,'legend.position',_0x4e1a49[_0x360d2c(0x1c8)]),s(_0xb8116a,'legend.selectMode',_0x4e1a49[_0x360d2c(0x238)]),s(_0xb8116a,'legend.label.fontSize',_0x4e1a49['fontSize']),s(_0xb8116a,_0x360d2c(0x22c),_0x4e1a49[_0x360d2c(0x208)]),s(_0xb8116a,_0x360d2c(0x22d),_0x4e1a49[_0x360d2c(0x23a)]),s(_0xb8116a,_0x360d2c(0x21f),_0x4e1a49[_0x360d2c(0x249)]);}if(_0x2dc9fa[_0x360d2c(0x260)]){const _0x4bf6b7=_0x2dc9fa['pie'];s(_0xb8116a,_0x360d2c(0x262),_0x4bf6b7[_0x360d2c(0x236)]),s(_0xb8116a,'pie.borderColor',_0x4bf6b7[_0x360d2c(0x24a)]),s(_0xb8116a,_0x360d2c(0x267),_0x4bf6b7[_0x360d2c(0x235)]),s(_0xb8116a,_0x360d2c(0x1ec),_0x4bf6b7[_0x360d2c(0x1da)]),s(_0xb8116a,_0x360d2c(0x1ee),_0x4bf6b7[_0x360d2c(0x250)]),s(_0xb8116a,'pie.showLabelLine',_0x4bf6b7[_0x360d2c(0x200)]);}if(_0x2dc9fa['axisPointer']){const _0x283573=_0x2dc9fa[_0x360d2c(0x217)];s(_0xb8116a,_0x360d2c(0x234),_0x283573[_0x360d2c(0x1ca)]),s(_0xb8116a,_0x360d2c(0x229),_0x283573[_0x360d2c(0x216)]),s(_0xb8116a,_0x360d2c(0x20f),_0x283573['indicatorLineColor']),s(_0xb8116a,_0x360d2c(0x25e),_0x283573[_0x360d2c(0x245)]);}if(_0x2dc9fa['allSeriesStyle']&&(s(_0xb8116a,_0x360d2c(0x271),_0x2dc9fa[_0x360d2c(0x1cd)]['border']),s(_0xb8116a,_0x360d2c(0x1d2),_0x2dc9fa['allSeriesStyle'][_0x360d2c(0x251)]),s(_0xb8116a,_0x360d2c(0x23c),_0x2dc9fa['allSeriesStyle'][_0x360d2c(0x23d)]),s(_0xb8116a,_0x360d2c(0x27b),_0x2dc9fa[_0x360d2c(0x1cd)][_0x360d2c(0x25b)]),s(_0xb8116a,_0x360d2c(0x1f7),_0x2dc9fa[_0x360d2c(0x1cd)]['color'])),_0x2dc9fa[_0x360d2c(0x1de)]&&s(_0xb8116a,_0x360d2c(0x230),_0x2dc9fa[_0x360d2c(0x1de)]['lineStyle']),_0x2dc9fa[_0x360d2c(0x1e8)]&&s(_0xb8116a,_0x360d2c(0x1e8),_0x2dc9fa[_0x360d2c(0x1e8)]),_0x2dc9fa[_0x360d2c(0x23b)]&&s(_0xb8116a,_0x360d2c(0x23b),_0x2dc9fa[_0x360d2c(0x23b)]),_0x2dc9fa['borderColor']&&s(_0xb8116a,_0x360d2c(0x24a),_0x2dc9fa[_0x360d2c(0x24a)]),_0x2dc9fa[_0x360d2c(0x237)]&&s(_0xb8116a,_0x360d2c(0x237),_0x2dc9fa[_0x360d2c(0x237)]),_0x2dc9fa[_0x360d2c(0x240)]&&s(_0xb8116a,'invalidValueType',_0x2dc9fa[_0x360d2c(0x240)]),_0x2dc9fa[_0x360d2c(0x1cc)]&&s(_0xb8116a,_0x360d2c(0x1cc),_0x2dc9fa['radar']),_0x2dc9fa[_0x360d2c(0x1f0)]){const _0x2cd60c=_0x2dc9fa['xAxisTitle'];s(_0xb8116a,_0x360d2c(0x1f2),_0x2cd60c[_0x360d2c(0x1d7)]),s(_0xb8116a,'titles.xAxisTitle.font',_0x2cd60c[_0x360d2c(0x1e5)]),s(_0xb8116a,_0x360d2c(0x20b),_0x2cd60c['fontSize']),s(_0xb8116a,_0x360d2c(0x204),_0x2cd60c[_0x360d2c(0x1e0)]),s(_0xb8116a,_0x360d2c(0x273),_0x2cd60c[_0x360d2c(0x276)]),s(_0xb8116a,_0x360d2c(0x278),_0x2cd60c[_0x360d2c(0x23a)]),s(_0xb8116a,'xAxis.label.axisTitleAlign',_0x2cd60c[_0x360d2c(0x280)]);}if(_0x2dc9fa[_0x360d2c(0x243)]){const _0x43d62f=_0x2dc9fa[_0x360d2c(0x243)];s(_0xb8116a,_0x360d2c(0x202),_0x43d62f['content']),s(_0xb8116a,'titles.yAxisTitle.font',_0x43d62f['font']),s(_0xb8116a,'titles.yAxisTitle.fontSize',_0x43d62f[_0x360d2c(0x264)]),s(_0xb8116a,_0x360d2c(0x1f8),_0x43d62f[_0x360d2c(0x1e0)]),s(_0xb8116a,_0x360d2c(0x247),_0x43d62f['fontStyle']),s(_0xb8116a,'titles.yAxisTitle.bold',_0x43d62f[_0x360d2c(0x23a)]),s(_0xb8116a,_0x360d2c(0x1d1),_0x43d62f[_0x360d2c(0x280)]);}if(_0x2dc9fa[_0x360d2c(0x1e9)]){const _0x18d8e1=_0x2dc9fa[_0x360d2c(0x1e9)];s(_0xb8116a,'titles.rightYAxisTitle.content',_0x18d8e1[_0x360d2c(0x1d7)]),s(_0xb8116a,_0x360d2c(0x1fa),_0x18d8e1[_0x360d2c(0x1e5)]),s(_0xb8116a,_0x360d2c(0x203),_0x18d8e1['fontSize']),s(_0xb8116a,_0x360d2c(0x242),_0x18d8e1[_0x360d2c(0x1e0)]),s(_0xb8116a,'titles.rightYAxisTitle.family',_0x18d8e1['fontStyle']),s(_0xb8116a,_0x360d2c(0x1df),_0x18d8e1[_0x360d2c(0x23a)]),s(_0xb8116a,_0x360d2c(0x26e),_0x18d8e1[_0x360d2c(0x280)]);}_0x2dc9fa[_0x360d2c(0x219)]&&s(_0xb8116a,_0x360d2c(0x219),_0x2dc9fa[_0x360d2c(0x219)]),_0x2dc9fa[_0x360d2c(0x27a)]&&s(_0xb8116a,'yAxis',_0x2dc9fa[_0x360d2c(0x27a)]),_0x2dc9fa[_0x360d2c(0x223)]&&s(_0xb8116a,_0x360d2c(0x23d),_0x2dc9fa[_0x360d2c(0x223)]),_0x2dc9fa['seriesStyleMap']&&s(_0xb8116a,'seriesStyleMap',_0x2dc9fa[_0x360d2c(0x24f)]);const _0x43ef86={'unitId':_0x3761e1,'chartModelId':_0x365b2c};let _0x95f035=!0x1;if(_0x1fbba0!==void 0x0&&(_0x43ef86[_0x360d2c(0x248)]=_0x1fbba0,_0x95f035=!0x0),Object['keys'](_0xb8116a)[_0x360d2c(0x22b)]>0x0&&(_0x43ef86['style']=_0xb8116a,_0x95f035=!0x0),Object[_0x360d2c(0x1f4)](_0x30ca1a)[_0x360d2c(0x22b)]>0x0&&(_0x43ef86[_0x360d2c(0x26a)]=_0x30ca1a,_0x95f035=!0x0),_0x95f035)return _0x43ef86;};class c extends _0x1f12f7{constructor(_0x533faa,_0x2066dc,_0x2dfec0,_0x76f643,_0x44ec7c){const _0x1bdc22=_0x3369de;super(),n(this,_0x1bdc22(0x1e4)),n(this,_0x1bdc22(0x1f3)),n(this,_0x1bdc22(0x25f)),n(this,_0x1bdc22(0x1d9)),n(this,_0x1bdc22(0x259)),n(this,_0x1bdc22(0x268)),n(this,_0x1bdc22(0x22e)),n(this,'x'),n(this,'y'),n(this,_0x1bdc22(0x1fb)),n(this,_0x1bdc22(0x25a)),n(this,'chartType'),n(this,_0x1bdc22(0x258)),n(this,'transposeRowsAndColumns'),(this[_0x1bdc22(0x25f)]=_0x533faa,this[_0x1bdc22(0x1d9)]=_0x2066dc,this['_workbook']=_0x2dfec0,this[_0x1bdc22(0x1f3)]=_0x76f643,_0x44ec7c&&(this[_0x1bdc22(0x259)]=_0x44ec7c));}[_0x3369de(0x218)](){const _0x1be70f=_0x3369de;return this[_0x1be70f(0x248)];}[_0x3369de(0x25c)](_0x577dc3){const _0x26ce13=_0x3369de;if(typeof _0x577dc3==_0x26ce13(0x1db)){const _0xe2921f=_0x1aa717(_0x577dc3);_0xe2921f[_0x26ce13(0x1ea)]&&(this[_0x26ce13(0x22e)]=_0xe2921f[_0x26ce13(0x1ea)]),this['range']=_0xe2921f['range'];}else this[_0x26ce13(0x268)]=_0x577dc3;return this;}[_0x3369de(0x263)](){const _0x15c7ac=_0x3369de;return this[_0x15c7ac(0x268)]=void 0x0,this[_0x15c7ac(0x22e)]=void 0x0,this;}['setPosition'](_0x1025f9,_0x1ac557,_0x2b665a,_0x26f3d3){const _0x27eba9=_0x3369de,_0x48e75a=this[_0x27eba9(0x1f3)][_0x27eba9(0x26c)](_0xe2aa31)[_0x27eba9(0x20c)](this[_0x27eba9(0x25f)]);if(!_0x48e75a)throw new Error(_0x27eba9(0x1cf));const _0x493e7a=_0x48e75a[_0x27eba9(0x22a)](_0x550ee0),_0x50c33d=_0x48e75a[_0x27eba9(0x22a)](_0x43eef4),{transform:_0xa7131f}=_0x12c1d8(this[_0x27eba9(0x25f)],this[_0x27eba9(0x1d9)],{'row':_0x1025f9,'column':_0x1ac557,'rowOffset':_0x2b665a,'columnOffset':_0x26f3d3},0x1,0x1,_0x493e7a,_0x50c33d),_0x3f0fbc=_0xa7131f['top'],_0x228b06=_0xa7131f['left'];return this['x']=_0x228b06,this['y']=_0x3f0fbc,this;}[_0x3369de(0x279)](_0x4470e8,_0x312b75){return this['x']=_0x4470e8,this['y']=_0x312b75,this;}[_0x3369de(0x241)](_0x1fa77b){const _0x3cb649=_0x3369de;return this[_0x3cb649(0x248)]=_0x1fa77b,this;}[_0x3369de(0x265)](_0x362a8b){const _0x39666c=_0x3369de;return this[_0x39666c(0x1fb)]=_0x362a8b,this;}[_0x3369de(0x1fe)](_0x53de7b){const _0x2e02e1=_0x3369de;return this[_0x2e02e1(0x25a)]=_0x53de7b,this;}[_0x3369de(0x1d6)](_0x43ac0e,_0x3865f1){const _0x23b435=_0x3369de;return this['options']||(this[_0x23b435(0x258)]={}),_0x43ac0e===''?(this['options']={...this[_0x23b435(0x258)],..._0x3865f1},this):(_0x16f801(this[_0x23b435(0x258)],_0x43ac0e,_0x3865f1),this);}[_0x3369de(0x27d)](_0x1dea21){const _0x436a2a=_0x3369de;return this[_0x436a2a(0x27f)]=_0x1dea21,this;}[_0x3369de(0x224)](_0x52ae28){const _0x40f6bb=_0x3369de;return this['setOptions'](_0x40f6bb(0x1e8),_0x52ae28),this;}[_0x3369de(0x222)](_0x598830){const _0xc7dcf7=_0x3369de;var _0x425764;const _0x51d00d=((_0x425764=this[_0xc7dcf7(0x258)])==null?void 0x0:_0x425764['xAxisTitle'])||{};return _0x51d00d['content']=_0x598830,this['setOptions']('xAxisTitle',_0x51d00d),this;}['setYAxisTitle'](_0x1ecd32){const _0x50aedc=_0x3369de;var _0x3cf4fe;const _0x4f9960=((_0x3cf4fe=this[_0x50aedc(0x258)])==null?void 0x0:_0x3cf4fe[_0x50aedc(0x243)])||{};return _0x4f9960[_0x50aedc(0x1d7)]=_0x1ecd32,this[_0x50aedc(0x1d6)](_0x50aedc(0x243),_0x4f9960),this;}[_0x3369de(0x220)](_0x427038){const _0x6e0488=_0x3369de;var _0x336c15;const _0x130888=((_0x336c15=this[_0x6e0488(0x258)])==null?void 0x0:_0x336c15[_0x6e0488(0x1e9)])||{};return _0x130888[_0x6e0488(0x1d7)]=_0x427038,this[_0x6e0488(0x1d6)](_0x6e0488(0x1e9),_0x130888),this;}[_0x3369de(0x1eb)](_0x483c43){const _0x46203c=_0x3369de;var _0x3959cf;const _0x59674a=((_0x3959cf=this[_0x46203c(0x258)])==null?void 0x0:_0x3959cf[_0x46203c(0x1f0)])||{};return this[_0x46203c(0x1d6)](_0x46203c(0x1f0),{..._0x59674a,..._0x483c43}),this;}['setYAxisTextStyle'](_0x85b328){const _0x4ded27=_0x3369de;var _0x17b6fe;const _0x5115ec=((_0x17b6fe=this[_0x4ded27(0x258)])==null?void 0x0:_0x17b6fe[_0x4ded27(0x243)])||{};return this[_0x4ded27(0x1d6)](_0x4ded27(0x243),{..._0x5115ec,..._0x85b328}),this;}[_0x3369de(0x227)](_0x242d38){const _0x445a9f=_0x3369de;var _0x530e03;const _0x4f9939=((_0x530e03=this['options'])==null?void 0x0:_0x530e03[_0x445a9f(0x1e9)])||{};return this[_0x445a9f(0x1d6)](_0x445a9f(0x1e9),{..._0x4f9939,..._0x242d38}),this;}[_0x3369de(0x22f)](_0x23e58a){return this['setOptions']('invalidValueType',_0x23e58a),this;}['setAxisPointerStyle'](_0x3eddfd){const _0x5d8084=_0x3369de;return this[_0x5d8084(0x1d6)](_0x5d8084(0x217),_0x3eddfd),this;}[_0x3369de(0x27c)](_0x3fb6b2){const _0x2eb320=_0x3369de;return this[_0x2eb320(0x1d6)](_0x2eb320(0x1cd),_0x3fb6b2),this;}[_0x3369de(0x24d)](_0xb5bbb7,_0x4b4a2d){const _0xe8340=_0x3369de;return this[_0xe8340(0x1d6)]('seriesStyleMap',{[_0xb5bbb7]:_0x4b4a2d}),this;}[_0x3369de(0x26f)](){const _0x31beef=_0x3369de;return{'unitId':this['unitId'],'subUnitId':this[_0x31beef(0x1d9)],'chartId':this[_0x31beef(0x259)],'range':this[_0x31beef(0x268)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this['width'],'height':this['height'],'chartType':this['chartType'],'options':this[_0x31beef(0x258)],'isRowDirection':this[_0x31beef(0x27f)]};}}class P{constructor(_0x29deef,_0x255ef9,_0x98b518,_0x3d4370){const _0x14acc5=_0x3369de;n(this,_0x14acc5(0x25f)),n(this,_0x14acc5(0x1d9)),n(this,'chartId'),n(this,'_injector'),(this[_0x14acc5(0x25f)]=_0x29deef,this['subUnitId']=_0x255ef9,this[_0x14acc5(0x259)]=_0x98b518,this[_0x14acc5(0x1f3)]=_0x3d4370);}[_0x3369de(0x1fd)](){const _0x26e4ff=_0x3369de;return this[_0x26e4ff(0x259)];}['getRange'](){const _0x4fef2d=_0x3369de,_0x797043=this[_0x4fef2d(0x1f3)]['get'](_0x5e387b)[_0x4fef2d(0x207)](this[_0x4fef2d(0x259)]);if(_0x797043)return _0x797043[_0x4fef2d(0x1f9)][_0x4fef2d(0x209)]();}[_0x3369de(0x1d5)](_0x4e4827){const _0x290914=_0x3369de;return this['_injector']['get'](_0x467b6f)[_0x290914(0x24c)](_0x568228['id'],{'unitId':this[_0x290914(0x25f)],'chartModelId':this[_0x290914(0x259)],'range':_0x4e4827});}['getSeriesData'](){const _0x56de0c=_0x3369de;var _0x54d7ca;const _0x2325d9=this[_0x56de0c(0x1f3)][_0x56de0c(0x26c)](_0x5e387b)[_0x56de0c(0x207)](this[_0x56de0c(0x259)]);if(_0x2325d9)return(_0x54d7ca=_0x2325d9[_0x56de0c(0x1d0)])==null?void 0x0:_0x54d7ca['series'];}['getCategoryData'](){const _0x1c18d8=_0x3369de;var _0x18c9cd;const _0x4320bf=this['_injector']['get'](_0x5e387b)[_0x1c18d8(0x207)](this[_0x1c18d8(0x259)]);if(_0x4320bf)return(_0x18c9cd=_0x4320bf[_0x1c18d8(0x1d0)])==null?void 0x0:_0x18c9cd['category'];}[_0x3369de(0x226)](){const _0x58ef80=_0x3369de,_0x1ec190=this[_0x58ef80(0x1f3)]['get'](_0x30808e)[_0x58ef80(0x255)](_0x5aadb3[_0x58ef80(0x261)]);return new c(this[_0x58ef80(0x25f)],this['subUnitId'],_0x1ec190,this['_injector'],this[_0x58ef80(0x259)]);}}class $ extends _0x35fe43{async[_0x3369de(0x20d)](_0x514f0c){const _0xadc057=_0x3369de;var _0xba277c,_0x4f8190,_0x534382;const _0x341139=_0x514f0c[_0xadc057(0x25f)]||this[_0xadc057(0x272)]()['getUnitId'](),_0xbe3561=_0x514f0c[_0xadc057(0x1d9)]||this[_0xadc057(0x275)](),_0x12a854=_0x514f0c['chartId']||_0x50cc6c(),_0x19380b=_0x514f0c['chartType'],_0x5231a8=_0x514f0c['range'],_0x5bcf3d=_0x514f0c['sourceSheetName'],_0x3dd6d2={'x':_0x514f0c['x'],'y':_0x514f0c['y']},_0x4455c8=_0x514f0c[_0xadc057(0x1fb)],_0x1bbea8=_0x514f0c[_0xadc057(0x25a)],_0x1602a7=(_0xba277c=_0x514f0c[_0xadc057(0x258)])==null?void 0x0:_0xba277c[_0xadc057(0x23b)],_0x3981c3=(_0x4f8190=_0x514f0c[_0xadc057(0x258)])==null?void 0x0:_0x4f8190[_0xadc057(0x24a)],_0x50c030=C(_0x341139,_0x12a854,_0x19380b,_0x514f0c[_0xadc057(0x258)]),_0x39337f=(_0x534382=_0x514f0c[_0xadc057(0x1ce)])!=null?_0x534382:!0x0;if(!_0x5231a8)throw new Error(_0xadc057(0x26d));return await this['_commandService'][_0xadc057(0x24c)](_0x6d169['id'],{'unitId':_0x341139,'subUnitId':_0xbe3561,'chartId':_0x12a854,'chartType':_0x19380b,'range':_0x5231a8,'sourceSheetName':_0x5bcf3d,'position':_0x3dd6d2,'width':_0x4455c8,'height':_0x1bbea8,'backgroundColor':_0x1602a7,'borderColor':_0x3981c3,'config':_0x50c030,'isRowDirection':_0x39337f}),new P(_0x341139,_0xbe3561,_0x12a854,this[_0xadc057(0x1f3)]);}[_0x3369de(0x1d3)](_0x44021a){const _0x36e916=_0x3369de,{unitId:_0x2fb462,chartId:_0x1f0cf7,chartType:_0x52b963,options:_0xcb1b65}=_0x44021a,_0x3c5f99=C(_0x2fb462,_0x1f0cf7,_0x52b963,_0xcb1b65);this['_commandService'][_0x36e916(0x24c)](_0x3f3012['id'],_0x3c5f99);}[_0x3369de(0x23f)](_0x3694b6){const _0x52952f=_0x3369de;if(_0x3694b6)return new c(_0x3694b6[_0x52952f(0x25f)],_0x3694b6[_0x52952f(0x1d9)],this[_0x52952f(0x1e4)],this['_injector'],_0x3694b6[_0x52952f(0x259)]);const _0x36cb21=this['getWorkbook']()['getUnitId'](),_0x2e8cc5=this[_0x52952f(0x275)]();return new c(_0x36cb21,_0x2e8cc5,this['_workbook'],this[_0x52952f(0x1f3)]);}[_0x3369de(0x221)](){const _0x4a1f8d=_0x3369de,_0x89f70a=this['_injector'][_0x4a1f8d(0x26c)](_0x5e387b),_0x45ad9a=this[_0x4a1f8d(0x272)]()[_0x4a1f8d(0x21a)]();return _0x89f70a[_0x4a1f8d(0x1e7)](_0x45ad9a,this[_0x4a1f8d(0x275)]())[_0x4a1f8d(0x231)](_0x4d9ef6=>new P(_0x45ad9a,this[_0x4a1f8d(0x275)](),_0x4d9ef6['id'],this[_0x4a1f8d(0x1f3)]));}[_0x3369de(0x1f6)](_0x490de5){const _0x49133a=_0x3369de,_0x11cb15=_0x490de5[_0x49133a(0x25f)],_0x3e8609=_0x490de5[_0x49133a(0x1d9)],_0x284121=_0x490de5[_0x49133a(0x259)],_0x517e92={'unitId':_0x11cb15,'drawings':[{'unitId':_0x11cb15,'subUnitId':_0x3e8609,'drawingId':_0x284121,'drawingType':_0x47f7b4['DRAWING_CHART']}]};return this[_0x49133a(0x274)][_0x49133a(0x24c)](_0x15e937['id'],_0x517e92);}['registerChartTheme'](_0x158c08,_0x33c5f9){const _0x166788=_0x3369de;this['_injector']['get'](_0x517d69)[_0x166788(0x1dd)](_0x158c08,_0x33c5f9);}}_0x35fe43[_0x3369de(0x1d8)]($);class tt extends _0x56773d{get[_0x3369de(0x26b)](){return _0x1db6e7;}get['LegendPositionEnum'](){return _0x191475;}get[_0x3369de(0x253)](){return _0x1020d3;}get[_0x3369de(0x270)](){return _0x5c5508;}get[_0x3369de(0x257)](){return _0x1c9149;}get[_0x3369de(0x254)](){return _0x3dca78;}get[_0x3369de(0x239)](){return _0x17c12f;}get[_0x3369de(0x269)](){return _0x5c3175;}}_0x56773d[_0x3369de(0x1d8)](tt);class et extends c{constructor(_0x5c712c,_0x507434,_0x38910f,_0x30da56,_0x5240c4){const _0x22a37f=_0x3369de;super(_0x5c712c,_0x507434,_0x38910f,_0x30da56,_0x5240c4),n(this,_0x22a37f(0x1e1)),n(this,_0x22a37f(0x211)),n(this,_0x22a37f(0x1e3)),n(this,_0x22a37f(0x215));}[_0x3369de(0x233)](_0x32b926){const _0x55a2a0=_0x3369de;return this[_0x55a2a0(0x1e1)]=_0x32b926,this;}['setDataPointShape'](_0x388d38){const _0x2865c7=_0x3369de;return this[_0x2865c7(0x211)]=_0x388d38,this;}[_0x3369de(0x213)](_0x3f19f4){const _0x4911ec=_0x3369de;return this[_0x4911ec(0x1e3)]=_0x3f19f4,this;}[_0x3369de(0x277)](_0x15c446){const _0x47a7fe=_0x3369de;return this[_0x47a7fe(0x215)]=_0x15c446,this;}[_0x3369de(0x26f)](){const _0x51f30b=_0x3369de,_0xfb0df=super['build']();_0xfb0df[_0x51f30b(0x248)]=_0x1db6e7[_0x51f30b(0x225)];const _0x6e23dc=_0xfb0df[_0x51f30b(0x258)]||{};return s(_0x6e23dc,_0x51f30b(0x230),this[_0x51f30b(0x1e1)]),s(_0x6e23dc,_0x51f30b(0x24e),this['dataPointShape']),s(_0x6e23dc,'allSeriesStyle.point.color',this['dataPointColor']),s(_0x6e23dc,_0x51f30b(0x25d),this[_0x51f30b(0x215)]),_0xfb0df['options']=_0x6e23dc,_0xfb0df;}}class it extends c{['asLineChart'](){const _0x142675=_0x3369de;return new et(this[_0x142675(0x25f)],this[_0x142675(0x1d9)],this['_workbook'],this['_injector'],this['chartId']);}}c[_0x3369de(0x1d8)](it);class st extends c{constructor(_0xccc30,_0x167be0,_0x1bb698,_0x453b9c,_0x39477e){const _0xe64a5a=_0x3369de;super(_0xccc30,_0x167be0,_0x1bb698,_0x453b9c,_0x39477e),n(this,_0xe64a5a(0x236)),n(this,'borderColor'),n(this,_0xe64a5a(0x235)),n(this,_0xe64a5a(0x1da)),n(this,_0xe64a5a(0x250)),n(this,'showLabelLine');}['setDoughnutHole'](_0xe63272){const _0x401df2=_0x3369de;return this[_0x401df2(0x236)]=_0xe63272,this;}['setBorderColor'](_0x1b13d3){return this['borderColor']=_0x1b13d3,this;}['setHasPaddingAngle'](_0x10fd47){const _0x24984a=_0x3369de;return this[_0x24984a(0x235)]=_0x10fd47,this;}[_0x3369de(0x244)](_0x13d648){const _0x59666a=_0x3369de;return this[_0x59666a(0x1da)]=_0x13d648,this;}[_0x3369de(0x212)](_0x15d796){const _0x182fb5=_0x3369de;return this[_0x182fb5(0x250)]=_0x15d796,this;}[_0x3369de(0x1dc)](_0x325bd0){const _0xfb7db=_0x3369de;return this[_0xfb7db(0x200)]=_0x325bd0,this;}['build'](){const _0x4204f5=_0x3369de,_0x2fa7bd=super[_0x4204f5(0x26f)]();_0x2fa7bd['chartType']=_0x1db6e7[_0x4204f5(0x1c9)];const _0x5d6123=_0x2fa7bd['options']||{};return s(_0x5d6123,'pie.doughnutHole',this['doughnutHole']),s(_0x5d6123,_0x4204f5(0x1cb),this[_0x4204f5(0x24a)]),s(_0x5d6123,'pie.hasPaddingAngle',this[_0x4204f5(0x235)]),s(_0x5d6123,_0x4204f5(0x1ec),this[_0x4204f5(0x1da)]),s(_0x5d6123,'pie.rosePie',this['rosePie']),s(_0x5d6123,'pie.showLabelLine',this['showLabelLine']),_0x2fa7bd[_0x4204f5(0x258)]=_0x5d6123,_0x2fa7bd;}}class rt extends c{[_0x3369de(0x1d4)](){const _0x2fb738=_0x3369de;return new st(this['unitId'],this[_0x2fb738(0x1d9)],this[_0x2fb738(0x1e4)],this[_0x2fb738(0x1f3)],this['chartId']);}}c[_0x3369de(0x1d8)](rt);class ot extends c{constructor(_0x33c6b9,_0x472c1a,_0x51e885,_0x30eab8,_0x2a58f3){const _0xe9c7ff=_0x3369de;super(_0x33c6b9,_0x472c1a,_0x51e885,_0x30eab8,_0x2a58f3),n(this,_0xe9c7ff(0x210)),n(this,_0xe9c7ff(0x256));}[_0x3369de(0x1ff)](_0x576ce7){const _0x4f8f94=_0x3369de;return this[_0x4f8f94(0x210)]=_0x576ce7,this;}[_0x3369de(0x266)](_0xafb4d0){return this['fill']=_0xafb4d0,this;}[_0x3369de(0x26f)](){const _0x2b084c=_0x3369de,_0xf66439=super[_0x2b084c(0x26f)]();_0xf66439['chartType']=_0x1db6e7['Radar'];const _0x1c0b17=_0xf66439[_0x2b084c(0x258)]||{};return s(_0x1c0b17,'radar.shape',this['shape']),s(_0x1c0b17,_0x2b084c(0x1e6),this[_0x2b084c(0x256)]),_0xf66439[_0x2b084c(0x258)]=_0x1c0b17,_0xf66439;}}class nt extends c{[_0x3369de(0x232)](){const _0x14126a=_0x3369de;return new ot(this[_0x14126a(0x25f)],this[_0x14126a(0x1d9)],this[_0x14126a(0x1e4)],this[_0x14126a(0x1f3)],this[_0x14126a(0x259)]);}}c[_0x3369de(0x1d8)](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-h-full{height:100%}.univer-w-1\/2{width:50%}.univer-w-\[136px\]{width:136px}.univer-w-\[208px\]{width:208px}.univer-w-\[290px\]{width:290px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.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}
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}