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

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 _0x3f623c=_0x34d7;function _0x49c0(){var _0x3373f8=['_univerInstanceService','484783kgAZDJ','9zOvsCo','loadUnitOfRevision','_injector','CollaborationController','loadActiveSheetAsync','extend','from','loadServerUnitOfRevision','Injector','loadSheet','toStringTag','30vhhjeC','2414313kSJjJd','_handler','7196144hQAYpo','DataLoaderService','@univerjs-pro/collaboration','2LQTFtr','toDisposable','getUniverSheet','2761266kfHKAQ','_snapshotService','getOwnPropertyDescriptor','@univerjs/core','switchMap','SnapshotService','@univerjs/core/facade','subscribe','MemberService','values','1591749FoTMgr','loadUnit','827215acXauO','getCollaboration','createInstance','Inject','942826zoJRzj','get','loadSheetAsync','waitForRoom$','7pUFqeG','FUniver','576pBjzoe','_collaborationController','4NgPXWz','loadServerUnit','members$','IUniverInstanceService'];_0x49c0=function(){return _0x3373f8;};return _0x49c0();}(function(_0x326b3f,_0x4d2cbb){var _0x29461a=_0x34d7,_0x4c230e=_0x326b3f();while(!![]){try{var _0x4b251a=-parseInt(_0x29461a(0x15b))/0x1*(-parseInt(_0x29461a(0x17a))/0x2)+-parseInt(_0x29461a(0x187))/0x3+parseInt(_0x29461a(0x163))/0x4*(-parseInt(_0x29461a(0x157))/0x5)+-parseInt(_0x29461a(0x17d))/0x6*(-parseInt(_0x29461a(0x15f))/0x7)+parseInt(_0x29461a(0x177))/0x8*(parseInt(_0x29461a(0x169))/0x9)+-parseInt(_0x29461a(0x174))/0xa*(-parseInt(_0x29461a(0x175))/0xb)+-parseInt(_0x29461a(0x161))/0xc*(parseInt(_0x29461a(0x168))/0xd);if(_0x4b251a===_0x4d2cbb)break;else _0x4c230e['push'](_0x4c230e['shift']());}catch(_0x3a1deb){_0x4c230e['push'](_0x4c230e['shift']());}}}(_0x49c0,0x73f82));function _0x34d7(_0x10c3cc,_0x49b369){var _0x49c0e3=_0x49c0();return _0x34d7=function(_0x34d73b,_0x2dabc9){_0x34d73b=_0x34d73b-0x157;var _0x60b029=_0x49c0e3[_0x34d73b];return _0x60b029;},_0x34d7(_0x10c3cc,_0x49b369);}Object['defineProperty'](exports,Symbol[_0x3f623c(0x173)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x3f623c(0x183)),h=require(_0x3f623c(0x179)),n=require(_0x3f623c(0x180)),b=require('rxjs');var d=Object[_0x3f623c(0x17f)],S=(_0xa98ce6,_0x34cb7a,_0x5355e6,_0x3da4da)=>{for(var _0x1b2d33=_0x3da4da>0x1?void 0x0:_0x3da4da?d(_0x34cb7a,_0x5355e6):_0x34cb7a,_0x148b92=_0xa98ce6['length']-0x1,_0x4929b3;_0x148b92>=0x0;_0x148b92--)(_0x4929b3=_0xa98ce6[_0x148b92])&&(_0x1b2d33=_0x4929b3(_0x1b2d33)||_0x1b2d33);return _0x1b2d33;},s=(_0x1c6ff3,_0x241235)=>(_0x4523bf,_0x535dd7)=>_0x241235(_0x4523bf,_0x535dd7,_0x1c6ff3);exports['FCollaboration']=class extends l['FBase']{constructor(_0x546548,_0x4b6800,_0x11a4fe,_0x5a0fac,_0x5187b2){var _0x2b53cb=_0x3f623c;super(),this[_0x2b53cb(0x176)]=_0x546548,this[_0x2b53cb(0x16b)]=_0x4b6800,this[_0x2b53cb(0x167)]=_0x11a4fe,this[_0x2b53cb(0x17e)]=_0x5a0fac,this[_0x2b53cb(0x162)]=_0x5187b2;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x3f623c(0x16d)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x3f623c(0x172)](_0xb326b1){var _0x4a8892=_0x3f623c;return this[_0x4a8892(0x15d)](_0xb326b1);}async[_0x3f623c(0x15d)](_0x3d1216,_0x42e836){var _0x5ad6e1=_0x3f623c;return await this[_0x5ad6e1(0x17e)]['loadSheet'](_0x3d1216,0x0,_0x42e836)?(await this['_collaborationController']['readyForCollab'](_0x3d1216),this[_0x5ad6e1(0x176)]['getUniverSheet'](_0x3d1216)):null;}['subscribeCollaborators'](_0x385f09,_0x45a5dd){var _0x1aaa9d=_0x3f623c;const _0x3b5618=this[_0x1aaa9d(0x16b)][_0x1aaa9d(0x15c)](c[_0x1aaa9d(0x185)])[_0x1aaa9d(0x15e)](_0x385f09)['pipe'](b[_0x1aaa9d(0x181)](_0x1446e3=>_0x1446e3[_0x1aaa9d(0x165)]))[_0x1aaa9d(0x184)](_0x2eccb4=>_0x45a5dd(Array[_0x1aaa9d(0x16f)](_0x2eccb4[_0x1aaa9d(0x186)]())));return n[_0x1aaa9d(0x17b)](_0x3b5618);}},exports['FCollaboration']=S([s(0x1,n['Inject'](n[_0x3f623c(0x171)])),s(0x2,n[_0x3f623c(0x166)]),s(0x3,n['Inject'](h[_0x3f623c(0x182)])),s(0x4,n[_0x3f623c(0x15a)](c[_0x3f623c(0x16c)]))],exports['FCollaboration']);class u extends l[_0x3f623c(0x160)]{[_0x3f623c(0x158)](){var _0x3c12b7=_0x3f623c;return this[_0x3c12b7(0x16b)][_0x3c12b7(0x159)](exports['FCollaboration'],{'getUniverSheet':_0x2c3adb=>this[_0x3c12b7(0x17c)](_0x2c3adb)});}[_0x3f623c(0x164)](_0x2623d8,_0x4a6d31,_0x3dc76f){var _0x49bf19=_0x3f623c;return this[_0x49bf19(0x16b)]['get'](c[_0x49bf19(0x178)])[_0x49bf19(0x188)](_0x2623d8,_0x4a6d31,_0x3dc76f);}[_0x3f623c(0x170)](_0x26e698,_0x6e1881,_0x36a936){var _0x5bbd5c=_0x3f623c;return this['_injector'][_0x5bbd5c(0x15c)](c[_0x5bbd5c(0x178)])[_0x5bbd5c(0x16a)](_0x26e698,_0x6e1881,_0x36a936);}}l[_0x3f623c(0x160)][_0x3f623c(0x16e)](u);