@univerjs-pro/collaboration-client 0.5.2-nightly.202412291605 → 0.5.2-nightly.202412311606

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 _0x20997b=_0x2423;(function(_0x443f97,_0x10392c){var _0x5e6e04=_0x2423,_0xa2e6=_0x443f97();while(!![]){try{var _0x30f0f7=-parseInt(_0x5e6e04(0x1c0))/0x1+parseInt(_0x5e6e04(0x1c7))/0x2*(parseInt(_0x5e6e04(0x1c6))/0x3)+parseInt(_0x5e6e04(0x1d9))/0x4+parseInt(_0x5e6e04(0x1d6))/0x5*(-parseInt(_0x5e6e04(0x1db))/0x6)+-parseInt(_0x5e6e04(0x1bf))/0x7*(parseInt(_0x5e6e04(0x1b7))/0x8)+parseInt(_0x5e6e04(0x1d7))/0x9*(parseInt(_0x5e6e04(0x1bd))/0xa)+-parseInt(_0x5e6e04(0x1d0))/0xb;if(_0x30f0f7===_0x10392c)break;else _0xa2e6['push'](_0xa2e6['shift']());}catch(_0x43649a){_0xa2e6['push'](_0xa2e6['shift']());}}}(_0x2a1d,0x5ae4c));function _0x2423(_0x5192ee,_0x33610b){var _0x2a1d32=_0x2a1d();return _0x2423=function(_0x24231a,_0x2df4da){_0x24231a=_0x24231a-0x1b5;var _0x2a6d9c=_0x2a1d32[_0x24231a];return _0x2a6d9c;},_0x2423(_0x5192ee,_0x33610b);}Object[_0x20997b(0x1dd)](exports,Symbol['toStringTag'],{'value':_0x20997b(0x1b9)});const t=require(_0x20997b(0x1cf)),b=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),v=require(_0x20997b(0x1c3));function _0x2a1d(){var _0x2396af=['2103332amfOcT','UNIVER_SHEET','UniverInstanceType','_collaborationController','_univerInstanceService','createInstance','137135IDvaxh','9vmyopC','Inject','2697868BNosZZ','_snapshotService','18oLenAq','FCollaboration','defineProperty','waitForRoom$','getUniverSheet','loadActiveSheet','length','pipe','IUniverInstanceService','24FkYRVW','toDisposable','Module','subscribe','from','loadSheet','4317550humskF','getOwnPropertyDescriptor','242921ipFnuq','529717iXhRRS','getUnit','values','rxjs','SnapshotService','_injector','22617HBfJzq','46bASSeZ','_handler','members$','Injector','subscribeCollaborators','FUniver','get','switchMap','@univerjs/core'];_0x2a1d=function(){return _0x2396af;};return _0x2a1d();}var h=Object[_0x20997b(0x1dd)],u=Object[_0x20997b(0x1be)],_=(_0x3be22c,_0xc02b97,_0x1741d9,_0x25672c)=>{var _0x5e45eb=_0x20997b;for(var _0x254ce2=_0x25672c>0x1?void 0x0:_0x25672c?u(_0xc02b97,_0x1741d9):_0xc02b97,_0x11491f=_0x3be22c[_0x5e45eb(0x1e1)]-0x1,_0xf2eec1;_0x11491f>=0x0;_0x11491f--)(_0xf2eec1=_0x3be22c[_0x11491f])&&(_0x254ce2=(_0x25672c?_0xf2eec1(_0xc02b97,_0x1741d9,_0x254ce2):_0xf2eec1(_0x254ce2))||_0x254ce2);return _0x25672c&&_0x254ce2&&h(_0xc02b97,_0x1741d9,_0x254ce2),_0x254ce2;},s=(_0x14f699,_0x58f1b7)=>(_0x50a83f,_0x4a1a28)=>_0x58f1b7(_0x50a83f,_0x4a1a28,_0x14f699);exports[_0x20997b(0x1dc)]=class extends t['FBase']{constructor(_0x128dbd,_0x59ca84,_0x300035,_0x1d87f5,_0x334f81){var _0x1205d9=_0x20997b;super(),this[_0x1205d9(0x1c8)]=_0x128dbd,this[_0x1205d9(0x1c5)]=_0x59ca84,this[_0x1205d9(0x1d4)]=_0x300035,this[_0x1205d9(0x1da)]=_0x1d87f5,this[_0x1205d9(0x1d3)]=_0x334f81;}async[_0x20997b(0x1e0)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x20997b(0x1bc)](_0x8ff145){var _0x268194=_0x20997b;return this[_0x268194(0x1d4)][_0x268194(0x1c1)](_0x8ff145,t[_0x268194(0x1d2)][_0x268194(0x1d1)])||await this['_snapshotService'][_0x268194(0x1bc)](_0x8ff145,0x0)?(await this[_0x268194(0x1d3)]['readyForCollab'](_0x8ff145),this[_0x268194(0x1c8)][_0x268194(0x1df)](_0x8ff145)):null;}[_0x20997b(0x1cb)](_0x1d81e7,_0x2f1fde){var _0x20780d=_0x20997b;const _0x1ff01e=this[_0x20780d(0x1c5)][_0x20780d(0x1cd)](c['MemberService'])[_0x20780d(0x1de)](_0x1d81e7)[_0x20780d(0x1b5)](v[_0x20780d(0x1ce)](_0x47270a=>_0x47270a[_0x20780d(0x1c9)]))[_0x20780d(0x1ba)](_0x1461ef=>_0x2f1fde(Array[_0x20780d(0x1bb)](_0x1461ef[_0x20780d(0x1c2)]())));return t[_0x20780d(0x1b8)](_0x1ff01e);}},exports[_0x20997b(0x1dc)]=_([s(0x1,t[_0x20997b(0x1d8)](t[_0x20997b(0x1ca)])),s(0x2,t[_0x20997b(0x1b6)]),s(0x3,t[_0x20997b(0x1d8)](b[_0x20997b(0x1c4)])),s(0x4,t['Inject'](c['CollaborationController']))],exports[_0x20997b(0x1dc)]);class S extends t['FUniver']{['getCollaboration'](){var _0x370cb5=_0x20997b;return this[_0x370cb5(0x1c5)][_0x370cb5(0x1d5)](exports['FCollaboration'],{'getUniverSheet':_0x17434f=>this['getUniverSheet'](_0x17434f)});}}t[_0x20997b(0x1cc)]['extend'](S);
1
+ 'use strict';function _0x5a3f(){var _0x6a8664=['subscribeCollaborators','UNIVER_SHEET','7eOskSJ','FUniver','3112TSWAzu','waitForRoom$','Inject','get','34407bbZeSA','createInstance','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','696104KYhWXE','subscribe','4430tbnXZL','2011770qAjmXW','@univerjs/core','2977136xkThBN','133798qEOYgu','defineProperty','@univerjs-pro/collaboration-client','getUniverSheet','CollaborationController','rxjs','from','2010IaJjvo','_handler','length','Injector','pipe','3356178aGyxSP','toStringTag','toDisposable','_collaborationController','_snapshotService','_univerInstanceService','UniverInstanceType','_injector','@univerjs-pro/collaboration','FCollaboration','values','switchMap','loadSheet'];_0x5a3f=function(){return _0x6a8664;};return _0x5a3f();}var _0x12ec9b=_0x5580;(function(_0x43c21f,_0x5ace82){var _0x46f3de=_0x5580,_0x298c49=_0x43c21f();while(!![]){try{var _0x5a799b=parseInt(_0x46f3de(0xe5))/0x1+-parseInt(_0x46f3de(0xdf))/0x2+parseInt(_0x46f3de(0xec))/0x3*(-parseInt(_0x46f3de(0xd7))/0x4)+-parseInt(_0x46f3de(0xe2))/0x5+parseInt(_0x46f3de(0xc6))/0x6*(-parseInt(_0x46f3de(0xd5))/0x7)+parseInt(_0x46f3de(0xe4))/0x8+-parseInt(_0x46f3de(0xdb))/0x9*(-parseInt(_0x46f3de(0xe1))/0xa);if(_0x5a799b===_0x5ace82)break;else _0x298c49['push'](_0x298c49['shift']());}catch(_0x1cf6f7){_0x298c49['push'](_0x298c49['shift']());}}}(_0x5a3f,0x59f74));Object[_0x12ec9b(0xe6)](exports,Symbol[_0x12ec9b(0xc7)],{'value':'Module'});function _0x5580(_0x28686c,_0x5d7168){var _0x5a3f5b=_0x5a3f();return _0x5580=function(_0x5580b1,_0xd4d451){_0x5580b1=_0x5580b1-0xc2;var _0x471928=_0x5a3f5b[_0x5580b1];return _0x471928;},_0x5580(_0x28686c,_0x5d7168);}const t=require(_0x12ec9b(0xe3)),b=require(_0x12ec9b(0xce)),c=require(_0x12ec9b(0xe7)),v=require(_0x12ec9b(0xea));var h=Object[_0x12ec9b(0xe6)],u=Object['getOwnPropertyDescriptor'],_=(_0x3cffbd,_0x328f69,_0x22d1be,_0xd32080)=>{var _0x1a5382=_0x12ec9b;for(var _0x19a5e1=_0xd32080>0x1?void 0x0:_0xd32080?u(_0x328f69,_0x22d1be):_0x328f69,_0x5e6db1=_0x3cffbd[_0x1a5382(0xc3)]-0x1,_0x128f31;_0x5e6db1>=0x0;_0x5e6db1--)(_0x128f31=_0x3cffbd[_0x5e6db1])&&(_0x19a5e1=(_0xd32080?_0x128f31(_0x328f69,_0x22d1be,_0x19a5e1):_0x128f31(_0x19a5e1))||_0x19a5e1);return _0xd32080&&_0x19a5e1&&h(_0x328f69,_0x22d1be,_0x19a5e1),_0x19a5e1;},s=(_0x5790f1,_0xa09133)=>(_0x4e0420,_0x1f3df7)=>_0xa09133(_0x4e0420,_0x1f3df7,_0x5790f1);exports[_0x12ec9b(0xcf)]=class extends t['FBase']{constructor(_0x3bdbf9,_0x59541f,_0x35d9ad,_0x5bf306,_0x1f17ce){var _0x11bcc9=_0x12ec9b;super(),this[_0x11bcc9(0xc2)]=_0x3bdbf9,this[_0x11bcc9(0xcd)]=_0x59541f,this['_univerInstanceService']=_0x35d9ad,this['_snapshotService']=_0x5bf306,this[_0x11bcc9(0xc9)]=_0x1f17ce;}async['loadActiveSheet'](){var _0x5b603c=_0x12ec9b;throw new Error(_0x5b603c(0xdd));}async[_0x12ec9b(0xd2)](_0x359f39){var _0x114ebb=_0x12ec9b;return this[_0x114ebb(0xcb)]['getUnit'](_0x359f39,t[_0x114ebb(0xcc)][_0x114ebb(0xd4)])||await this[_0x114ebb(0xca)]['loadSheet'](_0x359f39,0x0)?(await this[_0x114ebb(0xc9)]['readyForCollab'](_0x359f39),this['_handler'][_0x114ebb(0xe8)](_0x359f39)):null;}[_0x12ec9b(0xd3)](_0x15624f,_0x14c605){var _0x5b9bca=_0x12ec9b;const _0x481fe4=this['_injector'][_0x5b9bca(0xda)](c['MemberService'])[_0x5b9bca(0xd8)](_0x15624f)[_0x5b9bca(0xc5)](v[_0x5b9bca(0xd1)](_0x263609=>_0x263609['members$']))[_0x5b9bca(0xe0)](_0x3572fb=>_0x14c605(Array[_0x5b9bca(0xeb)](_0x3572fb[_0x5b9bca(0xd0)]())));return t[_0x5b9bca(0xc8)](_0x481fe4);}},exports[_0x12ec9b(0xcf)]=_([s(0x1,t[_0x12ec9b(0xd9)](t[_0x12ec9b(0xc4)])),s(0x2,t['IUniverInstanceService']),s(0x3,t[_0x12ec9b(0xd9)](b[_0x12ec9b(0xde)])),s(0x4,t[_0x12ec9b(0xd9)](c[_0x12ec9b(0xe9)]))],exports[_0x12ec9b(0xcf)]);class S extends t[_0x12ec9b(0xd6)]{['getCollaboration'](){var _0x1e0403=_0x12ec9b;return this[_0x1e0403(0xcd)][_0x1e0403(0xdc)](exports[_0x1e0403(0xcf)],{'getUniverSheet':_0x34317c=>this[_0x1e0403(0xe8)](_0x34317c)});}}t[_0x12ec9b(0xd6)]['extend'](S);