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

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 _0x3583b6=_0x3d7e;(function(_0x14886d,_0x48d58e){var _0x5baa65=_0x3d7e,_0xde77ac=_0x14886d();while(!![]){try{var _0x565a39=-parseInt(_0x5baa65(0xfb))/0x1*(parseInt(_0x5baa65(0x10e))/0x2)+parseInt(_0x5baa65(0xfc))/0x3+-parseInt(_0x5baa65(0xf5))/0x4*(-parseInt(_0x5baa65(0x101))/0x5)+-parseInt(_0x5baa65(0xff))/0x6+-parseInt(_0x5baa65(0x105))/0x7+parseInt(_0x5baa65(0xf2))/0x8*(-parseInt(_0x5baa65(0x103))/0x9)+parseInt(_0x5baa65(0x110))/0xa;if(_0x565a39===_0x48d58e)break;else _0xde77ac['push'](_0xde77ac['shift']());}catch(_0xb1a29e){_0xde77ac['push'](_0xde77ac['shift']());}}}(_0x3b68,0xa0fb4));function _0x3b68(){var _0x5643a9=['@univerjs/core/facade','values','Module','_snapshotService','753520bXbVaC','rxjs','43588460tzztYj','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_collaborationController','waitForRoom$','loadSheet','@univerjs-pro/collaboration-client','subscribeCollaborators','loadServerUnit','members$','createInstance','IUniverInstanceService','readyForCollab','length','toStringTag','_injector','Inject','322896vqyVka','toDisposable','Injector','20ZmNCxe','@univerjs-pro/collaboration','getOwnPropertyDescriptor','FBase','loadSheetAsync','get','3qMIZMQ','151296sfOkIE','SnapshotService','getUniverSheet','6783732MlOaAB','FUniver','237025UMwKSA','defineProperty','288uvtZfk','FCollaboration','3041059EaGVdI','loadActiveSheetAsync','_univerInstanceService','DataLoaderService','_handler'];_0x3b68=function(){return _0x5643a9;};return _0x3b68();}Object[_0x3583b6(0x102)](exports,Symbol[_0x3583b6(0xef)],{'value':_0x3583b6(0x10c)});const c=require(_0x3583b6(0xe7)),l=require(_0x3583b6(0x10a)),v=require(_0x3583b6(0xf6)),i=require('@univerjs/core'),b=require(_0x3583b6(0x10f));var S=Object[_0x3583b6(0xf7)],d=(_0x38e292,_0x103aa4,_0xc6b2dc,_0x4a883d)=>{var _0x221510=_0x3583b6;for(var _0x2ebc48=_0x4a883d>0x1?void 0x0:_0x4a883d?S(_0x103aa4,_0xc6b2dc):_0x103aa4,_0x489d91=_0x38e292[_0x221510(0xee)]-0x1,_0x42872b;_0x489d91>=0x0;_0x489d91--)(_0x42872b=_0x38e292[_0x489d91])&&(_0x2ebc48=_0x42872b(_0x2ebc48)||_0x2ebc48);return _0x2ebc48;},s=(_0x4de812,_0x44e57d)=>(_0x301cee,_0x4c0073)=>_0x44e57d(_0x301cee,_0x4c0073,_0x4de812);exports['FCollaboration']=class extends l[_0x3583b6(0xf8)]{constructor(_0x1437d7,_0x56f5d7,_0x5172c2,_0x7b5b33,_0x5665ec){var _0x3838b7=_0x3583b6;super(),this['_handler']=_0x1437d7,this[_0x3838b7(0xf0)]=_0x56f5d7,this[_0x3838b7(0x107)]=_0x5172c2,this[_0x3838b7(0x10d)]=_0x7b5b33,this[_0x3838b7(0xe4)]=_0x5665ec;}async['loadActiveSheet'](){var _0x2bc455=_0x3583b6;return this[_0x2bc455(0x106)]();}async[_0x3583b6(0x106)](){var _0x4690bf=_0x3583b6;throw new Error(_0x4690bf(0xe3));}async['loadSheet'](_0xe532ae){var _0x542523=_0x3583b6;return this[_0x542523(0xf9)](_0xe532ae);}async[_0x3583b6(0xf9)](_0x28f9ee,_0x466f6b){var _0x4b4496=_0x3583b6;return await this['_snapshotService'][_0x4b4496(0xe6)](_0x28f9ee,0x0,_0x466f6b)?(await this[_0x4b4496(0xe4)][_0x4b4496(0xed)](_0x28f9ee),this[_0x4b4496(0x109)][_0x4b4496(0xfe)](_0x28f9ee)):null;}[_0x3583b6(0xe8)](_0x23bc88,_0x3d6881){var _0x9c61fe=_0x3583b6;const _0x41f2f0=this['_injector'][_0x9c61fe(0xfa)](c['MemberService'])[_0x9c61fe(0xe5)](_0x23bc88)['pipe'](b['switchMap'](_0x5a1969=>_0x5a1969[_0x9c61fe(0xea)]))['subscribe'](_0x2b04fa=>_0x3d6881(Array['from'](_0x2b04fa[_0x9c61fe(0x10b)]())));return i[_0x9c61fe(0xf3)](_0x41f2f0);}},exports[_0x3583b6(0x104)]=d([s(0x1,i[_0x3583b6(0xf1)](i[_0x3583b6(0xf4)])),s(0x2,i[_0x3583b6(0xec)]),s(0x3,i[_0x3583b6(0xf1)](v[_0x3583b6(0xfd)])),s(0x4,i[_0x3583b6(0xf1)](c['CollaborationController']))],exports[_0x3583b6(0x104)]);class u extends l[_0x3583b6(0x100)]{['getCollaboration'](){var _0x2f0800=_0x3583b6;return this[_0x2f0800(0xf0)][_0x2f0800(0xeb)](exports['FCollaboration'],{'getUniverSheet':_0x47aedd=>this[_0x2f0800(0xfe)](_0x47aedd)});}[_0x3583b6(0xe9)](_0xe2d092,_0x272a4f,_0x21dd1f){var _0x2fe2c9=_0x3583b6;return this[_0x2fe2c9(0xf0)][_0x2fe2c9(0xeb)](c[_0x2fe2c9(0x108)])['loadUnit'](_0xe2d092,_0x272a4f,_0x21dd1f);}}function _0x3d7e(_0x2f3521,_0x250272){var _0x3b688c=_0x3b68();return _0x3d7e=function(_0x3d7e0e,_0x5917ce){_0x3d7e0e=_0x3d7e0e-0xe3;var _0xf2e721=_0x3b688c[_0x3d7e0e];return _0xf2e721;},_0x3d7e(_0x2f3521,_0x250272);}l['FUniver']['extend'](u);
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);