@univerjs-pro/collaboration-client 0.6.7-nightly.202503261607 → 0.6.7-nightly.202503291606

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 _0x5d73f5=_0x430f;(function(_0x59f287,_0x53be2d){var _0x532547=_0x430f,_0x21532f=_0x59f287();while(!![]){try{var _0x3933c5=parseInt(_0x532547(0x104))/0x1+parseInt(_0x532547(0xf9))/0x2*(parseInt(_0x532547(0x100))/0x3)+-parseInt(_0x532547(0x102))/0x4+-parseInt(_0x532547(0xe0))/0x5+parseInt(_0x532547(0xf6))/0x6+-parseInt(_0x532547(0xf0))/0x7+-parseInt(_0x532547(0x106))/0x8*(-parseInt(_0x532547(0xf2))/0x9);if(_0x3933c5===_0x53be2d)break;else _0x21532f['push'](_0x21532f['shift']());}catch(_0x3fb781){_0x21532f['push'](_0x21532f['shift']());}}}(_0x477c,0x5f039));Object[_0x5d73f5(0xde)](exports,Symbol[_0x5d73f5(0xed)],{'value':_0x5d73f5(0xe7)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x5d73f5(0xfe)),v=require('@univerjs-pro/collaboration'),i=require(_0x5d73f5(0x107)),b=require(_0x5d73f5(0xeb));function _0x477c(){var _0xe6184e=['FCollaboration','getOwnPropertyDescriptor','34428TTJqKw','switchMap','Inject','createInstance','get','@univerjs/core/facade','subscribeCollaborators','81BWlRNB','loadSheetAsync','539608PyCPPX','SnapshotService','355917MnqRfF','IUniverInstanceService','157064kPzkDY','@univerjs/core','getUniverSheet','defineProperty','loadActiveSheet','1450935XTgbNy','_collaborationController','CollaborationController','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','readyForCollab','FBase','Module','loadUnit','pipe','_snapshotService','rxjs','DataLoaderService','toStringTag','waitForRoom$','values','2159297SKXVYZ','loadSheet','27YtFMkr','FUniver','_handler','Injector','1458858vqaBkd'];_0x477c=function(){return _0xe6184e;};return _0x477c();}var S=Object[_0x5d73f5(0xf8)],d=(_0x3e385c,_0x31d30f,_0x2e5272,_0x502da0)=>{for(var _0x1df316=_0x502da0>0x1?void 0x0:_0x502da0?S(_0x31d30f,_0x2e5272):_0x31d30f,_0x4b5f0a=_0x3e385c['length']-0x1,_0x17e83c;_0x4b5f0a>=0x0;_0x4b5f0a--)(_0x17e83c=_0x3e385c[_0x4b5f0a])&&(_0x1df316=_0x17e83c(_0x1df316)||_0x1df316);return _0x1df316;},s=(_0x51f6b4,_0x16551)=>(_0x500b98,_0x51442a)=>_0x16551(_0x500b98,_0x51442a,_0x51f6b4);exports['FCollaboration']=class extends l[_0x5d73f5(0xe6)]{constructor(_0xb9864e,_0x5047e7,_0x5bc24c,_0x156d7f,_0x52fbcb){var _0xd5e517=_0x5d73f5;super(),this[_0xd5e517(0xf4)]=_0xb9864e,this[_0xd5e517(0xe3)]=_0x5047e7,this['_univerInstanceService']=_0x5bc24c,this['_snapshotService']=_0x156d7f,this[_0xd5e517(0xe1)]=_0x52fbcb;}async[_0x5d73f5(0xdf)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x4ce815=_0x5d73f5;throw new Error(_0x4ce815(0xe4));}async[_0x5d73f5(0xf1)](_0x4a13ab){var _0x3bc985=_0x5d73f5;return this[_0x3bc985(0x101)](_0x4a13ab);}async[_0x5d73f5(0x101)](_0x3e8d1b,_0x4e8fd1){var _0x247c1c=_0x5d73f5;return await this[_0x247c1c(0xea)]['loadSheet'](_0x3e8d1b,0x0,_0x4e8fd1)?(await this[_0x247c1c(0xe1)][_0x247c1c(0xe5)](_0x3e8d1b),this[_0x247c1c(0xf4)][_0x247c1c(0xdd)](_0x3e8d1b)):null;}[_0x5d73f5(0xff)](_0x181567,_0x1713a){var _0x56e477=_0x5d73f5;const _0x53c380=this[_0x56e477(0xe3)][_0x56e477(0xfd)](c['MemberService'])[_0x56e477(0xee)](_0x181567)[_0x56e477(0xe9)](b[_0x56e477(0xfa)](_0x38325e=>_0x38325e['members$']))['subscribe'](_0x4044a7=>_0x1713a(Array['from'](_0x4044a7[_0x56e477(0xef)]())));return i['toDisposable'](_0x53c380);}},exports[_0x5d73f5(0xf7)]=d([s(0x1,i['Inject'](i[_0x5d73f5(0xf5)])),s(0x2,i[_0x5d73f5(0x105)]),s(0x3,i[_0x5d73f5(0xfb)](v[_0x5d73f5(0x103)])),s(0x4,i[_0x5d73f5(0xfb)](c[_0x5d73f5(0xe2)]))],exports[_0x5d73f5(0xf7)]);class u extends l['FUniver']{['getCollaboration'](){var _0x5efc5f=_0x5d73f5;return this[_0x5efc5f(0xe3)][_0x5efc5f(0xfc)](exports[_0x5efc5f(0xf7)],{'getUniverSheet':_0x3e5239=>this[_0x5efc5f(0xdd)](_0x3e5239)});}['loadServerUnit'](_0x423247,_0x1c7d4d,_0x5de216){var _0x498428=_0x5d73f5;return this[_0x498428(0xe3)][_0x498428(0xfc)](c[_0x498428(0xec)])[_0x498428(0xe8)](_0x423247,_0x1c7d4d,_0x5de216);}}function _0x430f(_0x244642,_0x1dcb66){var _0x477c93=_0x477c();return _0x430f=function(_0x430f75,_0x4c315e){_0x430f75=_0x430f75-0xdd;var _0x5b4ca=_0x477c93[_0x430f75];return _0x5b4ca;},_0x430f(_0x244642,_0x1dcb66);}l[_0x5d73f5(0xf3)]['extend'](u);
1
+ 'use strict';var _0x562042=_0x13fb;(function(_0x332b8c,_0x39c929){var _0x4443de=_0x13fb,_0x5a007a=_0x332b8c();while(!![]){try{var _0x483dd3=-parseInt(_0x4443de(0x1cd))/0x1+parseInt(_0x4443de(0x1c1))/0x2+-parseInt(_0x4443de(0x1cb))/0x3+parseInt(_0x4443de(0x1e2))/0x4*(-parseInt(_0x4443de(0x1bb))/0x5)+-parseInt(_0x4443de(0x1b9))/0x6+-parseInt(_0x4443de(0x1d3))/0x7+parseInt(_0x4443de(0x1de))/0x8;if(_0x483dd3===_0x39c929)break;else _0x5a007a['push'](_0x5a007a['shift']());}catch(_0x116395){_0x5a007a['push'](_0x5a007a['shift']());}}}(_0x299a,0xdce86));Object[_0x562042(0x1dd)](exports,Symbol[_0x562042(0x1d1)],{'value':_0x562042(0x1c0)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x562042(0x1e1)),v=require(_0x562042(0x1c9)),i=require(_0x562042(0x1df)),b=require(_0x562042(0x1b6));var S=Object[_0x562042(0x1d4)],d=(_0x45bec6,_0x4e0011,_0x16933a,_0x371e30)=>{for(var _0xecdc39=_0x371e30>0x1?void 0x0:_0x371e30?S(_0x4e0011,_0x16933a):_0x4e0011,_0x4dffa9=_0x45bec6['length']-0x1,_0x36a77d;_0x4dffa9>=0x0;_0x4dffa9--)(_0x36a77d=_0x45bec6[_0x4dffa9])&&(_0xecdc39=_0x36a77d(_0xecdc39)||_0xecdc39);return _0xecdc39;},s=(_0x4d4501,_0xb70efc)=>(_0x4729d3,_0x561a74)=>_0xb70efc(_0x4729d3,_0x561a74,_0x4d4501);exports['FCollaboration']=class extends l[_0x562042(0x1e0)]{constructor(_0x8826db,_0x3b1708,_0x1f3163,_0x18bbc6,_0x275dce){var _0x4ee4f4=_0x562042;super(),this[_0x4ee4f4(0x1da)]=_0x8826db,this[_0x4ee4f4(0x1bf)]=_0x3b1708,this[_0x4ee4f4(0x1cc)]=_0x1f3163,this['_snapshotService']=_0x18bbc6,this['_collaborationController']=_0x275dce;}async[_0x562042(0x1c7)](){var _0x37dfbf=_0x562042;return this[_0x37dfbf(0x1d7)]();}async[_0x562042(0x1d7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x562042(0x1bd)](_0x53007c){return this['loadSheetAsync'](_0x53007c);}async[_0x562042(0x1c4)](_0x50d37b,_0x5973d6){var _0x4f8908=_0x562042;return await this['_snapshotService'][_0x4f8908(0x1bd)](_0x50d37b,0x0,_0x5973d6)?(await this['_collaborationController']['readyForCollab'](_0x50d37b),this['_handler'][_0x4f8908(0x1be)](_0x50d37b)):null;}[_0x562042(0x1ca)](_0x4faa98,_0xaaf2fa){var _0x538f54=_0x562042;const _0x565adf=this['_injector'][_0x538f54(0x1b7)](c[_0x538f54(0x1ba)])[_0x538f54(0x1cf)](_0x4faa98)[_0x538f54(0x1ce)](b[_0x538f54(0x1b8)](_0x14df1f=>_0x14df1f[_0x538f54(0x1d2)]))[_0x538f54(0x1c8)](_0x37129d=>_0xaaf2fa(Array['from'](_0x37129d[_0x538f54(0x1dc)]())));return i[_0x538f54(0x1d9)](_0x565adf);}},exports[_0x562042(0x1c3)]=d([s(0x1,i[_0x562042(0x1b5)](i[_0x562042(0x1bc)])),s(0x2,i[_0x562042(0x1d0)]),s(0x3,i[_0x562042(0x1b5)](v['SnapshotService'])),s(0x4,i[_0x562042(0x1b5)](c[_0x562042(0x1e3)]))],exports['FCollaboration']);class u extends l[_0x562042(0x1d6)]{[_0x562042(0x1c2)](){var _0x59061f=_0x562042;return this[_0x59061f(0x1bf)][_0x59061f(0x1c6)](exports[_0x59061f(0x1c3)],{'getUniverSheet':_0x457d95=>this[_0x59061f(0x1be)](_0x457d95)});}[_0x562042(0x1db)](_0x59b4a7,_0x53c332,_0xb26521){var _0x82989c=_0x562042;return this[_0x82989c(0x1bf)][_0x82989c(0x1c6)](c[_0x82989c(0x1c5)])[_0x82989c(0x1d8)](_0x59b4a7,_0x53c332,_0xb26521);}}function _0x13fb(_0x642427,_0x4cde71){var _0x299a72=_0x299a();return _0x13fb=function(_0x13fb9b,_0x5a85a5){_0x13fb9b=_0x13fb9b-0x1b5;var _0x1b09ad=_0x299a72[_0x13fb9b];return _0x1b09ad;},_0x13fb(_0x642427,_0x4cde71);}l[_0x562042(0x1d6)][_0x562042(0x1d5)](u);function _0x299a(){var _0x36983f=['members$','10319442eZCxfZ','getOwnPropertyDescriptor','extend','FUniver','loadActiveSheetAsync','loadUnit','toDisposable','_handler','loadServerUnit','values','defineProperty','50271408Lcfpbc','@univerjs/core','FBase','@univerjs/core/facade','7095532Thtszt','CollaborationController','Inject','rxjs','get','switchMap','5719818woyQmX','MemberService','5JicBHZ','Injector','loadSheet','getUniverSheet','_injector','Module','1673896hTXnPs','getCollaboration','FCollaboration','loadSheetAsync','DataLoaderService','createInstance','loadActiveSheet','subscribe','@univerjs-pro/collaboration','subscribeCollaborators','834585gIinFX','_univerInstanceService','1736449FjwIqN','pipe','waitForRoom$','IUniverInstanceService','toStringTag'];_0x299a=function(){return _0x36983f;};return _0x299a();}