@univerjs-pro/collaboration-client 0.8.0-nightly.202505271607 → 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';function _0x31c9(_0x5436a3,_0x165c63){var _0x4466c9=_0x4466();return _0x31c9=function(_0x31c989,_0x33157f){_0x31c989=_0x31c989-0x1b3;var _0x1ed62d=_0x4466c9[_0x31c989];return _0x1ed62d;},_0x31c9(_0x5436a3,_0x165c63);}var _0x1b5589=_0x31c9;(function(_0x3b53a8,_0x1bad28){var _0x41e81d=_0x31c9,_0x1618a2=_0x3b53a8();while(!![]){try{var _0x24c900=-parseInt(_0x41e81d(0x1bb))/0x1*(-parseInt(_0x41e81d(0x1b4))/0x2)+-parseInt(_0x41e81d(0x1cb))/0x3+-parseInt(_0x41e81d(0x1b8))/0x4+-parseInt(_0x41e81d(0x1c9))/0x5+parseInt(_0x41e81d(0x1cd))/0x6+parseInt(_0x41e81d(0x1b7))/0x7*(-parseInt(_0x41e81d(0x1c7))/0x8)+parseInt(_0x41e81d(0x1db))/0x9*(parseInt(_0x41e81d(0x1c0))/0xa);if(_0x24c900===_0x1bad28)break;else _0x1618a2['push'](_0x1618a2['shift']());}catch(_0x1e2962){_0x1618a2['push'](_0x1618a2['shift']());}}}(_0x4466,0xde942));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x1b5589(0x1c3)});const c=require(_0x1b5589(0x1c5)),l=require(_0x1b5589(0x1d2)),h=require(_0x1b5589(0x1ca)),n=require(_0x1b5589(0x1dc)),b=require('rxjs');var d=Object[_0x1b5589(0x1b6)],S=(_0x1bc674,_0x40943e,_0x4f87f2,_0x16d3f0)=>{var _0x179e0b=_0x1b5589;for(var _0x597562=_0x16d3f0>0x1?void 0x0:_0x16d3f0?d(_0x40943e,_0x4f87f2):_0x40943e,_0x163c67=_0x1bc674[_0x179e0b(0x1d5)]-0x1,_0x56e37b;_0x163c67>=0x0;_0x163c67--)(_0x56e37b=_0x1bc674[_0x163c67])&&(_0x597562=_0x56e37b(_0x597562)||_0x597562);return _0x597562;},s=(_0x464905,_0x50f352)=>(_0x14c121,_0x319cfe)=>_0x50f352(_0x14c121,_0x319cfe,_0x464905);function _0x4466(){var _0x49a957=['readyForCollab','SnapshotService','1CpwhnD','loadServerUnit','loadSheetAsync','MemberService','toDisposable','17222490EpILwF','_univerInstanceService','subscribe','Module','members$','@univerjs-pro/collaboration-client','FUniver','952nvSuJV','get','4740975PZazwX','@univerjs-pro/collaboration','739893iFZIYp','_collaborationController','10712730jatsTJ','loadServerUnitOfRevision','loadSheet','DataLoaderService','getUniverSheet','@univerjs/core/facade','_handler','_injector','length','loadActiveSheet','FCollaboration','loadUnit','getCollaboration','CollaborationController','9upsLSM','@univerjs/core','createInstance','_snapshotService','from','subscribeCollaborators','loadActiveSheetAsync','values','1736794ezlLgZ','pipe','getOwnPropertyDescriptor','100499sxibrN','2244440wLQSMa'];_0x4466=function(){return _0x49a957;};return _0x4466();}exports[_0x1b5589(0x1d7)]=class extends l['FBase']{constructor(_0x55d50e,_0xa8e3b1,_0x23f663,_0xccb96f,_0x26db56){var _0x149d31=_0x1b5589;super(),this[_0x149d31(0x1d3)]=_0x55d50e,this[_0x149d31(0x1d4)]=_0xa8e3b1,this[_0x149d31(0x1c1)]=_0x23f663,this['_snapshotService']=_0xccb96f,this[_0x149d31(0x1cc)]=_0x26db56;}async[_0x1b5589(0x1d6)](){return this['loadActiveSheetAsync']();}async[_0x1b5589(0x1e1)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x1b5589(0x1cf)](_0x455cc4){return this['loadSheetAsync'](_0x455cc4);}async[_0x1b5589(0x1bd)](_0x140851,_0x1c96d){var _0x1bcbdc=_0x1b5589;return await this[_0x1bcbdc(0x1de)][_0x1bcbdc(0x1cf)](_0x140851,0x0,_0x1c96d)?(await this[_0x1bcbdc(0x1cc)][_0x1bcbdc(0x1b9)](_0x140851),this[_0x1bcbdc(0x1d3)][_0x1bcbdc(0x1d1)](_0x140851)):null;}[_0x1b5589(0x1e0)](_0x55f201,_0xf4c294){var _0x21ae25=_0x1b5589;const _0x1cc39a=this['_injector'][_0x21ae25(0x1c8)](c[_0x21ae25(0x1be)])['waitForRoom$'](_0x55f201)[_0x21ae25(0x1b5)](b['switchMap'](_0x2333ac=>_0x2333ac[_0x21ae25(0x1c4)]))[_0x21ae25(0x1c2)](_0xfe6225=>_0xf4c294(Array[_0x21ae25(0x1df)](_0xfe6225[_0x21ae25(0x1b3)]())));return n[_0x21ae25(0x1bf)](_0x1cc39a);}},exports[_0x1b5589(0x1d7)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n['IUniverInstanceService']),s(0x3,n['Inject'](h[_0x1b5589(0x1ba)])),s(0x4,n['Inject'](c[_0x1b5589(0x1da)]))],exports[_0x1b5589(0x1d7)]);class u extends l[_0x1b5589(0x1c6)]{[_0x1b5589(0x1d9)](){var _0x8ae98b=_0x1b5589;return this[_0x8ae98b(0x1d4)][_0x8ae98b(0x1dd)](exports[_0x8ae98b(0x1d7)],{'getUniverSheet':_0x578361=>this[_0x8ae98b(0x1d1)](_0x578361)});}[_0x1b5589(0x1bc)](_0x53f172,_0x3dcfe8,_0x362415){var _0x4950ca=_0x1b5589;return this['_injector'][_0x4950ca(0x1c8)](c[_0x4950ca(0x1d0)])[_0x4950ca(0x1d8)](_0x53f172,_0x3dcfe8,_0x362415);}[_0x1b5589(0x1ce)](_0x2945a8,_0x41bf80,_0x4a0243){var _0x5e4354=_0x1b5589;return this[_0x5e4354(0x1d4)][_0x5e4354(0x1c8)](c[_0x5e4354(0x1d0)])['loadUnitOfRevision'](_0x2945a8,_0x41bf80,_0x4a0243);}}l[_0x1b5589(0x1c6)]['extend'](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);