@univerjs-pro/collaboration-client 0.5.1-nightly.202412180944 → 0.5.1-nightly.202412190703

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 _0x10ea08=_0x5009;(function(_0x3227b2,_0xc907a5){var _0x19c16b=_0x5009,_0x2fabb0=_0x3227b2();while(!![]){try{var _0x56eb99=-parseInt(_0x19c16b(0x1a0))/0x1*(-parseInt(_0x19c16b(0x19f))/0x2)+-parseInt(_0x19c16b(0x195))/0x3*(-parseInt(_0x19c16b(0x18d))/0x4)+parseInt(_0x19c16b(0x19a))/0x5+parseInt(_0x19c16b(0x180))/0x6+-parseInt(_0x19c16b(0x19c))/0x7*(-parseInt(_0x19c16b(0x1a8))/0x8)+-parseInt(_0x19c16b(0x1a2))/0x9+parseInt(_0x19c16b(0x193))/0xa*(-parseInt(_0x19c16b(0x18f))/0xb);if(_0x56eb99===_0xc907a5)break;else _0x2fabb0['push'](_0x2fabb0['shift']());}catch(_0x35da0e){_0x2fabb0['push'](_0x2fabb0['shift']());}}}(_0x3766,0xc03e5));Object[_0x10ea08(0x188)](exports,Symbol['toStringTag'],{'value':_0x10ea08(0x183)});const t=require(_0x10ea08(0x190)),b=require(_0x10ea08(0x199)),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');var h=Object[_0x10ea08(0x188)],u=Object['getOwnPropertyDescriptor'],_=(_0x3d846d,_0x2bd0d0,_0x11a9f1,_0x45e8f2)=>{var _0xb86391=_0x10ea08;for(var _0x436059=_0x45e8f2>0x1?void 0x0:_0x45e8f2?u(_0x2bd0d0,_0x11a9f1):_0x2bd0d0,_0x24371c=_0x3d846d[_0xb86391(0x192)]-0x1,_0x5cd80e;_0x24371c>=0x0;_0x24371c--)(_0x5cd80e=_0x3d846d[_0x24371c])&&(_0x436059=(_0x45e8f2?_0x5cd80e(_0x2bd0d0,_0x11a9f1,_0x436059):_0x5cd80e(_0x436059))||_0x436059);return _0x45e8f2&&_0x436059&&h(_0x2bd0d0,_0x11a9f1,_0x436059),_0x436059;},s=(_0x1f9504,_0x298cc7)=>(_0x31a8ec,_0x1b2b76)=>_0x298cc7(_0x31a8ec,_0x1b2b76,_0x1f9504);function _0x5009(_0x824462,_0x434409){var _0x3766fd=_0x3766();return _0x5009=function(_0x5009ed,_0x5d28f4){_0x5009ed=_0x5009ed-0x17f;var _0x50b6bf=_0x3766fd[_0x5009ed];return _0x50b6bf;},_0x5009(_0x824462,_0x434409);}exports[_0x10ea08(0x186)]=class extends t[_0x10ea08(0x18b)]{constructor(_0x4f24b7,_0x5dfa90,_0x364ab4,_0x3c4ddf,_0x127729){var _0x421985=_0x10ea08;super(),this[_0x421985(0x18a)]=_0x4f24b7,this[_0x421985(0x18e)]=_0x5dfa90,this[_0x421985(0x19b)]=_0x364ab4,this[_0x421985(0x19d)]=_0x3c4ddf,this[_0x421985(0x1a3)]=_0x127729;}async['loadActiveSheet'](){var _0x19a380=_0x10ea08;throw new Error(_0x19a380(0x19e));}async['loadSheet'](_0x172b86){var _0x28c6a6=_0x10ea08;return this[_0x28c6a6(0x19b)][_0x28c6a6(0x1a1)](_0x172b86,t[_0x28c6a6(0x196)][_0x28c6a6(0x184)])||await this[_0x28c6a6(0x19d)][_0x28c6a6(0x1a4)](_0x172b86,0x0)?(await this[_0x28c6a6(0x1a3)][_0x28c6a6(0x181)](_0x172b86),this[_0x28c6a6(0x18a)][_0x28c6a6(0x194)](_0x172b86)):null;}[_0x10ea08(0x198)](_0x5c689d,_0x4197fa){var _0x3848ed=_0x10ea08;const _0x48ed36=this[_0x3848ed(0x18e)][_0x3848ed(0x182)](c['MemberService'])[_0x3848ed(0x1a6)](_0x5c689d)[_0x3848ed(0x197)](v['switchMap'](_0x2fb53e=>_0x2fb53e['members$']))[_0x3848ed(0x1a5)](_0x553836=>_0x4197fa(Array['from'](_0x553836[_0x3848ed(0x185)]())));return t['toDisposable'](_0x48ed36);}},exports[_0x10ea08(0x186)]=_([s(0x1,t[_0x10ea08(0x191)](t[_0x10ea08(0x187)])),s(0x2,t[_0x10ea08(0x189)]),s(0x3,t[_0x10ea08(0x191)](b['SnapshotService'])),s(0x4,t[_0x10ea08(0x191)](c['CollaborationController']))],exports['FCollaboration']);class S extends t[_0x10ea08(0x1a7)]{[_0x10ea08(0x17f)](){var _0x4c4161=_0x10ea08;return this[_0x4c4161(0x18e)][_0x4c4161(0x18c)](exports['FCollaboration'],{'getUniverSheet':_0xb1c9fe=>this[_0x4c4161(0x194)](_0xb1c9fe)});}}t['FUniver']['extend'](S);function _0x3766(){var _0xb22373=['Inject','length','23046650RGsVmy','getUniverSheet','3164958ESIdto','UniverInstanceType','pipe','subscribeCollaborators','@univerjs-pro/collaboration','5036840OrfGuA','_univerInstanceService','35609GVSLKu','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','118554Ddgmkb','10QYUlfn','getUnit','5387238WSqMlg','_collaborationController','loadSheet','subscribe','waitForRoom$','FUniver','1416uVBVSQ','getCollaboration','810918SUtlOm','readyForCollab','get','Module','UNIVER_SHEET','values','FCollaboration','Injector','defineProperty','IUniverInstanceService','_handler','FBase','createInstance','4ecdQyf','_injector','11YYMrur','@univerjs/core'];_0x3766=function(){return _0xb22373;};return _0x3766();}
1
+ 'use strict';var _0x32cbe7=_0x14c8;(function(_0x118d42,_0x1ebf25){var _0x5b4fd0=_0x14c8,_0xc59269=_0x118d42();while(!![]){try{var _0x4fea6f=parseInt(_0x5b4fd0(0x1ba))/0x1+parseInt(_0x5b4fd0(0x1b7))/0x2+-parseInt(_0x5b4fd0(0x1bf))/0x3+-parseInt(_0x5b4fd0(0x1a2))/0x4+parseInt(_0x5b4fd0(0x19f))/0x5+parseInt(_0x5b4fd0(0x19c))/0x6*(parseInt(_0x5b4fd0(0x197))/0x7)+-parseInt(_0x5b4fd0(0x1ad))/0x8;if(_0x4fea6f===_0x1ebf25)break;else _0xc59269['push'](_0xc59269['shift']());}catch(_0x471d83){_0xc59269['push'](_0xc59269['shift']());}}}(_0x43b2,0xb741e));Object[_0x32cbe7(0x1ab)](exports,Symbol['toStringTag'],{'value':'Module'});function _0x14c8(_0x3c2e28,_0x4e4066){var _0x43b26e=_0x43b2();return _0x14c8=function(_0x14c8f8,_0x243bea){_0x14c8f8=_0x14c8f8-0x197;var _0x4c4438=_0x43b26e[_0x14c8f8];return _0x4c4438;},_0x14c8(_0x3c2e28,_0x4e4066);}const t=require(_0x32cbe7(0x1b0)),b=require(_0x32cbe7(0x1a1)),c=require(_0x32cbe7(0x1bb)),v=require(_0x32cbe7(0x1af));var h=Object[_0x32cbe7(0x1ab)],u=Object['getOwnPropertyDescriptor'],_=(_0x4348ca,_0x135e01,_0x32ab11,_0x2b3d7a)=>{var _0x523261=_0x32cbe7;for(var _0xd93b7f=_0x2b3d7a>0x1?void 0x0:_0x2b3d7a?u(_0x135e01,_0x32ab11):_0x135e01,_0xe89cfc=_0x4348ca[_0x523261(0x1b9)]-0x1,_0x292d06;_0xe89cfc>=0x0;_0xe89cfc--)(_0x292d06=_0x4348ca[_0xe89cfc])&&(_0xd93b7f=(_0x2b3d7a?_0x292d06(_0x135e01,_0x32ab11,_0xd93b7f):_0x292d06(_0xd93b7f))||_0xd93b7f);return _0x2b3d7a&&_0xd93b7f&&h(_0x135e01,_0x32ab11,_0xd93b7f),_0xd93b7f;},s=(_0x530575,_0x1ef598)=>(_0x188d37,_0x508c1a)=>_0x1ef598(_0x188d37,_0x508c1a,_0x530575);exports[_0x32cbe7(0x19a)]=class extends t[_0x32cbe7(0x1b2)]{constructor(_0x925382,_0x33f106,_0x591026,_0x12e843,_0x49195c){var _0xb931a3=_0x32cbe7;super(),this['_handler']=_0x925382,this['_injector']=_0x33f106,this['_univerInstanceService']=_0x591026,this[_0xb931a3(0x198)]=_0x12e843,this['_collaborationController']=_0x49195c;}async['loadActiveSheet'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x32cbe7(0x1a9)](_0x281e02){var _0xeefcc2=_0x32cbe7;return this[_0xeefcc2(0x1be)][_0xeefcc2(0x1b1)](_0x281e02,t[_0xeefcc2(0x1a5)]['UNIVER_SHEET'])||await this[_0xeefcc2(0x198)][_0xeefcc2(0x1a9)](_0x281e02,0x0)?(await this['_collaborationController'][_0xeefcc2(0x1aa)](_0x281e02),this[_0xeefcc2(0x1c1)][_0xeefcc2(0x1bd)](_0x281e02)):null;}[_0x32cbe7(0x1c0)](_0x293d73,_0x35ffdc){var _0xab686c=_0x32cbe7;const _0x3d6e67=this['_injector'][_0xab686c(0x1a8)](c[_0xab686c(0x1a3)])[_0xab686c(0x19d)](_0x293d73)[_0xab686c(0x19b)](v[_0xab686c(0x1bc)](_0x510b71=>_0x510b71[_0xab686c(0x1a4)]))[_0xab686c(0x1ac)](_0x4f4759=>_0x35ffdc(Array[_0xab686c(0x1a0)](_0x4f4759[_0xab686c(0x1b8)]())));return t[_0xab686c(0x199)](_0x3d6e67);}},exports[_0x32cbe7(0x19a)]=_([s(0x1,t[_0x32cbe7(0x1a6)](t[_0x32cbe7(0x1b3)])),s(0x2,t[_0x32cbe7(0x19e)]),s(0x3,t[_0x32cbe7(0x1a6)](b[_0x32cbe7(0x1b4)])),s(0x4,t[_0x32cbe7(0x1a6)](c['CollaborationController']))],exports[_0x32cbe7(0x19a)]);function _0x43b2(){var _0x1b1835=['FBase','Injector','SnapshotService','createInstance','_injector','1471262YUUDiu','values','length','802493qpAPBq','@univerjs-pro/collaboration-client','switchMap','getUniverSheet','_univerInstanceService','1122717kZBFsg','subscribeCollaborators','_handler','7gwQTnW','_snapshotService','toDisposable','FCollaboration','pipe','1514706WYWbad','waitForRoom$','IUniverInstanceService','2138010Vecgja','from','@univerjs-pro/collaboration','3780628Ihmich','MemberService','members$','UniverInstanceType','Inject','FUniver','get','loadSheet','readyForCollab','defineProperty','subscribe','1185272XnksTK','getCollaboration','rxjs','@univerjs/core','getUnit'];_0x43b2=function(){return _0x1b1835;};return _0x43b2();}class S extends t[_0x32cbe7(0x1a7)]{[_0x32cbe7(0x1ae)](){var _0x5a6b2c=_0x32cbe7;return this[_0x5a6b2c(0x1b6)][_0x5a6b2c(0x1b5)](exports[_0x5a6b2c(0x19a)],{'getUniverSheet':_0x3f9e60=>this[_0x5a6b2c(0x1bd)](_0x3f9e60)});}}t['FUniver']['extend'](S);