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

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 _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();}
1
+ 'use strict';var _0x2a64a0=_0x2e49;(function(_0x15ed88,_0x39df0a){var _0x4991b4=_0x2e49,_0x279c44=_0x15ed88();while(!![]){try{var _0x216d34=parseInt(_0x4991b4(0xce))/0x1*(-parseInt(_0x4991b4(0xd9))/0x2)+-parseInt(_0x4991b4(0xca))/0x3*(-parseInt(_0x4991b4(0xd3))/0x4)+-parseInt(_0x4991b4(0xd6))/0x5*(parseInt(_0x4991b4(0xd1))/0x6)+parseInt(_0x4991b4(0xe0))/0x7*(parseInt(_0x4991b4(0xdb))/0x8)+-parseInt(_0x4991b4(0xc2))/0x9*(parseInt(_0x4991b4(0xb8))/0xa)+-parseInt(_0x4991b4(0xb9))/0xb*(parseInt(_0x4991b4(0xd0))/0xc)+parseInt(_0x4991b4(0xe4))/0xd;if(_0x216d34===_0x39df0a)break;else _0x279c44['push'](_0x279c44['shift']());}catch(_0x2eb206){_0x279c44['push'](_0x279c44['shift']());}}}(_0x1d45,0xa3643));Object[_0x2a64a0(0xc3)](exports,Symbol[_0x2a64a0(0xd2)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x2a64a0(0xdd)),v=require(_0x2a64a0(0xc8)),i=require(_0x2a64a0(0xe2)),b=require(_0x2a64a0(0xe8));function _0x1d45(){var _0x4b08f3=['rxjs','MemberService','30DCwAuC','1001pCFKYC','values','SnapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheetAsync','createInstance','loadSheetAsync','getUniverSheet','FCollaboration','1025442GfDHVX','defineProperty','_injector','loadUnit','FBase','getCollaboration','@univerjs-pro/collaboration','DataLoaderService','3513UjWtaO','_handler','_collaborationController','Injector','1XTiFCI','readyForCollab','120504bIosmD','1519710EMuIUt','toStringTag','140pJOyEI','CollaborationController','IUniverInstanceService','5tQqaXS','switchMap','_snapshotService','1222422MqeZWb','subscribe','2092344MiUguR','FUniver','@univerjs/core/facade','toDisposable','loadSheet','14daFaRd','from','@univerjs/core','get','28929056yJEhjI','members$','getOwnPropertyDescriptor','Inject'];_0x1d45=function(){return _0x4b08f3;};return _0x1d45();}function _0x2e49(_0x34d8e7,_0x4c5a35){var _0x1d455f=_0x1d45();return _0x2e49=function(_0x2e49fc,_0x35d0db){_0x2e49fc=_0x2e49fc-0xb8;var _0x1289e3=_0x1d455f[_0x2e49fc];return _0x1289e3;},_0x2e49(_0x34d8e7,_0x4c5a35);}var S=Object[_0x2a64a0(0xe6)],d=(_0x4063d8,_0x488435,_0x27b02c,_0x45a695)=>{for(var _0x11bcc0=_0x45a695>0x1?void 0x0:_0x45a695?S(_0x488435,_0x27b02c):_0x488435,_0x3e2753=_0x4063d8['length']-0x1,_0x4e9ff4;_0x3e2753>=0x0;_0x3e2753--)(_0x4e9ff4=_0x4063d8[_0x3e2753])&&(_0x11bcc0=_0x4e9ff4(_0x11bcc0)||_0x11bcc0);return _0x11bcc0;},s=(_0x5c838c,_0x1c7ded)=>(_0x5a603e,_0x2d01cb)=>_0x1c7ded(_0x5a603e,_0x2d01cb,_0x5c838c);exports[_0x2a64a0(0xc1)]=class extends l[_0x2a64a0(0xc6)]{constructor(_0x2d1f7a,_0x1ac8c7,_0x257273,_0x184289,_0x47d1dd){var _0x518c80=_0x2a64a0;super(),this[_0x518c80(0xcb)]=_0x2d1f7a,this['_injector']=_0x1ac8c7,this['_univerInstanceService']=_0x257273,this[_0x518c80(0xd8)]=_0x184289,this['_collaborationController']=_0x47d1dd;}async['loadActiveSheet'](){var _0xb6a422=_0x2a64a0;return this[_0xb6a422(0xbd)]();}async[_0x2a64a0(0xbd)](){var _0x37b475=_0x2a64a0;throw new Error(_0x37b475(0xbc));}async[_0x2a64a0(0xdf)](_0x289cc9){var _0x1a1c76=_0x2a64a0;return this[_0x1a1c76(0xbf)](_0x289cc9);}async[_0x2a64a0(0xbf)](_0x233e66,_0x5892ad){var _0x2e7a6e=_0x2a64a0;return await this['_snapshotService'][_0x2e7a6e(0xdf)](_0x233e66,0x0,_0x5892ad)?(await this[_0x2e7a6e(0xcc)][_0x2e7a6e(0xcf)](_0x233e66),this[_0x2e7a6e(0xcb)][_0x2e7a6e(0xc0)](_0x233e66)):null;}['subscribeCollaborators'](_0x398e91,_0x119dae){var _0x4fff4e=_0x2a64a0;const _0x52ee72=this[_0x4fff4e(0xc4)][_0x4fff4e(0xe3)](c[_0x4fff4e(0xe9)])['waitForRoom$'](_0x398e91)['pipe'](b[_0x4fff4e(0xd7)](_0x2c6295=>_0x2c6295[_0x4fff4e(0xe5)]))[_0x4fff4e(0xda)](_0x7e5d6=>_0x119dae(Array[_0x4fff4e(0xe1)](_0x7e5d6[_0x4fff4e(0xba)]())));return i[_0x4fff4e(0xde)](_0x52ee72);}},exports[_0x2a64a0(0xc1)]=d([s(0x1,i['Inject'](i[_0x2a64a0(0xcd)])),s(0x2,i[_0x2a64a0(0xd5)]),s(0x3,i[_0x2a64a0(0xe7)](v[_0x2a64a0(0xbb)])),s(0x4,i[_0x2a64a0(0xe7)](c[_0x2a64a0(0xd4)]))],exports[_0x2a64a0(0xc1)]);class u extends l[_0x2a64a0(0xdc)]{[_0x2a64a0(0xc7)](){var _0x3c7a38=_0x2a64a0;return this[_0x3c7a38(0xc4)]['createInstance'](exports[_0x3c7a38(0xc1)],{'getUniverSheet':_0x432514=>this[_0x3c7a38(0xc0)](_0x432514)});}['loadServerUnit'](_0x4524d9,_0x21c51e,_0x279ef4){var _0x57510f=_0x2a64a0;return this[_0x57510f(0xc4)][_0x57510f(0xbe)](c[_0x57510f(0xc9)])[_0x57510f(0xc5)](_0x4524d9,_0x21c51e,_0x279ef4);}}l[_0x2a64a0(0xdc)]['extend'](u);