@univerjs-pro/sheets-chart-ui 0.15.3 → 0.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -0
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -0
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.css +1 -1
  31. package/lib/index.js +1 -1
  32. package/lib/locale/ca-ES.js +1 -1
  33. package/lib/locale/en-US.js +1 -1
  34. package/lib/locale/es-ES.js +1 -1
  35. package/lib/locale/fa-IR.js +1 -1
  36. package/lib/locale/fr-FR.js +1 -1
  37. package/lib/locale/ja-JP.js +1 -1
  38. package/lib/locale/ko-KR.js +1 -1
  39. package/lib/locale/ru-RU.js +1 -1
  40. package/lib/locale/sk-SK.js +1 -0
  41. package/lib/locale/vi-VN.js +1 -1
  42. package/lib/locale/zh-CN.js +1 -1
  43. package/lib/locale/zh-TW.js +1 -1
  44. package/lib/types/locale/sk-SK.d.ts +3 -0
  45. package/lib/umd/facade.js +1 -1
  46. package/lib/umd/index.js +1 -1
  47. package/lib/umd/locale/ca-ES.js +1 -1
  48. package/lib/umd/locale/en-US.js +1 -1
  49. package/lib/umd/locale/es-ES.js +1 -1
  50. package/lib/umd/locale/fa-IR.js +1 -1
  51. package/lib/umd/locale/fr-FR.js +1 -1
  52. package/lib/umd/locale/ja-JP.js +1 -1
  53. package/lib/umd/locale/ko-KR.js +1 -1
  54. package/lib/umd/locale/ru-RU.js +1 -1
  55. package/lib/umd/locale/sk-SK.js +1 -0
  56. package/lib/umd/locale/vi-VN.js +1 -1
  57. package/lib/umd/locale/zh-CN.js +1 -1
  58. package/lib/umd/locale/zh-TW.js +1 -1
  59. package/package.json +16 -16
