@univerjs-pro/collaboration-client 0.8.0-nightly.202506041607 → 0.8.0-nightly.202506061607

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 _0x1b7e(_0x448c44,_0x179535){var _0x200d72=_0x200d();return _0x1b7e=function(_0x1b7e87,_0x1d843c){_0x1b7e87=_0x1b7e87-0x1e5;var _0xde28f4=_0x200d72[_0x1b7e87];return _0xde28f4;},_0x1b7e(_0x448c44,_0x179535);}var _0x45ff8f=_0x1b7e;(function(_0x23de65,_0x5263a5){var _0x54b1c6=_0x1b7e,_0x41b84b=_0x23de65();while(!![]){try{var _0x9958c4=parseInt(_0x54b1c6(0x208))/0x1+-parseInt(_0x54b1c6(0x203))/0x2*(-parseInt(_0x54b1c6(0x1e5))/0x3)+-parseInt(_0x54b1c6(0x200))/0x4*(-parseInt(_0x54b1c6(0x1f1))/0x5)+-parseInt(_0x54b1c6(0x213))/0x6*(parseInt(_0x54b1c6(0x1e7))/0x7)+parseInt(_0x54b1c6(0x206))/0x8+-parseInt(_0x54b1c6(0x20b))/0x9*(-parseInt(_0x54b1c6(0x20a))/0xa)+-parseInt(_0x54b1c6(0x212))/0xb;if(_0x9958c4===_0x5263a5)break;else _0x41b84b['push'](_0x41b84b['shift']());}catch(_0x5d5274){_0x41b84b['push'](_0x41b84b['shift']());}}}(_0x200d,0xdba91));Object[_0x45ff8f(0x1eb)](exports,Symbol[_0x45ff8f(0x205)],{'value':_0x45ff8f(0x209)});const c=require(_0x45ff8f(0x1f7)),l=require('@univerjs/core/facade'),h=require(_0x45ff8f(0x1ea)),n=require(_0x45ff8f(0x210)),b=require(_0x45ff8f(0x201));var d=Object['getOwnPropertyDescriptor'],S=(_0x4ba3e2,_0x835903,_0x130ea6,_0x3508b8)=>{for(var _0x1d397c=_0x3508b8>0x1?void 0x0:_0x3508b8?d(_0x835903,_0x130ea6):_0x835903,_0x3b7ed1=_0x4ba3e2['length']-0x1,_0x32f0db;_0x3b7ed1>=0x0;_0x3b7ed1--)(_0x32f0db=_0x4ba3e2[_0x3b7ed1])&&(_0x1d397c=_0x32f0db(_0x1d397c)||_0x1d397c);return _0x1d397c;},s=(_0x46868a,_0x39cfe4)=>(_0x5e26c3,_0xd7dd43)=>_0x39cfe4(_0x5e26c3,_0xd7dd43,_0x46868a);function _0x200d(){var _0xbc63a3=['pipe','subscribeCollaborators','loadSheet','1900292cWJNKY','rxjs','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','864236PTngjS','_univerInstanceService','toStringTag','4180496rcaTcZ','FUniver','501867PibhVO','Module','7420hAdJOr','13986cAljyl','loadServerUnit','get','MemberService','loadUnit','@univerjs/core','CollaborationController','43808732bxgGKC','100374pGOEha','loadActiveSheet','FCollaboration','9UIUkit','values','7LQYRET','DataLoaderService','_collaborationController','@univerjs-pro/collaboration','defineProperty','Inject','SnapshotService','_snapshotService','_injector','from','15uxXtvU','waitForRoom$','toDisposable','subscribe','getCollaboration','IUniverInstanceService','@univerjs-pro/collaboration-client','loadActiveSheetAsync','loadServerUnitOfRevision','readyForCollab','loadUnitOfRevision','getUniverSheet'];_0x200d=function(){return _0xbc63a3;};return _0x200d();}exports[_0x45ff8f(0x215)]=class extends l['FBase']{constructor(_0x42b06d,_0x33eb18,_0x1c800f,_0x3839e7,_0x112f36){var _0x208f99=_0x45ff8f;super(),this['_handler']=_0x42b06d,this[_0x208f99(0x1ef)]=_0x33eb18,this[_0x208f99(0x204)]=_0x1c800f,this[_0x208f99(0x1ee)]=_0x3839e7,this[_0x208f99(0x1e9)]=_0x112f36;}async[_0x45ff8f(0x214)](){var _0x33fea8=_0x45ff8f;return this[_0x33fea8(0x1f8)]();}async['loadActiveSheetAsync'](){var _0x3f5faf=_0x45ff8f;throw new Error(_0x3f5faf(0x202));}async[_0x45ff8f(0x1ff)](_0x10d54b){return this['loadSheetAsync'](_0x10d54b);}async['loadSheetAsync'](_0x1254bd,_0x197e8c){var _0x42f651=_0x45ff8f;return await this[_0x42f651(0x1ee)][_0x42f651(0x1ff)](_0x1254bd,0x0,_0x197e8c)?(await this[_0x42f651(0x1e9)][_0x42f651(0x1fa)](_0x1254bd),this['_handler'][_0x42f651(0x1fc)](_0x1254bd)):null;}[_0x45ff8f(0x1fe)](_0x32ec81,_0x3272ea){var _0xca5250=_0x45ff8f;const _0x5b2b2f=this[_0xca5250(0x1ef)]['get'](c[_0xca5250(0x20e)])[_0xca5250(0x1f2)](_0x32ec81)[_0xca5250(0x1fd)](b['switchMap'](_0x5ce1fb=>_0x5ce1fb['members$']))[_0xca5250(0x1f4)](_0x351c40=>_0x3272ea(Array[_0xca5250(0x1f0)](_0x351c40[_0xca5250(0x1e6)]())));return n[_0xca5250(0x1f3)](_0x5b2b2f);}},exports['FCollaboration']=S([s(0x1,n[_0x45ff8f(0x1ec)](n['Injector'])),s(0x2,n[_0x45ff8f(0x1f6)]),s(0x3,n['Inject'](h[_0x45ff8f(0x1ed)])),s(0x4,n['Inject'](c[_0x45ff8f(0x211)]))],exports['FCollaboration']);class u extends l[_0x45ff8f(0x207)]{[_0x45ff8f(0x1f5)](){var _0x2effc5=_0x45ff8f;return this[_0x2effc5(0x1ef)]['createInstance'](exports[_0x2effc5(0x215)],{'getUniverSheet':_0x53453c=>this['getUniverSheet'](_0x53453c)});}[_0x45ff8f(0x20c)](_0x899b31,_0xc066ad,_0x81216f){var _0x189885=_0x45ff8f;return this[_0x189885(0x1ef)][_0x189885(0x20d)](c[_0x189885(0x1e8)])[_0x189885(0x20f)](_0x899b31,_0xc066ad,_0x81216f);}[_0x45ff8f(0x1f9)](_0xc24930,_0x391def,_0x1e85cc){var _0x387884=_0x45ff8f;return this[_0x387884(0x1ef)][_0x387884(0x20d)](c[_0x387884(0x1e8)])[_0x387884(0x1fb)](_0xc24930,_0x391def,_0x1e85cc);}}l[_0x45ff8f(0x207)]['extend'](u);
1
+ 'use strict';var _0x58d0a8=_0x445a;(function(_0xb565aa,_0x1d0f91){var _0x574f74=_0x445a,_0x3944ff=_0xb565aa();while(!![]){try{var _0x245954=-parseInt(_0x574f74(0x9b))/0x1*(parseInt(_0x574f74(0x8a))/0x2)+parseInt(_0x574f74(0xa5))/0x3+-parseInt(_0x574f74(0x9f))/0x4+-parseInt(_0x574f74(0x98))/0x5+-parseInt(_0x574f74(0x8b))/0x6+-parseInt(_0x574f74(0x9d))/0x7+parseInt(_0x574f74(0xb1))/0x8*(parseInt(_0x574f74(0xaf))/0x9);if(_0x245954===_0x1d0f91)break;else _0x3944ff['push'](_0x3944ff['shift']());}catch(_0x5c484b){_0x3944ff['push'](_0x3944ff['shift']());}}}(_0x4f41,0x98930));Object['defineProperty'](exports,Symbol[_0x58d0a8(0xa4)],{'value':_0x58d0a8(0x89)});function _0x4f41(){var _0x18af9f=['from','subscribe','waitForRoom$','getOwnPropertyDescriptor','_snapshotService','@univerjs/core','getUniverSheet','FBase','subscribeCollaborators','Inject','4695150islqtM','loadServerUnitOfRevision','FUniver','14hnzYCe','IUniverInstanceService','5940879xcxXeC','values','1393404lhXmGe','DataLoaderService','_collaborationController','get','loadServerUnit','toStringTag','2885925ZILGyj','extend','_injector','loadSheetAsync','CollaborationController','loadActiveSheet','FCollaboration','createInstance','length','getCollaboration','31673016ohcSAP','loadActiveSheetAsync','8paeOOF','@univerjs/core/facade','Injector','loadUnit','@univerjs-pro/collaboration-client','switchMap','MemberService','loadSheet','readyForCollab','Module','80846UEvqAK','6925530nuBlMn','SnapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.'];_0x4f41=function(){return _0x18af9f;};return _0x4f41();}const c=require(_0x58d0a8(0xb5)),l=require(_0x58d0a8(0xb2)),h=require('@univerjs-pro/collaboration'),n=require(_0x58d0a8(0x93)),b=require('rxjs');var d=Object[_0x58d0a8(0x91)],S=(_0x326980,_0x277cb3,_0x4edd0b,_0x144100)=>{var _0x3bae20=_0x58d0a8;for(var _0x45e3ff=_0x144100>0x1?void 0x0:_0x144100?d(_0x277cb3,_0x4edd0b):_0x277cb3,_0xa53e35=_0x326980[_0x3bae20(0xad)]-0x1,_0x3829cc;_0xa53e35>=0x0;_0xa53e35--)(_0x3829cc=_0x326980[_0xa53e35])&&(_0x45e3ff=_0x3829cc(_0x45e3ff)||_0x45e3ff);return _0x45e3ff;},s=(_0x48fc20,_0x2ed9f4)=>(_0x43ae67,_0x3e3bb3)=>_0x2ed9f4(_0x43ae67,_0x3e3bb3,_0x48fc20);exports[_0x58d0a8(0xab)]=class extends l[_0x58d0a8(0x95)]{constructor(_0x41c227,_0x45f506,_0x46a8f9,_0x2a1c10,_0x51e745){var _0x1477d8=_0x58d0a8;super(),this['_handler']=_0x41c227,this[_0x1477d8(0xa7)]=_0x45f506,this['_univerInstanceService']=_0x46a8f9,this[_0x1477d8(0x92)]=_0x2a1c10,this[_0x1477d8(0xa1)]=_0x51e745;}async[_0x58d0a8(0xaa)](){var _0x5eb950=_0x58d0a8;return this[_0x5eb950(0xb0)]();}async[_0x58d0a8(0xb0)](){var _0x174b23=_0x58d0a8;throw new Error(_0x174b23(0x8d));}async[_0x58d0a8(0x87)](_0x530bb2){var _0x3bae9f=_0x58d0a8;return this[_0x3bae9f(0xa8)](_0x530bb2);}async[_0x58d0a8(0xa8)](_0x35f914,_0x160fb9){var _0x3b2ff4=_0x58d0a8;return await this['_snapshotService'][_0x3b2ff4(0x87)](_0x35f914,0x0,_0x160fb9)?(await this[_0x3b2ff4(0xa1)][_0x3b2ff4(0x88)](_0x35f914),this['_handler'][_0x3b2ff4(0x94)](_0x35f914)):null;}[_0x58d0a8(0x96)](_0x5858d0,_0x35e69e){var _0x299bab=_0x58d0a8;const _0x552475=this[_0x299bab(0xa7)][_0x299bab(0xa2)](c[_0x299bab(0x86)])[_0x299bab(0x90)](_0x5858d0)['pipe'](b[_0x299bab(0xb6)](_0x57ff02=>_0x57ff02['members$']))[_0x299bab(0x8f)](_0x29ea1e=>_0x35e69e(Array[_0x299bab(0x8e)](_0x29ea1e[_0x299bab(0x9e)]())));return n['toDisposable'](_0x552475);}},exports[_0x58d0a8(0xab)]=S([s(0x1,n[_0x58d0a8(0x97)](n[_0x58d0a8(0xb3)])),s(0x2,n[_0x58d0a8(0x9c)]),s(0x3,n[_0x58d0a8(0x97)](h[_0x58d0a8(0x8c)])),s(0x4,n['Inject'](c[_0x58d0a8(0xa9)]))],exports['FCollaboration']);function _0x445a(_0x143456,_0x2662d3){var _0x4f4184=_0x4f41();return _0x445a=function(_0x445aaa,_0x180f1d){_0x445aaa=_0x445aaa-0x86;var _0x43f858=_0x4f4184[_0x445aaa];return _0x43f858;},_0x445a(_0x143456,_0x2662d3);}class u extends l[_0x58d0a8(0x9a)]{[_0x58d0a8(0xae)](){var _0x53519d=_0x58d0a8;return this[_0x53519d(0xa7)][_0x53519d(0xac)](exports[_0x53519d(0xab)],{'getUniverSheet':_0x154cde=>this[_0x53519d(0x94)](_0x154cde)});}[_0x58d0a8(0xa3)](_0x110b23,_0x5d789a,_0x555e4f){var _0x176d3f=_0x58d0a8;return this[_0x176d3f(0xa7)][_0x176d3f(0xa2)](c[_0x176d3f(0xa0)])[_0x176d3f(0xb4)](_0x110b23,_0x5d789a,_0x555e4f);}[_0x58d0a8(0x99)](_0x2528c2,_0x190d24,_0x452a4d){var _0x376fa2=_0x58d0a8;return this[_0x376fa2(0xa7)]['get'](c[_0x376fa2(0xa0)])['loadUnitOfRevision'](_0x2528c2,_0x190d24,_0x452a4d);}}l[_0x58d0a8(0x9a)][_0x58d0a8(0xa6)](u);