@univerjs-pro/collaboration-client 0.9.4 → 0.10.0

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 (50) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/services/collaboration-session/collaboration-session.d.ts +2 -3
  38. package/lib/umd/facade.js +1 -1
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +11 -11
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x22aa(_0x1dba80,_0x25bd97){var _0x9cfd6d=_0x9cfd();return _0x22aa=function(_0x22aa74,_0x5e335c){_0x22aa74=_0x22aa74-0x1ce;var _0x291530=_0x9cfd6d[_0x22aa74];return _0x291530;},_0x22aa(_0x1dba80,_0x25bd97);}var _0x54961f=_0x22aa;(function(_0x2aba4a,_0x2368b7){var _0x2ab3a2=_0x22aa,_0x1011ae=_0x2aba4a();while(!![]){try{var _0x178cae=-parseInt(_0x2ab3a2(0x1d5))/0x1*(parseInt(_0x2ab3a2(0x1fb))/0x2)+parseInt(_0x2ab3a2(0x1cf))/0x3*(-parseInt(_0x2ab3a2(0x1ec))/0x4)+parseInt(_0x2ab3a2(0x1d8))/0x5*(parseInt(_0x2ab3a2(0x1f7))/0x6)+parseInt(_0x2ab3a2(0x1ef))/0x7*(parseInt(_0x2ab3a2(0x1d2))/0x8)+parseInt(_0x2ab3a2(0x1e9))/0x9*(parseInt(_0x2ab3a2(0x1f5))/0xa)+parseInt(_0x2ab3a2(0x1df))/0xb*(-parseInt(_0x2ab3a2(0x1da))/0xc)+parseInt(_0x2ab3a2(0x1e4))/0xd;if(_0x178cae===_0x2368b7)break;else _0x1011ae['push'](_0x1011ae['shift']());}catch(_0x42116b){_0x1011ae['push'](_0x1011ae['shift']());}}}(_0x9cfd,0x71d1a));Object['defineProperty'](exports,Symbol[_0x54961f(0x1f2)],{'value':_0x54961f(0x1e3)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');function _0x9cfd(){var _0x5c072e=['members$','createInstance','388ScFwTj','pipe','values','28651jZyXoP','CollaborationController','get','toStringTag','_collaborationController','IUniverInstanceService','2989940HinNiF','MemberService','54jIPdVp','subscribeCollaborators','FBase','DataLoaderService','128DTTxHe','_injector','from','loadSheetAsync','length','loadServerUnit','23193ngyHjd','readyForCollab','Inject','808juOSPT','_handler','FCollaboration','12440nHYzqO','Injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','286355krcZbR','toDisposable','518604pfnfae','getOwnPropertyDescriptor','extend','FUniver','_snapshotService','132ZydkQA','getUniverSheet','loadSheet','loadUnit','Module','13052689XPIIeW','loadActiveSheetAsync','waitForRoom$','getCollaboration','subscribe','18JBBiyK'];_0x9cfd=function(){return _0x5c072e;};return _0x9cfd();}var d=Object[_0x54961f(0x1db)],S=(_0x30a3ab,_0x5a35fb,_0x4e71fd,_0xe0d4cf)=>{var _0x388e2b=_0x54961f;for(var _0x537e04=_0xe0d4cf>0x1?void 0x0:_0xe0d4cf?d(_0x5a35fb,_0x4e71fd):_0x5a35fb,_0x5edb80=_0x30a3ab[_0x388e2b(0x1ff)]-0x1,_0x294948;_0x5edb80>=0x0;_0x5edb80--)(_0x294948=_0x30a3ab[_0x5edb80])&&(_0x537e04=_0x294948(_0x537e04)||_0x537e04);return _0x537e04;},s=(_0x2045dd,_0x31d96e)=>(_0x5564c2,_0x2a9389)=>_0x31d96e(_0x5564c2,_0x2a9389,_0x2045dd);exports[_0x54961f(0x1d4)]=class extends l[_0x54961f(0x1f9)]{constructor(_0x27c61c,_0x35c9b8,_0x2039e6,_0xa7de78,_0x5305a5){var _0x2f3fe0=_0x54961f;super(),this['_handler']=_0x27c61c,this[_0x2f3fe0(0x1fc)]=_0x35c9b8,this['_univerInstanceService']=_0x2039e6,this[_0x2f3fe0(0x1de)]=_0xa7de78,this[_0x2f3fe0(0x1f3)]=_0x5305a5;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x54961f(0x1e5)](){var _0x4cc65=_0x54961f;throw new Error(_0x4cc65(0x1d7));}async[_0x54961f(0x1e1)](_0x6ef62f){var _0x29a009=_0x54961f;return this[_0x29a009(0x1fe)](_0x6ef62f);}async[_0x54961f(0x1fe)](_0x58831e,_0x58f8c4){var _0x363714=_0x54961f;return await this['_snapshotService'][_0x363714(0x1e1)](_0x58831e,0x0,_0x58f8c4)?(await this[_0x363714(0x1f3)][_0x363714(0x1d0)](_0x58831e),this[_0x363714(0x1d3)][_0x363714(0x1e0)](_0x58831e)):null;}[_0x54961f(0x1f8)](_0x384977,_0x189e77){var _0x38bcd9=_0x54961f;const _0x1d4a4a=this[_0x38bcd9(0x1fc)][_0x38bcd9(0x1f1)](c[_0x38bcd9(0x1f6)])[_0x38bcd9(0x1e6)](_0x384977)[_0x38bcd9(0x1ed)](b['switchMap'](_0x5f130a=>_0x5f130a[_0x38bcd9(0x1ea)]))[_0x38bcd9(0x1e8)](_0x27ac46=>_0x189e77(Array[_0x38bcd9(0x1fd)](_0x27ac46[_0x38bcd9(0x1ee)]())));return n[_0x38bcd9(0x1d9)](_0x1d4a4a);}},exports[_0x54961f(0x1d4)]=S([s(0x1,n['Inject'](n[_0x54961f(0x1d6)])),s(0x2,n[_0x54961f(0x1f4)]),s(0x3,n[_0x54961f(0x1d1)](h['SnapshotService'])),s(0x4,n[_0x54961f(0x1d1)](c[_0x54961f(0x1f0)]))],exports['FCollaboration']);class u extends l[_0x54961f(0x1dd)]{[_0x54961f(0x1e7)](){var _0x3ffc4a=_0x54961f;return this[_0x3ffc4a(0x1fc)][_0x3ffc4a(0x1eb)](exports[_0x3ffc4a(0x1d4)],{'getUniverSheet':_0x3a5a21=>this[_0x3ffc4a(0x1e0)](_0x3a5a21)});}[_0x54961f(0x1ce)](_0x25a63,_0x349f92,_0x1b163f){var _0x13478c=_0x54961f;return this[_0x13478c(0x1fc)][_0x13478c(0x1f1)](c['DataLoaderService'])[_0x13478c(0x1e2)](_0x25a63,_0x349f92,_0x1b163f);}['loadServerUnitOfRevision'](_0x11728d,_0x4f4adc,_0x1515df){var _0xd3827e=_0x54961f;return this[_0xd3827e(0x1fc)][_0xd3827e(0x1f1)](c[_0xd3827e(0x1fa)])['loadUnitOfRevision'](_0x11728d,_0x4f4adc,_0x1515df);}}l[_0x54961f(0x1dd)][_0x54961f(0x1dc)](u);
1
+ 'use strict';var _0x3719f9=_0x3f17;(function(_0x44cc45,_0x2e6dd1){var _0x53b3dc=_0x3f17,_0x39a823=_0x44cc45();while(!![]){try{var _0x476ffd=parseInt(_0x53b3dc(0x19c))/0x1+-parseInt(_0x53b3dc(0x195))/0x2*(parseInt(_0x53b3dc(0x18f))/0x3)+-parseInt(_0x53b3dc(0x182))/0x4*(parseInt(_0x53b3dc(0x179))/0x5)+-parseInt(_0x53b3dc(0x193))/0x6*(parseInt(_0x53b3dc(0x199))/0x7)+-parseInt(_0x53b3dc(0x17d))/0x8+-parseInt(_0x53b3dc(0x170))/0x9*(-parseInt(_0x53b3dc(0x190))/0xa)+parseInt(_0x53b3dc(0x19a))/0xb;if(_0x476ffd===_0x2e6dd1)break;else _0x39a823['push'](_0x39a823['shift']());}catch(_0x2b18ed){_0x39a823['push'](_0x39a823['shift']());}}}(_0x33fe,0xa773c));Object[_0x3719f9(0x19b)](exports,Symbol['toStringTag'],{'value':_0x3719f9(0x177)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');function _0x33fe(){var _0x16274d=['values','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','559628vVUuHz','MemberService','members$','_collaborationController','CollaborationController','subscribeCollaborators','toDisposable','getOwnPropertyDescriptor','get','loadActiveSheet','from','Injector','length','3928686qFSSBb','10ieWSmU','DataLoaderService','loadActiveSheetAsync','5261742QSLavH','subscribe','2mIEdWG','FUniver','getUniverSheet','FCollaboration','7WNKoVQ','27784900uaopmE','defineProperty','1362442UvPXlb','3166803dTbtUA','pipe','IUniverInstanceService','loadUnit','getCollaboration','Inject','_injector','Module','loadServerUnitOfRevision','15BDrcva','_handler','SnapshotService','loadSheetAsync','7584680lZEfcH'];_0x33fe=function(){return _0x16274d;};return _0x33fe();}var d=Object[_0x3719f9(0x189)],S=(_0x1b3e24,_0x5149a2,_0x556d1e,_0x149010)=>{var _0xfacb14=_0x3719f9;for(var _0x4c4b99=_0x149010>0x1?void 0x0:_0x149010?d(_0x5149a2,_0x556d1e):_0x5149a2,_0x471efd=_0x1b3e24[_0xfacb14(0x18e)]-0x1,_0x5867e9;_0x471efd>=0x0;_0x471efd--)(_0x5867e9=_0x1b3e24[_0x471efd])&&(_0x4c4b99=_0x5867e9(_0x4c4b99)||_0x4c4b99);return _0x4c4b99;},s=(_0x559376,_0x10cff8)=>(_0x4c1a20,_0x47a155)=>_0x10cff8(_0x4c1a20,_0x47a155,_0x559376);exports['FCollaboration']=class extends l['FBase']{constructor(_0x3f474f,_0x318538,_0xbdcdf8,_0x39b268,_0x3c4e7d){var _0x1b8d73=_0x3719f9;super(),this['_handler']=_0x3f474f,this[_0x1b8d73(0x176)]=_0x318538,this['_univerInstanceService']=_0xbdcdf8,this['_snapshotService']=_0x39b268,this[_0x1b8d73(0x185)]=_0x3c4e7d;}async[_0x3719f9(0x18b)](){var _0x1a5f24=_0x3719f9;return this[_0x1a5f24(0x192)]();}async[_0x3719f9(0x192)](){var _0x49bdc9=_0x3719f9;throw new Error(_0x49bdc9(0x180));}async[_0x3719f9(0x181)](_0x2baa4d){var _0x42501=_0x3719f9;return this[_0x42501(0x17c)](_0x2baa4d);}async[_0x3719f9(0x17c)](_0x592b4b,_0x4190ea){var _0x5c0bb8=_0x3719f9;return await this[_0x5c0bb8(0x17f)][_0x5c0bb8(0x181)](_0x592b4b,0x0,_0x4190ea)?(await this['_collaborationController']['readyForCollab'](_0x592b4b),this[_0x5c0bb8(0x17a)]['getUniverSheet'](_0x592b4b)):null;}[_0x3719f9(0x187)](_0x4cc312,_0x1575c9){var _0x3c0d8b=_0x3719f9;const _0x7eb41e=this['_injector'][_0x3c0d8b(0x18a)](c[_0x3c0d8b(0x183)])['waitForRoom$'](_0x4cc312)[_0x3c0d8b(0x171)](b['switchMap'](_0x443010=>_0x443010[_0x3c0d8b(0x184)]))[_0x3c0d8b(0x194)](_0x4a9c71=>_0x1575c9(Array[_0x3c0d8b(0x18c)](_0x4a9c71[_0x3c0d8b(0x17e)]())));return n[_0x3c0d8b(0x188)](_0x7eb41e);}},exports[_0x3719f9(0x198)]=S([s(0x1,n[_0x3719f9(0x175)](n[_0x3719f9(0x18d)])),s(0x2,n[_0x3719f9(0x172)]),s(0x3,n[_0x3719f9(0x175)](h[_0x3719f9(0x17b)])),s(0x4,n[_0x3719f9(0x175)](c[_0x3719f9(0x186)]))],exports[_0x3719f9(0x198)]);class u extends l[_0x3719f9(0x196)]{[_0x3719f9(0x174)](){var _0x24c04c=_0x3719f9;return this[_0x24c04c(0x176)]['createInstance'](exports[_0x24c04c(0x198)],{'getUniverSheet':_0x550dc4=>this[_0x24c04c(0x197)](_0x550dc4)});}['loadServerUnit'](_0xe71486,_0x4bb525,_0x434ace){var _0x3dde8f=_0x3719f9;return this[_0x3dde8f(0x176)][_0x3dde8f(0x18a)](c[_0x3dde8f(0x191)])[_0x3dde8f(0x173)](_0xe71486,_0x4bb525,_0x434ace);}[_0x3719f9(0x178)](_0x2942ef,_0x140f2e,_0x443440){var _0x273913=_0x3719f9;return this[_0x273913(0x176)][_0x273913(0x18a)](c['DataLoaderService'])['loadUnitOfRevision'](_0x2942ef,_0x140f2e,_0x443440);}}function _0x3f17(_0x188b9a,_0x187fb3){var _0x33fe3a=_0x33fe();return _0x3f17=function(_0x3f17db,_0x21bab2){_0x3f17db=_0x3f17db-0x170;var _0x131768=_0x33fe3a[_0x3f17db];return _0x131768;},_0x3f17(_0x188b9a,_0x187fb3);}l[_0x3719f9(0x196)]['extend'](u);