@@ -1 +1 @@
1
- const _0x5e65a3=_0x3cd8;function _0x3cd8(_0x3be4b6,_0x198b50){_0x3be4b6=_0x3be4b6-0xb4;const _0x2ed7d5=_0x2ed7();let _0x3cd833=_0x2ed7d5[_0x3be4b6];return _0x3cd833;}(function(_0x1b1160,_0x2d0945){const _0x4219bd=_0x3cd8,_0x47fc06=_0x1b1160();while(!![]){try{const _0xbde268=-parseInt(_0x4219bd(0xdb))/0x1+parseInt(_0x4219bd(0xcd))/0x2+-parseInt(_0x4219bd(0xdd))/0x3*(-parseInt(_0x4219bd(0xd1))/0x4)+parseInt(_0x4219bd(0xb6))/0x5+-parseInt(_0x4219bd(0x129))/0x6*(parseInt(_0x4219bd(0xeb))/0x7)+-parseInt(_0x4219bd(0x107))/0x8+-parseInt(_0x4219bd(0x141))/0x9;if(_0xbde268===_0x2d0945)break;else _0x47fc06['push'](_0x47fc06['shift']());}catch(_0x2e629f){_0x47fc06['push'](_0x47fc06['shift']());}}}(_0x2ed7,0xb704f));const e={'chart':{'insertChart':_0x5e65a3(0x111),'editChart':_0x5e65a3(0xc0),'openChartPanel':_0x5e65a3(0xc7),'deleteChart':_0x5e65a3(0xdc),'hideChartPanel':_0x5e65a3(0x139),'setupChart':'設置圖表','customChart':_0x5e65a3(0xe7),'default':'默認','reset':'重置','chartType':_0x5e65a3(0x12f),'themes':'主題','dataRange':'數據範圍','stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x5e65a3(0x137),'series':'系列','addSeries':_0x5e65a3(0x11a),'moreSettings':_0x5e65a3(0x134),'min':_0x5e65a3(0xc4),'max':_0x5e65a3(0xd0),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x5e65a3(0xde)},'blank':_0x5e65a3(0xf5),'seriesBlock':{'format':'格式','dataPointStyle':_0x5e65a3(0xea)},'backgroundColor':'背景顏色','chartBorderColor':'圖表邊框顏色','titles':{'title':'標題','mainTitle':_0x5e65a3(0x144),'subTitle':_0x5e65a3(0x101),'xAxisTitle':_0x5e65a3(0x117),'yAxisTitle':_0x5e65a3(0xed),'rightYAxisTitle':_0x5e65a3(0xe4),'titleFormat':_0x5e65a3(0xd8),'titleText':_0x5e65a3(0xbc),'titlePosition':_0x5e65a3(0x104),'titleAlign':'標題對齊'},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x5e65a3(0xc8),'settingsLabels':{'switchToRowOrColumn':_0x5e65a3(0xce),'useAsCategoryLabels':_0x5e65a3(0xee),'showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x5e65a3(0xc5),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x5e65a3(0xf1),'chartAndAxisTitles':_0x5e65a3(0x12b),'legend':'圖例','legendSelectMode':_0x5e65a3(0xd7),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x5e65a3(0xfb),'horizontalAxis':'水平軸','verticalAxis':'垂直軸','rightVerticalAxis':_0x5e65a3(0x11b),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x5e65a3(0x102)},'position':'位置','dataLabels':_0x5e65a3(0x10d),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x5e65a3(0xbb),'indicatorLineType':_0x5e65a3(0xbd),'indicatorLineColor':'指示線顏色','indicatorLabel':'指示標籤','indicatorValue':'指示值','shape':{'polygon':_0x5e65a3(0x135),'circle':'圓形','square':_0x5e65a3(0xfa),'triangle':_0x5e65a3(0xd5),'diamond':'菱形','rect':'矩形','roundRect':_0x5e65a3(0xcc),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x5e65a3(0xcb),'emptySquare':_0x5e65a3(0xff),'emptyTriangle':_0x5e65a3(0x136),'emptyDiamond':'空心菱形','emptyRect':_0x5e65a3(0x12c),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x5e65a3(0x108),'emptyArrow':_0x5e65a3(0xe2)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x5e65a3(0x13f),'withColor':_0x5e65a3(0x13e),'withThickness':_0x5e65a3(0xe9),'withType':'{0}\x20類型','withSize':_0x5e65a3(0xb9),'withShape':'{0}\x20形狀','withFormat':_0x5e65a3(0xba),'dataPoint':_0x5e65a3(0xd6),'dataNodeShape':_0x5e65a3(0x126),'addDataPoint':_0x5e65a3(0xbe),'point':_0x5e65a3(0xd6),'percentage':_0x5e65a3(0xfc),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x5e65a3(0x131)},'lineDashType':_0x5e65a3(0x133),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x5e65a3(0xc9),'text':'網格線'},'ticks':{'majorTick':_0x5e65a3(0x127),'tickPosition':_0x5e65a3(0x13d),'tickLength':_0x5e65a3(0x128)},'none':'無','theIndexItem':_0x5e65a3(0x122),'seriesDefaultName':_0x5e65a3(0x113),'categoryDefaultName':_0x5e65a3(0x100),'styleEditPanel':{'showLabels':_0x5e65a3(0xe1),'showDataLabels':_0x5e65a3(0x11c),'padAngle':_0x5e65a3(0x130),'halfPie':'半餅','rosePie':_0x5e65a3(0xfe),'pieValScale':'数值比例','pieValSuffix':_0x5e65a3(0xc6),'pieDigitalFixed':'小數位數','showLabelLine':'顯示標籤線','reverseAxisOrder':'逆序軸','showAxisLine':_0x5e65a3(0xcf),'labelPosition':_0x5e65a3(0x109),'labelText':'標籤文本','repeatWordCould':_0x5e65a3(0xec),'gap':'間隔','useAbsValue':_0x5e65a3(0xf0),'labelRotate':_0x5e65a3(0xf3),'wordCloudShape':'詞雲形狀','useDateAxis':_0x5e65a3(0xf8),'dateAxisTips':_0x5e65a3(0x10e)},'radar':{'fill':'填充'},'doughnutHole':_0x5e65a3(0xfd),'msg':{'invalidSource':_0x5e65a3(0xd9),'emptyTips':_0x5e65a3(0xd2),'sankeyCircularTips':_0x5e65a3(0xbf)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':_0x5e65a3(0xf4),'addTrendLine':'添加趨勢線','trendlineType':'趨勢線類型','trendlineName':_0x5e65a3(0xf4),'trendlineColor':_0x5e65a3(0x10a),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x5e65a3(0xda),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x5e65a3(0x147),'poly':_0x5e65a3(0x103),'order':_0x5e65a3(0x11f),'period':_0x5e65a3(0x120),'showFormula':_0x5e65a3(0xf9),'showR2':_0x5e65a3(0xc3),'formula':'公式','r2':_0x5e65a3(0x119)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x5e65a3(0xc2),'label':'氣泡標籤','emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':_0x5e65a3(0x132),'useValueAsSymbolSize':_0x5e65a3(0x11d),'layoutType':_0x5e65a3(0x13a),'forceOptions':_0x5e65a3(0x121),'repulsion':'斥力','gravity':'引力','edgeLength':_0x5e65a3(0xe8),'rotateLabel':_0x5e65a3(0x145),'emphasis':_0x5e65a3(0x13c),'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'waterfall':{'stackType':_0x5e65a3(0xb8),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x5e65a3(0xb4),'positiveStyle':_0x5e65a3(0x10c),'negativeStyle':_0x5e65a3(0x12e),'subtotalStyle':_0x5e65a3(0xef),'positiveLegendText':_0x5e65a3(0x142),'negativeLegendText':_0x5e65a3(0x110),'subtotalLegendText':_0x5e65a3(0x114)},'pareto':{'lineName':_0x5e65a3(0xe0),'lineSeries':_0x5e65a3(0x115),'barSeries':_0x5e65a3(0xc1)},'visualMapScope':_0x5e65a3(0x106),'boxplot':{'min':_0x5e65a3(0xc4),'q1':_0x5e65a3(0x10b),'median':_0x5e65a3(0x138),'q3':_0x5e65a3(0x125),'max':_0x5e65a3(0xd0)}},'chartTypes':{'line':_0x5e65a3(0xca),'area':'面積圖','areaStacked':_0x5e65a3(0x13b),'areaPercentStacked':_0x5e65a3(0x140),'column':'柱狀圖','bar':_0x5e65a3(0x12a),'barStacked':_0x5e65a3(0xdf),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x5e65a3(0xb7),'scatter':_0x5e65a3(0xf7),'radar':_0x5e65a3(0xd4),'bubble':_0x5e65a3(0x11e),'stock':_0x5e65a3(0x118),'combination':_0x5e65a3(0x146),'wordCloud':'詞雲圖','funnel':_0x5e65a3(0xb5),'relation':'關係圖','waterfall':_0x5e65a3(0x124),'pareto':'排列圖','sankey':_0x5e65a3(0x123),'heatmap':_0x5e65a3(0xf6),'boxplot':'箱型圖'},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x5e65a3(0x112),'fieldSetting':_0x5e65a3(0xe3),'formatTypes':_0x5e65a3(0xd3),'confirm':'確定','cancel':'取消','generalDesc':_0x5e65a3(0xe5),'accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x5e65a3(0x116),'dateDesc':'日期格式將日期和時間系列數值顯示為日期值。','thousandthPercentileDesc':_0x5e65a3(0x12d),'decimalPlaces':_0x5e65a3(0xe6),'currencyTypes':_0x5e65a3(0x105),'negativeNumberTypes':_0x5e65a3(0xf2),'dateTypes':_0x5e65a3(0x10f)},'setFormat':_0x5e65a3(0x143)}};function _0x2ed7(){const _0x2a8455=['千分位符','系列\x20{0}','小計圖例文本','累積占比系列','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','X軸標題','股票圖','R平方','添加系列','右垂直軸','顯示數據標籤','使用值作為節點大小','氣泡圖','多項式階數','移動平均周期','力導向選項','第\x20{0}\x20項','桑基圖','瀑布圖','第三四分位數','節點形狀','主刻度線','刻度線長度','176184EuApRQ','條形圖','圖表和軸標題','空心矩形','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','負值樣式','圖表類型','扇形間距','百分比堆疊','力導向','線類型','更多設置','多邊形','空心三角形','所有系列','中位數','隱藏圖表面板','佈局類型','堆疊面積圖','開啟選中淡入特效','刻度線位置','{0}\x20顏色','{0}\x20透明度','百分比堆疊面積圖','1809630RiApyT','正值圖例文本','設置標籤格式','主標題','旋轉標籤','組合圖','移動平均','顯示小計','漏斗圖','7155085DGWltj','環形圖','堆疊方式','{0}\x20大小','{0}\x20格式','指示線','標題文本','指示線類型','添加數據點','桑基圖不能包含循環數據','編輯圖表','長條圖系列','氣泡大小','顯示R平方','最小值','左對齊','数值后缀','打開圖表面板','漸變填充','主網格線','折線圖','空心圓形','圓角矩形','1397520nTClaF','切換列或欄','顯示軸線','最大值','392WfGyjH','請先添加系列開始數據可視化','格式類型','雷達圖','三角形','數據點','圖例選擇模式','標題格式','圖表數據源必須包含多於1列和1欄。','趨勢線線類型','977233DiYFDn','刪除圖表','3489JHUAOZ','用直線連接數據點','堆疊條形圖','累積占比','顯示標籤','空心箭頭','字段設置','右Y軸標題','常規格式不包含任何特定的數字格式。','小數位數','自定義圖表','節點距離','{0}\x20粗細','數據點樣式','63LDXBEX','重複詞雲標籤','Y軸標題','使用\x20{0}\x20作為類別標籤','小計樣式','使用絕對值','圖表樣式','負數類型','標籤旋轉','趨勢線名稱','(空)','熱力圖','散點圖','使用日期軸','顯示公式','正方形','軸選項','百分比','圓環孔','玫瑰圖','空心正方形','類別\x20{0}','副標題','使用右軸','多項式','標題位置','貨幣類型','視覺映射範圍','412200yrOjCi','空心針形','標籤位置','趨勢線顏色','第一四分位數','正值樣式','數據標籤','日期軸僅在數據全部為日期格式時可用','日期類型','負值圖例文本','插入圖表'];_0x2ed7=function(){return _0x2a8455;};return _0x2ed7();}export{e as default};
1
+ const _0x2b250b=_0x3df2;(function(_0x59aa30,_0x39711c){const _0x441ced=_0x3df2,_0xc23a76=_0x59aa30();while(!![]){try{const _0x397174=-parseInt(_0x441ced(0x1ab))/0x1+parseInt(_0x441ced(0x19d))/0x2*(parseInt(_0x441ced(0x137))/0x3)+-parseInt(_0x441ced(0x138))/0x4*(-parseInt(_0x441ced(0x14d))/0x5)+parseInt(_0x441ced(0x151))/0x6*(-parseInt(_0x441ced(0x149))/0x7)+-parseInt(_0x441ced(0x158))/0x8*(parseInt(_0x441ced(0x17c))/0x9)+-parseInt(_0x441ced(0x146))/0xa*(parseInt(_0x441ced(0x178))/0xb)+parseInt(_0x441ced(0x145))/0xc*(parseInt(_0x441ced(0x176))/0xd);if(_0x397174===_0x39711c)break;else _0xc23a76['push'](_0xc23a76['shift']());}catch(_0x46124a){_0xc23a76['push'](_0xc23a76['shift']());}}}(_0x2483,0x1d1a7));function _0x2483(){const _0x8d9df0=['147275PIdcyT','柱狀圖','小計樣式','使用日期軸','30jGrNUq','顯示軸線','條形圖','組合圖','{0}\x20顏色','第\x20{0}\x20項','百分比堆疊條形圖','40HXKjRq','標籤旋轉','切換列或欄','移動平均周期','空心圓形','指示標籤','数值后缀','{0}\x20大小','標籤位置','顯示空單元格為','堆疊條形圖','小數位數','標題格式','百分比','添加趨勢線','氣泡大小','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','貨幣類型','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','圖例選擇模式','第一四分位數','日期類型','設置圖表','刻度線長度','百分比堆疊面積圖','趨勢線名稱','百分比堆疊','編輯圖表','趨勢線粗細','漏斗圖','13FCJalk','使用右軸','15499OhEvKx','標籤文本','千分位符','關係圖','162045BAIxjk','日期格式將日期和時間系列數值顯示為日期值。','{0}\x20粗細','{0}\x20形狀','數據範圍','累積占比','排列圖','使用值作為節點大小','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','負值圖例文本','節點形狀','數據標籤','顯示數據標籤','趨勢線顏色','刻度線位置','桑基圖不能包含循環數據','R平方','會計數字格式可對一列數值進行貨幣符號和小數點對齊。','背景顏色','更多設置','圖表類型','扇形間距','空心矩形','重複詞雲標籤','副標題','負數類型','空心正方形','數據點','網格線','詞雲圖','折線圖','Y軸標題','垂直軸','313672BSTTgB','雷達圖','刪除圖表','{0}\x20透明度','詞雲形狀','標題文本','多項式','請先添加系列開始數據可視化','圓角矩形','主刻度線','面積圖','圖表和軸標題','正方形','字段設置','56659EsZpTn','右Y軸標題','顯示公式','箱型圖','標題對齊','正值樣式','添加數據點','軸選項','空心菱形','類別\x20{0}','格式類型','環形圖','顯示標籤','多邊形','X軸標題','逆序軸','顯示R平方','負值樣式','空心針形','自定義圖表','移動平均','小計圖例文本','圖表數據源必須包含多於1列和1欄。','(空)','氣泡圖','顯示標籤線','瀑布圖','熱力圖','趨勢線','圖表樣式','最小值','圓環孔','指示線類型','左對齊','設置標籤格式','指示線','3gvpBYm','8HVBEra','打開圖表面板','節點距離','最大值','所有系列','散點圖','圖表邊框顏色','開啟選中淡入特效','標題位置','佈局類型','使用絕對值','網格線和刻度線','主網格線','4149732SybzcG','1590PtZcYB','隱藏圖表面板','堆疊面積圖','100289cIKbyk','使用\x20{0}\x20作為類別標籤','添加系列','長條圖系列'];_0x2483=function(){return _0x8d9df0;};return _0x2483();}function _0x3df2(_0x22c323,_0x4cbf6c){_0x22c323=_0x22c323-0x134;const _0x248337=_0x2483();let _0x3df279=_0x248337[_0x22c323];return _0x3df279;}const e={'chart':{'insertChart':'插入圖表','editChart':_0x2b250b(0x173),'openChartPanel':_0x2b250b(0x139),'deleteChart':_0x2b250b(0x19f),'hideChartPanel':_0x2b250b(0x147),'setupChart':_0x2b250b(0x16e),'customChart':_0x2b250b(0x1be),'default':'默認','reset':'重置','chartType':_0x2b250b(0x190),'themes':'主題','dataRange':_0x2b250b(0x180),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x2b250b(0x13c),'series':'系列','addSeries':_0x2b250b(0x14b),'moreSettings':_0x2b250b(0x18f),'min':_0x2b250b(0x1c9),'max':'最大值','invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':'用直線連接數據點'},'blank':_0x2b250b(0x1c2),'seriesBlock':{'format':'格式','dataPointStyle':'數據點樣式'},'backgroundColor':_0x2b250b(0x18e),'chartBorderColor':_0x2b250b(0x13e),'titles':{'title':'標題','mainTitle':'主標題','subTitle':_0x2b250b(0x194),'xAxisTitle':_0x2b250b(0x1b9),'yAxisTitle':_0x2b250b(0x19b),'rightYAxisTitle':_0x2b250b(0x1ac),'titleFormat':_0x2b250b(0x164),'titleText':_0x2b250b(0x1a2),'titlePosition':_0x2b250b(0x140),'titleAlign':_0x2b250b(0x1af)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':_0x2b250b(0x15a),'useAsCategoryLabels':_0x2b250b(0x14a),'showEmptyCellsAs':_0x2b250b(0x161)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x2b250b(0x134),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x2b250b(0x1c8),'chartAndAxisTitles':_0x2b250b(0x1a8),'legend':'圖例','legendSelectMode':_0x2b250b(0x16b),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'legendVisualMapType':{'continuous':'連續','piecewise':'分段'},'axes':{'axis':'軸','axisOptions':_0x2b250b(0x1b2),'horizontalAxis':'水平軸','verticalAxis':_0x2b250b(0x19c),'rightVerticalAxis':'右垂直軸','leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x2b250b(0x177)},'position':'位置','dataLabels':_0x2b250b(0x187),'gridlinesAndTicks':_0x2b250b(0x143),'indicatorLine':_0x2b250b(0x136),'indicatorLineType':_0x2b250b(0x1cb),'indicatorLineColor':'指示線顏色','indicatorLabel':_0x2b250b(0x15d),'indicatorValue':'指示值','shape':{'polygon':_0x2b250b(0x1b8),'circle':'圓形','square':_0x2b250b(0x1a9),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x2b250b(0x1a5),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':_0x2b250b(0x15c),'emptySquare':_0x2b250b(0x196),'emptyTriangle':'空心三角形','emptyDiamond':_0x2b250b(0x1b3),'emptyRect':_0x2b250b(0x192),'emptyRoundRect':'空心圓角矩形','emptyPin':_0x2b250b(0x1bd),'emptyArrow':'空心箭頭'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x2b250b(0x1a0),'withColor':_0x2b250b(0x155),'withThickness':_0x2b250b(0x17e),'withType':'{0}\x20類型','withSize':_0x2b250b(0x15f),'withShape':_0x2b250b(0x17f),'withFormat':'{0}\x20格式','dataPoint':_0x2b250b(0x197),'dataNodeShape':_0x2b250b(0x186),'addDataPoint':_0x2b250b(0x1b1),'point':_0x2b250b(0x197),'percentage':_0x2b250b(0x165),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x2b250b(0x172)},'lineDashType':'線類型','dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x2b250b(0x144),'text':_0x2b250b(0x198)},'ticks':{'majorTick':_0x2b250b(0x1a6),'tickPosition':_0x2b250b(0x18a),'tickLength':_0x2b250b(0x16f)},'none':'無','theIndexItem':_0x2b250b(0x156),'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x2b250b(0x1b4),'styleEditPanel':{'showLabels':_0x2b250b(0x1b7),'showDataLabels':_0x2b250b(0x188),'padAngle':_0x2b250b(0x191),'halfPie':'半餅','rosePie':'玫瑰圖','pieValScale':'数值比例','pieValSuffix':_0x2b250b(0x15e),'pieDigitalFixed':_0x2b250b(0x163),'showLabelLine':_0x2b250b(0x1c4),'reverseAxisOrder':_0x2b250b(0x1ba),'showAxisLine':_0x2b250b(0x152),'labelPosition':_0x2b250b(0x160),'labelText':_0x2b250b(0x179),'repeatWordCould':_0x2b250b(0x193),'gap':'間隔','useAbsValue':_0x2b250b(0x142),'labelRotate':_0x2b250b(0x159),'wordCloudShape':_0x2b250b(0x1a1),'useDateAxis':_0x2b250b(0x150),'dateAxisTips':'日期軸僅在數據全部為日期格式時可用'},'radar':{'fill':'填充'},'doughnutHole':_0x2b250b(0x1ca),'msg':{'invalidSource':_0x2b250b(0x1c1),'emptyTips':_0x2b250b(0x1a4),'sankeyCircularTips':_0x2b250b(0x18b)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':_0x2b250b(0x1c7),'displayName':_0x2b250b(0x171),'addTrendLine':_0x2b250b(0x166),'trendlineType':'趨勢線類型','trendlineName':_0x2b250b(0x171),'trendlineColor':_0x2b250b(0x189),'trendlineThickness':_0x2b250b(0x174),'trendlineDashType':'趨勢線線類型','exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x2b250b(0x1bf),'poly':_0x2b250b(0x1a3),'order':'多項式階數','period':_0x2b250b(0x15b),'showFormula':_0x2b250b(0x1ad),'showR2':_0x2b250b(0x1bb),'formula':'公式','r2':_0x2b250b(0x18c)},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x2b250b(0x167),'label':'氣泡標籤','emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'title':'關係圖','auto':'自動','circular':'環形','force':'力導向','useValueAsSymbolSize':_0x2b250b(0x183),'layoutType':_0x2b250b(0x141),'forceOptions':'力導向選項','repulsion':'斥力','gravity':'引力','edgeLength':_0x2b250b(0x13a),'rotateLabel':'旋轉標籤','emphasis':_0x2b250b(0x13f),'emptyTips':_0x2b250b(0x184)},'waterfall':{'stackType':'堆疊方式','arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':'顯示小計','positiveStyle':_0x2b250b(0x1b0),'negativeStyle':_0x2b250b(0x1bc),'subtotalStyle':_0x2b250b(0x14f),'positiveLegendText':'正值圖例文本','negativeLegendText':_0x2b250b(0x185),'subtotalLegendText':_0x2b250b(0x1c0)},'pareto':{'lineName':_0x2b250b(0x181),'lineSeries':'累積占比系列','barSeries':_0x2b250b(0x14c)},'visualMapScope':'視覺映射範圍','boxplot':{'min':_0x2b250b(0x1c9),'q1':_0x2b250b(0x16c),'median':'中位數','q3':'第三四分位數','max':_0x2b250b(0x13b)}},'chartTypes':{'line':_0x2b250b(0x19a),'area':_0x2b250b(0x1a7),'areaStacked':_0x2b250b(0x148),'areaPercentStacked':_0x2b250b(0x170),'column':_0x2b250b(0x14e),'bar':_0x2b250b(0x153),'barStacked':_0x2b250b(0x162),'barPercentStacked':_0x2b250b(0x157),'pie':'餅圖','donut':_0x2b250b(0x1b6),'scatter':_0x2b250b(0x13d),'radar':_0x2b250b(0x19e),'bubble':_0x2b250b(0x1c3),'stock':'股票圖','combination':_0x2b250b(0x154),'wordCloud':_0x2b250b(0x199),'funnel':_0x2b250b(0x175),'relation':_0x2b250b(0x17b),'waterfall':_0x2b250b(0x1c5),'pareto':_0x2b250b(0x182),'sankey':'桑基圖','heatmap':_0x2b250b(0x1c6),'boxplot':_0x2b250b(0x1ae)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x2b250b(0x17a),'fieldSetting':_0x2b250b(0x1aa),'formatTypes':_0x2b250b(0x1b5),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x2b250b(0x18d),'currencyDesc':_0x2b250b(0x168),'dateDesc':_0x2b250b(0x17d),'thousandthPercentileDesc':_0x2b250b(0x16a),'decimalPlaces':_0x2b250b(0x163),'currencyTypes':_0x2b250b(0x169),'negativeNumberTypes':_0x2b250b(0x195),'dateTypes':_0x2b250b(0x16d)},'setFormat':_0x2b250b(0x135)}};export{e as default};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x419911=_0x5a2c;(function(_0x4246dd,_0x42ced9){const _0x56c024=_0x5a2c,_0x241ff3=_0x4246dd();while(!![]){try{const _0x139b77=parseInt(_0x56c024(0x1d3))/0x1*(parseInt(_0x56c024(0x1c1))/0x2)+parseInt(_0x56c024(0x1f4))/0x3+-parseInt(_0x56c024(0x210))/0x4*(-parseInt(_0x56c024(0x179))/0x5)+-parseInt(_0x56c024(0x1e3))/0x6+-parseInt(_0x56c024(0x1e4))/0x7*(parseInt(_0x56c024(0x1de))/0x8)+parseInt(_0x56c024(0x1e7))/0x9+-parseInt(_0x56c024(0x196))/0xa;if(_0x139b77===_0x42ced9)break;else _0x241ff3['push'](_0x241ff3['shift']());}catch(_0x4d9ffb){_0x241ff3['push'](_0x241ff3['shift']());}}}(_0x152a,0x6c5b2));var R=Object[_0x419911(0x1f6)],k=(_0x554dae,_0x36be07,_0x1aa744)=>_0x36be07 in _0x554dae?R(_0x554dae,_0x36be07,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aa744}):_0x554dae[_0x36be07]=_0x1aa744,n=(_0x1745df,_0x37d6b6,_0x58d13c)=>k(_0x1745df,typeof _0x37d6b6!=_0x419911(0x182)?_0x37d6b6+'':_0x37d6b6,_0x58d13c);import{ChartThemeService as _0x26ce89,ChartTypeBits as _0x3ed09e,LegendPositionEnum as _0x3daf84,SelectModeEnum as _0xf30ab2,AxisAlignEnum as _0x1249aa,ChartBorderDashType as _0x160748,LinePointShape as _0x29b7cd,TitlePositionEnum as _0x555f1a,RadarShape as _0x2a095d}from'@univerjs-pro/engine-chart';import{setProperty as _0x1beb8b,SheetsChartService as _0x2a9304,ChartUpdateSourceCommand as _0x567c83,ChartUpdateConfigCommand as _0x28717b}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x42c39e}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x49edee,IUniverInstanceService as _0x16d66c,UniverInstanceType as _0x571be9,generateRandomId as _0x43cfe3,DrawingTypeEnum as _0x3e1407}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x5a6d06}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x2fe7a9}from'@univerjs/sheets/facade';import{FBase as _0x2fc0e4,FEnum as _0x2886ff}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x2e7ccf}from'@univerjs/engine-formula';import{IRenderManagerService as _0x2e07e3}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x30bdde,SheetSkeletonManagerService as _0x3dbe74,convertPositionCellToSheetOverGrid as _0x4565d7}from'@univerjs/sheets-ui';const s=(_0x1e1425,_0x211064,_0x303b57)=>{_0x303b57!==void 0x0&&_0x1beb8b(_0x1e1425,_0x211064,_0x303b57);},C=(_0x1d256f,_0x403b47,_0x2a3d88,_0x53a68f={})=>{const _0x1d11b8=_0x419911,_0x4a6776={},_0xc5f51b={};if(_0x53a68f['title']){const _0x5bd049=_0x53a68f[_0x1d11b8(0x1b3)];s(_0x4a6776,_0x1d11b8(0x219),_0x5bd049[_0x1d11b8(0x1bd)]),s(_0x4a6776,'titles.title.font',_0x5bd049[_0x1d11b8(0x1ca)]),s(_0x4a6776,_0x1d11b8(0x206),_0x5bd049['fontSize']),s(_0x4a6776,_0x1d11b8(0x198),_0x5bd049[_0x1d11b8(0x1ee)]),s(_0x4a6776,_0x1d11b8(0x213),_0x5bd049['fontStyle']),s(_0x4a6776,'titles.title.bold',_0x5bd049[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1be),_0x5bd049[_0x1d11b8(0x177)]),s(_0x4a6776,_0x1d11b8(0x1e9),_0x5bd049[_0x1d11b8(0x19e)]);}if(_0x53a68f['legend']){const _0x12f4d6=_0x53a68f['legend'];s(_0x4a6776,'legend.position',_0x12f4d6[_0x1d11b8(0x19e)]),s(_0x4a6776,_0x1d11b8(0x1d5),_0x12f4d6['selectMode']),s(_0x4a6776,'legend.label.fontSize',_0x12f4d6[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x21a),_0x12f4d6[_0x1d11b8(0x18e)]),s(_0x4a6776,_0x1d11b8(0x181),_0x12f4d6[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1a9),_0x12f4d6[_0x1d11b8(0x21f)]);}if(_0x53a68f[_0x1d11b8(0x189)]){const _0x2a147d=_0x53a68f[_0x1d11b8(0x189)];s(_0x4a6776,_0x1d11b8(0x1f8),_0x2a147d[_0x1d11b8(0x1b7)]),s(_0x4a6776,_0x1d11b8(0x1fb),_0x2a147d[_0x1d11b8(0x1f2)]),s(_0x4a6776,_0x1d11b8(0x17e),_0x2a147d[_0x1d11b8(0x176)]),s(_0x4a6776,'pie.isHalfPie',_0x2a147d[_0x1d11b8(0x218)]),s(_0x4a6776,_0x1d11b8(0x212),_0x2a147d[_0x1d11b8(0x1a7)]),s(_0x4a6776,_0x1d11b8(0x1d1),_0x2a147d[_0x1d11b8(0x17d)]);}if(_0x53a68f[_0x1d11b8(0x1eb)]){const _0x59395a=_0x53a68f[_0x1d11b8(0x1eb)];s(_0x4a6776,_0x1d11b8(0x1ad),_0x59395a[_0x1d11b8(0x19c)]),s(_0x4a6776,'tooltip.indicatorLineType',_0x59395a[_0x1d11b8(0x197)]),s(_0x4a6776,_0x1d11b8(0x1ab),_0x59395a[_0x1d11b8(0x224)]),s(_0x4a6776,_0x1d11b8(0x195),_0x59395a[_0x1d11b8(0x1d0)]);}if(_0x53a68f[_0x1d11b8(0x18b)]&&(s(_0x4a6776,_0x1d11b8(0x1b6),_0x53a68f[_0x1d11b8(0x18b)]['border']),s(_0x4a6776,_0x1d11b8(0x173),_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x1ef)]),s(_0x4a6776,'allSeriesStyle.rightYAxis',_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x205)]),s(_0x4a6776,_0x1d11b8(0x1b2),_0x53a68f[_0x1d11b8(0x18b)]['point']),s(_0x4a6776,_0x1d11b8(0x1f0),_0x53a68f[_0x1d11b8(0x18b)][_0x1d11b8(0x18e)])),_0x53a68f[_0x1d11b8(0x18c)]&&s(_0x4a6776,_0x1d11b8(0x1dd),_0x53a68f[_0x1d11b8(0x18c)]['lineStyle']),_0x53a68f[_0x1d11b8(0x17f)]&&s(_0x4a6776,_0x1d11b8(0x17f),_0x53a68f[_0x1d11b8(0x17f)]),_0x53a68f['backgroundColor']&&s(_0x4a6776,'backgroundColor',_0x53a68f[_0x1d11b8(0x1f7)]),_0x53a68f[_0x1d11b8(0x1f2)]&&s(_0x4a6776,_0x1d11b8(0x1f2),_0x53a68f[_0x1d11b8(0x1f2)]),_0x53a68f[_0x1d11b8(0x1fe)]&&s(_0x4a6776,_0x1d11b8(0x1fe),_0x53a68f[_0x1d11b8(0x1fe)]),_0x53a68f[_0x1d11b8(0x209)]&&s(_0x4a6776,'invalidValueType',_0x53a68f[_0x1d11b8(0x209)]),_0x53a68f[_0x1d11b8(0x1ea)]&&s(_0x4a6776,_0x1d11b8(0x1ea),_0x53a68f[_0x1d11b8(0x1ea)]),_0x53a68f[_0x1d11b8(0x1c6)]){const _0x523b95=_0x53a68f[_0x1d11b8(0x1c6)];s(_0x4a6776,'titles.xAxisTitle.content',_0x523b95[_0x1d11b8(0x1bd)]),s(_0x4a6776,_0x1d11b8(0x20d),_0x523b95['font']),s(_0x4a6776,_0x1d11b8(0x1cb),_0x523b95[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x1a8),_0x523b95['fontColor']),s(_0x4a6776,_0x1d11b8(0x220),_0x523b95[_0x1d11b8(0x1f5)]),s(_0x4a6776,_0x1d11b8(0x1dc),_0x523b95[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x18f),_0x523b95[_0x1d11b8(0x1ed)]);}if(_0x53a68f[_0x1d11b8(0x1fa)]){const _0x537cdf=_0x53a68f['yAxisTitle'];s(_0x4a6776,'titles.yAxisTitle.content',_0x537cdf['content']),s(_0x4a6776,_0x1d11b8(0x17c),_0x537cdf['font']),s(_0x4a6776,_0x1d11b8(0x1fc),_0x537cdf[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x1e8),_0x537cdf[_0x1d11b8(0x1ee)]),s(_0x4a6776,'titles.yAxisTitle.family',_0x537cdf['fontStyle']),s(_0x4a6776,'titles.yAxisTitle.bold',_0x537cdf[_0x1d11b8(0x202)]),s(_0x4a6776,'yAxis.label.axisTitleAlign',_0x537cdf[_0x1d11b8(0x1ed)]);}if(_0x53a68f[_0x1d11b8(0x1e0)]){const _0x29231c=_0x53a68f['rightYAxisTitle'];s(_0x4a6776,_0x1d11b8(0x225),_0x29231c[_0x1d11b8(0x1bd)]),s(_0x4a6776,_0x1d11b8(0x19b),_0x29231c[_0x1d11b8(0x1ca)]),s(_0x4a6776,'titles.rightYAxisTitle.fontSize',_0x29231c[_0x1d11b8(0x203)]),s(_0x4a6776,_0x1d11b8(0x214),_0x29231c[_0x1d11b8(0x1ee)]),s(_0x4a6776,'titles.rightYAxisTitle.family',_0x29231c[_0x1d11b8(0x1f5)]),s(_0x4a6776,_0x1d11b8(0x1ac),_0x29231c[_0x1d11b8(0x202)]),s(_0x4a6776,_0x1d11b8(0x1b0),_0x29231c[_0x1d11b8(0x1ed)]);}_0x53a68f[_0x1d11b8(0x1d9)]&&s(_0x4a6776,_0x1d11b8(0x1d9),_0x53a68f[_0x1d11b8(0x1d9)]),_0x53a68f[_0x1d11b8(0x178)]&&s(_0x4a6776,_0x1d11b8(0x178),_0x53a68f[_0x1d11b8(0x178)]),_0x53a68f[_0x1d11b8(0x184)]&&s(_0x4a6776,_0x1d11b8(0x205),_0x53a68f[_0x1d11b8(0x184)]),_0x53a68f[_0x1d11b8(0x1cf)]&&s(_0x4a6776,_0x1d11b8(0x1cf),_0x53a68f[_0x1d11b8(0x1cf)]);const _0xb904cc={'unitId':_0x1d256f,'chartModelId':_0x403b47};let _0x1f0372=!0x1;if(_0x2a3d88!==void 0x0&&(_0xb904cc[_0x1d11b8(0x1ec)]=_0x2a3d88,_0x1f0372=!0x0),Object[_0x1d11b8(0x1b8)](_0x4a6776)['length']>0x0&&(_0xb904cc['style']=_0x4a6776,_0x1f0372=!0x0),Object[_0x1d11b8(0x1b8)](_0xc5f51b)[_0x1d11b8(0x186)]>0x0&&(_0xb904cc['context']=_0xc5f51b,_0x1f0372=!0x0),_0x1f0372)return _0xb904cc;};class c extends _0x2fc0e4{constructor(_0x32e105,_0x5a6ad0,_0x5eae6e,_0x5b8eed,_0x39732c){const _0x44d46c=_0x419911;super(),n(this,_0x44d46c(0x1a6)),n(this,_0x44d46c(0x217)),n(this,_0x44d46c(0x221)),n(this,_0x44d46c(0x1b5)),n(this,'chartId'),n(this,_0x44d46c(0x1a0)),n(this,_0x44d46c(0x1df)),n(this,'x'),n(this,'y'),n(this,_0x44d46c(0x191)),n(this,_0x44d46c(0x21b)),n(this,_0x44d46c(0x1ec)),n(this,'options'),n(this,_0x44d46c(0x201)),(this[_0x44d46c(0x221)]=_0x32e105,this[_0x44d46c(0x1b5)]=_0x5a6ad0,this[_0x44d46c(0x1a6)]=_0x5eae6e,this['_injector']=_0x5b8eed,_0x39732c&&(this['chartId']=_0x39732c));}[_0x419911(0x208)](){const _0x5d8785=_0x419911;return this[_0x5d8785(0x1ec)];}[_0x419911(0x226)](_0x22bec6){const _0x54830f=_0x419911;if(typeof _0x22bec6==_0x54830f(0x17a)){const _0x239b9b=_0x2e7ccf(_0x22bec6);_0x239b9b[_0x54830f(0x1d2)]&&(this[_0x54830f(0x1df)]=_0x239b9b[_0x54830f(0x1d2)]),this['range']=_0x239b9b[_0x54830f(0x1a0)];}else this[_0x54830f(0x1a0)]=_0x22bec6;return this;}[_0x419911(0x20b)](){const _0x499502=_0x419911;return this[_0x499502(0x1a0)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x419911(0x211)](_0x27d53e,_0x4e1e92,_0x862b08,_0x50f847){const _0x431d84=_0x419911,_0x547c51=this[_0x431d84(0x217)][_0x431d84(0x20f)](_0x2e07e3)[_0x431d84(0x20e)](this['unitId']);if(!_0x547c51)throw new Error(_0x431d84(0x207));const _0x1d91d7=_0x547c51[_0x431d84(0x1af)](_0x30bdde),_0x445df4=_0x547c51[_0x431d84(0x1af)](_0x3dbe74),{transform:_0x51f980}=_0x4565d7(this[_0x431d84(0x221)],this[_0x431d84(0x1b5)],{'row':_0x27d53e,'column':_0x4e1e92,'rowOffset':_0x862b08,'columnOffset':_0x50f847},0x1,0x1,_0x1d91d7,_0x445df4),_0x3d4bf1=_0x51f980[_0x431d84(0x172)],_0x473862=_0x51f980['left'];return this['x']=_0x473862,this['y']=_0x3d4bf1,this;}[_0x419911(0x1aa)](_0x1d71e1,_0x188bfa){return this['x']=_0x1d71e1,this['y']=_0x188bfa,this;}['setChartType'](_0x2eb99b){const _0x1b37c3=_0x419911;return this[_0x1b37c3(0x1ec)]=_0x2eb99b,this;}[_0x419911(0x1a4)](_0x1bd893){const _0x77c818=_0x419911;return this[_0x77c818(0x191)]=_0x1bd893,this;}['setHeight'](_0x2f5c75){const _0x5bd5d6=_0x419911;return this[_0x5bd5d6(0x21b)]=_0x2f5c75,this;}[_0x419911(0x200)](_0xdaaf38,_0x57c242){const _0x322ee9=_0x419911;return this[_0x322ee9(0x1a2)]||(this[_0x322ee9(0x1a2)]={}),_0xdaaf38===''?(this[_0x322ee9(0x1a2)]={...this[_0x322ee9(0x1a2)],..._0x57c242},this):(_0x1beb8b(this[_0x322ee9(0x1a2)],_0xdaaf38,_0x57c242),this);}[_0x419911(0x1c7)](_0x3e6edf){return this['transposeRowsAndColumns']=_0x3e6edf,this;}[_0x419911(0x222)](_0x2d24d2){const _0x1495f2=_0x419911;return this['setOptions'](_0x1495f2(0x17f),_0x2d24d2),this;}[_0x419911(0x21c)](_0x5f8a4){const _0x854570=_0x419911;var _0x48e41d;const _0x792276=((_0x48e41d=this[_0x854570(0x1a2)])==null?void 0x0:_0x48e41d['xAxisTitle'])||{};return _0x792276[_0x854570(0x1bd)]=_0x5f8a4,this[_0x854570(0x200)](_0x854570(0x1c6),_0x792276),this;}['setYAxisTitle'](_0x138a42){const _0x33d91c=_0x419911;var _0x1f4671;const _0x1d6b16=((_0x1f4671=this[_0x33d91c(0x1a2)])==null?void 0x0:_0x1f4671[_0x33d91c(0x1fa)])||{};return _0x1d6b16['content']=_0x138a42,this[_0x33d91c(0x200)](_0x33d91c(0x1fa),_0x1d6b16),this;}['setRightYAxisTitle'](_0x38380a){const _0x5d23ca=_0x419911;var _0x4baa2b;const _0x38ac5e=((_0x4baa2b=this[_0x5d23ca(0x1a2)])==null?void 0x0:_0x4baa2b[_0x5d23ca(0x1e0)])||{};return _0x38ac5e[_0x5d23ca(0x1bd)]=_0x38380a,this['setOptions'](_0x5d23ca(0x1e0),_0x38ac5e),this;}[_0x419911(0x18d)](_0x14b6b4){const _0x29c564=_0x419911;var _0x2cff8a;const _0x5c877b=((_0x2cff8a=this[_0x29c564(0x1a2)])==null?void 0x0:_0x2cff8a[_0x29c564(0x1c6)])||{};return this[_0x29c564(0x200)]('xAxisTitle',{..._0x5c877b,..._0x14b6b4}),this;}[_0x419911(0x216)](_0xe1b61f){const _0x32fc28=_0x419911;var _0x5e54a6;const _0x41a3ed=((_0x5e54a6=this['options'])==null?void 0x0:_0x5e54a6['yAxisTitle'])||{};return this['setOptions'](_0x32fc28(0x1fa),{..._0x41a3ed,..._0xe1b61f}),this;}['setRightYAxisTextStyle'](_0x59fa62){const _0x14ca1b=_0x419911;var _0x921146;const _0x57ea74=((_0x921146=this[_0x14ca1b(0x1a2)])==null?void 0x0:_0x921146['rightYAxisTitle'])||{};return this[_0x14ca1b(0x200)](_0x14ca1b(0x1e0),{..._0x57ea74,..._0x59fa62}),this;}[_0x419911(0x175)](_0x50417d){const _0x2f8e15=_0x419911;return this[_0x2f8e15(0x200)](_0x2f8e15(0x209),_0x50417d),this;}[_0x419911(0x199)](_0x2d8c03){const _0x5f596e=_0x419911;return this['setOptions'](_0x5f596e(0x1eb),_0x2d8c03),this;}[_0x419911(0x1e1)](_0x57cfd8){const _0x5506c0=_0x419911;return this[_0x5506c0(0x200)](_0x5506c0(0x18b),_0x57cfd8),this;}[_0x419911(0x20a)](_0x1c53a3,_0xff6d08){const _0x564498=_0x419911;return this[_0x564498(0x200)](_0x564498(0x1cf),{[_0x1c53a3]:_0xff6d08}),this;}['build'](){const _0xc9a4ea=_0x419911;return{'unitId':this[_0xc9a4ea(0x221)],'subUnitId':this[_0xc9a4ea(0x1b5)],'chartId':this[_0xc9a4ea(0x18a)],'range':this[_0xc9a4ea(0x1a0)],'sourceSheetName':this[_0xc9a4ea(0x1df)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0xc9a4ea(0x21b)],'chartType':this[_0xc9a4ea(0x1ec)],'options':this[_0xc9a4ea(0x1a2)],'isRowDirection':this[_0xc9a4ea(0x201)]};}}class P{constructor(_0x17ac45,_0x2a94b8,_0x548443,_0x51da49){const _0x3d9e76=_0x419911;n(this,_0x3d9e76(0x221)),n(this,_0x3d9e76(0x1b5)),n(this,_0x3d9e76(0x18a)),n(this,'_injector'),(this[_0x3d9e76(0x221)]=_0x17ac45,this[_0x3d9e76(0x1b5)]=_0x2a94b8,this[_0x3d9e76(0x18a)]=_0x548443,this[_0x3d9e76(0x217)]=_0x51da49);}[_0x419911(0x188)](){const _0x48b5e5=_0x419911;return this[_0x48b5e5(0x18a)];}[_0x419911(0x1c3)](){const _0x3d403a=_0x419911,_0x59e869=this['_injector'][_0x3d403a(0x20f)](_0x2a9304)[_0x3d403a(0x1c4)](this[_0x3d403a(0x18a)]);if(_0x59e869)return _0x59e869[_0x3d403a(0x187)][_0x3d403a(0x1b4)]();}[_0x419911(0x1f1)](_0x203949){const _0x9c9b4a=_0x419911;return this[_0x9c9b4a(0x217)][_0x9c9b4a(0x20f)](_0x49edee)[_0x9c9b4a(0x21e)](_0x567c83['id'],{'unitId':this['unitId'],'chartModelId':this[_0x9c9b4a(0x18a)],'range':_0x203949});}[_0x419911(0x192)](){const _0xcc52e9=_0x419911;var _0x2a317a;const _0xf9ecb3=this[_0xcc52e9(0x217)][_0xcc52e9(0x20f)](_0x2a9304)[_0xcc52e9(0x1c4)](this[_0xcc52e9(0x18a)]);if(_0xf9ecb3)return(_0x2a317a=_0xf9ecb3[_0xcc52e9(0x183)])==null?void 0x0:_0x2a317a[_0xcc52e9(0x1da)];}[_0x419911(0x180)](){const _0x343853=_0x419911;var _0x5d9424;const _0x38d476=this[_0x343853(0x217)][_0x343853(0x20f)](_0x2a9304)['getChartModel'](this[_0x343853(0x18a)]);if(_0x38d476)return(_0x5d9424=_0x38d476['config'])==null?void 0x0:_0x5d9424[_0x343853(0x1c9)];}[_0x419911(0x1db)](){const _0xfc250=_0x419911,_0xf9f594=this[_0xfc250(0x217)][_0xfc250(0x20f)](_0x16d66c)[_0xfc250(0x1d6)](_0x571be9['UNIVER_SHEET']);return new c(this[_0xfc250(0x221)],this[_0xfc250(0x1b5)],_0xf9f594,this['_injector'],this[_0xfc250(0x18a)]);}}class $ extends _0x2fe7a9{async[_0x419911(0x1c5)](_0x5ae6cd){const _0x58835c=_0x419911;var _0x409f8f,_0x1b4033,_0xfcef42;const _0x352d5e=_0x5ae6cd['unitId']||this[_0x58835c(0x1e2)]()[_0x58835c(0x1d8)](),_0x20158d=_0x5ae6cd['subUnitId']||this[_0x58835c(0x1fd)](),_0x2e3eb3=_0x5ae6cd[_0x58835c(0x18a)]||_0x43cfe3(),_0x40eaa7=_0x5ae6cd['chartType'],_0x1657bb=_0x5ae6cd[_0x58835c(0x1a0)],_0x297195=_0x5ae6cd['sourceSheetName'],_0x2009e8={'x':_0x5ae6cd['x'],'y':_0x5ae6cd['y']},_0x49525f=_0x5ae6cd[_0x58835c(0x191)],_0x4e1bb3=_0x5ae6cd[_0x58835c(0x21b)],_0x17fd75=(_0x409f8f=_0x5ae6cd[_0x58835c(0x1a2)])==null?void 0x0:_0x409f8f[_0x58835c(0x1f7)],_0x3c5da4=(_0x1b4033=_0x5ae6cd[_0x58835c(0x1a2)])==null?void 0x0:_0x1b4033[_0x58835c(0x1f2)],_0x6f068a=C(_0x352d5e,_0x2e3eb3,_0x40eaa7,_0x5ae6cd['options']),_0x30e265=(_0xfcef42=_0x5ae6cd[_0x58835c(0x1c0)])!=null?_0xfcef42:!0x0;if(!_0x1657bb)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x58835c(0x1f9)][_0x58835c(0x21e)](_0x42c39e['id'],{'unitId':_0x352d5e,'subUnitId':_0x20158d,'chartId':_0x2e3eb3,'chartType':_0x40eaa7,'range':_0x1657bb,'sourceSheetName':_0x297195,'position':_0x2009e8,'width':_0x49525f,'height':_0x4e1bb3,'backgroundColor':_0x17fd75,'borderColor':_0x3c5da4,'config':_0x6f068a,'isRowDirection':_0x30e265}),new P(_0x352d5e,_0x20158d,_0x2e3eb3,this['_injector']);}['updateChart'](_0x2a30be){const _0x50639c=_0x419911,{unitId:_0x58a711,chartId:_0x22127f,chartType:_0x11d39f,options:_0x3416ae}=_0x2a30be,_0x6bcfc6=C(_0x58a711,_0x22127f,_0x11d39f,_0x3416ae);this[_0x50639c(0x1f9)][_0x50639c(0x21e)](_0x28717b['id'],_0x6bcfc6);}['newChart'](_0x2c5e32){const _0xd0ce9b=_0x419911;if(_0x2c5e32)return new c(_0x2c5e32['unitId'],_0x2c5e32['subUnitId'],this[_0xd0ce9b(0x1a6)],this[_0xd0ce9b(0x217)],_0x2c5e32[_0xd0ce9b(0x18a)]);const _0x1a15ac=this['getWorkbook']()[_0xd0ce9b(0x1d8)](),_0x473143=this['getSheetId']();return new c(_0x1a15ac,_0x473143,this['_workbook'],this['_injector']);}['getCharts'](){const _0x4ab725=_0x419911,_0x1401a6=this[_0x4ab725(0x217)][_0x4ab725(0x20f)](_0x2a9304),_0x3d6458=this[_0x4ab725(0x1e2)]()['getUnitId']();return _0x1401a6[_0x4ab725(0x19a)](_0x3d6458,this[_0x4ab725(0x1fd)]())[_0x4ab725(0x1a3)](_0x28db48=>new P(_0x3d6458,this['getSheetId'](),_0x28db48['id'],this['_injector']));}['removeChart'](_0x2038e2){const _0x5d5d15=_0x419911,_0x2cd0ad=_0x2038e2[_0x5d5d15(0x221)],_0x5459db=_0x2038e2['subUnitId'],_0x6cb68=_0x2038e2['chartId'],_0x4a3be9={'unitId':_0x2cd0ad,'drawings':[{'unitId':_0x2cd0ad,'subUnitId':_0x5459db,'drawingId':_0x6cb68,'drawingType':_0x3e1407[_0x5d5d15(0x1e6)]}]};return this[_0x5d5d15(0x1f9)]['executeCommand'](_0x5a6d06['id'],_0x4a3be9);}['registerChartTheme'](_0x5ac8e9,_0xd7b985){const _0x499e96=_0x419911;this[_0x499e96(0x217)]['get'](_0x26ce89)[_0x499e96(0x185)](_0x5ac8e9,_0xd7b985);}}_0x2fe7a9[_0x419911(0x227)]($);class tt extends _0x2886ff{get[_0x419911(0x1e5)](){return _0x3ed09e;}get[_0x419911(0x1d4)](){return _0x3daf84;}get[_0x419911(0x215)](){return _0xf30ab2;}get[_0x419911(0x204)](){return _0x1249aa;}get[_0x419911(0x193)](){return _0x160748;}get[_0x419911(0x1a5)](){return _0x29b7cd;}get[_0x419911(0x1cc)](){return _0x555f1a;}get['RadarShape'](){return _0x2a095d;}}_0x2886ff[_0x419911(0x227)](tt);class et extends c{constructor(_0x47e7b9,_0x14f25e,_0x280405,_0x5ce157,_0x510b09){const _0x1ce6c1=_0x419911;super(_0x47e7b9,_0x14f25e,_0x280405,_0x5ce157,_0x510b09),n(this,'lineStyle'),n(this,_0x1ce6c1(0x1bf)),n(this,'dataPointColor'),n(this,_0x1ce6c1(0x190));}['setLineStyle'](_0x12b2f0){const _0xa98983=_0x419911;return this[_0xa98983(0x21d)]=_0x12b2f0,this;}[_0x419911(0x1b1)](_0x1089d3){const _0x1ed419=_0x419911;return this[_0x1ed419(0x1bf)]=_0x1089d3,this;}[_0x419911(0x1bc)](_0x42a4a6){const _0x55cf40=_0x419911;return this[_0x55cf40(0x1c2)]=_0x42a4a6,this;}[_0x419911(0x1a1)](_0xeaf30a){const _0x4f6714=_0x419911;return this[_0x4f6714(0x190)]=_0xeaf30a,this;}[_0x419911(0x174)](){const _0x2d64fb=_0x419911,_0x12ceae=super[_0x2d64fb(0x174)]();_0x12ceae[_0x2d64fb(0x1ec)]=_0x3ed09e[_0x2d64fb(0x1ce)];const _0x53f34a=_0x12ceae[_0x2d64fb(0x1a2)]||{};return s(_0x53f34a,_0x2d64fb(0x1dd),this[_0x2d64fb(0x21d)]),s(_0x53f34a,_0x2d64fb(0x19d),this[_0x2d64fb(0x1bf)]),s(_0x53f34a,'allSeriesStyle.point.color',this[_0x2d64fb(0x1c2)]),s(_0x53f34a,_0x2d64fb(0x1cd),this[_0x2d64fb(0x190)]),_0x12ceae[_0x2d64fb(0x1a2)]=_0x53f34a,_0x12ceae;}}class it extends c{[_0x419911(0x1bb)](){const _0x5276f3=_0x419911;return new et(this[_0x5276f3(0x221)],this[_0x5276f3(0x1b5)],this[_0x5276f3(0x1a6)],this['_injector'],this[_0x5276f3(0x18a)]);}}function _0x152a(){const _0x2083ba=['setDataPointSize','options','map','setWidth','LinePointShape','_workbook','rosePie','titles.xAxisTitle.color','legend.label.italic','setAbsolutePosition','tooltip.indicatorLineColor','titles.rightYAxisTitle.bold','tooltip.indicatorLabelColor','setRosePie','with','rightYAxis.label.axisTitleAlign','setDataPointShape','allSeriesStyle.point','title','getRangeInfo','subUnitId','allSeriesStyle.border','doughnutHole','keys','setFill','setHasPaddingAngle','asLineChart','setDataPointColor','content','titles.title.align','dataPointShape','isRowDirection','998rYEwqB','dataPointColor','getRange','getChartModel','insertChart','xAxisTitle','setTransposeRowsAndColumns','asPieChart','category','font','titles.xAxisTitle.fontSize','TitlePositionEnum','allSeriesStyle.point.size','Line','seriesStyleMap','indicatorLabelTextColor','pie.showLabelLine','sheetName','509fiyHzR','LegendPositionEnum','legend.selectMode','getCurrentUnitForType','setIsHalfPie','getUnitId','xAxis','series','modify','titles.xAxisTitle.bold','area.lineStyle','49464PXOtyI','sourceSheetName','rightYAxisTitle','setAllSeriesStyle','getWorkbook','1017804KgoMlP','287qHVffZ','ChartType','DRAWING_CHART','942849QCBUSH','titles.yAxisTitle.color','titles.titlePosition','radar','axisPointer','chartType','axisAlignment','fontColor','label','allSeriesStyle.color','updateRange','borderColor','setShowLabelLine','1196685MZoUrn','fontStyle','defineProperty','backgroundColor','pie.doughnutHole','_commandService','yAxisTitle','pie.borderColor','titles.yAxisTitle.fontSize','getSheetId','gradientFill','fill','setOptions','transposeRowsAndColumns','bold','fontSize','AxisAlignEnum','rightYAxis','titles.title.fontSize','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','getChartType','invalidValueType','setSeriesStyle','clearRange','pie.isHalfPie','titles.xAxisTitle.font','getRenderById','get','152MpDlAt','setPosition','pie.rosePie','titles.title.family','titles.rightYAxisTitle.color','SelectModeEnum','setYAxisTextStyle','_injector','isHalfPie','titles.title.content','legend.label.color','height','setXAxisTitle','lineStyle','executeCommand','italic','titles.xAxisTitle.family','unitId','setTheme','Radar','indicatorLineColor','titles.rightYAxisTitle.content','addRange','extend','top','allSeriesStyle.label','build','setInvalidValueStrategy','hasPaddingAngle','titleAlignment','yAxis','103755LigWkp','string','radar.fill','titles.yAxisTitle.font','showLabelLine','pie.hasPaddingAngle','theme','getCategoryData','legend.label.bold','symbol','config','yRightAxis','registerTheme','length','dataSource','getChartId','pie','chartId','allSeriesStyle','area','setXAxisTextStyle','color','xAxis.label.axisTitleAlign','dataPointSize','width','getSeriesData','ChartBorderDashType','setShape','tooltip.indicatorLabelTextColor','6792220dqAfGF','indicatorLineType','titles.title.color','setAxisPointerStyle','getUnitChartModels','titles.rightYAxisTitle.font','indicatorLabelColor','allSeriesStyle.point.shape','position','shape','range'];_0x152a=function(){return _0x2083ba;};return _0x152a();}c[_0x419911(0x227)](it);function _0x5a2c(_0xdee45b,_0x408189){_0xdee45b=_0xdee45b-0x172;const _0x152ae8=_0x152a();let _0x5a2c6f=_0x152ae8[_0xdee45b];return _0x5a2c6f;}class st extends c{constructor(_0x2bbb82,_0x3556a4,_0x33cf69,_0x12755b,_0x5e1c1a){const _0xf4bcc1=_0x419911;super(_0x2bbb82,_0x3556a4,_0x33cf69,_0x12755b,_0x5e1c1a),n(this,_0xf4bcc1(0x1b7)),n(this,_0xf4bcc1(0x1f2)),n(this,_0xf4bcc1(0x176)),n(this,_0xf4bcc1(0x218)),n(this,_0xf4bcc1(0x1a7)),n(this,'showLabelLine');}['setDoughnutHole'](_0xaddbcf){const _0x5ba5a5=_0x419911;return this[_0x5ba5a5(0x1b7)]=_0xaddbcf,this;}['setBorderColor'](_0x34f3c1){const _0xe62976=_0x419911;return this[_0xe62976(0x1f2)]=_0x34f3c1,this;}[_0x419911(0x1ba)](_0xfc89ae){const _0x17eadf=_0x419911;return this[_0x17eadf(0x176)]=_0xfc89ae,this;}[_0x419911(0x1d7)](_0x3acc75){const _0x426c22=_0x419911;return this[_0x426c22(0x218)]=_0x3acc75,this;}[_0x419911(0x1ae)](_0x11ae3a){const _0x253f01=_0x419911;return this[_0x253f01(0x1a7)]=_0x11ae3a,this;}[_0x419911(0x1f3)](_0x1a4b4e){const _0x560724=_0x419911;return this[_0x560724(0x17d)]=_0x1a4b4e,this;}[_0x419911(0x174)](){const _0xcbb2e0=_0x419911,_0x3d2bd=super['build']();_0x3d2bd['chartType']=_0x3ed09e['Pie'];const _0x28e4de=_0x3d2bd[_0xcbb2e0(0x1a2)]||{};return s(_0x28e4de,'pie.doughnutHole',this['doughnutHole']),s(_0x28e4de,_0xcbb2e0(0x1fb),this[_0xcbb2e0(0x1f2)]),s(_0x28e4de,'pie.hasPaddingAngle',this[_0xcbb2e0(0x176)]),s(_0x28e4de,_0xcbb2e0(0x20c),this['isHalfPie']),s(_0x28e4de,'pie.rosePie',this[_0xcbb2e0(0x1a7)]),s(_0x28e4de,'pie.showLabelLine',this[_0xcbb2e0(0x17d)]),_0x3d2bd[_0xcbb2e0(0x1a2)]=_0x28e4de,_0x3d2bd;}}class rt extends c{[_0x419911(0x1c8)](){const _0x3af751=_0x419911;return new st(this[_0x3af751(0x221)],this[_0x3af751(0x1b5)],this[_0x3af751(0x1a6)],this[_0x3af751(0x217)],this[_0x3af751(0x18a)]);}}c['extend'](rt);class ot extends c{constructor(_0x30a26c,_0x3574d7,_0x6522d5,_0x2353e1,_0x32d766){const _0x4bf2e7=_0x419911;super(_0x30a26c,_0x3574d7,_0x6522d5,_0x2353e1,_0x32d766),n(this,_0x4bf2e7(0x19f)),n(this,'fill');}[_0x419911(0x194)](_0x34d5a3){const _0x168861=_0x419911;return this[_0x168861(0x19f)]=_0x34d5a3,this;}[_0x419911(0x1b9)](_0x594827){const _0xe788df=_0x419911;return this[_0xe788df(0x1ff)]=_0x594827,this;}[_0x419911(0x174)](){const _0x3bc6db=_0x419911,_0x1221bb=super[_0x3bc6db(0x174)]();_0x1221bb[_0x3bc6db(0x1ec)]=_0x3ed09e[_0x3bc6db(0x223)];const _0x4c5c8e=_0x1221bb[_0x3bc6db(0x1a2)]||{};return s(_0x4c5c8e,'radar.shape',this[_0x3bc6db(0x19f)]),s(_0x4c5c8e,_0x3bc6db(0x17b),this['fill']),_0x1221bb['options']=_0x4c5c8e,_0x1221bb;}}class nt extends c{['asRadarChart'](){const _0x18a2d4=_0x419911;return new ot(this[_0x18a2d4(0x221)],this['subUnitId'],this[_0x18a2d4(0x1a6)],this[_0x18a2d4(0x217)],this['chartId']);}}c[_0x419911(0x227)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
1
+ const _0x33ffe3=_0x3f70;(function(_0x1144b9,_0x5a01bf){const _0x1d90bd=_0x3f70,_0x2c9be2=_0x1144b9();while(!![]){try{const _0x3cb221=-parseInt(_0x1d90bd(0x171))/0x1*(parseInt(_0x1d90bd(0x1a8))/0x2)+parseInt(_0x1d90bd(0x118))/0x3+parseInt(_0x1d90bd(0x184))/0x4+parseInt(_0x1d90bd(0x148))/0x5+-parseInt(_0x1d90bd(0x194))/0x6*(parseInt(_0x1d90bd(0x14e))/0x7)+parseInt(_0x1d90bd(0xfc))/0x8+-parseInt(_0x1d90bd(0x18a))/0x9;if(_0x3cb221===_0x5a01bf)break;else _0x2c9be2['push'](_0x2c9be2['shift']());}catch(_0x39eb1e){_0x2c9be2['push'](_0x2c9be2['shift']());}}}(_0x49af,0x8a464));var R=Object['defineProperty'],k=(_0x357fbc,_0x26611f,_0x232d51)=>_0x26611f in _0x357fbc?R(_0x357fbc,_0x26611f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x232d51}):_0x357fbc[_0x26611f]=_0x232d51,n=(_0x3d6e9c,_0x561069,_0x1dceab)=>k(_0x3d6e9c,typeof _0x561069!=_0x33ffe3(0x187)?_0x561069+'':_0x561069,_0x1dceab);import{ChartThemeService as _0x748635,ChartTypeBits as _0x4727ed,LegendPositionEnum as _0x2b1829,SelectModeEnum as _0x59036c,AxisAlignEnum as _0x370ec4,ChartBorderDashType as _0x5bd0ee,LinePointShape as _0x2a0de1,TitlePositionEnum as _0x1c9c3a,RadarShape as _0x566da4}from'@univerjs-pro/engine-chart';import{setProperty as _0x332f86,SheetsChartService as _0x1b1ce6,ChartUpdateSourceCommand as _0x8570cf,ChartUpdateConfigCommand as _0x56eb18}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x3570fb}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x54d66c,IUniverInstanceService as _0x753bd0,UniverInstanceType as _0x2a2f03,generateRandomId as _0xf54723,DrawingTypeEnum as _0x4b5aca}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x424cde}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x12336d}from'@univerjs/sheets/facade';import{FBase as _0x4e461c,FEnum as _0xa32d67}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x3e6b48}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4bdb34}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x21b6c2,SheetSkeletonManagerService as _0x30b7ae,convertPositionCellToSheetOverGrid as _0x3cbbea}from'@univerjs/sheets-ui';const s=(_0x10e82f,_0x4e0d29,_0x4f2a4d)=>{_0x4f2a4d!==void 0x0&&_0x332f86(_0x10e82f,_0x4e0d29,_0x4f2a4d);},C=(_0x38de35,_0x184775,_0x4ab026,_0x2b04e0={})=>{const _0x25f572=_0x33ffe3,_0x202fbb={},_0x1d4e10={};if(_0x2b04e0[_0x25f572(0x137)]){const _0x3be0fd=_0x2b04e0[_0x25f572(0x137)];s(_0x202fbb,_0x25f572(0x13c),_0x3be0fd[_0x25f572(0x138)]),s(_0x202fbb,_0x25f572(0x12b),_0x3be0fd[_0x25f572(0x18b)]),s(_0x202fbb,_0x25f572(0x14a),_0x3be0fd[_0x25f572(0x15f)]),s(_0x202fbb,_0x25f572(0x14c),_0x3be0fd[_0x25f572(0x156)]),s(_0x202fbb,'titles.title.family',_0x3be0fd['fontStyle']),s(_0x202fbb,_0x25f572(0x195),_0x3be0fd[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x12f),_0x3be0fd[_0x25f572(0x199)]),s(_0x202fbb,_0x25f572(0x135),_0x3be0fd['position']);}if(_0x2b04e0[_0x25f572(0x105)]){const _0x43e472=_0x2b04e0[_0x25f572(0x105)];s(_0x202fbb,_0x25f572(0x17f),_0x43e472[_0x25f572(0x189)]),s(_0x202fbb,_0x25f572(0x10e),_0x43e472[_0x25f572(0x103)]),s(_0x202fbb,_0x25f572(0x190),_0x43e472[_0x25f572(0x15f)]),s(_0x202fbb,_0x25f572(0xf3),_0x43e472[_0x25f572(0x153)]),s(_0x202fbb,_0x25f572(0x143),_0x43e472[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x16d),_0x43e472[_0x25f572(0x140)]);}if(_0x2b04e0[_0x25f572(0x16a)]){const _0x231553=_0x2b04e0[_0x25f572(0x16a)];s(_0x202fbb,'pie.doughnutHole',_0x231553[_0x25f572(0x102)]),s(_0x202fbb,_0x25f572(0x149),_0x231553[_0x25f572(0x128)]),s(_0x202fbb,'pie.hasPaddingAngle',_0x231553[_0x25f572(0x18e)]),s(_0x202fbb,'pie.isHalfPie',_0x231553[_0x25f572(0x11e)]),s(_0x202fbb,_0x25f572(0x1a1),_0x231553[_0x25f572(0x19c)]),s(_0x202fbb,_0x25f572(0x110),_0x231553[_0x25f572(0x165)]);}if(_0x2b04e0['axisPointer']){const _0x3b9950=_0x2b04e0[_0x25f572(0xf8)];s(_0x202fbb,_0x25f572(0x15d),_0x3b9950[_0x25f572(0x17c)]),s(_0x202fbb,_0x25f572(0x186),_0x3b9950[_0x25f572(0x154)]),s(_0x202fbb,_0x25f572(0x16b),_0x3b9950[_0x25f572(0x168)]),s(_0x202fbb,_0x25f572(0x150),_0x3b9950[_0x25f572(0x185)]);}if(_0x2b04e0[_0x25f572(0x170)]&&(s(_0x202fbb,_0x25f572(0x174),_0x2b04e0[_0x25f572(0x170)][_0x25f572(0x155)]),s(_0x202fbb,'allSeriesStyle.label',_0x2b04e0[_0x25f572(0x170)][_0x25f572(0x123)]),s(_0x202fbb,_0x25f572(0x17d),_0x2b04e0[_0x25f572(0x170)]['rightYAxis']),s(_0x202fbb,_0x25f572(0x13e),_0x2b04e0[_0x25f572(0x170)]['point']),s(_0x202fbb,_0x25f572(0x10b),_0x2b04e0[_0x25f572(0x170)][_0x25f572(0x153)])),_0x2b04e0[_0x25f572(0xf9)]&&s(_0x202fbb,_0x25f572(0x126),_0x2b04e0[_0x25f572(0xf9)][_0x25f572(0x10a)]),_0x2b04e0[_0x25f572(0x192)]&&s(_0x202fbb,'theme',_0x2b04e0[_0x25f572(0x192)]),_0x2b04e0[_0x25f572(0x157)]&&s(_0x202fbb,_0x25f572(0x157),_0x2b04e0[_0x25f572(0x157)]),_0x2b04e0['borderColor']&&s(_0x202fbb,'borderColor',_0x2b04e0[_0x25f572(0x128)]),_0x2b04e0[_0x25f572(0x127)]&&s(_0x202fbb,_0x25f572(0x127),_0x2b04e0['gradientFill']),_0x2b04e0['invalidValueType']&&s(_0x202fbb,_0x25f572(0x163),_0x2b04e0[_0x25f572(0x163)]),_0x2b04e0['radar']&&s(_0x202fbb,_0x25f572(0xfa),_0x2b04e0[_0x25f572(0xfa)]),_0x2b04e0['xAxisTitle']){const _0x4710fa=_0x2b04e0[_0x25f572(0x180)];s(_0x202fbb,'titles.xAxisTitle.content',_0x4710fa[_0x25f572(0x138)]),s(_0x202fbb,_0x25f572(0xf5),_0x4710fa[_0x25f572(0x18b)]),s(_0x202fbb,'titles.xAxisTitle.fontSize',_0x4710fa['fontSize']),s(_0x202fbb,_0x25f572(0x116),_0x4710fa['fontColor']),s(_0x202fbb,_0x25f572(0x178),_0x4710fa['fontStyle']),s(_0x202fbb,'titles.xAxisTitle.bold',_0x4710fa[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x122),_0x4710fa[_0x25f572(0x108)]);}if(_0x2b04e0[_0x25f572(0x167)]){const _0x473075=_0x2b04e0[_0x25f572(0x167)];s(_0x202fbb,_0x25f572(0x19f),_0x473075[_0x25f572(0x138)]),s(_0x202fbb,_0x25f572(0x16c),_0x473075[_0x25f572(0x18b)]),s(_0x202fbb,_0x25f572(0x11f),_0x473075[_0x25f572(0x15f)]),s(_0x202fbb,_0x25f572(0x129),_0x473075[_0x25f572(0x156)]),s(_0x202fbb,_0x25f572(0x136),_0x473075[_0x25f572(0x173)]),s(_0x202fbb,'titles.yAxisTitle.bold',_0x473075[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x131),_0x473075[_0x25f572(0x108)]);}if(_0x2b04e0[_0x25f572(0xf2)]){const _0x45c556=_0x2b04e0[_0x25f572(0xf2)];s(_0x202fbb,_0x25f572(0x19a),_0x45c556['content']),s(_0x202fbb,'titles.rightYAxisTitle.font',_0x45c556[_0x25f572(0x18b)]),s(_0x202fbb,'titles.rightYAxisTitle.fontSize',_0x45c556[_0x25f572(0x15f)]),s(_0x202fbb,_0x25f572(0x19e),_0x45c556[_0x25f572(0x156)]),s(_0x202fbb,_0x25f572(0x12a),_0x45c556['fontStyle']),s(_0x202fbb,_0x25f572(0x13d),_0x45c556[_0x25f572(0x14f)]),s(_0x202fbb,_0x25f572(0x114),_0x45c556[_0x25f572(0x108)]);}_0x2b04e0[_0x25f572(0x197)]&&s(_0x202fbb,_0x25f572(0x197),_0x2b04e0[_0x25f572(0x197)]),_0x2b04e0[_0x25f572(0x144)]&&s(_0x202fbb,_0x25f572(0x144),_0x2b04e0[_0x25f572(0x144)]),_0x2b04e0['yRightAxis']&&s(_0x202fbb,_0x25f572(0x1a7),_0x2b04e0[_0x25f572(0x111)]),_0x2b04e0[_0x25f572(0x18c)]&&s(_0x202fbb,_0x25f572(0x18c),_0x2b04e0['seriesStyleMap']);const _0x33688a={'unitId':_0x38de35,'chartModelId':_0x184775};let _0x2e7963=!0x1;if(_0x4ab026!==void 0x0&&(_0x33688a[_0x25f572(0x12e)]=_0x4ab026,_0x2e7963=!0x0),Object[_0x25f572(0x191)](_0x202fbb)[_0x25f572(0x141)]>0x0&&(_0x33688a[_0x25f572(0xff)]=_0x202fbb,_0x2e7963=!0x0),Object[_0x25f572(0x191)](_0x1d4e10)[_0x25f572(0x141)]>0x0&&(_0x33688a[_0x25f572(0x11d)]=_0x1d4e10,_0x2e7963=!0x0),_0x2e7963)return _0x33688a;};class c extends _0x4e461c{constructor(_0x42c9de,_0x5388f9,_0x1c2540,_0x456203,_0x54c86e){const _0x3d7822=_0x33ffe3;super(),n(this,'_workbook'),n(this,'_injector'),n(this,_0x3d7822(0x107)),n(this,'subUnitId'),n(this,_0x3d7822(0xf6)),n(this,_0x3d7822(0x139)),n(this,_0x3d7822(0x1a0)),n(this,'x'),n(this,'y'),n(this,_0x3d7822(0x112)),n(this,_0x3d7822(0x109)),n(this,_0x3d7822(0x12e)),n(this,_0x3d7822(0x15e)),n(this,_0x3d7822(0x177)),(this[_0x3d7822(0x107)]=_0x42c9de,this[_0x3d7822(0x193)]=_0x5388f9,this[_0x3d7822(0x113)]=_0x1c2540,this[_0x3d7822(0x169)]=_0x456203,_0x54c86e&&(this[_0x3d7822(0xf6)]=_0x54c86e));}[_0x33ffe3(0x164)](){const _0x53418e=_0x33ffe3;return this[_0x53418e(0x12e)];}[_0x33ffe3(0x117)](_0x5df99d){const _0x55ada5=_0x33ffe3;if(typeof _0x5df99d==_0x55ada5(0x1a5)){const _0x53d262=_0x3e6b48(_0x5df99d);_0x53d262[_0x55ada5(0xfe)]&&(this[_0x55ada5(0x1a0)]=_0x53d262[_0x55ada5(0xfe)]),this['range']=_0x53d262[_0x55ada5(0x139)];}else this[_0x55ada5(0x139)]=_0x5df99d;return this;}['clearRange'](){const _0x5b8f53=_0x33ffe3;return this[_0x5b8f53(0x139)]=void 0x0,this[_0x5b8f53(0x1a0)]=void 0x0,this;}['setPosition'](_0x5384bf,_0x2d5416,_0x3af215,_0x537862){const _0xd52693=_0x33ffe3,_0x1fe60c=this[_0xd52693(0x169)]['get'](_0x4bdb34)[_0xd52693(0x13f)](this[_0xd52693(0x107)]);if(!_0x1fe60c)throw new Error(_0xd52693(0x1a4));const _0x31b96c=_0x1fe60c[_0xd52693(0x1a2)](_0x21b6c2),_0x264c09=_0x1fe60c['with'](_0x30b7ae),{transform:_0x199c0c}=_0x3cbbea(this['unitId'],this[_0xd52693(0x193)],{'row':_0x5384bf,'column':_0x2d5416,'rowOffset':_0x3af215,'columnOffset':_0x537862},0x1,0x1,_0x31b96c,_0x264c09),_0x4b28c6=_0x199c0c['top'],_0x1ff9f0=_0x199c0c[_0xd52693(0x106)];return this['x']=_0x1ff9f0,this['y']=_0x4b28c6,this;}[_0x33ffe3(0x14b)](_0x17d4f5,_0x4581d8){return this['x']=_0x17d4f5,this['y']=_0x4581d8,this;}[_0x33ffe3(0x147)](_0x3e8b1e){const _0x5c0ccb=_0x33ffe3;return this[_0x5c0ccb(0x12e)]=_0x3e8b1e,this;}[_0x33ffe3(0x146)](_0x2a8f96){return this['width']=_0x2a8f96,this;}['setHeight'](_0x166d2d){const _0x5b9d54=_0x33ffe3;return this[_0x5b9d54(0x109)]=_0x166d2d,this;}[_0x33ffe3(0xfb)](_0x49bfdf,_0xb8cc5d){const _0x437a85=_0x33ffe3;return this[_0x437a85(0x15e)]||(this[_0x437a85(0x15e)]={}),_0x49bfdf===''?(this[_0x437a85(0x15e)]={...this[_0x437a85(0x15e)],..._0xb8cc5d},this):(_0x332f86(this['options'],_0x49bfdf,_0xb8cc5d),this);}[_0x33ffe3(0x162)](_0x591741){const _0x142a13=_0x33ffe3;return this[_0x142a13(0x177)]=_0x591741,this;}[_0x33ffe3(0x14d)](_0x2283d1){const _0x237bd5=_0x33ffe3;return this[_0x237bd5(0xfb)]('theme',_0x2283d1),this;}['setXAxisTitle'](_0x3538f5){const _0x30a149=_0x33ffe3;var _0xc42cd4;const _0x51d95e=((_0xc42cd4=this[_0x30a149(0x15e)])==null?void 0x0:_0xc42cd4[_0x30a149(0x180)])||{};return _0x51d95e['content']=_0x3538f5,this['setOptions'](_0x30a149(0x180),_0x51d95e),this;}['setYAxisTitle'](_0x315d2a){const _0x28e000=_0x33ffe3;var _0xab8ec2;const _0x483fb9=((_0xab8ec2=this['options'])==null?void 0x0:_0xab8ec2[_0x28e000(0x167)])||{};return _0x483fb9[_0x28e000(0x138)]=_0x315d2a,this[_0x28e000(0xfb)](_0x28e000(0x167),_0x483fb9),this;}['setRightYAxisTitle'](_0xdc2c33){const _0x4dc621=_0x33ffe3;var _0x3cf560;const _0x98ac9a=((_0x3cf560=this[_0x4dc621(0x15e)])==null?void 0x0:_0x3cf560[_0x4dc621(0xf2)])||{};return _0x98ac9a[_0x4dc621(0x138)]=_0xdc2c33,this[_0x4dc621(0xfb)](_0x4dc621(0xf2),_0x98ac9a),this;}[_0x33ffe3(0x198)](_0x3322b6){const _0x5b3a6a=_0x33ffe3;var _0x3f7b2c;const _0x3c887b=((_0x3f7b2c=this[_0x5b3a6a(0x15e)])==null?void 0x0:_0x3f7b2c[_0x5b3a6a(0x180)])||{};return this[_0x5b3a6a(0xfb)](_0x5b3a6a(0x180),{..._0x3c887b,..._0x3322b6}),this;}[_0x33ffe3(0x132)](_0x56c07d){const _0xbfd616=_0x33ffe3;var _0x429c11;const _0x1c0fc=((_0x429c11=this[_0xbfd616(0x15e)])==null?void 0x0:_0x429c11[_0xbfd616(0x167)])||{};return this[_0xbfd616(0xfb)]('yAxisTitle',{..._0x1c0fc,..._0x56c07d}),this;}[_0x33ffe3(0x152)](_0x25b5f6){const _0x3e6b01=_0x33ffe3;var _0x3afa18;const _0x3b16ef=((_0x3afa18=this[_0x3e6b01(0x15e)])==null?void 0x0:_0x3afa18[_0x3e6b01(0xf2)])||{};return this['setOptions'](_0x3e6b01(0xf2),{..._0x3b16ef,..._0x25b5f6}),this;}[_0x33ffe3(0x142)](_0x2a24f1){const _0x5dd007=_0x33ffe3;return this['setOptions'](_0x5dd007(0x163),_0x2a24f1),this;}['setAxisPointerStyle'](_0x27c8e4){const _0x16b800=_0x33ffe3;return this[_0x16b800(0xfb)](_0x16b800(0xf8),_0x27c8e4),this;}[_0x33ffe3(0x18d)](_0xd625ec){const _0x11f2da=_0x33ffe3;return this[_0x11f2da(0xfb)]('allSeriesStyle',_0xd625ec),this;}[_0x33ffe3(0x166)](_0x1227c2,_0x463e5c){return this['setOptions']('seriesStyleMap',{[_0x1227c2]:_0x463e5c}),this;}[_0x33ffe3(0x19d)](){const _0x177113=_0x33ffe3;return{'unitId':this[_0x177113(0x107)],'subUnitId':this[_0x177113(0x193)],'chartId':this[_0x177113(0xf6)],'range':this[_0x177113(0x139)],'sourceSheetName':this['sourceSheetName'],'x':this['x'],'y':this['y'],'width':this[_0x177113(0x112)],'height':this[_0x177113(0x109)],'chartType':this['chartType'],'options':this[_0x177113(0x15e)],'isRowDirection':this[_0x177113(0x177)]};}}class P{constructor(_0x5658aa,_0x409016,_0x42ba2b,_0x33e213){const _0x315d93=_0x33ffe3;n(this,_0x315d93(0x107)),n(this,_0x315d93(0x193)),n(this,_0x315d93(0xf6)),n(this,_0x315d93(0x169)),(this[_0x315d93(0x107)]=_0x5658aa,this['subUnitId']=_0x409016,this[_0x315d93(0xf6)]=_0x42ba2b,this[_0x315d93(0x169)]=_0x33e213);}[_0x33ffe3(0x160)](){return this['chartId'];}['getRange'](){const _0x2f15ef=_0x33ffe3,_0x76a440=this[_0x2f15ef(0x169)][_0x2f15ef(0x18f)](_0x1b1ce6)[_0x2f15ef(0x17e)](this[_0x2f15ef(0xf6)]);if(_0x76a440)return _0x76a440['dataSource'][_0x2f15ef(0x11b)]();}[_0x33ffe3(0x176)](_0x54dded){const _0x3322df=_0x33ffe3;return this['_injector'][_0x3322df(0x18f)](_0x54d66c)['executeCommand'](_0x8570cf['id'],{'unitId':this[_0x3322df(0x107)],'chartModelId':this[_0x3322df(0xf6)],'range':_0x54dded});}['getSeriesData'](){const _0x33f8b9=_0x33ffe3;var _0x2f927f;const _0x3f4cf9=this[_0x33f8b9(0x169)][_0x33f8b9(0x18f)](_0x1b1ce6)['getChartModel'](this['chartId']);if(_0x3f4cf9)return(_0x2f927f=_0x3f4cf9[_0x33f8b9(0x119)])==null?void 0x0:_0x2f927f['series'];}['getCategoryData'](){const _0x3aa547=_0x33ffe3;var _0x10ad78;const _0x3a1236=this['_injector'][_0x3aa547(0x18f)](_0x1b1ce6)['getChartModel'](this[_0x3aa547(0xf6)]);if(_0x3a1236)return(_0x10ad78=_0x3a1236[_0x3aa547(0x119)])==null?void 0x0:_0x10ad78[_0x3aa547(0x104)];}[_0x33ffe3(0x130)](){const _0x3c458f=_0x33ffe3,_0x254005=this[_0x3c458f(0x169)]['get'](_0x753bd0)[_0x3c458f(0x15b)](_0x2a2f03['UNIVER_SHEET']);return new c(this['unitId'],this['subUnitId'],_0x254005,this[_0x3c458f(0x169)],this[_0x3c458f(0xf6)]);}}class $ extends _0x12336d{async['insertChart'](_0x10016d){const _0x481bc8=_0x33ffe3;var _0x34e85a,_0x192bf1,_0x1d2ffe;const _0xf9b8cc=_0x10016d['unitId']||this['getWorkbook']()[_0x481bc8(0x121)](),_0x14c309=_0x10016d[_0x481bc8(0x193)]||this[_0x481bc8(0x120)](),_0x4243c3=_0x10016d[_0x481bc8(0xf6)]||_0xf54723(),_0x48279f=_0x10016d[_0x481bc8(0x12e)],_0x4e37f7=_0x10016d[_0x481bc8(0x139)],_0x49b2f1=_0x10016d[_0x481bc8(0x1a0)],_0xd85ebb={'x':_0x10016d['x'],'y':_0x10016d['y']},_0x11365c=_0x10016d[_0x481bc8(0x112)],_0x3d3d69=_0x10016d[_0x481bc8(0x109)],_0x2a37e0=(_0x34e85a=_0x10016d[_0x481bc8(0x15e)])==null?void 0x0:_0x34e85a[_0x481bc8(0x157)],_0x380c15=(_0x192bf1=_0x10016d[_0x481bc8(0x15e)])==null?void 0x0:_0x192bf1[_0x481bc8(0x128)],_0x4068d3=C(_0xf9b8cc,_0x4243c3,_0x48279f,_0x10016d[_0x481bc8(0x15e)]),_0x239110=(_0x1d2ffe=_0x10016d[_0x481bc8(0x11a)])!=null?_0x1d2ffe:!0x0;if(!_0x4e37f7)throw new Error(_0x481bc8(0x13a));return await this[_0x481bc8(0x15c)][_0x481bc8(0x175)](_0x3570fb['id'],{'unitId':_0xf9b8cc,'subUnitId':_0x14c309,'chartId':_0x4243c3,'chartType':_0x48279f,'range':_0x4e37f7,'sourceSheetName':_0x49b2f1,'position':_0xd85ebb,'width':_0x11365c,'height':_0x3d3d69,'backgroundColor':_0x2a37e0,'borderColor':_0x380c15,'config':_0x4068d3,'isRowDirection':_0x239110}),new P(_0xf9b8cc,_0x14c309,_0x4243c3,this[_0x481bc8(0x169)]);}[_0x33ffe3(0x17a)](_0x1f8bcc){const _0xa9e1f4=_0x33ffe3,{unitId:_0x2eda55,chartId:_0x36647c,chartType:_0x7874a4,options:_0x2f7597}=_0x1f8bcc,_0x5ec09e=C(_0x2eda55,_0x36647c,_0x7874a4,_0x2f7597);this['_commandService'][_0xa9e1f4(0x175)](_0x56eb18['id'],_0x5ec09e);}[_0x33ffe3(0x16e)](_0x3d9249){const _0x440d3b=_0x33ffe3;if(_0x3d9249)return new c(_0x3d9249[_0x440d3b(0x107)],_0x3d9249[_0x440d3b(0x193)],this['_workbook'],this[_0x440d3b(0x169)],_0x3d9249['chartId']);const _0x297292=this[_0x440d3b(0x11c)]()[_0x440d3b(0x121)](),_0x4cd9d0=this[_0x440d3b(0x120)]();return new c(_0x297292,_0x4cd9d0,this[_0x440d3b(0x113)],this[_0x440d3b(0x169)]);}['getCharts'](){const _0x13f2bf=_0x33ffe3,_0x4e6f51=this[_0x13f2bf(0x169)][_0x13f2bf(0x18f)](_0x1b1ce6),_0x2ff3fe=this[_0x13f2bf(0x11c)]()[_0x13f2bf(0x121)]();return _0x4e6f51[_0x13f2bf(0x12d)](_0x2ff3fe,this[_0x13f2bf(0x120)]())[_0x13f2bf(0x10f)](_0x13af29=>new P(_0x2ff3fe,this[_0x13f2bf(0x120)](),_0x13af29['id'],this['_injector']));}[_0x33ffe3(0x188)](_0x91bb8d){const _0x32bc1=_0x33ffe3,_0xd40fa6=_0x91bb8d['unitId'],_0x316e8a=_0x91bb8d[_0x32bc1(0x193)],_0x48d373=_0x91bb8d[_0x32bc1(0xf6)],_0xa8057a={'unitId':_0xd40fa6,'drawings':[{'unitId':_0xd40fa6,'subUnitId':_0x316e8a,'drawingId':_0x48d373,'drawingType':_0x4b5aca[_0x32bc1(0x1a6)]}]};return this['_commandService'][_0x32bc1(0x175)](_0x424cde['id'],_0xa8057a);}['registerChartTheme'](_0x3a549b,_0x470391){const _0x45c439=_0x33ffe3;this['_injector'][_0x45c439(0x18f)](_0x748635)['registerTheme'](_0x3a549b,_0x470391);}}function _0x49af(){const _0x4bbb62=['pie.rosePie','with','pie.isHalfPie','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','string','DRAWING_CHART','rightYAxis','3622xnRtAI','RadarShape','rightYAxisTitle','legend.label.color','dataPointSize','titles.xAxisTitle.font','chartId','setIsHalfPie','axisPointer','area','radar','setOptions','1685240yTiFqR','dataPointColor','sheetName','style','setDataPointColor','fill','doughnutHole','selectMode','category','legend','left','unitId','axisAlignment','height','lineStyle','allSeriesStyle.color','setDoughnutHole','setBorderColor','legend.selectMode','map','pie.showLabelLine','yRightAxis','width','_workbook','rightYAxis.label.axisTitleAlign','shape','titles.xAxisTitle.color','addRange','859527liuFjD','config','isRowDirection','getRangeInfo','getWorkbook','context','isHalfPie','titles.yAxisTitle.fontSize','getSheetId','getUnitId','xAxis.label.axisTitleAlign','label','radar.fill','setLineStyle','area.lineStyle','gradientFill','borderColor','titles.yAxisTitle.color','titles.rightYAxisTitle.family','titles.title.font','extend','getUnitChartModels','chartType','titles.title.align','modify','yAxis.label.axisTitleAlign','setYAxisTextStyle','ChartType','setFill','titles.titlePosition','titles.yAxisTitle.family','title','content','range','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','LegendPositionEnum','titles.title.content','titles.rightYAxisTitle.bold','allSeriesStyle.point','getRenderById','italic','length','setInvalidValueStrategy','legend.label.bold','yAxis','Pie','setWidth','setChartType','2116050VqjXVI','pie.borderColor','titles.title.fontSize','setAbsolutePosition','titles.title.color','setTheme','126jZXSUK','bold','tooltip.indicatorLabelTextColor','ChartBorderDashType','setRightYAxisTextStyle','color','indicatorLineType','border','fontColor','backgroundColor','Line','AxisAlignEnum','allSeriesStyle.point.shape','getCurrentUnitForType','_commandService','tooltip.indicatorLabelColor','options','fontSize','getChartId','dataPointShape','setTransposeRowsAndColumns','invalidValueType','getChartType','showLabelLine','setSeriesStyle','yAxisTitle','indicatorLineColor','_injector','pie','tooltip.indicatorLineColor','titles.yAxisTitle.font','legend.label.italic','newChart','TitlePositionEnum','allSeriesStyle','213guRoDT','LinePointShape','fontStyle','allSeriesStyle.border','executeCommand','updateRange','transposeRowsAndColumns','titles.xAxisTitle.family','setShape','updateChart','setRosePie','indicatorLabelColor','allSeriesStyle.rightYAxis','getChartModel','legend.position','xAxisTitle','Radar','setShowLabelLine','SelectModeEnum','1879964GWgtQJ','indicatorLabelTextColor','tooltip.indicatorLineType','symbol','removeChart','position','580158zNBhjG','font','seriesStyleMap','setAllSeriesStyle','hasPaddingAngle','get','legend.label.fontSize','keys','theme','subUnitId','124596cvkrSl','titles.title.bold','pie.hasPaddingAngle','xAxis','setXAxisTextStyle','titleAlignment','titles.rightYAxisTitle.content','allSeriesStyle.point.color','rosePie','build','titles.rightYAxisTitle.color','titles.yAxisTitle.content','sourceSheetName'];_0x49af=function(){return _0x4bbb62;};return _0x49af();}_0x12336d[_0x33ffe3(0x12c)]($);class tt extends _0xa32d67{get[_0x33ffe3(0x133)](){return _0x4727ed;}get[_0x33ffe3(0x13b)](){return _0x2b1829;}get[_0x33ffe3(0x183)](){return _0x59036c;}get[_0x33ffe3(0x159)](){return _0x370ec4;}get[_0x33ffe3(0x151)](){return _0x5bd0ee;}get[_0x33ffe3(0x172)](){return _0x2a0de1;}get[_0x33ffe3(0x16f)](){return _0x1c9c3a;}get[_0x33ffe3(0x1a9)](){return _0x566da4;}}_0xa32d67['extend'](tt);class et extends c{constructor(_0x3cd34f,_0x4cc9b7,_0x198bab,_0x2d347e,_0x2f6d7d){const _0x4ca72e=_0x33ffe3;super(_0x3cd34f,_0x4cc9b7,_0x198bab,_0x2d347e,_0x2f6d7d),n(this,_0x4ca72e(0x10a)),n(this,_0x4ca72e(0x161)),n(this,_0x4ca72e(0xfd)),n(this,_0x4ca72e(0xf4));}[_0x33ffe3(0x125)](_0x3046f0){const _0x5b2b18=_0x33ffe3;return this[_0x5b2b18(0x10a)]=_0x3046f0,this;}['setDataPointShape'](_0x548c33){const _0x52dbdf=_0x33ffe3;return this[_0x52dbdf(0x161)]=_0x548c33,this;}[_0x33ffe3(0x100)](_0x43173e){return this['dataPointColor']=_0x43173e,this;}['setDataPointSize'](_0x31d490){return this['dataPointSize']=_0x31d490,this;}[_0x33ffe3(0x19d)](){const _0x997242=_0x33ffe3,_0xbbfe6b=super[_0x997242(0x19d)]();_0xbbfe6b[_0x997242(0x12e)]=_0x4727ed[_0x997242(0x158)];const _0xd843f1=_0xbbfe6b[_0x997242(0x15e)]||{};return s(_0xd843f1,_0x997242(0x126),this[_0x997242(0x10a)]),s(_0xd843f1,_0x997242(0x15a),this[_0x997242(0x161)]),s(_0xd843f1,_0x997242(0x19b),this[_0x997242(0xfd)]),s(_0xd843f1,'allSeriesStyle.point.size',this['dataPointSize']),_0xbbfe6b['options']=_0xd843f1,_0xbbfe6b;}}class it extends c{['asLineChart'](){const _0x14047e=_0x33ffe3;return new et(this['unitId'],this[_0x14047e(0x193)],this['_workbook'],this[_0x14047e(0x169)],this['chartId']);}}c[_0x33ffe3(0x12c)](it);class st extends c{constructor(_0x8188b0,_0x48124f,_0x4822d9,_0x1e4b80,_0x4b07f8){const _0x4d6d7c=_0x33ffe3;super(_0x8188b0,_0x48124f,_0x4822d9,_0x1e4b80,_0x4b07f8),n(this,_0x4d6d7c(0x102)),n(this,_0x4d6d7c(0x128)),n(this,_0x4d6d7c(0x18e)),n(this,_0x4d6d7c(0x11e)),n(this,_0x4d6d7c(0x19c)),n(this,'showLabelLine');}[_0x33ffe3(0x10c)](_0x45c4cd){return this['doughnutHole']=_0x45c4cd,this;}[_0x33ffe3(0x10d)](_0x18fba1){const _0x5ba8b4=_0x33ffe3;return this[_0x5ba8b4(0x128)]=_0x18fba1,this;}['setHasPaddingAngle'](_0x58731b){const _0x2bd9e7=_0x33ffe3;return this[_0x2bd9e7(0x18e)]=_0x58731b,this;}[_0x33ffe3(0xf7)](_0x530896){return this['isHalfPie']=_0x530896,this;}[_0x33ffe3(0x17b)](_0x5857e3){const _0x4fd7b4=_0x33ffe3;return this[_0x4fd7b4(0x19c)]=_0x5857e3,this;}[_0x33ffe3(0x182)](_0xe5fd78){return this['showLabelLine']=_0xe5fd78,this;}[_0x33ffe3(0x19d)](){const _0x7a0bbf=_0x33ffe3,_0x5d0064=super[_0x7a0bbf(0x19d)]();_0x5d0064[_0x7a0bbf(0x12e)]=_0x4727ed[_0x7a0bbf(0x145)];const _0xe8646f=_0x5d0064['options']||{};return s(_0xe8646f,'pie.doughnutHole',this[_0x7a0bbf(0x102)]),s(_0xe8646f,'pie.borderColor',this[_0x7a0bbf(0x128)]),s(_0xe8646f,_0x7a0bbf(0x196),this['hasPaddingAngle']),s(_0xe8646f,_0x7a0bbf(0x1a3),this[_0x7a0bbf(0x11e)]),s(_0xe8646f,_0x7a0bbf(0x1a1),this[_0x7a0bbf(0x19c)]),s(_0xe8646f,_0x7a0bbf(0x110),this[_0x7a0bbf(0x165)]),_0x5d0064[_0x7a0bbf(0x15e)]=_0xe8646f,_0x5d0064;}}class rt extends c{['asPieChart'](){return new st(this['unitId'],this['subUnitId'],this['_workbook'],this['_injector'],this['chartId']);}}function _0x3f70(_0x207e4a,_0x48031a){_0x207e4a=_0x207e4a-0xf2;const _0x49aff0=_0x49af();let _0x3f7061=_0x49aff0[_0x207e4a];return _0x3f7061;}c[_0x33ffe3(0x12c)](rt);class ot extends c{constructor(_0x515e8c,_0x3c7c1c,_0x2dabda,_0x23a575,_0x3221ba){const _0x35586d=_0x33ffe3;super(_0x515e8c,_0x3c7c1c,_0x2dabda,_0x23a575,_0x3221ba),n(this,_0x35586d(0x115)),n(this,'fill');}[_0x33ffe3(0x179)](_0x44a064){const _0x5ee493=_0x33ffe3;return this[_0x5ee493(0x115)]=_0x44a064,this;}[_0x33ffe3(0x134)](_0x40f53a){const _0x3801a8=_0x33ffe3;return this[_0x3801a8(0x101)]=_0x40f53a,this;}['build'](){const _0x2f132d=_0x33ffe3,_0x252260=super[_0x2f132d(0x19d)]();_0x252260[_0x2f132d(0x12e)]=_0x4727ed[_0x2f132d(0x181)];const _0x3ecaef=_0x252260[_0x2f132d(0x15e)]||{};return s(_0x3ecaef,'radar.shape',this[_0x2f132d(0x115)]),s(_0x3ecaef,_0x2f132d(0x124),this[_0x2f132d(0x101)]),_0x252260['options']=_0x3ecaef,_0x252260;}}class nt extends c{['asRadarChart'](){const _0x5184d9=_0x33ffe3;return new ot(this[_0x5184d9(0x107)],this['subUnitId'],this[_0x5184d9(0x113)],this[_0x5184d9(0x169)],this[_0x5184d9(0xf6)]);}}c[_0x33ffe3(0x12c)](nt);export{P as FChart,c as FChartBuilderBase,et as LineChartBuilder,st as PieChartBuilder,ot as RadarChartBuilder};
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- .univer-absolute{position:absolute}.univer-relative{position:relative}.univer-right-2{right:.5rem}.univer-top-2{top:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-2{margin-top:.5rem;margin-bottom:.5rem}.univer-mb-2{margin-bottom:.5rem}.univer-mb-4{margin-bottom:1rem}.univer-ml-1{margin-left:.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-mr-2{margin-right:.5rem}.univer-mr-5{margin-right:1.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-2{margin-top:.5rem}.univer-mt-2\.5{margin-top:.625rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-1{height:.25rem}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[26px\]{height:26px}.univer-h-full{height:100%}.univer-w-1\/2{width:50%}.univer-w-\[136px\]{width:136px}.univer-w-\[208px\]{width:208px}.univer-w-\[290px\]{width:290px}.univer-w-\[var\(--radix-popper-anchor-width\)\]{width:var(--radix-popper-anchor-width)}.univer-w-fit{width:-moz-fit-content;width:fit-content}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-flex-1{flex:1 1 0%}.univer-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-rotate-180{--univer-tw-rotate: 180deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(180deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-cursor-default{cursor:default}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-2{gap:.5rem}.univer-gap-2\.5{gap:.625rem}.univer-gap-3{gap:.75rem}.univer-gap-4{gap:1rem}.univer-justify-self-end{justify-self:end}.univer-overflow-auto{overflow:auto}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-rounded-sm{border-radius:.125rem}.univer-rounded-xl{border-radius:.75rem}.univer-border{border-width:1px}.univer-border-b{border-bottom-width:1px}.univer-border-solid{border-style:solid}.univer-border-gray-200{border-color:var(--univer-gray-200)}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-bg-transparent{background-color:transparent}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-4{padding-top:1rem;padding-bottom:1rem}.univer-pb-2\.5{padding-bottom:.625rem}.univer-pb-3{padding-bottom:.75rem}.univer-text-center{text-align:center}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-font-semibold{font-weight:600}.univer-leading-4{line-height:1rem}.univer-leading-5{line-height:1.25rem}.univer-leading-6{line-height:1.5rem}.univer-leading-8{line-height:2rem}.univer-leading-tight{line-height:1.25}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.univer-duration-300{transition-duration:.3s}.placeholder\:univer-text-gray-400::-moz-placeholder{color:var(--univer-gray-400)}.placeholder\:univer-text-gray-400::placeholder{color:var(--univer-gray-400)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.focus\:univer-border-primary-500:focus{border-color:var(--univer-primary-500)}.focus\:univer-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:univer-ring-2:focus{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 rgba(0,0,0,0))}.focus\:univer-ring-primary-50:focus{--univer-tw-ring-color: var(--univer-primary-50) }.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-100:where(.univer-dark,.univer-dark *){color:var(--univer-gray-100)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:\!univer-shadow-none:where(.univer-dark,.univer-dark *){--univer-tw-shadow: 0 0 rgba(0,0,0,0) !important;--univer-tw-shadow-colored: 0 0 rgba(0,0,0,0) !important;box-shadow:0 0 #0000,0 0 #0000,0 0 #0000!important;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}
1
+ .univer-absolute{position:absolute}.univer-relative{position:relative}.univer-right-2{right:.5rem}.univer-top-2{top:.5rem}.univer-mx-auto{margin-left:auto;margin-right:auto}.univer-my-2{margin-top:.5rem;margin-bottom:.5rem}.univer-mb-2{margin-bottom:.5rem}.univer-mb-4{margin-bottom:1rem}.univer-ml-1{margin-left:.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-mr-2{margin-right:.5rem}.univer-mr-5{margin-right:1.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-2{margin-top:.5rem}.univer-mt-2\.5{margin-top:.625rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-size-full{width:100%;height:100%}.univer-h-1{height:.25rem}.univer-h-4{height:1rem}.univer-h-5{height:1.25rem}.univer-h-6{height:1.5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[26px\]{height:26px}.univer-w-1\/2{width:50%}.univer-w-\[--radix-popper-anchor-width\]{width:var(--radix-popper-anchor-width)}.univer-w-\[136px\]{width:136px}.univer-w-\[208px\]{width:208px}.univer-w-\[290px\]{width:290px}.univer-w-fit{width:-moz-fit-content;width:fit-content}.univer-w-full{width:100%}.\!univer-min-w-0{min-width:0px!important}.univer-flex-1{flex:1 1 0%}.univer-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-rotate-180{--univer-tw-rotate: 180deg;transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(180deg) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));transform:translate(var(--univer-tw-translate-x),var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skew(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y))}.univer-cursor-default{cursor:default}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-2{gap:.5rem}.univer-gap-2\.5{gap:.625rem}.univer-gap-3{gap:.75rem}.univer-gap-4{gap:1rem}.univer-justify-self-end{justify-self:end}.univer-overflow-auto{overflow:auto}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-rounded-sm{border-radius:.125rem}.univer-rounded-xl{border-radius:.75rem}.univer-border{border-width:1px}.univer-border-b{border-bottom-width:1px}.univer-border-solid{border-style:solid}.univer-border-gray-200{border-color:var(--univer-gray-200)}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-bg-transparent{background-color:transparent}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-p-3{padding:.75rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-4{padding-top:1rem;padding-bottom:1rem}.univer-pb-2\.5{padding-bottom:.625rem}.univer-pb-3{padding-bottom:.75rem}.univer-text-center{text-align:center}.univer-text-2xl{font-size:1.5rem;line-height:2rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-font-semibold{font-weight:600}.univer-leading-4{line-height:1rem}.univer-leading-5{line-height:1.25rem}.univer-leading-6{line-height:1.5rem}.univer-leading-8{line-height:2rem}.univer-leading-tight{line-height:1.25}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.univer-duration-300{transition-duration:.3s}.placeholder\:univer-text-gray-400::-moz-placeholder{color:var(--univer-gray-400)}.placeholder\:univer-text-gray-400::placeholder{color:var(--univer-gray-400)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.focus\:univer-border-primary-500:focus{border-color:var(--univer-primary-500)}.focus\:univer-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:univer-ring-2:focus{--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),0 0 #0000;box-shadow:var(--univer-tw-ring-offset-shadow),var(--univer-tw-ring-shadow),var(--univer-tw-shadow, 0 0 rgba(0,0,0,0))}.focus\:univer-ring-primary-50:focus{--univer-tw-ring-color: var(--univer-primary-50) }.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-100:where(.univer-dark,.univer-dark *){color:var(--univer-gray-100)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:\!univer-shadow-none:where(.univer-dark,.univer-dark *){--univer-tw-shadow: 0 0 rgba(0,0,0,0) !important;--univer-tw-shadow-colored: 0 0 rgba(0,0,0,0) !important;box-shadow:0 0 #0000,0 0 #0000,0 0 #0000!important;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}