@univerjs-pro/collaboration-client 0.6.10-experimental.20250428-261c0dd → 0.6.10-experimental.20250428-ab93895

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 _0x36de58=_0x3e26;(function(_0x4299bb,_0x4d7fca){var _0x9bde37=_0x3e26,_0x33b12f=_0x4299bb();while(!![]){try{var _0x3e3c14=parseInt(_0x9bde37(0xcf))/0x1+parseInt(_0x9bde37(0xdf))/0x2*(parseInt(_0x9bde37(0xe4))/0x3)+parseInt(_0x9bde37(0xed))/0x4+parseInt(_0x9bde37(0xe6))/0x5+parseInt(_0x9bde37(0xcc))/0x6+parseInt(_0x9bde37(0xc4))/0x7*(-parseInt(_0x9bde37(0xd2))/0x8)+-parseInt(_0x9bde37(0xea))/0x9;if(_0x3e3c14===_0x4d7fca)break;else _0x33b12f['push'](_0x33b12f['shift']());}catch(_0x18ccc6){_0x33b12f['push'](_0x33b12f['shift']());}}}(_0x28e7,0x89ba5));Object[_0x36de58(0xd8)](exports,Symbol[_0x36de58(0xc3)],{'value':_0x36de58(0xd9)});function _0x28e7(){var _0x544454=['636330kMncqR','extend','loadSheet','waitForRoom$','2254374pyVdHh','readyForCollab','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','786752SFdLCs','Injector','FBase','toStringTag','7ISUdbe','rxjs','@univerjs/core/facade','CollaborationController','getCollaboration','loadActiveSheet','SnapshotService','_handler','5807214nMIXig','switchMap','get','196873vDZWFF','IUniverInstanceService','FCollaboration','5520776dgTIuH','FUniver','_injector','length','loadUnit','_snapshotService','defineProperty','Module','@univerjs/core','getOwnPropertyDescriptor','_collaborationController','toDisposable','@univerjs-pro/collaboration-client','2syYKol','DataLoaderService','createInstance','MemberService','Inject','48060uqMOMS','_univerInstanceService'];_0x28e7=function(){return _0x544454;};return _0x28e7();}const c=require(_0x36de58(0xde)),l=require(_0x36de58(0xc6)),v=require('@univerjs-pro/collaboration'),i=require(_0x36de58(0xda)),b=require(_0x36de58(0xc5));var S=Object[_0x36de58(0xdb)],d=(_0x3071d2,_0x2c836e,_0xf5517c,_0x5a74f7)=>{var _0x3a69e0=_0x36de58;for(var _0x14ce06=_0x5a74f7>0x1?void 0x0:_0x5a74f7?S(_0x2c836e,_0xf5517c):_0x2c836e,_0x207064=_0x3071d2[_0x3a69e0(0xd5)]-0x1,_0x4891ef;_0x207064>=0x0;_0x207064--)(_0x4891ef=_0x3071d2[_0x207064])&&(_0x14ce06=_0x4891ef(_0x14ce06)||_0x14ce06);return _0x14ce06;},s=(_0x2df98e,_0x39d292)=>(_0x2f2f8f,_0x41d2ea)=>_0x39d292(_0x2f2f8f,_0x41d2ea,_0x2df98e);exports['FCollaboration']=class extends l[_0x36de58(0xef)]{constructor(_0x337ac2,_0x1632d3,_0x296930,_0x14971e,_0x1b5558){var _0x10410c=_0x36de58;super(),this['_handler']=_0x337ac2,this[_0x10410c(0xd4)]=_0x1632d3,this[_0x10410c(0xe5)]=_0x296930,this[_0x10410c(0xd7)]=_0x14971e,this['_collaborationController']=_0x1b5558;}async[_0x36de58(0xc9)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x65665=_0x36de58;throw new Error(_0x65665(0xec));}async[_0x36de58(0xe8)](_0x18ae05){return this['loadSheetAsync'](_0x18ae05);}async['loadSheetAsync'](_0x3d0809,_0x20a3bd){var _0x4929c7=_0x36de58;return await this['_snapshotService']['loadSheet'](_0x3d0809,0x0,_0x20a3bd)?(await this[_0x4929c7(0xdc)][_0x4929c7(0xeb)](_0x3d0809),this[_0x4929c7(0xcb)]['getUniverSheet'](_0x3d0809)):null;}['subscribeCollaborators'](_0x105529,_0x3c4aa7){var _0x1f0bd1=_0x36de58;const _0x296c6f=this[_0x1f0bd1(0xd4)][_0x1f0bd1(0xce)](c[_0x1f0bd1(0xe2)])[_0x1f0bd1(0xe9)](_0x105529)['pipe'](b[_0x1f0bd1(0xcd)](_0x8b619c=>_0x8b619c['members$']))['subscribe'](_0x1a1791=>_0x3c4aa7(Array['from'](_0x1a1791['values']())));return i[_0x1f0bd1(0xdd)](_0x296c6f);}},exports[_0x36de58(0xd1)]=d([s(0x1,i[_0x36de58(0xe3)](i[_0x36de58(0xee)])),s(0x2,i[_0x36de58(0xd0)]),s(0x3,i['Inject'](v[_0x36de58(0xca)])),s(0x4,i[_0x36de58(0xe3)](c[_0x36de58(0xc7)]))],exports[_0x36de58(0xd1)]);class u extends l[_0x36de58(0xd3)]{[_0x36de58(0xc8)](){var _0x410031=_0x36de58;return this[_0x410031(0xd4)][_0x410031(0xe1)](exports[_0x410031(0xd1)],{'getUniverSheet':_0x4e2d74=>this['getUniverSheet'](_0x4e2d74)});}['loadServerUnit'](_0x147451,_0x2bfa38,_0x33c598){var _0x52b252=_0x36de58;return this['_injector'][_0x52b252(0xe1)](c[_0x52b252(0xe0)])[_0x52b252(0xd6)](_0x147451,_0x2bfa38,_0x33c598);}}function _0x3e26(_0x4edc79,_0x592af7){var _0x28e79b=_0x28e7();return _0x3e26=function(_0x3e265a,_0x31b3e7){_0x3e265a=_0x3e265a-0xc3;var _0x173140=_0x28e79b[_0x3e265a];return _0x173140;},_0x3e26(_0x4edc79,_0x592af7);}l[_0x36de58(0xd3)][_0x36de58(0xe7)](u);
1
+ 'use strict';function _0x55ef(_0x66804f,_0x3a5bdf){var _0x52fa1a=_0x52fa();return _0x55ef=function(_0x55ef7c,_0x1f6d51){_0x55ef7c=_0x55ef7c-0x124;var _0x4fb808=_0x52fa1a[_0x55ef7c];return _0x4fb808;},_0x55ef(_0x66804f,_0x3a5bdf);}var _0x4ee805=_0x55ef;function _0x52fa(){var _0x47e3e3=['FBase','loadSheet','MemberService','loadSheetAsync','createInstance','2199342qUVqQx','getOwnPropertyDescriptor','439uordRb','readyForCollab','3089569gFmjJU','getUniverSheet','_collaborationController','@univerjs/core/facade','members$','2016340qvSxoe','defineProperty','Injector','FCollaboration','10131993UBPGYq','SnapshotService','values','get','614FzltNG','toStringTag','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1277127HbTEAG','loadActiveSheet','loadActiveSheetAsync','loadServerUnit','FUniver','toDisposable','rxjs','switchMap','8PVelhy','getCollaboration','1411900NjNsfR','_injector','Inject','Module','IUniverInstanceService','@univerjs-pro/collaboration','_snapshotService','_handler','loadUnit','extend','from','@univerjs-pro/collaboration-client'];_0x52fa=function(){return _0x47e3e3;};return _0x52fa();}(function(_0x24929c,_0x58d7c0){var _0x12e30a=_0x55ef,_0x314760=_0x24929c();while(!![]){try{var _0x17591a=parseInt(_0x12e30a(0x139))/0x1*(parseInt(_0x12e30a(0x148))/0x2)+parseInt(_0x12e30a(0x14b))/0x3+parseInt(_0x12e30a(0x126))/0x4+parseInt(_0x12e30a(0x140))/0x5+-parseInt(_0x12e30a(0x137))/0x6+-parseInt(_0x12e30a(0x13b))/0x7*(-parseInt(_0x12e30a(0x124))/0x8)+-parseInt(_0x12e30a(0x144))/0x9;if(_0x17591a===_0x58d7c0)break;else _0x314760['push'](_0x314760['shift']());}catch(_0x3861c9){_0x314760['push'](_0x314760['shift']());}}}(_0x52fa,0x40e1e));Object[_0x4ee805(0x141)](exports,Symbol[_0x4ee805(0x149)],{'value':_0x4ee805(0x129)});const c=require(_0x4ee805(0x131)),l=require(_0x4ee805(0x13e)),v=require(_0x4ee805(0x12b)),i=require('@univerjs/core'),b=require(_0x4ee805(0x151));var S=Object[_0x4ee805(0x138)],d=(_0x5a0045,_0x458911,_0x3b65f5,_0x45d766)=>{for(var _0x516d1e=_0x45d766>0x1?void 0x0:_0x45d766?S(_0x458911,_0x3b65f5):_0x458911,_0xf5bc6a=_0x5a0045['length']-0x1,_0x4d89a2;_0xf5bc6a>=0x0;_0xf5bc6a--)(_0x4d89a2=_0x5a0045[_0xf5bc6a])&&(_0x516d1e=_0x4d89a2(_0x516d1e)||_0x516d1e);return _0x516d1e;},s=(_0x2e1759,_0x5b011b)=>(_0x47bf47,_0x4434a2)=>_0x5b011b(_0x47bf47,_0x4434a2,_0x2e1759);exports['FCollaboration']=class extends l[_0x4ee805(0x132)]{constructor(_0x39a99a,_0x1a73cf,_0x31c982,_0x1bab40,_0x6c383f){var _0x1355c1=_0x4ee805;super(),this['_handler']=_0x39a99a,this[_0x1355c1(0x127)]=_0x1a73cf,this['_univerInstanceService']=_0x31c982,this[_0x1355c1(0x12c)]=_0x1bab40,this[_0x1355c1(0x13d)]=_0x6c383f;}async[_0x4ee805(0x14c)](){var _0x4aaf23=_0x4ee805;return this[_0x4aaf23(0x14d)]();}async[_0x4ee805(0x14d)](){var _0x197719=_0x4ee805;throw new Error(_0x197719(0x14a));}async['loadSheet'](_0x216188){var _0x5471fc=_0x4ee805;return this[_0x5471fc(0x135)](_0x216188);}async['loadSheetAsync'](_0x5ae111,_0x273be5){var _0x2997cb=_0x4ee805;return await this['_snapshotService'][_0x2997cb(0x133)](_0x5ae111,0x0,_0x273be5)?(await this[_0x2997cb(0x13d)][_0x2997cb(0x13a)](_0x5ae111),this[_0x2997cb(0x12d)][_0x2997cb(0x13c)](_0x5ae111)):null;}['subscribeCollaborators'](_0x30f338,_0x30e32f){var _0x5f0503=_0x4ee805;const _0x5a6b66=this[_0x5f0503(0x127)][_0x5f0503(0x147)](c[_0x5f0503(0x134)])['waitForRoom$'](_0x30f338)['pipe'](b[_0x5f0503(0x152)](_0x526c41=>_0x526c41[_0x5f0503(0x13f)]))['subscribe'](_0x50e847=>_0x30e32f(Array[_0x5f0503(0x130)](_0x50e847[_0x5f0503(0x146)]())));return i[_0x5f0503(0x150)](_0x5a6b66);}},exports[_0x4ee805(0x143)]=d([s(0x1,i['Inject'](i[_0x4ee805(0x142)])),s(0x2,i[_0x4ee805(0x12a)]),s(0x3,i['Inject'](v[_0x4ee805(0x145)])),s(0x4,i[_0x4ee805(0x128)](c['CollaborationController']))],exports[_0x4ee805(0x143)]);class u extends l[_0x4ee805(0x14f)]{[_0x4ee805(0x125)](){var _0x521a25=_0x4ee805;return this[_0x521a25(0x127)][_0x521a25(0x136)](exports['FCollaboration'],{'getUniverSheet':_0x4f694b=>this[_0x521a25(0x13c)](_0x4f694b)});}[_0x4ee805(0x14e)](_0x3295a0,_0x3db9f1,_0x2b798f){var _0x681ca3=_0x4ee805;return this[_0x681ca3(0x127)][_0x681ca3(0x136)](c['DataLoaderService'])[_0x681ca3(0x12e)](_0x3295a0,_0x3db9f1,_0x2b798f);}}l[_0x4ee805(0x14f)][_0x4ee805(0x12f)](u);