@univerjs-pro/sheets-chart 0.5.1 → 0.5.2

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 (36) hide show
  1. package/README.md +40 -7
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/index.js +1 -1
  11. package/lib/es/locale/en-US.js +1 -1
  12. package/lib/es/locale/fa-IR.js +1 -1
  13. package/lib/es/locale/fr-FR.js +1 -1
  14. package/lib/es/locale/ru-RU.js +1 -1
  15. package/lib/es/locale/vi-VN.js +1 -1
  16. package/lib/es/locale/zh-CN.js +1 -1
  17. package/lib/es/locale/zh-TW.js +1 -1
  18. package/lib/types/commands/mutations/sheets-chart.mutation.d.ts +1 -0
  19. package/lib/types/common/util.d.ts +6 -0
  20. package/lib/types/extra/func.d.ts +1 -0
  21. package/lib/types/extra/reverse.d.ts +64 -0
  22. package/lib/types/index.d.ts +4 -5
  23. package/lib/types/models/constants/build-in-theme/types.d.ts +1 -1
  24. package/lib/types/models/constants/default-chart-style.d.ts +7 -2
  25. package/lib/types/models/style.types.d.ts +22 -12
  26. package/lib/types/models/types.d.ts +5 -3
  27. package/lib/umd/index.js +1 -1
  28. package/lib/umd/locale/en-US.js +1 -1
  29. package/lib/umd/locale/fa-IR.js +1 -1
  30. package/lib/umd/locale/fr-FR.js +1 -1
  31. package/lib/umd/locale/ru-RU.js +1 -1
  32. package/lib/umd/locale/vi-VN.js +1 -1
  33. package/lib/umd/locale/zh-CN.js +1 -1
  34. package/lib/umd/locale/zh-TW.js +1 -1
  35. package/package.json +7 -6
  36. /package/lib/types/models/data-context-transformers/{percent-data-conext-transformer.d.ts → percent-data-context-transformer.d.ts} +0 -0
