@univerjs-pro/sheets-chart-ui 0.4.2-nightly.202411081606
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/README.md +16 -0
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/index.css +1 -0
- package/lib/types/index.d.ts +169 -0
- package/lib/umd/index.js +1 -0
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +113 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0xfc4711=_0x353c;function _0x353c(_0x5de3c2,_0x7211ef){const _0xf28aba=_0xf28a();return _0x353c=function(_0x353cf3,_0x3f28c3){_0x353cf3=_0x353cf3-0x81;let _0x59e343=_0xf28aba[_0x353cf3];return _0x59e343;},_0x353c(_0x5de3c2,_0x7211ef);}(function(_0x252768,_0x467830){const _0x49bc1c=_0x353c,_0x4a2dad=_0x252768();while(!![]){try{const _0x111f14=-parseInt(_0x49bc1c(0x9b))/0x1*(parseInt(_0x49bc1c(0xa9))/0x2)+-parseInt(_0x49bc1c(0x91))/0x3+parseInt(_0x49bc1c(0xae))/0x4*(parseInt(_0x49bc1c(0xe1))/0x5)+-parseInt(_0x49bc1c(0x93))/0x6*(-parseInt(_0x49bc1c(0xd8))/0x7)+-parseInt(_0x49bc1c(0xce))/0x8*(parseInt(_0x49bc1c(0xc2))/0x9)+parseInt(_0x49bc1c(0xcd))/0xa*(-parseInt(_0x49bc1c(0xb8))/0xb)+-parseInt(_0x49bc1c(0xc3))/0xc*(-parseInt(_0x49bc1c(0x89))/0xd);if(_0x111f14===_0x467830)break;else _0x4a2dad['push'](_0x4a2dad['shift']());}catch(_0x4be180){_0x4a2dad['push'](_0x4a2dad['shift']());}}}(_0xf28a,0x456eb));function _0xf28a(){const _0x2dacf0=['Stacked\x20area\x20chart','Border','All\x20series','Percent\x20stacked\x20area\x20chart','Reverse\x20axis\x20order','Bubble\x20chart','2655906nAwglF','{0}\x20with\x20format','Data\x20labels','Right','Gradient\x20fill','Axis\x20title\x20align','Min','{0}\x20with\x20opacity','Scatter\x20chart','gaps','27VTaPyO','626436tXntkS','Right\x20vertical\x20axis','Line\x20chart','Bar\x20chart','Series','Default','Vertical\x20axis','Smooth','Point','Bottom','10riaRiu','1216496MAqJQV','Main\x20title','Sub\x20title','Chart\x20type','Axis','Position','Setup','Fill','{0}\x20with\x20thickness','Data\x20range','1322153vHbOlu','Step','{0}\x20with\x20shape','Pie\x20chart','Label\x20text','{0}\x20with\x20type','Themes','Major\x20gridlines','Inside','5YRJIqU','zero','Circle','Dot','Chart\x20editor','Horizontal\x20axis','Gridlines','Title\x20text','Show\x20axis\x20line','Right\x20Y-axis\x20title','Half\x20pie','Line','Left\x20axis','Stacked\x20bar\x20chart','The\x20{0}\x20item','Donut\x20chart','195mglpwu','Square','Show\x20empty\x20cells\x20as','None','Chart\x20and\x20axis\x20titles','Column\x20chart','Title\x20format','Polygon','879099xAjqYr','Connect\x20data\x20points\x20with\x20straight\x20lines','18IDxlsI','Data\x20point\x20style','Radar\x20chart','{0}\x20with\x20size','Stock\x20chart','Dash','End','Data\x20point','121718skMPxF','Left','Chart\x20style','Tick\x20position','Label\x20padding\x20angle','Use\x20{0}\x20as\x20category','Stack','Top','Title\x20position','More\x20settings','Label\x20position','Max','Value','Percent\x20stacked\x20bar\x20chart','4YaxNWU','Start','Add\x20data\x20point','Area\x20chart','Y-axis\x20title','675256KPAckU','Percentage','Color','Center'];_0xf28a=function(){return _0x2dacf0;};return _0xf28a();}const t={'chart':{'insertChart':'Insert\x20chart','editChart':_0xfc4711(0xe5),'setupChart':_0xfc4711(0xd4),'customChart':'Customize','default':_0xfc4711(0xc8),'chartType':_0xfc4711(0xd1),'themes':_0xfc4711(0xde),'dataRange':_0xfc4711(0xd7),'stack':_0xfc4711(0xa1),'category':'Category','aggregate':'Aggregate','allSeries':_0xfc4711(0xb4),'series':_0xfc4711(0xc7),'addSeries':'Add\x20series','moreSettings':_0xfc4711(0xa4),'min':_0xfc4711(0xbe),'max':_0xfc4711(0xa6),'invalidType':{'gaps':_0xfc4711(0xc1),'zero':_0xfc4711(0xe2),'connectDataPointsWithStraightLines':_0xfc4711(0x92)},'seriesBlock':{'format':'Format','dataPointStyle':_0xfc4711(0x94)},'backgroundColor':'Background\x20color','chartBorderColor':'Chart\x20border\x20color','titles':{'title':'Title','mainTitle':_0xfc4711(0xcf),'subTitle':_0xfc4711(0xd0),'xAxisTitle':'X-axis\x20title','yAxisTitle':_0xfc4711(0xad),'rightYAxisTitle':_0xfc4711(0x82),'titleFormat':_0xfc4711(0x8f),'titleText':_0xfc4711(0xe8),'titlePosition':_0xfc4711(0xa3),'titleAlign':_0xfc4711(0xbd)},'axisPositionType':{'start':_0xfc4711(0xaa),'center':'Center','end':_0xfc4711(0x99)},'gradientFill':_0xfc4711(0xbc),'settingsLabels':{'switchToRowOrColumn':'Switch\x20to\x20row/column','useAsCategoryLabels':_0xfc4711(0xa0),'showEmptyCellsAs':_0xfc4711(0x8b)},'positionType':{'auto':'Auto','inside':_0xfc4711(0xe0),'outside':'Outside','top':_0xfc4711(0xa2),'bottom':'Bottom','left':_0xfc4711(0x9c),'right':_0xfc4711(0xbb),'hide':'Hide'},'align':{'left':_0xfc4711(0x9c),'center':_0xfc4711(0xb1),'right':_0xfc4711(0xbb)},'alignY':{'top':_0xfc4711(0xa2),'middle':'Middle','bottom':_0xfc4711(0xcc)},'chartStyle':_0xfc4711(0x9d),'chartAndAxisTitles':_0xfc4711(0x8d),'legend':'Legend','axes':{'axis':_0xfc4711(0xd2),'axisOptions':'Axis\x20options','horizontalAxis':_0xfc4711(0xe6),'verticalAxis':_0xfc4711(0xc9),'rightVerticalAxis':_0xfc4711(0xc4),'leftAxis':_0xfc4711(0x85),'rightAxis':'Right\x20axis','useRightAxis':'Use\x20right\x20axis'},'position':_0xfc4711(0xd3),'dataLabels':_0xfc4711(0xba),'gridlinesAndTicks':'Gridlines\x20and\x20ticks','shape':{'polygon':_0xfc4711(0x90),'circle':_0xfc4711(0xe3),'square':_0xfc4711(0x8a),'triangle':'Triangle','diamond':'Diamond'},'border':_0xfc4711(0xb3),'value':_0xfc4711(0xa7),'fill':'Fill','line':_0xfc4711(0x84),'withOpacity':_0xfc4711(0xbf),'withColor':'{0}\x20with\x20color','withThickness':_0xfc4711(0xd6),'withType':_0xfc4711(0xdd),'withSize':_0xfc4711(0x96),'withShape':_0xfc4711(0xda),'withFormat':_0xfc4711(0xb9),'dataPoint':_0xfc4711(0x9a),'addDataPoint':_0xfc4711(0xab),'point':_0xfc4711(0xcb),'percentage':_0xfc4711(0xaf),'lineType':{'line':_0xfc4711(0x84),'smooth':_0xfc4711(0xca),'step':_0xfc4711(0xd9)},'stackType':{'stack':_0xfc4711(0xa1),'percent':'Percent\x20stack'},'lineDashType':'Line\x20dash\x20type','dashType':{'solid':'Solid','dash':_0xfc4711(0x98),'dot':_0xfc4711(0xe4)},'color':_0xfc4711(0xb0),'gridlines':{'majorGridlines':_0xfc4711(0xdf),'text':_0xfc4711(0xe7)},'ticks':{'majorTick':'Major\x20tick','tickPosition':_0xfc4711(0x9e),'tickLength':'Tick\x20length'},'none':_0xfc4711(0x8c),'theIndexItem':_0xfc4711(0x87),'styleEditPanel':{'showLabels':'Show\x20labels','showDataLabels':'Show\x20data\x20labels','padAngle':_0xfc4711(0x9f),'halfPie':_0xfc4711(0x83),'showLabelLine':'Show\x20label\x20line','reverseAxisOrder':_0xfc4711(0xb6),'showAxisLine':_0xfc4711(0x81),'labelPosition':_0xfc4711(0xa5),'labelText':_0xfc4711(0xdc)},'doughnutHole':'Doughnut\x20hole','radar':{'fill':_0xfc4711(0xd5)}},'chartTypes':{'line':_0xfc4711(0xc5),'area':_0xfc4711(0xac),'areaStacked':_0xfc4711(0xb2),'areaPercentStacked':_0xfc4711(0xb5),'column':_0xfc4711(0x8e),'bar':_0xfc4711(0xc6),'barStacked':_0xfc4711(0x86),'barPercentStacked':_0xfc4711(0xa8),'pie':_0xfc4711(0xdb),'donut':_0xfc4711(0x88),'scatter':_0xfc4711(0xc0),'radar':_0xfc4711(0x95),'bubble':_0xfc4711(0xb7),'stock':_0xfc4711(0x97),'combination':'Combination\x20chart'}};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x4a64e2=_0xa273;function _0xa273(_0x4dd09c,_0x38fbe7){const _0x2c02f3=_0x2c02();return _0xa273=function(_0xa2734c,_0x4d26f8){_0xa2734c=_0xa2734c-0xae;let _0x5c9770=_0x2c02f3[_0xa2734c];return _0x5c9770;},_0xa273(_0x4dd09c,_0x38fbe7);}(function(_0x1df817,_0x5e9c9c){const _0x812d66=_0xa273,_0x24b000=_0x1df817();while(!![]){try{const _0x21420c=-parseInt(_0x812d66(0xfd))/0x1*(-parseInt(_0x812d66(0x10e))/0x2)+-parseInt(_0x812d66(0xc6))/0x3*(parseInt(_0x812d66(0xf3))/0x4)+parseInt(_0x812d66(0xce))/0x5*(-parseInt(_0x812d66(0xc8))/0x6)+-parseInt(_0x812d66(0xd8))/0x7+parseInt(_0x812d66(0xd5))/0x8+parseInt(_0x812d66(0xe4))/0x9+-parseInt(_0x812d66(0x100))/0xa*(-parseInt(_0x812d66(0xdd))/0xb);if(_0x21420c===_0x5e9c9c)break;else _0x24b000['push'](_0x24b000['shift']());}catch(_0x37cd1a){_0x24b000['push'](_0x24b000['shift']());}}}(_0x2c02,0xe5f8a));function _0x2c02(){const _0x234321=['Цвет','Все\x20серии','Правая\x20ось','Радар','По\x20умолчанию','Областной\x20график','Градиентная\x20заливка','Стиль\x20диаграммы','Точечная\x20диаграмма','Ноль','Вставить\x20диаграмму','Редактор\x20диаграмм','Позиция\x20метки','88392aGJSrc','Линия','1438584wCIgzo','Показать\x20линию\x20метки','Нет','Линии\x20сетки','Переключить\x20строку\x20или\x20столбец','Настройка','20rewaWX','Пропуски','{0}\x20толщина','Горизонтальная\x20ось','Центр','{0}\x20цвет','Ось','10804168gCYyWj','Заголовок','Основные\x20метки','7387947zbEprY','Комбинированная\x20диаграмма','Справа','Правая\x20вертикальная\x20ось','Заголовок\x20правой\x20оси\x20Y','11cuEQCq','Многоугольник','Пузырьковая\x20диаграмма','Показать\x20метки','Заголовок\x20оси\x20Y','Добавить\x20серию','Линейный\x20график','589050ZQehUC','Левая\x20ось','Фондовая\x20диаграмма','Агрегировать','Слева','Максимум','Настроить','Верх','{0}\x20тип','Шаговая','Основные\x20линии\x20сетки','Ромб','Столбчатая\x20диаграмма','Опции\x20оси','{0}\x20форма','32lwrMwG','Диапазон\x20данных','Соединить\x20точки\x20данных\x20прямыми\x20линиями','Вертикальная\x20ось','Метки\x20данных','Процентная\x20сложенная\x20гистограмма','Линии\x20сетки\x20и\x20метки','Авто','Сложенный\x20областной\x20график','Круговая\x20диаграмма','1250419oZoCXk','Низ','Точечная','5257610sHGyAG','Круг','Треугольник','Угол\x20заполнения','Центральное\x20отверстие','Пунктирная','Подзаголовок','Процент','Сложенная\x20гистограмма','Показать\x20метки\x20данных','Точка','Внутри','Минимум','{0}\x20с\x20прозрачностью','2ltZQPN','Формат','Категория','Половина\x20пирога','Заливка','Текст\x20метки','{0}\x20размер','Стек','Граница','Заголовок\x20оси\x20X','Значение','Точка\x20данных'];_0x2c02=function(){return _0x234321;};return _0x2c02();}const e={'chart':{'insertChart':_0x4a64e2(0xc3),'editChart':_0x4a64e2(0xc4),'setupChart':_0x4a64e2(0xcd),'customChart':_0x4a64e2(0xea),'default':_0x4a64e2(0xbd),'chartType':'Тип\x20диаграммы','themes':'Темы','dataRange':_0x4a64e2(0xf4),'stack':_0x4a64e2(0xb4),'category':_0x4a64e2(0xaf),'aggregate':_0x4a64e2(0xe7),'allSeries':_0x4a64e2(0xba),'series':'Серии','addSeries':_0x4a64e2(0xe2),'moreSettings':'Дополнительные\x20настройки','min':_0x4a64e2(0x10c),'max':_0x4a64e2(0xe9),'invalidType':{'gaps':_0x4a64e2(0xcf),'zero':_0x4a64e2(0xc2),'connectDataPointsWithStraightLines':_0x4a64e2(0xf5)},'seriesBlock':{'format':_0x4a64e2(0xae),'dataPointStyle':'Стиль\x20точки\x20данных'},'backgroundColor':'Цвет\x20фона','chartBorderColor':'Цвет\x20границы\x20диаграммы','titles':{'title':_0x4a64e2(0xd6),'mainTitle':'Главный\x20заголовок','subTitle':_0x4a64e2(0x106),'xAxisTitle':_0x4a64e2(0xb6),'yAxisTitle':_0x4a64e2(0xe1),'rightYAxisTitle':_0x4a64e2(0xdc),'titleFormat':'Формат\x20заголовка','titleText':'Текст\x20заголовка','titlePosition':'Позиция\x20заголовка','titleAlign':'Выравнивание\x20заголовка\x20оси'},'axisPositionType':{'start':'Начало','center':'Центр','end':'Конец'},'gradientFill':_0x4a64e2(0xbf),'settingsLabels':{'switchToRowOrColumn':_0x4a64e2(0xcc),'useAsCategoryLabels':'Использовать\x20{0}\x20в\x20качестве\x20категории','showEmptyCellsAs':'Показывать\x20пустые\x20ячейки\x20как'},'positionType':{'auto':_0x4a64e2(0xfa),'inside':_0x4a64e2(0x10b),'outside':'Снаружи','top':_0x4a64e2(0xeb),'bottom':_0x4a64e2(0xfe),'left':_0x4a64e2(0xe8),'right':_0x4a64e2(0xda),'hide':'Скрыть'},'align':{'left':_0x4a64e2(0xe8),'center':_0x4a64e2(0xd2),'right':_0x4a64e2(0xda)},'alignY':{'top':_0x4a64e2(0xeb),'middle':_0x4a64e2(0xd2),'bottom':_0x4a64e2(0xfe)},'chartStyle':_0x4a64e2(0xc0),'chartAndAxisTitles':'Заголовки\x20диаграммы\x20и\x20осей','legend':'Легенда','axes':{'axis':_0x4a64e2(0xd4),'axisOptions':_0x4a64e2(0xf1),'horizontalAxis':_0x4a64e2(0xd1),'verticalAxis':_0x4a64e2(0xf6),'rightVerticalAxis':_0x4a64e2(0xdb),'leftAxis':_0x4a64e2(0xe5),'rightAxis':_0x4a64e2(0xbb),'useRightAxis':'Использовать\x20правую\x20ось'},'position':'Позиция','dataLabels':_0x4a64e2(0xf7),'gridlinesAndTicks':_0x4a64e2(0xf9),'shape':{'polygon':_0x4a64e2(0xde),'circle':_0x4a64e2(0x101),'square':'Квадрат','triangle':_0x4a64e2(0x102),'diamond':_0x4a64e2(0xef)},'border':_0x4a64e2(0xb5),'value':_0x4a64e2(0xb7),'fill':_0x4a64e2(0xb1),'line':_0x4a64e2(0xc7),'withOpacity':_0x4a64e2(0x10d),'withColor':_0x4a64e2(0xd3),'withThickness':_0x4a64e2(0xd0),'withType':_0x4a64e2(0xec),'withSize':_0x4a64e2(0xb3),'withShape':_0x4a64e2(0xf2),'dataPoint':_0x4a64e2(0xb8),'addDataPoint':'Добавить\x20точку\x20данных','point':_0x4a64e2(0x10a),'percentage':_0x4a64e2(0x107),'lineType':{'line':'Линия','smooth':'Сглаженная','step':_0x4a64e2(0xed)},'stackType':{'stack':_0x4a64e2(0xb4),'percent':'Процентный\x20стек'},'lineDashType':'Тип\x20линии','dashType':{'solid':'Сплошная','dash':_0x4a64e2(0x105),'dot':_0x4a64e2(0xff)},'color':_0x4a64e2(0xb9),'gridlines':{'majorGridlines':_0x4a64e2(0xee),'text':_0x4a64e2(0xcb)},'ticks':{'majorTick':_0x4a64e2(0xd7),'tickPosition':_0x4a64e2(0xc5),'tickLength':'Длина\x20метки'},'none':_0x4a64e2(0xca),'theIndexItem':'Элемент\x20{0}','styleEditPanel':{'showLabels':_0x4a64e2(0xe0),'showDataLabels':_0x4a64e2(0x109),'padAngle':_0x4a64e2(0x103),'halfPie':_0x4a64e2(0xb0),'showLabelLine':_0x4a64e2(0xc9),'reverseAxisOrder':'Обратный\x20порядок\x20оси\x20X','showAxisLine':'Показать\x20линию\x20оси','labelPosition':_0x4a64e2(0xc5),'labelText':_0x4a64e2(0xb2)},'doughnutHole':_0x4a64e2(0x104)},'chartTypes':{'line':_0x4a64e2(0xe3),'area':_0x4a64e2(0xbe),'areaStacked':_0x4a64e2(0xfb),'areaPercentStacked':'Процентный\x20сложенный\x20областной\x20график','column':_0x4a64e2(0xf0),'bar':'Гистограмма','barStacked':_0x4a64e2(0x108),'barPercentStacked':_0x4a64e2(0xf8),'pie':_0x4a64e2(0xfc),'donut':'Кольцевая\x20диаграмма','scatter':_0x4a64e2(0xc1),'radar':_0x4a64e2(0xbc),'bubble':_0x4a64e2(0xdf),'stock':_0x4a64e2(0xe6),'combination':_0x4a64e2(0xd9)}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x8487ad=_0x1b8a;(function(_0x57aa85,_0x137865){const _0x2f3558=_0x1b8a,_0x5ef101=_0x57aa85();while(!![]){try{const _0x1ce027=parseInt(_0x2f3558(0x228))/0x1+-parseInt(_0x2f3558(0x1ea))/0x2+-parseInt(_0x2f3558(0x220))/0x3*(parseInt(_0x2f3558(0x1e9))/0x4)+-parseInt(_0x2f3558(0x226))/0x5*(-parseInt(_0x2f3558(0x210))/0x6)+parseInt(_0x2f3558(0x223))/0x7*(-parseInt(_0x2f3558(0x216))/0x8)+-parseInt(_0x2f3558(0x21b))/0x9*(-parseInt(_0x2f3558(0x1f2))/0xa)+parseInt(_0x2f3558(0x1f7))/0xb;if(_0x1ce027===_0x137865)break;else _0x5ef101['push'](_0x5ef101['shift']());}catch(_0x335e53){_0x5ef101['push'](_0x5ef101['shift']());}}}(_0x15bc,0x44c6e));const i={'chart':{'insertChart':_0x8487ad(0x222),'editChart':_0x8487ad(0x1f0),'setupChart':'Thiết\x20lập','customChart':_0x8487ad(0x20e),'default':_0x8487ad(0x1da),'chartType':_0x8487ad(0x224),'themes':_0x8487ad(0x1ef),'dataRange':_0x8487ad(0x1d0),'stack':'Chồng','category':_0x8487ad(0x1ed),'aggregate':_0x8487ad(0x1e3),'allSeries':_0x8487ad(0x1dd),'series':_0x8487ad(0x221),'addSeries':_0x8487ad(0x1c9),'moreSettings':_0x8487ad(0x21a),'min':_0x8487ad(0x22d),'max':_0x8487ad(0x212),'invalidType':{'gaps':_0x8487ad(0x236),'zero':_0x8487ad(0x1df),'connectDataPointsWithStraightLines':_0x8487ad(0x20b)},'seriesBlock':{'format':_0x8487ad(0x1e4),'dataPointStyle':_0x8487ad(0x1ec)},'backgroundColor':_0x8487ad(0x22b),'chartBorderColor':_0x8487ad(0x1f4),'titles':{'title':_0x8487ad(0x1ee),'mainTitle':'Tiêu\x20đề\x20chính','subTitle':'Tiêu\x20đề\x20phụ','xAxisTitle':_0x8487ad(0x1e0),'yAxisTitle':_0x8487ad(0x1f9),'rightYAxisTitle':_0x8487ad(0x22e),'titleFormat':_0x8487ad(0x235),'titleText':_0x8487ad(0x20c),'titlePosition':_0x8487ad(0x232),'titleAlign':_0x8487ad(0x21f)},'axisPositionType':{'start':_0x8487ad(0x1f3),'center':_0x8487ad(0x200),'end':'Kết\x20thúc'},'gradientFill':_0x8487ad(0x1d6),'settingsLabels':{'switchToRowOrColumn':_0x8487ad(0x214),'useAsCategoryLabels':'Sử\x20dụng\x20{0}\x20như\x20là\x20danh\x20mục','showEmptyCellsAs':_0x8487ad(0x1cd)},'positionType':{'auto':'Tự\x20động','inside':'Bên\x20trong','outside':'Bên\x20ngoài','top':_0x8487ad(0x230),'bottom':'Dưới\x20cùng','left':_0x8487ad(0x1de),'right':'Phải','hide':'Ẩn'},'align':{'left':_0x8487ad(0x1cf),'center':_0x8487ad(0x1e2),'right':_0x8487ad(0x211)},'alignY':{'top':_0x8487ad(0x230),'middle':'Giữa','bottom':_0x8487ad(0x229)},'chartStyle':_0x8487ad(0x237),'chartAndAxisTitles':_0x8487ad(0x1e5),'legend':'Chú\x20giải','axes':{'axis':_0x8487ad(0x20f),'axisOptions':_0x8487ad(0x219),'horizontalAxis':_0x8487ad(0x215),'verticalAxis':_0x8487ad(0x1d7),'rightVerticalAxis':_0x8487ad(0x1d4),'leftAxis':_0x8487ad(0x1e7),'rightAxis':_0x8487ad(0x1d1),'useRightAxis':_0x8487ad(0x203)},'position':'Vị\x20trí','dataLabels':_0x8487ad(0x201),'gridlinesAndTicks':_0x8487ad(0x22c),'shape':{'polygon':_0x8487ad(0x1cb),'circle':_0x8487ad(0x1fb),'square':'Hình\x20vuông','triangle':_0x8487ad(0x1fe),'diamond':_0x8487ad(0x231)},'border':'Viền','value':_0x8487ad(0x1d8),'fill':_0x8487ad(0x1d6),'line':'Đường','withOpacity':_0x8487ad(0x207),'withColor':_0x8487ad(0x1eb),'withThickness':_0x8487ad(0x1fc),'withType':_0x8487ad(0x209),'withSize':_0x8487ad(0x204),'withShape':'{0}\x20hình\x20dạng','dataPoint':_0x8487ad(0x233),'addDataPoint':'Thêm\x20điểm\x20dữ\x20liệu','point':_0x8487ad(0x1fa),'percentage':_0x8487ad(0x21e),'lineType':{'line':'Đường','smooth':_0x8487ad(0x1f1),'step':'Bước'},'stackType':{'stack':_0x8487ad(0x1d3),'percent':_0x8487ad(0x1e6)},'lineDashType':_0x8487ad(0x1d2),'dashType':{'solid':'Liền','dash':_0x8487ad(0x22a),'dot':_0x8487ad(0x217)},'color':_0x8487ad(0x1f5),'gridlines':{'majorGridlines':'Đường\x20lưới\x20chính','text':_0x8487ad(0x208)},'ticks':{'majorTick':_0x8487ad(0x20a),'tickPosition':_0x8487ad(0x1db),'tickLength':_0x8487ad(0x1d9)},'none':'Không','theIndexItem':_0x8487ad(0x22f),'styleEditPanel':{'showLabels':_0x8487ad(0x218),'showDataLabels':_0x8487ad(0x205),'padAngle':'Góc\x20đệm','halfPie':_0x8487ad(0x1fd),'showLabelLine':_0x8487ad(0x1cc),'reverseAxisOrder':_0x8487ad(0x21c),'showAxisLine':_0x8487ad(0x1dc),'labelPosition':_0x8487ad(0x1d5),'labelText':_0x8487ad(0x225)},'doughnutHole':_0x8487ad(0x1e1)},'chartTypes':{'line':_0x8487ad(0x20d),'area':_0x8487ad(0x1f6),'areaStacked':_0x8487ad(0x21d),'areaPercentStacked':_0x8487ad(0x1ff),'column':_0x8487ad(0x227),'bar':'Biểu\x20đồ\x20thanh','barStacked':_0x8487ad(0x1e8),'barPercentStacked':_0x8487ad(0x206),'pie':_0x8487ad(0x202),'donut':_0x8487ad(0x1ca),'scatter':_0x8487ad(0x1f8),'radar':'Biểu\x20đồ\x20radar','bubble':_0x8487ad(0x234),'stock':_0x8487ad(0x1ce),'combination':_0x8487ad(0x213)}};function _0x1b8a(_0x4166f5,_0x5a64f4){const _0x15bcf1=_0x15bc();return _0x1b8a=function(_0x1b8ab6,_0x293f4b){_0x1b8ab6=_0x1b8ab6-0x1c9;let _0x2d3cd2=_0x15bcf1[_0x1b8ab6];return _0x2d3cd2;},_0x1b8a(_0x4166f5,_0x5a64f4);}function _0x15bc(){const _0x3e939e=['Hình\x20thoi','Vị\x20trí\x20tiêu\x20đề','Điểm\x20dữ\x20liệu','Biểu\x20đồ\x20bong\x20bóng','Định\x20dạng\x20tiêu\x20đề','Khoảng\x20trống','Kiểu\x20biểu\x20đồ','Thêm\x20loạt','Biểu\x20đồ\x20donut','Đa\x20giác','Hiển\x20thị\x20đường\x20nhãn','Hiển\x20thị\x20ô\x20trống\x20như','Biểu\x20đồ\x20cổ\x20phiếu','Căn\x20trái','Phạm\x20vi\x20dữ\x20liệu','Trục\x20phải','Loại\x20đường','Chồng','Trục\x20đứng\x20phải','Vị\x20trí\x20nhãn','Đổ\x20màu','Trục\x20đứng','Giá\x20trị','Chiều\x20dài\x20dấu\x20chấm','Mặc\x20định','Vị\x20trí\x20dấu\x20chấm','Hiển\x20thị\x20đường\x20trục','Tất\x20cả\x20các\x20loạt','Trái','Không','Tiêu\x20đề\x20trục\x20X','Lỗ\x20bánh\x20rán','Căn\x20giữa','Tổng\x20hợp','Định\x20dạng','Tiêu\x20đề\x20biểu\x20đồ\x20và\x20trục','Phần\x20trăm\x20chồng','Trục\x20trái','Biểu\x20đồ\x20thanh\x20chồng','4jonlhu','1115866yxBUSz','{0}\x20màu','Kiểu\x20điểm\x20dữ\x20liệu','Danh\x20mục','Tiêu\x20đề','Chủ\x20đề','Biên\x20tập\x20biểu\x20đồ','Mượt','98370pcECET','Bắt\x20đầu','Màu\x20viền\x20biểu\x20đồ','Màu','Biểu\x20đồ\x20diện\x20tích','9208441ElnEea','Biểu\x20đồ\x20phân\x20tán','Tiêu\x20đề\x20trục\x20Y','Điểm','Hình\x20tròn','{0}\x20độ\x20dày','Nửa\x20bánh','Hình\x20tam\x20giác','Biểu\x20đồ\x20diện\x20tích\x20chồng\x20phần\x20trăm','Giữa','Nhãn\x20dữ\x20liệu','Biểu\x20đồ\x20tròn','Sử\x20dụng\x20trục\x20Y\x20phải','{0}\x20kích\x20thước','Hiển\x20thị\x20nhãn\x20dữ\x20liệu','Biểu\x20đồ\x20thanh\x20chồng\x20phần\x20trăm','{0}\x20độ\x20mờ','Đường\x20lưới','{0}\x20loại','Dấu\x20chấm\x20chính','Kết\x20nối\x20điểm\x20dữ\x20liệu\x20bằng\x20đường\x20thẳng','Văn\x20bản\x20tiêu\x20đề','Biểu\x20đồ\x20đường','Tùy\x20chỉnh','Trục','84vajlWV','Căn\x20phải','Tối\x20đa','Biểu\x20đồ\x20kết\x20hợp','Chuyển\x20sang\x20hàng\x20hoặc\x20cột','Trục\x20ngang','134600BrPsnA','Chấm','Hiển\x20thị\x20nhãn','Tùy\x20chọn\x20trục','Cài\x20đặt\x20khác','216JLFpVi','Đảo\x20ngược\x20thứ\x20tự\x20trục\x20X','Biểu\x20đồ\x20diện\x20tích\x20chồng','Phần\x20trăm','Căn\x20tiêu\x20đề\x20trục','451623SJUsCQ','Loạt','Chèn\x20biểu\x20đồ','126Autmck','Loại\x20biểu\x20đồ','Văn\x20bản\x20nhãn','9970RhjxVX','Biểu\x20đồ\x20cột','191899HvVpEP','Dưới\x20cùng','Gạch','Màu\x20nền','Đường\x20lưới\x20và\x20dấu','Tối\x20thiểu','Tiêu\x20đề\x20trục\x20Y\x20phải','Mục\x20thứ\x20{0}','Trên\x20cùng'];_0x15bc=function(){return _0x3e939e;};return _0x15bc();}export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x319f9c=_0x5276;function _0x3eb7(){const _0x339d75=['第{0}项','百分比堆叠面积图','用直线连接数据点','数据标签','6009954StPirf','面积图','2gvorsE','2076138PPiSgw','右对齐','最大值','横轴标题','类型与数据','条形图','图表类型','线类型','折线图','网格线和刻度线','左对齐','更多设置','右纵轴标题','{0}透明度','副标题','多边形','{0}颜色','刻度线位置','2426295vbRgIV','所有系列','{0}粗细','数据范围','组合图','股票图','百分比','显示标签线','18195jnLvYf','正方形','标签文本','右纵轴','标题位置','插入图表','7CjIUPT','数据点样式','1673199LoLGzP','扇形间距','渐变填充','图表标题','显示数据标签','散点图','切换行列','堆叠条形图','百分比堆叠','10eXizuT','图表样式','雷达图','68000lsvBvq','7531632avxwrC','标题格式','圆环孔','轴选项','{0}形状','轴标题对齐','主网格线','堆叠面积图','图表和轴标题','纵轴标题','228VZWwhD','显示轴线','显示标签','最小值'];_0x3eb7=function(){return _0x339d75;};return _0x3eb7();}(function(_0x552931,_0x48777e){const _0x31cd6d=_0x5276,_0xd04739=_0x552931();while(!![]){try{const _0x22eee2=parseInt(_0x31cd6d(0x179))/0x1+parseInt(_0x31cd6d(0x18e))/0x2*(-parseInt(_0x31cd6d(0x1a1))/0x3)+-parseInt(_0x31cd6d(0x184))/0x4*(parseInt(_0x31cd6d(0x165))/0x5)+-parseInt(_0x31cd6d(0x18c))/0x6*(-parseInt(_0x31cd6d(0x16b))/0x7)+parseInt(_0x31cd6d(0x17a))/0x8+-parseInt(_0x31cd6d(0x18f))/0x9+-parseInt(_0x31cd6d(0x176))/0xa*(parseInt(_0x31cd6d(0x16d))/0xb);if(_0x22eee2===_0x48777e)break;else _0xd04739['push'](_0xd04739['shift']());}catch(_0x1834b6){_0xd04739['push'](_0xd04739['shift']());}}}(_0x3eb7,0x95726));function _0x5276(_0x25a8c1,_0x3a71ba){const _0x3eb7f6=_0x3eb7();return _0x5276=function(_0x5276e4,_0x2f07cc){_0x5276e4=_0x5276e4-0x164;let _0x370938=_0x3eb7f6[_0x5276e4];return _0x370938;},_0x5276(_0x25a8c1,_0x3a71ba);}const t={'chart':{'insertChart':_0x319f9c(0x16a),'editChart':'图表','setupChart':_0x319f9c(0x193),'customChart':'自定义样式','default':'默认','chartType':_0x319f9c(0x195),'themes':'主题色','dataRange':_0x319f9c(0x1a4),'stack':'堆叠','category':'类别','aggregate':'聚合','allSeries':_0x319f9c(0x1a2),'series':'系列','addSeries':'添加系列','moreSettings':_0x319f9c(0x19a),'min':_0x319f9c(0x187),'max':_0x319f9c(0x191),'invalidType':{'gaps':'空','zero':'零','connectDataPointsWithStraightLines':_0x319f9c(0x18a)},'seriesBlock':{'format':'格式','dataPointStyle':_0x319f9c(0x16c)},'backgroundColor':'背景颜色','chartBorderColor':'图表边框颜色','titles':{'title':'标题','mainTitle':_0x319f9c(0x170),'subTitle':_0x319f9c(0x19d),'xAxisTitle':_0x319f9c(0x192),'yAxisTitle':_0x319f9c(0x183),'rightYAxisTitle':_0x319f9c(0x19b),'titleFormat':_0x319f9c(0x17b),'titleText':'标题文本','titlePosition':_0x319f9c(0x169),'titleAlign':_0x319f9c(0x17f)},'axisPositionType':{'start':'开始','center':'中间','end':'结束'},'gradientFill':_0x319f9c(0x16f),'settingsLabels':{'switchToRowOrColumn':_0x319f9c(0x173),'useAsCategoryLabels':'将\x20{0}\x20作为类别','showEmptyCellsAs':'空单元格显示为'},'positionType':{'auto':'自动','inside':'内部','outside':'外部','top':'顶部','bottom':'底部','left':'左侧','right':'右侧','hide':'隐藏'},'align':{'left':_0x319f9c(0x199),'center':'居中','right':_0x319f9c(0x190)},'alignY':{'top':'顶部','middle':'居中','bottom':'底部'},'chartStyle':_0x319f9c(0x177),'chartAndAxisTitles':_0x319f9c(0x182),'legend':'图例','axes':{'axis':'轴','axisOptions':_0x319f9c(0x17d),'horizontalAxis':'横轴','verticalAxis':'纵轴','rightVerticalAxis':_0x319f9c(0x168),'leftAxis':'左轴','rightAxis':'右轴','useRightAxis':'使用右轴'},'position':'位置','dataLabels':_0x319f9c(0x18b),'gridlinesAndTicks':_0x319f9c(0x198),'shape':{'polygon':_0x319f9c(0x19e),'circle':'圆形','square':_0x319f9c(0x166),'triangle':'三角形','diamond':'菱形'},'border':'边框','value':'值','fill':'填充','line':'线条','withOpacity':_0x319f9c(0x19c),'withColor':_0x319f9c(0x19f),'withThickness':_0x319f9c(0x1a3),'withType':'{0}类型','withSize':'{0}大小','withShape':_0x319f9c(0x17e),'withFormat':'{0}格式','dataPoint':'数据点','addDataPoint':'添加数据点','point':'数据点','percentage':_0x319f9c(0x1a7),'lineType':{'line':'折线','smooth':'平滑','step':'阶梯'},'stackType':{'stack':'堆叠','percent':_0x319f9c(0x175)},'lineDashType':_0x319f9c(0x196),'dashType':{'solid':'实线','dash':'虚线','dot':'点线'},'color':'颜色','gridlines':{'majorGridlines':_0x319f9c(0x180),'text':'网格线'},'ticks':{'majorTick':'主刻度线','tickPosition':_0x319f9c(0x1a0),'tickLength':'刻度线长度'},'none':'无','theIndexItem':_0x319f9c(0x188),'styleEditPanel':{'showLabels':_0x319f9c(0x186),'showDataLabels':_0x319f9c(0x171),'padAngle':_0x319f9c(0x16e),'halfPie':'半饼','showLabelLine':_0x319f9c(0x164),'reverseAxisOrder':'逆序横轴','showAxisLine':_0x319f9c(0x185),'labelPosition':'标签位置','labelText':_0x319f9c(0x167)},'doughnutHole':_0x319f9c(0x17c)},'chartTypes':{'line':_0x319f9c(0x197),'area':_0x319f9c(0x18d),'areaStacked':_0x319f9c(0x181),'areaPercentStacked':_0x319f9c(0x189),'column':'柱状图','bar':_0x319f9c(0x194),'barStacked':_0x319f9c(0x174),'barPercentStacked':'百分比堆叠条形图','pie':'饼图','donut':'环形图','scatter':_0x319f9c(0x172),'radar':_0x319f9c(0x178),'bubble':'气泡图','stock':_0x319f9c(0x1a6),'combination':_0x319f9c(0x1a5)}};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x1cf66d=_0x263a;(function(_0x1b59ff,_0xdc0162){const _0x2b4c18=_0x263a,_0x4c4016=_0x1b59ff();while(!![]){try{const _0x43c8be=parseInt(_0x2b4c18(0x16c))/0x1*(-parseInt(_0x2b4c18(0x16a))/0x2)+parseInt(_0x2b4c18(0x168))/0x3*(-parseInt(_0x2b4c18(0x15b))/0x4)+-parseInt(_0x2b4c18(0x177))/0x5+-parseInt(_0x2b4c18(0x15e))/0x6*(parseInt(_0x2b4c18(0x186))/0x7)+parseInt(_0x2b4c18(0x166))/0x8*(parseInt(_0x2b4c18(0x196))/0x9)+parseInt(_0x2b4c18(0x17c))/0xa+-parseInt(_0x2b4c18(0x175))/0xb*(-parseInt(_0x2b4c18(0x163))/0xc);if(_0x43c8be===_0xdc0162)break;else _0x4c4016['push'](_0x4c4016['shift']());}catch(_0xa2a8a9){_0x4c4016['push'](_0x4c4016['shift']());}}}(_0x3e8b,0x7a9e8));const e={'chart':{'insertChart':_0x1cf66d(0x16b),'editChart':'圖表','setupChart':_0x1cf66d(0x15a),'customChart':_0x1cf66d(0x18a),'default':'默認','chartType':_0x1cf66d(0x17e),'themes':_0x1cf66d(0x178),'dataRange':_0x1cf66d(0x164),'stack':'堆疊','category':'類別','aggregate':'聚合','allSeries':_0x1cf66d(0x159),'series':'系列','addSeries':'添加系列','moreSettings':_0x1cf66d(0x15c),'min':_0x1cf66d(0x18d),'max':_0x1cf66d(0x197),'invalidType':{'gaps':'空','zero':'零','connectDataPointsWithStraightLines':_0x1cf66d(0x193)},'seriesBlock':{'format':'格式','dataPointStyle':_0x1cf66d(0x191)},'backgroundColor':'背景顏色','chartBorderColor':_0x1cf66d(0x162),'titles':{'title':'標題','mainTitle':_0x1cf66d(0x165),'subTitle':_0x1cf66d(0x199),'xAxisTitle':_0x1cf66d(0x16d),'yAxisTitle':_0x1cf66d(0x158),'rightYAxisTitle':_0x1cf66d(0x182),'titleFormat':_0x1cf66d(0x17f),'titleText':_0x1cf66d(0x18f),'titlePosition':_0x1cf66d(0x18b),'titleAlign':_0x1cf66d(0x167),'useRightAxis':_0x1cf66d(0x17d)},'axisPositionType':{'start':'開始','center':'中間','end':'結束'},'gradientFill':'漸變填充','settingsLabels':{'switchToRowOrColumn':'切換行列','useAsCategoryLabels':_0x1cf66d(0x185),'showEmptyCellsAs':_0x1cf66d(0x198)},'positionType':{'auto':'自動','inside':'內部','outside':'外部','top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏'},'align':{'left':_0x1cf66d(0x188),'center':'居中','right':'右對齊'},'alignY':{'top':'頂部','middle':'居中','bottom':'底部'},'chartStyle':_0x1cf66d(0x180),'chartAndAxisTitles':_0x1cf66d(0x160),'legend':'圖例','axes':{'axis':'軸','axisOptions':_0x1cf66d(0x157),'horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':_0x1cf66d(0x187),'leftAxis':'左軸','rightAxis':'右軸'},'position':'位置','dataLabels':_0x1cf66d(0x155),'gridlinesAndTicks':'網格線和刻度線','shape':{'polygon':_0x1cf66d(0x170),'circle':'圓形','square':'正方形','triangle':_0x1cf66d(0x19d),'diamond':'菱形'},'border':'邊框','value':'值','fill':'填充','line':'線條','withOpacity':_0x1cf66d(0x179),'withColor':_0x1cf66d(0x153),'withThickness':'{0}粗細','withType':_0x1cf66d(0x183),'withSize':_0x1cf66d(0x17b),'withShape':_0x1cf66d(0x19e),'dataPoint':_0x1cf66d(0x156),'addDataPoint':_0x1cf66d(0x181),'point':_0x1cf66d(0x156),'percentage':_0x1cf66d(0x194),'lineType':{'line':'折線','smooth':'平滑','step':'階梯'},'stackType':{'stack':'堆疊','percent':_0x1cf66d(0x169)},'lineDashType':_0x1cf66d(0x189),'dashType':{'solid':'實線','dash':'虛線','dot':'點線'},'color':'顏色','gridlines':{'majorGridlines':_0x1cf66d(0x16f),'text':_0x1cf66d(0x15f)},'ticks':{'majorTick':'主刻度線','tickPosition':_0x1cf66d(0x176),'tickLength':_0x1cf66d(0x19c)},'none':'無','theIndexItem':_0x1cf66d(0x15d),'styleEditPanel':{'showLabels':'顯示標籤','showDataLabels':_0x1cf66d(0x174),'padAngle':_0x1cf66d(0x154),'halfPie':'半餅','showLabelLine':'顯示標籤線','reverseAxisOrder':'逆序橫軸','showAxisLine':_0x1cf66d(0x19a),'labelPosition':'標籤位置','labelText':'標籤文本'},'doughnutHole':_0x1cf66d(0x190)},'chartTypes':{'line':_0x1cf66d(0x161),'area':_0x1cf66d(0x18e),'areaStacked':_0x1cf66d(0x184),'areaPercentStacked':_0x1cf66d(0x19b),'column':_0x1cf66d(0x195),'bar':'條形圖','barStacked':_0x1cf66d(0x16e),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x1cf66d(0x173),'scatter':_0x1cf66d(0x171),'radar':_0x1cf66d(0x17a),'bubble':_0x1cf66d(0x192),'stock':_0x1cf66d(0x18c),'combination':_0x1cf66d(0x172)}};export{e as default};function _0x263a(_0x53f05d,_0x218e2c){const _0x3e8b90=_0x3e8b();return _0x263a=function(_0x263ae0,_0x2a892b){_0x263ae0=_0x263ae0-0x153;let _0x546213=_0x3e8b90[_0x263ae0];return _0x546213;},_0x263a(_0x53f05d,_0x218e2c);}function _0x3e8b(){const _0x585676=['最大值','空單元格顯示為','副標題','顯示軸線','百分比堆疊面積圖','刻度線長度','三角形','{0}形狀','{0}顏色','扇形間距','數據標籤','數據點','軸選項','縱軸標題','所有系列','類型與數據','3548AYdIlY','更多設置','第{0}項','6rmUrnO','網格線','圖表和軸標題','折線圖','圖表邊框顏色','24PdsGnd','數據範圍','圖表標題','8jwNhlR','軸標題對齊','78WqJgGp','百分比堆疊','22JxumWR','插入圖表','46957THSUVB','橫軸標題','堆疊條形圖','主網格線','多邊形','散點圖','組合圖','環形圖','顯示數據標籤','4442713AxhIwk','刻度線位置','3555590urGrHh','主題色','{0}透明度','雷達圖','{0}大小','6910420PyTwxO','使用右軸','圖表類型','標題格式','圖表樣式','添加數據點','右縱軸標題','{0}類型','堆疊面積圖','將\x20{0}\x20作為類別','4435865nRPcPs','右縱軸','左對齊','線類型','自定義樣式','標題位置','股票圖','最小值','面積圖','標題文本','圓環孔','數據點樣式','氣泡圖','用直線連接數據點','百分比','柱狀圖','7990578UYPOom'];_0x3e8b=function(){return _0x585676;};return _0x3e8b();}
|
package/lib/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.univer-button-switch{display:flex;align-items:center;padding:var(--padding-xs);border:1px solid rgb(var(--border-color));border-radius:4px;background:var(--white, #fff);height:32px;padding:0 4px}.univer-button-switch-item{flex-grow:1;font-size:12px;font-style:normal;font-weight:500;line-height:150%;color:var(--gray-800, #181c2a);display:flex;align-items:center;justify-content:center;padding:4px 0;cursor:default;border-radius:var(--rounded-md, 6px)}.univer-button-switch-item-active{background:var(--gray-100, #eeeff1)}.univer-chart-edit-panel-tabs{display:flex;align-items:center;justify-content:start}.univer-chart-edit-panel-tab{padding:var(--padding-lg) 0;text-align:center;font-size:14px;font-style:normal;font-weight:600;line-height:150%;margin-right:20px;cursor:default}.univer-chart-edit-panel-tab-btn{color:rgb(var(--text-color-secondary));position:relative}.univer-chart-edit-panel-tab-btn-active{color:rgb(var(--primary-color))}.univer-chart-edit-panel-tab-btn-active:after{content:"";width:50%;height:4px;border-radius:2px;display:block;position:absolute;background-color:rgb(var(--primary-color));bottom:-8px;left:50%;transform:translate(-50%)}.univer-chart-edit-panel-tab-btn:hover{background-color:transparent}.univer-chart-edit-panel h5{margin:var(--margin-xs) 0 var(--margin-sm);font-size:var(--font-size-xs)}.univer-chart-edit-panel .univer-chart-edit-panel-select{width:100%;height:32px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;border-radius:var(--rounded-lg, 8px);border:1px solid var(--gray-200, #e3e5ea);background:var(--gray-50, #f9fafb);cursor:default}.univer-chart-edit-panel .univer-chart-edit-panel-select .univer-select-selector{width:100%}.univer-chart-edit-panel .univer-chart-edit-panel-input{width:100%;height:32px;background:var(--gray-50, #f9fafb)}.univer-chart-edit-panel .univer-chart-edit-panel-input input{background-color:var(--gray-50, #f9fafb)}.univer-chart-edit-panel .chart-edit-panel-label{font-size:var(--font-size-sm);color:var(--text-color)}.univer-chart-edit-panel .chart-edit-panel-top-gap{margin-top:var(--margin-xs)}.univer-chart-edit-panel .chart-edit-panel-top-gap-sm{margin-top:var(--margin-sm)}.univer-chart-edit-panel .chart-edit-panel-row{display:flex;gap:var(--margin-sm)}.univer-chart-edit-panel .chart-edit-panel-row-wrap{flex-wrap:wrap}.univer-chart-edit-panel .chart-edit-panel-text-right{text-align:right}.univer-chart-edit-panel .chart-edit-panel-row-half{width:calc(50% - 6px);box-sizing:border-box}.univer-chart-edit-panel .univer-select-selection-overflow{align-items:center}.univer-data-tab-panel-series-select{display:flex;align-items:center}.univer-data-tab-panel-add-series-btn{color:rgb(var(--primary-color));display:flex;align-items:center}.univer-data-tab-panel-add-series-btn-icon{font-size:12px}.univer-data-tab-panel-add-series-btn-text{margin-left:1.5px;font-size:12px;font-style:normal;font-weight:500;line-height:150%}.univer-data-tab-panel-colorItem{display:flex;align-items:center;height:16px}.univer-data-tab-panel-color-option{height:28px;width:80%;display:flex;flex-direction:row;align-items:center}.univer-data-tab-panel-chart-type-option{display:flex;flex-direction:row;align-items:center;gap:6px}.univer-data-tab-panel-chart-type-option-icon{font-size:16px;display:flex;align-items:center}.univer-data-tab-panel-chart-type-option-text{color:var(--gray-900, #0e111e);font-size:14px;font-style:normal;font-weight:400;line-height:150%}.univer-chart-edit-panel-select{width:100%;height:32px;flex-direction:column;justify-content:center;align-items:flex-start;border-radius:var(--rounded-lg, 8px);border:1px solid var(--gray-200, #e3e5ea);background:var(--gray-50, #f9fafb);cursor:default}.univer-chart-edit-panel-range-selector{border-radius:var(--rounded-lg, 8px);border:1px solid var(--gray-200, #e3e5ea);background:var(--gray-50, #f9fafb);cursor:default}.univer-chart-edit-block-title{color:var(--gray-900, var(--gray-900, #0e111e));font-weight:500;line-height:150%;font-size:14px;font-style:normal;margin-bottom:8px;margin-top:16px}.univer-chart-edit-gradient-fill{margin-top:8px;font-size:14px;font-style:normal;font-weight:400;line-height:14px;color:var(--gray-900, #0e111e)}.univer-margin-bottom-8{margin-bottom:8px}.univer-color-picker-control{padding:0;width:100%;border-radius:var(--rounded-lg, 8px);border:1px solid var(--gray-200, #e3e5ea);background:var(--gray-50, #f9fafb)}.univer-color-picker-control-overlay{padding:var(--padding-base);font-size:var(--font-size-xs);background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-base)}.univer-color-picker-control-view-box{display:flex;align-items:center;height:32px;line-height:32px;flex:1;box-sizing:border-box;padding:0 var(--padding-base);justify-content:space-between}.univer-color-picker-control-view{width:20px;height:20px;border:1px solid rgb(var(--border-color))}.univer-color-picker-control-arrow{margin-left:var(--margin-xs);transition:transform .3s}.univer-color-picker-control-rotate{transform:rotate(180deg)}.univer-font-format-bar{display:flex;padding:2px 3px;border:1px solid #d0d3d6;border-radius:6px;align-items:center;gap:6px;width:fit-content}.univer-font-format-bar-item{line-height:1;cursor:pointer;border-radius:4px;padding:4px 6px}.univer-font-format-bar-item-active{background-color:#e0e9ff;color:#1456f0}.univer-font-format-bar-menu-item{display:flex;align-items:center}.univer-font-format-bar-item:hover{background-color:#eff0f1}.univer-font-format-bar-color-bar{border-radius:6px;height:4px;width:1em}.univer-font-format-bar-color-picker-overlay{padding:var(--padding-base);font-size:var(--font-size-xs);background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-base)}.univer-font-format-bar-menu-icon{margin-left:4px;transition:transform .3s}.univer-font-format-bar-rotate-icon{transform:rotate(180deg)}.univer-font-format-bar-font-color-box{display:flex;flex-direction:column}.univer-style-tab-panel>.univer-style-tab-panel-collapse{background-color:#fff;border:none}.univer-style-tab-panel>.univer-style-tab-panel-collapse .rc-collapse-content{padding:0}.univer-style-tab-panel>.univer-style-tab-panel-collapse .rc-collapse-content-box{margin:var(--margin-xs) 0}.univer-style-tab-panel-split{margin-bottom:var(--margin-xs)}.univer-style-tab-panel-select{width:100%;height:32px}.univer-style-tab-panel-font-style-bar{display:flex;align-items:center}.univer-style-tab-panel-font-size-bar{display:inline-flex;border:1px solid rgb(var(--border-color));border-radius:4px}.univer-style-tab-panel-font-size-btn{padding:var(--padding-xs) var(--padding-sm)}.univer-style-tab-panel-row-half{display:flex;justify-content:space-between;flex-direction:column;align-items:flex-start;flex:1 0 0}.univer-style-tab-panel-block{padding:0 16px 10px;color:var(--gray-600, #414657);font-size:14px;font-style:normal;font-weight:400;line-height:150%}.univer-style-tab-panel-row-label{color:var(--gray-600, #414657);font-size:14px;font-weight:400;line-height:150%;font-style:normal;margin-bottom:8px}.univer-style-tab-panel-row-half-label{margin-bottom:var(--margin-xs);font-size:14px;font-style:normal;font-weight:400;line-height:150%;color:var(--gray-600, #414657)}.univer-style-tab-panel-row{display:flex;padding:0;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:var(--margin-xs)}.univer-style-tab-panel-label{font-size:14px;font-style:normal;font-weight:500;line-height:150%;color:var(--gray-600, #414657)}.univer-style-tab-panel-mini-group{display:flex;padding:var(--3, 12px);flex-direction:column;align-items:flex-start;gap:var(--4, 16px);border-radius:var(--rounded-xl, 12px);border:1px solid var(--gray-200, #e3e5ea);background:var(--white, #fff);box-shadow:0 2px 4px #0e111e0f;position:relative}.univer-style-tab-panel-mini-group-delete{position:absolute;right:8px;top:8px}.univer-series-style-edit-add-data-point-btn{justify-self:flex-end;display:inline-flex;gap:4px;font-size:12px;font-style:normal;font-weight:500;line-height:150%;color:rgb(var(--primary-color));align-items:center}.univer-series-style-edit-row{padding:10px 16px}.univer-series-style-edit-label{margin-bottom:var(--margin-xs)}.univer-series-style-edit-block-title{color:var(--gray-900, #0e111e);font-size:14px;font-style:normal;font-weight:500;line-height:150%;margin-bottom:16px}.univer-data-points-edit-container{display:flex;flex-direction:column;gap:16px}.rc-collapse-motion{transition:height .3s,opacity .3s}.rc-collapse-content-hidden{display:none}.rc-collapse{background-color:#f7f7f7;border-radius:3px;border:1px solid #d9d9d9}.rc-collapse>.rc-collapse-item{border-top:1px solid #d9d9d9}.rc-collapse>.rc-collapse-item:first-child{border-top:none}.rc-collapse>.rc-collapse-item>.rc-collapse-header{display:flex;align-items:center;line-height:22px;padding:10px 16px;color:#666;cursor:pointer}.rc-collapse>.rc-collapse-item>.rc-collapse-header .arrow{display:inline-block;content:" ";width:0;height:0;font-size:0;line-height:0;border-top:3px solid transparent;border-bottom:3px solid transparent;border-left:4px solid #666;vertical-align:middle;margin-right:8px}.rc-collapse>.rc-collapse-item>.rc-collapse-header .rc-collapse-extra{margin:0 16px 0 auto}.rc-collapse>.rc-collapse-item .rc-collapse-header-collapsible-only{cursor:default}.rc-collapse>.rc-collapse-item .rc-collapse-header-collapsible-only .rc-collapse-header-text{cursor:pointer}.rc-collapse>.rc-collapse-item .rc-collapse-header-collapsible-only .rc-collapse-expand-icon{cursor:pointer}.rc-collapse>.rc-collapse-item .rc-collapse-icon-collapsible-only{cursor:default}.rc-collapse>.rc-collapse-item .rc-collapse-icon-collapsible-only .rc-collapse-expand-icon{cursor:pointer}.rc-collapse>.rc-collapse-item-disabled>.rc-collapse-header{cursor:not-allowed;color:#999;background-color:#f3f3f3}.rc-collapse-content{overflow:hidden;color:#666;padding:0 16px;background-color:#fff}.rc-collapse-content>.rc-collapse-content-box{margin-top:16px;margin-bottom:16px}.rc-collapse-item:last-child>.rc-collapse-content{border-radius:0 0 3px 3px}.rc-collapse>.rc-collapse-item-active>.rc-collapse-header .arrow{position:relative;top:2px;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #666;margin-right:6px}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { AreaLineStyle } from '@univerjs-pro/sheets-chart';
|
|
2
|
+
import { CategoryType } from '@univerjs-pro/sheets-chart';
|
|
3
|
+
import { ChartModel } from '@univerjs-pro/sheets-chart';
|
|
4
|
+
import { ChartModelService } from '@univerjs-pro/sheets-chart';
|
|
5
|
+
import { ChartStyle } from '@univerjs-pro/sheets-chart';
|
|
6
|
+
import { ChartTypeBits } from '@univerjs-pro/sheets-chart';
|
|
7
|
+
import { ComponentManager } from '@univerjs/ui';
|
|
8
|
+
import { DataOrientation } from '@univerjs-pro/sheets-chart';
|
|
9
|
+
import { DeepPartial } from '@univerjs-pro/sheets-chart';
|
|
10
|
+
import { Disposable as Disposable_2 } from '@univerjs/core';
|
|
11
|
+
import { IAllSeriesStyle } from '@univerjs-pro/sheets-chart';
|
|
12
|
+
import { IAxisOptions } from '@univerjs-pro/sheets-chart';
|
|
13
|
+
import { IChartContext } from '@univerjs-pro/sheets-chart';
|
|
14
|
+
import { IChartDataSource } from '@univerjs-pro/sheets-chart/models/types.js';
|
|
15
|
+
import { IChartSourceMultiRangeItem } from '@univerjs-pro/sheets-chart';
|
|
16
|
+
import { IChartStyle } from '@univerjs-pro/sheets-chart';
|
|
17
|
+
import { IChartUpdateConfigMutationParams } from '@univerjs-pro/sheets-chart';
|
|
18
|
+
import { IChartUpdateSourceMutationParams } from '@univerjs-pro/sheets-chart';
|
|
19
|
+
import { ICommandService } from '@univerjs/core';
|
|
20
|
+
import { IdentifierDecorator } from '@wendellhu/redi';
|
|
21
|
+
import { IDrawingManagerService } from '@univerjs/drawing';
|
|
22
|
+
import { ILegendStyle } from '@univerjs-pro/sheets-chart';
|
|
23
|
+
import { IMenuManagerService } from '@univerjs/ui';
|
|
24
|
+
import { Injector } from '@univerjs/core';
|
|
25
|
+
import { InvalidValueType } from '@univerjs-pro/sheets-chart';
|
|
26
|
+
import { IPieLabelStyle } from '@univerjs-pro/sheets-chart';
|
|
27
|
+
import { IRuntimeAxis } from '@univerjs-pro/sheets-chart';
|
|
28
|
+
import { ISheetChartSourceSingleRange } from '@univerjs-pro/sheets-chart';
|
|
29
|
+
import { ISidebarService } from '@univerjs/ui';
|
|
30
|
+
import { IUniverInstanceService } from '@univerjs/core';
|
|
31
|
+
import { LocaleService } from '@univerjs/core';
|
|
32
|
+
import { Nullable } from '@univerjs/core';
|
|
33
|
+
import { Observable } from 'rxjs';
|
|
34
|
+
import { Plugin as Plugin_2 } from '@univerjs/core';
|
|
35
|
+
import { RadarShape } from '@univerjs-pro/sheets-chart';
|
|
36
|
+
import { Rect } from '@univerjs/engine-render';
|
|
37
|
+
import { RightYAxisOptions } from '@univerjs-pro/sheets-chart';
|
|
38
|
+
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
39
|
+
import { SheetsChartService } from '@univerjs-pro/sheets-chart';
|
|
40
|
+
import { TitlePositionEnum } from '@univerjs-pro/sheets-chart';
|
|
41
|
+
import { UniverInstanceType } from '@univerjs/core';
|
|
42
|
+
|
|
43
|
+
declare type ChartConfigStateKey = keyof IChartConfigStateMap;
|
|
44
|
+
|
|
45
|
+
declare type ChartConfigStateValue = InferChartConfigStateValue<ChartConfigStateKey>;
|
|
46
|
+
|
|
47
|
+
export declare const defaultChartHeight = 369;
|
|
48
|
+
|
|
49
|
+
export declare const defaultChartWidth = 468;
|
|
50
|
+
|
|
51
|
+
declare type IChartConfigState<GetValue, SetValue = GetValue> = {
|
|
52
|
+
set?(value: SetValue): void;
|
|
53
|
+
get(): Observable<GetValue> | undefined;
|
|
54
|
+
} | Observable<GetValue>;
|
|
55
|
+
|
|
56
|
+
declare interface IChartConfigStateMap {
|
|
57
|
+
headers: IChartConfigState<IChartContext['headers']>;
|
|
58
|
+
orient: IChartConfigState<Nullable<DataOrientation>>;
|
|
59
|
+
aggregate: IChartConfigState<boolean>;
|
|
60
|
+
gradientFill: IChartConfigState<Nullable<boolean>>;
|
|
61
|
+
chartType: IChartConfigState<ChartTypeBits>;
|
|
62
|
+
dataRange: IChartConfigState<Nullable<ISheetChartSourceSingleRange | IChartSourceMultiRangeItem[]>>;
|
|
63
|
+
/** Series & Category */
|
|
64
|
+
categoryIndex: IChartConfigState<Nullable<number>>;
|
|
65
|
+
categoryType: IChartConfigState<Nullable<CategoryType>>;
|
|
66
|
+
categoryList: IChartConfigState<IChartOptionType[]>;
|
|
67
|
+
seriesValues: IChartConfigState<number[]>;
|
|
68
|
+
seriesList: IChartConfigState<IChartOptionType[]>;
|
|
69
|
+
seriesResourceList: IChartConfigState<IChartOptionType[]>;
|
|
70
|
+
asCategory: IChartConfigState<boolean>;
|
|
71
|
+
backgroundColor: IChartConfigState<Nullable<string>>;
|
|
72
|
+
borderColor: IChartConfigState<Nullable<string>>;
|
|
73
|
+
fontSize: IChartConfigState<number | undefined, number>;
|
|
74
|
+
titleFontSize: IChartConfigState<number | undefined, number>;
|
|
75
|
+
titles: IChartConfigState<Nullable<DeepPartial<IChartStyle['titles']>>, DeepPartial<IChartStyle['titles']>>;
|
|
76
|
+
allSeriesStyle: IChartConfigState<Nullable<DeepPartial<IAllSeriesStyle>>, IAllSeriesStyle>;
|
|
77
|
+
seriesStyleMap: IChartConfigState<ChartStyle['seriesStyleMap']>;
|
|
78
|
+
legendStyle: IChartConfigState<Nullable<DeepPartial<ILegendStyle>>, Partial<ILegendStyle>>;
|
|
79
|
+
/** Axes */
|
|
80
|
+
xAxisOptions: IChartConfigState<Nullable<DeepPartial<IAxisOptions>>, Partial<IAxisOptions>>;
|
|
81
|
+
yAxisOptions: IChartConfigState<Nullable<DeepPartial<IAxisOptions>>, Partial<IAxisOptions>>;
|
|
82
|
+
rightYAxisOptions: IChartConfigState<Nullable<DeepPartial<RightYAxisOptions>>, Partial<RightYAxisOptions>>;
|
|
83
|
+
runtimeAxes: IChartConfigState<Nullable<IRuntimeAxis[]>>;
|
|
84
|
+
areaLineStyle: IChartConfigState<Nullable<AreaLineStyle>>;
|
|
85
|
+
pieLabelStyle: IChartConfigState<Nullable<DeepPartial<IPieLabelStyle>>>;
|
|
86
|
+
padAngleStyle: IChartConfigState<Nullable<boolean>, boolean>;
|
|
87
|
+
isHalfPie: IChartConfigState<Nullable<boolean>, boolean>;
|
|
88
|
+
showLabelLine: IChartConfigState<Nullable<boolean>, boolean>;
|
|
89
|
+
doughnutHole: IChartConfigState<Nullable<number>, number>;
|
|
90
|
+
pieBorderColor: IChartConfigState<Nullable<string>, string>;
|
|
91
|
+
radarShape: IChartConfigState<Nullable<RadarShape>, RadarShape>;
|
|
92
|
+
radarFill: IChartConfigState<Nullable<boolean>, boolean>;
|
|
93
|
+
invalidValueType: IChartConfigState<Nullable<InvalidValueType>, InvalidValueType>;
|
|
94
|
+
dataPointsOptions: IChartConfigState<Nullable<IChartOptionType[]>>;
|
|
95
|
+
chartThemeColorType: IChartConfigState<Nullable<string>>;
|
|
96
|
+
titlePosition: IChartConfigState<Nullable<TitlePositionEnum>, TitlePositionEnum>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare interface IChartHostProviderService {
|
|
100
|
+
ensureHost: (chartId: string) => Promise<{
|
|
101
|
+
mountNode: string | HTMLElement;
|
|
102
|
+
dispose?: () => void;
|
|
103
|
+
}>;
|
|
104
|
+
setHostStyle: (chartId: string, style: Record<string, any>) => void;
|
|
105
|
+
getHostSize: (chartId: string) => Rect | null;
|
|
106
|
+
removeHost$: Observable<string>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
declare const IChartHostProviderService: IdentifierDecorator<IChartHostProviderService>;
|
|
110
|
+
|
|
111
|
+
declare interface IChartOptionType {
|
|
112
|
+
label: string;
|
|
113
|
+
value: string;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
declare type InferChartConfigStateValue<T extends ChartConfigStateKey, M = IChartConfigStateMap[T]> = M extends IChartConfigState<infer V> ? V : never;
|
|
117
|
+
|
|
118
|
+
export declare class SheetsChartUIController extends Disposable_2 {
|
|
119
|
+
private _drawingManagerService;
|
|
120
|
+
private readonly _univerInstanceService;
|
|
121
|
+
private readonly _injector;
|
|
122
|
+
private readonly _ChartModelService;
|
|
123
|
+
private _sidebarService;
|
|
124
|
+
private _componentManager;
|
|
125
|
+
protected readonly _menuManagerService: IMenuManagerService;
|
|
126
|
+
private readonly _sheetInterceptorService;
|
|
127
|
+
private _sidebarDisposable;
|
|
128
|
+
constructor(_drawingManagerService: IDrawingManagerService, _univerInstanceService: IUniverInstanceService, _injector: Injector, _ChartModelService: ChartModelService, _sidebarService: ISidebarService, _componentManager: ComponentManager, _menuManagerService: IMenuManagerService, _sheetInterceptorService: SheetInterceptorService);
|
|
129
|
+
openPanel(): void;
|
|
130
|
+
hidePanel(): void;
|
|
131
|
+
private _initPanel;
|
|
132
|
+
private _initMenus;
|
|
133
|
+
private _initCommands;
|
|
134
|
+
private _initCommandInterceptor;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export declare class SheetsChartUIService extends Disposable_2 {
|
|
138
|
+
private readonly _chartModelService;
|
|
139
|
+
private readonly _sheetsChartService;
|
|
140
|
+
private readonly _commandService;
|
|
141
|
+
private readonly _localeService;
|
|
142
|
+
private readonly _chartHostProviderService;
|
|
143
|
+
private _univerInstanceService;
|
|
144
|
+
private _viewState;
|
|
145
|
+
constructor(_chartModelService: ChartModelService, _sheetsChartService: SheetsChartService, _commandService: ICommandService, _localeService: LocaleService, _chartHostProviderService: IChartHostProviderService, _univerInstanceService: IUniverInstanceService);
|
|
146
|
+
get activeChartModel(): Nullable<ChartModel>;
|
|
147
|
+
getDataSource(id: string): IChartDataSource | undefined;
|
|
148
|
+
registerViewState<T extends ChartConfigStateKey = ChartConfigStateKey>(id: T, state: (chartModel: ChartModel) => IChartConfigStateMap[T]): void;
|
|
149
|
+
getViewState<V extends ChartConfigStateValue = ChartConfigStateValue>(id: ChartConfigStateKey): IChartConfigState<V> | undefined;
|
|
150
|
+
executeChartUpdateConfig(params: Omit<IChartUpdateConfigMutationParams, 'unitId'>): void;
|
|
151
|
+
executeChartUpdateSourceConfig(params: IChartUpdateSourceMutationParams): void;
|
|
152
|
+
removeViewState(id: ChartConfigStateKey): void;
|
|
153
|
+
setBorder(id: string, color: string): void;
|
|
154
|
+
t(...args: Parameters<LocaleService['t']>): string;
|
|
155
|
+
dispose(): void;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export declare class UniverSheetsChartUIPlugin extends Plugin_2 {
|
|
159
|
+
protected readonly _injector: Injector;
|
|
160
|
+
private readonly _commandService;
|
|
161
|
+
static type: UniverInstanceType;
|
|
162
|
+
static pluginName: string;
|
|
163
|
+
constructor(_injector: Injector, _commandService: ICommandService);
|
|
164
|
+
onStarting(): void;
|
|
165
|
+
onRendered(): void;
|
|
166
|
+
private _initCommands;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export { }
|