@univerjs-pro/collaboration-client 0.6.9-nightly.202504051606 → 0.6.9-nightly.202504071607

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 _0x1751fd=_0x5eed;(function(_0x39504b,_0x1d2bd1){var _0x4a6087=_0x5eed,_0x1da80f=_0x39504b();while(!![]){try{var _0x4246a4=-parseInt(_0x4a6087(0xdf))/0x1+-parseInt(_0x4a6087(0xbf))/0x2*(-parseInt(_0x4a6087(0xe6))/0x3)+parseInt(_0x4a6087(0xc5))/0x4*(-parseInt(_0x4a6087(0xd1))/0x5)+-parseInt(_0x4a6087(0xd6))/0x6+-parseInt(_0x4a6087(0xb9))/0x7+parseInt(_0x4a6087(0xc8))/0x8+parseInt(_0x4a6087(0xc7))/0x9;if(_0x4246a4===_0x1d2bd1)break;else _0x1da80f['push'](_0x1da80f['shift']());}catch(_0x32a03a){_0x1da80f['push'](_0x1da80f['shift']());}}}(_0x4a09,0x8f9dc));Object[_0x1751fd(0xd7)](exports,Symbol[_0x1751fd(0xe5)],{'value':_0x1751fd(0xc1)});const c=require(_0x1751fd(0xc2)),l=require(_0x1751fd(0xd2)),v=require(_0x1751fd(0xd4)),i=require('@univerjs/core'),b=require(_0x1751fd(0xc0));var S=Object[_0x1751fd(0xdc)],d=(_0x3364b1,_0x36ee8b,_0x533a7a,_0x1a9d57)=>{var _0x1d7455=_0x1751fd;for(var _0x3ac992=_0x1a9d57>0x1?void 0x0:_0x1a9d57?S(_0x36ee8b,_0x533a7a):_0x36ee8b,_0x24f21e=_0x3364b1[_0x1d7455(0xbd)]-0x1,_0x3a8f1e;_0x24f21e>=0x0;_0x24f21e--)(_0x3a8f1e=_0x3364b1[_0x24f21e])&&(_0x3ac992=_0x3a8f1e(_0x3ac992)||_0x3ac992);return _0x3ac992;},s=(_0x28bc2f,_0x14f95a)=>(_0x3cf25e,_0x131520)=>_0x14f95a(_0x3cf25e,_0x131520,_0x28bc2f);exports[_0x1751fd(0xce)]=class extends l[_0x1751fd(0xc3)]{constructor(_0x599a4e,_0x632dd2,_0x1a6612,_0x1f3873,_0x42d152){var _0x237007=_0x1751fd;super(),this[_0x237007(0xd5)]=_0x599a4e,this[_0x237007(0xc4)]=_0x632dd2,this[_0x237007(0xd0)]=_0x1a6612,this[_0x237007(0xc6)]=_0x1f3873,this[_0x237007(0xbb)]=_0x42d152;}async[_0x1751fd(0xda)](){var _0x99f92b=_0x1751fd;return this[_0x99f92b(0xca)]();}async[_0x1751fd(0xca)](){var _0x3578b5=_0x1751fd;throw new Error(_0x3578b5(0xc9));}async[_0x1751fd(0xcd)](_0x10a393){var _0x121913=_0x1751fd;return this[_0x121913(0xbc)](_0x10a393);}async[_0x1751fd(0xbc)](_0x3a47f6,_0x513654){var _0x4b84de=_0x1751fd;return await this['_snapshotService']['loadSheet'](_0x3a47f6,0x0,_0x513654)?(await this[_0x4b84de(0xbb)]['readyForCollab'](_0x3a47f6),this['_handler'][_0x4b84de(0xd9)](_0x3a47f6)):null;}[_0x1751fd(0xd3)](_0x1926f5,_0x235d5b){var _0x1184a5=_0x1751fd;const _0x158f03=this[_0x1184a5(0xc4)][_0x1184a5(0xcb)](c[_0x1184a5(0xe0)])[_0x1184a5(0xe4)](_0x1926f5)[_0x1184a5(0xba)](b['switchMap'](_0x4df114=>_0x4df114['members$']))[_0x1184a5(0xd8)](_0x1be640=>_0x235d5b(Array['from'](_0x1be640[_0x1184a5(0xbe)]())));return i[_0x1184a5(0xe3)](_0x158f03);}},exports[_0x1751fd(0xce)]=d([s(0x1,i[_0x1751fd(0xcf)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x1751fd(0xcf)](v['SnapshotService'])),s(0x4,i[_0x1751fd(0xcf)](c[_0x1751fd(0xcc)]))],exports[_0x1751fd(0xce)]);class u extends l['FUniver']{[_0x1751fd(0xde)](){var _0x564a10=_0x1751fd;return this[_0x564a10(0xc4)][_0x564a10(0xdb)](exports[_0x564a10(0xce)],{'getUniverSheet':_0x1d501c=>this[_0x564a10(0xd9)](_0x1d501c)});}[_0x1751fd(0xe1)](_0x102131,_0xcad891,_0x4891e2){var _0x288ab6=_0x1751fd;return this[_0x288ab6(0xc4)][_0x288ab6(0xdb)](c['DataLoaderService'])['loadUnit'](_0x102131,_0xcad891,_0x4891e2);}}l[_0x1751fd(0xdd)][_0x1751fd(0xe2)](u);function _0x5eed(_0x1efa3b,_0x3cd1c6){var _0x4a0904=_0x4a09();return _0x5eed=function(_0x5eedd4,_0x5030cf){_0x5eedd4=_0x5eedd4-0xb9;var _0x1580ec=_0x4a0904[_0x5eedd4];return _0x1580ec;},_0x5eed(_0x1efa3b,_0x3cd1c6);}function _0x4a09(){var _0x541faa=['@univerjs-pro/collaboration-client','FBase','_injector','808ofRIfC','_snapshotService','12380940vCsYyB','534760gBQDIe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadActiveSheetAsync','get','CollaborationController','loadSheet','FCollaboration','Inject','_univerInstanceService','4685viERQy','@univerjs/core/facade','subscribeCollaborators','@univerjs-pro/collaboration','_handler','507468rJCAVY','defineProperty','subscribe','getUniverSheet','loadActiveSheet','createInstance','getOwnPropertyDescriptor','FUniver','getCollaboration','204559MKMVqE','MemberService','loadServerUnit','extend','toDisposable','waitForRoom$','toStringTag','31965ghfLWm','3152989aPZGhm','pipe','_collaborationController','loadSheetAsync','length','values','14bXQNyi','rxjs','Module'];_0x4a09=function(){return _0x541faa;};return _0x4a09();}
1
+ 'use strict';var _0x3e9c37=_0x3d38;(function(_0x604c63,_0x30a146){var _0x264fcf=_0x3d38,_0x454732=_0x604c63();while(!![]){try{var _0x40ac16=parseInt(_0x264fcf(0xab))/0x1*(parseInt(_0x264fcf(0xbe))/0x2)+-parseInt(_0x264fcf(0xc6))/0x3+-parseInt(_0x264fcf(0xa0))/0x4*(-parseInt(_0x264fcf(0xb7))/0x5)+-parseInt(_0x264fcf(0xb5))/0x6+-parseInt(_0x264fcf(0xbb))/0x7*(parseInt(_0x264fcf(0xa5))/0x8)+parseInt(_0x264fcf(0xc3))/0x9*(-parseInt(_0x264fcf(0xba))/0xa)+parseInt(_0x264fcf(0xc8))/0xb;if(_0x40ac16===_0x30a146)break;else _0x454732['push'](_0x454732['shift']());}catch(_0xb0263f){_0x454732['push'](_0x454732['shift']());}}}(_0x5e0d,0x2dcd6));Object[_0x3e9c37(0xa8)](exports,Symbol[_0x3e9c37(0xa2)],{'value':_0x3e9c37(0xaa)});const c=require(_0x3e9c37(0xb0)),l=require(_0x3e9c37(0xc7)),v=require(_0x3e9c37(0xa4)),i=require('@univerjs/core'),b=require(_0x3e9c37(0xbd));function _0x5e0d(){var _0x935f66=['loadActiveSheet','@univerjs-pro/collaboration','1857304XwBHws','MemberService','_handler','defineProperty','length','Module','21885fFlbXY','loadUnit','IUniverInstanceService','_collaborationController','loadActiveSheetAsync','@univerjs-pro/collaboration-client','Inject','get','createInstance','loadSheet','1627380ItsDKc','waitForRoom$','131605wCwytF','getCollaboration','FCollaboration','851270MlBmJZ','7xMYCFI','SnapshotService','rxjs','4skkSTl','getUniverSheet','_injector','DataLoaderService','extend','9UIpDaT','subscribeCollaborators','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','498426WasLMK','@univerjs/core/facade','7567230qzAuTY','values','from','_univerInstanceService','FUniver','pipe','loadSheetAsync','32grxMFx','_snapshotService','toStringTag'];_0x5e0d=function(){return _0x935f66;};return _0x5e0d();}var S=Object['getOwnPropertyDescriptor'],d=(_0x2acca4,_0x17d982,_0x3893fb,_0x17ccf0)=>{var _0x38cb56=_0x3e9c37;for(var _0xc50477=_0x17ccf0>0x1?void 0x0:_0x17ccf0?S(_0x17d982,_0x3893fb):_0x17d982,_0x438b57=_0x2acca4[_0x38cb56(0xa9)]-0x1,_0x4c9579;_0x438b57>=0x0;_0x438b57--)(_0x4c9579=_0x2acca4[_0x438b57])&&(_0xc50477=_0x4c9579(_0xc50477)||_0xc50477);return _0xc50477;},s=(_0x28c810,_0x17db10)=>(_0x28d743,_0x4ca604)=>_0x17db10(_0x28d743,_0x4ca604,_0x28c810);function _0x3d38(_0x167bf9,_0x5897b7){var _0x5e0d42=_0x5e0d();return _0x3d38=function(_0x3d3837,_0x2522da){_0x3d3837=_0x3d3837-0x9b;var _0x54d73d=_0x5e0d42[_0x3d3837];return _0x54d73d;},_0x3d38(_0x167bf9,_0x5897b7);}exports['FCollaboration']=class extends l['FBase']{constructor(_0x5c82b9,_0x4b6767,_0x514a46,_0x62faf3,_0x5a1af4){var _0x5787ca=_0x3e9c37;super(),this['_handler']=_0x5c82b9,this[_0x5787ca(0xc0)]=_0x4b6767,this[_0x5787ca(0x9c)]=_0x514a46,this['_snapshotService']=_0x62faf3,this[_0x5787ca(0xae)]=_0x5a1af4;}async[_0x3e9c37(0xa3)](){var _0x5bf040=_0x3e9c37;return this[_0x5bf040(0xaf)]();}async[_0x3e9c37(0xaf)](){var _0x3e64c7=_0x3e9c37;throw new Error(_0x3e64c7(0xc5));}async[_0x3e9c37(0xb4)](_0x5e9bba){var _0x3aaaf4=_0x3e9c37;return this[_0x3aaaf4(0x9f)](_0x5e9bba);}async[_0x3e9c37(0x9f)](_0x17d469,_0x52a8ae){var _0x31a7e9=_0x3e9c37;return await this[_0x31a7e9(0xa1)][_0x31a7e9(0xb4)](_0x17d469,0x0,_0x52a8ae)?(await this['_collaborationController']['readyForCollab'](_0x17d469),this[_0x31a7e9(0xa7)]['getUniverSheet'](_0x17d469)):null;}[_0x3e9c37(0xc4)](_0x5c8af4,_0x2d0d28){var _0x825ea8=_0x3e9c37;const _0x348928=this[_0x825ea8(0xc0)][_0x825ea8(0xb2)](c[_0x825ea8(0xa6)])[_0x825ea8(0xb6)](_0x5c8af4)[_0x825ea8(0x9e)](b['switchMap'](_0x5030ea=>_0x5030ea['members$']))['subscribe'](_0x447d7c=>_0x2d0d28(Array[_0x825ea8(0x9b)](_0x447d7c[_0x825ea8(0xc9)]())));return i['toDisposable'](_0x348928);}},exports[_0x3e9c37(0xb9)]=d([s(0x1,i[_0x3e9c37(0xb1)](i['Injector'])),s(0x2,i[_0x3e9c37(0xad)]),s(0x3,i['Inject'](v[_0x3e9c37(0xbc)])),s(0x4,i[_0x3e9c37(0xb1)](c['CollaborationController']))],exports['FCollaboration']);class u extends l[_0x3e9c37(0x9d)]{[_0x3e9c37(0xb8)](){var _0x4eb17b=_0x3e9c37;return this['_injector']['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x3db660=>this[_0x4eb17b(0xbf)](_0x3db660)});}['loadServerUnit'](_0x34c0e6,_0x342e5e,_0x3bf28b){var _0x4b46fc=_0x3e9c37;return this['_injector'][_0x4b46fc(0xb3)](c[_0x4b46fc(0xc1)])[_0x4b46fc(0xac)](_0x34c0e6,_0x342e5e,_0x3bf28b);}}l[_0x3e9c37(0x9d)][_0x3e9c37(0xc2)](u);