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

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 _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);
1
+ 'use strict';function _0x43f1(){var _0x18d74a=['defineProperty','from','67leuYKe','@univerjs-pro/collaboration','_collaborationController','FBase','subscribeCollaborators','length','getUniverSheet','loadActiveSheetAsync','loadSheetAsync','Module','12318507PEwRKE','loadActiveSheet','loadServerUnit','values','@univerjs-pro/collaboration-client','FUniver','getCollaboration','_injector','73902NvLckw','SnapshotService','9785860ZFxrWS','getOwnPropertyDescriptor','4465956XGxKil','MemberService','651zcriUt','1784455jVhDZq','IUniverInstanceService','get','toStringTag','DataLoaderService','Inject','subscribe','members$','@univerjs/core','createInstance','_univerInstanceService','FCollaboration','rxjs','Injector','12904EsTQUp','loadSheet','5756408gOYUlD','_handler','pipe','4WaUJvS','readyForCollab'];_0x43f1=function(){return _0x18d74a;};return _0x43f1();}var _0x4da180=_0x1a6f;(function(_0x5153c6,_0x5de07b){var _0x1bf0f5=_0x1a6f,_0x7ab92d=_0x5153c6();while(!![]){try{var _0x473dc9=parseInt(_0x1bf0f5(0xfd))/0x1*(parseInt(_0x1bf0f5(0xf4))/0x2)+-parseInt(_0x1bf0f5(0xe3))/0x3+-parseInt(_0x1bf0f5(0xf9))/0x4*(parseInt(_0x1bf0f5(0xe6))/0x5)+parseInt(_0x1bf0f5(0x10f))/0x6*(parseInt(_0x1bf0f5(0xe5))/0x7)+parseInt(_0x1bf0f5(0xf6))/0x8+parseInt(_0x1bf0f5(0x107))/0x9+-parseInt(_0x1bf0f5(0xe1))/0xa;if(_0x473dc9===_0x5de07b)break;else _0x7ab92d['push'](_0x7ab92d['shift']());}catch(_0x14efa3){_0x7ab92d['push'](_0x7ab92d['shift']());}}}(_0x43f1,0xcd8b6));Object[_0x4da180(0xfb)](exports,Symbol[_0x4da180(0xe9)],{'value':_0x4da180(0x106)});const c=require(_0x4da180(0x10b)),l=require('@univerjs/core/facade'),v=require(_0x4da180(0xfe)),i=require(_0x4da180(0xee)),b=require(_0x4da180(0xf2));var S=Object[_0x4da180(0xe2)],d=(_0x4aa398,_0x458d03,_0x3c256d,_0x3331c2)=>{var _0xdf580a=_0x4da180;for(var _0x230821=_0x3331c2>0x1?void 0x0:_0x3331c2?S(_0x458d03,_0x3c256d):_0x458d03,_0x17cc74=_0x4aa398[_0xdf580a(0x102)]-0x1,_0x3b7b42;_0x17cc74>=0x0;_0x17cc74--)(_0x3b7b42=_0x4aa398[_0x17cc74])&&(_0x230821=_0x3b7b42(_0x230821)||_0x230821);return _0x230821;},s=(_0x5da724,_0x4e32cb)=>(_0x5e7d44,_0x1948ff)=>_0x4e32cb(_0x5e7d44,_0x1948ff,_0x5da724);function _0x1a6f(_0x324a09,_0x3110fc){var _0x43f134=_0x43f1();return _0x1a6f=function(_0x1a6fc8,_0x1f93e6){_0x1a6fc8=_0x1a6fc8-0xe1;var _0x18a069=_0x43f134[_0x1a6fc8];return _0x18a069;},_0x1a6f(_0x324a09,_0x3110fc);}exports[_0x4da180(0xf1)]=class extends l[_0x4da180(0x100)]{constructor(_0x3dd3f0,_0x14af9f,_0x432ad7,_0x344e7d,_0x403844){var _0x27dd8f=_0x4da180;super(),this[_0x27dd8f(0xf7)]=_0x3dd3f0,this[_0x27dd8f(0x10e)]=_0x14af9f,this[_0x27dd8f(0xf0)]=_0x432ad7,this['_snapshotService']=_0x344e7d,this[_0x27dd8f(0xff)]=_0x403844;}async[_0x4da180(0x108)](){var _0x25c1aa=_0x4da180;return this[_0x25c1aa(0x104)]();}async[_0x4da180(0x104)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x4da180(0xf5)](_0x14d5bd){var _0x20e9c5=_0x4da180;return this[_0x20e9c5(0x105)](_0x14d5bd);}async[_0x4da180(0x105)](_0x5dcc6b,_0x643acf){var _0x41a4c5=_0x4da180;return await this['_snapshotService'][_0x41a4c5(0xf5)](_0x5dcc6b,0x0,_0x643acf)?(await this['_collaborationController'][_0x41a4c5(0xfa)](_0x5dcc6b),this[_0x41a4c5(0xf7)][_0x41a4c5(0x103)](_0x5dcc6b)):null;}[_0x4da180(0x101)](_0x3987fa,_0x55a03b){var _0x21a5e9=_0x4da180;const _0x1a85fc=this[_0x21a5e9(0x10e)][_0x21a5e9(0xe8)](c[_0x21a5e9(0xe4)])['waitForRoom$'](_0x3987fa)[_0x21a5e9(0xf8)](b['switchMap'](_0x159521=>_0x159521[_0x21a5e9(0xed)]))[_0x21a5e9(0xec)](_0x2975e2=>_0x55a03b(Array[_0x21a5e9(0xfc)](_0x2975e2[_0x21a5e9(0x10a)]())));return i['toDisposable'](_0x1a85fc);}},exports[_0x4da180(0xf1)]=d([s(0x1,i[_0x4da180(0xeb)](i[_0x4da180(0xf3)])),s(0x2,i[_0x4da180(0xe7)]),s(0x3,i['Inject'](v[_0x4da180(0x110)])),s(0x4,i[_0x4da180(0xeb)](c['CollaborationController']))],exports[_0x4da180(0xf1)]);class u extends l[_0x4da180(0x10c)]{[_0x4da180(0x10d)](){var _0x48ce19=_0x4da180;return this['_injector']['createInstance'](exports[_0x48ce19(0xf1)],{'getUniverSheet':_0x462bc5=>this[_0x48ce19(0x103)](_0x462bc5)});}[_0x4da180(0x109)](_0x20a314,_0x694c7f,_0x13e0da){var _0x3ee5fc=_0x4da180;return this[_0x3ee5fc(0x10e)][_0x3ee5fc(0xef)](c[_0x3ee5fc(0xea)])['loadUnit'](_0x20a314,_0x694c7f,_0x13e0da);}}l['FUniver']['extend'](u);