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

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 _0x4a6aa6=_0x1975;(function(_0x5821c2,_0x3f9717){var _0x3458cf=_0x1975,_0x20fd9d=_0x5821c2();while(!![]){try{var _0x2f6c2e=parseInt(_0x3458cf(0x103))/0x1+parseInt(_0x3458cf(0x102))/0x2*(-parseInt(_0x3458cf(0x127))/0x3)+parseInt(_0x3458cf(0x115))/0x4*(parseInt(_0x3458cf(0x112))/0x5)+-parseInt(_0x3458cf(0x121))/0x6*(-parseInt(_0x3458cf(0x120))/0x7)+parseInt(_0x3458cf(0x106))/0x8+parseInt(_0x3458cf(0x116))/0x9+-parseInt(_0x3458cf(0x119))/0xa;if(_0x2f6c2e===_0x3f9717)break;else _0x20fd9d['push'](_0x20fd9d['shift']());}catch(_0x2ae8cb){_0x20fd9d['push'](_0x20fd9d['shift']());}}}(_0x3500,0x99af1));function _0x1975(_0x184138,_0x1c059a){var _0x3500d6=_0x3500();return _0x1975=function(_0x197598,_0x159e2e){_0x197598=_0x197598-0xff;var _0x1ec18b=_0x3500d6[_0x197598];return _0x1ec18b;},_0x1975(_0x184138,_0x1c059a);}Object[_0x4a6aa6(0x111)](exports,Symbol[_0x4a6aa6(0x11e)],{'value':_0x4a6aa6(0x125)});const o=require(_0x4a6aa6(0x12b)),h=require(_0x4a6aa6(0x122)),c=require(_0x4a6aa6(0x11d)),b=require(_0x4a6aa6(0x129));var v=Object[_0x4a6aa6(0x111)],u=Object[_0x4a6aa6(0x10f)],S=(_0x5aa9ed,_0x1ab8c1,_0x3f8702,_0x1577c6)=>{var _0x336595=_0x4a6aa6;for(var _0x1b4bd3=_0x1577c6>0x1?void 0x0:_0x1577c6?u(_0x1ab8c1,_0x3f8702):_0x1ab8c1,_0x215727=_0x5aa9ed[_0x336595(0x108)]-0x1,_0x2715c1;_0x215727>=0x0;_0x215727--)(_0x2715c1=_0x5aa9ed[_0x215727])&&(_0x1b4bd3=(_0x1577c6?_0x2715c1(_0x1ab8c1,_0x3f8702,_0x1b4bd3):_0x2715c1(_0x1b4bd3))||_0x1b4bd3);return _0x1577c6&&_0x1b4bd3&&v(_0x1ab8c1,_0x3f8702,_0x1b4bd3),_0x1b4bd3;},s=(_0x4d58e1,_0x197d02)=>(_0x3cff82,_0x47c5a8)=>_0x197d02(_0x3cff82,_0x47c5a8,_0x4d58e1);exports['FCollaboration']=class extends o[_0x4a6aa6(0x107)]{constructor(_0x59ec50,_0x5a3ffc,_0x3d0aec,_0x346ad0,_0x5ecf6e){var _0x782cbe=_0x4a6aa6;super(),this['_handler']=_0x59ec50,this[_0x782cbe(0x12c)]=_0x5a3ffc,this[_0x782cbe(0x124)]=_0x3d0aec,this[_0x782cbe(0x126)]=_0x346ad0,this[_0x782cbe(0x117)]=_0x5ecf6e;}async[_0x4a6aa6(0x11b)](){return this['loadActiveSheetAsync']();}async[_0x4a6aa6(0x101)](){var _0x4ada4b=_0x4a6aa6;throw new Error(_0x4ada4b(0x10a));}async[_0x4a6aa6(0x10c)](_0x58f042){return this['loadSheetAsync'](_0x58f042);}async[_0x4a6aa6(0x100)](_0x3f7787){var _0x2f5128=_0x4a6aa6;return this[_0x2f5128(0x124)][_0x2f5128(0x12a)](_0x3f7787,o[_0x2f5128(0x104)][_0x2f5128(0x123)])||await this[_0x2f5128(0x126)][_0x2f5128(0x10c)](_0x3f7787,0x0)?(await this[_0x2f5128(0x117)]['readyForCollab'](_0x3f7787),this[_0x2f5128(0x11c)][_0x2f5128(0x114)](_0x3f7787)):null;}[_0x4a6aa6(0x118)](_0x51ca7e,_0x5731){var _0x4b8e86=_0x4a6aa6;const _0x1f4554=this[_0x4b8e86(0x12c)]['get'](c['MemberService'])['waitForRoom$'](_0x51ca7e)['pipe'](b['switchMap'](_0x40e8f3=>_0x40e8f3[_0x4b8e86(0x10d)]))[_0x4b8e86(0x109)](_0x57328f=>_0x5731(Array[_0x4b8e86(0x11a)](_0x57328f[_0x4b8e86(0x128)]())));return o['toDisposable'](_0x1f4554);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x4a6aa6(0x110)])),s(0x4,o[_0x4a6aa6(0x11f)](c[_0x4a6aa6(0x105)]))],exports[_0x4a6aa6(0xff)]);class _ extends o['FUniver']{[_0x4a6aa6(0x10b)](){var _0x36a7ba=_0x4a6aa6;return this[_0x36a7ba(0x12c)][_0x36a7ba(0x113)](exports['FCollaboration'],{'getUniverSheet':_0x42c6c7=>this[_0x36a7ba(0x114)](_0x42c6c7)});}}o[_0x4a6aa6(0x10e)]['extend'](_);function _0x3500(){var _0x195c9d=['members$','FUniver','getOwnPropertyDescriptor','SnapshotService','defineProperty','5elGKMS','createInstance','getUniverSheet','1393624ErjtBA','5604291iggUlU','_collaborationController','subscribeCollaborators','22157900mLXZcp','from','loadActiveSheet','_handler','@univerjs-pro/collaboration-client','toStringTag','Inject','10857MibBeW','4326pVTnmZ','@univerjs-pro/collaboration','UNIVER_SHEET','_univerInstanceService','Module','_snapshotService','935835WNUsWV','values','rxjs','getUnit','@univerjs/core','_injector','FCollaboration','loadSheetAsync','loadActiveSheetAsync','4eHoASh','873046nBgSOi','UniverInstanceType','CollaborationController','4053976ukptlY','FBase','length','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getCollaboration','loadSheet'];_0x3500=function(){return _0x195c9d;};return _0x3500();}