@univerjs-pro/collaboration-client 0.6.6-experimental.20250317-28d180b → 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 _0x185c42=_0x47b4;function _0x5222(){var _0x53fc78=['getOwnPropertyDescriptor','readyForCollab','267288slOeaz','get','loadSheet','2687240baxcDg','loadActiveSheetAsync','2vVaksd','loadSheetAsync','3128088uvkleS','Module','Injector','SnapshotService','pipe','@univerjs/core','switchMap','5202264IcRjqA','7xkMNQO','from','toDisposable','defineProperty','getUniverSheet','MemberService','2655668DXkDiN','_handler','getCollaboration','subscribeCollaborators','Inject','CollaborationController','_injector','1033704ZNsNaf','FUniver','FCollaboration','@univerjs/core/facade','toStringTag','createInstance','2151cnkWyQ','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_collaborationController','subscribe','_snapshotService','45610sBispc','FBase','values'];_0x5222=function(){return _0x53fc78;};return _0x5222();}(function(_0x9c5505,_0x335be1){var _0x3825b9=_0x47b4,_0x55f852=_0x9c5505();while(!![]){try{var _0x59b13c=parseInt(_0x3825b9(0x144))/0x1*(parseInt(_0x3825b9(0x13f))/0x2)+parseInt(_0x3825b9(0x12f))/0x3+-parseInt(_0x3825b9(0x128))/0x4+parseInt(_0x3825b9(0x142))/0x5+parseInt(_0x3825b9(0x146))/0x6*(-parseInt(_0x3825b9(0x14e))/0x7)+-parseInt(_0x3825b9(0x14d))/0x8+-parseInt(_0x3825b9(0x135))/0x9*(-parseInt(_0x3825b9(0x13a))/0xa);if(_0x59b13c===_0x335be1)break;else _0x55f852['push'](_0x55f852['shift']());}catch(_0x24a212){_0x55f852['push'](_0x55f852['shift']());}}}(_0x5222,0x6297b));function _0x47b4(_0x5f3a10,_0x59454d){var _0x52228e=_0x5222();return _0x47b4=function(_0x47b44b,_0x2ca5ee){_0x47b44b=_0x47b44b-0x127;var _0x3635bf=_0x52228e[_0x47b44b];return _0x3635bf;},_0x47b4(_0x5f3a10,_0x59454d);}Object[_0x185c42(0x151)](exports,Symbol[_0x185c42(0x133)],{'value':_0x185c42(0x147)});const l=require(_0x185c42(0x132)),b=require('@univerjs-pro/collaboration'),h=require('@univerjs-pro/collaboration-client'),i=require(_0x185c42(0x14b)),v=require('rxjs');var u=Object[_0x185c42(0x13d)],S=(_0x1ee79b,_0x193957,_0x3c5fae,_0x1946d9)=>{for(var _0x490da8=_0x1946d9>0x1?void 0x0:_0x1946d9?u(_0x193957,_0x3c5fae):_0x193957,_0x3295c4=_0x1ee79b['length']-0x1,_0x4bc65b;_0x3295c4>=0x0;_0x3295c4--)(_0x4bc65b=_0x1ee79b[_0x3295c4])&&(_0x490da8=_0x4bc65b(_0x490da8)||_0x490da8);return _0x490da8;},s=(_0x2f908a,_0x30db47)=>(_0x587f8b,_0x1d342b)=>_0x30db47(_0x587f8b,_0x1d342b,_0x2f908a);exports['FCollaboration']=class extends l[_0x185c42(0x13b)]{constructor(_0x220a69,_0x2fe53b,_0x255502,_0x582151,_0x4454f7){var _0x1ab080=_0x185c42;super(),this[_0x1ab080(0x129)]=_0x220a69,this[_0x1ab080(0x12e)]=_0x2fe53b,this['_univerInstanceService']=_0x255502,this[_0x1ab080(0x139)]=_0x582151,this[_0x1ab080(0x137)]=_0x4454f7;}async['loadActiveSheet'](){var _0x32e793=_0x185c42;return this[_0x32e793(0x143)]();}async[_0x185c42(0x143)](){var _0x453ae9=_0x185c42;throw new Error(_0x453ae9(0x136));}async['loadSheet'](_0x39c416){var _0x51ecdb=_0x185c42;return this[_0x51ecdb(0x145)](_0x39c416);}async[_0x185c42(0x145)](_0x1df508,_0x4ede30){var _0x4a8689=_0x185c42;return await this[_0x4a8689(0x139)][_0x4a8689(0x141)](_0x1df508,0x0,_0x4ede30)?(await this[_0x4a8689(0x137)][_0x4a8689(0x13e)](_0x1df508),this[_0x4a8689(0x129)][_0x4a8689(0x152)](_0x1df508)):null;}[_0x185c42(0x12b)](_0x3abf20,_0x4bfac0){var _0x4c585e=_0x185c42;const _0x2e7fa6=this[_0x4c585e(0x12e)][_0x4c585e(0x140)](h[_0x4c585e(0x127)])['waitForRoom$'](_0x3abf20)[_0x4c585e(0x14a)](v[_0x4c585e(0x14c)](_0x15db39=>_0x15db39['members$']))[_0x4c585e(0x138)](_0x764db3=>_0x4bfac0(Array[_0x4c585e(0x14f)](_0x764db3[_0x4c585e(0x13c)]())));return i[_0x4c585e(0x150)](_0x2e7fa6);}},exports['FCollaboration']=S([s(0x1,i[_0x185c42(0x12c)](i[_0x185c42(0x148)])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](b[_0x185c42(0x149)])),s(0x4,i[_0x185c42(0x12c)](h[_0x185c42(0x12d)]))],exports[_0x185c42(0x131)]);class d extends l[_0x185c42(0x130)]{[_0x185c42(0x12a)](){var _0x5a5c7e=_0x185c42;return this[_0x5a5c7e(0x12e)][_0x5a5c7e(0x134)](exports[_0x5a5c7e(0x131)],{'getUniverSheet':_0x2aaea8=>this[_0x5a5c7e(0x152)](_0x2aaea8)});}}l[_0x185c42(0x130)]['extend'](d);
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);