@univerjs-pro/engine-chart 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +8 -6
- package/lib/types/models/chart-host/resource/chart-resource-repository.d.ts +14 -37
- package/lib/types/models/chart-host/static/chart-host-data-source-binding.d.ts +13 -0
- package/lib/types/models/chart-host/static/chart-inline-data-source-binding.d.ts +17 -0
- package/lib/types/models/chart-host/static/chart-projected-data-source.d.ts +18 -0
- package/lib/types/models/chart-host/static/chart-resource-runtime.service.d.ts +10 -8
- package/lib/types/source/chart-data-source-status.d.ts +10 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +5 -6
- package/lib/types/models/chart-host/resource/chart-data-source-runtime.service.d.ts +0 -60
- package/lib/types/models/chart-host/resource/resource-ref-chart-data-source.adapter.d.ts +0 -22
- package/lib/types/models/chart-host/resource/resource-ref-chart-data-source.provider.d.ts +0 -14
- package/lib/types/models/chart-host/static/chart-resource-data-source-runtime.d.ts +0 -32
package/lib/umd/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x51f5(_0x2ad52c,_0x526659){_0x2ad52c=_0x2ad52c-0x113;var _0x3c58ab=_0x3c58();var _0x51f5b0=_0x3c58ab[_0x2ad52c];return _0x51f5b0;}function _0x3c58(){var _0x1e70b4=['Rad\x20OHLC','Rad\x20HLC','Ukazovateľový\x20graf\x20vyžaduje\x20jedno\x20pole\x20menovky\x20a\x20presne\x20jedno\x20pole\x20hodnoty.','Konfigurácia\x20chordového\x20diagramu\x20je\x20neplatná.\x20Skontrolujte\x20uhly,\x20polomery,\x20nepriehľadnosť\x20a\x20veľkosti.','203730IxDadA','Kategória','Konfigurácia\x20ukazovateľového\x20grafu\x20je\x20neplatná.\x20Skontrolujte\x20mierku,\x20rozsahy,\x20pomery\x20a\x20veľkosti.','Lúčový\x20hierarchický\x20graf\x20vyžaduje\x20aspoň\x20jedno\x20pole\x20hierarchie\x20a\x20jedno\x20číselné\x20pole\x20hodnoty.','370623USShnO','Slovo','Podradené\x20prvky','Zatvorenie','exports','Frekvencia','Otvorenie','Vlastná\x20hodnota','3024621RkiCdV','91XitjpU','17944TolAvN','Medzisúčet','Séria\x20{0}','Priradená\x20hodnota','Chordový\x20diagram\x20vyžaduje\x20aspoň\x20jeden\x20vzťah\x20s\x20kladnou\x20váhou\x20medzi\x20dvoma\x20rôznymi\x20uzlami.','Maximum','Chordový\x20diagram\x20vyžaduje\x20rozdielne\x20polia\x20Zdroj\x20a\x20Cieľ\x20a\x20voliteľné\x20samostatné\x20pole\x20Hodnota.','Položky','(Prázdne)','Prvý\x20kvartil','137084fUnSON','Pridajte\x20sériu\x20a\x20začnite\x20vizualizovať\x20údaje','185jtWYsM','function','44754IIQfAa','Minimum','1630008UBUduZ','Zdrojové\x20dáta\x20pre\x20graf\x20vzťahov\x20sú\x20ko-slovná\x20matica\x20s\x20dodatočným\x20typovým\x20stĺpcom\x20v\x20druhom\x20stĺpci','Bublinový\x20graf\x20vyžaduje\x20aspoň\x202\x20stĺpce:\x20os\x20X,\x20os\x20Y'];_0x3c58=function(){return _0x1e70b4;};return _0x3c58();}(function(_0x885f92,_0x55d80a){var _0x5a9b54=_0x51f5,_0x2b5e82=_0x885f92();while(!![]){try{var _0x340aeb=-parseInt(_0x5a9b54(0x12d))/0x1+parseInt(_0x5a9b54(0x115))/0x2+-parseInt(_0x5a9b54(0x119))/0x3+parseInt(_0x5a9b54(0x133))/0x4+parseInt(_0x5a9b54(0x12f))/0x5*(parseInt(_0x5a9b54(0x131))/0x6)+-parseInt(_0x5a9b54(0x122))/0x7*(-parseInt(_0x5a9b54(0x123))/0x8)+-parseInt(_0x5a9b54(0x121))/0x9;if(_0x340aeb===_0x55d80a)break;else _0x2b5e82['push'](_0x2b5e82['shift']());}catch(_0x460acd){_0x2b5e82['push'](_0x2b5e82['shift']());}}}(_0x3c58,0x352d7),function(_0x16ed03,_0x4a7205){var _0x5a9a8f=_0x51f5;typeof exports=='object'&&typeof module<'u'?module[_0x5a9a8f(0x11d)]=_0x4a7205():typeof define==_0x5a9a8f(0x130)&&define['amd']?define([],_0x4a7205):(_0x16ed03=typeof globalThis<'u'?globalThis:_0x16ed03||self,_0x16ed03['UniverProEngineChartSkSK']=_0x4a7205());}(this,function(){var _0x1c646a=_0x51f5;return{'engine-chart':{'invalidSourceHeader':'Hlavička\x20zdroja\x20údajov\x20grafu\x20je\x20neplatná.','seriesDefaultName':_0x1c646a(0x125),'blank':_0x1c646a(0x12b),'boxplotMin':_0x1c646a(0x132),'boxplotQ1':_0x1c646a(0x12c),'boxplotMedian':'Medián','boxplotQ3':'Tretí\x20kvartil','boxplotMax':_0x1c646a(0x128),'bubbleEmptyTips':_0x1c646a(0x135),'cloudWord':_0x1c646a(0x11a),'cloudFrequency':_0x1c646a(0x11e),'msgEmptyTips':_0x1c646a(0x12e),'msgSankeyCircularTips':'Sankeyho\x20graf\x20nemôže\x20obsahovať\x20cyklické\x20údaje','paretoLineName':'Kumulatívne\x20percento','pieAggregateOther':'Iné','pieAggregateMembers':_0x1c646a(0x12a),'relationEmptyTips':_0x1c646a(0x134),'waterfallPositive':'Pozitívne','waterfallNegative':'Negatívne','waterfallSubtotal':_0x1c646a(0x124),'candlestickSeries':_0x1c646a(0x136),'candlestickHlcSeries':_0x1c646a(0x137),'candlestickCategory':_0x1c646a(0x116),'candlestickDate':'Dátum','candlestickOpen':_0x1c646a(0x11f),'candlestickHigh':_0x1c646a(0x128),'candlestickLow':_0x1c646a(0x132),'candlestickClose':_0x1c646a(0x11c),'histogramFrequency':'Frekvencia','treemapEmptyTips':'Stromová\x20mapa\x20vyžaduje\x20aspoň\x20jedno\x20pole\x20hierarchie\x20a\x20jedno\x20číselné\x20pole\x20hodnoty.','treemapOwnValue':_0x1c646a(0x120),'treemapChildren':_0x1c646a(0x11b),'sunburstEmptyTips':_0x1c646a(0x118),'sunburstOwnValue':_0x1c646a(0x120),'sunburstChildren':'Podradené\x20prvky','gaugeEmptyTips':'Ukazovateľový\x20graf\x20vyžaduje\x20aspoň\x20jednu\x20konečnú\x20číselnú\x20hodnotu.','gaugeInvalidMapping':_0x1c646a(0x113),'gaugeInvalidConfig':_0x1c646a(0x117),'chordEmptyTips':_0x1c646a(0x127),'chordInvalidMapping':_0x1c646a(0x129),'chordInvalidConfig':_0x1c646a(0x114),'chordCount':'Počet\x20vzťahov','chordAssociatedValue':_0x1c646a(0x126)}};}));
|
package/lib/umd/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x20253e,_0x1b2e2e){var _0x490cd8=_0x1e20,_0x3cefea=_0x20253e();while(!![]){try{var _0xe7fe1c=parseInt(_0x490cd8(0x1df))/0x1*(parseInt(_0x490cd8(0x1d0))/0x2)+-parseInt(_0x490cd8(0x1ec))/0x3+-parseInt(_0x490cd8(0x1d8))/0x4*(-parseInt(_0x490cd8(0x1ee))/0x5)+parseInt(_0x490cd8(0x1e5))/0x6+parseInt(_0x490cd8(0x1ed))/0x7*(-parseInt(_0x490cd8(0x1d2))/0x8)+-parseInt(_0x490cd8(0x1f2))/0x9+parseInt(_0x490cd8(0x1e6))/0xa;if(_0xe7fe1c===_0x1b2e2e)break;else _0x3cefea['push'](_0x3cefea['shift']());}catch(_0x8040f4){_0x3cefea['push'](_0x3cefea['shift']());}}}(_0x936c,0x4e5e1),function(_0x58fa18,_0x4c8496){var _0x17781b=_0x1e20;typeof exports==_0x17781b(0x1e3)&&typeof module<'u'?module[_0x17781b(0x1de)]=_0x4c8496():typeof define=='function'&&define['amd']?define([],_0x4c8496):(_0x58fa18=typeof globalThis<'u'?globalThis:_0x58fa18||self,_0x58fa18[_0x17781b(0x1f0)]=_0x4c8496());}(this,function(){var _0x175233=_0x1e20;return{'engine-chart':{'invalidSourceHeader':_0x175233(0x1e9),'seriesDefaultName':_0x175233(0x1f8),'blank':_0x175233(0x1d3),'boxplotMin':_0x175233(0x1db),'boxplotQ1':_0x175233(0x1e7),'boxplotMedian':_0x175233(0x1f1),'boxplotQ3':_0x175233(0x1ea),'boxplotMax':'Giá\x20trị\x20lớn\x20nhất','bubbleEmptyTips':_0x175233(0x1f4),'cloudWord':'Từ','cloudFrequency':_0x175233(0x1ef),'msgEmptyTips':_0x175233(0x1e8),'msgSankeyCircularTips':_0x175233(0x1d7),'paretoLineName':_0x175233(0x1d1),'pieAggregateOther':_0x175233(0x1dd),'pieAggregateMembers':'Thành\x20phần','relationEmptyTips':_0x175233(0x1f6),'waterfallPositive':_0x175233(0x1d9),'waterfallNegative':_0x175233(0x1fb),'waterfallSubtotal':_0x175233(0x1e0),'candlestickSeries':_0x175233(0x1e4),'candlestickHlcSeries':_0x175233(0x1fa),'candlestickCategory':_0x175233(0x1f9),'candlestickDate':'Ngày','candlestickOpen':_0x175233(0x1dc),'candlestickHigh':'Giá\x20cao\x20nhất','candlestickLow':_0x175233(0x1eb),'candlestickClose':_0x175233(0x1e1),'histogramFrequency':_0x175233(0x1ef),'treemapEmptyTips':_0x175233(0x1f5),'treemapOwnValue':'Giá\x20trị\x20riêng','treemapChildren':'Phần\x20tử\x20con','sunburstEmptyTips':_0x175233(0x1d5),'sunburstOwnValue':_0x175233(0x1f3),'sunburstChildren':_0x175233(0x1d6),'gaugeEmptyTips':'Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20ít\x20nhất\x20một\x20giá\x20trị\x20số\x20hữu\x20hạn.','gaugeInvalidMapping':_0x175233(0x1fc),'gaugeInvalidConfig':_0x175233(0x1f7),'chordEmptyTips':_0x175233(0x1e2),'chordInvalidMapping':'Biểu\x20đồ\x20dây\x20cung\x20cần\x20các\x20trường\x20Nguồn\x20và\x20Đích\x20khác\x20nhau\x20cùng\x20một\x20trường\x20Giá\x20trị\x20khác\x20biệt\x20không\x20bắt\x20buộc.','chordInvalidConfig':'Cấu\x20hình\x20biểu\x20đồ\x20dây\x20cung\x20không\x20hợp\x20lệ.\x20Hãy\x20kiểm\x20tra\x20góc,\x20bán\x20kính,\x20độ\x20mờ\x20và\x20kích\x20thước.','chordCount':_0x175233(0x1da),'chordAssociatedValue':_0x175233(0x1d4)}};}));function _0x1e20(_0xefe5db,_0x363f61){_0xefe5db=_0xefe5db-0x1d0;var _0x936c06=_0x936c();var _0x1e2047=_0x936c06[_0xefe5db];return _0x1e2047;}function _0x936c(){var _0x5cc336=['UniverProEngineChartViVN','Trung\x20vị','3154230xveDDd','Giá\x20trị\x20riêng','Biểu\x20đồ\x20bong\x20bóng\x20yêu\x20cầu\x20ít\x20nhất\x202\x20cột:\x20trục\x20X,\x20trục\x20Y','Biểu\x20đồ\x20cây\x20cần\x20ít\x20nhất\x20một\x20trường\x20phân\x20cấp\x20và\x20một\x20trường\x20giá\x20trị\x20số.','Nguồn\x20dữ\x20liệu\x20cho\x20biểu\x20đồ\x20quan\x20hệ\x20là\x20ma\x20trận\x20đồng\x20từ\x20với\x20cột\x20loại\x20bổ\x20sung\x20ở\x20cột\x20thứ\x20hai','Cấu\x20hình\x20biểu\x20đồ\x20đồng\x20hồ\x20không\x20hợp\x20lệ.\x20Hãy\x20kiểm\x20tra\x20thang\x20đo,\x20phạm\x20vi,\x20tỷ\x20lệ\x20và\x20kích\x20thước.','Loạt\x20{0}','Danh\x20mục','Chuỗi\x20HLC','Giá\x20trị\x20âm','Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20một\x20trường\x20nhãn\x20và\x20đúng\x20một\x20trường\x20giá\x20trị.','843126bRyfed','Tỷ\x20lệ\x20tích\x20lũy','24CnFoQM','(Trống)','Giá\x20trị\x20liên\x20kết','Biểu\x20đồ\x20sunburst\x20cần\x20ít\x20nhất\x20một\x20trường\x20phân\x20cấp\x20và\x20một\x20trường\x20giá\x20trị\x20số.','Phần\x20tử\x20con','Biểu\x20đồ\x20Sankey\x20không\x20thể\x20chứa\x20dữ\x20liệu\x20vòng\x20lặp','331404bfRssG','Giá\x20trị\x20dương','Số\x20lượng\x20mối\x20quan\x20hệ','Giá\x20trị\x20nhỏ\x20nhất','Giá\x20mở\x20cửa','Khác','exports','1HBDxIP','Tổng\x20phụ','Giá\x20đóng\x20cửa','Biểu\x20đồ\x20dây\x20cung\x20cần\x20ít\x20nhất\x20một\x20quan\x20hệ\x20có\x20trọng\x20số\x20dương\x20giữa\x20hai\x20nút\x20khác\x20nhau.','object','Chuỗi\x20OHLC','1641396qwAFUe','2702530xUiHdk','Phần\x20tư\x20thứ\x20nhất','Không\x20có\x20dữ\x20liệu\x20để\x20hiển\x20thị.','Tiêu\x20đề\x20nguồn\x20dữ\x20liệu\x20biểu\x20đồ\x20không\x20hợp\x20lệ.','Phần\x20tư\x20thứ\x20ba','Giá\x20thấp\x20nhất','562293NJXdAW','441791kGcWbf','5pZDNaC','Tần\x20suất'];_0x936c=function(){return _0x5cc336;};return _0x936c();}
|
package/lib/umd/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1995(_0x46e141,_0x3e3d36){_0x46e141=_0x46e141-0x1ee;var _0x58a7bd=_0x58a7();var _0x1995d1=_0x58a7bd[_0x46e141];return _0x1995d1;}(function(_0x434457,_0x195fbd){var _0x21c0d0=_0x1995,_0x51d8b1=_0x434457();while(!![]){try{var _0x21bc43=-parseInt(_0x21c0d0(0x200))/0x1*(parseInt(_0x21c0d0(0x202))/0x2)+parseInt(_0x21c0d0(0x201))/0x3*(parseInt(_0x21c0d0(0x20d))/0x4)+parseInt(_0x21c0d0(0x1fc))/0x5+parseInt(_0x21c0d0(0x1f7))/0x6*(-parseInt(_0x21c0d0(0x208))/0x7)+-parseInt(_0x21c0d0(0x209))/0x8+-parseInt(_0x21c0d0(0x1f0))/0x9+parseInt(_0x21c0d0(0x1ee))/0xa*(parseInt(_0x21c0d0(0x1ff))/0xb);if(_0x21bc43===_0x195fbd)break;else _0x51d8b1['push'](_0x51d8b1['shift']());}catch(_0x2a81e3){_0x51d8b1['push'](_0x51d8b1['shift']());}}}(_0x58a7,0x6e165),function(_0x55d1a7,_0x1e7081){var _0x5b0636=_0x1995;typeof exports==_0x5b0636(0x1f9)&&typeof module<'u'?module['exports']=_0x1e7081():typeof define==_0x5b0636(0x20e)&&define[_0x5b0636(0x20f)]?define([],_0x1e7081):(_0x55d1a7=typeof globalThis<'u'?globalThis:_0x55d1a7||self,_0x55d1a7[_0x5b0636(0x1fe)]=_0x1e7081());}(this,function(){var _0xe5dc20=_0x1995;return{'engine-chart':{'invalidSourceHeader':'图表数据源标题配置无效。','seriesDefaultName':_0xe5dc20(0x203),'blank':_0xe5dc20(0x1f5),'boxplotMin':_0xe5dc20(0x1f3),'boxplotQ1':'第一四分位数','boxplotMedian':_0xe5dc20(0x1f4),'boxplotQ3':_0xe5dc20(0x1fd),'boxplotMax':'最大值','bubbleEmptyTips':_0xe5dc20(0x1f8),'cloudWord':'词语','cloudFrequency':'频率','msgEmptyTips':_0xe5dc20(0x1fb),'msgSankeyCircularTips':_0xe5dc20(0x1ef),'paretoLineName':_0xe5dc20(0x210),'pieAggregateOther':'其他','pieAggregateMembers':_0xe5dc20(0x1f6),'relationEmptyTips':'关系图数据源为额外添加类型列在第二列的共词矩阵','waterfallPositive':'正值','waterfallNegative':'负值','waterfallSubtotal':'小计','candlestickSeries':_0xe5dc20(0x1fa),'candlestickHlcSeries':_0xe5dc20(0x1f1),'candlestickCategory':'类别','candlestickDate':'日期','candlestickOpen':'开盘','candlestickHigh':'最高','candlestickLow':'最低','candlestickClose':'收盘','histogramFrequency':'频数','treemapEmptyTips':'矩形树图至少需要一个层级字段和一个数值字段。','treemapOwnValue':_0xe5dc20(0x205),'treemapChildren':'子项','sunburstEmptyTips':_0xe5dc20(0x204),'sunburstOwnValue':_0xe5dc20(0x205),'sunburstChildren':'子项','gaugeEmptyTips':'仪表图至少需要一个有限数值。','gaugeInvalidMapping':_0xe5dc20(0x20a),'gaugeInvalidConfig':_0xe5dc20(0x20c),'chordEmptyTips':_0xe5dc20(0x1f2),'chordInvalidMapping':_0xe5dc20(0x207),'chordInvalidConfig':_0xe5dc20(0x206),'chordCount':_0xe5dc20(0x20b),'chordAssociatedValue':'关联值'}};}));function _0x58a7(){var _0x5a615e=['第三四分位数','UniverProEngineChartZhCN','11KBBZDC','25YwpgTm','39xEKeit','44588IdImvK','系列\x20{0}','旭日图至少需要一个层级字段和一个数值字段。','自身值','弦图配置无效,请检查角度、半径、不透明度和尺寸。','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','51135YQTQYC','1200184ENZxEb','仪表图需要一个标签字段且只能有一个数值字段。','关系计数','仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。','39832WBBynL','function','amd','累积占比','17907910ppdRmq','桑基图不能包含循环数据','5568633FuqCyh','HLC\x20系列','弦图至少需要两个不同节点之间的一条正权重关系。','最小值','中位数','(空)','成员数','672Vvckxi','气泡图至少需要2列,X轴、Y轴。','object','OHLC\x20系列','请先添加系列开始数据可视化','3374710zHGrxx'];_0x58a7=function(){return _0x5a615e;};return _0x58a7();}
|
package/lib/umd/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x229d(){var _0x130ae0=['2583EORrBv','最高價','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','OHLC\x20數列','第一四分位數','累積占比','最大值','2873500gsbPZm','object','開盤價','儀表圖至少需要一個有限數值。','關係數','氣泡圖至少需要2欄,X軸、Y軸。','10burOFr','707676XiAtHT','20OOGopb','關聯值','HLC\x20數列','系列\x20{0}','最低價','656jEWfaN','最小值','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','圖表資料來源標題設定無效。','3015925KKClfg','矩形樹圖至少需要一個階層欄位和一個數值欄位。','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','3EPxDwj','671906aiyvvO','1285464yRWJot','UniverProEngineChartZhHK','exports','107731oUxkmP','自身值'];_0x229d=function(){return _0x130ae0;};return _0x229d();}function _0x6181(_0x112e74,_0x25663e){_0x112e74=_0x112e74-0x69;var _0x229dfd=_0x229d();var _0x6181a7=_0x229dfd[_0x112e74];return _0x6181a7;}(function(_0x240c46,_0xe6e5f3){var _0x54efa3=_0x6181,_0x1e7a11=_0x240c46();while(!![]){try{var _0x1423b0=parseInt(_0x54efa3(0x6e))/0x1+-parseInt(_0x54efa3(0x6a))/0x2*(parseInt(_0x54efa3(0x69))/0x3)+-parseInt(_0x54efa3(0x7e))/0x4*(-parseInt(_0x54efa3(0x7d))/0x5)+parseInt(_0x54efa3(0x6b))/0x6+parseInt(_0x54efa3(0x77))/0x7+parseInt(_0x54efa3(0x84))/0x8*(parseInt(_0x54efa3(0x70))/0x9)+-parseInt(_0x54efa3(0x7f))/0xa*(parseInt(_0x54efa3(0x88))/0xb);if(_0x1423b0===_0xe6e5f3)break;else _0x1e7a11['push'](_0x1e7a11['shift']());}catch(_0x3ec69e){_0x1e7a11['push'](_0x1e7a11['shift']());}}}(_0x229d,0x37108),function(_0x323da7,_0x4dbf46){var _0x3937ab=_0x6181;typeof exports==_0x3937ab(0x78)&&typeof module<'u'?module[_0x3937ab(0x6d)]=_0x4dbf46():typeof define=='function'&&define['amd']?define([],_0x4dbf46):(_0x323da7=typeof globalThis<'u'?globalThis:_0x323da7||self,_0x323da7[_0x3937ab(0x6c)]=_0x4dbf46());}(this,function(){var _0x298113=_0x6181;return{'engine-chart':{'invalidSourceHeader':_0x298113(0x87),'seriesDefaultName':_0x298113(0x82),'blank':'(空)','boxplotMin':_0x298113(0x85),'boxplotQ1':_0x298113(0x74),'boxplotMedian':'中位數','boxplotQ3':'第三四分位數','boxplotMax':_0x298113(0x76),'bubbleEmptyTips':_0x298113(0x7c),'cloudWord':'詞','cloudFrequency':'頻率','msgEmptyTips':'請先添加系列開始數據可視化','msgSankeyCircularTips':'桑基圖不能包含循環數據','paretoLineName':_0x298113(0x75),'pieAggregateOther':'其他','pieAggregateMembers':'成員','relationEmptyTips':_0x298113(0x86),'waterfallPositive':'正值','waterfallNegative':'負值','waterfallSubtotal':'小計','candlestickSeries':_0x298113(0x73),'candlestickHlcSeries':_0x298113(0x81),'candlestickCategory':'類別','candlestickDate':'日期','candlestickOpen':_0x298113(0x79),'candlestickHigh':_0x298113(0x71),'candlestickLow':_0x298113(0x83),'candlestickClose':'收盤價','histogramFrequency':'頻數','treemapEmptyTips':_0x298113(0x89),'treemapOwnValue':_0x298113(0x6f),'treemapChildren':'子項','sunburstEmptyTips':'旭日圖至少需要一個階層欄位和一個數值欄位。','sunburstOwnValue':'自身值','sunburstChildren':'子項','gaugeEmptyTips':_0x298113(0x7a),'gaugeInvalidMapping':_0x298113(0x8a),'gaugeInvalidConfig':'儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','chordEmptyTips':'弦圖至少需要兩個不同節點之間的一條正權重關係。','chordInvalidMapping':'弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','chordInvalidConfig':_0x298113(0x72),'chordCount':_0x298113(0x7b),'chordAssociatedValue':_0x298113(0x80)}};}));
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x49d6(_0x30fc37,_0x291c14){_0x30fc37=_0x30fc37-0x13f;var _0x4dd5ca=_0x4dd5();var _0x49d640=_0x4dd5ca[_0x30fc37];return _0x49d640;}(function(_0x4ba9c8,_0x9ac907){var _0x5da5df=_0x49d6,_0x44ea09=_0x4ba9c8();while(!![]){try{var _0x159c80=parseInt(_0x5da5df(0x14a))/0x1*(-parseInt(_0x5da5df(0x15e))/0x2)+parseInt(_0x5da5df(0x140))/0x3*(parseInt(_0x5da5df(0x144))/0x4)+-parseInt(_0x5da5df(0x14c))/0x5+-parseInt(_0x5da5df(0x157))/0x6+parseInt(_0x5da5df(0x151))/0x7+parseInt(_0x5da5df(0x15f))/0x8*(parseInt(_0x5da5df(0x15c))/0x9)+parseInt(_0x5da5df(0x160))/0xa*(parseInt(_0x5da5df(0x149))/0xb);if(_0x159c80===_0x9ac907)break;else _0x44ea09['push'](_0x44ea09['shift']());}catch(_0x32946e){_0x44ea09['push'](_0x44ea09['shift']());}}}(_0x4dd5,0x30909),function(_0x12dcc6,_0x273206){var _0x2f52f7=_0x49d6;typeof exports==_0x2f52f7(0x159)&&typeof module<'u'?module[_0x2f52f7(0x155)]=_0x273206():typeof define==_0x2f52f7(0x15d)&&define[_0x2f52f7(0x145)]?define([],_0x273206):(_0x12dcc6=typeof globalThis<'u'?globalThis:_0x12dcc6||self,_0x12dcc6[_0x2f52f7(0x15a)]=_0x273206());}(this,function(){var _0x241454=_0x49d6;return{'engine-chart':{'invalidSourceHeader':'圖表資料來源標題設定無效。','seriesDefaultName':_0x241454(0x162),'blank':'(空)','boxplotMin':_0x241454(0x15b),'boxplotQ1':_0x241454(0x163),'boxplotMedian':_0x241454(0x147),'boxplotQ3':_0x241454(0x142),'boxplotMax':'最大值','bubbleEmptyTips':_0x241454(0x153),'cloudWord':'詞','cloudFrequency':'頻率','msgEmptyTips':_0x241454(0x165),'msgSankeyCircularTips':_0x241454(0x14e),'paretoLineName':'累積占比','pieAggregateOther':'其他','pieAggregateMembers':'成員','relationEmptyTips':_0x241454(0x143),'waterfallPositive':'正值','waterfallNegative':'負值','waterfallSubtotal':'小計','candlestickSeries':_0x241454(0x14f),'candlestickHlcSeries':_0x241454(0x166),'candlestickCategory':'類別','candlestickDate':'日期','candlestickOpen':_0x241454(0x150),'candlestickHigh':_0x241454(0x164),'candlestickLow':_0x241454(0x154),'candlestickClose':_0x241454(0x14b),'histogramFrequency':'頻數','treemapEmptyTips':'矩形樹圖至少需要一個階層欄位和一個數值欄位。','treemapOwnValue':_0x241454(0x158),'treemapChildren':'子項','sunburstEmptyTips':_0x241454(0x141),'sunburstOwnValue':_0x241454(0x158),'sunburstChildren':'子項','gaugeEmptyTips':_0x241454(0x156),'gaugeInvalidMapping':'儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','gaugeInvalidConfig':_0x241454(0x13f),'chordEmptyTips':_0x241454(0x148),'chordInvalidMapping':_0x241454(0x161),'chordInvalidConfig':_0x241454(0x146),'chordCount':_0x241454(0x14d),'chordAssociatedValue':_0x241454(0x152)}};}));function _0x4dd5(){var _0x152971=['第一四分位數','最高價','請先添加系列開始數據可視化','HLC\x20數列','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','1025781dKZPSV','旭日圖至少需要一個階層欄位和一個數值欄位。','第三四分位數','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','4hcEVHc','amd','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','中位數','弦圖至少需要兩個不同節點之間的一條正權重關係。','1942292quMmRM','228869sHrKja','收盤價','1904010cgtOCQ','關係數','桑基圖不能包含循環數據','OHLC\x20數列','開盤價','2291513iGJTzZ','關聯值','氣泡圖至少需要2欄,X軸、Y軸。','最低價','exports','儀表圖至少需要一個有限數值。','2006748WBCSEr','自身值','object','UniverProEngineChartZhTW','最小值','43848Gbhuzn','function','2GUUBIw','488lKAxti','10QvgBfK','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','系列\x20{0}'];_0x4dd5=function(){return _0x152971;};return _0x4dd5();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-chart",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Chart data model and rendering utilities for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -66,13 +66,12 @@
|
|
|
66
66
|
"rxjs": ">=7.0.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@univerjs-pro/
|
|
70
|
-
"@univerjs
|
|
71
|
-
"@univerjs/
|
|
72
|
-
"@univerjs/engine-render": "1.0.2"
|
|
69
|
+
"@univerjs-pro/license": "1.0.3",
|
|
70
|
+
"@univerjs/core": "1.0.3",
|
|
71
|
+
"@univerjs/engine-render": "1.0.3"
|
|
73
72
|
},
|
|
74
73
|
"devDependencies": {
|
|
75
|
-
"@univerjs-infra/shared": "1.0.
|
|
74
|
+
"@univerjs-infra/shared": "1.0.3",
|
|
76
75
|
"echarts": "6.1.0",
|
|
77
76
|
"rxjs": "7.8.2",
|
|
78
77
|
"typescript": "^6.0.3",
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { IDisposable } from '@univerjs/core';
|
|
2
|
-
import type { Observable } from 'rxjs';
|
|
3
|
-
import type { ChartDataSourceValue } from './inline-chart-table';
|
|
4
|
-
import type { IResourceRefChartDataSourceReference } from './resource-ref-chart-data-source.adapter';
|
|
5
|
-
import { Disposable } from '@univerjs/core';
|
|
6
|
-
export declare enum ChartDataSourceRuntimeStatus {
|
|
7
|
-
LOADING = "loading",
|
|
8
|
-
READY = "ready",
|
|
9
|
-
UNAVAILABLE = "unavailable",
|
|
10
|
-
REFRESH_ERROR = "refresh-error"
|
|
11
|
-
}
|
|
12
|
-
export interface IChartDataSourceLoadResult {
|
|
13
|
-
values: ReadonlyArray<ReadonlyArray<ChartDataSourceValue>>;
|
|
14
|
-
}
|
|
15
|
-
export interface IChartDataSourceProvider {
|
|
16
|
-
readonly kind: IResourceRefChartDataSourceReference['kind'];
|
|
17
|
-
getCacheKey(source: Readonly<IResourceRefChartDataSourceReference>): string;
|
|
18
|
-
load(source: Readonly<IResourceRefChartDataSourceReference>, options: {
|
|
19
|
-
signal: AbortSignal;
|
|
20
|
-
}): Promise<IChartDataSourceLoadResult>;
|
|
21
|
-
watch?(source: Readonly<IResourceRefChartDataSourceReference>, onChange: () => void): IDisposable;
|
|
22
|
-
}
|
|
23
|
-
export interface IChartDataSourceRuntimeState {
|
|
24
|
-
status: ChartDataSourceRuntimeStatus;
|
|
25
|
-
values?: ReadonlyArray<ReadonlyArray<ChartDataSourceValue>>;
|
|
26
|
-
error?: unknown;
|
|
27
|
-
}
|
|
28
|
-
export interface IChartDataSourceHandle extends IDisposable {
|
|
29
|
-
readonly state$: Observable<IChartDataSourceRuntimeState>;
|
|
30
|
-
refresh(): Promise<void>;
|
|
31
|
-
}
|
|
32
|
-
export interface IChartDataSourceRuntimeService {
|
|
33
|
-
registerProvider(provider: IChartDataSourceProvider): IDisposable;
|
|
34
|
-
acquire(source: Readonly<IResourceRefChartDataSourceReference>): IChartDataSourceHandle;
|
|
35
|
-
}
|
|
36
|
-
export declare const IChartDataSourceRuntimeService: import("@wendellhu/redi").IdentifierDecorator<IChartDataSourceRuntimeService>;
|
|
37
|
-
export declare class ChartDataSourceRuntimeService extends Disposable implements IChartDataSourceRuntimeService {
|
|
38
|
-
private readonly _providers;
|
|
39
|
-
private readonly _entries;
|
|
40
|
-
private readonly _handles;
|
|
41
|
-
private _isDisposed;
|
|
42
|
-
registerProvider(provider: IChartDataSourceProvider): IDisposable;
|
|
43
|
-
acquire(source: Readonly<IResourceRefChartDataSourceReference>): IChartDataSourceHandle;
|
|
44
|
-
dispose(): void;
|
|
45
|
-
private _getOrCreateEntry;
|
|
46
|
-
private _attachHandle;
|
|
47
|
-
private _detachHandle;
|
|
48
|
-
private _releaseHandle;
|
|
49
|
-
private _refreshHandle;
|
|
50
|
-
private _startLoad;
|
|
51
|
-
private _requestRefresh;
|
|
52
|
-
private _loadEntry;
|
|
53
|
-
private _isCurrentGeneration;
|
|
54
|
-
private _clearPending;
|
|
55
|
-
private _publishEntry;
|
|
56
|
-
private _invalidateProviderEntry;
|
|
57
|
-
private _cancelEntry;
|
|
58
|
-
private _snapshotState;
|
|
59
|
-
private _unavailableState;
|
|
60
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { IResourceRef } from '@univerjs-pro/embed';
|
|
2
|
-
export declare const RESOURCE_REF_CHART_DATA_SOURCE_KIND = "resource-ref";
|
|
3
|
-
export interface IResourceRefChartDataSourceReference {
|
|
4
|
-
readonly kind: typeof RESOURCE_REF_CHART_DATA_SOURCE_KIND;
|
|
5
|
-
readonly ref: IResourceRef;
|
|
6
|
-
}
|
|
7
|
-
export interface IResourceRefChartDataSourceInput extends Omit<IResourceRef, 'file'> {
|
|
8
|
-
readonly file?: IResourceRef['file'];
|
|
9
|
-
}
|
|
10
|
-
interface ICompatibleResourceRefChartDataSourceReference {
|
|
11
|
-
readonly kind: typeof RESOURCE_REF_CHART_DATA_SOURCE_KIND;
|
|
12
|
-
readonly ref: IResourceRefChartDataSourceInput;
|
|
13
|
-
}
|
|
14
|
-
export declare class ResourceRefChartDataSourceAdapter {
|
|
15
|
-
static toReference(ref: IResourceRefChartDataSourceInput): IResourceRefChartDataSourceReference;
|
|
16
|
-
static isReference(reference: unknown): reference is Readonly<IResourceRefChartDataSourceReference>;
|
|
17
|
-
static assertReference(reference: unknown): asserts reference is Readonly<ICompatibleResourceRefChartDataSourceReference>;
|
|
18
|
-
static fromReference(reference: Readonly<ICompatibleResourceRefChartDataSourceReference>): IResourceRef;
|
|
19
|
-
private static _normalizeInput;
|
|
20
|
-
private static _isCompatibleReference;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { IDisposable } from '@univerjs/core';
|
|
2
|
-
import type { IChartDataSourceLoadResult, IChartDataSourceProvider } from './chart-data-source-runtime.service';
|
|
3
|
-
import type { IResourceRefChartDataSourceReference } from './resource-ref-chart-data-source.adapter';
|
|
4
|
-
import { Injector } from '@univerjs/core';
|
|
5
|
-
export declare class ResourceRefChartDataSourceProvider implements IChartDataSourceProvider {
|
|
6
|
-
private readonly _injector;
|
|
7
|
-
readonly kind = "resource-ref";
|
|
8
|
-
constructor(_injector: Injector);
|
|
9
|
-
getCacheKey(source: IResourceRefChartDataSourceReference): string;
|
|
10
|
-
load(source: IResourceRefChartDataSourceReference, options: {
|
|
11
|
-
signal: AbortSignal;
|
|
12
|
-
}): Promise<IChartDataSourceLoadResult>;
|
|
13
|
-
watch(source: IResourceRefChartDataSourceReference, onChange: () => void): IDisposable;
|
|
14
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { IChartDataSourceRuntimeService, IChartDataSourceRuntimeState } from '../resource/chart-data-source-runtime.service';
|
|
3
|
-
import type { IChartResourceContext, IChartResourceDataSource } from '../resource/chart-resource-repository';
|
|
4
|
-
import { ChartDataSource } from '../../../source/chart-source';
|
|
5
|
-
export declare const INLINE_DATA_SOURCE_REFRESH_ERROR = "Only a hosted referenced Chart datasource can be refreshed.";
|
|
6
|
-
export interface IChartResourceSourceProjection {
|
|
7
|
-
header?: IChartResourceContext['header'];
|
|
8
|
-
isRowDirection: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare class ChartResourceDataSourceRuntime<TDataSource extends IChartResourceDataSource> extends ChartDataSource {
|
|
11
|
-
private readonly _dataSourceRuntimeService;
|
|
12
|
-
private readonly _state$;
|
|
13
|
-
private _handle;
|
|
14
|
-
private _handleSubscription;
|
|
15
|
-
private _isDisposed;
|
|
16
|
-
private _headerDiagnostics;
|
|
17
|
-
private _providerError;
|
|
18
|
-
private _projection;
|
|
19
|
-
private _values?;
|
|
20
|
-
private _descriptor;
|
|
21
|
-
readonly state$: Observable<IChartDataSourceRuntimeState>;
|
|
22
|
-
constructor(descriptor: TDataSource, _dataSourceRuntimeService: IChartDataSourceRuntimeService, projection: IChartResourceSourceProjection);
|
|
23
|
-
get descriptor(): TDataSource;
|
|
24
|
-
get state(): IChartDataSourceRuntimeState;
|
|
25
|
-
refresh(): Promise<void>;
|
|
26
|
-
markUnavailable(error: unknown): void;
|
|
27
|
-
setDescriptorAndProjection(descriptor: TDataSource, projection: IChartResourceSourceProjection): void;
|
|
28
|
-
dispose(): void;
|
|
29
|
-
private _acceptState;
|
|
30
|
-
private _setValues;
|
|
31
|
-
private _releaseHandle;
|
|
32
|
-
}
|