@univerjs-pro/collaboration-client 0.8.0-nightly.202505261607 → 0.8.0-nightly.202505281606

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 _0x33a2f4=_0x53a2;(function(_0xf35b1c,_0x4d2bd0){var _0x2d5e92=_0x53a2,_0x4bc023=_0xf35b1c();while(!![]){try{var _0xac0c36=-parseInt(_0x2d5e92(0x1ca))/0x1+-parseInt(_0x2d5e92(0x1ef))/0x2*(parseInt(_0x2d5e92(0x1e4))/0x3)+-parseInt(_0x2d5e92(0x1f3))/0x4+-parseInt(_0x2d5e92(0x1d5))/0x5+-parseInt(_0x2d5e92(0x1e9))/0x6+-parseInt(_0x2d5e92(0x1de))/0x7+parseInt(_0x2d5e92(0x1ee))/0x8*(parseInt(_0x2d5e92(0x1f7))/0x9);if(_0xac0c36===_0x4d2bd0)break;else _0x4bc023['push'](_0x4bc023['shift']());}catch(_0x2df8de){_0x4bc023['push'](_0x4bc023['shift']());}}}(_0x4ac8,0xb98fb));function _0x4ac8(){var _0x534a69=['FUniver','531610LYeuSW','length','loadSheetAsync','@univerjs/core/facade','_snapshotService','subscribe','_handler','FCollaboration','_injector','8055600EcGPik','_univerInstanceService','values','@univerjs/core','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','114573Thkdpb','switchMap','subscribeCollaborators','loadServerUnit','SnapshotService','3245742MvRPVn','defineProperty','members$','getCollaboration','CollaborationController','41451976cDFXaH','78UNeqNY','DataLoaderService','loadUnit','MemberService','2127856nSVOBa','loadActiveSheetAsync','loadSheet','Injector','9LBrOZP','601946iMsAZW','Module','@univerjs-pro/collaboration','Inject','getUniverSheet','loadUnitOfRevision','@univerjs-pro/collaboration-client','_collaborationController','get','getOwnPropertyDescriptor'];_0x4ac8=function(){return _0x534a69;};return _0x4ac8();}function _0x53a2(_0x3301c9,_0x222d16){var _0x4ac8a6=_0x4ac8();return _0x53a2=function(_0x53a250,_0x4a1e0d){_0x53a250=_0x53a250-0x1ca;var _0x60ecfd=_0x4ac8a6[_0x53a250];return _0x60ecfd;},_0x53a2(_0x3301c9,_0x222d16);}Object[_0x33a2f4(0x1ea)](exports,Symbol['toStringTag'],{'value':_0x33a2f4(0x1cb)});const c=require(_0x33a2f4(0x1d0)),l=require(_0x33a2f4(0x1d8)),h=require(_0x33a2f4(0x1cc)),n=require(_0x33a2f4(0x1e1)),b=require('rxjs');var d=Object[_0x33a2f4(0x1d3)],S=(_0x1fc184,_0x577c59,_0x1cddef,_0x4b874f)=>{var _0x314868=_0x33a2f4;for(var _0x51b5e6=_0x4b874f>0x1?void 0x0:_0x4b874f?d(_0x577c59,_0x1cddef):_0x577c59,_0x1b1654=_0x1fc184[_0x314868(0x1d6)]-0x1,_0x16d338;_0x1b1654>=0x0;_0x1b1654--)(_0x16d338=_0x1fc184[_0x1b1654])&&(_0x51b5e6=_0x16d338(_0x51b5e6)||_0x51b5e6);return _0x51b5e6;},s=(_0x2edb75,_0xef834b)=>(_0x2a0bc2,_0x527dac)=>_0xef834b(_0x2a0bc2,_0x527dac,_0x2edb75);exports['FCollaboration']=class extends l['FBase']{constructor(_0x55a1e0,_0x5bb355,_0x31d2c9,_0x93a2a3,_0x46b94b){var _0x545fc3=_0x33a2f4;super(),this[_0x545fc3(0x1db)]=_0x55a1e0,this[_0x545fc3(0x1dd)]=_0x5bb355,this[_0x545fc3(0x1df)]=_0x31d2c9,this[_0x545fc3(0x1d9)]=_0x93a2a3,this[_0x545fc3(0x1d1)]=_0x46b94b;}async['loadActiveSheet'](){var _0x1451be=_0x33a2f4;return this[_0x1451be(0x1f4)]();}async[_0x33a2f4(0x1f4)](){var _0x2c9771=_0x33a2f4;throw new Error(_0x2c9771(0x1e2));}async[_0x33a2f4(0x1f5)](_0x2e06ad){var _0x426c52=_0x33a2f4;return this[_0x426c52(0x1d7)](_0x2e06ad);}async['loadSheetAsync'](_0x4ea1d1,_0x4f9247){var _0x18dac7=_0x33a2f4;return await this[_0x18dac7(0x1d9)][_0x18dac7(0x1f5)](_0x4ea1d1,0x0,_0x4f9247)?(await this[_0x18dac7(0x1d1)]['readyForCollab'](_0x4ea1d1),this[_0x18dac7(0x1db)][_0x18dac7(0x1ce)](_0x4ea1d1)):null;}[_0x33a2f4(0x1e6)](_0x18026c,_0x1a4848){var _0x5e83d8=_0x33a2f4;const _0x5cf566=this[_0x5e83d8(0x1dd)]['get'](c[_0x5e83d8(0x1f2)])['waitForRoom$'](_0x18026c)['pipe'](b[_0x5e83d8(0x1e5)](_0x5a5d85=>_0x5a5d85[_0x5e83d8(0x1eb)]))[_0x5e83d8(0x1da)](_0x42ac70=>_0x1a4848(Array['from'](_0x42ac70[_0x5e83d8(0x1e0)]())));return n['toDisposable'](_0x5cf566);}},exports[_0x33a2f4(0x1dc)]=S([s(0x1,n[_0x33a2f4(0x1cd)](n[_0x33a2f4(0x1f6)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x33a2f4(0x1cd)](h[_0x33a2f4(0x1e8)])),s(0x4,n[_0x33a2f4(0x1cd)](c[_0x33a2f4(0x1ed)]))],exports[_0x33a2f4(0x1dc)]);class u extends l[_0x33a2f4(0x1d4)]{[_0x33a2f4(0x1ec)](){var _0x5ce19f=_0x33a2f4;return this['_injector']['createInstance'](exports[_0x5ce19f(0x1dc)],{'getUniverSheet':_0x16dcc3=>this['getUniverSheet'](_0x16dcc3)});}[_0x33a2f4(0x1e7)](_0x1cd131,_0x3f12e7,_0x41da3d){var _0x26388e=_0x33a2f4;return this[_0x26388e(0x1dd)][_0x26388e(0x1d2)](c[_0x26388e(0x1f0)])[_0x26388e(0x1f1)](_0x1cd131,_0x3f12e7,_0x41da3d);}['loadServerUnitOfRevision'](_0x90e1dc,_0x132ee1,_0xcbc91e){var _0x4fe22f=_0x33a2f4;return this[_0x4fe22f(0x1dd)]['get'](c['DataLoaderService'])[_0x4fe22f(0x1cf)](_0x90e1dc,_0x132ee1,_0xcbc91e);}}l[_0x33a2f4(0x1d4)][_0x33a2f4(0x1e3)](u);
1
+ 'use strict';var _0x24bad8=_0x4a08;(function(_0x3d09d6,_0x53ac12){var _0x4567d6=_0x4a08,_0x205a81=_0x3d09d6();while(!![]){try{var _0x5af191=-parseInt(_0x4567d6(0xac))/0x1+-parseInt(_0x4567d6(0x94))/0x2*(parseInt(_0x4567d6(0x96))/0x3)+parseInt(_0x4567d6(0x99))/0x4+-parseInt(_0x4567d6(0xab))/0x5*(parseInt(_0x4567d6(0x98))/0x6)+-parseInt(_0x4567d6(0x9d))/0x7+parseInt(_0x4567d6(0xad))/0x8*(-parseInt(_0x4567d6(0xa3))/0x9)+parseInt(_0x4567d6(0x81))/0xa;if(_0x5af191===_0x53ac12)break;else _0x205a81['push'](_0x205a81['shift']());}catch(_0x15b65d){_0x205a81['push'](_0x205a81['shift']());}}}(_0x4785,0x80e76));Object[_0x24bad8(0x82)](exports,Symbol['toStringTag'],{'value':_0x24bad8(0xa5)});const c=require(_0x24bad8(0x9c)),l=require(_0x24bad8(0x91)),h=require(_0x24bad8(0xa7)),n=require(_0x24bad8(0x8c)),b=require(_0x24bad8(0xa9));var d=Object['getOwnPropertyDescriptor'],S=(_0x54df4a,_0x149a62,_0x4595b0,_0x105551)=>{var _0x94d34b=_0x24bad8;for(var _0x4ff80d=_0x105551>0x1?void 0x0:_0x105551?d(_0x149a62,_0x4595b0):_0x149a62,_0x17c425=_0x54df4a[_0x94d34b(0x83)]-0x1,_0x5d4f68;_0x17c425>=0x0;_0x17c425--)(_0x5d4f68=_0x54df4a[_0x17c425])&&(_0x4ff80d=_0x5d4f68(_0x4ff80d)||_0x4ff80d);return _0x4ff80d;},s=(_0x10738e,_0x51160c)=>(_0x218f9e,_0x56df00)=>_0x51160c(_0x218f9e,_0x56df00,_0x10738e);function _0x4785(){var _0x326be1=['Module','CollaborationController','@univerjs-pro/collaboration','DataLoaderService','rxjs','FUniver','1172195lbFNOO','355480ymVCmr','40fnZaPj','subscribe','loadUnit','getUniverSheet','_collaborationController','25357400ieOBHn','defineProperty','length','pipe','loadServerUnitOfRevision','waitForRoom$','get','_injector','_handler','SnapshotService','FBase','@univerjs/core','loadUnitOfRevision','IUniverInstanceService','loadSheet','values','@univerjs/core/facade','Inject','loadSheetAsync','36184bxDyjP','_snapshotService','165DEVAun','_univerInstanceService','18gyEtpq','1771276FJeHuA','switchMap','loadActiveSheetAsync','@univerjs-pro/collaboration-client','869589aRibda','members$','extend','createInstance','getCollaboration','from','490473GXooxk','FCollaboration'];_0x4785=function(){return _0x326be1;};return _0x4785();}function _0x4a08(_0x4e0908,_0x5ec259){var _0x4785bd=_0x4785();return _0x4a08=function(_0x4a08d6,_0x51cb72){_0x4a08d6=_0x4a08d6-0x7e;var _0x4b3009=_0x4785bd[_0x4a08d6];return _0x4b3009;},_0x4a08(_0x4e0908,_0x5ec259);}exports[_0x24bad8(0xa4)]=class extends l[_0x24bad8(0x8b)]{constructor(_0x844d78,_0x329da5,_0x5105e0,_0x222d1a,_0xb10c20){var _0x3deaf8=_0x24bad8;super(),this[_0x3deaf8(0x89)]=_0x844d78,this['_injector']=_0x329da5,this[_0x3deaf8(0x97)]=_0x5105e0,this[_0x3deaf8(0x95)]=_0x222d1a,this[_0x3deaf8(0x80)]=_0xb10c20;}async['loadActiveSheet'](){var _0x670619=_0x24bad8;return this[_0x670619(0x9b)]();}async[_0x24bad8(0x9b)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x24bad8(0x8f)](_0x41de5e){var _0x9b1825=_0x24bad8;return this[_0x9b1825(0x93)](_0x41de5e);}async['loadSheetAsync'](_0xd5ce5f,_0x1fbb86){var _0x1ac092=_0x24bad8;return await this[_0x1ac092(0x95)]['loadSheet'](_0xd5ce5f,0x0,_0x1fbb86)?(await this[_0x1ac092(0x80)]['readyForCollab'](_0xd5ce5f),this['_handler'][_0x1ac092(0x7f)](_0xd5ce5f)):null;}['subscribeCollaborators'](_0x5c9bc0,_0x1e25dd){var _0x1e484a=_0x24bad8;const _0x41f383=this[_0x1e484a(0x88)][_0x1e484a(0x87)](c['MemberService'])[_0x1e484a(0x86)](_0x5c9bc0)[_0x1e484a(0x84)](b[_0x1e484a(0x9a)](_0x147d41=>_0x147d41[_0x1e484a(0x9e)]))[_0x1e484a(0xae)](_0x543e8d=>_0x1e25dd(Array[_0x1e484a(0xa2)](_0x543e8d[_0x1e484a(0x90)]())));return n['toDisposable'](_0x41f383);}},exports[_0x24bad8(0xa4)]=S([s(0x1,n[_0x24bad8(0x92)](n['Injector'])),s(0x2,n[_0x24bad8(0x8e)]),s(0x3,n[_0x24bad8(0x92)](h[_0x24bad8(0x8a)])),s(0x4,n[_0x24bad8(0x92)](c[_0x24bad8(0xa6)]))],exports['FCollaboration']);class u extends l[_0x24bad8(0xaa)]{[_0x24bad8(0xa1)](){var _0x2e9e9c=_0x24bad8;return this[_0x2e9e9c(0x88)][_0x2e9e9c(0xa0)](exports['FCollaboration'],{'getUniverSheet':_0x310cd0=>this['getUniverSheet'](_0x310cd0)});}['loadServerUnit'](_0x28f5a6,_0x3ddd1b,_0x34fb72){var _0x329888=_0x24bad8;return this[_0x329888(0x88)][_0x329888(0x87)](c[_0x329888(0xa8)])[_0x329888(0x7e)](_0x28f5a6,_0x3ddd1b,_0x34fb72);}[_0x24bad8(0x85)](_0x4e80f0,_0x3077d5,_0x36296b){var _0x17a45f=_0x24bad8;return this[_0x17a45f(0x88)][_0x17a45f(0x87)](c[_0x17a45f(0xa8)])[_0x17a45f(0x8d)](_0x4e80f0,_0x3077d5,_0x36296b);}}l['FUniver'][_0x24bad8(0x9f)](u);