@univerjs-pro/slides-chart-ui 1.0.0-alpha.7 → 1.0.0-beta.0
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/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +10 -209
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/operations/chart-panel.operation.d.ts +1 -1
- package/lib/types/common/slide-chart-frame-style.d.ts +3 -3
- package/lib/types/components/SlideChartDataEditor.d.ts +3 -3
- package/lib/types/components/SlideChartEditPanel.d.ts +51 -14
- package/lib/types/controllers/slide-chart-element-float-menu.controller.d.ts +5 -3
- package/lib/types/index.d.ts +2 -6
- package/lib/types/locale/en-US.d.ts +111 -79
- package/lib/types/menu/contextmenu.menu.d.ts +1 -2
- package/lib/types/services/slide-chart-data-edit.service.d.ts +3 -3
- package/lib/types/services/slide-chart-edit-session.service.d.ts +1 -1
- package/lib/types/services/slide-chart-host-provider.service.d.ts +20 -4
- package/lib/types/services/slide-chart-host.d.ts +4 -13
- package/lib/types/services/slide-chart-insert.service.d.ts +3 -3
- package/lib/types/services/slide-chart-render.service.d.ts +4 -8
- package/lib/types/services/slide-chart-ui.service.d.ts +20 -97
- package/lib/types/views/render/chart-adaptor.d.ts +3 -2
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
- package/lib/types/components/SlideChartInlineTableEditor.d.ts +0 -11
- package/lib/types/hooks.d.ts +0 -3
- package/lib/types/services/chart-element-selection.d.ts +0 -10
- package/lib/types/services/chart-panel-route.d.ts +0 -22
- package/lib/types/utils/ChartPanelOptions.d.ts +0 -78
package/lib/umd/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x301f(_0x1e4d6c,_0x45b901){_0x1e4d6c=_0x1e4d6c-0x1df;var _0x4886e5=_0x4886();var _0x301f41=_0x4886e5[_0x1e4d6c];return _0x301f41;}(function(_0x2ec142,_0x8c6ba6){var _0x18ef4c=_0x301f,_0x12a04c=_0x2ec142();while(!![]){try{var _0x1247b5=-parseInt(_0x18ef4c(0x21b))/0x1*(parseInt(_0x18ef4c(0x1f3))/0x2)+parseInt(_0x18ef4c(0x209))/0x3+-parseInt(_0x18ef4c(0x20e))/0x4+parseInt(_0x18ef4c(0x213))/0x5*(parseInt(_0x18ef4c(0x1fe))/0x6)+parseInt(_0x18ef4c(0x1e6))/0x7*(parseInt(_0x18ef4c(0x200))/0x8)+-parseInt(_0x18ef4c(0x223))/0x9+-parseInt(_0x18ef4c(0x1ff))/0xa;if(_0x1247b5===_0x8c6ba6)break;else _0x12a04c['push'](_0x12a04c['shift']());}catch(_0x2debbd){_0x12a04c['push'](_0x12a04c['shift']());}}}(_0x4886,0x7126a),function(_0x1f82ac,_0x747bc0){var _0x10e386=_0x301f;typeof exports==_0x10e386(0x1e1)&&typeof module<'u'?module[_0x10e386(0x20d)]=_0x747bc0():typeof define==_0x10e386(0x21a)&&define[_0x10e386(0x1e3)]?define([],_0x747bc0):(_0x1f82ac=typeof globalThis<'u'?globalThis:_0x1f82ac||self,_0x1f82ac['UniverProSlidesChartUiZhHK']=_0x747bc0());}(this,function(){var _0x31d6d9=_0x301f;return{'slides-chart-ui':{'border':'框線','common':{'insertChartFailed':_0x31d6d9(0x217),'inlineData':'內嵌資料','cancel':'取消','insert':'插入','editData':_0x31d6d9(0x1fa),'editChart':'編輯圖表','tableDataEmpty':_0x31d6d9(0x1e8),'duplicate':'複製','apply':'套用','data':'資料','series':'系列','horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':'設定圖表','customize':_0x31d6d9(0x1e2),'switchRowColumn':_0x31d6d9(0x214),'chartAndAxisTitles':_0x31d6d9(0x201),'chartStyle':_0x31d6d9(0x21c),'heatmap':_0x31d6d9(0x1fc),'legend':'圖例','rightVerticalAxis':'右縱軸','trendline':'趨勢線','category':'類別','label':'標籤','value':'數值','valueField':_0x31d6d9(0x1f7),'chartType':_0x31d6d9(0x1eb)},'editor':{'defaultColor':_0x31d6d9(0x219)},'chartTypes':{'line':_0x31d6d9(0x21e),'column':_0x31d6d9(0x1f0),'bar':_0x31d6d9(0x206),'barStacked':_0x31d6d9(0x208),'barPercentStacked':_0x31d6d9(0x222),'pie':'餅圖','pieOfPie':_0x31d6d9(0x1ec),'barOfPie':'複合餅圖','area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':_0x31d6d9(0x20b),'radar':_0x31d6d9(0x1fd),'scatter':_0x31d6d9(0x1fb),'combination':_0x31d6d9(0x210),'wordCloud':_0x31d6d9(0x216),'funnel':_0x31d6d9(0x1e5),'bubble':_0x31d6d9(0x1f8),'relation':'關係圖','waterfall':_0x31d6d9(0x202),'pareto':'排列圖','sankey':_0x31d6d9(0x1ed),'heatmap':_0x31d6d9(0x1fc),'boxplot':_0x31d6d9(0x215),'candlestick':_0x31d6d9(0x1f6),'histogram':_0x31d6d9(0x212),'treemap':_0x31d6d9(0x20f),'sunburst':'旭日圖','gauge':_0x31d6d9(0x1f4),'chord':_0x31d6d9(0x1e0)},'section':{'candlestick':'燭台圖','chord':_0x31d6d9(0x1e0),'funnel':'漏斗圖','gauge':_0x31d6d9(0x211),'gridlinesAndTicks':_0x31d6d9(0x1ef),'histogram':_0x31d6d9(0x212),'indicatorLine':_0x31d6d9(0x1f9),'lineAndArea':_0x31d6d9(0x1e7),'paretoBar':'長條圖系列','paretoLine':_0x31d6d9(0x203),'pie':'餅圖','radar':_0x31d6d9(0x1fd),'relation':'關係圖','sunburst':_0x31d6d9(0x21d),'treemap':_0x31d6d9(0x218),'waterfall':_0x31d6d9(0x202),'wordCloud':'詞雲'},'candlestick':{'columnsError':'K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄。','close':_0x31d6d9(0x1ee),'high':'最高價','low':_0x31d6d9(0x205),'open':_0x31d6d9(0x1df),'series':_0x31d6d9(0x1e4)},'chord':{'source':'來源','target':'目標','emptyDiagnostic':'弦圖至少需要兩個不同節點之間的一條正權重關係。','mappingDiagnostic':_0x31d6d9(0x1ea),'configDiagnostic':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','count':'關係數','associatedValue':_0x31d6d9(0x1f1)},'sunburst':{'hierarchy':'階層','ownValue':_0x31d6d9(0x204),'children':'子項','diagnostic':_0x31d6d9(0x221)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x31d6d9(0x220),'ownValue':_0x31d6d9(0x204),'children':'子項','diagnostic':_0x31d6d9(0x20c)},'gauge':{'emptyDiagnostic':_0x31d6d9(0x21f),'mappingDiagnostic':_0x31d6d9(0x1e9),'configDiagnostic':_0x31d6d9(0x207)},'chartField':{'missingCategoryFields':'此圖表需要更多標籤欄位。','missingSeriesFields':_0x31d6d9(0x1f2),'invalidFieldIndex':_0x31d6d9(0x1f5),'invalidValueFieldType':'所選數值欄位不包含數值資料。','invalidDataStructure':_0x31d6d9(0x20a),'unsupportedChartType':'此圖表類型沒有欄位使用規則。'}}};}));function _0x4886(){var _0x13a821=['exports','2730704QlEHiY','矩形樹圖','組合圖','儀表圖','直方圖','5hOnHTr','切換列或欄','箱型圖','詞雲圖','插入圖表失敗','樹狀圖','預設顏色','function','8eAcvlx','圖表樣式','旭日圖','折線圖','儀表圖至少需要一個有限數值。','階層欄位','旭日圖至少需要一個階層欄位和一個數值欄位。','百分比堆疊條形圖','353898sKLlsu','開盤價','和弦圖','object','自訂圖表','amd','OHLC\x20數列','漏斗圖','1492407VsjhYY','折線圖\x20/\x20面積圖','表格資料為空','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','圖表類型','子母餅圖','桑基圖','收盤價','網格線和刻度線','柱狀圖','關聯值','此圖表需要更多數值欄位。','7102HIyUWC','儀表盤','所選圖表欄位已無法使用。','K\x20線圖','數值欄位','氣泡圖','指示線','編輯資料','散點圖','熱力圖','雷達圖','388518iZQjQY','501860NcUoFy','24qqQDrV','圖表與座標軸標題','瀑布圖','累積占比系列','自身值','最低價','條形圖','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','堆疊條形圖','1679106texGnf','所選欄位無法構成此圖表所需的有效資料結構。','百分比堆疊面積圖','矩形樹圖至少需要一個階層欄位和一個數值欄位。'];_0x4886=function(){return _0x13a821;};return _0x4886();}
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xc33b(){var _0x5a3ae6=['桑基圖','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','右縱軸','瀑布圖','這個圖表需要更多標籤欄位。','UniverProSlidesChartUiZhTW','預設顏色','散點圖','最低價','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','矩形樹圖至少需要一個階層欄位和一個數值欄位。','排列圖','3654565uRGFnM','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄位。','複合餅圖','儀表板','旭日圖至少需要一個階層欄位和一個數值欄位。','儀表圖至少需要一個有限數值。','152EtSuNM','內嵌資料','這個圖表需要更多數值欄位。','2974168iaxggc','這個圖表類型沒有欄位使用規則。','3WcNASH','開盤價','組合圖','自訂圖表','編輯圖表','階層欄位','編輯資料','直方圖','指示線','堆疊條形圖','和弦圖','收盤價','百分比堆疊條形圖','圖表類型','amd','折線圖','OHLC\x20數列','旭日圖','矩形樹圖','折線圖\x20/\x20面積圖','表格資料為空','83980RAjQnU','網格線和刻度線','關聯值','雷達圖','object','熱力圖','累積占比系列','子母餅圖','選取的圖表欄位已無法使用。','切換列或欄','3255VYOAfz','121hdkOAh','選取的欄位無法構成這個圖表所需的有效資料結構。','6146630nQCbRr','412983oNloSG','箱型圖','關係數','百分比堆疊面積圖','插入圖表失敗','樹狀圖','226UTenYc','自身值','K\x20線圖','弦圖至少需要兩個不同節點之間的一條正權重關係。','圖表樣式','氣泡圖','柱狀圖','漏斗圖','關係圖','圖表與座標軸標題','數值欄位','3119148gsFDoQ'];_0xc33b=function(){return _0x5a3ae6;};return _0xc33b();}function _0x2f53(_0x568233,_0x34b9aa){_0x568233=_0x568233-0x126;var _0xc33bdc=_0xc33b();var _0x2f5395=_0xc33bdc[_0x568233];return _0x2f5395;}(function(_0x197cfe,_0xf056ba){var _0x3d4559=_0x2f53,_0x3d54c1=_0x197cfe();while(!![]){try{var _0x342354=-parseInt(_0x3d4559(0x167))/0x1*(parseInt(_0x3d4559(0x171))/0x2)+-parseInt(_0x3d4559(0x148))/0x3*(-parseInt(_0x3d4559(0x146))/0x4)+parseInt(_0x3d4559(0x13d))/0x5+-parseInt(_0x3d4559(0x12e))/0x6+parseInt(_0x3d4559(0x16a))/0x7+parseInt(_0x3d4559(0x143))/0x8*(-parseInt(_0x3d4559(0x16b))/0x9)+-parseInt(_0x3d4559(0x15d))/0xa*(parseInt(_0x3d4559(0x168))/0xb);if(_0x342354===_0xf056ba)break;else _0x3d54c1['push'](_0x3d54c1['shift']());}catch(_0x2b999d){_0x3d54c1['push'](_0x3d54c1['shift']());}}}(_0xc33b,0x7a3a1),function(_0x5ce803,_0x2ce7c6){var _0x3862c6=_0x2f53;typeof exports==_0x3862c6(0x161)&&typeof module<'u'?module['exports']=_0x2ce7c6():typeof define=='function'&&define[_0x3862c6(0x156)]?define([],_0x2ce7c6):(_0x5ce803=typeof globalThis<'u'?globalThis:_0x5ce803||self,_0x5ce803[_0x3862c6(0x136)]=_0x2ce7c6());}(this,function(){var _0x5466b2=_0x2f53;return{'slides-chart-ui':{'border':'框線','common':{'insertChartFailed':_0x5466b2(0x16f),'inlineData':_0x5466b2(0x144),'cancel':'取消','insert':'插入','editData':_0x5466b2(0x14e),'editChart':_0x5466b2(0x14c),'tableDataEmpty':_0x5466b2(0x15c),'duplicate':'複製','apply':'套用','data':'資料','series':'系列','horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':'設定圖表','customize':_0x5466b2(0x14b),'switchRowColumn':_0x5466b2(0x166),'chartAndAxisTitles':_0x5466b2(0x12c),'chartStyle':_0x5466b2(0x127),'heatmap':'熱力圖','legend':'圖例','rightVerticalAxis':_0x5466b2(0x133),'trendline':'趨勢線','category':'類別','label':'標籤','value':'數值','valueField':_0x5466b2(0x12d),'chartType':_0x5466b2(0x155)},'editor':{'defaultColor':_0x5466b2(0x137)},'chartTypes':{'line':_0x5466b2(0x157),'column':_0x5466b2(0x129),'bar':'條形圖','barStacked':_0x5466b2(0x151),'barPercentStacked':_0x5466b2(0x154),'pie':'餅圖','pieOfPie':_0x5466b2(0x164),'barOfPie':_0x5466b2(0x13f),'area':'面積圖','areaStacked':'堆疊面積圖','areaPercentStacked':_0x5466b2(0x16e),'radar':_0x5466b2(0x160),'scatter':_0x5466b2(0x138),'combination':_0x5466b2(0x14a),'wordCloud':'詞雲圖','funnel':_0x5466b2(0x12a),'bubble':_0x5466b2(0x128),'relation':_0x5466b2(0x12b),'waterfall':_0x5466b2(0x134),'pareto':_0x5466b2(0x13c),'sankey':_0x5466b2(0x12f),'heatmap':_0x5466b2(0x162),'boxplot':_0x5466b2(0x16c),'candlestick':_0x5466b2(0x173),'histogram':'直方圖','treemap':_0x5466b2(0x15a),'sunburst':_0x5466b2(0x159),'gauge':_0x5466b2(0x140),'chord':_0x5466b2(0x152)},'section':{'candlestick':'燭台圖','chord':'和弦圖','funnel':_0x5466b2(0x12a),'gauge':'儀表圖','gridlinesAndTicks':_0x5466b2(0x15e),'histogram':_0x5466b2(0x14f),'indicatorLine':_0x5466b2(0x150),'lineAndArea':_0x5466b2(0x15b),'paretoBar':'長條圖系列','paretoLine':_0x5466b2(0x163),'pie':'餅圖','radar':_0x5466b2(0x160),'relation':_0x5466b2(0x12b),'sunburst':_0x5466b2(0x159),'treemap':_0x5466b2(0x170),'waterfall':_0x5466b2(0x134),'wordCloud':'詞雲'},'candlestick':{'columnsError':_0x5466b2(0x13e),'close':_0x5466b2(0x153),'high':'最高價','low':_0x5466b2(0x139),'open':_0x5466b2(0x149),'series':_0x5466b2(0x158)},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0x5466b2(0x126),'mappingDiagnostic':_0x5466b2(0x13a),'configDiagnostic':_0x5466b2(0x130),'count':_0x5466b2(0x16d),'associatedValue':_0x5466b2(0x15f)},'sunburst':{'hierarchy':'階層','ownValue':_0x5466b2(0x172),'children':'子項','diagnostic':_0x5466b2(0x141)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x5466b2(0x14d),'ownValue':_0x5466b2(0x172),'children':'子項','diagnostic':_0x5466b2(0x13b)},'gauge':{'emptyDiagnostic':_0x5466b2(0x142),'mappingDiagnostic':_0x5466b2(0x131),'configDiagnostic':_0x5466b2(0x132)},'chartField':{'missingCategoryFields':_0x5466b2(0x135),'missingSeriesFields':_0x5466b2(0x145),'invalidFieldIndex':_0x5466b2(0x165),'invalidValueFieldType':'選取的數值欄位不包含數值資料。','invalidDataStructure':_0x5466b2(0x169),'unsupportedChartType':_0x5466b2(0x147)}}};}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/slides-chart-ui",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Chart UI integration for Univer Slides.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -57,27 +57,27 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs/icons": "1.
|
|
61
|
-
"@univerjs-pro/chart-ui": "1.0.0-
|
|
62
|
-
"@univerjs-pro/engine-chart": "1.0.0-
|
|
63
|
-
"@univerjs-pro/
|
|
64
|
-
"@univerjs-pro/
|
|
65
|
-
"@univerjs-pro/
|
|
66
|
-
"@univerjs-pro/slides-chart": "1.0.0-
|
|
67
|
-
"@univerjs-pro/slides-ui": "1.0.0-
|
|
68
|
-
"@univerjs/core": "1.0.0-
|
|
69
|
-
"@univerjs/design": "1.0.0-
|
|
70
|
-
"@univerjs/engine-render": "1.0.0-
|
|
71
|
-
"@univerjs/ui": "1.0.0-
|
|
60
|
+
"@univerjs/icons": "1.35.0",
|
|
61
|
+
"@univerjs-pro/chart-ui": "1.0.0-beta.0",
|
|
62
|
+
"@univerjs-pro/engine-chart": "1.0.0-beta.0",
|
|
63
|
+
"@univerjs-pro/license": "1.0.0-beta.0",
|
|
64
|
+
"@univerjs-pro/engine-shape": "1.0.0-beta.0",
|
|
65
|
+
"@univerjs-pro/slides": "1.0.0-beta.0",
|
|
66
|
+
"@univerjs-pro/slides-chart": "1.0.0-beta.0",
|
|
67
|
+
"@univerjs-pro/slides-ui": "1.0.0-beta.0",
|
|
68
|
+
"@univerjs/core": "1.0.0-beta.0",
|
|
69
|
+
"@univerjs/design": "1.0.0-beta.0",
|
|
70
|
+
"@univerjs/engine-render": "1.0.0-beta.0",
|
|
71
|
+
"@univerjs/ui": "1.0.0-beta.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"postcss": "^8.5.
|
|
74
|
+
"postcss": "^8.5.25",
|
|
75
75
|
"react": "18.3.1",
|
|
76
76
|
"rxjs": "7.8.2",
|
|
77
77
|
"tailwindcss": "3.4.17",
|
|
78
78
|
"typescript": "^6.0.3",
|
|
79
79
|
"vitest": "^4.1.10",
|
|
80
|
-
"@univerjs-infra/shared": "1.0.0-
|
|
80
|
+
"@univerjs-infra/shared": "1.0.0-beta.0"
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"test": "vitest run",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { SlideChartCellValue } from '@univerjs-pro/slides-chart';
|
|
2
|
-
import { appendInlineTableColumn, appendInlineTableRow, compactInlineTableValues, normalizeInlineTableValues } from '@univerjs-pro/chart-ui';
|
|
3
|
-
export interface ISlideChartInlineTableEditorProps {
|
|
4
|
-
values: SlideChartCellValue[][];
|
|
5
|
-
onChange: (values: SlideChartCellValue[][]) => void;
|
|
6
|
-
minRows?: number;
|
|
7
|
-
minColumns?: number;
|
|
8
|
-
}
|
|
9
|
-
export { appendInlineTableColumn, appendInlineTableRow, compactInlineTableValues, normalizeInlineTableValues, };
|
|
10
|
-
export declare function applyInlineTablePaste(_values: SlideChartCellValue[][], pastedText: string, minRows?: number, minColumns?: number): SlideChartCellValue[][] | null;
|
|
11
|
-
export declare function SlideChartInlineTableEditor(props: ISlideChartInlineTableEditorProps): import("react").JSX.Element;
|
package/lib/types/hooks.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { InferSlideChartConfigStateValue, SlideChartConfigStateKey } from './services/slide-chart-ui.service';
|
|
2
|
-
export declare function useSlideChartConfigState<V, T extends SlideChartConfigStateKey = SlideChartConfigStateKey>(key: T, defaultValue: V): [V, (value: V) => void];
|
|
3
|
-
export declare function useSlideChartConfigState<T extends SlideChartConfigStateKey = SlideChartConfigStateKey, V extends InferSlideChartConfigStateValue<T> = InferSlideChartConfigStateValue<T>>(key: T): [V | undefined, (value: V) => void];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ChartElementConfigTarget } from '@univerjs-pro/chart-ui';
|
|
2
|
-
import type { IChartElementHit } from '@univerjs-pro/engine-chart';
|
|
3
|
-
import type { ISlideChartRuntimeModel } from '@univerjs-pro/slides-chart';
|
|
4
|
-
import type { IChartEditPanelRoute } from './chart-panel-route';
|
|
5
|
-
export interface ISlideChartElementSelection {
|
|
6
|
-
target: ChartElementConfigTarget;
|
|
7
|
-
route: IChartEditPanelRoute;
|
|
8
|
-
showFloatMenu: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare function resolveSlideChartElementSelection(chartModel: ISlideChartRuntimeModel['model'], hit: IChartElementHit): ISlideChartElementSelection | undefined;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ChartElementConfigTarget, ChartTitleKey } from '@univerjs-pro/chart-ui';
|
|
2
|
-
import type { IChartElementHit } from '@univerjs-pro/engine-chart';
|
|
3
|
-
import { ChartAxisId, ChartEditPanelSection, ChartEditPanelTab } from '@univerjs-pro/chart-ui';
|
|
4
|
-
export { ChartEditPanelSection, ChartEditPanelTab } from '@univerjs-pro/chart-ui';
|
|
5
|
-
export interface IChartEditPanelRoute {
|
|
6
|
-
tab: ChartEditPanelTab;
|
|
7
|
-
section?: ChartEditPanelSection;
|
|
8
|
-
titleKey?: ChartTitleKey;
|
|
9
|
-
axisId?: ChartAxisId;
|
|
10
|
-
seriesId?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IChartSelectedElementState {
|
|
13
|
-
chartId: string;
|
|
14
|
-
element: IChartElementHit;
|
|
15
|
-
target: ChartElementConfigTarget;
|
|
16
|
-
route: IChartEditPanelRoute;
|
|
17
|
-
}
|
|
18
|
-
export interface IChartPanelRouteState {
|
|
19
|
-
chartId: string;
|
|
20
|
-
route: IChartEditPanelRoute | null;
|
|
21
|
-
}
|
|
22
|
-
export declare function resolveChartEditPanelRoute(target: ChartElementConfigTarget): IChartEditPanelRoute | undefined;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { ChartThemeService } from '@univerjs-pro/engine-chart';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
import type { LocaleKey } from '../locale/types';
|
|
4
|
-
import { ChartTypeBits } from '@univerjs-pro/engine-chart';
|
|
5
|
-
export interface ISlideChartSelectOption {
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
value: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ISlideChartLocaleOption<T = string> {
|
|
10
|
-
label: LocaleKey;
|
|
11
|
-
value: T;
|
|
12
|
-
}
|
|
13
|
-
export declare const SLIDE_CHART_TYPE_OPTIONS: readonly [{
|
|
14
|
-
readonly label: "slides-chart-ui.chartTypes.line";
|
|
15
|
-
readonly value: ChartTypeBits.Line;
|
|
16
|
-
}, {
|
|
17
|
-
readonly label: "slides-chart-ui.chartTypes.column";
|
|
18
|
-
readonly value: ChartTypeBits.Column;
|
|
19
|
-
}, {
|
|
20
|
-
readonly label: "slides-chart-ui.chartTypes.pie";
|
|
21
|
-
readonly value: ChartTypeBits.Pie;
|
|
22
|
-
}, {
|
|
23
|
-
readonly label: "slides-chart-ui.chartTypes.bar";
|
|
24
|
-
readonly value: ChartTypeBits.Bar;
|
|
25
|
-
}, {
|
|
26
|
-
readonly label: "slides-chart-ui.chartTypes.barStacked";
|
|
27
|
-
readonly value: ChartTypeBits.BarStacked;
|
|
28
|
-
}, {
|
|
29
|
-
readonly label: "slides-chart-ui.chartTypes.barPercentStacked";
|
|
30
|
-
readonly value: ChartTypeBits.BarPercentStacked;
|
|
31
|
-
}, {
|
|
32
|
-
readonly label: "slides-chart-ui.chartTypes.area";
|
|
33
|
-
readonly value: ChartTypeBits.Area;
|
|
34
|
-
}, {
|
|
35
|
-
readonly label: "slides-chart-ui.chartTypes.areaStacked";
|
|
36
|
-
readonly value: ChartTypeBits.AreaStacked;
|
|
37
|
-
}, {
|
|
38
|
-
readonly label: "slides-chart-ui.chartTypes.areaPercentStacked";
|
|
39
|
-
readonly value: ChartTypeBits.AreaPercentStacked;
|
|
40
|
-
}, {
|
|
41
|
-
readonly label: "slides-chart-ui.chartTypes.radar";
|
|
42
|
-
readonly value: ChartTypeBits.Radar;
|
|
43
|
-
}, {
|
|
44
|
-
readonly label: "slides-chart-ui.chartTypes.combination";
|
|
45
|
-
readonly value: ChartTypeBits.Combination;
|
|
46
|
-
}, {
|
|
47
|
-
readonly label: "slides-chart-ui.chartTypes.scatter";
|
|
48
|
-
readonly value: ChartTypeBits.Scatter;
|
|
49
|
-
}, {
|
|
50
|
-
readonly label: "slides-chart-ui.chartTypes.wordCloud";
|
|
51
|
-
readonly value: ChartTypeBits.WordCloud;
|
|
52
|
-
}, {
|
|
53
|
-
readonly label: "slides-chart-ui.chartTypes.funnel";
|
|
54
|
-
readonly value: ChartTypeBits.Funnel;
|
|
55
|
-
}, {
|
|
56
|
-
readonly label: "slides-chart-ui.chartTypes.bubble";
|
|
57
|
-
readonly value: ChartTypeBits.Bubble;
|
|
58
|
-
}, {
|
|
59
|
-
readonly label: "slides-chart-ui.chartTypes.relation";
|
|
60
|
-
readonly value: ChartTypeBits.Relation;
|
|
61
|
-
}, {
|
|
62
|
-
readonly label: "slides-chart-ui.chartTypes.waterfall";
|
|
63
|
-
readonly value: ChartTypeBits.Waterfall;
|
|
64
|
-
}, {
|
|
65
|
-
readonly label: "slides-chart-ui.chartTypes.pareto";
|
|
66
|
-
readonly value: ChartTypeBits.Pareto;
|
|
67
|
-
}, {
|
|
68
|
-
readonly label: "slides-chart-ui.chartTypes.sankey";
|
|
69
|
-
readonly value: ChartTypeBits.Sankey;
|
|
70
|
-
}, {
|
|
71
|
-
readonly label: "slides-chart-ui.chartTypes.heatmap";
|
|
72
|
-
readonly value: ChartTypeBits.Heatmap;
|
|
73
|
-
}, {
|
|
74
|
-
readonly label: "slides-chart-ui.chartTypes.boxplot";
|
|
75
|
-
readonly value: ChartTypeBits.Boxplot;
|
|
76
|
-
}];
|
|
77
|
-
export declare const SLIDE_CHART_STACK_OPTIONS: Array<ISlideChartLocaleOption<string>>;
|
|
78
|
-
export declare function buildSlideChartThemeOptions(themes: string[], chartThemeService: Pick<ChartThemeService, 'getColors'>): ISlideChartSelectOption[];
|