@univerjs-pro/sheets-chart 1.0.0-alpha.8 → 1.0.0-beta.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.
Files changed (101) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/chart-source/source-util.d.ts +0 -20
  65. package/lib/types/commands/chart-persisted-context.d.ts +3 -0
  66. package/lib/types/commands/commands/sheets-chart-update-config.command.d.ts +7 -3
  67. package/lib/types/commands/mutations/sheets-chart-update-config.mutation.d.ts +3 -3
  68. package/lib/types/common/util.d.ts +2 -0
  69. package/lib/types/config/config.d.ts +0 -2
  70. package/lib/types/facade/index.d.ts +2 -2
  71. package/lib/types/index.d.ts +10 -3
  72. package/lib/types/locale/en-US.d.ts +37 -2
  73. package/lib/types/plugin.d.ts +0 -1
  74. package/lib/types/services/chart-model.service.d.ts +12 -14
  75. package/lib/types/services/sheet-chart-range-watcher.d.ts +5 -5
  76. package/lib/types/services/sheets-chart.service.d.ts +4 -5
  77. package/lib/umd/facade.js +1 -1
  78. package/lib/umd/index.js +1 -1
  79. package/lib/umd/locale/ar-SA.js +1 -1
  80. package/lib/umd/locale/ca-ES.js +1 -1
  81. package/lib/umd/locale/de-DE.js +1 -1
  82. package/lib/umd/locale/en-US.js +1 -1
  83. package/lib/umd/locale/es-ES.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/fr-FR.js +1 -1
  86. package/lib/umd/locale/id-ID.js +1 -1
  87. package/lib/umd/locale/it-IT.js +1 -1
  88. package/lib/umd/locale/ja-JP.js +1 -1
  89. package/lib/umd/locale/ko-KR.js +1 -1
  90. package/lib/umd/locale/pl-PL.js +1 -1
  91. package/lib/umd/locale/pt-BR.js +1 -1
  92. package/lib/umd/locale/ru-RU.js +1 -1
  93. package/lib/umd/locale/sk-SK.js +1 -1
  94. package/lib/umd/locale/vi-VN.js +1 -1
  95. package/lib/umd/locale/zh-CN.js +1 -1
  96. package/lib/umd/locale/zh-HK.js +1 -1
  97. package/lib/umd/locale/zh-TW.js +1 -1
  98. package/package.json +9 -9
  99. package/lib/types/chart-builder/index.d.ts +0 -10
  100. package/lib/types/facade/chart/index.d.ts +0 -2
  101. package/lib/types/models/chart-model.d.ts +0 -22
