@univerjs-pro/collaboration-client 0.6.7-nightly.202503301606 → 0.6.7-nightly.202504011606

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 _0x14e010=_0x5818;(function(_0xbffe1a,_0x10a7a1){var _0x5381b5=_0x5818,_0x57f969=_0xbffe1a();while(!![]){try{var _0x33acee=-parseInt(_0x5381b5(0x209))/0x1+-parseInt(_0x5381b5(0x1f3))/0x2+parseInt(_0x5381b5(0x1fd))/0x3*(-parseInt(_0x5381b5(0x206))/0x4)+-parseInt(_0x5381b5(0x20c))/0x5*(-parseInt(_0x5381b5(0x20a))/0x6)+parseInt(_0x5381b5(0x1e6))/0x7+parseInt(_0x5381b5(0x20d))/0x8*(parseInt(_0x5381b5(0x1f4))/0x9)+-parseInt(_0x5381b5(0x1e7))/0xa*(-parseInt(_0x5381b5(0x1fc))/0xb);if(_0x33acee===_0x10a7a1)break;else _0x57f969['push'](_0x57f969['shift']());}catch(_0x3f14cb){_0x57f969['push'](_0x57f969['shift']());}}}(_0x4207,0x401cb));function _0x4207(){var _0x29a96b=['94548hlpCRw','loadActiveSheetAsync','35fimXnc','1264aRMaCU','toStringTag','Module','values','loadServerUnit','DataLoaderService','FBase','@univerjs-pro/collaboration','getUniverSheet','readyForCollab','2824990cEedEV','47980FyZeVY','getCollaboration','SnapshotService','getOwnPropertyDescriptor','_snapshotService','extend','defineProperty','_univerInstanceService','waitForRoom$','@univerjs/core/facade','pipe','FUniver','538874PDCoRG','9360qLMwYl','Inject','FCollaboration','loadSheetAsync','_collaborationController','rxjs','createInstance','toDisposable','836bMtyzm','21xwHMmX','IUniverInstanceService','MemberService','loadActiveSheet','CollaborationController','@univerjs/core','_injector','members$','_handler','191828ZOsonI','switchMap','loadSheet','175105YjZlJX'];_0x4207=function(){return _0x29a96b;};return _0x4207();}function _0x5818(_0x3c0bef,_0x3da980){var _0x420746=_0x4207();return _0x5818=function(_0x58185a,_0x1a3594){_0x58185a=_0x58185a-0x1e5;var _0x2971e0=_0x420746[_0x58185a];return _0x2971e0;},_0x5818(_0x3c0bef,_0x3da980);}Object[_0x14e010(0x1ed)](exports,Symbol[_0x14e010(0x20e)],{'value':_0x14e010(0x20f)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x14e010(0x1f0)),v=require(_0x14e010(0x214)),i=require(_0x14e010(0x202)),b=require(_0x14e010(0x1f9));var S=Object[_0x14e010(0x1ea)],d=(_0x59d9e0,_0x125406,_0x217485,_0x4cfab7)=>{for(var _0x5d611a=_0x4cfab7>0x1?void 0x0:_0x4cfab7?S(_0x125406,_0x217485):_0x125406,_0x579a9d=_0x59d9e0['length']-0x1,_0x18d9eb;_0x579a9d>=0x0;_0x579a9d--)(_0x18d9eb=_0x59d9e0[_0x579a9d])&&(_0x5d611a=_0x18d9eb(_0x5d611a)||_0x5d611a);return _0x5d611a;},s=(_0x3add34,_0x4e042f)=>(_0x369b19,_0x2ee22c)=>_0x4e042f(_0x369b19,_0x2ee22c,_0x3add34);exports['FCollaboration']=class extends l[_0x14e010(0x213)]{constructor(_0x25ddc7,_0x7808c7,_0x5e4ebc,_0x13de17,_0x4e8a9a){var _0x255447=_0x14e010;super(),this[_0x255447(0x205)]=_0x25ddc7,this[_0x255447(0x203)]=_0x7808c7,this[_0x255447(0x1ee)]=_0x5e4ebc,this[_0x255447(0x1eb)]=_0x13de17,this[_0x255447(0x1f8)]=_0x4e8a9a;}async[_0x14e010(0x200)](){var _0x28b844=_0x14e010;return this[_0x28b844(0x20b)]();}async[_0x14e010(0x20b)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x14e010(0x208)](_0xb9eed9){var _0x135791=_0x14e010;return this[_0x135791(0x1f7)](_0xb9eed9);}async[_0x14e010(0x1f7)](_0x57336f,_0x49f470){var _0x6ed470=_0x14e010;return await this[_0x6ed470(0x1eb)][_0x6ed470(0x208)](_0x57336f,0x0,_0x49f470)?(await this[_0x6ed470(0x1f8)][_0x6ed470(0x1e5)](_0x57336f),this[_0x6ed470(0x205)][_0x6ed470(0x215)](_0x57336f)):null;}['subscribeCollaborators'](_0x3ace53,_0x40589e){var _0x1e9620=_0x14e010;const _0x3142c7=this[_0x1e9620(0x203)]['get'](c[_0x1e9620(0x1ff)])[_0x1e9620(0x1ef)](_0x3ace53)[_0x1e9620(0x1f1)](b[_0x1e9620(0x207)](_0x564ab3=>_0x564ab3[_0x1e9620(0x204)]))['subscribe'](_0x7ae91e=>_0x40589e(Array['from'](_0x7ae91e[_0x1e9620(0x210)]())));return i[_0x1e9620(0x1fb)](_0x3142c7);}},exports[_0x14e010(0x1f6)]=d([s(0x1,i[_0x14e010(0x1f5)](i['Injector'])),s(0x2,i[_0x14e010(0x1fe)]),s(0x3,i[_0x14e010(0x1f5)](v[_0x14e010(0x1e9)])),s(0x4,i[_0x14e010(0x1f5)](c[_0x14e010(0x201)]))],exports[_0x14e010(0x1f6)]);class u extends l[_0x14e010(0x1f2)]{[_0x14e010(0x1e8)](){var _0x3e17d4=_0x14e010;return this[_0x3e17d4(0x203)][_0x3e17d4(0x1fa)](exports['FCollaboration'],{'getUniverSheet':_0x3498c0=>this[_0x3e17d4(0x215)](_0x3498c0)});}[_0x14e010(0x211)](_0x45dc05,_0x5ef126,_0x2a05c9){var _0x1bfbec=_0x14e010;return this[_0x1bfbec(0x203)][_0x1bfbec(0x1fa)](c[_0x1bfbec(0x212)])['loadUnit'](_0x45dc05,_0x5ef126,_0x2a05c9);}}l[_0x14e010(0x1f2)][_0x14e010(0x1ec)](u);