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

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 _0x40bc29=_0x53de;function _0x1b70(){var _0x9993d0=['toDisposable','@univerjs-pro/collaboration-client','Module','Inject','_univerInstanceService','get','getUniverSheet','getCollaboration','pipe','531594aVbvvm','from','56835JsBarr','IUniverInstanceService','706470hCwyCR','FUniver','loadSheet','55onEkWv','subscribe','_snapshotService','createInstance','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','2uztxlz','defineProperty','57250qRKvVZ','rxjs','@univerjs/core','loadActiveSheetAsync','getOwnPropertyDescriptor','@univerjs-pro/collaboration','80ITdmAo','loadSheetAsync','FCollaboration','_collaborationController','SnapshotService','26IhrtdX','subscribeCollaborators','@univerjs/core/facade','4757196kcMZTK','88vCeMLL','112389lBIRmz','length','_injector','_handler','extend','492191wXFZSF','CollaborationController','12mdCgMF'];_0x1b70=function(){return _0x9993d0;};return _0x1b70();}(function(_0x2bd524,_0x1dcc3e){var _0x5e1ba4=_0x53de,_0x1c1f48=_0x2bd524();while(!![]){try{var _0x5c6a05=parseInt(_0x5e1ba4(0x18c))/0x1*(-parseInt(_0x5e1ba4(0x1aa))/0x2)+parseInt(_0x5e1ba4(0x19d))/0x3+parseInt(_0x5e1ba4(0x1b2))/0x4*(-parseInt(_0x5e1ba4(0x1ac))/0x5)+parseInt(_0x5e1ba4(0x193))/0x6*(-parseInt(_0x5e1ba4(0x191))/0x7)+parseInt(_0x5e1ba4(0x18b))/0x8*(parseInt(_0x5e1ba4(0x19f))/0x9)+parseInt(_0x5e1ba4(0x1a1))/0xa*(-parseInt(_0x5e1ba4(0x1a4))/0xb)+parseInt(_0x5e1ba4(0x18a))/0xc*(parseInt(_0x5e1ba4(0x187))/0xd);if(_0x5c6a05===_0x1dcc3e)break;else _0x1c1f48['push'](_0x1c1f48['shift']());}catch(_0x6d0b4d){_0x1c1f48['push'](_0x1c1f48['shift']());}}}(_0x1b70,0x31df7));Object[_0x40bc29(0x1ab)](exports,Symbol['toStringTag'],{'value':_0x40bc29(0x196)});function _0x53de(_0x9a29a7,_0xbe6ead){var _0x1b7023=_0x1b70();return _0x53de=function(_0x53de3b,_0x3ddf1e){_0x53de3b=_0x53de3b-0x184;var _0x924c52=_0x1b7023[_0x53de3b];return _0x924c52;},_0x53de(_0x9a29a7,_0xbe6ead);}const l=require(_0x40bc29(0x189)),b=require(_0x40bc29(0x1b1)),h=require(_0x40bc29(0x195)),i=require(_0x40bc29(0x1ae)),v=require(_0x40bc29(0x1ad));var u=Object[_0x40bc29(0x1b0)],S=(_0x18f28c,_0x2c3f71,_0xb49796,_0x32189a)=>{var _0x1e8cb5=_0x40bc29;for(var _0xa65a37=_0x32189a>0x1?void 0x0:_0x32189a?u(_0x2c3f71,_0xb49796):_0x2c3f71,_0x3db33e=_0x18f28c[_0x1e8cb5(0x18d)]-0x1,_0x9489ea;_0x3db33e>=0x0;_0x3db33e--)(_0x9489ea=_0x18f28c[_0x3db33e])&&(_0xa65a37=_0x9489ea(_0xa65a37)||_0xa65a37);return _0xa65a37;},s=(_0xe3cdab,_0x463f15)=>(_0x5afd0d,_0x17be5b)=>_0x463f15(_0x5afd0d,_0x17be5b,_0xe3cdab);exports[_0x40bc29(0x184)]=class extends l['FBase']{constructor(_0x212318,_0x8694bb,_0x2cd0df,_0xc0ca35,_0x4bb040){var _0x3a2e3e=_0x40bc29;super(),this[_0x3a2e3e(0x18f)]=_0x212318,this[_0x3a2e3e(0x18e)]=_0x8694bb,this[_0x3a2e3e(0x198)]=_0x2cd0df,this[_0x3a2e3e(0x1a6)]=_0xc0ca35,this[_0x3a2e3e(0x185)]=_0x4bb040;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x40bc29(0x1af)](){var _0x31a55b=_0x40bc29;throw new Error(_0x31a55b(0x1a9));}async[_0x40bc29(0x1a3)](_0x170d1a){var _0x28dd77=_0x40bc29;return this[_0x28dd77(0x1b3)](_0x170d1a);}async[_0x40bc29(0x1b3)](_0x186323,_0x340514){var _0x34031e=_0x40bc29;return await this['_snapshotService'][_0x34031e(0x1a3)](_0x186323,0x0,_0x340514)?(await this[_0x34031e(0x185)]['readyForCollab'](_0x186323),this[_0x34031e(0x18f)][_0x34031e(0x19a)](_0x186323)):null;}[_0x40bc29(0x188)](_0x56500e,_0x3c724a){var _0x2f182a=_0x40bc29;const _0x3a47ab=this[_0x2f182a(0x18e)][_0x2f182a(0x199)](h[_0x2f182a(0x1a8)])['waitForRoom$'](_0x56500e)[_0x2f182a(0x19c)](v['switchMap'](_0x1fb0e0=>_0x1fb0e0['members$']))[_0x2f182a(0x1a5)](_0x203035=>_0x3c724a(Array[_0x2f182a(0x19e)](_0x203035['values']())));return i[_0x2f182a(0x194)](_0x3a47ab);}},exports[_0x40bc29(0x184)]=S([s(0x1,i[_0x40bc29(0x197)](i['Injector'])),s(0x2,i[_0x40bc29(0x1a0)]),s(0x3,i[_0x40bc29(0x197)](b[_0x40bc29(0x186)])),s(0x4,i[_0x40bc29(0x197)](h[_0x40bc29(0x192)]))],exports[_0x40bc29(0x184)]);class d extends l[_0x40bc29(0x1a2)]{[_0x40bc29(0x19b)](){var _0x400a74=_0x40bc29;return this[_0x400a74(0x18e)][_0x400a74(0x1a7)](exports[_0x400a74(0x184)],{'getUniverSheet':_0x3f2834=>this['getUniverSheet'](_0x3f2834)});}}l[_0x40bc29(0x1a2)][_0x40bc29(0x190)](d);