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

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 _0x55df(_0x4dbe8e,_0xe3ec3b){var _0x5b660e=_0x5b66();return _0x55df=function(_0x55dfe4,_0x48590f){_0x55dfe4=_0x55dfe4-0xca;var _0x67574c=_0x5b660e[_0x55dfe4];return _0x67574c;},_0x55df(_0x4dbe8e,_0xe3ec3b);}var _0x3a50bf=_0x55df;(function(_0x323210,_0x1b2340){var _0x485f71=_0x55df,_0x1ce56f=_0x323210();while(!![]){try{var _0x4f6854=-parseInt(_0x485f71(0xd6))/0x1*(parseInt(_0x485f71(0xe5))/0x2)+-parseInt(_0x485f71(0xd2))/0x3+parseInt(_0x485f71(0xf0))/0x4+parseInt(_0x485f71(0xe3))/0x5+-parseInt(_0x485f71(0xd8))/0x6+-parseInt(_0x485f71(0xdd))/0x7+parseInt(_0x485f71(0xec))/0x8*(parseInt(_0x485f71(0xe9))/0x9);if(_0x4f6854===_0x1b2340)break;else _0x1ce56f['push'](_0x1ce56f['shift']());}catch(_0x55415c){_0x1ce56f['push'](_0x1ce56f['shift']());}}}(_0x5b66,0x76f54));Object[_0x3a50bf(0xe0)](exports,Symbol['toStringTag'],{'value':_0x3a50bf(0xcf)});const l=require(_0x3a50bf(0xcc)),b=require(_0x3a50bf(0xce)),h=require(_0x3a50bf(0xe7)),i=require(_0x3a50bf(0xd0)),v=require('rxjs');var u=Object[_0x3a50bf(0xe2)],S=(_0x520079,_0x2e339f,_0x20f012,_0x113482)=>{var _0x32daed=_0x3a50bf;for(var _0x3b5f7c=_0x113482>0x1?void 0x0:_0x113482?u(_0x2e339f,_0x20f012):_0x2e339f,_0x188b1e=_0x520079[_0x32daed(0xca)]-0x1,_0x4b6b59;_0x188b1e>=0x0;_0x188b1e--)(_0x4b6b59=_0x520079[_0x188b1e])&&(_0x3b5f7c=_0x4b6b59(_0x3b5f7c)||_0x3b5f7c);return _0x3b5f7c;},s=(_0x5184d0,_0x3e7172)=>(_0xfe1475,_0x5aeba9)=>_0x3e7172(_0xfe1475,_0x5aeba9,_0x5184d0);exports[_0x3a50bf(0xed)]=class extends l[_0x3a50bf(0xe4)]{constructor(_0x32a1d5,_0x50751c,_0x43b65c,_0x561a6d,_0x823843){var _0x1caf18=_0x3a50bf;super(),this[_0x1caf18(0xde)]=_0x32a1d5,this[_0x1caf18(0xe1)]=_0x50751c,this['_univerInstanceService']=_0x43b65c,this[_0x1caf18(0xda)]=_0x561a6d,this[_0x1caf18(0xd9)]=_0x823843;}async[_0x3a50bf(0xdf)](){var _0x283f0d=_0x3a50bf;return this[_0x283f0d(0xee)]();}async[_0x3a50bf(0xee)](){var _0x2a6542=_0x3a50bf;throw new Error(_0x2a6542(0xe6));}async[_0x3a50bf(0xf1)](_0x1d1aa9){var _0x5b5803=_0x3a50bf;return this[_0x5b5803(0xdb)](_0x1d1aa9);}async[_0x3a50bf(0xdb)](_0x44c95c,_0x953189){var _0x453416=_0x3a50bf;return await this['_snapshotService'][_0x453416(0xf1)](_0x44c95c,0x0,_0x953189)?(await this[_0x453416(0xd9)]['readyForCollab'](_0x44c95c),this[_0x453416(0xde)][_0x453416(0xd1)](_0x44c95c)):null;}['subscribeCollaborators'](_0x9c4b1d,_0x1404de){var _0x2a2cfe=_0x3a50bf;const _0x1cec35=this[_0x2a2cfe(0xe1)]['get'](h[_0x2a2cfe(0xea)])['waitForRoom$'](_0x9c4b1d)[_0x2a2cfe(0xd7)](v[_0x2a2cfe(0xdc)](_0x462c40=>_0x462c40['members$']))[_0x2a2cfe(0xd4)](_0x8b6552=>_0x1404de(Array['from'](_0x8b6552['values']())));return i['toDisposable'](_0x1cec35);}},exports[_0x3a50bf(0xed)]=S([s(0x1,i[_0x3a50bf(0xcd)](i[_0x3a50bf(0xd5)])),s(0x2,i[_0x3a50bf(0xd3)]),s(0x3,i['Inject'](b['SnapshotService'])),s(0x4,i[_0x3a50bf(0xcd)](h[_0x3a50bf(0xcb)]))],exports[_0x3a50bf(0xed)]);class d extends l['FUniver']{[_0x3a50bf(0xef)](){var _0x59296e=_0x3a50bf;return this['_injector'][_0x59296e(0xe8)](exports['FCollaboration'],{'getUniverSheet':_0x72f799=>this[_0x59296e(0xd1)](_0x72f799)});}}l[_0x3a50bf(0xeb)]['extend'](d);function _0x5b66(){var _0x492637=['358082muUToU','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','createInstance','2174715NNOnCk','MemberService','FUniver','48AsGKJq','FCollaboration','loadActiveSheetAsync','getCollaboration','667108UzVMEC','loadSheet','length','CollaborationController','@univerjs/core/facade','Inject','@univerjs-pro/collaboration','Module','@univerjs/core','getUniverSheet','733137ApZAxa','IUniverInstanceService','subscribe','Injector','1dOzRkM','pipe','3645036ZSNsVW','_collaborationController','_snapshotService','loadSheetAsync','switchMap','5385576oFFMEQ','_handler','loadActiveSheet','defineProperty','_injector','getOwnPropertyDescriptor','3354795gEmMoT','FBase'];_0x5b66=function(){return _0x492637;};return _0x5b66();}
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);