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

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 _0x138581=_0x5d4d;(function(_0x1ff507,_0x364b98){var _0x5f4726=_0x5d4d,_0xbaefd9=_0x1ff507();while(!![]){try{var _0x2af65f=parseInt(_0x5f4726(0x1eb))/0x1*(-parseInt(_0x5f4726(0x1c7))/0x2)+-parseInt(_0x5f4726(0x1e9))/0x3+-parseInt(_0x5f4726(0x1d9))/0x4*(parseInt(_0x5f4726(0x1e8))/0x5)+-parseInt(_0x5f4726(0x1f6))/0x6*(-parseInt(_0x5f4726(0x1d3))/0x7)+-parseInt(_0x5f4726(0x1de))/0x8*(-parseInt(_0x5f4726(0x1d6))/0x9)+parseInt(_0x5f4726(0x1e1))/0xa*(-parseInt(_0x5f4726(0x1cc))/0xb)+parseInt(_0x5f4726(0x1e2))/0xc*(parseInt(_0x5f4726(0x1e3))/0xd);if(_0x2af65f===_0x364b98)break;else _0xbaefd9['push'](_0xbaefd9['shift']());}catch(_0xe655ce){_0xbaefd9['push'](_0xbaefd9['shift']());}}}(_0x187d,0x3736f));Object[_0x138581(0x1cd)](exports,Symbol[_0x138581(0x1d8)],{'value':'Module'});const c=require(_0x138581(0x1d5)),l=require(_0x138581(0x1e0)),v=require(_0x138581(0x1d0)),i=require(_0x138581(0x1ea)),b=require('rxjs');function _0x5d4d(_0x6b7709,_0x1dd812){var _0x187d51=_0x187d();return _0x5d4d=function(_0x5d4d64,_0x49c8bd){_0x5d4d64=_0x5d4d64-0x1c4;var _0x3db12b=_0x187d51[_0x5d4d64];return _0x3db12b;},_0x5d4d(_0x6b7709,_0x1dd812);}var S=Object[_0x138581(0x1f0)],d=(_0x305797,_0x2e165d,_0xc9f0ba,_0x58c696)=>{var _0x24210d=_0x138581;for(var _0x2a81a4=_0x58c696>0x1?void 0x0:_0x58c696?S(_0x2e165d,_0xc9f0ba):_0x2e165d,_0x473c67=_0x305797[_0x24210d(0x1f3)]-0x1,_0x37113b;_0x473c67>=0x0;_0x473c67--)(_0x37113b=_0x305797[_0x473c67])&&(_0x2a81a4=_0x37113b(_0x2a81a4)||_0x2a81a4);return _0x2a81a4;},s=(_0x13729c,_0x419011)=>(_0x3b0b8a,_0x266b01)=>_0x419011(_0x3b0b8a,_0x266b01,_0x13729c);exports[_0x138581(0x1c6)]=class extends l[_0x138581(0x1f2)]{constructor(_0x3505a2,_0x4a293f,_0x376803,_0x2dfdb1,_0x5dfd80){var _0x1c1af4=_0x138581;super(),this['_handler']=_0x3505a2,this[_0x1c1af4(0x1d7)]=_0x4a293f,this[_0x1c1af4(0x1cf)]=_0x376803,this[_0x1c1af4(0x1ca)]=_0x2dfdb1,this[_0x1c1af4(0x1e4)]=_0x5dfd80;}async[_0x138581(0x1ed)](){var _0x12a970=_0x138581;return this[_0x12a970(0x1ce)]();}async['loadActiveSheetAsync'](){var _0x56ff06=_0x138581;throw new Error(_0x56ff06(0x1cb));}async['loadSheet'](_0x4b4143){return this['loadSheetAsync'](_0x4b4143);}async[_0x138581(0x1f7)](_0x1146af,_0x4bcba2){var _0x157248=_0x138581;return await this[_0x157248(0x1ca)]['loadSheet'](_0x1146af,0x0,_0x4bcba2)?(await this['_collaborationController'][_0x157248(0x1c4)](_0x1146af),this['_handler'][_0x157248(0x1d1)](_0x1146af)):null;}[_0x138581(0x1c8)](_0x8abfdb,_0x289b3e){var _0x3f0912=_0x138581;const _0x597aa8=this[_0x3f0912(0x1d7)][_0x3f0912(0x1f5)](c[_0x3f0912(0x1dd)])[_0x3f0912(0x1d4)](_0x8abfdb)[_0x3f0912(0x1da)](b[_0x3f0912(0x1ee)](_0x4f91e5=>_0x4f91e5[_0x3f0912(0x1e7)]))[_0x3f0912(0x1d2)](_0x50b8d3=>_0x289b3e(Array[_0x3f0912(0x1df)](_0x50b8d3[_0x3f0912(0x1f1)]())));return i[_0x3f0912(0x1c9)](_0x597aa8);}},exports[_0x138581(0x1c6)]=d([s(0x1,i['Inject'](i[_0x138581(0x1ef)])),s(0x2,i[_0x138581(0x1e5)]),s(0x3,i[_0x138581(0x1f4)](v[_0x138581(0x1dc)])),s(0x4,i[_0x138581(0x1f4)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x138581(0x1c5)]{['getCollaboration'](){var _0x43d621=_0x138581;return this[_0x43d621(0x1d7)][_0x43d621(0x1ec)](exports['FCollaboration'],{'getUniverSheet':_0x213956=>this[_0x43d621(0x1d1)](_0x213956)});}['loadServerUnit'](_0x494390,_0x5e19c9,_0x437494){var _0x49485e=_0x138581;return this[_0x49485e(0x1d7)]['createInstance'](c[_0x49485e(0x1db)])['loadUnit'](_0x494390,_0x5e19c9,_0x437494);}}function _0x187d(){var _0x577874=['getUniverSheet','subscribe','2418927uKpSGf','waitForRoom$','@univerjs-pro/collaboration-client','506619kdhHsd','_injector','toStringTag','23804fugTYL','pipe','DataLoaderService','SnapshotService','MemberService','24kATqfg','from','@univerjs/core/facade','2336690genOHI','936tfNswJ','76349TQjiqw','_collaborationController','IUniverInstanceService','extend','members$','215rLFvTA','672228IohMhr','@univerjs/core','71ohUwXU','createInstance','loadActiveSheet','switchMap','Injector','getOwnPropertyDescriptor','values','FBase','length','Inject','get','6IbLMoP','loadSheetAsync','readyForCollab','FUniver','FCollaboration','922BbigIY','subscribeCollaborators','toDisposable','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','11iSeDvy','defineProperty','loadActiveSheetAsync','_univerInstanceService','@univerjs-pro/collaboration'];_0x187d=function(){return _0x577874;};return _0x187d();}l[_0x138581(0x1c5)][_0x138581(0x1e6)](u);