@univerjs-pro/chart-ui 1.0.0-alpha.6 → 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 (91) 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 +6 -3
  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/ColorPickerControl.d.ts +2 -1
  68. package/lib/types/components/chart-inline-starter-data.d.ts +13 -0
  69. package/lib/types/components/index.d.ts +6 -3
  70. package/lib/types/index.d.ts +2 -2
  71. package/lib/umd/index.js +1 -1
  72. package/lib/umd/locale/ar-SA.js +1 -1
  73. package/lib/umd/locale/ca-ES.js +1 -1
  74. package/lib/umd/locale/de-DE.js +1 -1
  75. package/lib/umd/locale/en-US.js +1 -1
  76. package/lib/umd/locale/es-ES.js +1 -1
  77. package/lib/umd/locale/fa-IR.js +1 -1
  78. package/lib/umd/locale/fr-FR.js +1 -1
  79. package/lib/umd/locale/id-ID.js +1 -1
  80. package/lib/umd/locale/it-IT.js +1 -1
  81. package/lib/umd/locale/ja-JP.js +1 -1
  82. package/lib/umd/locale/ko-KR.js +1 -1
  83. package/lib/umd/locale/pl-PL.js +1 -1
  84. package/lib/umd/locale/pt-BR.js +1 -1
  85. package/lib/umd/locale/ru-RU.js +1 -1
  86. package/lib/umd/locale/sk-SK.js +1 -1
  87. package/lib/umd/locale/vi-VN.js +1 -1
  88. package/lib/umd/locale/zh-CN.js +1 -1
  89. package/lib/umd/locale/zh-HK.js +1 -1
  90. package/lib/umd/locale/zh-TW.js +1 -1
  91. package/package.json +8 -7
