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

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';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);
1
+ 'use strict';function _0x2ee5(){var _0x2eda96=['76476KsUcwP','MemberService','7zQGbLj','values','FUniver','UniverInstanceType','_handler','defineProperty','@univerjs-pro/collaboration-client','8341102GxHKiC','3mQHWWo','@univerjs/core','length','from','FCollaboration','69mFCOEO','FBase','CollaborationController','Inject','toDisposable','@univerjs-pro/collaboration','_snapshotService','205792sVeZpU','getUniverSheet','switchMap','extend','toStringTag','_injector','getOwnPropertyDescriptor','rxjs','3526290ShrphC','subscribeCollaborators','Injector','_univerInstanceService','2020554FvdANd','SnapshotService','loadSheet','1983928TACrTP','readyForCollab','145XFSyBf','subscribe','35356ElJCZU','pipe','getCollaboration','createInstance','_collaborationController'];_0x2ee5=function(){return _0x2eda96;};return _0x2ee5();}var _0x30e6e1=_0x3ecd;(function(_0x3fbbf3,_0x24df73){var _0x59b0be=_0x3ecd,_0x48e3d9=_0x3fbbf3();while(!![]){try{var _0x5533e0=-parseInt(_0x59b0be(0xbf))/0x1*(-parseInt(_0x59b0be(0xcb))/0x2)+-parseInt(_0x59b0be(0xc4))/0x3*(-parseInt(_0x59b0be(0xde))/0x4)+-parseInt(_0x59b0be(0xdc))/0x5*(parseInt(_0x59b0be(0xe3))/0x6)+-parseInt(_0x59b0be(0xb7))/0x7*(-parseInt(_0x59b0be(0xda))/0x8)+parseInt(_0x59b0be(0xd7))/0x9+parseInt(_0x59b0be(0xd3))/0xa+-parseInt(_0x59b0be(0xbe))/0xb;if(_0x5533e0===_0x24df73)break;else _0x48e3d9['push'](_0x48e3d9['shift']());}catch(_0x46987f){_0x48e3d9['push'](_0x48e3d9['shift']());}}}(_0x2ee5,0x3312b));Object[_0x30e6e1(0xbc)](exports,Symbol[_0x30e6e1(0xcf)],{'value':'Module'});const t=require(_0x30e6e1(0xc0)),b=require(_0x30e6e1(0xc9)),c=require(_0x30e6e1(0xbd)),v=require(_0x30e6e1(0xd2));var h=Object[_0x30e6e1(0xbc)],u=Object[_0x30e6e1(0xd1)],_=(_0x5b10d8,_0x4b1562,_0x13d416,_0x1f806c)=>{var _0xcf4f35=_0x30e6e1;for(var _0x533cd2=_0x1f806c>0x1?void 0x0:_0x1f806c?u(_0x4b1562,_0x13d416):_0x4b1562,_0x4d1d55=_0x5b10d8[_0xcf4f35(0xc1)]-0x1,_0x132c92;_0x4d1d55>=0x0;_0x4d1d55--)(_0x132c92=_0x5b10d8[_0x4d1d55])&&(_0x533cd2=(_0x1f806c?_0x132c92(_0x4b1562,_0x13d416,_0x533cd2):_0x132c92(_0x533cd2))||_0x533cd2);return _0x1f806c&&_0x533cd2&&h(_0x4b1562,_0x13d416,_0x533cd2),_0x533cd2;},s=(_0xaec03a,_0x5db996)=>(_0x59d822,_0x2827de)=>_0x5db996(_0x59d822,_0x2827de,_0xaec03a);function _0x3ecd(_0x3a1881,_0x30ac27){var _0x2ee590=_0x2ee5();return _0x3ecd=function(_0x3ecd16,_0x1a4154){_0x3ecd16=_0x3ecd16-0xb6;var _0x1152de=_0x2ee590[_0x3ecd16];return _0x1152de;},_0x3ecd(_0x3a1881,_0x30ac27);}exports[_0x30e6e1(0xc3)]=class extends t[_0x30e6e1(0xc5)]{constructor(_0x388c6c,_0xeed63f,_0x4a893c,_0x1270e8,_0x1a4c2a){var _0x74674b=_0x30e6e1;super(),this[_0x74674b(0xbb)]=_0x388c6c,this[_0x74674b(0xd0)]=_0xeed63f,this[_0x74674b(0xd6)]=_0x4a893c,this[_0x74674b(0xca)]=_0x1270e8,this[_0x74674b(0xe2)]=_0x1a4c2a;}async['loadActiveSheet'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x30e6e1(0xd9)](_0x5b24fc){var _0x3da611=_0x30e6e1;return this[_0x3da611(0xd6)]['getUnit'](_0x5b24fc,t[_0x3da611(0xba)]['UNIVER_SHEET'])||await this[_0x3da611(0xca)][_0x3da611(0xd9)](_0x5b24fc,0x0)?(await this[_0x3da611(0xe2)][_0x3da611(0xdb)](_0x5b24fc),this['_handler'][_0x3da611(0xcc)](_0x5b24fc)):null;}[_0x30e6e1(0xd4)](_0x2df7f2,_0x29c81b){var _0x10be69=_0x30e6e1;const _0x2a9577=this[_0x10be69(0xd0)]['get'](c[_0x10be69(0xb6)])['waitForRoom$'](_0x2df7f2)[_0x10be69(0xdf)](v[_0x10be69(0xcd)](_0x4ed817=>_0x4ed817['members$']))[_0x10be69(0xdd)](_0x5855a6=>_0x29c81b(Array[_0x10be69(0xc2)](_0x5855a6[_0x10be69(0xb8)]())));return t[_0x10be69(0xc8)](_0x2a9577);}},exports['FCollaboration']=_([s(0x1,t['Inject'](t[_0x30e6e1(0xd5)])),s(0x2,t['IUniverInstanceService']),s(0x3,t[_0x30e6e1(0xc7)](b[_0x30e6e1(0xd8)])),s(0x4,t[_0x30e6e1(0xc7)](c[_0x30e6e1(0xc6)]))],exports[_0x30e6e1(0xc3)]);class S extends t['FUniver']{[_0x30e6e1(0xe0)](){var _0x431329=_0x30e6e1;return this[_0x431329(0xd0)][_0x431329(0xe1)](exports[_0x431329(0xc3)],{'getUniverSheet':_0x5f5dea=>this[_0x431329(0xcc)](_0x5f5dea)});}}t[_0x30e6e1(0xb9)][_0x30e6e1(0xce)](S);