@univerjs-pro/collaboration-client 0.5.2-nightly.202412301606 → 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 _0x184106=_0x3ed5;(function(_0xca5d2e,_0x1dbe0e){var _0x19c48b=_0x3ed5,_0x502a6b=_0xca5d2e();while(!![]){try{var _0x17d7e0=parseInt(_0x19c48b(0xf9))/0x1*(parseInt(_0x19c48b(0xff))/0x2)+parseInt(_0x19c48b(0xef))/0x3*(parseInt(_0x19c48b(0xd8))/0x4)+parseInt(_0x19c48b(0xf6))/0x5+-parseInt(_0x19c48b(0xe9))/0x6*(parseInt(_0x19c48b(0xeb))/0x7)+-parseInt(_0x19c48b(0xe7))/0x8*(-parseInt(_0x19c48b(0xf8))/0x9)+parseInt(_0x19c48b(0xe6))/0xa*(parseInt(_0x19c48b(0xe2))/0xb)+-parseInt(_0x19c48b(0xe3))/0xc;if(_0x17d7e0===_0x1dbe0e)break;else _0x502a6b['push'](_0x502a6b['shift']());}catch(_0x3e0be9){_0x502a6b['push'](_0x502a6b['shift']());}}}(_0x2bde,0xddc71));function _0x2bde(){var _0x563e31=['319305tOWXWT','FCollaboration','2556999UXroIL','362437wBNpzP','_injector','getUniverSheet','rxjs','_collaborationController','@univerjs-pro/collaboration','2SRQNMO','FBase','values','loadSheet','extend','subscribe','subscribeCollaborators','length','13984PpdKRk','FUniver','UNIVER_SHEET','members$','CollaborationController','toDisposable','Injector','_snapshotService','getCollaboration','_univerInstanceService','33TVpVub','20189472ZXUwBS','UniverInstanceType','from','2787930gSMlfG','40ClwlBW','SnapshotService','10926YqrcmI','_handler','3997NTQMcV','getUnit','Module','readyForCollab','813LZjiej','defineProperty','get','Inject','waitForRoom$','createInstance','pipe'];_0x2bde=function(){return _0x563e31;};return _0x2bde();}Object[_0x184106(0xf0)](exports,Symbol['toStringTag'],{'value':_0x184106(0xed)});function _0x3ed5(_0x58c1ff,_0x576918){var _0x2bde37=_0x2bde();return _0x3ed5=function(_0x3ed562,_0x3bcf17){_0x3ed562=_0x3ed562-0xd3;var _0x3949e6=_0x2bde37[_0x3ed562];return _0x3949e6;},_0x3ed5(_0x58c1ff,_0x576918);}const t=require('@univerjs/core'),b=require(_0x184106(0xfe)),c=require('@univerjs-pro/collaboration-client'),v=require(_0x184106(0xfc));var h=Object[_0x184106(0xf0)],u=Object['getOwnPropertyDescriptor'],_=(_0x47795e,_0xf41261,_0x2d1c48,_0x4ee57c)=>{var _0xb848e5=_0x184106;for(var _0x32d7e7=_0x4ee57c>0x1?void 0x0:_0x4ee57c?u(_0xf41261,_0x2d1c48):_0xf41261,_0x505243=_0x47795e[_0xb848e5(0xd7)]-0x1,_0x34486b;_0x505243>=0x0;_0x505243--)(_0x34486b=_0x47795e[_0x505243])&&(_0x32d7e7=(_0x4ee57c?_0x34486b(_0xf41261,_0x2d1c48,_0x32d7e7):_0x34486b(_0x32d7e7))||_0x32d7e7);return _0x4ee57c&&_0x32d7e7&&h(_0xf41261,_0x2d1c48,_0x32d7e7),_0x32d7e7;},s=(_0x368962,_0x45ce87)=>(_0x2f973d,_0x58a7c1)=>_0x45ce87(_0x2f973d,_0x58a7c1,_0x368962);exports[_0x184106(0xf7)]=class extends t[_0x184106(0x100)]{constructor(_0x374d78,_0x1869ce,_0x33df0b,_0x24e111,_0x3a0341){var _0x3ee0f6=_0x184106;super(),this[_0x3ee0f6(0xea)]=_0x374d78,this['_injector']=_0x1869ce,this[_0x3ee0f6(0xe1)]=_0x33df0b,this[_0x3ee0f6(0xdf)]=_0x24e111,this['_collaborationController']=_0x3a0341;}async['loadActiveSheet'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x184106(0xd3)](_0x1d582b){var _0x181741=_0x184106;return this[_0x181741(0xe1)][_0x181741(0xec)](_0x1d582b,t[_0x181741(0xe4)][_0x181741(0xda)])||await this[_0x181741(0xdf)]['loadSheet'](_0x1d582b,0x0)?(await this[_0x181741(0xfd)][_0x181741(0xee)](_0x1d582b),this[_0x181741(0xea)][_0x181741(0xfb)](_0x1d582b)):null;}[_0x184106(0xd6)](_0x272bfc,_0x5da9d6){var _0x4c22a3=_0x184106;const _0xe99605=this['_injector'][_0x4c22a3(0xf1)](c['MemberService'])[_0x4c22a3(0xf3)](_0x272bfc)[_0x4c22a3(0xf5)](v['switchMap'](_0x429fc0=>_0x429fc0[_0x4c22a3(0xdb)]))[_0x4c22a3(0xd5)](_0x58c330=>_0x5da9d6(Array[_0x4c22a3(0xe5)](_0x58c330[_0x4c22a3(0x101)]())));return t[_0x4c22a3(0xdd)](_0xe99605);}},exports[_0x184106(0xf7)]=_([s(0x1,t['Inject'](t[_0x184106(0xde)])),s(0x2,t['IUniverInstanceService']),s(0x3,t[_0x184106(0xf2)](b[_0x184106(0xe8)])),s(0x4,t['Inject'](c[_0x184106(0xdc)]))],exports[_0x184106(0xf7)]);class S extends t[_0x184106(0xd9)]{[_0x184106(0xe0)](){var _0x4debc4=_0x184106;return this[_0x4debc4(0xfa)][_0x4debc4(0xf4)](exports['FCollaboration'],{'getUniverSheet':_0x321340=>this[_0x4debc4(0xfb)](_0x321340)});}}t[_0x184106(0xd9)][_0x184106(0xd4)](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);