@univerjs-pro/chart-ui 1.0.0-alpha.7 → 1.0.0-alpha.8

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 (90) 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 +96 -4
  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/ChartEditPanelScaffold.d.ts +16 -0
  63. package/lib/types/components/ChartEditorFields.d.ts +4 -1
  64. package/lib/types/components/ChartInlineTableEditor.d.ts +5 -0
  65. package/lib/types/components/ChartPresentationFields.d.ts +2 -1
  66. package/lib/types/components/ChartSemanticDataFields.d.ts +28 -0
  67. package/lib/types/components/chart-inline-starter-data.d.ts +13 -0
  68. package/lib/types/components/index.d.ts +6 -3
  69. package/lib/types/index.d.ts +2 -2
  70. package/lib/umd/index.js +1 -1
  71. package/lib/umd/locale/ar-SA.js +1 -1
  72. package/lib/umd/locale/ca-ES.js +1 -1
  73. package/lib/umd/locale/de-DE.js +1 -1
  74. package/lib/umd/locale/en-US.js +1 -1
  75. package/lib/umd/locale/es-ES.js +1 -1
  76. package/lib/umd/locale/fa-IR.js +1 -1
  77. package/lib/umd/locale/fr-FR.js +1 -1
  78. package/lib/umd/locale/id-ID.js +1 -1
  79. package/lib/umd/locale/it-IT.js +1 -1
  80. package/lib/umd/locale/ja-JP.js +1 -1
  81. package/lib/umd/locale/ko-KR.js +1 -1
  82. package/lib/umd/locale/pl-PL.js +1 -1
  83. package/lib/umd/locale/pt-BR.js +1 -1
  84. package/lib/umd/locale/ru-RU.js +1 -1
  85. package/lib/umd/locale/sk-SK.js +1 -1
  86. package/lib/umd/locale/vi-VN.js +1 -1
  87. package/lib/umd/locale/zh-CN.js +1 -1
  88. package/lib/umd/locale/zh-HK.js +1 -1
  89. package/lib/umd/locale/zh-TW.js +1 -1
  90. package/package.json +7 -6
