@univerjs-pro/slides-chart-ui 1.0.0-beta.1 → 1.0.0-beta.2

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.
Files changed (87) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +0 -8
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/components/SlideChartEditPanel.d.ts +2 -14
  63. package/lib/types/controllers/slide-chart-element-float-menu.controller.d.ts +1 -0
  64. package/lib/types/locale/en-US.d.ts +3 -0
  65. package/lib/types/services/chart-image-export-provider.d.ts +2 -2
  66. package/lib/types/services/slide-chart-render.service.d.ts +3 -1
  67. package/lib/umd/index.js +1 -1
  68. package/lib/umd/locale/ar-SA.js +1 -1
  69. package/lib/umd/locale/ca-ES.js +1 -1
  70. package/lib/umd/locale/de-DE.js +1 -1
  71. package/lib/umd/locale/en-US.js +1 -1
  72. package/lib/umd/locale/es-ES.js +1 -1
  73. package/lib/umd/locale/fa-IR.js +1 -1
  74. package/lib/umd/locale/fr-FR.js +1 -1
  75. package/lib/umd/locale/id-ID.js +1 -1
  76. package/lib/umd/locale/it-IT.js +1 -1
  77. package/lib/umd/locale/ja-JP.js +1 -1
  78. package/lib/umd/locale/ko-KR.js +1 -1
  79. package/lib/umd/locale/pl-PL.js +1 -1
  80. package/lib/umd/locale/pt-BR.js +1 -1
  81. package/lib/umd/locale/ru-RU.js +1 -1
  82. package/lib/umd/locale/sk-SK.js +1 -1
  83. package/lib/umd/locale/vi-VN.js +1 -1
  84. package/lib/umd/locale/zh-CN.js +1 -1
  85. package/lib/umd/locale/zh-HK.js +1 -1
  86. package/lib/umd/locale/zh-TW.js +1 -1
  87. package/package.json +15 -15
