@univerjs-pro/collaboration-client 0.6.7-experimental.20250326-6499c07 → 0.6.7-experimental.20250328-21e0bec

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/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4e80(_0x217e79,_0x37eaa8){var _0x1c2c28=_0x1c2c();return _0x4e80=function(_0x4e80f3,_0x1f92c8){_0x4e80f3=_0x4e80f3-0x127;var _0x2cad24=_0x1c2c28[_0x4e80f3];return _0x2cad24;},_0x4e80(_0x217e79,_0x37eaa8);}function _0x1c2c(){var _0x25a55b=['CollaborationController','defineProperty','FUniver','loadSheet','subscribe','values','SnapshotService','@univerjs/core/facade','toStringTag','1040HhPELG','UniverProCollaborationClientFacade','loadActiveSheet','Module','66LwSTip','FBase','FCollaboration','UniverCoreFacade','8490kLpUrG','1017kVgqDJ','@univerjs-pro/collaboration','_injector','from','12GUFzQA','loadSheetAsync','toDisposable','18gaMTTN','extend','72944LVbMZz','Injector','2103910tieaFI','waitForRoom$','Inject','UniverCore','object','function','getUniverSheet','pipe','IUniverInstanceService','UniverProCollaborationClient','subscribeCollaborators','loadUnit','114tbgJfT','_handler','switchMap','MemberService','createInstance','147251LiDHuv','loadActiveSheetAsync','loadServerUnit','39424437dVzpjA','getCollaboration','@univerjs/core','exports','15890MFamin','_univerInstanceService','rxjs','getOwnPropertyDescriptor','_collaborationController','1851381SiDfVv','readyForCollab'];_0x1c2c=function(){return _0x25a55b;};return _0x1c2c();}(function(_0x1eed69,_0x3aff61){var _0x9f55f7=_0x4e80,_0x11845e=_0x1eed69();while(!![]){try{var _0x24a6a1=parseInt(_0x9f55f7(0x156))/0x1*(-parseInt(_0x9f55f7(0x141))/0x2)+-parseInt(_0x9f55f7(0x139))/0x3*(parseInt(_0x9f55f7(0x131))/0x4)+parseInt(_0x9f55f7(0x15d))/0x5*(-parseInt(_0x9f55f7(0x151))/0x6)+-parseInt(_0x9f55f7(0x162))/0x7+parseInt(_0x9f55f7(0x143))/0x8*(-parseInt(_0x9f55f7(0x13a))/0x9)+parseInt(_0x9f55f7(0x145))/0xa*(parseInt(_0x9f55f7(0x135))/0xb)+parseInt(_0x9f55f7(0x13e))/0xc*(parseInt(_0x9f55f7(0x159))/0xd);if(_0x24a6a1===_0x3aff61)break;else _0x11845e['push'](_0x11845e['shift']());}catch(_0x38bfeb){_0x11845e['push'](_0x11845e['shift']());}}}(_0x1c2c,0xd6891),function(_0x2e10b0,_0x2e59a1){var _0xa5ccc3=_0x4e80;typeof exports==_0xa5ccc3(0x149)&&typeof module<'u'?_0x2e59a1(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require(_0xa5ccc3(0x13b)),require(_0xa5ccc3(0x15b)),require(_0xa5ccc3(0x15f))):typeof define==_0xa5ccc3(0x14a)&&define['amd']?define([_0xa5ccc3(0x15c),'@univerjs-pro/collaboration-client',_0xa5ccc3(0x12f),_0xa5ccc3(0x13b),_0xa5ccc3(0x15b),_0xa5ccc3(0x15f)],_0x2e59a1):(_0x2e10b0=typeof globalThis<'u'?globalThis:_0x2e10b0||self,_0x2e59a1(_0x2e10b0[_0xa5ccc3(0x132)]={},_0x2e10b0[_0xa5ccc3(0x14e)],_0x2e10b0[_0xa5ccc3(0x138)],_0x2e10b0['UniverProCollaboration'],_0x2e10b0[_0xa5ccc3(0x148)],_0x2e10b0[_0xa5ccc3(0x15f)]));}(this,function(_0x151da9,_0x12e365,_0x24cea2,_0x3c1233,_0x3b2b53,_0x227e84){'use strict';var _0x377649=_0x4e80;var _0x1705cd=Object[_0x377649(0x160)],_0x17fb36=(_0x4d4aef,_0x487725,_0x4b0bcb,_0x494c02)=>{for(var _0x54e836=_0x494c02>0x1?void 0x0:_0x494c02?_0x1705cd(_0x487725,_0x4b0bcb):_0x487725,_0x4a7126=_0x4d4aef['length']-0x1,_0x56ff43;_0x4a7126>=0x0;_0x4a7126--)(_0x56ff43=_0x4d4aef[_0x4a7126])&&(_0x54e836=_0x56ff43(_0x54e836)||_0x54e836);return _0x54e836;},_0x54546c=(_0x191b1b,_0x13d674)=>(_0x2f6872,_0x3845e4)=>_0x13d674(_0x2f6872,_0x3845e4,_0x191b1b);_0x151da9[_0x377649(0x137)]=class extends _0x24cea2[_0x377649(0x136)]{constructor(_0x7623f5,_0x14595f,_0x24e845,_0x29b8d5,_0x5c8a55){var _0x14f3e6=_0x377649;super(),this[_0x14f3e6(0x152)]=_0x7623f5,this[_0x14f3e6(0x13c)]=_0x14595f,this[_0x14f3e6(0x15e)]=_0x24e845,this['_snapshotService']=_0x29b8d5,this['_collaborationController']=_0x5c8a55;}async[_0x377649(0x133)](){var _0x542d39=_0x377649;return this[_0x542d39(0x157)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x377649(0x12b)](_0x4be21b){var _0x17d122=_0x377649;return this[_0x17d122(0x13f)](_0x4be21b);}async[_0x377649(0x13f)](_0x1be16d,_0x33dcb2){var _0x569290=_0x377649;return await this['_snapshotService'][_0x569290(0x12b)](_0x1be16d,0x0,_0x33dcb2)?(await this[_0x569290(0x161)][_0x569290(0x127)](_0x1be16d),this[_0x569290(0x152)][_0x569290(0x14b)](_0x1be16d)):null;}[_0x377649(0x14f)](_0x50ce69,_0x5e9b06){var _0x1fe1ad=_0x377649;const _0x1facc8=this[_0x1fe1ad(0x13c)]['get'](_0x12e365[_0x1fe1ad(0x154)])[_0x1fe1ad(0x146)](_0x50ce69)[_0x1fe1ad(0x14c)](_0x227e84[_0x1fe1ad(0x153)](_0x3db728=>_0x3db728['members$']))[_0x1fe1ad(0x12c)](_0x503687=>_0x5e9b06(Array[_0x1fe1ad(0x13d)](_0x503687[_0x1fe1ad(0x12d)]())));return _0x3b2b53[_0x1fe1ad(0x140)](_0x1facc8);}},_0x151da9[_0x377649(0x137)]=_0x17fb36([_0x54546c(0x1,_0x3b2b53[_0x377649(0x147)](_0x3b2b53[_0x377649(0x144)])),_0x54546c(0x2,_0x3b2b53[_0x377649(0x14d)]),_0x54546c(0x3,_0x3b2b53[_0x377649(0x147)](_0x3c1233[_0x377649(0x12e)])),_0x54546c(0x4,_0x3b2b53['Inject'](_0x12e365[_0x377649(0x128)]))],_0x151da9[_0x377649(0x137)]);class _0x12c137 extends _0x24cea2[_0x377649(0x12a)]{[_0x377649(0x15a)](){var _0x52bf95=_0x377649;return this[_0x52bf95(0x13c)]['createInstance'](_0x151da9['FCollaboration'],{'getUniverSheet':_0x238b33=>this[_0x52bf95(0x14b)](_0x238b33)});}[_0x377649(0x158)](_0x1fbedb,_0x3597c1,_0x20345b){var _0x290f56=_0x377649;return this['_injector'][_0x290f56(0x155)](_0x12e365['DataLoaderService'])[_0x290f56(0x150)](_0x1fbedb,_0x3597c1,_0x20345b);}}_0x24cea2[_0x377649(0x12a)][_0x377649(0x142)](_0x12c137),Object[_0x377649(0x129)](_0x151da9,Symbol[_0x377649(0x130)],{'value':_0x377649(0x134)});}));
1
+ function _0x3eaa(_0x4c0149,_0xc69b53){var _0x19dcf9=_0x19dc();return _0x3eaa=function(_0x3eaa83,_0x2fc66d){_0x3eaa83=_0x3eaa83-0x1bc;var _0x33cb60=_0x19dcf9[_0x3eaa83];return _0x33cb60;},_0x3eaa(_0x4c0149,_0xc69b53);}(function(_0x194972,_0x2e73fc){var _0x2e9bff=_0x3eaa,_0x2314fd=_0x194972();while(!![]){try{var _0x126221=-parseInt(_0x2e9bff(0x1c6))/0x1+parseInt(_0x2e9bff(0x1e0))/0x2*(-parseInt(_0x2e9bff(0x1f8))/0x3)+-parseInt(_0x2e9bff(0x1c0))/0x4+-parseInt(_0x2e9bff(0x1c5))/0x5+-parseInt(_0x2e9bff(0x1ec))/0x6*(-parseInt(_0x2e9bff(0x1d6))/0x7)+parseInt(_0x2e9bff(0x1d9))/0x8*(-parseInt(_0x2e9bff(0x1e2))/0x9)+parseInt(_0x2e9bff(0x1bc))/0xa*(parseInt(_0x2e9bff(0x1ca))/0xb);if(_0x126221===_0x2e73fc)break;else _0x2314fd['push'](_0x2314fd['shift']());}catch(_0x22c5b1){_0x2314fd['push'](_0x2314fd['shift']());}}}(_0x19dc,0xede00),function(_0x57ab6f,_0x2e7d05){var _0x131915=_0x3eaa;typeof exports==_0x131915(0x1cb)&&typeof module<'u'?_0x2e7d05(exports,require(_0x131915(0x1bd)),require(_0x131915(0x1d7)),require(_0x131915(0x1f7)),require(_0x131915(0x1c2)),require(_0x131915(0x1e5))):typeof define==_0x131915(0x1bf)&&define[_0x131915(0x1f6)]?define([_0x131915(0x1da),_0x131915(0x1bd),'@univerjs/core/facade',_0x131915(0x1f7),'@univerjs/core',_0x131915(0x1e5)],_0x2e7d05):(_0x57ab6f=typeof globalThis<'u'?globalThis:_0x57ab6f||self,_0x2e7d05(_0x57ab6f['UniverProCollaborationClientFacade']={},_0x57ab6f['UniverProCollaborationClient'],_0x57ab6f[_0x131915(0x1d5)],_0x57ab6f[_0x131915(0x1c3)],_0x57ab6f[_0x131915(0x1ce)],_0x57ab6f[_0x131915(0x1e5)]));}(this,function(_0x268dae,_0x4060b6,_0xa0a320,_0x4b4c52,_0x1db3ba,_0x5ab4f1){'use strict';var _0x25e2bd=_0x3eaa;var _0x486355=Object[_0x25e2bd(0x1d2)],_0xa49f9c=(_0x35f9d2,_0x148746,_0x913573,_0x3fbf6b)=>{var _0x1e5fea=_0x25e2bd;for(var _0x3b4edd=_0x3fbf6b>0x1?void 0x0:_0x3fbf6b?_0x486355(_0x148746,_0x913573):_0x148746,_0x268d61=_0x35f9d2[_0x1e5fea(0x1ef)]-0x1,_0x10e858;_0x268d61>=0x0;_0x268d61--)(_0x10e858=_0x35f9d2[_0x268d61])&&(_0x3b4edd=_0x10e858(_0x3b4edd)||_0x3b4edd);return _0x3b4edd;},_0x34c377=(_0x10d2cf,_0x2cf2c8)=>(_0x4684b8,_0x1b4354)=>_0x2cf2c8(_0x4684b8,_0x1b4354,_0x10d2cf);_0x268dae[_0x25e2bd(0x1e3)]=class extends _0xa0a320[_0x25e2bd(0x1e9)]{constructor(_0x46d290,_0x4d6667,_0x1bad74,_0x27339a,_0xd218cd){var _0x3ec076=_0x25e2bd;super(),this[_0x3ec076(0x1f2)]=_0x46d290,this[_0x3ec076(0x1e8)]=_0x4d6667,this[_0x3ec076(0x1ea)]=_0x1bad74,this[_0x3ec076(0x1f3)]=_0x27339a,this[_0x3ec076(0x1d1)]=_0xd218cd;}async[_0x25e2bd(0x1de)](){var _0x59d9e8=_0x25e2bd;return this[_0x59d9e8(0x1ee)]();}async[_0x25e2bd(0x1ee)](){var _0x8dcb6e=_0x25e2bd;throw new Error(_0x8dcb6e(0x1d4));}async[_0x25e2bd(0x1f1)](_0x483271){var _0x48b3d7=_0x25e2bd;return this[_0x48b3d7(0x1c9)](_0x483271);}async['loadSheetAsync'](_0x2de81d,_0x144330){var _0x44004f=_0x25e2bd;return await this[_0x44004f(0x1f3)][_0x44004f(0x1f1)](_0x2de81d,0x0,_0x144330)?(await this['_collaborationController'][_0x44004f(0x1c4)](_0x2de81d),this['_handler'][_0x44004f(0x1be)](_0x2de81d)):null;}['subscribeCollaborators'](_0x16126f,_0xee01a6){var _0x24a5b6=_0x25e2bd;const _0x4e92ac=this[_0x24a5b6(0x1e8)][_0x24a5b6(0x1c7)](_0x4060b6[_0x24a5b6(0x1cd)])[_0x24a5b6(0x1c1)](_0x16126f)[_0x24a5b6(0x1f5)](_0x5ab4f1['switchMap'](_0x2aca9f=>_0x2aca9f['members$']))[_0x24a5b6(0x1cf)](_0x1527f8=>_0xee01a6(Array[_0x24a5b6(0x1eb)](_0x1527f8[_0x24a5b6(0x1dd)]())));return _0x1db3ba[_0x24a5b6(0x1ed)](_0x4e92ac);}},_0x268dae[_0x25e2bd(0x1e3)]=_0xa49f9c([_0x34c377(0x1,_0x1db3ba['Inject'](_0x1db3ba['Injector'])),_0x34c377(0x2,_0x1db3ba[_0x25e2bd(0x1e7)]),_0x34c377(0x3,_0x1db3ba[_0x25e2bd(0x1e4)](_0x4b4c52[_0x25e2bd(0x1d8)])),_0x34c377(0x4,_0x1db3ba[_0x25e2bd(0x1e4)](_0x4060b6[_0x25e2bd(0x1e6)]))],_0x268dae[_0x25e2bd(0x1e3)]);class _0x25a86b extends _0xa0a320[_0x25e2bd(0x1f0)]{[_0x25e2bd(0x1df)](){var _0x2f29c2=_0x25e2bd;return this['_injector'][_0x2f29c2(0x1cc)](_0x268dae[_0x2f29c2(0x1e3)],{'getUniverSheet':_0x701159=>this['getUniverSheet'](_0x701159)});}[_0x25e2bd(0x1dc)](_0x4d0137,_0x2dcd7a,_0x445c14){var _0x4d1976=_0x25e2bd;return this[_0x4d1976(0x1e8)][_0x4d1976(0x1cc)](_0x4060b6[_0x4d1976(0x1db)])[_0x4d1976(0x1d3)](_0x4d0137,_0x2dcd7a,_0x445c14);}}_0xa0a320['FUniver'][_0x25e2bd(0x1e1)](_0x25a86b),Object[_0x25e2bd(0x1d0)](_0x268dae,Symbol[_0x25e2bd(0x1f4)],{'value':_0x25e2bd(0x1c8)});}));function _0x19dc(){var _0xd01b42=['createInstance','MemberService','UniverCore','subscribe','defineProperty','_collaborationController','getOwnPropertyDescriptor','loadUnit','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','UniverCoreFacade','14AhrrXT','@univerjs/core/facade','SnapshotService','8vVidOo','exports','DataLoaderService','loadServerUnit','values','loadActiveSheet','getCollaboration','3716092oVLZtT','extend','17192781cQoUCE','FCollaboration','Inject','rxjs','CollaborationController','IUniverInstanceService','_injector','FBase','_univerInstanceService','from','1305192aujnjb','toDisposable','loadActiveSheetAsync','length','FUniver','loadSheet','_handler','_snapshotService','toStringTag','pipe','amd','@univerjs-pro/collaboration','3jHvlKq','90guTLfv','@univerjs-pro/collaboration-client','getUniverSheet','function','6051000OvmJsK','waitForRoom$','@univerjs/core','UniverProCollaboration','readyForCollab','7609540TuWoiM','854096IOCCcC','get','Module','loadSheetAsync','10017799hbtvHz','object'];_0x19dc=function(){return _0xd01b42;};return _0x19dc();}