@@ -1 +1 @@
1
- const _0x40303e=_0x4d71;function _0x4d71(_0x3af5b2,_0x2b09a0){_0x3af5b2=_0x3af5b2-0x1e2;const _0x3c378b=_0x3c37();let _0x4d71f0=_0x3c378b[_0x3af5b2];return _0x4d71f0;}(function(_0x315ccc,_0x14c36a){const _0x4ad98b=_0x4d71,_0x5edda4=_0x315ccc();while(!![]){try{const _0x1ad4fb=parseInt(_0x4ad98b(0x1ed))/0x1*(-parseInt(_0x4ad98b(0x1fe))/0x2)+parseInt(_0x4ad98b(0x1f3))/0x3*(parseInt(_0x4ad98b(0x1ee))/0x4)+parseInt(_0x4ad98b(0x1f2))/0x5*(parseInt(_0x4ad98b(0x1ec))/0x6)+parseInt(_0x4ad98b(0x1f7))/0x7*(parseInt(_0x4ad98b(0x1e6))/0x8)+-parseInt(_0x4ad98b(0x1f5))/0x9+-parseInt(_0x4ad98b(0x1f0))/0xa*(parseInt(_0x4ad98b(0x1fd))/0xb)+parseInt(_0x4ad98b(0x1f6))/0xc;if(_0x1ad4fb===_0x14c36a)break;else _0x5edda4['push'](_0x5edda4['shift']());}catch(_0x1228a5){_0x5edda4['push'](_0x5edda4['shift']());}}}(_0x3c37,0xe2c6b));const e={'chart-ui':{'common':{'default':'默认','reset':'重置'},'presentation':{'wrapLegend':_0x40303e(0x1e4)},'inlineTable':{'pasteHint':_0x40303e(0x1e8),'addRow':_0x40303e(0x1e5),'addColumn':_0x40303e(0x1fa)},'floatMenu':{'menuTitle':{'chart':'图表','chartTitle':_0x40303e(0x1f8),'subtitle':_0x40303e(0x1f1),'axisTitle':'轴标题','legend':'图例','horizontalAxis':'横轴','verticalAxis':'纵轴','rightVerticalAxis':_0x40303e(0x1e7),'gridline':_0x40303e(0x1e2),'tick':_0x40303e(0x1f9),'mark':'标记','series':'系列','dataPoint':_0x40303e(0x1ea),'dataLabel':_0x40303e(0x1e9)},'field':{'title':'标题','subtitle':'副标题','position':'位置','size':'字号','align':'对齐','mode':'模式','map':'映射','rotate':'旋转','min':_0x40303e(0x1eb),'max':'最大值','color':'颜色','borderColor':_0x40303e(0x1e3),'opacity':'透明度','labelPosition':'标签位置','labelText':_0x40303e(0x1fb),'titleText':_0x40303e(0x1f4)},'action':{'more':'更多','bold':'加粗','italic':'斜体'},'control':{'labels':'标签','line':'轴线','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':'左对齐','center':'居中','right':_0x40303e(0x1ef)},'position':{'top':'顶部','bottom':'底部','left':'左侧','right':'右侧','hide':'隐藏','inside':'内部','outside':'外部'},'labelText':{'category':'类别','value':'值','percentage':_0x40303e(0x1fc)},'axisAlign':{'start':'开始','center':'中间','end':'结束'},'legendSelectMode':{'single':'单选','multiple':'多选','close':'关闭'},'visualMapType':{'continuous':'连续','piecewise':'分段'}}}}};function _0x3c37(){const _0x272f1c=['50CxHxLc','副标题','15nWQSOS','1283484vNqKqN','标题文本','10455210ypsSDi','11104644yAGBiE','46893OvxQFY','图表标题','刻度线','新增列','标签文本','百分比','2077031qujsNO','22JjApYl','网格线','边框颜色','图例换行','新增行','216tgFEZy','右纵轴','可从\x20Sheets、Excel\x20或网页表格直接粘贴,替换当前数据。','数据标签','数据点','最小值','1891266yBXDcL','27337oynXpb','12PTKDjf','右对齐'];_0x3c37=function(){return _0x272f1c;};return _0x3c37();}export{e as default};
1
+ const _0x178f49=_0x3485;function _0x32c5(){const _0x29bafe=['348kPYJRR','图例换行','百分比','6449552OMXBoB','标签文本','图表标题','2529090QGwaHX','1oBkPCT','右对齐','8IIXLqP','1175154BVqXYd','230484FNfeqI','标签位置','可从\x20Sheets、Excel\x20或网页表格直接粘贴,替换当前数据。','最大值','数据标签','标题文本','新增行','左对齐','副标题','1679746qUCxYm','透明度','3619429EzJjqK','7cdyeVZ','705484eSbksC','10XpgewU','轴标题','35afHUwu','边框颜色','新增列'];_0x32c5=function(){return _0x29bafe;};return _0x32c5();}(function(_0x2ede56,_0x4fade6){const _0x3abcaa=_0x3485,_0x5d7acb=_0x2ede56();while(!![]){try{const _0x2faa9a=parseInt(_0x3abcaa(0x11d))/0x1*(parseInt(_0x3abcaa(0x12a))/0x2)+parseInt(_0x3abcaa(0x120))/0x3*(parseInt(_0x3abcaa(0x11f))/0x4)+parseInt(_0x3abcaa(0x113))/0x5*(-parseInt(_0x3abcaa(0x121))/0x6)+-parseInt(_0x3abcaa(0x12d))/0x7*(-parseInt(_0x3abcaa(0x119))/0x8)+parseInt(_0x3abcaa(0x11c))/0x9+-parseInt(_0x3abcaa(0x111))/0xa*(parseInt(_0x3abcaa(0x12c))/0xb)+-parseInt(_0x3abcaa(0x116))/0xc*(parseInt(_0x3abcaa(0x110))/0xd);if(_0x2faa9a===_0x4fade6)break;else _0x5d7acb['push'](_0x5d7acb['shift']());}catch(_0x549afd){_0x5d7acb['push'](_0x5d7acb['shift']());}}}(_0x32c5,0x838b4));function _0x3485(_0x2f1458,_0x1f1350){_0x2f1458=_0x2f1458-0x110;const _0x32c5a3=_0x32c5();let _0x3485e1=_0x32c5a3[_0x2f1458];return _0x3485e1;}const e={'chart-ui':{'common':{'default':'默认','reset':'重置'},'presentation':{'wrapLegend':_0x178f49(0x117)},'inlineTable':{'pasteHint':_0x178f49(0x123),'addRow':_0x178f49(0x127),'addColumn':_0x178f49(0x115)},'floatMenu':{'menuTitle':{'chart':'图表','chartTitle':_0x178f49(0x11b),'subtitle':_0x178f49(0x129),'axisTitle':_0x178f49(0x112),'legend':'图例','horizontalAxis':'横轴','verticalAxis':'纵轴','rightVerticalAxis':'右纵轴','gridline':'网格线','tick':'刻度线','mark':'标记','series':'系列','dataPoint':'数据点','dataLabel':_0x178f49(0x125)},'field':{'title':'标题','subtitle':_0x178f49(0x129),'position':'位置','size':'字号','align':'对齐','mode':'模式','map':'映射','rotate':'旋转','min':'最小值','max':_0x178f49(0x124),'color':'颜色','borderColor':_0x178f49(0x114),'opacity':_0x178f49(0x12b),'labelPosition':_0x178f49(0x122),'labelText':_0x178f49(0x11a),'titleText':_0x178f49(0x126)},'action':{'more':'更多','bold':'加粗','italic':'斜体'},'control':{'labels':'标签','line':'轴线','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':_0x178f49(0x128),'center':'居中','right':_0x178f49(0x11e)},'position':{'top':'顶部','bottom':'底部','left':'左侧','right':'右侧','hide':'隐藏','inside':'内部','outside':'外部'},'labelText':{'category':'类别','value':'值','percentage':_0x178f49(0x118)},'axisAlign':{'start':'开始','center':'中间','end':'结束'},'legendSelectMode':{'single':'单选','multiple':'多选','close':'关闭'},'visualMapType':{'continuous':'连续','piecewise':'分段'}}}}};export{e as default};
@@ -1 +1 @@
1
- function _0x1594(_0x103ed5,_0x456231){_0x103ed5=_0x103ed5-0x179;const _0x28e915=_0x28e9();let _0x15947c=_0x28e915[_0x103ed5];return _0x15947c;}const _0x2fd8e1=_0x1594;(function(_0x83590e,_0x2482cc){const _0x17ba33=_0x1594,_0xac0b83=_0x83590e();while(!![]){try{const _0x2dc4a9=parseInt(_0x17ba33(0x17e))/0x1*(-parseInt(_0x17ba33(0x17f))/0x2)+-parseInt(_0x17ba33(0x187))/0x3*(parseInt(_0x17ba33(0x185))/0x4)+-parseInt(_0x17ba33(0x191))/0x5+-parseInt(_0x17ba33(0x17a))/0x6+-parseInt(_0x17ba33(0x193))/0x7*(-parseInt(_0x17ba33(0x18c))/0x8)+parseInt(_0x17ba33(0x183))/0x9+parseInt(_0x17ba33(0x17b))/0xa;if(_0x2dc4a9===_0x2482cc)break;else _0xac0b83['push'](_0xac0b83['shift']());}catch(_0x4de0be){_0xac0b83['push'](_0xac0b83['shift']());}}}(_0x28e9,0x3d94a));const e={'chart-ui':{'common':{'default':'預設','reset':'重置'},'presentation':{'wrapLegend':'圖例換行'},'inlineTable':{'pasteHint':_0x2fd8e1(0x17c),'addRow':'新增列','addColumn':_0x2fd8e1(0x181)},'floatMenu':{'menuTitle':{'chart':'圖表','chartTitle':'圖表標題','subtitle':_0x2fd8e1(0x194),'axisTitle':_0x2fd8e1(0x189),'legend':'圖例','horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':_0x2fd8e1(0x18b),'gridline':_0x2fd8e1(0x192),'tick':_0x2fd8e1(0x17d),'mark':'標記','series':'系列','dataPoint':_0x2fd8e1(0x188),'dataLabel':_0x2fd8e1(0x18a)},'field':{'title':'標題','subtitle':'副標題','position':'位置','size':'字號','align':'對齊','mode':'模式','map':'映射','rotate':'旋轉','min':_0x2fd8e1(0x190),'max':_0x2fd8e1(0x186),'color':'顏色','borderColor':_0x2fd8e1(0x179),'opacity':_0x2fd8e1(0x18d),'labelPosition':_0x2fd8e1(0x18e),'labelText':_0x2fd8e1(0x184),'titleText':_0x2fd8e1(0x18f)},'action':{'more':'更多','bold':'加粗','italic':'斜體'},'control':{'labels':'標籤','line':'軸線','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':_0x2fd8e1(0x182),'center':'置中','right':_0x2fd8e1(0x180)},'position':{'top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏','inside':'內部','outside':'外部'},'labelText':{'category':'類別','value':'值','percentage':'百分比'},'axisAlign':{'start':'開始','center':'中間','end':'結束'},'legendSelectMode':{'single':'單選','multiple':'多選','close':'關閉'},'visualMapType':{'continuous':'連續','piecewise':'分段'}}}}};function _0x28e9(){const _0x50ebe3=['左對齊','2486070bgZMxH','標籤文字','20LRPJtz','最大值','254685eWEFNO','資料點','軸標題','資料標籤','右縱軸','1103144yEOWch','透明度','標籤位置','標題文字','最小值','2257370eRjUSB','網格線','7CUvimx','副標題','邊框顏色','1900422fAMrzS','13217300VbOsRl','在此複製並貼上資料','刻度線','290933wxFxSv','2zdiNek','右對齊','新增欄'];_0x28e9=function(){return _0x50ebe3;};return _0x28e9();}export{e as default};
1
+ const _0x3bf889=_0x40ae;(function(_0x4daa30,_0x1610f4){const _0x137b92=_0x40ae,_0x348c3e=_0x4daa30();while(!![]){try{const _0x2f0dd1=parseInt(_0x137b92(0x69))/0x1+parseInt(_0x137b92(0x6e))/0x2+parseInt(_0x137b92(0x67))/0x3+parseInt(_0x137b92(0x68))/0x4+-parseInt(_0x137b92(0x6d))/0x5+-parseInt(_0x137b92(0x73))/0x6+parseInt(_0x137b92(0x78))/0x7*(-parseInt(_0x137b92(0x74))/0x8);if(_0x2f0dd1===_0x1610f4)break;else _0x348c3e['push'](_0x348c3e['shift']());}catch(_0x11a21f){_0x348c3e['push'](_0x348c3e['shift']());}}}(_0x4ccd,0x3521c));const e={'chart-ui':{'common':{'default':'預設','reset':'重置'},'presentation':{'wrapLegend':'圖例換行'},'inlineTable':{'pasteHint':_0x3bf889(0x6a),'addRow':_0x3bf889(0x79),'addColumn':_0x3bf889(0x65)},'floatMenu':{'menuTitle':{'chart':'圖表','chartTitle':_0x3bf889(0x6c),'subtitle':_0x3bf889(0x7d),'axisTitle':_0x3bf889(0x70),'legend':'圖例','horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':_0x3bf889(0x66),'gridline':_0x3bf889(0x7e),'tick':_0x3bf889(0x71),'mark':'標記','series':'系列','dataPoint':_0x3bf889(0x72),'dataLabel':_0x3bf889(0x6b)},'field':{'title':'標題','subtitle':_0x3bf889(0x7d),'position':'位置','size':'字號','align':'對齊','mode':'模式','map':'映射','rotate':'旋轉','min':_0x3bf889(0x77),'max':_0x3bf889(0x80),'color':'顏色','borderColor':_0x3bf889(0x7f),'opacity':_0x3bf889(0x7c),'labelPosition':_0x3bf889(0x81),'labelText':_0x3bf889(0x76),'titleText':_0x3bf889(0x75)},'action':{'more':'更多','bold':'加粗','italic':'斜體'},'control':{'labels':'標籤','line':'軸線','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':_0x3bf889(0x6f),'center':'置中','right':_0x3bf889(0x7a)},'position':{'top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏','inside':'內部','outside':'外部'},'labelText':{'category':'類別','value':'值','percentage':_0x3bf889(0x7b)},'axisAlign':{'start':'開始','center':'中間','end':'結束'},'legendSelectMode':{'single':'單選','multiple':'多選','close':'關閉'},'visualMapType':{'continuous':'連續','piecewise':'分段'}}}}};function _0x40ae(_0xeeef6d,_0xa875a){_0xeeef6d=_0xeeef6d-0x65;const _0x4ccd40=_0x4ccd();let _0x40ae53=_0x4ccd40[_0xeeef6d];return _0x40ae53;}export{e as default};function _0x4ccd(){const _0x135295=['資料點','2447490SPdycK','808lYVXst','標題文字','標籤文字','最小值','8743JRDuIX','新增列','右對齊','百分比','透明度','副標題','網格線','邊框顏色','最大值','標籤位置','新增欄','右縱軸','871899Zhkpmv','138848iuKhPO','373595iOmPyL','在此複製並貼上資料','資料標籤','圖表標題','1442950VqjaQF','682684qqjjog','左對齊','軸標題','刻度線'];_0x4ccd=function(){return _0x135295;};return _0x4ccd();}
@@ -1 +1 @@
1
- const _0x51e96d=_0x36fe;(function(_0x428aa7,_0x3b41fd){const _0x1b7356=_0x36fe,_0x2ec1d7=_0x428aa7();while(!![]){try{const _0x554ee9=-parseInt(_0x1b7356(0xcd))/0x1+parseInt(_0x1b7356(0xd2))/0x2*(parseInt(_0x1b7356(0xc6))/0x3)+-parseInt(_0x1b7356(0xc8))/0x4+parseInt(_0x1b7356(0xd0))/0x5+-parseInt(_0x1b7356(0xd4))/0x6*(-parseInt(_0x1b7356(0xd7))/0x7)+parseInt(_0x1b7356(0xd8))/0x8+-parseInt(_0x1b7356(0xc1))/0x9*(parseInt(_0x1b7356(0xc9))/0xa);if(_0x554ee9===_0x3b41fd)break;else _0x2ec1d7['push'](_0x2ec1d7['shift']());}catch(_0x457873){_0x2ec1d7['push'](_0x2ec1d7['shift']());}}}(_0x5ac4,0x9056f));function _0x5ac4(){const _0x5442c5=['2055292FATpFz','10pdytNu','標籤位置','新增列','新增欄','658747hsxfdQ','邊框顏色','標題文字','4956785bSWbyt','百分比','246UspCAF','資料標籤','378120jSvWPg','右縱軸','透明度','91hYfrEq','3035584prntnL','4238361YtuTXA','最小值','標籤文字','副標題','軸標題','1089jLFsrg','在此複製並貼上資料'];_0x5ac4=function(){return _0x5442c5;};return _0x5ac4();}function _0x36fe(_0x2a1b40,_0x4789e9){_0x2a1b40=_0x2a1b40-0xc1;const _0x5ac461=_0x5ac4();let _0x36fe06=_0x5ac461[_0x2a1b40];return _0x36fe06;}const e={'chart-ui':{'common':{'default':'預設','reset':'重置'},'presentation':{'wrapLegend':'圖例換行'},'inlineTable':{'pasteHint':_0x51e96d(0xc7),'addRow':_0x51e96d(0xcb),'addColumn':_0x51e96d(0xcc)},'floatMenu':{'menuTitle':{'chart':'圖表','chartTitle':'圖表標題','subtitle':_0x51e96d(0xc4),'axisTitle':_0x51e96d(0xc5),'legend':'圖例','horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':_0x51e96d(0xd5),'gridline':'網格線','tick':'刻度線','mark':'標記','series':'系列','dataPoint':'資料點','dataLabel':_0x51e96d(0xd3)},'field':{'title':'標題','subtitle':_0x51e96d(0xc4),'position':'位置','size':'字號','align':'對齊','mode':'模式','map':'映射','rotate':'旋轉','min':_0x51e96d(0xc2),'max':'最大值','color':'顏色','borderColor':_0x51e96d(0xce),'opacity':_0x51e96d(0xd6),'labelPosition':_0x51e96d(0xca),'labelText':_0x51e96d(0xc3),'titleText':_0x51e96d(0xcf)},'action':{'more':'更多','bold':'加粗','italic':'斜體'},'control':{'labels':'標籤','line':'軸線','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':'左對齊','center':'置中','right':'右對齊'},'position':{'top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏','inside':'內部','outside':'外部'},'labelText':{'category':'類別','value':'值','percentage':_0x51e96d(0xd1)},'axisAlign':{'start':'開始','center':'中間','end':'結束'},'legendSelectMode':{'single':'單選','multiple':'多選','close':'關閉'},'visualMapType':{'continuous':'連續','piecewise':'分段'}}}}};export{e as default};
1
+ function _0xb948(_0x5df4d0,_0x43b546){_0x5df4d0=_0x5df4d0-0x1b6;const _0x1b4ab6=_0x1b4a();let _0xb94853=_0x1b4ab6[_0x5df4d0];return _0xb94853;}const _0x29eea9=_0xb948;(function(_0x4c2f20,_0x187e53){const _0x3ff437=_0xb948,_0x226ff2=_0x4c2f20();while(!![]){try{const _0x2b2b7f=-parseInt(_0x3ff437(0x1c0))/0x1*(-parseInt(_0x3ff437(0x1c6))/0x2)+parseInt(_0x3ff437(0x1c2))/0x3+parseInt(_0x3ff437(0x1bf))/0x4+-parseInt(_0x3ff437(0x1cf))/0x5*(parseInt(_0x3ff437(0x1c1))/0x6)+-parseInt(_0x3ff437(0x1c3))/0x7+parseInt(_0x3ff437(0x1bd))/0x8+parseInt(_0x3ff437(0x1ca))/0x9;if(_0x2b2b7f===_0x187e53)break;else _0x226ff2['push'](_0x226ff2['shift']());}catch(_0xe012de){_0x226ff2['push'](_0x226ff2['shift']());}}}(_0x1b4a,0x97cd9));function _0x1b4a(){const _0x1ca02c=['1647060heWmde','8356453uGUBkr','資料點','副標題','317478zMJAif','標籤位置','百分比','標題文字','10135638fWhsoZ','資料標籤','最大值','軸標題','右縱軸','5ySAzRj','圖例換行','最小值','新增欄','標籤文字','左對齊','在此複製並貼上資料','透明度','網格線','276240ixOkoQ','右對齊','2161892FdyOxy','4IauYjs','6417582iMreBF'];_0x1b4a=function(){return _0x1ca02c;};return _0x1b4a();}const e={'chart-ui':{'common':{'default':'預設','reset':'重置'},'presentation':{'wrapLegend':_0x29eea9(0x1d0)},'inlineTable':{'pasteHint':_0x29eea9(0x1ba),'addRow':'新增列','addColumn':_0x29eea9(0x1b7)},'floatMenu':{'menuTitle':{'chart':'圖表','chartTitle':'圖表標題','subtitle':_0x29eea9(0x1c5),'axisTitle':_0x29eea9(0x1cd),'legend':'圖例','horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':_0x29eea9(0x1ce),'gridline':_0x29eea9(0x1bc),'tick':'刻度線','mark':'標記','series':'系列','dataPoint':_0x29eea9(0x1c4),'dataLabel':_0x29eea9(0x1cb)},'field':{'title':'標題','subtitle':_0x29eea9(0x1c5),'position':'位置','size':'字號','align':'對齊','mode':'模式','map':'映射','rotate':'旋轉','min':_0x29eea9(0x1b6),'max':_0x29eea9(0x1cc),'color':'顏色','borderColor':'邊框顏色','opacity':_0x29eea9(0x1bb),'labelPosition':_0x29eea9(0x1c7),'labelText':_0x29eea9(0x1b8),'titleText':_0x29eea9(0x1c9)},'action':{'more':'更多','bold':'加粗','italic':'斜體'},'control':{'labels':'標籤','line':'軸線','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':_0x29eea9(0x1b9),'center':'置中','right':_0x29eea9(0x1be)},'position':{'top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏','inside':'內部','outside':'外部'},'labelText':{'category':'類別','value':'值','percentage':_0x29eea9(0x1c8)},'axisAlign':{'start':'開始','center':'中間','end':'結束'},'legendSelectMode':{'single':'單選','multiple':'多選','close':'關閉'},'visualMapType':{'continuous':'連續','piecewise':'分段'}}}}};export{e as default};
@@ -7,9 +7,25 @@ export interface IChartEditPanelTabsProps<T extends string | number = string | n
7
7
  className?: string;
