@univerjs-pro/collaboration-client 0.6.9-nightly.202504091607 → 0.6.10-alpha.0

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 _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);
1
+ 'use strict';var _0xde5350=_0x166f;(function(_0x13b3c5,_0x13606b){var _0x508c1f=_0x166f,_0x3fc5e3=_0x13b3c5();while(!![]){try{var _0x2c6768=-parseInt(_0x508c1f(0x199))/0x1+parseInt(_0x508c1f(0x1b4))/0x2*(-parseInt(_0x508c1f(0x1ab))/0x3)+-parseInt(_0x508c1f(0x1a2))/0x4*(-parseInt(_0x508c1f(0x1a8))/0x5)+-parseInt(_0x508c1f(0x19b))/0x6+parseInt(_0x508c1f(0x1b6))/0x7*(-parseInt(_0x508c1f(0x1b1))/0x8)+parseInt(_0x508c1f(0x1a9))/0x9+parseInt(_0x508c1f(0x1ac))/0xa*(parseInt(_0x508c1f(0x1a6))/0xb);if(_0x2c6768===_0x13606b)break;else _0x3fc5e3['push'](_0x3fc5e3['shift']());}catch(_0x520404){_0x3fc5e3['push'](_0x3fc5e3['shift']());}}}(_0x1eb9,0xe91ab));Object['defineProperty'](exports,Symbol[_0xde5350(0x1b5)],{'value':'Module'});const c=require(_0xde5350(0x1aa)),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),i=require(_0xde5350(0x193)),b=require(_0xde5350(0x1c1));var S=Object[_0xde5350(0x1b0)],d=(_0x27117b,_0x254b33,_0x2894ba,_0x5c352a)=>{var _0x3f4232=_0xde5350;for(var _0x14688d=_0x5c352a>0x1?void 0x0:_0x5c352a?S(_0x254b33,_0x2894ba):_0x254b33,_0x22d590=_0x27117b[_0x3f4232(0x19a)]-0x1,_0x1e8aac;_0x22d590>=0x0;_0x22d590--)(_0x1e8aac=_0x27117b[_0x22d590])&&(_0x14688d=_0x1e8aac(_0x14688d)||_0x14688d);return _0x14688d;},s=(_0x2e59f7,_0x340bad)=>(_0x29427f,_0x5ef446)=>_0x340bad(_0x29427f,_0x5ef446,_0x2e59f7);function _0x1eb9(){var _0x57fa6c=['getCollaboration','rxjs','@univerjs/core','_univerInstanceService','values','FCollaboration','pipe','createInstance','1838513HEOqDD','length','968262xrHRBp','switchMap','MemberService','get','IUniverInstanceService','FBase','loadUnit','20nzpWSf','FUniver','loadSheet','loadActiveSheet','624206qrmRzj','_injector','944140bqlxeq','9321606uVYeks','@univerjs-pro/collaboration-client','7443XYEgJL','470MsfUuD','from','waitForRoom$','_snapshotService','getOwnPropertyDescriptor','1424512tZNEIs','getUniverSheet','Inject','790OCCdgK','toStringTag','28noQsqW','loadActiveSheetAsync','_handler','_collaborationController','loadSheetAsync','toDisposable','loadServerUnit','members$','Injector','DataLoaderService'];_0x1eb9=function(){return _0x57fa6c;};return _0x1eb9();}function _0x166f(_0x2c0927,_0xcf353b){var _0x1eb9e2=_0x1eb9();return _0x166f=function(_0x166f6f,_0x969471){_0x166f6f=_0x166f6f-0x193;var _0x1ff49f=_0x1eb9e2[_0x166f6f];return _0x1ff49f;},_0x166f(_0x2c0927,_0xcf353b);}exports[_0xde5350(0x196)]=class extends l[_0xde5350(0x1a0)]{constructor(_0x21a870,_0x22d5b5,_0x2f3d45,_0x204892,_0xe62526){var _0x3e0c68=_0xde5350;super(),this[_0x3e0c68(0x1b8)]=_0x21a870,this[_0x3e0c68(0x1a7)]=_0x22d5b5,this[_0x3e0c68(0x194)]=_0x2f3d45,this[_0x3e0c68(0x1af)]=_0x204892,this[_0x3e0c68(0x1b9)]=_0xe62526;}async[_0xde5350(0x1a5)](){var _0x4e7593=_0xde5350;return this[_0x4e7593(0x1b7)]();}async[_0xde5350(0x1b7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x22c204){var _0x2af893=_0xde5350;return this[_0x2af893(0x1ba)](_0x22c204);}async[_0xde5350(0x1ba)](_0x4ef30d,_0x413e36){var _0x34f3d9=_0xde5350;return await this['_snapshotService'][_0x34f3d9(0x1a4)](_0x4ef30d,0x0,_0x413e36)?(await this[_0x34f3d9(0x1b9)]['readyForCollab'](_0x4ef30d),this[_0x34f3d9(0x1b8)][_0x34f3d9(0x1b2)](_0x4ef30d)):null;}['subscribeCollaborators'](_0x1cdb96,_0x219391){var _0x18f25b=_0xde5350;const _0x3d2033=this[_0x18f25b(0x1a7)][_0x18f25b(0x19e)](c[_0x18f25b(0x19d)])[_0x18f25b(0x1ae)](_0x1cdb96)[_0x18f25b(0x197)](b[_0x18f25b(0x19c)](_0x221f3a=>_0x221f3a[_0x18f25b(0x1bd)]))['subscribe'](_0x1cdf64=>_0x219391(Array[_0x18f25b(0x1ad)](_0x1cdf64[_0x18f25b(0x195)]())));return i[_0x18f25b(0x1bb)](_0x3d2033);}},exports[_0xde5350(0x196)]=d([s(0x1,i[_0xde5350(0x1b3)](i[_0xde5350(0x1be)])),s(0x2,i[_0xde5350(0x19f)]),s(0x3,i['Inject'](v['SnapshotService'])),s(0x4,i[_0xde5350(0x1b3)](c['CollaborationController']))],exports[_0xde5350(0x196)]);class u extends l[_0xde5350(0x1a3)]{[_0xde5350(0x1c0)](){var _0x398a96=_0xde5350;return this['_injector'][_0x398a96(0x198)](exports[_0x398a96(0x196)],{'getUniverSheet':_0x2591d8=>this[_0x398a96(0x1b2)](_0x2591d8)});}[_0xde5350(0x1bc)](_0x5c5687,_0x538fb4,_0x461ade){var _0x4b34eb=_0xde5350;return this[_0x4b34eb(0x1a7)]['createInstance'](c[_0x4b34eb(0x1bf)])[_0x4b34eb(0x1a1)](_0x5c5687,_0x538fb4,_0x461ade);}}l[_0xde5350(0x1a3)]['extend'](u);