@univerjs-pro/collaboration-client 0.6.6-experimental.20250326-149d5e1 → 0.6.6-experimental.20250326-cfbc9a5

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 _0x1a60cc=_0x198a;(function(_0x322088,_0xd0de23){var _0x379217=_0x198a,_0x2bee2f=_0x322088();while(!![]){try{var _0x43d06b=parseInt(_0x379217(0x1d7))/0x1*(-parseInt(_0x379217(0x1f3))/0x2)+parseInt(_0x379217(0x1f4))/0x3*(-parseInt(_0x379217(0x1db))/0x4)+-parseInt(_0x379217(0x1dc))/0x5*(-parseInt(_0x379217(0x1da))/0x6)+-parseInt(_0x379217(0x1ec))/0x7+-parseInt(_0x379217(0x1d0))/0x8+-parseInt(_0x379217(0x1e3))/0x9+parseInt(_0x379217(0x1f9))/0xa;if(_0x43d06b===_0xd0de23)break;else _0x2bee2f['push'](_0x2bee2f['shift']());}catch(_0x3f3c53){_0x2bee2f['push'](_0x2bee2f['shift']());}}}(_0x4cc1,0xe8554));Object[_0x1a60cc(0x1e8)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x1a60cc(0x1f6)),v=require('@univerjs-pro/collaboration'),i=require(_0x1a60cc(0x1f8)),b=require(_0x1a60cc(0x1d6));var S=Object[_0x1a60cc(0x1f7)],d=(_0x29e2a3,_0x40e559,_0x5904aa,_0x4ebf2f)=>{var _0x4daa34=_0x1a60cc;for(var _0x1f736=_0x4ebf2f>0x1?void 0x0:_0x4ebf2f?S(_0x40e559,_0x5904aa):_0x40e559,_0x4f169c=_0x29e2a3[_0x4daa34(0x1d3)]-0x1,_0x57bd76;_0x4f169c>=0x0;_0x4f169c--)(_0x57bd76=_0x29e2a3[_0x4f169c])&&(_0x1f736=_0x57bd76(_0x1f736)||_0x1f736);return _0x1f736;},s=(_0x2c94ae,_0x505db3)=>(_0x35bd71,_0x285167)=>_0x505db3(_0x35bd71,_0x285167,_0x2c94ae);exports[_0x1a60cc(0x1ed)]=class extends l[_0x1a60cc(0x1e7)]{constructor(_0x48fd91,_0x1654bb,_0x1d21d3,_0x1ba753,_0x22073b){var _0x112f3a=_0x1a60cc;super(),this[_0x112f3a(0x1ee)]=_0x48fd91,this['_injector']=_0x1654bb,this[_0x112f3a(0x1ea)]=_0x1d21d3,this[_0x112f3a(0x1e1)]=_0x1ba753,this[_0x112f3a(0x1d5)]=_0x22073b;}async[_0x1a60cc(0x1e2)](){var _0x55efc6=_0x1a60cc;return this[_0x55efc6(0x1f5)]();}async[_0x1a60cc(0x1f5)](){var _0x324a13=_0x1a60cc;throw new Error(_0x324a13(0x1e0));}async[_0x1a60cc(0x1ef)](_0x2256e3){return this['loadSheetAsync'](_0x2256e3);}async[_0x1a60cc(0x1f1)](_0x4903a8,_0x38f0b5){var _0x4a85c7=_0x1a60cc;return await this[_0x4a85c7(0x1e1)][_0x4a85c7(0x1ef)](_0x4903a8,0x0,_0x38f0b5)?(await this['_collaborationController'][_0x4a85c7(0x1df)](_0x4903a8),this[_0x4a85c7(0x1ee)][_0x4a85c7(0x1f2)](_0x4903a8)):null;}['subscribeCollaborators'](_0x4763b1,_0xed7d3){var _0x1392bd=_0x1a60cc;const _0x2416e2=this[_0x1392bd(0x1e9)][_0x1392bd(0x1d8)](c['MemberService'])['waitForRoom$'](_0x4763b1)[_0x1392bd(0x1f0)](b[_0x1392bd(0x1e5)](_0x1a0736=>_0x1a0736['members$']))[_0x1392bd(0x1d1)](_0x5c97c4=>_0xed7d3(Array[_0x1392bd(0x1dd)](_0x5c97c4['values']())));return i['toDisposable'](_0x2416e2);}},exports['FCollaboration']=d([s(0x1,i[_0x1a60cc(0x1d2)](i[_0x1a60cc(0x1e6)])),s(0x2,i[_0x1a60cc(0x1d4)]),s(0x3,i['Inject'](v[_0x1a60cc(0x1eb)])),s(0x4,i['Inject'](c[_0x1a60cc(0x1d9)]))],exports['FCollaboration']);function _0x4cc1(){var _0x59263b=['switchMap','Injector','FBase','defineProperty','_injector','_univerInstanceService','SnapshotService','11792193pkgnqS','FCollaboration','_handler','loadSheet','pipe','loadSheetAsync','getUniverSheet','208340kCEolh','3THFxll','loadActiveSheetAsync','@univerjs/core/facade','getOwnPropertyDescriptor','@univerjs/core','46535930RotyiM','createInstance','6983384aiRxzb','subscribe','Inject','length','IUniverInstanceService','_collaborationController','rxjs','2MKUPXu','get','CollaborationController','42UVCqFE','3066512LcpTde','365065OYQefa','from','DataLoaderService','readyForCollab','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_snapshotService','loadActiveSheet','6125022FdugMW','FUniver'];_0x4cc1=function(){return _0x59263b;};return _0x4cc1();}class u extends l[_0x1a60cc(0x1e4)]{['getCollaboration'](){var _0x272648=_0x1a60cc;return this[_0x272648(0x1e9)][_0x272648(0x1fa)](exports['FCollaboration'],{'getUniverSheet':_0x15caef=>this[_0x272648(0x1f2)](_0x15caef)});}['loadServerUnit'](_0x4f852c,_0x1de49c,_0x22b820){var _0x27be1a=_0x1a60cc;return this['_injector'][_0x27be1a(0x1fa)](c[_0x27be1a(0x1de)])['loadUnit'](_0x4f852c,_0x1de49c,_0x22b820);}}function _0x198a(_0x5df8f1,_0x5755c5){var _0x4cc19d=_0x4cc1();return _0x198a=function(_0x198a46,_0x445d30){_0x198a46=_0x198a46-0x1d0;var _0x1517b4=_0x4cc19d[_0x198a46];return _0x1517b4;},_0x198a(_0x5df8f1,_0x5755c5);}l[_0x1a60cc(0x1e4)]['extend'](u);
1
+ 'use strict';var _0x5c3bfe=_0x3cc1;function _0x3cc1(_0x55bab6,_0x3ef923){var _0x315571=_0x3155();return _0x3cc1=function(_0x3cc199,_0x324292){_0x3cc199=_0x3cc199-0x1df;var _0x129723=_0x315571[_0x3cc199];return _0x129723;},_0x3cc1(_0x55bab6,_0x3ef923);}(function(_0x2fd29a,_0x59d0e2){var _0x57ab37=_0x3cc1,_0x2a945f=_0x2fd29a();while(!![]){try{var _0xd2d7d2=-parseInt(_0x57ab37(0x1f1))/0x1+parseInt(_0x57ab37(0x1e7))/0x2+parseInt(_0x57ab37(0x1f5))/0x3*(parseInt(_0x57ab37(0x1ff))/0x4)+-parseInt(_0x57ab37(0x1e9))/0x5+parseInt(_0x57ab37(0x20e))/0x6+parseInt(_0x57ab37(0x1eb))/0x7*(-parseInt(_0x57ab37(0x1fc))/0x8)+-parseInt(_0x57ab37(0x201))/0x9;if(_0xd2d7d2===_0x59d0e2)break;else _0x2a945f['push'](_0x2a945f['shift']());}catch(_0x19ba65){_0x2a945f['push'](_0x2a945f['shift']());}}}(_0x3155,0x25343));Object['defineProperty'](exports,Symbol[_0x5c3bfe(0x1ef)],{'value':_0x5c3bfe(0x1f7)});const c=require(_0x5c3bfe(0x1fe)),l=require(_0x5c3bfe(0x1ec)),v=require(_0x5c3bfe(0x1e0)),i=require(_0x5c3bfe(0x207)),b=require('rxjs');var S=Object[_0x5c3bfe(0x1ee)],d=(_0x17ccb8,_0x50a70b,_0x818502,_0x4444e5)=>{var _0x45374f=_0x5c3bfe;for(var _0x29a6cd=_0x4444e5>0x1?void 0x0:_0x4444e5?S(_0x50a70b,_0x818502):_0x50a70b,_0x46c548=_0x17ccb8[_0x45374f(0x1f2)]-0x1,_0x3adafd;_0x46c548>=0x0;_0x46c548--)(_0x3adafd=_0x17ccb8[_0x46c548])&&(_0x29a6cd=_0x3adafd(_0x29a6cd)||_0x29a6cd);return _0x29a6cd;},s=(_0x44b834,_0x22584c)=>(_0x47567c,_0x23a1c6)=>_0x22584c(_0x47567c,_0x23a1c6,_0x44b834);exports['FCollaboration']=class extends l[_0x5c3bfe(0x1e4)]{constructor(_0x3037ba,_0x356e46,_0x2a6e40,_0x49517f,_0x5334d4){var _0xffc4e7=_0x5c3bfe;super(),this[_0xffc4e7(0x1e1)]=_0x3037ba,this[_0xffc4e7(0x1ea)]=_0x356e46,this[_0xffc4e7(0x1fd)]=_0x2a6e40,this[_0xffc4e7(0x1e2)]=_0x49517f,this[_0xffc4e7(0x202)]=_0x5334d4;}async[_0x5c3bfe(0x1fa)](){var _0x5e575a=_0x5c3bfe;return this[_0x5e575a(0x200)]();}async['loadActiveSheetAsync'](){var _0xa1f3f2=_0x5c3bfe;throw new Error(_0xa1f3f2(0x1e3));}async[_0x5c3bfe(0x1f3)](_0x5a1bf8){var _0x40d8d8=_0x5c3bfe;return this[_0x40d8d8(0x1f8)](_0x5a1bf8);}async['loadSheetAsync'](_0x569a99,_0x305c4f){var _0x2d8f8b=_0x5c3bfe;return await this[_0x2d8f8b(0x1e2)]['loadSheet'](_0x569a99,0x0,_0x305c4f)?(await this[_0x2d8f8b(0x202)][_0x2d8f8b(0x203)](_0x569a99),this[_0x2d8f8b(0x1e1)][_0x2d8f8b(0x20b)](_0x569a99)):null;}['subscribeCollaborators'](_0x13fae0,_0x4ad3ac){var _0x1dedc1=_0x5c3bfe;const _0x77bdd4=this[_0x1dedc1(0x1ea)]['get'](c[_0x1dedc1(0x1f9)])[_0x1dedc1(0x1fb)](_0x13fae0)[_0x1dedc1(0x1e8)](b[_0x1dedc1(0x20f)](_0x2248ee=>_0x2248ee[_0x1dedc1(0x1df)]))[_0x1dedc1(0x20c)](_0x388fc1=>_0x4ad3ac(Array[_0x1dedc1(0x205)](_0x388fc1[_0x1dedc1(0x20a)]())));return i['toDisposable'](_0x77bdd4);}},exports['FCollaboration']=d([s(0x1,i[_0x5c3bfe(0x1e6)](i[_0x5c3bfe(0x1f4)])),s(0x2,i[_0x5c3bfe(0x1f6)]),s(0x3,i[_0x5c3bfe(0x1e6)](v[_0x5c3bfe(0x204)])),s(0x4,i[_0x5c3bfe(0x1e6)](c['CollaborationController']))],exports[_0x5c3bfe(0x20d)]);class u extends l[_0x5c3bfe(0x1e5)]{['getCollaboration'](){var _0x3d2f8a=_0x5c3bfe;return this[_0x3d2f8a(0x1ea)][_0x3d2f8a(0x206)](exports['FCollaboration'],{'getUniverSheet':_0x3f096f=>this[_0x3d2f8a(0x20b)](_0x3f096f)});}[_0x5c3bfe(0x209)](_0x17c3d7,_0x25493a,_0x3bae44){var _0x5c0c4c=_0x5c3bfe;return this[_0x5c0c4c(0x1ea)][_0x5c0c4c(0x206)](c[_0x5c0c4c(0x208)])[_0x5c0c4c(0x1f0)](_0x17c3d7,_0x25493a,_0x3bae44);}}function _0x3155(){var _0x719ec8=['pipe','308880MVVnEQ','_injector','228354rwoxff','@univerjs/core/facade','extend','getOwnPropertyDescriptor','toStringTag','loadUnit','8138fxbujY','length','loadSheet','Injector','33NlfcZN','IUniverInstanceService','Module','loadSheetAsync','MemberService','loadActiveSheet','waitForRoom$','16jbtauj','_univerInstanceService','@univerjs-pro/collaboration-client','37880CZHScl','loadActiveSheetAsync','3530628xKJprh','_collaborationController','readyForCollab','SnapshotService','from','createInstance','@univerjs/core','DataLoaderService','loadServerUnit','values','getUniverSheet','subscribe','FCollaboration','1659228IjULED','switchMap','members$','@univerjs-pro/collaboration','_handler','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FBase','FUniver','Inject','598258hBgvQv'];_0x3155=function(){return _0x719ec8;};return _0x3155();}l[_0x5c3bfe(0x1e5)][_0x5c3bfe(0x1ed)](u);