@univerjs-pro/collaboration-client 0.5.3-nightly.202501060906 → 0.5.3-nightly.202501070959

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 _0x53b937=_0x8c57;(function(_0x2fd416,_0x43e97e){var _0x39f887=_0x8c57,_0x2f83de=_0x2fd416();while(!![]){try{var _0x1e7a7f=parseInt(_0x39f887(0x184))/0x1+-parseInt(_0x39f887(0x16c))/0x2*(parseInt(_0x39f887(0x17d))/0x3)+parseInt(_0x39f887(0x189))/0x4*(parseInt(_0x39f887(0x17a))/0x5)+parseInt(_0x39f887(0x173))/0x6*(-parseInt(_0x39f887(0x187))/0x7)+parseInt(_0x39f887(0x16d))/0x8*(-parseInt(_0x39f887(0x185))/0x9)+-parseInt(_0x39f887(0x18a))/0xa+parseInt(_0x39f887(0x188))/0xb;if(_0x1e7a7f===_0x43e97e)break;else _0x2f83de['push'](_0x2f83de['shift']());}catch(_0x15a701){_0x2f83de['push'](_0x2f83de['shift']());}}}(_0x3f86,0xde4bd));Object['defineProperty'](exports,Symbol[_0x53b937(0x179)],{'value':_0x53b937(0x175)});const t=require(_0x53b937(0x17f)),b=require(_0x53b937(0x193)),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');function _0x8c57(_0x5d2862,_0x190e8b){var _0x3f867c=_0x3f86();return _0x8c57=function(_0x8c57b9,_0x276cdb){_0x8c57b9=_0x8c57b9-0x16c;var _0x547891=_0x3f867c[_0x8c57b9];return _0x547891;},_0x8c57(_0x5d2862,_0x190e8b);}var h=Object[_0x53b937(0x192)],u=Object[_0x53b937(0x182)],_=(_0x5eb7d2,_0xfda5eb,_0x29ddad,_0x3c4b36)=>{var _0x4bd578=_0x53b937;for(var _0x526135=_0x3c4b36>0x1?void 0x0:_0x3c4b36?u(_0xfda5eb,_0x29ddad):_0xfda5eb,_0x4bc1dd=_0x5eb7d2[_0x4bd578(0x177)]-0x1,_0xd78543;_0x4bc1dd>=0x0;_0x4bc1dd--)(_0xd78543=_0x5eb7d2[_0x4bc1dd])&&(_0x526135=(_0x3c4b36?_0xd78543(_0xfda5eb,_0x29ddad,_0x526135):_0xd78543(_0x526135))||_0x526135);return _0x3c4b36&&_0x526135&&h(_0xfda5eb,_0x29ddad,_0x526135),_0x526135;},s=(_0xd97a47,_0xaa2e80)=>(_0x3e89e6,_0x38e1bc)=>_0xaa2e80(_0x3e89e6,_0x38e1bc,_0xd97a47);exports['FCollaboration']=class extends t['FBase']{constructor(_0x97df2c,_0xe897e5,_0x12e1e,_0x526c3f,_0x129ef9){var _0x3eb854=_0x53b937;super(),this[_0x3eb854(0x190)]=_0x97df2c,this[_0x3eb854(0x180)]=_0xe897e5,this[_0x3eb854(0x18d)]=_0x12e1e,this[_0x3eb854(0x16e)]=_0x526c3f,this[_0x3eb854(0x181)]=_0x129ef9;}async['loadActiveSheet'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x53b937(0x171)](_0x2478cc){var _0x98f298=_0x53b937;return this[_0x98f298(0x18d)]['getUnit'](_0x2478cc,t['UniverInstanceType'][_0x98f298(0x176)])||await this[_0x98f298(0x16e)][_0x98f298(0x171)](_0x2478cc,0x0)?(await this[_0x98f298(0x181)][_0x98f298(0x17c)](_0x2478cc),this['_handler'][_0x98f298(0x178)](_0x2478cc)):null;}[_0x53b937(0x194)](_0xbdd55,_0x4d0eec){var _0xdd2831=_0x53b937;const _0x10f7e0=this[_0xdd2831(0x180)][_0xdd2831(0x170)](c[_0xdd2831(0x196)])[_0xdd2831(0x174)](_0xbdd55)['pipe'](v[_0xdd2831(0x18c)](_0x169d8d=>_0x169d8d['members$']))[_0xdd2831(0x186)](_0x45927b=>_0x4d0eec(Array[_0xdd2831(0x17e)](_0x45927b['values']())));return t[_0xdd2831(0x183)](_0x10f7e0);}},exports[_0x53b937(0x18b)]=_([s(0x1,t[_0x53b937(0x195)](t[_0x53b937(0x18f)])),s(0x2,t['IUniverInstanceService']),s(0x3,t['Inject'](b[_0x53b937(0x16f)])),s(0x4,t[_0x53b937(0x195)](c[_0x53b937(0x191)]))],exports['FCollaboration']);class S extends t[_0x53b937(0x17b)]{[_0x53b937(0x172)](){var _0x10e770=_0x53b937;return this[_0x10e770(0x180)]['createInstance'](exports[_0x10e770(0x18b)],{'getUniverSheet':_0x504fc5=>this[_0x10e770(0x178)](_0x504fc5)});}}t[_0x53b937(0x17b)][_0x53b937(0x18e)](S);function _0x3f86(){var _0x3dda2f=['3429147bHdCjv','from','@univerjs/core','_injector','_collaborationController','getOwnPropertyDescriptor','toDisposable','1762236QXzglJ','6803361MOiTnu','subscribe','1141MyCLzZ','20598193awmjXb','4195104jtYHNZ','1197680DqojjL','FCollaboration','switchMap','_univerInstanceService','extend','Injector','_handler','CollaborationController','defineProperty','@univerjs-pro/collaboration','subscribeCollaborators','Inject','MemberService','2Mbwlbx','16IxbfZw','_snapshotService','SnapshotService','get','loadSheet','getCollaboration','36750wvzdCq','waitForRoom$','Module','UNIVER_SHEET','length','getUniverSheet','toStringTag','5JgCGeY','FUniver','readyForCollab'];_0x3f86=function(){return _0x3dda2f;};return _0x3f86();}
1
+ 'use strict';var _0x347b7c=_0x4476;(function(_0x409dc4,_0x29fc60){var _0x447825=_0x4476,_0x1d686c=_0x409dc4();while(!![]){try{var _0x1a0973=-parseInt(_0x447825(0x141))/0x1+-parseInt(_0x447825(0x117))/0x2+parseInt(_0x447825(0x132))/0x3*(-parseInt(_0x447825(0x137))/0x4)+-parseInt(_0x447825(0x13f))/0x5+parseInt(_0x447825(0x11c))/0x6+-parseInt(_0x447825(0x145))/0x7*(-parseInt(_0x447825(0x138))/0x8)+parseInt(_0x447825(0x12c))/0x9*(parseInt(_0x447825(0x128))/0xa);if(_0x1a0973===_0x29fc60)break;else _0x1d686c['push'](_0x1d686c['shift']());}catch(_0x254056){_0x1d686c['push'](_0x1d686c['shift']());}}}(_0x20eb,0x805fc));function _0x20eb(){var _0x32fa0e=['_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','40xhtquv','loadSheet','getUniverSheet','@univerjs-pro/collaboration','5793804PeQLeJ','pipe','_univerInstanceService','defineProperty','subscribe','FCollaboration','954kTmvMM','CollaborationController','loadActiveSheet','values','get','10176gtOGdv','23224WdElAA','extend','FUniver','waitForRoom$','_snapshotService','Inject','SnapshotService','4726570dlSmZl','_collaborationController','825723bjhpwP','_handler','UniverInstanceType','IUniverInstanceService','455tXDIJC','subscribeCollaborators','from','866628mMcXYh','@univerjs/core','getCollaboration','rxjs','toDisposable','4652664hVZFoK','readyForCollab','switchMap','FBase','createInstance','Module','members$','MemberService','getUnit','getOwnPropertyDescriptor'];_0x20eb=function(){return _0x32fa0e;};return _0x20eb();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x347b7c(0x121)});const t=require(_0x347b7c(0x118)),b=require(_0x347b7c(0x12b)),c=require('@univerjs-pro/collaboration-client'),v=require(_0x347b7c(0x11a));var h=Object[_0x347b7c(0x12f)],u=Object[_0x347b7c(0x125)],_=(_0x4cccc6,_0x18fcb8,_0x4ad398,_0x220c05)=>{for(var _0x54b0da=_0x220c05>0x1?void 0x0:_0x220c05?u(_0x18fcb8,_0x4ad398):_0x18fcb8,_0x5dbda6=_0x4cccc6['length']-0x1,_0x4396a0;_0x5dbda6>=0x0;_0x5dbda6--)(_0x4396a0=_0x4cccc6[_0x5dbda6])&&(_0x54b0da=(_0x220c05?_0x4396a0(_0x18fcb8,_0x4ad398,_0x54b0da):_0x4396a0(_0x54b0da))||_0x54b0da);return _0x220c05&&_0x54b0da&&h(_0x18fcb8,_0x4ad398,_0x54b0da),_0x54b0da;},s=(_0x474905,_0x3f5c4d)=>(_0x485aec,_0x8096c3)=>_0x3f5c4d(_0x485aec,_0x8096c3,_0x474905);function _0x4476(_0x5740d5,_0x5539ba){var _0x20ebd7=_0x20eb();return _0x4476=function(_0x447636,_0x3e7713){_0x447636=_0x447636-0x116;var _0x187c69=_0x20ebd7[_0x447636];return _0x187c69;},_0x4476(_0x5740d5,_0x5539ba);}exports[_0x347b7c(0x131)]=class extends t[_0x347b7c(0x11f)]{constructor(_0x10c329,_0x5815bf,_0x2a373b,_0x3c9a34,_0x1a46fb){var _0x28ac0a=_0x347b7c;super(),this[_0x28ac0a(0x142)]=_0x10c329,this['_injector']=_0x5815bf,this[_0x28ac0a(0x12e)]=_0x2a373b,this[_0x28ac0a(0x13c)]=_0x3c9a34,this[_0x28ac0a(0x140)]=_0x1a46fb;}async[_0x347b7c(0x134)](){var _0x29f5ac=_0x347b7c;throw new Error(_0x29f5ac(0x127));}async[_0x347b7c(0x129)](_0x545328){var _0x56c1a6=_0x347b7c;return this['_univerInstanceService'][_0x56c1a6(0x124)](_0x545328,t[_0x56c1a6(0x143)]['UNIVER_SHEET'])||await this[_0x56c1a6(0x13c)]['loadSheet'](_0x545328,0x0)?(await this[_0x56c1a6(0x140)][_0x56c1a6(0x11d)](_0x545328),this[_0x56c1a6(0x142)]['getUniverSheet'](_0x545328)):null;}[_0x347b7c(0x146)](_0xfa6394,_0x1f3145){var _0x180be8=_0x347b7c;const _0x5b9172=this[_0x180be8(0x126)][_0x180be8(0x136)](c[_0x180be8(0x123)])[_0x180be8(0x13b)](_0xfa6394)[_0x180be8(0x12d)](v[_0x180be8(0x11e)](_0x529260=>_0x529260[_0x180be8(0x122)]))[_0x180be8(0x130)](_0x364750=>_0x1f3145(Array[_0x180be8(0x116)](_0x364750[_0x180be8(0x135)]())));return t[_0x180be8(0x11b)](_0x5b9172);}},exports[_0x347b7c(0x131)]=_([s(0x1,t['Inject'](t['Injector'])),s(0x2,t[_0x347b7c(0x144)]),s(0x3,t[_0x347b7c(0x13d)](b[_0x347b7c(0x13e)])),s(0x4,t[_0x347b7c(0x13d)](c[_0x347b7c(0x133)]))],exports[_0x347b7c(0x131)]);class S extends t[_0x347b7c(0x13a)]{[_0x347b7c(0x119)](){var _0x218d9c=_0x347b7c;return this['_injector'][_0x218d9c(0x120)](exports[_0x218d9c(0x131)],{'getUniverSheet':_0x4c15dc=>this[_0x218d9c(0x12a)](_0x4c15dc)});}}t['FUniver'][_0x347b7c(0x139)](S);