@@ -1 +1 @@
1
- const _0x147a23=_0x24a0;(function(_0x1dfae6,_0x211ffd){const _0x3195ff=_0x24a0,_0x158997=_0x1dfae6();while(!![]){try{const _0x96b76e=-parseInt(_0x3195ff(0x1d0))/0x1*(parseInt(_0x3195ff(0x1ce))/0x2)+parseInt(_0x3195ff(0x1d2))/0x3+parseInt(_0x3195ff(0x1c3))/0x4+parseInt(_0x3195ff(0x1d9))/0x5+parseInt(_0x3195ff(0x1c4))/0x6*(-parseInt(_0x3195ff(0x1d5))/0x7)+parseInt(_0x3195ff(0x1ca))/0x8+-parseInt(_0x3195ff(0x1cd))/0x9;if(_0x96b76e===_0x211ffd)break;else _0x158997['push'](_0x158997['shift']());}catch(_0xe9cb4b){_0x158997['push'](_0x158997['shift']());}}}(_0x4497,0x36663));const e={'chart-ui':{'common':{'default':'默认','reset':'重置'},'presentation':{'wrapLegend':_0x147a23(0x1d6)},'inlineTable':{'pasteHint':_0x147a23(0x1c8),'addRow':_0x147a23(0x1c5),'addColumn':_0x147a23(0x1d4)},'floatMenu':{'menuTitle':{'chart':'图表','chartTitle':'图表标题','subtitle':_0x147a23(0x1d1),'axisTitle':_0x147a23(0x1cc),'legend':'图例','horizontalAxis':'横轴','verticalAxis':'纵轴','rightVerticalAxis':_0x147a23(0x1d8),'gridline':_0x147a23(0x1da),'tick':'刻度线','mark':'标记','series':'系列','dataPoint':_0x147a23(0x1cf),'dataLabel':_0x147a23(0x1c9)},'field':{'title':'标题','subtitle':_0x147a23(0x1d1),'position':'位置','size':'字号','align':'对齐','mode':'模式','map':'映射','rotate':'旋转','min':'最小值','max':_0x147a23(0x1db),'color':'颜色','borderColor':_0x147a23(0x1c6),'opacity':_0x147a23(0x1dc),'labelPosition':_0x147a23(0x1c7),'labelText':'标签文本','titleText':_0x147a23(0x1d3)},'action':{'more':'更多','bold':'加粗','italic':'斜体'},'control':{'labels':'标签','line':'轴线','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':_0x147a23(0x1cb),'center':'居中','right':'右对齐'},'position':{'top':'顶部','bottom':'底部','left':'左侧','right':'右侧','hide':'隐藏','inside':'内部','outside':'外部'},'labelText':{'category':'类别','value':'值','percentage':_0x147a23(0x1d7)},'axisAlign':{'start':'开始','center':'中间','end':'结束'},'legendSelectMode':{'single':'单选','multiple':'多选','close':'关闭'},'visualMapType':{'continuous':'连续','piecewise':'分段'}}}}};function _0x24a0(_0x4775ed,_0x460b20){_0x4775ed=_0x4775ed-0x1c3;const _0x4497b6=_0x4497();let _0x24a0df=_0x4497b6[_0x4775ed];return _0x24a0df;}function _0x4497(){const _0x794036=['透明度','546932HFGxOK','63366joEFvt','新增行','边框颜色','标签位置','可从\x20Sheets、Excel\x20或网页表格直接粘贴,替换当前数据。','数据标签','56696shqLEo','左对齐','轴标题','817470nHgTLP','2104uZfnCd','数据点','39DzNGIk','副标题','750450RZgyzu','标题文本','新增列','35GGxXYG','图例换行','百分比','右纵轴','67560hgLgLU','网格线','最大值'];_0x4497=function(){return _0x794036;};return _0x4497();}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 _0x2ca6(_0x167a50,_0x3d9acd){_0x167a50=_0x167a50-0x167;const _0x5cf230=_0x5cf2();let _0x2ca601=_0x5cf230[_0x167a50];return _0x2ca601;}const _0x523319=_0x2ca6;(function(_0x31ffc1,_0x2d5640){const _0x57926e=_0x2ca6,_0x1e7948=_0x31ffc1();while(!![]){try{const _0x1ae93a=parseInt(_0x57926e(0x180))/0x1*(-parseInt(_0x57926e(0x169))/0x2)+parseInt(_0x57926e(0x177))/0x3*(parseInt(_0x57926e(0x182))/0x4)+-parseInt(_0x57926e(0x17a))/0x5*(parseInt(_0x57926e(0x16e))/0x6)+-parseInt(_0x57926e(0x170))/0x7*(parseInt(_0x57926e(0x16b))/0x8)+parseInt(_0x57926e(0x171))/0x9*(parseInt(_0x57926e(0x176))/0xa)+-parseInt(_0x57926e(0x17f))/0xb*(-parseInt(_0x57926e(0x16c))/0xc)+parseInt(_0x57926e(0x175))/0xd*(parseInt(_0x57926e(0x185))/0xe);if(_0x1ae93a===_0x2d5640)break;else _0x1e7948['push'](_0x1e7948['shift']());}catch(_0x1a90cd){_0x1e7948['push'](_0x1e7948['shift']());}}}(_0x5cf2,0xeedc6));const e={'chart-ui':{'common':{'default':'預設','reset':'重置'},'presentation':{'wrapLegend':_0x523319(0x17b)},'inlineTable':{'pasteHint':_0x523319(0x183),'addRow':_0x523319(0x16f),'addColumn':_0x523319(0x172)},'floatMenu':{'menuTitle':{'chart':'圖表','chartTitle':_0x523319(0x17d),'subtitle':_0x523319(0x184),'axisTitle':'軸標題','legend':'圖例','horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':_0x523319(0x181),'gridline':'網格線','tick':'刻度線','mark':'標記','series':'系列','dataPoint':'資料點','dataLabel':_0x523319(0x17c)},'field':{'title':'標題','subtitle':'副標題','position':'位置','size':'字號','align':'對齊','mode':'模式','map':'映射','rotate':'旋轉','min':_0x523319(0x174),'max':_0x523319(0x173),'color':'顏色','borderColor':_0x523319(0x167),'opacity':_0x523319(0x178),'labelPosition':_0x523319(0x17e),'labelText':'標籤文字','titleText':_0x523319(0x16d)},'action':{'more':'更多','bold':'加粗','italic':'斜體'},'control':{'labels':'標籤','line':'軸線','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':_0x523319(0x168),'center':'置中','right':_0x523319(0x16a)},'position':{'top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏','inside':'內部','outside':'外部'},'labelText':{'category':'類別','value':'值','percentage':_0x523319(0x179)},'axisAlign':{'start':'開始','center':'中間','end':'結束'},'legendSelectMode':{'single':'單選','multiple':'多選','close':'關閉'},'visualMapType':{'continuous':'連續','piecewise':'分段'}}}}};export{e as default};function _0x5cf2(){const _0x520155=['左對齊','10BtUNDi','右對齊','10973624OuYRHX','29676rMHHCF','標題文字','32514MwJIdG','新增列','7SvvALq','777528WfbUJM','新增欄','最大值','最小值','2905799gpiuhR','80GoGFvB','3205023DykttS','透明度','百分比','910OKeljC','圖例換行','資料標籤','圖表標題','標籤位置','4587PqtYha','293218hYIoAh','右縱軸','4BcKafe','在此複製並貼上資料','副標題','126DilsGJ','邊框顏色'];_0x5cf2=function(){return _0x520155;};return _0x5cf2();}
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
- function _0x3e4b(){const _0x1c6297=['標籤位置','資料點','軸標題','4933964OdksGN','圖例換行','資料標籤','新增欄','20YbIryB','標籤文字','邊框顏色','52106AsnTzm','8486361SGNxOQ','副標題','最大值','34WzNZAi','新增列','右對齊','29080740PcqZEp','標題文字','圖表標題','左對齊','1307512RjXpCJ','刻度線','172bHOLHw','百分比','7863Ywloia','最小值','123318ZAgCRX','在此複製並貼上資料'];_0x3e4b=function(){return _0x1c6297;};return _0x3e4b();}const _0x3db326=_0x1eac;(function(_0x52cc4c,_0xb2e6bc){const _0x37033f=_0x1eac,_0x59f1d6=_0x52cc4c();while(!![]){try{const _0x18fd64=-parseInt(_0x37033f(0xb6))/0x1*(parseInt(_0x37033f(0xba))/0x2)+-parseInt(_0x37033f(0xa8))/0x3*(parseInt(_0x37033f(0xa6))/0x4)+-parseInt(_0x37033f(0xb3))/0x5*(-parseInt(_0x37033f(0xaa))/0x6)+-parseInt(_0x37033f(0xaf))/0x7+parseInt(_0x37033f(0xa4))/0x8+-parseInt(_0x37033f(0xb7))/0x9+parseInt(_0x37033f(0xbd))/0xa;if(_0x18fd64===_0xb2e6bc)break;else _0x59f1d6['push'](_0x59f1d6['shift']());}catch(_0x1aafe4){_0x59f1d6['push'](_0x59f1d6['shift']());}}}(_0x3e4b,0x7be2f));const e={'chart-ui':{'common':{'default':'預設','reset':'重置'},'presentation':{'wrapLegend':_0x3db326(0xb0)},'inlineTable':{'pasteHint':_0x3db326(0xab),'addRow':_0x3db326(0xbb),'addColumn':_0x3db326(0xb2)},'floatMenu':{'menuTitle':{'chart':'圖表','chartTitle':_0x3db326(0xbf),'subtitle':_0x3db326(0xb8),'axisTitle':_0x3db326(0xae),'legend':'圖例','horizontalAxis':'橫軸','verticalAxis':'縱軸','rightVerticalAxis':'右縱軸','gridline':'網格線','tick':_0x3db326(0xa5),'mark':'標記','series':'系列','dataPoint':_0x3db326(0xad),'dataLabel':_0x3db326(0xb1)},'field':{'title':'標題','subtitle':_0x3db326(0xb8),'position':'位置','size':'字號','align':'對齊','mode':'模式','map':'映射','rotate':'旋轉','min':_0x3db326(0xa9),'max':_0x3db326(0xb9),'color':'顏色','borderColor':_0x3db326(0xb5),'opacity':'透明度','labelPosition':_0x3db326(0xac),'labelText':_0x3db326(0xb4),'titleText':_0x3db326(0xbe)},'action':{'more':'更多','bold':'加粗','italic':'斜體'},'control':{'labels':'標籤','line':'軸線','reverse':'反向','date':'日期'},'option':{'textAlign':{'left':_0x3db326(0xc0),'center':'置中','right':_0x3db326(0xbc)},'position':{'top':'頂部','bottom':'底部','left':'左側','right':'右側','hide':'隱藏','inside':'內部','outside':'外部'},'labelText':{'category':'類別','value':'值','percentage':_0x3db326(0xa7)},'axisAlign':{'start':'開始','center':'中間','end':'結束'},'legendSelectMode':{'single':'單選','multiple':'多選','close':'關閉'},'visualMapType':{'continuous':'連續','piecewise':'分段'}}}}};function _0x1eac(_0xc1aa1b,_0x24c804){_0xc1aa1b=_0xc1aa1b-0xa4;const _0x3e4b09=_0x3e4b();let _0x1eac87=_0x3e4b09[_0xc1aa1b];return _0x1eac87;}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
  }
