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

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 _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);
1
+ 'use strict';function _0x398a(_0x5493ac,_0x2370d0){var _0x4f2fe4=_0x4f2f();return _0x398a=function(_0x398ad1,_0x13d985){_0x398ad1=_0x398ad1-0xb9;var _0xb2df5b=_0x4f2fe4[_0x398ad1];return _0xb2df5b;},_0x398a(_0x5493ac,_0x2370d0);}var _0x5c3143=_0x398a;(function(_0x725f9d,_0x4f6ce0){var _0x4a39ce=_0x398a,_0x5bfbde=_0x725f9d();while(!![]){try{var _0x25200a=parseInt(_0x4a39ce(0xc8))/0x1+parseInt(_0x4a39ce(0xe3))/0x2+parseInt(_0x4a39ce(0xd6))/0x3*(-parseInt(_0x4a39ce(0xde))/0x4)+-parseInt(_0x4a39ce(0xd5))/0x5+-parseInt(_0x4a39ce(0xc6))/0x6*(parseInt(_0x4a39ce(0xc3))/0x7)+parseInt(_0x4a39ce(0xdc))/0x8*(-parseInt(_0x4a39ce(0xcf))/0x9)+parseInt(_0x4a39ce(0xd0))/0xa*(parseInt(_0x4a39ce(0xe8))/0xb);if(_0x25200a===_0x4f6ce0)break;else _0x5bfbde['push'](_0x5bfbde['shift']());}catch(_0x1aa71d){_0x5bfbde['push'](_0x5bfbde['shift']());}}}(_0x4f2f,0xefced));Object['defineProperty'](exports,Symbol[_0x5c3143(0xcc)],{'value':'Module'});const c=require(_0x5c3143(0xd8)),l=require(_0x5c3143(0xe7)),v=require(_0x5c3143(0xe0)),i=require(_0x5c3143(0xc5)),b=require(_0x5c3143(0xb9));var S=Object['getOwnPropertyDescriptor'],d=(_0xaa1a3e,_0x2682fd,_0x63d254,_0x5697f5)=>{var _0x289700=_0x5c3143;for(var _0x124fd1=_0x5697f5>0x1?void 0x0:_0x5697f5?S(_0x2682fd,_0x63d254):_0x2682fd,_0x3e2b1e=_0xaa1a3e[_0x289700(0xce)]-0x1,_0x148cb8;_0x3e2b1e>=0x0;_0x3e2b1e--)(_0x148cb8=_0xaa1a3e[_0x3e2b1e])&&(_0x124fd1=_0x148cb8(_0x124fd1)||_0x124fd1);return _0x124fd1;},s=(_0x56320e,_0x17fd01)=>(_0x368cb5,_0x56031f)=>_0x17fd01(_0x368cb5,_0x56031f,_0x56320e);function _0x4f2f(){var _0x363bca=['_univerInstanceService','length','27QWnuYr','325290dEPHiO','subscribeCollaborators','SnapshotService','readyForCollab','loadServerUnit','1296665zWCLRo','3WsgVyp','Inject','@univerjs-pro/collaboration-client','pipe','IUniverInstanceService','createInstance','2887728rBEFGL','loadSheet','4849316OVMvGS','values','@univerjs-pro/collaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheetAsync','1079014NFWfFv','_handler','subscribe','toDisposable','@univerjs/core/facade','1122KXADoh','waitForRoom$','get','switchMap','rxjs','FCollaboration','loadUnit','FUniver','loadActiveSheet','getUniverSheet','MemberService','_injector','_snapshotService','extend','7HnpLqD','getCollaboration','@univerjs/core','8139234qpLuKP','loadSheetAsync','1035887cuBhcx','from','_collaborationController','members$','toStringTag'];_0x4f2f=function(){return _0x363bca;};return _0x4f2f();}exports[_0x5c3143(0xba)]=class extends l['FBase']{constructor(_0x3b1303,_0x137d1c,_0x14a2f6,_0x111cb4,_0x5ccdcd){var _0x24ac89=_0x5c3143;super(),this[_0x24ac89(0xe4)]=_0x3b1303,this[_0x24ac89(0xc0)]=_0x137d1c,this[_0x24ac89(0xcd)]=_0x14a2f6,this[_0x24ac89(0xc1)]=_0x111cb4,this[_0x24ac89(0xca)]=_0x5ccdcd;}async[_0x5c3143(0xbd)](){return this['loadActiveSheetAsync']();}async[_0x5c3143(0xe2)](){var _0x31d9fb=_0x5c3143;throw new Error(_0x31d9fb(0xe1));}async[_0x5c3143(0xdd)](_0x12962b){var _0x3dc57b=_0x5c3143;return this[_0x3dc57b(0xc7)](_0x12962b);}async[_0x5c3143(0xc7)](_0x2d59d0,_0x44c611){var _0x1ca8ae=_0x5c3143;return await this['_snapshotService']['loadSheet'](_0x2d59d0,0x0,_0x44c611)?(await this[_0x1ca8ae(0xca)][_0x1ca8ae(0xd3)](_0x2d59d0),this[_0x1ca8ae(0xe4)][_0x1ca8ae(0xbe)](_0x2d59d0)):null;}[_0x5c3143(0xd1)](_0x24c5c2,_0x4fb44a){var _0x5f11aa=_0x5c3143;const _0x4837c6=this[_0x5f11aa(0xc0)][_0x5f11aa(0xea)](c[_0x5f11aa(0xbf)])[_0x5f11aa(0xe9)](_0x24c5c2)[_0x5f11aa(0xd9)](b[_0x5f11aa(0xeb)](_0x3fda9f=>_0x3fda9f[_0x5f11aa(0xcb)]))[_0x5f11aa(0xe5)](_0x4ed550=>_0x4fb44a(Array[_0x5f11aa(0xc9)](_0x4ed550[_0x5f11aa(0xdf)]())));return i[_0x5f11aa(0xe6)](_0x4837c6);}},exports[_0x5c3143(0xba)]=d([s(0x1,i[_0x5c3143(0xd7)](i['Injector'])),s(0x2,i[_0x5c3143(0xda)]),s(0x3,i[_0x5c3143(0xd7)](v[_0x5c3143(0xd2)])),s(0x4,i[_0x5c3143(0xd7)](c['CollaborationController']))],exports['FCollaboration']);class u extends l['FUniver']{[_0x5c3143(0xc4)](){var _0x375cc2=_0x5c3143;return this[_0x375cc2(0xc0)][_0x375cc2(0xdb)](exports['FCollaboration'],{'getUniverSheet':_0x3f0a38=>this[_0x375cc2(0xbe)](_0x3f0a38)});}[_0x5c3143(0xd4)](_0x2dd8cb,_0x574c2f,_0x4d2091){var _0x5567df=_0x5c3143;return this['_injector'][_0x5567df(0xdb)](c['DataLoaderService'])[_0x5567df(0xbb)](_0x2dd8cb,_0x574c2f,_0x4d2091);}}l[_0x5c3143(0xbc)][_0x5c3143(0xc2)](u);