@univerjs-pro/collaboration-client 0.6.10-experimental.20250410-f79ffef → 0.6.10-experimental.20250410-d40d076

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 _0x229d62=_0x5358;(function(_0x2dccc4,_0xf5b2a8){var _0x209ca5=_0x5358,_0x2ef0c0=_0x2dccc4();while(!![]){try{var _0x463ec3=-parseInt(_0x209ca5(0x1b0))/0x1+-parseInt(_0x209ca5(0x1b5))/0x2*(parseInt(_0x209ca5(0x1b1))/0x3)+parseInt(_0x209ca5(0x191))/0x4+parseInt(_0x209ca5(0x1ae))/0x5+parseInt(_0x209ca5(0x1b3))/0x6+parseInt(_0x209ca5(0x1a6))/0x7+-parseInt(_0x209ca5(0x197))/0x8;if(_0x463ec3===_0xf5b2a8)break;else _0x2ef0c0['push'](_0x2ef0c0['shift']());}catch(_0x50bee4){_0x2ef0c0['push'](_0x2ef0c0['shift']());}}}(_0x20e5,0x5a4f6));function _0x5358(_0x5bb1fa,_0x369525){var _0x20e50c=_0x20e5();return _0x5358=function(_0x5358a7,_0xb00257){_0x5358a7=_0x5358a7-0x18a;var _0x3580de=_0x20e50c[_0x5358a7];return _0x3580de;},_0x5358(_0x5bb1fa,_0x369525);}Object[_0x229d62(0x1a5)](exports,Symbol[_0x229d62(0x192)],{'value':'Module'});const c=require(_0x229d62(0x1aa)),l=require(_0x229d62(0x18b)),v=require(_0x229d62(0x19d)),i=require(_0x229d62(0x1ba)),b=require(_0x229d62(0x1a2));var S=Object[_0x229d62(0x1b8)],d=(_0x43c175,_0x119c3e,_0x16491a,_0x52fee4)=>{var _0xa8c23a=_0x229d62;for(var _0x471163=_0x52fee4>0x1?void 0x0:_0x52fee4?S(_0x119c3e,_0x16491a):_0x119c3e,_0x8f3581=_0x43c175[_0xa8c23a(0x1af)]-0x1,_0x5d580a;_0x8f3581>=0x0;_0x8f3581--)(_0x5d580a=_0x43c175[_0x8f3581])&&(_0x471163=_0x5d580a(_0x471163)||_0x471163);return _0x471163;},s=(_0x52411b,_0x50255f)=>(_0x555291,_0x12c71d)=>_0x50255f(_0x555291,_0x12c71d,_0x52411b);exports[_0x229d62(0x198)]=class extends l[_0x229d62(0x19a)]{constructor(_0x11e3a7,_0x2b3571,_0x4d796e,_0x12f793,_0x46660e){var _0x2c3e2e=_0x229d62;super(),this[_0x2c3e2e(0x1a1)]=_0x11e3a7,this[_0x2c3e2e(0x1b4)]=_0x2b3571,this[_0x2c3e2e(0x19c)]=_0x4d796e,this[_0x2c3e2e(0x1a3)]=_0x12f793,this[_0x2c3e2e(0x1b2)]=_0x46660e;}async[_0x229d62(0x194)](){var _0x12f26c=_0x229d62;return this[_0x12f26c(0x1b7)]();}async['loadActiveSheetAsync'](){var _0x5580e0=_0x229d62;throw new Error(_0x5580e0(0x1bc));}async['loadSheet'](_0x1bf8b3){var _0x1e6be7=_0x229d62;return this[_0x1e6be7(0x18c)](_0x1bf8b3);}async[_0x229d62(0x18c)](_0x55b1a3,_0x330939){var _0xdd7569=_0x229d62;return await this[_0xdd7569(0x1a3)][_0xdd7569(0x1ad)](_0x55b1a3,0x0,_0x330939)?(await this[_0xdd7569(0x1b2)]['readyForCollab'](_0x55b1a3),this['_handler'][_0xdd7569(0x1bb)](_0x55b1a3)):null;}['subscribeCollaborators'](_0x2eb87d,_0x1cf403){var _0x1f8e4f=_0x229d62;const _0x430cc5=this['_injector'][_0x1f8e4f(0x18f)](c[_0x1f8e4f(0x1a4)])[_0x1f8e4f(0x196)](_0x2eb87d)[_0x1f8e4f(0x199)](b[_0x1f8e4f(0x1a8)](_0x54decd=>_0x54decd[_0x1f8e4f(0x190)]))[_0x1f8e4f(0x18d)](_0xf7192a=>_0x1cf403(Array[_0x1f8e4f(0x1a0)](_0xf7192a[_0x1f8e4f(0x193)]())));return i[_0x1f8e4f(0x1ac)](_0x430cc5);}},exports[_0x229d62(0x198)]=d([s(0x1,i[_0x229d62(0x19f)](i[_0x229d62(0x1a7)])),s(0x2,i[_0x229d62(0x19e)]),s(0x3,i[_0x229d62(0x19f)](v[_0x229d62(0x18e)])),s(0x4,i[_0x229d62(0x19f)](c['CollaborationController']))],exports[_0x229d62(0x198)]);class u extends l[_0x229d62(0x18a)]{[_0x229d62(0x1a9)](){var _0x599011=_0x229d62;return this['_injector'][_0x599011(0x1ab)](exports[_0x599011(0x198)],{'getUniverSheet':_0x31ad4b=>this['getUniverSheet'](_0x31ad4b)});}[_0x229d62(0x195)](_0x4b80b6,_0x28c94b,_0x57a4fc){var _0x35fab4=_0x229d62;return this[_0x35fab4(0x1b4)][_0x35fab4(0x1ab)](c[_0x35fab4(0x1b6)])[_0x35fab4(0x1b9)](_0x4b80b6,_0x28c94b,_0x57a4fc);}}function _0x20e5(){var _0x50001d=['loadServerUnit','waitForRoom$','4222680RAseiZ','FCollaboration','pipe','FBase','extend','_univerInstanceService','@univerjs-pro/collaboration','IUniverInstanceService','Inject','from','_handler','rxjs','_snapshotService','MemberService','defineProperty','2677577XrMzAy','Injector','switchMap','getCollaboration','@univerjs-pro/collaboration-client','createInstance','toDisposable','loadSheet','1362150lGPzkM','length','492394nfGptC','3QDPNEE','_collaborationController','2027412kAGOER','_injector','436214aSdZxV','DataLoaderService','loadActiveSheetAsync','getOwnPropertyDescriptor','loadUnit','@univerjs/core','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','@univerjs/core/facade','loadSheetAsync','subscribe','SnapshotService','get','members$','2461612OEsTGy','toStringTag','values','loadActiveSheet'];_0x20e5=function(){return _0x50001d;};return _0x20e5();}l[_0x229d62(0x18a)][_0x229d62(0x19b)](u);
1
+ 'use strict';var _0xf5f11c=_0x5831;(function(_0x420a30,_0x124bac){var _0x404d2d=_0x5831,_0x36e58a=_0x420a30();while(!![]){try{var _0x36554e=parseInt(_0x404d2d(0x159))/0x1+-parseInt(_0x404d2d(0x145))/0x2*(parseInt(_0x404d2d(0x162))/0x3)+-parseInt(_0x404d2d(0x165))/0x4*(-parseInt(_0x404d2d(0x160))/0x5)+parseInt(_0x404d2d(0x14e))/0x6*(parseInt(_0x404d2d(0x146))/0x7)+parseInt(_0x404d2d(0x15e))/0x8+parseInt(_0x404d2d(0x15b))/0x9+-parseInt(_0x404d2d(0x152))/0xa;if(_0x36554e===_0x124bac)break;else _0x36e58a['push'](_0x36e58a['shift']());}catch(_0x5aaaa1){_0x36e58a['push'](_0x36e58a['shift']());}}}(_0x4a80,0xca752));function _0x5831(_0x5c521e,_0x29b3c1){var _0x4a8089=_0x4a80();return _0x5831=function(_0x583119,_0x1f3e89){_0x583119=_0x583119-0x13a;var _0x1b1aa5=_0x4a8089[_0x583119];return _0x1b1aa5;},_0x5831(_0x5c521e,_0x29b3c1);}Object[_0xf5f11c(0x166)](exports,Symbol[_0xf5f11c(0x157)],{'value':_0xf5f11c(0x141)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0xf5f11c(0x142)),v=require(_0xf5f11c(0x147)),i=require('@univerjs/core'),b=require(_0xf5f11c(0x14d));var S=Object['getOwnPropertyDescriptor'],d=(_0x28b395,_0x184a09,_0x35d440,_0x549b75)=>{var _0x68b2e9=_0xf5f11c;for(var _0x641f7c=_0x549b75>0x1?void 0x0:_0x549b75?S(_0x184a09,_0x35d440):_0x184a09,_0xfc9d72=_0x28b395[_0x68b2e9(0x14b)]-0x1,_0x4eefdf;_0xfc9d72>=0x0;_0xfc9d72--)(_0x4eefdf=_0x28b395[_0xfc9d72])&&(_0x641f7c=_0x4eefdf(_0x641f7c)||_0x641f7c);return _0x641f7c;},s=(_0x6e1057,_0x505631)=>(_0x407bb7,_0x55fbf5)=>_0x505631(_0x407bb7,_0x55fbf5,_0x6e1057);exports[_0xf5f11c(0x14c)]=class extends l[_0xf5f11c(0x143)]{constructor(_0x57fbac,_0x46234e,_0x46efb0,_0x18d407,_0x44cde5){var _0x5d7ad6=_0xf5f11c;super(),this[_0x5d7ad6(0x158)]=_0x57fbac,this[_0x5d7ad6(0x144)]=_0x46234e,this['_univerInstanceService']=_0x46efb0,this['_snapshotService']=_0x18d407,this[_0x5d7ad6(0x13b)]=_0x44cde5;}async[_0xf5f11c(0x148)](){return this['loadActiveSheetAsync']();}async[_0xf5f11c(0x14f)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0xf5f11c(0x164)](_0x3ab2ea){var _0x35721d=_0xf5f11c;return this[_0x35721d(0x13d)](_0x3ab2ea);}async[_0xf5f11c(0x13d)](_0x18d4a8,_0x4276a7){var _0x2762cd=_0xf5f11c;return await this['_snapshotService'][_0x2762cd(0x164)](_0x18d4a8,0x0,_0x4276a7)?(await this[_0x2762cd(0x13b)][_0x2762cd(0x149)](_0x18d4a8),this[_0x2762cd(0x158)][_0x2762cd(0x150)](_0x18d4a8)):null;}[_0xf5f11c(0x140)](_0x291034,_0x1723aa){var _0xddbf32=_0xf5f11c;const _0x561480=this[_0xddbf32(0x144)][_0xddbf32(0x13a)](c['MemberService'])['waitForRoom$'](_0x291034)['pipe'](b[_0xddbf32(0x153)](_0x5ab476=>_0x5ab476[_0xddbf32(0x155)]))[_0xddbf32(0x167)](_0x288cd8=>_0x1723aa(Array[_0xddbf32(0x15c)](_0x288cd8[_0xddbf32(0x156)]())));return i[_0xddbf32(0x13e)](_0x561480);}},exports[_0xf5f11c(0x14c)]=d([s(0x1,i[_0xf5f11c(0x15f)](i['Injector'])),s(0x2,i[_0xf5f11c(0x163)]),s(0x3,i[_0xf5f11c(0x15f)](v[_0xf5f11c(0x15a)])),s(0x4,i[_0xf5f11c(0x15f)](c[_0xf5f11c(0x161)]))],exports['FCollaboration']);class u extends l[_0xf5f11c(0x154)]{['getCollaboration'](){var _0x40077b=_0xf5f11c;return this[_0x40077b(0x144)][_0x40077b(0x13f)](exports[_0x40077b(0x14c)],{'getUniverSheet':_0x43fd46=>this['getUniverSheet'](_0x43fd46)});}[_0xf5f11c(0x13c)](_0x5d3ae6,_0x43165c,_0x195db4){var _0x180ceb=_0xf5f11c;return this[_0x180ceb(0x144)]['createInstance'](c[_0x180ceb(0x14a)])[_0x180ceb(0x15d)](_0x5d3ae6,_0x43165c,_0x195db4);}}function _0x4a80(){var _0x3165ca=['loadUnit','9513008fbMNqo','Inject','710rUoHSl','CollaborationController','6soAHgW','IUniverInstanceService','loadSheet','14492abiBbj','defineProperty','subscribe','get','_collaborationController','loadServerUnit','loadSheetAsync','toDisposable','createInstance','subscribeCollaborators','Module','@univerjs/core/facade','FBase','_injector','166926ZxZdKy','28eWVqOF','@univerjs-pro/collaboration','loadActiveSheet','readyForCollab','DataLoaderService','length','FCollaboration','rxjs','1143096IkiOFY','loadActiveSheetAsync','getUniverSheet','extend','29159260veDBcx','switchMap','FUniver','members$','values','toStringTag','_handler','556815dSMMRN','SnapshotService','8006823DZpXRf','from'];_0x4a80=function(){return _0x3165ca;};return _0x4a80();}l[_0xf5f11c(0x154)][_0xf5f11c(0x151)](u);