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

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 _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();}
1
+ 'use strict';var _0x10ea08=_0x5009;(function(_0x3227b2,_0xc907a5){var _0x19c16b=_0x5009,_0x2fabb0=_0x3227b2();while(!![]){try{var _0x56eb99=-parseInt(_0x19c16b(0x1a0))/0x1*(-parseInt(_0x19c16b(0x19f))/0x2)+-parseInt(_0x19c16b(0x195))/0x3*(-parseInt(_0x19c16b(0x18d))/0x4)+parseInt(_0x19c16b(0x19a))/0x5+parseInt(_0x19c16b(0x180))/0x6+-parseInt(_0x19c16b(0x19c))/0x7*(-parseInt(_0x19c16b(0x1a8))/0x8)+-parseInt(_0x19c16b(0x1a2))/0x9+parseInt(_0x19c16b(0x193))/0xa*(-parseInt(_0x19c16b(0x18f))/0xb);if(_0x56eb99===_0xc907a5)break;else _0x2fabb0['push'](_0x2fabb0['shift']());}catch(_0x35da0e){_0x2fabb0['push'](_0x2fabb0['shift']());}}}(_0x3766,0xc03e5));Object[_0x10ea08(0x188)](exports,Symbol['toStringTag'],{'value':_0x10ea08(0x183)});const t=require(_0x10ea08(0x190)),b=require(_0x10ea08(0x199)),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');var h=Object[_0x10ea08(0x188)],u=Object['getOwnPropertyDescriptor'],_=(_0x3d846d,_0x2bd0d0,_0x11a9f1,_0x45e8f2)=>{var _0xb86391=_0x10ea08;for(var _0x436059=_0x45e8f2>0x1?void 0x0:_0x45e8f2?u(_0x2bd0d0,_0x11a9f1):_0x2bd0d0,_0x24371c=_0x3d846d[_0xb86391(0x192)]-0x1,_0x5cd80e;_0x24371c>=0x0;_0x24371c--)(_0x5cd80e=_0x3d846d[_0x24371c])&&(_0x436059=(_0x45e8f2?_0x5cd80e(_0x2bd0d0,_0x11a9f1,_0x436059):_0x5cd80e(_0x436059))||_0x436059);return _0x45e8f2&&_0x436059&&h(_0x2bd0d0,_0x11a9f1,_0x436059),_0x436059;},s=(_0x1f9504,_0x298cc7)=>(_0x31a8ec,_0x1b2b76)=>_0x298cc7(_0x31a8ec,_0x1b2b76,_0x1f9504);function _0x5009(_0x824462,_0x434409){var _0x3766fd=_0x3766();return _0x5009=function(_0x5009ed,_0x5d28f4){_0x5009ed=_0x5009ed-0x17f;var _0x50b6bf=_0x3766fd[_0x5009ed];return _0x50b6bf;},_0x5009(_0x824462,_0x434409);}exports[_0x10ea08(0x186)]=class extends t[_0x10ea08(0x18b)]{constructor(_0x4f24b7,_0x5dfa90,_0x364ab4,_0x3c4ddf,_0x127729){var _0x421985=_0x10ea08;super(),this[_0x421985(0x18a)]=_0x4f24b7,this[_0x421985(0x18e)]=_0x5dfa90,this[_0x421985(0x19b)]=_0x364ab4,this[_0x421985(0x19d)]=_0x3c4ddf,this[_0x421985(0x1a3)]=_0x127729;}async['loadActiveSheet'](){var _0x19a380=_0x10ea08;throw new Error(_0x19a380(0x19e));}async['loadSheet'](_0x172b86){var _0x28c6a6=_0x10ea08;return this[_0x28c6a6(0x19b)][_0x28c6a6(0x1a1)](_0x172b86,t[_0x28c6a6(0x196)][_0x28c6a6(0x184)])||await this[_0x28c6a6(0x19d)][_0x28c6a6(0x1a4)](_0x172b86,0x0)?(await this[_0x28c6a6(0x1a3)][_0x28c6a6(0x181)](_0x172b86),this[_0x28c6a6(0x18a)][_0x28c6a6(0x194)](_0x172b86)):null;}[_0x10ea08(0x198)](_0x5c689d,_0x4197fa){var _0x3848ed=_0x10ea08;const _0x48ed36=this[_0x3848ed(0x18e)][_0x3848ed(0x182)](c['MemberService'])[_0x3848ed(0x1a6)](_0x5c689d)[_0x3848ed(0x197)](v['switchMap'](_0x2fb53e=>_0x2fb53e['members$']))[_0x3848ed(0x1a5)](_0x553836=>_0x4197fa(Array['from'](_0x553836[_0x3848ed(0x185)]())));return t['toDisposable'](_0x48ed36);}},exports[_0x10ea08(0x186)]=_([s(0x1,t[_0x10ea08(0x191)](t[_0x10ea08(0x187)])),s(0x2,t[_0x10ea08(0x189)]),s(0x3,t[_0x10ea08(0x191)](b['SnapshotService'])),s(0x4,t[_0x10ea08(0x191)](c['CollaborationController']))],exports['FCollaboration']);class S extends t[_0x10ea08(0x1a7)]{[_0x10ea08(0x17f)](){var _0x4c4161=_0x10ea08;return this[_0x4c4161(0x18e)][_0x4c4161(0x18c)](exports['FCollaboration'],{'getUniverSheet':_0xb1c9fe=>this[_0x4c4161(0x194)](_0xb1c9fe)});}}t['FUniver']['extend'](S);function _0x3766(){var _0xb22373=['Inject','length','23046650RGsVmy','getUniverSheet','3164958ESIdto','UniverInstanceType','pipe','subscribeCollaborators','@univerjs-pro/collaboration','5036840OrfGuA','_univerInstanceService','35609GVSLKu','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','118554Ddgmkb','10QYUlfn','getUnit','5387238WSqMlg','_collaborationController','loadSheet','subscribe','waitForRoom$','FUniver','1416uVBVSQ','getCollaboration','810918SUtlOm','readyForCollab','get','Module','UNIVER_SHEET','values','FCollaboration','Injector','defineProperty','IUniverInstanceService','_handler','FBase','createInstance','4ecdQyf','_injector','11YYMrur','@univerjs/core'];_0x3766=function(){return _0xb22373;};return _0x3766();}