@univerjs-pro/collaboration-client 0.7.0-nightly.202505071607 → 0.7.0-nightly.202505091607

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 _0x31de7a=_0x1f14;(function(_0x487639,_0x3871cc){var _0x4ed237=_0x1f14,_0x57a78d=_0x487639();while(!![]){try{var _0x1cc4df=parseInt(_0x4ed237(0x1d4))/0x1*(-parseInt(_0x4ed237(0x1d1))/0x2)+-parseInt(_0x4ed237(0x1a8))/0x3+parseInt(_0x4ed237(0x1b9))/0x4*(parseInt(_0x4ed237(0x1a2))/0x5)+parseInt(_0x4ed237(0x1d3))/0x6*(-parseInt(_0x4ed237(0x1c1))/0x7)+-parseInt(_0x4ed237(0x1ad))/0x8+parseInt(_0x4ed237(0x1be))/0x9*(-parseInt(_0x4ed237(0x1c4))/0xa)+parseInt(_0x4ed237(0x1cd))/0xb*(parseInt(_0x4ed237(0x1a9))/0xc);if(_0x1cc4df===_0x3871cc)break;else _0x57a78d['push'](_0x57a78d['shift']());}catch(_0x2e3434){_0x57a78d['push'](_0x57a78d['shift']());}}}(_0x1b50,0xc52ce));Object[_0x31de7a(0x1bf)](exports,Symbol[_0x31de7a(0x1cf)],{'value':'Module'});const c=require(_0x31de7a(0x1ab)),l=require('@univerjs/core/facade'),v=require(_0x31de7a(0x1d2)),i=require(_0x31de7a(0x1c5)),b=require('rxjs');function _0x1f14(_0x43fa44,_0x3a520b){var _0x1b5081=_0x1b50();return _0x1f14=function(_0x1f14c1,_0x510826){_0x1f14c1=_0x1f14c1-0x1a2;var _0x4d73eb=_0x1b5081[_0x1f14c1];return _0x4d73eb;},_0x1f14(_0x43fa44,_0x3a520b);}var S=Object['getOwnPropertyDescriptor'],d=(_0x50a122,_0x3f2228,_0x5a2b8a,_0x81d27d)=>{var _0x28e2f5=_0x31de7a;for(var _0x9b2567=_0x81d27d>0x1?void 0x0:_0x81d27d?S(_0x3f2228,_0x5a2b8a):_0x3f2228,_0xdf1877=_0x50a122[_0x28e2f5(0x1af)]-0x1,_0x34fa0d;_0xdf1877>=0x0;_0xdf1877--)(_0x34fa0d=_0x50a122[_0xdf1877])&&(_0x9b2567=_0x34fa0d(_0x9b2567)||_0x9b2567);return _0x9b2567;},s=(_0xa065d3,_0x124ae6)=>(_0x5d06c9,_0x321f00)=>_0x124ae6(_0x5d06c9,_0x321f00,_0xa065d3);function _0x1b50(){var _0x36c938=['from','120HwjbFN','@univerjs/core','loadSheetAsync','subscribe','FUniver','_handler','loadServerUnit','CollaborationController','MemberService','5006408wFrLAr','IUniverInstanceService','toStringTag','FCollaboration','1102jUCEEz','@univerjs-pro/collaboration','204rnMCem','422rOQXLY','members$','16360TJJCIa','Inject','loadActiveSheetAsync','loadSheet','Injector','switchMap','260361YTfeiH','72eKpMvd','waitForRoom$','@univerjs-pro/collaboration-client','_collaborationController','1065752ltGNTo','loadUnit','length','extend','_snapshotService','getUniverSheet','SnapshotService','readyForCollab','values','loadActiveSheet','toDisposable','_univerInstanceService','1704vpSDsW','_injector','createInstance','get','DataLoaderService','1114668LmThMU','defineProperty','FBase','283759sAEzud','getCollaboration'];_0x1b50=function(){return _0x36c938;};return _0x1b50();}exports[_0x31de7a(0x1d0)]=class extends l[_0x31de7a(0x1c0)]{constructor(_0x40bdd1,_0x89e26a,_0x390363,_0x422382,_0x154def){var _0xc55fc0=_0x31de7a;super(),this[_0xc55fc0(0x1c9)]=_0x40bdd1,this[_0xc55fc0(0x1ba)]=_0x89e26a,this[_0xc55fc0(0x1b8)]=_0x390363,this[_0xc55fc0(0x1b1)]=_0x422382,this[_0xc55fc0(0x1ac)]=_0x154def;}async[_0x31de7a(0x1b6)](){var _0x32a9a4=_0x31de7a;return this[_0x32a9a4(0x1a4)]();}async[_0x31de7a(0x1a4)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x31de7a(0x1a5)](_0x30bd5b){var _0x3dc1f4=_0x31de7a;return this[_0x3dc1f4(0x1c6)](_0x30bd5b);}async[_0x31de7a(0x1c6)](_0x1ac65d,_0x1d5a41){var _0x4ffe42=_0x31de7a;return await this['_snapshotService']['loadSheet'](_0x1ac65d,0x0,_0x1d5a41)?(await this['_collaborationController'][_0x4ffe42(0x1b4)](_0x1ac65d),this[_0x4ffe42(0x1c9)][_0x4ffe42(0x1b2)](_0x1ac65d)):null;}['subscribeCollaborators'](_0xdee37d,_0x199cff){var _0x45f211=_0x31de7a;const _0x49c24b=this[_0x45f211(0x1ba)][_0x45f211(0x1bc)](c[_0x45f211(0x1cc)])[_0x45f211(0x1aa)](_0xdee37d)['pipe'](b[_0x45f211(0x1a7)](_0x47f5f1=>_0x47f5f1[_0x45f211(0x1d5)]))[_0x45f211(0x1c7)](_0x2d2e4b=>_0x199cff(Array[_0x45f211(0x1c3)](_0x2d2e4b[_0x45f211(0x1b5)]())));return i[_0x45f211(0x1b7)](_0x49c24b);}},exports['FCollaboration']=d([s(0x1,i[_0x31de7a(0x1a3)](i[_0x31de7a(0x1a6)])),s(0x2,i[_0x31de7a(0x1ce)]),s(0x3,i['Inject'](v[_0x31de7a(0x1b3)])),s(0x4,i[_0x31de7a(0x1a3)](c[_0x31de7a(0x1cb)]))],exports[_0x31de7a(0x1d0)]);class u extends l[_0x31de7a(0x1c8)]{[_0x31de7a(0x1c2)](){var _0x2678ef=_0x31de7a;return this['_injector'][_0x2678ef(0x1bb)](exports[_0x2678ef(0x1d0)],{'getUniverSheet':_0xa7330a=>this[_0x2678ef(0x1b2)](_0xa7330a)});}[_0x31de7a(0x1ca)](_0x3145b6,_0x5ca374,_0x19d06d){var _0x2a38ff=_0x31de7a;return this[_0x2a38ff(0x1ba)]['createInstance'](c[_0x2a38ff(0x1bd)])[_0x2a38ff(0x1ae)](_0x3145b6,_0x5ca374,_0x19d06d);}}l['FUniver'][_0x31de7a(0x1b0)](u);
1
+ 'use strict';function _0xe014(_0x440c52,_0x5a2ce6){var _0x6321ec=_0x6321();return _0xe014=function(_0xe01488,_0x2d27dd){_0xe01488=_0xe01488-0xaa;var _0x4676de=_0x6321ec[_0xe01488];return _0x4676de;},_0xe014(_0x440c52,_0x5a2ce6);}var _0x300f5b=_0xe014;(function(_0x189e42,_0x3d46b4){var _0x5e3fe9=_0xe014,_0x112dd9=_0x189e42();while(!![]){try{var _0x420447=-parseInt(_0x5e3fe9(0xc7))/0x1+parseInt(_0x5e3fe9(0xd6))/0x2*(parseInt(_0x5e3fe9(0xb7))/0x3)+parseInt(_0x5e3fe9(0xab))/0x4+-parseInt(_0x5e3fe9(0xb6))/0x5*(parseInt(_0x5e3fe9(0xad))/0x6)+-parseInt(_0x5e3fe9(0xca))/0x7*(-parseInt(_0x5e3fe9(0xd1))/0x8)+-parseInt(_0x5e3fe9(0xce))/0x9+-parseInt(_0x5e3fe9(0xcc))/0xa*(-parseInt(_0x5e3fe9(0xbc))/0xb);if(_0x420447===_0x3d46b4)break;else _0x112dd9['push'](_0x112dd9['shift']());}catch(_0x12182a){_0x112dd9['push'](_0x112dd9['shift']());}}}(_0x6321,0x2db07));Object[_0x300f5b(0xb3)](exports,Symbol[_0x300f5b(0xb5)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x300f5b(0xb8)),i=require(_0x300f5b(0xae)),b=require('rxjs');function _0x6321(){var _0x329122=['toStringTag','1692055jqbytO','30579TRIKiC','@univerjs-pro/collaboration','loadSheetAsync','createInstance','loadUnit','21142YTvCxX','_univerInstanceService','toDisposable','MemberService','CollaborationController','_snapshotService','_injector','FUniver','SnapshotService','pipe','getUniverSheet','106164DnLHwD','_handler','length','254149wZkLAJ','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','3260PNCTRP','getOwnPropertyDescriptor','1312263pXUuZg','values','Inject','8nHlbho','loadActiveSheetAsync','from','subscribe','_collaborationController','2OgQmUh','DataLoaderService','get','Injector','417812JVlzBt','members$','6FhSQIg','@univerjs/core','waitForRoom$','loadSheet','FCollaboration','subscribeCollaborators','defineProperty','FBase'];_0x6321=function(){return _0x329122;};return _0x6321();}var S=Object[_0x300f5b(0xcd)],d=(_0x543e72,_0x5b7187,_0x137f6c,_0x56efc3)=>{var _0x31af7c=_0x300f5b;for(var _0x3e373e=_0x56efc3>0x1?void 0x0:_0x56efc3?S(_0x5b7187,_0x137f6c):_0x5b7187,_0x456d3c=_0x543e72[_0x31af7c(0xc9)]-0x1,_0x4b1231;_0x456d3c>=0x0;_0x456d3c--)(_0x4b1231=_0x543e72[_0x456d3c])&&(_0x3e373e=_0x4b1231(_0x3e373e)||_0x3e373e);return _0x3e373e;},s=(_0x1ed343,_0xa112f4)=>(_0x3c90aa,_0x336cc8)=>_0xa112f4(_0x3c90aa,_0x336cc8,_0x1ed343);exports[_0x300f5b(0xb1)]=class extends l[_0x300f5b(0xb4)]{constructor(_0x359717,_0xf3f5a3,_0x597198,_0x24c6a3,_0x3c68c2){var _0x3fee79=_0x300f5b;super(),this[_0x3fee79(0xc8)]=_0x359717,this[_0x3fee79(0xc2)]=_0xf3f5a3,this[_0x3fee79(0xbd)]=_0x597198,this['_snapshotService']=_0x24c6a3,this['_collaborationController']=_0x3c68c2;}async['loadActiveSheet'](){var _0x4e28fd=_0x300f5b;return this[_0x4e28fd(0xd2)]();}async[_0x300f5b(0xd2)](){var _0x53ba1c=_0x300f5b;throw new Error(_0x53ba1c(0xcb));}async['loadSheet'](_0x52ba0f){var _0xb72af0=_0x300f5b;return this[_0xb72af0(0xb9)](_0x52ba0f);}async[_0x300f5b(0xb9)](_0x4fbed1,_0x58caa5){var _0x16d069=_0x300f5b;return await this[_0x16d069(0xc1)][_0x16d069(0xb0)](_0x4fbed1,0x0,_0x58caa5)?(await this[_0x16d069(0xd5)]['readyForCollab'](_0x4fbed1),this['_handler'][_0x16d069(0xc6)](_0x4fbed1)):null;}[_0x300f5b(0xb2)](_0x533a51,_0x49bd2e){var _0x1eb5de=_0x300f5b;const _0x546e65=this[_0x1eb5de(0xc2)][_0x1eb5de(0xd8)](c[_0x1eb5de(0xbf)])[_0x1eb5de(0xaf)](_0x533a51)[_0x1eb5de(0xc5)](b['switchMap'](_0x1294b0=>_0x1294b0[_0x1eb5de(0xac)]))[_0x1eb5de(0xd4)](_0x50aedc=>_0x49bd2e(Array[_0x1eb5de(0xd3)](_0x50aedc[_0x1eb5de(0xcf)]())));return i[_0x1eb5de(0xbe)](_0x546e65);}},exports[_0x300f5b(0xb1)]=d([s(0x1,i[_0x300f5b(0xd0)](i[_0x300f5b(0xaa)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x300f5b(0xd0)](v[_0x300f5b(0xc4)])),s(0x4,i['Inject'](c[_0x300f5b(0xc0)]))],exports[_0x300f5b(0xb1)]);class u extends l['FUniver']{['getCollaboration'](){var _0x2612d9=_0x300f5b;return this[_0x2612d9(0xc2)][_0x2612d9(0xba)](exports['FCollaboration'],{'getUniverSheet':_0x205d3f=>this[_0x2612d9(0xc6)](_0x205d3f)});}['loadServerUnit'](_0x4344e8,_0x45a045,_0x53a86f){var _0x8a58d=_0x300f5b;return this['_injector']['createInstance'](c[_0x8a58d(0xd7)])[_0x8a58d(0xbb)](_0x4344e8,_0x45a045,_0x53a86f);}}l[_0x300f5b(0xc3)]['extend'](u);