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

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 _0x51c909=_0xa673;(function(_0x243cc4,_0x2b81e0){var _0x26e7cf=_0xa673,_0x128289=_0x243cc4();while(!![]){try{var _0x33135c=parseInt(_0x26e7cf(0x174))/0x1+-parseInt(_0x26e7cf(0x188))/0x2+parseInt(_0x26e7cf(0x172))/0x3*(parseInt(_0x26e7cf(0x18a))/0x4)+-parseInt(_0x26e7cf(0x180))/0x5+-parseInt(_0x26e7cf(0x17c))/0x6+parseInt(_0x26e7cf(0x19a))/0x7+parseInt(_0x26e7cf(0x194))/0x8;if(_0x33135c===_0x2b81e0)break;else _0x128289['push'](_0x128289['shift']());}catch(_0x14de0c){_0x128289['push'](_0x128289['shift']());}}}(_0x126c,0x79f4b));function _0x126c(){var _0x71e9f1=['subscribe','53460DxmMXU','loadServerUnit','getUniverSheet','waitForRoom$','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getCollaboration','Injector','get','@univerjs-pro/collaboration','8981032egjzPf','toDisposable','FCollaboration','FUniver','loadSheetAsync','loadSheet','4416496iwhIkf','_injector','Inject','@univerjs/core/facade','CollaborationController','@univerjs-pro/collaboration-client','27jPoSSc','switchMap','766035TOYqkm','from','values','loadActiveSheetAsync','readyForCollab','subscribeCollaborators','MemberService','toStringTag','5482980BTilwK','defineProperty','rxjs','_univerInstanceService','2611395OQhQeM','SnapshotService','createInstance','IUniverInstanceService','_collaborationController','loadActiveSheet','DataLoaderService','getOwnPropertyDescriptor','1408474OsoknF'];_0x126c=function(){return _0x71e9f1;};return _0x126c();}function _0xa673(_0xebd5ac,_0x22c537){var _0x126cc8=_0x126c();return _0xa673=function(_0xa67362,_0x41af21){_0xa67362=_0xa67362-0x172;var _0x2cbf23=_0x126cc8[_0xa67362];return _0x2cbf23;},_0xa673(_0xebd5ac,_0x22c537);}Object[_0x51c909(0x17d)](exports,Symbol[_0x51c909(0x17b)],{'value':'Module'});const c=require(_0x51c909(0x19f)),l=require(_0x51c909(0x19d)),v=require(_0x51c909(0x193)),i=require('@univerjs/core'),b=require(_0x51c909(0x17e));var S=Object[_0x51c909(0x187)],d=(_0x2ac57c,_0x4117ef,_0x1223a8,_0x455b68)=>{for(var _0x565f01=_0x455b68>0x1?void 0x0:_0x455b68?S(_0x4117ef,_0x1223a8):_0x4117ef,_0x45746c=_0x2ac57c['length']-0x1,_0x52a109;_0x45746c>=0x0;_0x45746c--)(_0x52a109=_0x2ac57c[_0x45746c])&&(_0x565f01=_0x52a109(_0x565f01)||_0x565f01);return _0x565f01;},s=(_0x361c8c,_0x36a032)=>(_0x12259b,_0x141c28)=>_0x36a032(_0x12259b,_0x141c28,_0x361c8c);exports[_0x51c909(0x196)]=class extends l['FBase']{constructor(_0x3b174d,_0x4f81ec,_0x51d121,_0x47e001,_0x4bfb26){var _0x3e2525=_0x51c909;super(),this['_handler']=_0x3b174d,this[_0x3e2525(0x19b)]=_0x4f81ec,this[_0x3e2525(0x17f)]=_0x51d121,this[_0x3e2525(0x18e)]=_0x47e001,this[_0x3e2525(0x184)]=_0x4bfb26;}async[_0x51c909(0x185)](){var _0x5191f9=_0x51c909;return this[_0x5191f9(0x177)]();}async[_0x51c909(0x177)](){var _0x26af80=_0x51c909;throw new Error(_0x26af80(0x18f));}async[_0x51c909(0x199)](_0x2805c8){return this['loadSheetAsync'](_0x2805c8);}async[_0x51c909(0x198)](_0x4e151e,_0x12a7a0){var _0x415318=_0x51c909;return await this[_0x415318(0x18e)][_0x415318(0x199)](_0x4e151e,0x0,_0x12a7a0)?(await this[_0x415318(0x184)][_0x415318(0x178)](_0x4e151e),this['_handler'][_0x415318(0x18c)](_0x4e151e)):null;}[_0x51c909(0x179)](_0x35dc17,_0xaf868c){var _0x49d21e=_0x51c909;const _0x3d8360=this['_injector'][_0x49d21e(0x192)](c[_0x49d21e(0x17a)])[_0x49d21e(0x18d)](_0x35dc17)['pipe'](b[_0x49d21e(0x173)](_0x153884=>_0x153884['members$']))[_0x49d21e(0x189)](_0x383f76=>_0xaf868c(Array[_0x49d21e(0x175)](_0x383f76[_0x49d21e(0x176)]())));return i[_0x49d21e(0x195)](_0x3d8360);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0x51c909(0x191)])),s(0x2,i[_0x51c909(0x183)]),s(0x3,i[_0x51c909(0x19c)](v[_0x51c909(0x181)])),s(0x4,i[_0x51c909(0x19c)](c[_0x51c909(0x19e)]))],exports['FCollaboration']);class u extends l[_0x51c909(0x197)]{[_0x51c909(0x190)](){var _0x48fb1d=_0x51c909;return this[_0x48fb1d(0x19b)]['createInstance'](exports[_0x48fb1d(0x196)],{'getUniverSheet':_0x92a31a=>this[_0x48fb1d(0x18c)](_0x92a31a)});}[_0x51c909(0x18b)](_0x1f3b02,_0x3a8dd3,_0x41b19d){var _0xaa8a42=_0x51c909;return this[_0xaa8a42(0x19b)][_0xaa8a42(0x182)](c[_0xaa8a42(0x186)])['loadUnit'](_0x1f3b02,_0x3a8dd3,_0x41b19d);}}l[_0x51c909(0x197)]['extend'](u);