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

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 _0x2c0ba0=_0x5e89;(function(_0x3b4dc2,_0x21a6a4){var _0x50f413=_0x5e89,_0x224a16=_0x3b4dc2();while(!![]){try{var _0x9f2fa4=parseInt(_0x50f413(0x101))/0x1*(parseInt(_0x50f413(0xe7))/0x2)+parseInt(_0x50f413(0xf8))/0x3*(parseInt(_0x50f413(0x10b))/0x4)+parseInt(_0x50f413(0xe4))/0x5*(-parseInt(_0x50f413(0xf5))/0x6)+parseInt(_0x50f413(0x104))/0x7*(-parseInt(_0x50f413(0xf7))/0x8)+parseInt(_0x50f413(0xe8))/0x9+parseInt(_0x50f413(0x108))/0xa*(-parseInt(_0x50f413(0xed))/0xb)+parseInt(_0x50f413(0xeb))/0xc;if(_0x9f2fa4===_0x21a6a4)break;else _0x224a16['push'](_0x224a16['shift']());}catch(_0x1113b4){_0x224a16['push'](_0x224a16['shift']());}}}(_0x13bf,0xe8b52));function _0x5e89(_0x1e3a0d,_0x147e2a){var _0x13bf72=_0x13bf();return _0x5e89=function(_0x5e897f,_0x16a917){_0x5e897f=_0x5e897f-0xdf;var _0x1964fc=_0x13bf72[_0x5e897f];return _0x1964fc;},_0x5e89(_0x1e3a0d,_0x147e2a);}Object['defineProperty'](exports,Symbol[_0x2c0ba0(0xf6)],{'value':'Module'});function _0x13bf(){var _0x59630d=['values','IUniverInstanceService','445331lIIHUe','pipe','SnapshotService','10261853feXnPb','loadServerUnit','extend','Inject','170exbAPP','MemberService','DataLoaderService','553388ofpCPH','from','length','toDisposable','FCollaboration','_handler','loadSheetAsync','getUniverSheet','4070bitIPl','_univerInstanceService','createInstance','2qDnWyX','8333847gtdKaC','members$','@univerjs/core','17044584mmVdgm','_injector','107063vpxAgF','subscribe','FBase','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheet','subscribeCollaborators','_collaborationController','11724XECzpf','toStringTag','8yNpCAp','30PStAbz','_snapshotService','loadActiveSheetAsync','@univerjs-pro/collaboration','rxjs','Injector','loadActiveSheet'];_0x13bf=function(){return _0x59630d;};return _0x13bf();}const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x2c0ba0(0xfb)),i=require(_0x2c0ba0(0xea)),b=require(_0x2c0ba0(0xfc));var S=Object['getOwnPropertyDescriptor'],d=(_0x1b5c82,_0x5156ca,_0x3c0fca,_0x172408)=>{var _0x292f5c=_0x2c0ba0;for(var _0x49df6c=_0x172408>0x1?void 0x0:_0x172408?S(_0x5156ca,_0x3c0fca):_0x5156ca,_0x239e59=_0x1b5c82[_0x292f5c(0x10d)]-0x1,_0x38fd3d;_0x239e59>=0x0;_0x239e59--)(_0x38fd3d=_0x1b5c82[_0x239e59])&&(_0x49df6c=_0x38fd3d(_0x49df6c)||_0x49df6c);return _0x49df6c;},s=(_0x38bd3f,_0x2dc924)=>(_0xac7369,_0xb24552)=>_0x2dc924(_0xac7369,_0xb24552,_0x38bd3f);exports[_0x2c0ba0(0xe0)]=class extends l[_0x2c0ba0(0xef)]{constructor(_0x50a4e5,_0x1252ca,_0x5e17fd,_0x4c76d8,_0x466994){var _0x129920=_0x2c0ba0;super(),this[_0x129920(0xe1)]=_0x50a4e5,this[_0x129920(0xec)]=_0x1252ca,this[_0x129920(0xe5)]=_0x5e17fd,this[_0x129920(0xf9)]=_0x4c76d8,this['_collaborationController']=_0x466994;}async[_0x2c0ba0(0xfe)](){var _0x18fcb2=_0x2c0ba0;return this[_0x18fcb2(0xfa)]();}async['loadActiveSheetAsync'](){var _0x482d56=_0x2c0ba0;throw new Error(_0x482d56(0xf1));}async['loadSheet'](_0x352a9c){return this['loadSheetAsync'](_0x352a9c);}async[_0x2c0ba0(0xe2)](_0x1036c6,_0x38231e){var _0x45b030=_0x2c0ba0;return await this['_snapshotService'][_0x45b030(0xf2)](_0x1036c6,0x0,_0x38231e)?(await this[_0x45b030(0xf4)]['readyForCollab'](_0x1036c6),this[_0x45b030(0xe1)][_0x45b030(0xe3)](_0x1036c6)):null;}[_0x2c0ba0(0xf3)](_0x557209,_0x5c7845){var _0x13bf6b=_0x2c0ba0;const _0x481ba5=this[_0x13bf6b(0xec)]['get'](c[_0x13bf6b(0x109)])['waitForRoom$'](_0x557209)[_0x13bf6b(0x102)](b[_0x13bf6b(0xf0)](_0x9bf0ec=>_0x9bf0ec[_0x13bf6b(0xe9)]))[_0x13bf6b(0xee)](_0x2f9552=>_0x5c7845(Array[_0x13bf6b(0x10c)](_0x2f9552[_0x13bf6b(0xff)]())));return i[_0x13bf6b(0xdf)](_0x481ba5);}},exports[_0x2c0ba0(0xe0)]=d([s(0x1,i[_0x2c0ba0(0x107)](i[_0x2c0ba0(0xfd)])),s(0x2,i[_0x2c0ba0(0x100)]),s(0x3,i[_0x2c0ba0(0x107)](v[_0x2c0ba0(0x103)])),s(0x4,i[_0x2c0ba0(0x107)](c['CollaborationController']))],exports[_0x2c0ba0(0xe0)]);class u extends l['FUniver']{['getCollaboration'](){var _0x25552e=_0x2c0ba0;return this[_0x25552e(0xec)]['createInstance'](exports[_0x25552e(0xe0)],{'getUniverSheet':_0x3d4359=>this[_0x25552e(0xe3)](_0x3d4359)});}[_0x2c0ba0(0x105)](_0xbd3f5d,_0x2d38c1,_0x59ea7f){var _0x552c70=_0x2c0ba0;return this[_0x552c70(0xec)][_0x552c70(0xe6)](c[_0x552c70(0x10a)])['loadUnit'](_0xbd3f5d,_0x2d38c1,_0x59ea7f);}}l['FUniver'][_0x2c0ba0(0x106)](u);
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);