@@ -1 +1 @@
1
- function _0x5287(){var _0x4c3c28=['第三四分位数','671128PybwOp','关系图数据源为额外添加类型列在第二列的共词矩阵','最大值','类别\x20{0}','6490032kFWxqz','累积占比','Low','13052520ZUoasB','192150zoYdlS','请先添加系列开始数据可视化','229654WVopqF','Open','第一四分位数','中位数','(空)','Close','气泡图至少需要2列,X轴、Y轴。','function','OHLC','6FKXQCG','13623qrKrqx','5CpxsyB','836NnCsCj','6853924flQzGL','object','UniverProSheetsChartZhCN','系列\x20{0}','自身值','Category','297CkPTkE','桑基图不能包含循环数据','27DNUMXL'];_0x5287=function(){return _0x4c3c28;};return _0x5287();}function _0x3518(_0x56ed78,_0x85fbc8){_0x56ed78=_0x56ed78-0x1eb;var _0x528771=_0x5287();var _0x351847=_0x528771[_0x56ed78];return _0x351847;}(function(_0x3133bb,_0x311f38){var _0x117d8b=_0x3518,_0x283565=_0x3133bb();while(!![]){try{var _0x53e435=parseInt(_0x117d8b(0x1fe))/0x1*(parseInt(_0x117d8b(0x207))/0x2)+parseInt(_0x117d8b(0x208))/0x3*(-parseInt(_0x117d8b(0x20a))/0x4)+parseInt(_0x117d8b(0x209))/0x5*(parseInt(_0x117d8b(0x1f8))/0x6)+-parseInt(_0x117d8b(0x20b))/0x7+-parseInt(_0x117d8b(0x1f4))/0x8*(-parseInt(_0x117d8b(0x1f2))/0x9)+parseInt(_0x117d8b(0x1fc))/0xa*(-parseInt(_0x117d8b(0x1f0))/0xb)+parseInt(_0x117d8b(0x1fb))/0xc;if(_0x53e435===_0x311f38)break;else _0x283565['push'](_0x283565['shift']());}catch(_0x34064a){_0x283565['push'](_0x283565['shift']());}}}(_0x5287,0xa1de3),function(_0x4f3a99,_0xfb3299){var _0x46618d=_0x3518;typeof exports==_0x46618d(0x1eb)&&typeof module<'u'?module['exports']=_0xfb3299():typeof define==_0x46618d(0x205)&&define['amd']?define([],_0xfb3299):(_0x4f3a99=typeof globalThis<'u'?globalThis:_0x4f3a99||self,_0x4f3a99[_0x46618d(0x1ec)]=_0xfb3299());}(this,function(){var _0x799771=_0x3518;return{'sheets-chart':{'category':'类别','series':'系列','seriesDefaultName':_0x799771(0x1ed),'categoryDefaultName':_0x799771(0x1f7),'blank':_0x799771(0x202),'msg':{'emptyTips':_0x799771(0x1fd),'sankeyCircularTips':_0x799771(0x1f1)},'bubble':{'emptyTips':_0x799771(0x204)},'relation':{'emptyTips':_0x799771(0x1f5)},'cloud':{'word':'词语','frequency':'频率'},'waterfall':{'positive':'正值','negative':'负值','subtotal':'小计'},'pareto':{'lineName':_0x799771(0x1f9)},'candlestick':{'series':_0x799771(0x206),'category':_0x799771(0x1ef),'open':_0x799771(0x1ff),'high':'High','low':_0x799771(0x1fa),'close':_0x799771(0x203)},'boxplot':{'min':'最小值','q1':_0x799771(0x200),'median':_0x799771(0x201),'q3':_0x799771(0x1f3),'max':_0x799771(0x1f6)},'histogram':{'frequency':'频数'},'treemap':{'hierarchy':'层级','value':'','ownValue':_0x799771(0x1ee),'children':'子项'}}};}));
1
+ (function(_0x2b7e4a,_0x1d8b40){var _0x534a08=_0x31b8,_0x1821c7=_0x2b7e4a();while(!![]){try{var _0x1d6862=parseInt(_0x534a08(0x20d))/0x1+-parseInt(_0x534a08(0x206))/0x2+-parseInt(_0x534a08(0x216))/0x3*(parseInt(_0x534a08(0x200))/0x4)+-parseInt(_0x534a08(0x20e))/0x5+-parseInt(_0x534a08(0x218))/0x6*(parseInt(_0x534a08(0x211))/0x7)+parseInt(_0x534a08(0x1fe))/0x8+parseInt(_0x534a08(0x217))/0x9;if(_0x1d6862===_0x1d8b40)break;else _0x1821c7['push'](_0x1821c7['shift']());}catch(_0x306e5d){_0x1821c7['push'](_0x1821c7['shift']());}}}(_0x312d,0x4ce83),function(_0x514ac5,_0x3f44fd){var _0x42597d=_0x31b8;typeof exports=='object'&&typeof module<'u'?module[_0x42597d(0x20b)]=_0x3f44fd():typeof define==_0x42597d(0x1f3)&&define[_0x42597d(0x20a)]?define([],_0x3f44fd):(_0x514ac5=typeof globalThis<'u'?globalThis:_0x514ac5||self,_0x514ac5[_0x42597d(0x209)]=_0x3f44fd());}(this,function(){var _0x145f15=_0x31b8;return{'sheets-chart':{'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x145f15(0x208),'blank':_0x145f15(0x1ff),'msg':{'emptyTips':'请先添加系列开始数据可视化','sankeyCircularTips':_0x145f15(0x1fb)},'bubble':{'emptyTips':'气泡图至少需要2列,X轴、Y轴。'},'relation':{'emptyTips':_0x145f15(0x204)},'cloud':{'word':'词语','frequency':'频率'},'waterfall':{'positive':'正值','negative':'负值','subtotal':'小计'},'pareto':{'lineName':'累积占比'},'boxplot':{'min':_0x145f15(0x1f8),'q1':_0x145f15(0x215),'median':_0x145f15(0x20c),'q3':'第三四分位数','max':_0x145f15(0x212)},'candlestick':{'series':_0x145f15(0x1fa),'category':_0x145f15(0x1f4),'open':'开盘','high':'最高','low':'最低','close':'收盘'},'histogram':{'frequency':'频数'},'pie':{'aggregateOther':'其他','aggregateMembers':_0x145f15(0x1f5)},'treemap':{'hierarchy':'层级字段','value':_0x145f15(0x201),'ownValue':'自身值','children':'子项','diagnostic':_0x145f15(0x214)},'sunburst':{'hierarchy':'层级','value':_0x145f15(0x203),'ownValue':_0x145f15(0x202),'children':'子项','diagnostic':'旭日图至少需要一个层级字段和一个数值字段。'},'gauge':{'label':'标签','value':_0x145f15(0x203),'emptyDiagnostic':'仪表图至少需要一个有限数值。','mappingDiagnostic':'仪表图需要一个标签字段且只能有一个数值字段。','configDiagnostic':_0x145f15(0x20f)},'chord':{'emptyDiagnostic':_0x145f15(0x207),'mappingDiagnostic':_0x145f15(0x205),'configDiagnostic':_0x145f15(0x1fd),'source':'来源','target':'目标','value':_0x145f15(0x203),'count':_0x145f15(0x1f7),'associatedValue':'关联值'},'chartField':{'missingCategoryFields':_0x145f15(0x1f6),'missingSeriesFields':_0x145f15(0x1fc),'invalidFieldIndex':_0x145f15(0x213),'invalidValueFieldType':_0x145f15(0x219),'invalidDataStructure':_0x145f15(0x1f9),'unsupportedChartType':_0x145f15(0x210)}}};}));function _0x31b8(_0x516791,_0x5676d4){_0x516791=_0x516791-0x1f3;var _0x312dd3=_0x312d();var _0x31b865=_0x312dd3[_0x516791];return _0x31b865;}function _0x312d(){var _0x3da5b6=['弦图至少需要两个不同节点之间的一条正权重关系。','类别\x20{0}','UniverProSheetsChartZhCN','amd','exports','中位数','405429ArAMzG','691240TnLbaV','仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。','此图表类型没有字段使用规则。','1309903XVCSfR','最大值','所选图表字段已不可用。','矩形树图至少需要一个层级字段和一个数值字段。','第一四分位数','3NLPHUJ','5075532MMsaPk','12HvQdFm','所选值字段不包含数值数据。','function','Category','成员数','此图表需要更多标签字段。','关系计数','最小值','所选字段无法构成此图表所需的有效数据结构。','OHLC\x20系列','桑基图不能包含循环数据','此图表需要更多数值字段。','弦图配置无效,请检查角度、半径、不透明度和尺寸。','3855232MvTygI','(空)','2159624NRmNDE','数值字段','自身值','Value','关系图数据源为额外添加类型列在第二列的共词矩阵','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','167716EKdeAJ'];_0x312d=function(){return _0x3da5b6;};return _0x312d();}
@@ -1 +1 @@
1
- function _0x43ca(_0x1564e1,_0x79773){_0x1564e1=_0x1564e1-0x65;var _0x56e21a=_0x56e2();var _0x43ca70=_0x56e21a[_0x1564e1];return _0x43ca70;}function _0x56e2(){var _0x29f972=['UniverProSheetsChartZhHK','最大值','4285259iGlZbC','object','503044LiFAyO','170KTAsYi','336834SpWjzt','3SUGpog','中位數','第三四分位數','(空)','115074qfLlrP','最小值','34540cnEiok','4AOYrXE','54778VrmIzR','類別\x20{0}','Open','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','Close','請先添加系列開始數據可視化','function','exports','amd','336MtGUaY','31576pIZUXB','桑基圖不能包含循環數據','OHLC'];_0x56e2=function(){return _0x29f972;};return _0x56e2();}(function(_0x453690,_0x26d2d4){var _0x17f32b=_0x43ca,_0x2ec958=_0x453690();while(!![]){try{var _0x1caa09=-parseInt(_0x17f32b(0x6d))/0x1*(-parseInt(_0x17f32b(0x6c))/0x2)+parseInt(_0x17f32b(0x65))/0x3*(parseInt(_0x17f32b(0x7e))/0x4)+parseInt(_0x17f32b(0x6b))/0x5+-parseInt(_0x17f32b(0x80))/0x6+-parseInt(_0x17f32b(0x76))/0x7*(parseInt(_0x17f32b(0x77))/0x8)+parseInt(_0x17f32b(0x69))/0x9*(-parseInt(_0x17f32b(0x7f))/0xa)+parseInt(_0x17f32b(0x7c))/0xb;if(_0x1caa09===_0x26d2d4)break;else _0x2ec958['push'](_0x2ec958['shift']());}catch(_0x4b7398){_0x2ec958['push'](_0x2ec958['shift']());}}}(_0x56e2,0x29385),function(_0x228d15,_0x2c818f){var _0xcd2c23=_0x43ca;typeof exports==_0xcd2c23(0x7d)&&typeof module<'u'?module[_0xcd2c23(0x74)]=_0x2c818f():typeof define==_0xcd2c23(0x73)&&define[_0xcd2c23(0x75)]?define([],_0x2c818f):(_0x228d15=typeof globalThis<'u'?globalThis:_0x228d15||self,_0x228d15[_0xcd2c23(0x7a)]=_0x2c818f());}(this,function(){var _0x2dd588=_0x43ca;return{'sheets-chart':{'category':'類別','series':'系列','seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x2dd588(0x6e),'blank':_0x2dd588(0x68),'msg':{'emptyTips':_0x2dd588(0x72),'sankeyCircularTips':_0x2dd588(0x78)},'bubble':{'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'emptyTips':_0x2dd588(0x70)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':'累積占比'},'candlestick':{'series':_0x2dd588(0x79),'category':'Category','open':_0x2dd588(0x6f),'high':'High','low':'Low','close':_0x2dd588(0x71)},'boxplot':{'min':_0x2dd588(0x6a),'q1':'第一四分位數','median':_0x2dd588(0x66),'q3':_0x2dd588(0x67),'max':_0x2dd588(0x7b)},'histogram':{'frequency':'頻數'},'treemap':{'hierarchy':'層級','value':'','ownValue':'自身值','children':'子項'}}};}));
1
+ function _0x4ae2(_0x45906f,_0x5380a4){_0x45906f=_0x45906f-0x1b0;var _0x1c37f6=_0x1c37();var _0x4ae203=_0x1c37f6[_0x45906f];return _0x4ae203;}function _0x1c37(){var _0x4c51e2=['請先添加系列開始數據可視化','2519190RXGJAu','6JOxNix','292QRzeYB','10160336jTUAEE','收盤價','自身值','開盤價','所選數值欄位不包含數值資料。','exports','旭日圖至少需要一個階層欄位和一個數值欄位。','1123855OEnQsf','第一四分位數','關係數','此圖表類型沒有欄位使用規則。','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','所選欄位無法構成此圖表所需的有效資料結構。','中位數','此圖表需要更多標籤欄位。','最小值','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','數值欄位','桑基圖不能包含循環數據','累積占比','8139jGwnmb','function','360525XlLklE','15177033AeyKVG','類別\x20{0}','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','(空)','矩形樹圖至少需要一個階層欄位和一個數值欄位。','25669700kxheyC','所選圖表欄位已無法使用。','Value','系列\x20{0}','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','最高價','amd','氣泡圖至少需要2欄,X軸、Y軸。','此圖表需要更多數值欄位。','關聯值','7giRzwV','object','最低價'];_0x1c37=function(){return _0x4c51e2;};return _0x1c37();}(function(_0x3f355f,_0x1cc4a7){var _0x395a01=_0x4ae2,_0x44fbbf=_0x3f355f();while(!![]){try{var _0x217276=-parseInt(_0x395a01(0x1d9))/0x1+parseInt(_0x395a01(0x1c0))/0x2+-parseInt(_0x395a01(0x1d7))/0x3*(parseInt(_0x395a01(0x1c2))/0x4)+parseInt(_0x395a01(0x1ca))/0x5*(-parseInt(_0x395a01(0x1c1))/0x6)+parseInt(_0x395a01(0x1bc))/0x7*(parseInt(_0x395a01(0x1c3))/0x8)+parseInt(_0x395a01(0x1da))/0x9+-parseInt(_0x395a01(0x1b1))/0xa;if(_0x217276===_0x1cc4a7)break;else _0x44fbbf['push'](_0x44fbbf['shift']());}catch(_0x32ac25){_0x44fbbf['push'](_0x44fbbf['shift']());}}}(_0x1c37,0xd357b),function(_0x39b6d1,_0x40b128){var _0x1e6ab6=_0x4ae2;typeof exports==_0x1e6ab6(0x1bd)&&typeof module<'u'?module[_0x1e6ab6(0x1c8)]=_0x40b128():typeof define==_0x1e6ab6(0x1d8)&&define[_0x1e6ab6(0x1b8)]?define([],_0x40b128):(_0x39b6d1=typeof globalThis<'u'?globalThis:_0x39b6d1||self,_0x39b6d1['UniverProSheetsChartZhHK']=_0x40b128());}(this,function(){var _0x26bff0=_0x4ae2;return{'sheets-chart':{'seriesDefaultName':_0x26bff0(0x1b4),'categoryDefaultName':_0x26bff0(0x1db),'blank':_0x26bff0(0x1dd),'msg':{'emptyTips':_0x26bff0(0x1bf),'sankeyCircularTips':_0x26bff0(0x1d5)},'bubble':{'emptyTips':_0x26bff0(0x1b9)},'relation':{'emptyTips':_0x26bff0(0x1d3)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x26bff0(0x1d6)},'boxplot':{'min':_0x26bff0(0x1d2),'q1':_0x26bff0(0x1cb),'median':_0x26bff0(0x1d0),'q3':'第三四分位數','max':'最大值'},'candlestick':{'series':'OHLC\x20數列','category':'Category','open':_0x26bff0(0x1c6),'high':_0x26bff0(0x1b7),'low':_0x26bff0(0x1be),'close':_0x26bff0(0x1c4)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':'階層欄位','value':_0x26bff0(0x1d4),'ownValue':_0x26bff0(0x1c5),'children':'子項','diagnostic':_0x26bff0(0x1b0)},'sunburst':{'hierarchy':'階層','value':_0x26bff0(0x1b3),'ownValue':_0x26bff0(0x1c5),'children':'子項','diagnostic':_0x26bff0(0x1c9)},'gauge':{'label':'標籤','value':'Value','emptyDiagnostic':'儀表圖至少需要一個有限數值。','mappingDiagnostic':_0x26bff0(0x1b6),'configDiagnostic':_0x26bff0(0x1dc)},'chord':{'emptyDiagnostic':'弦圖至少需要兩個不同節點之間的一條正權重關係。','mappingDiagnostic':_0x26bff0(0x1ce),'configDiagnostic':_0x26bff0(0x1b5),'source':'來源','target':'目標','value':_0x26bff0(0x1b3),'count':_0x26bff0(0x1cc),'associatedValue':_0x26bff0(0x1bb)},'chartField':{'missingCategoryFields':_0x26bff0(0x1d1),'missingSeriesFields':_0x26bff0(0x1ba),'invalidFieldIndex':_0x26bff0(0x1b2),'invalidValueFieldType':_0x26bff0(0x1c7),'invalidDataStructure':_0x26bff0(0x1cf),'unsupportedChartType':_0x26bff0(0x1cd)}}};}));
@@ -1 +1 @@
1
- (function(_0x50e80c,_0x13e1d3){var _0x2f84f7=_0x3734,_0x22ae9b=_0x50e80c();while(!![]){try{var _0xafd2cc=parseInt(_0x2f84f7(0x121))/0x1+-parseInt(_0x2f84f7(0x126))/0x2*(-parseInt(_0x2f84f7(0x11a))/0x3)+parseInt(_0x2f84f7(0x117))/0x4+-parseInt(_0x2f84f7(0x123))/0x5*(-parseInt(_0x2f84f7(0x11c))/0x6)+parseInt(_0x2f84f7(0x115))/0x7*(-parseInt(_0x2f84f7(0x11f))/0x8)+parseInt(_0x2f84f7(0x118))/0x9*(-parseInt(_0x2f84f7(0x119))/0xa)+parseInt(_0x2f84f7(0x116))/0xb;if(_0xafd2cc===_0x13e1d3)break;else _0x22ae9b['push'](_0x22ae9b['shift']());}catch(_0x38ab27){_0x22ae9b['push'](_0x22ae9b['shift']());}}}(_0x7580,0x740ad),function(_0x3b9ffb,_0x5de131){var _0x3884f7=_0x3734;typeof exports==_0x3884f7(0x11d)&&typeof module<'u'?module[_0x3884f7(0x12a)]=_0x5de131():typeof define==_0x3884f7(0x125)&&define['amd']?define([],_0x5de131):(_0x3b9ffb=typeof globalThis<'u'?globalThis:_0x3b9ffb||self,_0x3b9ffb[_0x3884f7(0x11e)]=_0x5de131());}(this,function(){var _0x12e8e8=_0x3734;return{'sheets-chart':{'category':'類別','series':'系列','seriesDefaultName':'系列\x20{0}','categoryDefaultName':'類別\x20{0}','blank':_0x12e8e8(0x120),'msg':{'emptyTips':_0x12e8e8(0x113),'sankeyCircularTips':_0x12e8e8(0x12b)},'bubble':{'emptyTips':_0x12e8e8(0x122)},'relation':{'emptyTips':_0x12e8e8(0x128)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x12e8e8(0x129)},'candlestick':{'series':'OHLC','category':_0x12e8e8(0x114),'open':_0x12e8e8(0x11b),'high':_0x12e8e8(0x124),'low':'Low','close':'Close'},'boxplot':{'min':'最小值','q1':_0x12e8e8(0x127),'median':'中位數','q3':_0x12e8e8(0x112),'max':'最大值'},'histogram':{'frequency':'頻數'},'treemap':{'hierarchy':'層級','value':'','ownValue':'自身值','children':'子項'}}};}));function _0x3734(_0x56c7fa,_0x2f27fe){_0x56c7fa=_0x56c7fa-0x112;var _0x758071=_0x7580();var _0x3734f5=_0x758071[_0x56c7fa];return _0x3734f5;}function _0x7580(){var _0x48e567=['氣泡圖至少需要2欄,X軸、Y軸。','885JdjFkL','High','function','10NISeJo','第一四分位數','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','累積占比','exports','桑基圖不能包含循環數據','第三四分位數','請先添加系列開始數據可視化','Category','7000FMZbAZ','603966rGqYAx','343452ETaHHI','1503uoEpHq','47090jIlWPV','196827zxTVYj','Open','21396oNijrt','object','UniverProSheetsChartZhTW','248gACTXV','(空)','192716KFriSm'];_0x7580=function(){return _0x48e567;};return _0x7580();}
1
+ (function(_0x308848,_0x159c87){var _0x22ef07=_0x1bdb,_0x105e8f=_0x308848();while(!![]){try{var _0x409306=-parseInt(_0x22ef07(0x108))/0x1+parseInt(_0x22ef07(0x11d))/0x2+-parseInt(_0x22ef07(0x117))/0x3*(parseInt(_0x22ef07(0x112))/0x4)+parseInt(_0x22ef07(0x106))/0x5+-parseInt(_0x22ef07(0x116))/0x6*(-parseInt(_0x22ef07(0x10f))/0x7)+-parseInt(_0x22ef07(0x103))/0x8*(-parseInt(_0x22ef07(0x115))/0x9)+-parseInt(_0x22ef07(0x102))/0xa;if(_0x409306===_0x159c87)break;else _0x105e8f['push'](_0x105e8f['shift']());}catch(_0x254517){_0x105e8f['push'](_0x105e8f['shift']());}}}(_0x1fbf,0x77c23),function(_0x58b522,_0x9bb145){var _0x422077=_0x1bdb;typeof exports=='object'&&typeof module<'u'?module[_0x422077(0xfe)]=_0x9bb145():typeof define=='function'&&define[_0x422077(0x127)]?define([],_0x9bb145):(_0x58b522=typeof globalThis<'u'?globalThis:_0x58b522||self,_0x58b522[_0x422077(0x11a)]=_0x9bb145());}(this,function(){var _0x55cc19=_0x1bdb;return{'sheets-chart':{'seriesDefaultName':_0x55cc19(0x110),'categoryDefaultName':_0x55cc19(0x11e),'blank':'()','msg':{'emptyTips':_0x55cc19(0x11f),'sankeyCircularTips':_0x55cc19(0x104)},'bubble':{'emptyTips':_0x55cc19(0x120)},'relation':{'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x55cc19(0x10d)},'boxplot':{'min':_0x55cc19(0x121),'q1':_0x55cc19(0x100),'median':_0x55cc19(0xfc),'q3':_0x55cc19(0x105),'max':'最大值'},'candlestick':{'series':_0x55cc19(0x122),'category':_0x55cc19(0x107),'open':_0x55cc19(0x10a),'high':_0x55cc19(0xfd),'low':_0x55cc19(0x10e),'close':_0x55cc19(0x123)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x55cc19(0x10b),'value':_0x55cc19(0x10c),'ownValue':_0x55cc19(0xfb),'children':'子項','diagnostic':_0x55cc19(0x11b)},'sunburst':{'hierarchy':'階層','value':'Value','ownValue':_0x55cc19(0xfb),'children':'子項','diagnostic':_0x55cc19(0x101)},'gauge':{'label':'標籤','value':_0x55cc19(0x11c),'emptyDiagnostic':_0x55cc19(0xff),'mappingDiagnostic':_0x55cc19(0xfa),'configDiagnostic':_0x55cc19(0x113)},'chord':{'emptyDiagnostic':_0x55cc19(0xf9),'mappingDiagnostic':_0x55cc19(0x109),'configDiagnostic':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','source':'來源','target':'目標','value':_0x55cc19(0x11c),'count':_0x55cc19(0x118),'associatedValue':'關聯值'},'chartField':{'missingCategoryFields':_0x55cc19(0x114),'missingSeriesFields':_0x55cc19(0x119),'invalidFieldIndex':_0x55cc19(0x111),'invalidValueFieldType':_0x55cc19(0x124),'invalidDataStructure':_0x55cc19(0x125),'unsupportedChartType':_0x55cc19(0x126)}}};}));function _0x1bdb(_0x2c1a6b,_0x4acad6){_0x2c1a6b=_0x2c1a6b-0xf9;var _0x1fbf20=_0x1fbf();var _0x1bdb0a=_0x1fbf20[_0x2c1a6b];return _0x1bdb0a;}function _0x1fbf(){var _0xd58f97=['1637300TIDnMA','Category','362573WHDRDo','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','開盤價','階層欄位','數值欄位','累積占比','最低價','17556nDisIP','系列\x20{0}','選取的圖表欄位已無法使用。','1470812kZPzFi','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','這個圖表需要更多標籤欄位。','9xnmnQz','1734MpNiKD','3AAFSNw','關係數','這個圖表需要更多數值欄位。','UniverProSheetsChartZhTW','矩形樹圖至少需要一個階層欄位和一個數值欄位。','Value','1450734dkcAfG','類別\x20{0}','請先添加系列開始數據可視化','氣泡圖至少需要2欄,X軸、Y軸。','最小值','OHLC\x20數列','收盤價','選取的數值欄位不包含數值資料。','選取的欄位無法構成這個圖表所需的有效資料結構。','這個圖表類型沒有欄位使用規則。','amd','弦圖至少需要兩個不同節點之間的一條正權重關係。','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','自身值','中位數','最高價','exports','儀表圖至少需要一個有限數值。','第一四分位數','旭日圖至少需要一個階層欄位和一個數值欄位。','14171650fKNGVo','6882664IDCZeF','桑基圖不能包含循環數據','第三四分位數'];_0x1fbf=function(){return _0xd58f97;};return _0x1fbf();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-chart",
3
- "version": "1.0.0-alpha.8",
3
+ "version": "1.0.0-beta.0",
4
4
  "private": false,
5
5
  "description": "Chart model integration for Univer Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -66,19 +66,19 @@
66
66
  "rxjs": ">=7.0.0"
67
67
  },
68
68
  "dependencies": {
69
- "@univerjs-pro/engine-chart": "1.0.0-alpha.8",
70
- "@univerjs/engine-formula": "1.0.0-alpha.8",
71
- "@univerjs-pro/license": "1.0.0-alpha.8",
72
- "@univerjs/sheets": "1.0.0-alpha.8",
73
- "@univerjs/core": "1.0.0-alpha.8",
74
- "@univerjs/sheets-drawing": "1.0.0-alpha.8"
69
+ "@univerjs-pro/engine-chart": "1.0.0-beta.0",
70
+ "@univerjs-pro/license": "1.0.0-beta.0",
71
+ "@univerjs/core": "1.0.0-beta.0",
72
+ "@univerjs/engine-formula": "1.0.0-beta.0",
73
+ "@univerjs/sheets": "1.0.0-beta.0",
74
+ "@univerjs/sheets-drawing": "1.0.0-beta.0"
75
75
  },
76
76
  "devDependencies": {
77
77
  "rxjs": "7.8.2",
78
78
  "typescript": "^6.0.3",
79
79
  "vitest": "^4.1.10",
80
- "@univerjs-infra/shared": "1.0.0-alpha.8",
81
- "@univerjs/drawing": "1.0.0-alpha.8"
80
+ "@univerjs-infra/shared": "1.0.0-beta.0",
81
+ "@univerjs/drawing": "1.0.0-beta.0"
82
82
  },
83
83
  "scripts": {
84
84
  "test": "vitest run",
@@ -1,10 +0,0 @@
1
- export { SheetChartBuilder } from './sheet-chart-builder';
2
- export { SheetChartBuilderAdapter } from './sheet-chart-builder-adapter';
3
- export type { ISheetChartBuilderAdapter, ISheetChartBuilderAdapterContext, ISheetChartHostPatch } from './sheet-chart-builder-adapter';
4
- export { toSheetChartCreateSpec } from './sheet-chart-create-spec';
5
- export type { ISheetChartDescriptionExtension } from './sheet-chart-description';
6
- export { buildLayoutDrawingPatch, describeLayout, getWorkbook, resolveInitialChartPosition } from './sheet-chart-layout';
7
- export type { ISheetChartLayoutContext } from './sheet-chart-layout';
8
- export { resolveSourceSeries, resolveSourceSpec } from './sheet-chart-source';
9
- export type { ISheetChartSourceContext } from './sheet-chart-source';
10
- export * from './types';
@@ -1,2 +0,0 @@
1
- export type { FSheetAnyChartBuilder, FSheetChartBuilder, FSheetChartBuilderOf, ISheetChartMethods } from './f-sheet-chart-builder';
2
- export { FSheetCharts } from './f-sheet-charts';
@@ -1,22 +0,0 @@
1
- import type { ChartStyle, ChartTypeBits, IChartContext, IChartDataAggregation, IChartLocaleTexts } from '@univerjs-pro/engine-chart';
2
- import type { Injector } from '@univerjs/core';
3
- import type { ISheetChartDataSource } from './types';
4
- import { ChartModel } from '@univerjs-pro/engine-chart';
5
- import { LocaleService } from '@univerjs/core';
6
- export interface IChartModelInit {
7
- chartType?: ChartTypeBits;
8
- dataSource: ISheetChartDataSource;
9
- dataAggregation?: IChartDataAggregation;
10
- context?: Pick<IChartContext, 'categoryIndex' | 'hierarchyIndexes' | 'seriesIndexes' | 'transform' | 'candlestick' | 'histogram'>;
11
- style?: ChartStyle;
12
- localeTexts?: IChartLocaleTexts;
13
- }
14
- export declare function buildLocaleTexts(localeService: LocaleService): IChartLocaleTexts;
15
- export declare class SheetChartModel extends ChartModel {
16
- protected _dataSource: ISheetChartDataSource;
17
- get dataSource(): ISheetChartDataSource;
18
- replaceDataSource(dataSource: ISheetChartDataSource): void;
19
- constructor(id: string, options: IChartModelInit, _injector: Injector);
20
- _init(): void;
21
- dispose(): void;
22
- }