@univerjs-pro/collaboration-client 0.8.2 → 0.8.3-nightly.202507010644

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 (45) hide show
  1. package/lib/cjs/facade.js +1 -1
  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/ko-KR.js +1 -0
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -0
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -0
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/index.d.ts +1 -1
  32. package/lib/types/locale/ko-KR.d.ts +3 -0
  33. package/lib/types/services/local-cache/local-cache.service.d.ts +1 -1
  34. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +1 -1
  35. package/lib/umd/facade.js +1 -1
  36. package/lib/umd/index.js +1 -1
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -0
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +11 -11
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x8c42a6=_0x564c;function _0x58a2(){var _0x39e63b=['_handler','12109128HQsMVg','@univerjs-pro/collaboration-client','subscribeCollaborators','waitForRoom$','loadSheet','Module','createInstance','@univerjs/core/facade','Injector','5843330oKJsVa','pipe','_collaborationController','get','FUniver','21656503vdUoii','_univerInstanceService','15355611wTPQDF','getOwnPropertyDescriptor','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration','loadServerUnitOfRevision','extend','@univerjs/core','IUniverInstanceService','6dmXLOo','556188hipbJb','loadServerUnit','loadActiveSheet','Inject','@univerjs-pro/collaboration','28gUHuFj','switchMap','DataLoaderService','from','33sFqvOV','_snapshotService','toDisposable','loadActiveSheetAsync','10bMLkCw','_injector','toStringTag','loadSheetAsync','SnapshotService','getUniverSheet','subscribe','127598STSIbj','loadUnit','members$','6891451FcKdHN','FBase','loadUnitOfRevision'];_0x58a2=function(){return _0x39e63b;};return _0x58a2();}(function(_0x32effe,_0x6620f1){var _0x283a08=_0x564c,_0xf36306=_0x32effe();while(!![]){try{var _0x31619f=parseInt(_0x283a08(0x93))/0x1*(parseInt(_0x283a08(0xa2))/0x2)+parseInt(_0x283a08(0x97))/0x3*(parseInt(_0x283a08(0xc2))/0x4)+-parseInt(_0x283a08(0xb2))/0x5*(parseInt(_0x283a08(0xc1))/0x6)+parseInt(_0x283a08(0xa5))/0x7+parseInt(_0x283a08(0xa9))/0x8+-parseInt(_0x283a08(0xb9))/0x9+-parseInt(_0x283a08(0x9b))/0xa*(parseInt(_0x283a08(0xb7))/0xb);if(_0x31619f===_0x6620f1)break;else _0xf36306['push'](_0xf36306['shift']());}catch(_0x4771cb){_0xf36306['push'](_0xf36306['shift']());}}}(_0x58a2,0xecea5));Object['defineProperty'](exports,Symbol[_0x8c42a6(0x9d)],{'value':_0x8c42a6(0xae)});const c=require(_0x8c42a6(0xaa)),l=require(_0x8c42a6(0xb0)),h=require(_0x8c42a6(0x92)),n=require(_0x8c42a6(0xbf)),b=require('rxjs');var d=Object[_0x8c42a6(0xba)],S=(_0x6ac6c9,_0x2fbe92,_0x42dad9,_0x47e818)=>{for(var _0x4bd6d6=_0x47e818>0x1?void 0x0:_0x47e818?d(_0x2fbe92,_0x42dad9):_0x2fbe92,_0x174ea3=_0x6ac6c9['length']-0x1,_0x90a61f;_0x174ea3>=0x0;_0x174ea3--)(_0x90a61f=_0x6ac6c9[_0x174ea3])&&(_0x4bd6d6=_0x90a61f(_0x4bd6d6)||_0x4bd6d6);return _0x4bd6d6;},s=(_0x1b1ed0,_0x4f1cc8)=>(_0x3ac679,_0x343edb)=>_0x4f1cc8(_0x3ac679,_0x343edb,_0x1b1ed0);exports[_0x8c42a6(0xbc)]=class extends l[_0x8c42a6(0xa6)]{constructor(_0x3f579d,_0x2fc1aa,_0x508f75,_0x2f6218,_0x13477f){var _0x2dd0ad=_0x8c42a6;super(),this[_0x2dd0ad(0xa8)]=_0x3f579d,this[_0x2dd0ad(0x9c)]=_0x2fc1aa,this[_0x2dd0ad(0xb8)]=_0x508f75,this[_0x2dd0ad(0x98)]=_0x2f6218,this[_0x2dd0ad(0xb4)]=_0x13477f;}async[_0x8c42a6(0x90)](){return this['loadActiveSheetAsync']();}async[_0x8c42a6(0x9a)](){var _0x4b8544=_0x8c42a6;throw new Error(_0x4b8544(0xbb));}async[_0x8c42a6(0xad)](_0x39ee19){var _0x2b21fd=_0x8c42a6;return this[_0x2b21fd(0x9e)](_0x39ee19);}async[_0x8c42a6(0x9e)](_0x9e4ee0,_0xe5b204){var _0x171c59=_0x8c42a6;return await this[_0x171c59(0x98)]['loadSheet'](_0x9e4ee0,0x0,_0xe5b204)?(await this[_0x171c59(0xb4)]['readyForCollab'](_0x9e4ee0),this[_0x171c59(0xa8)]['getUniverSheet'](_0x9e4ee0)):null;}[_0x8c42a6(0xab)](_0x13765e,_0x23f0b4){var _0x16d382=_0x8c42a6;const _0x57f443=this['_injector']['get'](c['MemberService'])[_0x16d382(0xac)](_0x13765e)[_0x16d382(0xb3)](b[_0x16d382(0x94)](_0x1a025d=>_0x1a025d[_0x16d382(0xa4)]))[_0x16d382(0xa1)](_0x58d63a=>_0x23f0b4(Array[_0x16d382(0x96)](_0x58d63a['values']())));return n[_0x16d382(0x99)](_0x57f443);}},exports['FCollaboration']=S([s(0x1,n[_0x8c42a6(0x91)](n[_0x8c42a6(0xb1)])),s(0x2,n[_0x8c42a6(0xc0)]),s(0x3,n[_0x8c42a6(0x91)](h[_0x8c42a6(0x9f)])),s(0x4,n[_0x8c42a6(0x91)](c['CollaborationController']))],exports['FCollaboration']);function _0x564c(_0x10395e,_0x3da445){var _0x58a2c2=_0x58a2();return _0x564c=function(_0x564c9c,_0x4d1b41){_0x564c9c=_0x564c9c-0x8f;var _0x5a9189=_0x58a2c2[_0x564c9c];return _0x5a9189;},_0x564c(_0x10395e,_0x3da445);}class u extends l[_0x8c42a6(0xb6)]{['getCollaboration'](){var _0x244de4=_0x8c42a6;return this[_0x244de4(0x9c)][_0x244de4(0xaf)](exports[_0x244de4(0xbc)],{'getUniverSheet':_0x27495a=>this[_0x244de4(0xa0)](_0x27495a)});}[_0x8c42a6(0x8f)](_0x420e8a,_0x5324d2,_0x15d9d3){var _0x257169=_0x8c42a6;return this[_0x257169(0x9c)][_0x257169(0xb5)](c[_0x257169(0x95)])[_0x257169(0xa3)](_0x420e8a,_0x5324d2,_0x15d9d3);}[_0x8c42a6(0xbd)](_0x33cd9f,_0x4639c7,_0x42e2d2){var _0x145df9=_0x8c42a6;return this[_0x145df9(0x9c)][_0x145df9(0xb5)](c['DataLoaderService'])[_0x145df9(0xa7)](_0x33cd9f,_0x4639c7,_0x42e2d2);}}l[_0x8c42a6(0xb6)][_0x8c42a6(0xbe)](u);
1
+ 'use strict';var _0x5f14a1=_0x316e;(function(_0x4f062c,_0x1fa7b7){var _0x4746e4=_0x316e,_0x3f57a9=_0x4f062c();while(!![]){try{var _0x5ade52=-parseInt(_0x4746e4(0xe9))/0x1*(parseInt(_0x4746e4(0xc4))/0x2)+parseInt(_0x4746e4(0xeb))/0x3*(-parseInt(_0x4746e4(0xdf))/0x4)+parseInt(_0x4746e4(0xcb))/0x5*(-parseInt(_0x4746e4(0xef))/0x6)+parseInt(_0x4746e4(0xc8))/0x7+parseInt(_0x4746e4(0xce))/0x8*(-parseInt(_0x4746e4(0xd8))/0x9)+parseInt(_0x4746e4(0xf2))/0xa*(parseInt(_0x4746e4(0xe8))/0xb)+parseInt(_0x4746e4(0xdc))/0xc*(parseInt(_0x4746e4(0xda))/0xd);if(_0x5ade52===_0x1fa7b7)break;else _0x3f57a9['push'](_0x3f57a9['shift']());}catch(_0x429b60){_0x3f57a9['push'](_0x3f57a9['shift']());}}}(_0x2fac,0xedb1d));Object[_0x5f14a1(0xd0)](exports,Symbol[_0x5f14a1(0xca)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x5f14a1(0xe7)],S=(_0x19bdba,_0x29bdab,_0x50642b,_0x572318)=>{var _0x226d1e=_0x5f14a1;for(var _0xd472c8=_0x572318>0x1?void 0x0:_0x572318?d(_0x29bdab,_0x50642b):_0x29bdab,_0x40576c=_0x19bdba[_0x226d1e(0xd3)]-0x1,_0x5ca538;_0x40576c>=0x0;_0x40576c--)(_0x5ca538=_0x19bdba[_0x40576c])&&(_0xd472c8=_0x5ca538(_0xd472c8)||_0xd472c8);return _0xd472c8;},s=(_0x382596,_0x2313f3)=>(_0x129968,_0x93dbcb)=>_0x2313f3(_0x129968,_0x93dbcb,_0x382596);exports[_0x5f14a1(0xcc)]=class extends l[_0x5f14a1(0xcd)]{constructor(_0x1a686c,_0x24c99c,_0x2672f9,_0x1ea995,_0x1c5dcd){var _0x4ef08a=_0x5f14a1;super(),this[_0x4ef08a(0xf0)]=_0x1a686c,this[_0x4ef08a(0xe3)]=_0x24c99c,this['_univerInstanceService']=_0x2672f9,this[_0x4ef08a(0xf1)]=_0x1ea995,this[_0x4ef08a(0xdd)]=_0x1c5dcd;}async[_0x5f14a1(0xea)](){var _0x12ca4f=_0x5f14a1;return this[_0x12ca4f(0xc5)]();}async[_0x5f14a1(0xc5)](){var _0x5d090b=_0x5f14a1;throw new Error(_0x5d090b(0xe4));}async[_0x5f14a1(0xe6)](_0x37d22f){return this['loadSheetAsync'](_0x37d22f);}async[_0x5f14a1(0xd5)](_0xfb4f41,_0x1ef66e){var _0x193edb=_0x5f14a1;return await this[_0x193edb(0xf1)][_0x193edb(0xe6)](_0xfb4f41,0x0,_0x1ef66e)?(await this[_0x193edb(0xdd)][_0x193edb(0xc7)](_0xfb4f41),this['_handler'][_0x193edb(0xe0)](_0xfb4f41)):null;}['subscribeCollaborators'](_0x12e5e8,_0xc119f9){var _0xedf3dc=_0x5f14a1;const _0xfaa3c4=this[_0xedf3dc(0xe3)][_0xedf3dc(0xd4)](c['MemberService'])[_0xedf3dc(0xe5)](_0x12e5e8)[_0xedf3dc(0xd1)](b[_0xedf3dc(0xc6)](_0x50a00b=>_0x50a00b['members$']))['subscribe'](_0x5b29d5=>_0xc119f9(Array['from'](_0x5b29d5[_0xedf3dc(0xdb)]())));return n[_0xedf3dc(0xed)](_0xfaa3c4);}},exports[_0x5f14a1(0xcc)]=S([s(0x1,n[_0x5f14a1(0xde)](n[_0x5f14a1(0xe1)])),s(0x2,n[_0x5f14a1(0xc9)]),s(0x3,n[_0x5f14a1(0xde)](h['SnapshotService'])),s(0x4,n[_0x5f14a1(0xde)](c[_0x5f14a1(0xd7)]))],exports[_0x5f14a1(0xcc)]);function _0x2fac(){var _0x17601f=['toStringTag','1753030JtocrH','FCollaboration','FBase','209184sZsufe','loadUnitOfRevision','defineProperty','pipe','createInstance','length','get','loadSheetAsync','DataLoaderService','CollaborationController','207oRKBfy','FUniver','20579bfXiTi','values','19632kNjSOL','_collaborationController','Inject','3493624labPUC','getUniverSheet','Injector','extend','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','waitForRoom$','loadSheet','getOwnPropertyDescriptor','2921677EeyPUQ','2486KVBxln','loadActiveSheet','6DFxbCc','getCollaboration','toDisposable','loadServerUnitOfRevision','24sqwtlc','_handler','_snapshotService','50wkQIwM','loadServerUnit','102ejeuEx','loadActiveSheetAsync','switchMap','readyForCollab','6532400nRcymi','IUniverInstanceService'];_0x2fac=function(){return _0x17601f;};return _0x2fac();}class u extends l[_0x5f14a1(0xd9)]{[_0x5f14a1(0xec)](){var _0x41d339=_0x5f14a1;return this[_0x41d339(0xe3)][_0x41d339(0xd2)](exports['FCollaboration'],{'getUniverSheet':_0x1f4ed4=>this[_0x41d339(0xe0)](_0x1f4ed4)});}[_0x5f14a1(0xc3)](_0x17bab4,_0x141c0b,_0x1c6489){var _0x10b696=_0x5f14a1;return this[_0x10b696(0xe3)][_0x10b696(0xd4)](c['DataLoaderService'])['loadUnit'](_0x17bab4,_0x141c0b,_0x1c6489);}[_0x5f14a1(0xee)](_0x50e34f,_0x45c5bf,_0x1caca9){var _0x17db8c=_0x5f14a1;return this[_0x17db8c(0xe3)][_0x17db8c(0xd4)](c[_0x17db8c(0xd6)])[_0x17db8c(0xcf)](_0x50e34f,_0x45c5bf,_0x1caca9);}}function _0x316e(_0x366283,_0x2e4521){var _0x2fac89=_0x2fac();return _0x316e=function(_0x316ec1,_0x373c60){_0x316ec1=_0x316ec1-0xc3;var _0x5182f6=_0x2fac89[_0x316ec1];return _0x5182f6;},_0x316e(_0x366283,_0x2e4521);}l['FUniver'][_0x5f14a1(0xe2)](u);