@univerjs-pro/collaboration-client 0.6.7-nightly.202503301606 → 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 _0xd863ab=_0x5448;(function(_0x57ad19,_0x30f614){var _0xff193a=_0x5448,_0x2ab52c=_0x57ad19();while(!![]){try{var _0x126562=parseInt(_0xff193a(0xd9))/0x1+parseInt(_0xff193a(0xdd))/0x2*(parseInt(_0xff193a(0xc1))/0x3)+parseInt(_0xff193a(0xb4))/0x4+parseInt(_0xff193a(0xce))/0x5+-parseInt(_0xff193a(0xd4))/0x6*(parseInt(_0xff193a(0xdf))/0x7)+-parseInt(_0xff193a(0xbc))/0x8*(parseInt(_0xff193a(0xb8))/0x9)+parseInt(_0xff193a(0xc9))/0xa;if(_0x126562===_0x30f614)break;else _0x2ab52c['push'](_0x2ab52c['shift']());}catch(_0x11f23c){_0x2ab52c['push'](_0x2ab52c['shift']());}}}(_0x46c0,0x4261b));Object['defineProperty'](exports,Symbol[_0xd863ab(0xc8)],{'value':_0xd863ab(0xc0)});const c=require(_0xd863ab(0xcc)),l=require(_0xd863ab(0xda)),v=require(_0xd863ab(0xc4)),i=require('@univerjs/core'),b=require('rxjs');var S=Object[_0xd863ab(0xb6)],d=(_0x46f815,_0x5a5396,_0xe7f40d,_0x45ec92)=>{var _0x35b0d9=_0xd863ab;for(var _0x19a438=_0x45ec92>0x1?void 0x0:_0x45ec92?S(_0x5a5396,_0xe7f40d):_0x5a5396,_0x4bdff9=_0x46f815[_0x35b0d9(0xb5)]-0x1,_0x1527ac;_0x4bdff9>=0x0;_0x4bdff9--)(_0x1527ac=_0x46f815[_0x4bdff9])&&(_0x19a438=_0x1527ac(_0x19a438)||_0x19a438);return _0x19a438;},s=(_0x566c0d,_0x2a99a8)=>(_0x195be0,_0x357ac7)=>_0x2a99a8(_0x195be0,_0x357ac7,_0x566c0d);exports[_0xd863ab(0xcb)]=class extends l[_0xd863ab(0xdc)]{constructor(_0x408a0d,_0x42aa5b,_0x41c741,_0x70af33,_0x42de4f){var _0x46d9ab=_0xd863ab;super(),this[_0x46d9ab(0xbb)]=_0x408a0d,this[_0x46d9ab(0xd3)]=_0x42aa5b,this['_univerInstanceService']=_0x41c741,this['_snapshotService']=_0x70af33,this[_0x46d9ab(0xbd)]=_0x42de4f;}async[_0xd863ab(0xb1)](){var _0x1aa573=_0xd863ab;return this[_0x1aa573(0xbe)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0xd863ab(0xd2)](_0x2e69ba){var _0xcd8dbb=_0xd863ab;return this[_0xcd8dbb(0xb3)](_0x2e69ba);}async[_0xd863ab(0xb3)](_0x29d336,_0x1105ca){var _0x452ab3=_0xd863ab;return await this['_snapshotService'][_0x452ab3(0xd2)](_0x29d336,0x0,_0x1105ca)?(await this[_0x452ab3(0xbd)][_0x452ab3(0xba)](_0x29d336),this[_0x452ab3(0xbb)]['getUniverSheet'](_0x29d336)):null;}['subscribeCollaborators'](_0x22f675,_0x11df45){var _0x470855=_0xd863ab;const _0x422fad=this['_injector'][_0x470855(0xc6)](c[_0x470855(0xca)])[_0x470855(0xb2)](_0x22f675)[_0x470855(0xb7)](b['switchMap'](_0x7e8bb1=>_0x7e8bb1[_0x470855(0xd6)]))[_0x470855(0xb9)](_0x348690=>_0x11df45(Array[_0x470855(0xd0)](_0x348690['values']())));return i[_0x470855(0xc5)](_0x422fad);}},exports[_0xd863ab(0xcb)]=d([s(0x1,i[_0xd863ab(0xd5)](i[_0xd863ab(0xc7)])),s(0x2,i[_0xd863ab(0xd7)]),s(0x3,i[_0xd863ab(0xd5)](v[_0xd863ab(0xde)])),s(0x4,i['Inject'](c[_0xd863ab(0xd8)]))],exports[_0xd863ab(0xcb)]);class u extends l[_0xd863ab(0xcf)]{[_0xd863ab(0xc3)](){var _0x3de00d=_0xd863ab;return this[_0x3de00d(0xd3)][_0x3de00d(0xdb)](exports['FCollaboration'],{'getUniverSheet':_0x482ede=>this[_0x3de00d(0xbf)](_0x482ede)});}[_0xd863ab(0xcd)](_0x1f4598,_0x450a7f,_0x2ec39f){var _0x5628e2=_0xd863ab;return this['_injector']['createInstance'](c[_0x5628e2(0xc2)])['loadUnit'](_0x1f4598,_0x450a7f,_0x2ec39f);}}l[_0xd863ab(0xcf)][_0xd863ab(0xd1)](u);function _0x5448(_0x439b9b,_0x5514b2){var _0x46c03f=_0x46c0();return _0x5448=function(_0x54481d,_0x209003){_0x54481d=_0x54481d-0xb1;var _0x5aaa3e=_0x46c03f[_0x54481d];return _0x5aaa3e;},_0x5448(_0x439b9b,_0x5514b2);}function _0x46c0(){var _0xe5059b=['_collaborationController','loadActiveSheetAsync','getUniverSheet','Module','63xcpWOp','DataLoaderService','getCollaboration','@univerjs-pro/collaboration','toDisposable','get','Injector','toStringTag','5585810nuxKNy','MemberService','FCollaboration','@univerjs-pro/collaboration-client','loadServerUnit','408165ScFBSs','FUniver','from','extend','loadSheet','_injector','5262WbRxjr','Inject','members$','IUniverInstanceService','CollaborationController','194441pBoIMl','@univerjs/core/facade','createInstance','FBase','29774OtaOQo','SnapshotService','3745ZTgPjw','loadActiveSheet','waitForRoom$','loadSheetAsync','387120KAtLRt','length','getOwnPropertyDescriptor','pipe','4526712qMGwTX','subscribe','readyForCollab','_handler','8kAqjjC'];_0x46c0=function(){return _0xe5059b;};return _0x46c0();}
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);