@univerjs-pro/sheets-chart 0.5.0 → 0.5.1-nightly.202411301606

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.
@@ -1 +1 @@
1
- const _0x2f7a9a=_0x3c2f;function _0x2af1(){const _0x17fe04=['460dQXClo','49847SVBCqZ','745620WWCwJE','342AhBgvg','114ufelSC','1412288dptnVG','828rQCalC','1610163lxAisG','Category','3538460QxzNiu','17397unSEEr'];_0x2af1=function(){return _0x17fe04;};return _0x2af1();}(function(_0x4ff085,_0x345479){const _0x34d9bd=_0x3c2f,_0x2b8520=_0x4ff085();while(!![]){try{const _0x106bc1=parseInt(_0x34d9bd(0x162))/0x1*(-parseInt(_0x34d9bd(0x16a))/0x2)+parseInt(_0x34d9bd(0x166))/0x3*(parseInt(_0x34d9bd(0x167))/0x4)+-parseInt(_0x34d9bd(0x165))/0x5+-parseInt(_0x34d9bd(0x160))/0x6*(-parseInt(_0x34d9bd(0x168))/0x7)+parseInt(_0x34d9bd(0x161))/0x8+parseInt(_0x34d9bd(0x163))/0x9+parseInt(_0x34d9bd(0x169))/0xa;if(_0x106bc1===_0x345479)break;else _0x2b8520['push'](_0x2b8520['shift']());}catch(_0x2e8a99){_0x2b8520['push'](_0x2b8520['shift']());}}}(_0x2af1,0x5d7bd));function _0x3c2f(_0x520278,_0x3c9ac0){const _0x2af197=_0x2af1();return _0x3c2f=function(_0x3c2fc2,_0x57d630){_0x3c2fc2=_0x3c2fc2-0x160;let _0xf5ed41=_0x2af197[_0x3c2fc2];return _0xf5ed41;},_0x3c2f(_0x520278,_0x3c9ac0);}const e={'chart':{'category':_0x2f7a9a(0x164),'series':'Series'}};export{e as default};
1
+ const _0x3988b5=_0x1f80;function _0x1f80(_0x54d4ae,_0x7da770){const _0x16ba28=_0x16ba();return _0x1f80=function(_0x1f803a,_0x3726c3){_0x1f803a=_0x1f803a-0x88;let _0x223329=_0x16ba28[_0x1f803a];return _0x223329;},_0x1f80(_0x54d4ae,_0x7da770);}(function(_0x551ef4,_0xe8e464){const _0x26cbe4=_0x1f80,_0x49a2ec=_0x551ef4();while(!![]){try{const _0x5a3c3b=parseInt(_0x26cbe4(0x96))/0x1*(parseInt(_0x26cbe4(0x91))/0x2)+-parseInt(_0x26cbe4(0x8b))/0x3*(parseInt(_0x26cbe4(0x95))/0x4)+parseInt(_0x26cbe4(0x8e))/0x5*(-parseInt(_0x26cbe4(0x93))/0x6)+-parseInt(_0x26cbe4(0x8c))/0x7*(-parseInt(_0x26cbe4(0x8f))/0x8)+-parseInt(_0x26cbe4(0x97))/0x9*(-parseInt(_0x26cbe4(0x90))/0xa)+-parseInt(_0x26cbe4(0x8a))/0xb*(-parseInt(_0x26cbe4(0x92))/0xc)+parseInt(_0x26cbe4(0x8d))/0xd*(-parseInt(_0x26cbe4(0x89))/0xe);if(_0x5a3c3b===_0xe8e464)break;else _0x49a2ec['push'](_0x49a2ec['shift']());}catch(_0xda05e){_0x49a2ec['push'](_0x49a2ec['shift']());}}}(_0x16ba,0x3a533));const e={'chart':{'category':_0x3988b5(0x88),'series':_0x3988b5(0x94)}};export{e as default};function _0x16ba(){const _0x359ae5=['8orcZrK','2uhOKzJ','615348NnwnBi','Category','6759718uXDpKZ','201784HkOJSw','108411WLIvhd','24997DHFbWn','13YHryQp','5QWdcYt','344qMqSOn','50ZqDmmf','272162LLydjK','24CUKRLf','61518lNwHWe','Series'];_0x16ba=function(){return _0x359ae5;};return _0x16ba();}
@@ -1 +1 @@
1
- function _0x2e57(_0x248163,_0x55996b){const _0x34d771=_0x34d7();return _0x2e57=function(_0x2e5704,_0x4730ac){_0x2e5704=_0x2e5704-0x128;let _0x4a2be9=_0x34d771[_0x2e5704];return _0x4a2be9;},_0x2e57(_0x248163,_0x55996b);}const _0x304f13=_0x2e57;(function(_0x222749,_0x369321){const _0x467588=_0x2e57,_0x2d4c69=_0x222749();while(!![]){try{const _0x37fe87=parseInt(_0x467588(0x132))/0x1*(-parseInt(_0x467588(0x129))/0x2)+-parseInt(_0x467588(0x12b))/0x3+-parseInt(_0x467588(0x12d))/0x4*(parseInt(_0x467588(0x12f))/0x5)+-parseInt(_0x467588(0x12e))/0x6+-parseInt(_0x467588(0x133))/0x7*(-parseInt(_0x467588(0x130))/0x8)+-parseInt(_0x467588(0x128))/0x9+-parseInt(_0x467588(0x134))/0xa*(-parseInt(_0x467588(0x131))/0xb);if(_0x37fe87===_0x369321)break;else _0x2d4c69['push'](_0x2d4c69['shift']());}catch(_0x2d2a37){_0x2d4c69['push'](_0x2d4c69['shift']());}}}(_0x34d7,0x25495));const e={'chart':{'category':_0x304f13(0x12c),'series':_0x304f13(0x12a)}},a=e;function _0x34d7(){const _0xa55b7b=['194142CvBhIP','91505sXPbXL','1826296CSeklB','55ljcCPl','13edjWVm','7atLKHE','694670paLcip','1517580GYvzFX','12340iIqoFt','Series','40809WGFucd','Category','28Kfetop'];_0x34d7=function(){return _0xa55b7b;};return _0x34d7();}export{a as default};
1
+ const _0x90c29f=_0x2849;function _0x22bb(){const _0x2ef98d=['11300300WXXAms','1718172QokZMk','10qolnWj','753004GoAxXj','1320ULFMrF','10MhLNPA','Category','625929zjaBnx','1996QPaBBW','1609624NmkOgJ','14nrMYYW','175062gVHrsj'];_0x22bb=function(){return _0x2ef98d;};return _0x22bb();}function _0x2849(_0x5826d3,_0x349f0a){const _0x22bbf7=_0x22bb();return _0x2849=function(_0x28491f,_0x32c714){_0x28491f=_0x28491f-0x15d;let _0x30dc35=_0x22bbf7[_0x28491f];return _0x30dc35;},_0x2849(_0x5826d3,_0x349f0a);}(function(_0x3a024c,_0x5e56ca){const _0x4c8cd6=_0x2849,_0x24d0a8=_0x3a024c();while(!![]){try{const _0x46047f=-parseInt(_0x4c8cd6(0x15e))/0x1+parseInt(_0x4c8cd6(0x15d))/0x2*(parseInt(_0x4c8cd6(0x162))/0x3)+parseInt(_0x4c8cd6(0x163))/0x4*(-parseInt(_0x4c8cd6(0x15f))/0x5)+-parseInt(_0x4c8cd6(0x166))/0x6+parseInt(_0x4c8cd6(0x165))/0x7*(-parseInt(_0x4c8cd6(0x164))/0x8)+-parseInt(_0x4c8cd6(0x168))/0x9+parseInt(_0x4c8cd6(0x160))/0xa*(parseInt(_0x4c8cd6(0x167))/0xb);if(_0x46047f===_0x5e56ca)break;else _0x24d0a8['push'](_0x24d0a8['shift']());}catch(_0x3a7aff){_0x24d0a8['push'](_0x24d0a8['shift']());}}}(_0x22bb,0x89854));const e={'chart':{'category':_0x90c29f(0x161),'series':'Series'}},a=e;export{a as default};
@@ -0,0 +1 @@
1
+ const _0x1fb368=_0x4ec0;function _0x4ec0(_0xf9a39c,_0x48558a){const _0x28b760=_0x28b7();return _0x4ec0=function(_0x4ec071,_0x3e15d9){_0x4ec071=_0x4ec071-0x172;let _0x271699=_0x28b760[_0x4ec071];return _0x271699;},_0x4ec0(_0xf9a39c,_0x48558a);}function _0x28b7(){const _0x2cc131=['262aKUGzx','923607KSoxGm','44534ZLsnla','20SDnTGV','534ehoQoR','Category','Series','1591232BrvwUk','1323980sKTTZy','815825ErdwwB','2039gqaQqg','1237875yLacvv'];_0x28b7=function(){return _0x2cc131;};return _0x28b7();}(function(_0x27327e,_0x590e0a){const _0x16a6db=_0x4ec0,_0x223c91=_0x27327e();while(!![]){try{const _0x249e10=parseInt(_0x16a6db(0x17d))/0x1*(parseInt(_0x16a6db(0x173))/0x2)+-parseInt(_0x16a6db(0x172))/0x3+-parseInt(_0x16a6db(0x17b))/0x4+-parseInt(_0x16a6db(0x17c))/0x5+-parseInt(_0x16a6db(0x177))/0x6*(-parseInt(_0x16a6db(0x175))/0x7)+parseInt(_0x16a6db(0x17a))/0x8+-parseInt(_0x16a6db(0x174))/0x9*(-parseInt(_0x16a6db(0x176))/0xa);if(_0x249e10===_0x590e0a)break;else _0x223c91['push'](_0x223c91['shift']());}catch(_0x16b5de){_0x223c91['push'](_0x223c91['shift']());}}}(_0x28b7,0x50bc4));const e={'chart':{'category':_0x1fb368(0x178),'series':_0x1fb368(0x179)}},a=e;export{a as default};
@@ -1 +1 @@
1
- const _0x4d0164=_0x44ec;function _0x44ec(_0x31b5dd,_0x46a7f6){const _0x3e5b55=_0x3e5b();return _0x44ec=function(_0x44ec3e,_0x1d3fdb){_0x44ec3e=_0x44ec3e-0xc1;let _0x25da90=_0x3e5b55[_0x44ec3e];return _0x25da90;},_0x44ec(_0x31b5dd,_0x46a7f6);}(function(_0x4e3eec,_0x4278db){const _0x5516c=_0x44ec,_0x300efe=_0x4e3eec();while(!![]){try{const _0x45186b=parseInt(_0x5516c(0xcc))/0x1*(parseInt(_0x5516c(0xc1))/0x2)+parseInt(_0x5516c(0xcb))/0x3+-parseInt(_0x5516c(0xca))/0x4*(parseInt(_0x5516c(0xc9))/0x5)+parseInt(_0x5516c(0xc2))/0x6*(parseInt(_0x5516c(0xc4))/0x7)+parseInt(_0x5516c(0xc3))/0x8*(-parseInt(_0x5516c(0xce))/0x9)+parseInt(_0x5516c(0xc8))/0xa*(parseInt(_0x5516c(0xc7))/0xb)+parseInt(_0x5516c(0xc5))/0xc*(-parseInt(_0x5516c(0xc6))/0xd);if(_0x45186b===_0x4278db)break;else _0x300efe['push'](_0x300efe['shift']());}catch(_0x26ab60){_0x300efe['push'](_0x300efe['shift']());}}}(_0x3e5b,0xa7bba));function _0x3e5b(){const _0x4357a2=['2PBzuxN','Category','8957601kQMhAU','1367110xXQXUK','6Gdpxel','8TsytdL','1751729zEmpqT','104700IwEHEs','637jiNIVM','231njIdCs','319570wKFZsJ','230UJSfvl','27464NlXbyl','411690GKelRf'];_0x3e5b=function(){return _0x4357a2;};return _0x3e5b();}const e={'chart':{'category':_0x4d0164(0xcd),'series':'Series'}};export{e as default};
1
+ const _0x4ab31a=_0xd238;function _0xd238(_0x2d8ca3,_0x2457e9){const _0x16f525=_0x16f5();return _0xd238=function(_0xd23870,_0x1cfc27){_0xd23870=_0xd23870-0x183;let _0x34924d=_0x16f525[_0xd23870];return _0x34924d;},_0xd238(_0x2d8ca3,_0x2457e9);}(function(_0x4ef2a8,_0x580d39){const _0x46e157=_0xd238,_0x7e400b=_0x4ef2a8();while(!![]){try{const _0x5ca783=-parseInt(_0x46e157(0x183))/0x1+parseInt(_0x46e157(0x187))/0x2+-parseInt(_0x46e157(0x188))/0x3+parseInt(_0x46e157(0x186))/0x4*(-parseInt(_0x46e157(0x189))/0x5)+-parseInt(_0x46e157(0x185))/0x6+parseInt(_0x46e157(0x18a))/0x7+parseInt(_0x46e157(0x184))/0x8*(parseInt(_0x46e157(0x18b))/0x9);if(_0x5ca783===_0x580d39)break;else _0x7e400b['push'](_0x7e400b['shift']());}catch(_0x3f45fe){_0x7e400b['push'](_0x7e400b['shift']());}}}(_0x16f5,0x7cf58));const e={'chart':{'category':'Category','series':_0x4ab31a(0x18c)}};export{e as default};function _0x16f5(){const _0x1bc6e6=['Series','872623OYwNMb','8uDJucz','4098360txmXWR','1628336YmjYrF','707548oLSCAV','2931915yxJfVy','5NadSQI','763672zNuhIH','26901306rPHMPg'];_0x16f5=function(){return _0x1bc6e6;};return _0x16f5();}
@@ -1 +1 @@
1
- const _0x25bb31=_0x509f;(function(_0x2ae676,_0x392398){const _0x958376=_0x509f,_0x39ffd3=_0x2ae676();while(!![]){try{const _0x242ebe=parseInt(_0x958376(0x188))/0x1*(-parseInt(_0x958376(0x18b))/0x2)+parseInt(_0x958376(0x186))/0x3*(-parseInt(_0x958376(0x184))/0x4)+parseInt(_0x958376(0x189))/0x5+parseInt(_0x958376(0x183))/0x6+parseInt(_0x958376(0x18f))/0x7*(parseInt(_0x958376(0x185))/0x8)+parseInt(_0x958376(0x18e))/0x9*(-parseInt(_0x958376(0x187))/0xa)+parseInt(_0x958376(0x18c))/0xb;if(_0x242ebe===_0x392398)break;else _0x39ffd3['push'](_0x39ffd3['shift']());}catch(_0x194bb9){_0x39ffd3['push'](_0x39ffd3['shift']());}}}(_0x8207,0x7dc7e));const e={'chart':{'category':_0x25bb31(0x18d),'series':_0x25bb31(0x18a)}};export{e as default};function _0x509f(_0x50717a,_0x3688a7){const _0x8207da=_0x8207();return _0x509f=function(_0x509fc5,_0x412e54){_0x509fc5=_0x509fc5-0x183;let _0x59c81d=_0x8207da[_0x509fc5];return _0x59c81d;},_0x509f(_0x50717a,_0x3688a7);}function _0x8207(){const _0xec0d9d=['5113135ZBZAVh','Series','2XFaywl','629904FYvYsH','Category','1072215GRZSkZ','7eXJacv','1403484ItlkGK','12gyoteN','4575136lhUDEf','938910vpbaIN','10TyQXXs','312454XnrXUv'];_0x8207=function(){return _0xec0d9d;};return _0x8207();}
1
+ function _0x44a3(){const _0xcbd790=['2941424xdrkKk','222363lIPzvn','16975bJSISJ','300yJOsXK','290zgNiTU','14844joEaBd','49577XgdkCC','436FXUWvC','149932USfUDt','10QTuyvp','Series','290741ZvfrwW','36KUGfFu'];_0x44a3=function(){return _0xcbd790;};return _0x44a3();}const _0x3d7b71=_0x493d;(function(_0x47787e,_0x101d8b){const _0x20b9e4=_0x493d,_0x27606d=_0x47787e();while(!![]){try{const _0x160029=-parseInt(_0x20b9e4(0x1c9))/0x1+parseInt(_0x20b9e4(0x1ca))/0x2*(parseInt(_0x20b9e4(0x1c8))/0x3)+parseInt(_0x20b9e4(0x1cb))/0x4*(-parseInt(_0x20b9e4(0x1cc))/0x5)+parseInt(_0x20b9e4(0x1d3))/0x6*(parseInt(_0x20b9e4(0x1d2))/0x7)+parseInt(_0x20b9e4(0x1d0))/0x8+parseInt(_0x20b9e4(0x1d1))/0x9*(-parseInt(_0x20b9e4(0x1c7))/0xa)+-parseInt(_0x20b9e4(0x1ce))/0xb*(parseInt(_0x20b9e4(0x1cf))/0xc);if(_0x160029===_0x101d8b)break;else _0x27606d['push'](_0x27606d['shift']());}catch(_0xb3e75b){_0x27606d['push'](_0x27606d['shift']());}}}(_0x44a3,0x9e055));const e={'chart':{'category':'Category','series':_0x3d7b71(0x1cd)}};function _0x493d(_0x2fca75,_0x2fc183){const _0x44a3d8=_0x44a3();return _0x493d=function(_0x493deb,_0xac166a){_0x493deb=_0x493deb-0x1c7;let _0x2ec01a=_0x44a3d8[_0x493deb];return _0x2ec01a;},_0x493d(_0x2fca75,_0x2fc183);}export{e as default};
@@ -1 +1 @@
1
- (function(_0x279373,_0x256453){const _0x2a188b=_0x939b,_0x4ddd69=_0x279373();while(!![]){try{const _0x1bf31b=parseInt(_0x2a188b(0x1d6))/0x1+parseInt(_0x2a188b(0x1d2))/0x2+parseInt(_0x2a188b(0x1d7))/0x3+-parseInt(_0x2a188b(0x1cf))/0x4+parseInt(_0x2a188b(0x1d3))/0x5*(-parseInt(_0x2a188b(0x1d1))/0x6)+-parseInt(_0x2a188b(0x1d0))/0x7*(-parseInt(_0x2a188b(0x1d4))/0x8)+-parseInt(_0x2a188b(0x1d5))/0x9;if(_0x1bf31b===_0x256453)break;else _0x4ddd69['push'](_0x4ddd69['shift']());}catch(_0x286afb){_0x4ddd69['push'](_0x4ddd69['shift']());}}}(_0x11da,0x295ea));const e={'chart':{'category':'类别','series':'系列'}};export{e as default};function _0x939b(_0x488ace,_0x2eeae9){const _0x11da7e=_0x11da();return _0x939b=function(_0x939bc4,_0x189c70){_0x939bc4=_0x939bc4-0x1cf;let _0xa27bac=_0x11da7e[_0x939bc4];return _0xa27bac;},_0x939b(_0x488ace,_0x2eeae9);}function _0x11da(){const _0x44dfa7=['2950956yGiQWR','114439DlHVvg','216381hkbLcc','665280ERQBkX','154JpDwHa','187662jYUyOo','441020pSabYw','10kRTkxh','116048AoMPQh'];_0x11da=function(){return _0x44dfa7;};return _0x11da();}
1
+ function _0x42d3(){const _0x481a27=['18288gMBEWs','12790MZosBH','161Blihrj','2926170OQRijl','1113465pZwqsk','182010HbnkaF','4STVmrI','171020uyfHyU','101067wxzRJk','6904296XKwjgV'];_0x42d3=function(){return _0x481a27;};return _0x42d3();}function _0x3e79(_0x451ce4,_0x2a2802){const _0x42d360=_0x42d3();return _0x3e79=function(_0x3e79a5,_0x2cfca8){_0x3e79a5=_0x3e79a5-0x153;let _0x1d12cf=_0x42d360[_0x3e79a5];return _0x1d12cf;},_0x3e79(_0x451ce4,_0x2a2802);}(function(_0x1fcd3c,_0xef0aef){const _0x1c6561=_0x3e79,_0x99972e=_0x1fcd3c();while(!![]){try{const _0x3e3e4b=parseInt(_0x1c6561(0x156))/0x1+-parseInt(_0x1c6561(0x154))/0x2*(-parseInt(_0x1c6561(0x15c))/0x3)+parseInt(_0x1c6561(0x155))/0x4+parseInt(_0x1c6561(0x15b))/0x5+-parseInt(_0x1c6561(0x153))/0x6*(-parseInt(_0x1c6561(0x15a))/0x7)+parseInt(_0x1c6561(0x157))/0x8+-parseInt(_0x1c6561(0x158))/0x9*(parseInt(_0x1c6561(0x159))/0xa);if(_0x3e3e4b===_0xef0aef)break;else _0x99972e['push'](_0x99972e['shift']());}catch(_0x4246a5){_0x99972e['push'](_0x99972e['shift']());}}}(_0x42d3,0x69c1c));const e={'chart':{'category':'类别','series':'系列'}};export{e as default};
@@ -1 +1 @@
1
- function _0x1505(){const _0x13d942=['9bzqoiI','984940flmZVO','102ZDiPkd','432258ElqKEr','1139128dqJAlD','2KTBFfk','3857SlZQBU','117571PDSAtg','443356rQCeGq','2887250dWGbGj'];_0x1505=function(){return _0x13d942;};return _0x1505();}function _0x4faa(_0x2d061b,_0x5c873f){const _0x15051f=_0x1505();return _0x4faa=function(_0x4faaae,_0x221fb6){_0x4faaae=_0x4faaae-0xb9;let _0x3b8aa2=_0x15051f[_0x4faaae];return _0x3b8aa2;},_0x4faa(_0x2d061b,_0x5c873f);}(function(_0xc265d7,_0x2bbf7d){const _0x1d17d5=_0x4faa,_0x1b9480=_0xc265d7();while(!![]){try{const _0x1be4b7=parseInt(_0x1d17d5(0xbd))/0x1*(parseInt(_0x1d17d5(0xbb))/0x2)+parseInt(_0x1d17d5(0xb9))/0x3+parseInt(_0x1d17d5(0xbe))/0x4+parseInt(_0x1d17d5(0xc1))/0x5+parseInt(_0x1d17d5(0xc2))/0x6*(-parseInt(_0x1d17d5(0xbc))/0x7)+-parseInt(_0x1d17d5(0xba))/0x8*(parseInt(_0x1d17d5(0xc0))/0x9)+-parseInt(_0x1d17d5(0xbf))/0xa;if(_0x1be4b7===_0x2bbf7d)break;else _0x1b9480['push'](_0x1b9480['shift']());}catch(_0x153dc7){_0x1b9480['push'](_0x1b9480['shift']());}}}(_0x1505,0x1f7e9));const e={'chart':{'category':'类别','series':'系列'}};export{e as default};
1
+ (function(_0x5f1092,_0x1cc74e){const _0x8e9457=_0x4dcd,_0x3c717c=_0x5f1092();while(!![]){try{const _0x4a78d5=parseInt(_0x8e9457(0xb4))/0x1+parseInt(_0x8e9457(0xaf))/0x2+parseInt(_0x8e9457(0xac))/0x3+parseInt(_0x8e9457(0xae))/0x4+-parseInt(_0x8e9457(0xad))/0x5*(parseInt(_0x8e9457(0xb1))/0x6)+-parseInt(_0x8e9457(0xb2))/0x7*(parseInt(_0x8e9457(0xb3))/0x8)+parseInt(_0x8e9457(0xb0))/0x9;if(_0x4a78d5===_0x1cc74e)break;else _0x3c717c['push'](_0x3c717c['shift']());}catch(_0x5860b8){_0x3c717c['push'](_0x3c717c['shift']());}}}(_0x1a3e,0x3fc55));function _0x1a3e(){const _0xe7515a=['2501487xEaLPz','6mkEItg','826798acGVNo','16oOjFzW','462922orXWNT','219111quwzhX','2486355yTRszy','67936eNAygV','327636QkrVHI'];_0x1a3e=function(){return _0xe7515a;};return _0x1a3e();}function _0x4dcd(_0x2f9a1b,_0x579b67){const _0x1a3e2d=_0x1a3e();return _0x4dcd=function(_0x4dcd25,_0x19d595){_0x4dcd25=_0x4dcd25-0xac;let _0x9c85cd=_0x1a3e2d[_0x4dcd25];return _0x9c85cd;},_0x4dcd(_0x2f9a1b,_0x579b67);}const e={'chart':{'category':'类别','series':'系列'}};export{e as default};
@@ -0,0 +1,3 @@
1
+ import { default as zhCN } from './zh-CN';
2
+ declare const locale: typeof zhCN;
3
+ export default locale;
@@ -1,5 +1,6 @@
1
+ import { ChartModel } from '../chart-model';
1
2
  import { ChartDataSourceValue, ChartDataSourceValues, IChartContext, IChartDataAggregation, IChartDataSource, OptionDataValue } from '../types';
