@univerjs-pro/collaboration-client 0.9.1-nightly.202507061606 → 0.9.1-nightly.202507081607

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 _0xd28921=_0x1a91;(function(_0x3e3efc,_0x4a7b45){var _0x4b1fff=_0x1a91,_0x3b8997=_0x3e3efc();while(!![]){try{var _0x5ed910=parseInt(_0x4b1fff(0x1f5))/0x1*(-parseInt(_0x4b1fff(0x203))/0x2)+-parseInt(_0x4b1fff(0x1e7))/0x3+parseInt(_0x4b1fff(0x1fe))/0x4+-parseInt(_0x4b1fff(0x1e9))/0x5*(parseInt(_0x4b1fff(0x1eb))/0x6)+parseInt(_0x4b1fff(0x1de))/0x7*(-parseInt(_0x4b1fff(0x1dd))/0x8)+parseInt(_0x4b1fff(0x1db))/0x9*(-parseInt(_0x4b1fff(0x1f0))/0xa)+parseInt(_0x4b1fff(0x1fd))/0xb;if(_0x5ed910===_0x4a7b45)break;else _0x3b8997['push'](_0x3b8997['shift']());}catch(_0x174b34){_0x3b8997['push'](_0x3b8997['shift']());}}}(_0x133d,0x6987d));function _0x1a91(_0x138af3,_0x567f75){var _0x133d93=_0x133d();return _0x1a91=function(_0x1a914d,_0x4634af){_0x1a914d=_0x1a914d-0x1d4;var _0x555f5a=_0x133d93[_0x1a914d];return _0x555f5a;},_0x1a91(_0x138af3,_0x567f75);}function _0x133d(){var _0x1a7bb7=['extend','IUniverInstanceService','from','MemberService','_handler','Inject','_snapshotService','24245309ATTlEP','2105456NEeJym','defineProperty','get','createInstance','getOwnPropertyDescriptor','18530LBxaIh','loadSheet','pipe','waitForRoom$','FBase','loadUnit','values','loadUnitOfRevision','6900201axteyp','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','77472bNucmJ','392NfdAhI','_collaborationController','_univerInstanceService','loadActiveSheetAsync','switchMap','loadServerUnitOfRevision','getUniverSheet','SnapshotService','DataLoaderService','29220yxsgXG','toDisposable','5rKTlvT','loadServerUnit','4876362gGZycU','FUniver','subscribe','length','_injector','10VrcxzO','FCollaboration','toStringTag','loadActiveSheet','subscribeCollaborators','18CJrcba'];_0x133d=function(){return _0x1a7bb7;};return _0x133d();}Object[_0xd28921(0x1ff)](exports,Symbol[_0xd28921(0x1f2)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0xd28921(0x202)],S=(_0x5ce920,_0x1291c6,_0x242236,_0x46940a)=>{var _0x4d8645=_0xd28921;for(var _0x3214b8=_0x46940a>0x1?void 0x0:_0x46940a?d(_0x1291c6,_0x242236):_0x1291c6,_0x5dd745=_0x5ce920[_0x4d8645(0x1ee)]-0x1,_0x15ac45;_0x5dd745>=0x0;_0x5dd745--)(_0x15ac45=_0x5ce920[_0x5dd745])&&(_0x3214b8=_0x15ac45(_0x3214b8)||_0x3214b8);return _0x3214b8;},s=(_0x355d96,_0x2f3401)=>(_0x2eea60,_0x30690e)=>_0x2f3401(_0x2eea60,_0x30690e,_0x355d96);exports[_0xd28921(0x1f1)]=class extends l[_0xd28921(0x1d7)]{constructor(_0x1a392d,_0x7d19c1,_0x3f50cf,_0x103c58,_0x583af3){var _0x531f3d=_0xd28921;super(),this[_0x531f3d(0x1fa)]=_0x1a392d,this['_injector']=_0x7d19c1,this[_0x531f3d(0x1e0)]=_0x3f50cf,this['_snapshotService']=_0x103c58,this[_0x531f3d(0x1df)]=_0x583af3;}async[_0xd28921(0x1f3)](){var _0x147597=_0xd28921;return this[_0x147597(0x1e1)]();}async['loadActiveSheetAsync'](){var _0x47d231=_0xd28921;throw new Error(_0x47d231(0x1dc));}async[_0xd28921(0x1d4)](_0x1e1efe){return this['loadSheetAsync'](_0x1e1efe);}async['loadSheetAsync'](_0x12c3ba,_0x2e154d){var _0x31574f=_0xd28921;return await this[_0x31574f(0x1fc)]['loadSheet'](_0x12c3ba,0x0,_0x2e154d)?(await this[_0x31574f(0x1df)]['readyForCollab'](_0x12c3ba),this[_0x31574f(0x1fa)]['getUniverSheet'](_0x12c3ba)):null;}[_0xd28921(0x1f4)](_0x505c17,_0x549690){var _0x6243aa=_0xd28921;const _0x565089=this[_0x6243aa(0x1ef)][_0x6243aa(0x200)](c[_0x6243aa(0x1f9)])[_0x6243aa(0x1d6)](_0x505c17)[_0x6243aa(0x1d5)](b[_0x6243aa(0x1e2)](_0x5d51d7=>_0x5d51d7['members$']))[_0x6243aa(0x1ed)](_0x3275ab=>_0x549690(Array[_0x6243aa(0x1f8)](_0x3275ab[_0x6243aa(0x1d9)]())));return n[_0x6243aa(0x1e8)](_0x565089);}},exports['FCollaboration']=S([s(0x1,n[_0xd28921(0x1fb)](n['Injector'])),s(0x2,n[_0xd28921(0x1f7)]),s(0x3,n['Inject'](h[_0xd28921(0x1e5)])),s(0x4,n[_0xd28921(0x1fb)](c['CollaborationController']))],exports[_0xd28921(0x1f1)]);class u extends l[_0xd28921(0x1ec)]{['getCollaboration'](){var _0x1897e4=_0xd28921;return this[_0x1897e4(0x1ef)][_0x1897e4(0x201)](exports[_0x1897e4(0x1f1)],{'getUniverSheet':_0x38d015=>this[_0x1897e4(0x1e4)](_0x38d015)});}[_0xd28921(0x1ea)](_0xef0ae4,_0x4de665,_0x15f561){var _0x59569c=_0xd28921;return this[_0x59569c(0x1ef)][_0x59569c(0x200)](c[_0x59569c(0x1e6)])[_0x59569c(0x1d8)](_0xef0ae4,_0x4de665,_0x15f561);}[_0xd28921(0x1e3)](_0x4a5313,_0x680cb2,_0x4557e1){var _0x15c815=_0xd28921;return this[_0x15c815(0x1ef)][_0x15c815(0x200)](c['DataLoaderService'])[_0x15c815(0x1da)](_0x4a5313,_0x680cb2,_0x4557e1);}}l[_0xd28921(0x1ec)][_0xd28921(0x1f6)](u);
1
+ 'use strict';var _0x39a00b=_0x4fc8;function _0x2118(){var _0x42fc62=['getCollaboration','_univerInstanceService','subscribeCollaborators','30GXpNAY','10KQCAzV','loadSheet','_snapshotService','extend','FCollaboration','6tWouik','2077410hdsjQu','loadSheetAsync','3333108RHkTcu','members$','defineProperty','loadUnit','readyForCollab','createInstance','IUniverInstanceService','values','toStringTag','toDisposable','Injector','14907366IWmCug','switchMap','waitForRoom$','4784688aZyBgS','_handler','FBase','loadUnitOfRevision','Inject','SnapshotService','30419apBXFz','2619170nyqCSX','DataLoaderService','CollaborationController','_collaborationController','loadServerUnit','_injector','FUniver','getUniverSheet','get','loadActiveSheetAsync','1005795LeSnLA'];_0x2118=function(){return _0x42fc62;};return _0x2118();}(function(_0x43a0aa,_0x2438b8){var _0x2002f2=_0x4fc8,_0x287849=_0x43a0aa();while(!![]){try{var _0x505f57=parseInt(_0x2002f2(0x1d9))/0x1*(-parseInt(_0x2002f2(0x1bc))/0x2)+-parseInt(_0x2002f2(0x1c3))/0x3+-parseInt(_0x2002f2(0x1c5))/0x4+parseInt(_0x2002f2(0x1da))/0x5+parseInt(_0x2002f2(0x1c2))/0x6*(-parseInt(_0x2002f2(0x1b8))/0x7)+parseInt(_0x2002f2(0x1d3))/0x8+-parseInt(_0x2002f2(0x1d0))/0x9*(-parseInt(_0x2002f2(0x1bd))/0xa);if(_0x505f57===_0x2438b8)break;else _0x287849['push'](_0x287849['shift']());}catch(_0x334495){_0x287849['push'](_0x287849['shift']());}}}(_0x2118,0x9f521));function _0x4fc8(_0x283a89,_0x35921e){var _0x211875=_0x2118();return _0x4fc8=function(_0x4fc81b,_0x1079fd){_0x4fc81b=_0x4fc81b-0x1b1;var _0x399d1a=_0x211875[_0x4fc81b];return _0x399d1a;},_0x4fc8(_0x283a89,_0x35921e);}Object[_0x39a00b(0x1c7)](exports,Symbol[_0x39a00b(0x1cd)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object['getOwnPropertyDescriptor'],S=(_0x1b430b,_0x4b3340,_0x5443ce,_0x283986)=>{for(var _0x3f0aed=_0x283986>0x1?void 0x0:_0x283986?d(_0x4b3340,_0x5443ce):_0x4b3340,_0x8d7e45=_0x1b430b['length']-0x1,_0x3ca55c;_0x8d7e45>=0x0;_0x8d7e45--)(_0x3ca55c=_0x1b430b[_0x8d7e45])&&(_0x3f0aed=_0x3ca55c(_0x3f0aed)||_0x3f0aed);return _0x3f0aed;},s=(_0x54c409,_0x2300c2)=>(_0x4809f4,_0x18920b)=>_0x2300c2(_0x4809f4,_0x18920b,_0x54c409);exports['FCollaboration']=class extends l[_0x39a00b(0x1d5)]{constructor(_0x1543e5,_0x27aee9,_0x5d0a96,_0x3c4c8e,_0x3cb7cf){var _0x38449b=_0x39a00b;super(),this[_0x38449b(0x1d4)]=_0x1543e5,this[_0x38449b(0x1b3)]=_0x27aee9,this[_0x38449b(0x1ba)]=_0x5d0a96,this[_0x38449b(0x1bf)]=_0x3c4c8e,this[_0x38449b(0x1b1)]=_0x3cb7cf;}async['loadActiveSheet'](){var _0x5dcd10=_0x39a00b;return this[_0x5dcd10(0x1b7)]();}async[_0x39a00b(0x1b7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x51cf6e){var _0x21df62=_0x39a00b;return this[_0x21df62(0x1c4)](_0x51cf6e);}async[_0x39a00b(0x1c4)](_0x14c034,_0x3ffd0e){var _0x3e66c2=_0x39a00b;return await this[_0x3e66c2(0x1bf)][_0x3e66c2(0x1be)](_0x14c034,0x0,_0x3ffd0e)?(await this[_0x3e66c2(0x1b1)][_0x3e66c2(0x1c9)](_0x14c034),this[_0x3e66c2(0x1d4)][_0x3e66c2(0x1b5)](_0x14c034)):null;}[_0x39a00b(0x1bb)](_0x44e423,_0x21ead){var _0x34302e=_0x39a00b;const _0x29d268=this[_0x34302e(0x1b3)][_0x34302e(0x1b6)](c['MemberService'])[_0x34302e(0x1d2)](_0x44e423)['pipe'](b[_0x34302e(0x1d1)](_0x5a7176=>_0x5a7176[_0x34302e(0x1c6)]))['subscribe'](_0x419d33=>_0x21ead(Array['from'](_0x419d33[_0x34302e(0x1cc)]())));return n[_0x34302e(0x1ce)](_0x29d268);}},exports[_0x39a00b(0x1c1)]=S([s(0x1,n[_0x39a00b(0x1d7)](n[_0x39a00b(0x1cf)])),s(0x2,n[_0x39a00b(0x1cb)]),s(0x3,n[_0x39a00b(0x1d7)](h[_0x39a00b(0x1d8)])),s(0x4,n['Inject'](c[_0x39a00b(0x1dc)]))],exports[_0x39a00b(0x1c1)]);class u extends l[_0x39a00b(0x1b4)]{[_0x39a00b(0x1b9)](){var _0x562c99=_0x39a00b;return this[_0x562c99(0x1b3)][_0x562c99(0x1ca)](exports['FCollaboration'],{'getUniverSheet':_0x465cf6=>this[_0x562c99(0x1b5)](_0x465cf6)});}[_0x39a00b(0x1b2)](_0x23b2fe,_0x10a090,_0x27355e){var _0x4e40b8=_0x39a00b;return this[_0x4e40b8(0x1b3)][_0x4e40b8(0x1b6)](c[_0x4e40b8(0x1db)])[_0x4e40b8(0x1c8)](_0x23b2fe,_0x10a090,_0x27355e);}['loadServerUnitOfRevision'](_0x192fea,_0x917fda,_0x361ef3){var _0x430e8a=_0x39a00b;return this['_injector']['get'](c[_0x430e8a(0x1db)])[_0x430e8a(0x1d6)](_0x192fea,_0x917fda,_0x361ef3);}}l[_0x39a00b(0x1b4)][_0x39a00b(0x1c0)](u);