8
8
  items: Array<IChartEditPanelTabItem<T>>;
9
9
  value: T;
10
+ variant?: 'underline' | 'segmented';
10
11
  onChange: (value: T) => void;
11
12
  }
12
13
  export declare function ChartEditPanelTabs<T extends string | number = string | number>(props: IChartEditPanelTabsProps<T>): import("react").JSX.Element;
14
+ export interface IChartEditPanelScaffoldProps<T extends string | number = string | number> {
15
+ children: ReactNode;
16
+ className?: string;
17
+ contentClassName?: string;
18
+ footer?: ReactNode;
19
+ items: Array<IChartEditPanelTabItem<T>>;
20
+ onTabChange: (value: T) => void;
21
+ tab: T;
22
+ tabsClassName?: string;
23
+ }
24
+ /**
25
+ * Owns the shared sizing and scrolling contract for chart edit panels.
26
+ * Host packages should keep only their data and command integration outside this shell.
27
+ */
28
+ export declare function ChartEditPanelScaffold<T extends string | number = string | number>(props: IChartEditPanelScaffoldProps<T>): import("react").JSX.Element;
13
29
  export interface IChartEditBlockTitleProps {
14
30
  title: string;
15
31
  }
@@ -35,12 +35,15 @@ export interface IChartToggleFieldProps {
35
35
  }
