@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.
Files changed (62) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/ru-RU.js +1 -1
  4. package/lib/cjs/locale/vi-VN.js +1 -1
  5. package/lib/cjs/locale/zh-CN.js +1 -1
  6. package/lib/cjs/locale/zh-TW.js +1 -1
  7. package/lib/es/index.js +1 -1
  8. package/lib/es/locale/en-US.js +1 -1
  9. package/lib/es/locale/ru-RU.js +1 -1
  10. package/lib/es/locale/vi-VN.js +1 -1
  11. package/lib/es/locale/zh-CN.js +1 -1
  12. package/lib/es/locale/zh-TW.js +1 -1
  13. package/lib/types/chart-source/chart-source.d.ts +59 -0
  14. package/lib/types/chart-source/source-util.d.ts +30 -0
  15. package/lib/types/commands/commands/sheets-chart-update-config.command.d.ts +14 -0
  16. package/lib/types/commands/commands/sheets-chart-update-source.command.d.ts +8 -0
  17. package/lib/types/commands/mutations/sheet-chart-update-source.mutation.d.ts +8 -0
  18. package/lib/types/commands/mutations/sheets-chart-update-config.mutation.d.ts +13 -0
  19. package/lib/types/commands/mutations/sheets-chart.mutation.d.ts +11 -0
  20. package/lib/types/common/util.d.ts +15 -0
  21. package/lib/types/index.d.ts +37 -814
  22. package/lib/types/locale/en-US.d.ts +3 -0
  23. package/lib/types/locale/ru-RU.d.ts +3 -0
  24. package/lib/types/locale/vi-VN.d.ts +3 -0
  25. package/lib/types/locale/zh-CN.d.ts +22 -0
  26. package/lib/types/locale/zh-TW.d.ts +3 -0
  27. package/lib/types/models/chart-data-operators/build-chart-data.d.ts +3 -0
  28. package/lib/types/models/chart-data-operators/index.d.ts +17 -0
  29. package/lib/types/models/chart-data-operators/operators.d.ts +24 -0
  30. package/lib/types/models/constants/build-in-theme/default.d.ts +2 -0
  31. package/lib/types/models/constants/build-in-theme/index.d.ts +15 -0
  32. package/lib/types/models/constants/build-in-theme/types.d.ts +77 -0
  33. package/lib/types/models/constants/build-in-theme/univer-gradient1.d.ts +2 -0
  34. package/lib/types/models/constants/build-in-theme/univer-gradient2.d.ts +2 -0
  35. package/lib/types/models/constants/build-in-theme/univer-gradient3.d.ts +2 -0
  36. package/lib/types/models/constants/build-in-theme/univer-gradient4.d.ts +2 -0
  37. package/lib/types/models/constants/build-in-theme/univer-gradient5.d.ts +2 -0
  38. package/lib/types/models/constants/build-in-theme/univer-gradient6.d.ts +2 -0
  39. package/lib/types/models/constants/build-in-theme/univer1.d.ts +2 -0
  40. package/lib/types/models/constants/build-in-theme/univer2.d.ts +2 -0
  41. package/lib/types/models/constants/build-in-theme/univer3.d.ts +2 -0
  42. package/lib/types/models/constants/build-in-theme/univer4.d.ts +2 -0
  43. package/lib/types/models/constants/build-in-theme/univer5.d.ts +2 -0
  44. package/lib/types/models/constants/build-in-theme/univer6.d.ts +2 -0
  45. package/lib/types/models/constants/default-chart-style.d.ts +63 -0
  46. package/lib/types/models/constants.d.ts +59 -0
  47. package/lib/types/models/data-context-transformers/bar-data-context-transformer.d.ts +3 -0
  48. package/lib/types/models/data-context-transformers/pie-data-context-transformer.d.ts +3 -0
  49. package/lib/types/models/runtime-context.types.d.ts +28 -0
  50. package/lib/types/models/style.types.d.ts +213 -0
  51. package/lib/types/models/types.d.ts +124 -0
  52. package/lib/types/plugins/univer-sheets-chart-plugin.d.ts +15 -0
  53. package/lib/types/services/chart-model.service.d.ts +23 -0
  54. package/lib/types/services/chart-theme.service.d.ts +17 -0
  55. package/lib/types/services/sheets-chart.service.d.ts +45 -0
  56. package/lib/umd/index.js +1 -1
  57. package/lib/umd/locale/en-US.js +1 -1
  58. package/lib/umd/locale/ru-RU.js +1 -1
  59. package/lib/umd/locale/vi-VN.js +1 -1
  60. package/lib/umd/locale/zh-CN.js +1 -1
  61. package/lib/umd/locale/zh-TW.js +1 -1
  62. package/package.json +10 -15
