@univerjs-pro/docs-chart-ui 1.0.0-rc.0 → 1.0.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 +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 _0x2a014d=_0xe22c;(function(_0x1f6e9f,_0x2a4266){const _0x35963b=_0xe22c,_0x51219c=_0x1f6e9f();while(!![]){try{const _0x441da8=parseInt(_0x35963b(0x1f6))/0x1*(-parseInt(_0x35963b(0x20a))/0x2)+parseInt(_0x35963b(0x1e6))/0x3+-parseInt(_0x35963b(0x1ec))/0x4*(parseInt(_0x35963b(0x206))/0x5)+parseInt(_0x35963b(0x1fd))/0x6+parseInt(_0x35963b(0x210))/0x7+parseInt(_0x35963b(0x1ee))/0x8*(-parseInt(_0x35963b(0x207))/0x9)+-parseInt(_0x35963b(0x1e7))/0xa*(-parseInt(_0x35963b(0x1f0))/0xb);if(_0x441da8===_0x2a4266)break;else _0x51219c['push'](_0x51219c['shift']());}catch(_0x2585b9){_0x51219c['push'](_0x51219c['shift']());}}}(_0x3e97,0xcba25));function _0xe22c(_0x39b1a3,_0x195425){_0x39b1a3=_0x39b1a3-0x1d5;const _0x3e97e1=_0x3e97();let _0xe22c8=_0x3e97e1[_0x39b1a3];return _0xe22c8;}const e={'docs-chart-ui':{'previewRenderFailed':_0x2a014d(0x1fe),'updateChartFailed':'无法更新图表。','chartNotFound':_0x2a014d(0x1eb),'close':'关闭','common':{'horizontalAxis':'横轴','verticalAxis':'纵轴','setup':_0x2a014d(0x1f8),'customize':'自定义样式','editChart':'图表','data':'数据','editData':_0x2a014d(0x204),'tableDataEmpty':'表格数据为空。','cancel':'取消','duplicate':'复制数据源','apply':'应用','insertChartFailed':'无法插入图表。','inlineData':_0x2a014d(0x20e),'insert':'插入','deleteChart':_0x2a014d(0x1de),'insertChart':'插入图表','chartAndAxisTitles':_0x2a014d(0x1e4),'chartStyle':_0x2a014d(0x1f7),'heatmap':_0x2a014d(0x1f5),'legend':'图例','rightVerticalAxis':_0x2a014d(0x1fa),'series':'系列','trendline':_0x2a014d(0x202),'category':'类别','label':'标签','value':'数值','valueField':'数值字段','chartType':_0x2a014d(0x20b)},'floatMenu':{'menuTitle':{'chart':'图表'}},'chartTypes':{'line':_0x2a014d(0x1f3),'column':_0x2a014d(0x1e9),'columnStacked':'堆叠\x20·\x20柱状图','columnPercentStacked':_0x2a014d(0x1e0),'bar':_0x2a014d(0x209),'barStacked':_0x2a014d(0x1ff),'barPercentStacked':_0x2a014d(0x1fc),'pie':'饼图','donut':_0x2a014d(0x1f9),'pieOfPie':_0x2a014d(0x1e5),'barOfPie':_0x2a014d(0x205),'area':'面积图','areaStacked':'堆叠面积图','areaPercentStacked':'百分比堆叠面积图','radar':_0x2a014d(0x1dd),'scatter':_0x2a014d(0x20d),'combination':_0x2a014d(0x200),'wordCloud':_0x2a014d(0x1f1),'funnel':'漏斗图','bubble':_0x2a014d(0x212),'relation':_0x2a014d(0x1da),'waterfall':'瀑布图','pareto':_0x2a014d(0x1d9),'sankey':'桑基图','heatmap':_0x2a014d(0x1f5),'boxplot':_0x2a014d(0x1f2),'candlestick':_0x2a014d(0x1ef),'histogram':_0x2a014d(0x1ed),'treemap':'矩形树图','sunburst':'旭日图','gauge':_0x2a014d(0x208),'chord':_0x2a014d(0x201)},'section':{'candlestick':'烛台图','chord':'和弦图','funnel':_0x2a014d(0x214),'gauge':_0x2a014d(0x1d5),'gridlinesAndTicks':_0x2a014d(0x20f),'histogram':'直方图','indicatorLine':_0x2a014d(0x1d6),'lineAndArea':_0x2a014d(0x211),'paretoBar':'柱状图系列','paretoLine':'累积占比系列','pie':'饼图','radar':_0x2a014d(0x1dd),'relation':'关系图','sunburst':'旭日图','treemap':_0x2a014d(0x1e2),'waterfall':'瀑布图','wordCloud':'词云'},'candlestick':{'columnsError':_0x2a014d(0x1dc),'close':'收盘','high':'最高','low':'最低','open':'开盘','series':'OHLC\x20系列'},'chord':{'source':'来源','target':'目标','emptyDiagnostic':_0x2a014d(0x1df),'mappingDiagnostic':_0x2a014d(0x1ea),'configDiagnostic':_0x2a014d(0x1d8),'count':'关系计数','associatedValue':'关联值'},'sunburst':{'hierarchy':'层级','ownValue':_0x2a014d(0x203),'children':'子项','diagnostic':'旭日图至少需要一个层级字段和一个数值字段。'},'histogram':{'frequency':'频数'},'pie':{'aggregateOther':'其他','aggregateMembers':_0x2a014d(0x20c)},'treemap':{'hierarchy':_0x2a014d(0x1e8),'ownValue':'自身值','children':'子项','diagnostic':'矩形树图至少需要一个层级字段和一个数值字段。'},'gauge':{'emptyDiagnostic':_0x2a014d(0x1f4),'mappingDiagnostic':_0x2a014d(0x1fb),'configDiagnostic':'仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。'},'chartField':{'missingCategoryFields':_0x2a014d(0x1db),'missingSeriesFields':_0x2a014d(0x1d7),'invalidFieldIndex':_0x2a014d(0x213),'invalidValueFieldType':_0x2a014d(0x1e3),'invalidDataStructure':'所选字段无法构成此图表所需的有效数据结构。','unsupportedChartType':_0x2a014d(0x1e1)}}};export{e as default};function _0x3e97(){const _0x5bf2f0=['3768096PfbBdb','无法呈现图表预览。','堆叠条形图','组合图','和弦图','趋势线','自身值','修改数据','复合饼图','10jmfDdj','121590VbUDhs','仪表盘','条形图','2jdSMMT','图表类型','成员数','散点图','内联数据','网格线和刻度线','5876395PycLQF','折线图\x20/\x20面积图','气泡图','所选图表字段已不可用。','漏斗图','仪表图','指示线','此图表需要更多数值字段。','弦图配置无效,请检查角度、半径、不透明度和尺寸。','排列图','关系图','此图表需要更多标签字段。','K\x20线图数据需要“类别、开盘价、最高价、最低价、收盘价”列。','雷达图','删除图表','弦图至少需要两个不同节点之间的一条正权重关系。','百分比堆叠\x20·\x20柱状图','此图表类型没有字段使用规则。','树状图','所选值字段不包含数值数据。','图表和坐标轴标题','子母饼图','127266XzTumX','50ImSeHT','层级字段','柱状图','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','图表不可用。','1743260oFByQZ','直方图','600SEefMO','K\x20线图','6186884kDYkSO','词云图','箱线图','折线图','仪表图至少需要一个有限数值。','热力图','1603178CxCkYc','图表样式','类型与数据','环形图','右纵轴','仪表图需要一个标签字段且只能有一个数值字段。','百分比堆叠条形图'];_0x3e97=function(){return _0x5bf2f0;};return _0x3e97();}
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4c56e4=_0x4ffa;(function(_0x2f0293,_0x155ac2){const _0x3e4e8c=_0x4ffa,_0x4c912c=_0x2f0293();while(!![]){try{const _0x74b52f=-parseInt(_0x3e4e8c(0xeb))/0x1*(-parseInt(_0x3e4e8c(0xd8))/0x2)+parseInt(_0x3e4e8c(0xf0))/0x3+parseInt(_0x3e4e8c(0xde))/0x4*(-parseInt(_0x3e4e8c(0xdb))/0x5)+-parseInt(_0x3e4e8c(0xe5))/0x6*(-parseInt(_0x3e4e8c(0x105))/0x7)+parseInt(_0x3e4e8c(0xdc))/0x8*(-parseInt(_0x3e4e8c(0xe8))/0x9)+-parseInt(_0x3e4e8c(0xec))/0xa+-parseInt(_0x3e4e8c(0xe1))/0xb*(-parseInt(_0x3e4e8c(0xe2))/0xc);if(_0x74b52f===_0x155ac2)break;else _0x4c912c['push'](_0x4c912c['shift']());}catch(_0x26bb23){_0x4c912c['push'](_0x4c912c['shift']());}}}(_0x9483,0xb73cd));const e={'docs-chart-ui':{'previewRenderFailed':_0x4c56e4(0x123),'updateChartFailed':'無法更新圖表。','chartNotFound':_0x4c56e4(0x10e),'close':'關閉','common':{'horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':_0x4c56e4(0x113),'customize':_0x4c56e4(0x114),'editChart':_0x4c56e4(0x10f),'data':'資料','editData':_0x4c56e4(0x10a),'tableDataEmpty':_0x4c56e4(0x120),'cancel':'取消','duplicate':'複製','apply':'套用','insertChartFailed':'插入圖表失敗','inlineData':_0x4c56e4(0x10d),'insert':'插入','deleteChart':_0x4c56e4(0x111),'insertChart':_0x4c56e4(0x11c),'chartAndAxisTitles':_0x4c56e4(0x117),'chartStyle':_0x4c56e4(0xf3),'heatmap':_0x4c56e4(0x109),'legend':'圖例','rightVerticalAxis':_0x4c56e4(0xe9),'series':'系列','trendline':_0x4c56e4(0x103),'category':'類別','label':'標籤','value':'數值','valueField':_0x4c56e4(0xef),'chartType':_0x4c56e4(0xdf)},'floatMenu':{'menuTitle':{'chart':'圖表'}},'chartTypes':{'line':_0x4c56e4(0xfe),'column':'柱狀圖','columnStacked':_0x4c56e4(0x107),'columnPercentStacked':_0x4c56e4(0x11e),'bar':_0x4c56e4(0x115),'barStacked':_0x4c56e4(0x10c),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0x4c56e4(0x119),'pieOfPie':_0x4c56e4(0xee),'barOfPie':_0x4c56e4(0xfd),'area':_0x4c56e4(0xe0),'areaStacked':_0x4c56e4(0x106),'areaPercentStacked':'百分比堆疊面積圖','radar':_0x4c56e4(0x11b),'scatter':_0x4c56e4(0xed),'combination':'組合圖','wordCloud':_0x4c56e4(0x102),'funnel':_0x4c56e4(0x11a),'bubble':_0x4c56e4(0x112),'relation':_0x4c56e4(0x10b),'waterfall':_0x4c56e4(0xfc),'pareto':_0x4c56e4(0xdd),'sankey':_0x4c56e4(0xea),'heatmap':_0x4c56e4(0x109),'boxplot':_0x4c56e4(0xf9),'candlestick':'K\x20線圖','histogram':_0x4c56e4(0xda),'treemap':'矩形樹圖','sunburst':_0x4c56e4(0x121),'gauge':'儀表盤','chord':_0x4c56e4(0xf2)},'section':{'candlestick':_0x4c56e4(0xf4),'chord':_0x4c56e4(0xf2),'funnel':_0x4c56e4(0x11a),'gauge':_0x4c56e4(0xe3),'gridlinesAndTicks':_0x4c56e4(0x124),'histogram':_0x4c56e4(0xda),'indicatorLine':_0x4c56e4(0xe7),'lineAndArea':'折線圖\x20/\x20面積圖','paretoBar':_0x4c56e4(0xd7),'paretoLine':_0x4c56e4(0xfb),'pie':'餅圖','radar':'雷達圖','relation':'關係圖','sunburst':_0x4c56e4(0x121),'treemap':_0x4c56e4(0xf5),'waterfall':_0x4c56e4(0xfc),'wordCloud':'詞雲'},'candlestick':{'columnsError':_0x4c56e4(0xe6),'close':_0x4c56e4(0x116),'high':'最高價','low':'最低價','open':_0x4c56e4(0x11d),'series':'OHLC\x20數列'},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0x4c56e4(0xf7),'mappingDiagnostic':_0x4c56e4(0x108),'configDiagnostic':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','count':_0x4c56e4(0xfa),'associatedValue':_0x4c56e4(0xf8)},'sunburst':{'hierarchy':'階層','ownValue':_0x4c56e4(0xff),'children':'子項','diagnostic':'旭日圖至少需要一個階層欄位和一個數值欄位。'},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x4c56e4(0x118),'ownValue':_0x4c56e4(0xff),'children':'子項','diagnostic':_0x4c56e4(0x101)},'gauge':{'emptyDiagnostic':_0x4c56e4(0x122),'mappingDiagnostic':_0x4c56e4(0xf6),'configDiagnostic':_0x4c56e4(0xe4)},'chartField':{'missingCategoryFields':_0x4c56e4(0xf1),'missingSeriesFields':_0x4c56e4(0xd9),'invalidFieldIndex':_0x4c56e4(0x104),'invalidValueFieldType':_0x4c56e4(0x110),'invalidDataStructure':_0x4c56e4(0x11f),'unsupportedChartType':_0x4c56e4(0x100)}}};export{e as default};function _0x4ffa(_0x516b09,_0x3f5afc){_0x516b09=_0x516b09-0xd7;const _0x94830c=_0x9483();let _0x4ffaef=_0x94830c[_0x516b09];return _0x4ffaef;}function _0x9483(){const _0x464540=['4eGoJga','此圖表需要更多數值欄位。','直方圖','6913255ZSNvty','344YgFRFi','排列圖','4PDRBxS','圖表類型','面積圖','297DOgiio','214488ggQFQi','儀表圖','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','1226010XnjpOI','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄。','指示線','120591WcAnOy','右縱軸','桑基圖','552529uIMLPZ','588550vRlRQu','散點圖','子母餅圖','數值欄位','1089624VrpWVr','此圖表需要更多標籤欄位。','和弦圖','圖表樣式','燭台圖','樹狀圖','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','弦圖至少需要兩個不同節點之間的一條正權重關係。','關聯值','箱型圖','關係數','累積占比系列','瀑布圖','複合餅圖','折線圖','自身值','此圖表類型沒有欄位使用規則。','矩形樹圖至少需要一個階層欄位和一個數值欄位。','詞雲圖','趨勢線','所選圖表欄位已無法使用。','28rRfTlK','堆疊面積圖','堆疊\x20·\x20柱狀圖','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','熱力圖','編輯資料','關係圖','堆疊條形圖','內嵌資料','圖表無法使用。','編輯圖表','所選數值欄位不包含數值資料。','刪除圖表','氣泡圖','設定圖表','自訂圖表','條形圖','收盤價','圖表與座標軸標題','階層欄位','環形圖','漏斗圖','雷達圖','插入圖表','開盤價','百分比堆疊\x20·\x20柱狀圖','所選欄位無法構成此圖表所需的有效資料結構。','表格資料為空','旭日圖','儀表圖至少需要一個有限數值。','無法顯示圖表預覽。','網格線和刻度線','長條圖系列'];_0x9483=function(){return _0x464540;};return _0x9483();}
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x9327a6=_0x4a60;function _0x4a60(_0x2e77b1,_0x47e267){_0x2e77b1=_0x2e77b1-0x1ba;const _0x2c1ac4=_0x2c1a();let _0x4a6012=_0x2c1ac4[_0x2e77b1];return _0x4a6012;}(function(_0x32a860,_0x3a72ee){const _0x4360cc=_0x4a60,_0x4dc9de=_0x32a860();while(!![]){try{const _0x2729f6=-parseInt(_0x4360cc(0x1ff))/0x1+parseInt(_0x4360cc(0x1fc))/0x2+-parseInt(_0x4360cc(0x1dc))/0x3+-parseInt(_0x4360cc(0x1c3))/0x4*(-parseInt(_0x4360cc(0x1c8))/0x5)+-parseInt(_0x4360cc(0x1c2))/0x6*(parseInt(_0x4360cc(0x1c0))/0x7)+-parseInt(_0x4360cc(0x1c9))/0x8+parseInt(_0x4360cc(0x1e2))/0x9;if(_0x2729f6===_0x3a72ee)break;else _0x4dc9de['push'](_0x4dc9de['shift']());}catch(_0x5c3f06){_0x4dc9de['push'](_0x4dc9de['shift']());}}}(_0x2c1a,0xdbe37));const e={'docs-chart-ui':{'previewRenderFailed':_0x9327a6(0x200),'updateChartFailed':'無法更新圖表。','chartNotFound':'圖表無法使用。','close':'關閉','common':{'horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':_0x9327a6(0x1c1),'customize':_0x9327a6(0x203),'editChart':_0x9327a6(0x1bd),'data':'資料','editData':_0x9327a6(0x1da),'tableDataEmpty':_0x9327a6(0x1db),'cancel':'取消','duplicate':'複製','apply':'套用','insertChartFailed':'插入圖表失敗','inlineData':_0x9327a6(0x1ef),'insert':'插入','deleteChart':'刪除圖表','insertChart':_0x9327a6(0x1d6),'chartAndAxisTitles':_0x9327a6(0x1ea),'chartStyle':_0x9327a6(0x1e5),'heatmap':'熱力圖','legend':'圖例','rightVerticalAxis':_0x9327a6(0x1ee),'series':'系列','trendline':_0x9327a6(0x1f0),'category':'類別','label':'標籤','value':'數值','valueField':_0x9327a6(0x1bf),'chartType':'圖表類型'},'floatMenu':{'menuTitle':{'chart':'圖表'}},'chartTypes':{'line':_0x9327a6(0x1e6),'column':_0x9327a6(0x1ca),'columnStacked':'堆疊\x20·\x20柱狀圖','columnPercentStacked':_0x9327a6(0x1c5),'bar':_0x9327a6(0x1c7),'barStacked':_0x9327a6(0x1cb),'barPercentStacked':_0x9327a6(0x1d8),'pie':'餅圖','donut':'環形圖','pieOfPie':_0x9327a6(0x1ed),'barOfPie':_0x9327a6(0x205),'area':_0x9327a6(0x202),'areaStacked':_0x9327a6(0x1d7),'areaPercentStacked':_0x9327a6(0x1d9),'radar':_0x9327a6(0x1ce),'scatter':_0x9327a6(0x1f4),'combination':_0x9327a6(0x1f7),'wordCloud':_0x9327a6(0x1f8),'funnel':'漏斗圖','bubble':_0x9327a6(0x1fb),'relation':_0x9327a6(0x1d1),'waterfall':_0x9327a6(0x1e3),'pareto':_0x9327a6(0x1eb),'sankey':_0x9327a6(0x1e0),'heatmap':_0x9327a6(0x1df),'boxplot':_0x9327a6(0x1ec),'candlestick':_0x9327a6(0x1e7),'histogram':_0x9327a6(0x1dd),'treemap':'矩形樹圖','sunburst':'旭日圖','gauge':_0x9327a6(0x1bb),'chord':_0x9327a6(0x1d0)},'section':{'candlestick':_0x9327a6(0x1fd),'chord':_0x9327a6(0x1d0),'funnel':_0x9327a6(0x1cd),'gauge':'儀表圖','gridlinesAndTicks':_0x9327a6(0x1f9),'histogram':_0x9327a6(0x1dd),'indicatorLine':_0x9327a6(0x1cf),'lineAndArea':_0x9327a6(0x1d4),'paretoBar':_0x9327a6(0x1c4),'paretoLine':'累積占比系列','pie':'餅圖','radar':_0x9327a6(0x1ce),'relation':_0x9327a6(0x1d1),'sunburst':_0x9327a6(0x1d5),'treemap':_0x9327a6(0x204),'waterfall':_0x9327a6(0x1e3),'wordCloud':'詞雲'},'candlestick':{'columnsError':'K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄位。','close':_0x9327a6(0x1de),'high':_0x9327a6(0x1c6),'low':'最低價','open':_0x9327a6(0x1f2),'series':_0x9327a6(0x1e8)},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0x9327a6(0x1f3),'mappingDiagnostic':_0x9327a6(0x1fa),'configDiagnostic':_0x9327a6(0x1f5),'count':_0x9327a6(0x1e4),'associatedValue':'關聯值'},'sunburst':{'hierarchy':'階層','ownValue':_0x9327a6(0x1f1),'children':'子項','diagnostic':_0x9327a6(0x1bc)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x9327a6(0x1d2),'ownValue':'自身值','children':'子項','diagnostic':_0x9327a6(0x1e1)},'gauge':{'emptyDiagnostic':_0x9327a6(0x206),'mappingDiagnostic':_0x9327a6(0x1cc),'configDiagnostic':_0x9327a6(0x201)},'chartField':{'missingCategoryFields':_0x9327a6(0x1e9),'missingSeriesFields':_0x9327a6(0x1ba),'invalidFieldIndex':_0x9327a6(0x1fe),'invalidValueFieldType':_0x9327a6(0x1f6),'invalidDataStructure':_0x9327a6(0x1be),'unsupportedChartType':_0x9327a6(0x1d3)}}};function _0x2c1a(){const _0x352325=['網格線和刻度線','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','氣泡圖','1249950YjSjLj','燭台圖','選取的圖表欄位已無法使用。','400716CLLIsQ','無法呈現圖表預覽。','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','面積圖','自訂圖表','樹狀圖','複合餅圖','儀表圖至少需要一個有限數值。','這個圖表需要更多數值欄位。','儀表板','旭日圖至少需要一個階層欄位和一個數值欄位。','編輯圖表','選取的欄位無法構成這個圖表所需的有效資料結構。','數值欄位','378sgtGwq','設定圖表','183132RaPNKN','1949644BwQPju','長條圖系列','百分比堆疊\x20·\x20柱狀圖','最高價','條形圖','10DhPHPx','10141960TnaAQe','柱狀圖','堆疊條形圖','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','漏斗圖','雷達圖','指示線','和弦圖','關係圖','階層欄位','這個圖表類型沒有欄位使用規則。','折線圖\x20/\x20面積圖','旭日圖','插入圖表','堆疊面積圖','百分比堆疊條形圖','百分比堆疊面積圖','編輯資料','表格資料為空','624753KorGlW','直方圖','收盤價','熱力圖','桑基圖','矩形樹圖至少需要一個階層欄位和一個數值欄位。','25431894uXcmqE','瀑布圖','關係數','圖表樣式','折線圖','K\x20線圖','OHLC\x20數列','這個圖表需要更多標籤欄位。','圖表與座標軸標題','排列圖','箱型圖','子母餅圖','右縱軸','內嵌資料','趨勢線','自身值','開盤價','弦圖至少需要兩個不同節點之間的一條正權重關係。','散點圖','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','選取的數值欄位不包含數值資料。','組合圖','詞雲圖'];_0x2c1a=function(){return _0x352325;};return _0x2c1a();}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
|
}
|