@univerjs-pro/collaboration-client 0.7.0-nightly.202505151607 → 0.7.0-nightly.202505161607

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 _0x268d0e=_0x43cf;(function(_0xfcbe90,_0x9e7bb2){var _0x3c4cbe=_0x43cf,_0x831078=_0xfcbe90();while(!![]){try{var _0x4a3c48=-parseInt(_0x3c4cbe(0x1e1))/0x1+-parseInt(_0x3c4cbe(0x1eb))/0x2*(parseInt(_0x3c4cbe(0x1ea))/0x3)+parseInt(_0x3c4cbe(0x1e9))/0x4*(-parseInt(_0x3c4cbe(0x1e7))/0x5)+parseInt(_0x3c4cbe(0x201))/0x6+parseInt(_0x3c4cbe(0x1fb))/0x7+-parseInt(_0x3c4cbe(0x1f6))/0x8+parseInt(_0x3c4cbe(0x210))/0x9;if(_0x4a3c48===_0x9e7bb2)break;else _0x831078['push'](_0x831078['shift']());}catch(_0x2af058){_0x831078['push'](_0x831078['shift']());}}}(_0x1b8c,0x82245));function _0x1b8c(){var _0x1e7b3d=['getOwnPropertyDescriptor','loadSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1378776EUQqZy','CollaborationController','Inject','readyForCollab','loadActiveSheet','7112560AfmpRH','subscribe','get','loadActiveSheetAsync','defineProperty','loadSheetAsync','1856916APNBxm','members$','Module','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','_injector','createInstance','FCollaboration','_univerInstanceService','_handler','_collaborationController','_snapshotService','@univerjs/core/facade','from','loadServerUnit','10812051SAjjpF','MemberService','@univerjs/core','switchMap','819588oSZmjU','pipe','length','toStringTag','subscribeCollaborators','rxjs','36055ExxCeW','values','356fDHMTZ','540195tDqPqR','4DfAuvP','getCollaboration','getUniverSheet','toDisposable','DataLoaderService','loadUnit','Injector','IUniverInstanceService'];_0x1b8c=function(){return _0x1e7b3d;};return _0x1b8c();}Object[_0x268d0e(0x1ff)](exports,Symbol[_0x268d0e(0x1e4)],{'value':_0x268d0e(0x203)});const c=require(_0x268d0e(0x205)),l=require(_0x268d0e(0x20d)),v=require(_0x268d0e(0x204)),i=require(_0x268d0e(0x1df)),b=require(_0x268d0e(0x1e6));function _0x43cf(_0x51c9b0,_0x32d27b){var _0x1b8c90=_0x1b8c();return _0x43cf=function(_0x43cfc5,_0x1e101d){_0x43cfc5=_0x43cfc5-0x1de;var _0x53c8b6=_0x1b8c90[_0x43cfc5];return _0x53c8b6;},_0x43cf(_0x51c9b0,_0x32d27b);}var S=Object[_0x268d0e(0x1f3)],d=(_0x293fa0,_0x514e41,_0x4fcd97,_0x2c2a27)=>{var _0x3002e7=_0x268d0e;for(var _0x3584bb=_0x2c2a27>0x1?void 0x0:_0x2c2a27?S(_0x514e41,_0x4fcd97):_0x514e41,_0x5169f6=_0x293fa0[_0x3002e7(0x1e3)]-0x1,_0x112ac2;_0x5169f6>=0x0;_0x5169f6--)(_0x112ac2=_0x293fa0[_0x5169f6])&&(_0x3584bb=_0x112ac2(_0x3584bb)||_0x3584bb);return _0x3584bb;},s=(_0x2d3a44,_0x3315a3)=>(_0x3a7edc,_0x21e342)=>_0x3315a3(_0x3a7edc,_0x21e342,_0x2d3a44);exports[_0x268d0e(0x208)]=class extends l['FBase']{constructor(_0x3ae3f2,_0x3472b2,_0x57e302,_0x4a2597,_0x449518){var _0x206735=_0x268d0e;super(),this[_0x206735(0x20a)]=_0x3ae3f2,this[_0x206735(0x206)]=_0x3472b2,this[_0x206735(0x209)]=_0x57e302,this[_0x206735(0x20c)]=_0x4a2597,this[_0x206735(0x20b)]=_0x449518;}async[_0x268d0e(0x1fa)](){var _0x3a67ef=_0x268d0e;return this[_0x3a67ef(0x1fe)]();}async[_0x268d0e(0x1fe)](){var _0x3a6afb=_0x268d0e;throw new Error(_0x3a6afb(0x1f5));}async[_0x268d0e(0x1f4)](_0x54005a){var _0xd89a13=_0x268d0e;return this[_0xd89a13(0x200)](_0x54005a);}async[_0x268d0e(0x200)](_0x2fbcbe,_0x4979ee){var _0x9c767a=_0x268d0e;return await this[_0x9c767a(0x20c)][_0x9c767a(0x1f4)](_0x2fbcbe,0x0,_0x4979ee)?(await this[_0x9c767a(0x20b)][_0x9c767a(0x1f9)](_0x2fbcbe),this[_0x9c767a(0x20a)][_0x9c767a(0x1ed)](_0x2fbcbe)):null;}[_0x268d0e(0x1e5)](_0x4b13b8,_0x18138d){var _0x59f64c=_0x268d0e;const _0x336e82=this['_injector'][_0x59f64c(0x1fd)](c[_0x59f64c(0x1de)])['waitForRoom$'](_0x4b13b8)[_0x59f64c(0x1e2)](b[_0x59f64c(0x1e0)](_0x3a1550=>_0x3a1550[_0x59f64c(0x202)]))[_0x59f64c(0x1fc)](_0x2fb922=>_0x18138d(Array[_0x59f64c(0x20e)](_0x2fb922[_0x59f64c(0x1e8)]())));return i[_0x59f64c(0x1ee)](_0x336e82);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0x268d0e(0x1f1)])),s(0x2,i[_0x268d0e(0x1f2)]),s(0x3,i['Inject'](v['SnapshotService'])),s(0x4,i[_0x268d0e(0x1f8)](c[_0x268d0e(0x1f7)]))],exports[_0x268d0e(0x208)]);class u extends l['FUniver']{[_0x268d0e(0x1ec)](){var _0x5220b0=_0x268d0e;return this[_0x5220b0(0x206)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x47c294=>this['getUniverSheet'](_0x47c294)});}[_0x268d0e(0x20f)](_0x57de8c,_0x356c36,_0x4d9ea0){var _0x470bea=_0x268d0e;return this['_injector'][_0x470bea(0x207)](c[_0x470bea(0x1ef)])[_0x470bea(0x1f0)](_0x57de8c,_0x356c36,_0x4d9ea0);}}l['FUniver']['extend'](u);
1
+ 'use strict';function _0x5646(){var _0x1fb45e=['getOwnPropertyDescriptor','createInstance','DataLoaderService','switchMap','_handler','IUniverInstanceService','members$','136610ejKywo','subscribeCollaborators','toDisposable','@univerjs-pro/collaboration','values','subscribe','Inject','6936wYaWav','_snapshotService','loadSheet','1089162QnOULo','@univerjs/core','FCollaboration','extend','SnapshotService','getUniverSheet','Injector','length','_injector','loadServerUnit','1845016LCQwpo','84KwUTyQ','9WsEuGQ','366070RCTQMl','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','loadSheetAsync','441LsCvqu','200530XlbARa','loadUnit','pipe','get','79674eUazvz','defineProperty','getCollaboration','@univerjs/core/facade','_collaborationController','@univerjs-pro/collaboration-client','CollaborationController','FBase'];_0x5646=function(){return _0x1fb45e;};return _0x5646();}var _0xf6bfc9=_0x6415;(function(_0x2163a3,_0x1a3cef){var _0xb54a72=_0x6415,_0x3f8a9c=_0x2163a3();while(!![]){try{var _0x3987e0=parseInt(_0xb54a72(0x1c5))/0x1+-parseInt(_0xb54a72(0x1d4))/0x2*(-parseInt(_0xb54a72(0x1ba))/0x3)+parseInt(_0xb54a72(0x1b8))/0x4+-parseInt(_0xb54a72(0x1c1))/0x5*(parseInt(_0xb54a72(0x1b9))/0x6)+-parseInt(_0xb54a72(0x1c0))/0x7*(-parseInt(_0xb54a72(0x1ab))/0x8)+parseInt(_0xb54a72(0x1ae))/0x9+-parseInt(_0xb54a72(0x1bb))/0xa;if(_0x3987e0===_0x1a3cef)break;else _0x3f8a9c['push'](_0x3f8a9c['shift']());}catch(_0x5b4f8f){_0x3f8a9c['push'](_0x3f8a9c['shift']());}}}(_0x5646,0x4ef3f));Object[_0xf6bfc9(0x1c6)](exports,Symbol['toStringTag'],{'value':'Module'});const c=require(_0xf6bfc9(0x1ca)),l=require(_0xf6bfc9(0x1c8)),v=require(_0xf6bfc9(0x1a7)),i=require(_0xf6bfc9(0x1af)),b=require('rxjs');var S=Object[_0xf6bfc9(0x1cd)],d=(_0x540586,_0x50319a,_0x1ebf18,_0x2f985a)=>{var _0x4823c6=_0xf6bfc9;for(var _0x1f3515=_0x2f985a>0x1?void 0x0:_0x2f985a?S(_0x50319a,_0x1ebf18):_0x50319a,_0x253c5e=_0x540586[_0x4823c6(0x1b5)]-0x1,_0x1ae593;_0x253c5e>=0x0;_0x253c5e--)(_0x1ae593=_0x540586[_0x253c5e])&&(_0x1f3515=_0x1ae593(_0x1f3515)||_0x1f3515);return _0x1f3515;},s=(_0x675e2d,_0x1edc37)=>(_0x1b705c,_0x53950f)=>_0x1edc37(_0x1b705c,_0x53950f,_0x675e2d);function _0x6415(_0x2b4d05,_0x2e34ab){var _0x5646cb=_0x5646();return _0x6415=function(_0x6415e1,_0x3784a5){_0x6415e1=_0x6415e1-0x1a7;var _0x56e84c=_0x5646cb[_0x6415e1];return _0x56e84c;},_0x6415(_0x2b4d05,_0x2e34ab);}exports[_0xf6bfc9(0x1b0)]=class extends l[_0xf6bfc9(0x1cc)]{constructor(_0x49cff3,_0x409dc6,_0x10f7f1,_0x165f05,_0x35fd37){var _0x4eec61=_0xf6bfc9;super(),this[_0x4eec61(0x1d1)]=_0x49cff3,this[_0x4eec61(0x1b6)]=_0x409dc6,this['_univerInstanceService']=_0x10f7f1,this[_0x4eec61(0x1ac)]=_0x165f05,this[_0x4eec61(0x1c9)]=_0x35fd37;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x30de51=_0xf6bfc9;throw new Error(_0x30de51(0x1bd));}async[_0xf6bfc9(0x1ad)](_0x31c2ef){var _0x7ab339=_0xf6bfc9;return this[_0x7ab339(0x1bf)](_0x31c2ef);}async[_0xf6bfc9(0x1bf)](_0x5e4c4d,_0x15d559){var _0x250dbe=_0xf6bfc9;return await this[_0x250dbe(0x1ac)][_0x250dbe(0x1ad)](_0x5e4c4d,0x0,_0x15d559)?(await this[_0x250dbe(0x1c9)]['readyForCollab'](_0x5e4c4d),this[_0x250dbe(0x1d1)][_0x250dbe(0x1b3)](_0x5e4c4d)):null;}[_0xf6bfc9(0x1d5)](_0xc9431d,_0x316fec){var _0x47c9e5=_0xf6bfc9;const _0x43db30=this[_0x47c9e5(0x1b6)][_0x47c9e5(0x1c4)](c[_0x47c9e5(0x1bc)])['waitForRoom$'](_0xc9431d)[_0x47c9e5(0x1c3)](b[_0x47c9e5(0x1d0)](_0x2c8113=>_0x2c8113[_0x47c9e5(0x1d3)]))[_0x47c9e5(0x1a9)](_0x291a6a=>_0x316fec(Array['from'](_0x291a6a[_0x47c9e5(0x1a8)]())));return i[_0x47c9e5(0x1d6)](_0x43db30);}},exports[_0xf6bfc9(0x1b0)]=d([s(0x1,i[_0xf6bfc9(0x1aa)](i[_0xf6bfc9(0x1b4)])),s(0x2,i[_0xf6bfc9(0x1d2)]),s(0x3,i[_0xf6bfc9(0x1aa)](v[_0xf6bfc9(0x1b2)])),s(0x4,i[_0xf6bfc9(0x1aa)](c[_0xf6bfc9(0x1cb)]))],exports['FCollaboration']);class u extends l[_0xf6bfc9(0x1be)]{[_0xf6bfc9(0x1c7)](){var _0x257f29=_0xf6bfc9;return this[_0x257f29(0x1b6)][_0x257f29(0x1ce)](exports[_0x257f29(0x1b0)],{'getUniverSheet':_0x21d276=>this[_0x257f29(0x1b3)](_0x21d276)});}[_0xf6bfc9(0x1b7)](_0x378a96,_0xcafe3,_0x5aa8c5){var _0x5bd133=_0xf6bfc9;return this[_0x5bd133(0x1b6)][_0x5bd133(0x1ce)](c[_0x5bd133(0x1cf)])[_0x5bd133(0x1c2)](_0x378a96,_0xcafe3,_0x5aa8c5);}}l[_0xf6bfc9(0x1be)][_0xf6bfc9(0x1b1)](u);