@univerjs-pro/collaboration-client 0.5.3-experimental.20250106-e3b7a39 → 0.5.3-experimental.20250106-4af1f4e

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';function _0x29e6(_0x5cb682,_0x341f8d){var _0x3762cd=_0x3762();return _0x29e6=function(_0x29e6ae,_0x314f54){_0x29e6ae=_0x29e6ae-0x1b8;var _0x1526bd=_0x3762cd[_0x29e6ae];return _0x1526bd;},_0x29e6(_0x5cb682,_0x341f8d);}var _0x15c4ab=_0x29e6;(function(_0x29ad2e,_0x2d3108){var _0x22fe3d=_0x29e6,_0x5e9d55=_0x29ad2e();while(!![]){try{var _0x43976f=parseInt(_0x22fe3d(0x1d7))/0x1+-parseInt(_0x22fe3d(0x1bb))/0x2+parseInt(_0x22fe3d(0x1da))/0x3+-parseInt(_0x22fe3d(0x1c9))/0x4*(parseInt(_0x22fe3d(0x1b8))/0x5)+-parseInt(_0x22fe3d(0x1d9))/0x6*(parseInt(_0x22fe3d(0x1cb))/0x7)+-parseInt(_0x22fe3d(0x1bf))/0x8+parseInt(_0x22fe3d(0x1df))/0x9;if(_0x43976f===_0x2d3108)break;else _0x5e9d55['push'](_0x5e9d55['shift']());}catch(_0x33b4f6){_0x5e9d55['push'](_0x5e9d55['shift']());}}}(_0x3762,0x2f95e));Object['defineProperty'](exports,Symbol[_0x15c4ab(0x1c3)],{'value':_0x15c4ab(0x1c5)});const t=require(_0x15c4ab(0x1c8)),b=require(_0x15c4ab(0x1c1)),c=require(_0x15c4ab(0x1c7)),v=require(_0x15c4ab(0x1e1));function _0x3762(){var _0x52319d=['283921BuDMNV','_univerInstanceService','3522ZzcYFR','73647FbaUJj','get','FUniver','extend','getCollaboration','6259833gUTZtz','subscribe','rxjs','FCollaboration','getOwnPropertyDescriptor','5fqczTI','readyForCollab','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','351142IthYJS','UNIVER_SHEET','_handler','pipe','2508320VTCipP','toDisposable','@univerjs-pro/collaboration','Injector','toStringTag','loadActiveSheet','Module','createInstance','@univerjs-pro/collaboration-client','@univerjs/core','488668ADoJgR','_injector','2359YZtstK','from','getUnit','CollaborationController','defineProperty','SnapshotService','MemberService','_collaborationController','FBase','getUniverSheet','loadSheet','members$'];_0x3762=function(){return _0x52319d;};return _0x3762();}var h=Object[_0x15c4ab(0x1cf)],u=Object[_0x15c4ab(0x1e3)],_=(_0x161ed8,_0x5d7aa8,_0x3e875a,_0x2cb141)=>{for(var _0xd8b1cb=_0x2cb141>0x1?void 0x0:_0x2cb141?u(_0x5d7aa8,_0x3e875a):_0x5d7aa8,_0x500f18=_0x161ed8['length']-0x1,_0x2e6d1f;_0x500f18>=0x0;_0x500f18--)(_0x2e6d1f=_0x161ed8[_0x500f18])&&(_0xd8b1cb=(_0x2cb141?_0x2e6d1f(_0x5d7aa8,_0x3e875a,_0xd8b1cb):_0x2e6d1f(_0xd8b1cb))||_0xd8b1cb);return _0x2cb141&&_0xd8b1cb&&h(_0x5d7aa8,_0x3e875a,_0xd8b1cb),_0xd8b1cb;},s=(_0x585899,_0x18b9b2)=>(_0x1cea6e,_0x18e0ff)=>_0x18b9b2(_0x1cea6e,_0x18e0ff,_0x585899);exports[_0x15c4ab(0x1e2)]=class extends t[_0x15c4ab(0x1d3)]{constructor(_0x4ff016,_0x22ffde,_0x55e157,_0xb6172c,_0x2600b8){var _0x159ebb=_0x15c4ab;super(),this[_0x159ebb(0x1bd)]=_0x4ff016,this[_0x159ebb(0x1ca)]=_0x22ffde,this[_0x159ebb(0x1d8)]=_0x55e157,this['_snapshotService']=_0xb6172c,this['_collaborationController']=_0x2600b8;}async[_0x15c4ab(0x1c4)](){var _0x1f4ada=_0x15c4ab;throw new Error(_0x1f4ada(0x1ba));}async[_0x15c4ab(0x1d5)](_0x33baf0){var _0x41c9c9=_0x15c4ab;return this[_0x41c9c9(0x1d8)][_0x41c9c9(0x1cd)](_0x33baf0,t['UniverInstanceType'][_0x41c9c9(0x1bc)])||await this['_snapshotService'][_0x41c9c9(0x1d5)](_0x33baf0,0x0)?(await this[_0x41c9c9(0x1d2)][_0x41c9c9(0x1b9)](_0x33baf0),this[_0x41c9c9(0x1bd)][_0x41c9c9(0x1d4)](_0x33baf0)):null;}['subscribeCollaborators'](_0x18051b,_0x541bff){var _0x4cbb42=_0x15c4ab;const _0x440d9b=this[_0x4cbb42(0x1ca)][_0x4cbb42(0x1db)](c[_0x4cbb42(0x1d1)])['waitForRoom$'](_0x18051b)[_0x4cbb42(0x1be)](v['switchMap'](_0x5b44bf=>_0x5b44bf[_0x4cbb42(0x1d6)]))[_0x4cbb42(0x1e0)](_0x3753d3=>_0x541bff(Array[_0x4cbb42(0x1cc)](_0x3753d3['values']())));return t[_0x4cbb42(0x1c0)](_0x440d9b);}},exports[_0x15c4ab(0x1e2)]=_([s(0x1,t['Inject'](t[_0x15c4ab(0x1c2)])),s(0x2,t['IUniverInstanceService']),s(0x3,t['Inject'](b[_0x15c4ab(0x1d0)])),s(0x4,t['Inject'](c[_0x15c4ab(0x1ce)]))],exports['FCollaboration']);class S extends t[_0x15c4ab(0x1dc)]{[_0x15c4ab(0x1de)](){var _0xeeb087=_0x15c4ab;return this[_0xeeb087(0x1ca)][_0xeeb087(0x1c6)](exports[_0xeeb087(0x1e2)],{'getUniverSheet':_0x25c3b0=>this['getUniverSheet'](_0x25c3b0)});}}t[_0x15c4ab(0x1dc)][_0x15c4ab(0x1dd)](S);
1
+ 'use strict';var _0x335e44=_0x22cf;(function(_0x166598,_0x2bb288){var _0x548670=_0x22cf,_0x583c17=_0x166598();while(!![]){try{var _0x3bf71d=-parseInt(_0x548670(0x88))/0x1*(parseInt(_0x548670(0x70))/0x2)+-parseInt(_0x548670(0x87))/0x3*(-parseInt(_0x548670(0x96))/0x4)+-parseInt(_0x548670(0x7b))/0x5*(-parseInt(_0x548670(0x7a))/0x6)+-parseInt(_0x548670(0x75))/0x7*(parseInt(_0x548670(0x8d))/0x8)+parseInt(_0x548670(0x6a))/0x9*(-parseInt(_0x548670(0x77))/0xa)+-parseInt(_0x548670(0x7f))/0xb*(-parseInt(_0x548670(0x85))/0xc)+parseInt(_0x548670(0x74))/0xd*(-parseInt(_0x548670(0x84))/0xe);if(_0x3bf71d===_0x2bb288)break;else _0x583c17['push'](_0x583c17['shift']());}catch(_0xac12bb){_0x583c17['push'](_0x583c17['shift']());}}}(_0x1e72,0x87695));function _0x1e72(){var _0x6df0a7=['getOwnPropertyDescriptor','waitForRoom$','88PUEzoH','9XPBZLr','Injector','getUniverSheet','@univerjs/core','SnapshotService','loadActiveSheet','342584YPHHnQ','switchMap','FCollaboration','length','13DbLDwP','7504Nryjoh','_handler','5509250ApdACk','readyForCollab','_snapshotService','6bWhnRf','3954785PTOQuq','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','11797027fhDVqB','pipe','toStringTag','subscribeCollaborators','getCollaboration','11069268NKvjZE','12Dzoxjz','MemberService','108087NIkizm','1yqDiOJ','Inject','Module','members$','_univerInstanceService','4392kCktDj','FUniver','UNIVER_SHEET','createInstance','defineProperty','from','subscribe'];_0x1e72=function(){return _0x6df0a7;};return _0x1e72();}function _0x22cf(_0x19f9b6,_0x4cb880){var _0x1e7252=_0x1e72();return _0x22cf=function(_0x22cfa7,_0x152a7e){_0x22cfa7=_0x22cfa7-0x6a;var _0x5c25ea=_0x1e7252[_0x22cfa7];return _0x5c25ea;},_0x22cf(_0x19f9b6,_0x4cb880);}Object[_0x335e44(0x91)](exports,Symbol[_0x335e44(0x81)],{'value':_0x335e44(0x8a)});const t=require(_0x335e44(0x6d)),b=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');var h=Object[_0x335e44(0x91)],u=Object[_0x335e44(0x94)],_=(_0x5178de,_0x250d87,_0x24d9c2,_0x2c86cc)=>{var _0xa8955f=_0x335e44;for(var _0x341f13=_0x2c86cc>0x1?void 0x0:_0x2c86cc?u(_0x250d87,_0x24d9c2):_0x250d87,_0x2b01a0=_0x5178de[_0xa8955f(0x73)]-0x1,_0x14b052;_0x2b01a0>=0x0;_0x2b01a0--)(_0x14b052=_0x5178de[_0x2b01a0])&&(_0x341f13=(_0x2c86cc?_0x14b052(_0x250d87,_0x24d9c2,_0x341f13):_0x14b052(_0x341f13))||_0x341f13);return _0x2c86cc&&_0x341f13&&h(_0x250d87,_0x24d9c2,_0x341f13),_0x341f13;},s=(_0x271484,_0x252ee2)=>(_0x48578f,_0x439b99)=>_0x252ee2(_0x48578f,_0x439b99,_0x271484);exports[_0x335e44(0x72)]=class extends t['FBase']{constructor(_0x10c4bf,_0xf91248,_0x431e10,_0x22d9d7,_0x2fbd11){var _0xc69169=_0x335e44;super(),this[_0xc69169(0x76)]=_0x10c4bf,this[_0xc69169(0x7c)]=_0xf91248,this['_univerInstanceService']=_0x431e10,this['_snapshotService']=_0x22d9d7,this['_collaborationController']=_0x2fbd11;}async[_0x335e44(0x6f)](){var _0x121af8=_0x335e44;throw new Error(_0x121af8(0x7d));}async['loadSheet'](_0x3042d2){var _0x51c035=_0x335e44;return this[_0x51c035(0x8c)]['getUnit'](_0x3042d2,t['UniverInstanceType'][_0x51c035(0x8f)])||await this[_0x51c035(0x79)]['loadSheet'](_0x3042d2,0x0)?(await this['_collaborationController'][_0x51c035(0x78)](_0x3042d2),this[_0x51c035(0x76)][_0x51c035(0x6c)](_0x3042d2)):null;}[_0x335e44(0x82)](_0x628c7a,_0x404c55){var _0x4b14cf=_0x335e44;const _0x5aaad0=this[_0x4b14cf(0x7c)]['get'](c[_0x4b14cf(0x86)])[_0x4b14cf(0x95)](_0x628c7a)[_0x4b14cf(0x80)](v[_0x4b14cf(0x71)](_0x233656=>_0x233656[_0x4b14cf(0x8b)]))[_0x4b14cf(0x93)](_0x4f9c2b=>_0x404c55(Array[_0x4b14cf(0x92)](_0x4f9c2b['values']())));return t['toDisposable'](_0x5aaad0);}},exports[_0x335e44(0x72)]=_([s(0x1,t['Inject'](t[_0x335e44(0x6b)])),s(0x2,t['IUniverInstanceService']),s(0x3,t[_0x335e44(0x89)](b[_0x335e44(0x6e)])),s(0x4,t[_0x335e44(0x89)](c['CollaborationController']))],exports[_0x335e44(0x72)]);class S extends t[_0x335e44(0x8e)]{[_0x335e44(0x83)](){var _0x1471c0=_0x335e44;return this['_injector'][_0x1471c0(0x90)](exports['FCollaboration'],{'getUniverSheet':_0x3708cb=>this['getUniverSheet'](_0x3708cb)});}}t[_0x335e44(0x8e)][_0x335e44(0x7e)](S);