@univerjs-pro/sheets-chart-ui 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-8d33c6e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/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/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x52fd(_0x50862e,_0x3f03ef){_0x50862e=_0x50862e-0x7b;const _0x346bd0=_0x346b();let _0x52fdc0=_0x346bd0[_0x50862e];return _0x52fdc0;}const _0x47e417=_0x52fd;function _0x346b(){const _0x3b9049=['小計圖例文本','圓角矩形','三角形','R平方','負值圖例文本','最大值','力導向選項','5243008NDEUvI','正值樣式','氣泡圖','主標題','雷達圖','折線圖','格式類型','第三四分位數','顯示公式','数值后缀','1730583lkpEyd','顯示R平方','使用日期軸','添加系列','第一四分位數','詞雲形狀','1096360UGSJPT','散點圖','百分比','X軸標題','日期軸僅在數據全部為日期格式時可用','視覺映射範圍','圖表數據源必須包含多於1列和1欄。','柱狀圖','(空)','常規格式不包含任何特定的數字格式。','氣泡圖至少需要2欄,X軸、Y軸。','7ifUanL','節點距離','中位數','系列\x20{0}','小數位數','類別\x20{0}','長條圖系列','趨勢線線類型','88636BQyfTE','氣泡大小','小計樣式','瀑布圖','第\x20{0}\x20項','堆疊條形圖','打開圖表面板','節點形狀','趨勢線類型','空心矩形','數據點','9DaWpJa','更多設置','重複詞雲標籤','空心正方形','刻度線長度','{0}\x20顏色','累積占比','趨勢線名稱','1828566xhPmJl','5NqlfdW','漸變填充','漏斗圖','空心圓形','{0}\x20形狀','請先添加系列開始數據可視化','指示標籤','空心箭頭','空心菱形','指示線類型','{0}\x20格式','標籤位置','字段設置','標題文本','刻度線位置','Y軸標題','貨幣類型','扇形間距','線類型','空心針形','股票圖','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','圖表樣式','編輯圖表','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','標籤旋轉','圓環孔','堆疊方式','右垂直軸','顯示數據標籤','隱藏圖表面板','刪除圖表','力導向','{0}\x20類型','圖表邊框顏色','{0}\x20粗細','數據點樣式','關係圖','千分位符','網格線和刻度線','標題格式','空心三角形','5216610NmkYIc','使用值作為節點大小','趨勢線','負數類型','所有系列','趨勢線粗細','用直線連接數據點','正值圖例文本','143lSwkdU','使用\x20{0}\x20作為類別標籤','顯示標籤線','右Y軸標題','標籤文本','顯示標籤','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','數據範圍','使用絕對值','1322564YAFbMy','顯示小計','條形圖','佈局類型','多邊形','插入圖表','軸選項','最小值','切換列或欄','移動平均','桑基圖','玫瑰圖','日期類型','日期格式將日期和時間系列數值顯示為日期值。','多項式','正方形','圖例選擇模式','垂直軸','添加趨勢線'];_0x346b=function(){return _0x3b9049;};return _0x346b();}(function(_0x56d795,_0x3200e9){const _0x1473ac=_0x52fd,_0x131cf9=_0x56d795();while(!![]){try{const _0x2b2361=parseInt(_0x1473ac(0xc4))/0x1*(-parseInt(_0x1473ac(0xcc))/0x2)+-parseInt(_0x1473ac(0xb3))/0x3+-parseInt(_0x1473ac(0x8f))/0x4*(parseInt(_0x1473ac(0xe0))/0x5)+parseInt(_0x1473ac(0xdf))/0x6+-parseInt(_0x1473ac(0x7e))/0x7+parseInt(_0x1473ac(0xa9))/0x8*(parseInt(_0x1473ac(0xd7))/0x9)+-parseInt(_0x1473ac(0xb9))/0xa*(-parseInt(_0x1473ac(0x86))/0xb);if(_0x2b2361===_0x3200e9)break;else _0x131cf9['push'](_0x131cf9['shift']());}catch(_0x318a40){_0x131cf9['push'](_0x131cf9['shift']());}}}(_0x346b,0x6722f));const e={'chart':{'insertChart':_0x47e417(0x94),'editChart':_0x47e417(0xf7),'openChartPanel':_0x47e417(0xd2),'deleteChart':_0x47e417(0xff),'hideChartPanel':_0x47e417(0xfe),'setupChart':'設置圖表','customChart':'自定義圖表','default':'默認','reset':'重置','chartType':'圖表類型','themes':'主題','dataRange':_0x47e417(0x8d),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x47e417(0x82),'series':'系列','addSeries':_0x47e417(0xb6),'moreSettings':_0x47e417(0xd8),'min':_0x47e417(0x96),'max':_0x47e417(0xa7),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x47e417(0x84)},'blank':_0x47e417(0xc1),'seriesBlock':{'format':'格式','dataPointStyle':_0x47e417(0x104)},'backgroundColor':'背景顏色','chartBorderColor':_0x47e417(0x102),'titles':{'title':'標題','mainTitle':_0x47e417(0xac),'subTitle':'副標題','xAxisTitle':_0x47e417(0xbc),'yAxisTitle':_0x47e417(0xef),'rightYAxisTitle':_0x47e417(0x89),'titleFormat':_0x47e417(0x7c),'titleText':_0x47e417(0xed),'titlePosition':'標題位置','titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x47e417(0xe1),'settingsLabels':{'switchToRowOrColumn':_0x47e417(0x97),'useAsCategoryLabels':_0x47e417(0x87),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':'左對齊','center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x47e417(0xf6),'chartAndAxisTitles':'圖表和軸標題','legend':'圖例','legendSelectMode':_0x47e417(0x9f),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x47e417(0x95),'horizontalAxis':'水平軸','verticalAxis':_0x47e417(0xa0),'rightVerticalAxis':_0x47e417(0xfc),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':'使用右軸'},'position':'位置','dataLabels':'數據標籤','gridlinesAndTicks':_0x47e417(0x7b),'indicatorLine':'指示線','indicatorLineType':_0x47e417(0xe9),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x47e417(0xe6),'indicatorValue':'指示值','shape':{'polygon':_0x47e417(0x93),'circle':'圓形','square':_0x47e417(0x9e),'triangle':_0x47e417(0xa4),'diamond':'菱形','rect':'矩形','roundRect':_0x47e417(0xa3),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x47e417(0xe3),'emptySquare':_0x47e417(0xda),'emptyTriangle':_0x47e417(0x7d),'emptyDiamond':_0x47e417(0xe8),'emptyRect':_0x47e417(0xd5),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x47e417(0xf3),'emptyArrow':_0x47e417(0xe7)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x47e417(0xdc),'withThickness':_0x47e417(0x103),'withType':_0x47e417(0x101),'withSize':'{0}\x20大小','withShape':_0x47e417(0xe4),'withFormat':_0x47e417(0xea),'dataPoint':'數據點','dataNodeShape':_0x47e417(0xd3),'addDataPoint':'添加數據點','point':_0x47e417(0xd6),'percentage':_0x47e417(0xbb),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':'百分比堆疊'},'lineDashType':_0x47e417(0xf2),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':'主網格線','text':'網格線'},'ticks':{'majorTick':'主刻度線','tickPosition':_0x47e417(0xee),'tickLength':_0x47e417(0xdb)},'none':'無','theIndexItem':_0x47e417(0xd0),'seriesDefaultName':_0x47e417(0xc7),'categoryDefaultName':_0x47e417(0xc9),'styleEditPanel':{'showLabels':_0x47e417(0x8b),'showDataLabels':_0x47e417(0xfd),'padAngle':_0x47e417(0xf1),'halfPie':'半餅','rosePie':_0x47e417(0x9a),'pieValScale':'数值比例','pieValSuffix':_0x47e417(0xb2),'pieDigitalFixed':_0x47e417(0xc8),'showLabelLine':_0x47e417(0x88),'reverseAxisOrder':'逆序軸','showAxisLine':'顯示軸線','labelPosition':_0x47e417(0xeb),'labelText':_0x47e417(0x8a),'repeatWordCould':_0x47e417(0xd9),'gap':'間隔','useAbsValue':_0x47e417(0x8e),'labelRotate':_0x47e417(0xf9),'wordCloudShape':_0x47e417(0xb8),'useDateAxis':_0x47e417(0xb5),'dateAxisTips':_0x47e417(0xbd)},'radar':{'fill':'填充'},'doughnutHole':_0x47e417(0xfa),'msg':{'invalidSource':_0x47e417(0xbf),'emptyTips':_0x47e417(0xe5)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x47e417(0x80),'displayName':_0x47e417(0xde),'addTrendLine':_0x47e417(0xa1),'trendlineType':_0x47e417(0xd4),'trendlineName':_0x47e417(0xde),'trendlineColor':'趨勢線顏色','trendlineThickness':_0x47e417(0x83),'trendlineDashType':_0x47e417(0xcb),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x47e417(0x98),'poly':_0x47e417(0x9d),'order':'多項式階數','period':'移動平均周期','showFormula':_0x47e417(0xb1),'showR2':_0x47e417(0xb4),'formula':'公式','r2':_0x47e417(0xa5)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x47e417(0xcd),'label':'氣泡標籤','emptyTips':_0x47e417(0xc3)},'relation':{'title':_0x47e417(0x105),'auto':'自動','circular':'環形','force':_0x47e417(0x100),'useValueAsSymbolSize':_0x47e417(0x7f),'layoutType':_0x47e417(0x92),'forceOptions':_0x47e417(0xa8),'repulsion':'斥力','gravity':'引力','edgeLength':_0x47e417(0xc5),'rotateLabel':'旋轉標籤','emphasis':'開啟選中淡入特效','emptyTips':_0x47e417(0xf8)},'waterfall':{'stackType':_0x47e417(0xfb),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x47e417(0x90),'positiveStyle':_0x47e417(0xaa),'negativeStyle':'負值樣式','subtotalStyle':_0x47e417(0xce),'positiveLegendText':_0x47e417(0x85),'negativeLegendText':_0x47e417(0xa6),'subtotalLegendText':_0x47e417(0xa2)},'pareto':{'lineName':_0x47e417(0xdd),'lineSeries':'累積占比系列','barSeries':_0x47e417(0xca)},'visualMapScope':_0x47e417(0xbe),'boxplot':{'min':_0x47e417(0x96),'q1':_0x47e417(0xb7),'median':_0x47e417(0xc6),'q3':_0x47e417(0xb0),'max':_0x47e417(0xa7)}},'chartTypes':{'line':_0x47e417(0xae),'area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':'百分比堆疊面積圖','column':_0x47e417(0xc0),'bar':_0x47e417(0x91),'barStacked':_0x47e417(0xd1),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':'環形圖','scatter':_0x47e417(0xba),'radar':_0x47e417(0xad),'bubble':_0x47e417(0xab),'stock':_0x47e417(0xf4),'combination':'組合圖','wordCloud':'詞雲圖','funnel':_0x47e417(0xe2),'relation':_0x47e417(0x105),'waterfall':_0x47e417(0xcf),'pareto':'排列圖','sankey':_0x47e417(0x99),'heatmap':'熱力圖','boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x47e417(0x106),'fieldSetting':_0x47e417(0xec),'formatTypes':_0x47e417(0xaf),'confirm':'確定','cancel':'取消','generalDesc':_0x47e417(0xc2),'accountingDesc':_0x47e417(0xf5),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','dateDesc':_0x47e417(0x9c),'thousandthPercentileDesc':_0x47e417(0x8c),'decimalPlaces':'小數位數','currencyTypes':_0x47e417(0xf0),'negativeNumberTypes':_0x47e417(0x81),'dateTypes':_0x47e417(0x9b)},'setFormat':'設置標籤格式'}};module['exports']=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x16124b=_0x595e;(function(_0x114f1f,_0x29ac99){const _0x3f0d1e=_0x595e,_0x14a040=_0x114f1f();while(!![]){try{const _0x42fb36=parseInt(_0x3f0d1e(0x116))/0x1*(parseInt(_0x3f0d1e(0xce))/0x2)+-parseInt(_0x3f0d1e(0xd3))/0x3*(parseInt(_0x3f0d1e(0xc7))/0x4)+-parseInt(_0x3f0d1e(0x98))/0x5+parseInt(_0x3f0d1e(0x93))/0x6+-parseInt(_0x3f0d1e(0xe3))/0x7+-parseInt(_0x3f0d1e(0xdd))/0x8+parseInt(_0x3f0d1e(0xc4))/0x9;if(_0x42fb36===_0x29ac99)break;else _0x14a040['push'](_0x14a040['shift']());}catch(_0x2caeaa){_0x14a040['push'](_0x14a040['shift']());}}}(_0x3219,0x565e2));var R=Object[_0x16124b(0x7d)],k=(_0x16d070,_0x4b850f,_0x46722b)=>_0x4b850f in _0x16d070?R(_0x16d070,_0x4b850f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46722b}):_0x16d070[_0x4b850f]=_0x46722b,n=(_0x4e581b,_0x56aafe,_0x412448)=>k(_0x4e581b,typeof _0x56aafe!='symbol'?_0x56aafe+'':_0x56aafe,_0x412448);import{ChartThemeService as _0x471a4b,ChartTypeBits as _0x445984,LegendPositionEnum as _0x593620,SelectModeEnum as _0x2a7b16,AxisAlignEnum as _0x410af2,ChartBorderDashType as _0x417695,LinePointShape as _0x5b1119,TitlePositionEnum as _0x2cb4de,RadarShape as _0x5d0cd9}from'@univerjs-pro/engine-chart';import{setProperty as _0x4d04f3,SheetsChartService as _0x4302a6,ChartUpdateSourceCommand as _0x20c02b,ChartUpdateConfigCommand as _0x313b98}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x16b085}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x2d06e8,IUniverInstanceService as _0x4acbe7,UniverInstanceType as _0x32d63a,generateRandomId as _0x241172,DrawingTypeEnum as _0x2345e6}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x40b76b}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x179f51}from'@univerjs/sheets/facade';import{FBase as _0x38f3ad,FEnum as _0x2b65b1}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x476c78}from'@univerjs/engine-formula';import{IRenderManagerService as _0x2535fb}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x30f8b6,SheetSkeletonManagerService as _0x4147e6,convertPositionCellToSheetOverGrid as _0x4db64e}from'@univerjs/sheets-ui';const s=(_0x59f524,_0x2a8856,_0x56d1e5)=>{_0x56d1e5!==void 0x0&&_0x4d04f3(_0x59f524,_0x2a8856,_0x56d1e5);},C=(_0x150ea4,_0x43547c,_0x261420,_0x5c0c9b={})=>{const _0x26e486=_0x16124b,_0x189aec={},_0x2685ba={};if(_0x5c0c9b[_0x26e486(0x7a)]){const _0x25aab5=_0x5c0c9b['title'];s(_0x189aec,_0x26e486(0xe7),_0x25aab5[_0x26e486(0x74)]),s(_0x189aec,_0x26e486(0xee),_0x25aab5['font']),s(_0x189aec,_0x26e486(0xd2),_0x25aab5[_0x26e486(0xb4)]),s(_0x189aec,'titles.title.color',_0x25aab5[_0x26e486(0xbb)]),s(_0x189aec,_0x26e486(0xb8),_0x25aab5[_0x26e486(0xc0)]),s(_0x189aec,_0x26e486(0x81),_0x25aab5[_0x26e486(0x8e)]),s(_0x189aec,_0x26e486(0xe5),_0x25aab5['titleAlignment']),s(_0x189aec,'titles.titlePosition',_0x25aab5[_0x26e486(0x96)]);}if(_0x5c0c9b[_0x26e486(0x109)]){const _0x5b5ffa=_0x5c0c9b['legend'];s(_0x189aec,_0x26e486(0xf9),_0x5b5ffa[_0x26e486(0x96)]),s(_0x189aec,_0x26e486(0xa4),_0x5b5ffa[_0x26e486(0x92)]),s(_0x189aec,_0x26e486(0xd9),_0x5b5ffa['fontSize']),s(_0x189aec,_0x26e486(0x82),_0x5b5ffa[_0x26e486(0x83)]),s(_0x189aec,_0x26e486(0xe8),_0x5b5ffa[_0x26e486(0x8e)]),s(_0x189aec,_0x26e486(0xec),_0x5b5ffa[_0x26e486(0xbe)]);}if(_0x5c0c9b[_0x26e486(0x113)]){const _0x329345=_0x5c0c9b['pie'];s(_0x189aec,_0x26e486(0x8c),_0x329345['doughnutHole']),s(_0x189aec,_0x26e486(0x8a),_0x329345[_0x26e486(0x77)]),s(_0x189aec,'pie.hasPaddingAngle',_0x329345[_0x26e486(0xea)]),s(_0x189aec,'pie.isHalfPie',_0x329345[_0x26e486(0xd8)]),s(_0x189aec,_0x26e486(0x106),_0x329345['rosePie']),s(_0x189aec,_0x26e486(0x107),_0x329345[_0x26e486(0x95)]);}if(_0x5c0c9b[_0x26e486(0xa7)]){const _0x19132d=_0x5c0c9b[_0x26e486(0xa7)];s(_0x189aec,_0x26e486(0x6f),_0x19132d[_0x26e486(0x9e)]),s(_0x189aec,_0x26e486(0xb2),_0x19132d[_0x26e486(0xf2)]),s(_0x189aec,_0x26e486(0xb7),_0x19132d[_0x26e486(0xab)]),s(_0x189aec,_0x26e486(0x91),_0x19132d[_0x26e486(0xa3)]);}if(_0x5c0c9b[_0x26e486(0x94)]&&(s(_0x189aec,'allSeriesStyle.border',_0x5c0c9b['allSeriesStyle']['border']),s(_0x189aec,'allSeriesStyle.label',_0x5c0c9b[_0x26e486(0x94)][_0x26e486(0x99)]),s(_0x189aec,'allSeriesStyle.rightYAxis',_0x5c0c9b[_0x26e486(0x94)][_0x26e486(0x7c)]),s(_0x189aec,_0x26e486(0x79),_0x5c0c9b[_0x26e486(0x94)]['point']),s(_0x189aec,'allSeriesStyle.color',_0x5c0c9b[_0x26e486(0x94)][_0x26e486(0x83)])),_0x5c0c9b[_0x26e486(0x80)]&&s(_0x189aec,'area.lineStyle',_0x5c0c9b['area'][_0x26e486(0x100)]),_0x5c0c9b[_0x26e486(0xf6)]&&s(_0x189aec,_0x26e486(0xf6),_0x5c0c9b[_0x26e486(0xf6)]),_0x5c0c9b[_0x26e486(0xc8)]&&s(_0x189aec,_0x26e486(0xc8),_0x5c0c9b[_0x26e486(0xc8)]),_0x5c0c9b[_0x26e486(0x77)]&&s(_0x189aec,_0x26e486(0x77),_0x5c0c9b[_0x26e486(0x77)]),_0x5c0c9b['gradientFill']&&s(_0x189aec,_0x26e486(0x89),_0x5c0c9b[_0x26e486(0x89)]),_0x5c0c9b[_0x26e486(0x101)]&&s(_0x189aec,_0x26e486(0x101),_0x5c0c9b[_0x26e486(0x101)]),_0x5c0c9b[_0x26e486(0xdb)]&&s(_0x189aec,_0x26e486(0xdb),_0x5c0c9b[_0x26e486(0xdb)]),_0x5c0c9b['xAxisTitle']){const _0x5db629=_0x5c0c9b['xAxisTitle'];s(_0x189aec,_0x26e486(0x104),_0x5db629[_0x26e486(0x74)]),s(_0x189aec,_0x26e486(0x75),_0x5db629['font']),s(_0x189aec,_0x26e486(0x85),_0x5db629[_0x26e486(0xb4)]),s(_0x189aec,_0x26e486(0xad),_0x5db629[_0x26e486(0xbb)]),s(_0x189aec,_0x26e486(0xfb),_0x5db629[_0x26e486(0xc0)]),s(_0x189aec,_0x26e486(0x10f),_0x5db629['bold']),s(_0x189aec,'xAxis.label.axisTitleAlign',_0x5db629[_0x26e486(0xd5)]);}if(_0x5c0c9b['yAxisTitle']){const _0x2ebfe7=_0x5c0c9b[_0x26e486(0xa0)];s(_0x189aec,_0x26e486(0xa8),_0x2ebfe7['content']),s(_0x189aec,_0x26e486(0xb3),_0x2ebfe7[_0x26e486(0x84)]),s(_0x189aec,'titles.yAxisTitle.fontSize',_0x2ebfe7[_0x26e486(0xb4)]),s(_0x189aec,_0x26e486(0x114),_0x2ebfe7[_0x26e486(0xbb)]),s(_0x189aec,_0x26e486(0xaa),_0x2ebfe7[_0x26e486(0xc0)]),s(_0x189aec,_0x26e486(0x86),_0x2ebfe7[_0x26e486(0x8e)]),s(_0x189aec,'yAxis.label.axisTitleAlign',_0x2ebfe7['axisAlignment']);}if(_0x5c0c9b[_0x26e486(0xa6)]){const _0x223d4e=_0x5c0c9b[_0x26e486(0xa6)];s(_0x189aec,_0x26e486(0xe4),_0x223d4e['content']),s(_0x189aec,_0x26e486(0xe1),_0x223d4e[_0x26e486(0x84)]),s(_0x189aec,_0x26e486(0xc9),_0x223d4e[_0x26e486(0xb4)]),s(_0x189aec,_0x26e486(0x87),_0x223d4e[_0x26e486(0xbb)]),s(_0x189aec,_0x26e486(0xed),_0x223d4e['fontStyle']),s(_0x189aec,_0x26e486(0xef),_0x223d4e['bold']),s(_0x189aec,_0x26e486(0xf1),_0x223d4e[_0x26e486(0xd5)]);}_0x5c0c9b[_0x26e486(0xf8)]&&s(_0x189aec,_0x26e486(0xf8),_0x5c0c9b[_0x26e486(0xf8)]),_0x5c0c9b['yAxis']&&s(_0x189aec,'yAxis',_0x5c0c9b['yAxis']),_0x5c0c9b[_0x26e486(0x10c)]&&s(_0x189aec,_0x26e486(0x7c),_0x5c0c9b['yRightAxis']),_0x5c0c9b[_0x26e486(0x103)]&&s(_0x189aec,'seriesStyleMap',_0x5c0c9b[_0x26e486(0x103)]);const _0xc64c6c={'unitId':_0x150ea4,'chartModelId':_0x43547c};let _0x51ec41=!0x1;if(_0x261420!==void 0x0&&(_0xc64c6c['chartType']=_0x261420,_0x51ec41=!0x0),Object[_0x26e486(0x90)](_0x189aec)[_0x26e486(0xbc)]>0x0&&(_0xc64c6c['style']=_0x189aec,_0x51ec41=!0x0),Object[_0x26e486(0x90)](_0x2685ba)[_0x26e486(0xbc)]>0x0&&(_0xc64c6c[_0x26e486(0xe2)]=_0x2685ba,_0x51ec41=!0x0),_0x51ec41)return _0xc64c6c;};function _0x595e(_0x1b06fe,_0x4f3697){_0x1b06fe=_0x1b06fe-0x6a;const _0x321913=_0x3219();let _0x595e39=_0x321913[_0x1b06fe];return _0x595e39;}class c extends _0x38f3ad{constructor(_0x4332f7,_0x145516,_0x3589b2,_0x33e82c,_0x20e9d3){const _0x34a6da=_0x16124b;super(),n(this,'_workbook'),n(this,_0x34a6da(0x6d)),n(this,_0x34a6da(0x6a)),n(this,_0x34a6da(0xf5)),n(this,_0x34a6da(0x6b)),n(this,_0x34a6da(0x6e)),n(this,_0x34a6da(0xbd)),n(this,'x'),n(this,'y'),n(this,_0x34a6da(0xcb)),n(this,_0x34a6da(0xd1)),n(this,_0x34a6da(0x10a)),n(this,_0x34a6da(0x112)),n(this,_0x34a6da(0xa2)),(this[_0x34a6da(0x6a)]=_0x4332f7,this['subUnitId']=_0x145516,this[_0x34a6da(0xfd)]=_0x3589b2,this['_injector']=_0x33e82c,_0x20e9d3&&(this[_0x34a6da(0x6b)]=_0x20e9d3));}[_0x16124b(0xb6)](){return this['chartType'];}[_0x16124b(0xc2)](_0x4f95b7){const _0x34c9f6=_0x16124b;if(typeof _0x4f95b7==_0x34c9f6(0x117)){const _0x5bdb82=_0x476c78(_0x4f95b7);_0x5bdb82['sheetName']&&(this[_0x34c9f6(0xbd)]=_0x5bdb82[_0x34c9f6(0xcc)]),this[_0x34c9f6(0x6e)]=_0x5bdb82['range'];}else this[_0x34c9f6(0x6e)]=_0x4f95b7;return this;}[_0x16124b(0x111)](){const _0x2e0fad=_0x16124b;return this[_0x2e0fad(0x6e)]=void 0x0,this[_0x2e0fad(0xbd)]=void 0x0,this;}['setPosition'](_0x137cfa,_0x2cbb52,_0x28c65b,_0x3db874){const _0x1024e8=_0x16124b,_0x37b33d=this[_0x1024e8(0x6d)]['get'](_0x2535fb)[_0x1024e8(0x115)](this['unitId']);if(!_0x37b33d)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x3eac6b=_0x37b33d[_0x1024e8(0x72)](_0x30f8b6),_0x5dbd31=_0x37b33d['with'](_0x4147e6),{transform:_0x4daceb}=_0x4db64e(this[_0x1024e8(0x6a)],this[_0x1024e8(0xf5)],{'row':_0x137cfa,'column':_0x2cbb52,'rowOffset':_0x28c65b,'columnOffset':_0x3db874},0x1,0x1,_0x3eac6b,_0x5dbd31),_0x5bbb2e=_0x4daceb[_0x1024e8(0x10e)],_0x13539d=_0x4daceb[_0x1024e8(0xba)];return this['x']=_0x13539d,this['y']=_0x5bbb2e,this;}[_0x16124b(0xa1)](_0x2d85a3,_0x4718e7){return this['x']=_0x2d85a3,this['y']=_0x4718e7,this;}[_0x16124b(0x10b)](_0x33dcf4){const _0x45a2bd=_0x16124b;return this[_0x45a2bd(0x10a)]=_0x33dcf4,this;}['setWidth'](_0x2c9610){const _0x1dfc0c=_0x16124b;return this[_0x1dfc0c(0xcb)]=_0x2c9610,this;}[_0x16124b(0xd7)](_0x3d004e){return this['height']=_0x3d004e,this;}[_0x16124b(0xb1)](_0x53601a,_0x2cdbf0){const _0x378274=_0x16124b;return this[_0x378274(0x112)]||(this[_0x378274(0x112)]={}),_0x53601a===''?(this[_0x378274(0x112)]={...this[_0x378274(0x112)],..._0x2cdbf0},this):(_0x4d04f3(this['options'],_0x53601a,_0x2cdbf0),this);}['setTransposeRowsAndColumns'](_0x28e6f8){return this['transposeRowsAndColumns']=_0x28e6f8,this;}[_0x16124b(0xf3)](_0x115de4){return this['setOptions']('theme',_0x115de4),this;}['setXAxisTitle'](_0x307817){const _0x3a4e33=_0x16124b;var _0x2bcdc3;const _0x1665a8=((_0x2bcdc3=this[_0x3a4e33(0x112)])==null?void 0x0:_0x2bcdc3[_0x3a4e33(0x102)])||{};return _0x1665a8[_0x3a4e33(0x74)]=_0x307817,this[_0x3a4e33(0xb1)](_0x3a4e33(0x102),_0x1665a8),this;}[_0x16124b(0xcf)](_0x3885ff){const _0x8da38b=_0x16124b;var _0x1af1f2;const _0x22385f=((_0x1af1f2=this[_0x8da38b(0x112)])==null?void 0x0:_0x1af1f2[_0x8da38b(0xa0)])||{};return _0x22385f[_0x8da38b(0x74)]=_0x3885ff,this[_0x8da38b(0xb1)](_0x8da38b(0xa0),_0x22385f),this;}[_0x16124b(0xe0)](_0x667678){const _0x8cd5e1=_0x16124b;var _0x2cf10c;const _0x537a15=((_0x2cf10c=this[_0x8cd5e1(0x112)])==null?void 0x0:_0x2cf10c['rightYAxisTitle'])||{};return _0x537a15['content']=_0x667678,this[_0x8cd5e1(0xb1)](_0x8cd5e1(0xa6),_0x537a15),this;}[_0x16124b(0xb0)](_0x4c0b8e){const _0x2f5cb6=_0x16124b;var _0x48b9ac;const _0x34f1a3=((_0x48b9ac=this[_0x2f5cb6(0x112)])==null?void 0x0:_0x48b9ac[_0x2f5cb6(0x102)])||{};return this['setOptions'](_0x2f5cb6(0x102),{..._0x34f1a3,..._0x4c0b8e}),this;}['setYAxisTextStyle'](_0x3e31b3){const _0x184b77=_0x16124b;var _0x44b64f;const _0x5df16a=((_0x44b64f=this[_0x184b77(0x112)])==null?void 0x0:_0x44b64f[_0x184b77(0xa0)])||{};return this['setOptions'](_0x184b77(0xa0),{..._0x5df16a,..._0x3e31b3}),this;}['setRightYAxisTextStyle'](_0x3ac604){const _0x58c20a=_0x16124b;var _0x35f21f;const _0x2ad51e=((_0x35f21f=this[_0x58c20a(0x112)])==null?void 0x0:_0x35f21f['rightYAxisTitle'])||{};return this[_0x58c20a(0xb1)]('rightYAxisTitle',{..._0x2ad51e,..._0x3ac604}),this;}[_0x16124b(0xa9)](_0x3cd59c){const _0x4fd98d=_0x16124b;return this[_0x4fd98d(0xb1)](_0x4fd98d(0x101),_0x3cd59c),this;}[_0x16124b(0x7e)](_0x2e5484){const _0x4447ff=_0x16124b;return this[_0x4447ff(0xb1)]('axisPointer',_0x2e5484),this;}['setAllSeriesStyle'](_0x3da622){const _0x13e374=_0x16124b;return this[_0x13e374(0xb1)](_0x13e374(0x94),_0x3da622),this;}[_0x16124b(0x118)](_0x3c7a18,_0x33bd81){const _0x404afc=_0x16124b;return this[_0x404afc(0xb1)]('seriesStyleMap',{[_0x3c7a18]:_0x33bd81}),this;}[_0x16124b(0xc1)](){const _0xbcba19=_0x16124b;return{'unitId':this[_0xbcba19(0x6a)],'subUnitId':this[_0xbcba19(0xf5)],'chartId':this[_0xbcba19(0x6b)],'range':this[_0xbcba19(0x6e)],'sourceSheetName':this[_0xbcba19(0xbd)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0xbcba19(0xd1)],'chartType':this[_0xbcba19(0x10a)],'options':this['options'],'isRowDirection':this[_0xbcba19(0xa2)]};}}class P{constructor(_0xa068a7,_0xe383e2,_0x17e582,_0x3fef64){const _0x39c863=_0x16124b;n(this,_0x39c863(0x6a)),n(this,_0x39c863(0xf5)),n(this,_0x39c863(0x6b)),n(this,_0x39c863(0x6d)),(this[_0x39c863(0x6a)]=_0xa068a7,this[_0x39c863(0xf5)]=_0xe383e2,this[_0x39c863(0x6b)]=_0x17e582,this['_injector']=_0x3fef64);}['getChartId'](){const _0x484ddf=_0x16124b;return this[_0x484ddf(0x6b)];}[_0x16124b(0x9f)](){const _0x37a02b=_0x16124b,_0x37058a=this['_injector'][_0x37a02b(0x88)](_0x4302a6)[_0x37a02b(0x7b)](this[_0x37a02b(0x6b)]);if(_0x37058a)return _0x37058a[_0x37a02b(0x105)]['getRangeInfo']();}['updateRange'](_0x4a62f4){const _0x283f13=_0x16124b;return this['_injector'][_0x283f13(0x88)](_0x2d06e8)[_0x283f13(0xc3)](_0x20c02b['id'],{'unitId':this[_0x283f13(0x6a)],'chartModelId':this[_0x283f13(0x6b)],'range':_0x4a62f4});}[_0x16124b(0xe6)](){const _0x4cb31e=_0x16124b;var _0x3d5f19;const _0x3abacd=this[_0x4cb31e(0x6d)]['get'](_0x4302a6)[_0x4cb31e(0x7b)](this[_0x4cb31e(0x6b)]);if(_0x3abacd)return(_0x3d5f19=_0x3abacd[_0x4cb31e(0xf7)])==null?void 0x0:_0x3d5f19[_0x4cb31e(0x110)];}['getCategoryData'](){const _0xaba58a=_0x16124b;var _0x46169e;const _0x1c3ed8=this[_0xaba58a(0x6d)][_0xaba58a(0x88)](_0x4302a6)['getChartModel'](this[_0xaba58a(0x6b)]);if(_0x1c3ed8)return(_0x46169e=_0x1c3ed8['config'])==null?void 0x0:_0x46169e['category'];}[_0x16124b(0xc6)](){const _0x273597=_0x16124b,_0x4f8a8b=this['_injector']['get'](_0x4acbe7)[_0x273597(0xe9)](_0x32d63a['UNIVER_SHEET']);return new c(this[_0x273597(0x6a)],this[_0x273597(0xf5)],_0x4f8a8b,this[_0x273597(0x6d)],this[_0x273597(0x6b)]);}}class $ extends _0x179f51{async[_0x16124b(0x10d)](_0x5a25ba){const _0x22293e=_0x16124b;var _0x4b722c,_0x29d36c,_0x1d61b3;const _0x43db0c=_0x5a25ba[_0x22293e(0x6a)]||this[_0x22293e(0xb9)]()['getUnitId'](),_0x28bcdc=_0x5a25ba[_0x22293e(0xf5)]||this[_0x22293e(0x6c)](),_0x3fc9d2=_0x5a25ba['chartId']||_0x241172(),_0x3e0902=_0x5a25ba[_0x22293e(0x10a)],_0x3a4149=_0x5a25ba['range'],_0x449053=_0x5a25ba[_0x22293e(0xbd)],_0x346eef={'x':_0x5a25ba['x'],'y':_0x5a25ba['y']},_0x2478d2=_0x5a25ba[_0x22293e(0xcb)],_0x496981=_0x5a25ba[_0x22293e(0xd1)],_0x501b55=(_0x4b722c=_0x5a25ba[_0x22293e(0x112)])==null?void 0x0:_0x4b722c[_0x22293e(0xc8)],_0x506c7c=(_0x29d36c=_0x5a25ba['options'])==null?void 0x0:_0x29d36c[_0x22293e(0x77)],_0x114d09=C(_0x43db0c,_0x3fc9d2,_0x3e0902,_0x5a25ba[_0x22293e(0x112)]),_0xcb48dc=(_0x1d61b3=_0x5a25ba[_0x22293e(0xf4)])!=null?_0x1d61b3:!0x0;if(!_0x3a4149)throw new Error(_0x22293e(0x76));return await this[_0x22293e(0xd4)][_0x22293e(0xc3)](_0x16b085['id'],{'unitId':_0x43db0c,'subUnitId':_0x28bcdc,'chartId':_0x3fc9d2,'chartType':_0x3e0902,'range':_0x3a4149,'sourceSheetName':_0x449053,'position':_0x346eef,'width':_0x2478d2,'height':_0x496981,'backgroundColor':_0x501b55,'borderColor':_0x506c7c,'config':_0x114d09,'isRowDirection':_0xcb48dc}),new P(_0x43db0c,_0x28bcdc,_0x3fc9d2,this['_injector']);}[_0x16124b(0xc5)](_0x2e03a7){const {unitId:_0x1c7391,chartId:_0x4a4730,chartType:_0x3fe549,options:_0x39368d}=_0x2e03a7,_0x5bc26e=C(_0x1c7391,_0x4a4730,_0x3fe549,_0x39368d);this['_commandService']['executeCommand'](_0x313b98['id'],_0x5bc26e);}[_0x16124b(0xca)](_0x420b45){const _0x436924=_0x16124b;if(_0x420b45)return new c(_0x420b45[_0x436924(0x6a)],_0x420b45[_0x436924(0xf5)],this[_0x436924(0xfd)],this[_0x436924(0x6d)],_0x420b45[_0x436924(0x6b)]);const _0x501eab=this['getWorkbook']()[_0x436924(0xb5)](),_0x46c378=this[_0x436924(0x6c)]();return new c(_0x501eab,_0x46c378,this[_0x436924(0xfd)],this['_injector']);}[_0x16124b(0xf0)](){const _0x14cb26=_0x16124b,_0x1eea4b=this[_0x14cb26(0x6d)][_0x14cb26(0x88)](_0x4302a6),_0x5514d4=this['getWorkbook']()[_0x14cb26(0xb5)]();return _0x1eea4b[_0x14cb26(0x9c)](_0x5514d4,this['getSheetId']())[_0x14cb26(0xcd)](_0x3b34b3=>new P(_0x5514d4,this['getSheetId'](),_0x3b34b3['id'],this[_0x14cb26(0x6d)]));}['removeChart'](_0x3bb932){const _0x568bc0=_0x16124b,_0x1177ee=_0x3bb932[_0x568bc0(0x6a)],_0x5cb3ce=_0x3bb932['subUnitId'],_0x53d6a9=_0x3bb932[_0x568bc0(0x6b)],_0x2887a2={'unitId':_0x1177ee,'drawings':[{'unitId':_0x1177ee,'subUnitId':_0x5cb3ce,'drawingId':_0x53d6a9,'drawingType':_0x2345e6['DRAWING_CHART']}]};return this[_0x568bc0(0xd4)][_0x568bc0(0xc3)](_0x40b76b['id'],_0x2887a2);}[_0x16124b(0xff)](_0x36215b,_0x4e90b3){const _0x2db67b=_0x16124b;this[_0x2db67b(0x6d)][_0x2db67b(0x88)](_0x471a4b)['registerTheme'](_0x36215b,_0x4e90b3);}}_0x179f51['extend']($);class tt extends _0x2b65b1{get[_0x16124b(0x78)](){return _0x445984;}get[_0x16124b(0x9b)](){return _0x593620;}get[_0x16124b(0xfc)](){return _0x2a7b16;}get['AxisAlignEnum'](){return _0x410af2;}get[_0x16124b(0x97)](){return _0x417695;}get[_0x16124b(0xae)](){return _0x5b1119;}get[_0x16124b(0xeb)](){return _0x2cb4de;}get[_0x16124b(0x7f)](){return _0x5d0cd9;}}_0x2b65b1[_0x16124b(0xac)](tt);class et extends c{constructor(_0x569aa8,_0x3afebf,_0x39b45a,_0x2927a0,_0x504ed8){const _0x31214a=_0x16124b;super(_0x569aa8,_0x3afebf,_0x39b45a,_0x2927a0,_0x504ed8),n(this,_0x31214a(0x100)),n(this,_0x31214a(0x119)),n(this,_0x31214a(0xda)),n(this,_0x31214a(0x8b));}[_0x16124b(0x71)](_0x21463f){return this['lineStyle']=_0x21463f,this;}[_0x16124b(0xaf)](_0xa0cf31){return this['dataPointShape']=_0xa0cf31,this;}[_0x16124b(0x9a)](_0x2444f3){const _0x4545e7=_0x16124b;return this[_0x4545e7(0xda)]=_0x2444f3,this;}['setDataPointSize'](_0x506e22){const _0x37322d=_0x16124b;return this[_0x37322d(0x8b)]=_0x506e22,this;}[_0x16124b(0xc1)](){const _0x46420c=_0x16124b,_0x18873d=super[_0x46420c(0xc1)]();_0x18873d[_0x46420c(0x10a)]=_0x445984[_0x46420c(0xd0)];const _0x267900=_0x18873d[_0x46420c(0x112)]||{};return s(_0x267900,'area.lineStyle',this[_0x46420c(0x100)]),s(_0x267900,_0x46420c(0xfa),this[_0x46420c(0x119)]),s(_0x267900,_0x46420c(0x70),this[_0x46420c(0xda)]),s(_0x267900,_0x46420c(0xbf),this['dataPointSize']),_0x18873d[_0x46420c(0x112)]=_0x267900,_0x18873d;}}class it extends c{['asLineChart'](){const _0x3bcbdc=_0x16124b;return new et(this[_0x3bcbdc(0x6a)],this[_0x3bcbdc(0xf5)],this[_0x3bcbdc(0xfd)],this['_injector'],this[_0x3bcbdc(0x6b)]);}}c[_0x16124b(0xac)](it);class st extends c{constructor(_0x39541a,_0x577d41,_0x3b9cd8,_0x1923dc,_0xcb017){const _0x34d407=_0x16124b;super(_0x39541a,_0x577d41,_0x3b9cd8,_0x1923dc,_0xcb017),n(this,_0x34d407(0xdc)),n(this,'borderColor'),n(this,_0x34d407(0xea)),n(this,'isHalfPie'),n(this,_0x34d407(0xdf)),n(this,_0x34d407(0x95));}[_0x16124b(0x8f)](_0x3a9892){return this['doughnutHole']=_0x3a9892,this;}['setBorderColor'](_0x305c10){const _0x3ad7f4=_0x16124b;return this[_0x3ad7f4(0x77)]=_0x305c10,this;}[_0x16124b(0xde)](_0x4d6f28){const _0x444b9f=_0x16124b;return this[_0x444b9f(0xea)]=_0x4d6f28,this;}[_0x16124b(0xd6)](_0x4fd1cf){return this['isHalfPie']=_0x4fd1cf,this;}[_0x16124b(0xa5)](_0x2e926a){const _0x27a295=_0x16124b;return this[_0x27a295(0xdf)]=_0x2e926a,this;}[_0x16124b(0x9d)](_0x3d13f3){const _0x562f23=_0x16124b;return this[_0x562f23(0x95)]=_0x3d13f3,this;}[_0x16124b(0xc1)](){const _0x45f505=_0x16124b,_0x15d6fd=super[_0x45f505(0xc1)]();_0x15d6fd[_0x45f505(0x10a)]=_0x445984['Pie'];const _0x4c0d44=_0x15d6fd[_0x45f505(0x112)]||{};return s(_0x4c0d44,_0x45f505(0x8c),this['doughnutHole']),s(_0x4c0d44,_0x45f505(0x8a),this['borderColor']),s(_0x4c0d44,'pie.hasPaddingAngle',this[_0x45f505(0xea)]),s(_0x4c0d44,'pie.isHalfPie',this[_0x45f505(0xd8)]),s(_0x4c0d44,_0x45f505(0x106),this[_0x45f505(0xdf)]),s(_0x4c0d44,_0x45f505(0x107),this[_0x45f505(0x95)]),_0x15d6fd[_0x45f505(0x112)]=_0x4c0d44,_0x15d6fd;}}class rt extends c{['asPieChart'](){const _0x15d0d2=_0x16124b;return new st(this[_0x15d0d2(0x6a)],this[_0x15d0d2(0xf5)],this[_0x15d0d2(0xfd)],this[_0x15d0d2(0x6d)],this[_0x15d0d2(0x6b)]);}}function _0x3219(){const _0x522fed=['setDoughnutHole','keys','tooltip.indicatorLabelTextColor','selectMode','1853808WgcKpi','allSeriesStyle','showLabelLine','position','ChartBorderDashType','1886900ENuEBu','label','setDataPointColor','LegendPositionEnum','getUnitChartModels','setShowLabelLine','indicatorLabelColor','getRange','yAxisTitle','setAbsolutePosition','transposeRowsAndColumns','indicatorLabelTextColor','legend.selectMode','setRosePie','rightYAxisTitle','axisPointer','titles.yAxisTitle.content','setInvalidValueStrategy','titles.yAxisTitle.family','indicatorLineColor','extend','titles.xAxisTitle.color','LinePointShape','setDataPointShape','setXAxisTextStyle','setOptions','tooltip.indicatorLineType','titles.yAxisTitle.font','fontSize','getUnitId','getChartType','tooltip.indicatorLineColor','titles.title.family','getWorkbook','left','fontColor','length','sourceSheetName','italic','allSeriesStyle.point.size','fontStyle','build','addRange','executeCommand','8005050riDPck','updateChart','modify','168192uADAYQ','backgroundColor','titles.rightYAxisTitle.fontSize','newChart','width','sheetName','map','56KwlyRm','setYAxisTitle','Line','height','titles.title.fontSize','15sljNQJ','_commandService','axisAlignment','setIsHalfPie','setHeight','isHalfPie','legend.label.fontSize','dataPointColor','radar','doughnutHole','2850976LitYPy','setHasPaddingAngle','rosePie','setRightYAxisTitle','titles.rightYAxisTitle.font','context','2534924auRrKF','titles.rightYAxisTitle.content','titles.title.align','getSeriesData','titles.title.content','legend.label.bold','getCurrentUnitForType','hasPaddingAngle','TitlePositionEnum','legend.label.italic','titles.rightYAxisTitle.family','titles.title.font','titles.rightYAxisTitle.bold','getCharts','rightYAxis.label.axisTitleAlign','indicatorLineType','setTheme','isRowDirection','subUnitId','theme','config','xAxis','legend.position','allSeriesStyle.point.shape','titles.xAxisTitle.family','SelectModeEnum','_workbook','shape','registerChartTheme','lineStyle','invalidValueType','xAxisTitle','seriesStyleMap','titles.xAxisTitle.content','dataSource','pie.rosePie','pie.showLabelLine','fill','legend','chartType','setChartType','yRightAxis','insertChart','top','titles.xAxisTitle.bold','series','clearRange','options','pie','titles.yAxisTitle.color','getRenderById','16481ItlkIl','string','setSeriesStyle','dataPointShape','unitId','chartId','getSheetId','_injector','range','tooltip.indicatorLabelColor','allSeriesStyle.point.color','setLineStyle','with','radar.shape','content','titles.xAxisTitle.font','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','borderColor','ChartType','allSeriesStyle.point','title','getChartModel','rightYAxis','defineProperty','setAxisPointerStyle','RadarShape','area','titles.title.bold','legend.label.color','color','font','titles.xAxisTitle.fontSize','titles.yAxisTitle.bold','titles.rightYAxisTitle.color','get','gradientFill','pie.borderColor','dataPointSize','pie.doughnutHole','setShape','bold'];_0x3219=function(){return _0x522fed;};return _0x3219();}c[_0x16124b(0xac)](rt);class ot extends c{constructor(_0xc27436,_0xc49458,_0x54e05c,_0x4d4b6e,_0x14d8e4){const _0x298fdc=_0x16124b;super(_0xc27436,_0xc49458,_0x54e05c,_0x4d4b6e,_0x14d8e4),n(this,'shape'),n(this,_0x298fdc(0x108));}[_0x16124b(0x8d)](_0x36a6ed){return this['shape']=_0x36a6ed,this;}['setFill'](_0x4adbff){const _0x1e2f0a=_0x16124b;return this[_0x1e2f0a(0x108)]=_0x4adbff,this;}['build'](){const _0x56aa4e=_0x16124b,_0x1c4be2=super[_0x56aa4e(0xc1)]();_0x1c4be2['chartType']=_0x445984['Radar'];const _0x27d2c0=_0x1c4be2['options']||{};return s(_0x27d2c0,_0x56aa4e(0x73),this[_0x56aa4e(0xfe)]),s(_0x27d2c0,'radar.fill',this['fill']),_0x1c4be2['options']=_0x27d2c0,_0x1c4be2;}}class nt extends c{['asRadarChart'](){const _0x44f41b=_0x16124b;return new ot(this[_0x44f41b(0x6a)],this[_0x44f41b(0xf5)],this[_0x44f41b(0xfd)],this[_0x44f41b(0x6d)],this['chartId']);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|
|
1
|
+
const _0x6489ad=_0x32eb;(function(_0x778408,_0x4e2f4f){const _0x3984ef=_0x32eb,_0x50a95d=_0x778408();while(!![]){try{const _0x18dbe5=parseInt(_0x3984ef(0x175))/0x1+-parseInt(_0x3984ef(0x1b8))/0x2*(parseInt(_0x3984ef(0x19a))/0x3)+-parseInt(_0x3984ef(0x20f))/0x4*(parseInt(_0x3984ef(0x1de))/0x5)+parseInt(_0x3984ef(0x1bf))/0x6*(-parseInt(_0x3984ef(0x217))/0x7)+-parseInt(_0x3984ef(0x227))/0x8+-parseInt(_0x3984ef(0x19e))/0x9*(parseInt(_0x3984ef(0x1b3))/0xa)+parseInt(_0x3984ef(0x20b))/0xb;if(_0x18dbe5===_0x4e2f4f)break;else _0x50a95d['push'](_0x50a95d['shift']());}catch(_0x508aee){_0x50a95d['push'](_0x50a95d['shift']());}}}(_0x15e6,0xc4c26));var R=Object[_0x6489ad(0x1ce)],k=(_0x29f097,_0x5aeb61,_0x457a74)=>_0x5aeb61 in _0x29f097?R(_0x29f097,_0x5aeb61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x457a74}):_0x29f097[_0x5aeb61]=_0x457a74,n=(_0x57d218,_0x51c9bd,_0x4454c3)=>k(_0x57d218,typeof _0x51c9bd!=_0x6489ad(0x201)?_0x51c9bd+'':_0x51c9bd,_0x4454c3);import{ChartThemeService as _0x1667c4,ChartTypeBits as _0x4336d0,LegendPositionEnum as _0x217f86,SelectModeEnum as _0x121587,AxisAlignEnum as _0x26ca8f,ChartBorderDashType as _0x357d6f,LinePointShape as _0x571d3c,TitlePositionEnum as _0x4c5326,RadarShape as _0x42d088}from'@univerjs-pro/engine-chart';import{setProperty as _0x3cbcfd,SheetsChartService as _0x5478d9,ChartUpdateSourceCommand as _0x47e528,ChartUpdateConfigCommand as _0x6768cb}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x271351}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x5d1745,IUniverInstanceService as _0x494d12,UniverInstanceType as _0x48060d,generateRandomId as _0x3b4a58,DrawingTypeEnum as _0x11afe4}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x54c5f5}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x168b8c}from'@univerjs/sheets/facade';import{FBase as _0x2ca92e,FEnum as _0x13aa4e}from'@univerjs/core/facade';function _0x32eb(_0x164f70,_0x372ad4){_0x164f70=_0x164f70-0x174;const _0x15e686=_0x15e6();let _0x32eb1f=_0x15e686[_0x164f70];return _0x32eb1f;}import{deserializeRangeWithSheet as _0x3f0b59}from'@univerjs/engine-formula';import{IRenderManagerService as _0x3fbbab}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x45b198,SheetSkeletonManagerService as _0x1e6757,convertPositionCellToSheetOverGrid as _0x5a5b4f}from'@univerjs/sheets-ui';const s=(_0x4854a5,_0x26eb78,_0x12429a)=>{_0x12429a!==void 0x0&&_0x3cbcfd(_0x4854a5,_0x26eb78,_0x12429a);},C=(_0x4da3cc,_0x3fba44,_0x265d38,_0x540f57={})=>{const _0x53e6b6=_0x6489ad,_0xa3fa89={},_0x33d17c={};if(_0x540f57[_0x53e6b6(0x223)]){const _0xe4f891=_0x540f57['title'];s(_0xa3fa89,_0x53e6b6(0x1b0),_0xe4f891[_0x53e6b6(0x190)]),s(_0xa3fa89,_0x53e6b6(0x184),_0xe4f891[_0x53e6b6(0x1e5)]),s(_0xa3fa89,_0x53e6b6(0x202),_0xe4f891[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1d6),_0xe4f891['fontColor']),s(_0xa3fa89,_0x53e6b6(0x205),_0xe4f891[_0x53e6b6(0x1df)]),s(_0xa3fa89,_0x53e6b6(0x189),_0xe4f891[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x1af),_0xe4f891[_0x53e6b6(0x18e)]),s(_0xa3fa89,_0x53e6b6(0x1d2),_0xe4f891['position']);}if(_0x540f57['legend']){const _0x536e52=_0x540f57['legend'];s(_0xa3fa89,_0x53e6b6(0x1cf),_0x536e52[_0x53e6b6(0x218)]),s(_0xa3fa89,'legend.selectMode',_0x536e52[_0x53e6b6(0x1ab)]),s(_0xa3fa89,_0x53e6b6(0x198),_0x536e52[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1ac),_0x536e52[_0x53e6b6(0x196)]),s(_0xa3fa89,'legend.label.bold',_0x536e52[_0x53e6b6(0x1c9)]),s(_0xa3fa89,'legend.label.italic',_0x536e52['italic']);}if(_0x540f57['pie']){const _0x3ae7e9=_0x540f57['pie'];s(_0xa3fa89,_0x53e6b6(0x1d4),_0x3ae7e9['doughnutHole']),s(_0xa3fa89,_0x53e6b6(0x1d7),_0x3ae7e9[_0x53e6b6(0x193)]),s(_0xa3fa89,'pie.hasPaddingAngle',_0x3ae7e9[_0x53e6b6(0x1fc)]),s(_0xa3fa89,_0x53e6b6(0x1bb),_0x3ae7e9[_0x53e6b6(0x1ad)]),s(_0xa3fa89,_0x53e6b6(0x1f3),_0x3ae7e9[_0x53e6b6(0x1d8)]),s(_0xa3fa89,_0x53e6b6(0x1e2),_0x3ae7e9[_0x53e6b6(0x18b)]);}if(_0x540f57[_0x53e6b6(0x1e1)]){const _0x1e979f=_0x540f57[_0x53e6b6(0x1e1)];s(_0xa3fa89,_0x53e6b6(0x177),_0x1e979f[_0x53e6b6(0x21f)]),s(_0xa3fa89,_0x53e6b6(0x208),_0x1e979f[_0x53e6b6(0x206)]),s(_0xa3fa89,'tooltip.indicatorLineColor',_0x1e979f[_0x53e6b6(0x1dd)]),s(_0xa3fa89,_0x53e6b6(0x185),_0x1e979f[_0x53e6b6(0x186)]);}if(_0x540f57[_0x53e6b6(0x1a6)]&&(s(_0xa3fa89,_0x53e6b6(0x228),_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x20d)]),s(_0xa3fa89,_0x53e6b6(0x182),_0x540f57['allSeriesStyle']['label']),s(_0xa3fa89,_0x53e6b6(0x19b),_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x180)]),s(_0xa3fa89,_0x53e6b6(0x1a3),_0x540f57['allSeriesStyle'][_0x53e6b6(0x1d1)]),s(_0xa3fa89,'allSeriesStyle.color',_0x540f57[_0x53e6b6(0x1a6)][_0x53e6b6(0x196)])),_0x540f57[_0x53e6b6(0x1a9)]&&s(_0xa3fa89,'area.lineStyle',_0x540f57[_0x53e6b6(0x1a9)]['lineStyle']),_0x540f57[_0x53e6b6(0x216)]&&s(_0xa3fa89,_0x53e6b6(0x216),_0x540f57['theme']),_0x540f57[_0x53e6b6(0x1cc)]&&s(_0xa3fa89,'backgroundColor',_0x540f57[_0x53e6b6(0x1cc)]),_0x540f57[_0x53e6b6(0x193)]&&s(_0xa3fa89,'borderColor',_0x540f57['borderColor']),_0x540f57[_0x53e6b6(0x17b)]&&s(_0xa3fa89,_0x53e6b6(0x17b),_0x540f57[_0x53e6b6(0x17b)]),_0x540f57[_0x53e6b6(0x1b5)]&&s(_0xa3fa89,_0x53e6b6(0x1b5),_0x540f57['invalidValueType']),_0x540f57[_0x53e6b6(0x192)]&&s(_0xa3fa89,_0x53e6b6(0x192),_0x540f57['radar']),_0x540f57[_0x53e6b6(0x1e6)]){const _0x4642c8=_0x540f57[_0x53e6b6(0x1e6)];s(_0xa3fa89,_0x53e6b6(0x1ed),_0x4642c8[_0x53e6b6(0x190)]),s(_0xa3fa89,'titles.xAxisTitle.font',_0x4642c8['font']),s(_0xa3fa89,_0x53e6b6(0x1d9),_0x4642c8[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x1a5),_0x4642c8['fontColor']),s(_0xa3fa89,'titles.xAxisTitle.family',_0x4642c8[_0x53e6b6(0x1df)]),s(_0xa3fa89,_0x53e6b6(0x19c),_0x4642c8[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x1ec),_0x4642c8['axisAlignment']);}if(_0x540f57[_0x53e6b6(0x18a)]){const _0x679b2e=_0x540f57[_0x53e6b6(0x18a)];s(_0xa3fa89,'titles.yAxisTitle.content',_0x679b2e[_0x53e6b6(0x190)]),s(_0xa3fa89,_0x53e6b6(0x1d5),_0x679b2e[_0x53e6b6(0x1e5)]),s(_0xa3fa89,'titles.yAxisTitle.fontSize',_0x679b2e[_0x53e6b6(0x20a)]),s(_0xa3fa89,_0x53e6b6(0x19d),_0x679b2e['fontColor']),s(_0xa3fa89,_0x53e6b6(0x220),_0x679b2e[_0x53e6b6(0x1df)]),s(_0xa3fa89,'titles.yAxisTitle.bold',_0x679b2e['bold']),s(_0xa3fa89,_0x53e6b6(0x21c),_0x679b2e[_0x53e6b6(0x20c)]);}if(_0x540f57['rightYAxisTitle']){const _0x5d1552=_0x540f57[_0x53e6b6(0x1f4)];s(_0xa3fa89,_0x53e6b6(0x219),_0x5d1552[_0x53e6b6(0x190)]),s(_0xa3fa89,'titles.rightYAxisTitle.font',_0x5d1552[_0x53e6b6(0x1e5)]),s(_0xa3fa89,_0x53e6b6(0x17c),_0x5d1552[_0x53e6b6(0x20a)]),s(_0xa3fa89,'titles.rightYAxisTitle.color',_0x5d1552[_0x53e6b6(0x1d0)]),s(_0xa3fa89,_0x53e6b6(0x1b1),_0x5d1552[_0x53e6b6(0x1df)]),s(_0xa3fa89,'titles.rightYAxisTitle.bold',_0x5d1552[_0x53e6b6(0x1c9)]),s(_0xa3fa89,_0x53e6b6(0x183),_0x5d1552[_0x53e6b6(0x20c)]);}_0x540f57[_0x53e6b6(0x1ff)]&&s(_0xa3fa89,_0x53e6b6(0x1ff),_0x540f57[_0x53e6b6(0x1ff)]),_0x540f57[_0x53e6b6(0x191)]&&s(_0xa3fa89,'yAxis',_0x540f57[_0x53e6b6(0x191)]),_0x540f57['yRightAxis']&&s(_0xa3fa89,_0x53e6b6(0x180),_0x540f57[_0x53e6b6(0x1a2)]),_0x540f57[_0x53e6b6(0x215)]&&s(_0xa3fa89,_0x53e6b6(0x215),_0x540f57[_0x53e6b6(0x215)]);const _0x2904fa={'unitId':_0x4da3cc,'chartModelId':_0x3fba44};let _0x312f91=!0x1;if(_0x265d38!==void 0x0&&(_0x2904fa[_0x53e6b6(0x221)]=_0x265d38,_0x312f91=!0x0),Object[_0x53e6b6(0x17f)](_0xa3fa89)[_0x53e6b6(0x178)]>0x0&&(_0x2904fa['style']=_0xa3fa89,_0x312f91=!0x0),Object[_0x53e6b6(0x17f)](_0x33d17c)['length']>0x0&&(_0x2904fa['context']=_0x33d17c,_0x312f91=!0x0),_0x312f91)return _0x2904fa;};class c extends _0x2ca92e{constructor(_0x15ca54,_0x51541b,_0x5512cf,_0x6ccde3,_0x3fd165){const _0x1e8a31=_0x6489ad;super(),n(this,_0x1e8a31(0x1dc)),n(this,_0x1e8a31(0x17a)),n(this,_0x1e8a31(0x1f9)),n(this,_0x1e8a31(0x1ca)),n(this,_0x1e8a31(0x212)),n(this,_0x1e8a31(0x207)),n(this,_0x1e8a31(0x213)),n(this,'x'),n(this,'y'),n(this,_0x1e8a31(0x1bc)),n(this,_0x1e8a31(0x1aa)),n(this,_0x1e8a31(0x221)),n(this,'options'),n(this,'transposeRowsAndColumns'),(this['unitId']=_0x15ca54,this[_0x1e8a31(0x1ca)]=_0x51541b,this[_0x1e8a31(0x1dc)]=_0x5512cf,this[_0x1e8a31(0x17a)]=_0x6ccde3,_0x3fd165&&(this[_0x1e8a31(0x212)]=_0x3fd165));}[_0x6489ad(0x21d)](){const _0x341fab=_0x6489ad;return this[_0x341fab(0x221)];}[_0x6489ad(0x1fa)](_0x1c9209){const _0x4e7292=_0x6489ad;if(typeof _0x1c9209==_0x4e7292(0x1c0)){const _0x176322=_0x3f0b59(_0x1c9209);_0x176322[_0x4e7292(0x1bd)]&&(this[_0x4e7292(0x213)]=_0x176322[_0x4e7292(0x1bd)]),this[_0x4e7292(0x207)]=_0x176322['range'];}else this[_0x4e7292(0x207)]=_0x1c9209;return this;}[_0x6489ad(0x1a0)](){const _0x13d3bd=_0x6489ad;return this[_0x13d3bd(0x207)]=void 0x0,this[_0x13d3bd(0x213)]=void 0x0,this;}['setPosition'](_0x2589c1,_0x23f91b,_0x1c74c8,_0x5e0ebc){const _0x555117=_0x6489ad,_0x494600=this[_0x555117(0x17a)]['get'](_0x3fbbab)[_0x555117(0x21b)](this['unitId']);if(!_0x494600)throw new Error(_0x555117(0x1e7));const _0x2b925f=_0x494600[_0x555117(0x1c1)](_0x45b198),_0x4c1d1d=_0x494600[_0x555117(0x1c1)](_0x1e6757),{transform:_0x1f7607}=_0x5a5b4f(this['unitId'],this[_0x555117(0x1ca)],{'row':_0x2589c1,'column':_0x23f91b,'rowOffset':_0x1c74c8,'columnOffset':_0x5e0ebc},0x1,0x1,_0x2b925f,_0x4c1d1d),_0x2d257a=_0x1f7607[_0x555117(0x199)],_0x238681=_0x1f7607[_0x555117(0x1ba)];return this['x']=_0x238681,this['y']=_0x2d257a,this;}[_0x6489ad(0x222)](_0x3336e2,_0x316df3){return this['x']=_0x3336e2,this['y']=_0x316df3,this;}['setChartType'](_0x5e6937){const _0x30dce2=_0x6489ad;return this[_0x30dce2(0x221)]=_0x5e6937,this;}[_0x6489ad(0x1fd)](_0x268457){const _0x4a9bda=_0x6489ad;return this[_0x4a9bda(0x1bc)]=_0x268457,this;}[_0x6489ad(0x1ae)](_0x57d139){const _0x1107bb=_0x6489ad;return this[_0x1107bb(0x1aa)]=_0x57d139,this;}[_0x6489ad(0x1cd)](_0x18482a,_0x20801e){const _0x198241=_0x6489ad;return this[_0x198241(0x1f1)]||(this['options']={}),_0x18482a===''?(this[_0x198241(0x1f1)]={...this[_0x198241(0x1f1)],..._0x20801e},this):(_0x3cbcfd(this[_0x198241(0x1f1)],_0x18482a,_0x20801e),this);}[_0x6489ad(0x1f2)](_0x5321ac){return this['transposeRowsAndColumns']=_0x5321ac,this;}[_0x6489ad(0x1fb)](_0x1ab3ca){const _0x4b6280=_0x6489ad;return this[_0x4b6280(0x1cd)](_0x4b6280(0x216),_0x1ab3ca),this;}[_0x6489ad(0x1f7)](_0x41d51b){const _0xe1cfa7=_0x6489ad;var _0x4e0b6d;const _0x132632=((_0x4e0b6d=this[_0xe1cfa7(0x1f1)])==null?void 0x0:_0x4e0b6d[_0xe1cfa7(0x1e6)])||{};return _0x132632['content']=_0x41d51b,this[_0xe1cfa7(0x1cd)](_0xe1cfa7(0x1e6),_0x132632),this;}[_0x6489ad(0x1c2)](_0xba8d60){const _0x4e6186=_0x6489ad;var _0x246e7b;const _0x1420b1=((_0x246e7b=this[_0x4e6186(0x1f1)])==null?void 0x0:_0x246e7b['yAxisTitle'])||{};return _0x1420b1[_0x4e6186(0x190)]=_0xba8d60,this['setOptions']('yAxisTitle',_0x1420b1),this;}['setRightYAxisTitle'](_0xc7de33){const _0x569187=_0x6489ad;var _0x4ba6fd;const _0x3910f9=((_0x4ba6fd=this['options'])==null?void 0x0:_0x4ba6fd[_0x569187(0x1f4)])||{};return _0x3910f9[_0x569187(0x190)]=_0xc7de33,this['setOptions'](_0x569187(0x1f4),_0x3910f9),this;}[_0x6489ad(0x1b9)](_0x1af8b4){const _0x25cdab=_0x6489ad;var _0x43750f;const _0x41f828=((_0x43750f=this[_0x25cdab(0x1f1)])==null?void 0x0:_0x43750f[_0x25cdab(0x1e6)])||{};return this['setOptions'](_0x25cdab(0x1e6),{..._0x41f828,..._0x1af8b4}),this;}[_0x6489ad(0x204)](_0x6f8220){const _0x22d5e2=_0x6489ad;var _0x4dfefc;const _0x4b730f=((_0x4dfefc=this[_0x22d5e2(0x1f1)])==null?void 0x0:_0x4dfefc[_0x22d5e2(0x18a)])||{};return this[_0x22d5e2(0x1cd)]('yAxisTitle',{..._0x4b730f,..._0x6f8220}),this;}[_0x6489ad(0x188)](_0x3490f7){const _0x56d26f=_0x6489ad;var _0x5a5604;const _0xacbd87=((_0x5a5604=this[_0x56d26f(0x1f1)])==null?void 0x0:_0x5a5604[_0x56d26f(0x1f4)])||{};return this[_0x56d26f(0x1cd)](_0x56d26f(0x1f4),{..._0xacbd87,..._0x3490f7}),this;}[_0x6489ad(0x1c8)](_0x241637){const _0x33169b=_0x6489ad;return this[_0x33169b(0x1cd)]('invalidValueType',_0x241637),this;}[_0x6489ad(0x18f)](_0x57e8b8){const _0x37e7ea=_0x6489ad;return this[_0x37e7ea(0x1cd)](_0x37e7ea(0x1e1),_0x57e8b8),this;}[_0x6489ad(0x209)](_0x5139ee){const _0x133c57=_0x6489ad;return this[_0x133c57(0x1cd)](_0x133c57(0x1a6),_0x5139ee),this;}[_0x6489ad(0x17e)](_0x153b69,_0x222a68){return this['setOptions']('seriesStyleMap',{[_0x153b69]:_0x222a68}),this;}[_0x6489ad(0x1b6)](){const _0x3cb0d=_0x6489ad;return{'unitId':this[_0x3cb0d(0x1f9)],'subUnitId':this[_0x3cb0d(0x1ca)],'chartId':this[_0x3cb0d(0x212)],'range':this[_0x3cb0d(0x207)],'sourceSheetName':this[_0x3cb0d(0x213)],'x':this['x'],'y':this['y'],'width':this[_0x3cb0d(0x1bc)],'height':this[_0x3cb0d(0x1aa)],'chartType':this['chartType'],'options':this[_0x3cb0d(0x1f1)],'isRowDirection':this[_0x3cb0d(0x1a4)]};}}class P{constructor(_0x3a768b,_0xf8d219,_0x5512ac,_0xe6dcae){const _0x5b5c87=_0x6489ad;n(this,_0x5b5c87(0x1f9)),n(this,_0x5b5c87(0x1ca)),n(this,_0x5b5c87(0x212)),n(this,_0x5b5c87(0x17a)),(this[_0x5b5c87(0x1f9)]=_0x3a768b,this[_0x5b5c87(0x1ca)]=_0xf8d219,this[_0x5b5c87(0x212)]=_0x5512ac,this['_injector']=_0xe6dcae);}[_0x6489ad(0x214)](){return this['chartId'];}['getRange'](){const _0x43efcc=_0x6489ad,_0x5d316a=this[_0x43efcc(0x17a)][_0x43efcc(0x17d)](_0x5478d9)['getChartModel'](this[_0x43efcc(0x212)]);if(_0x5d316a)return _0x5d316a['dataSource'][_0x43efcc(0x203)]();}['updateRange'](_0x2f12bb){const _0x3045bd=_0x6489ad;return this['_injector'][_0x3045bd(0x17d)](_0x5d1745)['executeCommand'](_0x47e528['id'],{'unitId':this['unitId'],'chartModelId':this[_0x3045bd(0x212)],'range':_0x2f12bb});}['getSeriesData'](){const _0x3cef95=_0x6489ad;var _0xeb8e78;const _0x575948=this[_0x3cef95(0x17a)][_0x3cef95(0x17d)](_0x5478d9)[_0x3cef95(0x1b7)](this['chartId']);if(_0x575948)return(_0xeb8e78=_0x575948[_0x3cef95(0x200)])==null?void 0x0:_0xeb8e78[_0x3cef95(0x176)];}[_0x6489ad(0x1f5)](){const _0x3a49ac=_0x6489ad;var _0x3f59f6;const _0x932372=this['_injector']['get'](_0x5478d9)[_0x3a49ac(0x1b7)](this['chartId']);if(_0x932372)return(_0x3f59f6=_0x932372[_0x3a49ac(0x200)])==null?void 0x0:_0x3f59f6['category'];}[_0x6489ad(0x1e8)](){const _0x559f5a=_0x6489ad,_0x12283d=this['_injector']['get'](_0x494d12)['getCurrentUnitForType'](_0x48060d['UNIVER_SHEET']);return new c(this[_0x559f5a(0x1f9)],this['subUnitId'],_0x12283d,this['_injector'],this[_0x559f5a(0x212)]);}}class $ extends _0x168b8c{async[_0x6489ad(0x179)](_0x531e6b){const _0x4062df=_0x6489ad;var _0x2fc203,_0x318cac,_0x23bbac;const _0x511c47=_0x531e6b[_0x4062df(0x1f9)]||this[_0x4062df(0x18d)]()[_0x4062df(0x226)](),_0xbb4d60=_0x531e6b[_0x4062df(0x1ca)]||this[_0x4062df(0x1f8)](),_0x1bf80b=_0x531e6b[_0x4062df(0x212)]||_0x3b4a58(),_0x29706e=_0x531e6b[_0x4062df(0x221)],_0x2f1038=_0x531e6b[_0x4062df(0x207)],_0x3cf3c5=_0x531e6b[_0x4062df(0x213)],_0x5b7681={'x':_0x531e6b['x'],'y':_0x531e6b['y']},_0x478c60=_0x531e6b[_0x4062df(0x1bc)],_0x3e93f3=_0x531e6b[_0x4062df(0x1aa)],_0x123bfc=(_0x2fc203=_0x531e6b[_0x4062df(0x1f1)])==null?void 0x0:_0x2fc203[_0x4062df(0x1cc)],_0x1e8d8e=(_0x318cac=_0x531e6b[_0x4062df(0x1f1)])==null?void 0x0:_0x318cac[_0x4062df(0x193)],_0x4577e6=C(_0x511c47,_0x1bf80b,_0x29706e,_0x531e6b[_0x4062df(0x1f1)]),_0x2ea602=(_0x23bbac=_0x531e6b['isRowDirection'])!=null?_0x23bbac:!0x0;if(!_0x2f1038)throw new Error(_0x4062df(0x1e3));return await this[_0x4062df(0x1a1)][_0x4062df(0x210)](_0x271351['id'],{'unitId':_0x511c47,'subUnitId':_0xbb4d60,'chartId':_0x1bf80b,'chartType':_0x29706e,'range':_0x2f1038,'sourceSheetName':_0x3cf3c5,'position':_0x5b7681,'width':_0x478c60,'height':_0x3e93f3,'backgroundColor':_0x123bfc,'borderColor':_0x1e8d8e,'config':_0x4577e6,'isRowDirection':_0x2ea602}),new P(_0x511c47,_0xbb4d60,_0x1bf80b,this[_0x4062df(0x17a)]);}[_0x6489ad(0x1b4)](_0xc9d80){const _0xfca2fa=_0x6489ad,{unitId:_0x1973f7,chartId:_0x57ae3e,chartType:_0x5c100c,options:_0x43be30}=_0xc9d80,_0x38c2f8=C(_0x1973f7,_0x57ae3e,_0x5c100c,_0x43be30);this[_0xfca2fa(0x1a1)][_0xfca2fa(0x210)](_0x6768cb['id'],_0x38c2f8);}[_0x6489ad(0x174)](_0x1ee8ec){const _0x57580e=_0x6489ad;if(_0x1ee8ec)return new c(_0x1ee8ec['unitId'],_0x1ee8ec[_0x57580e(0x1ca)],this[_0x57580e(0x1dc)],this['_injector'],_0x1ee8ec[_0x57580e(0x212)]);const _0x29033a=this[_0x57580e(0x18d)]()[_0x57580e(0x226)](),_0x455298=this[_0x57580e(0x1f8)]();return new c(_0x29033a,_0x455298,this[_0x57580e(0x1dc)],this[_0x57580e(0x17a)]);}[_0x6489ad(0x195)](){const _0x57185a=_0x6489ad,_0x4c84b5=this[_0x57185a(0x17a)][_0x57185a(0x17d)](_0x5478d9),_0x4a86ae=this['getWorkbook']()['getUnitId']();return _0x4c84b5['getUnitChartModels'](_0x4a86ae,this[_0x57185a(0x1f8)]())[_0x57185a(0x224)](_0xd07f07=>new P(_0x4a86ae,this[_0x57185a(0x1f8)](),_0xd07f07['id'],this[_0x57185a(0x17a)]));}[_0x6489ad(0x1f0)](_0x3313cd){const _0x8d6408=_0x6489ad,_0x24dea3=_0x3313cd[_0x8d6408(0x1f9)],_0x48ce8b=_0x3313cd[_0x8d6408(0x1ca)],_0x216d9b=_0x3313cd[_0x8d6408(0x212)],_0x3b3852={'unitId':_0x24dea3,'drawings':[{'unitId':_0x24dea3,'subUnitId':_0x48ce8b,'drawingId':_0x216d9b,'drawingType':_0x11afe4['DRAWING_CHART']}]};return this[_0x8d6408(0x1a1)][_0x8d6408(0x210)](_0x54c5f5['id'],_0x3b3852);}[_0x6489ad(0x1ea)](_0x13f9fc,_0x56935b){const _0x1a2a78=_0x6489ad;this[_0x1a2a78(0x17a)][_0x1a2a78(0x17d)](_0x1667c4)[_0x1a2a78(0x1c5)](_0x13f9fc,_0x56935b);}}_0x168b8c[_0x6489ad(0x229)]($);class tt extends _0x13aa4e{get[_0x6489ad(0x1b2)](){return _0x4336d0;}get['LegendPositionEnum'](){return _0x217f86;}get[_0x6489ad(0x1cb)](){return _0x121587;}get[_0x6489ad(0x1c7)](){return _0x26ca8f;}get[_0x6489ad(0x225)](){return _0x357d6f;}get[_0x6489ad(0x19f)](){return _0x571d3c;}get[_0x6489ad(0x1da)](){return _0x4c5326;}get[_0x6489ad(0x181)](){return _0x42d088;}}_0x13aa4e[_0x6489ad(0x229)](tt);class et extends c{constructor(_0x12a116,_0x2ebee1,_0x44e040,_0x3de597,_0x599745){const _0x588463=_0x6489ad;super(_0x12a116,_0x2ebee1,_0x44e040,_0x3de597,_0x599745),n(this,'lineStyle'),n(this,_0x588463(0x1eb)),n(this,_0x588463(0x20e)),n(this,'dataPointSize');}[_0x6489ad(0x22a)](_0x325b38){const _0x19663b=_0x6489ad;return this[_0x19663b(0x1db)]=_0x325b38,this;}[_0x6489ad(0x18c)](_0x4862d0){const _0x1be715=_0x6489ad;return this[_0x1be715(0x1eb)]=_0x4862d0,this;}[_0x6489ad(0x1e0)](_0x128fec){return this['dataPointColor']=_0x128fec,this;}[_0x6489ad(0x1a7)](_0x4d75fd){const _0x1ea22f=_0x6489ad;return this[_0x1ea22f(0x187)]=_0x4d75fd,this;}[_0x6489ad(0x1b6)](){const _0x145d94=_0x6489ad,_0x256da1=super[_0x145d94(0x1b6)]();_0x256da1[_0x145d94(0x221)]=_0x4336d0[_0x145d94(0x1c6)];const _0x4bb8e9=_0x256da1[_0x145d94(0x1f1)]||{};return s(_0x4bb8e9,_0x145d94(0x1a8),this[_0x145d94(0x1db)]),s(_0x4bb8e9,_0x145d94(0x197),this[_0x145d94(0x1eb)]),s(_0x4bb8e9,_0x145d94(0x1ee),this['dataPointColor']),s(_0x4bb8e9,_0x145d94(0x1c4),this[_0x145d94(0x187)]),_0x256da1[_0x145d94(0x1f1)]=_0x4bb8e9,_0x256da1;}}function _0x15e6(){const _0x555dd6=['RadarShape','allSeriesStyle.label','rightYAxis.label.axisTitleAlign','titles.title.font','tooltip.indicatorLabelTextColor','indicatorLabelTextColor','dataPointSize','setRightYAxisTextStyle','titles.title.bold','yAxisTitle','showLabelLine','setDataPointShape','getWorkbook','titleAlignment','setAxisPointerStyle','content','yAxis','radar','borderColor','setBorderColor','getCharts','color','allSeriesStyle.point.shape','legend.label.fontSize','top','3981nUlnvi','allSeriesStyle.rightYAxis','titles.xAxisTitle.bold','titles.yAxisTitle.color','45EzIftJ','LinePointShape','clearRange','_commandService','yRightAxis','allSeriesStyle.point','transposeRowsAndColumns','titles.xAxisTitle.color','allSeriesStyle','setDataPointSize','area.lineStyle','area','height','selectMode','legend.label.color','isHalfPie','setHeight','titles.title.align','titles.title.content','titles.rightYAxisTitle.family','ChartType','1760170IxBBli','updateChart','invalidValueType','build','getChartModel','196OcSFcV','setXAxisTextStyle','left','pie.isHalfPie','width','sheetName','setShape','18qmGmWI','string','with','setYAxisTitle','setRosePie','allSeriesStyle.point.size','registerTheme','Line','AxisAlignEnum','setInvalidValueStrategy','bold','subUnitId','SelectModeEnum','backgroundColor','setOptions','defineProperty','legend.position','fontColor','point','titles.titlePosition','Pie','pie.doughnutHole','titles.yAxisTitle.font','titles.title.color','pie.borderColor','rosePie','titles.xAxisTitle.fontSize','TitlePositionEnum','lineStyle','_workbook','indicatorLineColor','969530DmxCVm','fontStyle','setDataPointColor','axisPointer','pie.showLabelLine','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','asPieChart','font','xAxisTitle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','modify','Radar','registerChartTheme','dataPointShape','xAxis.label.axisTitleAlign','titles.xAxisTitle.content','allSeriesStyle.point.color','radar.fill','removeChart','options','setTransposeRowsAndColumns','pie.rosePie','rightYAxisTitle','getCategoryData','shape','setXAxisTitle','getSheetId','unitId','addRange','setTheme','hasPaddingAngle','setWidth','doughnutHole','xAxis','config','symbol','titles.title.fontSize','getRangeInfo','setYAxisTextStyle','titles.title.family','indicatorLineType','range','tooltip.indicatorLineType','setAllSeriesStyle','fontSize','45310408NQaCNq','axisAlignment','border','dataPointColor','28zSUoxu','executeCommand','fill','chartId','sourceSheetName','getChartId','seriesStyleMap','theme','207683XGAPOO','position','titles.rightYAxisTitle.content','radar.shape','getRenderById','yAxis.label.axisTitleAlign','getChartType','setFill','indicatorLabelColor','titles.yAxisTitle.family','chartType','setAbsolutePosition','title','map','ChartBorderDashType','getUnitId','9071872boieit','allSeriesStyle.border','extend','setLineStyle','newChart','277262jNgEcm','series','tooltip.indicatorLabelColor','length','insertChart','_injector','gradientFill','titles.rightYAxisTitle.fontSize','get','setSeriesStyle','keys','rightYAxis'];_0x15e6=function(){return _0x555dd6;};return _0x15e6();}class it extends c{['asLineChart'](){const _0x9a4ca8=_0x6489ad;return new et(this[_0x9a4ca8(0x1f9)],this[_0x9a4ca8(0x1ca)],this[_0x9a4ca8(0x1dc)],this[_0x9a4ca8(0x17a)],this[_0x9a4ca8(0x212)]);}}c[_0x6489ad(0x229)](it);class st extends c{constructor(_0x4d8fe3,_0x2d27c7,_0x569a76,_0x55d23b,_0x595510){const _0x3a4b3b=_0x6489ad;super(_0x4d8fe3,_0x2d27c7,_0x569a76,_0x55d23b,_0x595510),n(this,_0x3a4b3b(0x1fe)),n(this,_0x3a4b3b(0x193)),n(this,'hasPaddingAngle'),n(this,_0x3a4b3b(0x1ad)),n(this,_0x3a4b3b(0x1d8)),n(this,_0x3a4b3b(0x18b));}['setDoughnutHole'](_0x9a60c9){return this['doughnutHole']=_0x9a60c9,this;}[_0x6489ad(0x194)](_0x32793f){return this['borderColor']=_0x32793f,this;}['setHasPaddingAngle'](_0x464f8c){const _0x2fce84=_0x6489ad;return this[_0x2fce84(0x1fc)]=_0x464f8c,this;}['setIsHalfPie'](_0x1150ca){const _0x17250d=_0x6489ad;return this[_0x17250d(0x1ad)]=_0x1150ca,this;}[_0x6489ad(0x1c3)](_0x194fe0){const _0x30c1da=_0x6489ad;return this[_0x30c1da(0x1d8)]=_0x194fe0,this;}['setShowLabelLine'](_0x47e504){const _0xf07a60=_0x6489ad;return this[_0xf07a60(0x18b)]=_0x47e504,this;}['build'](){const _0x3201f9=_0x6489ad,_0x32b3c5=super[_0x3201f9(0x1b6)]();_0x32b3c5[_0x3201f9(0x221)]=_0x4336d0[_0x3201f9(0x1d3)];const _0x9626e8=_0x32b3c5[_0x3201f9(0x1f1)]||{};return s(_0x9626e8,'pie.doughnutHole',this[_0x3201f9(0x1fe)]),s(_0x9626e8,_0x3201f9(0x1d7),this[_0x3201f9(0x193)]),s(_0x9626e8,'pie.hasPaddingAngle',this['hasPaddingAngle']),s(_0x9626e8,_0x3201f9(0x1bb),this[_0x3201f9(0x1ad)]),s(_0x9626e8,'pie.rosePie',this[_0x3201f9(0x1d8)]),s(_0x9626e8,_0x3201f9(0x1e2),this[_0x3201f9(0x18b)]),_0x32b3c5[_0x3201f9(0x1f1)]=_0x9626e8,_0x32b3c5;}}class rt extends c{[_0x6489ad(0x1e4)](){const _0xe852bc=_0x6489ad;return new st(this[_0xe852bc(0x1f9)],this[_0xe852bc(0x1ca)],this[_0xe852bc(0x1dc)],this[_0xe852bc(0x17a)],this['chartId']);}}c[_0x6489ad(0x229)](rt);class ot extends c{constructor(_0x5ea52d,_0x9912ff,_0x575d27,_0x375d2c,_0x162457){const _0x567afe=_0x6489ad;super(_0x5ea52d,_0x9912ff,_0x575d27,_0x375d2c,_0x162457),n(this,'shape'),n(this,_0x567afe(0x211));}[_0x6489ad(0x1be)](_0x1e8461){const _0x3d8d55=_0x6489ad;return this[_0x3d8d55(0x1f6)]=_0x1e8461,this;}[_0x6489ad(0x21e)](_0x5aa927){const _0x233cd3=_0x6489ad;return this[_0x233cd3(0x211)]=_0x5aa927,this;}[_0x6489ad(0x1b6)](){const _0x2a039b=_0x6489ad,_0x487058=super['build']();_0x487058[_0x2a039b(0x221)]=_0x4336d0[_0x2a039b(0x1e9)];const _0x11ab0f=_0x487058[_0x2a039b(0x1f1)]||{};return s(_0x11ab0f,_0x2a039b(0x21a),this['shape']),s(_0x11ab0f,_0x2a039b(0x1ef),this['fill']),_0x487058[_0x2a039b(0x1f1)]=_0x11ab0f,_0x487058;}}class nt extends c{['asRadarChart'](){const _0xc94fca=_0x6489ad;return new ot(this[_0xc94fca(0x1f9)],this[_0xc94fca(0x1ca)],this[_0xc94fca(0x1dc)],this['_injector'],this[_0xc94fca(0x212)]);}}c['extend'](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
|