@univerjs-pro/sheets-chart-ui 0.9.1-nightly.202507061606 → 0.9.1
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/ko-KR.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/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/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/ko-KR.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 +14 -14
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x993c7b=_0x1bb2;(function(_0x573fec,_0xb32e46){const _0x1ce053=_0x1bb2,_0xc4be1c=_0x573fec();while(!![]){try{const _0x44fceb=parseInt(_0x1ce053(0x17b))/0x1+-parseInt(_0x1ce053(0x1a8))/0x2+parseInt(_0x1ce053(0x149))/0x3+parseInt(_0x1ce053(0x170))/0x4+parseInt(_0x1ce053(0x140))/0x5*(parseInt(_0x1ce053(0x198))/0x6)+-parseInt(_0x1ce053(0x155))/0x7*(parseInt(_0x1ce053(0x1b0))/0x8)+-parseInt(_0x1ce053(0x1a5))/0x9*(parseInt(_0x1ce053(0x180))/0xa);if(_0x44fceb===_0xb32e46)break;else _0xc4be1c['push'](_0xc4be1c['shift']());}catch(_0x4ef6aa){_0xc4be1c['push'](_0xc4be1c['shift']());}}}(_0x2c7d,0x844d4));const e={'chart':{'insertChart':_0x993c7b(0x1a7),'editChart':'图表','openChartPanel':_0x993c7b(0x1a1),'deleteChart':_0x993c7b(0x1bf),'hideChartPanel':_0x993c7b(0x194),'setupChart':'类型与数据','customChart':_0x993c7b(0x19d),'default':'默认','reset':'重置','chartType':'图表类型','themes':'主题色','dataRange':'数据范围','stack':'堆叠','category':'类别','aggregate':'聚合','allSeries':_0x993c7b(0x1a9),'series':'系列','addSeries':_0x993c7b(0x195),'moreSettings':_0x993c7b(0x14b),'min':_0x993c7b(0x183),'max':_0x993c7b(0x199),'invalidType':{'gaps':'空','zero':'零','connectDataPointsWithStraightLines':_0x993c7b(0x15e)},'blank':_0x993c7b(0x189),'seriesBlock':{'format':'格式','dataPointStyle':_0x993c7b(0x17e)},'backgroundColor':_0x993c7b(0x181),'chartBorderColor':_0x993c7b(0x178),'titles':{'title':'标题','mainTitle':_0x993c7b(0x151),'subTitle':_0x993c7b(0x144),'xAxisTitle':_0x993c7b(0x14d),'yAxisTitle':_0x993c7b(0x139),'rightYAxisTitle':_0x993c7b(0x182),'titleFormat':'标题格式','titleText':_0x993c7b(0x15d),'titlePosition':'标题位置','titleAlign':'轴标题对齐'},'axisPositionType':{'start':'开始','center':'中间','end':'结束'},'gradientFill':_0x993c7b(0x16d),'settingsLabels':{'switchToRowOrColumn':'切换行列','useAsCategoryLabels':_0x993c7b(0x197),'showEmptyCellsAs':'空单元格显示为'},'positionType':{'auto':'自动','inside':'内部','outside':'外部','top':'顶部','bottom':'底部','left':'左侧','right':'右侧','hide':'隐藏'},'align':{'left':_0x993c7b(0x138),'center':'居中','right':'右对齐'},'alignY':{'top':'顶部','middle':'居中','bottom':'底部'},'chartStyle':_0x993c7b(0x16f),'chartAndAxisTitles':_0x993c7b(0x1bb),'legend':'图例','legendSelectMode':_0x993c7b(0x177),'legendSelectModeType':{'single':'单选','multiple':'多选','close':'关闭'},'axes':{'axis':'轴','axisOptions':_0x993c7b(0x16a),'horizontalAxis':'横轴','verticalAxis':'纵轴','rightVerticalAxis':_0x993c7b(0x1bc),'leftAxis':'左轴','rightAxis':'右轴','useRightAxis':'使用右轴'},'position':'位置','dataLabels':_0x993c7b(0x1b6),'gridlinesAndTicks':_0x993c7b(0x1b4),'indicatorLine':_0x993c7b(0x1b5),'indicatorLineType':_0x993c7b(0x13b),'indicatorLineColor':_0x993c7b(0x193),'indicatorLabel':'标签颜色','indicatorValue':_0x993c7b(0x15b),'shape':{'polygon':_0x993c7b(0x18b),'circle':'圆形','square':_0x993c7b(0x148),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x993c7b(0x142),'pin':'钉形','arrow':'箭头','none':'无','emptyCircle':_0x993c7b(0x196),'emptySquare':_0x993c7b(0x152),'emptyTriangle':_0x993c7b(0x14f),'emptyDiamond':'空心菱形','emptyRect':_0x993c7b(0x137),'emptyRoundRect':_0x993c7b(0x166),'emptyPin':_0x993c7b(0x1b3),'emptyArrow':_0x993c7b(0x1a3)},'border':'边框','value':'值','fill':'填充','line':'线条','withOpacity':_0x993c7b(0x17f),'withColor':'{0}颜色','withThickness':_0x993c7b(0x1be),'withType':_0x993c7b(0x184),'withSize':_0x993c7b(0x187),'withShape':_0x993c7b(0x17c),'withFormat':'{0}格式','dataPoint':_0x993c7b(0x18c),'addDataPoint':_0x993c7b(0x16b),'point':'数据点','percentage':_0x993c7b(0x154),'lineType':{'line':'折线','smooth':'平滑','step':'阶梯'},'stackType':{'stack':'堆叠','percent':'百分比堆叠'},'lineDashType':'线类型','dashType':{'solid':'实线','dash':'虚线','dot':'点线'},'color':'颜色','gridlines':{'majorGridlines':'主网格线','text':_0x993c7b(0x18a)},'ticks':{'majorTick':_0x993c7b(0x168),'tickPosition':'刻度线位置','tickLength':_0x993c7b(0x191)},'none':'无','theIndexItem':_0x993c7b(0x141),'seriesDefaultName':_0x993c7b(0x1ae),'categoryDefaultName':_0x993c7b(0x157),'styleEditPanel':{'showLabels':'显示标签','showDataLabels':_0x993c7b(0x14e),'padAngle':_0x993c7b(0x176),'halfPie':'半饼','rosePie':_0x993c7b(0x19c),'showLabelLine':_0x993c7b(0x13c),'reverseAxisOrder':'逆序轴','showAxisLine':_0x993c7b(0x1a4),'labelPosition':_0x993c7b(0x14c),'labelText':_0x993c7b(0x153),'repeatWordCould':_0x993c7b(0x172),'gap':'间隔','useAbsValue':_0x993c7b(0x174),'labelRotate':_0x993c7b(0x1b7),'wordCloudShape':'词云形状','useDateAxis':_0x993c7b(0x13f),'dateAxisTips':_0x993c7b(0x18f)},'radar':{'fill':'填充'},'doughnutHole':'圆环孔','msg':{'invalidSource':'图表数据源必须包含多于1行和1列。','emptyTips':'请先添加系列开始数据可视化'},'cloud':{'title':'词云','word':'词语','frequency':'频率'},'trendline':{'name':_0x993c7b(0x186),'displayName':_0x993c7b(0x1ab),'addTrendLine':_0x993c7b(0x185),'trendlineType':'趋势线类型','trendlineName':_0x993c7b(0x1ab),'trendlineColor':_0x993c7b(0x19b),'trendlineThickness':_0x993c7b(0x1b9),'trendlineDashType':_0x993c7b(0x1b8),'exp':'指数','linear':'线性','log':'对数','pow':'幂','movingAvg':_0x993c7b(0x14a),'poly':_0x993c7b(0x175),'order':_0x993c7b(0x179),'period':_0x993c7b(0x15c),'showFormula':_0x993c7b(0x159),'showR2':'显示R平方','formula':'公式','r2':_0x993c7b(0x16e)},'bubble':{'xAxis':'X轴','yAxis':'Y轴','size':_0x993c7b(0x1ad),'label':_0x993c7b(0x18d),'emptyTips':_0x993c7b(0x19f)},'relation':{'title':_0x993c7b(0x150),'auto':'自动','circular':'环形','force':'力导向','useValueAsSymbolSize':_0x993c7b(0x17d),'layoutType':_0x993c7b(0x1a0),'forceOptions':'力导向选项','repulsion':'斥力','gravity':'引力','edgeLength':_0x993c7b(0x15f),'rotateLabel':_0x993c7b(0x19a),'emphasis':_0x993c7b(0x13d),'emptyTips':'关系图数据源为额外添加类型列在第二列的共词矩阵'},'waterfall':{'stackType':_0x993c7b(0x18e),'arrangement':'依序','stacked':'堆积','positive':'正值','negative':'负值','subtotal':'小计','showSubtotal':'显示小计','positiveStyle':_0x993c7b(0x1ba),'negativeStyle':_0x993c7b(0x16c),'subtotalStyle':_0x993c7b(0x190),'positiveLegendText':_0x993c7b(0x1a6),'negativeLegendText':_0x993c7b(0x15a),'subtotalLegendText':_0x993c7b(0x156)},'pareto':{'lineName':_0x993c7b(0x192),'lineSeries':'累积占比系列','barSeries':_0x993c7b(0x188)}},'chartTypes':{'line':_0x993c7b(0x167),'area':'面积图','areaStacked':_0x993c7b(0x1b2),'areaPercentStacked':_0x993c7b(0x1b1),'column':_0x993c7b(0x13e),'bar':_0x993c7b(0x147),'barStacked':_0x993c7b(0x13a),'barPercentStacked':_0x993c7b(0x169),'pie':'饼图','donut':_0x993c7b(0x161),'scatter':_0x993c7b(0x1a2),'radar':_0x993c7b(0x164),'bubble':_0x993c7b(0x162),'stock':'股票图','combination':_0x993c7b(0x143),'wordCloud':_0x993c7b(0x146),'funnel':_0x993c7b(0x1ac),'relation':_0x993c7b(0x150),'waterfall':_0x993c7b(0x1bd),'pareto':_0x993c7b(0x165)},'dialog':{'numfmt':{'general':'常规','accounting':'会计','currency':'货币','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x993c7b(0x163),'formatTypes':_0x993c7b(0x160),'confirm':'确定','cancel':'取消','generalDesc':_0x993c7b(0x17a),'accountingDesc':'会计数字格式可对一列数值进行货币符号和小数点对齐。','currencyDesc':_0x993c7b(0x145),'dateDesc':_0x993c7b(0x1af),'thousandthPercentileDesc':_0x993c7b(0x171),'decimalPlaces':_0x993c7b(0x173),'currencyTypes':_0x993c7b(0x1aa),'negativeNumberTypes':'负数类型','dateTypes':_0x993c7b(0x158)},'setFormat':_0x993c7b(0x19e)}};function _0x2c7d(){const _0x248250=['空心正方形','标签文本','百分比','539xVVxDn','小计图例文本','类别\x20{0}','日期类型','显示公式','负值图例文本','文本颜色','移动平均周期','标题文本','用直线连接数据点','节点距离','格式类型','环形图','气泡图','字段设置','雷达图','排列图','空心圆角矩形','折线图','主刻度线','百分比堆叠条形图','轴选项','添加数据点','负值样式','渐变填充','R平方','图表样式','3497620ycjHCO','千分位符格式用于一般数字的表示,货币和会计格式则提供货币值计算的专用格式。','重复词云标签','小数位数','使用绝对值','多项式','扇形间距','图例选择模式','图表边框颜色','多项式阶数','常规格式不包含任何特定的数字格式。','640407sLkIOv','{0}形状','使用值作为节点大小','数据点样式','{0}透明度','10gEglhU','背景颜色','右纵轴标题','最小值','{0}类型','添加趋势线','趋势线','{0}大小','柱状图系列','(空)','网格线','多边形','数据点','气泡标签','堆叠方式','日期轴仅在数据全部为日期格式时可用','小计样式','刻度线长度','累积占比','指示线颜色','隐藏图表面板','添加系列','空心圆形','将\x20{0}\x20作为类别','438TpWqjw','最大值','旋转标签','趋势线颜色','玫瑰图','自定义样式','设置标签格式','气泡图至少需要3列,X轴、Y轴和气泡大小。','布局类型','打开图表面板','散点图','空心箭头','显示轴线','10430181XaPRnF','正值图例文本','插入图表','1373778YblImZ','所有系列','货币类型','趋势线名称','漏斗图','气泡大小','系列\x20{0}','日期格式将日期和时间系列数值品示为日期值。','8FauOQG','百分比堆叠面积图','堆叠面积图','空心钉形','网格线和刻度线','指示线','数据标签','标签旋转','趋势线线类型','趋势线粗细','正值样式','图表和轴标题','右纵轴','瀑布图','{0}粗细','删除图表','空心矩形','左对齐','纵轴标题','堆叠条形图','指示线类型','显示标签线','开启选中淡入特效','柱状图','使用日期轴','23255weyyjN','第{0}项','圆角矩形','组合图','副标题','货币格式用于表示一般货币数值,会计格式可以对一列数值进行小数点对齐。','词云图','条形图','正方形','1600344zvaeIJ','移动平均','更多设置','标签位置','横轴标题','显示数据标签','空心三角形','关系图','图表标题'];_0x2c7d=function(){return _0x248250;};return _0x2c7d();}function _0x1bb2(_0xba88c3,_0x5929d9){const _0x2c7d7a=_0x2c7d();return _0x1bb2=function(_0x1bb28c,_0x3433ec){_0x1bb28c=_0x1bb28c-0x137;let _0x1284c0=_0x2c7d7a[_0x1bb28c];return _0x1284c0;},_0x1bb2(_0xba88c3,_0x5929d9);}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x446d5b=_0x57a7;function _0x57a7(_0x65961e,_0x3149a0){const _0xf93bb=_0xf93b();return _0x57a7=function(_0x57a717,_0x3231ee){_0x57a717=_0x57a717-0x6b;let _0x1da4ad=_0xf93bb[_0x57a717];return _0x1da4ad;},_0x57a7(_0x65961e,_0x3149a0);}(function(_0x3c4973,_0x176bb1){const _0x46fa71=_0x57a7,_0x417265=_0x3c4973();while(!![]){try{const _0xc2fe72=-parseInt(_0x46fa71(0xa9))/0x1*(parseInt(_0x46fa71(0x71))/0x2)+-parseInt(_0x46fa71(0xb6))/0x3*(parseInt(_0x46fa71(0xce))/0x4)+-parseInt(_0x46fa71(0xd8))/0x5+parseInt(_0x46fa71(0xb3))/0x6*(-parseInt(_0x46fa71(0xab))/0x7)+parseInt(_0x46fa71(0xb0))/0x8*(-parseInt(_0x46fa71(0xa0))/0x9)+parseInt(_0x46fa71(0xc2))/0xa*(parseInt(_0x46fa71(0x9e))/0xb)+-parseInt(_0x46fa71(0xb9))/0xc*(-parseInt(_0x46fa71(0x9b))/0xd);if(_0xc2fe72===_0x176bb1)break;else _0x417265['push'](_0x417265['shift']());}catch(_0x5f3f8e){_0x417265['push'](_0x417265['shift']());}}}(_0xf93b,0x35363));const e={'chart':{'insertChart':'插入圖表','editChart':_0x446d5b(0xeb),'openChartPanel':'打開圖表面板','deleteChart':_0x446d5b(0x7e),'hideChartPanel':_0x446d5b(0xc9),'setupChart':_0x446d5b(0xe1),'customChart':_0x446d5b(0x86),'default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x446d5b(0x76),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x446d5b(0x92),'series':'系列','addSeries':'添加系列','moreSettings':_0x446d5b(0xe0),'min':_0x446d5b(0xdd),'max':_0x446d5b(0xcc),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':_0x446d5b(0x8f),'seriesBlock':{'format':'格式','dataPointStyle':_0x446d5b(0xba)},'backgroundColor':'背景顏色','chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x446d5b(0x88),'subTitle':'副標題','xAxisTitle':_0x446d5b(0xc4),'yAxisTitle':'Y軸標題','rightYAxisTitle':_0x446d5b(0x96),'titleFormat':_0x446d5b(0x72),'titleText':_0x446d5b(0x7a),'titlePosition':_0x446d5b(0xa2),'titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x446d5b(0x9f),'settingsLabels':{'switchToRowOrColumn':_0x446d5b(0x8d),'useAsCategoryLabels':_0x446d5b(0xac),'showEmptyCellsAs':_0x446d5b(0x77)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x446d5b(0xb1),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x446d5b(0x6e),'chartAndAxisTitles':_0x446d5b(0xa8),'legend':'圖例','legendSelectMode':_0x446d5b(0x84),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'axes':{'axis':'軸','axisOptions':_0x446d5b(0xda),'horizontalAxis':_0x446d5b(0x70),'verticalAxis':_0x446d5b(0x94),'rightVerticalAxis':_0x446d5b(0xae),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x446d5b(0x89)},'position':'位置','dataLabels':_0x446d5b(0xe8),'gridlinesAndTicks':_0x446d5b(0xcd),'indicatorLine':'指示線','indicatorLineType':'指示線類型','indicatorLineColor':_0x446d5b(0x8a),'indicatorLabel':_0x446d5b(0x9c),'indicatorValue':'指示值','shape':{'polygon':_0x446d5b(0x93),'circle':'圓形','square':_0x446d5b(0xb7),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x446d5b(0xc1),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x446d5b(0x7c),'emptyTriangle':'空心三角形','emptyDiamond':_0x446d5b(0x90),'emptyRect':_0x446d5b(0x99),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x446d5b(0xbc),'emptyArrow':_0x446d5b(0x78)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x446d5b(0xa1),'withColor':'{0}\x20顏色','withThickness':_0x446d5b(0xbb),'withType':_0x446d5b(0xd2),'withSize':_0x446d5b(0xad),'withShape':_0x446d5b(0x7d),'withFormat':_0x446d5b(0xbd),'dataPoint':_0x446d5b(0xcf),'addDataPoint':_0x446d5b(0xb5),'point':'數據點','percentage':_0x446d5b(0xc7),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x446d5b(0x83)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':_0x446d5b(0x98)},'ticks':{'majorTick':_0x446d5b(0x79),'tickPosition':_0x446d5b(0x95),'tickLength':_0x446d5b(0x85)},'none':'無','theIndexItem':'第\x20{0}\x20項','seriesDefaultName':_0x446d5b(0x9a),'categoryDefaultName':'類別\x20{0}','styleEditPanel':{'showLabels':_0x446d5b(0xea),'showDataLabels':'顯示數據標籤','padAngle':'扇形間距','halfPie':'半餅','rosePie':'玫瑰圖','showLabelLine':_0x446d5b(0x9d),'reverseAxisOrder':_0x446d5b(0xe7),'showAxisLine':_0x446d5b(0xbf),'labelPosition':'標籤位置','labelText':'標籤文本','repeatWordCould':'重複詞雲標籤','gap':'間隔','useAbsValue':_0x446d5b(0xc3),'labelRotate':_0x446d5b(0x82),'wordCloudShape':_0x446d5b(0x8c),'useDateAxis':_0x446d5b(0xc8),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x446d5b(0x91),'msg':{'invalidSource':_0x446d5b(0xc5),'emptyTips':'請先添加系列開始數據可視化'},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x446d5b(0x7f),'addTrendLine':'添加趨勢線','trendlineType':_0x446d5b(0xbe),'trendlineName':'趨勢線名稱','trendlineColor':'趨勢線顏色','trendlineThickness':'趨勢線粗細','trendlineDashType':_0x446d5b(0x97),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x446d5b(0x80),'poly':_0x446d5b(0xd6),'order':_0x446d5b(0x7b),'period':_0x446d5b(0xd5),'showFormula':_0x446d5b(0xcb),'showR2':'顯示R平方','formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x446d5b(0x6b),'label':'氣泡標籤','emptyTips':_0x446d5b(0xe3)},'relation':{'title':_0x446d5b(0xd4),'auto':'自動','circular':'環形','force':_0x446d5b(0xd3),'useValueAsSymbolSize':_0x446d5b(0xdc),'layoutType':_0x446d5b(0xb8),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x446d5b(0x81),'rotateLabel':'旋轉標籤','emphasis':_0x446d5b(0x8b),'emptyTips':_0x446d5b(0xe2)},'waterfall':{'stackType':_0x446d5b(0xe9),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':'正值樣式','negativeStyle':_0x446d5b(0x73),'subtotalStyle':'小計樣式','positiveLegendText':'正值圖例文本','negativeLegendText':_0x446d5b(0xa6),'subtotalLegendText':_0x446d5b(0x87)},'pareto':{'lineName':_0x446d5b(0xe5),'lineSeries':'累積占比系列','barSeries':_0x446d5b(0xb2)}},'chartTypes':{'line':_0x446d5b(0xa4),'area':_0x446d5b(0xca),'areaStacked':_0x446d5b(0xa5),'areaPercentStacked':_0x446d5b(0xc0),'column':_0x446d5b(0x8e),'bar':_0x446d5b(0xc6),'barStacked':_0x446d5b(0xec),'barPercentStacked':_0x446d5b(0x74),'pie':'餅圖','donut':_0x446d5b(0xe6),'scatter':'散點圖','radar':_0x446d5b(0xd1),'bubble':_0x446d5b(0xdf),'stock':_0x446d5b(0xd9),'combination':_0x446d5b(0xb4),'wordCloud':'詞雲圖','funnel':_0x446d5b(0xdb),'relation':_0x446d5b(0xd4),'waterfall':_0x446d5b(0xa7),'pareto':_0x446d5b(0xe4)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x446d5b(0x6c),'formatTypes':'格式類型','confirm':'確定','cancel':'取消','generalDesc':_0x446d5b(0x75),'accountingDesc':_0x446d5b(0x6f),'currencyDesc':_0x446d5b(0xde),'dateDesc':_0x446d5b(0xaa),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':_0x446d5b(0xd7),'currencyTypes':_0x446d5b(0xaf),'negativeNumberTypes':_0x446d5b(0xd0),'dateTypes':_0x446d5b(0xa3)},'setFormat':_0x446d5b(0x6d)}};export{e as default};function _0xf93b(){const _0x6289f3=['垂直軸','刻度線位置','右Y軸標題','趨勢線線類型','網格線','空心矩形','系列\x20{0}','39uBgWFt','指示標籤','顯示標籤線','33nPULNE','漸變填充','694134hqgNhR','{0}\x20透明度','標題位置','日期類型','折線圖','堆疊面積圖','負值圖例文本','瀑布圖','圖表和軸標題','4015IbURRh','日期格式將日期和時間系列數值顯示為日期值。','14bPkGyN','使用\x20{0}\x20作為類別標籤','{0}\x20大小','右垂直軸','貨幣類型','8yekYtX','左對齊','長條圖系列','682782RbuEtX','組合圖','添加數據點','81GmLhoO','正方形','佈局類型','3361776TYWdKp','數據點樣式','{0}\x20粗細','空心針形','{0}\x20格式','趨勢線類型','顯示軸線','百分比堆疊面積圖','圓角矩形','695650MwfZSV','使用絕對值','X軸標題','圖表數據源必須包含多於1行和1列。','條形圖','百分比','使用日期軸','隱藏圖表面板','面積圖','顯示公式','最大值','網格線和刻度線','34868CXZGzs','數據點','負數類型','雷達圖','{0}\x20類型','力導向','關係圖','移動平均周期','多項式','小數位數','110500ISMHmY','股票圖','軸選項','漏斗圖','使用值作為節點大小','最小值','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','氣泡圖','更多設置','設置圖表','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','氣泡圖至少需要3列,X軸、Y軸和氣泡大小。','排列圖','累積占比','環形圖','逆序軸','數據標籤','堆疊方式','顯示標籤','編輯圖表','堆疊條形圖','氣泡大小','字段設置','設置標籤格式','圖表樣式','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','水平軸','134QcdHNK','標題格式','負值樣式','百分比堆疊條形圖','常規格式不包含任何特定的數字格式。','數據範圍','顯示空單元格為','空心箭頭','主刻度線','標題文本','多項式階數','空心正方形','{0}\x20形狀','刪除圖表','趨勢線名稱','移動平均','節點距離','標籤旋轉','百分比堆疊','圖例選擇模式','刻度線長度','自定義圖表','小計圖例文本','主標題','使用右軸','指示線顏色','開啟選中淡入特效','詞雲形狀','切換行或列','柱狀圖','(空)','空心菱形','圓環孔','所有系列','多邊形'];_0xf93b=function(){return _0x6289f3;};return _0xf93b();}
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1e7036=_0x4b68;(function(_0x57f2ff,_0x241e94){const _0x17f773=_0x4b68,_0xaba3f4=_0x57f2ff();while(!![]){try{const _0x89ba83=-parseInt(_0x17f773(0x194))/0x1*(parseInt(_0x17f773(0x14f))/0x2)+-parseInt(_0x17f773(0x124))/0x3+parseInt(_0x17f773(0x17f))/0x4+-parseInt(_0x17f773(0x168))/0x5*(parseInt(_0x17f773(0x1b2))/0x6)+parseInt(_0x17f773(0x1c3))/0x7+parseInt(_0x17f773(0x1c6))/0x8*(parseInt(_0x17f773(0x14c))/0x9)+parseInt(_0x17f773(0x1cf))/0xa*(parseInt(_0x17f773(0x13f))/0xb);if(_0x89ba83===_0x241e94)break;else _0xaba3f4['push'](_0xaba3f4['shift']());}catch(_0x2d507d){_0xaba3f4['push'](_0xaba3f4['shift']());}}}(_0xbe9b,0xacde6));var b=Object['defineProperty'],k=(_0x5b52f0,_0x3e2797,_0xdd11df)=>_0x3e2797 in _0x5b52f0?b(_0x5b52f0,_0x3e2797,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xdd11df}):_0x5b52f0[_0x3e2797]=_0xdd11df,n=(_0x45df65,_0x3106f7,_0x249281)=>k(_0x45df65,typeof _0x3106f7!=_0x1e7036(0x1af)?_0x3106f7+'':_0x3106f7,_0x249281);import{ChartThemeService as _0x33925f,ChartTypeBits as _0x1de160,LegendPositionEnum as _0x5961db,SelectModeEnum as _0x3a644c,AxisAlignEnum as _0x36cb7d,ChartBorderDashType as _0x167101,LinePointShape as _0x4e0d26,TitlePositionEnum as _0x5b6e6c,RadarShape as _0x51f8df}from'@univerjs-pro/engine-chart';import{setProperty as _0x1a4f7b,SheetsChartService as _0x84071c,ChartUpdateSourceCommand as _0x4879b7,ChartUpdateConfigCommand as _0xc9c702}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x364c04}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x5cbe36,IUniverInstanceService as _0x43c2dd,UniverInstanceType as _0x58ae12,generateRandomId as _0x230e22,DrawingTypeEnum as _0x44f70e}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1daecf}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x5f04b0}from'@univerjs/sheets/facade';import{FBase as _0x1ceff9,FEnum as _0x3a466e}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x59dd1e}from'@univerjs/engine-formula';import{IRenderManagerService as _0x436aff}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x22e20e,SheetSkeletonManagerService as _0xf9b6a8,convertPositionCellToSheetOverGrid as _0x3d370b}from'@univerjs/sheets-ui';const s=(_0x52ecef,_0x5e5174,_0x519ec4)=>{_0x519ec4!==void 0x0&&_0x1a4f7b(_0x52ecef,_0x5e5174,_0x519ec4);},C=(_0x14ec3c,_0x3671ae,_0xb81c5e,_0x30c004={})=>{const _0x58a14d=_0x1e7036,_0x4e976c={},_0x5a2310={};if(_0x30c004['title']){const _0x20cf36=_0x30c004[_0x58a14d(0x1db)];s(_0x4e976c,_0x58a14d(0x16f),_0x20cf36[_0x58a14d(0x182)]),s(_0x4e976c,_0x58a14d(0x1cc),_0x20cf36[_0x58a14d(0x19f)]),s(_0x4e976c,'titles.title.fontSize',_0x20cf36[_0x58a14d(0x157)]),s(_0x4e976c,_0x58a14d(0x162),_0x20cf36[_0x58a14d(0x185)]),s(_0x4e976c,'titles.title.family',_0x20cf36['fontStyle']),s(_0x4e976c,_0x58a14d(0x1c0),_0x20cf36[_0x58a14d(0x149)]),s(_0x4e976c,_0x58a14d(0x15f),_0x20cf36[_0x58a14d(0x170)]),s(_0x4e976c,_0x58a14d(0x15e),_0x20cf36[_0x58a14d(0x1ba)]);}if(_0x30c004[_0x58a14d(0x1e1)]){const _0x4a454f=_0x30c004['legend'];s(_0x4e976c,_0x58a14d(0x1de),_0x4a454f[_0x58a14d(0x1ba)]),s(_0x4e976c,_0x58a14d(0x14a),_0x4a454f['selectMode']),s(_0x4e976c,'legend.label.fontSize',_0x4a454f[_0x58a14d(0x157)]),s(_0x4e976c,_0x58a14d(0x135),_0x4a454f['color']),s(_0x4e976c,_0x58a14d(0x160),_0x4a454f[_0x58a14d(0x149)]),s(_0x4e976c,_0x58a14d(0x159),_0x4a454f[_0x58a14d(0x15a)]);}if(_0x30c004['pie']){const _0x206fb2=_0x30c004['pie'];s(_0x4e976c,'pie.doughnutHole',_0x206fb2[_0x58a14d(0x1a7)]),s(_0x4e976c,'pie.borderColor',_0x206fb2[_0x58a14d(0x123)]),s(_0x4e976c,_0x58a14d(0x1c5),_0x206fb2[_0x58a14d(0x120)]),s(_0x4e976c,_0x58a14d(0x196),_0x206fb2[_0x58a14d(0x13b)]),s(_0x4e976c,_0x58a14d(0x166),_0x206fb2['rosePie']),s(_0x4e976c,_0x58a14d(0x1a3),_0x206fb2['showLabelLine']);}if(_0x30c004['axisPointer']){const _0x58b359=_0x30c004['axisPointer'];s(_0x4e976c,'tooltip.indicatorLabelColor',_0x58b359[_0x58a14d(0x1bf)]),s(_0x4e976c,_0x58a14d(0x19c),_0x58b359[_0x58a14d(0x137)]),s(_0x4e976c,_0x58a14d(0x153),_0x58b359[_0x58a14d(0x145)]),s(_0x4e976c,_0x58a14d(0x133),_0x58b359[_0x58a14d(0x181)]);}if(_0x30c004['allSeriesStyle']&&(s(_0x4e976c,_0x58a14d(0x16d),_0x30c004[_0x58a14d(0x199)][_0x58a14d(0x13d)]),s(_0x4e976c,_0x58a14d(0x174),_0x30c004[_0x58a14d(0x199)][_0x58a14d(0x12d)]),s(_0x4e976c,_0x58a14d(0x13a),_0x30c004[_0x58a14d(0x199)][_0x58a14d(0x151)]),s(_0x4e976c,_0x58a14d(0x16a),_0x30c004[_0x58a14d(0x199)][_0x58a14d(0x16e)]),s(_0x4e976c,_0x58a14d(0x172),_0x30c004[_0x58a14d(0x199)][_0x58a14d(0x1d9)])),_0x30c004[_0x58a14d(0x1a9)]&&s(_0x4e976c,_0x58a14d(0x1a8),_0x30c004[_0x58a14d(0x1a9)][_0x58a14d(0x147)]),_0x30c004['theme']&&s(_0x4e976c,_0x58a14d(0x1ab),_0x30c004[_0x58a14d(0x1ab)]),_0x30c004[_0x58a14d(0x190)]&&s(_0x4e976c,_0x58a14d(0x190),_0x30c004[_0x58a14d(0x190)]),_0x30c004[_0x58a14d(0x123)]&&s(_0x4e976c,_0x58a14d(0x123),_0x30c004[_0x58a14d(0x123)]),_0x30c004[_0x58a14d(0x130)]&&s(_0x4e976c,'gradientFill',_0x30c004[_0x58a14d(0x130)]),_0x30c004[_0x58a14d(0x12c)]&&s(_0x4e976c,_0x58a14d(0x12c),_0x30c004[_0x58a14d(0x12c)]),_0x30c004[_0x58a14d(0x1d7)]&&s(_0x4e976c,'radar',_0x30c004[_0x58a14d(0x1d7)]),_0x30c004[_0x58a14d(0x1d4)]){const _0x576079=_0x30c004[_0x58a14d(0x1d4)];s(_0x4e976c,'titles.xAxisTitle.content',_0x576079['content']),s(_0x4e976c,_0x58a14d(0x1b5),_0x576079[_0x58a14d(0x19f)]),s(_0x4e976c,_0x58a14d(0x1a0),_0x576079[_0x58a14d(0x157)]),s(_0x4e976c,_0x58a14d(0x186),_0x576079[_0x58a14d(0x185)]),s(_0x4e976c,_0x58a14d(0x17a),_0x576079['fontStyle']),s(_0x4e976c,_0x58a14d(0x134),_0x576079[_0x58a14d(0x149)]),s(_0x4e976c,'xAxis.label.axisTitleAlign',_0x576079[_0x58a14d(0x1e0)]);}if(_0x30c004[_0x58a14d(0x15b)]){const _0x167fea=_0x30c004[_0x58a14d(0x15b)];s(_0x4e976c,_0x58a14d(0x163),_0x167fea[_0x58a14d(0x182)]),s(_0x4e976c,_0x58a14d(0x161),_0x167fea[_0x58a14d(0x19f)]),s(_0x4e976c,_0x58a14d(0x148),_0x167fea[_0x58a14d(0x157)]),s(_0x4e976c,_0x58a14d(0x19b),_0x167fea[_0x58a14d(0x185)]),s(_0x4e976c,_0x58a14d(0x1d6),_0x167fea[_0x58a14d(0x1d8)]),s(_0x4e976c,_0x58a14d(0x1d2),_0x167fea[_0x58a14d(0x149)]),s(_0x4e976c,_0x58a14d(0x11f),_0x167fea[_0x58a14d(0x1e0)]);}if(_0x30c004['rightYAxisTitle']){const _0x516ec6=_0x30c004['rightYAxisTitle'];s(_0x4e976c,_0x58a14d(0x1bc),_0x516ec6['content']),s(_0x4e976c,_0x58a14d(0x1e4),_0x516ec6['font']),s(_0x4e976c,_0x58a14d(0x1a4),_0x516ec6[_0x58a14d(0x157)]),s(_0x4e976c,'titles.rightYAxisTitle.color',_0x516ec6[_0x58a14d(0x185)]),s(_0x4e976c,_0x58a14d(0x132),_0x516ec6[_0x58a14d(0x1d8)]),s(_0x4e976c,_0x58a14d(0x198),_0x516ec6[_0x58a14d(0x149)]),s(_0x4e976c,_0x58a14d(0x1df),_0x516ec6['axisAlignment']);}_0x30c004[_0x58a14d(0x13e)]&&s(_0x4e976c,'xAxis',_0x30c004[_0x58a14d(0x13e)]),_0x30c004['yAxis']&&s(_0x4e976c,_0x58a14d(0x1b3),_0x30c004[_0x58a14d(0x1b3)]),_0x30c004[_0x58a14d(0x18d)]&&s(_0x4e976c,'rightYAxis',_0x30c004[_0x58a14d(0x18d)]),_0x30c004['seriesStyleMap']&&s(_0x4e976c,'seriesStyleMap',_0x30c004['seriesStyleMap']);const _0x20ead7={'unitId':_0x14ec3c,'chartModelId':_0x3671ae};let _0x19bb50=!0x1;if(_0xb81c5e!==void 0x0&&(_0x20ead7[_0x58a14d(0x18b)]=_0xb81c5e,_0x19bb50=!0x0),Object[_0x58a14d(0x188)](_0x4e976c)['length']>0x0&&(_0x20ead7[_0x58a14d(0x142)]=_0x4e976c,_0x19bb50=!0x0),Object[_0x58a14d(0x188)](_0x5a2310)[_0x58a14d(0x195)]>0x0&&(_0x20ead7[_0x58a14d(0x129)]=_0x5a2310,_0x19bb50=!0x0),_0x19bb50)return _0x20ead7;};class c extends _0x1ceff9{constructor(_0x26d4df,_0x17ed2b,_0x1ff56a,_0x17b613,_0x4c42a7){const _0xf8fb7c=_0x1e7036;super(),n(this,_0xf8fb7c(0x158)),n(this,_0xf8fb7c(0x197)),n(this,_0xf8fb7c(0x1d0)),n(this,'subUnitId'),n(this,_0xf8fb7c(0x1a6)),n(this,_0xf8fb7c(0x1b1)),n(this,_0xf8fb7c(0x17d)),n(this,'x'),n(this,'y'),n(this,_0xf8fb7c(0x1b9)),n(this,'height'),n(this,'chartType'),n(this,_0xf8fb7c(0x191)),n(this,_0xf8fb7c(0x18a)),(this[_0xf8fb7c(0x1d0)]=_0x26d4df,this[_0xf8fb7c(0x1e3)]=_0x17ed2b,this[_0xf8fb7c(0x158)]=_0x1ff56a,this[_0xf8fb7c(0x197)]=_0x17b613,_0x4c42a7&&(this['chartId']=_0x4c42a7));}['getChartType'](){const _0x4c02fd=_0x1e7036;return this[_0x4c02fd(0x18b)];}[_0x1e7036(0x1b4)](_0x4dea80){const _0x3d77d7=_0x1e7036;if(typeof _0x4dea80==_0x3d77d7(0x1d1)){const _0x5756e9=_0x59dd1e(_0x4dea80);_0x5756e9[_0x3d77d7(0x178)]&&(this[_0x3d77d7(0x17d)]=_0x5756e9[_0x3d77d7(0x178)]),this['range']=_0x5756e9[_0x3d77d7(0x1b1)];}else this[_0x3d77d7(0x1b1)]=_0x4dea80;return this;}[_0x1e7036(0x125)](){const _0x56557b=_0x1e7036;return this[_0x56557b(0x1b1)]=void 0x0,this['sourceSheetName']=void 0x0,this;}['setPosition'](_0x41f9b5,_0x4d065a,_0x44df8a,_0x30d575){const _0x2ca9a6=_0x1e7036,_0x1f51aa=this[_0x2ca9a6(0x197)][_0x2ca9a6(0x16b)](_0x436aff)[_0x2ca9a6(0x1b7)](this[_0x2ca9a6(0x1d0)]);if(!_0x1f51aa)throw new Error(_0x2ca9a6(0x126));const _0x2dfd97=_0x1f51aa['with'](_0x22e20e),_0x136fe3=_0x1f51aa[_0x2ca9a6(0x1a5)](_0xf9b6a8),{transform:_0x247012}=_0x3d370b(this['unitId'],this[_0x2ca9a6(0x1e3)],{'row':_0x41f9b5,'column':_0x4d065a,'rowOffset':_0x44df8a,'columnOffset':_0x30d575},0x1,0x1,_0x2dfd97,_0x136fe3),_0x422e44=_0x247012[_0x2ca9a6(0x140)],_0x1457b1=_0x247012[_0x2ca9a6(0x1bb)];return this['x']=_0x1457b1,this['y']=_0x422e44,this;}[_0x1e7036(0x1b0)](_0x2f6291,_0x13156b){return this['x']=_0x2f6291,this['y']=_0x13156b,this;}[_0x1e7036(0x121)](_0x337147){const _0x252a90=_0x1e7036;return this[_0x252a90(0x18b)]=_0x337147,this;}[_0x1e7036(0x18f)](_0x1badc1){const _0x26185d=_0x1e7036;return this[_0x26185d(0x1b9)]=_0x1badc1,this;}[_0x1e7036(0x1bd)](_0xc13d5a){return this['height']=_0xc13d5a,this;}[_0x1e7036(0x1c8)](_0x15fc18,_0x228010){const _0xa4896b=_0x1e7036;return this['options']||(this[_0xa4896b(0x191)]={}),_0x15fc18===''?(this[_0xa4896b(0x191)]={...this[_0xa4896b(0x191)],..._0x228010},this):(_0x1a4f7b(this['options'],_0x15fc18,_0x228010),this);}[_0x1e7036(0x1ce)](_0xd3f22f){const _0x1d4c3a=_0x1e7036;return this[_0x1d4c3a(0x18a)]=_0xd3f22f,this;}['setTheme'](_0x300d27){const _0x22ea1f=_0x1e7036;return this[_0x22ea1f(0x1c8)]('theme',_0x300d27),this;}['setXAxisTitle'](_0x5f3a6f){const _0x30c313=_0x1e7036;var _0x22eeb5;const _0x1bc6a9=((_0x22eeb5=this['options'])==null?void 0x0:_0x22eeb5[_0x30c313(0x1d4)])||{};return _0x1bc6a9['content']=_0x5f3a6f,this[_0x30c313(0x1c8)](_0x30c313(0x1d4),_0x1bc6a9),this;}[_0x1e7036(0x128)](_0x4b98a9){const _0x5ca89e=_0x1e7036;var _0xcd15a8;const _0x8656e5=((_0xcd15a8=this[_0x5ca89e(0x191)])==null?void 0x0:_0xcd15a8[_0x5ca89e(0x15b)])||{};return _0x8656e5[_0x5ca89e(0x182)]=_0x4b98a9,this[_0x5ca89e(0x1c8)](_0x5ca89e(0x15b),_0x8656e5),this;}[_0x1e7036(0x175)](_0xe4f69d){const _0x23021b=_0x1e7036;var _0xb018d4;const _0xac043a=((_0xb018d4=this['options'])==null?void 0x0:_0xb018d4[_0x23021b(0x1c4)])||{};return _0xac043a[_0x23021b(0x182)]=_0xe4f69d,this[_0x23021b(0x1c8)]('rightYAxisTitle',_0xac043a),this;}[_0x1e7036(0x144)](_0x1cca3d){const _0x4821fb=_0x1e7036;var _0x11f3c7;const _0x4c43f0=((_0x11f3c7=this[_0x4821fb(0x191)])==null?void 0x0:_0x11f3c7['xAxisTitle'])||{};return this['setOptions'](_0x4821fb(0x1d4),{..._0x4c43f0,..._0x1cca3d}),this;}[_0x1e7036(0x1c9)](_0x4c1498){const _0x590672=_0x1e7036;var _0x5792d9;const _0x2625af=((_0x5792d9=this[_0x590672(0x191)])==null?void 0x0:_0x5792d9['yAxisTitle'])||{};return this[_0x590672(0x1c8)](_0x590672(0x15b),{..._0x2625af,..._0x4c1498}),this;}[_0x1e7036(0x165)](_0x1d63cc){const _0x344bd8=_0x1e7036;var _0x193d5f;const _0x2a6cfd=((_0x193d5f=this[_0x344bd8(0x191)])==null?void 0x0:_0x193d5f[_0x344bd8(0x1c4)])||{};return this[_0x344bd8(0x1c8)](_0x344bd8(0x1c4),{..._0x2a6cfd,..._0x1d63cc}),this;}[_0x1e7036(0x1a1)](_0x5c32b6){const _0x10da4c=_0x1e7036;return this[_0x10da4c(0x1c8)](_0x10da4c(0x12c),_0x5c32b6),this;}[_0x1e7036(0x192)](_0x59b867){const _0x154f8f=_0x1e7036;return this['setOptions'](_0x154f8f(0x127),_0x59b867),this;}[_0x1e7036(0x12f)](_0x2a0ffb){return this['setOptions']('allSeriesStyle',_0x2a0ffb),this;}[_0x1e7036(0x1c2)](_0x51d6be,_0x340ea8){const _0x54c7a7=_0x1e7036;return this[_0x54c7a7(0x1c8)](_0x54c7a7(0x122),{[_0x51d6be]:_0x340ea8}),this;}[_0x1e7036(0x19e)](){const _0x385e88=_0x1e7036;var _0x55b993;let _0x17c9e8=this[_0x385e88(0x1e3)];if(this[_0x385e88(0x17d)]){const _0x3a6a19=(_0x55b993=this[_0x385e88(0x158)][_0x385e88(0x176)](this[_0x385e88(0x17d)]))==null?void 0x0:_0x55b993[_0x385e88(0x154)]();if(!_0x3a6a19)throw new Error(_0x385e88(0x1ac)+this[_0x385e88(0x17d)]+_0x385e88(0x1ca));_0x17c9e8=_0x3a6a19;}return{'unitId':this[_0x385e88(0x1d0)],'subUnitId':_0x17c9e8,'chartId':this['chartId'],'range':this[_0x385e88(0x1b1)],'x':this['x'],'y':this['y'],'width':this[_0x385e88(0x1b9)],'height':this['height'],'chartType':this[_0x385e88(0x18b)],'options':this[_0x385e88(0x191)],'isRowDirection':this[_0x385e88(0x18a)]};}}class f{constructor(_0x213669,_0x5e31f9,_0x247853,_0x44cabc){const _0x202388=_0x1e7036;n(this,_0x202388(0x1d0)),n(this,'subUnitId'),n(this,_0x202388(0x1a6)),n(this,_0x202388(0x197)),(this[_0x202388(0x1d0)]=_0x213669,this['subUnitId']=_0x5e31f9,this['chartId']=_0x247853,this[_0x202388(0x197)]=_0x44cabc);}[_0x1e7036(0x17b)](){const _0xd6bbb6=_0x1e7036;return this[_0xd6bbb6(0x1a6)];}[_0x1e7036(0x177)](){const _0x2c2202=_0x1e7036,_0x15c7d5=this[_0x2c2202(0x197)][_0x2c2202(0x16b)](_0x84071c)[_0x2c2202(0x1d3)](this[_0x2c2202(0x1a6)]);if(_0x15c7d5)return _0x15c7d5[_0x2c2202(0x169)]['getRangeInfo']();}[_0x1e7036(0x155)](_0x1629e4){const _0x188aa7=_0x1e7036;return this[_0x188aa7(0x197)][_0x188aa7(0x16b)](_0x5cbe36)[_0x188aa7(0x136)](_0x4879b7['id'],{'unitId':this['unitId'],'chartModelId':this['chartId'],'range':_0x1629e4});}[_0x1e7036(0x131)](){const _0x7a7369=_0x1e7036;var _0xeb1e1e;const _0x3a6be3=this[_0x7a7369(0x197)][_0x7a7369(0x16b)](_0x84071c)[_0x7a7369(0x1d3)](this[_0x7a7369(0x1a6)]);if(_0x3a6be3)return(_0xeb1e1e=_0x3a6be3[_0x7a7369(0x184)])==null?void 0x0:_0xeb1e1e[_0x7a7369(0x1a2)];}[_0x1e7036(0x12a)](){const _0x124eb9=_0x1e7036;var _0x8b7299;const _0x26e977=this['_injector'][_0x124eb9(0x16b)](_0x84071c)['getChartModel'](this[_0x124eb9(0x1a6)]);if(_0x26e977)return(_0x8b7299=_0x26e977[_0x124eb9(0x184)])==null?void 0x0:_0x8b7299[_0x124eb9(0x1c7)];}[_0x1e7036(0x1e5)](){const _0xbbe531=_0x1e7036,_0x4be589=this[_0xbbe531(0x197)][_0xbbe531(0x16b)](_0x43c2dd)[_0xbbe531(0x143)](_0x58ae12[_0xbbe531(0x1da)]);return new c(this[_0xbbe531(0x1d0)],this[_0xbbe531(0x1e3)],_0x4be589,this[_0xbbe531(0x197)],this[_0xbbe531(0x1a6)]);}}class Q extends _0x5f04b0{async[_0x1e7036(0x1e2)](_0xb3220e){const _0x17ac4e=_0x1e7036;var _0x3f8bf8,_0x34777e,_0x7d90ec;const _0x5ed4ee=_0xb3220e['unitId']||this[_0x17ac4e(0x14e)]()[_0x17ac4e(0x1be)](),_0x1ca23a=_0xb3220e['subUnitId']||this[_0x17ac4e(0x154)](),_0x48fcbf=_0xb3220e[_0x17ac4e(0x1a6)]||_0x230e22(),_0x2bdf72=_0xb3220e[_0x17ac4e(0x18b)],_0x46ff4e=_0xb3220e[_0x17ac4e(0x1b1)],_0x38ec79={'x':_0xb3220e['x'],'y':_0xb3220e['y']},_0x465f53=_0xb3220e[_0x17ac4e(0x1b9)],_0x33bc9b=_0xb3220e['height'],_0x549185=(_0x3f8bf8=_0xb3220e[_0x17ac4e(0x191)])==null?void 0x0:_0x3f8bf8[_0x17ac4e(0x190)],_0x388b9c=(_0x34777e=_0xb3220e['options'])==null?void 0x0:_0x34777e[_0x17ac4e(0x123)],_0x4c472e=C(_0x5ed4ee,_0x48fcbf,_0x2bdf72,_0xb3220e[_0x17ac4e(0x191)]),_0x16aaca=(_0x7d90ec=_0xb3220e[_0x17ac4e(0x15c)])!=null?_0x7d90ec:!0x0;if(!_0x46ff4e)throw new Error(_0x17ac4e(0x1dc));return await this[_0x17ac4e(0x17e)][_0x17ac4e(0x136)](_0x364c04['id'],{'unitId':_0x5ed4ee,'subUnitId':_0x1ca23a,'chartId':_0x48fcbf,'chartType':_0x2bdf72,'range':_0x46ff4e,'position':_0x38ec79,'width':_0x465f53,'height':_0x33bc9b,'backgroundColor':_0x549185,'borderColor':_0x388b9c,'config':_0x4c472e,'isRowDirection':_0x16aaca}),new f(_0x5ed4ee,_0x1ca23a,_0x48fcbf,this['_injector']);}[_0x1e7036(0x19d)](_0x316e81){const _0x38ed20=_0x1e7036,{unitId:_0x2a1a7a,chartId:_0x10d296,chartType:_0x551b62,options:_0x2e4190}=_0x316e81,_0x35439b=C(_0x2a1a7a,_0x10d296,_0x551b62,_0x2e4190);this[_0x38ed20(0x17e)][_0x38ed20(0x136)](_0xc9c702['id'],_0x35439b);}[_0x1e7036(0x146)](_0x50fa20){const _0x3c9253=_0x1e7036;if(_0x50fa20)return new c(_0x50fa20['unitId'],_0x50fa20[_0x3c9253(0x1e3)],this[_0x3c9253(0x158)],this[_0x3c9253(0x197)],_0x50fa20[_0x3c9253(0x1a6)]);const _0x5b6c53=this[_0x3c9253(0x14e)]()[_0x3c9253(0x1be)](),_0x25790c=this['getSheetId']();return new c(_0x5b6c53,_0x25790c,this[_0x3c9253(0x158)],this[_0x3c9253(0x197)]);}[_0x1e7036(0x18e)](){const _0x2e09f3=_0x1e7036,_0x35b33b=this[_0x2e09f3(0x197)][_0x2e09f3(0x16b)](_0x84071c),_0x41f180=this[_0x2e09f3(0x14e)]()[_0x2e09f3(0x1be)]();return _0x35b33b[_0x2e09f3(0x12b)](_0x41f180,this[_0x2e09f3(0x154)]())['map'](_0xed1226=>new f(_0x41f180,this[_0x2e09f3(0x154)](),_0xed1226['id'],this[_0x2e09f3(0x197)]));}['removeChart'](_0x1564a7){const _0x45819f=_0x1e7036,_0xbfc841=_0x1564a7[_0x45819f(0x1d0)],_0x50041f=_0x1564a7[_0x45819f(0x1e3)],_0x112366=_0x1564a7['chartId'],_0xe7c49d={'unitId':_0xbfc841,'drawings':[{'unitId':_0xbfc841,'subUnitId':_0x50041f,'drawingId':_0x112366,'drawingType':_0x44f70e[_0x45819f(0x156)]}]};return this['_commandService']['executeCommand'](_0x1daecf['id'],_0xe7c49d);}[_0x1e7036(0x1b8)](_0x5200bd,_0x2e3948){const _0x386b17=_0x1e7036;this['_injector']['get'](_0x33925f)[_0x386b17(0x18c)](_0x5200bd,_0x2e3948);}}_0x5f04b0['extend'](Q);class Z extends _0x3a466e{get[_0x1e7036(0x189)](){return _0x1de160;}get[_0x1e7036(0x164)](){return _0x5961db;}get[_0x1e7036(0x183)](){return _0x3a644c;}get['AxisAlignEnum'](){return _0x36cb7d;}get[_0x1e7036(0x1cb)](){return _0x167101;}get['LinePointShape'](){return _0x4e0d26;}get[_0x1e7036(0x152)](){return _0x5b6e6c;}get['RadarShape'](){return _0x51f8df;}}_0x3a466e[_0x1e7036(0x187)](Z);class tt extends c{constructor(_0x49c87d,_0x7b394d,_0x53e3ba,_0x2840d0,_0x397aee){const _0xe3743=_0x1e7036;super(_0x49c87d,_0x7b394d,_0x53e3ba,_0x2840d0,_0x397aee),n(this,_0xe3743(0x147)),n(this,_0xe3743(0x19a)),n(this,_0xe3743(0x180)),n(this,'dataPointSize');}['setLineStyle'](_0x20b941){return this['lineStyle']=_0x20b941,this;}[_0x1e7036(0x12e)](_0x2d9fcf){const _0x4cebfc=_0x1e7036;return this[_0x4cebfc(0x19a)]=_0x2d9fcf,this;}[_0x1e7036(0x14d)](_0x50268a){const _0x4ae0b7=_0x1e7036;return this[_0x4ae0b7(0x180)]=_0x50268a,this;}[_0x1e7036(0x16c)](_0x410f6c){const _0x57dcfd=_0x1e7036;return this[_0x57dcfd(0x173)]=_0x410f6c,this;}[_0x1e7036(0x19e)](){const _0x1a28b9=_0x1e7036,_0x38615f=super[_0x1a28b9(0x19e)]();_0x38615f[_0x1a28b9(0x18b)]=_0x1de160['Line'];const _0x1a7d1d=_0x38615f[_0x1a28b9(0x191)]||{};return s(_0x1a7d1d,_0x1a28b9(0x1a8),this[_0x1a28b9(0x147)]),s(_0x1a7d1d,'allSeriesStyle.point.shape',this['dataPointShape']),s(_0x1a7d1d,'allSeriesStyle.point.color',this[_0x1a28b9(0x180)]),s(_0x1a7d1d,_0x1a28b9(0x1ad),this[_0x1a28b9(0x173)]),_0x38615f[_0x1a28b9(0x191)]=_0x1a7d1d,_0x38615f;}}class et extends c{[_0x1e7036(0x13c)](){const _0x1c617b=_0x1e7036;return new tt(this['unitId'],this[_0x1c617b(0x1e3)],this[_0x1c617b(0x158)],this[_0x1c617b(0x197)],this[_0x1c617b(0x1a6)]);}}c['extend'](et);class it extends c{constructor(_0x94b87f,_0x43cad3,_0x3de572,_0x4ecba2,_0x554ac1){const _0x558f18=_0x1e7036;super(_0x94b87f,_0x43cad3,_0x3de572,_0x4ecba2,_0x554ac1),n(this,'doughnutHole'),n(this,_0x558f18(0x123)),n(this,_0x558f18(0x120)),n(this,_0x558f18(0x13b)),n(this,_0x558f18(0x1dd)),n(this,_0x558f18(0x1cd));}[_0x1e7036(0x15d)](_0x5e7889){const _0x39fd49=_0x1e7036;return this[_0x39fd49(0x1a7)]=_0x5e7889,this;}['setBorderColor'](_0x1187b1){const _0x3dbf98=_0x1e7036;return this[_0x3dbf98(0x123)]=_0x1187b1,this;}[_0x1e7036(0x141)](_0x41d49d){return this['hasPaddingAngle']=_0x41d49d,this;}['setIsHalfPie'](_0x3f1b3d){const _0x515df9=_0x1e7036;return this[_0x515df9(0x13b)]=_0x3f1b3d,this;}[_0x1e7036(0x179)](_0x489b67){const _0x56e4bf=_0x1e7036;return this[_0x56e4bf(0x1dd)]=_0x489b67,this;}[_0x1e7036(0x1ae)](_0x3d4b21){const _0x4859ab=_0x1e7036;return this[_0x4859ab(0x1cd)]=_0x3d4b21,this;}['build'](){const _0x242fbe=_0x1e7036,_0x59ee7f=super['build']();_0x59ee7f[_0x242fbe(0x18b)]=_0x1de160[_0x242fbe(0x14b)];const _0x23a1f7=_0x59ee7f[_0x242fbe(0x191)]||{};return s(_0x23a1f7,_0x242fbe(0x193),this[_0x242fbe(0x1a7)]),s(_0x23a1f7,_0x242fbe(0x138),this[_0x242fbe(0x123)]),s(_0x23a1f7,_0x242fbe(0x1c5),this[_0x242fbe(0x120)]),s(_0x23a1f7,'pie.isHalfPie',this[_0x242fbe(0x13b)]),s(_0x23a1f7,'pie.rosePie',this[_0x242fbe(0x1dd)]),s(_0x23a1f7,_0x242fbe(0x1a3),this['showLabelLine']),_0x59ee7f[_0x242fbe(0x191)]=_0x23a1f7,_0x59ee7f;}}class st extends c{[_0x1e7036(0x1c1)](){const _0x213bad=_0x1e7036;return new it(this[_0x213bad(0x1d0)],this[_0x213bad(0x1e3)],this[_0x213bad(0x158)],this[_0x213bad(0x197)],this[_0x213bad(0x1a6)]);}}c['extend'](st);class rt extends c{constructor(_0x2d962a,_0x3f314c,_0x5f285b,_0xc3ba8c,_0x3e7f5c){const _0x3453b2=_0x1e7036;super(_0x2d962a,_0x3f314c,_0x5f285b,_0xc3ba8c,_0x3e7f5c),n(this,_0x3453b2(0x139)),n(this,_0x3453b2(0x171));}[_0x1e7036(0x150)](_0x259f0c){const _0x4849af=_0x1e7036;return this[_0x4849af(0x139)]=_0x259f0c,this;}[_0x1e7036(0x1aa)](_0x2363bb){const _0x39670a=_0x1e7036;return this[_0x39670a(0x171)]=_0x2363bb,this;}[_0x1e7036(0x19e)](){const _0x52b16f=_0x1e7036,_0x45f30b=super[_0x52b16f(0x19e)]();_0x45f30b[_0x52b16f(0x18b)]=_0x1de160[_0x52b16f(0x1b6)];const _0x5effc4=_0x45f30b[_0x52b16f(0x191)]||{};return s(_0x5effc4,_0x52b16f(0x167),this[_0x52b16f(0x139)]),s(_0x5effc4,_0x52b16f(0x1d5),this[_0x52b16f(0x171)]),_0x45f30b[_0x52b16f(0x191)]=_0x5effc4,_0x45f30b;}}function _0x4b68(_0x14b564,_0x5caac4){const _0xbe9bcc=_0xbe9b();return _0x4b68=function(_0x4b686d,_0x1798fd){_0x4b686d=_0x4b686d-0x11f;let _0x4dc9bb=_0xbe9bcc[_0x4b686d];return _0x4dc9bb;},_0x4b68(_0x14b564,_0x5caac4);}class ot extends c{[_0x1e7036(0x17c)](){const _0x25f49e=_0x1e7036;return new rt(this[_0x25f49e(0x1d0)],this[_0x25f49e(0x1e3)],this[_0x25f49e(0x158)],this[_0x25f49e(0x197)],this[_0x25f49e(0x1a6)]);}}c[_0x1e7036(0x187)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};function _0xbe9b(){const _0xfc9b97=['isRowDirection','setDoughnutHole','titles.titlePosition','titles.title.align','legend.label.bold','titles.yAxisTitle.font','titles.title.color','titles.yAxisTitle.content','LegendPositionEnum','setRightYAxisTextStyle','pie.rosePie','radar.shape','2610pgfPfc','dataSource','allSeriesStyle.point','get','setDataPointSize','allSeriesStyle.border','point','titles.title.content','titleAlignment','fill','allSeriesStyle.color','dataPointSize','allSeriesStyle.label','setRightYAxisTitle','getSheetBySheetName','getRange','sheetName','setRosePie','titles.xAxisTitle.family','getChartId','asRadarChart','sourceSheetName','_commandService','5391620ROCHzc','dataPointColor','indicatorLabelTextColor','content','SelectModeEnum','config','fontColor','titles.xAxisTitle.color','extend','keys','ChartType','transposeRowsAndColumns','chartType','registerTheme','yRightAxis','getCharts','setWidth','backgroundColor','options','setAxisPointerStyle','pie.doughnutHole','1613rQayid','length','pie.isHalfPie','_injector','titles.rightYAxisTitle.bold','allSeriesStyle','dataPointShape','titles.yAxisTitle.color','tooltip.indicatorLineType','updateChart','build','font','titles.xAxisTitle.fontSize','setInvalidValueStrategy','series','pie.showLabelLine','titles.rightYAxisTitle.fontSize','with','chartId','doughnutHole','area.lineStyle','area','setFill','theme','Sheet\x20','allSeriesStyle.point.size','setShowLabelLine','symbol','setAbsolutePosition','range','13512UBOaiD','yAxis','addRange','titles.xAxisTitle.font','Radar','getRenderById','registerChartTheme','width','position','left','titles.rightYAxisTitle.content','setHeight','getUnitId','indicatorLabelColor','titles.title.bold','asPieChart','setSeriesStyle','4234454azWWJx','rightYAxisTitle','pie.hasPaddingAngle','2576cditOy','category','setOptions','setYAxisTextStyle','\x20not\x20found','ChartBorderDashType','titles.title.font','showLabelLine','setTransposeRowsAndColumns','32350bnrenv','unitId','string','titles.yAxisTitle.bold','getChartModel','xAxisTitle','radar.fill','titles.yAxisTitle.family','radar','fontStyle','color','UNIVER_SHEET','title','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','rosePie','legend.position','rightYAxis.label.axisTitleAlign','axisAlignment','legend','insertChart','subUnitId','titles.rightYAxisTitle.font','modify','yAxis.label.axisTitleAlign','hasPaddingAngle','setChartType','seriesStyleMap','borderColor','3032598mFXwGT','clearRange','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','axisPointer','setYAxisTitle','context','getCategoryData','getUnitChartModels','invalidValueType','label','setDataPointShape','setAllSeriesStyle','gradientFill','getSeriesData','titles.rightYAxisTitle.family','tooltip.indicatorLabelTextColor','titles.xAxisTitle.bold','legend.label.color','executeCommand','indicatorLineType','pie.borderColor','shape','allSeriesStyle.rightYAxis','isHalfPie','asLineChart','border','xAxis','6842xNYBVc','top','setHasPaddingAngle','style','getCurrentUnitForType','setXAxisTextStyle','indicatorLineColor','newChart','lineStyle','titles.yAxisTitle.fontSize','bold','legend.selectMode','Pie','1953NbRlQK','setDataPointColor','getWorkbook','1414lSYDrC','setShape','rightYAxis','TitlePositionEnum','tooltip.indicatorLineColor','getSheetId','updateRange','DRAWING_CHART','fontSize','_workbook','legend.label.italic','italic','yAxisTitle'];_0xbe9b=function(){return _0xfc9b97;};return _0xbe9b();}
|
|
1
|
+
const _0x2719cd=_0x1cc1;(function(_0x48c22b,_0x5911ba){const _0x26c708=_0x1cc1,_0x33c719=_0x48c22b();while(!![]){try{const _0x584ae3=-parseInt(_0x26c708(0x197))/0x1*(-parseInt(_0x26c708(0x106))/0x2)+parseInt(_0x26c708(0x14f))/0x3*(parseInt(_0x26c708(0x183))/0x4)+-parseInt(_0x26c708(0x17d))/0x5+-parseInt(_0x26c708(0x14d))/0x6*(-parseInt(_0x26c708(0x18b))/0x7)+-parseInt(_0x26c708(0x107))/0x8+parseInt(_0x26c708(0x130))/0x9+parseInt(_0x26c708(0x10f))/0xa*(-parseInt(_0x26c708(0x179))/0xb);if(_0x584ae3===_0x5911ba)break;else _0x33c719['push'](_0x33c719['shift']());}catch(_0x59a78e){_0x33c719['push'](_0x33c719['shift']());}}}(_0x2ada,0xd1e34));var b=Object[_0x2719cd(0x181)],k=(_0x381742,_0xadfbbc,_0x4dfb4b)=>_0xadfbbc in _0x381742?b(_0x381742,_0xadfbbc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dfb4b}):_0x381742[_0xadfbbc]=_0x4dfb4b,n=(_0x5750e1,_0xe1be82,_0x321bd8)=>k(_0x5750e1,typeof _0xe1be82!='symbol'?_0xe1be82+'':_0xe1be82,_0x321bd8);import{ChartThemeService as _0x1739a3,ChartTypeBits as _0x14012f,LegendPositionEnum as _0x300161,SelectModeEnum as _0x23b2c5,AxisAlignEnum as _0x4b18ed,ChartBorderDashType as _0x45d51d,LinePointShape as _0x403a92,TitlePositionEnum as _0x344ffb,RadarShape as _0x332163}from'@univerjs-pro/engine-chart';import{setProperty as _0x2f4cb5,SheetsChartService as _0x391a8f,ChartUpdateSourceCommand as _0x1c5422,ChartUpdateConfigCommand as _0x33d2b0}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x423f1f}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x442d5d,IUniverInstanceService as _0x56d302,UniverInstanceType as _0x5707e4,generateRandomId as _0x3e8832,DrawingTypeEnum as _0x2e7793}from'@univerjs/core';function _0x2ada(){const _0x47ab62=['hasPaddingAngle','pie.rosePie','italic','range','allSeriesStyle','sheetName','setHeight','radar.fill','area','allSeriesStyle.point','getCharts','titles.titlePosition','indicatorLabelColor','7406514WEISFp','setFill','2374737fNExaL','ChartType','content','titles.xAxisTitle.content','xAxisTitle','registerChartTheme','extend','style','legend.label.bold','DRAWING_CHART','axisPointer','legend.label.fontSize','yAxisTitle','fontSize','radar','getRenderById','fill','setAllSeriesStyle','point','indicatorLabelTextColor','allSeriesStyle.border','allSeriesStyle.point.shape','rosePie','titles.xAxisTitle.bold','pie.hasPaddingAngle','rightYAxis.label.axisTitleAlign','legend.label.italic','transposeRowsAndColumns','showLabelLine','left','TitlePositionEnum','gradientFill','font','with','chartType','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','fontColor','setDataPointColor','invalidValueType','width','pie','dataPointShape','888393AKxeAE','isHalfPie','shape','setIsHalfPie','6005685UxaTFU','area.lineStyle','getCurrentUnitForType','newChart','defineProperty','setWidth','4YpDnwi','dataPointColor','titles.xAxisTitle.font','config','options','_commandService','setRightYAxisTitle','axisAlignment','7pLsLmS','Sheet\x20','AxisAlignEnum','titles.title.align','setLineStyle','unitId','setTheme','setShowLabelLine','pie.isHalfPie','setInvalidValueStrategy','top','titles.rightYAxisTitle.color','1wujocZ','category','doughnutHole','build','height','getChartModel','yAxis.label.axisTitleAlign','ChartBorderDashType','keys','titles.title.content','rightYAxis','lineStyle','borderColor','tooltip.indicatorLineColor','legend','yAxis','xAxis','getRange','titles.yAxisTitle.content','setDataPointSize','yRightAxis','titles.xAxisTitle.fontSize','updateRange','setDataPointShape','getSheetBySheetName','fontStyle','sourceSheetName','allSeriesStyle.point.color','legend.position','xAxis.label.axisTitleAlign','titles.title.bold','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','tooltip.indicatorLabelTextColor','isRowDirection','allSeriesStyle.color','chartId','seriesStyleMap','2938796hTfjtM','2747912sGskhM','executeCommand','SelectModeEnum','string','map','setHasPaddingAngle','get','backgroundColor','190KjqhAm','getChartId','Radar','setSeriesStyle','subUnitId','titles.xAxisTitle.color','getChartType','indicatorLineColor','rightYAxisTitle','addRange','setAbsolutePosition','pie.doughnutHole','titles.yAxisTitle.bold','getSheetId','pie.showLabelLine','length','setBorderColor','Pie','getWorkbook','setOptions','tooltip.indicatorLabelColor','legend.label.color','asLineChart','clearRange','titles.title.fontSize','titleAlignment','legend.selectMode','_injector','_workbook','setDoughnutHole','setXAxisTextStyle','label','titles.xAxisTitle.family','3990843ZRusvx','setAxisPointerStyle','titles.yAxisTitle.family','series','theme','dataPointSize','getUnitId','titles.rightYAxisTitle.font','getSeriesData','bold','titles.title.family','setRosePie','dataSource','asRadarChart','UNIVER_SHEET','titles.rightYAxisTitle.content'];_0x2ada=function(){return _0x47ab62;};return _0x2ada();}import{RemoveSheetDrawingCommand as _0x27b585}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x59a4f0}from'@univerjs/sheets/facade';import{FBase as _0x20be41,FEnum as _0x3ba2f8}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x4f3589}from'@univerjs/engine-formula';import{IRenderManagerService as _0x2c212c}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x331081,SheetSkeletonManagerService as _0x12fcbb,convertPositionCellToSheetOverGrid as _0x25fa21}from'@univerjs/sheets-ui';function _0x1cc1(_0xb8966e,_0x5e5890){const _0x2ada28=_0x2ada();return _0x1cc1=function(_0x1cc1fc,_0x34eb6a){_0x1cc1fc=_0x1cc1fc-0x104;let _0x40dead=_0x2ada28[_0x1cc1fc];return _0x40dead;},_0x1cc1(_0xb8966e,_0x5e5890);}const s=(_0x3e0775,_0x3d288f,_0x213151)=>{_0x213151!==void 0x0&&_0x2f4cb5(_0x3e0775,_0x3d288f,_0x213151);},C=(_0x419149,_0x492663,_0x210da2,_0x492dfe={})=>{const _0x4cc47c=_0x2719cd,_0xc56b64={},_0x506cff={};if(_0x492dfe['title']){const _0x5ae786=_0x492dfe['title'];s(_0xc56b64,_0x4cc47c(0x1a0),_0x5ae786[_0x4cc47c(0x151)]),s(_0xc56b64,'titles.title.font',_0x5ae786[_0x4cc47c(0x16f)]),s(_0xc56b64,_0x4cc47c(0x127),_0x5ae786[_0x4cc47c(0x15c)]),s(_0xc56b64,'titles.title.color',_0x5ae786['fontColor']),s(_0xc56b64,_0x4cc47c(0x13a),_0x5ae786[_0x4cc47c(0x1b0)]),s(_0xc56b64,_0x4cc47c(0x1b5),_0x5ae786[_0x4cc47c(0x139)]),s(_0xc56b64,_0x4cc47c(0x18e),_0x5ae786[_0x4cc47c(0x128)]),s(_0xc56b64,_0x4cc47c(0x14b),_0x5ae786['position']);}if(_0x492dfe[_0x4cc47c(0x1a5)]){const _0x12fd6b=_0x492dfe[_0x4cc47c(0x1a5)];s(_0xc56b64,_0x4cc47c(0x1b3),_0x12fd6b['position']),s(_0xc56b64,_0x4cc47c(0x129),_0x12fd6b['selectMode']),s(_0xc56b64,_0x4cc47c(0x15a),_0x12fd6b[_0x4cc47c(0x15c)]),s(_0xc56b64,_0x4cc47c(0x124),_0x12fd6b['color']),s(_0xc56b64,_0x4cc47c(0x157),_0x12fd6b[_0x4cc47c(0x139)]),s(_0xc56b64,_0x4cc47c(0x169),_0x12fd6b[_0x4cc47c(0x142)]);}if(_0x492dfe[_0x4cc47c(0x177)]){const _0x3eaaa0=_0x492dfe['pie'];s(_0xc56b64,_0x4cc47c(0x11a),_0x3eaaa0[_0x4cc47c(0x199)]),s(_0xc56b64,'pie.borderColor',_0x3eaaa0[_0x4cc47c(0x1a3)]),s(_0xc56b64,_0x4cc47c(0x167),_0x3eaaa0[_0x4cc47c(0x140)]),s(_0xc56b64,_0x4cc47c(0x193),_0x3eaaa0[_0x4cc47c(0x17a)]),s(_0xc56b64,_0x4cc47c(0x141),_0x3eaaa0[_0x4cc47c(0x165)]),s(_0xc56b64,_0x4cc47c(0x11d),_0x3eaaa0[_0x4cc47c(0x16b)]);}if(_0x492dfe[_0x4cc47c(0x159)]){const _0x437b73=_0x492dfe['axisPointer'];s(_0xc56b64,_0x4cc47c(0x123),_0x437b73[_0x4cc47c(0x14c)]),s(_0xc56b64,'tooltip.indicatorLineType',_0x437b73['indicatorLineType']),s(_0xc56b64,_0x4cc47c(0x1a4),_0x437b73[_0x4cc47c(0x116)]),s(_0xc56b64,_0x4cc47c(0x1b7),_0x437b73[_0x4cc47c(0x162)]);}if(_0x492dfe[_0x4cc47c(0x144)]&&(s(_0xc56b64,_0x4cc47c(0x163),_0x492dfe[_0x4cc47c(0x144)]['border']),s(_0xc56b64,'allSeriesStyle.label',_0x492dfe[_0x4cc47c(0x144)][_0x4cc47c(0x12e)]),s(_0xc56b64,'allSeriesStyle.rightYAxis',_0x492dfe[_0x4cc47c(0x144)][_0x4cc47c(0x1a1)]),s(_0xc56b64,_0x4cc47c(0x149),_0x492dfe['allSeriesStyle'][_0x4cc47c(0x161)]),s(_0xc56b64,_0x4cc47c(0x1b9),_0x492dfe[_0x4cc47c(0x144)]['color'])),_0x492dfe[_0x4cc47c(0x148)]&&s(_0xc56b64,_0x4cc47c(0x17e),_0x492dfe[_0x4cc47c(0x148)][_0x4cc47c(0x1a2)]),_0x492dfe['theme']&&s(_0xc56b64,_0x4cc47c(0x134),_0x492dfe[_0x4cc47c(0x134)]),_0x492dfe['backgroundColor']&&s(_0xc56b64,_0x4cc47c(0x10e),_0x492dfe[_0x4cc47c(0x10e)]),_0x492dfe[_0x4cc47c(0x1a3)]&&s(_0xc56b64,_0x4cc47c(0x1a3),_0x492dfe[_0x4cc47c(0x1a3)]),_0x492dfe[_0x4cc47c(0x16e)]&&s(_0xc56b64,_0x4cc47c(0x16e),_0x492dfe[_0x4cc47c(0x16e)]),_0x492dfe[_0x4cc47c(0x175)]&&s(_0xc56b64,'invalidValueType',_0x492dfe[_0x4cc47c(0x175)]),_0x492dfe[_0x4cc47c(0x15d)]&&s(_0xc56b64,_0x4cc47c(0x15d),_0x492dfe[_0x4cc47c(0x15d)]),_0x492dfe[_0x4cc47c(0x153)]){const _0x6fde88=_0x492dfe[_0x4cc47c(0x153)];s(_0xc56b64,_0x4cc47c(0x152),_0x6fde88[_0x4cc47c(0x151)]),s(_0xc56b64,_0x4cc47c(0x185),_0x6fde88[_0x4cc47c(0x16f)]),s(_0xc56b64,_0x4cc47c(0x1ac),_0x6fde88[_0x4cc47c(0x15c)]),s(_0xc56b64,_0x4cc47c(0x114),_0x6fde88['fontColor']),s(_0xc56b64,_0x4cc47c(0x12f),_0x6fde88[_0x4cc47c(0x1b0)]),s(_0xc56b64,_0x4cc47c(0x166),_0x6fde88[_0x4cc47c(0x139)]),s(_0xc56b64,_0x4cc47c(0x1b4),_0x6fde88[_0x4cc47c(0x18a)]);}if(_0x492dfe['yAxisTitle']){const _0x3c9cc6=_0x492dfe[_0x4cc47c(0x15b)];s(_0xc56b64,_0x4cc47c(0x1a9),_0x3c9cc6[_0x4cc47c(0x151)]),s(_0xc56b64,'titles.yAxisTitle.font',_0x3c9cc6[_0x4cc47c(0x16f)]),s(_0xc56b64,'titles.yAxisTitle.fontSize',_0x3c9cc6[_0x4cc47c(0x15c)]),s(_0xc56b64,'titles.yAxisTitle.color',_0x3c9cc6[_0x4cc47c(0x173)]),s(_0xc56b64,_0x4cc47c(0x132),_0x3c9cc6['fontStyle']),s(_0xc56b64,_0x4cc47c(0x11b),_0x3c9cc6[_0x4cc47c(0x139)]),s(_0xc56b64,_0x4cc47c(0x19d),_0x3c9cc6[_0x4cc47c(0x18a)]);}if(_0x492dfe['rightYAxisTitle']){const _0x2b2d18=_0x492dfe[_0x4cc47c(0x117)];s(_0xc56b64,_0x4cc47c(0x13f),_0x2b2d18[_0x4cc47c(0x151)]),s(_0xc56b64,_0x4cc47c(0x137),_0x2b2d18[_0x4cc47c(0x16f)]),s(_0xc56b64,'titles.rightYAxisTitle.fontSize',_0x2b2d18[_0x4cc47c(0x15c)]),s(_0xc56b64,_0x4cc47c(0x196),_0x2b2d18[_0x4cc47c(0x173)]),s(_0xc56b64,'titles.rightYAxisTitle.family',_0x2b2d18[_0x4cc47c(0x1b0)]),s(_0xc56b64,'titles.rightYAxisTitle.bold',_0x2b2d18[_0x4cc47c(0x139)]),s(_0xc56b64,_0x4cc47c(0x168),_0x2b2d18[_0x4cc47c(0x18a)]);}_0x492dfe[_0x4cc47c(0x1a7)]&&s(_0xc56b64,_0x4cc47c(0x1a7),_0x492dfe['xAxis']),_0x492dfe['yAxis']&&s(_0xc56b64,_0x4cc47c(0x1a6),_0x492dfe[_0x4cc47c(0x1a6)]),_0x492dfe[_0x4cc47c(0x1ab)]&&s(_0xc56b64,_0x4cc47c(0x1a1),_0x492dfe[_0x4cc47c(0x1ab)]),_0x492dfe[_0x4cc47c(0x105)]&&s(_0xc56b64,'seriesStyleMap',_0x492dfe['seriesStyleMap']);const _0x4da732={'unitId':_0x419149,'chartModelId':_0x492663};let _0x1fddb7=!0x1;if(_0x210da2!==void 0x0&&(_0x4da732[_0x4cc47c(0x171)]=_0x210da2,_0x1fddb7=!0x0),Object[_0x4cc47c(0x19f)](_0xc56b64)[_0x4cc47c(0x11e)]>0x0&&(_0x4da732[_0x4cc47c(0x156)]=_0xc56b64,_0x1fddb7=!0x0),Object[_0x4cc47c(0x19f)](_0x506cff)['length']>0x0&&(_0x4da732['context']=_0x506cff,_0x1fddb7=!0x0),_0x1fddb7)return _0x4da732;};class c extends _0x20be41{constructor(_0x332447,_0x1f1222,_0x10a2d9,_0x675b7f,_0x35a341){const _0x65c4e2=_0x2719cd;super(),n(this,_0x65c4e2(0x12b)),n(this,_0x65c4e2(0x12a)),n(this,_0x65c4e2(0x190)),n(this,_0x65c4e2(0x113)),n(this,_0x65c4e2(0x104)),n(this,_0x65c4e2(0x143)),n(this,_0x65c4e2(0x1b1)),n(this,'x'),n(this,'y'),n(this,_0x65c4e2(0x176)),n(this,_0x65c4e2(0x19b)),n(this,_0x65c4e2(0x171)),n(this,_0x65c4e2(0x187)),n(this,'transposeRowsAndColumns'),(this[_0x65c4e2(0x190)]=_0x332447,this[_0x65c4e2(0x113)]=_0x1f1222,this[_0x65c4e2(0x12b)]=_0x10a2d9,this[_0x65c4e2(0x12a)]=_0x675b7f,_0x35a341&&(this[_0x65c4e2(0x104)]=_0x35a341));}[_0x2719cd(0x115)](){const _0x510de2=_0x2719cd;return this[_0x510de2(0x171)];}[_0x2719cd(0x118)](_0x4f6a38){const _0x1b6dc3=_0x2719cd;if(typeof _0x4f6a38==_0x1b6dc3(0x10a)){const _0x364c6e=_0x4f3589(_0x4f6a38);_0x364c6e[_0x1b6dc3(0x145)]&&(this['sourceSheetName']=_0x364c6e[_0x1b6dc3(0x145)]),this[_0x1b6dc3(0x143)]=_0x364c6e[_0x1b6dc3(0x143)];}else this[_0x1b6dc3(0x143)]=_0x4f6a38;return this;}[_0x2719cd(0x126)](){const _0x24531f=_0x2719cd;return this[_0x24531f(0x143)]=void 0x0,this[_0x24531f(0x1b1)]=void 0x0,this;}['setPosition'](_0x2a69a3,_0x185e7f,_0x528aeb,_0x46e3be){const _0x2ff3e4=_0x2719cd,_0xfa4736=this[_0x2ff3e4(0x12a)]['get'](_0x2c212c)[_0x2ff3e4(0x15e)](this[_0x2ff3e4(0x190)]);if(!_0xfa4736)throw new Error(_0x2ff3e4(0x172));const _0x5c221e=_0xfa4736['with'](_0x331081),_0x2c4de1=_0xfa4736[_0x2ff3e4(0x170)](_0x12fcbb),{transform:_0x4fd0be}=_0x25fa21(this['unitId'],this[_0x2ff3e4(0x113)],{'row':_0x2a69a3,'column':_0x185e7f,'rowOffset':_0x528aeb,'columnOffset':_0x46e3be},0x1,0x1,_0x5c221e,_0x2c4de1),_0x85f44b=_0x4fd0be[_0x2ff3e4(0x195)],_0x4084c6=_0x4fd0be[_0x2ff3e4(0x16c)];return this['x']=_0x4084c6,this['y']=_0x85f44b,this;}[_0x2719cd(0x119)](_0x34e277,_0x12ac01){return this['x']=_0x34e277,this['y']=_0x12ac01,this;}['setChartType'](_0x397946){const _0x2cc794=_0x2719cd;return this[_0x2cc794(0x171)]=_0x397946,this;}[_0x2719cd(0x182)](_0x4301f5){const _0x2307f0=_0x2719cd;return this[_0x2307f0(0x176)]=_0x4301f5,this;}[_0x2719cd(0x146)](_0x3a3add){const _0x47b9d5=_0x2719cd;return this[_0x47b9d5(0x19b)]=_0x3a3add,this;}[_0x2719cd(0x122)](_0x339525,_0x54022a){const _0x461e92=_0x2719cd;return this[_0x461e92(0x187)]||(this[_0x461e92(0x187)]={}),_0x339525===''?(this[_0x461e92(0x187)]={...this['options'],..._0x54022a},this):(_0x2f4cb5(this[_0x461e92(0x187)],_0x339525,_0x54022a),this);}['setTransposeRowsAndColumns'](_0x4ddd11){const _0x43ec4e=_0x2719cd;return this[_0x43ec4e(0x16a)]=_0x4ddd11,this;}[_0x2719cd(0x191)](_0x13835e){const _0x2bef5b=_0x2719cd;return this['setOptions'](_0x2bef5b(0x134),_0x13835e),this;}['setXAxisTitle'](_0x2f278a){const _0x44589d=_0x2719cd;var _0x4fbb7b;const _0x3e80ce=((_0x4fbb7b=this[_0x44589d(0x187)])==null?void 0x0:_0x4fbb7b[_0x44589d(0x153)])||{};return _0x3e80ce[_0x44589d(0x151)]=_0x2f278a,this[_0x44589d(0x122)](_0x44589d(0x153),_0x3e80ce),this;}['setYAxisTitle'](_0x4beb7a){const _0x147b3d=_0x2719cd;var _0x34f64f;const _0x51aad9=((_0x34f64f=this[_0x147b3d(0x187)])==null?void 0x0:_0x34f64f[_0x147b3d(0x15b)])||{};return _0x51aad9[_0x147b3d(0x151)]=_0x4beb7a,this['setOptions']('yAxisTitle',_0x51aad9),this;}[_0x2719cd(0x189)](_0x56b909){const _0x3faa69=_0x2719cd;var _0x21e0b0;const _0xe3fd3e=((_0x21e0b0=this[_0x3faa69(0x187)])==null?void 0x0:_0x21e0b0[_0x3faa69(0x117)])||{};return _0xe3fd3e[_0x3faa69(0x151)]=_0x56b909,this[_0x3faa69(0x122)](_0x3faa69(0x117),_0xe3fd3e),this;}[_0x2719cd(0x12d)](_0x24029c){const _0x1216a3=_0x2719cd;var _0x5ae3f0;const _0x13f9fa=((_0x5ae3f0=this[_0x1216a3(0x187)])==null?void 0x0:_0x5ae3f0[_0x1216a3(0x153)])||{};return this[_0x1216a3(0x122)]('xAxisTitle',{..._0x13f9fa,..._0x24029c}),this;}['setYAxisTextStyle'](_0xe56c){const _0x585b10=_0x2719cd;var _0x590bd4;const _0x329abb=((_0x590bd4=this['options'])==null?void 0x0:_0x590bd4[_0x585b10(0x15b)])||{};return this['setOptions'](_0x585b10(0x15b),{..._0x329abb,..._0xe56c}),this;}['setRightYAxisTextStyle'](_0x28d576){const _0x470ef4=_0x2719cd;var _0xf1ea38;const _0x15b907=((_0xf1ea38=this[_0x470ef4(0x187)])==null?void 0x0:_0xf1ea38['rightYAxisTitle'])||{};return this['setOptions'](_0x470ef4(0x117),{..._0x15b907,..._0x28d576}),this;}[_0x2719cd(0x194)](_0x23db25){const _0x2b1007=_0x2719cd;return this[_0x2b1007(0x122)]('invalidValueType',_0x23db25),this;}[_0x2719cd(0x131)](_0x36cbf3){const _0x248c02=_0x2719cd;return this[_0x248c02(0x122)](_0x248c02(0x159),_0x36cbf3),this;}[_0x2719cd(0x160)](_0x34d62a){const _0x1b6f95=_0x2719cd;return this[_0x1b6f95(0x122)](_0x1b6f95(0x144),_0x34d62a),this;}[_0x2719cd(0x112)](_0x50ae16,_0x5f1d6b){const _0x3b2f03=_0x2719cd;return this[_0x3b2f03(0x122)]('seriesStyleMap',{[_0x50ae16]:_0x5f1d6b}),this;}[_0x2719cd(0x19a)](){const _0x259615=_0x2719cd;var _0x435761;let _0x36b8b2=this['subUnitId'];if(this[_0x259615(0x1b1)]){const _0x7e27b8=(_0x435761=this['_workbook'][_0x259615(0x1af)](this[_0x259615(0x1b1)]))==null?void 0x0:_0x435761[_0x259615(0x11c)]();if(!_0x7e27b8)throw new Error(_0x259615(0x18c)+this[_0x259615(0x1b1)]+'\x20not\x20found');_0x36b8b2=_0x7e27b8;}return{'unitId':this[_0x259615(0x190)],'subUnitId':_0x36b8b2,'chartId':this['chartId'],'range':this[_0x259615(0x143)],'x':this['x'],'y':this['y'],'width':this[_0x259615(0x176)],'height':this[_0x259615(0x19b)],'chartType':this[_0x259615(0x171)],'options':this[_0x259615(0x187)],'isRowDirection':this['transposeRowsAndColumns']};}}class f{constructor(_0x185222,_0x6b759e,_0x2c163a,_0xfb09f9){const _0x3815a3=_0x2719cd;n(this,_0x3815a3(0x190)),n(this,'subUnitId'),n(this,_0x3815a3(0x104)),n(this,_0x3815a3(0x12a)),(this[_0x3815a3(0x190)]=_0x185222,this['subUnitId']=_0x6b759e,this[_0x3815a3(0x104)]=_0x2c163a,this[_0x3815a3(0x12a)]=_0xfb09f9);}[_0x2719cd(0x110)](){const _0x3fc9a8=_0x2719cd;return this[_0x3fc9a8(0x104)];}[_0x2719cd(0x1a8)](){const _0x1888ef=_0x2719cd,_0x3acf85=this[_0x1888ef(0x12a)][_0x1888ef(0x10d)](_0x391a8f)[_0x1888ef(0x19c)](this[_0x1888ef(0x104)]);if(_0x3acf85)return _0x3acf85[_0x1888ef(0x13c)]['getRangeInfo']();}[_0x2719cd(0x1ad)](_0xf50f35){const _0x1c0858=_0x2719cd;return this['_injector']['get'](_0x442d5d)[_0x1c0858(0x108)](_0x1c5422['id'],{'unitId':this['unitId'],'chartModelId':this[_0x1c0858(0x104)],'range':_0xf50f35});}[_0x2719cd(0x138)](){const _0x32f6a3=_0x2719cd;var _0x1346cf;const _0x1309b9=this[_0x32f6a3(0x12a)][_0x32f6a3(0x10d)](_0x391a8f)[_0x32f6a3(0x19c)](this[_0x32f6a3(0x104)]);if(_0x1309b9)return(_0x1346cf=_0x1309b9[_0x32f6a3(0x186)])==null?void 0x0:_0x1346cf[_0x32f6a3(0x133)];}['getCategoryData'](){const _0x1ec183=_0x2719cd;var _0x100e48;const _0x19cd16=this[_0x1ec183(0x12a)][_0x1ec183(0x10d)](_0x391a8f)[_0x1ec183(0x19c)](this[_0x1ec183(0x104)]);if(_0x19cd16)return(_0x100e48=_0x19cd16['config'])==null?void 0x0:_0x100e48[_0x1ec183(0x198)];}['modify'](){const _0x84d8d5=_0x2719cd,_0x8dbc87=this[_0x84d8d5(0x12a)][_0x84d8d5(0x10d)](_0x56d302)[_0x84d8d5(0x17f)](_0x5707e4[_0x84d8d5(0x13e)]);return new c(this[_0x84d8d5(0x190)],this[_0x84d8d5(0x113)],_0x8dbc87,this['_injector'],this['chartId']);}}class Q extends _0x59a4f0{async['insertChart'](_0x3fa913){const _0x5632a0=_0x2719cd;var _0xe3ceb3,_0x7c2332,_0x22b4f8;const _0x281d8f=_0x3fa913[_0x5632a0(0x190)]||this[_0x5632a0(0x121)]()[_0x5632a0(0x136)](),_0x21cf36=_0x3fa913[_0x5632a0(0x113)]||this[_0x5632a0(0x11c)](),_0x4f2fe8=_0x3fa913[_0x5632a0(0x104)]||_0x3e8832(),_0xf498e7=_0x3fa913[_0x5632a0(0x171)],_0x2ac537=_0x3fa913['range'],_0x5883dd={'x':_0x3fa913['x'],'y':_0x3fa913['y']},_0x2c056d=_0x3fa913[_0x5632a0(0x176)],_0x26f062=_0x3fa913['height'],_0x33ba18=(_0xe3ceb3=_0x3fa913[_0x5632a0(0x187)])==null?void 0x0:_0xe3ceb3['backgroundColor'],_0x550f69=(_0x7c2332=_0x3fa913[_0x5632a0(0x187)])==null?void 0x0:_0x7c2332[_0x5632a0(0x1a3)],_0x384982=C(_0x281d8f,_0x4f2fe8,_0xf498e7,_0x3fa913['options']),_0x4be933=(_0x22b4f8=_0x3fa913[_0x5632a0(0x1b8)])!=null?_0x22b4f8:!0x0;if(!_0x2ac537)throw new Error(_0x5632a0(0x1b6));return await this[_0x5632a0(0x188)][_0x5632a0(0x108)](_0x423f1f['id'],{'unitId':_0x281d8f,'subUnitId':_0x21cf36,'chartId':_0x4f2fe8,'chartType':_0xf498e7,'range':_0x2ac537,'position':_0x5883dd,'width':_0x2c056d,'height':_0x26f062,'backgroundColor':_0x33ba18,'borderColor':_0x550f69,'config':_0x384982,'isRowDirection':_0x4be933}),new f(_0x281d8f,_0x21cf36,_0x4f2fe8,this[_0x5632a0(0x12a)]);}['updateChart'](_0xc3ab2d){const _0x357a7f=_0x2719cd,{unitId:_0xee4e60,chartId:_0x1cf286,chartType:_0x4166a4,options:_0x24c231}=_0xc3ab2d,_0x16bbd3=C(_0xee4e60,_0x1cf286,_0x4166a4,_0x24c231);this[_0x357a7f(0x188)]['executeCommand'](_0x33d2b0['id'],_0x16bbd3);}[_0x2719cd(0x180)](_0x1e2860){const _0x2b6563=_0x2719cd;if(_0x1e2860)return new c(_0x1e2860['unitId'],_0x1e2860[_0x2b6563(0x113)],this['_workbook'],this[_0x2b6563(0x12a)],_0x1e2860[_0x2b6563(0x104)]);const _0x53e977=this[_0x2b6563(0x121)]()[_0x2b6563(0x136)](),_0xf5a9ee=this['getSheetId']();return new c(_0x53e977,_0xf5a9ee,this[_0x2b6563(0x12b)],this['_injector']);}[_0x2719cd(0x14a)](){const _0x4d7155=_0x2719cd,_0x26c2fb=this['_injector'][_0x4d7155(0x10d)](_0x391a8f),_0x595e7a=this[_0x4d7155(0x121)]()[_0x4d7155(0x136)]();return _0x26c2fb['getUnitChartModels'](_0x595e7a,this['getSheetId']())[_0x4d7155(0x10b)](_0x42d002=>new f(_0x595e7a,this[_0x4d7155(0x11c)](),_0x42d002['id'],this[_0x4d7155(0x12a)]));}['removeChart'](_0xfabc4c){const _0x2bb7ca=_0x2719cd,_0x5395e3=_0xfabc4c[_0x2bb7ca(0x190)],_0x2c1309=_0xfabc4c[_0x2bb7ca(0x113)],_0x3723e5=_0xfabc4c[_0x2bb7ca(0x104)],_0x2dce26={'unitId':_0x5395e3,'drawings':[{'unitId':_0x5395e3,'subUnitId':_0x2c1309,'drawingId':_0x3723e5,'drawingType':_0x2e7793[_0x2bb7ca(0x158)]}]};return this['_commandService'][_0x2bb7ca(0x108)](_0x27b585['id'],_0x2dce26);}[_0x2719cd(0x154)](_0x411cbf,_0x551fd5){const _0x286b8b=_0x2719cd;this[_0x286b8b(0x12a)][_0x286b8b(0x10d)](_0x1739a3)['registerTheme'](_0x411cbf,_0x551fd5);}}_0x59a4f0[_0x2719cd(0x155)](Q);class Z extends _0x3ba2f8{get[_0x2719cd(0x150)](){return _0x14012f;}get['LegendPositionEnum'](){return _0x300161;}get[_0x2719cd(0x109)](){return _0x23b2c5;}get[_0x2719cd(0x18d)](){return _0x4b18ed;}get[_0x2719cd(0x19e)](){return _0x45d51d;}get['LinePointShape'](){return _0x403a92;}get[_0x2719cd(0x16d)](){return _0x344ffb;}get['RadarShape'](){return _0x332163;}}_0x3ba2f8['extend'](Z);class tt extends c{constructor(_0x5d1db3,_0x464d0d,_0x36a7ca,_0x5e5819,_0x3042f1){const _0x49dbbc=_0x2719cd;super(_0x5d1db3,_0x464d0d,_0x36a7ca,_0x5e5819,_0x3042f1),n(this,_0x49dbbc(0x1a2)),n(this,_0x49dbbc(0x178)),n(this,_0x49dbbc(0x184)),n(this,'dataPointSize');}[_0x2719cd(0x18f)](_0x3aa23f){const _0x122ce2=_0x2719cd;return this[_0x122ce2(0x1a2)]=_0x3aa23f,this;}[_0x2719cd(0x1ae)](_0x40735f){const _0xa6b004=_0x2719cd;return this[_0xa6b004(0x178)]=_0x40735f,this;}[_0x2719cd(0x174)](_0x1c3bcd){const _0x212cac=_0x2719cd;return this[_0x212cac(0x184)]=_0x1c3bcd,this;}[_0x2719cd(0x1aa)](_0x38651f){return this['dataPointSize']=_0x38651f,this;}[_0x2719cd(0x19a)](){const _0x46e17a=_0x2719cd,_0x1dbbaa=super['build']();_0x1dbbaa['chartType']=_0x14012f['Line'];const _0x569177=_0x1dbbaa[_0x46e17a(0x187)]||{};return s(_0x569177,_0x46e17a(0x17e),this['lineStyle']),s(_0x569177,_0x46e17a(0x164),this[_0x46e17a(0x178)]),s(_0x569177,_0x46e17a(0x1b2),this['dataPointColor']),s(_0x569177,'allSeriesStyle.point.size',this[_0x46e17a(0x135)]),_0x1dbbaa[_0x46e17a(0x187)]=_0x569177,_0x1dbbaa;}}class et extends c{[_0x2719cd(0x125)](){const _0x154d87=_0x2719cd;return new tt(this[_0x154d87(0x190)],this[_0x154d87(0x113)],this[_0x154d87(0x12b)],this[_0x154d87(0x12a)],this[_0x154d87(0x104)]);}}c['extend'](et);class it extends c{constructor(_0x538996,_0x20d513,_0x2d56e3,_0x4efb98,_0x376ccc){const _0x158241=_0x2719cd;super(_0x538996,_0x20d513,_0x2d56e3,_0x4efb98,_0x376ccc),n(this,_0x158241(0x199)),n(this,_0x158241(0x1a3)),n(this,_0x158241(0x140)),n(this,'isHalfPie'),n(this,_0x158241(0x165)),n(this,_0x158241(0x16b));}[_0x2719cd(0x12c)](_0x590d45){const _0x2ecaf0=_0x2719cd;return this[_0x2ecaf0(0x199)]=_0x590d45,this;}[_0x2719cd(0x11f)](_0x331ed7){const _0x417f81=_0x2719cd;return this[_0x417f81(0x1a3)]=_0x331ed7,this;}[_0x2719cd(0x10c)](_0x332b2a){const _0x591755=_0x2719cd;return this[_0x591755(0x140)]=_0x332b2a,this;}[_0x2719cd(0x17c)](_0xf26a8b){const _0x3fe410=_0x2719cd;return this[_0x3fe410(0x17a)]=_0xf26a8b,this;}[_0x2719cd(0x13b)](_0x155b2a){return this['rosePie']=_0x155b2a,this;}[_0x2719cd(0x192)](_0x2173bd){const _0x47b4dd=_0x2719cd;return this[_0x47b4dd(0x16b)]=_0x2173bd,this;}[_0x2719cd(0x19a)](){const _0x3d558b=_0x2719cd,_0x59242c=super[_0x3d558b(0x19a)]();_0x59242c['chartType']=_0x14012f[_0x3d558b(0x120)];const _0xa6080=_0x59242c['options']||{};return s(_0xa6080,_0x3d558b(0x11a),this['doughnutHole']),s(_0xa6080,'pie.borderColor',this[_0x3d558b(0x1a3)]),s(_0xa6080,'pie.hasPaddingAngle',this[_0x3d558b(0x140)]),s(_0xa6080,_0x3d558b(0x193),this['isHalfPie']),s(_0xa6080,_0x3d558b(0x141),this[_0x3d558b(0x165)]),s(_0xa6080,_0x3d558b(0x11d),this[_0x3d558b(0x16b)]),_0x59242c[_0x3d558b(0x187)]=_0xa6080,_0x59242c;}}class st extends c{['asPieChart'](){const _0x44594e=_0x2719cd;return new it(this[_0x44594e(0x190)],this['subUnitId'],this[_0x44594e(0x12b)],this['_injector'],this[_0x44594e(0x104)]);}}c['extend'](st);class rt extends c{constructor(_0x53bc9a,_0x43179c,_0x1ec4f2,_0x12b6d0,_0x215a9f){const _0x45ce44=_0x2719cd;super(_0x53bc9a,_0x43179c,_0x1ec4f2,_0x12b6d0,_0x215a9f),n(this,_0x45ce44(0x17b)),n(this,_0x45ce44(0x15f));}['setShape'](_0x22af3a){const _0x52e3dc=_0x2719cd;return this[_0x52e3dc(0x17b)]=_0x22af3a,this;}[_0x2719cd(0x14e)](_0x21f005){return this['fill']=_0x21f005,this;}[_0x2719cd(0x19a)](){const _0xa2df1c=_0x2719cd,_0x5ee980=super[_0xa2df1c(0x19a)]();_0x5ee980[_0xa2df1c(0x171)]=_0x14012f[_0xa2df1c(0x111)];const _0xcb257a=_0x5ee980[_0xa2df1c(0x187)]||{};return s(_0xcb257a,'radar.shape',this['shape']),s(_0xcb257a,_0xa2df1c(0x147),this[_0xa2df1c(0x15f)]),_0x5ee980[_0xa2df1c(0x187)]=_0xcb257a,_0x5ee980;}}class ot extends c{[_0x2719cd(0x13d)](){const _0x465dd0=_0x2719cd;return new rt(this[_0x465dd0(0x190)],this['subUnitId'],this['_workbook'],this[_0x465dd0(0x12a)],this['chartId']);}}c[_0x2719cd(0x155)](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
|