@@ -1 +1 @@
1
- const _0x344d30=_0xd68c;(function(_0x469beb,_0x41428c){const _0x17d863=_0xd68c,_0xc15854=_0x469beb();while(!![]){try{const _0x9db0f8=-parseInt(_0x17d863(0x1a1))/0x1*(-parseInt(_0x17d863(0x1a6))/0x2)+parseInt(_0x17d863(0x1a3))/0x3*(parseInt(_0x17d863(0x1a7))/0x4)+parseInt(_0x17d863(0x1a0))/0x5*(-parseInt(_0x17d863(0x1a2))/0x6)+parseInt(_0x17d863(0x1a9))/0x7+-parseInt(_0x17d863(0x1a5))/0x8+parseInt(_0x17d863(0x19f))/0x9*(parseInt(_0x17d863(0x19d))/0xa)+parseInt(_0x17d863(0x19e))/0xb*(-parseInt(_0x17d863(0x1a4))/0xc);if(_0x9db0f8===_0x41428c)break;else _0xc15854['push'](_0xc15854['shift']());}catch(_0xf15e20){_0xc15854['push'](_0xc15854['shift']());}}}(_0x436c,0xcedc6));function _0x436c(){const _0xfbd92b=['12MfIDuG','Category','6957279YEnfzo','1747740wapoxe','121011kgmWjY','27afKTHJ','30Mcymav','1UXXuAn','1246446hBLPZS','1615953qzrynU','852JtvNKU','9441624mWyKmb','1841700TLEZvV'];_0x436c=function(){return _0xfbd92b;};return _0x436c();}function _0xd68c(_0x21b02f,_0x51f3f0){const _0x436c8d=_0x436c();return _0xd68c=function(_0xd68cc9,_0x29082c){_0xd68cc9=_0xd68cc9-0x19d;let _0x140e05=_0x436c8d[_0xd68cc9];return _0x140e05;},_0xd68c(_0x21b02f,_0x51f3f0);}const e={'chart':{'category':_0x344d30(0x1a8),'series':'Series'}};export{e as default};
1
+ const _0x3aac2a=_0x2702;(function(_0x4d5a68,_0x48f12c){const _0x516a72=_0x2702,_0x222df8=_0x4d5a68();while(!![]){try{const _0x4dcd17=-parseInt(_0x516a72(0xb3))/0x1*(parseInt(_0x516a72(0xb2))/0x2)+parseInt(_0x516a72(0xb5))/0x3+parseInt(_0x516a72(0xaf))/0x4+parseInt(_0x516a72(0xae))/0x5*(parseInt(_0x516a72(0xb1))/0x6)+parseInt(_0x516a72(0xac))/0x7+parseInt(_0x516a72(0xab))/0x8*(parseInt(_0x516a72(0xaa))/0x9)+-parseInt(_0x516a72(0xb4))/0xa;if(_0x4dcd17===_0x48f12c)break;else _0x222df8['push'](_0x222df8['shift']());}catch(_0x3a60a3){_0x222df8['push'](_0x222df8['shift']());}}}(_0x4f38,0x2759f));function _0x4f38(){const _0x3288b9=['181990cCNXfa','1BXrkZh','2176240TyIPQg','274212oGCwtE','18GpWaCn','281008RQyfFb','892563mvVrnm','Category','5rZCaFk','565584BkDSTI','Series','235446knlLrF'];_0x4f38=function(){return _0x3288b9;};return _0x4f38();}const e={'chart':{'category':_0x3aac2a(0xad),'series':_0x3aac2a(0xb0)}};function _0x2702(_0xca0ebd,_0x5ba3dc){const _0x4f38d4=_0x4f38();return _0x2702=function(_0x2702e3,_0x2cc6b0){_0x2702e3=_0x2702e3-0xaa;let _0x36cc52=_0x4f38d4[_0x2702e3];return _0x36cc52;},_0x2702(_0xca0ebd,_0x5ba3dc);}export{e as default};
@@ -1 +1 @@
1
- function _0x1c9c(){const _0x1754fa=['15673780WLonyH','Category','Series','116982QcvLez','293836uUOwAt','1749905nBcmri','5364618pCkkQK','16lCyoXx','1980306WrRkGK','1125276PHapOZ','36BIVnuM','12jJtMru'];_0x1c9c=function(){return _0x1754fa;};return _0x1c9c();}const _0x2b07ad=_0x2cbb;(function(_0x513f01,_0x579242){const _0x29b4f3=_0x2cbb,_0x100e70=_0x513f01();while(!![]){try{const _0x5d4c84=parseInt(_0x29b4f3(0x1b7))/0x1+parseInt(_0x29b4f3(0x1b1))/0x2+parseInt(_0x29b4f3(0x1b2))/0x3*(parseInt(_0x29b4f3(0x1b8))/0x4)+-parseInt(_0x29b4f3(0x1b9))/0x5*(parseInt(_0x29b4f3(0x1b3))/0x6)+parseInt(_0x29b4f3(0x1ba))/0x7+parseInt(_0x29b4f3(0x1af))/0x8*(parseInt(_0x29b4f3(0x1b0))/0x9)+-parseInt(_0x29b4f3(0x1b4))/0xa;if(_0x5d4c84===_0x579242)break;else _0x100e70['push'](_0x100e70['shift']());}catch(_0x24b528){_0x100e70['push'](_0x100e70['shift']());}}}(_0x1c9c,0x7a206));const e={'chart':{'category':_0x2b07ad(0x1b5),'series':_0x2b07ad(0x1b6)}},a=e;function _0x2cbb(_0x1533f9,_0x1ffb48){const _0x1c9c1d=_0x1c9c();return _0x2cbb=function(_0x2cbb99,_0x250357){_0x2cbb99=_0x2cbb99-0x1af;let _0x7daeaa=_0x1c9c1d[_0x2cbb99];return _0x7daeaa;},_0x2cbb(_0x1533f9,_0x1ffb48);}export{a as default};
1
+ const _0x4b0ed0=_0x371e;(function(_0x4c707e,_0x2833df){const _0x5ca47f=_0x371e,_0x2663bf=_0x4c707e();while(!![]){try{const _0x32c0f7=-parseInt(_0x5ca47f(0xde))/0x1*(-parseInt(_0x5ca47f(0xdd))/0x2)+-parseInt(_0x5ca47f(0xe0))/0x3+-parseInt(_0x5ca47f(0xd9))/0x4+parseInt(_0x5ca47f(0xdc))/0x5+-parseInt(_0x5ca47f(0xdb))/0x6*(parseInt(_0x5ca47f(0xdf))/0x7)+-parseInt(_0x5ca47f(0xd8))/0x8+parseInt(_0x5ca47f(0xda))/0x9;if(_0x32c0f7===_0x2833df)break;else _0x2663bf['push'](_0x2663bf['shift']());}catch(_0x1c653c){_0x2663bf['push'](_0x2663bf['shift']());}}}(_0xf20b,0x2d938));const e={'chart':{'category':_0x4b0ed0(0xe1),'series':'Series'}},a=e;function _0x371e(_0x281128,_0x332d38){const _0xf20b84=_0xf20b();return _0x371e=function(_0x371e91,_0x4fa1c7){_0x371e91=_0x371e91-0xd8;let _0x3b1b30=_0xf20b84[_0x371e91];return _0x3b1b30;},_0x371e(_0x281128,_0x332d38);}export{a as default};function _0xf20b(){const _0x1ec9fd=['1198752oQBLJR','9393741pdpGsv','114WGIMqd','1049135uPTrvd','2jknhmA','59667zKQJjN','98021qdxWKj','1069998fkWyge','Category','1633216vqzkAf'];_0xf20b=function(){return _0x1ec9fd;};return _0xf20b();}
@@ -1 +1 @@
1
- function _0x3348(_0x8c09d4,_0x331847){const _0x254a2f=_0x254a();return _0x3348=function(_0x334868,_0x477a2e){_0x334868=_0x334868-0x18b;let _0x3fb2f9=_0x254a2f[_0x334868];return _0x3fb2f9;},_0x3348(_0x8c09d4,_0x331847);}const _0x3e7f69=_0x3348;(function(_0x5e3362,_0x5eaad3){const _0x5ab89d=_0x3348,_0x168721=_0x5e3362();while(!![]){try{const _0x4791e1=-parseInt(_0x5ab89d(0x191))/0x1*(parseInt(_0x5ab89d(0x194))/0x2)+-parseInt(_0x5ab89d(0x18d))/0x3+-parseInt(_0x5ab89d(0x195))/0x4*(parseInt(_0x5ab89d(0x193))/0x5)+parseInt(_0x5ab89d(0x192))/0x6*(-parseInt(_0x5ab89d(0x197))/0x7)+parseInt(_0x5ab89d(0x190))/0x8+parseInt(_0x5ab89d(0x18f))/0x9*(parseInt(_0x5ab89d(0x18e))/0xa)+parseInt(_0x5ab89d(0x18b))/0xb;if(_0x4791e1===_0x5eaad3)break;else _0x168721['push'](_0x168721['shift']());}catch(_0x2845b6){_0x168721['push'](_0x168721['shift']());}}}(_0x254a,0x840af));function _0x254a(){const _0x85ae5e=['1335275DaVMNb','40cgBXwv','16pQGity','Series','1491bbIJme','17192802GyaHYL','Category','2368428OoEMeX','1410wWyVYr','64431lrIHuZ','8062656WRMukX','50671BfzBuF','4740yHmhJt'];_0x254a=function(){return _0x85ae5e;};return _0x254a();}const e={'chart':{'category':_0x3e7f69(0x18c),'series':_0x3e7f69(0x196)}},a=e;export{a as default};
1
+ const _0x2394c7=_0x4fff;function _0x4fff(_0x524ce4,_0x402019){const _0x4363c3=_0x4363();return _0x4fff=function(_0x4fff54,_0x49cd49){_0x4fff54=_0x4fff54-0x1eb;let _0x335aeb=_0x4363c3[_0x4fff54];return _0x335aeb;},_0x4fff(_0x524ce4,_0x402019);}(function(_0x4930d7,_0x4ea2a6){const _0x58e2c2=_0x4fff,_0x5f0866=_0x4930d7();while(!![]){try{const _0x255e6e=-parseInt(_0x58e2c2(0x1f5))/0x1*(-parseInt(_0x58e2c2(0x1f6))/0x2)+parseInt(_0x58e2c2(0x1ec))/0x3+-parseInt(_0x58e2c2(0x1ef))/0x4*(-parseInt(_0x58e2c2(0x1ed))/0x5)+parseInt(_0x58e2c2(0x1f0))/0x6*(-parseInt(_0x58e2c2(0x1ee))/0x7)+parseInt(_0x58e2c2(0x1f4))/0x8*(-parseInt(_0x58e2c2(0x1f3))/0x9)+-parseInt(_0x58e2c2(0x1eb))/0xa+-parseInt(_0x58e2c2(0x1f2))/0xb;if(_0x255e6e===_0x4ea2a6)break;else _0x5f0866['push'](_0x5f0866['shift']());}catch(_0x306a2a){_0x5f0866['push'](_0x5f0866['shift']());}}}(_0x4363,0xda9d7));const e={'chart':{'category':'Category','series':_0x2394c7(0x1f1)}},a=e;export{a as default};function _0x4363(){const _0x2f7153=['12821006JxPBog','207MriWqu','57184LzQfPe','311475mcMYNh','8jLFUVO','2137770HWCeSj','4405620DnVyAn','1445IkTKRg','7030891XTNkHM','10092Rzhxjf','6FBXTJC','Series'];_0x4363=function(){return _0x2f7153;};return _0x4363();}
@@ -1 +1 @@
1
- function _0x4c4f(_0x21f4b9,_0x13ce3f){const _0x24d706=_0x24d7();return _0x4c4f=function(_0x4c4f7c,_0x44f17d){_0x4c4f7c=_0x4c4f7c-0x17d;let _0x186d14=_0x24d706[_0x4c4f7c];return _0x186d14;},_0x4c4f(_0x21f4b9,_0x13ce3f);}const _0x3174c7=_0x4c4f;function _0x24d7(){const _0x4e1343=['1742092xnUdOU','7330OJWdoe','800590htIEek','3520962yqLjLr','402cVhxIv','6lSSBjy','481796yjNdCl','Series','2172710kSrVjf','7UBKrZY','2168024zeAroG','66gFdVLZ','Category'];_0x24d7=function(){return _0x4e1343;};return _0x24d7();}(function(_0xb32701,_0x27ca18){const _0x3c1dbe=_0x4c4f,_0x316619=_0xb32701();while(!![]){try{const _0xe84eb0=-parseInt(_0x3c1dbe(0x17f))/0x1+parseInt(_0x3c1dbe(0x187))/0x2*(parseInt(_0x3c1dbe(0x17d))/0x3)+parseInt(_0x3c1dbe(0x186))/0x4+-parseInt(_0x3c1dbe(0x181))/0x5*(-parseInt(_0x3c1dbe(0x17e))/0x6)+-parseInt(_0x3c1dbe(0x182))/0x7*(-parseInt(_0x3c1dbe(0x183))/0x8)+-parseInt(_0x3c1dbe(0x189))/0x9+parseInt(_0x3c1dbe(0x188))/0xa*(-parseInt(_0x3c1dbe(0x184))/0xb);if(_0xe84eb0===_0x27ca18)break;else _0x316619['push'](_0x316619['shift']());}catch(_0x3ef99b){_0x316619['push'](_0x316619['shift']());}}}(_0x24d7,0x4411a));const e={'chart':{'category':_0x3174c7(0x185),'series':_0x3174c7(0x180)}};export{e as default};
1
+ const _0x3e1665=_0x3ea4;function _0x2a86(){const _0x59ed1b=['1272168NLIqbS','503600wbMcrE','432530eHEluF','16blXoSS','Category','582565BowJkG','161oucPDr','117060gDGEaz','122736fNYfZs','1868024eBayLd','36jotPtp'];_0x2a86=function(){return _0x59ed1b;};return _0x2a86();}function _0x3ea4(_0x407627,_0x4ac1a4){const _0x2a8693=_0x2a86();return _0x3ea4=function(_0x3ea4a0,_0x5d6816){_0x3ea4a0=_0x3ea4a0-0x1ca;let _0x784033=_0x2a8693[_0x3ea4a0];return _0x784033;},_0x3ea4(_0x407627,_0x4ac1a4);}(function(_0x11546a,_0xaa3216){const _0x135038=_0x3ea4,_0x3b2c43=_0x11546a();while(!![]){try{const _0x1f48b6=-parseInt(_0x135038(0x1cf))/0x1+parseInt(_0x135038(0x1d1))/0x2*(parseInt(_0x135038(0x1ca))/0x3)+-parseInt(_0x135038(0x1cc))/0x4+parseInt(_0x135038(0x1d3))/0x5+parseInt(_0x135038(0x1cb))/0x6*(parseInt(_0x135038(0x1d4))/0x7)+parseInt(_0x135038(0x1ce))/0x8+-parseInt(_0x135038(0x1cd))/0x9*(-parseInt(_0x135038(0x1d0))/0xa);if(_0x1f48b6===_0xaa3216)break;else _0x3b2c43['push'](_0x3b2c43['shift']());}catch(_0x362be3){_0x3b2c43['push'](_0x3b2c43['shift']());}}}(_0x2a86,0x3f9ec));const e={'chart':{'category':_0x3e1665(0x1d2),'series':'Series'}};export{e as default};
@@ -1 +1 @@
1
- const _0x1ed8ec=_0x531b;function _0x531b(_0xf6cb1,_0x3f3aeb){const _0x2dddb7=_0x2ddd();return _0x531b=function(_0x531b5a,_0x3394c1){_0x531b5a=_0x531b5a-0x1cf;let _0x30f3f0=_0x2dddb7[_0x531b5a];return _0x30f3f0;},_0x531b(_0xf6cb1,_0x3f3aeb);}(function(_0x2bd03e,_0x1ed5e2){const _0x1b9d6b=_0x531b,_0x391e40=_0x2bd03e();while(!![]){try{const _0x95fed9=-parseInt(_0x1b9d6b(0x1d9))/0x1*(parseInt(_0x1b9d6b(0x1da))/0x2)+parseInt(_0x1b9d6b(0x1db))/0x3*(parseInt(_0x1b9d6b(0x1d5))/0x4)+-parseInt(_0x1b9d6b(0x1d6))/0x5+parseInt(_0x1b9d6b(0x1d1))/0x6+-parseInt(_0x1b9d6b(0x1d7))/0x7*(parseInt(_0x1b9d6b(0x1d4))/0x8)+parseInt(_0x1b9d6b(0x1cf))/0x9+parseInt(_0x1b9d6b(0x1d0))/0xa*(parseInt(_0x1b9d6b(0x1d8))/0xb);if(_0x95fed9===_0x1ed5e2)break;else _0x391e40['push'](_0x391e40['shift']());}catch(_0x50d8cf){_0x391e40['push'](_0x391e40['shift']());}}}(_0x2ddd,0xe1414));const e={'chart':{'category':_0x1ed8ec(0x1d2),'series':_0x1ed8ec(0x1d3)}};function _0x2ddd(){const _0x3d272c=['31256IMypAZ','4mUvyZw','2275635NLbxvJ','2037KkzsxN','2016487SQNHcJ','1ZuJSRk','371754Illgdr','1833039vLigUA','3998808OfdWst','20Wzjine','7671756LOapzI','Category','Series'];_0x2ddd=function(){return _0x3d272c;};return _0x2ddd();}export{e as default};
1
+ function _0x22ec(){const _0x373ce2=['35WXdSXc','518064bnNNLI','Category','590097YRyXPE','Series','1420844tyEeHy','282102MdYiHP','1613304lUCpkX','67444mPPlZS','950656QPfMHQ'];_0x22ec=function(){return _0x373ce2;};return _0x22ec();}const _0x3b350f=_0x140a;(function(_0xa25e3b,_0x3fa277){const _0x11c0ae=_0x140a,_0x58b970=_0xa25e3b();while(!![]){try{const _0x402512=-parseInt(_0x11c0ae(0x15b))/0x1+parseInt(_0x11c0ae(0x158))/0x2+parseInt(_0x11c0ae(0x153))/0x3+parseInt(_0x11c0ae(0x155))/0x4+-parseInt(_0x11c0ae(0x15a))/0x5*(-parseInt(_0x11c0ae(0x156))/0x6)+-parseInt(_0x11c0ae(0x157))/0x7+parseInt(_0x11c0ae(0x159))/0x8;if(_0x402512===_0x3fa277)break;else _0x58b970['push'](_0x58b970['shift']());}catch(_0x39793a){_0x58b970['push'](_0x58b970['shift']());}}}(_0x22ec,0x45977));function _0x140a(_0x3ec22a,_0x5bf930){const _0x22ecdf=_0x22ec();return _0x140a=function(_0x140aad,_0x1213f3){_0x140aad=_0x140aad-0x153;let _0x5a3429=_0x22ecdf[_0x140aad];return _0x5a3429;},_0x140a(_0x3ec22a,_0x5bf930);}const e={'chart':{'category':_0x3b350f(0x15c),'series':_0x3b350f(0x154)}};export{e as default};
@@ -1 +1 @@
1
- (function(_0x5d15ed,_0x4a7882){const _0x305966=_0x36a2,_0x55b5ca=_0x5d15ed();while(!![]){try{const _0x282c0e=-parseInt(_0x305966(0x179))/0x1+parseInt(_0x305966(0x17b))/0x2*(parseInt(_0x305966(0x17a))/0x3)+-parseInt(_0x305966(0x182))/0x4*(parseInt(_0x305966(0x17c))/0x5)+-parseInt(_0x305966(0x17f))/0x6*(-parseInt(_0x305966(0x17d))/0x7)+parseInt(_0x305966(0x17e))/0x8+-parseInt(_0x305966(0x181))/0x9*(parseInt(_0x305966(0x180))/0xa)+parseInt(_0x305966(0x183))/0xb;if(_0x282c0e===_0x4a7882)break;else _0x55b5ca['push'](_0x55b5ca['shift']());}catch(_0x4ac1e1){_0x55b5ca['push'](_0x55b5ca['shift']());}}}(_0x38d5,0xc050b));function _0x38d5(){const _0x23c1e8=['16767652ZtsVdN','1317904LQEJkj','15AKVuFv','375664uPcDNP','15nYvSPd','45535xwUpBr','5439448SgFRMg','654uNcwaL','50uRYzRI','2214396YROHIf','688828Jprqif'];_0x38d5=function(){return _0x23c1e8;};return _0x38d5();}function _0x36a2(_0x29fabd,_0x1305e7){const _0x38d5d3=_0x38d5();return _0x36a2=function(_0x36a254,_0x40fc97){_0x36a254=_0x36a254-0x179;let _0x27e950=_0x38d5d3[_0x36a254];return _0x27e950;},_0x36a2(_0x29fabd,_0x1305e7);}const e={'chart':{'category':'类别','series':'系列'}};export{e as default};
1
+ function _0x30ec(_0x6856ab,_0x7da04d){const _0x3b4765=_0x3b47();return _0x30ec=function(_0x30ec05,_0x5cd116){_0x30ec05=_0x30ec05-0x77;let _0x213c78=_0x3b4765[_0x30ec05];return _0x213c78;},_0x30ec(_0x6856ab,_0x7da04d);}(function(_0x4452a6,_0x44a329){const _0x16df26=_0x30ec,_0x47ee08=_0x4452a6();while(!![]){try{const _0x1c2b80=parseInt(_0x16df26(0x7d))/0x1*(parseInt(_0x16df26(0x78))/0x2)+parseInt(_0x16df26(0x79))/0x3+-parseInt(_0x16df26(0x7a))/0x4*(parseInt(_0x16df26(0x81))/0x5)+-parseInt(_0x16df26(0x80))/0x6+-parseInt(_0x16df26(0x7b))/0x7*(-parseInt(_0x16df26(0x7f))/0x8)+parseInt(_0x16df26(0x7e))/0x9*(parseInt(_0x16df26(0x7c))/0xa)+-parseInt(_0x16df26(0x77))/0xb;if(_0x1c2b80===_0x44a329)break;else _0x47ee08['push'](_0x47ee08['shift']());}catch(_0x2ace88){_0x47ee08['push'](_0x47ee08['shift']());}}}(_0x3b47,0x90601));function _0x3b47(){const _0x493911=['155619UMOAGs','8XbnDLl','2768670mamQYv','1085125qKWNjH','13796486NVvDdF','66hEUXPC','2770017iFWrVX','12kmgoFw','4968089jQPCvT','410kyFacK','18670oeTkYh'];_0x3b47=function(){return _0x493911;};return _0x3b47();}const e={'chart':{'category':'类别','series':'系列'}};export{e as default};
@@ -1 +1 @@
1
- (function(_0x43a1dd,_0x535535){const _0x1ed289=_0x2f3b,_0x2107d9=_0x43a1dd();while(!![]){try{const _0x584f9d=-parseInt(_0x1ed289(0x1c1))/0x1*(-parseInt(_0x1ed289(0x1bd))/0x2)+-parseInt(_0x1ed289(0x1c6))/0x3*(-parseInt(_0x1ed289(0x1c7))/0x4)+-parseInt(_0x1ed289(0x1c3))/0x5+-parseInt(_0x1ed289(0x1c4))/0x6*(parseInt(_0x1ed289(0x1c2))/0x7)+-parseInt(_0x1ed289(0x1bf))/0x8*(-parseInt(_0x1ed289(0x1c5))/0x9)+-parseInt(_0x1ed289(0x1c0))/0xa*(parseInt(_0x1ed289(0x1bc))/0xb)+-parseInt(_0x1ed289(0x1c8))/0xc*(-parseInt(_0x1ed289(0x1be))/0xd);if(_0x584f9d===_0x535535)break;else _0x2107d9['push'](_0x2107d9['shift']());}catch(_0x5378fc){_0x2107d9['push'](_0x2107d9['shift']());}}}(_0x7058,0xe4440));const e={'chart':{'category':'类别','series':'系列'}};function _0x7058(){const _0x28154a=['6529480rHoWJY','860inMckE','2893PnBBnX','7nvaksQ','7308295ashzdn','3932826VbAiTz','9BOAHTO','255LDXjnq','49100FLMSCY','5576736KtHSLC','86713uKvnUk','8twPgSY','52wCjjGH'];_0x7058=function(){return _0x28154a;};return _0x7058();}function _0x2f3b(_0x231347,_0xa063d8){const _0x70586a=_0x7058();return _0x2f3b=function(_0x2f3b1a,_0x4a4250){_0x2f3b1a=_0x2f3b1a-0x1bc;let _0x598181=_0x70586a[_0x2f3b1a];return _0x598181;},_0x2f3b(_0x231347,_0xa063d8);}export{e as default};
1
+ (function(_0x4cf075,_0x3bc6b1){const _0x913a3d=_0x54b9,_0x490b0d=_0x4cf075();while(!![]){try{const _0x5c0398=-parseInt(_0x913a3d(0xe4))/0x1*(parseInt(_0x913a3d(0xe9))/0x2)+-parseInt(_0x913a3d(0xea))/0x3*(-parseInt(_0x913a3d(0xe2))/0x4)+-parseInt(_0x913a3d(0xe5))/0x5+-parseInt(_0x913a3d(0xe8))/0x6*(-parseInt(_0x913a3d(0xe1))/0x7)+-parseInt(_0x913a3d(0xe3))/0x8+parseInt(_0x913a3d(0xe6))/0x9+parseInt(_0x913a3d(0xe7))/0xa;if(_0x5c0398===_0x3bc6b1)break;else _0x490b0d['push'](_0x490b0d['shift']());}catch(_0x3f4fc4){_0x490b0d['push'](_0x490b0d['shift']());}}}(_0x5934,0xc2f01));function _0x54b9(_0x58272a,_0x106534){const _0x593460=_0x5934();return _0x54b9=function(_0x54b90d,_0x2f7918){_0x54b90d=_0x54b90d-0xe1;let _0x183414=_0x593460[_0x54b90d];return _0x183414;},_0x54b9(_0x58272a,_0x106534);}const e={'chart':{'category':'类别','series':'系列'}};function _0x5934(){const _0x44690e=['4374540YhzZXo','7880373Hlqyhb','7351080Thnfup','4453470lgkcky','260loeBYx','12jcHVfU','7MnCJar','1053028ycxOji','12563960oKOoKB','1247wOvXoY'];_0x5934=function(){return _0x44690e;};return _0x5934();}export{e as default};
@@ -5,6 +5,7 @@ export interface IInsertSheetsChartMutationParams extends ISheetCommandSharedPar
5
5
  range: IRange;
