@univerjs-pro/collaboration-client 0.5.3-nightly.202501101606 → 0.5.3-nightly.202501111605

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 _0x55e3(){var _0x335179=['loadActiveSheet','CollaborationController','FUniver','2989760SoiTpn','toStringTag','getUnit','@univerjs/core','UNIVER_SHEET','843453mPUzdI','_handler','loadActiveSheetAsync','1713150UTeLrZ','getOwnPropertyDescriptor','_injector','_collaborationController','Module','rxjs','subscribeCollaborators','Injector','FCollaboration','UniverInstanceType','extend','loadSheetAsync','length','4596792Lotcqs','SnapshotService','getCollaboration','FBase','switchMap','members$','getUniverSheet','get','@univerjs-pro/collaboration','8289hNVmQz','576564iYbuQc','MemberService','_snapshotService','1806hFLuKN','180ThjVta','Inject','subscribe','827ZaqxDQ','values','defineProperty','waitForRoom$','77YdunGj'];_0x55e3=function(){return _0x335179;};return _0x55e3();}var _0x40082a=_0x13a1;(function(_0x557348,_0x292859){var _0x2c4291=_0x13a1,_0x3561cb=_0x557348();while(!![]){try{var _0x516bb4=-parseInt(_0x2c4291(0x14c))/0x1*(parseInt(_0x2c4291(0x148))/0x2)+parseInt(_0x2c4291(0x144))/0x3+parseInt(_0x2c4291(0x126))/0x4+-parseInt(_0x2c4291(0x12e))/0x5+parseInt(_0x2c4291(0x145))/0x6*(-parseInt(_0x2c4291(0x122))/0x7)+parseInt(_0x2c4291(0x13b))/0x8+-parseInt(_0x2c4291(0x12b))/0x9*(-parseInt(_0x2c4291(0x149))/0xa);if(_0x516bb4===_0x292859)break;else _0x3561cb['push'](_0x3561cb['shift']());}catch(_0x3b95b3){_0x3561cb['push'](_0x3561cb['shift']());}}}(_0x55e3,0xd33ef));Object[_0x40082a(0x120)](exports,Symbol[_0x40082a(0x127)],{'value':_0x40082a(0x132)});const o=require(_0x40082a(0x129)),h=require(_0x40082a(0x143)),c=require('@univerjs-pro/collaboration-client'),b=require(_0x40082a(0x133));function _0x13a1(_0x5f2ec1,_0x47980c){var _0x55e304=_0x55e3();return _0x13a1=function(_0x13a193,_0x727eec){_0x13a193=_0x13a193-0x120;var _0x9cbfe2=_0x55e304[_0x13a193];return _0x9cbfe2;},_0x13a1(_0x5f2ec1,_0x47980c);}var v=Object[_0x40082a(0x120)],u=Object[_0x40082a(0x12f)],S=(_0x41d0ac,_0x164329,_0x18d7c6,_0x47dba0)=>{var _0x476d17=_0x40082a;for(var _0x2db609=_0x47dba0>0x1?void 0x0:_0x47dba0?u(_0x164329,_0x18d7c6):_0x164329,_0xce5165=_0x41d0ac[_0x476d17(0x13a)]-0x1,_0x543dad;_0xce5165>=0x0;_0xce5165--)(_0x543dad=_0x41d0ac[_0xce5165])&&(_0x2db609=(_0x47dba0?_0x543dad(_0x164329,_0x18d7c6,_0x2db609):_0x543dad(_0x2db609))||_0x2db609);return _0x47dba0&&_0x2db609&&v(_0x164329,_0x18d7c6,_0x2db609),_0x2db609;},s=(_0x5dfca9,_0x39d13a)=>(_0x3d4fa9,_0x2b652a)=>_0x39d13a(_0x3d4fa9,_0x2b652a,_0x5dfca9);exports[_0x40082a(0x136)]=class extends o[_0x40082a(0x13e)]{constructor(_0x378fa7,_0x4e00a0,_0x4c5729,_0x1de7d1,_0x301916){var _0x1f92e3=_0x40082a;super(),this[_0x1f92e3(0x12c)]=_0x378fa7,this[_0x1f92e3(0x130)]=_0x4e00a0,this['_univerInstanceService']=_0x4c5729,this[_0x1f92e3(0x147)]=_0x1de7d1,this[_0x1f92e3(0x131)]=_0x301916;}async[_0x40082a(0x123)](){var _0x3b9c53=_0x40082a;return this[_0x3b9c53(0x12d)]();}async[_0x40082a(0x12d)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x54b5e6){var _0x3d3a27=_0x40082a;return this[_0x3d3a27(0x139)](_0x54b5e6);}async[_0x40082a(0x139)](_0x39ad21){var _0x4ae462=_0x40082a;return this['_univerInstanceService'][_0x4ae462(0x128)](_0x39ad21,o[_0x4ae462(0x137)][_0x4ae462(0x12a)])||await this[_0x4ae462(0x147)]['loadSheet'](_0x39ad21,0x0)?(await this[_0x4ae462(0x131)]['readyForCollab'](_0x39ad21),this[_0x4ae462(0x12c)][_0x4ae462(0x141)](_0x39ad21)):null;}[_0x40082a(0x134)](_0x52bb20,_0x2b2571){var _0x2a63b8=_0x40082a;const _0x5b510e=this[_0x2a63b8(0x130)][_0x2a63b8(0x142)](c[_0x2a63b8(0x146)])[_0x2a63b8(0x121)](_0x52bb20)['pipe'](b[_0x2a63b8(0x13f)](_0x956da8=>_0x956da8[_0x2a63b8(0x140)]))[_0x2a63b8(0x14b)](_0x273305=>_0x2b2571(Array['from'](_0x273305[_0x2a63b8(0x14d)]())));return o['toDisposable'](_0x5b510e);}},exports[_0x40082a(0x136)]=S([s(0x1,o['Inject'](o[_0x40082a(0x135)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x40082a(0x14a)](h[_0x40082a(0x13c)])),s(0x4,o[_0x40082a(0x14a)](c[_0x40082a(0x124)]))],exports['FCollaboration']);class _ extends o[_0x40082a(0x125)]{[_0x40082a(0x13d)](){var _0x479872=_0x40082a;return this[_0x479872(0x130)]['createInstance'](exports[_0x479872(0x136)],{'getUniverSheet':_0x1bf8c2=>this['getUniverSheet'](_0x1bf8c2)});}}o[_0x40082a(0x125)][_0x40082a(0x138)](_);
1
+ 'use strict';var _0x3721a2=_0x4c27;(function(_0x5170c2,_0x3fccab){var _0x9fff23=_0x4c27,_0x26de93=_0x5170c2();while(!![]){try{var _0x572b8a=-parseInt(_0x9fff23(0x192))/0x1+parseInt(_0x9fff23(0x1a4))/0x2*(-parseInt(_0x9fff23(0x1ae))/0x3)+-parseInt(_0x9fff23(0x1b9))/0x4+parseInt(_0x9fff23(0x1b2))/0x5+parseInt(_0x9fff23(0x19b))/0x6+parseInt(_0x9fff23(0x1b6))/0x7*(parseInt(_0x9fff23(0x1b3))/0x8)+parseInt(_0x9fff23(0x1af))/0x9;if(_0x572b8a===_0x3fccab)break;else _0x26de93['push'](_0x26de93['shift']());}catch(_0x50f814){_0x26de93['push'](_0x26de93['shift']());}}}(_0x5387,0xca610));Object[_0x3721a2(0x19a)](exports,Symbol['toStringTag'],{'value':'Module'});const o=require(_0x3721a2(0x1a0)),h=require('@univerjs-pro/collaboration'),c=require(_0x3721a2(0x1b5)),b=require(_0x3721a2(0x1ad));var v=Object[_0x3721a2(0x19a)],u=Object[_0x3721a2(0x1ab)],S=(_0x2360ff,_0x144c29,_0x5767b3,_0x272606)=>{var _0x122329=_0x3721a2;for(var _0x5d056a=_0x272606>0x1?void 0x0:_0x272606?u(_0x144c29,_0x5767b3):_0x144c29,_0x127b0a=_0x2360ff[_0x122329(0x198)]-0x1,_0x364433;_0x127b0a>=0x0;_0x127b0a--)(_0x364433=_0x2360ff[_0x127b0a])&&(_0x5d056a=(_0x272606?_0x364433(_0x144c29,_0x5767b3,_0x5d056a):_0x364433(_0x5d056a))||_0x5d056a);return _0x272606&&_0x5d056a&&v(_0x144c29,_0x5767b3,_0x5d056a),_0x5d056a;},s=(_0x331197,_0x2f4c6f)=>(_0x8b107d,_0x2336ac)=>_0x2f4c6f(_0x8b107d,_0x2336ac,_0x331197);function _0x4c27(_0x52f70b,_0x4e114a){var _0x5387ae=_0x5387();return _0x4c27=function(_0x4c2737,_0x987f71){_0x4c2737=_0x4c2737-0x191;var _0x1da0f7=_0x5387ae[_0x4c2737];return _0x1da0f7;},_0x4c27(_0x52f70b,_0x4e114a);}function _0x5387(){var _0x10d877=['pipe','UniverInstanceType','getCollaboration','getOwnPropertyDescriptor','CollaborationController','rxjs','9assILX','16977411YRfiyB','members$','waitForRoom$','926395bVrWcv','72TufRxf','_univerInstanceService','@univerjs-pro/collaboration-client','754747wZveQt','createInstance','FUniver','5649684ohhBIh','loadSheetAsync','values','_collaborationController','readyForCollab','1137336duLFeO','_injector','loadActiveSheet','subscribe','MemberService','from','length','SnapshotService','defineProperty','2815470cYYEGy','getUnit','getUniverSheet','loadActiveSheetAsync','toDisposable','@univerjs/core','_snapshotService','FCollaboration','get','88394SEJCmV','Inject','switchMap','FBase'];_0x5387=function(){return _0x10d877;};return _0x5387();}exports[_0x3721a2(0x1a2)]=class extends o[_0x3721a2(0x1a7)]{constructor(_0xba3924,_0x1141a8,_0x5cb848,_0x37c31a,_0x455dcf){var _0x3eaad2=_0x3721a2;super(),this['_handler']=_0xba3924,this[_0x3eaad2(0x193)]=_0x1141a8,this[_0x3eaad2(0x1b4)]=_0x5cb848,this[_0x3eaad2(0x1a1)]=_0x37c31a,this[_0x3eaad2(0x1bc)]=_0x455dcf;}async[_0x3721a2(0x194)](){var _0x315537=_0x3721a2;return this[_0x315537(0x19e)]();}async[_0x3721a2(0x19e)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x5cc251){var _0x59cd14=_0x3721a2;return this[_0x59cd14(0x1ba)](_0x5cc251);}async[_0x3721a2(0x1ba)](_0x3672e6){var _0x1822b1=_0x3721a2;return this[_0x1822b1(0x1b4)][_0x1822b1(0x19c)](_0x3672e6,o[_0x1822b1(0x1a9)]['UNIVER_SHEET'])||await this[_0x1822b1(0x1a1)]['loadSheet'](_0x3672e6,0x0)?(await this[_0x1822b1(0x1bc)][_0x1822b1(0x191)](_0x3672e6),this['_handler']['getUniverSheet'](_0x3672e6)):null;}['subscribeCollaborators'](_0x502d2c,_0x3ea1f4){var _0x23477b=_0x3721a2;const _0x19a68d=this[_0x23477b(0x193)][_0x23477b(0x1a3)](c[_0x23477b(0x196)])[_0x23477b(0x1b1)](_0x502d2c)[_0x23477b(0x1a8)](b[_0x23477b(0x1a6)](_0x35e849=>_0x35e849[_0x23477b(0x1b0)]))[_0x23477b(0x195)](_0x41bc71=>_0x3ea1f4(Array[_0x23477b(0x197)](_0x41bc71[_0x23477b(0x1bb)]())));return o[_0x23477b(0x19f)](_0x19a68d);}},exports[_0x3721a2(0x1a2)]=S([s(0x1,o[_0x3721a2(0x1a5)](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x3721a2(0x1a5)](h[_0x3721a2(0x199)])),s(0x4,o[_0x3721a2(0x1a5)](c[_0x3721a2(0x1ac)]))],exports['FCollaboration']);class _ extends o['FUniver']{[_0x3721a2(0x1aa)](){var _0x423096=_0x3721a2;return this[_0x423096(0x193)][_0x423096(0x1b7)](exports[_0x423096(0x1a2)],{'getUniverSheet':_0x58d634=>this[_0x423096(0x19d)](_0x58d634)});}}o[_0x3721a2(0x1b8)]['extend'](_);