@univerjs-pro/collaboration-client 0.8.2-nightly.202506251607 → 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 _0x469325=_0x327b;(function(_0x5766e6,_0x294602){var _0x33d909=_0x327b,_0x598a02=_0x5766e6();while(!![]){try{var _0x136a11=parseInt(_0x33d909(0x1a9))/0x1*(parseInt(_0x33d909(0x198))/0x2)+parseInt(_0x33d909(0x188))/0x3+-parseInt(_0x33d909(0x1a4))/0x4+parseInt(_0x33d909(0x195))/0x5+-parseInt(_0x33d909(0x1a6))/0x6+parseInt(_0x33d909(0x1a3))/0x7*(-parseInt(_0x33d909(0x19a))/0x8)+-parseInt(_0x33d909(0x183))/0x9*(-parseInt(_0x33d909(0x190))/0xa);if(_0x136a11===_0x294602)break;else _0x598a02['push'](_0x598a02['shift']());}catch(_0x446e18){_0x598a02['push'](_0x598a02['shift']());}}}(_0x40d3,0x52a8f));function _0x40d3(){var _0x1a484d=['loadServerUnitOfRevision','1729293vOHSug','Module','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','MemberService','_injector','@univerjs-pro/collaboration','defineProperty','waitForRoom$','21340auNvyg','CollaborationController','loadSheet','loadSheetAsync','@univerjs/core/facade','2159410yblJfr','get','toDisposable','75652pFfLtM','Injector','1448hvLRxF','rxjs','length','_collaborationController','_univerInstanceService','_handler','values','Inject','loadActiveSheetAsync','22267WOPFjI','2648152HWcMfC','getUniverSheet','2221614IHIzFB','@univerjs/core','toStringTag','12bLQZGC','readyForCollab','DataLoaderService','@univerjs-pro/collaboration-client','subscribe','loadUnit','loadUnitOfRevision','createInstance','from','2043MHIjYL','FCollaboration','IUniverInstanceService','pipe'];_0x40d3=function(){return _0x1a484d;};return _0x40d3();}function _0x327b(_0x2a8765,_0x27e3f7){var _0x40d376=_0x40d3();return _0x327b=function(_0x327bc8,_0x2b417c){_0x327bc8=_0x327bc8-0x183;var _0x54c2bc=_0x40d376[_0x327bc8];return _0x54c2bc;},_0x327b(_0x2a8765,_0x27e3f7);}Object[_0x469325(0x18e)](exports,Symbol[_0x469325(0x1a8)],{'value':_0x469325(0x189)});const c=require(_0x469325(0x1ac)),l=require(_0x469325(0x194)),h=require(_0x469325(0x18d)),n=require(_0x469325(0x1a7)),b=require(_0x469325(0x19b));var d=Object['getOwnPropertyDescriptor'],S=(_0x2bd014,_0x2c54c5,_0x20253a,_0x261a39)=>{var _0x319709=_0x469325;for(var _0x30aaa8=_0x261a39>0x1?void 0x0:_0x261a39?d(_0x2c54c5,_0x20253a):_0x2c54c5,_0x59909d=_0x2bd014[_0x319709(0x19c)]-0x1,_0x593a60;_0x59909d>=0x0;_0x59909d--)(_0x593a60=_0x2bd014[_0x59909d])&&(_0x30aaa8=_0x593a60(_0x30aaa8)||_0x30aaa8);return _0x30aaa8;},s=(_0xa2fa2b,_0x305020)=>(_0x1e6ddb,_0x409857)=>_0x305020(_0x1e6ddb,_0x409857,_0xa2fa2b);exports[_0x469325(0x184)]=class extends l['FBase']{constructor(_0x4735e9,_0x3fa51f,_0x579ed3,_0x25387b,_0xbf50b4){var _0x3270d1=_0x469325;super(),this[_0x3270d1(0x19f)]=_0x4735e9,this[_0x3270d1(0x18c)]=_0x3fa51f,this[_0x3270d1(0x19e)]=_0x579ed3,this['_snapshotService']=_0x25387b,this[_0x3270d1(0x19d)]=_0xbf50b4;}async['loadActiveSheet'](){var _0x491729=_0x469325;return this[_0x491729(0x1a2)]();}async[_0x469325(0x1a2)](){var _0x473655=_0x469325;throw new Error(_0x473655(0x18a));}async[_0x469325(0x192)](_0x3c0e77){return this['loadSheetAsync'](_0x3c0e77);}async[_0x469325(0x193)](_0x5bcf71,_0x3c55c6){var _0x138f12=_0x469325;return await this['_snapshotService'][_0x138f12(0x192)](_0x5bcf71,0x0,_0x3c55c6)?(await this[_0x138f12(0x19d)][_0x138f12(0x1aa)](_0x5bcf71),this[_0x138f12(0x19f)]['getUniverSheet'](_0x5bcf71)):null;}['subscribeCollaborators'](_0x2b8f49,_0x5ea45e){var _0x3504c8=_0x469325;const _0x3e6f91=this[_0x3504c8(0x18c)][_0x3504c8(0x196)](c[_0x3504c8(0x18b)])[_0x3504c8(0x18f)](_0x2b8f49)[_0x3504c8(0x186)](b['switchMap'](_0x584684=>_0x584684['members$']))[_0x3504c8(0x1ad)](_0xc353f=>_0x5ea45e(Array[_0x3504c8(0x1b1)](_0xc353f[_0x3504c8(0x1a0)]())));return n[_0x3504c8(0x197)](_0x3e6f91);}},exports['FCollaboration']=S([s(0x1,n['Inject'](n[_0x469325(0x199)])),s(0x2,n[_0x469325(0x185)]),s(0x3,n[_0x469325(0x1a1)](h['SnapshotService'])),s(0x4,n[_0x469325(0x1a1)](c[_0x469325(0x191)]))],exports[_0x469325(0x184)]);class u extends l['FUniver']{['getCollaboration'](){var _0x60018=_0x469325;return this[_0x60018(0x18c)][_0x60018(0x1b0)](exports[_0x60018(0x184)],{'getUniverSheet':_0x5a56ac=>this[_0x60018(0x1a5)](_0x5a56ac)});}['loadServerUnit'](_0xbacb9f,_0x4cd9be,_0x3d7d4c){var _0x5aae49=_0x469325;return this[_0x5aae49(0x18c)]['get'](c[_0x5aae49(0x1ab)])[_0x5aae49(0x1ae)](_0xbacb9f,_0x4cd9be,_0x3d7d4c);}[_0x469325(0x187)](_0x52ec20,_0x318514,_0x24a55f){var _0xb2a2bf=_0x469325;return this[_0xb2a2bf(0x18c)][_0xb2a2bf(0x196)](c[_0xb2a2bf(0x1ab)])[_0xb2a2bf(0x1af)](_0x52ec20,_0x318514,_0x24a55f);}}l['FUniver']['extend'](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);