@univerjs-pro/collaboration-client 0.6.7-experimental.20250402-1f9acb8 → 0.6.7-experimental.20250402-cbaeae1

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 _0x42a980=_0x1e31;(function(_0x24c38a,_0x4ebe16){var _0x1111a7=_0x1e31,_0x1e118c=_0x24c38a();while(!![]){try{var _0x4ec37b=parseInt(_0x1111a7(0x157))/0x1+-parseInt(_0x1111a7(0x14a))/0x2+parseInt(_0x1111a7(0x13e))/0x3+parseInt(_0x1111a7(0x13d))/0x4*(-parseInt(_0x1111a7(0x152))/0x5)+parseInt(_0x1111a7(0x144))/0x6+parseInt(_0x1111a7(0x13c))/0x7+parseInt(_0x1111a7(0x151))/0x8;if(_0x4ec37b===_0x4ebe16)break;else _0x1e118c['push'](_0x1e118c['shift']());}catch(_0x22646c){_0x1e118c['push'](_0x1e118c['shift']());}}}(_0x3e20,0xcbe35));Object[_0x42a980(0x138)](exports,Symbol[_0x42a980(0x146)],{'value':_0x42a980(0x145)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x42a980(0x14c)),v=require(_0x42a980(0x15e)),i=require('@univerjs/core'),b=require(_0x42a980(0x154));var S=Object[_0x42a980(0x158)],d=(_0x78335e,_0x125cbd,_0x2f13c1,_0x256f09)=>{var _0x452ed4=_0x42a980;for(var _0x16fcd8=_0x256f09>0x1?void 0x0:_0x256f09?S(_0x125cbd,_0x2f13c1):_0x125cbd,_0x2d7f3c=_0x78335e[_0x452ed4(0x14f)]-0x1,_0x4a678f;_0x2d7f3c>=0x0;_0x2d7f3c--)(_0x4a678f=_0x78335e[_0x2d7f3c])&&(_0x16fcd8=_0x4a678f(_0x16fcd8)||_0x16fcd8);return _0x16fcd8;},s=(_0x3bca78,_0x3c8d0)=>(_0x4b1146,_0x4e2d12)=>_0x3c8d0(_0x4b1146,_0x4e2d12,_0x3bca78);function _0x1e31(_0x4245a5,_0x25eb84){var _0x3e2089=_0x3e20();return _0x1e31=function(_0x1e3174,_0x5ac8b5){_0x1e3174=_0x1e3174-0x138;var _0x23f1f3=_0x3e2089[_0x1e3174];return _0x23f1f3;},_0x1e31(_0x4245a5,_0x25eb84);}function _0x3e20(){var _0x7edc8b=['length','FUniver','4089776TMJFdN','15tPqKPb','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','rxjs','extend','_snapshotService','633599noUxPH','getOwnPropertyDescriptor','FCollaboration','Injector','CollaborationController','get','switchMap','@univerjs-pro/collaboration','_injector','loadActiveSheetAsync','loadUnit','loadServerUnit','loadSheet','_collaborationController','defineProperty','createInstance','SnapshotService','pipe','664797MtChCU','1725836DfhTFL','2640810htUtPi','members$','waitForRoom$','_univerInstanceService','Inject','DataLoaderService','5505618MUDXqf','Module','toStringTag','IUniverInstanceService','subscribe','getUniverSheet','1816326HOjULM','loadSheetAsync','@univerjs/core/facade','subscribeCollaborators','readyForCollab'];_0x3e20=function(){return _0x7edc8b;};return _0x3e20();}exports[_0x42a980(0x159)]=class extends l['FBase']{constructor(_0x144d61,_0x2f8ec0,_0x287a82,_0x4481af,_0x23898f){var _0x5ccab8=_0x42a980;super(),this['_handler']=_0x144d61,this[_0x5ccab8(0x15f)]=_0x2f8ec0,this[_0x5ccab8(0x141)]=_0x287a82,this[_0x5ccab8(0x156)]=_0x4481af,this['_collaborationController']=_0x23898f;}async['loadActiveSheet'](){var _0x2209cd=_0x42a980;return this[_0x2209cd(0x160)]();}async['loadActiveSheetAsync'](){var _0x5910a2=_0x42a980;throw new Error(_0x5910a2(0x153));}async['loadSheet'](_0x35ff01){var _0x5648fa=_0x42a980;return this[_0x5648fa(0x14b)](_0x35ff01);}async['loadSheetAsync'](_0x5268cb,_0x5b44ed){var _0xdf1fd4=_0x42a980;return await this[_0xdf1fd4(0x156)][_0xdf1fd4(0x163)](_0x5268cb,0x0,_0x5b44ed)?(await this[_0xdf1fd4(0x164)][_0xdf1fd4(0x14e)](_0x5268cb),this['_handler'][_0xdf1fd4(0x149)](_0x5268cb)):null;}[_0x42a980(0x14d)](_0x1c1079,_0x7b8035){var _0x1aa89d=_0x42a980;const _0x2abb23=this[_0x1aa89d(0x15f)][_0x1aa89d(0x15c)](c['MemberService'])[_0x1aa89d(0x140)](_0x1c1079)[_0x1aa89d(0x13b)](b[_0x1aa89d(0x15d)](_0x2d3039=>_0x2d3039[_0x1aa89d(0x13f)]))[_0x1aa89d(0x148)](_0x4e043c=>_0x7b8035(Array['from'](_0x4e043c['values']())));return i['toDisposable'](_0x2abb23);}},exports[_0x42a980(0x159)]=d([s(0x1,i[_0x42a980(0x142)](i[_0x42a980(0x15a)])),s(0x2,i[_0x42a980(0x147)]),s(0x3,i[_0x42a980(0x142)](v[_0x42a980(0x13a)])),s(0x4,i[_0x42a980(0x142)](c[_0x42a980(0x15b)]))],exports[_0x42a980(0x159)]);class u extends l[_0x42a980(0x150)]{['getCollaboration'](){var _0x4598ff=_0x42a980;return this['_injector']['createInstance'](exports[_0x4598ff(0x159)],{'getUniverSheet':_0x5eb903=>this[_0x4598ff(0x149)](_0x5eb903)});}[_0x42a980(0x162)](_0x5c33c2,_0x46d9e,_0x26ec90){var _0x4e03c8=_0x42a980;return this[_0x4e03c8(0x15f)][_0x4e03c8(0x139)](c[_0x4e03c8(0x143)])[_0x4e03c8(0x161)](_0x5c33c2,_0x46d9e,_0x26ec90);}}l[_0x42a980(0x150)][_0x42a980(0x155)](u);
1
+ 'use strict';var _0x4c8390=_0x5098;function _0x425e(){var _0x25023a=['from','336570izIXfe','_univerInstanceService','FBase','loadActiveSheet','get','Injector','303980XkOuEo','3EZiwkJ','@univerjs/core/facade','596393lhKAkk','loadSheetAsync','@univerjs-pro/collaboration-client','_snapshotService','@univerjs/core','loadActiveSheetAsync','SnapshotService','2317100fCkotG','MemberService','IUniverInstanceService','subscribe','getUniverSheet','readyForCollab','extend','switchMap','createInstance','25726nOnDRQ','FCollaboration','6376941ywlibQ','Module','loadUnit','members$','_handler','_collaborationController','subscribeCollaborators','54RvpKkn','32TQSrMh','Inject','waitForRoom$','rxjs','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','473lufLDD','getCollaboration','FUniver','1431476tLypWw','CollaborationController','values','getOwnPropertyDescriptor','loadSheet'];_0x425e=function(){return _0x25023a;};return _0x425e();}(function(_0x114ea1,_0x24dade){var _0x164963=_0x5098,_0x193497=_0x114ea1();while(!![]){try{var _0x439820=-parseInt(_0x164963(0x100))/0x1+parseInt(_0x164963(0x113))/0x2*(-parseInt(_0x164963(0xee))/0x3)+parseInt(_0x164963(0xf7))/0x4+-parseInt(_0x164963(0xed))/0x5*(parseInt(_0x164963(0x109))/0x6)+-parseInt(_0x164963(0xf0))/0x7*(-parseInt(_0x164963(0x10a))/0x8)+-parseInt(_0x164963(0x102))/0x9+-parseInt(_0x164963(0xe7))/0xa*(-parseInt(_0x164963(0x110))/0xb);if(_0x439820===_0x24dade)break;else _0x193497['push'](_0x193497['shift']());}catch(_0x11cd6c){_0x193497['push'](_0x193497['shift']());}}}(_0x425e,0x5a5e1));function _0x5098(_0x169609,_0x58734e){var _0x425e1a=_0x425e();return _0x5098=function(_0x5098d6,_0x2f7892){_0x5098d6=_0x5098d6-0xe3;var _0x2c9e3c=_0x425e1a[_0x5098d6];return _0x2c9e3c;},_0x5098(_0x169609,_0x58734e);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x4c8390(0x103)});const c=require(_0x4c8390(0xf2)),l=require(_0x4c8390(0xef)),v=require('@univerjs-pro/collaboration'),i=require(_0x4c8390(0xf4)),b=require(_0x4c8390(0x10d));var S=Object[_0x4c8390(0xe4)],d=(_0x21a863,_0x58ed00,_0x1e5e66,_0x4abf15)=>{for(var _0x46294e=_0x4abf15>0x1?void 0x0:_0x4abf15?S(_0x58ed00,_0x1e5e66):_0x58ed00,_0xdb7be5=_0x21a863['length']-0x1,_0x3c8f40;_0xdb7be5>=0x0;_0xdb7be5--)(_0x3c8f40=_0x21a863[_0xdb7be5])&&(_0x46294e=_0x3c8f40(_0x46294e)||_0x46294e);return _0x46294e;},s=(_0x1c1ecf,_0x141999)=>(_0x706ce0,_0x5bff65)=>_0x141999(_0x706ce0,_0x5bff65,_0x1c1ecf);exports[_0x4c8390(0x101)]=class extends l[_0x4c8390(0xe9)]{constructor(_0xe8d3b5,_0x3d8922,_0x208b4f,_0x9b767,_0x14144b){var _0x2f458c=_0x4c8390;super(),this[_0x2f458c(0x106)]=_0xe8d3b5,this[_0x2f458c(0x10e)]=_0x3d8922,this[_0x2f458c(0xe8)]=_0x208b4f,this[_0x2f458c(0xf3)]=_0x9b767,this[_0x2f458c(0x107)]=_0x14144b;}async[_0x4c8390(0xea)](){return this['loadActiveSheetAsync']();}async[_0x4c8390(0xf5)](){var _0x22c9bf=_0x4c8390;throw new Error(_0x22c9bf(0x10f));}async[_0x4c8390(0xe5)](_0x4b1e3f){return this['loadSheetAsync'](_0x4b1e3f);}async[_0x4c8390(0xf1)](_0xaa5ded,_0x51fd44){var _0xccf43f=_0x4c8390;return await this['_snapshotService'][_0xccf43f(0xe5)](_0xaa5ded,0x0,_0x51fd44)?(await this[_0xccf43f(0x107)][_0xccf43f(0xfc)](_0xaa5ded),this[_0xccf43f(0x106)][_0xccf43f(0xfb)](_0xaa5ded)):null;}[_0x4c8390(0x108)](_0x5aa0bc,_0x29be17){var _0x49472a=_0x4c8390;const _0x171d5b=this['_injector'][_0x49472a(0xeb)](c[_0x49472a(0xf8)])[_0x49472a(0x10c)](_0x5aa0bc)['pipe'](b[_0x49472a(0xfe)](_0x249c2b=>_0x249c2b[_0x49472a(0x105)]))[_0x49472a(0xfa)](_0x3f2511=>_0x29be17(Array[_0x49472a(0xe6)](_0x3f2511[_0x49472a(0xe3)]())));return i['toDisposable'](_0x171d5b);}},exports[_0x4c8390(0x101)]=d([s(0x1,i[_0x4c8390(0x10b)](i[_0x4c8390(0xec)])),s(0x2,i[_0x4c8390(0xf9)]),s(0x3,i[_0x4c8390(0x10b)](v[_0x4c8390(0xf6)])),s(0x4,i[_0x4c8390(0x10b)](c[_0x4c8390(0x114)]))],exports[_0x4c8390(0x101)]);class u extends l[_0x4c8390(0x112)]{[_0x4c8390(0x111)](){var _0x166035=_0x4c8390;return this[_0x166035(0x10e)][_0x166035(0xff)](exports[_0x166035(0x101)],{'getUniverSheet':_0x555632=>this['getUniverSheet'](_0x555632)});}['loadServerUnit'](_0x40ff55,_0x25fea7,_0x301bca){var _0x4bfa3e=_0x4c8390;return this['_injector']['createInstance'](c['DataLoaderService'])[_0x4bfa3e(0x104)](_0x40ff55,_0x25fea7,_0x301bca);}}l[_0x4c8390(0x112)][_0x4c8390(0xfd)](u);