@univerjs-pro/collaboration-client 0.5.4-nightly.202501160949 → 0.5.4-nightly.202501161606

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 _0x2ed896=_0x3101;(function(_0x48cb0a,_0x3d874c){var _0x521344=_0x3101,_0x35bb13=_0x48cb0a();while(!![]){try{var _0x220257=-parseInt(_0x521344(0xb6))/0x1*(parseInt(_0x521344(0xbd))/0x2)+-parseInt(_0x521344(0xc5))/0x3*(parseInt(_0x521344(0xa2))/0x4)+parseInt(_0x521344(0xac))/0x5+-parseInt(_0x521344(0xaf))/0x6*(parseInt(_0x521344(0xc2))/0x7)+parseInt(_0x521344(0x9e))/0x8*(parseInt(_0x521344(0xad))/0x9)+-parseInt(_0x521344(0xc7))/0xa*(parseInt(_0x521344(0xa3))/0xb)+parseInt(_0x521344(0xb9))/0xc*(parseInt(_0x521344(0xa6))/0xd);if(_0x220257===_0x3d874c)break;else _0x35bb13['push'](_0x35bb13['shift']());}catch(_0x573bfe){_0x35bb13['push'](_0x35bb13['shift']());}}}(_0x5e36,0xbcf9b));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x2ed896(0xb4)});const o=require('@univerjs/core'),h=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),b=require('rxjs');function _0x3101(_0x249112,_0x15ef16){var _0x5e36ea=_0x5e36();return _0x3101=function(_0x310158,_0x5aebe5){_0x310158=_0x310158-0x9e;var _0x172259=_0x5e36ea[_0x310158];return _0x172259;},_0x3101(_0x249112,_0x15ef16);}var v=Object['defineProperty'],u=Object[_0x2ed896(0xb5)],S=(_0x465cc2,_0x48728d,_0x40bcc2,_0x258ca2)=>{var _0x10449f=_0x2ed896;for(var _0x5ebbc1=_0x258ca2>0x1?void 0x0:_0x258ca2?u(_0x48728d,_0x40bcc2):_0x48728d,_0x38f091=_0x465cc2[_0x10449f(0xa7)]-0x1,_0x378fd2;_0x38f091>=0x0;_0x38f091--)(_0x378fd2=_0x465cc2[_0x38f091])&&(_0x5ebbc1=(_0x258ca2?_0x378fd2(_0x48728d,_0x40bcc2,_0x5ebbc1):_0x378fd2(_0x5ebbc1))||_0x5ebbc1);return _0x258ca2&&_0x5ebbc1&&v(_0x48728d,_0x40bcc2,_0x5ebbc1),_0x5ebbc1;},s=(_0x121fdf,_0x1db000)=>(_0x37601f,_0x263ae8)=>_0x1db000(_0x37601f,_0x263ae8,_0x121fdf);exports['FCollaboration']=class extends o['FBase']{constructor(_0xf58697,_0x22da25,_0x5a0255,_0x578295,_0x299817){var _0x2daf27=_0x2ed896;super(),this['_handler']=_0xf58697,this['_injector']=_0x22da25,this[_0x2daf27(0x9f)]=_0x5a0255,this[_0x2daf27(0xb1)]=_0x578295,this[_0x2daf27(0xba)]=_0x299817;}async[_0x2ed896(0xc0)](){return this['loadActiveSheetAsync']();}async[_0x2ed896(0xc9)](){var _0x3942e8=_0x2ed896;throw new Error(_0x3942e8(0xa9));}async[_0x2ed896(0xae)](_0x5aff12){var _0x72bb22=_0x2ed896;return this[_0x72bb22(0xa0)](_0x5aff12);}async[_0x2ed896(0xa0)](_0x138a1f){var _0x1c8efb=_0x2ed896;return this[_0x1c8efb(0x9f)][_0x1c8efb(0xc8)](_0x138a1f,o['UniverInstanceType'][_0x1c8efb(0xb0)])||await this[_0x1c8efb(0xb1)][_0x1c8efb(0xae)](_0x138a1f,0x0)?(await this['_collaborationController'][_0x1c8efb(0xb8)](_0x138a1f),this[_0x1c8efb(0xc4)][_0x1c8efb(0xbf)](_0x138a1f)):null;}[_0x2ed896(0xc3)](_0x1221f4,_0x1f23ec){var _0x455a53=_0x2ed896;const _0x2d5e92=this[_0x455a53(0xa4)]['get'](c[_0x455a53(0xa1)])['waitForRoom$'](_0x1221f4)[_0x455a53(0xbc)](b['switchMap'](_0x490be7=>_0x490be7[_0x455a53(0xc6)]))[_0x455a53(0xb3)](_0x45361d=>_0x1f23ec(Array[_0x455a53(0xaa)](_0x45361d[_0x455a53(0xb2)]())));return o['toDisposable'](_0x2d5e92);}},exports[_0x2ed896(0xbe)]=S([s(0x1,o[_0x2ed896(0xab)](o[_0x2ed896(0xa5)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x2ed896(0xab)](h['SnapshotService'])),s(0x4,o[_0x2ed896(0xab)](c['CollaborationController']))],exports['FCollaboration']);function _0x5e36(){var _0x36e0b7=['MemberService','22984tznylW','437569dUTujG','_injector','Injector','13qgneut','length','extend','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','from','Inject','3493850ATCaWC','36ArPKfN','loadSheet','5572794dXIvUY','UNIVER_SHEET','_snapshotService','values','subscribe','Module','getOwnPropertyDescriptor','1ASnCXb','createInstance','readyForCollab','35689872FEJUJy','_collaborationController','FUniver','pipe','2925116qaULog','FCollaboration','getUniverSheet','loadActiveSheet','getCollaboration','7dolgWd','subscribeCollaborators','_handler','456IjSOkD','members$','140QUbWzd','getUnit','loadActiveSheetAsync','1845544qFDPvn','_univerInstanceService','loadSheetAsync'];_0x5e36=function(){return _0x36e0b7;};return _0x5e36();}class _ extends o['FUniver']{[_0x2ed896(0xc1)](){var _0x2b9c50=_0x2ed896;return this['_injector'][_0x2b9c50(0xb7)](exports[_0x2b9c50(0xbe)],{'getUniverSheet':_0x4bf42a=>this[_0x2b9c50(0xbf)](_0x4bf42a)});}}o[_0x2ed896(0xbb)][_0x2ed896(0xa8)](_);
1
+ 'use strict';var _0x46423c=_0x264e;(function(_0x3df21a,_0x45f4cf){var _0x337a43=_0x264e,_0xd7be39=_0x3df21a();while(!![]){try{var _0x56736e=parseInt(_0x337a43(0x9f))/0x1+-parseInt(_0x337a43(0x7f))/0x2*(parseInt(_0x337a43(0x84))/0x3)+-parseInt(_0x337a43(0x9c))/0x4*(parseInt(_0x337a43(0x7e))/0x5)+-parseInt(_0x337a43(0xa0))/0x6+parseInt(_0x337a43(0x8c))/0x7+parseInt(_0x337a43(0x92))/0x8+parseInt(_0x337a43(0x93))/0x9*(parseInt(_0x337a43(0x82))/0xa);if(_0x56736e===_0x45f4cf)break;else _0xd7be39['push'](_0xd7be39['shift']());}catch(_0x3f743e){_0xd7be39['push'](_0xd7be39['shift']());}}}(_0x58b8,0x5210f));function _0x264e(_0x488db4,_0xf13fa5){var _0x58b813=_0x58b8();return _0x264e=function(_0x264eca,_0x3b01d4){_0x264eca=_0x264eca-0x7a;var _0x433674=_0x58b813[_0x264eca];return _0x433674;},_0x264e(_0x488db4,_0xf13fa5);}Object[_0x46423c(0x7d)](exports,Symbol[_0x46423c(0x7b)],{'value':_0x46423c(0xa4)});function _0x58b8(){var _0x34cb25=['switchMap','SnapshotService','FUniver','@univerjs-pro/collaboration-client','Inject','21464gfiFMv','@univerjs/core','_handler','157935XlDtlM','805884ykVHRa','subscribeCollaborators','loadSheet','_univerInstanceService','Module','IUniverInstanceService','waitForRoom$','toStringTag','_collaborationController','defineProperty','265kqZRgW','78UlVJUH','_injector','createInstance','35570qHybBB','FCollaboration','32166iNsRHh','loadSheetAsync','getCollaboration','getUniverSheet','length','pipe','values','FBase','734006WvuKqP','loadActiveSheetAsync','loadActiveSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_snapshotService','MemberService','253128tgVfkk','2223kdjxMG','get','members$','Injector'];_0x58b8=function(){return _0x34cb25;};return _0x58b8();}const o=require(_0x46423c(0x9d)),h=require('@univerjs-pro/collaboration'),c=require(_0x46423c(0x9a)),b=require('rxjs');var v=Object[_0x46423c(0x7d)],u=Object['getOwnPropertyDescriptor'],S=(_0x38efaa,_0x30f880,_0x5e3997,_0x579796)=>{var _0x17a350=_0x46423c;for(var _0x5a4301=_0x579796>0x1?void 0x0:_0x579796?u(_0x30f880,_0x5e3997):_0x30f880,_0x4a9102=_0x38efaa[_0x17a350(0x88)]-0x1,_0x36ba9d;_0x4a9102>=0x0;_0x4a9102--)(_0x36ba9d=_0x38efaa[_0x4a9102])&&(_0x5a4301=(_0x579796?_0x36ba9d(_0x30f880,_0x5e3997,_0x5a4301):_0x36ba9d(_0x5a4301))||_0x5a4301);return _0x579796&&_0x5a4301&&v(_0x30f880,_0x5e3997,_0x5a4301),_0x5a4301;},s=(_0x34ebc3,_0x31df22)=>(_0x35268f,_0x49de2a)=>_0x31df22(_0x35268f,_0x49de2a,_0x34ebc3);exports[_0x46423c(0x83)]=class extends o[_0x46423c(0x8b)]{constructor(_0x4625b0,_0x22c775,_0x24d290,_0x1e8fc6,_0x3ea070){var _0x4c422d=_0x46423c;super(),this[_0x4c422d(0x9e)]=_0x4625b0,this[_0x4c422d(0x80)]=_0x22c775,this[_0x4c422d(0xa3)]=_0x24d290,this[_0x4c422d(0x90)]=_0x1e8fc6,this[_0x4c422d(0x7c)]=_0x3ea070;}async[_0x46423c(0x8e)](){return this['loadActiveSheetAsync']();}async[_0x46423c(0x8d)](){var _0x2ee9cd=_0x46423c;throw new Error(_0x2ee9cd(0x8f));}async['loadSheet'](_0x5e49b5){return this['loadSheetAsync'](_0x5e49b5);}async[_0x46423c(0x85)](_0x34651a){var _0x1014f7=_0x46423c;return this[_0x1014f7(0xa3)]['getUnit'](_0x34651a,o['UniverInstanceType']['UNIVER_SHEET'])||await this['_snapshotService'][_0x1014f7(0xa2)](_0x34651a,0x0)?(await this[_0x1014f7(0x7c)]['readyForCollab'](_0x34651a),this[_0x1014f7(0x9e)][_0x1014f7(0x87)](_0x34651a)):null;}[_0x46423c(0xa1)](_0x5e107b,_0x188d57){var _0x4914c2=_0x46423c;const _0x3d7d55=this[_0x4914c2(0x80)][_0x4914c2(0x94)](c[_0x4914c2(0x91)])[_0x4914c2(0x7a)](_0x5e107b)[_0x4914c2(0x89)](b[_0x4914c2(0x97)](_0x3c07d8=>_0x3c07d8[_0x4914c2(0x95)]))['subscribe'](_0x184fe1=>_0x188d57(Array['from'](_0x184fe1[_0x4914c2(0x8a)]())));return o['toDisposable'](_0x3d7d55);}},exports[_0x46423c(0x83)]=S([s(0x1,o['Inject'](o[_0x46423c(0x96)])),s(0x2,o[_0x46423c(0xa5)]),s(0x3,o[_0x46423c(0x9b)](h[_0x46423c(0x98)])),s(0x4,o[_0x46423c(0x9b)](c['CollaborationController']))],exports['FCollaboration']);class _ extends o[_0x46423c(0x99)]{[_0x46423c(0x86)](){var _0x4d7a51=_0x46423c;return this[_0x4d7a51(0x80)][_0x4d7a51(0x81)](exports['FCollaboration'],{'getUniverSheet':_0x4f3690=>this['getUniverSheet'](_0x4f3690)});}}o[_0x46423c(0x99)]['extend'](_);