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

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 _0x51c909=_0xa673;(function(_0x243cc4,_0x2b81e0){var _0x26e7cf=_0xa673,_0x128289=_0x243cc4();while(!![]){try{var _0x33135c=parseInt(_0x26e7cf(0x174))/0x1+-parseInt(_0x26e7cf(0x188))/0x2+parseInt(_0x26e7cf(0x172))/0x3*(parseInt(_0x26e7cf(0x18a))/0x4)+-parseInt(_0x26e7cf(0x180))/0x5+-parseInt(_0x26e7cf(0x17c))/0x6+parseInt(_0x26e7cf(0x19a))/0x7+parseInt(_0x26e7cf(0x194))/0x8;if(_0x33135c===_0x2b81e0)break;else _0x128289['push'](_0x128289['shift']());}catch(_0x14de0c){_0x128289['push'](_0x128289['shift']());}}}(_0x126c,0x79f4b));function _0x126c(){var _0x71e9f1=['subscribe','53460DxmMXU','loadServerUnit','getUniverSheet','waitForRoom$','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getCollaboration','Injector','get','@univerjs-pro/collaboration','8981032egjzPf','toDisposable','FCollaboration','FUniver','loadSheetAsync','loadSheet','4416496iwhIkf','_injector','Inject','@univerjs/core/facade','CollaborationController','@univerjs-pro/collaboration-client','27jPoSSc','switchMap','766035TOYqkm','from','values','loadActiveSheetAsync','readyForCollab','subscribeCollaborators','MemberService','toStringTag','5482980BTilwK','defineProperty','rxjs','_univerInstanceService','2611395OQhQeM','SnapshotService','createInstance','IUniverInstanceService','_collaborationController','loadActiveSheet','DataLoaderService','getOwnPropertyDescriptor','1408474OsoknF'];_0x126c=function(){return _0x71e9f1;};return _0x126c();}function _0xa673(_0xebd5ac,_0x22c537){var _0x126cc8=_0x126c();return _0xa673=function(_0xa67362,_0x41af21){_0xa67362=_0xa67362-0x172;var _0x2cbf23=_0x126cc8[_0xa67362];return _0x2cbf23;},_0xa673(_0xebd5ac,_0x22c537);}Object[_0x51c909(0x17d)](exports,Symbol[_0x51c909(0x17b)],{'value':'Module'});const c=require(_0x51c909(0x19f)),l=require(_0x51c909(0x19d)),v=require(_0x51c909(0x193)),i=require('@univerjs/core'),b=require(_0x51c909(0x17e));var S=Object[_0x51c909(0x187)],d=(_0x2ac57c,_0x4117ef,_0x1223a8,_0x455b68)=>{for(var _0x565f01=_0x455b68>0x1?void 0x0:_0x455b68?S(_0x4117ef,_0x1223a8):_0x4117ef,_0x45746c=_0x2ac57c['length']-0x1,_0x52a109;_0x45746c>=0x0;_0x45746c--)(_0x52a109=_0x2ac57c[_0x45746c])&&(_0x565f01=_0x52a109(_0x565f01)||_0x565f01);return _0x565f01;},s=(_0x361c8c,_0x36a032)=>(_0x12259b,_0x141c28)=>_0x36a032(_0x12259b,_0x141c28,_0x361c8c);exports[_0x51c909(0x196)]=class extends l['FBase']{constructor(_0x3b174d,_0x4f81ec,_0x51d121,_0x47e001,_0x4bfb26){var _0x3e2525=_0x51c909;super(),this['_handler']=_0x3b174d,this[_0x3e2525(0x19b)]=_0x4f81ec,this[_0x3e2525(0x17f)]=_0x51d121,this[_0x3e2525(0x18e)]=_0x47e001,this[_0x3e2525(0x184)]=_0x4bfb26;}async[_0x51c909(0x185)](){var _0x5191f9=_0x51c909;return this[_0x5191f9(0x177)]();}async[_0x51c909(0x177)](){var _0x26af80=_0x51c909;throw new Error(_0x26af80(0x18f));}async[_0x51c909(0x199)](_0x2805c8){return this['loadSheetAsync'](_0x2805c8);}async[_0x51c909(0x198)](_0x4e151e,_0x12a7a0){var _0x415318=_0x51c909;return await this[_0x415318(0x18e)][_0x415318(0x199)](_0x4e151e,0x0,_0x12a7a0)?(await this[_0x415318(0x184)][_0x415318(0x178)](_0x4e151e),this['_handler'][_0x415318(0x18c)](_0x4e151e)):null;}[_0x51c909(0x179)](_0x35dc17,_0xaf868c){var _0x49d21e=_0x51c909;const _0x3d8360=this['_injector'][_0x49d21e(0x192)](c[_0x49d21e(0x17a)])[_0x49d21e(0x18d)](_0x35dc17)['pipe'](b[_0x49d21e(0x173)](_0x153884=>_0x153884['members$']))[_0x49d21e(0x189)](_0x383f76=>_0xaf868c(Array[_0x49d21e(0x175)](_0x383f76[_0x49d21e(0x176)]())));return i[_0x49d21e(0x195)](_0x3d8360);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0x51c909(0x191)])),s(0x2,i[_0x51c909(0x183)]),s(0x3,i[_0x51c909(0x19c)](v[_0x51c909(0x181)])),s(0x4,i[_0x51c909(0x19c)](c[_0x51c909(0x19e)]))],exports['FCollaboration']);class u extends l[_0x51c909(0x197)]{[_0x51c909(0x190)](){var _0x48fb1d=_0x51c909;return this[_0x48fb1d(0x19b)]['createInstance'](exports[_0x48fb1d(0x196)],{'getUniverSheet':_0x92a31a=>this[_0x48fb1d(0x18c)](_0x92a31a)});}[_0x51c909(0x18b)](_0x1f3b02,_0x3a8dd3,_0x41b19d){var _0xaa8a42=_0x51c909;return this[_0xaa8a42(0x19b)][_0xaa8a42(0x182)](c[_0xaa8a42(0x186)])['loadUnit'](_0x1f3b02,_0x3a8dd3,_0x41b19d);}}l[_0x51c909(0x197)]['extend'](u);