@univerjs-pro/collaboration-client 0.8.0-nightly.202506011606 → 0.8.0-nightly.202506031608

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 _0x3facf0=_0x3db0;function _0x17ec(){var _0x2a575b=['3802128wZctIN','FBase','_injector','_collaborationController','DataLoaderService','92048TtsWKy','_snapshotService','rxjs','3215214pymGuj','toDisposable','SnapshotService','getOwnPropertyDescriptor','loadServerUnit','@univerjs-pro/collaboration','pipe','loadUnit','4IUBhzW','3421311MczZQD','MemberService','values','1380ftaGjF','getCollaboration','get','FUniver','IUniverInstanceService','CollaborationController','loadSheetAsync','defineProperty','18119zDyiEH','1377250QezFbj','from','FCollaboration','subscribe','loadSheet','getUniverSheet','length','_handler','toStringTag','497INXHnj','Injector','createInstance','76iQcmfd','Module','Inject','@univerjs/core/facade','loadServerUnitOfRevision','loadActiveSheetAsync','loadUnitOfRevision','switchMap','52432AOvLPf','waitForRoom$','extend'];_0x17ec=function(){return _0x2a575b;};return _0x17ec();}(function(_0xf3b758,_0x13e512){var _0x2ffb94=_0x3db0,_0x1bf73f=_0xf3b758();while(!![]){try{var _0x3ff94c=-parseInt(_0x2ffb94(0xf3))/0x1*(-parseInt(_0x2ffb94(0x100))/0x2)+-parseInt(_0x2ffb94(0xe8))/0x3*(-parseInt(_0x2ffb94(0xe7))/0x4)+-parseInt(_0x2ffb94(0xf4))/0x5+-parseInt(_0x2ffb94(0x10b))/0x6+parseInt(_0x2ffb94(0xfd))/0x7*(parseInt(_0x2ffb94(0x108))/0x8)+parseInt(_0x2ffb94(0x113))/0x9+parseInt(_0x2ffb94(0xeb))/0xa*(-parseInt(_0x2ffb94(0x110))/0xb);if(_0x3ff94c===_0x13e512)break;else _0x1bf73f['push'](_0x1bf73f['shift']());}catch(_0x3040b5){_0x1bf73f['push'](_0x1bf73f['shift']());}}}(_0x17ec,0x8f761));function _0x3db0(_0x3db5cc,_0x1fb5a6){var _0x17ec28=_0x17ec();return _0x3db0=function(_0x3db0c0,_0x55f3d2){_0x3db0c0=_0x3db0c0-0xe6;var _0x12e3b3=_0x17ec28[_0x3db0c0];return _0x12e3b3;},_0x3db0(_0x3db5cc,_0x1fb5a6);}Object[_0x3facf0(0xf2)](exports,Symbol[_0x3facf0(0xfc)],{'value':_0x3facf0(0x101)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x3facf0(0x103)),h=require(_0x3facf0(0x118)),n=require('@univerjs/core'),b=require(_0x3facf0(0x112));var d=Object[_0x3facf0(0x116)],S=(_0x57eb3f,_0x4e255a,_0x27e7e5,_0x1d00b7)=>{var _0xd8a85e=_0x3facf0;for(var _0x2ba67f=_0x1d00b7>0x1?void 0x0:_0x1d00b7?d(_0x4e255a,_0x27e7e5):_0x4e255a,_0x556e23=_0x57eb3f[_0xd8a85e(0xfa)]-0x1,_0x30bf02;_0x556e23>=0x0;_0x556e23--)(_0x30bf02=_0x57eb3f[_0x556e23])&&(_0x2ba67f=_0x30bf02(_0x2ba67f)||_0x2ba67f);return _0x2ba67f;},s=(_0x2c73c2,_0x276e23)=>(_0x527170,_0x1733a3)=>_0x276e23(_0x527170,_0x1733a3,_0x2c73c2);exports['FCollaboration']=class extends l[_0x3facf0(0x10c)]{constructor(_0x55474a,_0x6e9980,_0x5be3c0,_0x2290aa,_0x3eac43){var _0x4c1166=_0x3facf0;super(),this[_0x4c1166(0xfb)]=_0x55474a,this[_0x4c1166(0x10d)]=_0x6e9980,this['_univerInstanceService']=_0x5be3c0,this[_0x4c1166(0x111)]=_0x2290aa,this[_0x4c1166(0x10e)]=_0x3eac43;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x3facf0(0x105)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x413ef0){var _0x520796=_0x3facf0;return this[_0x520796(0xf1)](_0x413ef0);}async[_0x3facf0(0xf1)](_0x4d3b92,_0x156867){var _0x4d1d69=_0x3facf0;return await this[_0x4d1d69(0x111)][_0x4d1d69(0xf8)](_0x4d3b92,0x0,_0x156867)?(await this['_collaborationController']['readyForCollab'](_0x4d3b92),this[_0x4d1d69(0xfb)]['getUniverSheet'](_0x4d3b92)):null;}['subscribeCollaborators'](_0x5659bc,_0x335b75){var _0x68b281=_0x3facf0;const _0x2d9f82=this[_0x68b281(0x10d)][_0x68b281(0xed)](c[_0x68b281(0xe9)])[_0x68b281(0x109)](_0x5659bc)[_0x68b281(0x119)](b[_0x68b281(0x107)](_0x23937f=>_0x23937f['members$']))[_0x68b281(0xf7)](_0x647ed6=>_0x335b75(Array[_0x68b281(0xf5)](_0x647ed6[_0x68b281(0xea)]())));return n[_0x68b281(0x114)](_0x2d9f82);}},exports[_0x3facf0(0xf6)]=S([s(0x1,n[_0x3facf0(0x102)](n[_0x3facf0(0xfe)])),s(0x2,n[_0x3facf0(0xef)]),s(0x3,n[_0x3facf0(0x102)](h[_0x3facf0(0x115)])),s(0x4,n[_0x3facf0(0x102)](c[_0x3facf0(0xf0)]))],exports[_0x3facf0(0xf6)]);class u extends l[_0x3facf0(0xee)]{[_0x3facf0(0xec)](){var _0x3174ee=_0x3facf0;return this[_0x3174ee(0x10d)][_0x3174ee(0xff)](exports['FCollaboration'],{'getUniverSheet':_0x133d1f=>this[_0x3174ee(0xf9)](_0x133d1f)});}[_0x3facf0(0x117)](_0x2beb88,_0x5c8da6,_0xed1c7f){var _0x36e0fb=_0x3facf0;return this[_0x36e0fb(0x10d)][_0x36e0fb(0xed)](c[_0x36e0fb(0x10f)])[_0x36e0fb(0xe6)](_0x2beb88,_0x5c8da6,_0xed1c7f);}[_0x3facf0(0x104)](_0x45c01e,_0x373b3b,_0x2fed7b){var _0x2b746b=_0x3facf0;return this[_0x2b746b(0x10d)][_0x2b746b(0xed)](c[_0x2b746b(0x10f)])[_0x2b746b(0x106)](_0x45c01e,_0x373b3b,_0x2fed7b);}}l[_0x3facf0(0xee)][_0x3facf0(0x10a)](u);
1
+ 'use strict';var _0x206ea4=_0x13fe;(function(_0x51792e,_0x29119b){var _0x13e62c=_0x13fe,_0x3e4c95=_0x51792e();while(!![]){try{var _0x467285=-parseInt(_0x13e62c(0x12f))/0x1*(-parseInt(_0x13e62c(0x116))/0x2)+-parseInt(_0x13e62c(0x131))/0x3+-parseInt(_0x13e62c(0x11e))/0x4+parseInt(_0x13e62c(0x11c))/0x5*(parseInt(_0x13e62c(0x11b))/0x6)+-parseInt(_0x13e62c(0x10f))/0x7+-parseInt(_0x13e62c(0x124))/0x8+parseInt(_0x13e62c(0x115))/0x9;if(_0x467285===_0x29119b)break;else _0x3e4c95['push'](_0x3e4c95['shift']());}catch(_0x2d66ac){_0x3e4c95['push'](_0x3e4c95['shift']());}}}(_0x1738,0x63261));Object['defineProperty'](exports,Symbol[_0x206ea4(0x12e)],{'value':_0x206ea4(0x110)});const c=require(_0x206ea4(0x12d)),l=require(_0x206ea4(0x118)),h=require('@univerjs-pro/collaboration'),n=require(_0x206ea4(0x10c)),b=require('rxjs');function _0x13fe(_0x39666f,_0x2764c7){var _0x173820=_0x1738();return _0x13fe=function(_0x13fe55,_0xfbc0d0){_0x13fe55=_0x13fe55-0x107;var _0x1c652a=_0x173820[_0x13fe55];return _0x1c652a;},_0x13fe(_0x39666f,_0x2764c7);}var d=Object[_0x206ea4(0x129)],S=(_0x4da936,_0x5b8c3e,_0x7997f5,_0x9f0eee)=>{for(var _0x293216=_0x9f0eee>0x1?void 0x0:_0x9f0eee?d(_0x5b8c3e,_0x7997f5):_0x5b8c3e,_0x4fcd72=_0x4da936['length']-0x1,_0x4bf52a;_0x4fcd72>=0x0;_0x4fcd72--)(_0x4bf52a=_0x4da936[_0x4fcd72])&&(_0x293216=_0x4bf52a(_0x293216)||_0x293216);return _0x293216;},s=(_0x39c50d,_0x2fa127)=>(_0x114410,_0x249414)=>_0x2fa127(_0x114410,_0x249414,_0x39c50d);function _0x1738(){var _0x21d8d1=['from','createInstance','FUniver','getUniverSheet','loadActiveSheet','MemberService','_univerInstanceService','@univerjs/core','Inject','DataLoaderService','1157233ULZZpf','Module','loadActiveSheetAsync','loadServerUnit','values','SnapshotService','7381665EnCISF','32NghMwA','subscribeCollaborators','@univerjs/core/facade','_handler','Injector','6wzuFWe','607190hPapPG','extend','1249772HnWezZ','get','IUniverInstanceService','_injector','readyForCollab','getCollaboration','4118872QKUhrs','loadServerUnitOfRevision','_collaborationController','FCollaboration','subscribe','getOwnPropertyDescriptor','waitForRoom$','_snapshotService','loadSheetAsync','@univerjs-pro/collaboration-client','toStringTag','31049fjdieA','toDisposable','119019exZGaY'];_0x1738=function(){return _0x21d8d1;};return _0x1738();}exports[_0x206ea4(0x127)]=class extends l['FBase']{constructor(_0x88af12,_0xe92760,_0x2a0be9,_0x9fae2d,_0x47c0d7){var _0x2c48dd=_0x206ea4;super(),this['_handler']=_0x88af12,this[_0x2c48dd(0x121)]=_0xe92760,this[_0x2c48dd(0x10b)]=_0x2a0be9,this[_0x2c48dd(0x12b)]=_0x9fae2d,this[_0x2c48dd(0x126)]=_0x47c0d7;}async[_0x206ea4(0x109)](){var _0x2d8f83=_0x206ea4;return this[_0x2d8f83(0x111)]();}async[_0x206ea4(0x111)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x51f2f3){var _0x1068b4=_0x206ea4;return this[_0x1068b4(0x12c)](_0x51f2f3);}async[_0x206ea4(0x12c)](_0xb54ec9,_0x152262){var _0x201591=_0x206ea4;return await this[_0x201591(0x12b)]['loadSheet'](_0xb54ec9,0x0,_0x152262)?(await this[_0x201591(0x126)][_0x201591(0x122)](_0xb54ec9),this[_0x201591(0x119)][_0x201591(0x108)](_0xb54ec9)):null;}[_0x206ea4(0x117)](_0x1bd5a3,_0x138ccc){var _0x1c40eb=_0x206ea4;const _0x51539b=this[_0x1c40eb(0x121)][_0x1c40eb(0x11f)](c[_0x1c40eb(0x10a)])[_0x1c40eb(0x12a)](_0x1bd5a3)['pipe'](b['switchMap'](_0x4fadc9=>_0x4fadc9['members$']))[_0x1c40eb(0x128)](_0x540bb2=>_0x138ccc(Array[_0x1c40eb(0x132)](_0x540bb2[_0x1c40eb(0x113)]())));return n[_0x1c40eb(0x130)](_0x51539b);}},exports[_0x206ea4(0x127)]=S([s(0x1,n[_0x206ea4(0x10d)](n[_0x206ea4(0x11a)])),s(0x2,n[_0x206ea4(0x120)]),s(0x3,n['Inject'](h[_0x206ea4(0x114)])),s(0x4,n[_0x206ea4(0x10d)](c['CollaborationController']))],exports[_0x206ea4(0x127)]);class u extends l[_0x206ea4(0x107)]{[_0x206ea4(0x123)](){var _0x57e9ae=_0x206ea4;return this[_0x57e9ae(0x121)][_0x57e9ae(0x133)](exports[_0x57e9ae(0x127)],{'getUniverSheet':_0x352d31=>this[_0x57e9ae(0x108)](_0x352d31)});}[_0x206ea4(0x112)](_0x413604,_0x549bd3,_0x13f17d){var _0x48dcf7=_0x206ea4;return this[_0x48dcf7(0x121)][_0x48dcf7(0x11f)](c[_0x48dcf7(0x10e)])['loadUnit'](_0x413604,_0x549bd3,_0x13f17d);}[_0x206ea4(0x125)](_0x2888b1,_0x14cbf1,_0x570ba4){var _0x52cbd2=_0x206ea4;return this[_0x52cbd2(0x121)][_0x52cbd2(0x11f)](c['DataLoaderService'])['loadUnitOfRevision'](_0x2888b1,_0x14cbf1,_0x570ba4);}}l[_0x206ea4(0x107)][_0x206ea4(0x11d)](u);