36
36
  export declare function ChartToggleField(props: IChartToggleFieldProps): import("react").JSX.Element;
37
37
  export interface IChartNumberFieldProps {
38
+ allowClear?: boolean;
39
+ allowEmpty?: boolean;
38
40
  label: string;
39
41
  max?: number;
40
42
  min?: number;
41
43
  onChange: (value: number | undefined) => void;
44
+ precision?: number;
42
45
  step?: number;
43
- value?: number | null;
46
+ value?: number;
44
47
  }
45
48
  export declare function ChartNumberField(props: IChartNumberFieldProps): import("react").JSX.Element;
46
49
  export interface IChartTextFieldProps {
@@ -11,5 +11,10 @@ export declare function normalizeInlineTableValues<T extends ChartInlineCellValu
11
11
  export declare function appendInlineTableRow<T extends ChartInlineCellValue>(values: T[][]): T[][];
12
12
  export declare function appendInlineTableColumn<T extends ChartInlineCellValue>(values: T[][]): T[][];
13
13
  export declare function compactInlineTableValues<T extends ChartInlineCellValue>(values: T[][]): T[][];
14
+ /**
15
+ * Replaces a Docs/Slides/Boards inline table with the complete pasted matrix.
16
+ * The matrix follows the starter-data contract: downstream host adapters interpret
17
+ * row 0 as field names (`dimensions`) and all remaining rows as observations.
18
+ */
14
19
  export declare function applyInlineTablePaste<T extends ChartInlineCellValue>(pastedText: string, parsePastedText: (text: string) => T[][], minRows?: number, minColumns?: number): T[][] | null;
15
20
  export declare function ChartInlineTableEditor<T extends ChartInlineCellValue>(props: IChartInlineTableEditorProps<T>): import("react").JSX.Element;
@@ -1,8 +1,9 @@
1
1
  import { ChartTypeBits, LegendPositionEnum } from '@univerjs-pro/engine-chart';
2
- export interface IChartLegendWrapFieldProps {
2
+ interface IChartLegendWrapFieldProps {
3
3
  chartType?: ChartTypeBits;
4
4
  onChange: (wrap: boolean) => void;
5
5
  position?: LegendPositionEnum;
6
6
  wrap?: boolean;
7
7
  }
8
8
  export declare function ChartLegendWrapField(props: IChartLegendWrapFieldProps): import("react").JSX.Element | null;
9
+ export {};
@@ -0,0 +1,28 @@
1
+ import type { IChartContext } from '@univerjs-pro/engine-chart';
2
+ import { ChartTypeBits } from '@univerjs-pro/engine-chart';
3
+ export interface IChartSemanticFieldOption {
4
+ label: string;
5
+ value: string;
6
+ }
7
+ export interface IChartSemanticDataFieldLabels {
8
+ candlestick: {
9
+ category: string;
10
+ close: string;
11
+ high: string;
12
+ low: string;
13
+ open: string;
14
+ };
15
+ histogramValue: string;
16
+ treemapHierarchy: string;
17
+ treemapValue: string;
18
+ }
19
+ export interface IChartSemanticDataFieldsProps {
20
+ chartType: ChartTypeBits | undefined;
21
+ context: IChartContext;
22
+ fields: IChartSemanticFieldOption[];
23
+ labels: IChartSemanticDataFieldLabels;
24
+ onChange: (patch: Partial<IChartContext>) => void;
25
+ }
26
+ export type ChartSemanticDataFieldKind = 'candlestick' | 'histogram' | 'treemap' | 'category-series';
27
+ export declare function getChartSemanticDataFieldKind(chartType: ChartTypeBits | undefined): ChartSemanticDataFieldKind;
28
+ export declare function ChartSemanticDataFields(props: IChartSemanticDataFieldsProps): import("react").JSX.Element | null;
@@ -0,0 +1,13 @@
1
+ import type { ChartInlineCellValue } from './ChartInlineTableEditor';
2
+ import { ChartTypeBits } from '@univerjs-pro/engine-chart';
3
+ /** Locale keys required to label the shared inline-host chart starter tables. */
4
+ export type ChartInlineStarterDataLabelKey = 'candlestick.category' | 'candlestick.open' | 'candlestick.high' | 'candlestick.low' | 'candlestick.close' | 'histogram.value';
5
+ /** Resolves a shared starter-table label in the owning host locale. */
6
+ export type ChartInlineStarterDataLabelResolver = (key: ChartInlineStarterDataLabelKey) => string;
7
+ /** Returns the editable column floor for inline data owned by a chart type. */
8
+ export declare function getChartInlineTableMinColumns(chartType: ChartTypeBits): number;
9
+ /**
10
+ * Creates localized starter data shared by the Docs/Slides/Boards inline tables.
11
+ * Row 0 contains field names (`dimensions`); later rows are observations.
12
+ */
13
+ export declare function createChartInlineStarterData(chartType: ChartTypeBits, resolveLabel: ChartInlineStarterDataLabelResolver): ChartInlineCellValue[][] | undefined;
@@ -1,11 +1,14 @@
1
+ export { createChartInlineStarterData, getChartInlineTableMinColumns } from './chart-inline-starter-data';
2
+ export type { ChartInlineStarterDataLabelKey, ChartInlineStarterDataLabelResolver } from './chart-inline-starter-data';
1
3
  export { ChartCheckboxField, ChartColorField, ChartFontField, ChartNumberField, ChartPropertyField, ChartPropertyRow, ChartSelectField, ChartTextField, ChartToggleField, } from './ChartEditorFields';
2
4
  export type { IChartCheckboxFieldProps, IChartColorFieldProps, IChartEditorOption, IChartFontFieldProps, IChartNumberFieldProps, IChartPropertyFieldProps, IChartPropertyRowProps, IChartSelectFieldProps, IChartTextFieldProps, IChartToggleFieldProps, } from './ChartEditorFields';
3
- export { ChartEditBlockTitle, ChartEditPanelTabs } from './ChartEditPanelScaffold';
4
- export type { IChartEditBlockTitleProps, IChartEditPanelTabItem, IChartEditPanelTabsProps } from './ChartEditPanelScaffold';
5
+ export { ChartEditBlockTitle, ChartEditPanelScaffold, ChartEditPanelTabs } from './ChartEditPanelScaffold';
6
+ export type { IChartEditBlockTitleProps, IChartEditPanelScaffoldProps, IChartEditPanelTabItem, IChartEditPanelTabsProps, } from './ChartEditPanelScaffold';
5
7
  export { appendInlineTableColumn, appendInlineTableRow, applyInlineTablePaste, ChartInlineTableEditor, coerceInlineTableCell, compactInlineTableValues, normalizeInlineTableValues, } from './ChartInlineTableEditor';
6
8
  export type { ChartInlineCellValue, IChartInlineTableEditorProps, } from './ChartInlineTableEditor';
7
9
  export { ChartLegendWrapField } from './ChartPresentationFields';
8
- export type { IChartLegendWrapFieldProps } from './ChartPresentationFields';
10
+ export { ChartSemanticDataFields, getChartSemanticDataFieldKind } from './ChartSemanticDataFields';
11
+ export type { ChartSemanticDataFieldKind, IChartSemanticDataFieldLabels, IChartSemanticDataFieldsProps, IChartSemanticFieldOption, } from './ChartSemanticDataFields';
9
12
  export { buildChartThemeSelectOptions, buildChartTypeSelectOptions, chartBorderWidthValues, chartLinePointSizeValues, chartOpacityValues, chartTickLengthValues, chartTickWidthValues, chartTypeToIcon, createPercentOptions, createPxOptions, renderChartThemeColorStrip, renderChartTypeSelectLabel, } from './ChartTypeOptions';
10
13
  export type { IChartPrimitiveOption, IChartSelectOption, IChartTypeOption } from './ChartTypeOptions';
11
14
  export { ColorPickerControl } from './ColorPickerControl';
@@ -3,8 +3,8 @@ export { ChartDomFrame } from './chart-host/chart-dom-frame';
3
3
  export { ChartFrameContentMode, ChartFrameLayout } from './chart-host/chart-frame-layout';
4
4
  export { CHART_DOM_HOST_Z_INDEX, CHART_HOST_BORDER_RADIUS, MIN_CHART_HOST_DIMENSION } from './chart-host/constants';
5
5
  export { ChartPointMappingStateKey } from './chart-state/constants';
6
- export { appendInlineTableColumn, appendInlineTableRow, applyInlineTablePaste, buildChartThemeSelectOptions, buildChartTypeSelectOptions, chartBorderWidthValues, ChartCheckboxField, ChartColorField, ChartEditBlockTitle, ChartEditPanelTabs, ChartFontField, ChartInlineTableEditor, ChartLegendWrapField, chartLinePointSizeValues, ChartNumberField, chartOpacityValues, ChartPropertyField, ChartPropertyRow, ChartSelectField, ChartTextField, chartTickLengthValues, chartTickWidthValues, ChartToggleField, chartTypeToIcon, coerceInlineTableCell, compactInlineTableValues, createPercentOptions, createPxOptions, FontAlignSelector, FontColorSelector, FontFormatBar, FontFormatToggle, FontSizeSelector, normalizeInlineTableValues, renderChartThemeColorStrip, renderChartTypeSelectLabel, } from './components';
7
- export type { IChartLegendWrapFieldProps, IChartPrimitiveOption, IChartSelectOption, IChartTypeOption, } from './components';
6
+ export { appendInlineTableColumn, appendInlineTableRow, applyInlineTablePaste, buildChartThemeSelectOptions, buildChartTypeSelectOptions, chartBorderWidthValues, ChartCheckboxField, ChartColorField, ChartEditBlockTitle, ChartEditPanelScaffold, ChartEditPanelTabs, ChartFontField, ChartInlineTableEditor, ChartLegendWrapField, chartLinePointSizeValues, ChartNumberField, chartOpacityValues, ChartPropertyField, ChartPropertyRow, ChartSelectField, ChartSemanticDataFields, ChartTextField, chartTickLengthValues, chartTickWidthValues, ChartToggleField, chartTypeToIcon, coerceInlineTableCell, compactInlineTableValues, createChartInlineStarterData, createPercentOptions, createPxOptions, FontAlignSelector, FontColorSelector, FontFormatBar, FontFormatToggle, FontSizeSelector, getChartInlineTableMinColumns, getChartSemanticDataFieldKind, normalizeInlineTableValues, renderChartThemeColorStrip, renderChartTypeSelectLabel, } from './components';
7
+ export type { ChartInlineStarterDataLabelKey, ChartInlineStarterDataLabelResolver, ChartSemanticDataFieldKind, IChartEditPanelScaffoldProps, IChartPrimitiveOption, IChartSelectOption, IChartSemanticDataFieldLabels, IChartSemanticDataFieldsProps, IChartSemanticFieldOption, IChartTypeOption, } from './components';
8
8
  export { ColorPickerControl } from './components/ColorPickerControl';
9
9
  export type { IColorPickerControlProps } from './components/ColorPickerControl';
10
10
  export { DropdownSelector } from './components/DropdownSelector';