@@ -1 +1 @@
1
- function _0xc238(_0x489f29,_0xfa037c){_0x489f29=_0x489f29-0x1b4;const _0x19778b=_0x1977();let _0xc2388=_0x19778b[_0x489f29];return _0xc2388;}function _0x1977(){const _0x2bcba2=['面積圖','圖表樣式','自訂圖表','百分比堆疊面積圖','577250XLdYMV','此圖表需要更多標籤欄位。','內嵌資料','10539cmUfxj','累積占比系列','預設顏色','關係數','數值欄位','儀表盤','編輯圖表','直方圖','堆疊面積圖','12dzqjnr','此圖表需要更多數值欄位。','899480DRxrVK','氣泡圖','21DphFAr','自身值','1069482sGLmjq','矩形樹圖至少需要一個階層欄位和一個數值欄位。','所選欄位無法構成此圖表所需的有效資料結構。','11156XhtrfG','開盤價','桑基圖','瀑布圖','旭日圖至少需要一個階層欄位和一個數值欄位。','5752LFhylZ','插入圖表失敗','K\x20線圖','漏斗圖','OHLC\x20數列','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','柱狀圖','弦圖至少需要兩個不同節點之間的一條正權重關係。','498UPRGft','和弦圖','指示線','關係圖','儀表圖','切換列或欄','熱力圖','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','矩形樹圖','燭台圖','折線圖','4589123KYodvD','複合餅圖','此圖表類型沒有欄位使用規則。','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','詞雲圖','編輯資料','最高價','885760qkQsbE','雷達圖','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','圖表類型','旭日圖','樹狀圖','圖表與座標軸標題','折線圖\x20/\x20面積圖','排列圖','5LXJsLS','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄。','收盤價','子母餅圖','箱型圖'];_0x1977=function(){return _0x2bcba2;};return _0x1977();}const _0x54e564=_0xc238;(function(_0x28e3e2,_0x38c0f4){const _0x39368b=_0xc238,_0x15e181=_0x28e3e2();while(!![]){try{const _0x460b83=parseInt(_0x39368b(0x1c9))/0x1+-parseInt(_0x39368b(0x1de))/0x2*(-parseInt(_0x39368b(0x1eb))/0x3)+parseInt(_0x39368b(0x1d7))/0x4*(-parseInt(_0x39368b(0x1c0))/0x5)+parseInt(_0x39368b(0x1db))/0x6*(parseInt(_0x39368b(0x1d9))/0x7)+-parseInt(_0x39368b(0x1e3))/0x8*(parseInt(_0x39368b(0x1cc))/0x9)+-parseInt(_0x39368b(0x1b7))/0xa+-parseInt(_0x39368b(0x1f6))/0xb*(parseInt(_0x39368b(0x1d5))/0xc);if(_0x460b83===_0x38c0f4)break;else _0x15e181['push'](_0x15e181['shift']());}catch(_0x5f7383){_0x15e181['push'](_0x15e181['shift']());}}}(_0x1977,0x719c7));const e={'slides-chart-ui':{'border':'框線','common':{'insertChartFailed':_0x54e564(0x1e4),'inlineData':_0x54e564(0x1cb),'cancel':'取消','insert':'插入','editData':_0x54e564(0x1b5),'editChart':_0x54e564(0x1d2),'tableDataEmpty':'表格資料為空','duplicate':'複製','apply':'套用','data':'資料','series':'系列','horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':'設定圖表','customize':_0x54e564(0x1c7),'switchRowColumn':_0x54e564(0x1f0),'chartAndAxisTitles':_0x54e564(0x1bd),'chartStyle':_0x54e564(0x1c6),'heatmap':'熱力圖','legend':'圖例','rightVerticalAxis':'右縱軸','trendline':'趨勢線','category':'類別','label':'標籤','value':'數值','valueField':_0x54e564(0x1d0),'chartType':_0x54e564(0x1ba)},'editor':{'defaultColor':_0x54e564(0x1ce)},'chartTypes':{'line':_0x54e564(0x1f5),'column':_0x54e564(0x1e9),'bar':'條形圖','barStacked':'堆疊條形圖','barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','pieOfPie':_0x54e564(0x1c3),'barOfPie':_0x54e564(0x1f7),'area':_0x54e564(0x1c5),'areaStacked':_0x54e564(0x1d4),'areaPercentStacked':_0x54e564(0x1c8),'radar':_0x54e564(0x1b8),'scatter':'散點圖','combination':'組合圖','wordCloud':_0x54e564(0x1b4),'funnel':_0x54e564(0x1e6),'bubble':_0x54e564(0x1d8),'relation':_0x54e564(0x1ee),'waterfall':_0x54e564(0x1e1),'pareto':_0x54e564(0x1bf),'sankey':_0x54e564(0x1e0),'heatmap':_0x54e564(0x1f1),'boxplot':_0x54e564(0x1c4),'candlestick':_0x54e564(0x1e5),'histogram':_0x54e564(0x1d3),'treemap':_0x54e564(0x1f3),'sunburst':_0x54e564(0x1bb),'gauge':_0x54e564(0x1d1),'chord':'和弦圖'},'section':{'candlestick':_0x54e564(0x1f4),'chord':_0x54e564(0x1ec),'funnel':_0x54e564(0x1e6),'gauge':_0x54e564(0x1ef),'gridlinesAndTicks':'網格線和刻度線','histogram':_0x54e564(0x1d3),'indicatorLine':_0x54e564(0x1ed),'lineAndArea':_0x54e564(0x1be),'paretoBar':'長條圖系列','paretoLine':_0x54e564(0x1cd),'pie':'餅圖','radar':'雷達圖','relation':_0x54e564(0x1ee),'sunburst':_0x54e564(0x1bb),'treemap':_0x54e564(0x1bc),'waterfall':_0x54e564(0x1e1),'wordCloud':'詞雲'},'candlestick':{'columnsError':_0x54e564(0x1c1),'close':_0x54e564(0x1c2),'high':_0x54e564(0x1b6),'low':'最低價','open':_0x54e564(0x1df),'series':_0x54e564(0x1e7)},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0x54e564(0x1ea),'mappingDiagnostic':_0x54e564(0x1f9),'configDiagnostic':_0x54e564(0x1b9),'count':_0x54e564(0x1cf),'associatedValue':'關聯值'},'sunburst':{'hierarchy':'階層','ownValue':_0x54e564(0x1da),'children':'子項','diagnostic':_0x54e564(0x1e2)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':'階層欄位','ownValue':_0x54e564(0x1da),'children':'子項','diagnostic':_0x54e564(0x1dc)},'gauge':{'emptyDiagnostic':'儀表圖至少需要一個有限數值。','mappingDiagnostic':_0x54e564(0x1e8),'configDiagnostic':_0x54e564(0x1f2)},'chartField':{'missingCategoryFields':_0x54e564(0x1ca),'missingSeriesFields':_0x54e564(0x1d6),'invalidFieldIndex':'所選圖表欄位已無法使用。','invalidValueFieldType':'所選數值欄位不包含數值資料。','invalidDataStructure':_0x54e564(0x1dd),'unsupportedChartType':_0x54e564(0x1f8)}}};export{e as default};
1
+ const _0xd81709=_0x3167;(function(_0x1cd2d6,_0x1fd444){const _0x53db19=_0x3167,_0x42665a=_0x1cd2d6();while(!![]){try{const _0x52bf73=-parseInt(_0x53db19(0x149))/0x1+parseInt(_0x53db19(0x15d))/0x2+parseInt(_0x53db19(0x157))/0x3*(-parseInt(_0x53db19(0x16b))/0x4)+parseInt(_0x53db19(0x14a))/0x5+-parseInt(_0x53db19(0x13d))/0x6*(-parseInt(_0x53db19(0x142))/0x7)+-parseInt(_0x53db19(0x132))/0x8+parseInt(_0x53db19(0x15a))/0x9;if(_0x52bf73===_0x1fd444)break;else _0x42665a['push'](_0x42665a['shift']());}catch(_0x1bebb0){_0x42665a['push'](_0x42665a['shift']());}}}(_0x264e,0x5fd43));const e={'slides-chart-ui':{'border':'框線','common':{'insertChartFailed':'插入圖表失敗','inlineData':_0xd81709(0x14e),'cancel':'取消','insert':'插入','editData':_0xd81709(0x12f),'editChart':_0xd81709(0x171),'tableDataEmpty':'表格資料為空','duplicate':'複製','apply':'套用','data':'資料','series':'系列','horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':'設定圖表','customize':_0xd81709(0x147),'switchRowColumn':_0xd81709(0x16f),'chartAndAxisTitles':_0xd81709(0x15f),'chartStyle':_0xd81709(0x148),'heatmap':_0xd81709(0x151),'legend':'圖例','rightVerticalAxis':_0xd81709(0x141),'trendline':'趨勢線','category':'類別','label':'標籤','value':'數值','valueField':_0xd81709(0x140),'chartType':_0xd81709(0x137)},'editor':{'defaultColor':_0xd81709(0x169)},'chartTypes':{'line':'折線圖','column':_0xd81709(0x162),'columnStacked':_0xd81709(0x173),'columnPercentStacked':_0xd81709(0x159),'bar':_0xd81709(0x16a),'barStacked':_0xd81709(0x160),'barPercentStacked':'百分比堆疊條形圖','pie':'餅圖','donut':_0xd81709(0x13f),'pieOfPie':_0xd81709(0x153),'barOfPie':'複合餅圖','area':_0xd81709(0x167),'areaStacked':'堆疊面積圖','areaPercentStacked':_0xd81709(0x13b),'radar':'雷達圖','scatter':_0xd81709(0x15b),'combination':_0xd81709(0x170),'wordCloud':_0xd81709(0x14c),'funnel':_0xd81709(0x144),'bubble':'氣泡圖','relation':_0xd81709(0x16c),'waterfall':'瀑布圖','pareto':_0xd81709(0x150),'sankey':_0xd81709(0x146),'heatmap':_0xd81709(0x151),'boxplot':_0xd81709(0x13c),'candlestick':_0xd81709(0x166),'histogram':_0xd81709(0x131),'treemap':_0xd81709(0x136),'sunburst':_0xd81709(0x13a),'gauge':_0xd81709(0x172),'chord':_0xd81709(0x14d)},'section':{'candlestick':_0xd81709(0x130),'chord':_0xd81709(0x14d),'funnel':_0xd81709(0x144),'gauge':_0xd81709(0x145),'gridlinesAndTicks':_0xd81709(0x15e),'histogram':'直方圖','indicatorLine':_0xd81709(0x16d),'lineAndArea':'折線圖\x20/\x20面積圖','paretoBar':_0xd81709(0x15c),'paretoLine':_0xd81709(0x143),'pie':'餅圖','radar':_0xd81709(0x161),'relation':_0xd81709(0x16c),'sunburst':'旭日圖','treemap':_0xd81709(0x163),'waterfall':_0xd81709(0x155),'wordCloud':'詞雲'},'candlestick':{'columnsError':_0xd81709(0x156),'close':_0xd81709(0x165),'high':_0xd81709(0x139),'low':_0xd81709(0x12e),'open':_0xd81709(0x168),'series':_0xd81709(0x14f)},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0xd81709(0x14b),'mappingDiagnostic':_0xd81709(0x133),'configDiagnostic':_0xd81709(0x154),'count':'關係數','associatedValue':'關聯值'},'sunburst':{'hierarchy':'階層','ownValue':_0xd81709(0x135),'children':'子項','diagnostic':_0xd81709(0x13e)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0xd81709(0x164),'ownValue':_0xd81709(0x135),'children':'子項','diagnostic':_0xd81709(0x158)},'gauge':{'emptyDiagnostic':_0xd81709(0x16e),'mappingDiagnostic':_0xd81709(0x152),'configDiagnostic':'儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。'},'chartField':{'missingCategoryFields':_0xd81709(0x138),'missingSeriesFields':'此圖表需要更多數值欄位。','invalidFieldIndex':'所選圖表欄位已無法使用。','invalidValueFieldType':'所選數值欄位不包含數值資料。','invalidDataStructure':'所選欄位無法構成此圖表所需的有效資料結構。','unsupportedChartType':_0xd81709(0x134)}}};function _0x3167(_0x37ab4f,_0x2a0e06){_0x37ab4f=_0x37ab4f-0x12e;const _0x264e69=_0x264e();let _0x3167c6=_0x264e69[_0x37ab4f];return _0x3167c6;}function _0x264e(){const _0x247a6=['箱型圖','48228fFlhXu','旭日圖至少需要一個階層欄位和一個數值欄位。','環形圖','數值欄位','右縱軸','210HDHRSj','累積占比系列','漏斗圖','儀表圖','桑基圖','自訂圖表','圖表樣式','395699tofcPS','453385SOiujy','弦圖至少需要兩個不同節點之間的一條正權重關係。','詞雲圖','和弦圖','內嵌資料','OHLC\x20數列','排列圖','熱力圖','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','子母餅圖','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','瀑布圖','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄。','303RvlRea','矩形樹圖至少需要一個階層欄位和一個數值欄位。','百分比堆疊\x20·\x20柱狀圖','14091642VUoZxX','散點圖','長條圖系列','183880RUuYfQ','網格線和刻度線','圖表與座標軸標題','堆疊條形圖','雷達圖','柱狀圖','樹狀圖','階層欄位','收盤價','K\x20線圖','面積圖','開盤價','預設顏色','條形圖','22716LsmgdV','關係圖','指示線','儀表圖至少需要一個有限數值。','切換列或欄','組合圖','編輯圖表','儀表盤','堆疊\x20·\x20柱狀圖','最低價','編輯資料','燭台圖','直方圖','5021616OocdQj','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','此圖表類型沒有欄位使用規則。','自身值','矩形樹圖','圖表類型','此圖表需要更多標籤欄位。','最高價','旭日圖','百分比堆疊面積圖'];_0x264e=function(){return _0x247a6;};return _0x264e();}export{e as default};
@@ -1 +1 @@
1
- function _0x12c7(_0x1ba651,_0x5ed5fb){_0x1ba651=_0x1ba651-0x124;const _0x5733f7=_0x5733();let _0x12c73a=_0x5733f7[_0x1ba651];return _0x12c73a;}function _0x5733(){const _0x3f1328=['網格線和刻度線','預設顏色','熱力圖','5817672paSodF','旭日圖','燭台圖','開盤價','這個圖表需要更多標籤欄位。','條形圖','收盤價','設定圖表','內嵌資料','儀表板','堆疊條形圖','圖表類型','K\x20線圖','箱型圖','選取的數值欄位不包含數值資料。','面積圖','樹狀圖','1569072LzfVMg','散點圖','關聯值','複合餅圖','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','漏斗圖','儀表圖至少需要一個有限數值。','關係數','矩形樹圖','百分比堆疊條形圖','7367063pPALkv','161718CjvofJ','直方圖','圖表樣式','詞雲圖','雷達圖','右縱軸','階層欄位','柱狀圖','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','205oDfQGM','弦圖至少需要兩個不同節點之間的一條正權重關係。','旭日圖至少需要一個階層欄位和一個數值欄位。','選取的圖表欄位已無法使用。','折線圖\x20/\x20面積圖','自訂圖表','10xfTxTV','63520rzPRcf','堆疊面積圖','排列圖','表格資料為空','組合圖','關係圖','自身值','這個圖表類型沒有欄位使用規則。','編輯資料','數值欄位','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','儀表圖','和弦圖','111vKKyDk','51108mxlZtD','5771304zgjPaA','桑基圖','矩形樹圖至少需要一個階層欄位和一個數值欄位。','最高價','瀑布圖','10MTLEEn','圖表與座標軸標題','選取的欄位無法構成這個圖表所需的有效資料結構。'];_0x5733=function(){return _0x3f1328;};return _0x5733();}const _0x52b283=_0x12c7;(function(_0x384a00,_0x2e48d6){const _0x597a75=_0x12c7,_0x526344=_0x384a00();while(!![]){try{const _0x8578f5=parseInt(_0x597a75(0x129))/0x1*(parseInt(_0x597a75(0x14b))/0x2)+parseInt(_0x597a75(0x168))/0x3*(parseInt(_0x597a75(0x15b))/0x4)+parseInt(_0x597a75(0x154))/0x5*(-parseInt(_0x597a75(0x169))/0x6)+-parseInt(_0x597a75(0x12f))/0x7+parseInt(_0x597a75(0x140))/0x8+-parseInt(_0x597a75(0x124))/0x9+parseInt(_0x597a75(0x15a))/0xa*(parseInt(_0x597a75(0x14a))/0xb);if(_0x8578f5===_0x2e48d6)break;else _0x526344['push'](_0x526344['shift']());}catch(_0x1f1326){_0x526344['push'](_0x526344['shift']());}}}(_0x5733,0x6b86b));const e={'slides-chart-ui':{'border':'框線','common':{'insertChartFailed':'插入圖表失敗','inlineData':_0x52b283(0x137),'cancel':'取消','insert':'插入','editData':_0x52b283(0x163),'editChart':'編輯圖表','tableDataEmpty':_0x52b283(0x15e),'duplicate':'複製','apply':'套用','data':'資料','series':'系列','horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':_0x52b283(0x136),'customize':_0x52b283(0x159),'switchRowColumn':'切換列或欄','chartAndAxisTitles':_0x52b283(0x12a),'chartStyle':_0x52b283(0x14d),'heatmap':_0x52b283(0x12e),'legend':'圖例','rightVerticalAxis':_0x52b283(0x150),'trendline':'趨勢線','category':'類別','label':'標籤','value':'數值','valueField':_0x52b283(0x164),'chartType':_0x52b283(0x13a)},'editor':{'defaultColor':_0x52b283(0x12d)},'chartTypes':{'line':'折線圖','column':_0x52b283(0x152),'bar':_0x52b283(0x134),'barStacked':_0x52b283(0x139),'barPercentStacked':_0x52b283(0x149),'pie':'餅圖','pieOfPie':'子母餅圖','barOfPie':_0x52b283(0x143),'area':_0x52b283(0x13e),'areaStacked':_0x52b283(0x15c),'areaPercentStacked':'百分比堆疊面積圖','radar':'雷達圖','scatter':_0x52b283(0x141),'combination':_0x52b283(0x15f),'wordCloud':_0x52b283(0x14e),'funnel':_0x52b283(0x145),'bubble':'氣泡圖','relation':_0x52b283(0x160),'waterfall':_0x52b283(0x128),'pareto':_0x52b283(0x15d),'sankey':_0x52b283(0x125),'heatmap':_0x52b283(0x12e),'boxplot':_0x52b283(0x13c),'candlestick':_0x52b283(0x13b),'histogram':_0x52b283(0x14c),'treemap':_0x52b283(0x148),'sunburst':_0x52b283(0x130),'gauge':_0x52b283(0x138),'chord':'和弦圖'},'section':{'candlestick':_0x52b283(0x131),'chord':_0x52b283(0x167),'funnel':_0x52b283(0x145),'gauge':_0x52b283(0x166),'gridlinesAndTicks':_0x52b283(0x12c),'histogram':_0x52b283(0x14c),'indicatorLine':'指示線','lineAndArea':_0x52b283(0x158),'paretoBar':'長條圖系列','paretoLine':'累積占比系列','pie':'餅圖','radar':_0x52b283(0x14f),'relation':_0x52b283(0x160),'sunburst':_0x52b283(0x130),'treemap':_0x52b283(0x13f),'waterfall':_0x52b283(0x128),'wordCloud':'詞雲'},'candlestick':{'columnsError':'K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄位。','close':_0x52b283(0x135),'high':_0x52b283(0x127),'low':'最低價','open':_0x52b283(0x132),'series':'OHLC\x20數列'},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0x52b283(0x155),'mappingDiagnostic':_0x52b283(0x165),'configDiagnostic':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','count':_0x52b283(0x147),'associatedValue':_0x52b283(0x142)},'sunburst':{'hierarchy':'階層','ownValue':_0x52b283(0x161),'children':'子項','diagnostic':_0x52b283(0x156)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x52b283(0x151),'ownValue':_0x52b283(0x161),'children':'子項','diagnostic':_0x52b283(0x126)},'gauge':{'emptyDiagnostic':_0x52b283(0x146),'mappingDiagnostic':_0x52b283(0x153),'configDiagnostic':_0x52b283(0x144)},'chartField':{'missingCategoryFields':_0x52b283(0x133),'missingSeriesFields':'這個圖表需要更多數值欄位。','invalidFieldIndex':_0x52b283(0x157),'invalidValueFieldType':_0x52b283(0x13d),'invalidDataStructure':_0x52b283(0x12b),'unsupportedChartType':_0x52b283(0x162)}}};export{e as default};
1
+ const _0xfdcc76=_0x3464;(function(_0x38bc8f,_0x2207e9){const _0x296054=_0x3464,_0x580c02=_0x38bc8f();while(!![]){try{const _0x665a2e=-parseInt(_0x296054(0x1c9))/0x1*(-parseInt(_0x296054(0x1f6))/0x2)+-parseInt(_0x296054(0x1e4))/0x3*(parseInt(_0x296054(0x1f3))/0x4)+-parseInt(_0x296054(0x1e0))/0x5+parseInt(_0x296054(0x1e3))/0x6+-parseInt(_0x296054(0x1f9))/0x7+parseInt(_0x296054(0x1ed))/0x8+parseInt(_0x296054(0x1cf))/0x9;if(_0x665a2e===_0x2207e9)break;else _0x580c02['push'](_0x580c02['shift']());}catch(_0x4f2e5e){_0x580c02['push'](_0x580c02['shift']());}}}(_0x3c5e,0xa98b7));function _0x3464(_0x585fee,_0x65f6d7){_0x585fee=_0x585fee-0x1bb;const _0x3c5e49=_0x3c5e();let _0x34641e=_0x3c5e49[_0x585fee];return _0x34641e;}const e={'slides-chart-ui':{'border':'框線','common':{'insertChartFailed':_0xfdcc76(0x1d7),'inlineData':_0xfdcc76(0x1f7),'cancel':'取消','insert':'插入','editData':_0xfdcc76(0x1c6),'editChart':'編輯圖表','tableDataEmpty':_0xfdcc76(0x1df),'duplicate':'複製','apply':'套用','data':'資料','series':'系列','horizontalAxis':'橫軸','verticalAxis':'縱軸','setup':'設定圖表','customize':'自訂圖表','switchRowColumn':_0xfdcc76(0x1c1),'chartAndAxisTitles':_0xfdcc76(0x1ca),'chartStyle':_0xfdcc76(0x1e6),'heatmap':_0xfdcc76(0x1f1),'legend':'圖例','rightVerticalAxis':_0xfdcc76(0x1bb),'trendline':_0xfdcc76(0x1bf),'category':'類別','label':'標籤','value':'數值','valueField':_0xfdcc76(0x1f5),'chartType':_0xfdcc76(0x1de)},'editor':{'defaultColor':_0xfdcc76(0x1db)},'chartTypes':{'line':_0xfdcc76(0x1e7),'column':'柱狀圖','columnStacked':'堆疊\x20·\x20柱狀圖','columnPercentStacked':_0xfdcc76(0x1dd),'bar':_0xfdcc76(0x1c2),'barStacked':'堆疊條形圖','barPercentStacked':_0xfdcc76(0x1e9),'pie':'餅圖','donut':_0xfdcc76(0x1e1),'pieOfPie':'子母餅圖','barOfPie':'複合餅圖','area':'面積圖','areaStacked':_0xfdcc76(0x1dc),'areaPercentStacked':_0xfdcc76(0x1e8),'radar':_0xfdcc76(0x1f2),'scatter':_0xfdcc76(0x1f4),'combination':'組合圖','wordCloud':_0xfdcc76(0x1c7),'funnel':_0xfdcc76(0x1e2),'bubble':_0xfdcc76(0x1d8),'relation':_0xfdcc76(0x1f0),'waterfall':_0xfdcc76(0x1cc),'pareto':_0xfdcc76(0x1cd),'sankey':'桑基圖','heatmap':_0xfdcc76(0x1f1),'boxplot':_0xfdcc76(0x1d9),'candlestick':_0xfdcc76(0x1ec),'histogram':'直方圖','treemap':'矩形樹圖','sunburst':_0xfdcc76(0x1d4),'gauge':_0xfdcc76(0x1fa),'chord':_0xfdcc76(0x1cb)},'section':{'candlestick':'燭台圖','chord':'和弦圖','funnel':_0xfdcc76(0x1e2),'gauge':_0xfdcc76(0x1f8),'gridlinesAndTicks':_0xfdcc76(0x1d1),'histogram':'直方圖','indicatorLine':_0xfdcc76(0x1d0),'lineAndArea':'折線圖\x20/\x20面積圖','paretoBar':_0xfdcc76(0x1be),'paretoLine':'累積占比系列','pie':'餅圖','radar':_0xfdcc76(0x1f2),'relation':_0xfdcc76(0x1f0),'sunburst':_0xfdcc76(0x1d4),'treemap':_0xfdcc76(0x1bd),'waterfall':_0xfdcc76(0x1cc),'wordCloud':'詞雲'},'candlestick':{'columnsError':_0xfdcc76(0x1d3),'close':_0xfdcc76(0x1c0),'high':_0xfdcc76(0x1d6),'low':_0xfdcc76(0x1c3),'open':'開盤價','series':'OHLC\x20數列'},'chord':{'source':'來源','target':'目標','emptyDiagnostic':_0xfdcc76(0x1d2),'mappingDiagnostic':_0xfdcc76(0x1ce),'configDiagnostic':_0xfdcc76(0x1bc),'count':'關係數','associatedValue':'關聯值'},'sunburst':{'hierarchy':'階層','ownValue':_0xfdcc76(0x1da),'children':'子項','diagnostic':_0xfdcc76(0x1c4)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0xfdcc76(0x1c8),'ownValue':_0xfdcc76(0x1da),'children':'子項','diagnostic':'矩形樹圖至少需要一個階層欄位和一個數值欄位。'},'gauge':{'emptyDiagnostic':_0xfdcc76(0x1ef),'mappingDiagnostic':_0xfdcc76(0x1d5),'configDiagnostic':_0xfdcc76(0x1ea)},'chartField':{'missingCategoryFields':_0xfdcc76(0x1ee),'missingSeriesFields':_0xfdcc76(0x1e5),'invalidFieldIndex':'選取的圖表欄位已無法使用。','invalidValueFieldType':_0xfdcc76(0x1c5),'invalidDataStructure':'選取的欄位無法構成這個圖表所需的有效資料結構。','unsupportedChartType':_0xfdcc76(0x1eb)}}};export{e as default};function _0x3c5e(){const _0x28c254=['選取的數值欄位不包含數值資料。','編輯資料','詞雲圖','階層欄位','16766POjttG','圖表與座標軸標題','和弦圖','瀑布圖','排列圖','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','3304764ZFlnAH','指示線','網格線和刻度線','弦圖至少需要兩個不同節點之間的一條正權重關係。','K\x20線圖資料需要「類別、開盤價、最高價、最低價及收盤價」欄位。','旭日圖','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','最高價','插入圖表失敗','氣泡圖','箱型圖','自身值','預設顏色','堆疊面積圖','百分比堆疊\x20·\x20柱狀圖','圖表類型','表格資料為空','4579845kWBwMh','環形圖','漏斗圖','1248198hNyYAv','33237DyRuUj','這個圖表需要更多數值欄位。','圖表樣式','折線圖','百分比堆疊面積圖','百分比堆疊條形圖','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','這個圖表類型沒有欄位使用規則。','K\x20線圖','6495544JZOaTk','這個圖表需要更多標籤欄位。','儀表圖至少需要一個有限數值。','關係圖','熱力圖','雷達圖','12lPQPSD','散點圖','數值欄位','148jAcyaj','內嵌資料','儀表圖','6889365WDbydu','儀表板','右縱軸','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','樹狀圖','長條圖系列','趨勢線','收盤價','切換列或欄','條形圖','最低價','旭日圖至少需要一個階層欄位和一個數值欄位。'];_0x3c5e=function(){return _0x28c254;};return _0x3c5e();}
@@ -21,20 +21,8 @@ export declare const SLIDE_CHART_EDITOR_DEFAULT_VALUES: {
21
21
  readonly indicatorLine: import("@univerjs-pro/chart-ui").IChartIndicatorLineDefaultValues;
22
22
  readonly legend: import("@univerjs-pro/chart-ui").IChartLegendDefaultValues;
23
23
  readonly pareto: import("@univerjs-pro/chart-ui").IChartParetoDefaultValues;
24
- readonly pie: {
25
- readonly doughnutHole: 0.5;
26
- readonly pieHole: 0;
27
- readonly borderColor: string;
28
- readonly hasPaddingAngle: boolean;
29
- readonly isHalfPie: boolean;
30
- readonly labelContentType: import("@univerjs-pro/engine-chart").LabelContentType;
31
- readonly labelPosition: import("@univerjs-pro/engine-chart").PieLabelPosition;
32
- readonly labelVisible: boolean;
33
- readonly rosePie: boolean;
34
- readonly showLabelLine: boolean;
35
- readonly textColor: string;
36
- readonly valueScale: number;
37
- };
24
+ readonly pie: import("@univerjs-pro/chart-ui").IChartPieDefaultValues;
25
+ readonly series: import("@univerjs-pro/chart-ui").IChartSeriesDefaultValues;
38
26
  readonly style: import("@univerjs-pro/chart-ui").IChartStyleDefaultValues;
39
27
  readonly titles: import("@univerjs-pro/chart-ui").IChartTitleDefaultValues;
40
28
  readonly waterfall: {
@@ -19,6 +19,7 @@ export declare class SlideChartElementFloatMenuController extends Disposable {
19
19
  private readonly _injector;
20
20
  private _popupDisposable;
21
21
  private _popupChartId;
22
+ private _popupSessionKey;
22
23
  constructor(_chartModelService: SlideChartModelService, _editSessionService: SlideChartEditSessionService, _chartRenderService: SlideChartRenderService, _chartHostProvider: SlideChartHostProviderService, _slideCanvasPopManagerService: SlideCanvasPopManagerService, _chartUIService: ISlideChartUIService, _adapterRegistry: ChartElementFloatMenuAdapterRegistry, _commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _injector: Injector);
23
24
  dispose(): void;
24
25
  private _registerAdapter;
@@ -36,10 +36,13 @@ declare const locale: {
36
36
  chartTypes: {
37
37
  line: string;
38
38
  column: string;
39
+ columnStacked: string;
40
+ columnPercentStacked: string;
39
41
  bar: string;
40
42
  barStacked: string;
41
43
  barPercentStacked: string;
42
44
  pie: string;
45
+ donut: string;
43
46
  pieOfPie: string;
44
47
  barOfPie: string;
45
48
  area: string;
@@ -1,4 +1,4 @@
1
- import type { IChartImageExportProvider, IChartImageExportTarget } from '@univerjs-pro/chart-ui';
1
+ import type { IChartImageExportOptions, IChartImageExportProvider, IChartImageExportTarget } from '@univerjs-pro/chart-ui';
2
2
  import { ChartImageExportService } from '@univerjs-pro/chart-ui';
3
3
  import { Disposable } from '@univerjs/core';
4
4
  import { SlideChartRenderService } from './slide-chart-render.service';
@@ -9,6 +9,6 @@ export declare class SlideChartImageExportProvider extends Disposable implements
9
9
  private readonly _renderService;
10
10
  constructor(imageExportService: ChartImageExportService, _renderService: SlideChartRenderService);
11
11
  supports(chart: IChartImageExportTarget): chart is ISlideChartImageExportTarget;
12
- exportImage(chart: IChartImageExportTarget): Promise<string | undefined>;
12
+ exportImage(chart: IChartImageExportTarget, options?: IChartImageExportOptions): Promise<string | undefined>;
13
13
  }
14
14
  export {};
@@ -1,3 +1,4 @@
1
+ import type { IChartImageExportOptions } from '@univerjs-pro/chart-ui';
1
2
  import type { ChartElementEventHandler, ChartElementEventType, ChartRuntimeStyle, ChartStyle, IChartConfig, IChartHost, IChartHostRect, IChartInstance, IChartRenderInstance } from '@univerjs-pro/engine-chart';
2
3
  import type { ISlideChartRuntimeModel } from '@univerjs-pro/slides-chart';
3
4
  import type { IDisposable } from '@univerjs/core';
@@ -30,6 +31,7 @@ export declare class SlideChartRenderService extends Disposable {
30
31
  private readonly _chartEventSubscriptions;
31
32
  private readonly _chartElementEditMode;
32
33
  private readonly _lastImageDataUrlMap;
34
+ private readonly _lastRenderInputMap;
33
35
  constructor(_localeService: LocaleService, _chartThemeService: ChartThemeService, _renderModelManager: IChartRenderModelManagerService);
34
36
  createChartInstance(): IChartInstance;
35
37
  createChartInstance(mode: ChartHostRenderMode): IChartRenderInstance;
@@ -37,7 +39,7 @@ export declare class SlideChartRenderService extends Disposable {
37
39
  setElementEditMode(chartId: string, enabled: boolean): void;
38
40
  on(chartId: string, type: ChartElementEventType, handler: ChartElementEventHandler): IDisposable;
39
41
  disposeChartInstance(chartId: string): void;
40
- exportImage(chartId: string): Promise<string | undefined>;
42
+ exportImage(chartId: string, options?: IChartImageExportOptions): Promise<string | undefined>;
41
43
  createRenderInput(runtime: ISlideChartRuntimeModel): ISlideChartRenderInput;
42
44
  createRenderSpec(runtime: ISlideChartRuntimeModel, rect: IChartHostRect, chartInstance?: IChartInstance): ISlideChartRenderSpecResult;
43
45
  getHostStyle(chartStyle: ChartStyle): ISlideChartRenderSpecResult['hostStyle'];