@univerjs-pro/collaboration-client 0.6.1-nightly.202502241606 → 0.6.1-nightly.202502251606

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 _0x4f7ebc=_0x40ce;(function(_0x438384,_0x142ded){var _0x198dda=_0x40ce,_0x547585=_0x438384();while(!![]){try{var _0x234f02=parseInt(_0x198dda(0xa8))/0x1*(parseInt(_0x198dda(0x99))/0x2)+-parseInt(_0x198dda(0xa0))/0x3*(parseInt(_0x198dda(0xa3))/0x4)+parseInt(_0x198dda(0x87))/0x5+-parseInt(_0x198dda(0x81))/0x6+-parseInt(_0x198dda(0x9d))/0x7*(-parseInt(_0x198dda(0xa4))/0x8)+-parseInt(_0x198dda(0x8f))/0x9+parseInt(_0x198dda(0x94))/0xa*(parseInt(_0x198dda(0x8a))/0xb);if(_0x234f02===_0x142ded)break;else _0x547585['push'](_0x547585['shift']());}catch(_0x4bac60){_0x547585['push'](_0x547585['shift']());}}}(_0x236c,0x8892c));Object[_0x4f7ebc(0x9a)](exports,Symbol[_0x4f7ebc(0x8b)],{'value':_0x4f7ebc(0x9c)});const l=require(_0x4f7ebc(0x7c)),b=require(_0x4f7ebc(0x90)),h=require(_0x4f7ebc(0x84)),i=require(_0x4f7ebc(0x92)),v=require(_0x4f7ebc(0x91));function _0x40ce(_0x3893ac,_0x2f2f8c){var _0x236cd0=_0x236c();return _0x40ce=function(_0x40ced0,_0x1ab81c){_0x40ced0=_0x40ced0-0x79;var _0x535c99=_0x236cd0[_0x40ced0];return _0x535c99;},_0x40ce(_0x3893ac,_0x2f2f8c);}var u=Object['getOwnPropertyDescriptor'],S=(_0x5a5418,_0x2f93cd,_0x317d77,_0x552d3e)=>{for(var _0xb32a0a=_0x552d3e>0x1?void 0x0:_0x552d3e?u(_0x2f93cd,_0x317d77):_0x2f93cd,_0x286312=_0x5a5418['length']-0x1,_0x3b99b7;_0x286312>=0x0;_0x286312--)(_0x3b99b7=_0x5a5418[_0x286312])&&(_0xb32a0a=_0x3b99b7(_0xb32a0a)||_0xb32a0a);return _0xb32a0a;},s=(_0x1fbeae,_0x5e53e8)=>(_0x30ac43,_0x58376a)=>_0x5e53e8(_0x30ac43,_0x58376a,_0x1fbeae);function _0x236c(){var _0x1886d1=['1385985FrHfEz','MemberService','getUniverSheet','474716fEegDO','toStringTag','SnapshotService','FCollaboration','members$','7947081SUiwXH','@univerjs-pro/collaboration','rxjs','@univerjs/core','FUniver','290qCjJIH','createInstance','values','waitForRoom$','loadSheet','24dibOWx','defineProperty','readyForCollab','Module','371CtBxhK','getCollaboration','Injector','27NNMSIM','subscribeCollaborators','_snapshotService','479772mTHVES','75464EDTjSx','_collaborationController','_univerInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','72397idHijd','CollaborationController','IUniverInstanceService','extend','@univerjs/core/facade','toDisposable','loadSheetAsync','loadActiveSheetAsync','_handler','2253204fIfBZB','pipe','subscribe','@univerjs-pro/collaboration-client','Inject','_injector'];_0x236c=function(){return _0x1886d1;};return _0x236c();}exports[_0x4f7ebc(0x8d)]=class extends l['FBase']{constructor(_0x33ea00,_0x320b8f,_0x1c76da,_0x2e42b9,_0x104248){var _0x192507=_0x4f7ebc;super(),this[_0x192507(0x80)]=_0x33ea00,this[_0x192507(0x86)]=_0x320b8f,this[_0x192507(0xa6)]=_0x1c76da,this[_0x192507(0xa2)]=_0x2e42b9,this[_0x192507(0xa5)]=_0x104248;}async['loadActiveSheet'](){var _0x5c761b=_0x4f7ebc;return this[_0x5c761b(0x7f)]();}async['loadActiveSheetAsync'](){var _0x4714f2=_0x4f7ebc;throw new Error(_0x4714f2(0xa7));}async[_0x4f7ebc(0x98)](_0x3c3362){var _0x14e491=_0x4f7ebc;return this[_0x14e491(0x7e)](_0x3c3362);}async['loadSheetAsync'](_0x46de74,_0x3263b0){var _0x4a8ef1=_0x4f7ebc;return await this[_0x4a8ef1(0xa2)][_0x4a8ef1(0x98)](_0x46de74,0x0,_0x3263b0)?(await this[_0x4a8ef1(0xa5)][_0x4a8ef1(0x9b)](_0x46de74),this[_0x4a8ef1(0x80)][_0x4a8ef1(0x89)](_0x46de74)):null;}[_0x4f7ebc(0xa1)](_0x306521,_0x365fd5){var _0x33812c=_0x4f7ebc;const _0x200a7e=this['_injector']['get'](h[_0x33812c(0x88)])[_0x33812c(0x97)](_0x306521)[_0x33812c(0x82)](v['switchMap'](_0x152b08=>_0x152b08[_0x33812c(0x8e)]))[_0x33812c(0x83)](_0x1cf841=>_0x365fd5(Array['from'](_0x1cf841[_0x33812c(0x96)]())));return i[_0x33812c(0x7d)](_0x200a7e);}},exports[_0x4f7ebc(0x8d)]=S([s(0x1,i[_0x4f7ebc(0x85)](i[_0x4f7ebc(0x9f)])),s(0x2,i[_0x4f7ebc(0x7a)]),s(0x3,i[_0x4f7ebc(0x85)](b[_0x4f7ebc(0x8c)])),s(0x4,i[_0x4f7ebc(0x85)](h[_0x4f7ebc(0x79)]))],exports[_0x4f7ebc(0x8d)]);class d extends l[_0x4f7ebc(0x93)]{[_0x4f7ebc(0x9e)](){var _0x318477=_0x4f7ebc;return this['_injector'][_0x318477(0x95)](exports[_0x318477(0x8d)],{'getUniverSheet':_0xcb2bd5=>this[_0x318477(0x89)](_0xcb2bd5)});}}l['FUniver'][_0x4f7ebc(0x7b)](d);
1
+ 'use strict';function _0x4e35(){var _0xb8663e=['length','_snapshotService','readyForCollab','_collaborationController','Inject','get','1458512MITaRS','8466738CkMSNM','@univerjs/core','toStringTag','CollaborationController','loadSheet','Module','getUniverSheet','4689665sEzSYL','pipe','members$','defineProperty','rxjs','_handler','596898GbVCcJ','subscribeCollaborators','_injector','loadSheetAsync','getOwnPropertyDescriptor','@univerjs-pro/collaboration','IUniverInstanceService','extend','waitForRoom$','loadActiveSheetAsync','@univerjs/core/facade','8ProDwf','getCollaboration','917465hlkBoV','subscribe','toDisposable','loadActiveSheet','1382679atfoPg','_univerInstanceService','FCollaboration','values','3806764klUJKA','createInstance'];_0x4e35=function(){return _0xb8663e;};return _0x4e35();}var _0x14bc28=_0x1fb2;(function(_0x3e0e29,_0x299445){var _0x567e07=_0x1fb2,_0x4bddb9=_0x3e0e29();while(!![]){try{var _0x9cd1d2=parseInt(_0x567e07(0x190))/0x1+parseInt(_0x567e07(0x1a0))/0x2+parseInt(_0x567e07(0x194))/0x3+-parseInt(_0x567e07(0x198))/0x4+parseInt(_0x567e07(0x1a8))/0x5+-parseInt(_0x567e07(0x1ae))/0x6+-parseInt(_0x567e07(0x1a1))/0x7*(parseInt(_0x567e07(0x18e))/0x8);if(_0x9cd1d2===_0x299445)break;else _0x4bddb9['push'](_0x4bddb9['shift']());}catch(_0x55d44e){_0x4bddb9['push'](_0x4bddb9['shift']());}}}(_0x4e35,0xbf9c7));Object[_0x14bc28(0x1ab)](exports,Symbol[_0x14bc28(0x1a3)],{'value':_0x14bc28(0x1a6)});const l=require(_0x14bc28(0x1b8)),b=require(_0x14bc28(0x1b3)),h=require('@univerjs-pro/collaboration-client'),i=require(_0x14bc28(0x1a2)),v=require(_0x14bc28(0x1ac));var u=Object[_0x14bc28(0x1b2)],S=(_0x1340ec,_0x4774ed,_0x23aa0f,_0x22bd98)=>{var _0x20d9e6=_0x14bc28;for(var _0x2f0806=_0x22bd98>0x1?void 0x0:_0x22bd98?u(_0x4774ed,_0x23aa0f):_0x4774ed,_0x3f5d24=_0x1340ec[_0x20d9e6(0x19a)]-0x1,_0xbda82d;_0x3f5d24>=0x0;_0x3f5d24--)(_0xbda82d=_0x1340ec[_0x3f5d24])&&(_0x2f0806=_0xbda82d(_0x2f0806)||_0x2f0806);return _0x2f0806;},s=(_0x3fb40f,_0x37e960)=>(_0x1ba219,_0x33d46c)=>_0x37e960(_0x1ba219,_0x33d46c,_0x3fb40f);exports[_0x14bc28(0x196)]=class extends l['FBase']{constructor(_0x38f768,_0x9dbeb2,_0x373e19,_0x1b63f1,_0x34e296){var _0x10acae=_0x14bc28;super(),this[_0x10acae(0x1ad)]=_0x38f768,this[_0x10acae(0x1b0)]=_0x9dbeb2,this[_0x10acae(0x195)]=_0x373e19,this[_0x10acae(0x19b)]=_0x1b63f1,this[_0x10acae(0x19d)]=_0x34e296;}async[_0x14bc28(0x193)](){return this['loadActiveSheetAsync']();}async[_0x14bc28(0x1b7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x14bc28(0x1a5)](_0x26e0df){var _0x535e9d=_0x14bc28;return this[_0x535e9d(0x1b1)](_0x26e0df);}async[_0x14bc28(0x1b1)](_0x255376,_0x22ca31){var _0x5dc45e=_0x14bc28;return await this[_0x5dc45e(0x19b)][_0x5dc45e(0x1a5)](_0x255376,0x0,_0x22ca31)?(await this[_0x5dc45e(0x19d)][_0x5dc45e(0x19c)](_0x255376),this['_handler'][_0x5dc45e(0x1a7)](_0x255376)):null;}[_0x14bc28(0x1af)](_0x539095,_0x7a15c2){var _0x245e6b=_0x14bc28;const _0x1cf628=this[_0x245e6b(0x1b0)][_0x245e6b(0x19f)](h['MemberService'])[_0x245e6b(0x1b6)](_0x539095)[_0x245e6b(0x1a9)](v['switchMap'](_0x2155b7=>_0x2155b7[_0x245e6b(0x1aa)]))[_0x245e6b(0x191)](_0x25f872=>_0x7a15c2(Array['from'](_0x25f872[_0x245e6b(0x197)]())));return i[_0x245e6b(0x192)](_0x1cf628);}},exports['FCollaboration']=S([s(0x1,i[_0x14bc28(0x19e)](i['Injector'])),s(0x2,i[_0x14bc28(0x1b4)]),s(0x3,i[_0x14bc28(0x19e)](b['SnapshotService'])),s(0x4,i[_0x14bc28(0x19e)](h[_0x14bc28(0x1a4)]))],exports[_0x14bc28(0x196)]);class d extends l['FUniver']{[_0x14bc28(0x18f)](){var _0x263a28=_0x14bc28;return this['_injector'][_0x263a28(0x199)](exports[_0x263a28(0x196)],{'getUniverSheet':_0xa6a83=>this['getUniverSheet'](_0xa6a83)});}}function _0x1fb2(_0xd6f7eb,_0x349b69){var _0x4e35c1=_0x4e35();return _0x1fb2=function(_0x1fb237,_0x23bf4a){_0x1fb237=_0x1fb237-0x18e;var _0x3a4133=_0x4e35c1[_0x1fb237];return _0x3a4133;},_0x1fb2(_0xd6f7eb,_0x349b69);}l['FUniver'][_0x14bc28(0x1b5)](d);