@univerjs-pro/collaboration-client 0.7.0-nightly.202505161607 → 0.7.0-nightly.202505171606

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 _0x5646(){var _0x1fb45e=['getOwnPropertyDescriptor','createInstance','DataLoaderService','switchMap','_handler','IUniverInstanceService','members$','136610ejKywo','subscribeCollaborators','toDisposable','@univerjs-pro/collaboration','values','subscribe','Inject','6936wYaWav','_snapshotService','loadSheet','1089162QnOULo','@univerjs/core','FCollaboration','extend','SnapshotService','getUniverSheet','Injector','length','_injector','loadServerUnit','1845016LCQwpo','84KwUTyQ','9WsEuGQ','366070RCTQMl','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','loadSheetAsync','441LsCvqu','200530XlbARa','loadUnit','pipe','get','79674eUazvz','defineProperty','getCollaboration','@univerjs/core/facade','_collaborationController','@univerjs-pro/collaboration-client','CollaborationController','FBase'];_0x5646=function(){return _0x1fb45e;};return _0x5646();}var _0xf6bfc9=_0x6415;(function(_0x2163a3,_0x1a3cef){var _0xb54a72=_0x6415,_0x3f8a9c=_0x2163a3();while(!![]){try{var _0x3987e0=parseInt(_0xb54a72(0x1c5))/0x1+-parseInt(_0xb54a72(0x1d4))/0x2*(-parseInt(_0xb54a72(0x1ba))/0x3)+parseInt(_0xb54a72(0x1b8))/0x4+-parseInt(_0xb54a72(0x1c1))/0x5*(parseInt(_0xb54a72(0x1b9))/0x6)+-parseInt(_0xb54a72(0x1c0))/0x7*(-parseInt(_0xb54a72(0x1ab))/0x8)+parseInt(_0xb54a72(0x1ae))/0x9+-parseInt(_0xb54a72(0x1bb))/0xa;if(_0x3987e0===_0x1a3cef)break;else _0x3f8a9c['push'](_0x3f8a9c['shift']());}catch(_0x5b4f8f){_0x3f8a9c['push'](_0x3f8a9c['shift']());}}}(_0x5646,0x4ef3f));Object[_0xf6bfc9(0x1c6)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require(_0xf6bfc9(0x1ca)),l=require(_0xf6bfc9(0x1c8)),v=require(_0xf6bfc9(0x1a7)),i=require(_0xf6bfc9(0x1af)),b=require('rxjs');var S=Object[_0xf6bfc9(0x1cd)],d=(_0x540586,_0x50319a,_0x1ebf18,_0x2f985a)=>{var _0x4823c6=_0xf6bfc9;for(var _0x1f3515=_0x2f985a>0x1?void 0x0:_0x2f985a?S(_0x50319a,_0x1ebf18):_0x50319a,_0x253c5e=_0x540586[_0x4823c6(0x1b5)]-0x1,_0x1ae593;_0x253c5e>=0x0;_0x253c5e--)(_0x1ae593=_0x540586[_0x253c5e])&&(_0x1f3515=_0x1ae593(_0x1f3515)||_0x1f3515);return _0x1f3515;},s=(_0x675e2d,_0x1edc37)=>(_0x1b705c,_0x53950f)=>_0x1edc37(_0x1b705c,_0x53950f,_0x675e2d);function _0x6415(_0x2b4d05,_0x2e34ab){var _0x5646cb=_0x5646();return _0x6415=function(_0x6415e1,_0x3784a5){_0x6415e1=_0x6415e1-0x1a7;var _0x56e84c=_0x5646cb[_0x6415e1];return _0x56e84c;},_0x6415(_0x2b4d05,_0x2e34ab);}exports[_0xf6bfc9(0x1b0)]=class extends l[_0xf6bfc9(0x1cc)]{constructor(_0x49cff3,_0x409dc6,_0x10f7f1,_0x165f05,_0x35fd37){var _0x4eec61=_0xf6bfc9;super(),this[_0x4eec61(0x1d1)]=_0x49cff3,this[_0x4eec61(0x1b6)]=_0x409dc6,this['_univerInstanceService']=_0x10f7f1,this[_0x4eec61(0x1ac)]=_0x165f05,this[_0x4eec61(0x1c9)]=_0x35fd37;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x30de51=_0xf6bfc9;throw new Error(_0x30de51(0x1bd));}async[_0xf6bfc9(0x1ad)](_0x31c2ef){var _0x7ab339=_0xf6bfc9;return this[_0x7ab339(0x1bf)](_0x31c2ef);}async[_0xf6bfc9(0x1bf)](_0x5e4c4d,_0x15d559){var _0x250dbe=_0xf6bfc9;return await this[_0x250dbe(0x1ac)][_0x250dbe(0x1ad)](_0x5e4c4d,0x0,_0x15d559)?(await this[_0x250dbe(0x1c9)]['readyForCollab'](_0x5e4c4d),this[_0x250dbe(0x1d1)][_0x250dbe(0x1b3)](_0x5e4c4d)):null;}[_0xf6bfc9(0x1d5)](_0xc9431d,_0x316fec){var _0x47c9e5=_0xf6bfc9;const _0x43db30=this[_0x47c9e5(0x1b6)][_0x47c9e5(0x1c4)](c[_0x47c9e5(0x1bc)])['waitForRoom$'](_0xc9431d)[_0x47c9e5(0x1c3)](b[_0x47c9e5(0x1d0)](_0x2c8113=>_0x2c8113[_0x47c9e5(0x1d3)]))[_0x47c9e5(0x1a9)](_0x291a6a=>_0x316fec(Array['from'](_0x291a6a[_0x47c9e5(0x1a8)]())));return i[_0x47c9e5(0x1d6)](_0x43db30);}},exports[_0xf6bfc9(0x1b0)]=d([s(0x1,i[_0xf6bfc9(0x1aa)](i[_0xf6bfc9(0x1b4)])),s(0x2,i[_0xf6bfc9(0x1d2)]),s(0x3,i[_0xf6bfc9(0x1aa)](v[_0xf6bfc9(0x1b2)])),s(0x4,i[_0xf6bfc9(0x1aa)](c[_0xf6bfc9(0x1cb)]))],exports['FCollaboration']);class u extends l[_0xf6bfc9(0x1be)]{[_0xf6bfc9(0x1c7)](){var _0x257f29=_0xf6bfc9;return this[_0x257f29(0x1b6)][_0x257f29(0x1ce)](exports[_0x257f29(0x1b0)],{'getUniverSheet':_0x21d276=>this[_0x257f29(0x1b3)](_0x21d276)});}[_0xf6bfc9(0x1b7)](_0x378a96,_0xcafe3,_0x5aa8c5){var _0x5bd133=_0xf6bfc9;return this[_0x5bd133(0x1b6)][_0x5bd133(0x1ce)](c[_0x5bd133(0x1cf)])[_0x5bd133(0x1c2)](_0x378a96,_0xcafe3,_0x5aa8c5);}}l[_0xf6bfc9(0x1be)][_0xf6bfc9(0x1b1)](u);
1
+ 'use strict';var _0x169b0e=_0x2848;function _0xc930(){var _0x353ccf=['FBase','rxjs','members$','Injector','getOwnPropertyDescriptor','272eWBqQt','Inject','_handler','getUniverSheet','SnapshotService','toStringTag','MemberService','Module','498960jVrSyJ','520UwXMAg','pipe','192jlTsxV','_collaborationController','FCollaboration','getCollaboration','defineProperty','readyForCollab','FUniver','switchMap','loadSheetAsync','145245IfVuto','660vUQVQM','77463VSesYi','_injector','CollaborationController','DataLoaderService','4251860oYgwDq','@univerjs/core','from','toDisposable','1085917UXRMtO','loadActiveSheet','4023TqmzMk','waitForRoom$','createInstance','loadSheet','extend','subscribe','@univerjs-pro/collaboration-client','_snapshotService'];_0xc930=function(){return _0x353ccf;};return _0xc930();}(function(_0x5722e9,_0x387dc5){var _0x212a0b=_0x2848,_0x2d8f58=_0x5722e9();while(!![]){try{var _0x4d56ab=parseInt(_0x212a0b(0x1d6))/0x1*(-parseInt(_0x212a0b(0x1ee))/0x2)+-parseInt(_0x212a0b(0x1ca))/0x3+-parseInt(_0x212a0b(0x1ec))/0x4*(parseInt(_0x212a0b(0x1cb))/0x5)+parseInt(_0x212a0b(0x1eb))/0x6+-parseInt(_0x212a0b(0x1d4))/0x7+parseInt(_0x212a0b(0x1e3))/0x8*(parseInt(_0x212a0b(0x1cc))/0x9)+parseInt(_0x212a0b(0x1d0))/0xa;if(_0x4d56ab===_0x387dc5)break;else _0x2d8f58['push'](_0x2d8f58['shift']());}catch(_0xca0e61){_0x2d8f58['push'](_0x2d8f58['shift']());}}}(_0xc930,0x2f616));Object[_0x169b0e(0x1c5)](exports,Symbol[_0x169b0e(0x1e8)],{'value':_0x169b0e(0x1ea)});const c=require(_0x169b0e(0x1dc)),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),i=require(_0x169b0e(0x1d1)),b=require(_0x169b0e(0x1df));var S=Object[_0x169b0e(0x1e2)],d=(_0x163a2f,_0x2a5a7a,_0x36b9b5,_0x46eddd)=>{for(var _0x19f10a=_0x46eddd>0x1?void 0x0:_0x46eddd?S(_0x2a5a7a,_0x36b9b5):_0x2a5a7a,_0x4e32d7=_0x163a2f['length']-0x1,_0x1befa1;_0x4e32d7>=0x0;_0x4e32d7--)(_0x1befa1=_0x163a2f[_0x4e32d7])&&(_0x19f10a=_0x1befa1(_0x19f10a)||_0x19f10a);return _0x19f10a;},s=(_0x308341,_0x1ea76e)=>(_0x5ee0d2,_0x5c78a4)=>_0x1ea76e(_0x5ee0d2,_0x5c78a4,_0x308341);exports[_0x169b0e(0x1c3)]=class extends l[_0x169b0e(0x1de)]{constructor(_0x1149a6,_0xc923c2,_0x5c815a,_0x26ccbd,_0x2ef305){var _0x5130b9=_0x169b0e;super(),this['_handler']=_0x1149a6,this['_injector']=_0xc923c2,this['_univerInstanceService']=_0x5c815a,this[_0x5130b9(0x1dd)]=_0x26ccbd,this['_collaborationController']=_0x2ef305;}async[_0x169b0e(0x1d5)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x169b0e(0x1d9)](_0x3905f7){var _0x585a8f=_0x169b0e;return this[_0x585a8f(0x1c9)](_0x3905f7);}async[_0x169b0e(0x1c9)](_0x5a4859,_0x3cdc08){var _0x29ba9b=_0x169b0e;return await this[_0x29ba9b(0x1dd)][_0x29ba9b(0x1d9)](_0x5a4859,0x0,_0x3cdc08)?(await this[_0x29ba9b(0x1ef)][_0x29ba9b(0x1c6)](_0x5a4859),this[_0x29ba9b(0x1e5)]['getUniverSheet'](_0x5a4859)):null;}['subscribeCollaborators'](_0x3ce71c,_0x3e0d6e){var _0x4d1a91=_0x169b0e;const _0x48a243=this[_0x4d1a91(0x1cd)]['get'](c[_0x4d1a91(0x1e9)])[_0x4d1a91(0x1d7)](_0x3ce71c)[_0x4d1a91(0x1ed)](b[_0x4d1a91(0x1c8)](_0x5bad22=>_0x5bad22[_0x4d1a91(0x1e0)]))[_0x4d1a91(0x1db)](_0x1555b1=>_0x3e0d6e(Array[_0x4d1a91(0x1d2)](_0x1555b1['values']())));return i[_0x4d1a91(0x1d3)](_0x48a243);}},exports['FCollaboration']=d([s(0x1,i[_0x169b0e(0x1e4)](i[_0x169b0e(0x1e1)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x169b0e(0x1e4)](v[_0x169b0e(0x1e7)])),s(0x4,i[_0x169b0e(0x1e4)](c[_0x169b0e(0x1ce)]))],exports[_0x169b0e(0x1c3)]);function _0x2848(_0x438cf3,_0x1cf9b7){var _0xc930b6=_0xc930();return _0x2848=function(_0x284888,_0x59bc78){_0x284888=_0x284888-0x1c3;var _0x32459b=_0xc930b6[_0x284888];return _0x32459b;},_0x2848(_0x438cf3,_0x1cf9b7);}class u extends l[_0x169b0e(0x1c7)]{[_0x169b0e(0x1c4)](){var _0x25218b=_0x169b0e;return this[_0x25218b(0x1cd)]['createInstance'](exports[_0x25218b(0x1c3)],{'getUniverSheet':_0x5da7d9=>this[_0x25218b(0x1e6)](_0x5da7d9)});}['loadServerUnit'](_0x3b03a6,_0x28fa78,_0x2d8dc0){var _0x1eba30=_0x169b0e;return this[_0x1eba30(0x1cd)][_0x1eba30(0x1d8)](c[_0x1eba30(0x1cf)])['loadUnit'](_0x3b03a6,_0x28fa78,_0x2d8dc0);}}l[_0x169b0e(0x1c7)][_0x169b0e(0x1da)](u);