@univerjs-pro/collaboration-client 0.8.0-nightly.202506021607 → 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';function _0x2568(_0x5441fd,_0x11e68d){var _0x332156=_0x3321();return _0x2568=function(_0x25681e,_0x3857c6){_0x25681e=_0x25681e-0x1e8;var _0x2452ea=_0x332156[_0x25681e];return _0x2452ea;},_0x2568(_0x5441fd,_0x11e68d);}var _0x59baee=_0x2568;(function(_0x2021cf,_0x362e1d){var _0x59cc78=_0x2568,_0xf8115a=_0x2021cf();while(!![]){try{var _0x63d13=-parseInt(_0x59cc78(0x1f9))/0x1+-parseInt(_0x59cc78(0x202))/0x2*(-parseInt(_0x59cc78(0x1fa))/0x3)+parseInt(_0x59cc78(0x1f0))/0x4+parseInt(_0x59cc78(0x1fe))/0x5+parseInt(_0x59cc78(0x20f))/0x6*(-parseInt(_0x59cc78(0x201))/0x7)+-parseInt(_0x59cc78(0x212))/0x8*(-parseInt(_0x59cc78(0x1ee))/0x9)+-parseInt(_0x59cc78(0x20b))/0xa*(-parseInt(_0x59cc78(0x210))/0xb);if(_0x63d13===_0x362e1d)break;else _0xf8115a['push'](_0xf8115a['shift']());}catch(_0xa26a01){_0xf8115a['push'](_0xf8115a['shift']());}}}(_0x3321,0xc9b9e));function _0x3321(){var _0x1ef06d=['3914309vThDKq','17488uEkvhs','loadSheetAsync','subscribeCollaborators','loadUnitOfRevision','SnapshotService','values','FCollaboration','_injector','from','1070QNVUrA','@univerjs/core/facade','get','subscribe','6SuCxvR','38005aiRAgn','loadSheet','24776jGEyAC','Module','_snapshotService','getOwnPropertyDescriptor','waitForRoom$','members$','getCollaboration','IUniverInstanceService','CollaborationController','extend','DataLoaderService','loadServerUnitOfRevision','toStringTag','_handler','2997pkqgNc','pipe','982184agBhrV','loadServerUnit','getUniverSheet','switchMap','loadUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheetAsync','FUniver','toDisposable','1621024mMPqTU','69EQNnyL','MemberService','@univerjs/core','FBase','5794185UsoAHg','_univerInstanceService','_collaborationController'];_0x3321=function(){return _0x1ef06d;};return _0x3321();}Object['defineProperty'](exports,Symbol[_0x59baee(0x1ec)],{'value':_0x59baee(0x213)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x59baee(0x20c)),h=require('@univerjs-pro/collaboration'),n=require(_0x59baee(0x1fc)),b=require('rxjs');var d=Object[_0x59baee(0x215)],S=(_0x1fa74a,_0x5431c5,_0x3f83fd,_0x393505)=>{for(var _0x45e409=_0x393505>0x1?void 0x0:_0x393505?d(_0x5431c5,_0x3f83fd):_0x5431c5,_0x2062e8=_0x1fa74a['length']-0x1,_0x31300e;_0x2062e8>=0x0;_0x2062e8--)(_0x31300e=_0x1fa74a[_0x2062e8])&&(_0x45e409=_0x31300e(_0x45e409)||_0x45e409);return _0x45e409;},s=(_0x11a221,_0x498931)=>(_0x16995d,_0x46cdd8)=>_0x498931(_0x16995d,_0x46cdd8,_0x11a221);exports[_0x59baee(0x208)]=class extends l[_0x59baee(0x1fd)]{constructor(_0x124713,_0x5027d5,_0x37abcd,_0x32725d,_0x15a666){var _0x513722=_0x59baee;super(),this[_0x513722(0x1ed)]=_0x124713,this['_injector']=_0x5027d5,this[_0x513722(0x1ff)]=_0x37abcd,this[_0x513722(0x214)]=_0x32725d,this[_0x513722(0x200)]=_0x15a666;}async['loadActiveSheet'](){var _0x4cb9bd=_0x59baee;return this[_0x4cb9bd(0x1f6)]();}async['loadActiveSheetAsync'](){var _0x5574f6=_0x59baee;throw new Error(_0x5574f6(0x1f5));}async[_0x59baee(0x211)](_0x2345e3){var _0x20a91c=_0x59baee;return this[_0x20a91c(0x203)](_0x2345e3);}async[_0x59baee(0x203)](_0xec37d4,_0x397b59){var _0x31118b=_0x59baee;return await this[_0x31118b(0x214)][_0x31118b(0x211)](_0xec37d4,0x0,_0x397b59)?(await this[_0x31118b(0x200)]['readyForCollab'](_0xec37d4),this['_handler'][_0x31118b(0x1f2)](_0xec37d4)):null;}[_0x59baee(0x204)](_0x383bc9,_0x45d4a5){var _0x2321ca=_0x59baee;const _0x435bed=this[_0x2321ca(0x209)][_0x2321ca(0x20d)](c[_0x2321ca(0x1fb)])[_0x2321ca(0x216)](_0x383bc9)[_0x2321ca(0x1ef)](b[_0x2321ca(0x1f3)](_0x2e2495=>_0x2e2495[_0x2321ca(0x217)]))[_0x2321ca(0x20e)](_0x45eb34=>_0x45d4a5(Array[_0x2321ca(0x20a)](_0x45eb34[_0x2321ca(0x207)]())));return n[_0x2321ca(0x1f8)](_0x435bed);}},exports[_0x59baee(0x208)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x59baee(0x219)]),s(0x3,n['Inject'](h[_0x59baee(0x206)])),s(0x4,n['Inject'](c[_0x59baee(0x1e8)]))],exports['FCollaboration']);class u extends l[_0x59baee(0x1f7)]{[_0x59baee(0x218)](){var _0x5048bd=_0x59baee;return this['_injector']['createInstance'](exports[_0x5048bd(0x208)],{'getUniverSheet':_0x1f246c=>this['getUniverSheet'](_0x1f246c)});}[_0x59baee(0x1f1)](_0x1b650b,_0x679d27,_0x2c3a1e){var _0x2d1aef=_0x59baee;return this[_0x2d1aef(0x209)]['get'](c['DataLoaderService'])[_0x2d1aef(0x1f4)](_0x1b650b,_0x679d27,_0x2c3a1e);}[_0x59baee(0x1eb)](_0x4fd8aa,_0x10bcd7,_0xd12e1e){var _0x1e021e=_0x59baee;return this['_injector'][_0x1e021e(0x20d)](c[_0x1e021e(0x1ea)])[_0x1e021e(0x205)](_0x4fd8aa,_0x10bcd7,_0xd12e1e);}}l['FUniver'][_0x59baee(0x1e9)](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);