@univerjs-pro/collaboration-client 0.6.9-nightly.202504061606 → 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 _0x353279=_0x140c;(function(_0x4e3c5d,_0x242dea){var _0x170570=_0x140c,_0x204eaf=_0x4e3c5d();while(!![]){try{var _0x4b250e=-parseInt(_0x170570(0xc3))/0x1*(parseInt(_0x170570(0xa7))/0x2)+parseInt(_0x170570(0xd4))/0x3+parseInt(_0x170570(0xb4))/0x4+-parseInt(_0x170570(0xc7))/0x5+-parseInt(_0x170570(0xd1))/0x6*(parseInt(_0x170570(0xcb))/0x7)+parseInt(_0x170570(0xbc))/0x8+parseInt(_0x170570(0xad))/0x9*(parseInt(_0x170570(0xcd))/0xa);if(_0x4b250e===_0x242dea)break;else _0x204eaf['push'](_0x204eaf['shift']());}catch(_0x22c80d){_0x204eaf['push'](_0x204eaf['shift']());}}}(_0x80c7,0x86fd1));Object[_0x353279(0xc6)](exports,Symbol[_0x353279(0xab)],{'value':_0x353279(0xa9)});function _0x80c7(){var _0x3f4ef2=['FBase','423984jEOvHp','FCollaboration','getCollaboration','loadUnit','loadSheet','2sUsxrt','length','Module','subscribe','toStringTag','MemberService','9oHLbcT','members$','from','IUniverInstanceService','createInstance','toDisposable','CollaborationController','3427476wTcBcp','DataLoaderService','_collaborationController','_snapshotService','_handler','readyForCollab','@univerjs/core','loadActiveSheet','4218696AOxFke','_injector','Injector','waitForRoom$','_univerInstanceService','@univerjs/core/facade','rxjs','915253WIoayE','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','pipe','defineProperty','4226505zcIlXZ','loadActiveSheetAsync','loadServerUnit','FUniver','12747WOGKVW','get','8625940kEpsou','loadSheetAsync','Inject','getOwnPropertyDescriptor','246dYBQyz','@univerjs-pro/collaboration'];_0x80c7=function(){return _0x3f4ef2;};return _0x80c7();}const c=require('@univerjs-pro/collaboration-client'),l=require(_0x353279(0xc1)),v=require(_0x353279(0xd2)),i=require(_0x353279(0xba)),b=require(_0x353279(0xc2));var S=Object[_0x353279(0xd0)],d=(_0x42a9c7,_0x1a4d11,_0x3da1c6,_0x23614b)=>{var _0x266f6b=_0x353279;for(var _0x1fb3e1=_0x23614b>0x1?void 0x0:_0x23614b?S(_0x1a4d11,_0x3da1c6):_0x1a4d11,_0x49dc2b=_0x42a9c7[_0x266f6b(0xa8)]-0x1,_0x173cab;_0x49dc2b>=0x0;_0x49dc2b--)(_0x173cab=_0x42a9c7[_0x49dc2b])&&(_0x1fb3e1=_0x173cab(_0x1fb3e1)||_0x1fb3e1);return _0x1fb3e1;},s=(_0x50e5d6,_0x4554b1)=>(_0xe74b05,_0x443e3c)=>_0x4554b1(_0xe74b05,_0x443e3c,_0x50e5d6);function _0x140c(_0xae5fcc,_0x1d0beb){var _0x80c704=_0x80c7();return _0x140c=function(_0x140c2d,_0x241ab4){_0x140c2d=_0x140c2d-0xa5;var _0x48c12f=_0x80c704[_0x140c2d];return _0x48c12f;},_0x140c(_0xae5fcc,_0x1d0beb);}exports[_0x353279(0xd5)]=class extends l[_0x353279(0xd3)]{constructor(_0xdef367,_0x46fd3d,_0x4a969c,_0x11479b,_0x2adb21){var _0x1a7790=_0x353279;super(),this[_0x1a7790(0xb8)]=_0xdef367,this[_0x1a7790(0xbd)]=_0x46fd3d,this[_0x1a7790(0xc0)]=_0x4a969c,this[_0x1a7790(0xb7)]=_0x11479b,this[_0x1a7790(0xb6)]=_0x2adb21;}async[_0x353279(0xbb)](){var _0x1444ac=_0x353279;return this[_0x1444ac(0xc8)]();}async['loadActiveSheetAsync'](){var _0x5eecef=_0x353279;throw new Error(_0x5eecef(0xc4));}async[_0x353279(0xa6)](_0x57ddc8){return this['loadSheetAsync'](_0x57ddc8);}async[_0x353279(0xce)](_0x4e089d,_0x2e475b){var _0x3d0d59=_0x353279;return await this[_0x3d0d59(0xb7)]['loadSheet'](_0x4e089d,0x0,_0x2e475b)?(await this[_0x3d0d59(0xb6)][_0x3d0d59(0xb9)](_0x4e089d),this['_handler']['getUniverSheet'](_0x4e089d)):null;}['subscribeCollaborators'](_0x13307e,_0x5867c0){var _0x4934ee=_0x353279;const _0x1d9d4a=this[_0x4934ee(0xbd)][_0x4934ee(0xcc)](c[_0x4934ee(0xac)])[_0x4934ee(0xbf)](_0x13307e)[_0x4934ee(0xc5)](b['switchMap'](_0x4e0168=>_0x4e0168[_0x4934ee(0xae)]))[_0x4934ee(0xaa)](_0x10c4a8=>_0x5867c0(Array[_0x4934ee(0xaf)](_0x10c4a8['values']())));return i[_0x4934ee(0xb2)](_0x1d9d4a);}},exports[_0x353279(0xd5)]=d([s(0x1,i[_0x353279(0xcf)](i[_0x353279(0xbe)])),s(0x2,i[_0x353279(0xb0)]),s(0x3,i[_0x353279(0xcf)](v['SnapshotService'])),s(0x4,i[_0x353279(0xcf)](c[_0x353279(0xb3)]))],exports[_0x353279(0xd5)]);class u extends l['FUniver']{[_0x353279(0xd6)](){var _0x4aea35=_0x353279;return this[_0x4aea35(0xbd)][_0x4aea35(0xb1)](exports[_0x4aea35(0xd5)],{'getUniverSheet':_0x10b7c2=>this['getUniverSheet'](_0x10b7c2)});}[_0x353279(0xc9)](_0x2ba91c,_0x575e08,_0x4e795b){var _0xb97d5a=_0x353279;return this[_0xb97d5a(0xbd)]['createInstance'](c[_0xb97d5a(0xb5)])[_0xb97d5a(0xa5)](_0x2ba91c,_0x575e08,_0x4e795b);}}l[_0x353279(0xca)]['extend'](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);