@univerjs-pro/collaboration-client 0.8.0-nightly.202505311606 → 0.8.0-nightly.202506011606

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.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x520e9f=_0x4032;(function(_0x19b752,_0x3a6f7c){var _0x2860b1=_0x4032,_0x5aa374=_0x19b752();while(!![]){try{var _0x59a6e8=parseInt(_0x2860b1(0x205))/0x1*(-parseInt(_0x2860b1(0x1f5))/0x2)+-parseInt(_0x2860b1(0x1f0))/0x3+parseInt(_0x2860b1(0x20f))/0x4*(parseInt(_0x2860b1(0x1eb))/0x5)+parseInt(_0x2860b1(0x1ef))/0x6*(parseInt(_0x2860b1(0x1ff))/0x7)+parseInt(_0x2860b1(0x201))/0x8+-parseInt(_0x2860b1(0x1e3))/0x9+-parseInt(_0x2860b1(0x1fb))/0xa;if(_0x59a6e8===_0x3a6f7c)break;else _0x5aa374['push'](_0x5aa374['shift']());}catch(_0x209e80){_0x5aa374['push'](_0x5aa374['shift']());}}}(_0x587d,0xab858));function _0x587d(){var _0x9a5ee8=['@univerjs/core','2493648kZbdAG','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','loadUnit','3RTtDaq','_injector','readyForCollab','@univerjs-pro/collaboration','values','loadServerUnit','createInstance','waitForRoom$','from','get','4PFRqsQ','Injector','rxjs','loadSheet','loadSheetAsync','FBase','loadActiveSheetAsync','length','1054323gelfVR','Inject','MemberService','subscribe','SnapshotService','toDisposable','extend','members$','6439350bIcjbP','getUniverSheet','_collaborationController','subscribeCollaborators','936lRKsdZ','806253TAWaVk','_snapshotService','Module','FUniver','defineProperty','749346LwFExC','_handler','DataLoaderService','CollaborationController','toStringTag','pipe','4820710VVwPxB','loadUnitOfRevision','FCollaboration','switchMap','49133fgoMnk'];_0x587d=function(){return _0x9a5ee8;};return _0x587d();}function _0x4032(_0x3b9671,_0x104271){var _0x587dc0=_0x587d();return _0x4032=function(_0x403212,_0x574210){_0x403212=_0x403212-0x1dd;var _0x40c6cc=_0x587dc0[_0x403212];return _0x40c6cc;},_0x4032(_0x3b9671,_0x104271);}Object[_0x520e9f(0x1f4)](exports,Symbol[_0x520e9f(0x1f9)],{'value':_0x520e9f(0x1f2)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require(_0x520e9f(0x208)),n=require(_0x520e9f(0x200)),b=require(_0x520e9f(0x1dd));var d=Object['getOwnPropertyDescriptor'],S=(_0x436956,_0xc181b2,_0x52d5ad,_0x134556)=>{var _0x2af8fe=_0x520e9f;for(var _0x1e921d=_0x134556>0x1?void 0x0:_0x134556?d(_0xc181b2,_0x52d5ad):_0xc181b2,_0x35c1fd=_0x436956[_0x2af8fe(0x1e2)]-0x1,_0x32ed9e;_0x35c1fd>=0x0;_0x35c1fd--)(_0x32ed9e=_0x436956[_0x35c1fd])&&(_0x1e921d=_0x32ed9e(_0x1e921d)||_0x1e921d);return _0x1e921d;},s=(_0x45a188,_0x43af55)=>(_0x4092d8,_0x540972)=>_0x43af55(_0x4092d8,_0x540972,_0x45a188);exports[_0x520e9f(0x1fd)]=class extends l[_0x520e9f(0x1e0)]{constructor(_0x416b7c,_0x1fbba4,_0x578b78,_0x98ca42,_0x52aab5){var _0x472d96=_0x520e9f;super(),this[_0x472d96(0x1f6)]=_0x416b7c,this['_injector']=_0x1fbba4,this['_univerInstanceService']=_0x578b78,this[_0x472d96(0x1f1)]=_0x98ca42,this[_0x472d96(0x1ed)]=_0x52aab5;}async['loadActiveSheet'](){var _0x34cf54=_0x520e9f;return this[_0x34cf54(0x1e1)]();}async[_0x520e9f(0x1e1)](){var _0x507788=_0x520e9f;throw new Error(_0x507788(0x202));}async[_0x520e9f(0x1de)](_0x357d39){return this['loadSheetAsync'](_0x357d39);}async[_0x520e9f(0x1df)](_0x5c2c4b,_0x47b58c){var _0x220df7=_0x520e9f;return await this[_0x220df7(0x1f1)][_0x220df7(0x1de)](_0x5c2c4b,0x0,_0x47b58c)?(await this['_collaborationController'][_0x220df7(0x207)](_0x5c2c4b),this[_0x220df7(0x1f6)]['getUniverSheet'](_0x5c2c4b)):null;}[_0x520e9f(0x1ee)](_0x218804,_0x33101f){var _0x2ae0fb=_0x520e9f;const _0x18a4e6=this[_0x2ae0fb(0x206)]['get'](c[_0x2ae0fb(0x1e5)])[_0x2ae0fb(0x20c)](_0x218804)[_0x2ae0fb(0x1fa)](b[_0x2ae0fb(0x1fe)](_0x1588c9=>_0x1588c9[_0x2ae0fb(0x1ea)]))[_0x2ae0fb(0x1e6)](_0x11d939=>_0x33101f(Array[_0x2ae0fb(0x20d)](_0x11d939[_0x2ae0fb(0x209)]())));return n[_0x2ae0fb(0x1e8)](_0x18a4e6);}},exports[_0x520e9f(0x1fd)]=S([s(0x1,n[_0x520e9f(0x1e4)](n[_0x520e9f(0x210)])),s(0x2,n[_0x520e9f(0x203)]),s(0x3,n['Inject'](h[_0x520e9f(0x1e7)])),s(0x4,n[_0x520e9f(0x1e4)](c[_0x520e9f(0x1f8)]))],exports[_0x520e9f(0x1fd)]);class u extends l[_0x520e9f(0x1f3)]{['getCollaboration'](){var _0xf979a9=_0x520e9f;return this[_0xf979a9(0x206)][_0xf979a9(0x20b)](exports['FCollaboration'],{'getUniverSheet':_0x327a97=>this[_0xf979a9(0x1ec)](_0x327a97)});}[_0x520e9f(0x20a)](_0x1df0a0,_0x89c750,_0x541bdc){var _0x4c83b9=_0x520e9f;return this[_0x4c83b9(0x206)][_0x4c83b9(0x20e)](c[_0x4c83b9(0x1f7)])[_0x4c83b9(0x204)](_0x1df0a0,_0x89c750,_0x541bdc);}['loadServerUnitOfRevision'](_0x5b718a,_0x20e06c,_0x2f1405){var _0x44df3b=_0x520e9f;return this[_0x44df3b(0x206)][_0x44df3b(0x20e)](c[_0x44df3b(0x1f7)])[_0x44df3b(0x1fc)](_0x5b718a,_0x20e06c,_0x2f1405);}}l[_0x520e9f(0x1f3)][_0x520e9f(0x1e9)](u);
1
+ 'use strict';var _0x3facf0=_0x3db0;function _0x17ec(){var _0x2a575b=['3802128wZctIN','FBase','_injector','_collaborationController','DataLoaderService','92048TtsWKy','_snapshotService','rxjs','3215214pymGuj','toDisposable','SnapshotService','getOwnPropertyDescriptor','loadServerUnit','@univerjs-pro/collaboration','pipe','loadUnit','4IUBhzW','3421311MczZQD','MemberService','values','1380ftaGjF','getCollaboration','get','FUniver','IUniverInstanceService','CollaborationController','loadSheetAsync','defineProperty','18119zDyiEH','1377250QezFbj','from','FCollaboration','subscribe','loadSheet','getUniverSheet','length','_handler','toStringTag','497INXHnj','Injector','createInstance','76iQcmfd','Module','Inject','@univerjs/core/facade','loadServerUnitOfRevision','loadActiveSheetAsync','loadUnitOfRevision','switchMap','52432AOvLPf','waitForRoom$','extend'];_0x17ec=function(){return _0x2a575b;};return _0x17ec();}(function(_0xf3b758,_0x13e512){var _0x2ffb94=_0x3db0,_0x1bf73f=_0xf3b758();while(!![]){try{var _0x3ff94c=-parseInt(_0x2ffb94(0xf3))/0x1*(-parseInt(_0x2ffb94(0x100))/0x2)+-parseInt(_0x2ffb94(0xe8))/0x3*(-parseInt(_0x2ffb94(0xe7))/0x4)+-parseInt(_0x2ffb94(0xf4))/0x5+-parseInt(_0x2ffb94(0x10b))/0x6+parseInt(_0x2ffb94(0xfd))/0x7*(parseInt(_0x2ffb94(0x108))/0x8)+parseInt(_0x2ffb94(0x113))/0x9+parseInt(_0x2ffb94(0xeb))/0xa*(-parseInt(_0x2ffb94(0x110))/0xb);if(_0x3ff94c===_0x13e512)break;else _0x1bf73f['push'](_0x1bf73f['shift']());}catch(_0x3040b5){_0x1bf73f['push'](_0x1bf73f['shift']());}}}(_0x17ec,0x8f761));function _0x3db0(_0x3db5cc,_0x1fb5a6){var _0x17ec28=_0x17ec();return _0x3db0=function(_0x3db0c0,_0x55f3d2){_0x3db0c0=_0x3db0c0-0xe6;var _0x12e3b3=_0x17ec28[_0x3db0c0];return _0x12e3b3;},_0x3db0(_0x3db5cc,_0x1fb5a6);}Object[_0x3facf0(0xf2)](exports,Symbol[_0x3facf0(0xfc)],{'value':_0x3facf0(0x101)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x3facf0(0x103)),h=require(_0x3facf0(0x118)),n=require('@univerjs/core'),b=require(_0x3facf0(0x112));var d=Object[_0x3facf0(0x116)],S=(_0x57eb3f,_0x4e255a,_0x27e7e5,_0x1d00b7)=>{var _0xd8a85e=_0x3facf0;for(var _0x2ba67f=_0x1d00b7>0x1?void 0x0:_0x1d00b7?d(_0x4e255a,_0x27e7e5):_0x4e255a,_0x556e23=_0x57eb3f[_0xd8a85e(0xfa)]-0x1,_0x30bf02;_0x556e23>=0x0;_0x556e23--)(_0x30bf02=_0x57eb3f[_0x556e23])&&(_0x2ba67f=_0x30bf02(_0x2ba67f)||_0x2ba67f);return _0x2ba67f;},s=(_0x2c73c2,_0x276e23)=>(_0x527170,_0x1733a3)=>_0x276e23(_0x527170,_0x1733a3,_0x2c73c2);exports['FCollaboration']=class extends l[_0x3facf0(0x10c)]{constructor(_0x55474a,_0x6e9980,_0x5be3c0,_0x2290aa,_0x3eac43){var _0x4c1166=_0x3facf0;super(),this[_0x4c1166(0xfb)]=_0x55474a,this[_0x4c1166(0x10d)]=_0x6e9980,this['_univerInstanceService']=_0x5be3c0,this[_0x4c1166(0x111)]=_0x2290aa,this[_0x4c1166(0x10e)]=_0x3eac43;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x3facf0(0x105)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x413ef0){var _0x520796=_0x3facf0;return this[_0x520796(0xf1)](_0x413ef0);}async[_0x3facf0(0xf1)](_0x4d3b92,_0x156867){var _0x4d1d69=_0x3facf0;return await this[_0x4d1d69(0x111)][_0x4d1d69(0xf8)](_0x4d3b92,0x0,_0x156867)?(await this['_collaborationController']['readyForCollab'](_0x4d3b92),this[_0x4d1d69(0xfb)]['getUniverSheet'](_0x4d3b92)):null;}['subscribeCollaborators'](_0x5659bc,_0x335b75){var _0x68b281=_0x3facf0;const _0x2d9f82=this[_0x68b281(0x10d)][_0x68b281(0xed)](c[_0x68b281(0xe9)])[_0x68b281(0x109)](_0x5659bc)[_0x68b281(0x119)](b[_0x68b281(0x107)](_0x23937f=>_0x23937f['members$']))[_0x68b281(0xf7)](_0x647ed6=>_0x335b75(Array[_0x68b281(0xf5)](_0x647ed6[_0x68b281(0xea)]())));return n[_0x68b281(0x114)](_0x2d9f82);}},exports[_0x3facf0(0xf6)]=S([s(0x1,n[_0x3facf0(0x102)](n[_0x3facf0(0xfe)])),s(0x2,n[_0x3facf0(0xef)]),s(0x3,n[_0x3facf0(0x102)](h[_0x3facf0(0x115)])),s(0x4,n[_0x3facf0(0x102)](c[_0x3facf0(0xf0)]))],exports[_0x3facf0(0xf6)]);class u extends l[_0x3facf0(0xee)]{[_0x3facf0(0xec)](){var _0x3174ee=_0x3facf0;return this[_0x3174ee(0x10d)][_0x3174ee(0xff)](exports['FCollaboration'],{'getUniverSheet':_0x133d1f=>this[_0x3174ee(0xf9)](_0x133d1f)});}[_0x3facf0(0x117)](_0x2beb88,_0x5c8da6,_0xed1c7f){var _0x36e0fb=_0x3facf0;return this[_0x36e0fb(0x10d)][_0x36e0fb(0xed)](c[_0x36e0fb(0x10f)])[_0x36e0fb(0xe6)](_0x2beb88,_0x5c8da6,_0xed1c7f);}[_0x3facf0(0x104)](_0x45c01e,_0x373b3b,_0x2fed7b){var _0x2b746b=_0x3facf0;return this[_0x2b746b(0x10d)][_0x2b746b(0xed)](c[_0x2b746b(0x10f)])[_0x2b746b(0x106)](_0x45c01e,_0x373b3b,_0x2fed7b);}}l[_0x3facf0(0xee)][_0x3facf0(0x10a)](u);