@univerjs-pro/collaboration-client 0.6.10-nightly.202504151606 → 0.6.10-nightly.202504161609

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 _0x546d35=_0x25a1;(function(_0x100246,_0x31000a){var _0x4cf219=_0x25a1,_0x2e5b6c=_0x100246();while(!![]){try{var _0x318024=-parseInt(_0x4cf219(0xfd))/0x1+-parseInt(_0x4cf219(0x104))/0x2*(-parseInt(_0x4cf219(0xf4))/0x3)+-parseInt(_0x4cf219(0xfe))/0x4+parseInt(_0x4cf219(0x105))/0x5+-parseInt(_0x4cf219(0xff))/0x6+-parseInt(_0x4cf219(0x100))/0x7+parseInt(_0x4cf219(0x10e))/0x8;if(_0x318024===_0x31000a)break;else _0x2e5b6c['push'](_0x2e5b6c['shift']());}catch(_0x37dce6){_0x2e5b6c['push'](_0x2e5b6c['shift']());}}}(_0x5ec1,0xda51a));function _0x25a1(_0x409674,_0x34ad05){var _0x5ec13d=_0x5ec1();return _0x25a1=function(_0x25a128,_0x2c3fb2){_0x25a128=_0x25a128-0xe9;var _0x30d85f=_0x5ec13d[_0x25a128];return _0x30d85f;},_0x25a1(_0x409674,_0x34ad05);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x546d35(0x10d)});function _0x5ec1(){var _0x2fdec1=['7108704ZTNGdH','4873386OWRlKL','3161634zqlysl','get','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','10FbPFhn','5659005SQgksa','loadSheet','_univerInstanceService','toDisposable','@univerjs-pro/collaboration','FUniver','subscribeCollaborators','getUniverSheet','Module','23520736ElqCmC','loadServerUnit','from','@univerjs-pro/collaboration-client','CollaborationController','SnapshotService','_injector','createInstance','_snapshotService','_handler','readyForCollab','_collaborationController','720177VkqdmY','getOwnPropertyDescriptor','extend','Inject','FBase','rxjs','loadSheetAsync','FCollaboration','@univerjs/core','1336885TgJWvM'];_0x5ec1=function(){return _0x2fdec1;};return _0x5ec1();}const c=require(_0x546d35(0xeb)),l=require('@univerjs/core/facade'),v=require(_0x546d35(0x109)),i=require(_0x546d35(0xfc)),b=require(_0x546d35(0xf9));var S=Object[_0x546d35(0xf5)],d=(_0x5e9df1,_0x429055,_0x573785,_0x448477)=>{for(var _0x1c7c5=_0x448477>0x1?void 0x0:_0x448477?S(_0x429055,_0x573785):_0x429055,_0x5015e8=_0x5e9df1['length']-0x1,_0x11a55d;_0x5015e8>=0x0;_0x5015e8--)(_0x11a55d=_0x5e9df1[_0x5015e8])&&(_0x1c7c5=_0x11a55d(_0x1c7c5)||_0x1c7c5);return _0x1c7c5;},s=(_0x292889,_0x25f90f)=>(_0x2cf924,_0x849d5e)=>_0x25f90f(_0x2cf924,_0x849d5e,_0x292889);exports['FCollaboration']=class extends l[_0x546d35(0xf8)]{constructor(_0x383d39,_0x1ab0ed,_0x34aa2d,_0x57623c,_0x248bcb){var _0x496ef0=_0x546d35;super(),this[_0x496ef0(0xf1)]=_0x383d39,this[_0x496ef0(0xee)]=_0x1ab0ed,this[_0x496ef0(0x107)]=_0x34aa2d,this[_0x496ef0(0xf0)]=_0x57623c,this['_collaborationController']=_0x248bcb;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x3c6d25=_0x546d35;throw new Error(_0x3c6d25(0x103));}async[_0x546d35(0x106)](_0x581950){var _0x7ba047=_0x546d35;return this[_0x7ba047(0xfa)](_0x581950);}async[_0x546d35(0xfa)](_0x262bc3,_0x432f95){var _0x5df0c5=_0x546d35;return await this[_0x5df0c5(0xf0)][_0x5df0c5(0x106)](_0x262bc3,0x0,_0x432f95)?(await this[_0x5df0c5(0xf3)][_0x5df0c5(0xf2)](_0x262bc3),this['_handler'][_0x5df0c5(0x10c)](_0x262bc3)):null;}[_0x546d35(0x10b)](_0x16d232,_0x4bf94e){var _0x4d592c=_0x546d35;const _0xea79e=this['_injector'][_0x4d592c(0x101)](c['MemberService'])['waitForRoom$'](_0x16d232)['pipe'](b['switchMap'](_0x338013=>_0x338013['members$']))['subscribe'](_0x3cd3bb=>_0x4bf94e(Array[_0x4d592c(0xea)](_0x3cd3bb['values']())));return i[_0x4d592c(0x108)](_0xea79e);}},exports[_0x546d35(0xfb)]=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0x546d35(0x102)]),s(0x3,i[_0x546d35(0xf7)](v[_0x546d35(0xed)])),s(0x4,i['Inject'](c[_0x546d35(0xec)]))],exports[_0x546d35(0xfb)]);class u extends l[_0x546d35(0x10a)]{['getCollaboration'](){var _0x7ad877=_0x546d35;return this[_0x7ad877(0xee)][_0x7ad877(0xef)](exports['FCollaboration'],{'getUniverSheet':_0x32322c=>this[_0x7ad877(0x10c)](_0x32322c)});}[_0x546d35(0xe9)](_0x572299,_0x49c669,_0x146711){var _0x28a18d=_0x546d35;return this[_0x28a18d(0xee)][_0x28a18d(0xef)](c['DataLoaderService'])['loadUnit'](_0x572299,_0x49c669,_0x146711);}}l[_0x546d35(0x10a)][_0x546d35(0xf6)](u);
1
+ 'use strict';var _0x24ca39=_0x1bc6;(function(_0x55799b,_0x2f6750){var _0x426d15=_0x1bc6,_0x2d0cfc=_0x55799b();while(!![]){try{var _0x17ffee=parseInt(_0x426d15(0x212))/0x1*(-parseInt(_0x426d15(0x202))/0x2)+-parseInt(_0x426d15(0x1f6))/0x3*(parseInt(_0x426d15(0x215))/0x4)+parseInt(_0x426d15(0x21d))/0x5+-parseInt(_0x426d15(0x211))/0x6*(parseInt(_0x426d15(0x217))/0x7)+-parseInt(_0x426d15(0x1f4))/0x8*(-parseInt(_0x426d15(0x221))/0x9)+parseInt(_0x426d15(0x20f))/0xa*(parseInt(_0x426d15(0x206))/0xb)+parseInt(_0x426d15(0x1f7))/0xc*(parseInt(_0x426d15(0x1fb))/0xd);if(_0x17ffee===_0x2f6750)break;else _0x2d0cfc['push'](_0x2d0cfc['shift']());}catch(_0x2b8d16){_0x2d0cfc['push'](_0x2d0cfc['shift']());}}}(_0x1a7d,0xd0409));function _0x1a7d(){var _0x2e6cb6=['loadServerUnit','MemberService','length','_collaborationController','CollaborationController','FUniver','toDisposable','13422270ibViIi','createInstance','3667404DmQpHX','14okOsMZ','getOwnPropertyDescriptor','@univerjs-pro/collaboration-client','236gRcBdU','getCollaboration','7nhObvM','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','get','members$','rxjs','5600155ReLaOD','Injector','FCollaboration','waitForRoom$','18ufOQrV','loadSheetAsync','_injector','getUniverSheet','loadSheet','Inject','3734512pzHrsg','pipe','68799ZLFdJs','1765128WlhlNh','toStringTag','loadActiveSheet','subscribe','39XksMWl','_univerInstanceService','IUniverInstanceService','switchMap','_handler','FBase','loadUnit','145698CRLogm','@univerjs/core','extend','@univerjs/core/facade','11JYWFzX','_snapshotService'];_0x1a7d=function(){return _0x2e6cb6;};return _0x1a7d();}Object['defineProperty'](exports,Symbol[_0x24ca39(0x1f8)],{'value':'Module'});const c=require(_0x24ca39(0x214)),l=require(_0x24ca39(0x205)),v=require('@univerjs-pro/collaboration'),i=require(_0x24ca39(0x203)),b=require(_0x24ca39(0x21c));function _0x1bc6(_0x47d054,_0x2022c7){var _0x1a7d53=_0x1a7d();return _0x1bc6=function(_0x1bc63d,_0x33dcb1){_0x1bc63d=_0x1bc63d-0x1f0;var _0x35d398=_0x1a7d53[_0x1bc63d];return _0x35d398;},_0x1bc6(_0x47d054,_0x2022c7);}var S=Object[_0x24ca39(0x213)],d=(_0x1425b7,_0x2ae8c6,_0x87713,_0x278e97)=>{var _0x37537a=_0x24ca39;for(var _0x4025c1=_0x278e97>0x1?void 0x0:_0x278e97?S(_0x2ae8c6,_0x87713):_0x2ae8c6,_0xa5df43=_0x1425b7[_0x37537a(0x20a)]-0x1,_0x39eb2f;_0xa5df43>=0x0;_0xa5df43--)(_0x39eb2f=_0x1425b7[_0xa5df43])&&(_0x4025c1=_0x39eb2f(_0x4025c1)||_0x4025c1);return _0x4025c1;},s=(_0x522b58,_0x5b9491)=>(_0x2b1ac3,_0x2fcc9e)=>_0x5b9491(_0x2b1ac3,_0x2fcc9e,_0x522b58);exports[_0x24ca39(0x21f)]=class extends l[_0x24ca39(0x200)]{constructor(_0x40b52c,_0x46fcc6,_0x57254a,_0x3d53e7,_0x43746a){var _0x5e89cc=_0x24ca39;super(),this[_0x5e89cc(0x1ff)]=_0x40b52c,this[_0x5e89cc(0x1f0)]=_0x46fcc6,this[_0x5e89cc(0x1fc)]=_0x57254a,this[_0x5e89cc(0x207)]=_0x3d53e7,this['_collaborationController']=_0x43746a;}async[_0x24ca39(0x1f9)](){var _0x216fed=_0x24ca39;return this[_0x216fed(0x218)]();}async[_0x24ca39(0x218)](){var _0x488695=_0x24ca39;throw new Error(_0x488695(0x219));}async[_0x24ca39(0x1f2)](_0x591ee0){var _0x44a4b8=_0x24ca39;return this[_0x44a4b8(0x222)](_0x591ee0);}async['loadSheetAsync'](_0x2e6518,_0x951906){var _0x5bc7bc=_0x24ca39;return await this[_0x5bc7bc(0x207)][_0x5bc7bc(0x1f2)](_0x2e6518,0x0,_0x951906)?(await this[_0x5bc7bc(0x20b)]['readyForCollab'](_0x2e6518),this['_handler']['getUniverSheet'](_0x2e6518)):null;}['subscribeCollaborators'](_0x4c1a81,_0x14832c){var _0x1af5f3=_0x24ca39;const _0x559c84=this[_0x1af5f3(0x1f0)][_0x1af5f3(0x21a)](c[_0x1af5f3(0x209)])[_0x1af5f3(0x220)](_0x4c1a81)[_0x1af5f3(0x1f5)](b[_0x1af5f3(0x1fe)](_0x106786=>_0x106786[_0x1af5f3(0x21b)]))[_0x1af5f3(0x1fa)](_0x1d4b52=>_0x14832c(Array['from'](_0x1d4b52['values']())));return i[_0x1af5f3(0x20e)](_0x559c84);}},exports[_0x24ca39(0x21f)]=d([s(0x1,i['Inject'](i[_0x24ca39(0x21e)])),s(0x2,i[_0x24ca39(0x1fd)]),s(0x3,i[_0x24ca39(0x1f3)](v['SnapshotService'])),s(0x4,i[_0x24ca39(0x1f3)](c[_0x24ca39(0x20c)]))],exports['FCollaboration']);class u extends l[_0x24ca39(0x20d)]{[_0x24ca39(0x216)](){var _0x34b7a9=_0x24ca39;return this[_0x34b7a9(0x1f0)]['createInstance'](exports[_0x34b7a9(0x21f)],{'getUniverSheet':_0x448208=>this[_0x34b7a9(0x1f1)](_0x448208)});}[_0x24ca39(0x208)](_0xe78331,_0x32ed37,_0x126738){var _0x54bfc7=_0x24ca39;return this[_0x54bfc7(0x1f0)][_0x54bfc7(0x210)](c['DataLoaderService'])[_0x54bfc7(0x201)](_0xe78331,_0x32ed37,_0x126738);}}l[_0x24ca39(0x20d)][_0x24ca39(0x204)](u);