@univerjs-pro/sheets-chart 0.5.0-alpha.0 → 0.5.0-beta.1
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/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/ru-RU.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-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/ru-RU.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-TW.js +1 -1
- package/lib/types/chart-source/chart-source.d.ts +59 -0
- package/lib/types/chart-source/source-util.d.ts +30 -0
- package/lib/types/commands/commands/sheets-chart-update-config.command.d.ts +14 -0
- package/lib/types/commands/commands/sheets-chart-update-source.command.d.ts +8 -0
- package/lib/types/commands/mutations/sheet-chart-update-source.mutation.d.ts +8 -0
- package/lib/types/commands/mutations/sheets-chart-update-config.mutation.d.ts +13 -0
- package/lib/types/commands/mutations/sheets-chart.mutation.d.ts +11 -0
- package/lib/types/common/util.d.ts +15 -0
- package/lib/types/index.d.ts +37 -814
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +22 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/models/chart-data-operators/build-chart-data.d.ts +3 -0
- package/lib/types/models/chart-data-operators/index.d.ts +17 -0
- package/lib/types/models/chart-data-operators/operators.d.ts +24 -0
- package/lib/types/models/constants/build-in-theme/default.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/index.d.ts +15 -0
- package/lib/types/models/constants/build-in-theme/types.d.ts +77 -0
- package/lib/types/models/constants/build-in-theme/univer-gradient1.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer-gradient2.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer-gradient3.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer-gradient4.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer-gradient5.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer-gradient6.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer1.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer2.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer3.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer4.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer5.d.ts +2 -0
- package/lib/types/models/constants/build-in-theme/univer6.d.ts +2 -0
- package/lib/types/models/constants/default-chart-style.d.ts +63 -0
- package/lib/types/models/constants.d.ts +59 -0
- package/lib/types/models/data-context-transformers/bar-data-context-transformer.d.ts +3 -0
- package/lib/types/models/data-context-transformers/pie-data-context-transformer.d.ts +3 -0
- package/lib/types/models/runtime-context.types.d.ts +28 -0
- package/lib/types/models/style.types.d.ts +213 -0
- package/lib/types/models/types.d.ts +124 -0
- package/lib/types/plugins/univer-sheets-chart-plugin.d.ts +15 -0
- package/lib/types/services/chart-model.service.d.ts +23 -0
- package/lib/types/services/chart-theme.service.d.ts +17 -0
- package/lib/types/services/sheets-chart.service.d.ts +45 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/ru-RU.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-TW.js +1 -1
- package/package.json +10 -15
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4d69(_0x24a61c,_0x46b02e){var _0x33dbd6=_0x33db();return _0x4d69=function(_0x4d6952,_0x4c3ffd){_0x4d6952=_0x4d6952-0x1b7;var _0x2b14b6=_0x33dbd6[_0x4d6952];return _0x2b14b6;},_0x4d69(_0x24a61c,_0x46b02e);}function _0x33db(){var _0x49be19=['4xfVLXd','9692634RBlxvd','2321358DwBUxB','1563260widAAg','UniverProSheetsChartEnUS','Series','8481816BvoHXG','4pLJHeP','1586049khePbB','6517385jXibnB','amd','exports','207MHuGRe','102133kBkXOV','object','Category'];_0x33db=function(){return _0x49be19;};return _0x33db();}(function(_0x14a424,_0x3eeffd){var _0x2c663e=_0x4d69,_0x22637e=_0x14a424();while(!![]){try{var _0x5a11b6=parseInt(_0x2c663e(0x1ba))/0x1*(-parseInt(_0x2c663e(0x1bd))/0x2)+parseInt(_0x2c663e(0x1c5))/0x3*(parseInt(_0x2c663e(0x1c4))/0x4)+parseInt(_0x2c663e(0x1c6))/0x5+parseInt(_0x2c663e(0x1bf))/0x6+parseInt(_0x2c663e(0x1be))/0x7+parseInt(_0x2c663e(0x1c3))/0x8+parseInt(_0x2c663e(0x1b9))/0x9*(-parseInt(_0x2c663e(0x1c0))/0xa);if(_0x5a11b6===_0x3eeffd)break;else _0x22637e['push'](_0x22637e['shift']());}catch(_0xade5ed){_0x22637e['push'](_0x22637e['shift']());}}}(_0x33db,0xd2fb2),function(_0x3ac4b6,_0x448c78){var _0x207350=_0x4d69;typeof exports==_0x207350(0x1bb)&&typeof module<'u'?module[_0x207350(0x1b8)]=_0x448c78():typeof define=='function'&&define[_0x207350(0x1b7)]?define(_0x448c78):(_0x3ac4b6=typeof globalThis<'u'?globalThis:_0x3ac4b6||self,_0x3ac4b6[_0x207350(0x1c1)]=_0x448c78());}(this,function(){'use strict';var _0x368cb9=_0x4d69;return{'chart':{'category':_0x368cb9(0x1bc),'series':_0x368cb9(0x1c2)}};}));
|
package/lib/umd/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1656(_0x193ee8,_0xe5e5f9){var _0x4aec93=_0x4aec();return _0x1656=function(_0x1656d9,_0x2ae2ac){_0x1656d9=_0x1656d9-0x159;var _0x3e99f2=_0x4aec93[_0x1656d9];return _0x3e99f2;},_0x1656(_0x193ee8,_0xe5e5f9);}function _0x4aec(){var _0x40d69c=['63476dKLkfY','486FPDhZL','6pFeXuM','34321573gaFuLE','function','object','9553840eOxoTy','UniverProSheetsChartRuRU','9822zjfBvv','Category','58626wyLQiY','198420hmmcOT','15HgDsxw','4818730exoGku','Series','exports','5467nJhDbT','amd'];_0x4aec=function(){return _0x40d69c;};return _0x4aec();}(function(_0x5d719d,_0x26b12d){var _0x36c045=_0x1656,_0xf5949e=_0x5d719d();while(!![]){try{var _0xa9ffe6=parseInt(_0x36c045(0x166))/0x1*(-parseInt(_0x36c045(0x164))/0x2)+parseInt(_0x36c045(0x15c))/0x3*(-parseInt(_0x36c045(0x15a))/0x4)+-parseInt(_0x36c045(0x167))/0x5+parseInt(_0x36c045(0x162))/0x6*(parseInt(_0x36c045(0x16a))/0x7)+-parseInt(_0x36c045(0x160))/0x8+parseInt(_0x36c045(0x15b))/0x9*(-parseInt(_0x36c045(0x165))/0xa)+parseInt(_0x36c045(0x15d))/0xb;if(_0xa9ffe6===_0x26b12d)break;else _0xf5949e['push'](_0xf5949e['shift']());}catch(_0x112d4c){_0xf5949e['push'](_0xf5949e['shift']());}}}(_0x4aec,0xaa5a3),function(_0x5abb54,_0x4d275f){var _0x300db0=_0x1656;typeof exports==_0x300db0(0x15f)&&typeof module<'u'?module[_0x300db0(0x169)]=_0x4d275f():typeof define==_0x300db0(0x15e)&&define[_0x300db0(0x159)]?define(_0x4d275f):(_0x5abb54=typeof globalThis<'u'?globalThis:_0x5abb54||self,_0x5abb54[_0x300db0(0x161)]=_0x4d275f());}(this,function(){'use strict';var _0x17008e=_0x1656;return{'chart':{'category':_0x17008e(0x163),'series':_0x17008e(0x168)}};}));
|
package/lib/umd/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x364e(){var _0x40ae44=['3922316MRLSQe','5KWPnal','1562231VdoGgL','126SeutbE','4733890hVfSWG','24ZISaNQ','UniverProSheetsChartViVN','4049493xGkFhi','6UclVSR','exports','123752eOnoEX','Category','396957RvYHBG','171grATEg','function','Series','6633zVVudi'];_0x364e=function(){return _0x40ae44;};return _0x364e();}function _0x27f0(_0x5185ed,_0x43ad31){var _0x364e09=_0x364e();return _0x27f0=function(_0x27f03b,_0x6f955c){_0x27f03b=_0x27f03b-0x18b;var _0x220dd7=_0x364e09[_0x27f03b];return _0x220dd7;},_0x27f0(_0x5185ed,_0x43ad31);}(function(_0x1e53bb,_0x217384){var _0x425aa6=_0x27f0,_0x2678e2=_0x1e53bb();while(!![]){try{var _0x286370=parseInt(_0x425aa6(0x196))/0x1+-parseInt(_0x425aa6(0x197))/0x2*(parseInt(_0x425aa6(0x193))/0x3)+-parseInt(_0x425aa6(0x194))/0x4*(parseInt(_0x425aa6(0x195))/0x5)+parseInt(_0x425aa6(0x18b))/0x6*(parseInt(_0x425aa6(0x19b))/0x7)+-parseInt(_0x425aa6(0x18d))/0x8*(-parseInt(_0x425aa6(0x190))/0x9)+-parseInt(_0x425aa6(0x198))/0xa+-parseInt(_0x425aa6(0x18f))/0xb*(-parseInt(_0x425aa6(0x199))/0xc);if(_0x286370===_0x217384)break;else _0x2678e2['push'](_0x2678e2['shift']());}catch(_0x5e0fc7){_0x2678e2['push'](_0x2678e2['shift']());}}}(_0x364e,0xdf092),function(_0x57273c,_0x5372ed){var _0x36aa96=_0x27f0;typeof exports=='object'&&typeof module<'u'?module[_0x36aa96(0x18c)]=_0x5372ed():typeof define==_0x36aa96(0x191)&&define['amd']?define(_0x5372ed):(_0x57273c=typeof globalThis<'u'?globalThis:_0x57273c||self,_0x57273c[_0x36aa96(0x19a)]=_0x5372ed());}(this,function(){'use strict';var _0x3a72e6=_0x27f0;return{'chart':{'category':_0x3a72e6(0x18e),'series':_0x3a72e6(0x192)}};}));
|
package/lib/umd/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3e23(){var _0x3c1ce3=['12oNAyBU','UniverProSheetsChartZhCN','505OMydbo','111944xKgGPe','1559656cXDpfa','exports','797250JLqOFO','object','7FeavNI','695354iOtdqp','13893830SSZbbr','amd','14316714mViPKv','3312ozKvqw'];_0x3e23=function(){return _0x3c1ce3;};return _0x3e23();}function _0x2d54(_0x3ae883,_0xcc2bb5){var _0x3e23b3=_0x3e23();return _0x2d54=function(_0x2d54ca,_0x43db99){_0x2d54ca=_0x2d54ca-0xfa;var _0x3f055d=_0x3e23b3[_0x2d54ca];return _0x3f055d;},_0x2d54(_0x3ae883,_0xcc2bb5);}(function(_0x3df934,_0x1e9bec){var _0x312443=_0x2d54,_0x40d25f=_0x3df934();while(!![]){try{var _0x2ad0e0=-parseInt(_0x312443(0x102))/0x1+-parseInt(_0x312443(0xfa))/0x2*(-parseInt(_0x312443(0xff))/0x3)+parseInt(_0x312443(0xfe))/0x4*(-parseInt(_0x312443(0x101))/0x5)+parseInt(_0x312443(0x105))/0x6+parseInt(_0x312443(0x107))/0x7*(-parseInt(_0x312443(0x103))/0x8)+-parseInt(_0x312443(0xfd))/0x9+parseInt(_0x312443(0xfb))/0xa;if(_0x2ad0e0===_0x1e9bec)break;else _0x40d25f['push'](_0x40d25f['shift']());}catch(_0x23f42e){_0x40d25f['push'](_0x40d25f['shift']());}}}(_0x3e23,0xe376b),function(_0x1fd005,_0x3112ff){var _0x5591c9=_0x2d54;typeof exports==_0x5591c9(0x106)&&typeof module<'u'?module[_0x5591c9(0x104)]=_0x3112ff():typeof define=='function'&&define[_0x5591c9(0xfc)]?define(_0x3112ff):(_0x1fd005=typeof globalThis<'u'?globalThis:_0x1fd005||self,_0x1fd005[_0x5591c9(0x100)]=_0x3112ff());}(this,function(){'use strict';return{'chart':{'category':'类别','series':'系列'}};}));
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x4d9d(_0xf01d7f,_0x31dcc6){var _0x31a395=_0x31a3();return _0x4d9d=function(_0x4d9d25,_0x530e82){_0x4d9d25=_0x4d9d25-0x64;var _0x5aa0c0=_0x31a395[_0x4d9d25];return _0x5aa0c0;},_0x4d9d(_0xf01d7f,_0x31dcc6);}(function(_0x1ba24a,_0x1a3777){var _0x3cfbf6=_0x4d9d,_0x41a555=_0x1ba24a();while(!![]){try{var _0x45c04b=parseInt(_0x3cfbf6(0x6d))/0x1+parseInt(_0x3cfbf6(0x69))/0x2+-parseInt(_0x3cfbf6(0x70))/0x3+-parseInt(_0x3cfbf6(0x6b))/0x4*(parseInt(_0x3cfbf6(0x6c))/0x5)+parseInt(_0x3cfbf6(0x64))/0x6*(parseInt(_0x3cfbf6(0x68))/0x7)+-parseInt(_0x3cfbf6(0x67))/0x8+-parseInt(_0x3cfbf6(0x66))/0x9*(-parseInt(_0x3cfbf6(0x65))/0xa);if(_0x45c04b===_0x1a3777)break;else _0x41a555['push'](_0x41a555['shift']());}catch(_0x53bfb9){_0x41a555['push'](_0x41a555['shift']());}}}(_0x31a3,0xe29fd),function(_0x1102b7,_0x1b2a23){var _0x532e72=_0x4d9d;typeof exports=='object'&&typeof module<'u'?module[_0x532e72(0x6e)]=_0x1b2a23():typeof define=='function'&&define[_0x532e72(0x6a)]?define(_0x1b2a23):(_0x1102b7=typeof globalThis<'u'?globalThis:_0x1102b7||self,_0x1102b7[_0x532e72(0x6f)]=_0x1b2a23());}(this,function(){'use strict';return{'chart':{'category':'类别','series':'系列'}};}));function _0x31a3(){var _0x5e2df0=['8639029cDVLFZ','1414712lizvor','amd','37812RUwVnH','970xNWUuJ','367880TNsyhY','exports','UniverProSheetsChartZhTW','5144115PSLnWG','6TlMSOl','21730WSgmXZ','9864actDlj','1713208MfkpxR'];_0x31a3=function(){return _0x5e2df0;};return _0x31a3();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-chart",
|
|
3
|
-
"version": "0.5.0-
|
|
3
|
+
"version": "0.5.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Chart library for Univer.",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -49,27 +49,22 @@
|
|
|
49
49
|
"files": [
|
|
50
50
|
"lib"
|
|
51
51
|
],
|
|
52
|
-
"engines": {
|
|
53
|
-
"node": ">=16.0.0",
|
|
54
|
-
"npm": ">=8.0.0"
|
|
55
|
-
},
|
|
56
52
|
"peerDependencies": {
|
|
57
53
|
"rxjs": ">=7.0.0",
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
54
|
+
"@univerjs/sheets": "0.5.0-beta.1",
|
|
55
|
+
"@univerjs/core": "0.5.0-beta.1"
|
|
60
56
|
},
|
|
61
57
|
"dependencies": {
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/
|
|
58
|
+
"@univerjs/sheets": "0.5.0-beta.1",
|
|
59
|
+
"@univerjs/core": "0.5.0-beta.1"
|
|
64
60
|
},
|
|
65
61
|
"devDependencies": {
|
|
66
|
-
"dayjs": "^1.11.11",
|
|
67
62
|
"echarts": "^5.5.1",
|
|
68
63
|
"rxjs": "^7.8.1",
|
|
69
|
-
"typescript": "^5.
|
|
70
|
-
"vite": "^5.
|
|
71
|
-
"vitest": "^2.1.
|
|
72
|
-
"@univerjs-infra/shared": "0.5.0-
|
|
64
|
+
"typescript": "^5.6.3",
|
|
65
|
+
"vite": "^5.4.11",
|
|
66
|
+
"vitest": "^2.1.5",
|
|
67
|
+
"@univerjs-infra/shared": "0.5.0-beta.1"
|
|
73
68
|
},
|
|
74
69
|
"space": {
|
|
75
70
|
".": {
|
|
@@ -94,6 +89,6 @@
|
|
|
94
89
|
"test:watch": "vitest",
|
|
95
90
|
"coverage": "vitest run --coverage",
|
|
96
91
|
"lint:types": "tsc --noEmit",
|
|
97
|
-
"build": "
|
|
92
|
+
"build": "univer-cli build"
|
|
98
93
|
}
|
|
99
94
|
}
|