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

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';function _0x402d(){var _0x3196b2=['FBase','Injector','loadActiveSheetAsync','_snapshotService','defineProperty','3082308MCDRKY','114dHtCWN','DataLoaderService','length','FUniver','1023ZcfHgT','loadActiveSheet','Inject','SnapshotService','IUniverInstanceService','subscribe','loadServerUnit','4fwrCim','26Bogtpb','switchMap','37910cUueUk','loadSheetAsync','toStringTag','FCollaboration','pipe','_univerInstanceService','getCollaboration','138985SglaRe','_injector','readyForCollab','subscribeCollaborators','2340635znvXky','loadSheet','@univerjs/core/facade','32KdzEHg','_collaborationController','1311HzdImI','30UPyvWQ','1745775EcWdhs','createInstance','members$','waitForRoom$','@univerjs-pro/collaboration','@univerjs/core','values','Module','_handler','getUniverSheet','loadUnit','132321sHOifm','get'];_0x402d=function(){return _0x3196b2;};return _0x402d();}var _0x425f2f=_0x305c;(function(_0xaad1c3,_0x23a6be){var _0x30f24a=_0x305c,_0x28abb3=_0xaad1c3();while(!![]){try{var _0x43f473=parseInt(_0x30f24a(0x1b8))/0x1+-parseInt(_0x30f24a(0x1d6))/0x2*(parseInt(_0x30f24a(0x1c1))/0x3)+parseInt(_0x30f24a(0x1ae))/0x4*(-parseInt(_0x30f24a(0x1bc))/0x5)+parseInt(_0x30f24a(0x1c2))/0x6*(-parseInt(_0x30f24a(0x1ce))/0x7)+-parseInt(_0x30f24a(0x1bf))/0x8*(-parseInt(_0x30f24a(0x1c3))/0x9)+-parseInt(_0x30f24a(0x1b1))/0xa*(parseInt(_0x30f24a(0x1da))/0xb)+parseInt(_0x30f24a(0x1d5))/0xc*(parseInt(_0x30f24a(0x1af))/0xd);if(_0x43f473===_0x23a6be)break;else _0x28abb3['push'](_0x28abb3['shift']());}catch(_0xe67322){_0x28abb3['push'](_0x28abb3['shift']());}}}(_0x402d,0x77429));Object[_0x425f2f(0x1d4)](exports,Symbol[_0x425f2f(0x1b3)],{'value':_0x425f2f(0x1ca)});function _0x305c(_0x3753a2,_0x104c7b){var _0x402da2=_0x402d();return _0x305c=function(_0x305ca0,_0x57ea97){_0x305ca0=_0x305ca0-0x1aa;var _0x149165=_0x402da2[_0x305ca0];return _0x149165;},_0x305c(_0x3753a2,_0x104c7b);}const c=require('@univerjs-pro/collaboration-client'),l=require(_0x425f2f(0x1be)),v=require(_0x425f2f(0x1c7)),i=require(_0x425f2f(0x1c8)),b=require('rxjs');var S=Object['getOwnPropertyDescriptor'],d=(_0x1c99f9,_0x1bffe7,_0x1529a8,_0x207c69)=>{var _0x128f23=_0x425f2f;for(var _0x48cdc4=_0x207c69>0x1?void 0x0:_0x207c69?S(_0x1bffe7,_0x1529a8):_0x1bffe7,_0xa18592=_0x1c99f9[_0x128f23(0x1d8)]-0x1,_0x46f45b;_0xa18592>=0x0;_0xa18592--)(_0x46f45b=_0x1c99f9[_0xa18592])&&(_0x48cdc4=_0x46f45b(_0x48cdc4)||_0x48cdc4);return _0x48cdc4;},s=(_0x3dc8d3,_0x4f63ff)=>(_0x26fbf2,_0x254b39)=>_0x4f63ff(_0x26fbf2,_0x254b39,_0x3dc8d3);exports[_0x425f2f(0x1b4)]=class extends l[_0x425f2f(0x1d0)]{constructor(_0x41f580,_0x3615a4,_0x57f964,_0x4818c7,_0x1a1da5){var _0x191817=_0x425f2f;super(),this['_handler']=_0x41f580,this[_0x191817(0x1b9)]=_0x3615a4,this[_0x191817(0x1b6)]=_0x57f964,this[_0x191817(0x1d3)]=_0x4818c7,this[_0x191817(0x1c0)]=_0x1a1da5;}async[_0x425f2f(0x1db)](){var _0xd30a8c=_0x425f2f;return this[_0xd30a8c(0x1d2)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x18a129){var _0x58fe2e=_0x425f2f;return this[_0x58fe2e(0x1b2)](_0x18a129);}async[_0x425f2f(0x1b2)](_0x240b08,_0x3aafa7){var _0x51fbc2=_0x425f2f;return await this[_0x51fbc2(0x1d3)][_0x51fbc2(0x1bd)](_0x240b08,0x0,_0x3aafa7)?(await this['_collaborationController'][_0x51fbc2(0x1ba)](_0x240b08),this[_0x51fbc2(0x1cb)]['getUniverSheet'](_0x240b08)):null;}[_0x425f2f(0x1bb)](_0x3bbc53,_0x2d48b8){var _0x26e7c4=_0x425f2f;const _0x5d7f14=this[_0x26e7c4(0x1b9)][_0x26e7c4(0x1cf)](c['MemberService'])[_0x26e7c4(0x1c6)](_0x3bbc53)[_0x26e7c4(0x1b5)](b[_0x26e7c4(0x1b0)](_0x1c0380=>_0x1c0380[_0x26e7c4(0x1c5)]))[_0x26e7c4(0x1ac)](_0x5e0278=>_0x2d48b8(Array['from'](_0x5e0278[_0x26e7c4(0x1c9)]())));return i['toDisposable'](_0x5d7f14);}},exports[_0x425f2f(0x1b4)]=d([s(0x1,i[_0x425f2f(0x1dc)](i[_0x425f2f(0x1d1)])),s(0x2,i[_0x425f2f(0x1ab)]),s(0x3,i['Inject'](v[_0x425f2f(0x1aa)])),s(0x4,i[_0x425f2f(0x1dc)](c['CollaborationController']))],exports[_0x425f2f(0x1b4)]);class u extends l[_0x425f2f(0x1d9)]{[_0x425f2f(0x1b7)](){var _0x4fba59=_0x425f2f;return this['_injector'][_0x4fba59(0x1c4)](exports['FCollaboration'],{'getUniverSheet':_0x4d5eeb=>this[_0x4fba59(0x1cc)](_0x4d5eeb)});}[_0x425f2f(0x1ad)](_0x495399,_0x352068,_0x389669){var _0x2c51f9=_0x425f2f;return this[_0x2c51f9(0x1b9)][_0x2c51f9(0x1c4)](c[_0x2c51f9(0x1d7)])[_0x2c51f9(0x1cd)](_0x495399,_0x352068,_0x389669);}}l[_0x425f2f(0x1d9)]['extend'](u);
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);