@univerjs-pro/collaboration-client 0.8.3 → 0.9.1-nightly.202507041607

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 (43) 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 -1
  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 -1
  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 -1
  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/services/local-cache/local-cache.service.d.ts +1 -1
  32. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +1 -1
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ko-KR.js +1 -1
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +11 -11
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x2a705e=_0x5715;(function(_0x2f8d82,_0x31eaec){var _0x2b7c2b=_0x5715,_0x5adf58=_0x2f8d82();while(!![]){try{var _0x3eef0e=parseInt(_0x2b7c2b(0x1be))/0x1+-parseInt(_0x2b7c2b(0x1e1))/0x2*(-parseInt(_0x2b7c2b(0x1e5))/0x3)+-parseInt(_0x2b7c2b(0x1d4))/0x4*(-parseInt(_0x2b7c2b(0x1bf))/0x5)+-parseInt(_0x2b7c2b(0x1d3))/0x6*(-parseInt(_0x2b7c2b(0x1d8))/0x7)+-parseInt(_0x2b7c2b(0x1b8))/0x8*(-parseInt(_0x2b7c2b(0x1de))/0x9)+-parseInt(_0x2b7c2b(0x1ba))/0xa*(parseInt(_0x2b7c2b(0x1cf))/0xb)+-parseInt(_0x2b7c2b(0x1b9))/0xc;if(_0x3eef0e===_0x31eaec)break;else _0x5adf58['push'](_0x5adf58['shift']());}catch(_0x2e5f8d){_0x5adf58['push'](_0x5adf58['shift']());}}}(_0x46b0,0xeb2f7));Object['defineProperty'](exports,Symbol[_0x2a705e(0x1da)],{'value':_0x2a705e(0x1e6)});function _0x5715(_0x22546d,_0x4bd0c8){var _0x46b04a=_0x46b0();return _0x5715=function(_0x5715ab,_0x31ef16){_0x5715ab=_0x5715ab-0x1b7;var _0x55a0a3=_0x46b04a[_0x5715ab];return _0x55a0a3;},_0x5715(_0x22546d,_0x4bd0c8);}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require(_0x2a705e(0x1e0)),b=require(_0x2a705e(0x1d9));var d=Object[_0x2a705e(0x1d7)],S=(_0x239ba8,_0x59fb74,_0x432840,_0x6518aa)=>{var _0x31a697=_0x2a705e;for(var _0xcbc716=_0x6518aa>0x1?void 0x0:_0x6518aa?d(_0x59fb74,_0x432840):_0x59fb74,_0x4fdf44=_0x239ba8[_0x31a697(0x1c0)]-0x1,_0x330025;_0x4fdf44>=0x0;_0x4fdf44--)(_0x330025=_0x239ba8[_0x4fdf44])&&(_0xcbc716=_0x330025(_0xcbc716)||_0xcbc716);return _0xcbc716;},s=(_0x2acfb0,_0x4b3563)=>(_0x4fbeb4,_0x22abcf)=>_0x4b3563(_0x4fbeb4,_0x22abcf,_0x2acfb0);function _0x46b0(){var _0x4ef27c=['712082djeIZa','rxjs','toStringTag','loadSheet','FCollaboration','CollaborationController','1773fxFMeA','loadActiveSheetAsync','@univerjs/core','4jGsipz','_univerInstanceService','from','loadSheetAsync','2694099qOghYb','Module','get','loadUnitOfRevision','getCollaboration','8368JZGLGu','19733376yNpWMl','2738950pRzGBc','Inject','MemberService','_injector','510411LULucD','5hoiFYW','length','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','members$','_handler','DataLoaderService','waitForRoom$','values','loadServerUnit','_snapshotService','SnapshotService','createInstance','loadUnit','subscribeCollaborators','_collaborationController','22kMplJm','switchMap','FUniver','IUniverInstanceService','6NAlRrF','2165168CPOcDU','subscribe','pipe','getOwnPropertyDescriptor'];_0x46b0=function(){return _0x4ef27c;};return _0x46b0();}exports[_0x2a705e(0x1dc)]=class extends l['FBase']{constructor(_0x7fc070,_0x49b244,_0x33d38f,_0x3f195e,_0x321cf4){var _0x4d2282=_0x2a705e;super(),this['_handler']=_0x7fc070,this[_0x4d2282(0x1bd)]=_0x49b244,this[_0x4d2282(0x1e2)]=_0x33d38f,this['_snapshotService']=_0x3f195e,this[_0x4d2282(0x1ce)]=_0x321cf4;}async['loadActiveSheet'](){var _0x2edb7f=_0x2a705e;return this[_0x2edb7f(0x1df)]();}async[_0x2a705e(0x1df)](){var _0x10050e=_0x2a705e;throw new Error(_0x10050e(0x1c1));}async['loadSheet'](_0x551268){var _0x3fe199=_0x2a705e;return this[_0x3fe199(0x1e4)](_0x551268);}async[_0x2a705e(0x1e4)](_0x4eb5eb,_0x4943fd){var _0x28cb6f=_0x2a705e;return await this[_0x28cb6f(0x1c9)][_0x28cb6f(0x1db)](_0x4eb5eb,0x0,_0x4943fd)?(await this[_0x28cb6f(0x1ce)]['readyForCollab'](_0x4eb5eb),this[_0x28cb6f(0x1c4)]['getUniverSheet'](_0x4eb5eb)):null;}[_0x2a705e(0x1cd)](_0x35172e,_0x54a2c8){var _0x1b75c2=_0x2a705e;const _0x332ada=this[_0x1b75c2(0x1bd)]['get'](c[_0x1b75c2(0x1bc)])[_0x1b75c2(0x1c6)](_0x35172e)[_0x1b75c2(0x1d6)](b[_0x1b75c2(0x1d0)](_0x4c9220=>_0x4c9220[_0x1b75c2(0x1c3)]))[_0x1b75c2(0x1d5)](_0x4dd473=>_0x54a2c8(Array[_0x1b75c2(0x1e3)](_0x4dd473[_0x1b75c2(0x1c7)]())));return n['toDisposable'](_0x332ada);}},exports[_0x2a705e(0x1dc)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x2a705e(0x1d2)]),s(0x3,n[_0x2a705e(0x1bb)](h[_0x2a705e(0x1ca)])),s(0x4,n[_0x2a705e(0x1bb)](c[_0x2a705e(0x1dd)]))],exports[_0x2a705e(0x1dc)]);class u extends l[_0x2a705e(0x1d1)]{[_0x2a705e(0x1b7)](){var _0xcbe2a0=_0x2a705e;return this['_injector'][_0xcbe2a0(0x1cb)](exports[_0xcbe2a0(0x1dc)],{'getUniverSheet':_0x4cc0e9=>this['getUniverSheet'](_0x4cc0e9)});}[_0x2a705e(0x1c8)](_0x35ec12,_0x5c4edc,_0x58a55f){var _0x512e46=_0x2a705e;return this[_0x512e46(0x1bd)]['get'](c['DataLoaderService'])[_0x512e46(0x1cc)](_0x35ec12,_0x5c4edc,_0x58a55f);}['loadServerUnitOfRevision'](_0x116e55,_0x15656c,_0x3eb0bc){var _0x2510f3=_0x2a705e;return this[_0x2510f3(0x1bd)][_0x2510f3(0x1e7)](c[_0x2510f3(0x1c5)])[_0x2510f3(0x1e8)](_0x116e55,_0x15656c,_0x3eb0bc);}}l[_0x2a705e(0x1d1)][_0x2a705e(0x1c2)](u);
1
+ 'use strict';var _0x4e372c=_0x3565;(function(_0x200ba1,_0x235ba0){var _0x554a70=_0x3565,_0x3d82dd=_0x200ba1();while(!![]){try{var _0x440e88=-parseInt(_0x554a70(0xf4))/0x1*(-parseInt(_0x554a70(0x106))/0x2)+parseInt(_0x554a70(0x10c))/0x3+-parseInt(_0x554a70(0x111))/0x4+parseInt(_0x554a70(0xf1))/0x5+-parseInt(_0x554a70(0xee))/0x6*(parseInt(_0x554a70(0x101))/0x7)+-parseInt(_0x554a70(0x110))/0x8*(-parseInt(_0x554a70(0x10f))/0x9)+parseInt(_0x554a70(0xf9))/0xa*(-parseInt(_0x554a70(0xfb))/0xb);if(_0x440e88===_0x235ba0)break;else _0x3d82dd['push'](_0x3d82dd['shift']());}catch(_0xdacf2b){_0x3d82dd['push'](_0x3d82dd['shift']());}}}(_0xeade,0xf0eeb));Object['defineProperty'](exports,Symbol['toStringTag'],{'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[_0x4e372c(0x10a)],S=(_0x5b9d5e,_0xa99bde,_0x35fa77,_0x26a944)=>{var _0x2eacff=_0x4e372c;for(var _0x56e575=_0x26a944>0x1?void 0x0:_0x26a944?d(_0xa99bde,_0x35fa77):_0xa99bde,_0xdf1d8b=_0x5b9d5e[_0x2eacff(0xed)]-0x1,_0x50025d;_0xdf1d8b>=0x0;_0xdf1d8b--)(_0x50025d=_0x5b9d5e[_0xdf1d8b])&&(_0x56e575=_0x50025d(_0x56e575)||_0x56e575);return _0x56e575;},s=(_0x4aa4e8,_0x5aee34)=>(_0x343804,_0x38cda4)=>_0x5aee34(_0x343804,_0x38cda4,_0x4aa4e8);function _0xeade(){var _0x2c1777=['loadServerUnit','switchMap','extend','2776QHNQub','createInstance','_handler','_injector','getOwnPropertyDescriptor','MemberService','4351626VNZogb','values','loadSheet','1480041zLzURg','88uXAQEC','5952684ebTLUG','getCollaboration','readyForCollab','loadUnitOfRevision','FBase','length','1206QScFkV','get','Inject','4598070veCsVf','subscribe','toDisposable','653HjGyio','members$','pipe','loadSheetAsync','_univerInstanceService','33010oTHJDe','loadActiveSheetAsync','3465YqgIBm','loadServerUnitOfRevision','FUniver','_snapshotService','FCollaboration','IUniverInstanceService','54698MsoaVW','_collaborationController'];_0xeade=function(){return _0x2c1777;};return _0xeade();}exports[_0x4e372c(0xff)]=class extends l[_0x4e372c(0x115)]{constructor(_0x1702a0,_0x3bd989,_0x24ca76,_0xa07824,_0x40735f){var _0x485aca=_0x4e372c;super(),this[_0x485aca(0x108)]=_0x1702a0,this[_0x485aca(0x109)]=_0x3bd989,this[_0x485aca(0xf8)]=_0x24ca76,this[_0x485aca(0xfe)]=_0xa07824,this['_collaborationController']=_0x40735f;}async['loadActiveSheet'](){var _0xd22a4e=_0x4e372c;return this[_0xd22a4e(0xfa)]();}async[_0x4e372c(0xfa)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x4e372c(0x10e)](_0x124213){var _0x34e626=_0x4e372c;return this[_0x34e626(0xf7)](_0x124213);}async[_0x4e372c(0xf7)](_0x21a73b,_0x147c70){var _0x14e612=_0x4e372c;return await this['_snapshotService']['loadSheet'](_0x21a73b,0x0,_0x147c70)?(await this[_0x14e612(0x102)][_0x14e612(0x113)](_0x21a73b),this[_0x14e612(0x108)]['getUniverSheet'](_0x21a73b)):null;}['subscribeCollaborators'](_0x19ee04,_0x31b333){var _0x157aa5=_0x4e372c;const _0x311b6a=this[_0x157aa5(0x109)][_0x157aa5(0xef)](c[_0x157aa5(0x10b)])['waitForRoom$'](_0x19ee04)[_0x157aa5(0xf6)](b[_0x157aa5(0x104)](_0x3a612b=>_0x3a612b[_0x157aa5(0xf5)]))[_0x157aa5(0xf2)](_0x2070cc=>_0x31b333(Array['from'](_0x2070cc[_0x157aa5(0x10d)]())));return n[_0x157aa5(0xf3)](_0x311b6a);}},exports[_0x4e372c(0xff)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x4e372c(0x100)]),s(0x3,n[_0x4e372c(0xf0)](h['SnapshotService'])),s(0x4,n[_0x4e372c(0xf0)](c['CollaborationController']))],exports[_0x4e372c(0xff)]);function _0x3565(_0x3f8efc,_0x1e2018){var _0xeade60=_0xeade();return _0x3565=function(_0x35656d,_0x20d591){_0x35656d=_0x35656d-0xed;var _0x2d2fd5=_0xeade60[_0x35656d];return _0x2d2fd5;},_0x3565(_0x3f8efc,_0x1e2018);}class u extends l[_0x4e372c(0xfd)]{[_0x4e372c(0x112)](){var _0x16750b=_0x4e372c;return this[_0x16750b(0x109)][_0x16750b(0x107)](exports[_0x16750b(0xff)],{'getUniverSheet':_0x5edea1=>this['getUniverSheet'](_0x5edea1)});}[_0x4e372c(0x103)](_0x4692ff,_0x3791e1,_0x3e2dd7){var _0x3cd4ce=_0x4e372c;return this[_0x3cd4ce(0x109)][_0x3cd4ce(0xef)](c['DataLoaderService'])['loadUnit'](_0x4692ff,_0x3791e1,_0x3e2dd7);}[_0x4e372c(0xfc)](_0x42b8d1,_0x172add,_0xb0627a){var _0x297ca6=_0x4e372c;return this[_0x297ca6(0x109)][_0x297ca6(0xef)](c['DataLoaderService'])[_0x297ca6(0x114)](_0x42b8d1,_0x172add,_0xb0627a);}}l['FUniver'][_0x4e372c(0x105)](u);