@univerjs-pro/collaboration-client 0.6.0-nightly.202502161605 → 0.6.0-nightly.202502171606

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 _0xc5aca8=_0xd162;(function(_0x35d04a,_0x10a33a){var _0x36ebf3=_0xd162,_0x1d6b43=_0x35d04a();while(!![]){try{var _0x3e83f7=-parseInt(_0x36ebf3(0xb4))/0x1*(parseInt(_0x36ebf3(0xb2))/0x2)+parseInt(_0x36ebf3(0xb6))/0x3+-parseInt(_0x36ebf3(0xb9))/0x4*(parseInt(_0x36ebf3(0xa5))/0x5)+parseInt(_0x36ebf3(0x9e))/0x6*(parseInt(_0x36ebf3(0xbc))/0x7)+-parseInt(_0x36ebf3(0x9b))/0x8+-parseInt(_0x36ebf3(0xad))/0x9+parseInt(_0x36ebf3(0xa9))/0xa;if(_0x3e83f7===_0x10a33a)break;else _0x1d6b43['push'](_0x1d6b43['shift']());}catch(_0x390781){_0x1d6b43['push'](_0x1d6b43['shift']());}}}(_0x5d20,0xd71ab));function _0x5d20(){var _0x23425b=['501sUIPcK','_snapshotService','5082228HnvvAc','@univerjs-pro/collaboration-client','pipe','185060zptoTB','getOwnPropertyDescriptor','_collaborationController','31633TddMiA','switchMap','SnapshotService','_handler','_injector','FCollaboration','rxjs','waitForRoom$','members$','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','values','9997176OFiIcv','Inject','getCollaboration','2298GNimyb','loadActiveSheet','loadActiveSheetAsync','defineProperty','MemberService','_univerInstanceService','get','135foZJnP','@univerjs/core','loadSheet','loadSheetAsync','18082100Zssubz','FUniver','createInstance','subscribe','11601612mwILjP','Module','IUniverInstanceService','getUniverSheet','@univerjs/core/facade','2252jUxjXD','toDisposable'];_0x5d20=function(){return _0x23425b;};return _0x5d20();}function _0xd162(_0x22e9ac,_0x138bc7){var _0x5d20d1=_0x5d20();return _0xd162=function(_0xd1623b,_0x580b51){_0xd1623b=_0xd1623b-0x92;var _0x548937=_0x5d20d1[_0xd1623b];return _0x548937;},_0xd162(_0x22e9ac,_0x138bc7);}Object[_0xc5aca8(0xa1)](exports,Symbol['toStringTag'],{'value':_0xc5aca8(0xae)});const c=require(_0xc5aca8(0xb1)),b=require('@univerjs-pro/collaboration'),h=require(_0xc5aca8(0xb7)),i=require(_0xc5aca8(0xa6)),v=require(_0xc5aca8(0x96));var u=Object[_0xc5aca8(0xa1)],S=Object[_0xc5aca8(0xba)],_=(_0x575d19,_0x467e8f,_0x42348b,_0x1b0017)=>{for(var _0x3ba163=_0x1b0017>0x1?void 0x0:_0x1b0017?S(_0x467e8f,_0x42348b):_0x467e8f,_0x41119e=_0x575d19['length']-0x1,_0x34644d;_0x41119e>=0x0;_0x41119e--)(_0x34644d=_0x575d19[_0x41119e])&&(_0x3ba163=(_0x1b0017?_0x34644d(_0x467e8f,_0x42348b,_0x3ba163):_0x34644d(_0x3ba163))||_0x3ba163);return _0x1b0017&&_0x3ba163&&u(_0x467e8f,_0x42348b,_0x3ba163),_0x3ba163;},s=(_0xa6e122,_0x4f1558)=>(_0x3129c5,_0x30834f)=>_0x4f1558(_0x3129c5,_0x30834f,_0xa6e122);exports[_0xc5aca8(0x95)]=class extends c['FBase']{constructor(_0x32893c,_0x4fd106,_0x47bba6,_0x4f4211,_0x2b8b81){var _0x219d2a=_0xc5aca8;super(),this[_0x219d2a(0x93)]=_0x32893c,this[_0x219d2a(0x94)]=_0x4fd106,this[_0x219d2a(0xa3)]=_0x47bba6,this[_0x219d2a(0xb5)]=_0x4f4211,this[_0x219d2a(0xbb)]=_0x2b8b81;}async[_0xc5aca8(0x9f)](){var _0x3b80a3=_0xc5aca8;return this[_0x3b80a3(0xa0)]();}async['loadActiveSheetAsync'](){var _0x4bffed=_0xc5aca8;throw new Error(_0x4bffed(0x99));}async[_0xc5aca8(0xa7)](_0xef108b){var _0x1216f1=_0xc5aca8;return this[_0x1216f1(0xa8)](_0xef108b);}async['loadSheetAsync'](_0x5477e1,_0x542e23){var _0xce2164=_0xc5aca8;return await this[_0xce2164(0xb5)][_0xce2164(0xa7)](_0x5477e1,0x0,_0x542e23)?(await this[_0xce2164(0xbb)]['readyForCollab'](_0x5477e1),this[_0xce2164(0x93)][_0xce2164(0xb0)](_0x5477e1)):null;}['subscribeCollaborators'](_0x25a74b,_0x1ca2fa){var _0x3b45e=_0xc5aca8;const _0x437ea5=this[_0x3b45e(0x94)][_0x3b45e(0xa4)](h[_0x3b45e(0xa2)])[_0x3b45e(0x97)](_0x25a74b)[_0x3b45e(0xb8)](v[_0x3b45e(0xbd)](_0x32ce89=>_0x32ce89[_0x3b45e(0x98)]))[_0x3b45e(0xac)](_0x901db3=>_0x1ca2fa(Array['from'](_0x901db3[_0x3b45e(0x9a)]())));return i[_0x3b45e(0xb3)](_0x437ea5);}},exports[_0xc5aca8(0x95)]=_([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0xc5aca8(0xaf)]),s(0x3,i['Inject'](b[_0xc5aca8(0x92)])),s(0x4,i[_0xc5aca8(0x9c)](h['CollaborationController']))],exports[_0xc5aca8(0x95)]);class d extends c['FUniver']{[_0xc5aca8(0x9d)](){var _0x308256=_0xc5aca8;return this[_0x308256(0x94)][_0x308256(0xab)](exports['FCollaboration'],{'getUniverSheet':_0x3ee3bd=>this[_0x308256(0xb0)](_0x3ee3bd)});}}c[_0xc5aca8(0xaa)]['extend'](d);
1
+ 'use strict';var _0x457fd1=_0x597a;function _0x2b42(){var _0x1387da=['518wmSqBQ','from','@univerjs-pro/collaboration-client','Inject','toStringTag','_snapshotService','subscribeCollaborators','getCollaboration','Injector','CollaborationController','length','subscribe','Module','waitForRoom$','values','switchMap','loadSheetAsync','2607930yoXjXN','3520XODSlf','@univerjs-pro/collaboration','loadSheet','_handler','MemberService','FUniver','loadActiveSheetAsync','FBase','members$','defineProperty','extend','getOwnPropertyDescriptor','2810cryAsn','18YiSkqo','readyForCollab','3092SIptmo','23507UhXEXM','_univerInstanceService','SnapshotService','72088CksjUO','getUniverSheet','loadActiveSheet','_collaborationController','get','_injector','2841606zgTlxA','5539746SMiShg','FCollaboration','9814daTUtp','pipe','@univerjs/core/facade'];_0x2b42=function(){return _0x1387da;};return _0x2b42();}function _0x597a(_0x43f846,_0x1c6468){var _0x2b423e=_0x2b42();return _0x597a=function(_0x597afc,_0x5c621f){_0x597afc=_0x597afc-0xec;var _0x1abad1=_0x2b423e[_0x597afc];return _0x1abad1;},_0x597a(_0x43f846,_0x1c6468);}(function(_0x32515f,_0x4f99cf){var _0x57b23c=_0x597a,_0x121b3b=_0x32515f();while(!![]){try{var _0x59a77c=parseInt(_0x57b23c(0x102))/0x1*(parseInt(_0x57b23c(0xf3))/0x2)+-parseInt(_0x57b23c(0xff))/0x3+parseInt(_0x57b23c(0xf5))/0x4*(-parseInt(_0x57b23c(0x117))/0x5)+parseInt(_0x57b23c(0x100))/0x6+-parseInt(_0x57b23c(0x105))/0x7*(-parseInt(_0x57b23c(0xf9))/0x8)+-parseInt(_0x57b23c(0x116))/0x9+parseInt(_0x57b23c(0xf2))/0xa*(parseInt(_0x57b23c(0xf6))/0xb);if(_0x59a77c===_0x4f99cf)break;else _0x121b3b['push'](_0x121b3b['shift']());}catch(_0x3865f5){_0x121b3b['push'](_0x121b3b['shift']());}}}(_0x2b42,0x79864));Object[_0x457fd1(0xef)](exports,Symbol[_0x457fd1(0x109)],{'value':_0x457fd1(0x111)});const c=require(_0x457fd1(0x104)),b=require(_0x457fd1(0x118)),h=require(_0x457fd1(0x107)),i=require('@univerjs/core'),v=require('rxjs');var u=Object[_0x457fd1(0xef)],S=Object[_0x457fd1(0xf1)],_=(_0x58581c,_0x16d944,_0x116766,_0x3b49b5)=>{var _0x37b3ec=_0x457fd1;for(var _0x39c731=_0x3b49b5>0x1?void 0x0:_0x3b49b5?S(_0x16d944,_0x116766):_0x16d944,_0x115f1d=_0x58581c[_0x37b3ec(0x10f)]-0x1,_0x5f1c6c;_0x115f1d>=0x0;_0x115f1d--)(_0x5f1c6c=_0x58581c[_0x115f1d])&&(_0x39c731=(_0x3b49b5?_0x5f1c6c(_0x16d944,_0x116766,_0x39c731):_0x5f1c6c(_0x39c731))||_0x39c731);return _0x3b49b5&&_0x39c731&&u(_0x16d944,_0x116766,_0x39c731),_0x39c731;},s=(_0x5eab8f,_0x5cd0bc)=>(_0xe7320c,_0x796f8c)=>_0x5cd0bc(_0xe7320c,_0x796f8c,_0x5eab8f);exports[_0x457fd1(0x101)]=class extends c[_0x457fd1(0xed)]{constructor(_0x2f3ad7,_0x3b14d6,_0x4a9438,_0x90c1ac,_0x2579e1){var _0x528b9a=_0x457fd1;super(),this[_0x528b9a(0x11a)]=_0x2f3ad7,this[_0x528b9a(0xfe)]=_0x3b14d6,this[_0x528b9a(0xf7)]=_0x4a9438,this[_0x528b9a(0x10a)]=_0x90c1ac,this[_0x528b9a(0xfc)]=_0x2579e1;}async[_0x457fd1(0xfb)](){return this['loadActiveSheetAsync']();}async[_0x457fd1(0xec)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x457fd1(0x119)](_0x5c64c5){var _0x3ed5bb=_0x457fd1;return this[_0x3ed5bb(0x115)](_0x5c64c5);}async[_0x457fd1(0x115)](_0x86df61,_0xc012ef){var _0x5630af=_0x457fd1;return await this['_snapshotService'][_0x5630af(0x119)](_0x86df61,0x0,_0xc012ef)?(await this[_0x5630af(0xfc)][_0x5630af(0xf4)](_0x86df61),this[_0x5630af(0x11a)]['getUniverSheet'](_0x86df61)):null;}[_0x457fd1(0x10b)](_0x47d93b,_0x44ab31){var _0x3156c1=_0x457fd1;const _0x390ce2=this[_0x3156c1(0xfe)][_0x3156c1(0xfd)](h[_0x3156c1(0x11b)])[_0x3156c1(0x112)](_0x47d93b)[_0x3156c1(0x103)](v[_0x3156c1(0x114)](_0x5a8a6d=>_0x5a8a6d[_0x3156c1(0xee)]))[_0x3156c1(0x110)](_0x5051ef=>_0x44ab31(Array[_0x3156c1(0x106)](_0x5051ef[_0x3156c1(0x113)]())));return i['toDisposable'](_0x390ce2);}},exports[_0x457fd1(0x101)]=_([s(0x1,i[_0x457fd1(0x108)](i[_0x457fd1(0x10d)])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](b[_0x457fd1(0xf8)])),s(0x4,i['Inject'](h[_0x457fd1(0x10e)]))],exports['FCollaboration']);class d extends c['FUniver']{[_0x457fd1(0x10c)](){var _0x4978df=_0x457fd1;return this[_0x4978df(0xfe)]['createInstance'](exports[_0x4978df(0x101)],{'getUniverSheet':_0x58360a=>this[_0x4978df(0xfa)](_0x58360a)});}}c[_0x457fd1(0x11c)][_0x457fd1(0xf0)](d);