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

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 _0x10242c=_0x2329;(function(_0x2eefd8,_0x3aa8d8){var _0x3c34bf=_0x2329,_0x55b977=_0x2eefd8();while(!![]){try{var _0x5ad3c0=parseInt(_0x3c34bf(0x8f))/0x1+parseInt(_0x3c34bf(0x8b))/0x2*(-parseInt(_0x3c34bf(0xb7))/0x3)+-parseInt(_0x3c34bf(0xab))/0x4*(-parseInt(_0x3c34bf(0xa1))/0x5)+-parseInt(_0x3c34bf(0x9d))/0x6+parseInt(_0x3c34bf(0xb0))/0x7*(parseInt(_0x3c34bf(0xaf))/0x8)+-parseInt(_0x3c34bf(0xb5))/0x9*(-parseInt(_0x3c34bf(0x91))/0xa)+-parseInt(_0x3c34bf(0x93))/0xb;if(_0x5ad3c0===_0x3aa8d8)break;else _0x55b977['push'](_0x55b977['shift']());}catch(_0x17eec1){_0x55b977['push'](_0x55b977['shift']());}}}(_0x43fb,0xe8013));Object['defineProperty'](exports,Symbol[_0x10242c(0xa9)],{'value':'Module'});function _0x43fb(){var _0x4702ab=['[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','readyForCollab','getUnit','values','Inject','extend','FUniver','8113038MEwCxr','_injector','from','createInstance','5hAAFmM','waitForRoom$','getOwnPropertyDescriptor','getCollaboration','FCollaboration','getUniverSheet','loadActiveSheet','MemberService','toStringTag','pipe','4936164fGvovd','_handler','subscribeCollaborators','_collaborationController','8vtcywf','9138661VPxrXi','switchMap','Injector','loadSheet','_snapshotService','414513mXaPbS','SnapshotService','1565481FZkIfO','@univerjs-pro/collaboration','FBase','2pYCRDJ','UniverInstanceType','subscribe','UNIVER_SHEET','1602062dnNOAf','CollaborationController','370NlyotT','@univerjs/core','33235884XtdWOJ','_univerInstanceService','length'];_0x43fb=function(){return _0x4702ab;};return _0x43fb();}function _0x2329(_0x406f32,_0x50e7ce){var _0x43fb2b=_0x43fb();return _0x2329=function(_0x2329b3,_0x3bdefa){_0x2329b3=_0x2329b3-0x8b;var _0x2a88d4=_0x43fb2b[_0x2329b3];return _0x2a88d4;},_0x2329(_0x406f32,_0x50e7ce);}const t=require(_0x10242c(0x92)),b=require(_0x10242c(0xb8)),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');var h=Object['defineProperty'],u=Object[_0x10242c(0xa3)],_=(_0x1e7aa3,_0x5d063f,_0x4b5615,_0x7b9228)=>{var _0xd98121=_0x10242c;for(var _0x5a5125=_0x7b9228>0x1?void 0x0:_0x7b9228?u(_0x5d063f,_0x4b5615):_0x5d063f,_0xa5f261=_0x1e7aa3[_0xd98121(0x95)]-0x1,_0x4a803c;_0xa5f261>=0x0;_0xa5f261--)(_0x4a803c=_0x1e7aa3[_0xa5f261])&&(_0x5a5125=(_0x7b9228?_0x4a803c(_0x5d063f,_0x4b5615,_0x5a5125):_0x4a803c(_0x5a5125))||_0x5a5125);return _0x7b9228&&_0x5a5125&&h(_0x5d063f,_0x4b5615,_0x5a5125),_0x5a5125;},s=(_0x4984e1,_0xf5a210)=>(_0x1dff70,_0x38fe3)=>_0xf5a210(_0x1dff70,_0x38fe3,_0x4984e1);exports[_0x10242c(0xa5)]=class extends t[_0x10242c(0xb9)]{constructor(_0x318c93,_0x366992,_0x217a74,_0x32d271,_0x10b5de){var _0x1bf2ff=_0x10242c;super(),this[_0x1bf2ff(0xac)]=_0x318c93,this[_0x1bf2ff(0x9e)]=_0x366992,this[_0x1bf2ff(0x94)]=_0x217a74,this[_0x1bf2ff(0xb4)]=_0x32d271,this['_collaborationController']=_0x10b5de;}async[_0x10242c(0xa7)](){var _0x264ea9=_0x10242c;throw new Error(_0x264ea9(0x96));}async['loadSheet'](_0x1dcfda){var _0xbfcd29=_0x10242c;return this[_0xbfcd29(0x94)][_0xbfcd29(0x98)](_0x1dcfda,t[_0xbfcd29(0x8c)][_0xbfcd29(0x8e)])||await this[_0xbfcd29(0xb4)][_0xbfcd29(0xb3)](_0x1dcfda,0x0)?(await this[_0xbfcd29(0xae)][_0xbfcd29(0x97)](_0x1dcfda),this[_0xbfcd29(0xac)][_0xbfcd29(0xa6)](_0x1dcfda)):null;}[_0x10242c(0xad)](_0x30b2f9,_0x21b456){var _0x21d43f=_0x10242c;const _0x278594=this[_0x21d43f(0x9e)]['get'](c[_0x21d43f(0xa8)])[_0x21d43f(0xa2)](_0x30b2f9)[_0x21d43f(0xaa)](v[_0x21d43f(0xb1)](_0x2abfb8=>_0x2abfb8['members$']))[_0x21d43f(0x8d)](_0x1ec22d=>_0x21b456(Array[_0x21d43f(0x9f)](_0x1ec22d[_0x21d43f(0x99)]())));return t['toDisposable'](_0x278594);}},exports[_0x10242c(0xa5)]=_([s(0x1,t['Inject'](t[_0x10242c(0xb2)])),s(0x2,t['IUniverInstanceService']),s(0x3,t[_0x10242c(0x9a)](b[_0x10242c(0xb6)])),s(0x4,t[_0x10242c(0x9a)](c[_0x10242c(0x90)]))],exports[_0x10242c(0xa5)]);class S extends t[_0x10242c(0x9c)]{[_0x10242c(0xa4)](){var _0x3a4d7a=_0x10242c;return this['_injector'][_0x3a4d7a(0xa0)](exports['FCollaboration'],{'getUniverSheet':_0x4890ba=>this[_0x3a4d7a(0xa6)](_0x4890ba)});}}t['FUniver'][_0x10242c(0x9b)](S);