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

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 _0x4c8390=_0x5098;function _0x425e(){var _0x25023a=['from','336570izIXfe','_univerInstanceService','FBase','loadActiveSheet','get','Injector','303980XkOuEo','3EZiwkJ','@univerjs/core/facade','596393lhKAkk','loadSheetAsync','@univerjs-pro/collaboration-client','_snapshotService','@univerjs/core','loadActiveSheetAsync','SnapshotService','2317100fCkotG','MemberService','IUniverInstanceService','subscribe','getUniverSheet','readyForCollab','extend','switchMap','createInstance','25726nOnDRQ','FCollaboration','6376941ywlibQ','Module','loadUnit','members$','_handler','_collaborationController','subscribeCollaborators','54RvpKkn','32TQSrMh','Inject','waitForRoom$','rxjs','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','473lufLDD','getCollaboration','FUniver','1431476tLypWw','CollaborationController','values','getOwnPropertyDescriptor','loadSheet'];_0x425e=function(){return _0x25023a;};return _0x425e();}(function(_0x114ea1,_0x24dade){var _0x164963=_0x5098,_0x193497=_0x114ea1();while(!![]){try{var _0x439820=-parseInt(_0x164963(0x100))/0x1+parseInt(_0x164963(0x113))/0x2*(-parseInt(_0x164963(0xee))/0x3)+parseInt(_0x164963(0xf7))/0x4+-parseInt(_0x164963(0xed))/0x5*(parseInt(_0x164963(0x109))/0x6)+-parseInt(_0x164963(0xf0))/0x7*(-parseInt(_0x164963(0x10a))/0x8)+-parseInt(_0x164963(0x102))/0x9+-parseInt(_0x164963(0xe7))/0xa*(-parseInt(_0x164963(0x110))/0xb);if(_0x439820===_0x24dade)break;else _0x193497['push'](_0x193497['shift']());}catch(_0x11cd6c){_0x193497['push'](_0x193497['shift']());}}}(_0x425e,0x5a5e1));function _0x5098(_0x169609,_0x58734e){var _0x425e1a=_0x425e();return _0x5098=function(_0x5098d6,_0x2f7892){_0x5098d6=_0x5098d6-0xe3;var _0x2c9e3c=_0x425e1a[_0x5098d6];return _0x2c9e3c;},_0x5098(_0x169609,_0x58734e);}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x4c8390(0x103)});const c=require(_0x4c8390(0xf2)),l=require(_0x4c8390(0xef)),v=require('@univerjs-pro/collaboration'),i=require(_0x4c8390(0xf4)),b=require(_0x4c8390(0x10d));var S=Object[_0x4c8390(0xe4)],d=(_0x21a863,_0x58ed00,_0x1e5e66,_0x4abf15)=>{for(var _0x46294e=_0x4abf15>0x1?void 0x0:_0x4abf15?S(_0x58ed00,_0x1e5e66):_0x58ed00,_0xdb7be5=_0x21a863['length']-0x1,_0x3c8f40;_0xdb7be5>=0x0;_0xdb7be5--)(_0x3c8f40=_0x21a863[_0xdb7be5])&&(_0x46294e=_0x3c8f40(_0x46294e)||_0x46294e);return _0x46294e;},s=(_0x1c1ecf,_0x141999)=>(_0x706ce0,_0x5bff65)=>_0x141999(_0x706ce0,_0x5bff65,_0x1c1ecf);exports[_0x4c8390(0x101)]=class extends l[_0x4c8390(0xe9)]{constructor(_0xe8d3b5,_0x3d8922,_0x208b4f,_0x9b767,_0x14144b){var _0x2f458c=_0x4c8390;super(),this[_0x2f458c(0x106)]=_0xe8d3b5,this[_0x2f458c(0x10e)]=_0x3d8922,this[_0x2f458c(0xe8)]=_0x208b4f,this[_0x2f458c(0xf3)]=_0x9b767,this[_0x2f458c(0x107)]=_0x14144b;}async[_0x4c8390(0xea)](){return this['loadActiveSheetAsync']();}async[_0x4c8390(0xf5)](){var _0x22c9bf=_0x4c8390;throw new Error(_0x22c9bf(0x10f));}async[_0x4c8390(0xe5)](_0x4b1e3f){return this['loadSheetAsync'](_0x4b1e3f);}async[_0x4c8390(0xf1)](_0xaa5ded,_0x51fd44){var _0xccf43f=_0x4c8390;return await this['_snapshotService'][_0xccf43f(0xe5)](_0xaa5ded,0x0,_0x51fd44)?(await this[_0xccf43f(0x107)][_0xccf43f(0xfc)](_0xaa5ded),this[_0xccf43f(0x106)][_0xccf43f(0xfb)](_0xaa5ded)):null;}[_0x4c8390(0x108)](_0x5aa0bc,_0x29be17){var _0x49472a=_0x4c8390;const _0x171d5b=this['_injector'][_0x49472a(0xeb)](c[_0x49472a(0xf8)])[_0x49472a(0x10c)](_0x5aa0bc)['pipe'](b[_0x49472a(0xfe)](_0x249c2b=>_0x249c2b[_0x49472a(0x105)]))[_0x49472a(0xfa)](_0x3f2511=>_0x29be17(Array[_0x49472a(0xe6)](_0x3f2511[_0x49472a(0xe3)]())));return i['toDisposable'](_0x171d5b);}},exports[_0x4c8390(0x101)]=d([s(0x1,i[_0x4c8390(0x10b)](i[_0x4c8390(0xec)])),s(0x2,i[_0x4c8390(0xf9)]),s(0x3,i[_0x4c8390(0x10b)](v[_0x4c8390(0xf6)])),s(0x4,i[_0x4c8390(0x10b)](c[_0x4c8390(0x114)]))],exports[_0x4c8390(0x101)]);class u extends l[_0x4c8390(0x112)]{[_0x4c8390(0x111)](){var _0x166035=_0x4c8390;return this[_0x166035(0x10e)][_0x166035(0xff)](exports[_0x166035(0x101)],{'getUniverSheet':_0x555632=>this['getUniverSheet'](_0x555632)});}['loadServerUnit'](_0x40ff55,_0x25fea7,_0x301bca){var _0x4bfa3e=_0x4c8390;return this['_injector']['createInstance'](c['DataLoaderService'])[_0x4bfa3e(0x104)](_0x40ff55,_0x25fea7,_0x301bca);}}l[_0x4c8390(0x112)][_0x4c8390(0xfd)](u);