@univerjs-pro/collaboration-client 0.5.2-nightly.202501031606 → 0.5.3

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 _0x446ee6=_0x369d;(function(_0x28c9d2,_0x30846e){var _0x5cd397=_0x369d,_0xeadf47=_0x28c9d2();while(!![]){try{var _0x4374ea=parseInt(_0x5cd397(0x187))/0x1*(-parseInt(_0x5cd397(0x192))/0x2)+parseInt(_0x5cd397(0x17b))/0x3*(-parseInt(_0x5cd397(0x174))/0x4)+parseInt(_0x5cd397(0x17c))/0x5*(parseInt(_0x5cd397(0x181))/0x6)+parseInt(_0x5cd397(0x16e))/0x7*(-parseInt(_0x5cd397(0x186))/0x8)+-parseInt(_0x5cd397(0x18e))/0x9+-parseInt(_0x5cd397(0x195))/0xa*(parseInt(_0x5cd397(0x171))/0xb)+-parseInt(_0x5cd397(0x197))/0xc*(-parseInt(_0x5cd397(0x17a))/0xd);if(_0x4374ea===_0x30846e)break;else _0xeadf47['push'](_0xeadf47['shift']());}catch(_0x47b40b){_0xeadf47['push'](_0xeadf47['shift']());}}}(_0x265d,0x84b2c));function _0x265d(){var _0x2bcfe6=['CollaborationController','FBase','13ZREnyC','45TeGBby','1086700OTcoil','@univerjs-pro/collaboration','_snapshotService','length','loadSheet','12PxeLuM','extend','toDisposable','waitForRoom$','getUnit','681232ntVAhO','22778dravha','subscribe','FUniver','defineProperty','getUniverSheet','FCollaboration','toStringTag','1073007xfCvly','members$','values','@univerjs/core','56ObKCaf','from','IUniverInstanceService','70yUaDxV','createInstance','22485084mVorAJ','getOwnPropertyDescriptor','rxjs','switchMap','SnapshotService','Inject','subscribeCollaborators','Injector','readyForCollab','_handler','7okXmtT','get','Module','812867fAwKdD','MemberService','_univerInstanceService','108124eLTkxy','_collaborationController','_injector','pipe'];_0x265d=function(){return _0x2bcfe6;};return _0x265d();}Object['defineProperty'](exports,Symbol[_0x446ee6(0x18d)],{'value':_0x446ee6(0x170)});const t=require(_0x446ee6(0x191)),b=require(_0x446ee6(0x17d)),c=require('@univerjs-pro/collaboration-client'),v=require(_0x446ee6(0x166));function _0x369d(_0x2d4518,_0x37bdb2){var _0x265d97=_0x265d();return _0x369d=function(_0x369d5b,_0x38fe59){_0x369d5b=_0x369d5b-0x166;var _0x52d457=_0x265d97[_0x369d5b];return _0x52d457;},_0x369d(_0x2d4518,_0x37bdb2);}var h=Object[_0x446ee6(0x18a)],u=Object[_0x446ee6(0x198)],_=(_0x76597d,_0x31020b,_0x45b934,_0x3b9ef4)=>{var _0x2ea68e=_0x446ee6;for(var _0x425321=_0x3b9ef4>0x1?void 0x0:_0x3b9ef4?u(_0x31020b,_0x45b934):_0x31020b,_0x17eac3=_0x76597d[_0x2ea68e(0x17f)]-0x1,_0x38d1c8;_0x17eac3>=0x0;_0x17eac3--)(_0x38d1c8=_0x76597d[_0x17eac3])&&(_0x425321=(_0x3b9ef4?_0x38d1c8(_0x31020b,_0x45b934,_0x425321):_0x38d1c8(_0x425321))||_0x425321);return _0x3b9ef4&&_0x425321&&h(_0x31020b,_0x45b934,_0x425321),_0x425321;},s=(_0x1731ac,_0x464ef8)=>(_0x47d0d2,_0x277e7a)=>_0x464ef8(_0x47d0d2,_0x277e7a,_0x1731ac);exports['FCollaboration']=class extends t[_0x446ee6(0x179)]{constructor(_0x3e18b2,_0x30645f,_0xc0c105,_0x261feb,_0xa9e2b9){var _0x33ab05=_0x446ee6;super(),this[_0x33ab05(0x16d)]=_0x3e18b2,this[_0x33ab05(0x176)]=_0x30645f,this[_0x33ab05(0x173)]=_0xc0c105,this['_snapshotService']=_0x261feb,this[_0x33ab05(0x175)]=_0xa9e2b9;}async['loadActiveSheet'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x446ee6(0x180)](_0x516a69){var _0x108cf4=_0x446ee6;return this[_0x108cf4(0x173)][_0x108cf4(0x185)](_0x516a69,t['UniverInstanceType']['UNIVER_SHEET'])||await this[_0x108cf4(0x17e)][_0x108cf4(0x180)](_0x516a69,0x0)?(await this[_0x108cf4(0x175)][_0x108cf4(0x16c)](_0x516a69),this['_handler']['getUniverSheet'](_0x516a69)):null;}[_0x446ee6(0x16a)](_0x2f6924,_0x5a60eb){var _0x1047d0=_0x446ee6;const _0x18dd12=this['_injector'][_0x1047d0(0x16f)](c[_0x1047d0(0x172)])[_0x1047d0(0x184)](_0x2f6924)[_0x1047d0(0x177)](v[_0x1047d0(0x167)](_0x608a85=>_0x608a85[_0x1047d0(0x18f)]))[_0x1047d0(0x188)](_0x1f98df=>_0x5a60eb(Array[_0x1047d0(0x193)](_0x1f98df[_0x1047d0(0x190)]())));return t[_0x1047d0(0x183)](_0x18dd12);}},exports[_0x446ee6(0x18c)]=_([s(0x1,t[_0x446ee6(0x169)](t[_0x446ee6(0x16b)])),s(0x2,t[_0x446ee6(0x194)]),s(0x3,t[_0x446ee6(0x169)](b[_0x446ee6(0x168)])),s(0x4,t[_0x446ee6(0x169)](c[_0x446ee6(0x178)]))],exports[_0x446ee6(0x18c)]);class S extends t[_0x446ee6(0x189)]{['getCollaboration'](){var _0x55f378=_0x446ee6;return this[_0x55f378(0x176)][_0x55f378(0x196)](exports['FCollaboration'],{'getUniverSheet':_0x5bc35b=>this[_0x55f378(0x18b)](_0x5bc35b)});}}t[_0x446ee6(0x189)][_0x446ee6(0x182)](S);
1
+ 'use strict';var _0xd7793c=_0x2003;(function(_0xeca555,_0x2999a5){var _0x178cc8=_0x2003,_0x3b53e0=_0xeca555();while(!![]){try{var _0x443258=-parseInt(_0x178cc8(0xe2))/0x1+parseInt(_0x178cc8(0xe7))/0x2*(-parseInt(_0x178cc8(0xeb))/0x3)+-parseInt(_0x178cc8(0xde))/0x4+parseInt(_0x178cc8(0xd9))/0x5*(parseInt(_0x178cc8(0xc4))/0x6)+-parseInt(_0x178cc8(0xcb))/0x7+parseInt(_0x178cc8(0xbd))/0x8*(parseInt(_0x178cc8(0xe3))/0x9)+parseInt(_0x178cc8(0xc8))/0xa;if(_0x443258===_0x2999a5)break;else _0x3b53e0['push'](_0x3b53e0['shift']());}catch(_0x3c1301){_0x3b53e0['push'](_0x3b53e0['shift']());}}}(_0x1dcd,0x4f9b8));Object[_0xd7793c(0xda)](exports,Symbol[_0xd7793c(0xca)],{'value':_0xd7793c(0xec)});const t=require(_0xd7793c(0xd8)),b=require(_0xd7793c(0xcc)),c=require(_0xd7793c(0xd4)),v=require(_0xd7793c(0xe9));function _0x1dcd(){var _0x371f01=['switchMap','MemberService','_snapshotService','2355724nwGWCX','_injector','Injector','subscribeCollaborators','115342qgRPWB','503802mUQinl','IUniverInstanceService','FCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','168174ozXHeW','length','rxjs','Inject','12dnxZRD','Module','88yNvTnw','from','UniverInstanceType','UNIVER_SHEET','FUniver','members$','createInstance','1975494mPWSaY','pipe','toDisposable','_collaborationController','9040740abfhDZ','getUniverSheet','toStringTag','3376716kBlZPp','@univerjs-pro/collaboration','loadActiveSheet','readyForCollab','CollaborationController','_univerInstanceService','waitForRoom$','get','values','@univerjs-pro/collaboration-client','extend','loadSheet','_handler','@univerjs/core','5pCxibt','defineProperty'];_0x1dcd=function(){return _0x371f01;};return _0x1dcd();}function _0x2003(_0x33822e,_0x4f1f12){var _0x1dcd51=_0x1dcd();return _0x2003=function(_0x200323,_0x32e10f){_0x200323=_0x200323-0xbd;var _0x15ebb8=_0x1dcd51[_0x200323];return _0x15ebb8;},_0x2003(_0x33822e,_0x4f1f12);}var h=Object[_0xd7793c(0xda)],u=Object['getOwnPropertyDescriptor'],_=(_0x57f99b,_0x3ce70e,_0x5da9d6,_0x8195a7)=>{var _0x89a2f7=_0xd7793c;for(var _0x1ac346=_0x8195a7>0x1?void 0x0:_0x8195a7?u(_0x3ce70e,_0x5da9d6):_0x3ce70e,_0xe54127=_0x57f99b[_0x89a2f7(0xe8)]-0x1,_0xf6f43f;_0xe54127>=0x0;_0xe54127--)(_0xf6f43f=_0x57f99b[_0xe54127])&&(_0x1ac346=(_0x8195a7?_0xf6f43f(_0x3ce70e,_0x5da9d6,_0x1ac346):_0xf6f43f(_0x1ac346))||_0x1ac346);return _0x8195a7&&_0x1ac346&&h(_0x3ce70e,_0x5da9d6,_0x1ac346),_0x1ac346;},s=(_0x468add,_0x20fd69)=>(_0x3cb0eb,_0x2efb5e)=>_0x20fd69(_0x3cb0eb,_0x2efb5e,_0x468add);exports[_0xd7793c(0xe5)]=class extends t['FBase']{constructor(_0x4b8afd,_0xcb2e7f,_0x204c31,_0x535a61,_0x40ade8){var _0xcc33be=_0xd7793c;super(),this[_0xcc33be(0xd7)]=_0x4b8afd,this[_0xcc33be(0xdf)]=_0xcb2e7f,this[_0xcc33be(0xd0)]=_0x204c31,this['_snapshotService']=_0x535a61,this['_collaborationController']=_0x40ade8;}async[_0xd7793c(0xcd)](){var _0x47de03=_0xd7793c;throw new Error(_0x47de03(0xe6));}async[_0xd7793c(0xd6)](_0x5bc908){var _0x336e52=_0xd7793c;return this[_0x336e52(0xd0)]['getUnit'](_0x5bc908,t[_0x336e52(0xbf)][_0x336e52(0xc0)])||await this[_0x336e52(0xdd)][_0x336e52(0xd6)](_0x5bc908,0x0)?(await this[_0x336e52(0xc7)][_0x336e52(0xce)](_0x5bc908),this[_0x336e52(0xd7)][_0x336e52(0xc9)](_0x5bc908)):null;}[_0xd7793c(0xe1)](_0x1d07a5,_0x6be1c9){var _0x36bea2=_0xd7793c;const _0x5564b0=this[_0x36bea2(0xdf)][_0x36bea2(0xd2)](c[_0x36bea2(0xdc)])[_0x36bea2(0xd1)](_0x1d07a5)[_0x36bea2(0xc5)](v[_0x36bea2(0xdb)](_0x51cefa=>_0x51cefa[_0x36bea2(0xc2)]))['subscribe'](_0x5d9cea=>_0x6be1c9(Array[_0x36bea2(0xbe)](_0x5d9cea[_0x36bea2(0xd3)]())));return t[_0x36bea2(0xc6)](_0x5564b0);}},exports[_0xd7793c(0xe5)]=_([s(0x1,t[_0xd7793c(0xea)](t[_0xd7793c(0xe0)])),s(0x2,t[_0xd7793c(0xe4)]),s(0x3,t[_0xd7793c(0xea)](b['SnapshotService'])),s(0x4,t[_0xd7793c(0xea)](c[_0xd7793c(0xcf)]))],exports[_0xd7793c(0xe5)]);class S extends t[_0xd7793c(0xc1)]{['getCollaboration'](){var _0x5cb6ad=_0xd7793c;return this[_0x5cb6ad(0xdf)][_0x5cb6ad(0xc3)](exports['FCollaboration'],{'getUniverSheet':_0x56f915=>this[_0x5cb6ad(0xc9)](_0x56f915)});}}t[_0xd7793c(0xc1)][_0xd7793c(0xd5)](S);