@univerjs-pro/collaboration-client 0.6.0 → 0.6.1-nightly.202502221605

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 _0xf4a977=_0x1ac5;(function(_0x421ffa,_0xf4d667){var _0x1ebc45=_0x1ac5,_0x441177=_0x421ffa();while(!![]){try{var _0xefaff5=-parseInt(_0x1ebc45(0x1de))/0x1+parseInt(_0x1ebc45(0x1e3))/0x2+parseInt(_0x1ebc45(0x1f3))/0x3*(parseInt(_0x1ebc45(0x1cd))/0x4)+-parseInt(_0x1ebc45(0x1d4))/0x5*(-parseInt(_0x1ebc45(0x1dc))/0x6)+-parseInt(_0x1ebc45(0x1e1))/0x7*(-parseInt(_0x1ebc45(0x1d9))/0x8)+-parseInt(_0x1ebc45(0x1ec))/0x9*(-parseInt(_0x1ebc45(0x1cc))/0xa)+-parseInt(_0x1ebc45(0x1db))/0xb;if(_0xefaff5===_0xf4d667)break;else _0x441177['push'](_0x441177['shift']());}catch(_0x5e0980){_0x441177['push'](_0x441177['shift']());}}}(_0x1904,0xb7b84));Object[_0xf4a977(0x1e9)](exports,Symbol['toStringTag'],{'value':_0xf4a977(0x1f6)});const l=require(_0xf4a977(0x1cb)),b=require(_0xf4a977(0x1dd)),h=require('@univerjs-pro/collaboration-client'),i=require(_0xf4a977(0x1e6)),v=require(_0xf4a977(0x1d3));var u=Object[_0xf4a977(0x1eb)],S=(_0x1ffee0,_0x7a1ac2,_0x23e53f,_0x1ac231)=>{var _0x558e81=_0xf4a977;for(var _0x2418d7=_0x1ac231>0x1?void 0x0:_0x1ac231?u(_0x7a1ac2,_0x23e53f):_0x7a1ac2,_0x2d759e=_0x1ffee0[_0x558e81(0x1f5)]-0x1,_0x5ec8e7;_0x2d759e>=0x0;_0x2d759e--)(_0x5ec8e7=_0x1ffee0[_0x2d759e])&&(_0x2418d7=_0x5ec8e7(_0x2418d7)||_0x2418d7);return _0x2418d7;},s=(_0x3621a2,_0x4b411c)=>(_0x350319,_0xa74fd2)=>_0x4b411c(_0x350319,_0xa74fd2,_0x3621a2);exports['FCollaboration']=class extends l[_0xf4a977(0x1e7)]{constructor(_0x2982f3,_0x2b23d3,_0x4d4d67,_0x396c89,_0x26a2dd){var _0x162475=_0xf4a977;super(),this[_0x162475(0x1d2)]=_0x2982f3,this['_injector']=_0x2b23d3,this['_univerInstanceService']=_0x4d4d67,this['_snapshotService']=_0x396c89,this[_0x162475(0x1df)]=_0x26a2dd;}async[_0xf4a977(0x1f2)](){var _0x2c6b56=_0xf4a977;return this[_0x2c6b56(0x1e0)]();}async['loadActiveSheetAsync'](){var _0x1376c1=_0xf4a977;throw new Error(_0x1376c1(0x1f9));}async[_0xf4a977(0x1ed)](_0x271649){var _0x402335=_0xf4a977;return this[_0x402335(0x1e5)](_0x271649);}async[_0xf4a977(0x1e5)](_0x130d72,_0x15b5e4){var _0x18343c=_0xf4a977;return await this['_snapshotService'][_0x18343c(0x1ed)](_0x130d72,0x0,_0x15b5e4)?(await this[_0x18343c(0x1df)][_0x18343c(0x1ca)](_0x130d72),this[_0x18343c(0x1d2)][_0x18343c(0x1f8)](_0x130d72)):null;}[_0xf4a977(0x1d0)](_0x352de0,_0x40ddc8){var _0x1c97f6=_0xf4a977;const _0x1ad8f6=this[_0x1c97f6(0x1d7)][_0x1c97f6(0x1cf)](h[_0x1c97f6(0x1ea)])[_0x1c97f6(0x1f0)](_0x352de0)[_0x1c97f6(0x1e4)](v['switchMap'](_0x17c57d=>_0x17c57d[_0x1c97f6(0x1fa)]))[_0x1c97f6(0x1f4)](_0x59a9c0=>_0x40ddc8(Array[_0x1c97f6(0x1d1)](_0x59a9c0[_0x1c97f6(0x1e2)]())));return i[_0x1c97f6(0x1ce)](_0x1ad8f6);}},exports[_0xf4a977(0x1d5)]=S([s(0x1,i[_0xf4a977(0x1f1)](i[_0xf4a977(0x1da)])),s(0x2,i[_0xf4a977(0x1e8)]),s(0x3,i[_0xf4a977(0x1f1)](b[_0xf4a977(0x1ee)])),s(0x4,i['Inject'](h[_0xf4a977(0x1f7)]))],exports[_0xf4a977(0x1d5)]);class d extends l[_0xf4a977(0x1d6)]{[_0xf4a977(0x1ef)](){var _0x242ec4=_0xf4a977;return this['_injector']['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x1ad393=>this[_0x242ec4(0x1f8)](_0x1ad393)});}}function _0x1904(){var _0x518886=['MemberService','getOwnPropertyDescriptor','792xjTEDp','loadSheet','SnapshotService','getCollaboration','waitForRoom$','Inject','loadActiveSheet','4021335oUWPys','subscribe','length','Module','CollaborationController','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','members$','readyForCollab','@univerjs/core/facade','120790gEfNcr','4sabiJO','toDisposable','get','subscribeCollaborators','from','_handler','rxjs','10145TQpzQt','FCollaboration','FUniver','_injector','extend','216SlVScp','Injector','26320756rydfJI','3894iNlIjJ','@univerjs-pro/collaboration','1272431SZbKww','_collaborationController','loadActiveSheetAsync','170485ZTRcUE','values','79880KQCZuP','pipe','loadSheetAsync','@univerjs/core','FBase','IUniverInstanceService','defineProperty'];_0x1904=function(){return _0x518886;};return _0x1904();}function _0x1ac5(_0x850819,_0x3e80af){var _0x190410=_0x1904();return _0x1ac5=function(_0x1ac5dc,_0x24ac1c){_0x1ac5dc=_0x1ac5dc-0x1ca;var _0x83d3cc=_0x190410[_0x1ac5dc];return _0x83d3cc;},_0x1ac5(_0x850819,_0x3e80af);}l[_0xf4a977(0x1d6)][_0xf4a977(0x1d8)](d);
1
+ 'use strict';var _0x2da87b=_0x327f;(function(_0x58dd52,_0x14dbec){var _0x1ec0f7=_0x327f,_0x5720ce=_0x58dd52();while(!![]){try{var _0x4c497f=-parseInt(_0x1ec0f7(0x140))/0x1*(parseInt(_0x1ec0f7(0x13d))/0x2)+-parseInt(_0x1ec0f7(0x123))/0x3+parseInt(_0x1ec0f7(0x12c))/0x4+-parseInt(_0x1ec0f7(0x11e))/0x5*(parseInt(_0x1ec0f7(0x124))/0x6)+-parseInt(_0x1ec0f7(0x120))/0x7+-parseInt(_0x1ec0f7(0x130))/0x8*(-parseInt(_0x1ec0f7(0x115))/0x9)+parseInt(_0x1ec0f7(0x11c))/0xa*(parseInt(_0x1ec0f7(0x11f))/0xb);if(_0x4c497f===_0x14dbec)break;else _0x5720ce['push'](_0x5720ce['shift']());}catch(_0xf6d95e){_0x5720ce['push'](_0x5720ce['shift']());}}}(_0x33dc,0x63b1d));function _0x33dc(){var _0x4009d8=['rxjs','MemberService','pipe','loadActiveSheet','defineProperty','get','FUniver','getUniverSheet','getOwnPropertyDescriptor','waitForRoom$','50xfVzeV','readyForCollab','_injector','20464agxjaO','FCollaboration','360YYnfiH','getCollaboration','length','_univerInstanceService','loadActiveSheetAsync','createInstance','_collaborationController','7767800Zsdvyv','toDisposable','85azvgwR','11rvOGdd','804146aENJct','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toStringTag','951777VgpISg','18462gVGsAr','Inject','extend','switchMap','@univerjs-pro/collaboration-client','SnapshotService','@univerjs/core/facade','CollaborationController','1703740vDdzmJ','_handler','_snapshotService','loadSheet','40336OEfqMR','@univerjs/core','from'];_0x33dc=function(){return _0x4009d8;};return _0x33dc();}Object[_0x2da87b(0x137)](exports,Symbol[_0x2da87b(0x122)],{'value':'Module'});const l=require(_0x2da87b(0x12a)),b=require('@univerjs-pro/collaboration'),h=require(_0x2da87b(0x128)),i=require(_0x2da87b(0x131)),v=require(_0x2da87b(0x133));var u=Object[_0x2da87b(0x13b)],S=(_0x454c50,_0x101b39,_0x81ccc5,_0x1f8722)=>{var _0x338b9b=_0x2da87b;for(var _0x115307=_0x1f8722>0x1?void 0x0:_0x1f8722?u(_0x101b39,_0x81ccc5):_0x101b39,_0x59105b=_0x454c50[_0x338b9b(0x117)]-0x1,_0x5bcea2;_0x59105b>=0x0;_0x59105b--)(_0x5bcea2=_0x454c50[_0x59105b])&&(_0x115307=_0x5bcea2(_0x115307)||_0x115307);return _0x115307;},s=(_0x4e5c25,_0x1d7ed7)=>(_0x56c5ad,_0x2e1bc2)=>_0x1d7ed7(_0x56c5ad,_0x2e1bc2,_0x4e5c25);exports[_0x2da87b(0x141)]=class extends l['FBase']{constructor(_0x531a90,_0xba688d,_0x5c71be,_0x523d92,_0x21f259){var _0x3d650b=_0x2da87b;super(),this[_0x3d650b(0x12d)]=_0x531a90,this[_0x3d650b(0x13f)]=_0xba688d,this[_0x3d650b(0x118)]=_0x5c71be,this[_0x3d650b(0x12e)]=_0x523d92,this[_0x3d650b(0x11b)]=_0x21f259;}async[_0x2da87b(0x136)](){var _0x47a537=_0x2da87b;return this[_0x47a537(0x119)]();}async['loadActiveSheetAsync'](){var _0x4817fd=_0x2da87b;throw new Error(_0x4817fd(0x121));}async['loadSheet'](_0x24b94f){return this['loadSheetAsync'](_0x24b94f);}async['loadSheetAsync'](_0x2139ff,_0x35e25d){var _0x2e2c73=_0x2da87b;return await this[_0x2e2c73(0x12e)][_0x2e2c73(0x12f)](_0x2139ff,0x0,_0x35e25d)?(await this['_collaborationController'][_0x2e2c73(0x13e)](_0x2139ff),this[_0x2e2c73(0x12d)][_0x2e2c73(0x13a)](_0x2139ff)):null;}['subscribeCollaborators'](_0x4f2a5a,_0x1563e1){var _0x58a3a9=_0x2da87b;const _0x2e43ba=this['_injector'][_0x58a3a9(0x138)](h[_0x58a3a9(0x134)])[_0x58a3a9(0x13c)](_0x4f2a5a)[_0x58a3a9(0x135)](v[_0x58a3a9(0x127)](_0xc261cf=>_0xc261cf['members$']))['subscribe'](_0x43be41=>_0x1563e1(Array[_0x58a3a9(0x132)](_0x43be41['values']())));return i[_0x58a3a9(0x11d)](_0x2e43ba);}},exports[_0x2da87b(0x141)]=S([s(0x1,i[_0x2da87b(0x125)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x2da87b(0x125)](b[_0x2da87b(0x129)])),s(0x4,i[_0x2da87b(0x125)](h[_0x2da87b(0x12b)]))],exports[_0x2da87b(0x141)]);class d extends l['FUniver']{[_0x2da87b(0x116)](){var _0x586292=_0x2da87b;return this['_injector'][_0x586292(0x11a)](exports[_0x586292(0x141)],{'getUniverSheet':_0x264f0c=>this['getUniverSheet'](_0x264f0c)});}}function _0x327f(_0x4b6a92,_0x150533){var _0x33dca9=_0x33dc();return _0x327f=function(_0x327f7c,_0x17785b){_0x327f7c=_0x327f7c-0x115;var _0x246521=_0x33dca9[_0x327f7c];return _0x246521;},_0x327f(_0x4b6a92,_0x150533);}l[_0x2da87b(0x139)][_0x2da87b(0x126)](d);