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

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';function _0x5646(){var _0x1fb45e=['getOwnPropertyDescriptor','createInstance','DataLoaderService','switchMap','_handler','IUniverInstanceService','members$','136610ejKywo','subscribeCollaborators','toDisposable','@univerjs-pro/collaboration','values','subscribe','Inject','6936wYaWav','_snapshotService','loadSheet','1089162QnOULo','@univerjs/core','FCollaboration','extend','SnapshotService','getUniverSheet','Injector','length','_injector','loadServerUnit','1845016LCQwpo','84KwUTyQ','9WsEuGQ','366070RCTQMl','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','loadSheetAsync','441LsCvqu','200530XlbARa','loadUnit','pipe','get','79674eUazvz','defineProperty','getCollaboration','@univerjs/core/facade','_collaborationController','@univerjs-pro/collaboration-client','CollaborationController','FBase'];_0x5646=function(){return _0x1fb45e;};return _0x5646();}var _0xf6bfc9=_0x6415;(function(_0x2163a3,_0x1a3cef){var _0xb54a72=_0x6415,_0x3f8a9c=_0x2163a3();while(!![]){try{var _0x3987e0=parseInt(_0xb54a72(0x1c5))/0x1+-parseInt(_0xb54a72(0x1d4))/0x2*(-parseInt(_0xb54a72(0x1ba))/0x3)+parseInt(_0xb54a72(0x1b8))/0x4+-parseInt(_0xb54a72(0x1c1))/0x5*(parseInt(_0xb54a72(0x1b9))/0x6)+-parseInt(_0xb54a72(0x1c0))/0x7*(-parseInt(_0xb54a72(0x1ab))/0x8)+parseInt(_0xb54a72(0x1ae))/0x9+-parseInt(_0xb54a72(0x1bb))/0xa;if(_0x3987e0===_0x1a3cef)break;else _0x3f8a9c['push'](_0x3f8a9c['shift']());}catch(_0x5b4f8f){_0x3f8a9c['push'](_0x3f8a9c['shift']());}}}(_0x5646,0x4ef3f));Object[_0xf6bfc9(0x1c6)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require(_0xf6bfc9(0x1ca)),l=require(_0xf6bfc9(0x1c8)),v=require(_0xf6bfc9(0x1a7)),i=require(_0xf6bfc9(0x1af)),b=require('rxjs');var S=Object[_0xf6bfc9(0x1cd)],d=(_0x540586,_0x50319a,_0x1ebf18,_0x2f985a)=>{var _0x4823c6=_0xf6bfc9;for(var _0x1f3515=_0x2f985a>0x1?void 0x0:_0x2f985a?S(_0x50319a,_0x1ebf18):_0x50319a,_0x253c5e=_0x540586[_0x4823c6(0x1b5)]-0x1,_0x1ae593;_0x253c5e>=0x0;_0x253c5e--)(_0x1ae593=_0x540586[_0x253c5e])&&(_0x1f3515=_0x1ae593(_0x1f3515)||_0x1f3515);return _0x1f3515;},s=(_0x675e2d,_0x1edc37)=>(_0x1b705c,_0x53950f)=>_0x1edc37(_0x1b705c,_0x53950f,_0x675e2d);function _0x6415(_0x2b4d05,_0x2e34ab){var _0x5646cb=_0x5646();return _0x6415=function(_0x6415e1,_0x3784a5){_0x6415e1=_0x6415e1-0x1a7;var _0x56e84c=_0x5646cb[_0x6415e1];return _0x56e84c;},_0x6415(_0x2b4d05,_0x2e34ab);}exports[_0xf6bfc9(0x1b0)]=class extends l[_0xf6bfc9(0x1cc)]{constructor(_0x49cff3,_0x409dc6,_0x10f7f1,_0x165f05,_0x35fd37){var _0x4eec61=_0xf6bfc9;super(),this[_0x4eec61(0x1d1)]=_0x49cff3,this[_0x4eec61(0x1b6)]=_0x409dc6,this['_univerInstanceService']=_0x10f7f1,this[_0x4eec61(0x1ac)]=_0x165f05,this[_0x4eec61(0x1c9)]=_0x35fd37;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x30de51=_0xf6bfc9;throw new Error(_0x30de51(0x1bd));}async[_0xf6bfc9(0x1ad)](_0x31c2ef){var _0x7ab339=_0xf6bfc9;return this[_0x7ab339(0x1bf)](_0x31c2ef);}async[_0xf6bfc9(0x1bf)](_0x5e4c4d,_0x15d559){var _0x250dbe=_0xf6bfc9;return await this[_0x250dbe(0x1ac)][_0x250dbe(0x1ad)](_0x5e4c4d,0x0,_0x15d559)?(await this[_0x250dbe(0x1c9)]['readyForCollab'](_0x5e4c4d),this[_0x250dbe(0x1d1)][_0x250dbe(0x1b3)](_0x5e4c4d)):null;}[_0xf6bfc9(0x1d5)](_0xc9431d,_0x316fec){var _0x47c9e5=_0xf6bfc9;const _0x43db30=this[_0x47c9e5(0x1b6)][_0x47c9e5(0x1c4)](c[_0x47c9e5(0x1bc)])['waitForRoom$'](_0xc9431d)[_0x47c9e5(0x1c3)](b[_0x47c9e5(0x1d0)](_0x2c8113=>_0x2c8113[_0x47c9e5(0x1d3)]))[_0x47c9e5(0x1a9)](_0x291a6a=>_0x316fec(Array['from'](_0x291a6a[_0x47c9e5(0x1a8)]())));return i[_0x47c9e5(0x1d6)](_0x43db30);}},exports[_0xf6bfc9(0x1b0)]=d([s(0x1,i[_0xf6bfc9(0x1aa)](i[_0xf6bfc9(0x1b4)])),s(0x2,i[_0xf6bfc9(0x1d2)]),s(0x3,i[_0xf6bfc9(0x1aa)](v[_0xf6bfc9(0x1b2)])),s(0x4,i[_0xf6bfc9(0x1aa)](c[_0xf6bfc9(0x1cb)]))],exports['FCollaboration']);class u extends l[_0xf6bfc9(0x1be)]{[_0xf6bfc9(0x1c7)](){var _0x257f29=_0xf6bfc9;return this[_0x257f29(0x1b6)][_0x257f29(0x1ce)](exports[_0x257f29(0x1b0)],{'getUniverSheet':_0x21d276=>this[_0x257f29(0x1b3)](_0x21d276)});}[_0xf6bfc9(0x1b7)](_0x378a96,_0xcafe3,_0x5aa8c5){var _0x5bd133=_0xf6bfc9;return this[_0x5bd133(0x1b6)][_0x5bd133(0x1ce)](c[_0x5bd133(0x1cf)])[_0x5bd133(0x1c2)](_0x378a96,_0xcafe3,_0x5aa8c5);}}l[_0xf6bfc9(0x1be)][_0xf6bfc9(0x1b1)](u);