@univerjs-pro/collaboration-client 0.5.1-nightly.202412241606 → 0.5.1-nightly.202412251606

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 _0x25b799=_0x253d;(function(_0x47cc86,_0x4ccdcf){var _0x63e407=_0x253d,_0x304190=_0x47cc86();while(!![]){try{var _0x1993f3=parseInt(_0x63e407(0x192))/0x1+parseInt(_0x63e407(0x1b0))/0x2+-parseInt(_0x63e407(0x1b7))/0x3+parseInt(_0x63e407(0x1b6))/0x4+parseInt(_0x63e407(0x1af))/0x5+-parseInt(_0x63e407(0x1a2))/0x6+-parseInt(_0x63e407(0x1ae))/0x7;if(_0x1993f3===_0x4ccdcf)break;else _0x304190['push'](_0x304190['shift']());}catch(_0x480e4){_0x304190['push'](_0x304190['shift']());}}}(_0x9993,0x599b7));Object[_0x25b799(0x1a5)](exports,Symbol[_0x25b799(0x19c)],{'value':_0x25b799(0x19f)});const t=require('@univerjs/core'),b=require(_0x25b799(0x198)),c=require(_0x25b799(0x1a7)),v=require('rxjs');var h=Object[_0x25b799(0x1a5)],u=Object['getOwnPropertyDescriptor'],_=(_0x5c583d,_0x80415d,_0xb287d3,_0x5a8798)=>{var _0x27f166=_0x25b799;for(var _0x27ee34=_0x5a8798>0x1?void 0x0:_0x5a8798?u(_0x80415d,_0xb287d3):_0x80415d,_0x3cde6f=_0x5c583d[_0x27f166(0x191)]-0x1,_0x3f53cc;_0x3cde6f>=0x0;_0x3cde6f--)(_0x3f53cc=_0x5c583d[_0x3cde6f])&&(_0x27ee34=(_0x5a8798?_0x3f53cc(_0x80415d,_0xb287d3,_0x27ee34):_0x3f53cc(_0x27ee34))||_0x27ee34);return _0x5a8798&&_0x27ee34&&h(_0x80415d,_0xb287d3,_0x27ee34),_0x27ee34;},s=(_0x4c393f,_0x4346e4)=>(_0x157acd,_0x154cf6)=>_0x4346e4(_0x157acd,_0x154cf6,_0x4c393f);exports[_0x25b799(0x1ad)]=class extends t['FBase']{constructor(_0x199b91,_0x45f42b,_0x17c433,_0x31dde5,_0xc6dddb){var _0x57509b=_0x25b799;super(),this[_0x57509b(0x1a0)]=_0x199b91,this['_injector']=_0x45f42b,this[_0x57509b(0x1b4)]=_0x17c433,this[_0x57509b(0x1a9)]=_0x31dde5,this[_0x57509b(0x194)]=_0xc6dddb;}async[_0x25b799(0x1ab)](){var _0xf956d8=_0x25b799;throw new Error(_0xf956d8(0x1a4));}async[_0x25b799(0x19a)](_0x2cb614){var _0x1c8038=_0x25b799;return this[_0x1c8038(0x1b4)][_0x1c8038(0x199)](_0x2cb614,t[_0x1c8038(0x19d)][_0x1c8038(0x1b2)])||await this[_0x1c8038(0x1a9)][_0x1c8038(0x19a)](_0x2cb614,0x0)?(await this[_0x1c8038(0x194)]['readyForCollab'](_0x2cb614),this['_handler'][_0x1c8038(0x1a1)](_0x2cb614)):null;}[_0x25b799(0x1a8)](_0x771f3f,_0x5691d8){var _0x300c9a=_0x25b799;const _0x1a9bfa=this['_injector']['get'](c[_0x300c9a(0x1aa)])[_0x300c9a(0x19b)](_0x771f3f)['pipe'](v[_0x300c9a(0x1b3)](_0x9fe5af=>_0x9fe5af['members$']))[_0x300c9a(0x19e)](_0x3f32f9=>_0x5691d8(Array[_0x300c9a(0x195)](_0x3f32f9[_0x300c9a(0x1b1)]())));return t['toDisposable'](_0x1a9bfa);}},exports['FCollaboration']=_([s(0x1,t['Inject'](t[_0x25b799(0x193)])),s(0x2,t[_0x25b799(0x190)]),s(0x3,t[_0x25b799(0x1a6)](b[_0x25b799(0x196)])),s(0x4,t[_0x25b799(0x1a6)](c[_0x25b799(0x1ac)]))],exports[_0x25b799(0x1ad)]);class S extends t[_0x25b799(0x18f)]{[_0x25b799(0x1a3)](){var _0x32f4d6=_0x25b799;return this['_injector'][_0x32f4d6(0x1b5)](exports[_0x32f4d6(0x1ad)],{'getUniverSheet':_0x48807c=>this[_0x32f4d6(0x1a1)](_0x48807c)});}}t['FUniver'][_0x25b799(0x197)](S);function _0x253d(_0x1e9d7f,_0x38feba){var _0x999356=_0x9993();return _0x253d=function(_0x253d71,_0x10f1d3){_0x253d71=_0x253d71-0x18f;var _0x36f6cd=_0x999356[_0x253d71];return _0x36f6cd;},_0x253d(_0x1e9d7f,_0x38feba);}function _0x9993(){var _0x3f10ef=['length','677001hhgXKk','Injector','_collaborationController','from','SnapshotService','extend','@univerjs-pro/collaboration','getUnit','loadSheet','waitForRoom$','toStringTag','UniverInstanceType','subscribe','Module','_handler','getUniverSheet','871218VManev','getCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','defineProperty','Inject','@univerjs-pro/collaboration-client','subscribeCollaborators','_snapshotService','MemberService','loadActiveSheet','CollaborationController','FCollaboration','10041745qKdlfh','3142495QtiMOM','1393494PCzWpF','values','UNIVER_SHEET','switchMap','_univerInstanceService','createInstance','2704968yGKyaG','2195160PdVcnQ','FUniver','IUniverInstanceService'];_0x9993=function(){return _0x3f10ef;};return _0x9993();}
1
+ 'use strict';var _0x19b96e=_0x465e;function _0x465e(_0xe533d1,_0x4a4700){var _0x383859=_0x3838();return _0x465e=function(_0x465ef8,_0x307e5a){_0x465ef8=_0x465ef8-0xd0;var _0x2e14f3=_0x383859[_0x465ef8];return _0x2e14f3;},_0x465e(_0xe533d1,_0x4a4700);}(function(_0x17a742,_0xad61ab){var _0x1cc3d2=_0x465e,_0xc6da34=_0x17a742();while(!![]){try{var _0x2c7952=-parseInt(_0x1cc3d2(0xeb))/0x1*(parseInt(_0x1cc3d2(0xdf))/0x2)+-parseInt(_0x1cc3d2(0xd3))/0x3*(-parseInt(_0x1cc3d2(0xd9))/0x4)+parseInt(_0x1cc3d2(0xe3))/0x5*(parseInt(_0x1cc3d2(0xec))/0x6)+parseInt(_0x1cc3d2(0xf7))/0x7*(parseInt(_0x1cc3d2(0xdc))/0x8)+parseInt(_0x1cc3d2(0xf3))/0x9*(parseInt(_0x1cc3d2(0xff))/0xa)+parseInt(_0x1cc3d2(0xf2))/0xb+-parseInt(_0x1cc3d2(0xf9))/0xc;if(_0x2c7952===_0xad61ab)break;else _0xc6da34['push'](_0xc6da34['shift']());}catch(_0x19ac3f){_0xc6da34['push'](_0xc6da34['shift']());}}}(_0x3838,0x68830));function _0x3838(){var _0x520e0e=['9356545nAQYVL','960813FjUvjd','_injector','subscribeCollaborators','_handler','1169DFZUXm','pipe','14527008XzJXko','Inject','_collaborationController','Injector','toStringTag','_snapshotService','40VDWSVu','CollaborationController','UniverInstanceType','FBase','UNIVER_SHEET','1257tLrimK','members$','@univerjs-pro/collaboration-client','createInstance','get','values','2692AjXioU','SnapshotService','FUniver','4488vtMaIY','@univerjs/core','FCollaboration','130wOWrFM','defineProperty','loadActiveSheet','getUniverSheet','156965uoniUv','IUniverInstanceService','readyForCollab','getUnit','_univerInstanceService','from','length','loadSheet','2157wHGegB','24LSwEAo','@univerjs-pro/collaboration','subscribe','rxjs','Module','waitForRoom$'];_0x3838=function(){return _0x520e0e;};return _0x3838();}Object[_0x19b96e(0xe0)](exports,Symbol[_0x19b96e(0xfd)],{'value':_0x19b96e(0xf0)});const t=require(_0x19b96e(0xdd)),b=require(_0x19b96e(0xed)),c=require(_0x19b96e(0xd5)),v=require(_0x19b96e(0xef));var h=Object[_0x19b96e(0xe0)],u=Object['getOwnPropertyDescriptor'],_=(_0x5af1df,_0x52e7ae,_0x4a9c31,_0x5d8689)=>{var _0x443763=_0x19b96e;for(var _0x325baf=_0x5d8689>0x1?void 0x0:_0x5d8689?u(_0x52e7ae,_0x4a9c31):_0x52e7ae,_0x35788b=_0x5af1df[_0x443763(0xe9)]-0x1,_0x4c5525;_0x35788b>=0x0;_0x35788b--)(_0x4c5525=_0x5af1df[_0x35788b])&&(_0x325baf=(_0x5d8689?_0x4c5525(_0x52e7ae,_0x4a9c31,_0x325baf):_0x4c5525(_0x325baf))||_0x325baf);return _0x5d8689&&_0x325baf&&h(_0x52e7ae,_0x4a9c31,_0x325baf),_0x325baf;},s=(_0x1952bf,_0x4b42c1)=>(_0x57c8b,_0x2732f3)=>_0x4b42c1(_0x57c8b,_0x2732f3,_0x1952bf);exports['FCollaboration']=class extends t[_0x19b96e(0xd1)]{constructor(_0x4cb710,_0x51b73f,_0x3ae12c,_0x598de3,_0x3b4015){var _0x579c86=_0x19b96e;super(),this[_0x579c86(0xf6)]=_0x4cb710,this[_0x579c86(0xf4)]=_0x51b73f,this[_0x579c86(0xe7)]=_0x3ae12c,this[_0x579c86(0xfe)]=_0x598de3,this['_collaborationController']=_0x3b4015;}async[_0x19b96e(0xe1)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x380e8d){var _0x3c6a0b=_0x19b96e;return this[_0x3c6a0b(0xe7)][_0x3c6a0b(0xe6)](_0x380e8d,t[_0x3c6a0b(0xd0)][_0x3c6a0b(0xd2)])||await this[_0x3c6a0b(0xfe)][_0x3c6a0b(0xea)](_0x380e8d,0x0)?(await this[_0x3c6a0b(0xfb)][_0x3c6a0b(0xe5)](_0x380e8d),this['_handler'][_0x3c6a0b(0xe2)](_0x380e8d)):null;}[_0x19b96e(0xf5)](_0x3abd8f,_0x2771db){var _0x1af174=_0x19b96e;const _0x2d4040=this[_0x1af174(0xf4)][_0x1af174(0xd7)](c['MemberService'])[_0x1af174(0xf1)](_0x3abd8f)[_0x1af174(0xf8)](v['switchMap'](_0x283a4e=>_0x283a4e[_0x1af174(0xd4)]))[_0x1af174(0xee)](_0x1723d9=>_0x2771db(Array[_0x1af174(0xe8)](_0x1723d9[_0x1af174(0xd8)]())));return t['toDisposable'](_0x2d4040);}},exports[_0x19b96e(0xde)]=_([s(0x1,t[_0x19b96e(0xfa)](t[_0x19b96e(0xfc)])),s(0x2,t[_0x19b96e(0xe4)]),s(0x3,t[_0x19b96e(0xfa)](b[_0x19b96e(0xda)])),s(0x4,t['Inject'](c[_0x19b96e(0x100)]))],exports['FCollaboration']);class S extends t[_0x19b96e(0xdb)]{['getCollaboration'](){var _0x1fd8cc=_0x19b96e;return this[_0x1fd8cc(0xf4)][_0x1fd8cc(0xd6)](exports[_0x1fd8cc(0xde)],{'getUniverSheet':_0x43b806=>this['getUniverSheet'](_0x43b806)});}}t[_0x19b96e(0xdb)]['extend'](S);