@univerjs-pro/collaboration-client 0.6.7-experimental.20250401-3d35205 → 0.6.7-experimental.20250402-1f9acb8

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 _0x12176f=_0x16e0;(function(_0x4c644a,_0x2e897a){var _0x44df6c=_0x16e0,_0x1bb83f=_0x4c644a();while(!![]){try{var _0x49c1f0=-parseInt(_0x44df6c(0xfb))/0x1+parseInt(_0x44df6c(0xe5))/0x2*(-parseInt(_0x44df6c(0xec))/0x3)+-parseInt(_0x44df6c(0xfa))/0x4*(parseInt(_0x44df6c(0xe4))/0x5)+-parseInt(_0x44df6c(0x102))/0x6+-parseInt(_0x44df6c(0xf2))/0x7+-parseInt(_0x44df6c(0xfd))/0x8*(parseInt(_0x44df6c(0xe1))/0x9)+-parseInt(_0x44df6c(0xee))/0xa*(-parseInt(_0x44df6c(0xe8))/0xb);if(_0x49c1f0===_0x2e897a)break;else _0x1bb83f['push'](_0x1bb83f['shift']());}catch(_0x377d8d){_0x1bb83f['push'](_0x1bb83f['shift']());}}}(_0x4929,0x4de1a));function _0x16e0(_0x5169b1,_0x2c5fa7){var _0x4929b0=_0x4929();return _0x16e0=function(_0x16e0bd,_0x4b2ea2){_0x16e0bd=_0x16e0bd-0xda;var _0x201323=_0x4929b0[_0x16e0bd];return _0x201323;},_0x16e0(_0x5169b1,_0x2c5fa7);}function _0x4929(){var _0x2fc509=['values','createInstance','301068NDQHXN','getOwnPropertyDescriptor','rxjs','1435zCtYhn','8FoaUOL','DataLoaderService','_injector','11561gkRIlK','FUniver','defineProperty','Inject','28827JksAHc','get','15130fqAbCa','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','members$','getCollaboration','2450175mjLrEP','CollaborationController','loadUnit','IUniverInstanceService','FCollaboration','_collaborationController','_handler','readyForCollab','4376xsKORF','157543hyVmKG','loadActiveSheetAsync','32CiewYj','_univerInstanceService','@univerjs/core/facade','loadSheet','Module','1664226qOmYPS','pipe','subscribe','_snapshotService','getUniverSheet','loadSheetAsync','loadServerUnit','switchMap','@univerjs-pro/collaboration-client','SnapshotService'];_0x4929=function(){return _0x2fc509;};return _0x4929();}Object[_0x12176f(0xea)](exports,Symbol['toStringTag'],{'value':_0x12176f(0x101)});const c=require(_0x12176f(0xdd)),l=require(_0x12176f(0xff)),v=require('@univerjs-pro/collaboration'),i=require('@univerjs/core'),b=require(_0x12176f(0xe3));var S=Object[_0x12176f(0xe2)],d=(_0x452d46,_0x341e54,_0x2c58db,_0x271291)=>{for(var _0x47f44c=_0x271291>0x1?void 0x0:_0x271291?S(_0x341e54,_0x2c58db):_0x341e54,_0x223b18=_0x452d46['length']-0x1,_0x119cfa;_0x223b18>=0x0;_0x223b18--)(_0x119cfa=_0x452d46[_0x223b18])&&(_0x47f44c=_0x119cfa(_0x47f44c)||_0x47f44c);return _0x47f44c;},s=(_0x176f66,_0x7cccb0)=>(_0x1a7afb,_0x5c3160)=>_0x7cccb0(_0x1a7afb,_0x5c3160,_0x176f66);exports['FCollaboration']=class extends l['FBase']{constructor(_0x28e288,_0x2a9136,_0x384810,_0x362f0c,_0x204f27){var _0x26dd21=_0x12176f;super(),this[_0x26dd21(0xf8)]=_0x28e288,this[_0x26dd21(0xe7)]=_0x2a9136,this[_0x26dd21(0xfe)]=_0x384810,this[_0x26dd21(0x105)]=_0x362f0c,this[_0x26dd21(0xf7)]=_0x204f27;}async['loadActiveSheet'](){var _0x288957=_0x12176f;return this[_0x288957(0xfc)]();}async[_0x12176f(0xfc)](){var _0x4ec4a7=_0x12176f;throw new Error(_0x4ec4a7(0xef));}async[_0x12176f(0x100)](_0xc26bf1){return this['loadSheetAsync'](_0xc26bf1);}async[_0x12176f(0xda)](_0x52be07,_0x2ddf35){var _0x1e665f=_0x12176f;return await this[_0x1e665f(0x105)][_0x1e665f(0x100)](_0x52be07,0x0,_0x2ddf35)?(await this['_collaborationController'][_0x1e665f(0xf9)](_0x52be07),this[_0x1e665f(0xf8)]['getUniverSheet'](_0x52be07)):null;}['subscribeCollaborators'](_0x1a4b37,_0x45392e){var _0x561df1=_0x12176f;const _0x2915e8=this[_0x561df1(0xe7)][_0x561df1(0xed)](c['MemberService'])['waitForRoom$'](_0x1a4b37)[_0x561df1(0x103)](b[_0x561df1(0xdc)](_0x52dcb8=>_0x52dcb8[_0x561df1(0xf0)]))[_0x561df1(0x104)](_0x42931a=>_0x45392e(Array['from'](_0x42931a[_0x561df1(0xdf)]())));return i['toDisposable'](_0x2915e8);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i['Injector'])),s(0x2,i[_0x12176f(0xf5)]),s(0x3,i[_0x12176f(0xeb)](v[_0x12176f(0xde)])),s(0x4,i['Inject'](c[_0x12176f(0xf3)]))],exports[_0x12176f(0xf6)]);class u extends l[_0x12176f(0xe9)]{[_0x12176f(0xf1)](){var _0x3c30ac=_0x12176f;return this[_0x3c30ac(0xe7)][_0x3c30ac(0xe0)](exports['FCollaboration'],{'getUniverSheet':_0x2c5ade=>this[_0x3c30ac(0x106)](_0x2c5ade)});}[_0x12176f(0xdb)](_0x583a9f,_0x48a005,_0x43da58){var _0x4183cc=_0x12176f;return this['_injector']['createInstance'](c[_0x4183cc(0xe6)])[_0x4183cc(0xf4)](_0x583a9f,_0x48a005,_0x43da58);}}l[_0x12176f(0xe9)]['extend'](u);
1
+ 'use strict';var _0x42a980=_0x1e31;(function(_0x24c38a,_0x4ebe16){var _0x1111a7=_0x1e31,_0x1e118c=_0x24c38a();while(!![]){try{var _0x4ec37b=parseInt(_0x1111a7(0x157))/0x1+-parseInt(_0x1111a7(0x14a))/0x2+parseInt(_0x1111a7(0x13e))/0x3+parseInt(_0x1111a7(0x13d))/0x4*(-parseInt(_0x1111a7(0x152))/0x5)+parseInt(_0x1111a7(0x144))/0x6+parseInt(_0x1111a7(0x13c))/0x7+parseInt(_0x1111a7(0x151))/0x8;if(_0x4ec37b===_0x4ebe16)break;else _0x1e118c['push'](_0x1e118c['shift']());}catch(_0x22646c){_0x1e118c['push'](_0x1e118c['shift']());}}}(_0x3e20,0xcbe35));Object[_0x42a980(0x138)](exports,Symbol[_0x42a980(0x146)],{'value':_0x42a980(0x145)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x42a980(0x14c)),v=require(_0x42a980(0x15e)),i=require('@univerjs/core'),b=require(_0x42a980(0x154));var S=Object[_0x42a980(0x158)],d=(_0x78335e,_0x125cbd,_0x2f13c1,_0x256f09)=>{var _0x452ed4=_0x42a980;for(var _0x16fcd8=_0x256f09>0x1?void 0x0:_0x256f09?S(_0x125cbd,_0x2f13c1):_0x125cbd,_0x2d7f3c=_0x78335e[_0x452ed4(0x14f)]-0x1,_0x4a678f;_0x2d7f3c>=0x0;_0x2d7f3c--)(_0x4a678f=_0x78335e[_0x2d7f3c])&&(_0x16fcd8=_0x4a678f(_0x16fcd8)||_0x16fcd8);return _0x16fcd8;},s=(_0x3bca78,_0x3c8d0)=>(_0x4b1146,_0x4e2d12)=>_0x3c8d0(_0x4b1146,_0x4e2d12,_0x3bca78);function _0x1e31(_0x4245a5,_0x25eb84){var _0x3e2089=_0x3e20();return _0x1e31=function(_0x1e3174,_0x5ac8b5){_0x1e3174=_0x1e3174-0x138;var _0x23f1f3=_0x3e2089[_0x1e3174];return _0x23f1f3;},_0x1e31(_0x4245a5,_0x25eb84);}function _0x3e20(){var _0x7edc8b=['length','FUniver','4089776TMJFdN','15tPqKPb','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','rxjs','extend','_snapshotService','633599noUxPH','getOwnPropertyDescriptor','FCollaboration','Injector','CollaborationController','get','switchMap','@univerjs-pro/collaboration','_injector','loadActiveSheetAsync','loadUnit','loadServerUnit','loadSheet','_collaborationController','defineProperty','createInstance','SnapshotService','pipe','664797MtChCU','1725836DfhTFL','2640810htUtPi','members$','waitForRoom$','_univerInstanceService','Inject','DataLoaderService','5505618MUDXqf','Module','toStringTag','IUniverInstanceService','subscribe','getUniverSheet','1816326HOjULM','loadSheetAsync','@univerjs/core/facade','subscribeCollaborators','readyForCollab'];_0x3e20=function(){return _0x7edc8b;};return _0x3e20();}exports[_0x42a980(0x159)]=class extends l['FBase']{constructor(_0x144d61,_0x2f8ec0,_0x287a82,_0x4481af,_0x23898f){var _0x5ccab8=_0x42a980;super(),this['_handler']=_0x144d61,this[_0x5ccab8(0x15f)]=_0x2f8ec0,this[_0x5ccab8(0x141)]=_0x287a82,this[_0x5ccab8(0x156)]=_0x4481af,this['_collaborationController']=_0x23898f;}async['loadActiveSheet'](){var _0x2209cd=_0x42a980;return this[_0x2209cd(0x160)]();}async['loadActiveSheetAsync'](){var _0x5910a2=_0x42a980;throw new Error(_0x5910a2(0x153));}async['loadSheet'](_0x35ff01){var _0x5648fa=_0x42a980;return this[_0x5648fa(0x14b)](_0x35ff01);}async['loadSheetAsync'](_0x5268cb,_0x5b44ed){var _0xdf1fd4=_0x42a980;return await this[_0xdf1fd4(0x156)][_0xdf1fd4(0x163)](_0x5268cb,0x0,_0x5b44ed)?(await this[_0xdf1fd4(0x164)][_0xdf1fd4(0x14e)](_0x5268cb),this['_handler'][_0xdf1fd4(0x149)](_0x5268cb)):null;}[_0x42a980(0x14d)](_0x1c1079,_0x7b8035){var _0x1aa89d=_0x42a980;const _0x2abb23=this[_0x1aa89d(0x15f)][_0x1aa89d(0x15c)](c['MemberService'])[_0x1aa89d(0x140)](_0x1c1079)[_0x1aa89d(0x13b)](b[_0x1aa89d(0x15d)](_0x2d3039=>_0x2d3039[_0x1aa89d(0x13f)]))[_0x1aa89d(0x148)](_0x4e043c=>_0x7b8035(Array['from'](_0x4e043c['values']())));return i['toDisposable'](_0x2abb23);}},exports[_0x42a980(0x159)]=d([s(0x1,i[_0x42a980(0x142)](i[_0x42a980(0x15a)])),s(0x2,i[_0x42a980(0x147)]),s(0x3,i[_0x42a980(0x142)](v[_0x42a980(0x13a)])),s(0x4,i[_0x42a980(0x142)](c[_0x42a980(0x15b)]))],exports[_0x42a980(0x159)]);class u extends l[_0x42a980(0x150)]{['getCollaboration'](){var _0x4598ff=_0x42a980;return this['_injector']['createInstance'](exports[_0x4598ff(0x159)],{'getUniverSheet':_0x5eb903=>this[_0x4598ff(0x149)](_0x5eb903)});}[_0x42a980(0x162)](_0x5c33c2,_0x46d9e,_0x26ec90){var _0x4e03c8=_0x42a980;return this[_0x4e03c8(0x15f)][_0x4e03c8(0x139)](c[_0x4e03c8(0x143)])[_0x4e03c8(0x161)](_0x5c33c2,_0x46d9e,_0x26ec90);}}l[_0x42a980(0x150)][_0x42a980(0x155)](u);