@univerjs-pro/collaboration-client 0.6.7-nightly.202503281607 → 0.6.7-nightly.202503291606

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 _0x20bb(_0x171dea,_0xdc91a4){var _0x1fdac2=_0x1fda();return _0x20bb=function(_0x20bb5f,_0x20047c){_0x20bb5f=_0x20bb5f-0x14b;var _0x43e206=_0x1fdac2[_0x20bb5f];return _0x43e206;},_0x20bb(_0x171dea,_0xdc91a4);}var _0x117bc8=_0x20bb;(function(_0x5584e8,_0x1cec36){var _0x5d27ca=_0x20bb,_0x67a0af=_0x5584e8();while(!![]){try{var _0x572555=parseInt(_0x5d27ca(0x157))/0x1*(parseInt(_0x5d27ca(0x178))/0x2)+-parseInt(_0x5d27ca(0x14d))/0x3*(parseInt(_0x5d27ca(0x183))/0x4)+-parseInt(_0x5d27ca(0x14e))/0x5*(parseInt(_0x5d27ca(0x151))/0x6)+-parseInt(_0x5d27ca(0x154))/0x7*(-parseInt(_0x5d27ca(0x159))/0x8)+-parseInt(_0x5d27ca(0x158))/0x9*(-parseInt(_0x5d27ca(0x16c))/0xa)+-parseInt(_0x5d27ca(0x17b))/0xb+parseInt(_0x5d27ca(0x174))/0xc;if(_0x572555===_0x1cec36)break;else _0x67a0af['push'](_0x67a0af['shift']());}catch(_0x1e0a39){_0x67a0af['push'](_0x67a0af['shift']());}}}(_0x1fda,0x957a5));Object[_0x117bc8(0x177)](exports,Symbol[_0x117bc8(0x162)],{'value':_0x117bc8(0x17d)});const c=require(_0x117bc8(0x14f)),l=require(_0x117bc8(0x16e)),v=require(_0x117bc8(0x182)),i=require(_0x117bc8(0x14b)),b=require(_0x117bc8(0x176));var S=Object[_0x117bc8(0x170)],d=(_0x410b55,_0x858f70,_0x8b6444,_0x2a35c0)=>{var _0x21d684=_0x117bc8;for(var _0x1bd28f=_0x2a35c0>0x1?void 0x0:_0x2a35c0?S(_0x858f70,_0x8b6444):_0x858f70,_0x1d71be=_0x410b55[_0x21d684(0x15c)]-0x1,_0xf58161;_0x1d71be>=0x0;_0x1d71be--)(_0xf58161=_0x410b55[_0x1d71be])&&(_0x1bd28f=_0xf58161(_0x1bd28f)||_0x1bd28f);return _0x1bd28f;},s=(_0x46b6f4,_0x45b536)=>(_0x21f592,_0x5e0158)=>_0x45b536(_0x21f592,_0x5e0158,_0x46b6f4);function _0x1fda(){var _0x18610e=['Module','FUniver','loadSheetAsync','_injector','switchMap','@univerjs-pro/collaboration','20wDTCLQ','Inject','@univerjs/core','pipe','632442eFnyoY','145vZWrnS','@univerjs-pro/collaboration-client','loadActiveSheet','13242MTJVlw','IUniverInstanceService','_snapshotService','260932Zhlrfv','FCollaboration','_univerInstanceService','137mGVUFu','4941McoLbD','192bcHfva','Injector','subscribeCollaborators','length','waitForRoom$','readyForCollab','extend','values','_handler','toStringTag','CollaborationController','get','SnapshotService','getCollaboration','loadServerUnit','createInstance','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','DataLoaderService','7430osROJr','loadSheet','@univerjs/core/facade','from','getOwnPropertyDescriptor','FBase','members$','MemberService','10336476zIlAPc','toDisposable','rxjs','defineProperty','8942ELLiKa','loadActiveSheetAsync','_collaborationController','11507067payyBt','getUniverSheet'];_0x1fda=function(){return _0x18610e;};return _0x1fda();}exports['FCollaboration']=class extends l[_0x117bc8(0x171)]{constructor(_0x36bb47,_0x27712f,_0x428d77,_0x3df581,_0x37014b){var _0x54d7f3=_0x117bc8;super(),this[_0x54d7f3(0x161)]=_0x36bb47,this[_0x54d7f3(0x180)]=_0x27712f,this[_0x54d7f3(0x156)]=_0x428d77,this[_0x54d7f3(0x153)]=_0x3df581,this[_0x54d7f3(0x17a)]=_0x37014b;}async[_0x117bc8(0x150)](){var _0x59ab8=_0x117bc8;return this[_0x59ab8(0x179)]();}async['loadActiveSheetAsync'](){var _0xa92020=_0x117bc8;throw new Error(_0xa92020(0x16a));}async[_0x117bc8(0x16d)](_0x5ed4f2){var _0x2fc589=_0x117bc8;return this[_0x2fc589(0x17f)](_0x5ed4f2);}async[_0x117bc8(0x17f)](_0xaf64cc,_0x247dc1){var _0x1d8d0e=_0x117bc8;return await this[_0x1d8d0e(0x153)][_0x1d8d0e(0x16d)](_0xaf64cc,0x0,_0x247dc1)?(await this['_collaborationController'][_0x1d8d0e(0x15e)](_0xaf64cc),this[_0x1d8d0e(0x161)]['getUniverSheet'](_0xaf64cc)):null;}[_0x117bc8(0x15b)](_0x57f220,_0x4ae2ee){var _0x381e07=_0x117bc8;const _0x3eaad3=this[_0x381e07(0x180)][_0x381e07(0x164)](c[_0x381e07(0x173)])[_0x381e07(0x15d)](_0x57f220)[_0x381e07(0x14c)](b[_0x381e07(0x181)](_0x224b1d=>_0x224b1d[_0x381e07(0x172)]))[_0x381e07(0x169)](_0x2d94=>_0x4ae2ee(Array[_0x381e07(0x16f)](_0x2d94[_0x381e07(0x160)]())));return i[_0x381e07(0x175)](_0x3eaad3);}},exports[_0x117bc8(0x155)]=d([s(0x1,i[_0x117bc8(0x184)](i[_0x117bc8(0x15a)])),s(0x2,i[_0x117bc8(0x152)]),s(0x3,i[_0x117bc8(0x184)](v[_0x117bc8(0x165)])),s(0x4,i[_0x117bc8(0x184)](c[_0x117bc8(0x163)]))],exports['FCollaboration']);class u extends l[_0x117bc8(0x17e)]{[_0x117bc8(0x166)](){var _0x530314=_0x117bc8;return this['_injector'][_0x530314(0x168)](exports[_0x530314(0x155)],{'getUniverSheet':_0x598f51=>this[_0x530314(0x17c)](_0x598f51)});}[_0x117bc8(0x167)](_0xf8e157,_0x58c007,_0x1ac0c3){var _0x3aaea5=_0x117bc8;return this[_0x3aaea5(0x180)][_0x3aaea5(0x168)](c[_0x3aaea5(0x16b)])['loadUnit'](_0xf8e157,_0x58c007,_0x1ac0c3);}}l[_0x117bc8(0x17e)][_0x117bc8(0x15f)](u);
1
+ 'use strict';var _0x562042=_0x13fb;(function(_0x332b8c,_0x39c929){var _0x4443de=_0x13fb,_0x5a007a=_0x332b8c();while(!![]){try{var _0x483dd3=-parseInt(_0x4443de(0x1cd))/0x1+parseInt(_0x4443de(0x1c1))/0x2+-parseInt(_0x4443de(0x1cb))/0x3+parseInt(_0x4443de(0x1e2))/0x4*(-parseInt(_0x4443de(0x1bb))/0x5)+-parseInt(_0x4443de(0x1b9))/0x6+-parseInt(_0x4443de(0x1d3))/0x7+parseInt(_0x4443de(0x1de))/0x8;if(_0x483dd3===_0x39c929)break;else _0x5a007a['push'](_0x5a007a['shift']());}catch(_0x116395){_0x5a007a['push'](_0x5a007a['shift']());}}}(_0x299a,0xdce86));Object[_0x562042(0x1dd)](exports,Symbol[_0x562042(0x1d1)],{'value':_0x562042(0x1c0)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x562042(0x1e1)),v=require(_0x562042(0x1c9)),i=require(_0x562042(0x1df)),b=require(_0x562042(0x1b6));var S=Object[_0x562042(0x1d4)],d=(_0x45bec6,_0x4e0011,_0x16933a,_0x371e30)=>{for(var _0xecdc39=_0x371e30>0x1?void 0x0:_0x371e30?S(_0x4e0011,_0x16933a):_0x4e0011,_0x4dffa9=_0x45bec6['length']-0x1,_0x36a77d;_0x4dffa9>=0x0;_0x4dffa9--)(_0x36a77d=_0x45bec6[_0x4dffa9])&&(_0xecdc39=_0x36a77d(_0xecdc39)||_0xecdc39);return _0xecdc39;},s=(_0x4d4501,_0xb70efc)=>(_0x4729d3,_0x561a74)=>_0xb70efc(_0x4729d3,_0x561a74,_0x4d4501);exports['FCollaboration']=class extends l[_0x562042(0x1e0)]{constructor(_0x8826db,_0x3b1708,_0x1f3163,_0x18bbc6,_0x275dce){var _0x4ee4f4=_0x562042;super(),this[_0x4ee4f4(0x1da)]=_0x8826db,this[_0x4ee4f4(0x1bf)]=_0x3b1708,this[_0x4ee4f4(0x1cc)]=_0x1f3163,this['_snapshotService']=_0x18bbc6,this['_collaborationController']=_0x275dce;}async[_0x562042(0x1c7)](){var _0x37dfbf=_0x562042;return this[_0x37dfbf(0x1d7)]();}async[_0x562042(0x1d7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x562042(0x1bd)](_0x53007c){return this['loadSheetAsync'](_0x53007c);}async[_0x562042(0x1c4)](_0x50d37b,_0x5973d6){var _0x4f8908=_0x562042;return await this['_snapshotService'][_0x4f8908(0x1bd)](_0x50d37b,0x0,_0x5973d6)?(await this['_collaborationController']['readyForCollab'](_0x50d37b),this['_handler'][_0x4f8908(0x1be)](_0x50d37b)):null;}[_0x562042(0x1ca)](_0x4faa98,_0xaaf2fa){var _0x538f54=_0x562042;const _0x565adf=this['_injector'][_0x538f54(0x1b7)](c[_0x538f54(0x1ba)])[_0x538f54(0x1cf)](_0x4faa98)[_0x538f54(0x1ce)](b[_0x538f54(0x1b8)](_0x14df1f=>_0x14df1f[_0x538f54(0x1d2)]))[_0x538f54(0x1c8)](_0x37129d=>_0xaaf2fa(Array['from'](_0x37129d[_0x538f54(0x1dc)]())));return i[_0x538f54(0x1d9)](_0x565adf);}},exports[_0x562042(0x1c3)]=d([s(0x1,i[_0x562042(0x1b5)](i[_0x562042(0x1bc)])),s(0x2,i[_0x562042(0x1d0)]),s(0x3,i[_0x562042(0x1b5)](v['SnapshotService'])),s(0x4,i[_0x562042(0x1b5)](c[_0x562042(0x1e3)]))],exports['FCollaboration']);class u extends l[_0x562042(0x1d6)]{[_0x562042(0x1c2)](){var _0x59061f=_0x562042;return this[_0x59061f(0x1bf)][_0x59061f(0x1c6)](exports[_0x59061f(0x1c3)],{'getUniverSheet':_0x457d95=>this[_0x59061f(0x1be)](_0x457d95)});}[_0x562042(0x1db)](_0x59b4a7,_0x53c332,_0xb26521){var _0x82989c=_0x562042;return this[_0x82989c(0x1bf)][_0x82989c(0x1c6)](c[_0x82989c(0x1c5)])[_0x82989c(0x1d8)](_0x59b4a7,_0x53c332,_0xb26521);}}function _0x13fb(_0x642427,_0x4cde71){var _0x299a72=_0x299a();return _0x13fb=function(_0x13fb9b,_0x5a85a5){_0x13fb9b=_0x13fb9b-0x1b5;var _0x1b09ad=_0x299a72[_0x13fb9b];return _0x1b09ad;},_0x13fb(_0x642427,_0x4cde71);}l[_0x562042(0x1d6)][_0x562042(0x1d5)](u);function _0x299a(){var _0x36983f=['members$','10319442eZCxfZ','getOwnPropertyDescriptor','extend','FUniver','loadActiveSheetAsync','loadUnit','toDisposable','_handler','loadServerUnit','values','defineProperty','50271408Lcfpbc','@univerjs/core','FBase','@univerjs/core/facade','7095532Thtszt','CollaborationController','Inject','rxjs','get','switchMap','5719818woyQmX','MemberService','5JicBHZ','Injector','loadSheet','getUniverSheet','_injector','Module','1673896hTXnPs','getCollaboration','FCollaboration','loadSheetAsync','DataLoaderService','createInstance','loadActiveSheet','subscribe','@univerjs-pro/collaboration','subscribeCollaborators','834585gIinFX','_univerInstanceService','1736449FjwIqN','pipe','waitForRoom$','IUniverInstanceService','toStringTag'];_0x299a=function(){return _0x36983f;};return _0x299a();}