@univerjs-pro/collaboration-client 0.6.9-experimental.20250408-786b00e → 0.6.9-experimental.20250408-da421ca

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 _0x5d7e39=_0x20ec;function _0x1a09(){var _0x29ec65=['_univerInstanceService','7jLWyOl','extend','pipe','readyForCollab','354724YPoSXI','subscribeCollaborators','4714040Cafydc','8790NaraLK','@univerjs-pro/collaboration','_handler','createInstance','Injector','4637259TEIYwX','loadActiveSheet','8531094OIqvpw','FBase','26235SlXZGN','get','toDisposable','loadActiveSheetAsync','2hbzknY','Inject','defineProperty','84hTXToX','68358bLbeLp','SnapshotService','@univerjs/core','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getOwnPropertyDescriptor','5088544IJQJXt','_collaborationController','values','loadSheet','CollaborationController','DataLoaderService','loadUnit','waitForRoom$','FCollaboration','length','getUniverSheet','_injector','loadSheetAsync','_snapshotService','FUniver','rxjs','@univerjs-pro/collaboration-client','subscribe','switchMap'];_0x1a09=function(){return _0x29ec65;};return _0x1a09();}(function(_0x3b6b70,_0x21ad7c){var _0x15bc42=_0x20ec,_0x43b2be=_0x3b6b70();while(!![]){try{var _0x2a3417=parseInt(_0x15bc42(0x183))/0x1*(parseInt(_0x15bc42(0x161))/0x2)+parseInt(_0x15bc42(0x165))/0x3*(-parseInt(_0x15bc42(0x164))/0x4)+-parseInt(_0x15bc42(0x185))/0x5+-parseInt(_0x15bc42(0x15b))/0x6+parseInt(_0x15bc42(0x17f))/0x7*(parseInt(_0x15bc42(0x16b))/0x8)+parseInt(_0x15bc42(0x159))/0x9+-parseInt(_0x15bc42(0x186))/0xa*(-parseInt(_0x15bc42(0x15d))/0xb);if(_0x2a3417===_0x21ad7c)break;else _0x43b2be['push'](_0x43b2be['shift']());}catch(_0x286f96){_0x43b2be['push'](_0x43b2be['shift']());}}}(_0x1a09,0xb95ff));Object[_0x5d7e39(0x163)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require(_0x5d7e39(0x17b)),l=require('@univerjs/core/facade'),v=require(_0x5d7e39(0x187)),i=require(_0x5d7e39(0x167)),b=require(_0x5d7e39(0x17a));var S=Object[_0x5d7e39(0x16a)],d=(_0x2965dd,_0x1bd434,_0xe6fcf6,_0x55e4f7)=>{var _0x46fb08=_0x5d7e39;for(var _0x851621=_0x55e4f7>0x1?void 0x0:_0x55e4f7?S(_0x1bd434,_0xe6fcf6):_0x1bd434,_0x45a54e=_0x2965dd[_0x46fb08(0x174)]-0x1,_0x3fd61d;_0x45a54e>=0x0;_0x45a54e--)(_0x3fd61d=_0x2965dd[_0x45a54e])&&(_0x851621=_0x3fd61d(_0x851621)||_0x851621);return _0x851621;},s=(_0x3fe46d,_0x40b530)=>(_0xb38ba6,_0x53a795)=>_0x40b530(_0xb38ba6,_0x53a795,_0x3fe46d);exports['FCollaboration']=class extends l[_0x5d7e39(0x15c)]{constructor(_0x23943e,_0x125b69,_0x2a0d2c,_0x5101e1,_0x54d3c6){var _0x38a063=_0x5d7e39;super(),this[_0x38a063(0x156)]=_0x23943e,this[_0x38a063(0x176)]=_0x125b69,this[_0x38a063(0x17e)]=_0x2a0d2c,this[_0x38a063(0x178)]=_0x5101e1,this[_0x38a063(0x16c)]=_0x54d3c6;}async[_0x5d7e39(0x15a)](){var _0x475d6d=_0x5d7e39;return this[_0x475d6d(0x160)]();}async[_0x5d7e39(0x160)](){var _0x227d29=_0x5d7e39;throw new Error(_0x227d29(0x169));}async[_0x5d7e39(0x16e)](_0xb89ae5){return this['loadSheetAsync'](_0xb89ae5);}async[_0x5d7e39(0x177)](_0x52162c,_0x3056b5){var _0x5cc4ca=_0x5d7e39;return await this['_snapshotService'][_0x5cc4ca(0x16e)](_0x52162c,0x0,_0x3056b5)?(await this[_0x5cc4ca(0x16c)][_0x5cc4ca(0x182)](_0x52162c),this['_handler'][_0x5cc4ca(0x175)](_0x52162c)):null;}[_0x5d7e39(0x184)](_0x55a045,_0x9e322e){var _0x4f287c=_0x5d7e39;const _0x944dfc=this[_0x4f287c(0x176)][_0x4f287c(0x15e)](c['MemberService'])[_0x4f287c(0x172)](_0x55a045)[_0x4f287c(0x181)](b[_0x4f287c(0x17d)](_0xe50281=>_0xe50281['members$']))[_0x4f287c(0x17c)](_0x58aa71=>_0x9e322e(Array['from'](_0x58aa71[_0x4f287c(0x16d)]())));return i[_0x4f287c(0x15f)](_0x944dfc);}},exports[_0x5d7e39(0x173)]=d([s(0x1,i[_0x5d7e39(0x162)](i[_0x5d7e39(0x158)])),s(0x2,i[_0x5d7e39(0x168)]),s(0x3,i[_0x5d7e39(0x162)](v[_0x5d7e39(0x166)])),s(0x4,i['Inject'](c[_0x5d7e39(0x16f)]))],exports[_0x5d7e39(0x173)]);class u extends l[_0x5d7e39(0x179)]{['getCollaboration'](){var _0x3f8f0c=_0x5d7e39;return this[_0x3f8f0c(0x176)][_0x3f8f0c(0x157)](exports[_0x3f8f0c(0x173)],{'getUniverSheet':_0x525537=>this[_0x3f8f0c(0x175)](_0x525537)});}['loadServerUnit'](_0x385e77,_0x4c45e7,_0x43afae){var _0x42c1ba=_0x5d7e39;return this[_0x42c1ba(0x176)][_0x42c1ba(0x157)](c[_0x42c1ba(0x170)])[_0x42c1ba(0x171)](_0x385e77,_0x4c45e7,_0x43afae);}}function _0x20ec(_0x5cfaec,_0x35aa4d){var _0x1a09fe=_0x1a09();return _0x20ec=function(_0x20ecbe,_0x33d327){_0x20ecbe=_0x20ecbe-0x156;var _0x196910=_0x1a09fe[_0x20ecbe];return _0x196910;},_0x20ec(_0x5cfaec,_0x35aa4d);}l[_0x5d7e39(0x179)][_0x5d7e39(0x180)](u);
1
+ 'use strict';function _0x195c(_0x10a923,_0x39a110){var _0x78df06=_0x78df();return _0x195c=function(_0x195c5b,_0x27b4ac){_0x195c5b=_0x195c5b-0xf2;var _0x15a67a=_0x78df06[_0x195c5b];return _0x15a67a;},_0x195c(_0x10a923,_0x39a110);}var _0x417007=_0x195c;(function(_0x1c9d0b,_0x218424){var _0x57ba92=_0x195c,_0x4d4493=_0x1c9d0b();while(!![]){try{var _0x2a0736=-parseInt(_0x57ba92(0x11f))/0x1*(-parseInt(_0x57ba92(0x118))/0x2)+-parseInt(_0x57ba92(0xfb))/0x3+parseInt(_0x57ba92(0x11c))/0x4+-parseInt(_0x57ba92(0x114))/0x5*(parseInt(_0x57ba92(0xfd))/0x6)+parseInt(_0x57ba92(0x113))/0x7+-parseInt(_0x57ba92(0xf9))/0x8*(parseInt(_0x57ba92(0xf6))/0x9)+parseInt(_0x57ba92(0xfe))/0xa;if(_0x2a0736===_0x218424)break;else _0x4d4493['push'](_0x4d4493['shift']());}catch(_0x1b9ba0){_0x4d4493['push'](_0x4d4493['shift']());}}}(_0x78df,0xf13e5));function _0x78df(){var _0x5e26a1=['CollaborationController','@univerjs/core','Module','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadSheetAsync','6309QwiZOH','get','FUniver','18664uxFmwd','values','2657127vRrnCf','IUniverInstanceService','42UaHPTK','22341190GfJcVa','_handler','Inject','loadSheet','_collaborationController','createInstance','defineProperty','loadActiveSheet','getUniverSheet','length','MemberService','@univerjs-pro/collaboration','loadUnit','from','members$','FCollaboration','loadServerUnit','_injector','_univerInstanceService','@univerjs-pro/collaboration-client','waitForRoom$','10239796eJlILe','1065010DRpOAJ','SnapshotService','toStringTag','loadActiveSheetAsync','2066KHDaTX','extend','DataLoaderService','subscribeCollaborators','1540020mTSZGG','_snapshotService','subscribe','889VZcOzh','readyForCollab'];_0x78df=function(){return _0x5e26a1;};return _0x78df();}Object[_0x417007(0x104)](exports,Symbol[_0x417007(0x116)],{'value':_0x417007(0xf3)});const c=require(_0x417007(0x111)),l=require('@univerjs/core/facade'),v=require(_0x417007(0x109)),i=require(_0x417007(0xf2)),b=require('rxjs');var S=Object['getOwnPropertyDescriptor'],d=(_0x297e19,_0x4525a0,_0x597620,_0x35de61)=>{var _0x1ac2db=_0x417007;for(var _0x558b0d=_0x35de61>0x1?void 0x0:_0x35de61?S(_0x4525a0,_0x597620):_0x4525a0,_0x3953bb=_0x297e19[_0x1ac2db(0x107)]-0x1,_0x42508e;_0x3953bb>=0x0;_0x3953bb--)(_0x42508e=_0x297e19[_0x3953bb])&&(_0x558b0d=_0x42508e(_0x558b0d)||_0x558b0d);return _0x558b0d;},s=(_0xd58626,_0x5e435b)=>(_0x4000a8,_0x1e8100)=>_0x5e435b(_0x4000a8,_0x1e8100,_0xd58626);exports[_0x417007(0x10d)]=class extends l['FBase']{constructor(_0x2ca677,_0x1e737d,_0x55b3f5,_0x54afb5,_0x356933){var _0x367fcc=_0x417007;super(),this[_0x367fcc(0xff)]=_0x2ca677,this[_0x367fcc(0x10f)]=_0x1e737d,this[_0x367fcc(0x110)]=_0x55b3f5,this['_snapshotService']=_0x54afb5,this[_0x367fcc(0x102)]=_0x356933;}async[_0x417007(0x105)](){var _0x5cd2fb=_0x417007;return this[_0x5cd2fb(0x117)]();}async['loadActiveSheetAsync'](){var _0x249067=_0x417007;throw new Error(_0x249067(0xf4));}async[_0x417007(0x101)](_0x5eb3a3){var _0xdeabf3=_0x417007;return this[_0xdeabf3(0xf5)](_0x5eb3a3);}async[_0x417007(0xf5)](_0x296b3d,_0x25d1ad){var _0x2212ca=_0x417007;return await this[_0x2212ca(0x11d)]['loadSheet'](_0x296b3d,0x0,_0x25d1ad)?(await this['_collaborationController'][_0x2212ca(0x120)](_0x296b3d),this[_0x2212ca(0xff)][_0x2212ca(0x106)](_0x296b3d)):null;}[_0x417007(0x11b)](_0x3df50c,_0x45a6e0){var _0x4954ec=_0x417007;const _0x719791=this[_0x4954ec(0x10f)][_0x4954ec(0xf7)](c[_0x4954ec(0x108)])[_0x4954ec(0x112)](_0x3df50c)['pipe'](b['switchMap'](_0x3e0724=>_0x3e0724[_0x4954ec(0x10c)]))[_0x4954ec(0x11e)](_0x1b3891=>_0x45a6e0(Array[_0x4954ec(0x10b)](_0x1b3891[_0x4954ec(0xfa)]())));return i['toDisposable'](_0x719791);}},exports[_0x417007(0x10d)]=d([s(0x1,i[_0x417007(0x100)](i['Injector'])),s(0x2,i[_0x417007(0xfc)]),s(0x3,i[_0x417007(0x100)](v[_0x417007(0x115)])),s(0x4,i[_0x417007(0x100)](c[_0x417007(0x121)]))],exports[_0x417007(0x10d)]);class u extends l[_0x417007(0xf8)]{['getCollaboration'](){var _0x216724=_0x417007;return this[_0x216724(0x10f)][_0x216724(0x103)](exports['FCollaboration'],{'getUniverSheet':_0x5a1cb8=>this[_0x216724(0x106)](_0x5a1cb8)});}[_0x417007(0x10e)](_0x37b01e,_0x103b35,_0x2d849c){var _0x3d486e=_0x417007;return this[_0x3d486e(0x10f)][_0x3d486e(0x103)](c[_0x3d486e(0x11a)])[_0x3d486e(0x10a)](_0x37b01e,_0x103b35,_0x2d849c);}}l['FUniver'][_0x417007(0x119)](u);