@univerjs-pro/collaboration-client 0.5.1-nightly.202412211605 → 0.5.1-nightly.202412231606

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 _0x14fa(){var _0x5c0ab0=['@univerjs/core','createInstance','extend','_snapshotService','MemberService','getUniverSheet','getCollaboration','length','CollaborationController','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','values','rxjs','switchMap','9663BGoizn','Injector','getOwnPropertyDescriptor','259hbBuOp','_collaborationController','UniverInstanceType','@univerjs-pro/collaboration','FCollaboration','FBase','6lMKdNc','287905ssvaFE','FUniver','468504oqhjsm','subscribeCollaborators','_univerInstanceService','8CBPSyh','SnapshotService','264100oSiodg','from','_injector','loadSheet','get','loadActiveSheet','760770NREyXz','getUnit','UNIVER_SHEET','Module','_handler','2095749pxMuPC','41874fkLbWk','IUniverInstanceService','Inject','defineProperty','subscribe','pipe'];_0x14fa=function(){return _0x5c0ab0;};return _0x14fa();}var _0x16488e=_0x35f2;(function(_0x24552f,_0xfe269f){var _0x4d6c89=_0x35f2,_0x34413b=_0x24552f();while(!![]){try{var _0x2dcfcc=parseInt(_0x4d6c89(0x1c3))/0x1*(-parseInt(_0x4d6c89(0x1cc))/0x2)+parseInt(_0x4d6c89(0x1da))/0x3+parseInt(_0x4d6c89(0x1d2))/0x4*(-parseInt(_0x4d6c89(0x1cd))/0x5)+-parseInt(_0x4d6c89(0x1e0))/0x6*(parseInt(_0x4d6c89(0x1c6))/0x7)+parseInt(_0x4d6c89(0x1cf))/0x8+parseInt(_0x4d6c89(0x1df))/0x9+parseInt(_0x4d6c89(0x1d4))/0xa;if(_0x2dcfcc===_0xfe269f)break;else _0x34413b['push'](_0x34413b['shift']());}catch(_0x2c4f26){_0x34413b['push'](_0x34413b['shift']());}}}(_0x14fa,0x2945a));Object[_0x16488e(0x1e3)](exports,Symbol['toStringTag'],{'value':_0x16488e(0x1dd)});const t=require(_0x16488e(0x1e6)),b=require(_0x16488e(0x1c9)),c=require('@univerjs-pro/collaboration-client'),v=require(_0x16488e(0x1c1));function _0x35f2(_0xd44df,_0x1a4310){var _0x14fad9=_0x14fa();return _0x35f2=function(_0x35f2b0,_0x2326c6){_0x35f2b0=_0x35f2b0-0x1be;var _0x148595=_0x14fad9[_0x35f2b0];return _0x148595;},_0x35f2(_0xd44df,_0x1a4310);}var h=Object[_0x16488e(0x1e3)],u=Object[_0x16488e(0x1c5)],_=(_0xb58657,_0x3222fe,_0x3a01a0,_0x44cf90)=>{var _0x4f6c28=_0x16488e;for(var _0x41cd43=_0x44cf90>0x1?void 0x0:_0x44cf90?u(_0x3222fe,_0x3a01a0):_0x3222fe,_0x186419=_0xb58657[_0x4f6c28(0x1ed)]-0x1,_0x5150c7;_0x186419>=0x0;_0x186419--)(_0x5150c7=_0xb58657[_0x186419])&&(_0x41cd43=(_0x44cf90?_0x5150c7(_0x3222fe,_0x3a01a0,_0x41cd43):_0x5150c7(_0x41cd43))||_0x41cd43);return _0x44cf90&&_0x41cd43&&h(_0x3222fe,_0x3a01a0,_0x41cd43),_0x41cd43;},s=(_0x5d6ae8,_0x5d66db)=>(_0xbbb0b8,_0x298fa)=>_0x5d66db(_0xbbb0b8,_0x298fa,_0x5d6ae8);exports['FCollaboration']=class extends t[_0x16488e(0x1cb)]{constructor(_0x5c6010,_0x2b6bfe,_0x2a414f,_0x2a43ea,_0x1b5f84){var _0x41850d=_0x16488e;super(),this[_0x41850d(0x1de)]=_0x5c6010,this[_0x41850d(0x1d6)]=_0x2b6bfe,this[_0x41850d(0x1d1)]=_0x2a414f,this['_snapshotService']=_0x2a43ea,this['_collaborationController']=_0x1b5f84;}async[_0x16488e(0x1d9)](){var _0xa793e5=_0x16488e;throw new Error(_0xa793e5(0x1bf));}async[_0x16488e(0x1d7)](_0x160191){var _0xe427b4=_0x16488e;return this[_0xe427b4(0x1d1)][_0xe427b4(0x1db)](_0x160191,t[_0xe427b4(0x1c8)][_0xe427b4(0x1dc)])||await this[_0xe427b4(0x1e9)][_0xe427b4(0x1d7)](_0x160191,0x0)?(await this[_0xe427b4(0x1c7)]['readyForCollab'](_0x160191),this['_handler'][_0xe427b4(0x1eb)](_0x160191)):null;}[_0x16488e(0x1d0)](_0x4e77ff,_0x458ddd){var _0x5c8d54=_0x16488e;const _0x2dd5a8=this[_0x5c8d54(0x1d6)][_0x5c8d54(0x1d8)](c[_0x5c8d54(0x1ea)])['waitForRoom$'](_0x4e77ff)[_0x5c8d54(0x1e5)](v[_0x5c8d54(0x1c2)](_0x18dbfa=>_0x18dbfa['members$']))[_0x5c8d54(0x1e4)](_0x5bf3bb=>_0x458ddd(Array[_0x5c8d54(0x1d5)](_0x5bf3bb[_0x5c8d54(0x1c0)]())));return t[_0x5c8d54(0x1be)](_0x2dd5a8);}},exports['FCollaboration']=_([s(0x1,t[_0x16488e(0x1e2)](t[_0x16488e(0x1c4)])),s(0x2,t[_0x16488e(0x1e1)]),s(0x3,t[_0x16488e(0x1e2)](b[_0x16488e(0x1d3)])),s(0x4,t[_0x16488e(0x1e2)](c[_0x16488e(0x1ee)]))],exports[_0x16488e(0x1ca)]);class S extends t[_0x16488e(0x1ce)]{[_0x16488e(0x1ec)](){var _0x394294=_0x16488e;return this[_0x394294(0x1d6)][_0x394294(0x1e7)](exports['FCollaboration'],{'getUniverSheet':_0x9e620d=>this[_0x394294(0x1eb)](_0x9e620d)});}}t['FUniver'][_0x16488e(0x1e8)](S);
1
+ 'use strict';function _0x3350(_0x4243bf,_0x1b5700){var _0x37eda6=_0x37ed();return _0x3350=function(_0x3350e9,_0x51a384){_0x3350e9=_0x3350e9-0x153;var _0x20a874=_0x37eda6[_0x3350e9];return _0x20a874;},_0x3350(_0x4243bf,_0x1b5700);}var _0x4b421d=_0x3350;(function(_0x4d482a,_0x4d0260){var _0x57cbb3=_0x3350,_0x1e0119=_0x4d482a();while(!![]){try{var _0x194062=parseInt(_0x57cbb3(0x156))/0x1*(-parseInt(_0x57cbb3(0x153))/0x2)+-parseInt(_0x57cbb3(0x177))/0x3+-parseInt(_0x57cbb3(0x160))/0x4*(-parseInt(_0x57cbb3(0x174))/0x5)+parseInt(_0x57cbb3(0x15d))/0x6*(-parseInt(_0x57cbb3(0x16e))/0x7)+parseInt(_0x57cbb3(0x162))/0x8*(parseInt(_0x57cbb3(0x173))/0x9)+parseInt(_0x57cbb3(0x180))/0xa*(-parseInt(_0x57cbb3(0x161))/0xb)+-parseInt(_0x57cbb3(0x172))/0xc*(-parseInt(_0x57cbb3(0x17e))/0xd);if(_0x194062===_0x4d0260)break;else _0x1e0119['push'](_0x1e0119['shift']());}catch(_0x2057db){_0x1e0119['push'](_0x1e0119['shift']());}}}(_0x37ed,0x7449c));Object[_0x4b421d(0x179)](exports,Symbol['toStringTag'],{'value':_0x4b421d(0x16d)});const t=require(_0x4b421d(0x171)),b=require(_0x4b421d(0x176)),c=require('@univerjs-pro/collaboration-client'),v=require(_0x4b421d(0x15c));var h=Object[_0x4b421d(0x179)],u=Object[_0x4b421d(0x15e)],_=(_0x3e7d6e,_0x390004,_0x37f45b,_0x7f6d37)=>{var _0x21ee61=_0x4b421d;for(var _0x4c96c7=_0x7f6d37>0x1?void 0x0:_0x7f6d37?u(_0x390004,_0x37f45b):_0x390004,_0x100b6d=_0x3e7d6e[_0x21ee61(0x15a)]-0x1,_0x9566f3;_0x100b6d>=0x0;_0x100b6d--)(_0x9566f3=_0x3e7d6e[_0x100b6d])&&(_0x4c96c7=(_0x7f6d37?_0x9566f3(_0x390004,_0x37f45b,_0x4c96c7):_0x9566f3(_0x4c96c7))||_0x4c96c7);return _0x7f6d37&&_0x4c96c7&&h(_0x390004,_0x37f45b,_0x4c96c7),_0x4c96c7;},s=(_0x123761,_0x360fca)=>(_0x1eb56c,_0x2fc4b6)=>_0x360fca(_0x1eb56c,_0x2fc4b6,_0x123761);function _0x37ed(){var _0x3b805e=['toDisposable','@univerjs/core','168jgIGiI','9EpDwTk','25ScqOlo','getUniverSheet','@univerjs-pro/collaboration','2843085iDelWa','subscribeCollaborators','defineProperty','SnapshotService','_snapshotService','UniverInstanceType','_injector','1932242nfPQrs','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','422030LRUiow','loadSheet','Inject','readyForCollab','128URvyfd','_handler','CollaborationController','8849UtmwVx','from','_collaborationController','extend','length','values','rxjs','9252UBuGyJ','getOwnPropertyDescriptor','members$','181992qjJBqv','33uZBuKQ','2181856dpjHUd','getCollaboration','FBase','switchMap','pipe','_univerInstanceService','FCollaboration','getUnit','FUniver','loadActiveSheet','IUniverInstanceService','Module','2107CJVpvv','Injector'];_0x37ed=function(){return _0x3b805e;};return _0x37ed();}exports[_0x4b421d(0x168)]=class extends t[_0x4b421d(0x164)]{constructor(_0x2ddcd8,_0x2592fb,_0x8e0fba,_0x31c2d5,_0x51b26f){var _0x143148=_0x4b421d;super(),this[_0x143148(0x154)]=_0x2ddcd8,this[_0x143148(0x17d)]=_0x2592fb,this[_0x143148(0x167)]=_0x8e0fba,this[_0x143148(0x17b)]=_0x31c2d5,this[_0x143148(0x158)]=_0x51b26f;}async[_0x4b421d(0x16b)](){var _0x53bd04=_0x4b421d;throw new Error(_0x53bd04(0x17f));}async[_0x4b421d(0x181)](_0x1ac5eb){var _0x150ab2=_0x4b421d;return this[_0x150ab2(0x167)][_0x150ab2(0x169)](_0x1ac5eb,t[_0x150ab2(0x17c)]['UNIVER_SHEET'])||await this[_0x150ab2(0x17b)][_0x150ab2(0x181)](_0x1ac5eb,0x0)?(await this['_collaborationController'][_0x150ab2(0x183)](_0x1ac5eb),this[_0x150ab2(0x154)][_0x150ab2(0x175)](_0x1ac5eb)):null;}[_0x4b421d(0x178)](_0x273d6f,_0x422cfc){var _0x491b53=_0x4b421d;const _0x3d4e0d=this[_0x491b53(0x17d)]['get'](c['MemberService'])['waitForRoom$'](_0x273d6f)[_0x491b53(0x166)](v[_0x491b53(0x165)](_0x5818da=>_0x5818da[_0x491b53(0x15f)]))['subscribe'](_0x3e3e1e=>_0x422cfc(Array[_0x491b53(0x157)](_0x3e3e1e[_0x491b53(0x15b)]())));return t[_0x491b53(0x170)](_0x3d4e0d);}},exports[_0x4b421d(0x168)]=_([s(0x1,t['Inject'](t[_0x4b421d(0x16f)])),s(0x2,t[_0x4b421d(0x16c)]),s(0x3,t[_0x4b421d(0x182)](b[_0x4b421d(0x17a)])),s(0x4,t[_0x4b421d(0x182)](c[_0x4b421d(0x155)]))],exports[_0x4b421d(0x168)]);class S extends t[_0x4b421d(0x16a)]{[_0x4b421d(0x163)](){var _0x54961d=_0x4b421d;return this[_0x54961d(0x17d)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x191919=>this[_0x54961d(0x175)](_0x191919)});}}t[_0x4b421d(0x16a)][_0x4b421d(0x159)](S);