@univerjs-pro/collaboration-client 0.8.2-nightly.202506211606 → 0.8.2-nightly.202506221606

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 _0x57e0d3=_0x153a;(function(_0x52aaf6,_0x5bb3a1){var _0x474bc6=_0x153a,_0x216220=_0x52aaf6();while(!![]){try{var _0x4e308f=-parseInt(_0x474bc6(0xca))/0x1+parseInt(_0x474bc6(0xb9))/0x2*(-parseInt(_0x474bc6(0x9e))/0x3)+parseInt(_0x474bc6(0xbf))/0x4*(-parseInt(_0x474bc6(0xa6))/0x5)+-parseInt(_0x474bc6(0xb1))/0x6+parseInt(_0x474bc6(0xb4))/0x7+-parseInt(_0x474bc6(0xbd))/0x8+parseInt(_0x474bc6(0xa1))/0x9;if(_0x4e308f===_0x5bb3a1)break;else _0x216220['push'](_0x216220['shift']());}catch(_0x4d3a97){_0x216220['push'](_0x216220['shift']());}}}(_0x35f9,0xf2125));function _0x153a(_0x42110b,_0x521a4c){var _0x35f95c=_0x35f9();return _0x153a=function(_0x153a34,_0x39532d){_0x153a34=_0x153a34-0x9c;var _0x3d83c1=_0x35f95c[_0x153a34];return _0x3d83c1;},_0x153a(_0x42110b,_0x521a4c);}function _0x35f9(){var _0x32cfcc=['CollaborationController','56410UNpcjU','loadActiveSheet','getUniverSheet','SnapshotService','get','pipe','Injector','switchMap','_collaborationController','DataLoaderService','FBase','11606946gLjkkK','FUniver','_handler','2064797gzuFIk','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadServerUnit','FCollaboration','values','40YOvBPD','extend','_snapshotService','subscribeCollaborators','14784080nFglSh','createInstance','568JMebQX','Inject','subscribe','@univerjs-pro/collaboration','getCollaboration','readyForCollab','waitForRoom$','_univerInstanceService','members$','loadActiveSheetAsync','MemberService','1295193khRzGr','loadUnit','@univerjs/core','Module','_injector','toDisposable','204189UoukSW','@univerjs/core/facade','loadSheet','78637968eUmqMA','defineProperty','loadSheetAsync','IUniverInstanceService'];_0x35f9=function(){return _0x32cfcc;};return _0x35f9();}Object[_0x57e0d3(0xa2)](exports,Symbol['toStringTag'],{'value':_0x57e0d3(0xcd)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x57e0d3(0x9f)),h=require(_0x57e0d3(0xc2)),n=require(_0x57e0d3(0xcc)),b=require('rxjs');var d=Object['getOwnPropertyDescriptor'],S=(_0x5180bd,_0x21bfb6,_0x14288d,_0x66a67d)=>{for(var _0x5738b9=_0x66a67d>0x1?void 0x0:_0x66a67d?d(_0x21bfb6,_0x14288d):_0x21bfb6,_0x2b3f39=_0x5180bd['length']-0x1,_0x215a65;_0x2b3f39>=0x0;_0x2b3f39--)(_0x215a65=_0x5180bd[_0x2b3f39])&&(_0x5738b9=_0x215a65(_0x5738b9)||_0x5738b9);return _0x5738b9;},s=(_0x242598,_0x277f44)=>(_0x2698cf,_0x3c5da0)=>_0x277f44(_0x2698cf,_0x3c5da0,_0x242598);exports[_0x57e0d3(0xb7)]=class extends l[_0x57e0d3(0xb0)]{constructor(_0x5c650f,_0x46a530,_0x42e913,_0x1c9d56,_0x29811e){var _0x49154e=_0x57e0d3;super(),this[_0x49154e(0xb3)]=_0x5c650f,this[_0x49154e(0x9c)]=_0x46a530,this[_0x49154e(0xc6)]=_0x42e913,this[_0x49154e(0xbb)]=_0x1c9d56,this['_collaborationController']=_0x29811e;}async[_0x57e0d3(0xa7)](){var _0x63b6be=_0x57e0d3;return this[_0x63b6be(0xc8)]();}async[_0x57e0d3(0xc8)](){var _0x462121=_0x57e0d3;throw new Error(_0x462121(0xb5));}async[_0x57e0d3(0xa0)](_0x3decf2){var _0x2a6354=_0x57e0d3;return this[_0x2a6354(0xa3)](_0x3decf2);}async[_0x57e0d3(0xa3)](_0x15a3c4,_0x595c9b){var _0x5b74c1=_0x57e0d3;return await this['_snapshotService'][_0x5b74c1(0xa0)](_0x15a3c4,0x0,_0x595c9b)?(await this[_0x5b74c1(0xae)][_0x5b74c1(0xc4)](_0x15a3c4),this[_0x5b74c1(0xb3)][_0x5b74c1(0xa8)](_0x15a3c4)):null;}[_0x57e0d3(0xbc)](_0x111173,_0x1cd396){var _0x251fc1=_0x57e0d3;const _0x1f3a2c=this[_0x251fc1(0x9c)][_0x251fc1(0xaa)](c[_0x251fc1(0xc9)])[_0x251fc1(0xc5)](_0x111173)[_0x251fc1(0xab)](b[_0x251fc1(0xad)](_0x3ea526=>_0x3ea526[_0x251fc1(0xc7)]))[_0x251fc1(0xc1)](_0x4c83f=>_0x1cd396(Array['from'](_0x4c83f[_0x251fc1(0xb8)]())));return n[_0x251fc1(0x9d)](_0x1f3a2c);}},exports['FCollaboration']=S([s(0x1,n[_0x57e0d3(0xc0)](n[_0x57e0d3(0xac)])),s(0x2,n[_0x57e0d3(0xa4)]),s(0x3,n['Inject'](h[_0x57e0d3(0xa9)])),s(0x4,n[_0x57e0d3(0xc0)](c[_0x57e0d3(0xa5)]))],exports['FCollaboration']);class u extends l['FUniver']{[_0x57e0d3(0xc3)](){var _0xbe2e13=_0x57e0d3;return this[_0xbe2e13(0x9c)][_0xbe2e13(0xbe)](exports[_0xbe2e13(0xb7)],{'getUniverSheet':_0x597885=>this[_0xbe2e13(0xa8)](_0x597885)});}[_0x57e0d3(0xb6)](_0x4bb1aa,_0x4abb03,_0x419e5a){var _0x234001=_0x57e0d3;return this['_injector'][_0x234001(0xaa)](c['DataLoaderService'])[_0x234001(0xcb)](_0x4bb1aa,_0x4abb03,_0x419e5a);}['loadServerUnitOfRevision'](_0x350425,_0x3d62c2,_0x2c5a84){var _0x5d4b5c=_0x57e0d3;return this['_injector'][_0x5d4b5c(0xaa)](c[_0x5d4b5c(0xaf)])['loadUnitOfRevision'](_0x350425,_0x3d62c2,_0x2c5a84);}}l[_0x57e0d3(0xb2)][_0x57e0d3(0xba)](u);
1
+ 'use strict';var _0x463b46=_0x46bd;(function(_0x36b22a,_0xa8ba15){var _0x2a71ed=_0x46bd,_0x5ca7c0=_0x36b22a();while(!![]){try{var _0x43e708=-parseInt(_0x2a71ed(0x1d5))/0x1+parseInt(_0x2a71ed(0x1ed))/0x2+-parseInt(_0x2a71ed(0x1dd))/0x3*(parseInt(_0x2a71ed(0x1cc))/0x4)+parseInt(_0x2a71ed(0x1e4))/0x5*(-parseInt(_0x2a71ed(0x1d4))/0x6)+-parseInt(_0x2a71ed(0x1d0))/0x7*(parseInt(_0x2a71ed(0x1ca))/0x8)+parseInt(_0x2a71ed(0x1ee))/0x9+parseInt(_0x2a71ed(0x1e0))/0xa;if(_0x43e708===_0xa8ba15)break;else _0x5ca7c0['push'](_0x5ca7c0['shift']());}catch(_0x1c06be){_0x5ca7c0['push'](_0x5ca7c0['shift']());}}}(_0x3877,0xb1c28));function _0x46bd(_0x17fffd,_0x383e75){var _0x387768=_0x3877();return _0x46bd=function(_0x46bd30,_0xd8623){_0x46bd30=_0x46bd30-0x1c4;var _0x487812=_0x387768[_0x46bd30];return _0x487812;},_0x46bd(_0x17fffd,_0x383e75);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});function _0x3877(){var _0xb781b1=['2593400LfgjXC','9850239uGElus','_handler','SnapshotService','loadActiveSheetAsync','_injector','FBase','_collaborationController','16mQjywY','FCollaboration','48196elPrfD','members$','values','Inject','4357717lOsBox','getUniverSheet','length','loadSheetAsync','270174SQpJDY','357652DlPmJC','rxjs','subscribe','MemberService','@univerjs/core/facade','getOwnPropertyDescriptor','getCollaboration','extend','141lwTUte','_univerInstanceService','IUniverInstanceService','18117910rEXLhR','CollaborationController','@univerjs-pro/collaboration-client','FUniver','145QGYcZp','loadUnit','@univerjs-pro/collaboration','loadSheet','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','DataLoaderService','waitForRoom$'];_0x3877=function(){return _0xb781b1;};return _0x3877();}const c=require(_0x463b46(0x1e2)),l=require(_0x463b46(0x1d9)),h=require(_0x463b46(0x1e6)),n=require('@univerjs/core'),b=require(_0x463b46(0x1d6));var d=Object[_0x463b46(0x1da)],S=(_0x2fc707,_0x5b059a,_0x3e2e06,_0x398181)=>{var _0x68912d=_0x463b46;for(var _0x556ee4=_0x398181>0x1?void 0x0:_0x398181?d(_0x5b059a,_0x3e2e06):_0x5b059a,_0x49d030=_0x2fc707[_0x68912d(0x1d2)]-0x1,_0x5308e9;_0x49d030>=0x0;_0x49d030--)(_0x5308e9=_0x2fc707[_0x49d030])&&(_0x556ee4=_0x5308e9(_0x556ee4)||_0x556ee4);return _0x556ee4;},s=(_0x17d215,_0x1b1109)=>(_0x4d1df2,_0x4172f1)=>_0x1b1109(_0x4d1df2,_0x4172f1,_0x17d215);exports[_0x463b46(0x1cb)]=class extends l[_0x463b46(0x1c8)]{constructor(_0x350a43,_0x1a8757,_0x5b1d84,_0x3a4586,_0xf26b9f){var _0x22a751=_0x463b46;super(),this[_0x22a751(0x1c4)]=_0x350a43,this[_0x22a751(0x1c7)]=_0x1a8757,this[_0x22a751(0x1de)]=_0x5b1d84,this['_snapshotService']=_0x3a4586,this[_0x22a751(0x1c9)]=_0xf26b9f;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x463b46(0x1c6)](){var _0x50a027=_0x463b46;throw new Error(_0x50a027(0x1e9));}async[_0x463b46(0x1e7)](_0x5a97a9){var _0x563f30=_0x463b46;return this[_0x563f30(0x1d3)](_0x5a97a9);}async[_0x463b46(0x1d3)](_0x1ca0d6,_0x5b18e3){var _0x5c8e97=_0x463b46;return await this['_snapshotService'][_0x5c8e97(0x1e7)](_0x1ca0d6,0x0,_0x5b18e3)?(await this[_0x5c8e97(0x1c9)]['readyForCollab'](_0x1ca0d6),this[_0x5c8e97(0x1c4)][_0x5c8e97(0x1d1)](_0x1ca0d6)):null;}['subscribeCollaborators'](_0x41e315,_0x4a7bc5){var _0x28dc5c=_0x463b46;const _0x318df6=this[_0x28dc5c(0x1c7)][_0x28dc5c(0x1e8)](c[_0x28dc5c(0x1d8)])[_0x28dc5c(0x1ec)](_0x41e315)['pipe'](b[_0x28dc5c(0x1ea)](_0x3f7d30=>_0x3f7d30[_0x28dc5c(0x1cd)]))[_0x28dc5c(0x1d7)](_0x509c3b=>_0x4a7bc5(Array['from'](_0x509c3b[_0x28dc5c(0x1ce)]())));return n['toDisposable'](_0x318df6);}},exports[_0x463b46(0x1cb)]=S([s(0x1,n[_0x463b46(0x1cf)](n['Injector'])),s(0x2,n[_0x463b46(0x1df)]),s(0x3,n[_0x463b46(0x1cf)](h[_0x463b46(0x1c5)])),s(0x4,n[_0x463b46(0x1cf)](c[_0x463b46(0x1e1)]))],exports[_0x463b46(0x1cb)]);class u extends l['FUniver']{[_0x463b46(0x1db)](){var _0x5b0dff=_0x463b46;return this[_0x5b0dff(0x1c7)]['createInstance'](exports[_0x5b0dff(0x1cb)],{'getUniverSheet':_0x9c29ff=>this['getUniverSheet'](_0x9c29ff)});}['loadServerUnit'](_0x501892,_0x1d9751,_0xe5fb64){var _0x5b13b1=_0x463b46;return this[_0x5b13b1(0x1c7)][_0x5b13b1(0x1e8)](c[_0x5b13b1(0x1eb)])[_0x5b13b1(0x1e5)](_0x501892,_0x1d9751,_0xe5fb64);}['loadServerUnitOfRevision'](_0x12e8d2,_0x43021a,_0x2f6c73){var _0x2c0b5d=_0x463b46;return this['_injector'][_0x2c0b5d(0x1e8)](c[_0x2c0b5d(0x1eb)])['loadUnitOfRevision'](_0x12e8d2,_0x43021a,_0x2f6c73);}}l[_0x463b46(0x1e3)][_0x463b46(0x1dc)](u);