@univerjs-pro/collaboration-client 0.6.6-experimental.20250319-2bbe26f → 0.6.6-experimental.20250321-5cc1a0d

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 _0x19393e=_0x4e8f;function _0x2d1d(){var _0x211099=['loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','subscribe','Module','extend','186fTpxnZ','804IBwRPh','waitForRoom$','@univerjs-pro/collaboration-client','IUniverInstanceService','toStringTag','FCollaboration','SnapshotService','7385915EYySmi','@univerjs-pro/collaboration','_handler','12493894VqWiur','members$','readyForCollab','20eSpgkG','@univerjs/core/facade','subscribeCollaborators','get','loadSheet','getUniverSheet','Inject','9906CINSMN','_snapshotService','from','FUniver','FBase','2043208YcVyJe','getCollaboration','rxjs','loadSheetAsync','3244EkMioe','_injector','createInstance','length','6024321jxYaAq','_collaborationController','pipe','loadServerUnit','values','defineProperty','1295004knpSgp'];_0x2d1d=function(){return _0x211099;};return _0x2d1d();}(function(_0x368faf,_0x34b603){var _0x1f715b=_0x4e8f,_0x298728=_0x368faf();while(!![]){try{var _0x3f8348=-parseInt(_0x1f715b(0x128))/0x1*(parseInt(_0x1f715b(0x113))/0x2)+parseInt(_0x1f715b(0x114))/0x3*(parseInt(_0x1f715b(0x131))/0x4)+-parseInt(_0x1f715b(0x11b))/0x5+parseInt(_0x1f715b(0x13b))/0x6+parseInt(_0x1f715b(0x11e))/0x7+-parseInt(_0x1f715b(0x12d))/0x8+-parseInt(_0x1f715b(0x135))/0x9*(-parseInt(_0x1f715b(0x121))/0xa);if(_0x3f8348===_0x34b603)break;else _0x298728['push'](_0x298728['shift']());}catch(_0x1a2528){_0x298728['push'](_0x298728['shift']());}}}(_0x2d1d,0xdc708));function _0x4e8f(_0x547c41,_0x5691fd){var _0x2d1df1=_0x2d1d();return _0x4e8f=function(_0x4e8f6d,_0xc53094){_0x4e8f6d=_0x4e8f6d-0x10f;var _0xaf054c=_0x2d1df1[_0x4e8f6d];return _0xaf054c;},_0x4e8f(_0x547c41,_0x5691fd);}Object[_0x19393e(0x13a)](exports,Symbol[_0x19393e(0x118)],{'value':_0x19393e(0x111)});const c=require(_0x19393e(0x116)),l=require(_0x19393e(0x122)),v=require(_0x19393e(0x11c)),i=require('@univerjs/core'),b=require(_0x19393e(0x12f));var S=Object['getOwnPropertyDescriptor'],d=(_0x4fbf9d,_0x419289,_0x1d9a1b,_0x23ce70)=>{var _0x4c20ac=_0x19393e;for(var _0x4c0090=_0x23ce70>0x1?void 0x0:_0x23ce70?S(_0x419289,_0x1d9a1b):_0x419289,_0x1c7fd6=_0x4fbf9d[_0x4c20ac(0x134)]-0x1,_0x66105a;_0x1c7fd6>=0x0;_0x1c7fd6--)(_0x66105a=_0x4fbf9d[_0x1c7fd6])&&(_0x4c0090=_0x66105a(_0x4c0090)||_0x4c0090);return _0x4c0090;},s=(_0x522652,_0x529c18)=>(_0x58dfab,_0xc54228)=>_0x529c18(_0x58dfab,_0xc54228,_0x522652);exports[_0x19393e(0x119)]=class extends l[_0x19393e(0x12c)]{constructor(_0x3baac7,_0x329765,_0x13862f,_0x32ce4b,_0x4fc0b7){var _0x55ab3a=_0x19393e;super(),this[_0x55ab3a(0x11d)]=_0x3baac7,this['_injector']=_0x329765,this['_univerInstanceService']=_0x13862f,this[_0x55ab3a(0x129)]=_0x32ce4b,this['_collaborationController']=_0x4fc0b7;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x19393e(0x13c)](){var _0x5d97ff=_0x19393e;throw new Error(_0x5d97ff(0x10f));}async[_0x19393e(0x125)](_0x2c130b){var _0x438d5e=_0x19393e;return this[_0x438d5e(0x130)](_0x2c130b);}async[_0x19393e(0x130)](_0x3ff0ce,_0x37ce61){var _0x26e553=_0x19393e;return await this['_snapshotService'][_0x26e553(0x125)](_0x3ff0ce,0x0,_0x37ce61)?(await this[_0x26e553(0x136)][_0x26e553(0x120)](_0x3ff0ce),this[_0x26e553(0x11d)]['getUniverSheet'](_0x3ff0ce)):null;}[_0x19393e(0x123)](_0x347f80,_0x57ba68){var _0x1fc6f0=_0x19393e;const _0x27df5c=this[_0x1fc6f0(0x132)][_0x1fc6f0(0x124)](c['MemberService'])[_0x1fc6f0(0x115)](_0x347f80)[_0x1fc6f0(0x137)](b['switchMap'](_0x42ccec=>_0x42ccec[_0x1fc6f0(0x11f)]))[_0x1fc6f0(0x110)](_0x1f36a7=>_0x57ba68(Array[_0x1fc6f0(0x12a)](_0x1f36a7[_0x1fc6f0(0x139)]())));return i['toDisposable'](_0x27df5c);}},exports[_0x19393e(0x119)]=d([s(0x1,i[_0x19393e(0x127)](i['Injector'])),s(0x2,i[_0x19393e(0x117)]),s(0x3,i[_0x19393e(0x127)](v[_0x19393e(0x11a)])),s(0x4,i[_0x19393e(0x127)](c['CollaborationController']))],exports[_0x19393e(0x119)]);class u extends l[_0x19393e(0x12b)]{[_0x19393e(0x12e)](){var _0x348d94=_0x19393e;return this[_0x348d94(0x132)][_0x348d94(0x133)](exports[_0x348d94(0x119)],{'getUniverSheet':_0x404ab8=>this[_0x348d94(0x126)](_0x404ab8)});}[_0x19393e(0x138)](_0x4b0598,_0x340bec,_0x24761a){var _0x156926=_0x19393e;return this['_injector'][_0x156926(0x133)](c['DataLoaderService'])['loadUnit'](_0x4b0598,_0x340bec,_0x24761a);}}l[_0x19393e(0x12b)][_0x19393e(0x112)](u);
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);