@univerjs-pro/collaboration-client 0.6.6-experimental.20250321-5cc1a0d → 0.6.6-experimental.20250326-0a2cb0d

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 _0x1d56f8=_0x12a4;function _0x43b3(){var _0x1e5a89=['from','loadSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','4osmnYg','values','getUniverSheet','rxjs','2459349NifsyU','@univerjs/core','FUniver','subscribeCollaborators','_snapshotService','@univerjs-pro/collaboration-client','FCollaboration','switchMap','loadSheet','21XGgQwI','@univerjs-pro/collaboration','610908vIcAoF','Module','3392690AgnZZC','extend','toStringTag','DataLoaderService','length','waitForRoom$','loadUnit','toDisposable','FBase','getCollaboration','1316404MIWyFb','275881QiGSTz','readyForCollab','members$','loadActiveSheetAsync','createInstance','_injector','10jcFySq','get','getOwnPropertyDescriptor','_handler','Inject','1520532aCsVjR','4756616LgJHMv','loadServerUnit','@univerjs/core/facade'];_0x43b3=function(){return _0x1e5a89;};return _0x43b3();}(function(_0x17d28c,_0xeb2ef3){var _0x451cf5=_0x12a4,_0x1c0197=_0x17d28c();while(!![]){try{var _0x13cd9=parseInt(_0x451cf5(0xd2))/0x1*(parseInt(_0x451cf5(0xe5))/0x2)+-parseInt(_0x451cf5(0xdd))/0x3+parseInt(_0x451cf5(0xd1))/0x4*(parseInt(_0x451cf5(0xd8))/0x5)+parseInt(_0x451cf5(0xf4))/0x6*(-parseInt(_0x451cf5(0xf2))/0x7)+parseInt(_0x451cf5(0xde))/0x8+-parseInt(_0x451cf5(0xe9))/0x9+-parseInt(_0x451cf5(0xf6))/0xa;if(_0x13cd9===_0xeb2ef3)break;else _0x1c0197['push'](_0x1c0197['shift']());}catch(_0x409248){_0x1c0197['push'](_0x1c0197['shift']());}}}(_0x43b3,0x5cb41));Object['defineProperty'](exports,Symbol[_0x1d56f8(0xc9)],{'value':_0x1d56f8(0xf5)});function _0x12a4(_0x3a45e1,_0x41a8b7){var _0x43b3b8=_0x43b3();return _0x12a4=function(_0x12a40a,_0x5dbfcf){_0x12a40a=_0x12a40a-0xc8;var _0x3ec854=_0x43b3b8[_0x12a40a];return _0x3ec854;},_0x12a4(_0x3a45e1,_0x41a8b7);}const c=require(_0x1d56f8(0xee)),l=require(_0x1d56f8(0xe0)),v=require(_0x1d56f8(0xf3)),i=require(_0x1d56f8(0xea)),b=require(_0x1d56f8(0xe8));var S=Object[_0x1d56f8(0xda)],d=(_0x4fbc8e,_0x1cfcc2,_0x528a81,_0xf233e0)=>{var _0x3b28e1=_0x1d56f8;for(var _0x588f00=_0xf233e0>0x1?void 0x0:_0xf233e0?S(_0x1cfcc2,_0x528a81):_0x1cfcc2,_0x46c8ed=_0x4fbc8e[_0x3b28e1(0xcb)]-0x1,_0x41b1fd;_0x46c8ed>=0x0;_0x46c8ed--)(_0x41b1fd=_0x4fbc8e[_0x46c8ed])&&(_0x588f00=_0x41b1fd(_0x588f00)||_0x588f00);return _0x588f00;},s=(_0xcdbdef,_0x4c58eb)=>(_0x39ecb8,_0x3bb866)=>_0x4c58eb(_0x39ecb8,_0x3bb866,_0xcdbdef);exports[_0x1d56f8(0xef)]=class extends l[_0x1d56f8(0xcf)]{constructor(_0x5c6e03,_0x3757e7,_0x267194,_0x2d05da,_0x1b0718){var _0x2b3daf=_0x1d56f8;super(),this[_0x2b3daf(0xdb)]=_0x5c6e03,this[_0x2b3daf(0xd7)]=_0x3757e7,this['_univerInstanceService']=_0x267194,this[_0x2b3daf(0xed)]=_0x2d05da,this['_collaborationController']=_0x1b0718;}async['loadActiveSheet'](){var _0xa92493=_0x1d56f8;return this[_0xa92493(0xd5)]();}async[_0x1d56f8(0xd5)](){var _0xd798c2=_0x1d56f8;throw new Error(_0xd798c2(0xe3));}async[_0x1d56f8(0xf1)](_0x5ed08a){var _0x2e4880=_0x1d56f8;return this[_0x2e4880(0xe2)](_0x5ed08a);}async['loadSheetAsync'](_0x28475a,_0x2c4668){var _0xc98fda=_0x1d56f8;return await this['_snapshotService']['loadSheet'](_0x28475a,0x0,_0x2c4668)?(await this['_collaborationController'][_0xc98fda(0xd3)](_0x28475a),this['_handler'][_0xc98fda(0xe7)](_0x28475a)):null;}[_0x1d56f8(0xec)](_0x3bb2c7,_0x58a96b){var _0xb9e7e6=_0x1d56f8;const _0x50a03a=this[_0xb9e7e6(0xd7)][_0xb9e7e6(0xd9)](c['MemberService'])[_0xb9e7e6(0xcc)](_0x3bb2c7)['pipe'](b[_0xb9e7e6(0xf0)](_0x22335e=>_0x22335e[_0xb9e7e6(0xd4)]))['subscribe'](_0x410b97=>_0x58a96b(Array[_0xb9e7e6(0xe1)](_0x410b97[_0xb9e7e6(0xe6)]())));return i[_0xb9e7e6(0xce)](_0x50a03a);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1d56f8(0xdc)](v[_0x1d56f8(0xe4)])),s(0x4,i['Inject'](c['CollaborationController']))],exports[_0x1d56f8(0xef)]);class u extends l[_0x1d56f8(0xeb)]{[_0x1d56f8(0xd0)](){var _0x270a32=_0x1d56f8;return this[_0x270a32(0xd7)]['createInstance'](exports[_0x270a32(0xef)],{'getUniverSheet':_0x24db53=>this[_0x270a32(0xe7)](_0x24db53)});}[_0x1d56f8(0xdf)](_0x5b9c20,_0x2dacba,_0x15c32a){var _0x46844d=_0x1d56f8;return this['_injector'][_0x46844d(0xd6)](c[_0x46844d(0xca)])[_0x46844d(0xcd)](_0x5b9c20,_0x2dacba,_0x15c32a);}}l[_0x1d56f8(0xeb)][_0x1d56f8(0xc8)](u);
1
+ 'use strict';function _0x5e8b(){var _0x1b303d=['DataLoaderService','FUniver','loadActiveSheetAsync','subscribe','6030794zGXChQ','pipe','_snapshotService','@univerjs-pro/collaboration','1175136UHoxZq','toStringTag','Injector','getCollaboration','values','865140Bdhhqz','5HOSSZF','FBase','extend','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','539973iZvfiE','Inject','MemberService','readyForCollab','loadUnit','11879343bISchO','3UEDwXh','rxjs','8GxbJRz','subscribeCollaborators','loadSheet','_collaborationController','CollaborationController','from','SnapshotService','_univerInstanceService','loadSheetAsync','1254998uLiOAA','_handler','createInstance','waitForRoom$','FCollaboration','members$','@univerjs/core','10716160raUljM','Module','length','defineProperty'];_0x5e8b=function(){return _0x1b303d;};return _0x5e8b();}var _0x3b1981=_0x2398;(function(_0x5262c0,_0xa1ef49){var _0x404a5d=_0x2398,_0x3173c5=_0x5262c0();while(!![]){try{var _0x3a68c0=parseInt(_0x404a5d(0x1dd))/0x1+-parseInt(_0x404a5d(0x1ee))/0x2+parseInt(_0x404a5d(0x1e3))/0x3*(parseInt(_0x404a5d(0x1d2))/0x4)+-parseInt(_0x404a5d(0x1d8))/0x5*(parseInt(_0x404a5d(0x1d7))/0x6)+parseInt(_0x404a5d(0x1ce))/0x7*(parseInt(_0x404a5d(0x1e5))/0x8)+-parseInt(_0x404a5d(0x1e2))/0x9+parseInt(_0x404a5d(0x1f5))/0xa;if(_0x3a68c0===_0xa1ef49)break;else _0x3173c5['push'](_0x3173c5['shift']());}catch(_0x8b5307){_0x3173c5['push'](_0x3173c5['shift']());}}}(_0x5e8b,0xa4de3));Object[_0x3b1981(0x1f8)](exports,Symbol[_0x3b1981(0x1d3)],{'value':_0x3b1981(0x1f6)});function _0x2398(_0x59afa2,_0x3cea8b){var _0x5e8bc7=_0x5e8b();return _0x2398=function(_0x23989d,_0x3ce168){_0x23989d=_0x23989d-0x1cc;var _0x2bdd2e=_0x5e8bc7[_0x23989d];return _0x2bdd2e;},_0x2398(_0x59afa2,_0x3cea8b);}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x3b1981(0x1d1)),i=require(_0x3b1981(0x1f4)),b=require(_0x3b1981(0x1e4));var S=Object['getOwnPropertyDescriptor'],d=(_0x22c15e,_0x4c5a0a,_0x4cf005,_0xf99270)=>{var _0x7d5e4c=_0x3b1981;for(var _0x2b2094=_0xf99270>0x1?void 0x0:_0xf99270?S(_0x4c5a0a,_0x4cf005):_0x4c5a0a,_0x466822=_0x22c15e[_0x7d5e4c(0x1f7)]-0x1,_0x38be01;_0x466822>=0x0;_0x466822--)(_0x38be01=_0x22c15e[_0x466822])&&(_0x2b2094=_0x38be01(_0x2b2094)||_0x2b2094);return _0x2b2094;},s=(_0x3feeed,_0x1be4b9)=>(_0x4ab472,_0x11d579)=>_0x1be4b9(_0x4ab472,_0x11d579,_0x3feeed);exports[_0x3b1981(0x1f2)]=class extends l[_0x3b1981(0x1d9)]{constructor(_0x4b86d6,_0x2acce7,_0x2fae73,_0x5f4ba6,_0x577468){var _0x354587=_0x3b1981;super(),this[_0x354587(0x1ef)]=_0x4b86d6,this['_injector']=_0x2acce7,this[_0x354587(0x1ec)]=_0x2fae73,this[_0x354587(0x1d0)]=_0x5f4ba6,this['_collaborationController']=_0x577468;}async['loadActiveSheet'](){var _0x435273=_0x3b1981;return this[_0x435273(0x1cc)]();}async[_0x3b1981(0x1cc)](){var _0x1d1ef4=_0x3b1981;throw new Error(_0x1d1ef4(0x1dc));}async[_0x3b1981(0x1e7)](_0xf8f4d1){var _0x3cd38c=_0x3b1981;return this[_0x3cd38c(0x1ed)](_0xf8f4d1);}async[_0x3b1981(0x1ed)](_0x4593ee,_0x526b9c){var _0x853d68=_0x3b1981;return await this[_0x853d68(0x1d0)]['loadSheet'](_0x4593ee,0x0,_0x526b9c)?(await this[_0x853d68(0x1e8)][_0x853d68(0x1e0)](_0x4593ee),this['_handler']['getUniverSheet'](_0x4593ee)):null;}[_0x3b1981(0x1e6)](_0x40521a,_0x4cab89){var _0x3099e3=_0x3b1981;const _0x575e9b=this['_injector']['get'](c[_0x3099e3(0x1df)])[_0x3099e3(0x1f1)](_0x40521a)[_0x3099e3(0x1cf)](b['switchMap'](_0x28d1cc=>_0x28d1cc[_0x3099e3(0x1f3)]))[_0x3099e3(0x1cd)](_0x81d8dd=>_0x4cab89(Array[_0x3099e3(0x1ea)](_0x81d8dd[_0x3099e3(0x1d6)]())));return i['toDisposable'](_0x575e9b);}},exports[_0x3b1981(0x1f2)]=d([s(0x1,i[_0x3b1981(0x1de)](i[_0x3b1981(0x1d4)])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](v[_0x3b1981(0x1eb)])),s(0x4,i['Inject'](c[_0x3b1981(0x1e9)]))],exports[_0x3b1981(0x1f2)]);class u extends l[_0x3b1981(0x1fa)]{[_0x3b1981(0x1d5)](){var _0x418a78=_0x3b1981;return this['_injector']['createInstance'](exports[_0x418a78(0x1f2)],{'getUniverSheet':_0x2db2ea=>this[_0x418a78(0x1db)](_0x2db2ea)});}['loadServerUnit'](_0x4ea56c,_0x251ad0,_0x5850fe){var _0x2e1332=_0x3b1981;return this['_injector'][_0x2e1332(0x1f0)](c[_0x2e1332(0x1f9)])[_0x2e1332(0x1e1)](_0x4ea56c,_0x251ad0,_0x5850fe);}}l[_0x3b1981(0x1fa)][_0x3b1981(0x1da)](u);