@univerjs-pro/collaboration-client 0.5.4-nightly.202501181605 → 0.5.4-nightly.202501191605

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 _0x2856ee=_0x4b1e;function _0x3486(){var _0x394bc0=['SnapshotService','from','extend','members$','values','1915680KLuQEg','FUniver','Injector','rxjs','_snapshotService','switchMap','length','_injector','5dTmuGl','CollaborationController','4683833GlqfSr','waitForRoom$','8SvxbvP','3033YzMgCb','getCollaboration','pipe','loadSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','4544573CyKfyg','loadActiveSheetAsync','toDisposable','defineProperty','getOwnPropertyDescriptor','subscribeCollaborators','subscribe','MemberService','FCollaboration','32993EmdPlo','loadSheet','Inject','UniverInstanceType','getUniverSheet','10soKsel','1521988DBOtXB','8843319LblSKQ','@univerjs-pro/collaboration-client','toStringTag','createInstance','loadActiveSheet','2116jquUEW','_handler'];_0x3486=function(){return _0x394bc0;};return _0x3486();}(function(_0x295509,_0x5212df){var _0xcb1a40=_0x4b1e,_0x3f834d=_0x295509();while(!![]){try{var _0x189158=parseInt(_0xcb1a40(0x19d))/0x1+parseInt(_0xcb1a40(0x1a3))/0x2+-parseInt(_0xcb1a40(0x18f))/0x3*(-parseInt(_0xcb1a40(0x17b))/0x4)+parseInt(_0xcb1a40(0x18a))/0x5*(parseInt(_0xcb1a40(0x182))/0x6)+parseInt(_0xcb1a40(0x18c))/0x7+-parseInt(_0xcb1a40(0x18e))/0x8*(parseInt(_0xcb1a40(0x1a4))/0x9)+-parseInt(_0xcb1a40(0x1a2))/0xa*(parseInt(_0xcb1a40(0x194))/0xb);if(_0x189158===_0x5212df)break;else _0x3f834d['push'](_0x3f834d['shift']());}catch(_0x315382){_0x3f834d['push'](_0x3f834d['shift']());}}}(_0x3486,0xe0f7f));function _0x4b1e(_0x558426,_0x295657){var _0x348663=_0x3486();return _0x4b1e=function(_0x4b1ef8,_0x33c6ed){_0x4b1ef8=_0x4b1ef8-0x177;var _0x5255f7=_0x348663[_0x4b1ef8];return _0x5255f7;},_0x4b1e(_0x558426,_0x295657);}Object['defineProperty'](exports,Symbol[_0x2856ee(0x178)],{'value':'Module'});const o=require('@univerjs/core'),h=require('@univerjs-pro/collaboration'),c=require(_0x2856ee(0x177)),b=require(_0x2856ee(0x185));var v=Object[_0x2856ee(0x197)],u=Object[_0x2856ee(0x198)],S=(_0x29d383,_0x3c2d34,_0x72324b,_0x48fe92)=>{var _0x31a1a7=_0x2856ee;for(var _0x18b80b=_0x48fe92>0x1?void 0x0:_0x48fe92?u(_0x3c2d34,_0x72324b):_0x3c2d34,_0x42dce2=_0x29d383[_0x31a1a7(0x188)]-0x1,_0x3ca212;_0x42dce2>=0x0;_0x42dce2--)(_0x3ca212=_0x29d383[_0x42dce2])&&(_0x18b80b=(_0x48fe92?_0x3ca212(_0x3c2d34,_0x72324b,_0x18b80b):_0x3ca212(_0x18b80b))||_0x18b80b);return _0x48fe92&&_0x18b80b&&v(_0x3c2d34,_0x72324b,_0x18b80b),_0x18b80b;},s=(_0x17f830,_0x1c4b90)=>(_0x1dab79,_0x2be336)=>_0x1c4b90(_0x1dab79,_0x2be336,_0x17f830);exports[_0x2856ee(0x19c)]=class extends o['FBase']{constructor(_0x381490,_0x466026,_0x5465f6,_0x1eadb5,_0x2a4ec3){var _0x17ea47=_0x2856ee;super(),this[_0x17ea47(0x17c)]=_0x381490,this[_0x17ea47(0x189)]=_0x466026,this['_univerInstanceService']=_0x5465f6,this[_0x17ea47(0x186)]=_0x1eadb5,this['_collaborationController']=_0x2a4ec3;}async[_0x2856ee(0x17a)](){var _0x270382=_0x2856ee;return this[_0x270382(0x195)]();}async[_0x2856ee(0x195)](){var _0x226407=_0x2856ee;throw new Error(_0x226407(0x193));}async[_0x2856ee(0x19e)](_0x1945a7){var _0x3d6cf7=_0x2856ee;return this[_0x3d6cf7(0x192)](_0x1945a7);}async[_0x2856ee(0x192)](_0x37615f){var _0x633d7b=_0x2856ee;return this['_univerInstanceService']['getUnit'](_0x37615f,o[_0x633d7b(0x1a0)]['UNIVER_SHEET'])||await this[_0x633d7b(0x186)]['loadSheet'](_0x37615f,0x0)?(await this['_collaborationController']['readyForCollab'](_0x37615f),this['_handler']['getUniverSheet'](_0x37615f)):null;}[_0x2856ee(0x199)](_0x1642f4,_0x5102a9){var _0x109656=_0x2856ee;const _0x41a537=this['_injector']['get'](c[_0x109656(0x19b)])[_0x109656(0x18d)](_0x1642f4)[_0x109656(0x191)](b[_0x109656(0x187)](_0x52cbef=>_0x52cbef[_0x109656(0x180)]))[_0x109656(0x19a)](_0x4a6f0a=>_0x5102a9(Array[_0x109656(0x17e)](_0x4a6f0a[_0x109656(0x181)]())));return o[_0x109656(0x196)](_0x41a537);}},exports[_0x2856ee(0x19c)]=S([s(0x1,o[_0x2856ee(0x19f)](o[_0x2856ee(0x184)])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x2856ee(0x17d)])),s(0x4,o[_0x2856ee(0x19f)](c[_0x2856ee(0x18b)]))],exports['FCollaboration']);class _ extends o['FUniver']{[_0x2856ee(0x190)](){var _0x26a050=_0x2856ee;return this[_0x26a050(0x189)][_0x26a050(0x179)](exports['FCollaboration'],{'getUniverSheet':_0xb6203c=>this[_0x26a050(0x1a1)](_0xb6203c)});}}o[_0x2856ee(0x183)][_0x2856ee(0x17f)](_);
1
+ 'use strict';var _0xb0870=_0x2b53;(function(_0x58055e,_0x95fec9){var _0x19df3c=_0x2b53,_0x45acf1=_0x58055e();while(!![]){try{var _0x5e827c=parseInt(_0x19df3c(0x143))/0x1*(-parseInt(_0x19df3c(0x148))/0x2)+-parseInt(_0x19df3c(0x14c))/0x3*(parseInt(_0x19df3c(0x16d))/0x4)+-parseInt(_0x19df3c(0x168))/0x5*(parseInt(_0x19df3c(0x158))/0x6)+parseInt(_0x19df3c(0x16b))/0x7*(parseInt(_0x19df3c(0x157))/0x8)+-parseInt(_0x19df3c(0x14f))/0x9+parseInt(_0x19df3c(0x14e))/0xa+parseInt(_0x19df3c(0x16c))/0xb*(parseInt(_0x19df3c(0x150))/0xc);if(_0x5e827c===_0x95fec9)break;else _0x45acf1['push'](_0x45acf1['shift']());}catch(_0x25aca9){_0x45acf1['push'](_0x45acf1['shift']());}}}(_0x5ecb,0x186e1));function _0x2b53(_0x4c5086,_0x11db3a){var _0x5ecb15=_0x5ecb();return _0x2b53=function(_0x2b534c,_0xbd44da){_0x2b534c=_0x2b534c-0x13f;var _0x43c991=_0x5ecb15[_0x2b534c];return _0x43c991;},_0x2b53(_0x4c5086,_0x11db3a);}Object[_0xb0870(0x162)](exports,Symbol[_0xb0870(0x14b)],{'value':'Module'});const o=require(_0xb0870(0x15e)),h=require('@univerjs-pro/collaboration'),c=require(_0xb0870(0x163)),b=require(_0xb0870(0x161));var v=Object[_0xb0870(0x162)],u=Object['getOwnPropertyDescriptor'],S=(_0x108728,_0x333236,_0x57889b,_0x4ed656)=>{var _0x2ff686=_0xb0870;for(var _0x5b75d4=_0x4ed656>0x1?void 0x0:_0x4ed656?u(_0x333236,_0x57889b):_0x333236,_0xabadad=_0x108728[_0x2ff686(0x15c)]-0x1,_0x1aea47;_0xabadad>=0x0;_0xabadad--)(_0x1aea47=_0x108728[_0xabadad])&&(_0x5b75d4=(_0x4ed656?_0x1aea47(_0x333236,_0x57889b,_0x5b75d4):_0x1aea47(_0x5b75d4))||_0x5b75d4);return _0x4ed656&&_0x5b75d4&&v(_0x333236,_0x57889b,_0x5b75d4),_0x5b75d4;},s=(_0x327db6,_0x53e901)=>(_0x4f3cc1,_0x180942)=>_0x53e901(_0x4f3cc1,_0x180942,_0x327db6);exports[_0xb0870(0x152)]=class extends o[_0xb0870(0x145)]{constructor(_0x4ce867,_0xafdb7b,_0x198b23,_0x188d18,_0x48c2ed){var _0x678a27=_0xb0870;super(),this[_0x678a27(0x144)]=_0x4ce867,this[_0x678a27(0x15f)]=_0xafdb7b,this['_univerInstanceService']=_0x198b23,this[_0x678a27(0x169)]=_0x188d18,this[_0x678a27(0x13f)]=_0x48c2ed;}async[_0xb0870(0x154)](){var _0x8da52=_0xb0870;return this[_0x8da52(0x160)]();}async[_0xb0870(0x160)](){var _0x202891=_0xb0870;throw new Error(_0x202891(0x142));}async[_0xb0870(0x149)](_0x100cd4){var _0x139bdf=_0xb0870;return this[_0x139bdf(0x141)](_0x100cd4);}async['loadSheetAsync'](_0x3b4582){var _0x5e343b=_0xb0870;return this[_0x5e343b(0x167)][_0x5e343b(0x14a)](_0x3b4582,o['UniverInstanceType'][_0x5e343b(0x151)])||await this[_0x5e343b(0x169)]['loadSheet'](_0x3b4582,0x0)?(await this[_0x5e343b(0x13f)][_0x5e343b(0x164)](_0x3b4582),this[_0x5e343b(0x144)][_0x5e343b(0x147)](_0x3b4582)):null;}[_0xb0870(0x156)](_0x3b36c3,_0x144ca7){var _0x1fbae7=_0xb0870;const _0x203d73=this[_0x1fbae7(0x15f)][_0x1fbae7(0x165)](c['MemberService'])[_0x1fbae7(0x159)](_0x3b36c3)[_0x1fbae7(0x166)](b[_0x1fbae7(0x14d)](_0x3948a4=>_0x3948a4[_0x1fbae7(0x16a)]))[_0x1fbae7(0x15a)](_0x4d4e9e=>_0x144ca7(Array['from'](_0x4d4e9e['values']())));return o[_0x1fbae7(0x15b)](_0x203d73);}},exports['FCollaboration']=S([s(0x1,o[_0xb0870(0x140)](o['Injector'])),s(0x2,o[_0xb0870(0x153)]),s(0x3,o[_0xb0870(0x140)](h[_0xb0870(0x15d)])),s(0x4,o[_0xb0870(0x140)](c[_0xb0870(0x146)]))],exports[_0xb0870(0x152)]);class _ extends o[_0xb0870(0x155)]{[_0xb0870(0x16e)](){var _0x34c304=_0xb0870;return this[_0x34c304(0x15f)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x2ffaf0=>this[_0x34c304(0x147)](_0x2ffaf0)});}}function _0x5ecb(){var _0x15818d=['loadActiveSheetAsync','rxjs','defineProperty','@univerjs-pro/collaboration-client','readyForCollab','get','pipe','_univerInstanceService','267105tdTEFf','_snapshotService','members$','787843tetslE','187MRBFqn','8xkpkDp','getCollaboration','_collaborationController','Inject','loadSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','436ckeXXa','_handler','FBase','CollaborationController','getUniverSheet','56rJTmKD','loadSheet','getUnit','toStringTag','75819rjdvTd','switchMap','166580yxOIZM','387855pmWNGc','129564bdTtQE','UNIVER_SHEET','FCollaboration','IUniverInstanceService','loadActiveSheet','FUniver','subscribeCollaborators','8jZLutb','12AKlrVK','waitForRoom$','subscribe','toDisposable','length','SnapshotService','@univerjs/core','_injector'];_0x5ecb=function(){return _0x15818d;};return _0x5ecb();}o[_0xb0870(0x155)]['extend'](_);