@univerjs-pro/collaboration-client 0.8.1-nightly.202506191607 → 0.8.2-nightly.202506201607

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 _0x3e76bd=_0x71b0;(function(_0xe2d597,_0x41fe98){var _0x4d4b28=_0x71b0,_0x23f6ed=_0xe2d597();while(!![]){try{var _0x3f6b1a=parseInt(_0x4d4b28(0xa8))/0x1*(parseInt(_0x4d4b28(0x93))/0x2)+parseInt(_0x4d4b28(0x7d))/0x3+-parseInt(_0x4d4b28(0x8a))/0x4+parseInt(_0x4d4b28(0x85))/0x5+parseInt(_0x4d4b28(0x8b))/0x6+parseInt(_0x4d4b28(0x81))/0x7*(-parseInt(_0x4d4b28(0x86))/0x8)+-parseInt(_0x4d4b28(0xa6))/0x9*(parseInt(_0x4d4b28(0x84))/0xa);if(_0x3f6b1a===_0x41fe98)break;else _0x23f6ed['push'](_0x23f6ed['shift']());}catch(_0x226eda){_0x23f6ed['push'](_0x23f6ed['shift']());}}}(_0x1763,0x8ba5f));Object[_0x3e76bd(0x88)](exports,Symbol[_0x3e76bd(0x7b)],{'value':_0x3e76bd(0x7c)});function _0x1763(){var _0x4e01a5=['toStringTag','Module','3113274bnQrai','CollaborationController','FCollaboration','getCollaboration','713909NvkvwH','from','loadSheetAsync','7115170cIYhHj','4557730MJxjXu','8ULiNNM','Inject','defineProperty','loadActiveSheetAsync','701596iXdffW','2622054ZaZxyq','extend','loadUnitOfRevision','MemberService','loadServerUnit','toDisposable','_snapshotService','@univerjs-pro/collaboration','2hFPAiA','length','loadActiveSheet','subscribeCollaborators','switchMap','@univerjs/core','subscribe','rxjs','DataLoaderService','_univerInstanceService','loadServerUnitOfRevision','readyForCollab','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','waitForRoom$','@univerjs-pro/collaboration-client','_injector','FBase','getOwnPropertyDescriptor','27eluDtf','Injector','597623RnsMIW','getUniverSheet','loadSheet','_collaborationController','createInstance'];_0x1763=function(){return _0x4e01a5;};return _0x1763();}const c=require(_0x3e76bd(0xa2)),l=require('@univerjs/core/facade'),h=require(_0x3e76bd(0x92)),n=require(_0x3e76bd(0x98)),b=require(_0x3e76bd(0x9a));var d=Object[_0x3e76bd(0xa5)],S=(_0x222600,_0xbde4fe,_0x22f869,_0x5ed892)=>{var _0x3982ec=_0x3e76bd;for(var _0x5ed931=_0x5ed892>0x1?void 0x0:_0x5ed892?d(_0xbde4fe,_0x22f869):_0xbde4fe,_0x470ab6=_0x222600[_0x3982ec(0x94)]-0x1,_0x4573c0;_0x470ab6>=0x0;_0x470ab6--)(_0x4573c0=_0x222600[_0x470ab6])&&(_0x5ed931=_0x4573c0(_0x5ed931)||_0x5ed931);return _0x5ed931;},s=(_0x457c96,_0x1367c4)=>(_0x5dc693,_0x159a02)=>_0x1367c4(_0x5dc693,_0x159a02,_0x457c96);exports[_0x3e76bd(0x7f)]=class extends l[_0x3e76bd(0xa4)]{constructor(_0x35ad86,_0x2b328b,_0x3a1a04,_0x48a093,_0x2fc70b){var _0x3f8833=_0x3e76bd;super(),this['_handler']=_0x35ad86,this[_0x3f8833(0xa3)]=_0x2b328b,this[_0x3f8833(0x9c)]=_0x3a1a04,this[_0x3f8833(0x91)]=_0x48a093,this[_0x3f8833(0xab)]=_0x2fc70b;}async[_0x3e76bd(0x95)](){return this['loadActiveSheetAsync']();}async[_0x3e76bd(0x89)](){var _0x23448e=_0x3e76bd;throw new Error(_0x23448e(0x9f));}async[_0x3e76bd(0xaa)](_0x41ee98){return this['loadSheetAsync'](_0x41ee98);}async[_0x3e76bd(0x83)](_0x1e5a39,_0x382c0f){var _0x3c2918=_0x3e76bd;return await this[_0x3c2918(0x91)][_0x3c2918(0xaa)](_0x1e5a39,0x0,_0x382c0f)?(await this[_0x3c2918(0xab)][_0x3c2918(0x9e)](_0x1e5a39),this['_handler'][_0x3c2918(0xa9)](_0x1e5a39)):null;}[_0x3e76bd(0x96)](_0x289881,_0x21cd34){var _0x8f03ad=_0x3e76bd;const _0x5a5367=this[_0x8f03ad(0xa3)]['get'](c[_0x8f03ad(0x8e)])[_0x8f03ad(0xa1)](_0x289881)['pipe'](b[_0x8f03ad(0x97)](_0x3d1bc6=>_0x3d1bc6['members$']))[_0x8f03ad(0x99)](_0x5ce1f1=>_0x21cd34(Array[_0x8f03ad(0x82)](_0x5ce1f1['values']())));return n[_0x8f03ad(0x90)](_0x5a5367);}},exports['FCollaboration']=S([s(0x1,n['Inject'](n[_0x3e76bd(0xa7)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0x3e76bd(0x87)](h['SnapshotService'])),s(0x4,n[_0x3e76bd(0x87)](c[_0x3e76bd(0x7e)]))],exports['FCollaboration']);class u extends l[_0x3e76bd(0xa0)]{[_0x3e76bd(0x80)](){var _0x2d85e8=_0x3e76bd;return this[_0x2d85e8(0xa3)][_0x2d85e8(0xac)](exports[_0x2d85e8(0x7f)],{'getUniverSheet':_0x6cce30=>this[_0x2d85e8(0xa9)](_0x6cce30)});}[_0x3e76bd(0x8f)](_0x2473a4,_0x130f60,_0x2dda82){var _0x1ef543=_0x3e76bd;return this['_injector']['get'](c[_0x1ef543(0x9b)])['loadUnit'](_0x2473a4,_0x130f60,_0x2dda82);}[_0x3e76bd(0x9d)](_0xe32dae,_0x273612,_0x1bedb7){var _0xf22afa=_0x3e76bd;return this[_0xf22afa(0xa3)]['get'](c[_0xf22afa(0x9b)])[_0xf22afa(0x8d)](_0xe32dae,_0x273612,_0x1bedb7);}}function _0x71b0(_0x48987b,_0x517ba1){var _0x176307=_0x1763();return _0x71b0=function(_0x71b010,_0x1f135c){_0x71b010=_0x71b010-0x7b;var _0x9d8f1c=_0x176307[_0x71b010];return _0x9d8f1c;},_0x71b0(_0x48987b,_0x517ba1);}l['FUniver'][_0x3e76bd(0x8c)](u);
1
+ 'use strict';var _0x4cf1d7=_0x3969;(function(_0x38aa55,_0x5ad29e){var _0x186464=_0x3969,_0x49c9a7=_0x38aa55();while(!![]){try{var _0x377877=parseInt(_0x186464(0x152))/0x1*(parseInt(_0x186464(0x14d))/0x2)+parseInt(_0x186464(0x17d))/0x3+parseInt(_0x186464(0x166))/0x4*(parseInt(_0x186464(0x150))/0x5)+-parseInt(_0x186464(0x14e))/0x6+parseInt(_0x186464(0x176))/0x7+parseInt(_0x186464(0x14c))/0x8+-parseInt(_0x186464(0x16e))/0x9;if(_0x377877===_0x5ad29e)break;else _0x49c9a7['push'](_0x49c9a7['shift']());}catch(_0x1c397a){_0x49c9a7['push'](_0x49c9a7['shift']());}}}(_0xf2a5,0x928e9));Object[_0x4cf1d7(0x170)](exports,Symbol[_0x4cf1d7(0x168)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x4cf1d7(0x153)),h=require(_0x4cf1d7(0x163)),n=require(_0x4cf1d7(0x178)),b=require(_0x4cf1d7(0x165));var d=Object[_0x4cf1d7(0x164)],S=(_0x17ba8c,_0x5d3de6,_0x1fbb8b,_0x2cec10)=>{var _0x1b43c2=_0x4cf1d7;for(var _0x579c63=_0x2cec10>0x1?void 0x0:_0x2cec10?d(_0x5d3de6,_0x1fbb8b):_0x5d3de6,_0x2911bb=_0x17ba8c[_0x1b43c2(0x167)]-0x1,_0x33572c;_0x2911bb>=0x0;_0x2911bb--)(_0x33572c=_0x17ba8c[_0x2911bb])&&(_0x579c63=_0x33572c(_0x579c63)||_0x579c63);return _0x579c63;},s=(_0x25c83e,_0x546fd0)=>(_0x16958b,_0xc61ee9)=>_0x546fd0(_0x16958b,_0xc61ee9,_0x25c83e);function _0xf2a5(){var _0x41e2ec=['getUniverSheet','IUniverInstanceService','31431456LDpvbG','MemberService','defineProperty','values','getCollaboration','_collaborationController','loadActiveSheetAsync','loadUnit','7980875pzfTaY','FBase','@univerjs/core','loadServerUnit','loadActiveSheet','loadSheetAsync','extend','3432297JcoCFX','570800SMraDl','367828rLLseA','874800vRUgjB','DataLoaderService','35vjQCDI','Inject','4BhFicU','@univerjs/core/facade','pipe','_injector','waitForRoom$','createInstance','_handler','SnapshotService','FUniver','FCollaboration','get','readyForCollab','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','subscribeCollaborators','subscribe','loadSheet','@univerjs-pro/collaboration','getOwnPropertyDescriptor','rxjs','655572DnAsgv','length','toStringTag','loadServerUnitOfRevision','_snapshotService','CollaborationController'];_0xf2a5=function(){return _0x41e2ec;};return _0xf2a5();}exports['FCollaboration']=class extends l[_0x4cf1d7(0x177)]{constructor(_0x444986,_0x5eb24d,_0x680971,_0x2117a1,_0x5cf8ed){var _0x4e6cbf=_0x4cf1d7;super(),this[_0x4e6cbf(0x158)]=_0x444986,this[_0x4e6cbf(0x155)]=_0x5eb24d,this[_0x4e6cbf(0x15f)]=_0x680971,this[_0x4e6cbf(0x16a)]=_0x2117a1,this[_0x4e6cbf(0x173)]=_0x5cf8ed;}async[_0x4cf1d7(0x17a)](){var _0x253c6f=_0x4cf1d7;return this[_0x253c6f(0x174)]();}async['loadActiveSheetAsync'](){var _0x4f96f3=_0x4cf1d7;throw new Error(_0x4f96f3(0x15e));}async[_0x4cf1d7(0x162)](_0x177cc8){return this['loadSheetAsync'](_0x177cc8);}async[_0x4cf1d7(0x17b)](_0x25edd0,_0x44f1c1){var _0x21aaef=_0x4cf1d7;return await this[_0x21aaef(0x16a)][_0x21aaef(0x162)](_0x25edd0,0x0,_0x44f1c1)?(await this[_0x21aaef(0x173)][_0x21aaef(0x15d)](_0x25edd0),this[_0x21aaef(0x158)][_0x21aaef(0x16c)](_0x25edd0)):null;}[_0x4cf1d7(0x160)](_0x2dec96,_0x4ce86a){var _0x38d1d9=_0x4cf1d7;const _0x135177=this[_0x38d1d9(0x155)][_0x38d1d9(0x15c)](c[_0x38d1d9(0x16f)])[_0x38d1d9(0x156)](_0x2dec96)[_0x38d1d9(0x154)](b['switchMap'](_0x368762=>_0x368762['members$']))[_0x38d1d9(0x161)](_0x44f1bd=>_0x4ce86a(Array['from'](_0x44f1bd[_0x38d1d9(0x171)]())));return n['toDisposable'](_0x135177);}},exports[_0x4cf1d7(0x15b)]=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x4cf1d7(0x16d)]),s(0x3,n['Inject'](h[_0x4cf1d7(0x159)])),s(0x4,n[_0x4cf1d7(0x151)](c[_0x4cf1d7(0x16b)]))],exports['FCollaboration']);class u extends l['FUniver']{[_0x4cf1d7(0x172)](){var _0x540e72=_0x4cf1d7;return this[_0x540e72(0x155)][_0x540e72(0x157)](exports[_0x540e72(0x15b)],{'getUniverSheet':_0x420858=>this[_0x540e72(0x16c)](_0x420858)});}[_0x4cf1d7(0x179)](_0x33850a,_0x344378,_0x165bad){var _0x209f7d=_0x4cf1d7;return this[_0x209f7d(0x155)]['get'](c[_0x209f7d(0x14f)])[_0x209f7d(0x175)](_0x33850a,_0x344378,_0x165bad);}[_0x4cf1d7(0x169)](_0x273e65,_0x339a26,_0x5c54cd){var _0x3a9246=_0x4cf1d7;return this[_0x3a9246(0x155)]['get'](c[_0x3a9246(0x14f)])['loadUnitOfRevision'](_0x273e65,_0x339a26,_0x5c54cd);}}function _0x3969(_0x4b67b2,_0x46528d){var _0xf2a5b3=_0xf2a5();return _0x3969=function(_0x396962,_0x30b4cb){_0x396962=_0x396962-0x14c;var _0x41ed20=_0xf2a5b3[_0x396962];return _0x41ed20;},_0x3969(_0x4b67b2,_0x46528d);}l[_0x4cf1d7(0x15a)][_0x4cf1d7(0x17c)](u);