@univerjs-pro/collaboration-client 0.5.1-nightly.202412180637 → 0.5.1-nightly.202412180740

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 _0x579bd3=_0x5d85;function _0x32e7(){var _0xc652f1=['818930EkuSbD','members$','getUnit','toDisposable','getUniverSheet','_handler','_univerInstanceService','pipe','12982888TUjRmF','6567748aoKqRR','extend','toStringTag','@univerjs-pro/collaboration','loadActiveSheet','6872585ncvxZS','FUniver','switchMap','loadSheet','_injector','subscribeCollaborators','482445JkZrcg','_collaborationController','defineProperty','Module','_snapshotService','getCollaboration','IUniverInstanceService','@univerjs/core','rxjs','MemberService','172963GNmRwD','UniverInstanceType','readyForCollab','SnapshotService','24nRuNqj','waitForRoom$','Injector','UNIVER_SHEET','from','FCollaboration','@univerjs-pro/collaboration-client','4322229iFPSHW'];_0x32e7=function(){return _0xc652f1;};return _0x32e7();}(function(_0x319267,_0x54e1c1){var _0x19db67=_0x5d85,_0x21a6e2=_0x319267();while(!![]){try{var _0x27f570=parseInt(_0x19db67(0x82))/0x1+parseInt(_0x19db67(0x6e))/0x2+parseInt(_0x19db67(0x6d))/0x3+-parseInt(_0x19db67(0x77))/0x4+-parseInt(_0x19db67(0x7c))/0x5+-parseInt(_0x19db67(0x90))/0x6*(parseInt(_0x19db67(0x8c))/0x7)+parseInt(_0x19db67(0x76))/0x8;if(_0x27f570===_0x54e1c1)break;else _0x21a6e2['push'](_0x21a6e2['shift']());}catch(_0x53b972){_0x21a6e2['push'](_0x21a6e2['shift']());}}}(_0x32e7,0xcd220));Object[_0x579bd3(0x84)](exports,Symbol[_0x579bd3(0x79)],{'value':_0x579bd3(0x85)});const t=require(_0x579bd3(0x89)),b=require(_0x579bd3(0x7a)),c=require(_0x579bd3(0x6c)),v=require(_0x579bd3(0x8a));var h=Object[_0x579bd3(0x84)],u=Object['getOwnPropertyDescriptor'],_=(_0xd02b71,_0x18565c,_0x2039cc,_0x16e202)=>{for(var _0x1579ab=_0x16e202>0x1?void 0x0:_0x16e202?u(_0x18565c,_0x2039cc):_0x18565c,_0x216c91=_0xd02b71['length']-0x1,_0x3988cb;_0x216c91>=0x0;_0x216c91--)(_0x3988cb=_0xd02b71[_0x216c91])&&(_0x1579ab=(_0x16e202?_0x3988cb(_0x18565c,_0x2039cc,_0x1579ab):_0x3988cb(_0x1579ab))||_0x1579ab);return _0x16e202&&_0x1579ab&&h(_0x18565c,_0x2039cc,_0x1579ab),_0x1579ab;},s=(_0xddf011,_0x56fd3d)=>(_0x5f0b76,_0x48db09)=>_0x56fd3d(_0x5f0b76,_0x48db09,_0xddf011);function _0x5d85(_0x21a153,_0x2d9c13){var _0x32e782=_0x32e7();return _0x5d85=function(_0x5d85c8,_0x3ed8d6){_0x5d85c8=_0x5d85c8-0x69;var _0x4bfcc1=_0x32e782[_0x5d85c8];return _0x4bfcc1;},_0x5d85(_0x21a153,_0x2d9c13);}exports[_0x579bd3(0x6b)]=class extends t['FBase']{constructor(_0x11638b,_0x39af1d,_0x104dab,_0x15b658,_0x50a76a){var _0x23bb8a=_0x579bd3;super(),this[_0x23bb8a(0x73)]=_0x11638b,this['_injector']=_0x39af1d,this[_0x23bb8a(0x74)]=_0x104dab,this[_0x23bb8a(0x86)]=_0x15b658,this[_0x23bb8a(0x83)]=_0x50a76a;}async[_0x579bd3(0x7b)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x579bd3(0x7f)](_0x27c9cb){var _0x9b1ab5=_0x579bd3;return this[_0x9b1ab5(0x74)][_0x9b1ab5(0x70)](_0x27c9cb,t[_0x9b1ab5(0x8d)][_0x9b1ab5(0x69)])||await this[_0x9b1ab5(0x86)][_0x9b1ab5(0x7f)](_0x27c9cb,0x0)?(await this[_0x9b1ab5(0x83)][_0x9b1ab5(0x8e)](_0x27c9cb),this[_0x9b1ab5(0x73)][_0x9b1ab5(0x72)](_0x27c9cb)):null;}[_0x579bd3(0x81)](_0x24f7e9,_0x295755){var _0x1b91bd=_0x579bd3;const _0x50861a=this[_0x1b91bd(0x80)]['get'](c[_0x1b91bd(0x8b)])[_0x1b91bd(0x91)](_0x24f7e9)[_0x1b91bd(0x75)](v[_0x1b91bd(0x7e)](_0x5bd961=>_0x5bd961[_0x1b91bd(0x6f)]))['subscribe'](_0x11ce71=>_0x295755(Array[_0x1b91bd(0x6a)](_0x11ce71['values']())));return t[_0x1b91bd(0x71)](_0x50861a);}},exports[_0x579bd3(0x6b)]=_([s(0x1,t['Inject'](t[_0x579bd3(0x92)])),s(0x2,t[_0x579bd3(0x88)]),s(0x3,t['Inject'](b[_0x579bd3(0x8f)])),s(0x4,t['Inject'](c['CollaborationController']))],exports['FCollaboration']);class S extends t[_0x579bd3(0x7d)]{[_0x579bd3(0x87)](){var _0x2e54d4=_0x579bd3;return this[_0x2e54d4(0x80)]['createInstance'](exports[_0x2e54d4(0x6b)],{'getUniverSheet':_0x4fb43f=>this['getUniverSheet'](_0x4fb43f)});}}t[_0x579bd3(0x7d)][_0x579bd3(0x78)](S);
1
+ 'use strict';var _0x1e4dad=_0x3540;function _0x3540(_0x13a20,_0x4e00d8){var _0x4774f6=_0x4774();return _0x3540=function(_0x354092,_0x3aa23d){_0x354092=_0x354092-0x177;var _0x1a4f6c=_0x4774f6[_0x354092];return _0x1a4f6c;},_0x3540(_0x13a20,_0x4e00d8);}(function(_0x16a2e9,_0x5c76ff){var _0x2e0931=_0x3540,_0x3f9a97=_0x16a2e9();while(!![]){try{var _0xd4e98c=-parseInt(_0x2e0931(0x18d))/0x1*(-parseInt(_0x2e0931(0x1a5))/0x2)+-parseInt(_0x2e0931(0x19c))/0x3+-parseInt(_0x2e0931(0x17d))/0x4+-parseInt(_0x2e0931(0x180))/0x5*(parseInt(_0x2e0931(0x177))/0x6)+-parseInt(_0x2e0931(0x178))/0x7*(-parseInt(_0x2e0931(0x198))/0x8)+-parseInt(_0x2e0931(0x18e))/0x9+-parseInt(_0x2e0931(0x191))/0xa*(-parseInt(_0x2e0931(0x186))/0xb);if(_0xd4e98c===_0x5c76ff)break;else _0x3f9a97['push'](_0x3f9a97['shift']());}catch(_0x168f67){_0x3f9a97['push'](_0x3f9a97['shift']());}}}(_0x4774,0x3d492));Object[_0x1e4dad(0x19e)](exports,Symbol[_0x1e4dad(0x1a1)],{'value':_0x1e4dad(0x188)});const t=require(_0x1e4dad(0x184)),b=require(_0x1e4dad(0x19b)),c=require(_0x1e4dad(0x183)),v=require(_0x1e4dad(0x17f));var h=Object[_0x1e4dad(0x19e)],u=Object['getOwnPropertyDescriptor'],_=(_0x4cfbe5,_0x3e9e95,_0x29e167,_0x4b33db)=>{for(var _0xc13cb6=_0x4b33db>0x1?void 0x0:_0x4b33db?u(_0x3e9e95,_0x29e167):_0x3e9e95,_0x201cc3=_0x4cfbe5['length']-0x1,_0x1b550e;_0x201cc3>=0x0;_0x201cc3--)(_0x1b550e=_0x4cfbe5[_0x201cc3])&&(_0xc13cb6=(_0x4b33db?_0x1b550e(_0x3e9e95,_0x29e167,_0xc13cb6):_0x1b550e(_0xc13cb6))||_0xc13cb6);return _0x4b33db&&_0xc13cb6&&h(_0x3e9e95,_0x29e167,_0xc13cb6),_0xc13cb6;},s=(_0x37b58d,_0x26c1b5)=>(_0x3e603e,_0x5a0c4b)=>_0x26c1b5(_0x3e603e,_0x5a0c4b,_0x37b58d);exports[_0x1e4dad(0x19d)]=class extends t['FBase']{constructor(_0x495450,_0x2dc65b,_0x296996,_0x19aa70,_0x39f6c1){var _0x5d1428=_0x1e4dad;super(),this[_0x5d1428(0x17b)]=_0x495450,this[_0x5d1428(0x197)]=_0x2dc65b,this[_0x5d1428(0x17c)]=_0x296996,this[_0x5d1428(0x18c)]=_0x19aa70,this[_0x5d1428(0x1a4)]=_0x39f6c1;}async[_0x1e4dad(0x192)](){var _0x388b48=_0x1e4dad;throw new Error(_0x388b48(0x182));}async['loadSheet'](_0x51a8a1){var _0x480b10=_0x1e4dad;return this[_0x480b10(0x17c)][_0x480b10(0x17a)](_0x51a8a1,t[_0x480b10(0x194)][_0x480b10(0x19f)])||await this[_0x480b10(0x18c)][_0x480b10(0x1a3)](_0x51a8a1,0x0)?(await this[_0x480b10(0x1a4)][_0x480b10(0x1a2)](_0x51a8a1),this['_handler'][_0x480b10(0x193)](_0x51a8a1)):null;}[_0x1e4dad(0x1a0)](_0x52f785,_0x467566){var _0x5349e9=_0x1e4dad;const _0xec6c90=this[_0x5349e9(0x197)][_0x5349e9(0x17e)](c[_0x5349e9(0x190)])[_0x5349e9(0x18a)](_0x52f785)['pipe'](v[_0x5349e9(0x189)](_0xa2127c=>_0xa2127c[_0x5349e9(0x195)]))['subscribe'](_0x3dd688=>_0x467566(Array[_0x5349e9(0x199)](_0x3dd688[_0x5349e9(0x179)]())));return t['toDisposable'](_0xec6c90);}},exports['FCollaboration']=_([s(0x1,t['Inject'](t[_0x1e4dad(0x185)])),s(0x2,t[_0x1e4dad(0x196)]),s(0x3,t[_0x1e4dad(0x181)](b[_0x1e4dad(0x187)])),s(0x4,t[_0x1e4dad(0x181)](c[_0x1e4dad(0x19a)]))],exports[_0x1e4dad(0x19d)]);class S extends t['FUniver']{[_0x1e4dad(0x18b)](){var _0x2aea5f=_0x1e4dad;return this['_injector'][_0x2aea5f(0x18f)](exports[_0x2aea5f(0x19d)],{'getUniverSheet':_0x235a25=>this['getUniverSheet'](_0x235a25)});}}t['FUniver']['extend'](S);function _0x4774(){var _0x5aae6a=['75pPnDNl','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','@univerjs/core','Injector','616946ZXCvJm','SnapshotService','Module','switchMap','waitForRoom$','getCollaboration','_snapshotService','5gDsGkQ','1605159CTvNhB','createInstance','MemberService','50mVaAxW','loadActiveSheet','getUniverSheet','UniverInstanceType','members$','IUniverInstanceService','_injector','1673264AfpRey','from','CollaborationController','@univerjs-pro/collaboration','491871zLKLbz','FCollaboration','defineProperty','UNIVER_SHEET','subscribeCollaborators','toStringTag','readyForCollab','loadSheet','_collaborationController','155914ffjYlf','177690DVPIJz','14HXgoxk','values','getUnit','_handler','_univerInstanceService','203888TTNkAY','get','rxjs'];_0x4774=function(){return _0x5aae6a;};return _0x4774();}