@univerjs-pro/collaboration-client 0.8.2-nightly.202506241607 → 0.8.2-nightly.202506261607

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 _0x3ba39d=_0x2e18;(function(_0x55558d,_0x311c24){var _0xab354c=_0x2e18,_0x4a9d38=_0x55558d();while(!![]){try{var _0xc28f36=-parseInt(_0xab354c(0x1c8))/0x1+-parseInt(_0xab354c(0x1b5))/0x2*(parseInt(_0xab354c(0x1a0))/0x3)+parseInt(_0xab354c(0x1cb))/0x4+-parseInt(_0xab354c(0x19b))/0x5*(-parseInt(_0xab354c(0x19f))/0x6)+parseInt(_0xab354c(0x1c3))/0x7+parseInt(_0xab354c(0x1ae))/0x8+-parseInt(_0xab354c(0x1c2))/0x9;if(_0xc28f36===_0x311c24)break;else _0x4a9d38['push'](_0x4a9d38['shift']());}catch(_0x36a7e2){_0x4a9d38['push'](_0x4a9d38['shift']());}}}(_0x1da8,0x40132));function _0x2e18(_0x7486a3,_0x2fbdaa){var _0x1da8e5=_0x1da8();return _0x2e18=function(_0x2e182a,_0x213c94){_0x2e182a=_0x2e182a-0x199;var _0x1e37d6=_0x1da8e5[_0x2e182a];return _0x1e37d6;},_0x2e18(_0x7486a3,_0x2fbdaa);}Object[_0x3ba39d(0x1b1)](exports,Symbol[_0x3ba39d(0x1be)],{'value':_0x3ba39d(0x19c)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x3ba39d(0x1cc)),h=require(_0x3ba39d(0x1a6)),n=require(_0x3ba39d(0x1a7)),b=require(_0x3ba39d(0x1c7));var d=Object[_0x3ba39d(0x1a4)],S=(_0x441077,_0x3db910,_0x1c554b,_0x4a4f3f)=>{var _0x590917=_0x3ba39d;for(var _0x40308d=_0x4a4f3f>0x1?void 0x0:_0x4a4f3f?d(_0x3db910,_0x1c554b):_0x3db910,_0x140f51=_0x441077[_0x590917(0x1c0)]-0x1,_0xb9e92a;_0x140f51>=0x0;_0x140f51--)(_0xb9e92a=_0x441077[_0x140f51])&&(_0x40308d=_0xb9e92a(_0x40308d)||_0x40308d);return _0x40308d;},s=(_0x2ec11d,_0x73d830)=>(_0x5895bd,_0x3a9478)=>_0x73d830(_0x5895bd,_0x3a9478,_0x2ec11d);exports[_0x3ba39d(0x1a9)]=class extends l[_0x3ba39d(0x1bc)]{constructor(_0x2c085d,_0x2abd7e,_0x1401a6,_0x484952,_0x38c508){var _0x1c3121=_0x3ba39d;super(),this[_0x1c3121(0x1c5)]=_0x2c085d,this[_0x1c3121(0x1b6)]=_0x2abd7e,this[_0x1c3121(0x1a2)]=_0x1401a6,this[_0x1c3121(0x1ab)]=_0x484952,this[_0x1c3121(0x1b3)]=_0x38c508;}async['loadActiveSheet'](){var _0x38924e=_0x3ba39d;return this[_0x38924e(0x199)]();}async[_0x3ba39d(0x199)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x6aa830){return this['loadSheetAsync'](_0x6aa830);}async[_0x3ba39d(0x1a8)](_0xd7b29,_0xef82b7){var _0x3927dc=_0x3ba39d;return await this['_snapshotService'][_0x3927dc(0x19a)](_0xd7b29,0x0,_0xef82b7)?(await this['_collaborationController'][_0x3927dc(0x1ac)](_0xd7b29),this[_0x3927dc(0x1c5)][_0x3927dc(0x19e)](_0xd7b29)):null;}[_0x3ba39d(0x1b2)](_0x244c36,_0x3d5f97){var _0x52ecb1=_0x3ba39d;const _0x1c35e8=this[_0x52ecb1(0x1b6)][_0x52ecb1(0x1a5)](c[_0x52ecb1(0x1b8)])[_0x52ecb1(0x1a1)](_0x244c36)[_0x52ecb1(0x1b7)](b['switchMap'](_0x55d74f=>_0x55d74f[_0x52ecb1(0x1bd)]))[_0x52ecb1(0x1c1)](_0x1f52e4=>_0x3d5f97(Array[_0x52ecb1(0x1b9)](_0x1f52e4[_0x52ecb1(0x1c6)]())));return n['toDisposable'](_0x1c35e8);}},exports[_0x3ba39d(0x1a9)]=S([s(0x1,n[_0x3ba39d(0x1ad)](n[_0x3ba39d(0x19d)])),s(0x2,n[_0x3ba39d(0x1af)]),s(0x3,n[_0x3ba39d(0x1ad)](h[_0x3ba39d(0x1c4)])),s(0x4,n['Inject'](c[_0x3ba39d(0x1bf)]))],exports[_0x3ba39d(0x1a9)]);class u extends l['FUniver']{['getCollaboration'](){var _0x208a4b=_0x3ba39d;return this[_0x208a4b(0x1b6)][_0x208a4b(0x1bb)](exports[_0x208a4b(0x1a9)],{'getUniverSheet':_0x4394cf=>this[_0x208a4b(0x19e)](_0x4394cf)});}[_0x3ba39d(0x1aa)](_0x123721,_0x39c980,_0x1e54f2){var _0x3b9a11=_0x3ba39d;return this['_injector'][_0x3b9a11(0x1a5)](c['DataLoaderService'])[_0x3b9a11(0x1c9)](_0x123721,_0x39c980,_0x1e54f2);}[_0x3ba39d(0x1b4)](_0x5a8822,_0x2062e7,_0x406554){var _0x533ec2=_0x3ba39d;return this[_0x533ec2(0x1b6)][_0x533ec2(0x1a5)](c[_0x533ec2(0x1ba)])[_0x533ec2(0x1a3)](_0x5a8822,_0x2062e7,_0x406554);}}function _0x1da8(){var _0x4e69c5=['subscribeCollaborators','_collaborationController','loadServerUnitOfRevision','14QUcCfz','_injector','pipe','MemberService','from','DataLoaderService','createInstance','FBase','members$','toStringTag','CollaborationController','length','subscribe','2637000YOMQKb','1653295eLDszY','SnapshotService','_handler','values','rxjs','288463rfpUzi','loadUnit','extend','2003244IreEwd','@univerjs/core/facade','loadActiveSheetAsync','loadSheet','40giWNph','Module','Injector','getUniverSheet','387276rHwRty','187563Qldrkz','waitForRoom$','_univerInstanceService','loadUnitOfRevision','getOwnPropertyDescriptor','get','@univerjs-pro/collaboration','@univerjs/core','loadSheetAsync','FCollaboration','loadServerUnit','_snapshotService','readyForCollab','Inject','225568SivOmg','IUniverInstanceService','FUniver','defineProperty'];_0x1da8=function(){return _0x4e69c5;};return _0x1da8();}l[_0x3ba39d(0x1b0)][_0x3ba39d(0x1ca)](u);
1
+ 'use strict';function _0xacd1(_0x3209f3,_0x2391c9){var _0x11661a=_0x1166();return _0xacd1=function(_0xacd196,_0x48f5b0){_0xacd196=_0xacd196-0xee;var _0xdf9bf7=_0x11661a[_0xacd196];return _0xdf9bf7;},_0xacd1(_0x3209f3,_0x2391c9);}var _0xeef9f3=_0xacd1;function _0x1166(){var _0x587f15=['subscribeCollaborators','loadUnit','get','defineProperty','subscribe','loadServerUnit','DataLoaderService','1hoPTbd','FUniver','readyForCollab','2132hmFmZj','6keAntI','12VMGOre','getUniverSheet','toStringTag','4315720wFmBqm','waitForRoom$','pipe','getOwnPropertyDescriptor','_injector','663694rwzkja','toDisposable','@univerjs/core/facade','createInstance','extend','loadSheetAsync','CollaborationController','_snapshotService','loadServerUnitOfRevision','loadActiveSheetAsync','FCollaboration','167216WOAyVQ','1042205CslBuC','_handler','SnapshotService','Inject','IUniverInstanceService','length','from','getCollaboration','_collaborationController','_univerInstanceService','@univerjs-pro/collaboration-client','7517301IRblmr','Injector','MemberService','1002573iYbSNV','1185gNeiup','119YgFTiY','switchMap','loadActiveSheet','@univerjs-pro/collaboration','@univerjs/core','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadUnitOfRevision','values','rxjs'];_0x1166=function(){return _0x587f15;};return _0x1166();}(function(_0x4b668d,_0x4e88f){var _0x598f03=_0xacd1,_0x20856e=_0x4b668d();while(!![]){try{var _0x487aea=parseInt(_0x598f03(0x109))/0x1*(parseInt(_0x598f03(0x116))/0x2)+parseInt(_0x598f03(0xf8))/0x3*(parseInt(_0x598f03(0x10c))/0x4)+-parseInt(_0x598f03(0x122))/0x5*(-parseInt(_0x598f03(0x10d))/0x6)+-parseInt(_0x598f03(0xf9))/0x7*(parseInt(_0x598f03(0x121))/0x8)+parseInt(_0x598f03(0xf7))/0x9+parseInt(_0x598f03(0x111))/0xa+-parseInt(_0x598f03(0xf4))/0xb*(parseInt(_0x598f03(0x10e))/0xc);if(_0x487aea===_0x4e88f)break;else _0x20856e['push'](_0x20856e['shift']());}catch(_0x381085){_0x20856e['push'](_0x20856e['shift']());}}}(_0x1166,0x3e45b));Object[_0xeef9f3(0x105)](exports,Symbol[_0xeef9f3(0x110)],{'value':'Module'});const c=require(_0xeef9f3(0xf3)),l=require(_0xeef9f3(0x118)),h=require(_0xeef9f3(0xfc)),n=require(_0xeef9f3(0xfd)),b=require(_0xeef9f3(0x101));var d=Object[_0xeef9f3(0x114)],S=(_0x412b73,_0x3ff2bc,_0x482f76,_0x2cc550)=>{var _0x291853=_0xeef9f3;for(var _0x15e3c1=_0x2cc550>0x1?void 0x0:_0x2cc550?d(_0x3ff2bc,_0x482f76):_0x3ff2bc,_0x3f29bd=_0x412b73[_0x291853(0xee)]-0x1,_0x5091f7;_0x3f29bd>=0x0;_0x3f29bd--)(_0x5091f7=_0x412b73[_0x3f29bd])&&(_0x15e3c1=_0x5091f7(_0x15e3c1)||_0x15e3c1);return _0x15e3c1;},s=(_0x34e5c1,_0x98b32b)=>(_0x186371,_0x4a99ed)=>_0x98b32b(_0x186371,_0x4a99ed,_0x34e5c1);exports[_0xeef9f3(0x120)]=class extends l['FBase']{constructor(_0x88e162,_0x1677c,_0x29bff4,_0x4cf83b,_0x5dbe33){var _0x15083e=_0xeef9f3;super(),this[_0x15083e(0x123)]=_0x88e162,this[_0x15083e(0x115)]=_0x1677c,this[_0x15083e(0xf2)]=_0x29bff4,this[_0x15083e(0x11d)]=_0x4cf83b,this['_collaborationController']=_0x5dbe33;}async[_0xeef9f3(0xfb)](){return this['loadActiveSheetAsync']();}async[_0xeef9f3(0x11f)](){var _0x494c5d=_0xeef9f3;throw new Error(_0x494c5d(0xfe));}async['loadSheet'](_0x2bee46){var _0x34ebca=_0xeef9f3;return this[_0x34ebca(0x11b)](_0x2bee46);}async['loadSheetAsync'](_0x17a6e0,_0x154212){var _0x1aca7c=_0xeef9f3;return await this['_snapshotService']['loadSheet'](_0x17a6e0,0x0,_0x154212)?(await this[_0x1aca7c(0xf1)][_0x1aca7c(0x10b)](_0x17a6e0),this[_0x1aca7c(0x123)][_0x1aca7c(0x10f)](_0x17a6e0)):null;}[_0xeef9f3(0x102)](_0x5c069c,_0x284a39){var _0x5d0133=_0xeef9f3;const _0x34045e=this['_injector'][_0x5d0133(0x104)](c[_0x5d0133(0xf6)])[_0x5d0133(0x112)](_0x5c069c)[_0x5d0133(0x113)](b[_0x5d0133(0xfa)](_0x3b069e=>_0x3b069e['members$']))[_0x5d0133(0x106)](_0x2561b5=>_0x284a39(Array[_0x5d0133(0xef)](_0x2561b5[_0x5d0133(0x100)]())));return n[_0x5d0133(0x117)](_0x34045e);}},exports[_0xeef9f3(0x120)]=S([s(0x1,n[_0xeef9f3(0x125)](n[_0xeef9f3(0xf5)])),s(0x2,n[_0xeef9f3(0x126)]),s(0x3,n[_0xeef9f3(0x125)](h[_0xeef9f3(0x124)])),s(0x4,n[_0xeef9f3(0x125)](c[_0xeef9f3(0x11c)]))],exports[_0xeef9f3(0x120)]);class u extends l[_0xeef9f3(0x10a)]{[_0xeef9f3(0xf0)](){var _0x2b3588=_0xeef9f3;return this[_0x2b3588(0x115)][_0x2b3588(0x119)](exports['FCollaboration'],{'getUniverSheet':_0x57e4bd=>this[_0x2b3588(0x10f)](_0x57e4bd)});}[_0xeef9f3(0x107)](_0x3fa71d,_0x494dcb,_0x30c6fe){var _0x2a9b4f=_0xeef9f3;return this['_injector']['get'](c['DataLoaderService'])[_0x2a9b4f(0x103)](_0x3fa71d,_0x494dcb,_0x30c6fe);}[_0xeef9f3(0x11e)](_0x5d9943,_0x2873b3,_0x1f1935){var _0x2ced6f=_0xeef9f3;return this[_0x2ced6f(0x115)]['get'](c[_0x2ced6f(0x108)])[_0x2ced6f(0xff)](_0x5d9943,_0x2873b3,_0x1f1935);}}l['FUniver'][_0xeef9f3(0x11a)](u);