@univerjs-pro/collaboration-client 0.6.0-nightly.202502151605 → 0.6.0

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 _0x30b8(){var _0x21055c=['switchMap','extend','3740WtXQVr','subscribeCollaborators','get','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration','IUniverInstanceService','SnapshotService','loadActiveSheetAsync','637615aSmhkF','readyForCollab','_handler','loadSheetAsync','FBase','createInstance','Module','_snapshotService','defineProperty','Inject','443056fzqVEJ','getOwnPropertyDescriptor','64507vzCCsB','length','rxjs','values','from','MemberService','372oQlxjB','7047TGYnwb','2634Adimbq','_collaborationController','@univerjs/core','toStringTag','getUniverSheet','354qWUORX','@univerjs/core/facade','subscribe','waitForRoom$','5KzZcHs','50064UkEzjl','pipe','_injector','5286364GNENsk','FUniver','98pANbUd','loadActiveSheet','@univerjs-pro/collaboration-client'];_0x30b8=function(){return _0x21055c;};return _0x30b8();}function _0x2048(_0x3d6f4e,_0x143610){var _0x30b86e=_0x30b8();return _0x2048=function(_0x2048e8,_0x4495ca){_0x2048e8=_0x2048e8-0x6d;var _0x32cc3a=_0x30b86e[_0x2048e8];return _0x32cc3a;},_0x2048(_0x3d6f4e,_0x143610);}var _0x6b008c=_0x2048;(function(_0x1ee3af,_0xa41d1e){var _0x52ddc=_0x2048,_0x24bb1d=_0x1ee3af();while(!![]){try{var _0x571512=-parseInt(_0x52ddc(0x73))/0x1+-parseInt(_0x52ddc(0x80))/0x2*(-parseInt(_0x52ddc(0x7b))/0x3)+parseInt(_0x52ddc(0x88))/0x4+parseInt(_0x52ddc(0x84))/0x5*(parseInt(_0x52ddc(0x85))/0x6)+parseInt(_0x52ddc(0x8a))/0x7*(parseInt(_0x52ddc(0x71))/0x8)+parseInt(_0x52ddc(0x7a))/0x9*(parseInt(_0x52ddc(0x8f))/0xa)+-parseInt(_0x52ddc(0x98))/0xb*(parseInt(_0x52ddc(0x79))/0xc);if(_0x571512===_0xa41d1e)break;else _0x24bb1d['push'](_0x24bb1d['shift']());}catch(_0x31a0d1){_0x24bb1d['push'](_0x24bb1d['shift']());}}}(_0x30b8,0xa8f8d));Object[_0x6b008c(0x6f)](exports,Symbol[_0x6b008c(0x7e)],{'value':_0x6b008c(0x6d)});const c=require(_0x6b008c(0x81)),b=require('@univerjs-pro/collaboration'),h=require(_0x6b008c(0x8c)),i=require(_0x6b008c(0x7d)),v=require(_0x6b008c(0x75));var u=Object[_0x6b008c(0x6f)],S=Object[_0x6b008c(0x72)],_=(_0x384a5a,_0x377c1f,_0x2a48e6,_0x3f6c9d)=>{var _0x13b1ad=_0x6b008c;for(var _0x773441=_0x3f6c9d>0x1?void 0x0:_0x3f6c9d?S(_0x377c1f,_0x2a48e6):_0x377c1f,_0x56fda0=_0x384a5a[_0x13b1ad(0x74)]-0x1,_0x498f57;_0x56fda0>=0x0;_0x56fda0--)(_0x498f57=_0x384a5a[_0x56fda0])&&(_0x773441=(_0x3f6c9d?_0x498f57(_0x377c1f,_0x2a48e6,_0x773441):_0x498f57(_0x773441))||_0x773441);return _0x3f6c9d&&_0x773441&&u(_0x377c1f,_0x2a48e6,_0x773441),_0x773441;},s=(_0x42d3a2,_0x15f839)=>(_0x1c9875,_0x3f90d8)=>_0x15f839(_0x1c9875,_0x3f90d8,_0x42d3a2);exports[_0x6b008c(0x94)]=class extends c[_0x6b008c(0x9c)]{constructor(_0x392589,_0x586e53,_0x589d58,_0x17395b,_0x1a2082){var _0x550860=_0x6b008c;super(),this[_0x550860(0x9a)]=_0x392589,this[_0x550860(0x87)]=_0x586e53,this['_univerInstanceService']=_0x589d58,this[_0x550860(0x6e)]=_0x17395b,this[_0x550860(0x7c)]=_0x1a2082;}async[_0x6b008c(0x8b)](){var _0x53001f=_0x6b008c;return this[_0x53001f(0x97)]();}async[_0x6b008c(0x97)](){var _0x1df3b3=_0x6b008c;throw new Error(_0x1df3b3(0x93));}async['loadSheet'](_0x2d5514){var _0x191228=_0x6b008c;return this[_0x191228(0x9b)](_0x2d5514);}async[_0x6b008c(0x9b)](_0x57c90e,_0x2a3b29){var _0x161e80=_0x6b008c;return await this[_0x161e80(0x6e)]['loadSheet'](_0x57c90e,0x0,_0x2a3b29)?(await this[_0x161e80(0x7c)][_0x161e80(0x99)](_0x57c90e),this[_0x161e80(0x9a)][_0x161e80(0x7f)](_0x57c90e)):null;}[_0x6b008c(0x90)](_0x4c455a,_0x1a7f1c){var _0xc5df25=_0x6b008c;const _0x426638=this[_0xc5df25(0x87)][_0xc5df25(0x91)](h[_0xc5df25(0x78)])[_0xc5df25(0x83)](_0x4c455a)[_0xc5df25(0x86)](v[_0xc5df25(0x8d)](_0x263a1e=>_0x263a1e['members$']))[_0xc5df25(0x82)](_0x2e0722=>_0x1a7f1c(Array[_0xc5df25(0x77)](_0x2e0722[_0xc5df25(0x76)]())));return i[_0xc5df25(0x92)](_0x426638);}},exports[_0x6b008c(0x94)]=_([s(0x1,i[_0x6b008c(0x70)](i['Injector'])),s(0x2,i[_0x6b008c(0x95)]),s(0x3,i[_0x6b008c(0x70)](b[_0x6b008c(0x96)])),s(0x4,i[_0x6b008c(0x70)](h['CollaborationController']))],exports['FCollaboration']);class d extends c['FUniver']{['getCollaboration'](){var _0x35938b=_0x6b008c;return this[_0x35938b(0x87)][_0x35938b(0x9d)](exports[_0x35938b(0x94)],{'getUniverSheet':_0x141844=>this['getUniverSheet'](_0x141844)});}}c[_0x6b008c(0x89)][_0x6b008c(0x8e)](d);
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);