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

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 _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);
1
+ 'use strict';var _0x28db98=_0x34a1;(function(_0x3cc896,_0x902e6){var _0x58031d=_0x34a1,_0x2b4525=_0x3cc896();while(!![]){try{var _0x33305d=parseInt(_0x58031d(0x11c))/0x1+parseInt(_0x58031d(0x133))/0x2*(-parseInt(_0x58031d(0x134))/0x3)+parseInt(_0x58031d(0x139))/0x4*(-parseInt(_0x58031d(0x126))/0x5)+-parseInt(_0x58031d(0x142))/0x6*(parseInt(_0x58031d(0x135))/0x7)+-parseInt(_0x58031d(0x137))/0x8*(-parseInt(_0x58031d(0x113))/0x9)+-parseInt(_0x58031d(0x13f))/0xa*(parseInt(_0x58031d(0x114))/0xb)+parseInt(_0x58031d(0x117))/0xc*(parseInt(_0x58031d(0x127))/0xd);if(_0x33305d===_0x902e6)break;else _0x2b4525['push'](_0x2b4525['shift']());}catch(_0x5efb47){_0x2b4525['push'](_0x2b4525['shift']());}}}(_0x4e12,0xd5986));Object[_0x28db98(0x13a)](exports,Symbol[_0x28db98(0x136)],{'value':'Module'});const c=require(_0x28db98(0x12d)),l=require(_0x28db98(0x115)),v=require(_0x28db98(0x13c)),i=require(_0x28db98(0x132)),b=require(_0x28db98(0x13b));var S=Object[_0x28db98(0x131)],d=(_0x48c9dd,_0x5bb830,_0x42bba8,_0x265c92)=>{for(var _0x54c714=_0x265c92>0x1?void 0x0:_0x265c92?S(_0x5bb830,_0x42bba8):_0x5bb830,_0x4e8c83=_0x48c9dd['length']-0x1,_0x268711;_0x4e8c83>=0x0;_0x4e8c83--)(_0x268711=_0x48c9dd[_0x4e8c83])&&(_0x54c714=_0x268711(_0x54c714)||_0x54c714);return _0x54c714;},s=(_0x15cfa6,_0x4ccf0a)=>(_0x303bc6,_0x42c792)=>_0x4ccf0a(_0x303bc6,_0x42c792,_0x15cfa6);function _0x4e12(){var _0x30faf6=['getOwnPropertyDescriptor','@univerjs/core','94oiLeLl','95163CBTPxj','21rtFOnw','toStringTag','645096XEYwox','Inject','464wSMsuE','defineProperty','rxjs','@univerjs-pro/collaboration','_univerInstanceService','extend','43760RvKMug','loadUnit','values','1433274ACglYh','switchMap','getUniverSheet','153SpIsvY','627FnBorK','@univerjs/core/facade','FCollaboration','4201188BnGRuH','pipe','loadServerUnit','CollaborationController','from','1292124ZfRqoh','SnapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_handler','readyForCollab','get','_collaborationController','FUniver','members$','DataLoaderService','16440UfIokV','39hGHYrF','loadSheet','_injector','getCollaboration','toDisposable','_snapshotService','@univerjs-pro/collaboration-client','createInstance','loadActiveSheetAsync','IUniverInstanceService'];_0x4e12=function(){return _0x30faf6;};return _0x4e12();}exports[_0x28db98(0x116)]=class extends l['FBase']{constructor(_0x4bd0ee,_0x52863e,_0x2fd14d,_0x4d9138,_0x1cf1a8){var _0x2d3116=_0x28db98;super(),this[_0x2d3116(0x11f)]=_0x4bd0ee,this[_0x2d3116(0x129)]=_0x52863e,this[_0x2d3116(0x13d)]=_0x2fd14d,this[_0x2d3116(0x12c)]=_0x4d9138,this['_collaborationController']=_0x1cf1a8;}async['loadActiveSheet'](){var _0x27abf6=_0x28db98;return this[_0x27abf6(0x12f)]();}async[_0x28db98(0x12f)](){var _0x30a4ce=_0x28db98;throw new Error(_0x30a4ce(0x11e));}async[_0x28db98(0x128)](_0x26bb2a){return this['loadSheetAsync'](_0x26bb2a);}async['loadSheetAsync'](_0x857f9,_0x311b27){var _0x4c09eb=_0x28db98;return await this[_0x4c09eb(0x12c)]['loadSheet'](_0x857f9,0x0,_0x311b27)?(await this[_0x4c09eb(0x122)][_0x4c09eb(0x120)](_0x857f9),this[_0x4c09eb(0x11f)][_0x4c09eb(0x112)](_0x857f9)):null;}['subscribeCollaborators'](_0x34c2e2,_0x560429){var _0x15b033=_0x28db98;const _0x5192b2=this[_0x15b033(0x129)][_0x15b033(0x121)](c['MemberService'])['waitForRoom$'](_0x34c2e2)[_0x15b033(0x118)](b[_0x15b033(0x143)](_0x30cda1=>_0x30cda1[_0x15b033(0x124)]))['subscribe'](_0x3e12d6=>_0x560429(Array[_0x15b033(0x11b)](_0x3e12d6[_0x15b033(0x141)]())));return i[_0x15b033(0x12b)](_0x5192b2);}},exports['FCollaboration']=d([s(0x1,i[_0x28db98(0x138)](i['Injector'])),s(0x2,i[_0x28db98(0x130)]),s(0x3,i[_0x28db98(0x138)](v[_0x28db98(0x11d)])),s(0x4,i[_0x28db98(0x138)](c[_0x28db98(0x11a)]))],exports[_0x28db98(0x116)]);class u extends l['FUniver']{[_0x28db98(0x12a)](){var _0x37df68=_0x28db98;return this[_0x37df68(0x129)]['createInstance'](exports[_0x37df68(0x116)],{'getUniverSheet':_0x537a31=>this[_0x37df68(0x112)](_0x537a31)});}[_0x28db98(0x119)](_0x3279b6,_0x997703,_0x597dbe){var _0x51ca60=_0x28db98;return this['_injector'][_0x51ca60(0x12e)](c[_0x51ca60(0x125)])[_0x51ca60(0x140)](_0x3279b6,_0x997703,_0x597dbe);}}function _0x34a1(_0x3e86d3,_0x1976c8){var _0x4e124f=_0x4e12();return _0x34a1=function(_0x34a173,_0x5d0230){_0x34a173=_0x34a173-0x112;var _0x7e53f7=_0x4e124f[_0x34a173];return _0x7e53f7;},_0x34a1(_0x3e86d3,_0x1976c8);}l[_0x28db98(0x123)][_0x28db98(0x13e)](u);