@univerjs-pro/collaboration-client 0.5.1-nightly.202412160721 → 0.5.1-nightly.202412161606

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 _0x32baa7=_0x254c;function _0x254c(_0x598d58,_0x9113a4){var _0x5a2580=_0x5a25();return _0x254c=function(_0x254c36,_0x183447){_0x254c36=_0x254c36-0x1ee;var _0x349a60=_0x5a2580[_0x254c36];return _0x349a60;},_0x254c(_0x598d58,_0x9113a4);}(function(_0x4efe38,_0xa9ad34){var _0x21cd68=_0x254c,_0x387ca9=_0x4efe38();while(!![]){try{var _0x40ee54=parseInt(_0x21cd68(0x1fa))/0x1+-parseInt(_0x21cd68(0x20f))/0x2+parseInt(_0x21cd68(0x1ee))/0x3+parseInt(_0x21cd68(0x1f4))/0x4+parseInt(_0x21cd68(0x1f8))/0x5+parseInt(_0x21cd68(0x203))/0x6*(parseInt(_0x21cd68(0x1f3))/0x7)+-parseInt(_0x21cd68(0x20d))/0x8*(parseInt(_0x21cd68(0x205))/0x9);if(_0x40ee54===_0xa9ad34)break;else _0x387ca9['push'](_0x387ca9['shift']());}catch(_0x2ef09d){_0x387ca9['push'](_0x387ca9['shift']());}}}(_0x5a25,0xcb155));Object[_0x32baa7(0x20a)](exports,Symbol['toStringTag'],{'value':_0x32baa7(0x213)});const t=require(_0x32baa7(0x1f2)),b=require('@univerjs-pro/collaboration'),c=require(_0x32baa7(0x210)),v=require('rxjs');var h=Object[_0x32baa7(0x20a)],u=Object['getOwnPropertyDescriptor'],_=(_0x40f9c1,_0x2a27ca,_0x19665b,_0x5cb242)=>{for(var _0x531240=_0x5cb242>0x1?void 0x0:_0x5cb242?u(_0x2a27ca,_0x19665b):_0x2a27ca,_0x464757=_0x40f9c1['length']-0x1,_0x5696ae;_0x464757>=0x0;_0x464757--)(_0x5696ae=_0x40f9c1[_0x464757])&&(_0x531240=(_0x5cb242?_0x5696ae(_0x2a27ca,_0x19665b,_0x531240):_0x5696ae(_0x531240))||_0x531240);return _0x5cb242&&_0x531240&&h(_0x2a27ca,_0x19665b,_0x531240),_0x531240;},s=(_0x8ac01a,_0x5efb10)=>(_0x12b4e5,_0x46e41c)=>_0x5efb10(_0x12b4e5,_0x46e41c,_0x8ac01a);exports['FCollaboration']=class extends t['FBase']{constructor(_0x1b29f4,_0x4b4934,_0x10940b,_0x270162,_0x5b4845){var _0x21a6a7=_0x32baa7;super(),this[_0x21a6a7(0x204)]=_0x1b29f4,this[_0x21a6a7(0x20e)]=_0x4b4934,this[_0x21a6a7(0x1ef)]=_0x10940b,this[_0x21a6a7(0x1fd)]=_0x270162,this[_0x21a6a7(0x1fb)]=_0x5b4845;}async[_0x32baa7(0x207)](){var _0x1755ff=_0x32baa7;throw new Error(_0x1755ff(0x206));}async[_0x32baa7(0x208)](_0x2279c7){var _0x266c6e=_0x32baa7;return this['_univerInstanceService'][_0x266c6e(0x1f0)](_0x2279c7,t[_0x266c6e(0x20c)][_0x266c6e(0x20b)])||await this[_0x266c6e(0x1fd)][_0x266c6e(0x208)](_0x2279c7,0x0)?(await this['_collaborationController'][_0x266c6e(0x209)](_0x2279c7),this[_0x266c6e(0x204)]['getUniverSheet'](_0x2279c7)):null;}['subscribeCollaborators'](_0x5ac007,_0x2af1c3){var _0x14550b=_0x32baa7;const _0x6723c3=this[_0x14550b(0x20e)][_0x14550b(0x201)](c['MemberService'])['waitForRoom$'](_0x5ac007)[_0x14550b(0x1fe)](v[_0x14550b(0x211)](_0x5e6aa4=>_0x5e6aa4['members$']))['subscribe'](_0x33081a=>_0x2af1c3(Array[_0x14550b(0x1f9)](_0x33081a['values']())));return t['toDisposable'](_0x6723c3);}},exports[_0x32baa7(0x200)]=_([s(0x1,t['Inject'](t[_0x32baa7(0x1f1)])),s(0x2,t[_0x32baa7(0x1f5)]),s(0x3,t[_0x32baa7(0x1ff)](b['SnapshotService'])),s(0x4,t[_0x32baa7(0x1ff)](c['CollaborationController']))],exports['FCollaboration']);class S extends t[_0x32baa7(0x212)]{[_0x32baa7(0x1f6)](){var _0x191f3a=_0x32baa7;return this[_0x191f3a(0x20e)][_0x191f3a(0x1fc)](exports[_0x191f3a(0x200)],{'getUniverSheet':_0x206009=>this[_0x191f3a(0x1f7)](_0x206009)});}}t[_0x32baa7(0x212)][_0x32baa7(0x202)](S);function _0x5a25(){var _0x116e8b=['@univerjs-pro/collaboration-client','switchMap','FUniver','Module','2500329kpkLVN','_univerInstanceService','getUnit','Injector','@univerjs/core','42UcsmEK','2647244IzGoGj','IUniverInstanceService','getCollaboration','getUniverSheet','2528265dgQDwU','from','795945uDcyFw','_collaborationController','createInstance','_snapshotService','pipe','Inject','FCollaboration','get','extend','34626vycJth','_handler','3989484FRBDqZ','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','loadSheet','readyForCollab','defineProperty','UNIVER_SHEET','UniverInstanceType','32cSPKbh','_injector','453090fPpKdg'];_0x5a25=function(){return _0x116e8b;};return _0x5a25();}
1
+ 'use strict';var _0x60c014=_0x1afd;(function(_0x3611fc,_0x3ec901){var _0x1d167f=_0x1afd,_0x3c0807=_0x3611fc();while(!![]){try{var _0x49a643=parseInt(_0x1d167f(0x15f))/0x1*(-parseInt(_0x1d167f(0x153))/0x2)+parseInt(_0x1d167f(0x178))/0x3*(-parseInt(_0x1d167f(0x16b))/0x4)+parseInt(_0x1d167f(0x16d))/0x5+-parseInt(_0x1d167f(0x174))/0x6*(parseInt(_0x1d167f(0x167))/0x7)+-parseInt(_0x1d167f(0x179))/0x8*(-parseInt(_0x1d167f(0x165))/0x9)+-parseInt(_0x1d167f(0x15d))/0xa*(parseInt(_0x1d167f(0x172))/0xb)+-parseInt(_0x1d167f(0x16e))/0xc*(-parseInt(_0x1d167f(0x162))/0xd);if(_0x49a643===_0x3ec901)break;else _0x3c0807['push'](_0x3c0807['shift']());}catch(_0x307751){_0x3c0807['push'](_0x3c0807['shift']());}}}(_0x4a42,0xa0d0c));function _0x1afd(_0x42696d,_0x26d43b){var _0x4a4204=_0x4a42();return _0x1afd=function(_0x1afdf8,_0x567f10){_0x1afdf8=_0x1afdf8-0x14c;var _0x39160a=_0x4a4204[_0x1afdf8];return _0x39160a;},_0x1afd(_0x42696d,_0x26d43b);}function _0x4a42(){var _0x17d23d=['FUniver','2103773YQrKnS','Module','CollaborationController','toDisposable','17692hZwEoA','FCollaboration','3924565mnHtzl','8006892VPHken','_handler','Injector','FBase','297zEjSXF','from','18BDZYWJ','@univerjs-pro/collaboration-client','getCollaboration','rxjs','537sNYwhr','101656UXrcVV','pipe','_injector','UNIVER_SHEET','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheet','get','loadSheet','_collaborationController','444kglFKE','UniverInstanceType','readyForCollab','IUniverInstanceService','extend','waitForRoom$','Inject','_snapshotService','_univerInstanceService','MemberService','210050AUAtXG','getUniverSheet','3238TcbulE','SnapshotService','@univerjs-pro/collaboration','39JhKXvF','defineProperty','values','603lsAkJr'];_0x4a42=function(){return _0x17d23d;};return _0x4a42();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x60c014(0x168)});const t=require('@univerjs/core'),b=require(_0x60c014(0x161)),c=require(_0x60c014(0x175)),v=require(_0x60c014(0x177));var h=Object[_0x60c014(0x163)],u=Object['getOwnPropertyDescriptor'],_=(_0x90af12,_0x36ddb8,_0x5d6a5f,_0x1af267)=>{for(var _0x1d2778=_0x1af267>0x1?void 0x0:_0x1af267?u(_0x36ddb8,_0x5d6a5f):_0x36ddb8,_0x49e28a=_0x90af12['length']-0x1,_0x6b5ee;_0x49e28a>=0x0;_0x49e28a--)(_0x6b5ee=_0x90af12[_0x49e28a])&&(_0x1d2778=(_0x1af267?_0x6b5ee(_0x36ddb8,_0x5d6a5f,_0x1d2778):_0x6b5ee(_0x1d2778))||_0x1d2778);return _0x1af267&&_0x1d2778&&h(_0x36ddb8,_0x5d6a5f,_0x1d2778),_0x1d2778;},s=(_0x4a3ab7,_0x479162)=>(_0x41f67c,_0x38791f)=>_0x479162(_0x41f67c,_0x38791f,_0x4a3ab7);exports[_0x60c014(0x16c)]=class extends t[_0x60c014(0x171)]{constructor(_0x1216c5,_0x11b212,_0x2016cf,_0x1bb047,_0x3e2f9e){var _0x39315d=_0x60c014;super(),this['_handler']=_0x1216c5,this[_0x39315d(0x17b)]=_0x11b212,this['_univerInstanceService']=_0x2016cf,this[_0x39315d(0x15a)]=_0x1bb047,this['_collaborationController']=_0x3e2f9e;}async[_0x60c014(0x14f)](){var _0x44197c=_0x60c014;throw new Error(_0x44197c(0x14e));}async[_0x60c014(0x151)](_0x19f81c){var _0x30ea06=_0x60c014;return this[_0x30ea06(0x15b)]['getUnit'](_0x19f81c,t[_0x30ea06(0x154)][_0x30ea06(0x14c)])||await this[_0x30ea06(0x15a)][_0x30ea06(0x151)](_0x19f81c,0x0)?(await this[_0x30ea06(0x152)][_0x30ea06(0x155)](_0x19f81c),this[_0x30ea06(0x16f)][_0x30ea06(0x15e)](_0x19f81c)):null;}['subscribeCollaborators'](_0xc07d7b,_0x221c73){var _0x543e4c=_0x60c014;const _0x592db0=this[_0x543e4c(0x17b)][_0x543e4c(0x150)](c[_0x543e4c(0x15c)])[_0x543e4c(0x158)](_0xc07d7b)[_0x543e4c(0x17a)](v[_0x543e4c(0x14d)](_0x5aefe0=>_0x5aefe0['members$']))['subscribe'](_0x70cba4=>_0x221c73(Array[_0x543e4c(0x173)](_0x70cba4[_0x543e4c(0x164)]())));return t[_0x543e4c(0x16a)](_0x592db0);}},exports[_0x60c014(0x16c)]=_([s(0x1,t['Inject'](t[_0x60c014(0x170)])),s(0x2,t[_0x60c014(0x156)]),s(0x3,t[_0x60c014(0x159)](b[_0x60c014(0x160)])),s(0x4,t[_0x60c014(0x159)](c[_0x60c014(0x169)]))],exports[_0x60c014(0x16c)]);class S extends t[_0x60c014(0x166)]{[_0x60c014(0x176)](){var _0x27975e=_0x60c014;return this[_0x27975e(0x17b)]['createInstance'](exports[_0x27975e(0x16c)],{'getUniverSheet':_0x157129=>this[_0x27975e(0x15e)](_0x157129)});}}t[_0x60c014(0x166)][_0x60c014(0x157)](S);