@univerjs-pro/collaboration-client 0.6.10-nightly.202504101607 → 0.6.10-nightly.202504111607

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 _0x1b16fc=_0x4ab3;(function(_0x180c3c,_0x3a56e9){var _0x501a78=_0x4ab3,_0x5c75bd=_0x180c3c();while(!![]){try{var _0x72802b=-parseInt(_0x501a78(0x8e))/0x1+parseInt(_0x501a78(0x8d))/0x2*(parseInt(_0x501a78(0x9d))/0x3)+parseInt(_0x501a78(0xa6))/0x4*(-parseInt(_0x501a78(0xa7))/0x5)+parseInt(_0x501a78(0x9e))/0x6+-parseInt(_0x501a78(0x8c))/0x7*(parseInt(_0x501a78(0x9b))/0x8)+-parseInt(_0x501a78(0xa5))/0x9+parseInt(_0x501a78(0x9f))/0xa*(parseInt(_0x501a78(0xad))/0xb);if(_0x72802b===_0x3a56e9)break;else _0x5c75bd['push'](_0x5c75bd['shift']());}catch(_0x17a077){_0x5c75bd['push'](_0x5c75bd['shift']());}}}(_0x29d0,0x50a55));Object['defineProperty'](exports,Symbol[_0x1b16fc(0x90)],{'value':_0x1b16fc(0xa9)});const c=require(_0x1b16fc(0x9c)),l=require(_0x1b16fc(0x99)),v=require('@univerjs-pro/collaboration'),i=require(_0x1b16fc(0xa8)),b=require(_0x1b16fc(0x92));function _0x4ab3(_0xb96c19,_0x584577){var _0x29d093=_0x29d0();return _0x4ab3=function(_0x4ab3f,_0x28164f){_0x4ab3f=_0x4ab3f-0x8a;var _0x291f69=_0x29d093[_0x4ab3f];return _0x291f69;},_0x4ab3(_0xb96c19,_0x584577);}var S=Object[_0x1b16fc(0xa2)],d=(_0x17470f,_0x55b312,_0x5568c7,_0x3cf366)=>{var _0x568ca6=_0x1b16fc;for(var _0xfbc030=_0x3cf366>0x1?void 0x0:_0x3cf366?S(_0x55b312,_0x5568c7):_0x55b312,_0x3de49b=_0x17470f[_0x568ca6(0xb4)]-0x1,_0x32240a;_0x3de49b>=0x0;_0x3de49b--)(_0x32240a=_0x17470f[_0x3de49b])&&(_0xfbc030=_0x32240a(_0xfbc030)||_0xfbc030);return _0xfbc030;},s=(_0x30d7bd,_0x5df522)=>(_0x443035,_0x255b02)=>_0x5df522(_0x443035,_0x255b02,_0x30d7bd);exports[_0x1b16fc(0x97)]=class extends l[_0x1b16fc(0x94)]{constructor(_0x1ff493,_0x49aec0,_0x4b9b5c,_0x23a450,_0x3e54b1){var _0xf957c8=_0x1b16fc;super(),this['_handler']=_0x1ff493,this['_injector']=_0x49aec0,this['_univerInstanceService']=_0x4b9b5c,this[_0xf957c8(0xb7)]=_0x23a450,this[_0xf957c8(0x91)]=_0x3e54b1;}async[_0x1b16fc(0x9a)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x472f12=_0x1b16fc;throw new Error(_0x472f12(0xb1));}async[_0x1b16fc(0xb3)](_0x393eac){var _0x3a79a3=_0x1b16fc;return this[_0x3a79a3(0xac)](_0x393eac);}async[_0x1b16fc(0xac)](_0xeb86f1,_0x47c486){var _0x3d5e61=_0x1b16fc;return await this[_0x3d5e61(0xb7)]['loadSheet'](_0xeb86f1,0x0,_0x47c486)?(await this[_0x3d5e61(0x91)][_0x3d5e61(0x8f)](_0xeb86f1),this['_handler'][_0x3d5e61(0xb0)](_0xeb86f1)):null;}['subscribeCollaborators'](_0x2aec5f,_0x241ce6){var _0x2ba5c1=_0x1b16fc;const _0x181c7a=this[_0x2ba5c1(0xae)]['get'](c[_0x2ba5c1(0x98)])[_0x2ba5c1(0x96)](_0x2aec5f)['pipe'](b[_0x2ba5c1(0xb6)](_0x254358=>_0x254358[_0x2ba5c1(0xa1)]))[_0x2ba5c1(0xa4)](_0x795dff=>_0x241ce6(Array[_0x2ba5c1(0x95)](_0x795dff[_0x2ba5c1(0xa0)]())));return i['toDisposable'](_0x181c7a);}},exports[_0x1b16fc(0x97)]=d([s(0x1,i['Inject'](i[_0x1b16fc(0xa3)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1b16fc(0x93)](v[_0x1b16fc(0x8b)])),s(0x4,i[_0x1b16fc(0x93)](c['CollaborationController']))],exports[_0x1b16fc(0x97)]);class u extends l[_0x1b16fc(0xaa)]{[_0x1b16fc(0xb5)](){var _0xfcdcd2=_0x1b16fc;return this[_0xfcdcd2(0xae)][_0xfcdcd2(0x8a)](exports[_0xfcdcd2(0x97)],{'getUniverSheet':_0x3486b0=>this[_0xfcdcd2(0xb0)](_0x3486b0)});}[_0x1b16fc(0xaf)](_0x348295,_0x40fd93,_0x44767a){var _0x57267c=_0x1b16fc;return this[_0x57267c(0xae)][_0x57267c(0x8a)](c[_0x57267c(0xab)])[_0x57267c(0xb2)](_0x348295,_0x40fd93,_0x44767a);}}function _0x29d0(){var _0x153284=['FUniver','DataLoaderService','loadSheetAsync','1562zvvtxD','_injector','loadServerUnit','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnit','loadSheet','length','getCollaboration','switchMap','_snapshotService','createInstance','SnapshotService','3794wvwqqn','5098KHIcTV','404594ukqjRc','readyForCollab','toStringTag','_collaborationController','rxjs','Inject','FBase','from','waitForRoom$','FCollaboration','MemberService','@univerjs/core/facade','loadActiveSheet','2168RXDqah','@univerjs-pro/collaboration-client','579fGNwfj','891834IYTAJu','36430TWueGR','values','members$','getOwnPropertyDescriptor','Injector','subscribe','2182122YwMWbc','4brxGus','168215jTYmHF','@univerjs/core','Module'];_0x29d0=function(){return _0x153284;};return _0x29d0();}l[_0x1b16fc(0xaa)]['extend'](u);
1
+ 'use strict';var _0x328bf1=_0x32b4;(function(_0x2351d9,_0x4c9b91){var _0x5b68c3=_0x32b4,_0x3c55e9=_0x2351d9();while(!![]){try{var _0x56417d=-parseInt(_0x5b68c3(0x139))/0x1+parseInt(_0x5b68c3(0x129))/0x2+parseInt(_0x5b68c3(0x119))/0x3+parseInt(_0x5b68c3(0x133))/0x4+-parseInt(_0x5b68c3(0x122))/0x5*(parseInt(_0x5b68c3(0x11a))/0x6)+parseInt(_0x5b68c3(0x124))/0x7*(-parseInt(_0x5b68c3(0x13a))/0x8)+parseInt(_0x5b68c3(0x112))/0x9;if(_0x56417d===_0x4c9b91)break;else _0x3c55e9['push'](_0x3c55e9['shift']());}catch(_0x44fcb0){_0x3c55e9['push'](_0x3c55e9['shift']());}}}(_0x35f1,0xc36ee));function _0x35f1(){var _0x471aa7=['_univerInstanceService','loadSheetAsync','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','11994408nSlRXZ','waitForRoom$','subscribeCollaborators','loadSheet','FCollaboration','_snapshotService','_injector','2221530aPmCVR','6676962VmNlVo','getOwnPropertyDescriptor','toStringTag','extend','FUniver','Inject','defineProperty','members$','5VcnrRo','_handler','7btFVbn','Module','pipe','rxjs','createInstance','1786942mjjFZx','getCollaboration','loadServerUnit','@univerjs-pro/collaboration-client','from','DataLoaderService','switchMap','loadUnit','@univerjs/core/facade','loadActiveSheet','2574792BRqyUE','get','FBase','readyForCollab','getUniverSheet','Injector','1441741LttXTP','2042632ZYaMSZ','@univerjs/core'];_0x35f1=function(){return _0x471aa7;};return _0x35f1();}Object[_0x328bf1(0x120)](exports,Symbol[_0x328bf1(0x11c)],{'value':_0x328bf1(0x125)});const c=require(_0x328bf1(0x12c)),l=require(_0x328bf1(0x131)),v=require('@univerjs-pro/collaboration'),i=require(_0x328bf1(0x13b)),b=require(_0x328bf1(0x127));function _0x32b4(_0x3dafff,_0x565710){var _0x35f1c9=_0x35f1();return _0x32b4=function(_0x32b465,_0x12c913){_0x32b465=_0x32b465-0x10f;var _0x46288f=_0x35f1c9[_0x32b465];return _0x46288f;},_0x32b4(_0x3dafff,_0x565710);}var S=Object[_0x328bf1(0x11b)],d=(_0x12268a,_0x17b544,_0x1dd43a,_0x437b4c)=>{for(var _0x55a294=_0x437b4c>0x1?void 0x0:_0x437b4c?S(_0x17b544,_0x1dd43a):_0x17b544,_0x39efaa=_0x12268a['length']-0x1,_0x536e16;_0x39efaa>=0x0;_0x39efaa--)(_0x536e16=_0x12268a[_0x39efaa])&&(_0x55a294=_0x536e16(_0x55a294)||_0x55a294);return _0x55a294;},s=(_0x225067,_0x332863)=>(_0x163e1f,_0x591563)=>_0x332863(_0x163e1f,_0x591563,_0x225067);exports[_0x328bf1(0x116)]=class extends l[_0x328bf1(0x135)]{constructor(_0x5c89c6,_0x31184b,_0x4d46e1,_0xa5eb31,_0x54d425){var _0x3d153f=_0x328bf1;super(),this[_0x3d153f(0x123)]=_0x5c89c6,this[_0x3d153f(0x118)]=_0x31184b,this[_0x3d153f(0x13c)]=_0x4d46e1,this[_0x3d153f(0x117)]=_0xa5eb31,this['_collaborationController']=_0x54d425;}async[_0x328bf1(0x132)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x2afe19=_0x328bf1;throw new Error(_0x2afe19(0x111));}async[_0x328bf1(0x115)](_0x4c09ba){var _0x4b56e6=_0x328bf1;return this[_0x4b56e6(0x10f)](_0x4c09ba);}async['loadSheetAsync'](_0x24f53f,_0x17b7b3){var _0x13cae6=_0x328bf1;return await this[_0x13cae6(0x117)][_0x13cae6(0x115)](_0x24f53f,0x0,_0x17b7b3)?(await this['_collaborationController'][_0x13cae6(0x136)](_0x24f53f),this['_handler'][_0x13cae6(0x137)](_0x24f53f)):null;}[_0x328bf1(0x114)](_0x7604e7,_0xc5c8f2){var _0x91e26b=_0x328bf1;const _0x191d61=this[_0x91e26b(0x118)][_0x91e26b(0x134)](c['MemberService'])[_0x91e26b(0x113)](_0x7604e7)[_0x91e26b(0x126)](b[_0x91e26b(0x12f)](_0x58d670=>_0x58d670[_0x91e26b(0x121)]))['subscribe'](_0x34264a=>_0xc5c8f2(Array[_0x91e26b(0x12d)](_0x34264a['values']())));return i[_0x91e26b(0x110)](_0x191d61);}},exports[_0x328bf1(0x116)]=d([s(0x1,i[_0x328bf1(0x11f)](i[_0x328bf1(0x138)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x328bf1(0x11f)](v['SnapshotService'])),s(0x4,i[_0x328bf1(0x11f)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x328bf1(0x11e)]{[_0x328bf1(0x12a)](){var _0x2570cc=_0x328bf1;return this[_0x2570cc(0x118)][_0x2570cc(0x128)](exports[_0x2570cc(0x116)],{'getUniverSheet':_0x5520d7=>this[_0x2570cc(0x137)](_0x5520d7)});}[_0x328bf1(0x12b)](_0x32b3e4,_0x591f49,_0x1c0ab1){var _0x49618d=_0x328bf1;return this[_0x49618d(0x118)]['createInstance'](c[_0x49618d(0x12e)])[_0x49618d(0x130)](_0x32b3e4,_0x591f49,_0x1c0ab1);}}l['FUniver'][_0x328bf1(0x11d)](u);