@univerjs-pro/collaboration-client 0.6.9-nightly.202504081607 → 0.6.9-nightly.202504091607

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';function _0x43f1(){var _0x18d74a=['defineProperty','from','67leuYKe','@univerjs-pro/collaboration','_collaborationController','FBase','subscribeCollaborators','length','getUniverSheet','loadActiveSheetAsync','loadSheetAsync','Module','12318507PEwRKE','loadActiveSheet','loadServerUnit','values','@univerjs-pro/collaboration-client','FUniver','getCollaboration','_injector','73902NvLckw','SnapshotService','9785860ZFxrWS','getOwnPropertyDescriptor','4465956XGxKil','MemberService','651zcriUt','1784455jVhDZq','IUniverInstanceService','get','toStringTag','DataLoaderService','Inject','subscribe','members$','@univerjs/core','createInstance','_univerInstanceService','FCollaboration','rxjs','Injector','12904EsTQUp','loadSheet','5756408gOYUlD','_handler','pipe','4WaUJvS','readyForCollab'];_0x43f1=function(){return _0x18d74a;};return _0x43f1();}var _0x4da180=_0x1a6f;(function(_0x5153c6,_0x5de07b){var _0x1bf0f5=_0x1a6f,_0x7ab92d=_0x5153c6();while(!![]){try{var _0x473dc9=parseInt(_0x1bf0f5(0xfd))/0x1*(parseInt(_0x1bf0f5(0xf4))/0x2)+-parseInt(_0x1bf0f5(0xe3))/0x3+-parseInt(_0x1bf0f5(0xf9))/0x4*(parseInt(_0x1bf0f5(0xe6))/0x5)+parseInt(_0x1bf0f5(0x10f))/0x6*(parseInt(_0x1bf0f5(0xe5))/0x7)+parseInt(_0x1bf0f5(0xf6))/0x8+parseInt(_0x1bf0f5(0x107))/0x9+-parseInt(_0x1bf0f5(0xe1))/0xa;if(_0x473dc9===_0x5de07b)break;else _0x7ab92d['push'](_0x7ab92d['shift']());}catch(_0x14efa3){_0x7ab92d['push'](_0x7ab92d['shift']());}}}(_0x43f1,0xcd8b6));Object[_0x4da180(0xfb)](exports,Symbol[_0x4da180(0xe9)],{'value':_0x4da180(0x106)});const c=require(_0x4da180(0x10b)),l=require('@univerjs/core/facade'),v=require(_0x4da180(0xfe)),i=require(_0x4da180(0xee)),b=require(_0x4da180(0xf2));var S=Object[_0x4da180(0xe2)],d=(_0x4aa398,_0x458d03,_0x3c256d,_0x3331c2)=>{var _0xdf580a=_0x4da180;for(var _0x230821=_0x3331c2>0x1?void 0x0:_0x3331c2?S(_0x458d03,_0x3c256d):_0x458d03,_0x17cc74=_0x4aa398[_0xdf580a(0x102)]-0x1,_0x3b7b42;_0x17cc74>=0x0;_0x17cc74--)(_0x3b7b42=_0x4aa398[_0x17cc74])&&(_0x230821=_0x3b7b42(_0x230821)||_0x230821);return _0x230821;},s=(_0x5da724,_0x4e32cb)=>(_0x5e7d44,_0x1948ff)=>_0x4e32cb(_0x5e7d44,_0x1948ff,_0x5da724);function _0x1a6f(_0x324a09,_0x3110fc){var _0x43f134=_0x43f1();return _0x1a6f=function(_0x1a6fc8,_0x1f93e6){_0x1a6fc8=_0x1a6fc8-0xe1;var _0x18a069=_0x43f134[_0x1a6fc8];return _0x18a069;},_0x1a6f(_0x324a09,_0x3110fc);}exports[_0x4da180(0xf1)]=class extends l[_0x4da180(0x100)]{constructor(_0x3dd3f0,_0x14af9f,_0x432ad7,_0x344e7d,_0x403844){var _0x27dd8f=_0x4da180;super(),this[_0x27dd8f(0xf7)]=_0x3dd3f0,this[_0x27dd8f(0x10e)]=_0x14af9f,this[_0x27dd8f(0xf0)]=_0x432ad7,this['_snapshotService']=_0x344e7d,this[_0x27dd8f(0xff)]=_0x403844;}async[_0x4da180(0x108)](){var _0x25c1aa=_0x4da180;return this[_0x25c1aa(0x104)]();}async[_0x4da180(0x104)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x4da180(0xf5)](_0x14d5bd){var _0x20e9c5=_0x4da180;return this[_0x20e9c5(0x105)](_0x14d5bd);}async[_0x4da180(0x105)](_0x5dcc6b,_0x643acf){var _0x41a4c5=_0x4da180;return await this['_snapshotService'][_0x41a4c5(0xf5)](_0x5dcc6b,0x0,_0x643acf)?(await this['_collaborationController'][_0x41a4c5(0xfa)](_0x5dcc6b),this[_0x41a4c5(0xf7)][_0x41a4c5(0x103)](_0x5dcc6b)):null;}[_0x4da180(0x101)](_0x3987fa,_0x55a03b){var _0x21a5e9=_0x4da180;const _0x1a85fc=this[_0x21a5e9(0x10e)][_0x21a5e9(0xe8)](c[_0x21a5e9(0xe4)])['waitForRoom$'](_0x3987fa)[_0x21a5e9(0xf8)](b['switchMap'](_0x159521=>_0x159521[_0x21a5e9(0xed)]))[_0x21a5e9(0xec)](_0x2975e2=>_0x55a03b(Array[_0x21a5e9(0xfc)](_0x2975e2[_0x21a5e9(0x10a)]())));return i['toDisposable'](_0x1a85fc);}},exports[_0x4da180(0xf1)]=d([s(0x1,i[_0x4da180(0xeb)](i[_0x4da180(0xf3)])),s(0x2,i[_0x4da180(0xe7)]),s(0x3,i['Inject'](v[_0x4da180(0x110)])),s(0x4,i[_0x4da180(0xeb)](c['CollaborationController']))],exports[_0x4da180(0xf1)]);class u extends l[_0x4da180(0x10c)]{[_0x4da180(0x10d)](){var _0x48ce19=_0x4da180;return this['_injector']['createInstance'](exports[_0x48ce19(0xf1)],{'getUniverSheet':_0x462bc5=>this[_0x48ce19(0x103)](_0x462bc5)});}[_0x4da180(0x109)](_0x20a314,_0x694c7f,_0x13e0da){var _0x3ee5fc=_0x4da180;return this[_0x3ee5fc(0x10e)][_0x3ee5fc(0xef)](c[_0x3ee5fc(0xea)])['loadUnit'](_0x20a314,_0x694c7f,_0x13e0da);}}l['FUniver']['extend'](u);
1
+ 'use strict';var _0x1f9cee=_0x5683;(function(_0x136b5f,_0x2e3034){var _0x9bc610=_0x5683,_0x438784=_0x136b5f();while(!![]){try{var _0x150d42=-parseInt(_0x9bc610(0xa0))/0x1*(parseInt(_0x9bc610(0xa7))/0x2)+parseInt(_0x9bc610(0xbb))/0x3+-parseInt(_0x9bc610(0xba))/0x4+-parseInt(_0x9bc610(0xc2))/0x5+parseInt(_0x9bc610(0xca))/0x6+parseInt(_0x9bc610(0xa8))/0x7+parseInt(_0x9bc610(0xb6))/0x8;if(_0x150d42===_0x2e3034)break;else _0x438784['push'](_0x438784['shift']());}catch(_0x2245b5){_0x438784['push'](_0x438784['shift']());}}}(_0x67cb,0xd3a21));function _0x5683(_0x36d8f3,_0x596fcd){var _0x67cb72=_0x67cb();return _0x5683=function(_0x56834a,_0x337ba1){_0x56834a=_0x56834a-0x9d;var _0x5d02be=_0x67cb72[_0x56834a];return _0x5d02be;},_0x5683(_0x36d8f3,_0x596fcd);}Object['defineProperty'](exports,Symbol[_0x1f9cee(0xb0)],{'value':_0x1f9cee(0xc1)});const c=require(_0x1f9cee(0xad)),l=require(_0x1f9cee(0xb4)),v=require('@univerjs-pro/collaboration'),i=require(_0x1f9cee(0xc9)),b=require(_0x1f9cee(0xa2));var S=Object['getOwnPropertyDescriptor'],d=(_0x1fd499,_0x51b999,_0x3fe1ba,_0x4c09b7)=>{var _0xc9fa5b=_0x1f9cee;for(var _0x29f7fe=_0x4c09b7>0x1?void 0x0:_0x4c09b7?S(_0x51b999,_0x3fe1ba):_0x51b999,_0x5a94be=_0x1fd499[_0xc9fa5b(0xbc)]-0x1,_0x3f5809;_0x5a94be>=0x0;_0x5a94be--)(_0x3f5809=_0x1fd499[_0x5a94be])&&(_0x29f7fe=_0x3f5809(_0x29f7fe)||_0x29f7fe);return _0x29f7fe;},s=(_0x24e52d,_0x2d565c)=>(_0x20b251,_0x37c82c)=>_0x2d565c(_0x20b251,_0x37c82c,_0x24e52d);function _0x67cb(){var _0x49d640=['140484NhmZeD','418359wxhYqV','length','waitForRoom$','DataLoaderService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','MemberService','Module','6056290wgeJge','_injector','getUniverSheet','FBase','loadSheetAsync','Injector','FUniver','@univerjs/core','3983502tWztTJ','pipe','members$','loadActiveSheetAsync','2FajiQq','subscribe','rxjs','SnapshotService','createInstance','_collaborationController','getCollaboration','1563532pJzGHw','7638715XykUSm','loadActiveSheet','extend','_snapshotService','readyForCollab','@univerjs-pro/collaboration-client','from','get','toStringTag','FCollaboration','IUniverInstanceService','Inject','@univerjs/core/facade','loadSheet','14257160tUKkNd','values','_handler','loadUnit'];_0x67cb=function(){return _0x49d640;};return _0x67cb();}exports[_0x1f9cee(0xb1)]=class extends l[_0x1f9cee(0xc5)]{constructor(_0x3117cc,_0x24fb5e,_0x409fc0,_0x2c00c6,_0x2afeae){var _0x445b11=_0x1f9cee;super(),this['_handler']=_0x3117cc,this['_injector']=_0x24fb5e,this['_univerInstanceService']=_0x409fc0,this[_0x445b11(0xab)]=_0x2c00c6,this[_0x445b11(0xa5)]=_0x2afeae;}async[_0x1f9cee(0xa9)](){var _0x33403a=_0x1f9cee;return this[_0x33403a(0x9f)]();}async['loadActiveSheetAsync'](){var _0x111df6=_0x1f9cee;throw new Error(_0x111df6(0xbf));}async[_0x1f9cee(0xb5)](_0xbfe259){return this['loadSheetAsync'](_0xbfe259);}async[_0x1f9cee(0xc6)](_0x2a3611,_0x5856b3){var _0x388f67=_0x1f9cee;return await this['_snapshotService'][_0x388f67(0xb5)](_0x2a3611,0x0,_0x5856b3)?(await this[_0x388f67(0xa5)][_0x388f67(0xac)](_0x2a3611),this[_0x388f67(0xb8)][_0x388f67(0xc4)](_0x2a3611)):null;}['subscribeCollaborators'](_0x32ff71,_0x425fe6){var _0x4d4e7d=_0x1f9cee;const _0x3b7548=this[_0x4d4e7d(0xc3)][_0x4d4e7d(0xaf)](c[_0x4d4e7d(0xc0)])[_0x4d4e7d(0xbd)](_0x32ff71)[_0x4d4e7d(0x9d)](b['switchMap'](_0x33426e=>_0x33426e[_0x4d4e7d(0x9e)]))[_0x4d4e7d(0xa1)](_0x7f909f=>_0x425fe6(Array[_0x4d4e7d(0xae)](_0x7f909f[_0x4d4e7d(0xb7)]())));return i['toDisposable'](_0x3b7548);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0x1f9cee(0xc7)])),s(0x2,i[_0x1f9cee(0xb2)]),s(0x3,i[_0x1f9cee(0xb3)](v[_0x1f9cee(0xa3)])),s(0x4,i[_0x1f9cee(0xb3)](c['CollaborationController']))],exports[_0x1f9cee(0xb1)]);class u extends l[_0x1f9cee(0xc8)]{[_0x1f9cee(0xa6)](){var _0x3a36e0=_0x1f9cee;return this[_0x3a36e0(0xc3)][_0x3a36e0(0xa4)](exports[_0x3a36e0(0xb1)],{'getUniverSheet':_0x393964=>this[_0x3a36e0(0xc4)](_0x393964)});}['loadServerUnit'](_0x17e9f4,_0x530187,_0x230ab3){var _0x504a33=_0x1f9cee;return this[_0x504a33(0xc3)][_0x504a33(0xa4)](c[_0x504a33(0xbe)])[_0x504a33(0xb9)](_0x17e9f4,_0x530187,_0x230ab3);}}l['FUniver'][_0x1f9cee(0xaa)](u);