@univerjs-pro/docs-chart-ui 1.0.0-rc.0 → 1.0.1
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 +12 -0
- 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/components/DocChartEditPanel.d.ts +1 -0
- package/lib/types/components/DocChartEditorDialog.d.ts +4 -0
- package/lib/types/components/MobileDocChartDataEditor.d.ts +17 -0
- package/lib/types/components/MobileDocChartEditor.d.ts +17 -0
- package/lib/types/components/MobileDocChartInsertPanel.d.ts +17 -0
- package/lib/types/controllers/components.controller.d.ts +3 -2
- package/lib/types/controllers/mobile/components.controller.d.ts +8 -0
- package/lib/types/controllers/mobile/ui.controller.d.ts +20 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/mobile-plugin.d.ts +16 -0
- package/lib/types/plugin.d.ts +2 -0
- 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 +17 -17
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x392a7b=_0x1967;function _0x1967(_0x2c43a7,_0x42bd8a){_0x2c43a7=_0x2c43a7-0x143;const _0x559e8b=_0x559e();let _0x1967b1=_0x559e8b[_0x2c43a7];return _0x1967b1;}(function(_0x17a9e7,_0x36a493){const _0x552912=_0x1967,_0x514aab=_0x17a9e7();while(!![]){try{const _0x1cd33b=-parseInt(_0x552912(0x168))/0x1+parseInt(_0x552912(0x14f))/0x2+-parseInt(_0x552912(0x171))/0x3+parseInt(_0x552912(0x174))/0x4+parseInt(_0x552912(0x181))/0x5+parseInt(_0x552912(0x15f))/0x6*(-parseInt(_0x552912(0x153))/0x7)+-parseInt(_0x552912(0x15e))/0x8*(-parseInt(_0x552912(0x149))/0x9);if(_0x1cd33b===_0x36a493)break;else _0x514aab['push'](_0x514aab['shift']());}catch(_0x1c249d){_0x514aab['push'](_0x514aab['shift']());}}}(_0x559e,0xb034a));const e={'docs-chart-ui':{'previewRenderFailed':'无法呈现图表预览。','updateChartFailed':_0x392a7b(0x14c),'chartNotFound':'图表不可用。','close':'关闭','common':{'horizontalAxis':'横轴','verticalAxis':'纵轴','setup':_0x392a7b(0x143),'customize':_0x392a7b(0x182),'editChart':'图表','data':'数据','editData':_0x392a7b(0x178),'tableDataEmpty':_0x392a7b(0x173),'cancel':'取消','duplicate':'复制数据源','apply':'应用','insertChartFailed':_0x392a7b(0x179),'inlineData':'内联数据','insert':'插入','deleteChart':_0x392a7b(0x166),'insertChart':_0x392a7b(0x186),'chartAndAxisTitles':_0x392a7b(0x164),'chartStyle':'图表样式','heatmap':_0x392a7b(0x16e),'legend':'图例','rightVerticalAxis':_0x392a7b(0x14d),'series':'系列','trendline':_0x392a7b(0x146),'category':'类别','label':'标签','value':'数值','valueField':_0x392a7b(0x176),'chartType':'图表类型'},'floatMenu':{'menuTitle':{'chart':'图表'}},'chartTypes':{'line':_0x392a7b(0x155),'column':_0x392a7b(0x17f),'columnStacked':_0x392a7b(0x14a),'columnPercentStacked':_0x392a7b(0x162),'bar':_0x392a7b(0x16a),'barStacked':_0x392a7b(0x158),'barPercentStacked':_0x392a7b(0x187),'pie':'饼图','donut':'环形图','pieOfPie':'子母饼图','barOfPie':_0x392a7b(0x167),'area':'面积图','areaStacked':'堆叠面积图','areaPercentStacked':_0x392a7b(0x15d),'radar':_0x392a7b(0x170),'scatter':_0x392a7b(0x17d),'combination':_0x392a7b(0x148),'wordCloud':'词云图','funnel':_0x392a7b(0x163),'bubble':_0x392a7b(0x145),'relation':_0x392a7b(0x154),'waterfall':'瀑布图','pareto':_0x392a7b(0x177),'sankey':'桑基图','heatmap':_0x392a7b(0x16e),'boxplot':_0x392a7b(0x17b),'candlestick':_0x392a7b(0x16c),'histogram':_0x392a7b(0x144),'treemap':_0x392a7b(0x17e),'sunburst':_0x392a7b(0x184),'gauge':_0x392a7b(0x15b),'chord':_0x392a7b(0x17a)},'section':{'candlestick':_0x392a7b(0x159),'chord':_0x392a7b(0x17a),'funnel':_0x392a7b(0x163),'gauge':_0x392a7b(0x152),'gridlinesAndTicks':_0x392a7b(0x16b),'histogram':_0x392a7b(0x144),'indicatorLine':'指示线','lineAndArea':'折线图\x20/\x20面积图','paretoBar':_0x392a7b(0x157),'paretoLine':_0x392a7b(0x15c),'pie':'饼图','radar':_0x392a7b(0x170),'relation':_0x392a7b(0x154),'sunburst':_0x392a7b(0x184),'treemap':_0x392a7b(0x16f),'waterfall':_0x392a7b(0x172),'wordCloud':'词云'},'candlestick':{'columnsError':_0x392a7b(0x161),'close':'收盘','high':'最高','low':'最低','open':'开盘','series':_0x392a7b(0x14b)},'chord':{'source':'来源','target':'目标','emptyDiagnostic':_0x392a7b(0x16d),'mappingDiagnostic':_0x392a7b(0x156),'configDiagnostic':_0x392a7b(0x175),'count':'关系计数','associatedValue':'关联值'},'sunburst':{'hierarchy':'层级','ownValue':_0x392a7b(0x183),'children':'子项','diagnostic':'旭日图至少需要一个层级字段和一个数值字段。'},'histogram':{'frequency':'频数'},'pie':{'aggregateOther':'其他','aggregateMembers':_0x392a7b(0x185)},'treemap':{'hierarchy':_0x392a7b(0x169),'ownValue':_0x392a7b(0x183),'children':'子项','diagnostic':_0x392a7b(0x150)},'gauge':{'emptyDiagnostic':_0x392a7b(0x15a),'mappingDiagnostic':_0x392a7b(0x160),'configDiagnostic':_0x392a7b(0x17c)},'chartField':{'missingCategoryFields':_0x392a7b(0x165),'missingSeriesFields':_0x392a7b(0x180),'invalidFieldIndex':_0x392a7b(0x14e),'invalidValueFieldType':_0x392a7b(0x151),'invalidDataStructure':_0x392a7b(0x147),'unsupportedChartType':'此图表类型没有字段使用规则。'}}};function _0x559e(){const _0x2e754e=['矩形树图至少需要一个层级字段和一个数值字段。','所选值字段不包含数值数据。','仪表图','522781roUfqE','关系图','折线图','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','柱状图系列','堆叠条形图','烛台图','仪表图至少需要一个有限数值。','仪表盘','累积占比系列','百分比堆叠面积图','8275944DCxEoz','6tcWJLJ','仪表图需要一个标签字段且只能有一个数值字段。','K\x20线图数据需要“类别、开盘价、最高价、最低价、收盘价”列。','百分比堆叠\x20·\x20柱状图','漏斗图','图表和坐标轴标题','此图表需要更多标签字段。','删除图表','复合饼图','915580UDtFKi','层级字段','条形图','网格线和刻度线','K\x20线图','弦图至少需要两个不同节点之间的一条正权重关系。','热力图','树状图','雷达图','3117336gDZAxT','瀑布图','表格数据为空。','1983196PVDzaN','弦图配置无效,请检查角度、半径、不透明度和尺寸。','数值字段','排列图','修改数据','无法插入图表。','和弦图','箱线图','仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。','散点图','矩形树图','柱状图','此图表需要更多数值字段。','3088550sQJHAy','自定义样式','自身值','旭日图','成员数','插入图表','百分比堆叠条形图','类型与数据','直方图','气泡图','趋势线','所选字段无法构成此图表所需的有效数据结构。','组合图','9jJNAxP','堆叠\x20·\x20柱状图','OHLC\x20系列','无法更新图表。','右纵轴','所选图表字段已不可用。','1206222HPefsT'];_0x559e=function(){return _0x2e754e;};return _0x559e();}export{e as default};
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x136f67=_0x28dc;(function(_0x5ae897,_0xc5226){const _0x1e1565=_0x28dc,_0x7b9e64=_0x5ae897();while(!![]){try{const _0x55b72c=parseInt(_0x1e1565(0x1a0))/0x1+parseInt(_0x1e1565(0x170))/0x2+parseInt(_0x1e1565(0x181))/0x3*(parseInt(_0x1e1565(0x172))/0x4)+-parseInt(_0x1e1565(0x16c))/0x5+-parseInt(_0x1e1565(0x180))/0x6*(parseInt(_0x1e1565(0x16d))/0x7)+-parseInt(_0x1e1565(0x1a6))/0x8*(-parseInt(_0x1e1565(0x17f))/0x9)+-parseInt(_0x1e1565(0x186))/0xa;if(_0x55b72c===_0xc5226)break;else _0x7b9e64['push'](_0x7b9e64['shift']());}catch(_0x177631){_0x7b9e64['push'](_0x7b9e64['shift']());}}}(_0x2938,0xc8d8b));function _0x2938(){const _0xc7eb37=['圖表與座標軸標題','此圖表類型沒有欄位使用規則。','桑基圖','關聯值','877739TpuPDC','長條圖系列','堆疊面積圖','子母餅圖','自訂圖表','堆疊\x20·\x20柱狀圖','360fPTCNP','累積占比系列','關係數','自身值','圖表樣式','百分比堆疊面積圖','最高價','瀑布圖','散點圖','柱狀圖','無法顯示圖表預覽。','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','最低價','百分比堆疊條形圖','儀表盤','K\x20線圖','折線圖','儀表圖至少需要一個有限數值。','6683845dSyXhf','28vUdWzq','編輯資料','設定圖表','1702402TDhVZe','此圖表需要更多標籤欄位。','578940mLSKeN','儀表圖','燭台圖','熱力圖','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','環形圖','組合圖','堆疊條形圖','百分比堆疊\x20·\x20柱狀圖','折線圖\x20/\x20面積圖','指示線','直方圖','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄。','309627MyoWRd','845808kLcOty','12jPPohP','弦圖至少需要兩個不同節點之間的一條正權重關係。','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','無法更新圖表。','所選圖表欄位已無法使用。','11327070uDyQpL','圖表無法使用。','趨勢線','所選數值欄位不包含數值資料。','OHLC\x20數列','箱型圖','樹狀圖','和弦圖','旭日圖','插入圖表','刪除圖表','漏斗圖','插入圖表失敗','矩形樹圖','排列圖','複合餅圖','矩形樹圖至少需要一個階層欄位和一個數值欄位。','詞雲圖','網格線和刻度線','關係圖','編輯圖表','雷達圖'];_0x2938=function(){return _0xc7eb37;};return _0x2938();}function _0x28dc(_0x4abd9b,_0x51099d){_0x4abd9b=_0x4abd9b-0x15f;const _0x2938d2=_0x2938();let _0x28dc15=_0x2938d2[_0x4abd9b];return _0x28dc15;}const e={'docs-chart-ui':{'previewRenderFailed':_0x136f67(0x164),'updateChartFailed':_0x136f67(0x184),'chartNotFound':_0x136f67(0x187),'close':'關閉','common':{'horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':_0x136f67(0x16f),'customize':_0x136f67(0x1a4),'editChart':_0x136f67(0x19a),'data':'資料','editData':_0x136f67(0x16e),'tableDataEmpty':'表格資料為空','cancel':'取消','duplicate':'複製','apply':'套用','insertChartFailed':_0x136f67(0x192),'inlineData':'內嵌資料','insert':'插入','deleteChart':_0x136f67(0x190),'insertChart':_0x136f67(0x18f),'chartAndAxisTitles':_0x136f67(0x19c),'chartStyle':_0x136f67(0x1aa),'heatmap':_0x136f67(0x175),'legend':'圖例','rightVerticalAxis':'右縱軸','series':'系列','trendline':_0x136f67(0x188),'category':'類別','label':'標籤','value':'數值','valueField':'數值欄位','chartType':'圖表類型'},'floatMenu':{'menuTitle':{'chart':'圖表'}},'chartTypes':{'line':_0x136f67(0x16a),'column':_0x136f67(0x163),'columnStacked':_0x136f67(0x1a5),'columnPercentStacked':_0x136f67(0x17a),'bar':'條形圖','barStacked':_0x136f67(0x179),'barPercentStacked':_0x136f67(0x167),'pie':'餅圖','donut':_0x136f67(0x177),'pieOfPie':_0x136f67(0x1a3),'barOfPie':_0x136f67(0x195),'area':'面積圖','areaStacked':_0x136f67(0x1a2),'areaPercentStacked':_0x136f67(0x15f),'radar':_0x136f67(0x19b),'scatter':_0x136f67(0x162),'combination':_0x136f67(0x178),'wordCloud':_0x136f67(0x197),'funnel':_0x136f67(0x191),'bubble':'氣泡圖','relation':_0x136f67(0x199),'waterfall':_0x136f67(0x161),'pareto':_0x136f67(0x194),'sankey':_0x136f67(0x19e),'heatmap':_0x136f67(0x175),'boxplot':_0x136f67(0x18b),'candlestick':_0x136f67(0x169),'histogram':_0x136f67(0x17d),'treemap':_0x136f67(0x193),'sunburst':_0x136f67(0x18e),'gauge':_0x136f67(0x168),'chord':_0x136f67(0x18d)},'section':{'candlestick':_0x136f67(0x174),'chord':_0x136f67(0x18d),'funnel':_0x136f67(0x191),'gauge':_0x136f67(0x173),'gridlinesAndTicks':_0x136f67(0x198),'histogram':_0x136f67(0x17d),'indicatorLine':_0x136f67(0x17c),'lineAndArea':_0x136f67(0x17b),'paretoBar':_0x136f67(0x1a1),'paretoLine':_0x136f67(0x1a7),'pie':'餅圖','radar':'雷達圖','relation':_0x136f67(0x199),'sunburst':'旭日圖','treemap':_0x136f67(0x18c),'waterfall':_0x136f67(0x161),'wordCloud':'詞雲'},'candlestick':{'columnsError':_0x136f67(0x17e),'close':'收盤價','high':_0x136f67(0x160),'low':_0x136f67(0x166),'open':'開盤價','series':_0x136f67(0x18a)},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0x136f67(0x182),'mappingDiagnostic':'弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','configDiagnostic':_0x136f67(0x176),'count':_0x136f67(0x1a8),'associatedValue':_0x136f67(0x19f)},'sunburst':{'hierarchy':'階層','ownValue':_0x136f67(0x1a9),'children':'子項','diagnostic':'旭日圖至少需要一個階層欄位和一個數值欄位。'},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':'階層欄位','ownValue':_0x136f67(0x1a9),'children':'子項','diagnostic':_0x136f67(0x196)},'gauge':{'emptyDiagnostic':_0x136f67(0x16b),'mappingDiagnostic':_0x136f67(0x165),'configDiagnostic':_0x136f67(0x183)},'chartField':{'missingCategoryFields':_0x136f67(0x171),'missingSeriesFields':'此圖表需要更多數值欄位。','invalidFieldIndex':_0x136f67(0x185),'invalidValueFieldType':_0x136f67(0x189),'invalidDataStructure':'所選欄位無法構成此圖表所需的有效資料結構。','unsupportedChartType':_0x136f67(0x19d)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xb23b(_0x23ae23,_0x3d36e4){_0x23ae23=_0x23ae23-0x97;const _0x1dfa4e=_0x1dfa();let _0xb23bb9=_0x1dfa4e[_0x23ae23];return _0xb23bb9;}const _0x456143=_0xb23b;(function(_0x398530,_0x48101d){const _0x1b13d6=_0xb23b,_0x4399a8=_0x398530();while(!![]){try{const _0x40d4e8=-parseInt(_0x1b13d6(0xa1))/0x1+parseInt(_0x1b13d6(0xcd))/0x2*(-parseInt(_0x1b13d6(0xc7))/0x3)+parseInt(_0x1b13d6(0xb3))/0x4*(parseInt(_0x1b13d6(0xab))/0x5)+parseInt(_0x1b13d6(0xb2))/0x6+-parseInt(_0x1b13d6(0xc5))/0x7+parseInt(_0x1b13d6(0xca))/0x8+parseInt(_0x1b13d6(0xc8))/0x9*(-parseInt(_0x1b13d6(0xc0))/0xa);if(_0x40d4e8===_0x48101d)break;else _0x4399a8['push'](_0x4399a8['shift']());}catch(_0x47a9cd){_0x4399a8['push'](_0x4399a8['shift']());}}}(_0x1dfa,0x6c39f));const e={'docs-chart-ui':{'previewRenderFailed':_0x456143(0xbd),'updateChartFailed':_0x456143(0x9c),'chartNotFound':_0x456143(0xac),'close':'關閉','common':{'horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':_0x456143(0xd5),'customize':_0x456143(0xa2),'editChart':_0x456143(0x9b),'data':'資料','editData':'編輯資料','tableDataEmpty':_0x456143(0x9d),'cancel':'取消','duplicate':'複製','apply':'套用','insertChartFailed':'插入圖表失敗','inlineData':_0x456143(0xc2),'insert':'插入','deleteChart':_0x456143(0xa8),'insertChart':'插入圖表','chartAndAxisTitles':'圖表與座標軸標題','chartStyle':_0x456143(0xbf),'heatmap':_0x456143(0xb9),'legend':'圖例','rightVerticalAxis':_0x456143(0xcb),'series':'系列','trendline':_0x456143(0xb0),'category':'類別','label':'標籤','value':'數值','valueField':'數值欄位','chartType':'圖表類型'},'floatMenu':{'menuTitle':{'chart':'圖表'}},'chartTypes':{'line':_0x456143(0xd4),'column':_0x456143(0xc3),'columnStacked':'堆疊\x20·\x20柱狀圖','columnPercentStacked':_0x456143(0x99),'bar':_0x456143(0xaa),'barStacked':_0x456143(0xcc),'barPercentStacked':_0x456143(0x97),'pie':'餅圖','donut':_0x456143(0xd8),'pieOfPie':'子母餅圖','barOfPie':'複合餅圖','area':_0x456143(0xa0),'areaStacked':_0x456143(0xad),'areaPercentStacked':_0x456143(0xcf),'radar':'雷達圖','scatter':'散點圖','combination':_0x456143(0xb6),'wordCloud':'詞雲圖','funnel':_0x456143(0xc4),'bubble':'氣泡圖','relation':_0x456143(0xa9),'waterfall':_0x456143(0xba),'pareto':_0x456143(0xce),'sankey':'桑基圖','heatmap':_0x456143(0xb9),'boxplot':_0x456143(0xa3),'candlestick':_0x456143(0x9a),'histogram':_0x456143(0xc9),'treemap':'矩形樹圖','sunburst':_0x456143(0xc1),'gauge':'儀表板','chord':_0x456143(0xb4)},'section':{'candlestick':'燭台圖','chord':_0x456143(0xb4),'funnel':_0x456143(0xc4),'gauge':_0x456143(0xa5),'gridlinesAndTicks':_0x456143(0xb1),'histogram':_0x456143(0xc9),'indicatorLine':_0x456143(0xd1),'lineAndArea':'折線圖\x20/\x20面積圖','paretoBar':'長條圖系列','paretoLine':_0x456143(0xae),'pie':'餅圖','radar':_0x456143(0xb7),'relation':_0x456143(0xa9),'sunburst':'旭日圖','treemap':'樹狀圖','waterfall':'瀑布圖','wordCloud':'詞雲'},'candlestick':{'columnsError':_0x456143(0xd2),'close':_0x456143(0xd9),'high':_0x456143(0x9f),'low':_0x456143(0xd7),'open':'開盤價','series':_0x456143(0xc6)},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0x456143(0xa7),'mappingDiagnostic':_0x456143(0xa4),'configDiagnostic':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','count':_0x456143(0x9e),'associatedValue':_0x456143(0xd6)},'sunburst':{'hierarchy':'階層','ownValue':_0x456143(0xbc),'children':'子項','diagnostic':_0x456143(0xb8)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x456143(0xd0),'ownValue':_0x456143(0xbc),'children':'子項','diagnostic':_0x456143(0xbe)},'gauge':{'emptyDiagnostic':_0x456143(0xb5),'mappingDiagnostic':'儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','configDiagnostic':_0x456143(0xaf)},'chartField':{'missingCategoryFields':'這個圖表需要更多標籤欄位。','missingSeriesFields':_0x456143(0xd3),'invalidFieldIndex':_0x456143(0xa6),'invalidValueFieldType':_0x456143(0x98),'invalidDataStructure':_0x456143(0xbb),'unsupportedChartType':'這個圖表類型沒有欄位使用規則。'}}};function _0x1dfa(){const _0x321eab=['關聯值','最低價','環形圖','收盤價','百分比堆疊條形圖','選取的數值欄位不包含數值資料。','百分比堆疊\x20·\x20柱狀圖','K\x20線圖','編輯圖表','無法更新圖表。','表格資料為空','關係數','最高價','面積圖','737471XtMLNT','自訂圖表','箱型圖','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','儀表圖','選取的圖表欄位已無法使用。','弦圖至少需要兩個不同節點之間的一條正權重關係。','刪除圖表','關係圖','條形圖','4416425ShAPOo','圖表無法使用。','堆疊面積圖','累積占比系列','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','趨勢線','網格線和刻度線','2542818biowrA','4mhOfFg','和弦圖','儀表圖至少需要一個有限數值。','組合圖','雷達圖','旭日圖至少需要一個階層欄位和一個數值欄位。','熱力圖','瀑布圖','選取的欄位無法構成這個圖表所需的有效資料結構。','自身值','無法呈現圖表預覽。','矩形樹圖至少需要一個階層欄位和一個數值欄位。','圖表樣式','50JOoPNZ','旭日圖','內嵌資料','柱狀圖','漏斗圖','90139KUKGEJ','OHLC\x20數列','6WeNQEy','742752KlEZZK','直方圖','6879528efsYAf','右縱軸','堆疊條形圖','560746JjAckt','排列圖','百分比堆疊面積圖','階層欄位','指示線','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄位。','這個圖表需要更多數值欄位。','折線圖','設定圖表'];_0x1dfa=function(){return _0x321eab;};return _0x1dfa();}export{e as default};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { IChartEditPanelRoute } from '@univerjs-pro/chart-ui';
|
|
2
|
+
import type { ComponentProps, ComponentType } from 'react';
|
|
3
|
+
import { ChartEditorProvider } from '@univerjs-pro/chart-ui';
|
|
2
4
|
export declare const DOC_CHART_EDITOR_DIALOG_COMPONENT = "doc-chart.editor-dialog";
|
|
3
5
|
export declare const DOC_CHART_EDITOR_DIALOG_ID = "doc-chart.dialog.editor";
|
|
4
6
|
export interface IDocChartEditorDialogProps {
|
|
@@ -7,5 +9,7 @@ export interface IDocChartEditorDialogProps {
|
|
|
7
9
|
drawingId?: string;
|
|
8
10
|
route?: IChartEditPanelRoute;
|
|
9
11
|
onClose?: () => void;
|
|
12
|
+
mobile?: boolean;
|
|
13
|
+
ProviderComponent?: ComponentType<ComponentProps<typeof ChartEditorProvider>>;
|
|
10
14
|
}
|
|
11
15
|
export declare function DocChartEditorDialog(props: IDocChartEditorDialogProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { IDocChartDataEditorProps } from './DocChartDataEditor';
|
|
17
|
+
export declare function MobileDocChartDataEditor(props: IDocChartDataEditorProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { IDocChartEditorDialogProps } from './DocChartEditorDialog';
|
|
17
|
+
export declare function MobileDocChartEditor(props: IDocChartEditorDialogProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { IDocChartInsertPanelProps } from './DocChartInsertPanel';
|
|
17
|
+
export declare function MobileDocChartInsertPanel(props: IDocChartInsertPanelProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Disposable } from '@univerjs/core';
|
|
2
2
|
import { ComponentManager } from '@univerjs/ui';
|
|
3
3
|
export declare class ComponentsController extends Disposable {
|
|
4
|
-
|
|
4
|
+
protected readonly _componentManager: ComponentManager;
|
|
5
5
|
constructor(_componentManager: ComponentManager);
|
|
6
|
-
|
|
6
|
+
protected _registerComponents(): void;
|
|
7
|
+
protected _registerEditors(): void;
|
|
7
8
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Disposable } from '@univerjs/core';
|
|
2
|
+
import { ComponentManager } from '@univerjs/ui';
|
|
3
|
+
export declare class MobileComponentsController extends Disposable {
|
|
4
|
+
protected readonly _componentManager: ComponentManager;
|
|
5
|
+
constructor(_componentManager: ComponentManager);
|
|
6
|
+
protected _registerComponents(): void;
|
|
7
|
+
protected _registerEditors(): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { IOpenDocChartEditorDialogOperationParams, IOpenDocChartInsertDialogOperationParams } from '../../commands/operations/chart-dialog.operation';
|
|
2
|
+
import { Disposable, ICommandService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
3
|
+
import { DocContentInsertService, DocSelectionManagerService } from '@univerjs/docs';
|
|
4
|
+
import { IDialogService, IMenuManagerService } from '@univerjs/ui';
|
|
5
|
+
export declare const DOC_CHART_INSERT_DIALOG_ID = "doc-chart.dialog.insert";
|
|
6
|
+
export declare class MobileDocChartUIController extends Disposable {
|
|
7
|
+
private readonly _dialogService;
|
|
8
|
+
private readonly _localeService;
|
|
9
|
+
private readonly _instanceService;
|
|
10
|
+
private readonly _docSelectionManagerService;
|
|
11
|
+
private readonly _docContentInsertService;
|
|
12
|
+
private readonly _menuManagerService;
|
|
13
|
+
private readonly _commandService;
|
|
14
|
+
constructor(_dialogService: IDialogService, _localeService: LocaleService, _instanceService: IUniverInstanceService, _docSelectionManagerService: DocSelectionManagerService, _docContentInsertService: DocContentInsertService, _menuManagerService: IMenuManagerService, _commandService: ICommandService);
|
|
15
|
+
openInsertDialog(params?: IOpenDocChartInsertDialogOperationParams): boolean;
|
|
16
|
+
openEditorDialog(params: IOpenDocChartEditorDialogOperationParams): boolean;
|
|
17
|
+
private _initMenus;
|
|
18
|
+
private _registerDialogOperations;
|
|
19
|
+
private _captureInsertRange;
|
|
20
|
+
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { DocChartDrawingEditController } from './controllers/doc-chart-drawing-e
|
|
|
14
14
|
export { DocChartSnapshotRefreshController } from './controllers/doc-chart-snapshot-refresh.controller';
|
|
15
15
|
export { DOC_CHART_INSERT_BELOW_MENU_ID, DOC_CHART_INSERT_MENU_ID, DocChartInsertBelowMenuItemFactory, DocChartInsertMenuItemFactory, DocChartInsertRibbonMenuItemFactory, getDocChartInsertDisabledObservable, } from './menu/chart.menu';
|
|
16
16
|
export { menuSchema as DocsChartUIMenuSchema } from './menu/schema';
|
|
17
|
+
export { UniverDocsChartMobileUIPlugin } from './mobile-plugin';
|
|
17
18
|
export { UniverDocsChartUIPlugin } from './plugin';
|
|
18
19
|
export { DocChartActiveRenderService } from './services/doc-chart-active-render.service';
|
|
19
20
|
export type { IDocChartDomMountParams } from './services/doc-chart-active-render.service';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IUniverDocsChartUIConfig } from './config/config';
|
|
2
|
+
import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
|
+
import './toolbar.css';
|
|
4
|
+
export declare class UniverDocsChartMobileUIPlugin extends Plugin {
|
|
5
|
+
private readonly _config;
|
|
6
|
+
protected readonly _injector: Injector;
|
|
7
|
+
private readonly _configService;
|
|
8
|
+
private readonly _commandService;
|
|
9
|
+
static type: UniverInstanceType;
|
|
10
|
+
static pluginName: string;
|
|
11
|
+
static packageName: string;
|
|
12
|
+
static version: string;
|
|
13
|
+
constructor(_config: Partial<IUniverDocsChartUIConfig> | undefined, _injector: Injector, _configService: IConfigService, _commandService: ICommandService);
|
|
14
|
+
onStarting(): void;
|
|
15
|
+
onReady(): void;
|
|
16
|
+
}
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Dependency } from '@univerjs/core';
|
|
1
2
|
import type { IUniverDocsChartUIConfig } from './config/config';
|
|
2
3
|
import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
|
|
3
4
|
import './toolbar.css';
|
|
@@ -13,5 +14,6 @@ export declare class UniverDocsChartUIPlugin extends Plugin {
|
|
|
13
14
|
constructor(_config: Partial<IUniverDocsChartUIConfig> | undefined, _injector: Injector, _configService: IConfigService, _commandService: ICommandService);
|
|
14
15
|
onStarting(): void;
|
|
15
16
|
onReady(): void;
|
|
17
|
+
protected _getDependencies(): Dependency[];
|
|
16
18
|
private _initCommands;
|
|
17
19
|
}
|