@univerjs-pro/collaboration-client 0.5.4-nightly.202501171120 → 0.5.4-nightly.202501181312

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 _0x4a974a=_0x5898;(function(_0x2bfbe8,_0x8f54c2){var _0x352d45=_0x5898,_0x3966d0=_0x2bfbe8();while(!![]){try{var _0x2d29b2=-parseInt(_0x352d45(0x195))/0x1+-parseInt(_0x352d45(0x19d))/0x2+parseInt(_0x352d45(0x192))/0x3+parseInt(_0x352d45(0x180))/0x4*(parseInt(_0x352d45(0x18b))/0x5)+-parseInt(_0x352d45(0x172))/0x6+-parseInt(_0x352d45(0x18a))/0x7+parseInt(_0x352d45(0x183))/0x8*(parseInt(_0x352d45(0x199))/0x9);if(_0x2d29b2===_0x8f54c2)break;else _0x3966d0['push'](_0x3966d0['shift']());}catch(_0x369688){_0x3966d0['push'](_0x3966d0['shift']());}}}(_0x53f4,0xc7de7));Object[_0x4a974a(0x173)](exports,Symbol[_0x4a974a(0x182)],{'value':'Module'});const o=require(_0x4a974a(0x1a1)),h=require(_0x4a974a(0x17b)),c=require(_0x4a974a(0x196)),b=require(_0x4a974a(0x176));var v=Object[_0x4a974a(0x173)],u=Object[_0x4a974a(0x189)],S=(_0x2cd6a1,_0x31ddaf,_0x66eaf2,_0x5eb281)=>{var _0x2707c2=_0x4a974a;for(var _0x3ee07b=_0x5eb281>0x1?void 0x0:_0x5eb281?u(_0x31ddaf,_0x66eaf2):_0x31ddaf,_0x8e350d=_0x2cd6a1[_0x2707c2(0x17f)]-0x1,_0x48ea5b;_0x8e350d>=0x0;_0x8e350d--)(_0x48ea5b=_0x2cd6a1[_0x8e350d])&&(_0x3ee07b=(_0x5eb281?_0x48ea5b(_0x31ddaf,_0x66eaf2,_0x3ee07b):_0x48ea5b(_0x3ee07b))||_0x3ee07b);return _0x5eb281&&_0x3ee07b&&v(_0x31ddaf,_0x66eaf2,_0x3ee07b),_0x3ee07b;},s=(_0xb2c065,_0x3ce4c5)=>(_0x6e06a0,_0x3744c4)=>_0x3ce4c5(_0x6e06a0,_0x3744c4,_0xb2c065);exports[_0x4a974a(0x1a3)]=class extends o[_0x4a974a(0x18c)]{constructor(_0x39746a,_0x4a3ef1,_0x2c7bd5,_0x544f2e,_0x54c851){var _0x11b261=_0x4a974a;super(),this[_0x11b261(0x174)]=_0x39746a,this[_0x11b261(0x19e)]=_0x4a3ef1,this[_0x11b261(0x175)]=_0x2c7bd5,this['_snapshotService']=_0x544f2e,this['_collaborationController']=_0x54c851;}async[_0x4a974a(0x187)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x2223ac=_0x4a974a;throw new Error(_0x2223ac(0x1a2));}async[_0x4a974a(0x17d)](_0x21cad6){var _0x9f557e=_0x4a974a;return this[_0x9f557e(0x184)](_0x21cad6);}async['loadSheetAsync'](_0x4d5d93){var _0x1c9979=_0x4a974a;return this[_0x1c9979(0x175)][_0x1c9979(0x18e)](_0x4d5d93,o[_0x1c9979(0x1a4)][_0x1c9979(0x18d)])||await this[_0x1c9979(0x194)][_0x1c9979(0x17d)](_0x4d5d93,0x0)?(await this[_0x1c9979(0x186)][_0x1c9979(0x191)](_0x4d5d93),this['_handler'][_0x1c9979(0x179)](_0x4d5d93)):null;}[_0x4a974a(0x193)](_0x686ff9,_0x249d2e){var _0x3374ac=_0x4a974a;const _0x4a6b7e=this[_0x3374ac(0x19e)][_0x3374ac(0x181)](c[_0x3374ac(0x177)])[_0x3374ac(0x185)](_0x686ff9)[_0x3374ac(0x1a0)](b[_0x3374ac(0x19a)](_0x179f6b=>_0x179f6b['members$']))[_0x3374ac(0x17c)](_0x5d4e66=>_0x249d2e(Array[_0x3374ac(0x19c)](_0x5d4e66[_0x3374ac(0x19f)]())));return o[_0x3374ac(0x178)](_0x4a6b7e);}},exports[_0x4a974a(0x1a3)]=S([s(0x1,o[_0x4a974a(0x198)](o[_0x4a974a(0x17e)])),s(0x2,o[_0x4a974a(0x188)]),s(0x3,o[_0x4a974a(0x198)](h[_0x4a974a(0x17a)])),s(0x4,o['Inject'](c[_0x4a974a(0x190)]))],exports[_0x4a974a(0x1a3)]);function _0x5898(_0x1c2355,_0x23567d){var _0x53f426=_0x53f4();return _0x5898=function(_0x58988c,_0x48aa11){_0x58988c=_0x58988c-0x172;var _0x591835=_0x53f426[_0x58988c];return _0x591835;},_0x5898(_0x1c2355,_0x23567d);}class _ extends o[_0x4a974a(0x197)]{['getCollaboration'](){var _0x318c48=_0x4a974a;return this[_0x318c48(0x19e)][_0x318c48(0x19b)](exports[_0x318c48(0x1a3)],{'getUniverSheet':_0x4d66ac=>this[_0x318c48(0x179)](_0x4d66ac)});}}o['FUniver'][_0x4a974a(0x18f)](_);function _0x53f4(){var _0xfcc847=['95Bejabl','FBase','UNIVER_SHEET','getUnit','extend','CollaborationController','readyForCollab','4848948SbhrEU','subscribeCollaborators','_snapshotService','884439NwGuSU','@univerjs-pro/collaboration-client','FUniver','Inject','15831DvCmHx','switchMap','createInstance','from','202548mpKFLH','_injector','values','pipe','@univerjs/core','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration','UniverInstanceType','4747992oRgmwO','defineProperty','_handler','_univerInstanceService','rxjs','MemberService','toDisposable','getUniverSheet','SnapshotService','@univerjs-pro/collaboration','subscribe','loadSheet','Injector','length','219428ftiOcK','get','toStringTag','384GYKdAm','loadSheetAsync','waitForRoom$','_collaborationController','loadActiveSheet','IUniverInstanceService','getOwnPropertyDescriptor','1031261ouiMUK'];_0x53f4=function(){return _0xfcc847;};return _0x53f4();}
1
+ 'use strict';var _0x276263=_0x4fb6;(function(_0x55c540,_0x507bfb){var _0x3af227=_0x4fb6,_0x5a7b89=_0x55c540();while(!![]){try{var _0x3c33fe=parseInt(_0x3af227(0x189))/0x1+parseInt(_0x3af227(0x17b))/0x2+parseInt(_0x3af227(0x184))/0x3*(-parseInt(_0x3af227(0x176))/0x4)+-parseInt(_0x3af227(0x17e))/0x5*(parseInt(_0x3af227(0x17a))/0x6)+-parseInt(_0x3af227(0x19b))/0x7*(parseInt(_0x3af227(0x190))/0x8)+parseInt(_0x3af227(0x194))/0x9+parseInt(_0x3af227(0x199))/0xa;if(_0x3c33fe===_0x507bfb)break;else _0x5a7b89['push'](_0x5a7b89['shift']());}catch(_0x3052c7){_0x5a7b89['push'](_0x5a7b89['shift']());}}}(_0x12b8,0xb901f));Object[_0x276263(0x174)](exports,Symbol[_0x276263(0x191)],{'value':'Module'});function _0x4fb6(_0x5ebdce,_0xa0321f){var _0x12b822=_0x12b8();return _0x4fb6=function(_0x4fb66b,_0x1ff98e){_0x4fb66b=_0x4fb66b-0x172;var _0x314083=_0x12b822[_0x4fb66b];return _0x314083;},_0x4fb6(_0x5ebdce,_0xa0321f);}const o=require('@univerjs/core'),h=require(_0x276263(0x182)),c=require(_0x276263(0x197)),b=require('rxjs');var v=Object[_0x276263(0x174)],u=Object[_0x276263(0x195)],S=(_0x2b99c4,_0x5efe52,_0x38f28f,_0x28f61)=>{var _0x27a40f=_0x276263;for(var _0x2d785a=_0x28f61>0x1?void 0x0:_0x28f61?u(_0x5efe52,_0x38f28f):_0x5efe52,_0x1cb737=_0x2b99c4[_0x27a40f(0x186)]-0x1,_0x4a5f57;_0x1cb737>=0x0;_0x1cb737--)(_0x4a5f57=_0x2b99c4[_0x1cb737])&&(_0x2d785a=(_0x28f61?_0x4a5f57(_0x5efe52,_0x38f28f,_0x2d785a):_0x4a5f57(_0x2d785a))||_0x2d785a);return _0x28f61&&_0x2d785a&&v(_0x5efe52,_0x38f28f,_0x2d785a),_0x2d785a;},s=(_0x56c721,_0xd21c53)=>(_0x829d49,_0x29821f)=>_0xd21c53(_0x829d49,_0x29821f,_0x56c721);exports['FCollaboration']=class extends o[_0x276263(0x17d)]{constructor(_0x4c1b0c,_0x1104a8,_0x3889dc,_0x1fd805,_0x57b342){var _0x58beee=_0x276263;super(),this['_handler']=_0x4c1b0c,this[_0x58beee(0x178)]=_0x1104a8,this[_0x58beee(0x18a)]=_0x3889dc,this[_0x58beee(0x198)]=_0x1fd805,this[_0x58beee(0x185)]=_0x57b342;}async['loadActiveSheet'](){var _0x2f707c=_0x276263;return this[_0x2f707c(0x18f)]();}async[_0x276263(0x18f)](){var _0x2c3396=_0x276263;throw new Error(_0x2c3396(0x18d));}async[_0x276263(0x17f)](_0x5b6ce0){var _0x5e6dda=_0x276263;return this[_0x5e6dda(0x179)](_0x5b6ce0);}async[_0x276263(0x179)](_0x719f15){var _0x86348b=_0x276263;return this[_0x86348b(0x18a)]['getUnit'](_0x719f15,o[_0x86348b(0x196)][_0x86348b(0x175)])||await this[_0x86348b(0x198)][_0x86348b(0x17f)](_0x719f15,0x0)?(await this[_0x86348b(0x185)]['readyForCollab'](_0x719f15),this[_0x86348b(0x183)][_0x86348b(0x19a)](_0x719f15)):null;}['subscribeCollaborators'](_0xa51ab9,_0x3a0b67){var _0xe14500=_0x276263;const _0x14773e=this[_0xe14500(0x178)]['get'](c['MemberService'])[_0xe14500(0x180)](_0xa51ab9)[_0xe14500(0x187)](b[_0xe14500(0x18b)](_0x49e050=>_0x49e050[_0xe14500(0x18e)]))[_0xe14500(0x193)](_0x42b557=>_0x3a0b67(Array['from'](_0x42b557[_0xe14500(0x17c)]())));return o['toDisposable'](_0x14773e);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o[_0x276263(0x181)])),s(0x2,o[_0x276263(0x192)]),s(0x3,o[_0x276263(0x18c)](h['SnapshotService'])),s(0x4,o[_0x276263(0x18c)](c[_0x276263(0x188)]))],exports[_0x276263(0x177)]);class _ extends o[_0x276263(0x172)]{['getCollaboration'](){var _0x48777d=_0x276263;return this['_injector'][_0x48777d(0x173)](exports[_0x48777d(0x177)],{'getUniverSheet':_0x2cca66=>this[_0x48777d(0x19a)](_0x2cca66)});}}o[_0x276263(0x172)]['extend'](_);function _0x12b8(){var _0xf161cf=['3NVbWTd','_collaborationController','length','pipe','CollaborationController','264331QhVqLr','_univerInstanceService','switchMap','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','members$','loadActiveSheetAsync','1992FGYMhh','toStringTag','IUniverInstanceService','subscribe','1260666ADejPt','getOwnPropertyDescriptor','UniverInstanceType','@univerjs-pro/collaboration-client','_snapshotService','3805250VxxGhr','getUniverSheet','784HjBEJV','FUniver','createInstance','defineProperty','UNIVER_SHEET','2811212ZjuzgL','FCollaboration','_injector','loadSheetAsync','318030LCXhWG','2785234eAtelj','values','FBase','65XVOmoQ','loadSheet','waitForRoom$','Injector','@univerjs-pro/collaboration','_handler'];_0x12b8=function(){return _0xf161cf;};return _0x12b8();}