@univerjs-pro/collaboration-client 0.7.0-nightly.202505021607 → 0.7.0-nightly.202505031606

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 _0x337815=_0x2c8f;(function(_0x2ceae4,_0x1924bc){var _0x11a4e1=_0x2c8f,_0x44dece=_0x2ceae4();while(!![]){try{var _0x3a3d1b=-parseInt(_0x11a4e1(0x1be))/0x1*(parseInt(_0x11a4e1(0x1d9))/0x2)+parseInt(_0x11a4e1(0x1c5))/0x3*(-parseInt(_0x11a4e1(0x1b7))/0x4)+parseInt(_0x11a4e1(0x1cb))/0x5+parseInt(_0x11a4e1(0x1c8))/0x6*(parseInt(_0x11a4e1(0x1d2))/0x7)+-parseInt(_0x11a4e1(0x1b3))/0x8+-parseInt(_0x11a4e1(0x1c2))/0x9+-parseInt(_0x11a4e1(0x1d3))/0xa*(-parseInt(_0x11a4e1(0x1c0))/0xb);if(_0x3a3d1b===_0x1924bc)break;else _0x44dece['push'](_0x44dece['shift']());}catch(_0xcd2a5c){_0x44dece['push'](_0x44dece['shift']());}}}(_0x19b1,0xc7cfa));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x337815(0x1ad)});const c=require(_0x337815(0x1bd)),l=require('@univerjs/core/facade'),v=require(_0x337815(0x1d5)),i=require(_0x337815(0x1ce)),b=require(_0x337815(0x1af));function _0x19b1(){var _0x4f0b38=['_snapshotService','IUniverInstanceService','waitForRoom$','CollaborationController','@univerjs-pro/collaboration-client','554146nNJGDs','getUniverSheet','869bQKADc','from','4725432VAWkAV','loadActiveSheet','SnapshotService','9WzrOXL','get','Inject','12zlCiyA','loadUnit','subscribeCollaborators','6691435cBodeI','loadSheetAsync','values','@univerjs/core','_collaborationController','loadActiveSheetAsync','_injector','4684267RvPBel','149290jqwfWe','FCollaboration','@univerjs-pro/collaboration','loadSheet','DataLoaderService','Injector','4DLudVt','Module','MemberService','rxjs','FUniver','loadServerUnit','_handler','6528680TOBAIp','getOwnPropertyDescriptor','extend','getCollaboration','784252VumWsw','createInstance'];_0x19b1=function(){return _0x4f0b38;};return _0x19b1();}var S=Object[_0x337815(0x1b4)],d=(_0x2cd777,_0x454c7c,_0x15df89,_0xb9bcbb)=>{for(var _0x254781=_0xb9bcbb>0x1?void 0x0:_0xb9bcbb?S(_0x454c7c,_0x15df89):_0x454c7c,_0x59c3a8=_0x2cd777['length']-0x1,_0x4c0dd5;_0x59c3a8>=0x0;_0x59c3a8--)(_0x4c0dd5=_0x2cd777[_0x59c3a8])&&(_0x254781=_0x4c0dd5(_0x254781)||_0x254781);return _0x254781;},s=(_0x427da2,_0x1b4e0f)=>(_0x514988,_0x2332b5)=>_0x1b4e0f(_0x514988,_0x2332b5,_0x427da2);exports[_0x337815(0x1d4)]=class extends l['FBase']{constructor(_0x58d3b1,_0x40ab6d,_0x1431d8,_0x2ffa9f,_0x4a3cec){var _0x2136bb=_0x337815;super(),this['_handler']=_0x58d3b1,this[_0x2136bb(0x1d1)]=_0x40ab6d,this['_univerInstanceService']=_0x1431d8,this[_0x2136bb(0x1b9)]=_0x2ffa9f,this[_0x2136bb(0x1cf)]=_0x4a3cec;}async[_0x337815(0x1c3)](){return this['loadActiveSheetAsync']();}async[_0x337815(0x1d0)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x337815(0x1d6)](_0x1682d2){var _0x500d06=_0x337815;return this[_0x500d06(0x1cc)](_0x1682d2);}async[_0x337815(0x1cc)](_0x35cb19,_0x2967ee){var _0x37c698=_0x337815;return await this[_0x37c698(0x1b9)]['loadSheet'](_0x35cb19,0x0,_0x2967ee)?(await this[_0x37c698(0x1cf)]['readyForCollab'](_0x35cb19),this[_0x37c698(0x1b2)][_0x37c698(0x1bf)](_0x35cb19)):null;}[_0x337815(0x1ca)](_0x5a9e0c,_0x450d94){var _0x4234da=_0x337815;const _0x3298a9=this['_injector'][_0x4234da(0x1c6)](c[_0x4234da(0x1ae)])[_0x4234da(0x1bb)](_0x5a9e0c)['pipe'](b['switchMap'](_0x1221b5=>_0x1221b5['members$']))['subscribe'](_0x5aaa1d=>_0x450d94(Array[_0x4234da(0x1c1)](_0x5aaa1d[_0x4234da(0x1cd)]())));return i['toDisposable'](_0x3298a9);}},exports[_0x337815(0x1d4)]=d([s(0x1,i['Inject'](i[_0x337815(0x1d8)])),s(0x2,i[_0x337815(0x1ba)]),s(0x3,i[_0x337815(0x1c7)](v[_0x337815(0x1c4)])),s(0x4,i[_0x337815(0x1c7)](c[_0x337815(0x1bc)]))],exports[_0x337815(0x1d4)]);function _0x2c8f(_0x30ebfb,_0x2baae5){var _0x19b13a=_0x19b1();return _0x2c8f=function(_0x2c8f9f,_0x2eac47){_0x2c8f9f=_0x2c8f9f-0x1ad;var _0x51f008=_0x19b13a[_0x2c8f9f];return _0x51f008;},_0x2c8f(_0x30ebfb,_0x2baae5);}class u extends l[_0x337815(0x1b0)]{[_0x337815(0x1b6)](){var _0x1a972e=_0x337815;return this[_0x1a972e(0x1d1)][_0x1a972e(0x1b8)](exports['FCollaboration'],{'getUniverSheet':_0x4482ac=>this['getUniverSheet'](_0x4482ac)});}[_0x337815(0x1b1)](_0x23e69d,_0x2d2cfd,_0x4f2078){var _0x2970d8=_0x337815;return this[_0x2970d8(0x1d1)][_0x2970d8(0x1b8)](c[_0x2970d8(0x1d7)])[_0x2970d8(0x1c9)](_0x23e69d,_0x2d2cfd,_0x4f2078);}}l['FUniver'][_0x337815(0x1b5)](u);
1
+ 'use strict';var _0x49b2e2=_0x276e;(function(_0x33d70a,_0x1eb887){var _0x28d320=_0x276e,_0x55f0fc=_0x33d70a();while(!![]){try{var _0x7e916=-parseInt(_0x28d320(0x1d7))/0x1+-parseInt(_0x28d320(0x1e2))/0x2*(-parseInt(_0x28d320(0x1d9))/0x3)+-parseInt(_0x28d320(0x1fb))/0x4*(-parseInt(_0x28d320(0x1e3))/0x5)+-parseInt(_0x28d320(0x1e1))/0x6*(-parseInt(_0x28d320(0x1ff))/0x7)+-parseInt(_0x28d320(0x1db))/0x8*(parseInt(_0x28d320(0x1e0))/0x9)+-parseInt(_0x28d320(0x1f5))/0xa+parseInt(_0x28d320(0x1f8))/0xb;if(_0x7e916===_0x1eb887)break;else _0x55f0fc['push'](_0x55f0fc['shift']());}catch(_0x1b5d6e){_0x55f0fc['push'](_0x55f0fc['shift']());}}}(_0x1756,0x2433f));Object['defineProperty'](exports,Symbol[_0x49b2e2(0x207)],{'value':_0x49b2e2(0x1f3)});function _0x276e(_0x3494dc,_0x38af00){var _0x17561b=_0x1756();return _0x276e=function(_0x276ebf,_0x53dcfc){_0x276ebf=_0x276ebf-0x1d6;var _0x420f37=_0x17561b[_0x276ebf];return _0x420f37;},_0x276e(_0x3494dc,_0x38af00);}function _0x1756(){var _0x51aa95=['getCollaboration','get','getUniverSheet','@univerjs-pro/collaboration-client','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FBase','subscribe','waitForRoom$','_handler','_univerInstanceService','Module','loadSheetAsync','751760dqukRo','switchMap','loadActiveSheet','1836868cxXxzx','members$','_injector','4ncBPOn','getOwnPropertyDescriptor','IUniverInstanceService','Injector','889riPfWk','subscribeCollaborators','FCollaboration','Inject','_collaborationController','createInstance','@univerjs/core','extend','toStringTag','loadActiveSheetAsync','loadServerUnit','134786DneXax','_snapshotService','4857KggqiO','FUniver','34376AjDGAz','toDisposable','MemberService','from','loadUnit','99WhMbvs','10770eTfWzG','6GJUkal','28530qfmBeI','@univerjs/core/facade','loadSheet','rxjs','@univerjs-pro/collaboration','pipe'];_0x1756=function(){return _0x51aa95;};return _0x1756();}const c=require(_0x49b2e2(0x1ec)),l=require(_0x49b2e2(0x1e4)),v=require(_0x49b2e2(0x1e7)),i=require(_0x49b2e2(0x205)),b=require(_0x49b2e2(0x1e6));var S=Object[_0x49b2e2(0x1fc)],d=(_0x240e2e,_0x4a8cb6,_0x3fe045,_0x1e8653)=>{for(var _0x384fe9=_0x1e8653>0x1?void 0x0:_0x1e8653?S(_0x4a8cb6,_0x3fe045):_0x4a8cb6,_0x5d4160=_0x240e2e['length']-0x1,_0x49c46d;_0x5d4160>=0x0;_0x5d4160--)(_0x49c46d=_0x240e2e[_0x5d4160])&&(_0x384fe9=_0x49c46d(_0x384fe9)||_0x384fe9);return _0x384fe9;},s=(_0x340e7d,_0x16d78b)=>(_0x5e5779,_0x2b5807)=>_0x16d78b(_0x5e5779,_0x2b5807,_0x340e7d);exports[_0x49b2e2(0x201)]=class extends l[_0x49b2e2(0x1ee)]{constructor(_0x229045,_0x2f61df,_0x52231d,_0x282fc0,_0x3c578e){var _0x3f803b=_0x49b2e2;super(),this[_0x3f803b(0x1f1)]=_0x229045,this[_0x3f803b(0x1fa)]=_0x2f61df,this[_0x3f803b(0x1f2)]=_0x52231d,this[_0x3f803b(0x1d8)]=_0x282fc0,this[_0x3f803b(0x203)]=_0x3c578e;}async[_0x49b2e2(0x1f7)](){var _0x3a1be0=_0x49b2e2;return this[_0x3a1be0(0x208)]();}async['loadActiveSheetAsync'](){var _0x54f970=_0x49b2e2;throw new Error(_0x54f970(0x1ed));}async[_0x49b2e2(0x1e5)](_0x499112){var _0x2f6c35=_0x49b2e2;return this[_0x2f6c35(0x1f4)](_0x499112);}async[_0x49b2e2(0x1f4)](_0x3705e3,_0x238b6d){var _0x2e79f7=_0x49b2e2;return await this[_0x2e79f7(0x1d8)][_0x2e79f7(0x1e5)](_0x3705e3,0x0,_0x238b6d)?(await this[_0x2e79f7(0x203)]['readyForCollab'](_0x3705e3),this[_0x2e79f7(0x1f1)]['getUniverSheet'](_0x3705e3)):null;}[_0x49b2e2(0x200)](_0x219209,_0x468173){var _0xf8680c=_0x49b2e2;const _0x4b4107=this[_0xf8680c(0x1fa)][_0xf8680c(0x1ea)](c[_0xf8680c(0x1dd)])[_0xf8680c(0x1f0)](_0x219209)[_0xf8680c(0x1e8)](b[_0xf8680c(0x1f6)](_0x5a41e3=>_0x5a41e3[_0xf8680c(0x1f9)]))[_0xf8680c(0x1ef)](_0x249e66=>_0x468173(Array[_0xf8680c(0x1de)](_0x249e66['values']())));return i[_0xf8680c(0x1dc)](_0x4b4107);}},exports[_0x49b2e2(0x201)]=d([s(0x1,i[_0x49b2e2(0x202)](i[_0x49b2e2(0x1fe)])),s(0x2,i[_0x49b2e2(0x1fd)]),s(0x3,i[_0x49b2e2(0x202)](v['SnapshotService'])),s(0x4,i['Inject'](c['CollaborationController']))],exports[_0x49b2e2(0x201)]);class u extends l['FUniver']{[_0x49b2e2(0x1e9)](){var _0x366151=_0x49b2e2;return this['_injector'][_0x366151(0x204)](exports[_0x366151(0x201)],{'getUniverSheet':_0x76ee39=>this[_0x366151(0x1eb)](_0x76ee39)});}[_0x49b2e2(0x1d6)](_0x35a928,_0x35b690,_0x9c8702){var _0x41f7b3=_0x49b2e2;return this[_0x41f7b3(0x1fa)][_0x41f7b3(0x204)](c['DataLoaderService'])[_0x41f7b3(0x1df)](_0x35a928,_0x35b690,_0x9c8702);}}l[_0x49b2e2(0x1da)][_0x49b2e2(0x206)](u);