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

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 _0x1fb9c3=_0x57c5;(function(_0x59c877,_0x51ef94){var _0x5b9876=_0x57c5,_0x4fdcad=_0x59c877();while(!![]){try{var _0x31c35a=parseInt(_0x5b9876(0xf7))/0x1*(-parseInt(_0x5b9876(0x111))/0x2)+-parseInt(_0x5b9876(0xfd))/0x3+-parseInt(_0x5b9876(0xf9))/0x4+-parseInt(_0x5b9876(0xf2))/0x5*(-parseInt(_0x5b9876(0x109))/0x6)+-parseInt(_0x5b9876(0xfb))/0x7+parseInt(_0x5b9876(0xf8))/0x8+parseInt(_0x5b9876(0xef))/0x9;if(_0x31c35a===_0x51ef94)break;else _0x4fdcad['push'](_0x4fdcad['shift']());}catch(_0x380afe){_0x4fdcad['push'](_0x4fdcad['shift']());}}}(_0x4d43,0xac7ec));function _0x4d43(){var _0x4a5e62=['11238sraUef','IUniverInstanceService','rxjs','_univerInstanceService','_injector','defineProperty','getOwnPropertyDescriptor','getUnit','32sVCnUo','Module','FCollaboration','waitForRoom$','switchMap','pipe','toDisposable','Inject','16528518Fzzsxq','CollaborationController','FUniver','3155zepZDr','@univerjs-pro/collaboration-client','_collaborationController','from','MemberService','61348iafiuh','6166584UbAqnd','1579140QigweV','loadSheet','2553061UJOYxz','getCollaboration','4024716OVNYUD','readyForCollab','loadActiveSheet','subscribeCollaborators','extend','getUniverSheet','_snapshotService','_handler','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','createInstance','Injector'];_0x4d43=function(){return _0x4a5e62;};return _0x4d43();}Object[_0x1fb9c3(0x10e)](exports,Symbol['toStringTag'],{'value':_0x1fb9c3(0xe8)});const t=require('@univerjs/core'),b=require('@univerjs-pro/collaboration'),c=require(_0x1fb9c3(0xf3)),v=require(_0x1fb9c3(0x10b));function _0x57c5(_0x1abd74,_0x32dad5){var _0x4d439e=_0x4d43();return _0x57c5=function(_0x57c5f3,_0x4ceadd){_0x57c5f3=_0x57c5f3-0xe8;var _0x11c7ba=_0x4d439e[_0x57c5f3];return _0x11c7ba;},_0x57c5(_0x1abd74,_0x32dad5);}var h=Object[_0x1fb9c3(0x10e)],u=Object[_0x1fb9c3(0x10f)],_=(_0xa90be3,_0x3cfdde,_0x58bc8d,_0x321def)=>{for(var _0x40cde3=_0x321def>0x1?void 0x0:_0x321def?u(_0x3cfdde,_0x58bc8d):_0x3cfdde,_0x50f834=_0xa90be3['length']-0x1,_0x12cb71;_0x50f834>=0x0;_0x50f834--)(_0x12cb71=_0xa90be3[_0x50f834])&&(_0x40cde3=(_0x321def?_0x12cb71(_0x3cfdde,_0x58bc8d,_0x40cde3):_0x12cb71(_0x40cde3))||_0x40cde3);return _0x321def&&_0x40cde3&&h(_0x3cfdde,_0x58bc8d,_0x40cde3),_0x40cde3;},s=(_0x14d542,_0x475c27)=>(_0x1c240a,_0x399a9e)=>_0x475c27(_0x1c240a,_0x399a9e,_0x14d542);exports['FCollaboration']=class extends t['FBase']{constructor(_0x3d057d,_0x1d3f91,_0x4b47f1,_0x1d1afd,_0x1d1977){var _0x19bd02=_0x1fb9c3;super(),this[_0x19bd02(0x104)]=_0x3d057d,this[_0x19bd02(0x10d)]=_0x1d3f91,this[_0x19bd02(0x10c)]=_0x4b47f1,this[_0x19bd02(0x103)]=_0x1d1afd,this['_collaborationController']=_0x1d1977;}async[_0x1fb9c3(0xff)](){var _0x729065=_0x1fb9c3;throw new Error(_0x729065(0x105));}async[_0x1fb9c3(0xfa)](_0x3fa816){var _0x2c2ce9=_0x1fb9c3;return this[_0x2c2ce9(0x10c)][_0x2c2ce9(0x110)](_0x3fa816,t['UniverInstanceType']['UNIVER_SHEET'])||await this[_0x2c2ce9(0x103)][_0x2c2ce9(0xfa)](_0x3fa816,0x0)?(await this[_0x2c2ce9(0xf4)][_0x2c2ce9(0xfe)](_0x3fa816),this['_handler'][_0x2c2ce9(0x102)](_0x3fa816)):null;}[_0x1fb9c3(0x100)](_0x259dec,_0x2a549f){var _0x2e4120=_0x1fb9c3;const _0x50a685=this[_0x2e4120(0x10d)]['get'](c[_0x2e4120(0xf6)])[_0x2e4120(0xea)](_0x259dec)[_0x2e4120(0xec)](v[_0x2e4120(0xeb)](_0x261082=>_0x261082['members$']))['subscribe'](_0x3d4a53=>_0x2a549f(Array[_0x2e4120(0xf5)](_0x3d4a53['values']())));return t[_0x2e4120(0xed)](_0x50a685);}},exports[_0x1fb9c3(0xe9)]=_([s(0x1,t[_0x1fb9c3(0xee)](t[_0x1fb9c3(0x108)])),s(0x2,t[_0x1fb9c3(0x10a)]),s(0x3,t[_0x1fb9c3(0xee)](b[_0x1fb9c3(0x106)])),s(0x4,t[_0x1fb9c3(0xee)](c[_0x1fb9c3(0xf0)]))],exports[_0x1fb9c3(0xe9)]);class S extends t[_0x1fb9c3(0xf1)]{[_0x1fb9c3(0xfc)](){var _0x33b000=_0x1fb9c3;return this['_injector'][_0x33b000(0x107)](exports[_0x33b000(0xe9)],{'getUniverSheet':_0x3eb724=>this['getUniverSheet'](_0x3eb724)});}}t[_0x1fb9c3(0xf1)][_0x1fb9c3(0x101)](S);
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);