@univerjs-pro/collaboration-client 0.7.0-nightly.202505141607 → 0.7.0-nightly.202505151607

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 _0x273e5d=_0xd69a;(function(_0x1347f5,_0x309e03){var _0x4ed5c3=_0xd69a,_0x23595d=_0x1347f5();while(!![]){try{var _0x4e5d2c=-parseInt(_0x4ed5c3(0x149))/0x1+parseInt(_0x4ed5c3(0x15a))/0x2+parseInt(_0x4ed5c3(0x156))/0x3+parseInt(_0x4ed5c3(0x150))/0x4+-parseInt(_0x4ed5c3(0x147))/0x5+-parseInt(_0x4ed5c3(0x13d))/0x6+parseInt(_0x4ed5c3(0x15f))/0x7*(parseInt(_0x4ed5c3(0x14b))/0x8);if(_0x4e5d2c===_0x309e03)break;else _0x23595d['push'](_0x23595d['shift']());}catch(_0xc26542){_0x23595d['push'](_0x23595d['shift']());}}}(_0x1011,0x947de));function _0x1011(){var _0x23bd4b=['2196822NULcrH','createInstance','Module','loadServerUnit','670388Gjvzrr','loadActiveSheetAsync','@univerjs-pro/collaboration-client','FBase','@univerjs-pro/collaboration','1881292RllGCi','_injector','loadSheet','subscribe','CollaborationController','switchMap','subscribeCollaborators','getUniverSheet','readyForCollab','706650SaPPdU','_snapshotService','get','loadSheetAsync','loadUnit','waitForRoom$','@univerjs/core','Inject','_handler','members$','2364065WZiRFm','DataLoaderService','1083133KlvRJb','toStringTag','8PgBSqi','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','@univerjs/core/facade','FUniver','3782876KtSeGX','rxjs','length','Injector','FCollaboration','defineProperty'];_0x1011=function(){return _0x23bd4b;};return _0x1011();}Object[_0x273e5d(0x155)](exports,Symbol[_0x273e5d(0x14a)],{'value':_0x273e5d(0x158)});const c=require(_0x273e5d(0x15c)),l=require(_0x273e5d(0x14e)),v=require(_0x273e5d(0x15e)),i=require(_0x273e5d(0x143)),b=require(_0x273e5d(0x151));var S=Object['getOwnPropertyDescriptor'],d=(_0x4064af,_0x3fbdf9,_0x4e996b,_0x18f136)=>{var _0x390444=_0x273e5d;for(var _0x150fdc=_0x18f136>0x1?void 0x0:_0x18f136?S(_0x3fbdf9,_0x4e996b):_0x3fbdf9,_0x3d588a=_0x4064af[_0x390444(0x152)]-0x1,_0x40bba6;_0x3d588a>=0x0;_0x3d588a--)(_0x40bba6=_0x4064af[_0x3d588a])&&(_0x150fdc=_0x40bba6(_0x150fdc)||_0x150fdc);return _0x150fdc;},s=(_0x547178,_0x3e078a)=>(_0x1826d1,_0x1906a5)=>_0x3e078a(_0x1826d1,_0x1906a5,_0x547178);exports[_0x273e5d(0x154)]=class extends l[_0x273e5d(0x15d)]{constructor(_0x1092c2,_0x38d293,_0x1699c1,_0x3c0bdb,_0x4ae4ac){var _0x545d8d=_0x273e5d;super(),this[_0x545d8d(0x145)]=_0x1092c2,this[_0x545d8d(0x160)]=_0x38d293,this['_univerInstanceService']=_0x1699c1,this[_0x545d8d(0x13e)]=_0x3c0bdb,this['_collaborationController']=_0x4ae4ac;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x273e5d(0x15b)](){var _0x3150b1=_0x273e5d;throw new Error(_0x3150b1(0x14c));}async[_0x273e5d(0x136)](_0x35899b){var _0x56963b=_0x273e5d;return this[_0x56963b(0x140)](_0x35899b);}async[_0x273e5d(0x140)](_0x2be806,_0x548812){var _0x14eadf=_0x273e5d;return await this[_0x14eadf(0x13e)][_0x14eadf(0x136)](_0x2be806,0x0,_0x548812)?(await this['_collaborationController'][_0x14eadf(0x13c)](_0x2be806),this[_0x14eadf(0x145)][_0x14eadf(0x13b)](_0x2be806)):null;}[_0x273e5d(0x13a)](_0x11f564,_0x20bf01){var _0x16d585=_0x273e5d;const _0x49a187=this[_0x16d585(0x160)][_0x16d585(0x13f)](c['MemberService'])[_0x16d585(0x142)](_0x11f564)['pipe'](b[_0x16d585(0x139)](_0x504f51=>_0x504f51[_0x16d585(0x146)]))[_0x16d585(0x137)](_0x7472c5=>_0x20bf01(Array['from'](_0x7472c5['values']())));return i['toDisposable'](_0x49a187);}},exports[_0x273e5d(0x154)]=d([s(0x1,i[_0x273e5d(0x144)](i[_0x273e5d(0x153)])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](v[_0x273e5d(0x14d)])),s(0x4,i['Inject'](c[_0x273e5d(0x138)]))],exports[_0x273e5d(0x154)]);class u extends l['FUniver']{['getCollaboration'](){var _0x32abcd=_0x273e5d;return this[_0x32abcd(0x160)]['createInstance'](exports[_0x32abcd(0x154)],{'getUniverSheet':_0x40c3a0=>this[_0x32abcd(0x13b)](_0x40c3a0)});}[_0x273e5d(0x159)](_0x1e627f,_0x13d134,_0x21237b){var _0x5b8fb6=_0x273e5d;return this['_injector'][_0x5b8fb6(0x157)](c[_0x5b8fb6(0x148)])[_0x5b8fb6(0x141)](_0x1e627f,_0x13d134,_0x21237b);}}function _0xd69a(_0x195a82,_0x31c82c){var _0x101134=_0x1011();return _0xd69a=function(_0xd69ac0,_0xf242eb){_0xd69ac0=_0xd69ac0-0x136;var _0x26a871=_0x101134[_0xd69ac0];return _0x26a871;},_0xd69a(_0x195a82,_0x31c82c);}l[_0x273e5d(0x14f)]['extend'](u);
1
+ 'use strict';var _0x268d0e=_0x43cf;(function(_0xfcbe90,_0x9e7bb2){var _0x3c4cbe=_0x43cf,_0x831078=_0xfcbe90();while(!![]){try{var _0x4a3c48=-parseInt(_0x3c4cbe(0x1e1))/0x1+-parseInt(_0x3c4cbe(0x1eb))/0x2*(parseInt(_0x3c4cbe(0x1ea))/0x3)+parseInt(_0x3c4cbe(0x1e9))/0x4*(-parseInt(_0x3c4cbe(0x1e7))/0x5)+parseInt(_0x3c4cbe(0x201))/0x6+parseInt(_0x3c4cbe(0x1fb))/0x7+-parseInt(_0x3c4cbe(0x1f6))/0x8+parseInt(_0x3c4cbe(0x210))/0x9;if(_0x4a3c48===_0x9e7bb2)break;else _0x831078['push'](_0x831078['shift']());}catch(_0x2af058){_0x831078['push'](_0x831078['shift']());}}}(_0x1b8c,0x82245));function _0x1b8c(){var _0x1e7b3d=['getOwnPropertyDescriptor','loadSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1378776EUQqZy','CollaborationController','Inject','readyForCollab','loadActiveSheet','7112560AfmpRH','subscribe','get','loadActiveSheetAsync','defineProperty','loadSheetAsync','1856916APNBxm','members$','Module','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','_injector','createInstance','FCollaboration','_univerInstanceService','_handler','_collaborationController','_snapshotService','@univerjs/core/facade','from','loadServerUnit','10812051SAjjpF','MemberService','@univerjs/core','switchMap','819588oSZmjU','pipe','length','toStringTag','subscribeCollaborators','rxjs','36055ExxCeW','values','356fDHMTZ','540195tDqPqR','4DfAuvP','getCollaboration','getUniverSheet','toDisposable','DataLoaderService','loadUnit','Injector','IUniverInstanceService'];_0x1b8c=function(){return _0x1e7b3d;};return _0x1b8c();}Object[_0x268d0e(0x1ff)](exports,Symbol[_0x268d0e(0x1e4)],{'value':_0x268d0e(0x203)});const c=require(_0x268d0e(0x205)),l=require(_0x268d0e(0x20d)),v=require(_0x268d0e(0x204)),i=require(_0x268d0e(0x1df)),b=require(_0x268d0e(0x1e6));function _0x43cf(_0x51c9b0,_0x32d27b){var _0x1b8c90=_0x1b8c();return _0x43cf=function(_0x43cfc5,_0x1e101d){_0x43cfc5=_0x43cfc5-0x1de;var _0x53c8b6=_0x1b8c90[_0x43cfc5];return _0x53c8b6;},_0x43cf(_0x51c9b0,_0x32d27b);}var S=Object[_0x268d0e(0x1f3)],d=(_0x293fa0,_0x514e41,_0x4fcd97,_0x2c2a27)=>{var _0x3002e7=_0x268d0e;for(var _0x3584bb=_0x2c2a27>0x1?void 0x0:_0x2c2a27?S(_0x514e41,_0x4fcd97):_0x514e41,_0x5169f6=_0x293fa0[_0x3002e7(0x1e3)]-0x1,_0x112ac2;_0x5169f6>=0x0;_0x5169f6--)(_0x112ac2=_0x293fa0[_0x5169f6])&&(_0x3584bb=_0x112ac2(_0x3584bb)||_0x3584bb);return _0x3584bb;},s=(_0x2d3a44,_0x3315a3)=>(_0x3a7edc,_0x21e342)=>_0x3315a3(_0x3a7edc,_0x21e342,_0x2d3a44);exports[_0x268d0e(0x208)]=class extends l['FBase']{constructor(_0x3ae3f2,_0x3472b2,_0x57e302,_0x4a2597,_0x449518){var _0x206735=_0x268d0e;super(),this[_0x206735(0x20a)]=_0x3ae3f2,this[_0x206735(0x206)]=_0x3472b2,this[_0x206735(0x209)]=_0x57e302,this[_0x206735(0x20c)]=_0x4a2597,this[_0x206735(0x20b)]=_0x449518;}async[_0x268d0e(0x1fa)](){var _0x3a67ef=_0x268d0e;return this[_0x3a67ef(0x1fe)]();}async[_0x268d0e(0x1fe)](){var _0x3a6afb=_0x268d0e;throw new Error(_0x3a6afb(0x1f5));}async[_0x268d0e(0x1f4)](_0x54005a){var _0xd89a13=_0x268d0e;return this[_0xd89a13(0x200)](_0x54005a);}async[_0x268d0e(0x200)](_0x2fbcbe,_0x4979ee){var _0x9c767a=_0x268d0e;return await this[_0x9c767a(0x20c)][_0x9c767a(0x1f4)](_0x2fbcbe,0x0,_0x4979ee)?(await this[_0x9c767a(0x20b)][_0x9c767a(0x1f9)](_0x2fbcbe),this[_0x9c767a(0x20a)][_0x9c767a(0x1ed)](_0x2fbcbe)):null;}[_0x268d0e(0x1e5)](_0x4b13b8,_0x18138d){var _0x59f64c=_0x268d0e;const _0x336e82=this['_injector'][_0x59f64c(0x1fd)](c[_0x59f64c(0x1de)])['waitForRoom$'](_0x4b13b8)[_0x59f64c(0x1e2)](b[_0x59f64c(0x1e0)](_0x3a1550=>_0x3a1550[_0x59f64c(0x202)]))[_0x59f64c(0x1fc)](_0x2fb922=>_0x18138d(Array[_0x59f64c(0x20e)](_0x2fb922[_0x59f64c(0x1e8)]())));return i[_0x59f64c(0x1ee)](_0x336e82);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0x268d0e(0x1f1)])),s(0x2,i[_0x268d0e(0x1f2)]),s(0x3,i['Inject'](v['SnapshotService'])),s(0x4,i[_0x268d0e(0x1f8)](c[_0x268d0e(0x1f7)]))],exports[_0x268d0e(0x208)]);class u extends l['FUniver']{[_0x268d0e(0x1ec)](){var _0x5220b0=_0x268d0e;return this[_0x5220b0(0x206)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x47c294=>this['getUniverSheet'](_0x47c294)});}[_0x268d0e(0x20f)](_0x57de8c,_0x356c36,_0x4d9ea0){var _0x470bea=_0x268d0e;return this['_injector'][_0x470bea(0x207)](c[_0x470bea(0x1ef)])[_0x470bea(0x1f0)](_0x57de8c,_0x356c36,_0x4d9ea0);}}l['FUniver']['extend'](u);