@univerjs-pro/collaboration-client 0.5.4-nightly.202501150735 → 0.5.4-nightly.202501151339

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 _0x44f4f9=_0x2259;(function(_0x21148a,_0x468298){var _0x17faa9=_0x2259,_0x451b7c=_0x21148a();while(!![]){try{var _0x539e22=-parseInt(_0x17faa9(0x1d3))/0x1*(-parseInt(_0x17faa9(0x1bd))/0x2)+parseInt(_0x17faa9(0x1da))/0x3*(parseInt(_0x17faa9(0x1c7))/0x4)+parseInt(_0x17faa9(0x1cf))/0x5+parseInt(_0x17faa9(0x1d1))/0x6+-parseInt(_0x17faa9(0x1d4))/0x7*(-parseInt(_0x17faa9(0x1be))/0x8)+-parseInt(_0x17faa9(0x1c5))/0x9+-parseInt(_0x17faa9(0x1b5))/0xa;if(_0x539e22===_0x468298)break;else _0x451b7c['push'](_0x451b7c['shift']());}catch(_0x5dbb33){_0x451b7c['push'](_0x451b7c['shift']());}}}(_0x125c,0x6a3f5));Object['defineProperty'](exports,Symbol[_0x44f4f9(0x1d7)],{'value':_0x44f4f9(0x1d5)});function _0x125c(){var _0x250a05=['Inject','_injector','get','FBase','_collaborationController','6405048TlhEFf','SnapshotService','162484JTGOEq','UNIVER_SHEET','createInstance','getUnit','IUniverInstanceService','UniverInstanceType','@univerjs/core','loadSheetAsync','2412800cdldbC','_snapshotService','877938NzyriQ','CollaborationController','1zfKAVY','5006813wZuWsF','Module','FCollaboration','toStringTag','from','loadActiveSheetAsync','6RmhoSX','subscribe','defineProperty','FUniver','readyForCollab','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','waitForRoom$','getUniverSheet','switchMap','pipe','toDisposable','rxjs','length','4802370iiVxWR','extend','@univerjs-pro/collaboration-client','_handler','getCollaboration','_univerInstanceService','subscribeCollaborators','loadSheet','403428ZlkQtT','8CFkHkC','members$'];_0x125c=function(){return _0x250a05;};return _0x125c();}const o=require(_0x44f4f9(0x1cd)),h=require('@univerjs-pro/collaboration'),c=require(_0x44f4f9(0x1b7)),b=require(_0x44f4f9(0x1b3));var v=Object[_0x44f4f9(0x1aa)],u=Object['getOwnPropertyDescriptor'],S=(_0x5398a8,_0x2d462a,_0x577bcc,_0x381fb0)=>{var _0x3c59f9=_0x44f4f9;for(var _0x3594d1=_0x381fb0>0x1?void 0x0:_0x381fb0?u(_0x2d462a,_0x577bcc):_0x2d462a,_0x3c33ab=_0x5398a8[_0x3c59f9(0x1b4)]-0x1,_0x3ad34a;_0x3c33ab>=0x0;_0x3c33ab--)(_0x3ad34a=_0x5398a8[_0x3c33ab])&&(_0x3594d1=(_0x381fb0?_0x3ad34a(_0x2d462a,_0x577bcc,_0x3594d1):_0x3ad34a(_0x3594d1))||_0x3594d1);return _0x381fb0&&_0x3594d1&&v(_0x2d462a,_0x577bcc,_0x3594d1),_0x3594d1;},s=(_0x316c8c,_0x5dcaad)=>(_0x281f89,_0x24cbe4)=>_0x5dcaad(_0x281f89,_0x24cbe4,_0x316c8c);exports[_0x44f4f9(0x1d6)]=class extends o[_0x44f4f9(0x1c3)]{constructor(_0x5d72ba,_0x1a302,_0x34a04d,_0x463e63,_0x1c20c2){var _0x3f4244=_0x44f4f9;super(),this[_0x3f4244(0x1b8)]=_0x5d72ba,this[_0x3f4244(0x1c1)]=_0x1a302,this[_0x3f4244(0x1ba)]=_0x34a04d,this[_0x3f4244(0x1d0)]=_0x463e63,this['_collaborationController']=_0x1c20c2;}async['loadActiveSheet'](){var _0x1112f2=_0x44f4f9;return this[_0x1112f2(0x1d9)]();}async[_0x44f4f9(0x1d9)](){var _0x31720d=_0x44f4f9;throw new Error(_0x31720d(0x1ad));}async[_0x44f4f9(0x1bc)](_0x5d8001){var _0x2f9c3f=_0x44f4f9;return this[_0x2f9c3f(0x1ce)](_0x5d8001);}async[_0x44f4f9(0x1ce)](_0x2cf1a4){var _0x354758=_0x44f4f9;return this['_univerInstanceService'][_0x354758(0x1ca)](_0x2cf1a4,o[_0x354758(0x1cc)][_0x354758(0x1c8)])||await this[_0x354758(0x1d0)][_0x354758(0x1bc)](_0x2cf1a4,0x0)?(await this[_0x354758(0x1c4)][_0x354758(0x1ac)](_0x2cf1a4),this[_0x354758(0x1b8)]['getUniverSheet'](_0x2cf1a4)):null;}[_0x44f4f9(0x1bb)](_0x3120a7,_0x2a5f04){var _0x59ae91=_0x44f4f9;const _0x3caa93=this['_injector'][_0x59ae91(0x1c2)](c['MemberService'])[_0x59ae91(0x1ae)](_0x3120a7)[_0x59ae91(0x1b1)](b[_0x59ae91(0x1b0)](_0x3781ae=>_0x3781ae[_0x59ae91(0x1bf)]))[_0x59ae91(0x1db)](_0x9dd5e2=>_0x2a5f04(Array[_0x59ae91(0x1d8)](_0x9dd5e2['values']())));return o[_0x59ae91(0x1b2)](_0x3caa93);}},exports[_0x44f4f9(0x1d6)]=S([s(0x1,o[_0x44f4f9(0x1c0)](o['Injector'])),s(0x2,o[_0x44f4f9(0x1cb)]),s(0x3,o[_0x44f4f9(0x1c0)](h[_0x44f4f9(0x1c6)])),s(0x4,o[_0x44f4f9(0x1c0)](c[_0x44f4f9(0x1d2)]))],exports['FCollaboration']);class _ extends o[_0x44f4f9(0x1ab)]{[_0x44f4f9(0x1b9)](){var _0xe0890=_0x44f4f9;return this[_0xe0890(0x1c1)][_0xe0890(0x1c9)](exports[_0xe0890(0x1d6)],{'getUniverSheet':_0x26f4dc=>this[_0xe0890(0x1af)](_0x26f4dc)});}}function _0x2259(_0x15ff7b,_0x4a01db){var _0x125c89=_0x125c();return _0x2259=function(_0x22597b,_0x41dd21){_0x22597b=_0x22597b-0x1aa;var _0x5639e9=_0x125c89[_0x22597b];return _0x5639e9;},_0x2259(_0x15ff7b,_0x4a01db);}o[_0x44f4f9(0x1ab)][_0x44f4f9(0x1b6)](_);
1
+ 'use strict';var _0x49ac8d=_0x25f6;(function(_0x5d15b7,_0x2cb7f6){var _0x3f61e9=_0x25f6,_0x1813c7=_0x5d15b7();while(!![]){try{var _0xe97ce7=parseInt(_0x3f61e9(0x1f5))/0x1+parseInt(_0x3f61e9(0x1e6))/0x2*(-parseInt(_0x3f61e9(0x1f1))/0x3)+parseInt(_0x3f61e9(0x203))/0x4+-parseInt(_0x3f61e9(0x20e))/0x5+-parseInt(_0x3f61e9(0x1ea))/0x6+parseInt(_0x3f61e9(0x1f6))/0x7*(parseInt(_0x3f61e9(0x1ed))/0x8)+parseInt(_0x3f61e9(0x1fb))/0x9*(-parseInt(_0x3f61e9(0x202))/0xa);if(_0xe97ce7===_0x2cb7f6)break;else _0x1813c7['push'](_0x1813c7['shift']());}catch(_0x48023f){_0x1813c7['push'](_0x1813c7['shift']());}}}(_0x94b5,0xde579));function _0x25f6(_0x5d186d,_0x1b0f32){var _0x94b5c=_0x94b5();return _0x25f6=function(_0x25f630,_0x2b3a1e){_0x25f630=_0x25f630-0x1e6;var _0x27e9fd=_0x94b5c[_0x25f630];return _0x27e9fd;},_0x25f6(_0x5d186d,_0x1b0f32);}Object[_0x49ac8d(0x208)](exports,Symbol['toStringTag'],{'value':_0x49ac8d(0x207)});const o=require(_0x49ac8d(0x204)),h=require(_0x49ac8d(0x209)),c=require(_0x49ac8d(0x1fd)),b=require(_0x49ac8d(0x20f));var v=Object['defineProperty'],u=Object['getOwnPropertyDescriptor'],S=(_0x5f44bb,_0x5760b5,_0x3cf813,_0xb96fbf)=>{var _0x2f4600=_0x49ac8d;for(var _0x8fa8db=_0xb96fbf>0x1?void 0x0:_0xb96fbf?u(_0x5760b5,_0x3cf813):_0x5760b5,_0x15088b=_0x5f44bb[_0x2f4600(0x20b)]-0x1,_0x33eec0;_0x15088b>=0x0;_0x15088b--)(_0x33eec0=_0x5f44bb[_0x15088b])&&(_0x8fa8db=(_0xb96fbf?_0x33eec0(_0x5760b5,_0x3cf813,_0x8fa8db):_0x33eec0(_0x8fa8db))||_0x8fa8db);return _0xb96fbf&&_0x8fa8db&&v(_0x5760b5,_0x3cf813,_0x8fa8db),_0x8fa8db;},s=(_0x78933e,_0x5a8f1c)=>(_0x4abd79,_0x4ef298)=>_0x5a8f1c(_0x4abd79,_0x4ef298,_0x78933e);exports[_0x49ac8d(0x1e9)]=class extends o[_0x49ac8d(0x211)]{constructor(_0x54aeba,_0x27cbda,_0xd8102,_0x38724a,_0x1bee6f){var _0xda108d=_0x49ac8d;super(),this['_handler']=_0x54aeba,this[_0xda108d(0x1eb)]=_0x27cbda,this[_0xda108d(0x1ef)]=_0xd8102,this[_0xda108d(0x212)]=_0x38724a,this[_0xda108d(0x1f9)]=_0x1bee6f;}async[_0x49ac8d(0x1f2)](){var _0x338e47=_0x49ac8d;return this[_0x338e47(0x210)]();}async[_0x49ac8d(0x210)](){var _0x5b7824=_0x49ac8d;throw new Error(_0x5b7824(0x1f4));}async[_0x49ac8d(0x20c)](_0x1d941e){var _0x2ac3a8=_0x49ac8d;return this[_0x2ac3a8(0x1ff)](_0x1d941e);}async[_0x49ac8d(0x1ff)](_0xa9d7de){var _0x418819=_0x49ac8d;return this[_0x418819(0x1ef)]['getUnit'](_0xa9d7de,o['UniverInstanceType']['UNIVER_SHEET'])||await this[_0x418819(0x212)][_0x418819(0x20c)](_0xa9d7de,0x0)?(await this['_collaborationController'][_0x418819(0x1fc)](_0xa9d7de),this['_handler']['getUniverSheet'](_0xa9d7de)):null;}[_0x49ac8d(0x1f3)](_0x5835f1,_0x1d503b){var _0x5dcac3=_0x49ac8d;const _0x344c8b=this[_0x5dcac3(0x1eb)][_0x5dcac3(0x1f0)](c['MemberService'])['waitForRoom$'](_0x5835f1)[_0x5dcac3(0x1e7)](b[_0x5dcac3(0x206)](_0x3bef56=>_0x3bef56[_0x5dcac3(0x1ee)]))[_0x5dcac3(0x200)](_0x21bbc5=>_0x1d503b(Array[_0x5dcac3(0x1f7)](_0x21bbc5[_0x5dcac3(0x20d)]())));return o['toDisposable'](_0x344c8b);}},exports[_0x49ac8d(0x1e9)]=S([s(0x1,o['Inject'](o[_0x49ac8d(0x1fe)])),s(0x2,o[_0x49ac8d(0x1ec)]),s(0x3,o[_0x49ac8d(0x1e8)](h[_0x49ac8d(0x20a)])),s(0x4,o[_0x49ac8d(0x1e8)](c[_0x49ac8d(0x1f8)]))],exports[_0x49ac8d(0x1e9)]);function _0x94b5(){var _0x41b394=['594192mzHSeU','@univerjs/core','extend','switchMap','Module','defineProperty','@univerjs-pro/collaboration','SnapshotService','length','loadSheet','values','2601655PTeuTM','rxjs','loadActiveSheetAsync','FBase','_snapshotService','FUniver','2481494zVQcbp','pipe','Inject','FCollaboration','1655874oqysCk','_injector','IUniverInstanceService','9992bHcHjV','members$','_univerInstanceService','get','3qFdAbD','loadActiveSheet','subscribeCollaborators','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1509240fAQLVa','7756Omxzzp','from','CollaborationController','_collaborationController','createInstance','845190oMtqUV','readyForCollab','@univerjs-pro/collaboration-client','Injector','loadSheetAsync','subscribe','getUniverSheet','10XYgXlk'];_0x94b5=function(){return _0x41b394;};return _0x94b5();}class _ extends o[_0x49ac8d(0x213)]{['getCollaboration'](){var _0x1e98e3=_0x49ac8d;return this[_0x1e98e3(0x1eb)][_0x1e98e3(0x1fa)](exports[_0x1e98e3(0x1e9)],{'getUniverSheet':_0x263619=>this[_0x1e98e3(0x201)](_0x263619)});}}o[_0x49ac8d(0x213)][_0x49ac8d(0x205)](_);