@@ -1,4 +1,4 @@
1
- import type { ILabelStyle } from '@univerjs-pro/engine-chart';
1
+ import type { ChartColor, ILabelStyle } from '@univerjs-pro/engine-chart';
2
2
  import type { Nullable } from '@univerjs/core';
3
3
  import type { ReactNode } from 'react';
4
4
  export interface IChartEditorOption<T extends string = string> {
@@ -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 {
@@ -53,7 +56,7 @@ export declare function ChartTextField(props: IChartTextFieldProps): import("rea
53
56
  export interface IChartColorFieldProps {
54
57
  label: string;
55
58
  onChange: (value: Nullable<string>) => void;
56
- value?: Nullable<string>;
59
+ value?: Nullable<ChartColor>;
57
60
  }
58
61
  export declare function ChartColorField(props: IChartColorFieldProps): import("react").JSX.Element;
59
62
  export interface IChartFontFieldProps {
@@ -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;
@@ -1,8 +1,9 @@
1
+ import type { ChartColor } from '@univerjs-pro/engine-chart';
1
2
  import type { Nullable } from '@univerjs/core';
2
3
  import type { ReactElement } from 'react';
3
4
  export interface IColorPickerControlProps {
4
5
  ariaLabel?: string;
5
- color: Nullable<string>;
6
+ color: Nullable<ChartColor>;
6
7
  compact?: boolean;
7
8
  onChange?: (color: Nullable<string>) => void;
8
9
  }
@@ -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';