@univerjs-pro/sheets-chart-ui 0.9.0 → 0.9.1-nightly.202507051607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3d9108=_0x7837;(function(_0x1a7e13,_0x51206f){const _0x5c5abc=_0x7837,_0x104a5b=_0x1a7e13();while(!![]){try{const _0x2889f2=-parseInt(_0x5c5abc(0x105))/0x1*(-parseInt(_0x5c5abc(0xe3))/0x2)+parseInt(_0x5c5abc(0xc9))/0x3*(parseInt(_0x5c5abc(0x143))/0x4)+-parseInt(_0x5c5abc(0x138))/0x5*(parseInt(_0x5c5abc(0x13b))/0x6)+-parseInt(_0x5c5abc(0x137))/0x7*(parseInt(_0x5c5abc(0xd3))/0x8)+-parseInt(_0x5c5abc(0x100))/0x9+-parseInt(_0x5c5abc(0xfc))/0xa*(-parseInt(_0x5c5abc(0xf1))/0xb)+parseInt(_0x5c5abc(0x145))/0xc;if(_0x2889f2===_0x51206f)break;else _0x104a5b['push'](_0x104a5b['shift']());}catch(_0x392e75){_0x104a5b['push'](_0x104a5b['shift']());}}}(_0x460d,0xb9d1f));function _0x7837(_0x45200b,_0x776f7e){const _0x460d25=_0x460d();return _0x7837=function(_0x7837c,_0x12cefd){_0x7837c=_0x7837c-0xba;let _0x39e13f=_0x460d25[_0x7837c];return _0x39e13f;},_0x7837(_0x45200b,_0x776f7e);}function _0x460d(){const _0x500e99=['14956aFCbOe','空心钉形','数据点','使用右轴','渐变填充','常规格式不包含任何特定的数字格式。','字段设置','圆环孔','移动平均周期','显示轴线','开启选中淡入特效','主题色','趋势线名称','股票图','堆叠条形图','添加数据点','添加系列','图表和轴标题','散点图','背景颜色','使用绝对值','指示线类型','会计数字格式可对一列数值进行货币符号和小数点对齐。','负数类型','趋势线粗细','{0}透明度','{0}形状','空心箭头','显示R平方','标题位置','空心三角形','力导向','空心矩形','瀑布图','正值图例文本','轴标题对齐','横轴标题','网格线和刻度线','趋势线类型','日期轴仅在数据全部为日期格式时可用','趋势线线类型','添加趋势线','图表标题','删除图表','百分比堆叠面积图','百分比堆叠条形图','系列\x20{0}','旋转标签','逆序轴','词云图','21Iozkpa','365MPwDvY','气泡图至少需要3列,X轴、Y轴和气泡大小。','图表样式','21858Qacrim','{0}颜色','标题文本','空单元格显示为','布局类型','面积图','圆角矩形','关系图','3264XaCYmH','空心圆形','12676464pvGLLt','力导向选项','(空)','环形图','轴选项','数据标签','小计样式','标签文本','纵轴标题','切换行列','空心圆角矩形','显示标签','负值样式','左对齐','插入图表','标签旋转','3615bgbIrR','漏斗图','趋势线颜色','标签颜色','刻度线长度','自定义样式','多边形','{0}大小','小计图例文本','折线图','3761448XWwFCN','多项式阶数','图表类型','货币类型','{0}类型','数据点样式','日期格式将日期和时间系列数值品示为日期值。','正方形','格式类型','负值图例文本','副标题','堆叠方式','日期类型','{0}粗细','柱状图','使用日期轴','46cHQRdm','扇形间距','正值样式','主网格线','累积占比','{0}格式','使用值作为节点大小','文本颜色','右纵轴','多项式','显示小计','请先添加系列开始数据可视化','趋势线','显示公式','891GhxOXZ','显示数据标签','节点距离','主刻度线','累积占比系列','空心正方形','玫瑰图','移动平均','柱状图系列','隐藏图表面板','指示线','117870fFgbps','标题格式','更多设置','类型与数据','8107074tAwVKR','空心菱形','图表边框颜色','图表数据源必须包含多于1行和1列。','指示线颜色'];_0x460d=function(){return _0x500e99;};return _0x460d();}const e={'chart':{'insertChart':_0x3d9108(0xc7),'editChart':'图表','openChartPanel':'打开图表面板','deleteChart':_0x3d9108(0x130),'hideChartPanel':_0x3d9108(0xfa),'setupChart':_0x3d9108(0xff),'customChart':_0x3d9108(0xce),'default':'默认','reset':'重置','chartType':_0x3d9108(0xd5),'themes':_0x3d9108(0x110),'dataRange':'数据范围','stack':'堆叠','category':'类别','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x3d9108(0x115),'moreSettings':_0x3d9108(0xfe),'min':'最小值','max':'最大值','invalidType':{'gaps':'空','zero':'零','connectDataPointsWithStraightLines':'用直线连接数据点'},'blank':_0x3d9108(0xbb),'seriesBlock':{'format':'格式','dataPointStyle':_0x3d9108(0xd8)},'backgroundColor':_0x3d9108(0x118),'chartBorderColor':_0x3d9108(0x102),'titles':{'title':'标题','mainTitle':_0x3d9108(0x12f),'subTitle':_0x3d9108(0xdd),'xAxisTitle':_0x3d9108(0x129),'yAxisTitle':_0x3d9108(0xc1),'rightYAxisTitle':'右纵轴标题','titleFormat':_0x3d9108(0xfd),'titleText':_0x3d9108(0x13d),'titlePosition':_0x3d9108(0x122),'titleAlign':_0x3d9108(0x128)},'axisPositionType':{'start':'开始','center':'中间','end':'结束'},'gradientFill':_0x3d9108(0x109),'settingsLabels':{'switchToRowOrColumn':_0x3d9108(0xc2),'useAsCategoryLabels':'将\x20{0}\x20作为类别','showEmptyCellsAs':_0x3d9108(0x13e)},'positionType':{'auto':'自动','inside':'内部','outside':'外部','top':'顶部','bottom':'底部','left':'左侧','right':'右侧','hide':'隐藏'},'align':{'left':_0x3d9108(0xc6),'center':'居中','right':'右对齐'},'alignY':{'top':'顶部','middle':'居中','bottom':'底部'},'chartStyle':_0x3d9108(0x13a),'chartAndAxisTitles':_0x3d9108(0x116),'legend':'图例','legendSelectMode':'图例选择模式','legendSelectModeType':{'single':'单选','multiple':'多选','close':'关闭'},'axes':{'axis':'轴','axisOptions':_0x3d9108(0xbd),'horizontalAxis':'横轴','verticalAxis':'纵轴','rightVerticalAxis':_0x3d9108(0xeb),'leftAxis':'左轴','rightAxis':'右轴','useRightAxis':_0x3d9108(0x108)},'position':'位置','dataLabels':_0x3d9108(0xbe),'gridlinesAndTicks':_0x3d9108(0x12a),'indicatorLine':_0x3d9108(0xfb),'indicatorLineType':_0x3d9108(0x11a),'indicatorLineColor':_0x3d9108(0x104),'indicatorLabel':_0x3d9108(0xcc),'indicatorValue':_0x3d9108(0xea),'shape':{'polygon':_0x3d9108(0xcf),'circle':'圆形','square':_0x3d9108(0xda),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x3d9108(0x141),'pin':'钉形','arrow':'箭头','none':'无','emptyCircle':_0x3d9108(0x144),'emptySquare':_0x3d9108(0xf6),'emptyTriangle':_0x3d9108(0x123),'emptyDiamond':_0x3d9108(0x101),'emptyRect':_0x3d9108(0x125),'emptyRoundRect':_0x3d9108(0xc3),'emptyPin':_0x3d9108(0x106),'emptyArrow':_0x3d9108(0x120)},'border':'边框','value':'值','fill':'填充','line':'线条','withOpacity':_0x3d9108(0x11e),'withColor':_0x3d9108(0x13c),'withThickness':_0x3d9108(0xe0),'withType':_0x3d9108(0xd7),'withSize':_0x3d9108(0xd0),'withShape':_0x3d9108(0x11f),'withFormat':_0x3d9108(0xe8),'dataPoint':_0x3d9108(0x107),'addDataPoint':_0x3d9108(0x114),'point':_0x3d9108(0x107),'percentage':'百分比','lineType':{'line':'折线','smooth':'平滑','step':'阶梯'},'stackType':{'stack':'堆叠','percent':'百分比堆叠'},'lineDashType':'线类型','dashType':{'solid':'实线','dash':'虚线','dot':'点线'},'color':'颜色','gridlines':{'majorGridlines':_0x3d9108(0xe6),'text':'网格线'},'ticks':{'majorTick':_0x3d9108(0xf4),'tickPosition':'刻度线位置','tickLength':_0x3d9108(0xcd)},'none':'无','theIndexItem':'第{0}项','seriesDefaultName':_0x3d9108(0x133),'categoryDefaultName':'类别\x20{0}','styleEditPanel':{'showLabels':_0x3d9108(0xc4),'showDataLabels':_0x3d9108(0xf2),'padAngle':_0x3d9108(0xe4),'halfPie':'半饼','rosePie':_0x3d9108(0xf7),'showLabelLine':'显示标签线','reverseAxisOrder':_0x3d9108(0x135),'showAxisLine':_0x3d9108(0x10e),'labelPosition':'标签位置','labelText':_0x3d9108(0xc0),'repeatWordCould':'重复词云标签','gap':'间隔','useAbsValue':_0x3d9108(0x119),'labelRotate':_0x3d9108(0xc8),'wordCloudShape':'词云形状','useDateAxis':_0x3d9108(0xe2),'dateAxisTips':_0x3d9108(0x12c)},'radar':{'fill':'填充'},'doughnutHole':_0x3d9108(0x10c),'msg':{'invalidSource':_0x3d9108(0x103),'emptyTips':_0x3d9108(0xee)},'cloud':{'title':'词云','word':'词语','frequency':'频率'},'trendline':{'name':_0x3d9108(0xef),'displayName':_0x3d9108(0x111),'addTrendLine':_0x3d9108(0x12e),'trendlineType':_0x3d9108(0x12b),'trendlineName':_0x3d9108(0x111),'trendlineColor':_0x3d9108(0xcb),'trendlineThickness':_0x3d9108(0x11d),'trendlineDashType':_0x3d9108(0x12d),'exp':'指数','linear':'线性','log':'对数','pow':'幂','movingAvg':_0x3d9108(0xf8),'poly':_0x3d9108(0xec),'order':_0x3d9108(0xd4),'period':_0x3d9108(0x10d),'showFormula':_0x3d9108(0xf0),'showR2':_0x3d9108(0x121),'formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X轴','yAxis':'Y轴','size':'气泡大小','label':'气泡标签','emptyTips':_0x3d9108(0x139)},'relation':{'title':_0x3d9108(0x142),'auto':'自动','circular':'环形','force':_0x3d9108(0x124),'useValueAsSymbolSize':_0x3d9108(0xe9),'layoutType':_0x3d9108(0x13f),'forceOptions':_0x3d9108(0xba),'repulsion':'斥力','gravity':'引力','edgeLength':_0x3d9108(0xf3),'rotateLabel':_0x3d9108(0x134),'emphasis':_0x3d9108(0x10f),'emptyTips':'关系图数据源为额外添加类型列在第二列的共词矩阵'},'waterfall':{'stackType':_0x3d9108(0xde),'arrangement':'依序','stacked':'堆积','positive':'正值','negative':'负值','subtotal':'小计','showSubtotal':_0x3d9108(0xed),'positiveStyle':_0x3d9108(0xe5),'negativeStyle':_0x3d9108(0xc5),'subtotalStyle':_0x3d9108(0xbf),'positiveLegendText':_0x3d9108(0x127),'negativeLegendText':_0x3d9108(0xdc),'subtotalLegendText':_0x3d9108(0xd1)},'pareto':{'lineName':_0x3d9108(0xe7),'lineSeries':_0x3d9108(0xf5),'barSeries':_0x3d9108(0xf9)}},'chartTypes':{'line':_0x3d9108(0xd2),'area':_0x3d9108(0x140),'areaStacked':'堆叠面积图','areaPercentStacked':_0x3d9108(0x131),'column':_0x3d9108(0xe1),'bar':'条形图','barStacked':_0x3d9108(0x113),'barPercentStacked':_0x3d9108(0x132),'pie':'饼图','donut':_0x3d9108(0xbc),'scatter':_0x3d9108(0x117),'radar':'雷达图','bubble':'气泡图','stock':_0x3d9108(0x112),'combination':'组合图','wordCloud':_0x3d9108(0x136),'funnel':_0x3d9108(0xca),'relation':_0x3d9108(0x142),'waterfall':_0x3d9108(0x126),'pareto':'排列图'},'dialog':{'numfmt':{'general':'常规','accounting':'会计','currency':'货币','date':'日期','thousandthPercentile':'千分位符','fieldSetting':_0x3d9108(0x10b),'formatTypes':_0x3d9108(0xdb),'confirm':'确定','cancel':'取消','generalDesc':_0x3d9108(0x10a),'accountingDesc':_0x3d9108(0x11b),'currencyDesc':'货币格式用于表示一般货币数值,会计格式可以对一列数值进行小数点对齐。','dateDesc':_0x3d9108(0xd9),'thousandthPercentileDesc':'千分位符格式用于一般数字的表示,货币和会计格式则提供货币值计算的专用格式。','decimalPlaces':'小数位数','currencyTypes':_0x3d9108(0xd6),'negativeNumberTypes':_0x3d9108(0x11c),'dateTypes':_0x3d9108(0xdf)},'setFormat':'设置标签格式'}};export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x48a1(_0x480257,_0x23b1ea){const _0x51bd2d=_0x51bd();return _0x48a1=function(_0x48a18a,_0x5a7e23){_0x48a18a=_0x48a18a-0x1e6;let _0x3548b4=_0x51bd2d[_0x48a18a];return _0x3548b4;},_0x48a1(_0x480257,_0x23b1ea);}const _0x512a74=_0x48a1;(function(_0xf359e4,_0x284ca8){const _0x4875f7=_0x48a1,_0x2bf449=_0xf359e4();while(!![]){try{const _0x432eca=parseInt(_0x4875f7(0x245))/0x1+parseInt(_0x4875f7(0x1e6))/0x2+-parseInt(_0x4875f7(0x20d))/0x3*(parseInt(_0x4875f7(0x25f))/0x4)+parseInt(_0x4875f7(0x1f5))/0x5+parseInt(_0x4875f7(0x273))/0x6*(-parseInt(_0x4875f7(0x229))/0x7)+parseInt(_0x4875f7(0x22e))/0x8*(-parseInt(_0x4875f7(0x23f))/0x9)+parseInt(_0x4875f7(0x25b))/0xa;if(_0x432eca===_0x284ca8)break;else _0x2bf449['push'](_0x2bf449['shift']());}catch(_0x3eea08){_0x2bf449['push'](_0x2bf449['shift']());}}}(_0x51bd,0x66a72));const e={'chart':{'insertChart':_0x512a74(0x215),'editChart':_0x512a74(0x1fe),'openChartPanel':'打開圖表面板','deleteChart':_0x512a74(0x272),'hideChartPanel':_0x512a74(0x223),'setupChart':_0x512a74(0x253),'customChart':_0x512a74(0x26c),'default':'默認','reset':'重置','chartType':_0x512a74(0x24d),'themes':'主題','dataRange':_0x512a74(0x222),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':'所有系列','series':'系列','addSeries':_0x512a74(0x20e),'moreSettings':_0x512a74(0x241),'min':_0x512a74(0x258),'max':_0x512a74(0x221),'invalidType':{'gaps':'間隙','zero':'零','connectDataPointsWithStraightLines':_0x512a74(0x263)},'blank':'(空)','seriesBlock':{'format':'格式','dataPointStyle':_0x512a74(0x204)},'backgroundColor':_0x512a74(0x200),'chartBorderColor':_0x512a74(0x257),'titles':{'title':'標題','mainTitle':_0x512a74(0x1f7),'subTitle':_0x512a74(0x203),'xAxisTitle':_0x512a74(0x239),'yAxisTitle':_0x512a74(0x255),'rightYAxisTitle':_0x512a74(0x218),'titleFormat':_0x512a74(0x21d),'titleText':'標題文本','titlePosition':_0x512a74(0x1f0),'titleAlign':_0x512a74(0x21e)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':_0x512a74(0x1e8),'settingsLabels':{'switchToRowOrColumn':_0x512a74(0x259),'useAsCategoryLabels':'使用\x20{0}\x20作為類別標籤','showEmptyCellsAs':'顯示空單元格為'},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x512a74(0x234),'center':'居中','right':_0x512a74(0x206)},'alignY':{'top':'頂部','middle':'中間','bottom':'底部'},'chartStyle':_0x512a74(0x26d),'chartAndAxisTitles':_0x512a74(0x24a),'legend':'圖例','legendSelectMode':_0x512a74(0x1fb),'legendSelectModeType':{'single':'單選','multiple':'多選','close':'關閉'},'axes':{'axis':'軸','axisOptions':_0x512a74(0x1f9),'horizontalAxis':'水平軸','verticalAxis':_0x512a74(0x208),'rightVerticalAxis':_0x512a74(0x21a),'leftAxis':'左軸','rightAxis':'右軸','useRightAxis':_0x512a74(0x242)},'position':'位置','dataLabels':_0x512a74(0x23c),'gridlinesAndTicks':'網格線和刻度線','indicatorLine':_0x512a74(0x261),'indicatorLineType':_0x512a74(0x22f),'indicatorLineColor':_0x512a74(0x227),'indicatorLabel':'指示標籤','indicatorValue':_0x512a74(0x246),'shape':{'polygon':_0x512a74(0x1fa),'circle':'圓形','square':_0x512a74(0x247),'triangle':'三角形','diamond':'菱形','rect':'矩形','roundRect':_0x512a74(0x25a),'pin':'針形','arrow':'箭頭','none':'無','emptyCircle':'空心圓形','emptySquare':_0x512a74(0x267),'emptyTriangle':_0x512a74(0x23e),'emptyDiamond':_0x512a74(0x21f),'emptyRect':'空心矩形','emptyRoundRect':_0x512a74(0x1f3),'emptyPin':_0x512a74(0x1eb),'emptyArrow':_0x512a74(0x201)},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':'{0}\x20透明度','withColor':_0x512a74(0x251),'withThickness':_0x512a74(0x24e),'withType':_0x512a74(0x226),'withSize':_0x512a74(0x217),'withShape':_0x512a74(0x1f4),'withFormat':_0x512a74(0x250),'dataPoint':'數據點','addDataPoint':_0x512a74(0x202),'point':_0x512a74(0x277),'percentage':'百分比','lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x512a74(0x22b)},'lineDashType':_0x512a74(0x1e7),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x512a74(0x1f6),'text':_0x512a74(0x244)},'ticks':{'majorTick':_0x512a74(0x207),'tickPosition':_0x512a74(0x262),'tickLength':_0x512a74(0x1f1)},'none':'無','theIndexItem':_0x512a74(0x24c),'seriesDefaultName':_0x512a74(0x219),'categoryDefaultName':_0x512a74(0x264),'styleEditPanel':{'showLabels':_0x512a74(0x254),'showDataLabels':_0x512a74(0x216),'padAngle':_0x512a74(0x1e9),'halfPie':'半餅','rosePie':_0x512a74(0x26e),'showLabelLine':_0x512a74(0x266),'reverseAxisOrder':'逆序軸','showAxisLine':_0x512a74(0x224),'labelPosition':_0x512a74(0x26a),'labelText':'標籤文本','repeatWordCould':_0x512a74(0x225),'gap':'間隔','useAbsValue':_0x512a74(0x24b),'labelRotate':_0x512a74(0x1ea),'wordCloudShape':_0x512a74(0x20f),'useDateAxis':_0x512a74(0x22c),'dateAxisTips':_0x512a74(0x1fd)},'radar':{'fill':'填充'},'doughnutHole':_0x512a74(0x212),'msg':{'invalidSource':_0x512a74(0x210),'emptyTips':_0x512a74(0x26b)},'cloud':{'title':'詞雲','word':'詞','frequency':'頻率'},'trendline':{'name':'趨勢線','displayName':'趨勢線名稱','addTrendLine':_0x512a74(0x22a),'trendlineType':_0x512a74(0x23b),'trendlineName':'趨勢線名稱','trendlineColor':_0x512a74(0x21b),'trendlineThickness':'趨勢線粗細','trendlineDashType':_0x512a74(0x214),'exp':'指數','linear':'線性','log':'對數','pow':'冪','movingAvg':_0x512a74(0x238),'poly':'多項式','order':_0x512a74(0x209),'period':_0x512a74(0x23d),'showFormula':_0x512a74(0x20c),'showR2':_0x512a74(0x252),'formula':'公式','r2':'R平方'},'bubble':{'xAxis':'X軸','yAxis':'Y軸','size':_0x512a74(0x248),'label':_0x512a74(0x276),'emptyTips':_0x512a74(0x237)},'relation':{'title':_0x512a74(0x205),'auto':'自動','circular':'環形','force':_0x512a74(0x230),'useValueAsSymbolSize':_0x512a74(0x270),'layoutType':_0x512a74(0x265),'forceOptions':_0x512a74(0x231),'repulsion':'斥力','gravity':'引力','edgeLength':_0x512a74(0x275),'rotateLabel':'旋轉標籤','emphasis':_0x512a74(0x235),'emptyTips':_0x512a74(0x21c)},'waterfall':{'stackType':_0x512a74(0x233),'arrangement':'依序','stacked':'堆積','positive':'正值','negative':'負值','subtotal':'小計','showSubtotal':_0x512a74(0x22d),'positiveStyle':_0x512a74(0x271),'negativeStyle':_0x512a74(0x1f8),'subtotalStyle':_0x512a74(0x1fc),'positiveLegendText':_0x512a74(0x240),'negativeLegendText':_0x512a74(0x269),'subtotalLegendText':_0x512a74(0x1f2)},'pareto':{'lineName':_0x512a74(0x1ee),'lineSeries':'累積占比系列','barSeries':_0x512a74(0x24f)}},'chartTypes':{'line':_0x512a74(0x260),'area':_0x512a74(0x268),'areaStacked':_0x512a74(0x20a),'areaPercentStacked':_0x512a74(0x274),'column':_0x512a74(0x220),'bar':_0x512a74(0x249),'barStacked':_0x512a74(0x1ed),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':'環形圖','scatter':'散點圖','radar':_0x512a74(0x243),'bubble':'氣泡圖','stock':'股票圖','combination':_0x512a74(0x236),'wordCloud':'詞雲圖','funnel':_0x512a74(0x23a),'relation':_0x512a74(0x205),'waterfall':_0x512a74(0x25c),'pareto':_0x512a74(0x213)},'dialog':{'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x512a74(0x1ef),'fieldSetting':_0x512a74(0x20b),'formatTypes':_0x512a74(0x211),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':'會計數字格式可對一列數值進行貨幣符號和小數點對齊。','currencyDesc':_0x512a74(0x26f),'dateDesc':_0x512a74(0x228),'thousandthPercentileDesc':_0x512a74(0x1ec),'decimalPlaces':_0x512a74(0x1ff),'currencyTypes':_0x512a74(0x232),'negativeNumberTypes':_0x512a74(0x25d),'dateTypes':_0x512a74(0x256)},'setFormat':_0x512a74(0x25e)}};export{e as default};function _0x51bd(){const _0x90ac4=['圓角矩形','6432360ybjDoF','瀑布圖','負數類型','設置標籤格式','19420uzLPCD','折線圖','指示線','刻度線位置','用直線連接數據點','類別\x20{0}','佈局類型','顯示標籤線','空心正方形','面積圖','負值圖例文本','標籤位置','請先添加系列開始數據可視化','自定義圖表','圖表樣式','玫瑰圖','貨幣格式用於表示一般貨幣數值,會計格式可以對一列數值進行小數點對齊。','使用值作為節點大小','正值樣式','刪除圖表','2182254KbLwvH','百分比堆疊面積圖','節點距離','氣泡標籤','數據點','1084296OBCjXS','線類型','漸變填充','扇形間距','標籤旋轉','空心針形','千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','堆疊條形圖','累積占比','千分位符','標題位置','刻度線長度','小計圖例文本','空心圓角矩形','{0}\x20形狀','2385350VPvAyP','主網格線','主標題','負值樣式','軸選項','多邊形','圖例選擇模式','小計樣式','日期軸僅在數據全部為日期格式時可用','編輯圖表','小數位數','背景顏色','空心箭頭','添加數據點','副標題','數據點樣式','關係圖','右對齊','主刻度線','垂直軸','多項式階數','堆疊面積圖','字段設置','顯示公式','351rnXCIz','添加系列','詞雲形狀','圖表數據源必須包含多於1行和1列。','格式類型','圓環孔','排列圖','趨勢線線類型','插入圖表','顯示數據標籤','{0}\x20大小','右Y軸標題','系列\x20{0}','右垂直軸','趨勢線顏色','關係圖資料來源為額外新增類型列在第二列的共詞矩陣','標題格式','標題對齊','空心菱形','柱狀圖','最大值','數據範圍','隱藏圖表面板','顯示軸線','重複詞雲標籤','{0}\x20類型','指示線顏色','日期格式將日期和時間系列數值顯示為日期值。','7SmkIXd','添加趨勢線','百分比堆疊','使用日期軸','顯示小計','30424KnMISO','指示線類型','力導向','力導向選項','貨幣類型','堆疊方式','左對齊','開啟選中淡入特效','組合圖','氣泡圖至少需要3列,X軸、Y軸和氣泡大小。','移動平均','X軸標題','漏斗圖','趨勢線類型','數據標籤','移動平均周期','空心三角形','774NxEdZT','正值圖例文本','更多設置','使用右軸','雷達圖','網格線','16814aDgNWJ','指示值','正方形','氣泡大小','條形圖','圖表和軸標題','使用絕對值','第\x20{0}\x20項','圖表類型','{0}\x20粗細','長條圖系列','{0}\x20格式','{0}\x20顏色','顯示R平方','設置圖表','顯示標籤','Y軸標題','日期類型','圖表邊框顏色','最小值','切換行或列'];_0x51bd=function(){return _0x90ac4;};return _0x51bd();}
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x28ce(_0x3a4b3e,_0x39fab7){const _0xc72dc4=_0xc72d();return _0x28ce=function(_0x28ce36,_0x47c519){_0x28ce36=_0x28ce36-0xf5;let _0x259819=_0xc72dc4[_0x28ce36];return _0x259819;},_0x28ce(_0x3a4b3e,_0x39fab7);}const _0x2b6dd3=_0x28ce;(function(_0x55a3d3,_0x3137de){const _0x133011=_0x28ce,_0x5bc5a0=_0x55a3d3();while(!![]){try{const _0xe31069=-parseInt(_0x133011(0x1a5))/0x1+parseInt(_0x133011(0x19e))/0x2*(parseInt(_0x133011(0x12e))/0x3)+parseInt(_0x133011(0x16d))/0x4+parseInt(_0x133011(0x152))/0x5*(parseInt(_0x133011(0x194))/0x6)+parseInt(_0x133011(0x136))/0x7+parseInt(_0x133011(0x165))/0x8*(-parseInt(_0x133011(0x1a1))/0x9)+-parseInt(_0x133011(0x1ab))/0xa;if(_0xe31069===_0x3137de)break;else _0x5bc5a0['push'](_0x5bc5a0['shift']());}catch(_0x57d891){_0x5bc5a0['push'](_0x5bc5a0['shift']());}}}(_0xc72d,0xed10a));var b=Object[_0x2b6dd3(0x10d)],k=(_0x479e56,_0xab05bf,_0x353ada)=>_0xab05bf in _0x479e56?b(_0x479e56,_0xab05bf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x353ada}):_0x479e56[_0xab05bf]=_0x353ada,n=(_0x7c3abe,_0x110cf5,_0x7950df)=>k(_0x7c3abe,typeof _0x110cf5!=_0x2b6dd3(0x17f)?_0x110cf5+'':_0x110cf5,_0x7950df);import{ChartThemeService as _0x15df99,ChartTypeBits as _0x3126d2,LegendPositionEnum as _0x2a8225,SelectModeEnum as _0x51c96a,AxisAlignEnum as _0x58a22b,ChartBorderDashType as _0x3b7ef6,LinePointShape as _0x49d92c,TitlePositionEnum as _0x92afd,RadarShape as _0x49e5cb}from'@univerjs-pro/engine-chart';import{setProperty as _0x1ecb90,SheetsChartService as _0x51b856,ChartUpdateSourceCommand as _0x2e0acd,ChartUpdateConfigCommand as _0x364fb9}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x2da2c5}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0xe74b0a,IUniverInstanceService as _0x1f330e,UniverInstanceType as _0x4291b8,generateRandomId as _0x46d503,DrawingTypeEnum as _0x29793f}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x1cf07f}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x3adbed}from'@univerjs/sheets/facade';import{FBase as _0x2d6097,FEnum as _0xf6ad67}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x3208cd}from'@univerjs/engine-formula';import{IRenderManagerService as _0x4088b7}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0x163326,SheetSkeletonManagerService as _0x4e2243,convertPositionCellToSheetOverGrid as _0x12aee2}from'@univerjs/sheets-ui';const s=(_0x4bb4a7,_0x38f1f6,_0x2186d4)=>{_0x2186d4!==void 0x0&&_0x1ecb90(_0x4bb4a7,_0x38f1f6,_0x2186d4);},C=(_0x42c13d,_0x75498c,_0x336b1f,_0x1f97ad={})=>{const _0xc6c7b5=_0x2b6dd3,_0x1ed2bb={},_0x1d81d6={};if(_0x1f97ad[_0xc6c7b5(0x1a2)]){const _0x507a70=_0x1f97ad[_0xc6c7b5(0x1a2)];s(_0x1ed2bb,_0xc6c7b5(0x148),_0x507a70['content']),s(_0x1ed2bb,'titles.title.font',_0x507a70[_0xc6c7b5(0x1a6)]),s(_0x1ed2bb,_0xc6c7b5(0x14b),_0x507a70[_0xc6c7b5(0x13c)]),s(_0x1ed2bb,_0xc6c7b5(0x180),_0x507a70[_0xc6c7b5(0x129)]),s(_0x1ed2bb,_0xc6c7b5(0x10c),_0x507a70['fontStyle']),s(_0x1ed2bb,_0xc6c7b5(0x159),_0x507a70[_0xc6c7b5(0x190)]),s(_0x1ed2bb,_0xc6c7b5(0x12f),_0x507a70['titleAlignment']),s(_0x1ed2bb,_0xc6c7b5(0x133),_0x507a70[_0xc6c7b5(0x19b)]);}if(_0x1f97ad[_0xc6c7b5(0x128)]){const _0x4c941b=_0x1f97ad['legend'];s(_0x1ed2bb,_0xc6c7b5(0x10b),_0x4c941b['position']),s(_0x1ed2bb,_0xc6c7b5(0x163),_0x4c941b[_0xc6c7b5(0x175)]),s(_0x1ed2bb,_0xc6c7b5(0xfe),_0x4c941b[_0xc6c7b5(0x13c)]),s(_0x1ed2bb,_0xc6c7b5(0x176),_0x4c941b['color']),s(_0x1ed2bb,'legend.label.bold',_0x4c941b[_0xc6c7b5(0x190)]),s(_0x1ed2bb,_0xc6c7b5(0x1a0),_0x4c941b['italic']);}if(_0x1f97ad[_0xc6c7b5(0x1a8)]){const _0x2ccf7a=_0x1f97ad[_0xc6c7b5(0x1a8)];s(_0x1ed2bb,_0xc6c7b5(0x120),_0x2ccf7a[_0xc6c7b5(0x186)]),s(_0x1ed2bb,'pie.borderColor',_0x2ccf7a['borderColor']),s(_0x1ed2bb,_0xc6c7b5(0x15e),_0x2ccf7a[_0xc6c7b5(0x166)]),s(_0x1ed2bb,_0xc6c7b5(0x147),_0x2ccf7a['isHalfPie']),s(_0x1ed2bb,_0xc6c7b5(0x111),_0x2ccf7a[_0xc6c7b5(0x105)]),s(_0x1ed2bb,_0xc6c7b5(0x124),_0x2ccf7a[_0xc6c7b5(0x187)]);}if(_0x1f97ad[_0xc6c7b5(0x16a)]){const _0xf08318=_0x1f97ad['axisPointer'];s(_0x1ed2bb,'tooltip.indicatorLabelColor',_0xf08318[_0xc6c7b5(0x109)]),s(_0x1ed2bb,_0xc6c7b5(0x13b),_0xf08318[_0xc6c7b5(0xfc)]),s(_0x1ed2bb,_0xc6c7b5(0x156),_0xf08318[_0xc6c7b5(0x1ad)]),s(_0x1ed2bb,_0xc6c7b5(0x18a),_0xf08318[_0xc6c7b5(0x12c)]);}if(_0x1f97ad[_0xc6c7b5(0x18e)]&&(s(_0x1ed2bb,_0xc6c7b5(0x198),_0x1f97ad[_0xc6c7b5(0x18e)]['border']),s(_0x1ed2bb,_0xc6c7b5(0x1a3),_0x1f97ad[_0xc6c7b5(0x18e)][_0xc6c7b5(0x119)]),s(_0x1ed2bb,_0xc6c7b5(0x13e),_0x1f97ad['allSeriesStyle']['rightYAxis']),s(_0x1ed2bb,_0xc6c7b5(0x135),_0x1f97ad[_0xc6c7b5(0x18e)][_0xc6c7b5(0x142)]),s(_0x1ed2bb,_0xc6c7b5(0x108),_0x1f97ad[_0xc6c7b5(0x18e)][_0xc6c7b5(0x14c)])),_0x1f97ad[_0xc6c7b5(0x11a)]&&s(_0x1ed2bb,'area.lineStyle',_0x1f97ad[_0xc6c7b5(0x11a)][_0xc6c7b5(0xfb)]),_0x1f97ad['theme']&&s(_0x1ed2bb,'theme',_0x1f97ad['theme']),_0x1f97ad[_0xc6c7b5(0xff)]&&s(_0x1ed2bb,_0xc6c7b5(0xff),_0x1f97ad[_0xc6c7b5(0xff)]),_0x1f97ad[_0xc6c7b5(0x118)]&&s(_0x1ed2bb,'borderColor',_0x1f97ad[_0xc6c7b5(0x118)]),_0x1f97ad[_0xc6c7b5(0x177)]&&s(_0x1ed2bb,_0xc6c7b5(0x177),_0x1f97ad['gradientFill']),_0x1f97ad[_0xc6c7b5(0x1a7)]&&s(_0x1ed2bb,_0xc6c7b5(0x1a7),_0x1f97ad[_0xc6c7b5(0x1a7)]),_0x1f97ad[_0xc6c7b5(0x172)]&&s(_0x1ed2bb,_0xc6c7b5(0x172),_0x1f97ad[_0xc6c7b5(0x172)]),_0x1f97ad[_0xc6c7b5(0x16f)]){const _0x5929e9=_0x1f97ad[_0xc6c7b5(0x16f)];s(_0x1ed2bb,'titles.xAxisTitle.content',_0x5929e9[_0xc6c7b5(0x125)]),s(_0x1ed2bb,_0xc6c7b5(0x170),_0x5929e9['font']),s(_0x1ed2bb,_0xc6c7b5(0x1b1),_0x5929e9[_0xc6c7b5(0x13c)]),s(_0x1ed2bb,_0xc6c7b5(0x1a9),_0x5929e9[_0xc6c7b5(0x129)]),s(_0x1ed2bb,_0xc6c7b5(0x116),_0x5929e9[_0xc6c7b5(0x173)]),s(_0x1ed2bb,_0xc6c7b5(0x1aa),_0x5929e9[_0xc6c7b5(0x190)]),s(_0x1ed2bb,'xAxis.label.axisTitleAlign',_0x5929e9['axisAlignment']);}if(_0x1f97ad[_0xc6c7b5(0x10f)]){const _0x1ac66f=_0x1f97ad[_0xc6c7b5(0x10f)];s(_0x1ed2bb,_0xc6c7b5(0x13f),_0x1ac66f[_0xc6c7b5(0x125)]),s(_0x1ed2bb,_0xc6c7b5(0x13d),_0x1ac66f['font']),s(_0x1ed2bb,_0xc6c7b5(0x164),_0x1ac66f[_0xc6c7b5(0x13c)]),s(_0x1ed2bb,_0xc6c7b5(0x19f),_0x1ac66f[_0xc6c7b5(0x129)]),s(_0x1ed2bb,'titles.yAxisTitle.family',_0x1ac66f[_0xc6c7b5(0x173)]),s(_0x1ed2bb,_0xc6c7b5(0x126),_0x1ac66f[_0xc6c7b5(0x190)]),s(_0x1ed2bb,_0xc6c7b5(0x1af),_0x1ac66f[_0xc6c7b5(0xfd)]);}if(_0x1f97ad[_0xc6c7b5(0x121)]){const _0x521986=_0x1f97ad['rightYAxisTitle'];s(_0x1ed2bb,'titles.rightYAxisTitle.content',_0x521986[_0xc6c7b5(0x125)]),s(_0x1ed2bb,_0xc6c7b5(0x101),_0x521986['font']),s(_0x1ed2bb,_0xc6c7b5(0x19a),_0x521986['fontSize']),s(_0x1ed2bb,'titles.rightYAxisTitle.color',_0x521986['fontColor']),s(_0x1ed2bb,'titles.rightYAxisTitle.family',_0x521986[_0xc6c7b5(0x173)]),s(_0x1ed2bb,_0xc6c7b5(0x171),_0x521986[_0xc6c7b5(0x190)]),s(_0x1ed2bb,_0xc6c7b5(0x178),_0x521986[_0xc6c7b5(0xfd)]);}_0x1f97ad['xAxis']&&s(_0x1ed2bb,_0xc6c7b5(0x184),_0x1f97ad[_0xc6c7b5(0x184)]),_0x1f97ad[_0xc6c7b5(0x145)]&&s(_0x1ed2bb,_0xc6c7b5(0x145),_0x1f97ad[_0xc6c7b5(0x145)]),_0x1f97ad[_0xc6c7b5(0x140)]&&s(_0x1ed2bb,_0xc6c7b5(0x195),_0x1f97ad[_0xc6c7b5(0x140)]),_0x1f97ad[_0xc6c7b5(0x188)]&&s(_0x1ed2bb,'seriesStyleMap',_0x1f97ad[_0xc6c7b5(0x188)]);const _0x60ef1={'unitId':_0x42c13d,'chartModelId':_0x75498c};let _0x3d4524=!0x1;if(_0x336b1f!==void 0x0&&(_0x60ef1[_0xc6c7b5(0x117)]=_0x336b1f,_0x3d4524=!0x0),Object[_0xc6c7b5(0x11d)](_0x1ed2bb)[_0xc6c7b5(0x131)]>0x0&&(_0x60ef1[_0xc6c7b5(0x193)]=_0x1ed2bb,_0x3d4524=!0x0),Object[_0xc6c7b5(0x11d)](_0x1d81d6)[_0xc6c7b5(0x131)]>0x0&&(_0x60ef1[_0xc6c7b5(0x107)]=_0x1d81d6,_0x3d4524=!0x0),_0x3d4524)return _0x60ef1;};class c extends _0x2d6097{constructor(_0x1a9e72,_0x4efd7b,_0x286077,_0x3d129a,_0x3fbcb4){const _0x4527d0=_0x2b6dd3;super(),n(this,'_workbook'),n(this,'_injector'),n(this,_0x4527d0(0x17e)),n(this,_0x4527d0(0x182)),n(this,_0x4527d0(0x144)),n(this,_0x4527d0(0x153)),n(this,'sourceSheetName'),n(this,'x'),n(this,'y'),n(this,_0x4527d0(0x162)),n(this,_0x4527d0(0x168)),n(this,_0x4527d0(0x117)),n(this,_0x4527d0(0x127)),n(this,_0x4527d0(0xf8)),(this[_0x4527d0(0x17e)]=_0x1a9e72,this['subUnitId']=_0x4efd7b,this[_0x4527d0(0x160)]=_0x286077,this[_0x4527d0(0x143)]=_0x3d129a,_0x3fbcb4&&(this[_0x4527d0(0x144)]=_0x3fbcb4));}[_0x2b6dd3(0x11f)](){const _0xa8e2fa=_0x2b6dd3;return this[_0xa8e2fa(0x117)];}[_0x2b6dd3(0x1b0)](_0x902bb6){const _0x277431=_0x2b6dd3;if(typeof _0x902bb6=='string'){const _0x53a755=_0x3208cd(_0x902bb6);_0x53a755[_0x277431(0x158)]&&(this[_0x277431(0x14d)]=_0x53a755['sheetName']),this[_0x277431(0x153)]=_0x53a755[_0x277431(0x153)];}else this[_0x277431(0x153)]=_0x902bb6;return this;}['clearRange'](){const _0x9dd2fe=_0x2b6dd3;return this[_0x9dd2fe(0x153)]=void 0x0,this[_0x9dd2fe(0x14d)]=void 0x0,this;}[_0x2b6dd3(0x15a)](_0x1b3937,_0x295268,_0x236cf5,_0x42caca){const _0x12394a=_0x2b6dd3,_0x2d7ddf=this[_0x12394a(0x143)][_0x12394a(0x139)](_0x4088b7)['getRenderById'](this[_0x12394a(0x17e)]);if(!_0x2d7ddf)throw new Error(_0x12394a(0x19d));const _0x319710=_0x2d7ddf['with'](_0x163326),_0x311d71=_0x2d7ddf[_0x12394a(0x151)](_0x4e2243),{transform:_0x135c27}=_0x12aee2(this['unitId'],this['subUnitId'],{'row':_0x1b3937,'column':_0x295268,'rowOffset':_0x236cf5,'columnOffset':_0x42caca},0x1,0x1,_0x319710,_0x311d71),_0x173305=_0x135c27['top'],_0x3f73ae=_0x135c27['left'];return this['x']=_0x3f73ae,this['y']=_0x173305,this;}[_0x2b6dd3(0x104)](_0x309541,_0x4b6ede){return this['x']=_0x309541,this['y']=_0x4b6ede,this;}[_0x2b6dd3(0x1b3)](_0x3379c9){const _0x578885=_0x2b6dd3;return this[_0x578885(0x117)]=_0x3379c9,this;}[_0x2b6dd3(0xfa)](_0xaf0ea){const _0x3452b1=_0x2b6dd3;return this[_0x3452b1(0x162)]=_0xaf0ea,this;}['setHeight'](_0x3e9a47){const _0x243384=_0x2b6dd3;return this[_0x243384(0x168)]=_0x3e9a47,this;}[_0x2b6dd3(0x123)](_0x4ab9d1,_0x3b8665){const _0x5b234e=_0x2b6dd3;return this[_0x5b234e(0x127)]||(this[_0x5b234e(0x127)]={}),_0x4ab9d1===''?(this['options']={...this[_0x5b234e(0x127)],..._0x3b8665},this):(_0x1ecb90(this[_0x5b234e(0x127)],_0x4ab9d1,_0x3b8665),this);}[_0x2b6dd3(0x18f)](_0xf74474){const _0x54a0e5=_0x2b6dd3;return this[_0x54a0e5(0xf8)]=_0xf74474,this;}[_0x2b6dd3(0x17d)](_0x4e46b4){const _0x569aba=_0x2b6dd3;return this[_0x569aba(0x123)]('theme',_0x4e46b4),this;}[_0x2b6dd3(0x11c)](_0x4d561f){const _0x2859ac=_0x2b6dd3;var _0x3935dc;const _0x522c2d=((_0x3935dc=this[_0x2859ac(0x127)])==null?void 0x0:_0x3935dc[_0x2859ac(0x16f)])||{};return _0x522c2d[_0x2859ac(0x125)]=_0x4d561f,this['setOptions'](_0x2859ac(0x16f),_0x522c2d),this;}[_0x2b6dd3(0x18c)](_0x47d264){const _0x1031fc=_0x2b6dd3;var _0x134566;const _0x680fa2=((_0x134566=this['options'])==null?void 0x0:_0x134566[_0x1031fc(0x10f)])||{};return _0x680fa2[_0x1031fc(0x125)]=_0x47d264,this[_0x1031fc(0x123)](_0x1031fc(0x10f),_0x680fa2),this;}[_0x2b6dd3(0x14e)](_0x4060e9){const _0x17fbf0=_0x2b6dd3;var _0x3c0231;const _0x24212b=((_0x3c0231=this[_0x17fbf0(0x127)])==null?void 0x0:_0x3c0231[_0x17fbf0(0x121)])||{};return _0x24212b[_0x17fbf0(0x125)]=_0x4060e9,this['setOptions'](_0x17fbf0(0x121),_0x24212b),this;}[_0x2b6dd3(0xf5)](_0x42c83d){const _0x3977dc=_0x2b6dd3;var _0x3dd501;const _0x132519=((_0x3dd501=this[_0x3977dc(0x127)])==null?void 0x0:_0x3dd501['xAxisTitle'])||{};return this[_0x3977dc(0x123)]('xAxisTitle',{..._0x132519,..._0x42c83d}),this;}[_0x2b6dd3(0x102)](_0x501298){const _0x33c53a=_0x2b6dd3;var _0x2946bd;const _0x3dc16e=((_0x2946bd=this[_0x33c53a(0x127)])==null?void 0x0:_0x2946bd[_0x33c53a(0x10f)])||{};return this[_0x33c53a(0x123)]('yAxisTitle',{..._0x3dc16e,..._0x501298}),this;}[_0x2b6dd3(0x189)](_0x8ce36d){const _0x2ae8d0=_0x2b6dd3;var _0xb6135b;const _0x1a5752=((_0xb6135b=this[_0x2ae8d0(0x127)])==null?void 0x0:_0xb6135b[_0x2ae8d0(0x121)])||{};return this[_0x2ae8d0(0x123)](_0x2ae8d0(0x121),{..._0x1a5752,..._0x8ce36d}),this;}[_0x2b6dd3(0x12a)](_0x21f03b){const _0xfe5db8=_0x2b6dd3;return this[_0xfe5db8(0x123)](_0xfe5db8(0x1a7),_0x21f03b),this;}[_0x2b6dd3(0x141)](_0x27dd8a){const _0x23e90f=_0x2b6dd3;return this[_0x23e90f(0x123)]('axisPointer',_0x27dd8a),this;}[_0x2b6dd3(0x16e)](_0x143bc5){const _0x587eb5=_0x2b6dd3;return this[_0x587eb5(0x123)](_0x587eb5(0x18e),_0x143bc5),this;}[_0x2b6dd3(0x191)](_0x876fd1,_0x30f8b8){const _0x3dd4e3=_0x2b6dd3;return this[_0x3dd4e3(0x123)](_0x3dd4e3(0x188),{[_0x876fd1]:_0x30f8b8}),this;}['build'](){const _0x1842ab=_0x2b6dd3;var _0x491843;let _0x1853c5=this[_0x1842ab(0x182)];if(this[_0x1842ab(0x14d)]){const _0x262478=(_0x491843=this[_0x1842ab(0x160)][_0x1842ab(0x167)](this[_0x1842ab(0x14d)]))==null?void 0x0:_0x491843[_0x1842ab(0xf6)]();if(!_0x262478)throw new Error(_0x1842ab(0xf9)+this[_0x1842ab(0x14d)]+'\x20not\x20found');_0x1853c5=_0x262478;}return{'unitId':this[_0x1842ab(0x17e)],'subUnitId':_0x1853c5,'chartId':this[_0x1842ab(0x144)],'range':this[_0x1842ab(0x153)],'x':this['x'],'y':this['y'],'width':this[_0x1842ab(0x162)],'height':this[_0x1842ab(0x168)],'chartType':this['chartType'],'options':this[_0x1842ab(0x127)],'isRowDirection':this['transposeRowsAndColumns']};}}class f{constructor(_0x5ddf46,_0x49fdcb,_0x33110a,_0x4b16d4){const _0x166f0d=_0x2b6dd3;n(this,'unitId'),n(this,_0x166f0d(0x182)),n(this,'chartId'),n(this,_0x166f0d(0x143)),(this[_0x166f0d(0x17e)]=_0x5ddf46,this[_0x166f0d(0x182)]=_0x49fdcb,this['chartId']=_0x33110a,this[_0x166f0d(0x143)]=_0x4b16d4);}['getChartId'](){return this['chartId'];}['getRange'](){const _0x51dfc7=_0x2b6dd3,_0x5d7493=this[_0x51dfc7(0x143)][_0x51dfc7(0x139)](_0x51b856)[_0x51dfc7(0x19c)](this[_0x51dfc7(0x144)]);if(_0x5d7493)return _0x5d7493['dataSource'][_0x51dfc7(0x16c)]();}[_0x2b6dd3(0x1b2)](_0x2d1c5d){const _0x367416=_0x2b6dd3;return this[_0x367416(0x143)][_0x367416(0x139)](_0xe74b0a)[_0x367416(0x15f)](_0x2e0acd['id'],{'unitId':this[_0x367416(0x17e)],'chartModelId':this[_0x367416(0x144)],'range':_0x2d1c5d});}[_0x2b6dd3(0x137)](){const _0x28d81f=_0x2b6dd3;var _0x5e6209;const _0x2d3828=this[_0x28d81f(0x143)][_0x28d81f(0x139)](_0x51b856)[_0x28d81f(0x19c)](this[_0x28d81f(0x144)]);if(_0x2d3828)return(_0x5e6209=_0x2d3828[_0x28d81f(0x134)])==null?void 0x0:_0x5e6209[_0x28d81f(0x174)];}[_0x2b6dd3(0x183)](){const _0x353694=_0x2b6dd3;var _0x414598;const _0x566353=this[_0x353694(0x143)]['get'](_0x51b856)[_0x353694(0x19c)](this['chartId']);if(_0x566353)return(_0x414598=_0x566353[_0x353694(0x134)])==null?void 0x0:_0x414598[_0x353694(0x16b)];}[_0x2b6dd3(0x17a)](){const _0x2b8c72=_0x2b6dd3,_0xe2aa14=this[_0x2b8c72(0x143)][_0x2b8c72(0x139)](_0x1f330e)[_0x2b8c72(0x12b)](_0x4291b8[_0x2b8c72(0x179)]);return new c(this['unitId'],this[_0x2b8c72(0x182)],_0xe2aa14,this[_0x2b8c72(0x143)],this[_0x2b8c72(0x144)]);}}class Q extends _0x3adbed{async['insertChart'](_0x28b83f){const _0x174ef1=_0x2b6dd3;var _0x5d88fd,_0x376d18,_0x3cdda0;const _0x55b261=_0x28b83f[_0x174ef1(0x17e)]||this[_0x174ef1(0x106)]()[_0x174ef1(0x181)](),_0x548f80=_0x28b83f[_0x174ef1(0x182)]||this[_0x174ef1(0xf6)](),_0x3080e4=_0x28b83f['chartId']||_0x46d503(),_0x2992ce=_0x28b83f['chartType'],_0x479ea3=_0x28b83f[_0x174ef1(0x153)],_0xdeb5d0={'x':_0x28b83f['x'],'y':_0x28b83f['y']},_0x30e2f8=_0x28b83f['width'],_0x8dbfd8=_0x28b83f[_0x174ef1(0x168)],_0x455b0b=(_0x5d88fd=_0x28b83f[_0x174ef1(0x127)])==null?void 0x0:_0x5d88fd['backgroundColor'],_0x4ace93=(_0x376d18=_0x28b83f['options'])==null?void 0x0:_0x376d18[_0x174ef1(0x118)],_0x4327b8=C(_0x55b261,_0x3080e4,_0x2992ce,_0x28b83f[_0x174ef1(0x127)]),_0x153210=(_0x3cdda0=_0x28b83f[_0x174ef1(0x103)])!=null?_0x3cdda0:!0x0;if(!_0x479ea3)throw new Error(_0x174ef1(0x17c));return await this[_0x174ef1(0x11b)][_0x174ef1(0x15f)](_0x2da2c5['id'],{'unitId':_0x55b261,'subUnitId':_0x548f80,'chartId':_0x3080e4,'chartType':_0x2992ce,'range':_0x479ea3,'position':_0xdeb5d0,'width':_0x30e2f8,'height':_0x8dbfd8,'backgroundColor':_0x455b0b,'borderColor':_0x4ace93,'config':_0x4327b8,'isRowDirection':_0x153210}),new f(_0x55b261,_0x548f80,_0x3080e4,this[_0x174ef1(0x143)]);}[_0x2b6dd3(0x197)](_0x1a9464){const _0x5ea227=_0x2b6dd3,{unitId:_0x2921a2,chartId:_0x3f0d35,chartType:_0x750eab,options:_0x2c36b6}=_0x1a9464,_0x2b40a1=C(_0x2921a2,_0x3f0d35,_0x750eab,_0x2c36b6);this[_0x5ea227(0x11b)][_0x5ea227(0x15f)](_0x364fb9['id'],_0x2b40a1);}[_0x2b6dd3(0x15b)](_0xf6d95f){const _0x48cc4a=_0x2b6dd3;if(_0xf6d95f)return new c(_0xf6d95f[_0x48cc4a(0x17e)],_0xf6d95f['subUnitId'],this[_0x48cc4a(0x160)],this[_0x48cc4a(0x143)],_0xf6d95f[_0x48cc4a(0x144)]);const _0x597654=this['getWorkbook']()[_0x48cc4a(0x181)](),_0x452d80=this[_0x48cc4a(0xf6)]();return new c(_0x597654,_0x452d80,this[_0x48cc4a(0x160)],this[_0x48cc4a(0x143)]);}[_0x2b6dd3(0x150)](){const _0x464fd8=_0x2b6dd3,_0x41e461=this['_injector'][_0x464fd8(0x139)](_0x51b856),_0x9fae8d=this['getWorkbook']()[_0x464fd8(0x181)]();return _0x41e461[_0x464fd8(0x14a)](_0x9fae8d,this[_0x464fd8(0xf6)]())['map'](_0x83a6c6=>new f(_0x9fae8d,this['getSheetId'](),_0x83a6c6['id'],this['_injector']));}['removeChart'](_0x2aa497){const _0x2e860a=_0x2b6dd3,_0x4f26fd=_0x2aa497[_0x2e860a(0x17e)],_0x243941=_0x2aa497[_0x2e860a(0x182)],_0x151d4f=_0x2aa497[_0x2e860a(0x144)],_0x4639a2={'unitId':_0x4f26fd,'drawings':[{'unitId':_0x4f26fd,'subUnitId':_0x243941,'drawingId':_0x151d4f,'drawingType':_0x29793f[_0x2e860a(0x130)]}]};return this[_0x2e860a(0x11b)][_0x2e860a(0x15f)](_0x1cf07f['id'],_0x4639a2);}[_0x2b6dd3(0x1a4)](_0x27bcde,_0x59ee8f){const _0x2983d2=_0x2b6dd3;this[_0x2983d2(0x143)]['get'](_0x15df99)['registerTheme'](_0x27bcde,_0x59ee8f);}}_0x3adbed[_0x2b6dd3(0x115)](Q);class Z extends _0xf6ad67{get[_0x2b6dd3(0x192)](){return _0x3126d2;}get[_0x2b6dd3(0x10a)](){return _0x2a8225;}get['SelectModeEnum'](){return _0x51c96a;}get[_0x2b6dd3(0x146)](){return _0x58a22b;}get[_0x2b6dd3(0x113)](){return _0x3b7ef6;}get[_0x2b6dd3(0x196)](){return _0x49d92c;}get[_0x2b6dd3(0x169)](){return _0x92afd;}get['RadarShape'](){return _0x49e5cb;}}_0xf6ad67[_0x2b6dd3(0x115)](Z);class tt extends c{constructor(_0x141d33,_0x3bbefc,_0x7b6713,_0x5d8962,_0x1a6284){const _0x2f9d10=_0x2b6dd3;super(_0x141d33,_0x3bbefc,_0x7b6713,_0x5d8962,_0x1a6284),n(this,_0x2f9d10(0xfb)),n(this,_0x2f9d10(0x138)),n(this,_0x2f9d10(0x18d)),n(this,'dataPointSize');}[_0x2b6dd3(0x199)](_0x342e0a){const _0xd96f18=_0x2b6dd3;return this[_0xd96f18(0xfb)]=_0x342e0a,this;}[_0x2b6dd3(0x110)](_0x274310){const _0x1e3483=_0x2b6dd3;return this[_0x1e3483(0x138)]=_0x274310,this;}[_0x2b6dd3(0x13a)](_0x16f9af){const _0x159a82=_0x2b6dd3;return this[_0x159a82(0x18d)]=_0x16f9af,this;}[_0x2b6dd3(0x100)](_0x10bdfd){const _0x130e53=_0x2b6dd3;return this[_0x130e53(0x185)]=_0x10bdfd,this;}[_0x2b6dd3(0x1ae)](){const _0x19c7e7=_0x2b6dd3,_0x2ade51=super[_0x19c7e7(0x1ae)]();_0x2ade51[_0x19c7e7(0x117)]=_0x3126d2[_0x19c7e7(0x157)];const _0x6b8b14=_0x2ade51[_0x19c7e7(0x127)]||{};return s(_0x6b8b14,_0x19c7e7(0x155),this[_0x19c7e7(0xfb)]),s(_0x6b8b14,_0x19c7e7(0x161),this[_0x19c7e7(0x138)]),s(_0x6b8b14,_0x19c7e7(0x11e),this[_0x19c7e7(0x18d)]),s(_0x6b8b14,_0x19c7e7(0x14f),this[_0x19c7e7(0x185)]),_0x2ade51[_0x19c7e7(0x127)]=_0x6b8b14,_0x2ade51;}}class et extends c{[_0x2b6dd3(0x18b)](){const _0x34f577=_0x2b6dd3;return new tt(this['unitId'],this[_0x34f577(0x182)],this[_0x34f577(0x160)],this[_0x34f577(0x143)],this['chartId']);}}c[_0x2b6dd3(0x115)](et);class it extends c{constructor(_0x1cbb1d,_0x10e908,_0x1d57a4,_0x393caf,_0x594c57){const _0x5c2a91=_0x2b6dd3;super(_0x1cbb1d,_0x10e908,_0x1d57a4,_0x393caf,_0x594c57),n(this,'doughnutHole'),n(this,'borderColor'),n(this,_0x5c2a91(0x166)),n(this,_0x5c2a91(0x15c)),n(this,_0x5c2a91(0x105)),n(this,_0x5c2a91(0x187));}[_0x2b6dd3(0x1b4)](_0x527ebf){const _0x156992=_0x2b6dd3;return this[_0x156992(0x186)]=_0x527ebf,this;}[_0x2b6dd3(0xf7)](_0x342e84){return this['borderColor']=_0x342e84,this;}[_0x2b6dd3(0x15d)](_0x1dc0ea){const _0x5619b1=_0x2b6dd3;return this[_0x5619b1(0x166)]=_0x1dc0ea,this;}[_0x2b6dd3(0x114)](_0x40ca1e){const _0x3f03aa=_0x2b6dd3;return this[_0x3f03aa(0x15c)]=_0x40ca1e,this;}[_0x2b6dd3(0x1ac)](_0x11c25b){const _0x30a004=_0x2b6dd3;return this[_0x30a004(0x105)]=_0x11c25b,this;}['setShowLabelLine'](_0x158ad3){const _0x27b973=_0x2b6dd3;return this[_0x27b973(0x187)]=_0x158ad3,this;}[_0x2b6dd3(0x1ae)](){const _0x4fbfda=_0x2b6dd3,_0x45e43b=super[_0x4fbfda(0x1ae)]();_0x45e43b[_0x4fbfda(0x117)]=_0x3126d2[_0x4fbfda(0x154)];const _0x2a3cca=_0x45e43b[_0x4fbfda(0x127)]||{};return s(_0x2a3cca,_0x4fbfda(0x120),this['doughnutHole']),s(_0x2a3cca,'pie.borderColor',this[_0x4fbfda(0x118)]),s(_0x2a3cca,_0x4fbfda(0x15e),this[_0x4fbfda(0x166)]),s(_0x2a3cca,_0x4fbfda(0x147),this['isHalfPie']),s(_0x2a3cca,_0x4fbfda(0x111),this[_0x4fbfda(0x105)]),s(_0x2a3cca,'pie.showLabelLine',this[_0x4fbfda(0x187)]),_0x45e43b[_0x4fbfda(0x127)]=_0x2a3cca,_0x45e43b;}}class st extends c{['asPieChart'](){const _0xbfdd96=_0x2b6dd3;return new it(this[_0xbfdd96(0x17e)],this[_0xbfdd96(0x182)],this['_workbook'],this['_injector'],this[_0xbfdd96(0x144)]);}}c[_0x2b6dd3(0x115)](st);class rt extends c{constructor(_0x42111f,_0x474bbd,_0x4ed76d,_0x57694a,_0x3a2036){const _0x3f0326=_0x2b6dd3;super(_0x42111f,_0x474bbd,_0x4ed76d,_0x57694a,_0x3a2036),n(this,_0x3f0326(0x149)),n(this,'fill');}[_0x2b6dd3(0x132)](_0x36bf56){const _0x490e1d=_0x2b6dd3;return this[_0x490e1d(0x149)]=_0x36bf56,this;}[_0x2b6dd3(0x12d)](_0x615c57){const _0x1733ed=_0x2b6dd3;return this[_0x1733ed(0x17b)]=_0x615c57,this;}[_0x2b6dd3(0x1ae)](){const _0x3e0e97=_0x2b6dd3,_0x408c55=super[_0x3e0e97(0x1ae)]();_0x408c55['chartType']=_0x3126d2[_0x3e0e97(0x10e)];const _0x2bfe4b=_0x408c55[_0x3e0e97(0x127)]||{};return s(_0x2bfe4b,'radar.shape',this[_0x3e0e97(0x149)]),s(_0x2bfe4b,_0x3e0e97(0x122),this[_0x3e0e97(0x17b)]),_0x408c55['options']=_0x2bfe4b,_0x408c55;}}class ot extends c{[_0x2b6dd3(0x112)](){const _0x3bad62=_0x2b6dd3;return new rt(this[_0x3bad62(0x17e)],this[_0x3bad62(0x182)],this['_workbook'],this[_0x3bad62(0x143)],this[_0x3bad62(0x144)]);}}function _0xc72d(){const _0x27c07d=['setLineStyle','titles.rightYAxisTitle.fontSize','position','getChartModel','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','724KcMLQF','titles.yAxisTitle.color','legend.label.italic','9UfqdwI','title','allSeriesStyle.label','registerChartTheme','393093crgmMT','font','invalidValueType','pie','titles.xAxisTitle.color','titles.xAxisTitle.bold','601000mazTDA','setRosePie','indicatorLineColor','build','yAxis.label.axisTitleAlign','addRange','titles.xAxisTitle.fontSize','updateRange','setChartType','setDoughnutHole','setXAxisTextStyle','getSheetId','setBorderColor','transposeRowsAndColumns','Sheet\x20','setWidth','lineStyle','indicatorLineType','axisAlignment','legend.label.fontSize','backgroundColor','setDataPointSize','titles.rightYAxisTitle.font','setYAxisTextStyle','isRowDirection','setAbsolutePosition','rosePie','getWorkbook','context','allSeriesStyle.color','indicatorLabelColor','LegendPositionEnum','legend.position','titles.title.family','defineProperty','Radar','yAxisTitle','setDataPointShape','pie.rosePie','asRadarChart','ChartBorderDashType','setIsHalfPie','extend','titles.xAxisTitle.family','chartType','borderColor','label','area','_commandService','setXAxisTitle','keys','allSeriesStyle.point.color','getChartType','pie.doughnutHole','rightYAxisTitle','radar.fill','setOptions','pie.showLabelLine','content','titles.yAxisTitle.bold','options','legend','fontColor','setInvalidValueStrategy','getCurrentUnitForType','indicatorLabelTextColor','setFill','10356WODtjv','titles.title.align','DRAWING_CHART','length','setShape','titles.titlePosition','config','allSeriesStyle.point','9022601hxDbQt','getSeriesData','dataPointShape','get','setDataPointColor','tooltip.indicatorLineType','fontSize','titles.yAxisTitle.font','allSeriesStyle.rightYAxis','titles.yAxisTitle.content','yRightAxis','setAxisPointerStyle','point','_injector','chartId','yAxis','AxisAlignEnum','pie.isHalfPie','titles.title.content','shape','getUnitChartModels','titles.title.fontSize','color','sourceSheetName','setRightYAxisTitle','allSeriesStyle.point.size','getCharts','with','13625DsAEwK','range','Pie','area.lineStyle','tooltip.indicatorLineColor','Line','sheetName','titles.title.bold','setPosition','newChart','isHalfPie','setHasPaddingAngle','pie.hasPaddingAngle','executeCommand','_workbook','allSeriesStyle.point.shape','width','legend.selectMode','titles.yAxisTitle.fontSize','11628824oLiGCk','hasPaddingAngle','getSheetBySheetName','height','TitlePositionEnum','axisPointer','category','getRangeInfo','1302488zXyPSS','setAllSeriesStyle','xAxisTitle','titles.xAxisTitle.font','titles.rightYAxisTitle.bold','radar','fontStyle','series','selectMode','legend.label.color','gradientFill','rightYAxis.label.axisTitleAlign','UNIVER_SHEET','modify','fill','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','setTheme','unitId','symbol','titles.title.color','getUnitId','subUnitId','getCategoryData','xAxis','dataPointSize','doughnutHole','showLabelLine','seriesStyleMap','setRightYAxisTextStyle','tooltip.indicatorLabelTextColor','asLineChart','setYAxisTitle','dataPointColor','allSeriesStyle','setTransposeRowsAndColumns','bold','setSeriesStyle','ChartType','style','30iINZeB','rightYAxis','LinePointShape','updateChart','allSeriesStyle.border'];_0xc72d=function(){return _0x27c07d;};return _0xc72d();}c['extend'](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt as RadarChartBuilder};
|
|
1
|
+
const _0x5a5590=_0x3c5a;(function(_0x51bf75,_0x3c593c){const _0x50e749=_0x3c5a,_0x4a3d21=_0x51bf75();while(!![]){try{const _0x165087=-parseInt(_0x50e749(0xed))/0x1+-parseInt(_0x50e749(0xa3))/0x2*(-parseInt(_0x50e749(0xd6))/0x3)+parseInt(_0x50e749(0xf9))/0x4+parseInt(_0x50e749(0x102))/0x5*(-parseInt(_0x50e749(0x12b))/0x6)+parseInt(_0x50e749(0x11f))/0x7+parseInt(_0x50e749(0xd0))/0x8*(parseInt(_0x50e749(0x10e))/0x9)+-parseInt(_0x50e749(0xc0))/0xa*(-parseInt(_0x50e749(0x115))/0xb);if(_0x165087===_0x3c593c)break;else _0x4a3d21['push'](_0x4a3d21['shift']());}catch(_0x36a893){_0x4a3d21['push'](_0x4a3d21['shift']());}}}(_0x1bfa,0x2744e));var b=Object[_0x5a5590(0xd5)],k=(_0x2b4fa6,_0x33607f,_0x56de51)=>_0x33607f in _0x2b4fa6?b(_0x2b4fa6,_0x33607f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56de51}):_0x2b4fa6[_0x33607f]=_0x56de51,n=(_0xabfbd8,_0x503eba,_0x4cce2b)=>k(_0xabfbd8,typeof _0x503eba!=_0x5a5590(0x95)?_0x503eba+'':_0x503eba,_0x4cce2b);import{ChartThemeService as _0x252c21,ChartTypeBits as _0x23d5f6,LegendPositionEnum as _0x13ff90,SelectModeEnum as _0x4f7a52,AxisAlignEnum as _0x5709b7,ChartBorderDashType as _0x11e73a,LinePointShape as _0x2fbd96,TitlePositionEnum as _0x2b1347,RadarShape as _0x575818}from'@univerjs-pro/engine-chart';import{setProperty as _0xfb4627,SheetsChartService as _0x484aeb,ChartUpdateSourceCommand as _0x3fe297,ChartUpdateConfigCommand as _0x4aff7f}from'@univerjs-pro/sheets-chart';import{InsertChartCommand as _0x26c547}from'@univerjs-pro/sheets-chart-ui';import{ICommandService as _0x22eaa8,IUniverInstanceService as _0xb64395,UniverInstanceType as _0x2da65a,generateRandomId as _0x5400de,DrawingTypeEnum as _0x1d4482}from'@univerjs/core';function _0x3c5a(_0x1363e7,_0x473f8e){const _0x1bfa05=_0x1bfa();return _0x3c5a=function(_0x3c5a67,_0x20c84e){_0x3c5a67=_0x3c5a67-0x8c;let _0x33222c=_0x1bfa05[_0x3c5a67];return _0x33222c;},_0x3c5a(_0x1363e7,_0x473f8e);}import{RemoveSheetDrawingCommand as _0x5af187}from'@univerjs/sheets-drawing-ui';import{FWorksheet as _0x359bd0}from'@univerjs/sheets/facade';import{FBase as _0x2fcc24,FEnum as _0x1914af}from'@univerjs/core/facade';import{deserializeRangeWithSheet as _0x474cf0}from'@univerjs/engine-formula';import{IRenderManagerService as _0x30e3af}from'@univerjs/engine-render';import{ISheetSelectionRenderService as _0xb915a7,SheetSkeletonManagerService as _0x262c60,convertPositionCellToSheetOverGrid as _0x43bb14}from'@univerjs/sheets-ui';const s=(_0x52ae34,_0x5b4198,_0x33a576)=>{_0x33a576!==void 0x0&&_0xfb4627(_0x52ae34,_0x5b4198,_0x33a576);},C=(_0x64083f,_0x107c87,_0x5ac3e5,_0x2bd68b={})=>{const _0x1853a1=_0x5a5590,_0x59686f={},_0x388361={};if(_0x2bd68b[_0x1853a1(0xd7)]){const _0x3f87ef=_0x2bd68b['title'];s(_0x59686f,_0x1853a1(0xbd),_0x3f87ef[_0x1853a1(0x110)]),s(_0x59686f,_0x1853a1(0xcf),_0x3f87ef[_0x1853a1(0xfa)]),s(_0x59686f,_0x1853a1(0xb8),_0x3f87ef[_0x1853a1(0x11c)]),s(_0x59686f,'titles.title.color',_0x3f87ef['fontColor']),s(_0x59686f,_0x1853a1(0xf6),_0x3f87ef[_0x1853a1(0x127)]),s(_0x59686f,_0x1853a1(0xe3),_0x3f87ef[_0x1853a1(0x96)]),s(_0x59686f,_0x1853a1(0xab),_0x3f87ef[_0x1853a1(0xad)]),s(_0x59686f,_0x1853a1(0xbf),_0x3f87ef[_0x1853a1(0xb0)]);}if(_0x2bd68b[_0x1853a1(0x9c)]){const _0x39de1f=_0x2bd68b[_0x1853a1(0x9c)];s(_0x59686f,_0x1853a1(0x9d),_0x39de1f[_0x1853a1(0xb0)]),s(_0x59686f,_0x1853a1(0x116),_0x39de1f[_0x1853a1(0xdc)]),s(_0x59686f,_0x1853a1(0xc4),_0x39de1f[_0x1853a1(0x11c)]),s(_0x59686f,_0x1853a1(0x10b),_0x39de1f[_0x1853a1(0xca)]),s(_0x59686f,'legend.label.bold',_0x39de1f[_0x1853a1(0x96)]),s(_0x59686f,_0x1853a1(0xeb),_0x39de1f[_0x1853a1(0xcd)]);}if(_0x2bd68b['pie']){const _0x16190b=_0x2bd68b[_0x1853a1(0xb7)];s(_0x59686f,'pie.doughnutHole',_0x16190b[_0x1853a1(0x118)]),s(_0x59686f,_0x1853a1(0xf8),_0x16190b[_0x1853a1(0x133)]),s(_0x59686f,_0x1853a1(0x9e),_0x16190b[_0x1853a1(0x9a)]),s(_0x59686f,_0x1853a1(0xc6),_0x16190b[_0x1853a1(0x92)]),s(_0x59686f,'pie.rosePie',_0x16190b[_0x1853a1(0x12d)]),s(_0x59686f,'pie.showLabelLine',_0x16190b[_0x1853a1(0xc1)]);}if(_0x2bd68b['axisPointer']){const _0x32971c=_0x2bd68b[_0x1853a1(0xf7)];s(_0x59686f,'tooltip.indicatorLabelColor',_0x32971c['indicatorLabelColor']),s(_0x59686f,'tooltip.indicatorLineType',_0x32971c['indicatorLineType']),s(_0x59686f,'tooltip.indicatorLineColor',_0x32971c[_0x1853a1(0xc2)]),s(_0x59686f,_0x1853a1(0xf5),_0x32971c[_0x1853a1(0xe0)]);}if(_0x2bd68b[_0x1853a1(0xa1)]&&(s(_0x59686f,_0x1853a1(0xc7),_0x2bd68b[_0x1853a1(0xa1)][_0x1853a1(0x10c)]),s(_0x59686f,'allSeriesStyle.label',_0x2bd68b[_0x1853a1(0xa1)][_0x1853a1(0x103)]),s(_0x59686f,_0x1853a1(0x114),_0x2bd68b[_0x1853a1(0xa1)]['rightYAxis']),s(_0x59686f,'allSeriesStyle.point',_0x2bd68b['allSeriesStyle']['point']),s(_0x59686f,_0x1853a1(0xd3),_0x2bd68b[_0x1853a1(0xa1)]['color'])),_0x2bd68b[_0x1853a1(0xde)]&&s(_0x59686f,_0x1853a1(0xc9),_0x2bd68b[_0x1853a1(0xde)][_0x1853a1(0x108)]),_0x2bd68b[_0x1853a1(0x124)]&&s(_0x59686f,'theme',_0x2bd68b[_0x1853a1(0x124)]),_0x2bd68b[_0x1853a1(0xfe)]&&s(_0x59686f,'backgroundColor',_0x2bd68b[_0x1853a1(0xfe)]),_0x2bd68b[_0x1853a1(0x133)]&&s(_0x59686f,'borderColor',_0x2bd68b['borderColor']),_0x2bd68b[_0x1853a1(0xb9)]&&s(_0x59686f,_0x1853a1(0xb9),_0x2bd68b[_0x1853a1(0xb9)]),_0x2bd68b[_0x1853a1(0xba)]&&s(_0x59686f,_0x1853a1(0xba),_0x2bd68b['invalidValueType']),_0x2bd68b[_0x1853a1(0xbb)]&&s(_0x59686f,_0x1853a1(0xbb),_0x2bd68b['radar']),_0x2bd68b[_0x1853a1(0x121)]){const _0x3702f9=_0x2bd68b[_0x1853a1(0x121)];s(_0x59686f,'titles.xAxisTitle.content',_0x3702f9[_0x1853a1(0x110)]),s(_0x59686f,_0x1853a1(0xe6),_0x3702f9[_0x1853a1(0xfa)]),s(_0x59686f,'titles.xAxisTitle.fontSize',_0x3702f9['fontSize']),s(_0x59686f,_0x1853a1(0x122),_0x3702f9['fontColor']),s(_0x59686f,'titles.xAxisTitle.family',_0x3702f9[_0x1853a1(0x127)]),s(_0x59686f,_0x1853a1(0x13c),_0x3702f9[_0x1853a1(0x96)]),s(_0x59686f,_0x1853a1(0x113),_0x3702f9[_0x1853a1(0x11b)]);}if(_0x2bd68b[_0x1853a1(0xbc)]){const _0x4af6e5=_0x2bd68b[_0x1853a1(0xbc)];s(_0x59686f,'titles.yAxisTitle.content',_0x4af6e5['content']),s(_0x59686f,_0x1853a1(0x12c),_0x4af6e5[_0x1853a1(0xfa)]),s(_0x59686f,'titles.yAxisTitle.fontSize',_0x4af6e5[_0x1853a1(0x11c)]),s(_0x59686f,_0x1853a1(0xe4),_0x4af6e5['fontColor']),s(_0x59686f,_0x1853a1(0x135),_0x4af6e5[_0x1853a1(0x127)]),s(_0x59686f,'titles.yAxisTitle.bold',_0x4af6e5[_0x1853a1(0x96)]),s(_0x59686f,'yAxis.label.axisTitleAlign',_0x4af6e5['axisAlignment']);}if(_0x2bd68b['rightYAxisTitle']){const _0x4a30f5=_0x2bd68b[_0x1853a1(0xe1)];s(_0x59686f,_0x1853a1(0xff),_0x4a30f5[_0x1853a1(0x110)]),s(_0x59686f,_0x1853a1(0xa2),_0x4a30f5[_0x1853a1(0xfa)]),s(_0x59686f,_0x1853a1(0x134),_0x4a30f5[_0x1853a1(0x11c)]),s(_0x59686f,_0x1853a1(0xdb),_0x4a30f5[_0x1853a1(0xa6)]),s(_0x59686f,_0x1853a1(0xb4),_0x4a30f5[_0x1853a1(0x127)]),s(_0x59686f,_0x1853a1(0x12f),_0x4a30f5[_0x1853a1(0x96)]),s(_0x59686f,_0x1853a1(0x137),_0x4a30f5[_0x1853a1(0x11b)]);}_0x2bd68b[_0x1853a1(0x99)]&&s(_0x59686f,_0x1853a1(0x99),_0x2bd68b['xAxis']),_0x2bd68b[_0x1853a1(0xb1)]&&s(_0x59686f,_0x1853a1(0xb1),_0x2bd68b[_0x1853a1(0xb1)]),_0x2bd68b[_0x1853a1(0xdf)]&&s(_0x59686f,_0x1853a1(0xaa),_0x2bd68b[_0x1853a1(0xdf)]),_0x2bd68b[_0x1853a1(0x98)]&&s(_0x59686f,_0x1853a1(0x98),_0x2bd68b[_0x1853a1(0x98)]);const _0xc6a57={'unitId':_0x64083f,'chartModelId':_0x107c87};let _0x1b1866=!0x1;if(_0x5ac3e5!==void 0x0&&(_0xc6a57[_0x1853a1(0x100)]=_0x5ac3e5,_0x1b1866=!0x0),Object[_0x1853a1(0xd8)](_0x59686f)[_0x1853a1(0x129)]>0x0&&(_0xc6a57[_0x1853a1(0xcc)]=_0x59686f,_0x1b1866=!0x0),Object['keys'](_0x388361)['length']>0x0&&(_0xc6a57['context']=_0x388361,_0x1b1866=!0x0),_0x1b1866)return _0xc6a57;};class c extends _0x2fcc24{constructor(_0x549b63,_0x46b0f2,_0x4cf180,_0x218f17,_0x921cbe){const _0x187143=_0x5a5590;super(),n(this,_0x187143(0x10f)),n(this,'_injector'),n(this,_0x187143(0xea)),n(this,_0x187143(0xf0)),n(this,'chartId'),n(this,_0x187143(0x13b)),n(this,_0x187143(0x139)),n(this,'x'),n(this,'y'),n(this,'width'),n(this,'height'),n(this,_0x187143(0x100)),n(this,'options'),n(this,_0x187143(0x11a)),(this[_0x187143(0xea)]=_0x549b63,this[_0x187143(0xf0)]=_0x46b0f2,this[_0x187143(0x10f)]=_0x4cf180,this['_injector']=_0x218f17,_0x921cbe&&(this[_0x187143(0xe5)]=_0x921cbe));}[_0x5a5590(0xe2)](){const _0x55f3b2=_0x5a5590;return this[_0x55f3b2(0x100)];}['addRange'](_0x1bf4d2){const _0x327604=_0x5a5590;if(typeof _0x1bf4d2==_0x327604(0xa0)){const _0xb67234=_0x474cf0(_0x1bf4d2);_0xb67234[_0x327604(0xa8)]&&(this[_0x327604(0x139)]=_0xb67234[_0x327604(0xa8)]),this[_0x327604(0x13b)]=_0xb67234['range'];}else this[_0x327604(0x13b)]=_0x1bf4d2;return this;}[_0x5a5590(0x138)](){const _0x2d45ee=_0x5a5590;return this[_0x2d45ee(0x13b)]=void 0x0,this['sourceSheetName']=void 0x0,this;}['setPosition'](_0x18255e,_0x3abec8,_0x58c7a7,_0x34ed59){const _0x48ab1f=_0x5a5590,_0x11eb8f=this[_0x48ab1f(0xe8)]['get'](_0x30e3af)['getRenderById'](this[_0x48ab1f(0xea)]);if(!_0x11eb8f)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x351f78=_0x11eb8f['with'](_0xb915a7),_0x5b8bf5=_0x11eb8f[_0x48ab1f(0x109)](_0x262c60),{transform:_0x6c97d0}=_0x43bb14(this['unitId'],this[_0x48ab1f(0xf0)],{'row':_0x18255e,'column':_0x3abec8,'rowOffset':_0x58c7a7,'columnOffset':_0x34ed59},0x1,0x1,_0x351f78,_0x5b8bf5),_0x130109=_0x6c97d0[_0x48ab1f(0x91)],_0x29df50=_0x6c97d0[_0x48ab1f(0x97)];return this['x']=_0x29df50,this['y']=_0x130109,this;}['setAbsolutePosition'](_0x4ba37a,_0x151f87){return this['x']=_0x4ba37a,this['y']=_0x151f87,this;}[_0x5a5590(0x8c)](_0x8c389){const _0x41be04=_0x5a5590;return this[_0x41be04(0x100)]=_0x8c389,this;}[_0x5a5590(0x125)](_0x322b8f){const _0x2d6a33=_0x5a5590;return this[_0x2d6a33(0xa7)]=_0x322b8f,this;}[_0x5a5590(0xc5)](_0x401c60){const _0x42bd94=_0x5a5590;return this[_0x42bd94(0x9f)]=_0x401c60,this;}[_0x5a5590(0x8f)](_0x1cafbb,_0x510949){const _0x4e551d=_0x5a5590;return this['options']||(this['options']={}),_0x1cafbb===''?(this[_0x4e551d(0xb2)]={...this['options'],..._0x510949},this):(_0xfb4627(this[_0x4e551d(0xb2)],_0x1cafbb,_0x510949),this);}[_0x5a5590(0x104)](_0x3ef626){return this['transposeRowsAndColumns']=_0x3ef626,this;}[_0x5a5590(0x9b)](_0xa65f61){const _0x4f74c1=_0x5a5590;return this['setOptions'](_0x4f74c1(0x124),_0xa65f61),this;}[_0x5a5590(0xf1)](_0x239c0a){const _0xb1a415=_0x5a5590;var _0x416de8;const _0x5374f2=((_0x416de8=this[_0xb1a415(0xb2)])==null?void 0x0:_0x416de8['xAxisTitle'])||{};return _0x5374f2[_0xb1a415(0x110)]=_0x239c0a,this['setOptions']('xAxisTitle',_0x5374f2),this;}[_0x5a5590(0xa4)](_0x3e4b3d){const _0x3597f7=_0x5a5590;var _0x20e502;const _0xfff5e8=((_0x20e502=this[_0x3597f7(0xb2)])==null?void 0x0:_0x20e502[_0x3597f7(0xbc)])||{};return _0xfff5e8[_0x3597f7(0x110)]=_0x3e4b3d,this[_0x3597f7(0x8f)](_0x3597f7(0xbc),_0xfff5e8),this;}['setRightYAxisTitle'](_0x44d461){const _0x54a341=_0x5a5590;var _0x3b4d44;const _0x529ec0=((_0x3b4d44=this[_0x54a341(0xb2)])==null?void 0x0:_0x3b4d44[_0x54a341(0xe1)])||{};return _0x529ec0[_0x54a341(0x110)]=_0x44d461,this[_0x54a341(0x8f)](_0x54a341(0xe1),_0x529ec0),this;}['setXAxisTextStyle'](_0x2e139b){const _0x41f2cc=_0x5a5590;var _0x132194;const _0x3a917c=((_0x132194=this['options'])==null?void 0x0:_0x132194['xAxisTitle'])||{};return this[_0x41f2cc(0x8f)](_0x41f2cc(0x121),{..._0x3a917c,..._0x2e139b}),this;}[_0x5a5590(0x123)](_0x35e6d4){const _0x368bfa=_0x5a5590;var _0x181f49;const _0x3631d5=((_0x181f49=this[_0x368bfa(0xb2)])==null?void 0x0:_0x181f49[_0x368bfa(0xbc)])||{};return this[_0x368bfa(0x8f)](_0x368bfa(0xbc),{..._0x3631d5,..._0x35e6d4}),this;}[_0x5a5590(0x11d)](_0x22c7c7){const _0x261862=_0x5a5590;var _0x2af0f4;const _0x1bc219=((_0x2af0f4=this[_0x261862(0xb2)])==null?void 0x0:_0x2af0f4['rightYAxisTitle'])||{};return this[_0x261862(0x8f)](_0x261862(0xe1),{..._0x1bc219,..._0x22c7c7}),this;}[_0x5a5590(0xb6)](_0x259cc8){const _0x407bda=_0x5a5590;return this['setOptions'](_0x407bda(0xba),_0x259cc8),this;}[_0x5a5590(0x101)](_0x4533a3){const _0x2cc930=_0x5a5590;return this[_0x2cc930(0x8f)](_0x2cc930(0xf7),_0x4533a3),this;}[_0x5a5590(0x8d)](_0x3f1e8a){const _0x4c8c30=_0x5a5590;return this[_0x4c8c30(0x8f)]('allSeriesStyle',_0x3f1e8a),this;}['setSeriesStyle'](_0x2c5c71,_0x5edea5){const _0x3e086b=_0x5a5590;return this[_0x3e086b(0x8f)](_0x3e086b(0x98),{[_0x2c5c71]:_0x5edea5}),this;}[_0x5a5590(0x90)](){const _0x32a3d7=_0x5a5590;var _0x5f9a0e;let _0x2eeb2f=this[_0x32a3d7(0xf0)];if(this[_0x32a3d7(0x139)]){const _0x4f1c3b=(_0x5f9a0e=this[_0x32a3d7(0x10f)][_0x32a3d7(0xd9)](this['sourceSheetName']))==null?void 0x0:_0x5f9a0e[_0x32a3d7(0x120)]();if(!_0x4f1c3b)throw new Error(_0x32a3d7(0x106)+this[_0x32a3d7(0x139)]+'\x20not\x20found');_0x2eeb2f=_0x4f1c3b;}return{'unitId':this[_0x32a3d7(0xea)],'subUnitId':_0x2eeb2f,'chartId':this[_0x32a3d7(0xe5)],'range':this[_0x32a3d7(0x13b)],'x':this['x'],'y':this['y'],'width':this[_0x32a3d7(0xa7)],'height':this['height'],'chartType':this[_0x32a3d7(0x100)],'options':this[_0x32a3d7(0xb2)],'isRowDirection':this['transposeRowsAndColumns']};}}class f{constructor(_0x298cdc,_0x282d20,_0x866d4c,_0x3ff802){const _0x3bd9b7=_0x5a5590;n(this,_0x3bd9b7(0xea)),n(this,'subUnitId'),n(this,'chartId'),n(this,_0x3bd9b7(0xe8)),(this['unitId']=_0x298cdc,this[_0x3bd9b7(0xf0)]=_0x282d20,this['chartId']=_0x866d4c,this[_0x3bd9b7(0xe8)]=_0x3ff802);}['getChartId'](){const _0x229acc=_0x5a5590;return this[_0x229acc(0xe5)];}[_0x5a5590(0x13e)](){const _0x3a7093=_0x5a5590,_0x4896a4=this[_0x3a7093(0xe8)]['get'](_0x484aeb)[_0x3a7093(0xac)](this[_0x3a7093(0xe5)]);if(_0x4896a4)return _0x4896a4[_0x3a7093(0xec)][_0x3a7093(0xe7)]();}[_0x5a5590(0xae)](_0x1258fe){const _0x7d31c9=_0x5a5590;return this[_0x7d31c9(0xe8)][_0x7d31c9(0x130)](_0x22eaa8)[_0x7d31c9(0xb3)](_0x3fe297['id'],{'unitId':this[_0x7d31c9(0xea)],'chartModelId':this[_0x7d31c9(0xe5)],'range':_0x1258fe});}[_0x5a5590(0xef)](){const _0x279bb7=_0x5a5590;var _0x5bf524;const _0x32429b=this[_0x279bb7(0xe8)][_0x279bb7(0x130)](_0x484aeb)['getChartModel'](this[_0x279bb7(0xe5)]);if(_0x32429b)return(_0x5bf524=_0x32429b['config'])==null?void 0x0:_0x5bf524[_0x279bb7(0xaf)];}[_0x5a5590(0xf4)](){const _0x52a73a=_0x5a5590;var _0x3b7bda;const _0x2b7bcc=this['_injector'][_0x52a73a(0x130)](_0x484aeb)['getChartModel'](this[_0x52a73a(0xe5)]);if(_0x2b7bcc)return(_0x3b7bda=_0x2b7bcc['config'])==null?void 0x0:_0x3b7bda['category'];}[_0x5a5590(0xd1)](){const _0x430df3=_0x5a5590,_0x236f01=this['_injector'][_0x430df3(0x130)](_0xb64395)[_0x430df3(0x111)](_0x2da65a[_0x430df3(0x13d)]);return new c(this[_0x430df3(0xea)],this[_0x430df3(0xf0)],_0x236f01,this[_0x430df3(0xe8)],this['chartId']);}}class Q extends _0x359bd0{async['insertChart'](_0x5b170b){const _0x2d4656=_0x5a5590;var _0x5cb479,_0x3f0871,_0x36ab01;const _0x38e3d3=_0x5b170b[_0x2d4656(0xea)]||this['getWorkbook']()[_0x2d4656(0x136)](),_0x594a0d=_0x5b170b[_0x2d4656(0xf0)]||this[_0x2d4656(0x120)](),_0x24af1e=_0x5b170b[_0x2d4656(0xe5)]||_0x5400de(),_0x4814fa=_0x5b170b['chartType'],_0xf3a28b=_0x5b170b[_0x2d4656(0x13b)],_0xed8dcf={'x':_0x5b170b['x'],'y':_0x5b170b['y']},_0x526ac9=_0x5b170b[_0x2d4656(0xa7)],_0x54439a=_0x5b170b[_0x2d4656(0x9f)],_0x4a3d42=(_0x5cb479=_0x5b170b[_0x2d4656(0xb2)])==null?void 0x0:_0x5cb479[_0x2d4656(0xfe)],_0x348cbf=(_0x3f0871=_0x5b170b['options'])==null?void 0x0:_0x3f0871['borderColor'],_0x2ab5cf=C(_0x38e3d3,_0x24af1e,_0x4814fa,_0x5b170b[_0x2d4656(0xb2)]),_0x44040c=(_0x36ab01=_0x5b170b[_0x2d4656(0xa5)])!=null?_0x36ab01:!0x0;if(!_0xf3a28b)throw new Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x2d4656(0xd4)][_0x2d4656(0xb3)](_0x26c547['id'],{'unitId':_0x38e3d3,'subUnitId':_0x594a0d,'chartId':_0x24af1e,'chartType':_0x4814fa,'range':_0xf3a28b,'position':_0xed8dcf,'width':_0x526ac9,'height':_0x54439a,'backgroundColor':_0x4a3d42,'borderColor':_0x348cbf,'config':_0x2ab5cf,'isRowDirection':_0x44040c}),new f(_0x38e3d3,_0x594a0d,_0x24af1e,this[_0x2d4656(0xe8)]);}['updateChart'](_0x25cd48){const _0x296659=_0x5a5590,{unitId:_0x32595e,chartId:_0x276905,chartType:_0x5a4d07,options:_0x37f9a7}=_0x25cd48,_0x50b63e=C(_0x32595e,_0x276905,_0x5a4d07,_0x37f9a7);this[_0x296659(0xd4)][_0x296659(0xb3)](_0x4aff7f['id'],_0x50b63e);}['newChart'](_0xddcd8){const _0x53766b=_0x5a5590;if(_0xddcd8)return new c(_0xddcd8['unitId'],_0xddcd8[_0x53766b(0xf0)],this[_0x53766b(0x10f)],this[_0x53766b(0xe8)],_0xddcd8[_0x53766b(0xe5)]);const _0x2f2cc4=this[_0x53766b(0xf3)]()['getUnitId'](),_0x362ead=this['getSheetId']();return new c(_0x2f2cc4,_0x362ead,this[_0x53766b(0x10f)],this[_0x53766b(0xe8)]);}[_0x5a5590(0xb5)](){const _0x4e5e91=_0x5a5590,_0x33a137=this['_injector']['get'](_0x484aeb),_0x3d8b10=this['getWorkbook']()[_0x4e5e91(0x136)]();return _0x33a137['getUnitChartModels'](_0x3d8b10,this[_0x4e5e91(0x120)]())[_0x4e5e91(0x119)](_0x197f05=>new f(_0x3d8b10,this[_0x4e5e91(0x120)](),_0x197f05['id'],this['_injector']));}[_0x5a5590(0xcb)](_0x3f4be3){const _0x542a74=_0x5a5590,_0x3b0222=_0x3f4be3['unitId'],_0x2294fd=_0x3f4be3[_0x542a74(0xf0)],_0x3c87ab=_0x3f4be3[_0x542a74(0xe5)],_0x2a73ef={'unitId':_0x3b0222,'drawings':[{'unitId':_0x3b0222,'subUnitId':_0x2294fd,'drawingId':_0x3c87ab,'drawingType':_0x1d4482[_0x542a74(0xc3)]}]};return this['_commandService'][_0x542a74(0xb3)](_0x5af187['id'],_0x2a73ef);}[_0x5a5590(0x107)](_0x249a11,_0x3f4e43){const _0x2e50d9=_0x5a5590;this[_0x2e50d9(0xe8)][_0x2e50d9(0x130)](_0x252c21)[_0x2e50d9(0x132)](_0x249a11,_0x3f4e43);}}_0x359bd0['extend'](Q);class Z extends _0x1914af{get['ChartType'](){return _0x23d5f6;}get[_0x5a5590(0x131)](){return _0x13ff90;}get['SelectModeEnum'](){return _0x4f7a52;}get[_0x5a5590(0x13a)](){return _0x5709b7;}get[_0x5a5590(0x128)](){return _0x11e73a;}get['LinePointShape'](){return _0x2fbd96;}get[_0x5a5590(0xfb)](){return _0x2b1347;}get[_0x5a5590(0xa9)](){return _0x575818;}}_0x1914af[_0x5a5590(0x11e)](Z);function _0x1bfa(){const _0x263aec=['executeCommand','titles.rightYAxisTitle.family','getCharts','setInvalidValueStrategy','pie','titles.title.fontSize','gradientFill','invalidValueType','radar','yAxisTitle','titles.title.content','radar.fill','titles.titlePosition','50DWhBRf','showLabelLine','indicatorLineColor','DRAWING_CHART','legend.label.fontSize','setHeight','pie.isHalfPie','allSeriesStyle.border','dataPointShape','area.lineStyle','color','removeChart','style','italic','pie.rosePie','titles.title.font','200vNTQnx','modify','pie.showLabelLine','allSeriesStyle.color','_commandService','defineProperty','3Vxvmcf','title','keys','getSheetBySheetName','dataPointSize','titles.rightYAxisTitle.color','selectMode','pie.doughnutHole','area','yRightAxis','indicatorLabelTextColor','rightYAxisTitle','getChartType','titles.title.bold','titles.yAxisTitle.color','chartId','titles.xAxisTitle.font','getRangeInfo','_injector','shape','unitId','legend.label.italic','dataSource','76738ayQlYA','setRosePie','getSeriesData','subUnitId','setXAxisTitle','Radar','getWorkbook','getCategoryData','tooltip.indicatorLabelTextColor','titles.title.family','axisPointer','pie.borderColor','339764Fhanjq','font','TitlePositionEnum','allSeriesStyle.point.size','fill','backgroundColor','titles.rightYAxisTitle.content','chartType','setAxisPointerStyle','1145KDlDbm','label','setTransposeRowsAndColumns','setIsHalfPie','Sheet\x20','registerChartTheme','lineStyle','with','Line','legend.label.color','border','radar.shape','57249CxvNxx','_workbook','content','getCurrentUnitForType','setFill','xAxis.label.axisTitleAlign','allSeriesStyle.rightYAxis','13684kbfFxn','legend.selectMode','asPieChart','doughnutHole','map','transposeRowsAndColumns','axisAlignment','fontSize','setRightYAxisTextStyle','extend','965314glRMfk','getSheetId','xAxisTitle','titles.xAxisTitle.color','setYAxisTextStyle','theme','setWidth','setDataPointShape','fontStyle','ChartBorderDashType','length','asLineChart','5910eYPaAp','titles.yAxisTitle.font','rosePie','dataPointColor','titles.rightYAxisTitle.bold','get','LegendPositionEnum','registerTheme','borderColor','titles.rightYAxisTitle.fontSize','titles.yAxisTitle.family','getUnitId','rightYAxis.label.axisTitleAlign','clearRange','sourceSheetName','AxisAlignEnum','range','titles.xAxisTitle.bold','UNIVER_SHEET','getRange','setChartType','setAllSeriesStyle','setHasPaddingAngle','setOptions','build','top','isHalfPie','allSeriesStyle.point.color','asRadarChart','symbol','bold','left','seriesStyleMap','xAxis','hasPaddingAngle','setTheme','legend','legend.position','pie.hasPaddingAngle','height','string','allSeriesStyle','titles.rightYAxisTitle.font','150122MFhFGM','setYAxisTitle','isRowDirection','fontColor','width','sheetName','RadarShape','rightYAxis','titles.title.align','getChartModel','titleAlignment','updateRange','series','position','yAxis','options'];_0x1bfa=function(){return _0x263aec;};return _0x1bfa();}class tt extends c{constructor(_0x386025,_0x18ea3d,_0x3eedd4,_0x2f0388,_0x38928d){const _0x24cb6f=_0x5a5590;super(_0x386025,_0x18ea3d,_0x3eedd4,_0x2f0388,_0x38928d),n(this,_0x24cb6f(0x108)),n(this,_0x24cb6f(0xc8)),n(this,'dataPointColor'),n(this,'dataPointSize');}['setLineStyle'](_0x42ef86){const _0x274b8b=_0x5a5590;return this[_0x274b8b(0x108)]=_0x42ef86,this;}[_0x5a5590(0x126)](_0x5c65f5){const _0x29ac7c=_0x5a5590;return this[_0x29ac7c(0xc8)]=_0x5c65f5,this;}['setDataPointColor'](_0x1d52e0){const _0xcef825=_0x5a5590;return this[_0xcef825(0x12e)]=_0x1d52e0,this;}['setDataPointSize'](_0x5f21d2){const _0x319b61=_0x5a5590;return this[_0x319b61(0xda)]=_0x5f21d2,this;}[_0x5a5590(0x90)](){const _0x35f700=_0x5a5590,_0x46804d=super['build']();_0x46804d['chartType']=_0x23d5f6[_0x35f700(0x10a)];const _0x496a55=_0x46804d[_0x35f700(0xb2)]||{};return s(_0x496a55,_0x35f700(0xc9),this[_0x35f700(0x108)]),s(_0x496a55,'allSeriesStyle.point.shape',this[_0x35f700(0xc8)]),s(_0x496a55,_0x35f700(0x93),this[_0x35f700(0x12e)]),s(_0x496a55,_0x35f700(0xfc),this['dataPointSize']),_0x46804d['options']=_0x496a55,_0x46804d;}}class et extends c{[_0x5a5590(0x12a)](){const _0x13a017=_0x5a5590;return new tt(this[_0x13a017(0xea)],this[_0x13a017(0xf0)],this[_0x13a017(0x10f)],this[_0x13a017(0xe8)],this['chartId']);}}c['extend'](et);class it extends c{constructor(_0x944647,_0x560476,_0x262fc4,_0x20e2d1,_0x59cb60){const _0x46728a=_0x5a5590;super(_0x944647,_0x560476,_0x262fc4,_0x20e2d1,_0x59cb60),n(this,'doughnutHole'),n(this,_0x46728a(0x133)),n(this,_0x46728a(0x9a)),n(this,_0x46728a(0x92)),n(this,'rosePie'),n(this,'showLabelLine');}['setDoughnutHole'](_0x2f80af){const _0x10f483=_0x5a5590;return this[_0x10f483(0x118)]=_0x2f80af,this;}['setBorderColor'](_0x4f077c){const _0x1d2d06=_0x5a5590;return this[_0x1d2d06(0x133)]=_0x4f077c,this;}[_0x5a5590(0x8e)](_0x447762){const _0x1ec7be=_0x5a5590;return this[_0x1ec7be(0x9a)]=_0x447762,this;}[_0x5a5590(0x105)](_0xba7dfb){return this['isHalfPie']=_0xba7dfb,this;}[_0x5a5590(0xee)](_0x56c906){const _0x218075=_0x5a5590;return this[_0x218075(0x12d)]=_0x56c906,this;}['setShowLabelLine'](_0xe22129){const _0x4cd12b=_0x5a5590;return this[_0x4cd12b(0xc1)]=_0xe22129,this;}['build'](){const _0x23ab16=_0x5a5590,_0x31b0f9=super['build']();_0x31b0f9[_0x23ab16(0x100)]=_0x23d5f6['Pie'];const _0x32ab65=_0x31b0f9['options']||{};return s(_0x32ab65,_0x23ab16(0xdd),this[_0x23ab16(0x118)]),s(_0x32ab65,'pie.borderColor',this[_0x23ab16(0x133)]),s(_0x32ab65,_0x23ab16(0x9e),this[_0x23ab16(0x9a)]),s(_0x32ab65,_0x23ab16(0xc6),this[_0x23ab16(0x92)]),s(_0x32ab65,_0x23ab16(0xce),this['rosePie']),s(_0x32ab65,_0x23ab16(0xd2),this[_0x23ab16(0xc1)]),_0x31b0f9[_0x23ab16(0xb2)]=_0x32ab65,_0x31b0f9;}}class st extends c{[_0x5a5590(0x117)](){const _0x297d87=_0x5a5590;return new it(this['unitId'],this[_0x297d87(0xf0)],this['_workbook'],this[_0x297d87(0xe8)],this['chartId']);}}c[_0x5a5590(0x11e)](st);class rt extends c{constructor(_0x2d53e1,_0x1f80e6,_0x194caf,_0x38e360,_0x58537f){const _0x2c62b7=_0x5a5590;super(_0x2d53e1,_0x1f80e6,_0x194caf,_0x38e360,_0x58537f),n(this,_0x2c62b7(0xe9)),n(this,_0x2c62b7(0xfd));}['setShape'](_0x54ce80){return this['shape']=_0x54ce80,this;}[_0x5a5590(0x112)](_0x323b37){const _0x318c29=_0x5a5590;return this[_0x318c29(0xfd)]=_0x323b37,this;}['build'](){const _0x47735b=_0x5a5590,_0x474aa8=super[_0x47735b(0x90)]();_0x474aa8[_0x47735b(0x100)]=_0x23d5f6[_0x47735b(0xf2)];const _0x17c642=_0x474aa8[_0x47735b(0xb2)]||{};return s(_0x17c642,_0x47735b(0x10d),this['shape']),s(_0x17c642,_0x47735b(0xbe),this['fill']),_0x474aa8[_0x47735b(0xb2)]=_0x17c642,_0x474aa8;}}class ot extends c{[_0x5a5590(0x94)](){const _0x3b60d5=_0x5a5590;return new rt(this['unitId'],this[_0x3b60d5(0xf0)],this[_0x3b60d5(0x10f)],this[_0x3b60d5(0xe8)],this[_0x3b60d5(0xe5)]);}}c['extend'](ot);export{f as FChart,c as FChartBuilderBase,tt as LineChartBuilder,it as PieChartBuilder,rt 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-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-4{width:1rem}.univer-w-5{width:1.25rem}.univer-w-6{width:1.5rem}.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-flex-shrink-0{flex-shrink:0}.univer-flex-grow{flex-grow:1}.univer-rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(180deg) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--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{--tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--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{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 rgba(0,0,0,0))}.focus\:univer-ring-primary-50:focus{--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-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 *){--tw-shadow: 0 0 rgba(0,0,0,0) !important;--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(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--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-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-4{width:1rem}.univer-w-5{width:1.25rem}.univer-w-6{width:1.5rem}.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-flex-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-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}
|