@univerjs-pro/collaboration-client 0.6.0-nightly.202502041606 → 0.6.0-nightly.202502051606

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 _0x495d85=_0x5b3b;(function(_0x1b1ae3,_0x5ca9b2){var _0x471f4b=_0x5b3b,_0x595d45=_0x1b1ae3();while(!![]){try{var _0x12b194=-parseInt(_0x471f4b(0x1bb))/0x1+parseInt(_0x471f4b(0x1b1))/0x2*(-parseInt(_0x471f4b(0x1d0))/0x3)+-parseInt(_0x471f4b(0x1d7))/0x4*(-parseInt(_0x471f4b(0x1c3))/0x5)+parseInt(_0x471f4b(0x1bf))/0x6+-parseInt(_0x471f4b(0x1d1))/0x7+parseInt(_0x471f4b(0x1d3))/0x8+parseInt(_0x471f4b(0x1c5))/0x9;if(_0x12b194===_0x5ca9b2)break;else _0x595d45['push'](_0x595d45['shift']());}catch(_0x59b64f){_0x595d45['push'](_0x595d45['shift']());}}}(_0x57b1,0xe0e01));function _0x57b1(){var _0x30cf98=['907122xnsRPE','Inject','getOwnPropertyDescriptor','get','90XwYnSP','MemberService','11114280phFiQj','extend','FCollaboration','length','_snapshotService','_handler','defineProperty','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUnit','members$','_univerInstanceService','88635WAHuqf','9920078RBgztx','loadActiveSheetAsync','3084376roIpYG','getUniverSheet','@univerjs-pro/collaboration','switchMap','402540mVNFQe','_injector','Module','toStringTag','CollaborationController','pipe','from','IUniverInstanceService','rxjs','Injector','loadSheetAsync','74nPwiDN','FUniver','subscribeCollaborators','FBase','waitForRoom$','values','UNIVER_SHEET','toDisposable','createInstance','UniverInstanceType','151676JdkyCa','_collaborationController','loadSheet','subscribe'];_0x57b1=function(){return _0x30cf98;};return _0x57b1();}Object[_0x495d85(0x1cb)](exports,Symbol[_0x495d85(0x1da)],{'value':_0x495d85(0x1d9)});const o=require('@univerjs/core'),h=require(_0x495d85(0x1d5)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x495d85(0x1ae));var v=Object[_0x495d85(0x1cb)],u=Object[_0x495d85(0x1c1)],S=(_0x216ddf,_0x588181,_0x531d8d,_0x1b1ddd)=>{var _0x5e7582=_0x495d85;for(var _0x5767b6=_0x1b1ddd>0x1?void 0x0:_0x1b1ddd?u(_0x588181,_0x531d8d):_0x588181,_0x63f627=_0x216ddf[_0x5e7582(0x1c8)]-0x1,_0x415d7e;_0x63f627>=0x0;_0x63f627--)(_0x415d7e=_0x216ddf[_0x63f627])&&(_0x5767b6=(_0x1b1ddd?_0x415d7e(_0x588181,_0x531d8d,_0x5767b6):_0x415d7e(_0x5767b6))||_0x5767b6);return _0x1b1ddd&&_0x5767b6&&v(_0x588181,_0x531d8d,_0x5767b6),_0x5767b6;},s=(_0x3173b6,_0x58a8cf)=>(_0xdfa7d9,_0x33c2e2)=>_0x58a8cf(_0xdfa7d9,_0x33c2e2,_0x3173b6);function _0x5b3b(_0x33b5f2,_0x26175a){var _0x57b15a=_0x57b1();return _0x5b3b=function(_0x5b3b0f,_0x313ba7){_0x5b3b0f=_0x5b3b0f-0x1ab;var _0x3bc1fd=_0x57b15a[_0x5b3b0f];return _0x3bc1fd;},_0x5b3b(_0x33b5f2,_0x26175a);}exports[_0x495d85(0x1c7)]=class extends o[_0x495d85(0x1b4)]{constructor(_0x3c57fd,_0x26318f,_0x401e51,_0x23ca9b,_0x104697){var _0x152fdc=_0x495d85;super(),this[_0x152fdc(0x1ca)]=_0x3c57fd,this[_0x152fdc(0x1d8)]=_0x26318f,this[_0x152fdc(0x1cf)]=_0x401e51,this[_0x152fdc(0x1c9)]=_0x23ca9b,this[_0x152fdc(0x1bc)]=_0x104697;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x495d85(0x1d2)](){var _0xa493de=_0x495d85;throw new Error(_0xa493de(0x1cc));}async[_0x495d85(0x1bd)](_0x18079c){var _0x5a5335=_0x495d85;return this[_0x5a5335(0x1b0)](_0x18079c);}async[_0x495d85(0x1b0)](_0x431bca){var _0x39ad7d=_0x495d85;return this[_0x39ad7d(0x1cf)][_0x39ad7d(0x1cd)](_0x431bca,o[_0x39ad7d(0x1ba)][_0x39ad7d(0x1b7)])||await this[_0x39ad7d(0x1c9)][_0x39ad7d(0x1bd)](_0x431bca,0x0)?(await this[_0x39ad7d(0x1bc)]['readyForCollab'](_0x431bca),this['_handler'][_0x39ad7d(0x1d4)](_0x431bca)):null;}[_0x495d85(0x1b3)](_0x24f7ff,_0x3656ee){var _0x1cfedf=_0x495d85;const _0x549637=this[_0x1cfedf(0x1d8)][_0x1cfedf(0x1c2)](c[_0x1cfedf(0x1c4)])[_0x1cfedf(0x1b5)](_0x24f7ff)[_0x1cfedf(0x1ab)](b[_0x1cfedf(0x1d6)](_0x11f4b2=>_0x11f4b2[_0x1cfedf(0x1ce)]))[_0x1cfedf(0x1be)](_0x130eea=>_0x3656ee(Array[_0x1cfedf(0x1ac)](_0x130eea[_0x1cfedf(0x1b6)]())));return o[_0x1cfedf(0x1b8)](_0x549637);}},exports[_0x495d85(0x1c7)]=S([s(0x1,o[_0x495d85(0x1c0)](o[_0x495d85(0x1af)])),s(0x2,o[_0x495d85(0x1ad)]),s(0x3,o['Inject'](h['SnapshotService'])),s(0x4,o[_0x495d85(0x1c0)](c[_0x495d85(0x1db)]))],exports[_0x495d85(0x1c7)]);class _ extends o[_0x495d85(0x1b2)]{['getCollaboration'](){var _0x1fc79d=_0x495d85;return this['_injector'][_0x1fc79d(0x1b9)](exports[_0x1fc79d(0x1c7)],{'getUniverSheet':_0x27891c=>this[_0x1fc79d(0x1d4)](_0x27891c)});}}o[_0x495d85(0x1b2)][_0x495d85(0x1c6)](_);
1
+ 'use strict';function _0x5923(){var _0x5a2557=['119hfsxnC','@univerjs-pro/collaboration-client','FUniver','_univerInstanceService','Inject','CollaborationController','@univerjs/core','from','_injector','toDisposable','_snapshotService','extend','134982pIgHXX','subscribeCollaborators','Module','pipe','getUniverSheet','FCollaboration','getOwnPropertyDescriptor','switchMap','4139rTVzvH','waitForRoom$','defineProperty','length','MemberService','get','4005620APhRtF','_handler','38afwCvM','createInstance','130794DDQzJB','loadSheetAsync','10408IMBtef','5170912TKwPAl','readyForCollab','SnapshotService','3450230cVAhyJ','loadActiveSheetAsync','IUniverInstanceService','_collaborationController','loadSheet','members$','UNIVER_SHEET','756dSKYQs'];_0x5923=function(){return _0x5a2557;};return _0x5923();}var _0x5a6958=_0x307c;(function(_0x431e2c,_0xe099c5){var _0x1bb7fe=_0x307c,_0x6b323a=_0x431e2c();while(!![]){try{var _0x54b353=-parseInt(_0x1bb7fe(0xdf))/0x1*(parseInt(_0x1bb7fe(0xbb))/0x2)+-parseInt(_0x1bb7fe(0xca))/0x3*(-parseInt(_0x1bb7fe(0xbf))/0x4)+-parseInt(_0x1bb7fe(0xc3))/0x5+-parseInt(_0x1bb7fe(0xbd))/0x6*(parseInt(_0x1bb7fe(0xcb))/0x7)+parseInt(_0x1bb7fe(0xc0))/0x8+parseInt(_0x1bb7fe(0xd7))/0x9+parseInt(_0x1bb7fe(0xb9))/0xa;if(_0x54b353===_0xe099c5)break;else _0x6b323a['push'](_0x6b323a['shift']());}catch(_0x4edebe){_0x6b323a['push'](_0x6b323a['shift']());}}}(_0x5923,0x8d336));Object[_0x5a6958(0xb5)](exports,Symbol['toStringTag'],{'value':_0x5a6958(0xd9)});const o=require(_0x5a6958(0xd1)),h=require('@univerjs-pro/collaboration'),c=require(_0x5a6958(0xcc)),b=require('rxjs');var v=Object[_0x5a6958(0xb5)],u=Object[_0x5a6958(0xdd)],S=(_0x5d9acf,_0x477032,_0x4cb0dd,_0x52cd58)=>{var _0x3f3662=_0x5a6958;for(var _0x88678e=_0x52cd58>0x1?void 0x0:_0x52cd58?u(_0x477032,_0x4cb0dd):_0x477032,_0x1575cc=_0x5d9acf[_0x3f3662(0xb6)]-0x1,_0xf4f075;_0x1575cc>=0x0;_0x1575cc--)(_0xf4f075=_0x5d9acf[_0x1575cc])&&(_0x88678e=(_0x52cd58?_0xf4f075(_0x477032,_0x4cb0dd,_0x88678e):_0xf4f075(_0x88678e))||_0x88678e);return _0x52cd58&&_0x88678e&&v(_0x477032,_0x4cb0dd,_0x88678e),_0x88678e;},s=(_0x4c9abf,_0x35ebfc)=>(_0x28d5b5,_0x362de9)=>_0x35ebfc(_0x28d5b5,_0x362de9,_0x4c9abf);exports[_0x5a6958(0xdc)]=class extends o['FBase']{constructor(_0x59b292,_0x5064e,_0x382004,_0x3d9e44,_0xd61541){var _0x4860e0=_0x5a6958;super(),this['_handler']=_0x59b292,this['_injector']=_0x5064e,this[_0x4860e0(0xce)]=_0x382004,this[_0x4860e0(0xd5)]=_0x3d9e44,this[_0x4860e0(0xc6)]=_0xd61541;}async['loadActiveSheet'](){var _0x22d922=_0x5a6958;return this[_0x22d922(0xc4)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x5a6958(0xc7)](_0x4f0ff0){var _0x30f74c=_0x5a6958;return this[_0x30f74c(0xbe)](_0x4f0ff0);}async[_0x5a6958(0xbe)](_0x211d66){var _0x179a74=_0x5a6958;return this[_0x179a74(0xce)]['getUnit'](_0x211d66,o['UniverInstanceType'][_0x179a74(0xc9)])||await this[_0x179a74(0xd5)][_0x179a74(0xc7)](_0x211d66,0x0)?(await this[_0x179a74(0xc6)][_0x179a74(0xc1)](_0x211d66),this[_0x179a74(0xba)][_0x179a74(0xdb)](_0x211d66)):null;}[_0x5a6958(0xd8)](_0x4f01ed,_0x35d166){var _0x2836df=_0x5a6958;const _0x5da06a=this['_injector'][_0x2836df(0xb8)](c[_0x2836df(0xb7)])[_0x2836df(0xb4)](_0x4f01ed)[_0x2836df(0xda)](b[_0x2836df(0xde)](_0x238512=>_0x238512[_0x2836df(0xc8)]))['subscribe'](_0x496a76=>_0x35d166(Array[_0x2836df(0xd2)](_0x496a76['values']())));return o[_0x2836df(0xd4)](_0x5da06a);}},exports[_0x5a6958(0xdc)]=S([s(0x1,o[_0x5a6958(0xcf)](o['Injector'])),s(0x2,o[_0x5a6958(0xc5)]),s(0x3,o[_0x5a6958(0xcf)](h[_0x5a6958(0xc2)])),s(0x4,o[_0x5a6958(0xcf)](c[_0x5a6958(0xd0)]))],exports[_0x5a6958(0xdc)]);class _ extends o['FUniver']{['getCollaboration'](){var _0x524e2f=_0x5a6958;return this[_0x524e2f(0xd3)][_0x524e2f(0xbc)](exports[_0x524e2f(0xdc)],{'getUniverSheet':_0x278462=>this['getUniverSheet'](_0x278462)});}}function _0x307c(_0x3c68a9,_0x4dce80){var _0x5923c0=_0x5923();return _0x307c=function(_0x307ca0,_0x522e3b){_0x307ca0=_0x307ca0-0xb4;var _0x2e197f=_0x5923c0[_0x307ca0];return _0x2e197f;},_0x307c(_0x3c68a9,_0x4dce80);}o[_0x5a6958(0xcd)][_0x5a6958(0xd6)](_);