@univerjs-pro/collaboration-client 0.6.0-nightly.202501301606 → 0.6.0-nightly.202501311606

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 _0x61fbda=_0x57f6;(function(_0x3e9e7d,_0x362f09){var _0x42075b=_0x57f6,_0x2cfcb1=_0x3e9e7d();while(!![]){try{var _0x4d55f5=-parseInt(_0x42075b(0x13f))/0x1+-parseInt(_0x42075b(0x142))/0x2*(parseInt(_0x42075b(0x147))/0x3)+-parseInt(_0x42075b(0x138))/0x4*(-parseInt(_0x42075b(0x135))/0x5)+-parseInt(_0x42075b(0x124))/0x6+parseInt(_0x42075b(0x12c))/0x7*(-parseInt(_0x42075b(0x127))/0x8)+parseInt(_0x42075b(0x130))/0x9+parseInt(_0x42075b(0x137))/0xa;if(_0x4d55f5===_0x362f09)break;else _0x2cfcb1['push'](_0x2cfcb1['shift']());}catch(_0x1d6e32){_0x2cfcb1['push'](_0x2cfcb1['shift']());}}}(_0x5507,0x757ef));Object[_0x61fbda(0x13a)](exports,Symbol['toStringTag'],{'value':_0x61fbda(0x129)});const o=require(_0x61fbda(0x12f)),h=require(_0x61fbda(0x14b)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x61fbda(0x12a));function _0x57f6(_0x1b2dd0,_0x54fceb){var _0x5507e6=_0x5507();return _0x57f6=function(_0x57f65f,_0x2a8cb9){_0x57f65f=_0x57f65f-0x123;var _0xc39a1f=_0x5507e6[_0x57f65f];return _0xc39a1f;},_0x57f6(_0x1b2dd0,_0x54fceb);}var v=Object[_0x61fbda(0x13a)],u=Object['getOwnPropertyDescriptor'],S=(_0xd0d811,_0x3e15b1,_0x40839d,_0x471ef0)=>{for(var _0x3d0381=_0x471ef0>0x1?void 0x0:_0x471ef0?u(_0x3e15b1,_0x40839d):_0x3e15b1,_0x5a471f=_0xd0d811['length']-0x1,_0x92983c;_0x5a471f>=0x0;_0x5a471f--)(_0x92983c=_0xd0d811[_0x5a471f])&&(_0x3d0381=(_0x471ef0?_0x92983c(_0x3e15b1,_0x40839d,_0x3d0381):_0x92983c(_0x3d0381))||_0x3d0381);return _0x471ef0&&_0x3d0381&&v(_0x3e15b1,_0x40839d,_0x3d0381),_0x3d0381;},s=(_0x5c7e49,_0x523f62)=>(_0xb3f844,_0x4ad51a)=>_0x523f62(_0xb3f844,_0x4ad51a,_0x5c7e49);exports[_0x61fbda(0x136)]=class extends o['FBase']{constructor(_0x4abddc,_0x51c977,_0x58e791,_0x2b364d,_0x24bfa8){var _0x2bc92b=_0x61fbda;super(),this[_0x2bc92b(0x13c)]=_0x4abddc,this['_injector']=_0x51c977,this[_0x2bc92b(0x13d)]=_0x58e791,this[_0x2bc92b(0x12b)]=_0x2b364d,this[_0x2bc92b(0x146)]=_0x24bfa8;}async[_0x61fbda(0x149)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x5cd156){var _0x52e180=_0x61fbda;return this[_0x52e180(0x131)](_0x5cd156);}async[_0x61fbda(0x131)](_0x4ef306){var _0x4d3dd5=_0x61fbda;return this[_0x4d3dd5(0x13d)][_0x4d3dd5(0x134)](_0x4ef306,o[_0x4d3dd5(0x128)][_0x4d3dd5(0x132)])||await this['_snapshotService'][_0x4d3dd5(0x145)](_0x4ef306,0x0)?(await this[_0x4d3dd5(0x146)]['readyForCollab'](_0x4ef306),this[_0x4d3dd5(0x13c)][_0x4d3dd5(0x13e)](_0x4ef306)):null;}[_0x61fbda(0x140)](_0x131f33,_0x232146){var _0x4cbcd5=_0x61fbda;const _0x2aff71=this[_0x4cbcd5(0x139)][_0x4cbcd5(0x144)](c[_0x4cbcd5(0x133)])[_0x4cbcd5(0x12e)](_0x131f33)[_0x4cbcd5(0x143)](b[_0x4cbcd5(0x14a)](_0x542c69=>_0x542c69['members$']))['subscribe'](_0x596d4e=>_0x232146(Array[_0x4cbcd5(0x14c)](_0x596d4e[_0x4cbcd5(0x12d)]())));return o[_0x4cbcd5(0x141)](_0x2aff71);}},exports[_0x61fbda(0x136)]=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o[_0x61fbda(0x125)]),s(0x3,o[_0x61fbda(0x126)](h['SnapshotService'])),s(0x4,o[_0x61fbda(0x126)](c['CollaborationController']))],exports[_0x61fbda(0x136)]);function _0x5507(){var _0x554e7c=['getUnit','55GBLQzJ','FCollaboration','7465860uVgciW','243224SoEaEi','_injector','defineProperty','FUniver','_handler','_univerInstanceService','getUniverSheet','653717UmXheA','subscribeCollaborators','toDisposable','34pKGjin','pipe','get','loadSheet','_collaborationController','69096ngkACm','createInstance','loadActiveSheet','switchMap','@univerjs-pro/collaboration','from','getCollaboration','2544804oboBej','IUniverInstanceService','Inject','232qxfiov','UniverInstanceType','Module','rxjs','_snapshotService','28yBcDMo','values','waitForRoom$','@univerjs/core','4817898KmslHZ','loadSheetAsync','UNIVER_SHEET','MemberService'];_0x5507=function(){return _0x554e7c;};return _0x5507();}class _ extends o[_0x61fbda(0x13b)]{[_0x61fbda(0x123)](){var _0x4a8524=_0x61fbda;return this[_0x4a8524(0x139)][_0x4a8524(0x148)](exports[_0x4a8524(0x136)],{'getUniverSheet':_0x4a1196=>this[_0x4a8524(0x13e)](_0x4a1196)});}}o[_0x61fbda(0x13b)]['extend'](_);
1
+ 'use strict';var _0x3b44c6=_0x185d;function _0x185d(_0x337d6e,_0x2eff7a){var _0x5b27f3=_0x5b27();return _0x185d=function(_0x185d4b,_0x455976){_0x185d4b=_0x185d4b-0x115;var _0x54ff72=_0x5b27f3[_0x185d4b];return _0x54ff72;},_0x185d(_0x337d6e,_0x2eff7a);}(function(_0x17438e,_0x1e888a){var _0x3cbb4d=_0x185d,_0x1964f6=_0x17438e();while(!![]){try{var _0x4444e2=parseInt(_0x3cbb4d(0x141))/0x1*(parseInt(_0x3cbb4d(0x123))/0x2)+parseInt(_0x3cbb4d(0x11e))/0x3*(parseInt(_0x3cbb4d(0x116))/0x4)+-parseInt(_0x3cbb4d(0x136))/0x5+parseInt(_0x3cbb4d(0x118))/0x6*(parseInt(_0x3cbb4d(0x115))/0x7)+-parseInt(_0x3cbb4d(0x132))/0x8+parseInt(_0x3cbb4d(0x12f))/0x9*(parseInt(_0x3cbb4d(0x13b))/0xa)+parseInt(_0x3cbb4d(0x126))/0xb*(-parseInt(_0x3cbb4d(0x13c))/0xc);if(_0x4444e2===_0x1e888a)break;else _0x1964f6['push'](_0x1964f6['shift']());}catch(_0x40d982){_0x1964f6['push'](_0x1964f6['shift']());}}}(_0x5b27,0xb487f));function _0x5b27(){var _0x1e9879=['FBase','UniverInstanceType','_univerInstanceService','subscribeCollaborators','1ZYloQK','FCollaboration','extend','waitForRoom$','members$','subscribe','Injector','loadSheet','70xJXvJr','136kQCTgi','_snapshotService','843996reUKoW','rxjs','Inject','_handler','_injector','@univerjs-pro/collaboration','50640WIjXKT','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheetAsync','getUniverSheet','619258uWbEKl','SnapshotService','UNIVER_SHEET','11vMZFfs','getCollaboration','createInstance','IUniverInstanceService','switchMap','loadActiveSheetAsync','getUnit','values','FUniver','9ReTtBn','defineProperty','loadActiveSheet','178696ttXsXn','getOwnPropertyDescriptor','CollaborationController','length','636690ayilLp','toDisposable','MemberService','_collaborationController','readyForCollab','7293670sRTLwR','25565352inpVKC'];_0x5b27=function(){return _0x1e9879;};return _0x5b27();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const o=require('@univerjs/core'),h=require(_0x3b44c6(0x11d)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x3b44c6(0x119));var v=Object[_0x3b44c6(0x130)],u=Object[_0x3b44c6(0x133)],S=(_0x581860,_0x38a678,_0x537c5e,_0x2a1d74)=>{var _0x20db65=_0x3b44c6;for(var _0x45255d=_0x2a1d74>0x1?void 0x0:_0x2a1d74?u(_0x38a678,_0x537c5e):_0x38a678,_0x1debda=_0x581860[_0x20db65(0x135)]-0x1,_0x4b58ea;_0x1debda>=0x0;_0x1debda--)(_0x4b58ea=_0x581860[_0x1debda])&&(_0x45255d=(_0x2a1d74?_0x4b58ea(_0x38a678,_0x537c5e,_0x45255d):_0x4b58ea(_0x45255d))||_0x45255d);return _0x2a1d74&&_0x45255d&&v(_0x38a678,_0x537c5e,_0x45255d),_0x45255d;},s=(_0x3b5802,_0x1510a3)=>(_0x5ef954,_0x44cd46)=>_0x1510a3(_0x5ef954,_0x44cd46,_0x3b5802);exports['FCollaboration']=class extends o[_0x3b44c6(0x13d)]{constructor(_0x389675,_0x1b678f,_0x21841b,_0x558c95,_0xf87fad){var _0x596cfd=_0x3b44c6;super(),this[_0x596cfd(0x11b)]=_0x389675,this[_0x596cfd(0x11c)]=_0x1b678f,this['_univerInstanceService']=_0x21841b,this[_0x596cfd(0x117)]=_0x558c95,this[_0x596cfd(0x139)]=_0xf87fad;}async[_0x3b44c6(0x131)](){var _0x351432=_0x3b44c6;return this[_0x351432(0x12b)]();}async[_0x3b44c6(0x12b)](){var _0x45df4f=_0x3b44c6;throw new Error(_0x45df4f(0x120));}async[_0x3b44c6(0x148)](_0x2b2349){var _0x320f14=_0x3b44c6;return this[_0x320f14(0x121)](_0x2b2349);}async[_0x3b44c6(0x121)](_0x57a58b){var _0x4ea891=_0x3b44c6;return this[_0x4ea891(0x13f)][_0x4ea891(0x12c)](_0x57a58b,o[_0x4ea891(0x13e)][_0x4ea891(0x125)])||await this[_0x4ea891(0x117)][_0x4ea891(0x148)](_0x57a58b,0x0)?(await this[_0x4ea891(0x139)][_0x4ea891(0x13a)](_0x57a58b),this[_0x4ea891(0x11b)][_0x4ea891(0x122)](_0x57a58b)):null;}[_0x3b44c6(0x140)](_0x2eda76,_0x505f31){var _0x6d4152=_0x3b44c6;const _0x53bad3=this[_0x6d4152(0x11c)][_0x6d4152(0x11f)](c[_0x6d4152(0x138)])[_0x6d4152(0x144)](_0x2eda76)['pipe'](b[_0x6d4152(0x12a)](_0x5710e5=>_0x5710e5[_0x6d4152(0x145)]))[_0x6d4152(0x146)](_0x52bf9e=>_0x505f31(Array['from'](_0x52bf9e[_0x6d4152(0x12d)]())));return o[_0x6d4152(0x137)](_0x53bad3);}},exports[_0x3b44c6(0x142)]=S([s(0x1,o[_0x3b44c6(0x11a)](o[_0x3b44c6(0x147)])),s(0x2,o[_0x3b44c6(0x129)]),s(0x3,o[_0x3b44c6(0x11a)](h[_0x3b44c6(0x124)])),s(0x4,o[_0x3b44c6(0x11a)](c[_0x3b44c6(0x134)]))],exports[_0x3b44c6(0x142)]);class _ extends o[_0x3b44c6(0x12e)]{[_0x3b44c6(0x127)](){var _0x4582a1=_0x3b44c6;return this[_0x4582a1(0x11c)][_0x4582a1(0x128)](exports['FCollaboration'],{'getUniverSheet':_0x13c98f=>this['getUniverSheet'](_0x13c98f)});}}o[_0x3b44c6(0x12e)][_0x3b44c6(0x143)](_);