@univerjs-pro/collaboration-client 0.5.2 → 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';function _0x218f(){var _0x5d9ed7=['FCollaboration','switchMap','MemberService','1519OnKOHm','FBase','loadSheet','462tnNoUm','7vsaqSE','_injector','defineProperty','1384434CmDdnO','rxjs','UNIVER_SHEET','Injector','waitForRoom$','@univerjs-pro/collaboration-client','values','1780568zKXSzV','getUniverSheet','subscribeCollaborators','subscribe','getUnit','FUniver','Module','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','16136593VMZvSU','1065258zHVmbK','@univerjs/core','pipe','_handler','6715600elVIae','_univerInstanceService','5yUilZh','SnapshotService','3qlwleM','IUniverInstanceService','members$','Inject','length','UniverInstanceType','12SzaQOb','@univerjs-pro/collaboration','extend','getCollaboration','_collaborationController','730288ubAWpm','get'];_0x218f=function(){return _0x5d9ed7;};return _0x218f();}var _0x53fc11=_0x5a37;(function(_0x61f8b6,_0x56e2fb){var _0x595ee5=_0x5a37,_0x2212a0=_0x61f8b6();while(!![]){try{var _0x25f528=parseInt(_0x595ee5(0xea))/0x1*(-parseInt(_0x595ee5(0xed))/0x2)+-parseInt(_0x595ee5(0xda))/0x3*(-parseInt(_0x595ee5(0xe5))/0x4)+-parseInt(_0x595ee5(0x107))/0x5*(parseInt(_0x595ee5(0xf1))/0x6)+-parseInt(_0x595ee5(0xee))/0x7*(-parseInt(_0x595ee5(0xf8))/0x8)+-parseInt(_0x595ee5(0x101))/0x9+-parseInt(_0x595ee5(0x105))/0xa+parseInt(_0x595ee5(0x100))/0xb*(parseInt(_0x595ee5(0xe0))/0xc);if(_0x25f528===_0x56e2fb)break;else _0x2212a0['push'](_0x2212a0['shift']());}catch(_0x5128eb){_0x2212a0['push'](_0x2212a0['shift']());}}}(_0x218f,0x7a34c));Object[_0x53fc11(0xf0)](exports,Symbol['toStringTag'],{'value':_0x53fc11(0xfe)});const t=require(_0x53fc11(0x102)),b=require(_0x53fc11(0xe1)),c=require(_0x53fc11(0xf6)),v=require(_0x53fc11(0xf2));function _0x5a37(_0x35df16,_0x2394b6){var _0x218f2d=_0x218f();return _0x5a37=function(_0x5a37b8,_0x3e12f4){_0x5a37b8=_0x5a37b8-0xd9;var _0x39a597=_0x218f2d[_0x5a37b8];return _0x39a597;},_0x5a37(_0x35df16,_0x2394b6);}var h=Object[_0x53fc11(0xf0)],u=Object['getOwnPropertyDescriptor'],_=(_0x2e9b3d,_0xf17c1f,_0x1a0f70,_0x441d8b)=>{var _0x4100d6=_0x53fc11;for(var _0xffc980=_0x441d8b>0x1?void 0x0:_0x441d8b?u(_0xf17c1f,_0x1a0f70):_0xf17c1f,_0x572f79=_0x2e9b3d[_0x4100d6(0xde)]-0x1,_0x5a7a8e;_0x572f79>=0x0;_0x572f79--)(_0x5a7a8e=_0x2e9b3d[_0x572f79])&&(_0xffc980=(_0x441d8b?_0x5a7a8e(_0xf17c1f,_0x1a0f70,_0xffc980):_0x5a7a8e(_0xffc980))||_0xffc980);return _0x441d8b&&_0xffc980&&h(_0xf17c1f,_0x1a0f70,_0xffc980),_0xffc980;},s=(_0xc7576e,_0x4e8dc8)=>(_0x4e644f,_0x286085)=>_0x4e8dc8(_0x4e644f,_0x286085,_0xc7576e);exports[_0x53fc11(0xe7)]=class extends t[_0x53fc11(0xeb)]{constructor(_0x37c287,_0x112872,_0x730564,_0x17203f,_0x129d6e){var _0x395068=_0x53fc11;super(),this[_0x395068(0x104)]=_0x37c287,this[_0x395068(0xef)]=_0x112872,this[_0x395068(0x106)]=_0x730564,this['_snapshotService']=_0x17203f,this[_0x395068(0xe4)]=_0x129d6e;}async['loadActiveSheet'](){var _0x5447c0=_0x53fc11;throw new Error(_0x5447c0(0xff));}async['loadSheet'](_0x1cf17b){var _0x5cb969=_0x53fc11;return this[_0x5cb969(0x106)][_0x5cb969(0xfc)](_0x1cf17b,t[_0x5cb969(0xdf)][_0x5cb969(0xf3)])||await this['_snapshotService'][_0x5cb969(0xec)](_0x1cf17b,0x0)?(await this[_0x5cb969(0xe4)]['readyForCollab'](_0x1cf17b),this[_0x5cb969(0x104)]['getUniverSheet'](_0x1cf17b)):null;}[_0x53fc11(0xfa)](_0x39d457,_0x3ece92){var _0x433e55=_0x53fc11;const _0x1ae99f=this[_0x433e55(0xef)][_0x433e55(0xe6)](c[_0x433e55(0xe9)])[_0x433e55(0xf5)](_0x39d457)[_0x433e55(0x103)](v[_0x433e55(0xe8)](_0x3242f0=>_0x3242f0[_0x433e55(0xdc)]))[_0x433e55(0xfb)](_0x5798da=>_0x3ece92(Array['from'](_0x5798da[_0x433e55(0xf7)]())));return t['toDisposable'](_0x1ae99f);}},exports[_0x53fc11(0xe7)]=_([s(0x1,t['Inject'](t[_0x53fc11(0xf4)])),s(0x2,t[_0x53fc11(0xdb)]),s(0x3,t[_0x53fc11(0xdd)](b[_0x53fc11(0xd9)])),s(0x4,t[_0x53fc11(0xdd)](c['CollaborationController']))],exports[_0x53fc11(0xe7)]);class S extends t['FUniver']{[_0x53fc11(0xe3)](){var _0x2c8ffc=_0x53fc11;return this['_injector']['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x45fb63=>this[_0x2c8ffc(0xf9)](_0x45fb63)});}}t[_0x53fc11(0xfd)][_0x53fc11(0xe2)](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);