@univerjs-pro/collaboration-client 0.6.2 → 0.6.3-nightly.202503051607

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 _0x3aaee1=_0x3ede;(function(_0xc41fd2,_0x37f0df){var _0x4b25ca=_0x3ede,_0xf34d8d=_0xc41fd2();while(!![]){try{var _0x2141b9=-parseInt(_0x4b25ca(0x1dd))/0x1*(parseInt(_0x4b25ca(0x1cf))/0x2)+parseInt(_0x4b25ca(0x1bd))/0x3*(parseInt(_0x4b25ca(0x1df))/0x4)+-parseInt(_0x4b25ca(0x1bf))/0x5+-parseInt(_0x4b25ca(0x1b4))/0x6+-parseInt(_0x4b25ca(0x1c5))/0x7*(parseInt(_0x4b25ca(0x1da))/0x8)+-parseInt(_0x4b25ca(0x1d2))/0x9+-parseInt(_0x4b25ca(0x1ca))/0xa*(-parseInt(_0x4b25ca(0x1c3))/0xb);if(_0x2141b9===_0x37f0df)break;else _0xf34d8d['push'](_0xf34d8d['shift']());}catch(_0x517a79){_0xf34d8d['push'](_0xf34d8d['shift']());}}}(_0x5608,0x74b8e));function _0x3ede(_0x41f782,_0x321174){var _0x5608c8=_0x5608();return _0x3ede=function(_0x3ede1c,_0x32624b){_0x3ede1c=_0x3ede1c-0x1b3;var _0x8caffa=_0x5608c8[_0x3ede1c];return _0x8caffa;},_0x3ede(_0x41f782,_0x321174);}function _0x5608(){var _0x365a3d=['1688855lStqxh','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','2319053MuaAHg','loadSheet','9828GBmgOo','Module','getUniverSheet','FCollaboration','_collaborationController','130pWiPCr','defineProperty','_handler','_univerInstanceService','switchMap','2jWAbJo','loadActiveSheetAsync','IUniverInstanceService','6377643UDlyMc','loadSheetAsync','createInstance','@univerjs-pro/collaboration','pipe','FUniver','@univerjs/core','_injector','2488wnHUdq','extend','getCollaboration','765778gltsZQ','toStringTag','1256HAicPv','toDisposable','1378902OtMveG','subscribe','from','FBase','Inject','rxjs','members$','loadActiveSheet','subscribeCollaborators','2064NmmzYA','getOwnPropertyDescriptor'];_0x5608=function(){return _0x365a3d;};return _0x5608();}Object[_0x3aaee1(0x1cb)](exports,Symbol[_0x3aaee1(0x1de)],{'value':_0x3aaee1(0x1c6)});const l=require('@univerjs/core/facade'),b=require(_0x3aaee1(0x1d5)),h=require('@univerjs-pro/collaboration-client'),i=require(_0x3aaee1(0x1d8)),v=require(_0x3aaee1(0x1b9));var u=Object[_0x3aaee1(0x1be)],S=(_0x308621,_0x13b801,_0x3d753b,_0x3c4652)=>{for(var _0xa8c4bf=_0x3c4652>0x1?void 0x0:_0x3c4652?u(_0x13b801,_0x3d753b):_0x13b801,_0x2e25a3=_0x308621['length']-0x1,_0x1668a9;_0x2e25a3>=0x0;_0x2e25a3--)(_0x1668a9=_0x308621[_0x2e25a3])&&(_0xa8c4bf=_0x1668a9(_0xa8c4bf)||_0xa8c4bf);return _0xa8c4bf;},s=(_0x543200,_0x53322e)=>(_0xcef339,_0xaca021)=>_0x53322e(_0xcef339,_0xaca021,_0x543200);exports[_0x3aaee1(0x1c8)]=class extends l[_0x3aaee1(0x1b7)]{constructor(_0x87896e,_0x22473e,_0x14a85a,_0x32f0a9,_0x1c92da){var _0x5a6edb=_0x3aaee1;super(),this['_handler']=_0x87896e,this[_0x5a6edb(0x1d9)]=_0x22473e,this[_0x5a6edb(0x1cd)]=_0x14a85a,this[_0x5a6edb(0x1c0)]=_0x32f0a9,this[_0x5a6edb(0x1c9)]=_0x1c92da;}async[_0x3aaee1(0x1bb)](){var _0x159219=_0x3aaee1;return this[_0x159219(0x1d0)]();}async[_0x3aaee1(0x1d0)](){var _0x376a67=_0x3aaee1;throw new Error(_0x376a67(0x1c1));}async['loadSheet'](_0x5127f3){var _0x562fc0=_0x3aaee1;return this[_0x562fc0(0x1d3)](_0x5127f3);}async[_0x3aaee1(0x1d3)](_0xe2484e,_0x324207){var _0x442c48=_0x3aaee1;return await this[_0x442c48(0x1c0)][_0x442c48(0x1c4)](_0xe2484e,0x0,_0x324207)?(await this[_0x442c48(0x1c9)]['readyForCollab'](_0xe2484e),this[_0x442c48(0x1cc)][_0x442c48(0x1c7)](_0xe2484e)):null;}[_0x3aaee1(0x1bc)](_0x3e9083,_0x51b045){var _0x2a108a=_0x3aaee1;const _0x49829d=this[_0x2a108a(0x1d9)]['get'](h['MemberService'])['waitForRoom$'](_0x3e9083)[_0x2a108a(0x1d6)](v[_0x2a108a(0x1ce)](_0xa05d1=>_0xa05d1[_0x2a108a(0x1ba)]))[_0x2a108a(0x1b5)](_0x2070b3=>_0x51b045(Array[_0x2a108a(0x1b6)](_0x2070b3['values']())));return i[_0x2a108a(0x1b3)](_0x49829d);}},exports[_0x3aaee1(0x1c8)]=S([s(0x1,i[_0x3aaee1(0x1b8)](i['Injector'])),s(0x2,i[_0x3aaee1(0x1d1)]),s(0x3,i[_0x3aaee1(0x1b8)](b[_0x3aaee1(0x1c2)])),s(0x4,i['Inject'](h['CollaborationController']))],exports[_0x3aaee1(0x1c8)]);class d extends l[_0x3aaee1(0x1d7)]{[_0x3aaee1(0x1dc)](){var _0x2f6989=_0x3aaee1;return this[_0x2f6989(0x1d9)][_0x2f6989(0x1d4)](exports[_0x2f6989(0x1c8)],{'getUniverSheet':_0x2e7143=>this['getUniverSheet'](_0x2e7143)});}}l[_0x3aaee1(0x1d7)][_0x3aaee1(0x1db)](d);
1
+ 'use strict';var _0x3713c8=_0x53d6;(function(_0x3671fc,_0x3cf9c3){var _0x2d01b9=_0x53d6,_0x55dc15=_0x3671fc();while(!![]){try{var _0x19f2ac=-parseInt(_0x2d01b9(0x1f4))/0x1+parseInt(_0x2d01b9(0x1e6))/0x2+-parseInt(_0x2d01b9(0x1e9))/0x3+-parseInt(_0x2d01b9(0x1eb))/0x4+parseInt(_0x2d01b9(0x1f0))/0x5+parseInt(_0x2d01b9(0x1de))/0x6*(parseInt(_0x2d01b9(0x1f6))/0x7)+-parseInt(_0x2d01b9(0x1e4))/0x8*(-parseInt(_0x2d01b9(0x1ee))/0x9);if(_0x19f2ac===_0x3cf9c3)break;else _0x55dc15['push'](_0x55dc15['shift']());}catch(_0x44b936){_0x55dc15['push'](_0x55dc15['shift']());}}}(_0x1488,0x1dfef));function _0x1488(){var _0x3fc0ad=['defineProperty','extend','get','members$','40nEksoj','getOwnPropertyDescriptor','285498WyAQvK','loadActiveSheet','IUniverInstanceService','624102dcgGvc','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','874004bmiQOs','from','toDisposable','265887hMjgDZ','toStringTag','1094310xnFCSP','@univerjs/core','FCollaboration','@univerjs/core/facade','74395HLtapI','FBase','801269UAYpRD','loadActiveSheetAsync','getUniverSheet','CollaborationController','loadSheetAsync','switchMap','Injector','@univerjs-pro/collaboration-client','MemberService','@univerjs-pro/collaboration','subscribe','getCollaboration','Inject','values','FUniver','Module','_snapshotService','_univerInstanceService','_handler','rxjs','loadSheet','_injector','6ElBkoC','SnapshotService'];_0x1488=function(){return _0x3fc0ad;};return _0x1488();}function _0x53d6(_0x2c6d14,_0xc0a3bf){var _0x14884d=_0x1488();return _0x53d6=function(_0x53d611,_0x4f6975){_0x53d611=_0x53d611-0x1d7;var _0x3a6a96=_0x14884d[_0x53d611];return _0x3a6a96;},_0x53d6(_0x2c6d14,_0xc0a3bf);}Object[_0x3713c8(0x1e0)](exports,Symbol[_0x3713c8(0x1ef)],{'value':_0x3713c8(0x1d7)});const l=require(_0x3713c8(0x1f3)),b=require(_0x3713c8(0x1ff)),h=require(_0x3713c8(0x1fd)),i=require(_0x3713c8(0x1f1)),v=require(_0x3713c8(0x1db));var u=Object[_0x3713c8(0x1e5)],S=(_0x201ef3,_0x52463c,_0x1aee85,_0x36ef43)=>{for(var _0x7ab69=_0x36ef43>0x1?void 0x0:_0x36ef43?u(_0x52463c,_0x1aee85):_0x52463c,_0x4a4a83=_0x201ef3['length']-0x1,_0x355a96;_0x4a4a83>=0x0;_0x4a4a83--)(_0x355a96=_0x201ef3[_0x4a4a83])&&(_0x7ab69=_0x355a96(_0x7ab69)||_0x7ab69);return _0x7ab69;},s=(_0xdf0483,_0x50c521)=>(_0x5ef259,_0x4f5a82)=>_0x50c521(_0x5ef259,_0x4f5a82,_0xdf0483);exports[_0x3713c8(0x1f2)]=class extends l[_0x3713c8(0x1f5)]{constructor(_0x2e258a,_0x38e4b,_0x4bf46a,_0x11bae0,_0x1a62f1){var _0x1ba3f1=_0x3713c8;super(),this['_handler']=_0x2e258a,this[_0x1ba3f1(0x1dd)]=_0x38e4b,this[_0x1ba3f1(0x1d9)]=_0x4bf46a,this[_0x1ba3f1(0x1d8)]=_0x11bae0,this['_collaborationController']=_0x1a62f1;}async[_0x3713c8(0x1e7)](){var _0x284e6a=_0x3713c8;return this[_0x284e6a(0x1f7)]();}async[_0x3713c8(0x1f7)](){var _0x309a38=_0x3713c8;throw new Error(_0x309a38(0x1ea));}async['loadSheet'](_0x36a0f1){return this['loadSheetAsync'](_0x36a0f1);}async[_0x3713c8(0x1fa)](_0x33f7ac,_0x35133f){var _0x480864=_0x3713c8;return await this['_snapshotService'][_0x480864(0x1dc)](_0x33f7ac,0x0,_0x35133f)?(await this['_collaborationController']['readyForCollab'](_0x33f7ac),this[_0x480864(0x1da)][_0x480864(0x1f8)](_0x33f7ac)):null;}['subscribeCollaborators'](_0x1ab14b,_0x607a2f){var _0x3fd9a4=_0x3713c8;const _0xc6e305=this[_0x3fd9a4(0x1dd)][_0x3fd9a4(0x1e2)](h[_0x3fd9a4(0x1fe)])['waitForRoom$'](_0x1ab14b)['pipe'](v[_0x3fd9a4(0x1fb)](_0xeedce2=>_0xeedce2[_0x3fd9a4(0x1e3)]))[_0x3fd9a4(0x200)](_0xacc15e=>_0x607a2f(Array[_0x3fd9a4(0x1ec)](_0xacc15e[_0x3fd9a4(0x203)]())));return i[_0x3fd9a4(0x1ed)](_0xc6e305);}},exports[_0x3713c8(0x1f2)]=S([s(0x1,i[_0x3713c8(0x202)](i[_0x3713c8(0x1fc)])),s(0x2,i[_0x3713c8(0x1e8)]),s(0x3,i['Inject'](b[_0x3713c8(0x1df)])),s(0x4,i[_0x3713c8(0x202)](h[_0x3713c8(0x1f9)]))],exports[_0x3713c8(0x1f2)]);class d extends l[_0x3713c8(0x204)]{[_0x3713c8(0x201)](){var _0x3ab9d4=_0x3713c8;return this[_0x3ab9d4(0x1dd)]['createInstance'](exports[_0x3ab9d4(0x1f2)],{'getUniverSheet':_0x56bc99=>this[_0x3ab9d4(0x1f8)](_0x56bc99)});}}l[_0x3713c8(0x204)][_0x3713c8(0x1e1)](d);