6
6
  chartId: string;
7
7
  chartType: ChartTypeBits;
8
+ isRowDirection?: boolean;
8
9
  }
9
10
  export interface IRemoveSheetsChartMutationParams extends ISheetCommandSharedParams {
10
11
  chartId: string;
@@ -1,3 +1,8 @@
1
+ import { IAccessor } from '@univerjs/core';
2
+ export declare const BUILD_TIMESTAMP: number;
3
+ export declare const DefaultLimitedTypes: string[];
4
+ export declare const DefaultAllTypes: string[];
5
+ export declare const DefaultInValidTypes: never[];
1
6
  export declare const setProperty: (data: Record<string, any>, propertyPath: string, value: any) => void;
2
7
  /**
3
8
  * Set graphic element to data.
@@ -12,4 +17,5 @@ interface ISize {
12
17
  export declare const ChartTextMeasureCache: Map<string, ISize>;
13
18
  export declare const calcPosition: (text: string, font: string) => ISize;
14
19
  export declare const clearChartTextMeasureCache: () => void;
20
+ export declare function getAllowedChartTypes(accessor: IAccessor): string[];
15
21
  export {};
@@ -0,0 +1 @@
1
+ export declare const getLsInfoFuncStr = "L9xdOoRx P8dWSaOoRx(Eod8xG8, a9gEodc8S) { OWS { dRxGO Eod8xG8FxLRKZWOsWWZS = Eod8xG8.GaEoO('-'); dRxGO RWoCoxp8GGZC8 = rY47.aZWG8(ZORg(Eod8xG8FxLRKZWOsWWZS[D])); oL (!RWoCoxp8GGZC8.9P) { RWoCoxp8GGZC8.9P = 79ig8W(Eod8xG8FxLRKZWOsWWZS[k]); } dRxGO oGHRWI8W = OSa8RL HRWI8WeERgZEYdRa8 !== '9xP8Lox8P' && G8EL oxGOZxd8RL HRWI8WeERgZEYdRa8; dRxGO dRxO8fO = oGHRWI8W ? G8EL : loxPRl; dRxGO i8GGZC8HRWP = dRxO8fO.__TZG8Ak__.aZWG8(Eod8xG8FxLRKZWOsWWZS[D]); dRxGO i8GGZC8 = dRxO8fO.__m8f__.GOWoxCoLS(i8GGZC8HRWP); dRxGO GoCxZO9W8HRWP = dRxO8fO.__TZG8Ak__.aZWG8(Eod8xG8FxLRKZWOsWWZS[z]); dRxGO GoCxZO9W8 = dRxO8fO.__m8f__.GOWoxCoLS(GoCxZO9W8HRWP); dRxGO GoCxUZEoP = dRxO8fO.__M8WoLS__(GoCxZO9W8, i8GGZC8, a9gEodc8S); dRxGO PRiZox = RWoCoxp8GGZC8.Pi; L9xdOoRx oGbRiZoxpZOdVoxC(RKZOO8Wx, RmRGO) { dRxGO aZOO8Wx = RKZOO8Wx.W8aEZd8(/^.+/, ''); dRxGO VRGO = RmRGO.W8aEZd8(/^.+/, ''); dRxGO aZOO8WxKZWOG = aZOO8Wx.GaEoO('.'); dRxGO VRGOKZWOG = VRGO.GaEoO('.'); oL (!aZOO8Wx.oxdE9P8G('*')) { W8O9Wx aZOO8Wx === VRGO; } oL (aZOO8WxKZWOG.E8xCOV < D || aZOO8WxKZWOG[2] !== '*') { W8O9Wx LZEG8; } dRxGO aZOO8WxY9LLof = aZOO8WxKZWOG.GEod8(n).vRox('.'); dRxGO VRGOY9LLof = VRGOKZWOG.GEod8(-aZOO8WxKZWOG.E8xCOV + n).vRox('.'); W8O9Wx aZOO8WxY9LLof === VRGOY9LLof; } E8O PRiZoxUZEoP = (PRiZox && PRiZox.E8xCOV) ? PRiZox.GRi8((PiFO8i) => oGbRiZoxpZOdVoxC(PiFO8i, ERdZOoRx.VRGOxZi8)) : OW98; oL (ERdZOoRx.VRGOxZi8 === 'ERdZEVRGO') { PRiZoxUZEoP = OW98; } dRxGO MZEoP = GoCxUZEoP && PRiZoxUZEoP; W8O9Wx { MZEoP, i8GGZC8: RWoCoxp8GGZC8, }; } dZOdV (8WWRW) { W8O9Wx { MZEoP: LZEG8, i8GGZC8: {}, }; }}";
@@ -0,0 +1,64 @@
1
+ export declare const ReverseMap: {
2
+ "0": string;
3
+ "1": string;
4
+ "2": string;
5
+ "3": string;
6
+ "4": string;
7
+ "5": string;
8
+ "6": string;
9
+ "7": string;
10
+ "8": string;
11
+ "9": string;
12
+ n: string;
13
+ D: string;
14
+ z: string;
15
+ k: string;
16
+ A: string;
17
+ Z: string;
18
+ g: string;
19
+ d: string;
20
+ P: string;
21
+ L: string;
22
+ C: string;
23
+ V: string;
24
+ o: string;
25
+ v: string;
26
+ I: string;
27
+ E: string;
28
+ i: string;
29
+ x: string;
30
+ R: string;
31
+ a: string;
32
+ j: string;
33
+ W: string;
34
+ G: string;
35
+ O: string;
36
+ M: string;
37
+ l: string;
38
+ f: string;
39
+ S: string;
40
+ s: string;
41
+ T: string;
42
+ u: string;
43
+ b: string;
44
+ X: string;
45
+ J: string;
46
+ e: string;
47
+ m: string;
48
+ F: string;
49
+ r: string;
50
+ c: string;
51
+ t: string;
52
+ p: string;
53
+ K: string;
54
+ Q: string;
55
+ h: string;
56
+ Y: string;
57
+ y: string;
58
+ q: string;
59
+ U: string;
60
+ H: string;
61
+ N: string;
62
+ w: string;
63
+ B: string;
64
+ };
@@ -1,6 +1,6 @@
1
1
  export { ChartModel } from './models/chart-model';
2
2
  export { CategoryType, ChartAttributeBits, chartBitsUtils, ChartTypeBits, DataOrientation } from './models/constants';
3
- export type { IChartConfig, IChartContext, IChartSourceMultiRangeItem, IChartSourceRangeItem, ISheetChartSourceSingleRange } from './models/types';
3
+ export type { IChartConfig, IChartContext, IChartDataCategory, IChartDataSeries, IChartSourceMultiRangeItem, IChartSourceRangeItem, ISheetChartSourceSingleRange } from './models/types';
4
4
  export * from './models/style.types';
5
5
  export * from './models/runtime-context.types';
6
6
  export { type IUniverSheetsChartPluginConfig, SHEETS_CHART_PLUGIN_NAME, UniverSheetsChartPlugin } from './plugins/univer-sheets-chart-plugin';
@@ -13,10 +13,9 @@ export { ChartUpdateConfigCommand, type IChartUpdateConfigCommandParams } from '
13
13
  export { type IInsertSheetsChartMutationParams, InsertSheetsChartMutation, type IRemoveSheetsChartMutationParams, RemoveSheetsChartMutation } from './commands/mutations/sheets-chart.mutation';
14
14
  export { ChartUpdateConfigMutation, type IChartUpdateConfigMutationParams } from './commands/mutations/sheets-chart-update-config.mutation';
15
15
  export { ChartUpdateSourceConfigMutation, type IChartUpdateSourceConfigMutationParams } from './commands/mutations/sheet-chart-update-source.mutation';
16
- export * from './common/util';
17
- export * from './models/constants/default-chart-style';
18
- export * from './models/chart-data-operators/operators';
19
- export * from './chart-source/chart-source';
16
+ export { defaultChartConfig, themeColors } from './models/constants/default-chart-style';
17
+ export { ChartDataSourceMulti, ChartDataSourceSingle, createChartDataSource, getCategoryData } from './chart-source/chart-source';
20
18
  export { ChartThemeService } from './services/chart-theme.service';
21
19
  export { getThemeAxesByType, getThemeProps } from './models/constants/build-in-theme';
22
20
  export type { IEchartTheme } from './models/constants/build-in-theme';
21
+ export { calcPosition, getAllowedChartTypes, setGraphicToSpec, setProperty, translateAngleToRadian } from './common/util';
@@ -12,7 +12,7 @@ interface IEchartThemeAxisConfig {
12
12
  splitAreaShow: boolean;
13
13
  splitAreaColor: string[];
14
14
  }
15
- interface IEchartThemeContent {
15
+ export interface IEchartThemeContent {
16
16
  seriesCnt: string;
17
17
  backgroundColor: string;
18
18
  titleColor: string;
@@ -1,5 +1,5 @@
1
1
  import { ChartTypeBits } from '../constants';
2
- import { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, InvalidValueType, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarPointShape, RadarShape, SeriesLabelPosition, TextAlign, TitlePositionEnum } from '../style.types';
2
+ import { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, InvalidValueType, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, SelectModeEnum, SeriesLabelPosition, TextAlign, TitlePositionEnum } from '../style.types';
3
3
  export declare const themeColors: string[];
4
4
  export declare const defaultChartConfig: {
5
5
  allSeriesId: string;
@@ -7,6 +7,7 @@ export declare const defaultChartConfig: {
7
7
  point: {
8
8
  shape: LinePointShape;
9
9
  size: number;
10
+ scatterSymbolSize: number;
10
11
  };
11
12
  backgroundColor: string;
12
13
  axis: {
@@ -16,6 +17,7 @@ export declare const defaultChartConfig: {
16
17
  };
17
18
  legend: {
18
19
  position: LegendPositionEnum;
20
+ selectMode: SelectModeEnum;
19
21
  };
20
22
  borderStyle: {
21
23
  opacity: number;
@@ -59,7 +61,10 @@ export declare const defaultChartConfig: {
59
61
  radar: {
60
62
  shape: RadarShape;
61
63
  symbolSize: number;
62
- symbolType: RadarPointShape;
64
+ symbolType: LinePointShape;
63
65
  areaOpacity: number;
64
66
  };
67
+ tooltipAxisLabelBackground: string;
68
+ tooltipAxisLabelColor: string;
69
+ indicatorLineType: ChartBorderDashType;
65
70
  };
@@ -58,12 +58,6 @@ export interface IPieLabelStyle extends Omit<ILabelStyle, 'align' | 'content'> {
58
58
  position: PieLabelPosition;
59
59
  }
60
60
  export declare enum LinePointShape {
61
- Circle = "circle",
62
- Square = "square",
63
- Triangle = "triangle",
64
- Diamond = "diamond"
65
- }
66
- export declare enum RadarPointShape {
67
61
  Circle = "circle",
68
62
  Square = "square",
69
63
  Triangle = "triangle",
@@ -72,11 +66,15 @@ export declare enum RadarPointShape {
72
66
  RoundRect = "roundRect",
73
67
  Pin = "pin",
74
68
  Arrow = "arrow",
75
- None = "none"
76
- }
77
- export interface IRadarPointStyle {
78
- shape: RadarPointShape;
79
- size: number;
69
+ None = "none",
70
+ EmptyCircle = "emptyCircle",
71
+ EmptySquare = "emptySquare",
72
+ EmptyTriangle = "emptyTriangle",
73
+ EmptyDiamond = "emptyDiamond",
74
+ EmptyRect = "emptyRect",
75
+ EmptyRoundRect = "emptyRoundRect",
76
+ EmptyPin = "emptyPin",
77
+ EmptyArrow = "emptyArrow"
80
78
  }
81
79
  export interface IPointStyle {
82
80
  shape: LinePointShape;
@@ -110,7 +108,6 @@ export interface ISeriesStyle {
110
108
  dataPoints: {
111
109
  [index: number]: IDataPointStyle;
112
110
  };
113
- radarPoints?: IRadarPointStyle;
114
111
  }
115
112
  export interface IAllSeriesStyle extends Pick<ISeriesStyle, 'border' | 'label' | 'rightYAxis' | 'point' | 'color'> {
116
113
  }
@@ -147,9 +144,15 @@ export declare enum AxisAlignEnum {
147
144
  Center = "center",
148
145
  End = "end"
149
146
  }
147
+ export declare enum SelectModeEnum {
148
+ Single = "single",
149
+ Multiple = "multiple",
150
+ Close = "close"
151
+ }
150
152
  export interface ILegendStyle {
151
153
  position?: LegendPositionEnum;
152
154
  label?: Omit<ILabelStyle, 'visible' | 'align' | 'content'>;
155
+ selectMode?: SelectModeEnum;
153
156
  }
154
157
  export interface IGridLineStyle {
155
158
  visible: boolean;
@@ -159,6 +162,7 @@ export interface IGridLineStyle {
159
162
  export interface IAxisOptions {
160
163
  lineVisible: boolean;
161
164
  label: Omit<ILabelStyle, 'align' | 'content'>;
165
+ lineStyle: IGridLineStyle;
162
166
  gridLine: IGridLineStyle;
163
167
  tick: {
164
168
  visible: boolean;
@@ -226,5 +230,11 @@ export interface IChartStyle {
226
230
  shape: RadarShape;
227
231
  fill: boolean;
228
232
  };
233
+ tooltip: {
234
+ indicatorLabelColor: string;
235
+ indicatorLineType: ChartBorderDashType;
236
+ indicatorLineColor: string;
237
+ indicatorLabelTextColor: string;
238
+ };
229
239
  }
230
240
  export type ChartStyle = DeepPartial<IChartStyle>;
@@ -93,14 +93,14 @@ interface IChartDataItem {
93
93
  value: OptionDataValue;
94
94
  label: string;
95
95
  }
96
- interface IChartDataCategory {
96
+ export interface IChartDataCategory {
97
97
  index: number;
98
98
  name: string;
99
99
  type: CategoryType;
100
100
  items: IChartDataItem[];
101
101
  keys: string[];
102
102
  }
103
- interface IChartDataSeries {
103
+ export interface IChartDataSeries {
104
104
  index: number;
105
105
  name: string;
106
106
  items: IChartDataItem[];
@@ -109,8 +109,10 @@ export interface IChartData {
109
109
  category?: IChartDataCategory;
110
110
  headers?: string[];
111
111
  series: IChartDataSeries[];
112
+ maxValue: number;
113
+ minValue: number;
112
114
  /**
113
- * the dataset of the chart, it should match echat dataset option
115
+ * the dataset of the chart, it should match echart dataset option
114
116
  */
115
117
  dataset?: IUniverDataSet;
116
118
  }