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

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';var _0x4e8be2=_0x1f07;(function(_0x16ee48,_0x4d79a4){var _0x5c7f07=_0x1f07,_0x42c396=_0x16ee48();while(!![]){try{var _0xcac2ce=parseInt(_0x5c7f07(0xe4))/0x1*(parseInt(_0x5c7f07(0xe9))/0x2)+parseInt(_0x5c7f07(0xe5))/0x3*(parseInt(_0x5c7f07(0xc7))/0x4)+-parseInt(_0x5c7f07(0xd3))/0x5+parseInt(_0x5c7f07(0xea))/0x6*(-parseInt(_0x5c7f07(0xe3))/0x7)+parseInt(_0x5c7f07(0xbf))/0x8+parseInt(_0x5c7f07(0xc4))/0x9+parseInt(_0x5c7f07(0xc3))/0xa;if(_0xcac2ce===_0x4d79a4)break;else _0x42c396['push'](_0x42c396['shift']());}catch(_0x4146e6){_0x42c396['push'](_0x42c396['shift']());}}}(_0x516f,0x6b18e));function _0x1f07(_0x45c1ed,_0x43ddd7){var _0x516f16=_0x516f();return _0x1f07=function(_0x1f074a,_0x103137){_0x1f074a=_0x1f074a-0xbd;var _0x377d17=_0x516f16[_0x1f074a];return _0x377d17;},_0x1f07(_0x45c1ed,_0x43ddd7);}Object['defineProperty'](exports,Symbol[_0x4e8be2(0xd8)],{'value':_0x4e8be2(0xe2)});const t=require(_0x4e8be2(0xca)),b=require(_0x4e8be2(0xdd)),c=require(_0x4e8be2(0xcc)),v=require('rxjs');var h=Object[_0x4e8be2(0xd2)],u=Object[_0x4e8be2(0xbd)],_=(_0x2f3dad,_0xc93ffa,_0x4e4a2e,_0x385cc5)=>{var _0x34ba78=_0x4e8be2;for(var _0x2718b6=_0x385cc5>0x1?void 0x0:_0x385cc5?u(_0xc93ffa,_0x4e4a2e):_0xc93ffa,_0x1928eb=_0x2f3dad[_0x34ba78(0xe8)]-0x1,_0xa52cce;_0x1928eb>=0x0;_0x1928eb--)(_0xa52cce=_0x2f3dad[_0x1928eb])&&(_0x2718b6=(_0x385cc5?_0xa52cce(_0xc93ffa,_0x4e4a2e,_0x2718b6):_0xa52cce(_0x2718b6))||_0x2718b6);return _0x385cc5&&_0x2718b6&&h(_0xc93ffa,_0x4e4a2e,_0x2718b6),_0x2718b6;},s=(_0x498f63,_0x9c0708)=>(_0x41de67,_0x4a40c5)=>_0x9c0708(_0x41de67,_0x4a40c5,_0x498f63);function _0x516f(){var _0x543607=['FUniver','@univerjs-pro/collaboration','loadActiveSheet','_collaborationController','waitForRoom$','members$','Module','2618gLXuSH','2838kCSYer','36JXExEb','pipe','get','length','234bGYmsn','13668vGtlHC','getOwnPropertyDescriptor','getUniverSheet','487872tKlHER','IUniverInstanceService','from','SnapshotService','835620PdkMHz','2671803cIcOre','getCollaboration','CollaborationController','264640dBIPdx','UNIVER_SHEET','Injector','@univerjs/core','getUnit','@univerjs-pro/collaboration-client','Inject','FBase','MemberService','FCollaboration','_injector','defineProperty','1383685iiwaku','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','readyForCollab','values','toStringTag','_univerInstanceService','loadSheet','UniverInstanceType'];_0x516f=function(){return _0x543607;};return _0x516f();}exports[_0x4e8be2(0xd0)]=class extends t[_0x4e8be2(0xce)]{constructor(_0x1443b6,_0x1ac7e5,_0x123a96,_0x123c6f,_0x16fea5){var _0x37230b=_0x4e8be2;super(),this['_handler']=_0x1443b6,this[_0x37230b(0xd1)]=_0x1ac7e5,this[_0x37230b(0xd9)]=_0x123a96,this['_snapshotService']=_0x123c6f,this[_0x37230b(0xdf)]=_0x16fea5;}async[_0x4e8be2(0xde)](){var _0xc526e6=_0x4e8be2;throw new Error(_0xc526e6(0xd5));}async[_0x4e8be2(0xda)](_0x3fb83a){var _0x3e4aeb=_0x4e8be2;return this[_0x3e4aeb(0xd9)][_0x3e4aeb(0xcb)](_0x3fb83a,t[_0x3e4aeb(0xdb)][_0x3e4aeb(0xc8)])||await this[_0x3e4aeb(0xd4)][_0x3e4aeb(0xda)](_0x3fb83a,0x0)?(await this[_0x3e4aeb(0xdf)][_0x3e4aeb(0xd6)](_0x3fb83a),this['_handler'][_0x3e4aeb(0xbe)](_0x3fb83a)):null;}['subscribeCollaborators'](_0x40be1d,_0x4bfc19){var _0x39aa02=_0x4e8be2;const _0x1d84f5=this[_0x39aa02(0xd1)][_0x39aa02(0xe7)](c[_0x39aa02(0xcf)])[_0x39aa02(0xe0)](_0x40be1d)[_0x39aa02(0xe6)](v['switchMap'](_0x17c4e9=>_0x17c4e9[_0x39aa02(0xe1)]))['subscribe'](_0x45963e=>_0x4bfc19(Array[_0x39aa02(0xc1)](_0x45963e[_0x39aa02(0xd7)]())));return t['toDisposable'](_0x1d84f5);}},exports[_0x4e8be2(0xd0)]=_([s(0x1,t[_0x4e8be2(0xcd)](t[_0x4e8be2(0xc9)])),s(0x2,t[_0x4e8be2(0xc0)]),s(0x3,t['Inject'](b[_0x4e8be2(0xc2)])),s(0x4,t[_0x4e8be2(0xcd)](c[_0x4e8be2(0xc6)]))],exports[_0x4e8be2(0xd0)]);class S extends t[_0x4e8be2(0xdc)]{[_0x4e8be2(0xc5)](){var _0x2585db=_0x4e8be2;return this[_0x2585db(0xd1)]['createInstance'](exports[_0x2585db(0xd0)],{'getUniverSheet':_0x4ea896=>this[_0x2585db(0xbe)](_0x4ea896)});}}t[_0x4e8be2(0xdc)]['extend'](S);