2
- export type IChartContextOperator = (dataSource: IChartDataSource, context: IChartContext) => IChartContext;
3
+ export type IChartContextOperator = (dataSource: IChartDataSource, context: IChartContext, model: ChartModel) => IChartContext;
3
4
  export type IChartDataAggregateOperator = (dataSource: ChartDataSourceValues, context: IChartContext, dataAggregation: IChartDataAggregation) => ChartDataSourceValues | void;
4
5
  type Nil = null | undefined;
5
6
  export declare function isNil(value: any): value is Nil;
@@ -11,7 +12,7 @@ export declare function toString(value: ChartDataSourceValue): string;
11
12
  export declare function toNumber(value: ChartDataSourceValue): number;
12
13
  export declare function toColumnOrient<T = any>(dataSource: T[][]): T[][];
13
14
  export declare function findCategoryIndexes(dataSource: IChartDataSource): number[];
14
- export declare function groupBy<T = any>(ary: T[], selector: (item: T, index: number) => string): {
15
+ export declare function groupByToArray<T = any>(ary: T[], selector: (item: T, index: number) => string): {
15
16
  name: string;
16
17
  values: T[];
17
18
  }[];
@@ -19,6 +20,7 @@ export declare function sumArray(ary: ChartDataSourceValue[]): number;
19
20
  export declare const findHeaderOperator: IChartContextOperator;
20
21
  export declare const findCategoryOperator: IChartContextOperator;
21
22
  export declare const findSeriesOperator: IChartContextOperator;
23
+ export declare const pieSeriesFilterOperator: IChartContextOperator;
22
24
  export declare const aggregateOperator: IChartDataAggregateOperator;
23
25
  export declare const topNOperator: IChartDataAggregateOperator;
24
26
  export {};
@@ -1,15 +1,15 @@
1
1
  export { themeDefault } from './default';
2
2
  export { getThemeAxesByType, getThemeProps } from './theme-util';
3
3
  export type { IEchartTheme } from './types';
4
- export { univerGradient1 as UniverThemeGradient1 } from './univer-gradient1';
5
- export { univerGradient2 as UniverThemeGradient2 } from './univer-gradient2';
6
- export { univerGradient3 as UniverThemeGradient3 } from './univer-gradient3';
7
- export { univerGradient4 as UniverThemeGradient4 } from './univer-gradient4';
8
- export { univerGradient5 as UniverThemeGradient5 } from './univer-gradient5';
9
- export { univerGradient6 as UniverThemeGradient6 } from './univer-gradient6';
10
4
  export { univer1 as UniverTheme1 } from './univer1';
11
5
  export { univer2 as UniverTheme2 } from './univer2';
12
6
  export { univer3 as UniverTheme3 } from './univer3';
13
7
  export { univer4 as UniverTheme4 } from './univer4';
14
8
  export { univer5 as UniverTheme5 } from './univer5';
15
9
  export { univer6 as UniverTheme6 } from './univer6';
10
+ export { univerGradient1 as UniverThemeGradient1 } from './univer-gradient1';
11
+ export { univerGradient2 as UniverThemeGradient2 } from './univer-gradient2';
12
+ export { univerGradient3 as UniverThemeGradient3 } from './univer-gradient3';
13
+ export { univerGradient4 as UniverThemeGradient4 } from './univer-gradient4';
14
+ export { univerGradient5 as UniverThemeGradient5 } from './univer-gradient5';
15
+ export { univerGradient6 as UniverThemeGradient6 } from './univer-gradient6';
@@ -1,5 +1,5 @@
1
1
  import { ChartTypeBits } from '../constants';
2
- import { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, InvalidValueType, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, SeriesLabelPosition, TextAlign, TitlePositionEnum } from '../style.types';
2
+ import { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, InvalidValueType, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarPointShape, RadarShape, SeriesLabelPosition, TextAlign, TitlePositionEnum } from '../style.types';
3
3
  export declare const themeColors: string[];
4
4
  export declare const defaultChartConfig: {
5
5
  allSeriesId: string;
@@ -21,9 +21,8 @@ export declare const defaultChartConfig: {
21
21
  opacity: number;
22
22
  width: number;
23
23
  specialChartWidthMap: {
24
- 2: number;
25
- 16: number;
26
- 32: number;
24
+ lineOrArea: number;
25
+ radar: number;
27
26
  };
28
27
  dashType: ChartBorderDashType;
29
28
  };
@@ -59,5 +58,8 @@ export declare const defaultChartConfig: {
59
58
  };
60
59
  radar: {
61
60
  shape: RadarShape;
61
+ symbolSize: number;
62
+ symbolType: RadarPointShape;
63
+ areaOpacity: number;
62
64
  };
63
65
  };
@@ -0,0 +1,3 @@
1
+ import { ChartModel } from '../chart-model';
2
+ import { ChartTypeBits } from '../constants';
3
+ export declare const lineLikeContextTransformer: (fromType: ChartTypeBits, toType: ChartTypeBits, model: ChartModel) => void;
@@ -0,0 +1,3 @@
1
+ import { ChartModel } from '../chart-model';
2
+ import { ChartTypeBits } from '../constants';
3
+ export declare const percentDataContextTransformer: (fromType: ChartTypeBits, toType: ChartTypeBits, model: ChartModel) => void;
@@ -63,6 +63,21 @@ export declare enum LinePointShape {
63
63
  Triangle = "triangle",
64
64
  Diamond = "diamond"
65
65
  }
66
+ export declare enum RadarPointShape {
67
+ Circle = "circle",
68
+ Square = "square",
69
+ Triangle = "triangle",
70
+ Diamond = "diamond",
71
+ Rect = "rect",
72
+ RoundRect = "roundRect",
73
+ Pin = "pin",
74
+ Arrow = "arrow",
75
+ None = "none"
76
+ }
77
+ export interface IRadarPointStyle {
78
+ shape: RadarPointShape;
79
+ size: number;
80
+ }
66
81
  export interface IPointStyle {
67
82
  shape: LinePointShape;
68
83
  size: number;
@@ -95,6 +110,7 @@ export interface ISeriesStyle {
95
110
  dataPoints: {
96
111
  [index: number]: IDataPointStyle;
97
112
  };
113
+ radarPoints?: IRadarPointStyle;
98
114
  }
99
115
  export interface IAllSeriesStyle extends Pick<ISeriesStyle, 'border' | 'label' | 'rightYAxis' | 'point' | 'color'> {
100
116
  }
@@ -24,6 +24,7 @@ export declare class SheetsChartService extends Disposable {
24
24
  private readonly _commandService;
25
25
  private _chartModelIdMap;
26
26
  private _dataSourceMap;
27
+ private _hasLoaded;
27
28
  constructor(_injector: Injector, _resourcesManagerService: IResourceManagerService, _refRangeService: RefRangeService, _univerInstanceService: IUniverInstanceService, _chartModelService: ChartModelService, _commandService: ICommandService);
28
29
  getUnitChartModels(unitId: string, subUnitId: string): (ChartModel | undefined)[];
29
30
  getChartSuggestion(rangeInfo: ISheetChartSourceRanges): {