@univerjs-pro/collaboration-client 0.5.4-nightly.202501181312 → 0.5.4-nightly.202501191605

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 _0x276263=_0x4fb6;(function(_0x55c540,_0x507bfb){var _0x3af227=_0x4fb6,_0x5a7b89=_0x55c540();while(!![]){try{var _0x3c33fe=parseInt(_0x3af227(0x189))/0x1+parseInt(_0x3af227(0x17b))/0x2+parseInt(_0x3af227(0x184))/0x3*(-parseInt(_0x3af227(0x176))/0x4)+-parseInt(_0x3af227(0x17e))/0x5*(parseInt(_0x3af227(0x17a))/0x6)+-parseInt(_0x3af227(0x19b))/0x7*(parseInt(_0x3af227(0x190))/0x8)+parseInt(_0x3af227(0x194))/0x9+parseInt(_0x3af227(0x199))/0xa;if(_0x3c33fe===_0x507bfb)break;else _0x5a7b89['push'](_0x5a7b89['shift']());}catch(_0x3052c7){_0x5a7b89['push'](_0x5a7b89['shift']());}}}(_0x12b8,0xb901f));Object[_0x276263(0x174)](exports,Symbol[_0x276263(0x191)],{'value':'Module'});function _0x4fb6(_0x5ebdce,_0xa0321f){var _0x12b822=_0x12b8();return _0x4fb6=function(_0x4fb66b,_0x1ff98e){_0x4fb66b=_0x4fb66b-0x172;var _0x314083=_0x12b822[_0x4fb66b];return _0x314083;},_0x4fb6(_0x5ebdce,_0xa0321f);}const o=require('@univerjs/core'),h=require(_0x276263(0x182)),c=require(_0x276263(0x197)),b=require('rxjs');var v=Object[_0x276263(0x174)],u=Object[_0x276263(0x195)],S=(_0x2b99c4,_0x5efe52,_0x38f28f,_0x28f61)=>{var _0x27a40f=_0x276263;for(var _0x2d785a=_0x28f61>0x1?void 0x0:_0x28f61?u(_0x5efe52,_0x38f28f):_0x5efe52,_0x1cb737=_0x2b99c4[_0x27a40f(0x186)]-0x1,_0x4a5f57;_0x1cb737>=0x0;_0x1cb737--)(_0x4a5f57=_0x2b99c4[_0x1cb737])&&(_0x2d785a=(_0x28f61?_0x4a5f57(_0x5efe52,_0x38f28f,_0x2d785a):_0x4a5f57(_0x2d785a))||_0x2d785a);return _0x28f61&&_0x2d785a&&v(_0x5efe52,_0x38f28f,_0x2d785a),_0x2d785a;},s=(_0x56c721,_0xd21c53)=>(_0x829d49,_0x29821f)=>_0xd21c53(_0x829d49,_0x29821f,_0x56c721);exports['FCollaboration']=class extends o[_0x276263(0x17d)]{constructor(_0x4c1b0c,_0x1104a8,_0x3889dc,_0x1fd805,_0x57b342){var _0x58beee=_0x276263;super(),this['_handler']=_0x4c1b0c,this[_0x58beee(0x178)]=_0x1104a8,this[_0x58beee(0x18a)]=_0x3889dc,this[_0x58beee(0x198)]=_0x1fd805,this[_0x58beee(0x185)]=_0x57b342;}async['loadActiveSheet'](){var _0x2f707c=_0x276263;return this[_0x2f707c(0x18f)]();}async[_0x276263(0x18f)](){var _0x2c3396=_0x276263;throw new Error(_0x2c3396(0x18d));}async[_0x276263(0x17f)](_0x5b6ce0){var _0x5e6dda=_0x276263;return this[_0x5e6dda(0x179)](_0x5b6ce0);}async[_0x276263(0x179)](_0x719f15){var _0x86348b=_0x276263;return this[_0x86348b(0x18a)]['getUnit'](_0x719f15,o[_0x86348b(0x196)][_0x86348b(0x175)])||await this[_0x86348b(0x198)][_0x86348b(0x17f)](_0x719f15,0x0)?(await this[_0x86348b(0x185)]['readyForCollab'](_0x719f15),this[_0x86348b(0x183)][_0x86348b(0x19a)](_0x719f15)):null;}['subscribeCollaborators'](_0xa51ab9,_0x3a0b67){var _0xe14500=_0x276263;const _0x14773e=this[_0xe14500(0x178)]['get'](c['MemberService'])[_0xe14500(0x180)](_0xa51ab9)[_0xe14500(0x187)](b[_0xe14500(0x18b)](_0x49e050=>_0x49e050[_0xe14500(0x18e)]))[_0xe14500(0x193)](_0x42b557=>_0x3a0b67(Array['from'](_0x42b557[_0xe14500(0x17c)]())));return o['toDisposable'](_0x14773e);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o[_0x276263(0x181)])),s(0x2,o[_0x276263(0x192)]),s(0x3,o[_0x276263(0x18c)](h['SnapshotService'])),s(0x4,o[_0x276263(0x18c)](c[_0x276263(0x188)]))],exports[_0x276263(0x177)]);class _ extends o[_0x276263(0x172)]{['getCollaboration'](){var _0x48777d=_0x276263;return this['_injector'][_0x48777d(0x173)](exports[_0x48777d(0x177)],{'getUniverSheet':_0x2cca66=>this[_0x48777d(0x19a)](_0x2cca66)});}}o[_0x276263(0x172)]['extend'](_);function _0x12b8(){var _0xf161cf=['3NVbWTd','_collaborationController','length','pipe','CollaborationController','264331QhVqLr','_univerInstanceService','switchMap','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','members$','loadActiveSheetAsync','1992FGYMhh','toStringTag','IUniverInstanceService','subscribe','1260666ADejPt','getOwnPropertyDescriptor','UniverInstanceType','@univerjs-pro/collaboration-client','_snapshotService','3805250VxxGhr','getUniverSheet','784HjBEJV','FUniver','createInstance','defineProperty','UNIVER_SHEET','2811212ZjuzgL','FCollaboration','_injector','loadSheetAsync','318030LCXhWG','2785234eAtelj','values','FBase','65XVOmoQ','loadSheet','waitForRoom$','Injector','@univerjs-pro/collaboration','_handler'];_0x12b8=function(){return _0xf161cf;};return _0x12b8();}
1
+ 'use strict';var _0xb0870=_0x2b53;(function(_0x58055e,_0x95fec9){var _0x19df3c=_0x2b53,_0x45acf1=_0x58055e();while(!![]){try{var _0x5e827c=parseInt(_0x19df3c(0x143))/0x1*(-parseInt(_0x19df3c(0x148))/0x2)+-parseInt(_0x19df3c(0x14c))/0x3*(parseInt(_0x19df3c(0x16d))/0x4)+-parseInt(_0x19df3c(0x168))/0x5*(parseInt(_0x19df3c(0x158))/0x6)+parseInt(_0x19df3c(0x16b))/0x7*(parseInt(_0x19df3c(0x157))/0x8)+-parseInt(_0x19df3c(0x14f))/0x9+parseInt(_0x19df3c(0x14e))/0xa+parseInt(_0x19df3c(0x16c))/0xb*(parseInt(_0x19df3c(0x150))/0xc);if(_0x5e827c===_0x95fec9)break;else _0x45acf1['push'](_0x45acf1['shift']());}catch(_0x25aca9){_0x45acf1['push'](_0x45acf1['shift']());}}}(_0x5ecb,0x186e1));function _0x2b53(_0x4c5086,_0x11db3a){var _0x5ecb15=_0x5ecb();return _0x2b53=function(_0x2b534c,_0xbd44da){_0x2b534c=_0x2b534c-0x13f;var _0x43c991=_0x5ecb15[_0x2b534c];return _0x43c991;},_0x2b53(_0x4c5086,_0x11db3a);}Object[_0xb0870(0x162)](exports,Symbol[_0xb0870(0x14b)],{'value':'Module'});const o=require(_0xb0870(0x15e)),h=require('@univerjs-pro/collaboration'),c=require(_0xb0870(0x163)),b=require(_0xb0870(0x161));var v=Object[_0xb0870(0x162)],u=Object['getOwnPropertyDescriptor'],S=(_0x108728,_0x333236,_0x57889b,_0x4ed656)=>{var _0x2ff686=_0xb0870;for(var _0x5b75d4=_0x4ed656>0x1?void 0x0:_0x4ed656?u(_0x333236,_0x57889b):_0x333236,_0xabadad=_0x108728[_0x2ff686(0x15c)]-0x1,_0x1aea47;_0xabadad>=0x0;_0xabadad--)(_0x1aea47=_0x108728[_0xabadad])&&(_0x5b75d4=(_0x4ed656?_0x1aea47(_0x333236,_0x57889b,_0x5b75d4):_0x1aea47(_0x5b75d4))||_0x5b75d4);return _0x4ed656&&_0x5b75d4&&v(_0x333236,_0x57889b,_0x5b75d4),_0x5b75d4;},s=(_0x327db6,_0x53e901)=>(_0x4f3cc1,_0x180942)=>_0x53e901(_0x4f3cc1,_0x180942,_0x327db6);exports[_0xb0870(0x152)]=class extends o[_0xb0870(0x145)]{constructor(_0x4ce867,_0xafdb7b,_0x198b23,_0x188d18,_0x48c2ed){var _0x678a27=_0xb0870;super(),this[_0x678a27(0x144)]=_0x4ce867,this[_0x678a27(0x15f)]=_0xafdb7b,this['_univerInstanceService']=_0x198b23,this[_0x678a27(0x169)]=_0x188d18,this[_0x678a27(0x13f)]=_0x48c2ed;}async[_0xb0870(0x154)](){var _0x8da52=_0xb0870;return this[_0x8da52(0x160)]();}async[_0xb0870(0x160)](){var _0x202891=_0xb0870;throw new Error(_0x202891(0x142));}async[_0xb0870(0x149)](_0x100cd4){var _0x139bdf=_0xb0870;return this[_0x139bdf(0x141)](_0x100cd4);}async['loadSheetAsync'](_0x3b4582){var _0x5e343b=_0xb0870;return this[_0x5e343b(0x167)][_0x5e343b(0x14a)](_0x3b4582,o['UniverInstanceType'][_0x5e343b(0x151)])||await this[_0x5e343b(0x169)]['loadSheet'](_0x3b4582,0x0)?(await this[_0x5e343b(0x13f)][_0x5e343b(0x164)](_0x3b4582),this[_0x5e343b(0x144)][_0x5e343b(0x147)](_0x3b4582)):null;}[_0xb0870(0x156)](_0x3b36c3,_0x144ca7){var _0x1fbae7=_0xb0870;const _0x203d73=this[_0x1fbae7(0x15f)][_0x1fbae7(0x165)](c['MemberService'])[_0x1fbae7(0x159)](_0x3b36c3)[_0x1fbae7(0x166)](b[_0x1fbae7(0x14d)](_0x3948a4=>_0x3948a4[_0x1fbae7(0x16a)]))[_0x1fbae7(0x15a)](_0x4d4e9e=>_0x144ca7(Array['from'](_0x4d4e9e['values']())));return o[_0x1fbae7(0x15b)](_0x203d73);}},exports['FCollaboration']=S([s(0x1,o[_0xb0870(0x140)](o['Injector'])),s(0x2,o[_0xb0870(0x153)]),s(0x3,o[_0xb0870(0x140)](h[_0xb0870(0x15d)])),s(0x4,o[_0xb0870(0x140)](c[_0xb0870(0x146)]))],exports[_0xb0870(0x152)]);class _ extends o[_0xb0870(0x155)]{[_0xb0870(0x16e)](){var _0x34c304=_0xb0870;return this[_0x34c304(0x15f)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x2ffaf0=>this[_0x34c304(0x147)](_0x2ffaf0)});}}function _0x5ecb(){var _0x15818d=['loadActiveSheetAsync','rxjs','defineProperty','@univerjs-pro/collaboration-client','readyForCollab','get','pipe','_univerInstanceService','267105tdTEFf','_snapshotService','members$','787843tetslE','187MRBFqn','8xkpkDp','getCollaboration','_collaborationController','Inject','loadSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','436ckeXXa','_handler','FBase','CollaborationController','getUniverSheet','56rJTmKD','loadSheet','getUnit','toStringTag','75819rjdvTd','switchMap','166580yxOIZM','387855pmWNGc','129564bdTtQE','UNIVER_SHEET','FCollaboration','IUniverInstanceService','loadActiveSheet','FUniver','subscribeCollaborators','8jZLutb','12AKlrVK','waitForRoom$','subscribe','toDisposable','length','SnapshotService','@univerjs/core','_injector'];_0x5ecb=function(){return _0x15818d;};return _0x5ecb();}o[_0xb0870(0x155)]['extend'](_);