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

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';var _0x4ce3b2=_0x2a3d;function _0x14f9(){var _0x106728=['_univerInstanceService','FCollaboration','UNIVER_SHEET','104WUJqli','116847LFKkdw','_snapshotService','320593nazIRt','pipe','@univerjs-pro/collaboration','switchMap','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','77ryjLFe','180MCWqso','UniverInstanceType','Inject','length','members$','@univerjs/core','rxjs','2266925PqYnvI','values','loadActiveSheet','get','readyForCollab','_collaborationController','getUniverSheet','Module','MemberService','194481WGYBYe','defineProperty','FBase','960BqobBV','FUniver','SnapshotService','from','getOwnPropertyDescriptor','getCollaboration','_injector','1285420qUdXKY','5344DWjgXc','2895772yXTuWm','loadSheet','@univerjs-pro/collaboration-client','Injector'];_0x14f9=function(){return _0x106728;};return _0x14f9();}(function(_0x2420b6,_0x317589){var _0x5c8bf9=_0x2a3d,_0x3f5c37=_0x2420b6();while(!![]){try{var _0x585753=-parseInt(_0x5c8bf9(0x125))/0x1+parseInt(_0x5c8bf9(0x11a))/0x2*(-parseInt(_0x5c8bf9(0x112))/0x3)+-parseInt(_0x5c8bf9(0x11b))/0x4+parseInt(_0x5c8bf9(0x133))/0x5+-parseInt(_0x5c8bf9(0x12c))/0x6*(-parseInt(_0x5c8bf9(0x10f))/0x7)+-parseInt(_0x5c8bf9(0x122))/0x8*(-parseInt(_0x5c8bf9(0x123))/0x9)+parseInt(_0x5c8bf9(0x119))/0xa*(parseInt(_0x5c8bf9(0x12b))/0xb);if(_0x585753===_0x317589)break;else _0x3f5c37['push'](_0x3f5c37['shift']());}catch(_0x5b0687){_0x3f5c37['push'](_0x3f5c37['shift']());}}}(_0x14f9,0x6f4c0));Object[_0x4ce3b2(0x110)](exports,Symbol['toStringTag'],{'value':_0x4ce3b2(0x10d)});const t=require(_0x4ce3b2(0x131)),b=require(_0x4ce3b2(0x127)),c=require(_0x4ce3b2(0x11d)),v=require(_0x4ce3b2(0x132));var h=Object[_0x4ce3b2(0x110)],u=Object[_0x4ce3b2(0x116)],_=(_0x263877,_0x117523,_0x3cd41f,_0x4b3bea)=>{var _0x3472db=_0x4ce3b2;for(var _0x3eec97=_0x4b3bea>0x1?void 0x0:_0x4b3bea?u(_0x117523,_0x3cd41f):_0x117523,_0x2a8da1=_0x263877[_0x3472db(0x12f)]-0x1,_0x5b7961;_0x2a8da1>=0x0;_0x2a8da1--)(_0x5b7961=_0x263877[_0x2a8da1])&&(_0x3eec97=(_0x4b3bea?_0x5b7961(_0x117523,_0x3cd41f,_0x3eec97):_0x5b7961(_0x3eec97))||_0x3eec97);return _0x4b3bea&&_0x3eec97&&h(_0x117523,_0x3cd41f,_0x3eec97),_0x3eec97;},s=(_0x21f5c9,_0x3debbd)=>(_0x592433,_0x5472a4)=>_0x3debbd(_0x592433,_0x5472a4,_0x21f5c9);exports[_0x4ce3b2(0x120)]=class extends t[_0x4ce3b2(0x111)]{constructor(_0x19a2e7,_0x5ee1b7,_0x260308,_0x599577,_0x110502){var _0x5e19e6=_0x4ce3b2;super(),this['_handler']=_0x19a2e7,this['_injector']=_0x5ee1b7,this[_0x5e19e6(0x11f)]=_0x260308,this[_0x5e19e6(0x124)]=_0x599577,this[_0x5e19e6(0x138)]=_0x110502;}async[_0x4ce3b2(0x135)](){var _0x34165f=_0x4ce3b2;throw new Error(_0x34165f(0x12a));}async[_0x4ce3b2(0x11c)](_0x25a272){var _0x1db2e0=_0x4ce3b2;return this[_0x1db2e0(0x11f)]['getUnit'](_0x25a272,t[_0x1db2e0(0x12d)][_0x1db2e0(0x121)])||await this[_0x1db2e0(0x124)][_0x1db2e0(0x11c)](_0x25a272,0x0)?(await this[_0x1db2e0(0x138)][_0x1db2e0(0x137)](_0x25a272),this['_handler'][_0x1db2e0(0x10c)](_0x25a272)):null;}['subscribeCollaborators'](_0x3ad267,_0x165d6f){var _0x1aa7be=_0x4ce3b2;const _0x124efe=this['_injector'][_0x1aa7be(0x136)](c[_0x1aa7be(0x10e)])['waitForRoom$'](_0x3ad267)[_0x1aa7be(0x126)](v[_0x1aa7be(0x128)](_0x4148d7=>_0x4148d7[_0x1aa7be(0x130)]))['subscribe'](_0x1f9afb=>_0x165d6f(Array[_0x1aa7be(0x115)](_0x1f9afb[_0x1aa7be(0x134)]())));return t['toDisposable'](_0x124efe);}},exports[_0x4ce3b2(0x120)]=_([s(0x1,t['Inject'](t[_0x4ce3b2(0x11e)])),s(0x2,t[_0x4ce3b2(0x129)]),s(0x3,t[_0x4ce3b2(0x12e)](b[_0x4ce3b2(0x114)])),s(0x4,t[_0x4ce3b2(0x12e)](c['CollaborationController']))],exports[_0x4ce3b2(0x120)]);function _0x2a3d(_0x1859f4,_0x133e05){var _0x14f978=_0x14f9();return _0x2a3d=function(_0x2a3d26,_0x77449c){_0x2a3d26=_0x2a3d26-0x10c;var _0x11c8ed=_0x14f978[_0x2a3d26];return _0x11c8ed;},_0x2a3d(_0x1859f4,_0x133e05);}class S extends t['FUniver']{[_0x4ce3b2(0x117)](){var _0x492bd=_0x4ce3b2;return this[_0x492bd(0x118)]['createInstance'](exports[_0x492bd(0x120)],{'getUniverSheet':_0x1eb1ab=>this[_0x492bd(0x10c)](_0x1eb1ab)});}}t[_0x4ce3b2(0x113)]['extend'](S);