@@ -1 +1 @@
1
- 'use strict';function _0x51c3(_0x1861d0,_0x455fbc){const _0x3126d7=_0x3126();return _0x51c3=function(_0x51c32c,_0x22b14a){_0x51c32c=_0x51c32c-0x10b;let _0x381512=_0x3126d7[_0x51c32c];return _0x381512;},_0x51c3(_0x1861d0,_0x455fbc);}function _0x3126(){const _0x2f9334=['exports','10052622lvngiJ','22qZwbtA','5VhmTHF','6739587UsskSd','Category','1640723mnMaaG','24617310ztqpDh','2565594wZLcib','Series','65706IxNAKB','8XDLAZZ','264OjrdMS','8965999tJqYKH'];_0x3126=function(){return _0x2f9334;};return _0x3126();}const _0x3e6601=_0x51c3;(function(_0x416cab,_0x26ece0){const _0x358cbb=_0x51c3,_0x4db767=_0x416cab();while(!![]){try{const _0x213bd6=-parseInt(_0x358cbb(0x10c))/0x1+parseInt(_0x358cbb(0x10e))/0x2+-parseInt(_0x358cbb(0x110))/0x3*(parseInt(_0x358cbb(0x112))/0x4)+-parseInt(_0x358cbb(0x117))/0x5*(parseInt(_0x358cbb(0x115))/0x6)+parseInt(_0x358cbb(0x113))/0x7*(-parseInt(_0x358cbb(0x111))/0x8)+parseInt(_0x358cbb(0x118))/0x9+parseInt(_0x358cbb(0x10d))/0xa*(parseInt(_0x358cbb(0x116))/0xb);if(_0x213bd6===_0x26ece0)break;else _0x4db767['push'](_0x4db767['shift']());}catch(_0x5943eb){_0x4db767['push'](_0x4db767['shift']());}}}(_0x3126,0xdeca9));const e={'chart':{'category':_0x3e6601(0x10b),'series':_0x3e6601(0x10f)}};module[_0x3e6601(0x114)]=e;
1
+ 'use strict';function _0x2d8a(_0x17a342,_0x334225){const _0x3ca358=_0x3ca3();return _0x2d8a=function(_0x2d8a61,_0x12c2e8){_0x2d8a61=_0x2d8a61-0x125;let _0x1a27ec=_0x3ca358[_0x2d8a61];return _0x1a27ec;},_0x2d8a(_0x17a342,_0x334225);}const _0x5f8a74=_0x2d8a;(function(_0x12e5e1,_0x280263){const _0x1ded29=_0x2d8a,_0x20ac67=_0x12e5e1();while(!![]){try{const _0x2a2b69=parseInt(_0x1ded29(0x12d))/0x1+parseInt(_0x1ded29(0x128))/0x2*(-parseInt(_0x1ded29(0x127))/0x3)+-parseInt(_0x1ded29(0x12e))/0x4+parseInt(_0x1ded29(0x12f))/0x5*(parseInt(_0x1ded29(0x12b))/0x6)+parseInt(_0x1ded29(0x130))/0x7+parseInt(_0x1ded29(0x126))/0x8+-parseInt(_0x1ded29(0x12a))/0x9;if(_0x2a2b69===_0x280263)break;else _0x20ac67['push'](_0x20ac67['shift']());}catch(_0x3de659){_0x20ac67['push'](_0x20ac67['shift']());}}}(_0x3ca3,0x68147));function _0x3ca3(){const _0x23769a=['exports','6165104oztVWT','1362UDtOaf','1962HYOvJl','Category','14234490zpaTpv','972fytlIQ','Series','650579KMuukD','1552640FWGCRp','20865KurEfx','5209484FxEyAJ'];_0x3ca3=function(){return _0x23769a;};return _0x3ca3();}const e={'chart':{'category':_0x5f8a74(0x129),'series':_0x5f8a74(0x12c)}};module[_0x5f8a74(0x125)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x480bd0=_0x33cf;(function(_0x20cf38,_0xe04187){const _0x123175=_0x33cf,_0x352da9=_0x20cf38();while(!![]){try{const _0x286372=-parseInt(_0x123175(0x1c5))/0x1*(parseInt(_0x123175(0x1bb))/0x2)+parseInt(_0x123175(0x1c4))/0x3+-parseInt(_0x123175(0x1c3))/0x4*(parseInt(_0x123175(0x1c1))/0x5)+-parseInt(_0x123175(0x1b9))/0x6*(-parseInt(_0x123175(0x1c2))/0x7)+-parseInt(_0x123175(0x1bf))/0x8*(parseInt(_0x123175(0x1ba))/0x9)+parseInt(_0x123175(0x1be))/0xa+-parseInt(_0x123175(0x1c7))/0xb*(-parseInt(_0x123175(0x1c0))/0xc);if(_0x286372===_0xe04187)break;else _0x352da9['push'](_0x352da9['shift']());}catch(_0x52dcc1){_0x352da9['push'](_0x352da9['shift']());}}}(_0x9278,0x1f06f));function _0x33cf(_0x20dfd0,_0x41052c){const _0x92786d=_0x9278();return _0x33cf=function(_0x33cff2,_0x27ae00){_0x33cff2=_0x33cff2-0x1b9;let _0x5e73c1=_0x92786d[_0x33cff2];return _0x5e73c1;},_0x33cf(_0x20dfd0,_0x41052c);}const e={'chart':{'category':_0x480bd0(0x1c6),'series':_0x480bd0(0x1bc)}};function _0x9278(){const _0x5b70ce=['495186JfSfAI','2466suQPSH','2PzbaMO','Series','exports','848560zuOtyr','3736bjjfaf','23232gZHGuu','706630HcpAfF','7mlPLeY','4xemyMo','490386UaNSPc','120334WIZpjU','Category','1056RNZGMS'];_0x9278=function(){return _0x5b70ce;};return _0x9278();}module[_0x480bd0(0x1bd)]=e;
1
+ 'use strict';const _0x267d8a=_0x3fd5;(function(_0x49577e,_0x581287){const _0x128d28=_0x3fd5,_0x52e606=_0x49577e();while(!![]){try{const _0x5d4d9d=parseInt(_0x128d28(0x159))/0x1*(parseInt(_0x128d28(0x14f))/0x2)+-parseInt(_0x128d28(0x153))/0x3*(-parseInt(_0x128d28(0x151))/0x4)+parseInt(_0x128d28(0x156))/0x5*(parseInt(_0x128d28(0x155))/0x6)+parseInt(_0x128d28(0x14e))/0x7+parseInt(_0x128d28(0x150))/0x8*(-parseInt(_0x128d28(0x14d))/0x9)+-parseInt(_0x128d28(0x154))/0xa+parseInt(_0x128d28(0x157))/0xb*(-parseInt(_0x128d28(0x158))/0xc);if(_0x5d4d9d===_0x581287)break;else _0x52e606['push'](_0x52e606['shift']());}catch(_0x353b19){_0x52e606['push'](_0x52e606['shift']());}}}(_0x3b66,0x2efe9));function _0x3fd5(_0x4d8b2b,_0x4b9162){const _0x3b66e7=_0x3b66();return _0x3fd5=function(_0x3fd54f,_0x5b6885){_0x3fd54f=_0x3fd54f-0x14d;let _0x4a613b=_0x3b66e7[_0x3fd54f];return _0x4a613b;},_0x3fd5(_0x4d8b2b,_0x4b9162);}function _0x3b66(){const _0x1d8b09=['1393637WcHXhp','214RLOfxf','78904IGJgkC','4IjXeOJ','Series','918948HASxCC','3732020JphzyY','1490622GjyVZd','5fmlTHh','33BpzjNq','925212FiOvxR','2339ISqwaM','189CvELDw'];_0x3b66=function(){return _0x1d8b09;};return _0x3b66();}const e={'chart':{'category':'Category','series':_0x267d8a(0x152)}};module['exports']=e;
@@ -1 +1 @@
1
- 'use strict';const _0x48cf7d=_0xeb1e;function _0xeb1e(_0x645105,_0x20b86f){const _0x3a34d2=_0x3a34();return _0xeb1e=function(_0xeb1e22,_0xf9b8d6){_0xeb1e22=_0xeb1e22-0xb3;let _0x187722=_0x3a34d2[_0xeb1e22];return _0x187722;},_0xeb1e(_0x645105,_0x20b86f);}(function(_0x5ff9ac,_0xcc3189){const _0xcd1b4c=_0xeb1e,_0x4c048e=_0x5ff9ac();while(!![]){try{const _0x2578f6=parseInt(_0xcd1b4c(0xb5))/0x1*(parseInt(_0xcd1b4c(0xb8))/0x2)+-parseInt(_0xcd1b4c(0xbe))/0x3*(-parseInt(_0xcd1b4c(0xbd))/0x4)+parseInt(_0xcd1b4c(0xb4))/0x5+parseInt(_0xcd1b4c(0xba))/0x6+parseInt(_0xcd1b4c(0xbb))/0x7+-parseInt(_0xcd1b4c(0xb7))/0x8*(-parseInt(_0xcd1b4c(0xbf))/0x9)+-parseInt(_0xcd1b4c(0xb9))/0xa*(parseInt(_0xcd1b4c(0xc0))/0xb);if(_0x2578f6===_0xcc3189)break;else _0x4c048e['push'](_0x4c048e['shift']());}catch(_0x5c8b44){_0x4c048e['push'](_0x4c048e['shift']());}}}(_0x3a34,0xa1c40));function _0x3a34(){const _0x6f9bcf=['1178102ycgFXh','86870zWSPIU','1138584MBQggd','2903908twZVjd','exports','24YNZPpd','333441GpTuST','90SSEtvp','2959uxuaDE','Category','2089770JwLGgm','1mdDjlp','Series','576720AylnFN'];_0x3a34=function(){return _0x6f9bcf;};return _0x3a34();}const e={'chart':{'category':_0x48cf7d(0xb3),'series':_0x48cf7d(0xb6)}};module[_0x48cf7d(0xbc)]=e;
1
+ 'use strict';const _0x3ac90d=_0x4e94;(function(_0x2d69c7,_0x1e8beb){const _0x8c9e86=_0x4e94,_0x542cd5=_0x2d69c7();while(!![]){try{const _0x79e44a=parseInt(_0x8c9e86(0x83))/0x1*(parseInt(_0x8c9e86(0x88))/0x2)+-parseInt(_0x8c9e86(0x87))/0x3+-parseInt(_0x8c9e86(0x82))/0x4+parseInt(_0x8c9e86(0x80))/0x5*(parseInt(_0x8c9e86(0x86))/0x6)+-parseInt(_0x8c9e86(0x84))/0x7+-parseInt(_0x8c9e86(0x85))/0x8*(-parseInt(_0x8c9e86(0x7f))/0x9)+parseInt(_0x8c9e86(0x7e))/0xa;if(_0x79e44a===_0x1e8beb)break;else _0x542cd5['push'](_0x542cd5['shift']());}catch(_0x1251af){_0x542cd5['push'](_0x542cd5['shift']());}}}(_0x13e1,0xb17af));function _0x13e1(){const _0x5b8659=['426SdsYpQ','384972HEfGBI','226ptElhp','exports','7841670WWSIzF','1720377bIZVeh','41960GnFiFG','Series','5208240OTPxeA','6009VYSklM','3325924VZLlzZ','24QXpdMX'];_0x13e1=function(){return _0x5b8659;};return _0x13e1();}const e={'chart':{'category':'Category','series':_0x3ac90d(0x81)}};function _0x4e94(_0x3d72c1,_0x6f0e55){const _0x13e1fe=_0x13e1();return _0x4e94=function(_0x4e941d,_0x31449d){_0x4e941d=_0x4e941d-0x7d;let _0x62445a=_0x13e1fe[_0x4e941d];return _0x62445a;},_0x4e94(_0x3d72c1,_0x6f0e55);}module[_0x3ac90d(0x7d)]=e;
@@ -1 +1 @@
1
- 'use strict';function _0x2275(){const _0x5a0352=['3780216nSgTjs','9rlrzdf','2301350OxTJZT','181618cICVCx','6ViGseD','4SBEdGo','1047759HJOWZW','exports','1493224HxXhZO','21qMadzS','1819795mycETF','3245034FBXLAb'];_0x2275=function(){return _0x5a0352;};return _0x2275();}const _0x104837=_0xf4e0;(function(_0x98590d,_0x424ef9){const _0x189630=_0xf4e0,_0x309ae4=_0x98590d();while(!![]){try{const _0x2d4927=-parseInt(_0x189630(0x18b))/0x1*(-parseInt(_0x189630(0x180))/0x2)+parseInt(_0x189630(0x182))/0x3+-parseInt(_0x189630(0x181))/0x4*(parseInt(_0x189630(0x186))/0x5)+parseInt(_0x189630(0x187))/0x6+parseInt(_0x189630(0x185))/0x7*(-parseInt(_0x189630(0x184))/0x8)+parseInt(_0x189630(0x189))/0x9*(parseInt(_0x189630(0x18a))/0xa)+-parseInt(_0x189630(0x188))/0xb;if(_0x2d4927===_0x424ef9)break;else _0x309ae4['push'](_0x309ae4['shift']());}catch(_0x32daf6){_0x309ae4['push'](_0x309ae4['shift']());}}}(_0x2275,0x610c3));function _0xf4e0(_0x5bbd5b,_0xc57510){const _0x2275ad=_0x2275();return _0xf4e0=function(_0xf4e005,_0x715b90){_0xf4e005=_0xf4e005-0x180;let _0x2a765b=_0x2275ad[_0xf4e005];return _0x2a765b;},_0xf4e0(_0x5bbd5b,_0xc57510);}const e={'chart':{'category':'类别','series':'系列'}};module[_0x104837(0x183)]=e;
1
+ 'use strict';const _0x56ca76=_0x1c5e;function _0x34ef(){const _0xd66749=['756232DUhPmv','794791YJwKxH','39769230PpoQeM','exports','26364XnBltk','90TbWSjX','2471sWxThC','119931lSZyeC','6539744LMPbLF','6244315WHxzyv','68eIBrXd'];_0x34ef=function(){return _0xd66749;};return _0x34ef();}(function(_0xd585b9,_0x578e43){const _0x268ad4=_0x1c5e,_0xe578df=_0xd585b9();while(!![]){try{const _0x3e68c5=-parseInt(_0x268ad4(0x158))/0x1+-parseInt(_0x268ad4(0x161))/0x2*(parseInt(_0x268ad4(0x15e))/0x3)+-parseInt(_0x268ad4(0x15f))/0x4+parseInt(_0x268ad4(0x160))/0x5+-parseInt(_0x268ad4(0x15b))/0x6*(parseInt(_0x268ad4(0x15d))/0x7)+-parseInt(_0x268ad4(0x162))/0x8*(-parseInt(_0x268ad4(0x15c))/0x9)+parseInt(_0x268ad4(0x159))/0xa;if(_0x3e68c5===_0x578e43)break;else _0xe578df['push'](_0xe578df['shift']());}catch(_0x50296c){_0xe578df['push'](_0xe578df['shift']());}}}(_0x34ef,0xcae49));function _0x1c5e(_0x27f801,_0x2f7a0c){const _0x34ef52=_0x34ef();return _0x1c5e=function(_0x1c5e6e,_0x36af2c){_0x1c5e6e=_0x1c5e6e-0x158;let _0x49bbf6=_0x34ef52[_0x1c5e6e];return _0x49bbf6;},_0x1c5e(_0x27f801,_0x2f7a0c);}const e={'chart':{'category':'类别','series':'系列'}};module[_0x56ca76(0x15a)]=e;
@@ -1 +1 @@
1
- 'use strict';function _0x335d(){const _0x28cf3a=['6972093oMIGLG','exports','56139699pUovej','30154GgoOVN','13835724AADNED','468pSneIB','8LIWWsQ','115ldHgPz','3PyQuTe','4134850yhTInP','237144aRXpfJ','1400gLIcHQ'];_0x335d=function(){return _0x28cf3a;};return _0x335d();}const _0xffb081=_0x3ad3;(function(_0x2b5d02,_0x396c82){const _0x255815=_0x3ad3,_0x2eb7dc=_0x2b5d02();while(!![]){try{const _0x29cdf2=parseInt(_0x255815(0x75))/0x1*(-parseInt(_0x255815(0x71))/0x2)+parseInt(_0x255815(0x76))/0x3*(-parseInt(_0x255815(0x6c))/0x4)+parseInt(_0x255815(0x6d))/0x5*(parseInt(_0x255815(0x73))/0x6)+-parseInt(_0x255815(0x72))/0x7+parseInt(_0x255815(0x74))/0x8*(-parseInt(_0x255815(0x6e))/0x9)+parseInt(_0x255815(0x77))/0xa+parseInt(_0x255815(0x70))/0xb;if(_0x29cdf2===_0x396c82)break;else _0x2eb7dc['push'](_0x2eb7dc['shift']());}catch(_0x5df443){_0x2eb7dc['push'](_0x2eb7dc['shift']());}}}(_0x335d,0xf2d18));function _0x3ad3(_0x4f7fd2,_0x5ddf23){const _0x335dbc=_0x335d();return _0x3ad3=function(_0x3ad394,_0x39a3d1){_0x3ad394=_0x3ad394-0x6c;let _0x57569c=_0x335dbc[_0x3ad394];return _0x57569c;},_0x3ad3(_0x4f7fd2,_0x5ddf23);}const e={'chart':{'category':'类别','series':'系列'}};module[_0xffb081(0x6f)]=e;
1
+ 'use strict';const _0x25d337=_0x490b;function _0x35fc(){const _0x4d8c90=['2852358dJtxvt','367130xJaKJD','198DJccDG','exports','10233mFMZBu','39194YPcqkj','580jNsOpP','5DUdAxR','2191077LTAyqe','17pNnNEx','8355083pviImu','299944vxMaFJ'];_0x35fc=function(){return _0x4d8c90;};return _0x35fc();}function _0x490b(_0x2f74b8,_0x173fc9){const _0x35fca4=_0x35fc();return _0x490b=function(_0x490b68,_0x477491){_0x490b68=_0x490b68-0xf9;let _0x17da55=_0x35fca4[_0x490b68];return _0x17da55;},_0x490b(_0x2f74b8,_0x173fc9);}(function(_0x14099d,_0x207a78){const _0x13271a=_0x490b,_0x343d4a=_0x14099d();while(!![]){try{const _0x277836=-parseInt(_0x13271a(0x101))/0x1*(-parseInt(_0x13271a(0xfd))/0x2)+-parseInt(_0x13271a(0xfc))/0x3*(parseInt(_0x13271a(0xfe))/0x4)+parseInt(_0x13271a(0xff))/0x5*(-parseInt(_0x13271a(0x104))/0x6)+-parseInt(_0x13271a(0x100))/0x7+-parseInt(_0x13271a(0x103))/0x8+-parseInt(_0x13271a(0xfa))/0x9*(-parseInt(_0x13271a(0xf9))/0xa)+parseInt(_0x13271a(0x102))/0xb;if(_0x277836===_0x207a78)break;else _0x343d4a['push'](_0x343d4a['shift']());}catch(_0x2388b6){_0x343d4a['push'](_0x343d4a['shift']());}}}(_0x35fc,0x8d938));const e={'chart':{'category':'类别','series':'系列'}};module[_0x25d337(0xfb)]=e;