@univerjs-pro/collaboration-client 0.5.4-nightly.202501170612 → 0.5.4-nightly.202501171120

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 _0x4a6aa6=_0x1975;(function(_0x5821c2,_0x3f9717){var _0x3458cf=_0x1975,_0x20fd9d=_0x5821c2();while(!![]){try{var _0x2f6c2e=parseInt(_0x3458cf(0x103))/0x1+parseInt(_0x3458cf(0x102))/0x2*(-parseInt(_0x3458cf(0x127))/0x3)+parseInt(_0x3458cf(0x115))/0x4*(parseInt(_0x3458cf(0x112))/0x5)+-parseInt(_0x3458cf(0x121))/0x6*(-parseInt(_0x3458cf(0x120))/0x7)+parseInt(_0x3458cf(0x106))/0x8+parseInt(_0x3458cf(0x116))/0x9+-parseInt(_0x3458cf(0x119))/0xa;if(_0x2f6c2e===_0x3f9717)break;else _0x20fd9d['push'](_0x20fd9d['shift']());}catch(_0x2ae8cb){_0x20fd9d['push'](_0x20fd9d['shift']());}}}(_0x3500,0x99af1));function _0x1975(_0x184138,_0x1c059a){var _0x3500d6=_0x3500();return _0x1975=function(_0x197598,_0x159e2e){_0x197598=_0x197598-0xff;var _0x1ec18b=_0x3500d6[_0x197598];return _0x1ec18b;},_0x1975(_0x184138,_0x1c059a);}Object[_0x4a6aa6(0x111)](exports,Symbol[_0x4a6aa6(0x11e)],{'value':_0x4a6aa6(0x125)});const o=require(_0x4a6aa6(0x12b)),h=require(_0x4a6aa6(0x122)),c=require(_0x4a6aa6(0x11d)),b=require(_0x4a6aa6(0x129));var v=Object[_0x4a6aa6(0x111)],u=Object[_0x4a6aa6(0x10f)],S=(_0x5aa9ed,_0x1ab8c1,_0x3f8702,_0x1577c6)=>{var _0x336595=_0x4a6aa6;for(var _0x1b4bd3=_0x1577c6>0x1?void 0x0:_0x1577c6?u(_0x1ab8c1,_0x3f8702):_0x1ab8c1,_0x215727=_0x5aa9ed[_0x336595(0x108)]-0x1,_0x2715c1;_0x215727>=0x0;_0x215727--)(_0x2715c1=_0x5aa9ed[_0x215727])&&(_0x1b4bd3=(_0x1577c6?_0x2715c1(_0x1ab8c1,_0x3f8702,_0x1b4bd3):_0x2715c1(_0x1b4bd3))||_0x1b4bd3);return _0x1577c6&&_0x1b4bd3&&v(_0x1ab8c1,_0x3f8702,_0x1b4bd3),_0x1b4bd3;},s=(_0x4d58e1,_0x197d02)=>(_0x3cff82,_0x47c5a8)=>_0x197d02(_0x3cff82,_0x47c5a8,_0x4d58e1);exports['FCollaboration']=class extends o[_0x4a6aa6(0x107)]{constructor(_0x59ec50,_0x5a3ffc,_0x3d0aec,_0x346ad0,_0x5ecf6e){var _0x782cbe=_0x4a6aa6;super(),this['_handler']=_0x59ec50,this[_0x782cbe(0x12c)]=_0x5a3ffc,this[_0x782cbe(0x124)]=_0x3d0aec,this[_0x782cbe(0x126)]=_0x346ad0,this[_0x782cbe(0x117)]=_0x5ecf6e;}async[_0x4a6aa6(0x11b)](){return this['loadActiveSheetAsync']();}async[_0x4a6aa6(0x101)](){var _0x4ada4b=_0x4a6aa6;throw new Error(_0x4ada4b(0x10a));}async[_0x4a6aa6(0x10c)](_0x58f042){return this['loadSheetAsync'](_0x58f042);}async[_0x4a6aa6(0x100)](_0x3f7787){var _0x2f5128=_0x4a6aa6;return this[_0x2f5128(0x124)][_0x2f5128(0x12a)](_0x3f7787,o[_0x2f5128(0x104)][_0x2f5128(0x123)])||await this[_0x2f5128(0x126)][_0x2f5128(0x10c)](_0x3f7787,0x0)?(await this[_0x2f5128(0x117)]['readyForCollab'](_0x3f7787),this[_0x2f5128(0x11c)][_0x2f5128(0x114)](_0x3f7787)):null;}[_0x4a6aa6(0x118)](_0x51ca7e,_0x5731){var _0x4b8e86=_0x4a6aa6;const _0x1f4554=this[_0x4b8e86(0x12c)]['get'](c['MemberService'])['waitForRoom$'](_0x51ca7e)['pipe'](b['switchMap'](_0x40e8f3=>_0x40e8f3[_0x4b8e86(0x10d)]))[_0x4b8e86(0x109)](_0x57328f=>_0x5731(Array[_0x4b8e86(0x11a)](_0x57328f[_0x4b8e86(0x128)]())));return o['toDisposable'](_0x1f4554);}},exports['FCollaboration']=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o['Inject'](h[_0x4a6aa6(0x110)])),s(0x4,o[_0x4a6aa6(0x11f)](c[_0x4a6aa6(0x105)]))],exports[_0x4a6aa6(0xff)]);class _ extends o['FUniver']{[_0x4a6aa6(0x10b)](){var _0x36a7ba=_0x4a6aa6;return this[_0x36a7ba(0x12c)][_0x36a7ba(0x113)](exports['FCollaboration'],{'getUniverSheet':_0x42c6c7=>this[_0x36a7ba(0x114)](_0x42c6c7)});}}o[_0x4a6aa6(0x10e)]['extend'](_);function _0x3500(){var _0x195c9d=['members$','FUniver','getOwnPropertyDescriptor','SnapshotService','defineProperty','5elGKMS','createInstance','getUniverSheet','1393624ErjtBA','5604291iggUlU','_collaborationController','subscribeCollaborators','22157900mLXZcp','from','loadActiveSheet','_handler','@univerjs-pro/collaboration-client','toStringTag','Inject','10857MibBeW','4326pVTnmZ','@univerjs-pro/collaboration','UNIVER_SHEET','_univerInstanceService','Module','_snapshotService','935835WNUsWV','values','rxjs','getUnit','@univerjs/core','_injector','FCollaboration','loadSheetAsync','loadActiveSheetAsync','4eHoASh','873046nBgSOi','UniverInstanceType','CollaborationController','4053976ukptlY','FBase','length','subscribe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getCollaboration','loadSheet'];_0x3500=function(){return _0x195c9d;};return _0x3500();}
1
+ 'use strict';var _0x4a974a=_0x5898;(function(_0x2bfbe8,_0x8f54c2){var _0x352d45=_0x5898,_0x3966d0=_0x2bfbe8();while(!![]){try{var _0x2d29b2=-parseInt(_0x352d45(0x195))/0x1+-parseInt(_0x352d45(0x19d))/0x2+parseInt(_0x352d45(0x192))/0x3+parseInt(_0x352d45(0x180))/0x4*(parseInt(_0x352d45(0x18b))/0x5)+-parseInt(_0x352d45(0x172))/0x6+-parseInt(_0x352d45(0x18a))/0x7+parseInt(_0x352d45(0x183))/0x8*(parseInt(_0x352d45(0x199))/0x9);if(_0x2d29b2===_0x8f54c2)break;else _0x3966d0['push'](_0x3966d0['shift']());}catch(_0x369688){_0x3966d0['push'](_0x3966d0['shift']());}}}(_0x53f4,0xc7de7));Object[_0x4a974a(0x173)](exports,Symbol[_0x4a974a(0x182)],{'value':'Module'});const o=require(_0x4a974a(0x1a1)),h=require(_0x4a974a(0x17b)),c=require(_0x4a974a(0x196)),b=require(_0x4a974a(0x176));var v=Object[_0x4a974a(0x173)],u=Object[_0x4a974a(0x189)],S=(_0x2cd6a1,_0x31ddaf,_0x66eaf2,_0x5eb281)=>{var _0x2707c2=_0x4a974a;for(var _0x3ee07b=_0x5eb281>0x1?void 0x0:_0x5eb281?u(_0x31ddaf,_0x66eaf2):_0x31ddaf,_0x8e350d=_0x2cd6a1[_0x2707c2(0x17f)]-0x1,_0x48ea5b;_0x8e350d>=0x0;_0x8e350d--)(_0x48ea5b=_0x2cd6a1[_0x8e350d])&&(_0x3ee07b=(_0x5eb281?_0x48ea5b(_0x31ddaf,_0x66eaf2,_0x3ee07b):_0x48ea5b(_0x3ee07b))||_0x3ee07b);return _0x5eb281&&_0x3ee07b&&v(_0x31ddaf,_0x66eaf2,_0x3ee07b),_0x3ee07b;},s=(_0xb2c065,_0x3ce4c5)=>(_0x6e06a0,_0x3744c4)=>_0x3ce4c5(_0x6e06a0,_0x3744c4,_0xb2c065);exports[_0x4a974a(0x1a3)]=class extends o[_0x4a974a(0x18c)]{constructor(_0x39746a,_0x4a3ef1,_0x2c7bd5,_0x544f2e,_0x54c851){var _0x11b261=_0x4a974a;super(),this[_0x11b261(0x174)]=_0x39746a,this[_0x11b261(0x19e)]=_0x4a3ef1,this[_0x11b261(0x175)]=_0x2c7bd5,this['_snapshotService']=_0x544f2e,this['_collaborationController']=_0x54c851;}async[_0x4a974a(0x187)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x2223ac=_0x4a974a;throw new Error(_0x2223ac(0x1a2));}async[_0x4a974a(0x17d)](_0x21cad6){var _0x9f557e=_0x4a974a;return this[_0x9f557e(0x184)](_0x21cad6);}async['loadSheetAsync'](_0x4d5d93){var _0x1c9979=_0x4a974a;return this[_0x1c9979(0x175)][_0x1c9979(0x18e)](_0x4d5d93,o[_0x1c9979(0x1a4)][_0x1c9979(0x18d)])||await this[_0x1c9979(0x194)][_0x1c9979(0x17d)](_0x4d5d93,0x0)?(await this[_0x1c9979(0x186)][_0x1c9979(0x191)](_0x4d5d93),this['_handler'][_0x1c9979(0x179)](_0x4d5d93)):null;}[_0x4a974a(0x193)](_0x686ff9,_0x249d2e){var _0x3374ac=_0x4a974a;const _0x4a6b7e=this[_0x3374ac(0x19e)][_0x3374ac(0x181)](c[_0x3374ac(0x177)])[_0x3374ac(0x185)](_0x686ff9)[_0x3374ac(0x1a0)](b[_0x3374ac(0x19a)](_0x179f6b=>_0x179f6b['members$']))[_0x3374ac(0x17c)](_0x5d4e66=>_0x249d2e(Array[_0x3374ac(0x19c)](_0x5d4e66[_0x3374ac(0x19f)]())));return o[_0x3374ac(0x178)](_0x4a6b7e);}},exports[_0x4a974a(0x1a3)]=S([s(0x1,o[_0x4a974a(0x198)](o[_0x4a974a(0x17e)])),s(0x2,o[_0x4a974a(0x188)]),s(0x3,o[_0x4a974a(0x198)](h[_0x4a974a(0x17a)])),s(0x4,o['Inject'](c[_0x4a974a(0x190)]))],exports[_0x4a974a(0x1a3)]);function _0x5898(_0x1c2355,_0x23567d){var _0x53f426=_0x53f4();return _0x5898=function(_0x58988c,_0x48aa11){_0x58988c=_0x58988c-0x172;var _0x591835=_0x53f426[_0x58988c];return _0x591835;},_0x5898(_0x1c2355,_0x23567d);}class _ extends o[_0x4a974a(0x197)]{['getCollaboration'](){var _0x318c48=_0x4a974a;return this[_0x318c48(0x19e)][_0x318c48(0x19b)](exports[_0x318c48(0x1a3)],{'getUniverSheet':_0x4d66ac=>this[_0x318c48(0x179)](_0x4d66ac)});}}o['FUniver'][_0x4a974a(0x18f)](_);function _0x53f4(){var _0xfcc847=['95Bejabl','FBase','UNIVER_SHEET','getUnit','extend','CollaborationController','readyForCollab','4848948SbhrEU','subscribeCollaborators','_snapshotService','884439NwGuSU','@univerjs-pro/collaboration-client','FUniver','Inject','15831DvCmHx','switchMap','createInstance','from','202548mpKFLH','_injector','values','pipe','@univerjs/core','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration','UniverInstanceType','4747992oRgmwO','defineProperty','_handler','_univerInstanceService','rxjs','MemberService','toDisposable','getUniverSheet','SnapshotService','@univerjs-pro/collaboration','subscribe','loadSheet','Injector','length','219428ftiOcK','get','toStringTag','384GYKdAm','loadSheetAsync','waitForRoom$','_collaborationController','loadActiveSheet','IUniverInstanceService','getOwnPropertyDescriptor','1031261ouiMUK'];_0x53f4=function(){return _0xfcc847;};return _0x53f4();}