@univerjs-pro/collaboration-client 0.6.7-experimental.20250326-6499c07 → 0.6.7-nightly.202503261607

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 _0x5662(_0x2fb91f,_0x384a68){var _0x145f2a=_0x145f();return _0x5662=function(_0x5662b4,_0x43083d){_0x5662b4=_0x5662b4-0x8f;var _0x3ed268=_0x145f2a[_0x5662b4];return _0x3ed268;},_0x5662(_0x2fb91f,_0x384a68);}function _0x145f(){var _0xcd6519=['FBase','getOwnPropertyDescriptor','_snapshotService','createInstance','_injector','2DentRf','members$','21pAepTt','loadActiveSheet','get','SnapshotService','1860993hEgnYK','pipe','_handler','UniverProCollaborationClientFacade','from','waitForRoom$','rxjs','581418lukBxE','function','toDisposable','5970oNqevv','4872606PhIFvI','length','loadSheet','loadSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','2163192KPbKrJ','defineProperty','loadActiveSheetAsync','extend','UniverProCollaborationClient','@univerjs/core','FCollaboration','Inject','DataLoaderService','@univerjs/core/facade','getUniverSheet','UniverCore','21215kyxmwY','MemberService','_univerInstanceService','@univerjs-pro/collaboration','UniverCoreFacade','6937502goSUjd','@univerjs-pro/collaboration-client','472LWAAVg','8352eVoBLn','exports','readyForCollab','FUniver','CollaborationController'];_0x145f=function(){return _0xcd6519;};return _0x145f();}(function(_0x1e0b2f,_0x2efe4b){var _0x2b4736=_0x5662,_0x57e010=_0x1e0b2f();while(!![]){try{var _0xee88aa=-parseInt(_0x2b4736(0xa0))/0x1+-parseInt(_0x2b4736(0x93))/0x2*(-parseInt(_0x2b4736(0x99))/0x3)+parseInt(_0x2b4736(0xbc))/0x4*(parseInt(_0x2b4736(0xb5))/0x5)+parseInt(_0x2b4736(0xa4))/0x6+parseInt(_0x2b4736(0x95))/0x7*(-parseInt(_0x2b4736(0xa9))/0x8)+parseInt(_0x2b4736(0xbd))/0x9*(parseInt(_0x2b4736(0xa3))/0xa)+-parseInt(_0x2b4736(0xba))/0xb;if(_0xee88aa===_0x2efe4b)break;else _0x57e010['push'](_0x57e010['shift']());}catch(_0x49d9ff){_0x57e010['push'](_0x57e010['shift']());}}}(_0x145f,0x713d1),function(_0x2a1812,_0xfc7cf4){var _0x24eb4b=_0x5662;typeof exports=='object'&&typeof module<'u'?_0xfc7cf4(exports,require(_0x24eb4b(0xbb)),require(_0x24eb4b(0xb2)),require(_0x24eb4b(0xb8)),require(_0x24eb4b(0xae)),require(_0x24eb4b(0x9f))):typeof define==_0x24eb4b(0xa1)&&define['amd']?define([_0x24eb4b(0xbe),_0x24eb4b(0xbb),_0x24eb4b(0xb2),'@univerjs-pro/collaboration',_0x24eb4b(0xae),_0x24eb4b(0x9f)],_0xfc7cf4):(_0x2a1812=typeof globalThis<'u'?globalThis:_0x2a1812||self,_0xfc7cf4(_0x2a1812[_0x24eb4b(0x9c)]={},_0x2a1812[_0x24eb4b(0xad)],_0x2a1812[_0x24eb4b(0xb9)],_0x2a1812['UniverProCollaboration'],_0x2a1812[_0x24eb4b(0xb4)],_0x2a1812[_0x24eb4b(0x9f)]));}(this,function(_0x1c1306,_0x94e907,_0x3260e1,_0x548fe4,_0x3df787,_0x12e495){'use strict';var _0x399b8c=_0x5662;var _0x1b5515=Object[_0x399b8c(0x8f)],_0x43ff32=(_0xe1c8cb,_0xcab88e,_0x352aa8,_0x57996f)=>{var _0x5551d2=_0x399b8c;for(var _0x4e5a9a=_0x57996f>0x1?void 0x0:_0x57996f?_0x1b5515(_0xcab88e,_0x352aa8):_0xcab88e,_0x3b40ce=_0xe1c8cb[_0x5551d2(0xa5)]-0x1,_0x24061d;_0x3b40ce>=0x0;_0x3b40ce--)(_0x24061d=_0xe1c8cb[_0x3b40ce])&&(_0x4e5a9a=_0x24061d(_0x4e5a9a)||_0x4e5a9a);return _0x4e5a9a;},_0xf5469d=(_0x598a09,_0x269eeb)=>(_0x277680,_0x2f8d9e)=>_0x269eeb(_0x277680,_0x2f8d9e,_0x598a09);_0x1c1306['FCollaboration']=class extends _0x3260e1[_0x399b8c(0xc2)]{constructor(_0x2e2cc7,_0x342c61,_0x5e9fa5,_0x30a750,_0x27a9fa){var _0x1990ab=_0x399b8c;super(),this[_0x1990ab(0x9b)]=_0x2e2cc7,this[_0x1990ab(0x92)]=_0x342c61,this[_0x1990ab(0xb7)]=_0x5e9fa5,this[_0x1990ab(0x90)]=_0x30a750,this['_collaborationController']=_0x27a9fa;}async[_0x399b8c(0x96)](){var _0x5931ca=_0x399b8c;return this[_0x5931ca(0xab)]();}async[_0x399b8c(0xab)](){var _0x55c87b=_0x399b8c;throw new Error(_0x55c87b(0xa8));}async[_0x399b8c(0xa6)](_0x370815){var _0x1cb47d=_0x399b8c;return this[_0x1cb47d(0xa7)](_0x370815);}async[_0x399b8c(0xa7)](_0x455628,_0x246ce3){var _0x16cec0=_0x399b8c;return await this[_0x16cec0(0x90)][_0x16cec0(0xa6)](_0x455628,0x0,_0x246ce3)?(await this['_collaborationController'][_0x16cec0(0xbf)](_0x455628),this[_0x16cec0(0x9b)]['getUniverSheet'](_0x455628)):null;}['subscribeCollaborators'](_0x3ad8dd,_0x523554){var _0x3b3300=_0x399b8c;const _0x59a675=this['_injector'][_0x3b3300(0x97)](_0x94e907[_0x3b3300(0xb6)])[_0x3b3300(0x9e)](_0x3ad8dd)[_0x3b3300(0x9a)](_0x12e495['switchMap'](_0x65a6ec=>_0x65a6ec[_0x3b3300(0x94)]))['subscribe'](_0x12f28a=>_0x523554(Array[_0x3b3300(0x9d)](_0x12f28a['values']())));return _0x3df787[_0x3b3300(0xa2)](_0x59a675);}},_0x1c1306[_0x399b8c(0xaf)]=_0x43ff32([_0xf5469d(0x1,_0x3df787[_0x399b8c(0xb0)](_0x3df787['Injector'])),_0xf5469d(0x2,_0x3df787['IUniverInstanceService']),_0xf5469d(0x3,_0x3df787['Inject'](_0x548fe4[_0x399b8c(0x98)])),_0xf5469d(0x4,_0x3df787['Inject'](_0x94e907[_0x399b8c(0xc1)]))],_0x1c1306['FCollaboration']);class _0x421611 extends _0x3260e1[_0x399b8c(0xc0)]{['getCollaboration'](){var _0x18ce18=_0x399b8c;return this[_0x18ce18(0x92)]['createInstance'](_0x1c1306[_0x18ce18(0xaf)],{'getUniverSheet':_0x4fc114=>this[_0x18ce18(0xb3)](_0x4fc114)});}['loadServerUnit'](_0x5e33f5,_0x23d100,_0x4906e2){var _0x1e59fb=_0x399b8c;return this[_0x1e59fb(0x92)][_0x1e59fb(0x91)](_0x94e907[_0x1e59fb(0xb1)])['loadUnit'](_0x5e33f5,_0x23d100,_0x4906e2);}}_0x3260e1[_0x399b8c(0xc0)][_0x399b8c(0xac)](_0x421611),Object[_0x399b8c(0xaa)](_0x1c1306,Symbol['toStringTag'],{'value':'Module'});}));