@univerjs-pro/collaboration-client 0.5.2 → 0.5.3-nightly.202501051605

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 _0x218f(){var _0x5d9ed7=['FCollaboration','switchMap','MemberService','1519OnKOHm','FBase','loadSheet','462tnNoUm','7vsaqSE','_injector','defineProperty','1384434CmDdnO','rxjs','UNIVER_SHEET','Injector','waitForRoom$','@univerjs-pro/collaboration-client','values','1780568zKXSzV','getUniverSheet','subscribeCollaborators','subscribe','getUnit','FUniver','Module','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','16136593VMZvSU','1065258zHVmbK','@univerjs/core','pipe','_handler','6715600elVIae','_univerInstanceService','5yUilZh','SnapshotService','3qlwleM','IUniverInstanceService','members$','Inject','length','UniverInstanceType','12SzaQOb','@univerjs-pro/collaboration','extend','getCollaboration','_collaborationController','730288ubAWpm','get'];_0x218f=function(){return _0x5d9ed7;};return _0x218f();}var _0x53fc11=_0x5a37;(function(_0x61f8b6,_0x56e2fb){var _0x595ee5=_0x5a37,_0x2212a0=_0x61f8b6();while(!![]){try{var _0x25f528=parseInt(_0x595ee5(0xea))/0x1*(-parseInt(_0x595ee5(0xed))/0x2)+-parseInt(_0x595ee5(0xda))/0x3*(-parseInt(_0x595ee5(0xe5))/0x4)+-parseInt(_0x595ee5(0x107))/0x5*(parseInt(_0x595ee5(0xf1))/0x6)+-parseInt(_0x595ee5(0xee))/0x7*(-parseInt(_0x595ee5(0xf8))/0x8)+-parseInt(_0x595ee5(0x101))/0x9+-parseInt(_0x595ee5(0x105))/0xa+parseInt(_0x595ee5(0x100))/0xb*(parseInt(_0x595ee5(0xe0))/0xc);if(_0x25f528===_0x56e2fb)break;else _0x2212a0['push'](_0x2212a0['shift']());}catch(_0x5128eb){_0x2212a0['push'](_0x2212a0['shift']());}}}(_0x218f,0x7a34c));Object[_0x53fc11(0xf0)](exports,Symbol['toStringTag'],{'value':_0x53fc11(0xfe)});const t=require(_0x53fc11(0x102)),b=require(_0x53fc11(0xe1)),c=require(_0x53fc11(0xf6)),v=require(_0x53fc11(0xf2));function _0x5a37(_0x35df16,_0x2394b6){var _0x218f2d=_0x218f();return _0x5a37=function(_0x5a37b8,_0x3e12f4){_0x5a37b8=_0x5a37b8-0xd9;var _0x39a597=_0x218f2d[_0x5a37b8];return _0x39a597;},_0x5a37(_0x35df16,_0x2394b6);}var h=Object[_0x53fc11(0xf0)],u=Object['getOwnPropertyDescriptor'],_=(_0x2e9b3d,_0xf17c1f,_0x1a0f70,_0x441d8b)=>{var _0x4100d6=_0x53fc11;for(var _0xffc980=_0x441d8b>0x1?void 0x0:_0x441d8b?u(_0xf17c1f,_0x1a0f70):_0xf17c1f,_0x572f79=_0x2e9b3d[_0x4100d6(0xde)]-0x1,_0x5a7a8e;_0x572f79>=0x0;_0x572f79--)(_0x5a7a8e=_0x2e9b3d[_0x572f79])&&(_0xffc980=(_0x441d8b?_0x5a7a8e(_0xf17c1f,_0x1a0f70,_0xffc980):_0x5a7a8e(_0xffc980))||_0xffc980);return _0x441d8b&&_0xffc980&&h(_0xf17c1f,_0x1a0f70,_0xffc980),_0xffc980;},s=(_0xc7576e,_0x4e8dc8)=>(_0x4e644f,_0x286085)=>_0x4e8dc8(_0x4e644f,_0x286085,_0xc7576e);exports[_0x53fc11(0xe7)]=class extends t[_0x53fc11(0xeb)]{constructor(_0x37c287,_0x112872,_0x730564,_0x17203f,_0x129d6e){var _0x395068=_0x53fc11;super(),this[_0x395068(0x104)]=_0x37c287,this[_0x395068(0xef)]=_0x112872,this[_0x395068(0x106)]=_0x730564,this['_snapshotService']=_0x17203f,this[_0x395068(0xe4)]=_0x129d6e;}async['loadActiveSheet'](){var _0x5447c0=_0x53fc11;throw new Error(_0x5447c0(0xff));}async['loadSheet'](_0x1cf17b){var _0x5cb969=_0x53fc11;return this[_0x5cb969(0x106)][_0x5cb969(0xfc)](_0x1cf17b,t[_0x5cb969(0xdf)][_0x5cb969(0xf3)])||await this['_snapshotService'][_0x5cb969(0xec)](_0x1cf17b,0x0)?(await this[_0x5cb969(0xe4)]['readyForCollab'](_0x1cf17b),this[_0x5cb969(0x104)]['getUniverSheet'](_0x1cf17b)):null;}[_0x53fc11(0xfa)](_0x39d457,_0x3ece92){var _0x433e55=_0x53fc11;const _0x1ae99f=this[_0x433e55(0xef)][_0x433e55(0xe6)](c[_0x433e55(0xe9)])[_0x433e55(0xf5)](_0x39d457)[_0x433e55(0x103)](v[_0x433e55(0xe8)](_0x3242f0=>_0x3242f0[_0x433e55(0xdc)]))[_0x433e55(0xfb)](_0x5798da=>_0x3ece92(Array['from'](_0x5798da[_0x433e55(0xf7)]())));return t['toDisposable'](_0x1ae99f);}},exports[_0x53fc11(0xe7)]=_([s(0x1,t['Inject'](t[_0x53fc11(0xf4)])),s(0x2,t[_0x53fc11(0xdb)]),s(0x3,t[_0x53fc11(0xdd)](b[_0x53fc11(0xd9)])),s(0x4,t[_0x53fc11(0xdd)](c['CollaborationController']))],exports[_0x53fc11(0xe7)]);class S extends t['FUniver']{[_0x53fc11(0xe3)](){var _0x2c8ffc=_0x53fc11;return this['_injector']['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x45fb63=>this[_0x2c8ffc(0xf9)](_0x45fb63)});}}t[_0x53fc11(0xfd)][_0x53fc11(0xe2)](S);
1
+ 'use strict';var _0x2c134e=_0x5a47;(function(_0x4f92f5,_0x2ee308){var _0x213ff6=_0x5a47,_0xfc7e89=_0x4f92f5();while(!![]){try{var _0x4866bc=parseInt(_0x213ff6(0x188))/0x1+parseInt(_0x213ff6(0x187))/0x2+-parseInt(_0x213ff6(0x169))/0x3*(-parseInt(_0x213ff6(0x180))/0x4)+-parseInt(_0x213ff6(0x161))/0x5+-parseInt(_0x213ff6(0x17e))/0x6+parseInt(_0x213ff6(0x183))/0x7+-parseInt(_0x213ff6(0x181))/0x8;if(_0x4866bc===_0x2ee308)break;else _0xfc7e89['push'](_0xfc7e89['shift']());}catch(_0x2a34f3){_0xfc7e89['push'](_0xfc7e89['shift']());}}}(_0x5196,0x80678));Object[_0x2c134e(0x163)](exports,Symbol[_0x2c134e(0x167)],{'value':_0x2c134e(0x16c)});const t=require(_0x2c134e(0x176)),b=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');var h=Object[_0x2c134e(0x163)],u=Object[_0x2c134e(0x15f)],_=(_0x3323cb,_0x488476,_0x3754af,_0x374fec)=>{var _0x373650=_0x2c134e;for(var _0x3469d4=_0x374fec>0x1?void 0x0:_0x374fec?u(_0x488476,_0x3754af):_0x488476,_0x343b05=_0x3323cb[_0x373650(0x172)]-0x1,_0x25eb6c;_0x343b05>=0x0;_0x343b05--)(_0x25eb6c=_0x3323cb[_0x343b05])&&(_0x3469d4=(_0x374fec?_0x25eb6c(_0x488476,_0x3754af,_0x3469d4):_0x25eb6c(_0x3469d4))||_0x3469d4);return _0x374fec&&_0x3469d4&&h(_0x488476,_0x3754af,_0x3469d4),_0x3469d4;},s=(_0x2ffea4,_0x395004)=>(_0x592a07,_0x24eec3)=>_0x395004(_0x592a07,_0x24eec3,_0x2ffea4);exports[_0x2c134e(0x16f)]=class extends t[_0x2c134e(0x16a)]{constructor(_0x1b2933,_0x3c2936,_0x280a1a,_0x17da4a,_0x296068){var _0x3d13e6=_0x2c134e;super(),this[_0x3d13e6(0x179)]=_0x1b2933,this[_0x3d13e6(0x17a)]=_0x3c2936,this[_0x3d13e6(0x162)]=_0x280a1a,this[_0x3d13e6(0x17c)]=_0x17da4a,this['_collaborationController']=_0x296068;}async[_0x2c134e(0x182)](){var _0x2b3eee=_0x2c134e;throw new Error(_0x2b3eee(0x16e));}async[_0x2c134e(0x185)](_0x1a89f1){var _0x30e7aa=_0x2c134e;return this[_0x30e7aa(0x162)][_0x30e7aa(0x184)](_0x1a89f1,t[_0x30e7aa(0x17f)][_0x30e7aa(0x178)])||await this[_0x30e7aa(0x17c)][_0x30e7aa(0x185)](_0x1a89f1,0x0)?(await this[_0x30e7aa(0x17d)][_0x30e7aa(0x16b)](_0x1a89f1),this[_0x30e7aa(0x179)]['getUniverSheet'](_0x1a89f1)):null;}[_0x2c134e(0x186)](_0x35e71a,_0xe6bffe){var _0x3b8877=_0x2c134e;const _0x2e1306=this['_injector']['get'](c[_0x3b8877(0x177)])[_0x3b8877(0x175)](_0x35e71a)['pipe'](v[_0x3b8877(0x174)](_0x475bc4=>_0x475bc4[_0x3b8877(0x160)]))[_0x3b8877(0x170)](_0x24af65=>_0xe6bffe(Array[_0x3b8877(0x168)](_0x24af65['values']())));return t[_0x3b8877(0x17b)](_0x2e1306);}},exports[_0x2c134e(0x16f)]=_([s(0x1,t[_0x2c134e(0x16d)](t['Injector'])),s(0x2,t[_0x2c134e(0x164)]),s(0x3,t['Inject'](b[_0x2c134e(0x166)])),s(0x4,t[_0x2c134e(0x16d)](c[_0x2c134e(0x173)]))],exports[_0x2c134e(0x16f)]);function _0x5a47(_0x4a8ee9,_0x276c1d){var _0x51962f=_0x5196();return _0x5a47=function(_0x5a4786,_0x4b1866){_0x5a4786=_0x5a4786-0x15f;var _0x28bd5f=_0x51962f[_0x5a4786];return _0x28bd5f;},_0x5a47(_0x4a8ee9,_0x276c1d);}class S extends t[_0x2c134e(0x171)]{['getCollaboration'](){var _0x427827=_0x2c134e;return this[_0x427827(0x17a)][_0x427827(0x165)](exports[_0x427827(0x16f)],{'getUniverSheet':_0x2e774c=>this['getUniverSheet'](_0x2e774c)});}}t[_0x2c134e(0x171)]['extend'](S);function _0x5196(){var _0x1f49ee=['toDisposable','_snapshotService','_collaborationController','113466bjGudh','UniverInstanceType','917804IInxlD','2314368bhPEhj','loadActiveSheet','3613953hvIpaW','getUnit','loadSheet','subscribeCollaborators','227380SydKKL','98898equkDL','getOwnPropertyDescriptor','members$','1768090yvoOdU','_univerInstanceService','defineProperty','IUniverInstanceService','createInstance','SnapshotService','toStringTag','from','6pBqQpg','FBase','readyForCollab','Module','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration','subscribe','FUniver','length','CollaborationController','switchMap','waitForRoom$','@univerjs/core','MemberService','UNIVER_SHEET','_handler','_injector'];_0x5196=function(){return _0x1f49ee;};return _0x5196();}