@univerjs-pro/collaboration-client 0.7.0-nightly.202505121607 → 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 _0x2ad191=_0x12ff;function _0x3f42(){var _0x47a7d3=['pipe','getCollaboration','128328XVKKRk','loadUnit','MemberService','Module','970aBtUHv','CollaborationController','16500dREMGf','Inject','FBase','FUniver','getUniverSheet','IUniverInstanceService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','409797QLCkWX','SnapshotService','6cPoFgK','createInstance','loadSheetAsync','461123fmfrXa','toStringTag','_handler','1110654penRVt','192HPXAvy','loadServerUnit','subscribeCollaborators','members$','subscribe','_snapshotService','@univerjs/core/facade','FCollaboration','_univerInstanceService','Injector','_injector','values','@univerjs-pro/collaboration-client','9154670qWMeJr','_collaborationController','35ljFUrZ','getOwnPropertyDescriptor','defineProperty','length','loadActiveSheet','899739zRSKkY','loadActiveSheetAsync','switchMap','readyForCollab','from'];_0x3f42=function(){return _0x47a7d3;};return _0x3f42();}(function(_0x4c9236,_0x230e1f){var _0x35834e=_0x12ff,_0x2086fe=_0x4c9236();while(!![]){try{var _0x44f168=parseInt(_0x35834e(0x102))/0x1*(-parseInt(_0x35834e(0xff))/0x2)+parseInt(_0x35834e(0xe8))/0x3+-parseInt(_0x35834e(0xef))/0x4*(parseInt(_0x35834e(0xe3))/0x5)+-parseInt(_0x35834e(0x105))/0x6+parseInt(_0x35834e(0xe1))/0x7+-parseInt(_0x35834e(0x106))/0x8*(-parseInt(_0x35834e(0xfd))/0x9)+-parseInt(_0x35834e(0xf3))/0xa*(parseInt(_0x35834e(0xf5))/0xb);if(_0x44f168===_0x230e1f)break;else _0x2086fe['push'](_0x2086fe['shift']());}catch(_0x269e0e){_0x2086fe['push'](_0x2086fe['shift']());}}}(_0x3f42,0xba06b));Object[_0x2ad191(0xe5)](exports,Symbol[_0x2ad191(0x103)],{'value':_0x2ad191(0xf2)});function _0x12ff(_0x11ae2a,_0x145fd1){var _0x3f42a4=_0x3f42();return _0x12ff=function(_0x12ffc0,_0x23c656){_0x12ffc0=_0x12ffc0-0xe0;var _0x34e194=_0x3f42a4[_0x12ffc0];return _0x34e194;},_0x12ff(_0x11ae2a,_0x145fd1);}const c=require(_0x2ad191(0xe0)),l=require(_0x2ad191(0x10c)),v=require('@univerjs-pro/collaboration'),i=require('@univerjs/core'),b=require('rxjs');var S=Object[_0x2ad191(0xe4)],d=(_0x3b16b2,_0x3b3a79,_0x1e83d2,_0x509568)=>{var _0x41b962=_0x2ad191;for(var _0x2f14ee=_0x509568>0x1?void 0x0:_0x509568?S(_0x3b3a79,_0x1e83d2):_0x3b3a79,_0x58d2c7=_0x3b16b2[_0x41b962(0xe6)]-0x1,_0x58a226;_0x58d2c7>=0x0;_0x58d2c7--)(_0x58a226=_0x3b16b2[_0x58d2c7])&&(_0x2f14ee=_0x58a226(_0x2f14ee)||_0x2f14ee);return _0x2f14ee;},s=(_0x14c552,_0x4ae0cb)=>(_0x27ff22,_0x873115)=>_0x4ae0cb(_0x27ff22,_0x873115,_0x14c552);exports[_0x2ad191(0x10d)]=class extends l[_0x2ad191(0xf7)]{constructor(_0x192ac2,_0x3c624d,_0x59c576,_0x234448,_0x56f673){var _0x1acc56=_0x2ad191;super(),this['_handler']=_0x192ac2,this[_0x1acc56(0x110)]=_0x3c624d,this[_0x1acc56(0x10e)]=_0x59c576,this[_0x1acc56(0x10b)]=_0x234448,this['_collaborationController']=_0x56f673;}async[_0x2ad191(0xe7)](){var _0x1cc4df=_0x2ad191;return this[_0x1cc4df(0xe9)]();}async[_0x2ad191(0xe9)](){var _0x9f76fe=_0x2ad191;throw new Error(_0x9f76fe(0xfb));}async['loadSheet'](_0x1b1b9e){var _0x5d68fc=_0x2ad191;return this[_0x5d68fc(0x101)](_0x1b1b9e);}async['loadSheetAsync'](_0x2ec2b2,_0x1222dc){var _0x5d1573=_0x2ad191;return await this[_0x5d1573(0x10b)]['loadSheet'](_0x2ec2b2,0x0,_0x1222dc)?(await this[_0x5d1573(0xe2)][_0x5d1573(0xeb)](_0x2ec2b2),this[_0x5d1573(0x104)][_0x5d1573(0xf9)](_0x2ec2b2)):null;}[_0x2ad191(0x108)](_0x321839,_0x208b98){var _0x534e19=_0x2ad191;const _0x1d6471=this['_injector']['get'](c[_0x534e19(0xf1)])['waitForRoom$'](_0x321839)[_0x534e19(0xed)](b[_0x534e19(0xea)](_0x29a2f4=>_0x29a2f4[_0x534e19(0x109)]))[_0x534e19(0x10a)](_0x149e97=>_0x208b98(Array[_0x534e19(0xec)](_0x149e97[_0x534e19(0x111)]())));return i['toDisposable'](_0x1d6471);}},exports[_0x2ad191(0x10d)]=d([s(0x1,i[_0x2ad191(0xf6)](i[_0x2ad191(0x10f)])),s(0x2,i[_0x2ad191(0xfa)]),s(0x3,i[_0x2ad191(0xf6)](v[_0x2ad191(0xfe)])),s(0x4,i['Inject'](c[_0x2ad191(0xf4)]))],exports[_0x2ad191(0x10d)]);class u extends l[_0x2ad191(0xf8)]{[_0x2ad191(0xee)](){var _0x59e1d5=_0x2ad191;return this[_0x59e1d5(0x110)][_0x59e1d5(0x100)](exports[_0x59e1d5(0x10d)],{'getUniverSheet':_0x335c2a=>this[_0x59e1d5(0xf9)](_0x335c2a)});}[_0x2ad191(0x107)](_0x28cb0a,_0x5efd48,_0x410de5){var _0x53f1a1=_0x2ad191;return this[_0x53f1a1(0x110)][_0x53f1a1(0x100)](c['DataLoaderService'])[_0x53f1a1(0xf0)](_0x28cb0a,_0x5efd48,_0x410de5);}}l[_0x2ad191(0xf8)][_0x2ad191(0xfc)](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);