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

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';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);
1
+ 'use strict';var _0x546d35=_0x25a1;(function(_0x100246,_0x31000a){var _0x4cf219=_0x25a1,_0x2e5b6c=_0x100246();while(!![]){try{var _0x318024=-parseInt(_0x4cf219(0xfd))/0x1+-parseInt(_0x4cf219(0x104))/0x2*(-parseInt(_0x4cf219(0xf4))/0x3)+-parseInt(_0x4cf219(0xfe))/0x4+parseInt(_0x4cf219(0x105))/0x5+-parseInt(_0x4cf219(0xff))/0x6+-parseInt(_0x4cf219(0x100))/0x7+parseInt(_0x4cf219(0x10e))/0x8;if(_0x318024===_0x31000a)break;else _0x2e5b6c['push'](_0x2e5b6c['shift']());}catch(_0x37dce6){_0x2e5b6c['push'](_0x2e5b6c['shift']());}}}(_0x5ec1,0xda51a));function _0x25a1(_0x409674,_0x34ad05){var _0x5ec13d=_0x5ec1();return _0x25a1=function(_0x25a128,_0x2c3fb2){_0x25a128=_0x25a128-0xe9;var _0x30d85f=_0x5ec13d[_0x25a128];return _0x30d85f;},_0x25a1(_0x409674,_0x34ad05);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x546d35(0x10d)});function _0x5ec1(){var _0x2fdec1=['7108704ZTNGdH','4873386OWRlKL','3161634zqlysl','get','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','10FbPFhn','5659005SQgksa','loadSheet','_univerInstanceService','toDisposable','@univerjs-pro/collaboration','FUniver','subscribeCollaborators','getUniverSheet','Module','23520736ElqCmC','loadServerUnit','from','@univerjs-pro/collaboration-client','CollaborationController','SnapshotService','_injector','createInstance','_snapshotService','_handler','readyForCollab','_collaborationController','720177VkqdmY','getOwnPropertyDescriptor','extend','Inject','FBase','rxjs','loadSheetAsync','FCollaboration','@univerjs/core','1336885TgJWvM'];_0x5ec1=function(){return _0x2fdec1;};return _0x5ec1();}const c=require(_0x546d35(0xeb)),l=require('@univerjs/core/facade'),v=require(_0x546d35(0x109)),i=require(_0x546d35(0xfc)),b=require(_0x546d35(0xf9));var S=Object[_0x546d35(0xf5)],d=(_0x5e9df1,_0x429055,_0x573785,_0x448477)=>{for(var _0x1c7c5=_0x448477>0x1?void 0x0:_0x448477?S(_0x429055,_0x573785):_0x429055,_0x5015e8=_0x5e9df1['length']-0x1,_0x11a55d;_0x5015e8>=0x0;_0x5015e8--)(_0x11a55d=_0x5e9df1[_0x5015e8])&&(_0x1c7c5=_0x11a55d(_0x1c7c5)||_0x1c7c5);return _0x1c7c5;},s=(_0x292889,_0x25f90f)=>(_0x2cf924,_0x849d5e)=>_0x25f90f(_0x2cf924,_0x849d5e,_0x292889);exports['FCollaboration']=class extends l[_0x546d35(0xf8)]{constructor(_0x383d39,_0x1ab0ed,_0x34aa2d,_0x57623c,_0x248bcb){var _0x496ef0=_0x546d35;super(),this[_0x496ef0(0xf1)]=_0x383d39,this[_0x496ef0(0xee)]=_0x1ab0ed,this[_0x496ef0(0x107)]=_0x34aa2d,this[_0x496ef0(0xf0)]=_0x57623c,this['_collaborationController']=_0x248bcb;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x3c6d25=_0x546d35;throw new Error(_0x3c6d25(0x103));}async[_0x546d35(0x106)](_0x581950){var _0x7ba047=_0x546d35;return this[_0x7ba047(0xfa)](_0x581950);}async[_0x546d35(0xfa)](_0x262bc3,_0x432f95){var _0x5df0c5=_0x546d35;return await this[_0x5df0c5(0xf0)][_0x5df0c5(0x106)](_0x262bc3,0x0,_0x432f95)?(await this[_0x5df0c5(0xf3)][_0x5df0c5(0xf2)](_0x262bc3),this['_handler'][_0x5df0c5(0x10c)](_0x262bc3)):null;}[_0x546d35(0x10b)](_0x16d232,_0x4bf94e){var _0x4d592c=_0x546d35;const _0xea79e=this['_injector'][_0x4d592c(0x101)](c['MemberService'])['waitForRoom$'](_0x16d232)['pipe'](b['switchMap'](_0x338013=>_0x338013['members$']))['subscribe'](_0x3cd3bb=>_0x4bf94e(Array[_0x4d592c(0xea)](_0x3cd3bb['values']())));return i[_0x4d592c(0x108)](_0xea79e);}},exports[_0x546d35(0xfb)]=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0x546d35(0x102)]),s(0x3,i[_0x546d35(0xf7)](v[_0x546d35(0xed)])),s(0x4,i['Inject'](c[_0x546d35(0xec)]))],exports[_0x546d35(0xfb)]);class u extends l[_0x546d35(0x10a)]{['getCollaboration'](){var _0x7ad877=_0x546d35;return this[_0x7ad877(0xee)][_0x7ad877(0xef)](exports['FCollaboration'],{'getUniverSheet':_0x32322c=>this[_0x7ad877(0x10c)](_0x32322c)});}[_0x546d35(0xe9)](_0x572299,_0x49c669,_0x146711){var _0x28a18d=_0x546d35;return this[_0x28a18d(0xee)][_0x28a18d(0xef)](c['DataLoaderService'])['loadUnit'](_0x572299,_0x49c669,_0x146711);}}l[_0x546d35(0x10a)][_0x546d35(0xf6)](u);