@univerjs-pro/collaboration-client 0.6.6-nightly.202503221606 → 0.6.6-nightly.202503231605

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 _0x42235f=_0xd841;(function(_0x20cd51,_0x5a40c2){var _0x59222e=_0xd841,_0x15fa80=_0x20cd51();while(!![]){try{var _0x2c6535=parseInt(_0x59222e(0x1b3))/0x1*(-parseInt(_0x59222e(0x1ae))/0x2)+-parseInt(_0x59222e(0x1a1))/0x3*(parseInt(_0x59222e(0x1b9))/0x4)+parseInt(_0x59222e(0x1bd))/0x5+-parseInt(_0x59222e(0x1af))/0x6*(parseInt(_0x59222e(0x192))/0x7)+-parseInt(_0x59222e(0x1a8))/0x8*(parseInt(_0x59222e(0x19f))/0x9)+parseInt(_0x59222e(0x1be))/0xa+parseInt(_0x59222e(0x1ad))/0xb;if(_0x2c6535===_0x5a40c2)break;else _0x15fa80['push'](_0x15fa80['shift']());}catch(_0x552573){_0x15fa80['push'](_0x15fa80['shift']());}}}(_0x430d,0xf17a9));Object[_0x42235f(0x19a)](exports,Symbol[_0x42235f(0x1b2)],{'value':'Module'});const c=require(_0x42235f(0x1b6)),l=require(_0x42235f(0x1a7)),v=require(_0x42235f(0x1a0)),i=require(_0x42235f(0x196)),b=require(_0x42235f(0x198));var S=Object[_0x42235f(0x19e)],d=(_0x53daa1,_0xe3ddb1,_0x440315,_0x13441d)=>{for(var _0x28f35a=_0x13441d>0x1?void 0x0:_0x13441d?S(_0xe3ddb1,_0x440315):_0xe3ddb1,_0x41f685=_0x53daa1['length']-0x1,_0x3ff92b;_0x41f685>=0x0;_0x41f685--)(_0x3ff92b=_0x53daa1[_0x41f685])&&(_0x28f35a=_0x3ff92b(_0x28f35a)||_0x28f35a);return _0x28f35a;},s=(_0x2215b9,_0x2cb8d7)=>(_0x21062a,_0x37109a)=>_0x2cb8d7(_0x21062a,_0x37109a,_0x2215b9);exports[_0x42235f(0x1a9)]=class extends l[_0x42235f(0x1b0)]{constructor(_0x2b2751,_0x3186d6,_0x6f6197,_0x2e42b9,_0x32fd2d){var _0x1c6d60=_0x42235f;super(),this['_handler']=_0x2b2751,this[_0x1c6d60(0x1aa)]=_0x3186d6,this['_univerInstanceService']=_0x6f6197,this['_snapshotService']=_0x2e42b9,this[_0x1c6d60(0x1bb)]=_0x32fd2d;}async['loadActiveSheet'](){var _0x530dcb=_0x42235f;return this[_0x530dcb(0x1a2)]();}async[_0x42235f(0x1a2)](){var _0x6d0e7b=_0x42235f;throw new Error(_0x6d0e7b(0x1b4));}async[_0x42235f(0x1bc)](_0x32bbfb){return this['loadSheetAsync'](_0x32bbfb);}async[_0x42235f(0x197)](_0x5a2013,_0x1db895){var _0x396333=_0x42235f;return await this[_0x396333(0x194)][_0x396333(0x1bc)](_0x5a2013,0x0,_0x1db895)?(await this[_0x396333(0x1bb)][_0x396333(0x1c0)](_0x5a2013),this[_0x396333(0x193)][_0x396333(0x1ba)](_0x5a2013)):null;}['subscribeCollaborators'](_0x21932b,_0x8a6fd4){var _0x2214cf=_0x42235f;const _0x5af67a=this[_0x2214cf(0x1aa)][_0x2214cf(0x1a4)](c[_0x2214cf(0x1b7)])[_0x2214cf(0x1b5)](_0x21932b)['pipe'](b[_0x2214cf(0x1b1)](_0x5b4fd7=>_0x5b4fd7[_0x2214cf(0x1a6)]))[_0x2214cf(0x195)](_0x1965ce=>_0x8a6fd4(Array[_0x2214cf(0x19d)](_0x1965ce[_0x2214cf(0x1a3)]())));return i[_0x2214cf(0x1b8)](_0x5af67a);}},exports[_0x42235f(0x1a9)]=d([s(0x1,i[_0x42235f(0x1a5)](i[_0x42235f(0x199)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x42235f(0x1a5)](v['SnapshotService'])),s(0x4,i[_0x42235f(0x1a5)](c[_0x42235f(0x1ac)]))],exports[_0x42235f(0x1a9)]);function _0x430d(){var _0x80999e=['@univerjs-pro/collaboration','4966767JLYYyX','loadActiveSheetAsync','values','get','Inject','members$','@univerjs/core/facade','6525664bxbwcO','FCollaboration','_injector','loadUnit','CollaborationController','17919649KaOjiq','58aBSccC','2214042xPiOIy','FBase','switchMap','toStringTag','4569iILMqL','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','waitForRoom$','@univerjs-pro/collaboration-client','MemberService','toDisposable','4ykbzvS','getUniverSheet','_collaborationController','loadSheet','8308190ljkhEd','6712050ykwyCd','extend','readyForCollab','7ESxWev','_handler','_snapshotService','subscribe','@univerjs/core','loadSheetAsync','rxjs','Injector','defineProperty','FUniver','createInstance','from','getOwnPropertyDescriptor','9znWDcz'];_0x430d=function(){return _0x80999e;};return _0x430d();}function _0xd841(_0x387b52,_0x30d1c5){var _0x430da2=_0x430d();return _0xd841=function(_0xd8411d,_0x9ef3d5){_0xd8411d=_0xd8411d-0x192;var _0x508837=_0x430da2[_0xd8411d];return _0x508837;},_0xd841(_0x387b52,_0x30d1c5);}class u extends l[_0x42235f(0x19b)]{['getCollaboration'](){var _0x143040=_0x42235f;return this[_0x143040(0x1aa)][_0x143040(0x19c)](exports['FCollaboration'],{'getUniverSheet':_0x53842b=>this[_0x143040(0x1ba)](_0x53842b)});}['loadServerUnit'](_0x2737ee,_0x39a89a,_0x3c30e1){var _0x5ed3d8=_0x42235f;return this[_0x5ed3d8(0x1aa)][_0x5ed3d8(0x19c)](c['DataLoaderService'])[_0x5ed3d8(0x1ab)](_0x2737ee,_0x39a89a,_0x3c30e1);}}l[_0x42235f(0x19b)][_0x42235f(0x1bf)](u);
1
+ 'use strict';var _0x13e8cc=_0x2975;(function(_0x15b7fe,_0x3aefc2){var _0x4fe0fa=_0x2975,_0x5caa93=_0x15b7fe();while(!![]){try{var _0x4febf8=-parseInt(_0x4fe0fa(0x1d4))/0x1+-parseInt(_0x4fe0fa(0x1d7))/0x2*(-parseInt(_0x4fe0fa(0x1e1))/0x3)+parseInt(_0x4fe0fa(0x1c8))/0x4+parseInt(_0x4fe0fa(0x1d0))/0x5+parseInt(_0x4fe0fa(0x1ba))/0x6*(-parseInt(_0x4fe0fa(0x1d5))/0x7)+-parseInt(_0x4fe0fa(0x1bc))/0x8*(parseInt(_0x4fe0fa(0x1b7))/0x9)+-parseInt(_0x4fe0fa(0x1da))/0xa*(-parseInt(_0x4fe0fa(0x1cd))/0xb);if(_0x4febf8===_0x3aefc2)break;else _0x5caa93['push'](_0x5caa93['shift']());}catch(_0x444a5b){_0x5caa93['push'](_0x5caa93['shift']());}}}(_0xe466,0x946fb));Object[_0x13e8cc(0x1bf)](exports,Symbol[_0x13e8cc(0x1b9)],{'value':_0x13e8cc(0x1b6)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x13e8cc(0x1cc)),v=require('@univerjs-pro/collaboration'),i=require(_0x13e8cc(0x1c3)),b=require(_0x13e8cc(0x1d1));var S=Object[_0x13e8cc(0x1c0)],d=(_0x30f565,_0x5f1381,_0x8fcd47,_0xaf7a23)=>{var _0x4c546c=_0x13e8cc;for(var _0x52469a=_0xaf7a23>0x1?void 0x0:_0xaf7a23?S(_0x5f1381,_0x8fcd47):_0x5f1381,_0x12888d=_0x30f565[_0x4c546c(0x1dd)]-0x1,_0x4ae327;_0x12888d>=0x0;_0x12888d--)(_0x4ae327=_0x30f565[_0x12888d])&&(_0x52469a=_0x4ae327(_0x52469a)||_0x52469a);return _0x52469a;},s=(_0x3f89ec,_0x494a2b)=>(_0x4537a0,_0x2558d0)=>_0x494a2b(_0x4537a0,_0x2558d0,_0x3f89ec);exports[_0x13e8cc(0x1c2)]=class extends l['FBase']{constructor(_0x44215e,_0x2919dc,_0x113d18,_0x3602c6,_0xcaee2a){var _0x136a58=_0x13e8cc;super(),this[_0x136a58(0x1b8)]=_0x44215e,this[_0x136a58(0x1d3)]=_0x2919dc,this[_0x136a58(0x1b5)]=_0x113d18,this[_0x136a58(0x1bd)]=_0x3602c6,this[_0x136a58(0x1dc)]=_0xcaee2a;}async['loadActiveSheet'](){var _0x569e38=_0x13e8cc;return this[_0x569e38(0x1be)]();}async[_0x13e8cc(0x1be)](){var _0x2fb46a=_0x13e8cc;throw new Error(_0x2fb46a(0x1c5));}async[_0x13e8cc(0x1cb)](_0x3cda3b){var _0x873293=_0x13e8cc;return this[_0x873293(0x1e0)](_0x3cda3b);}async[_0x13e8cc(0x1e0)](_0x312d16,_0x5bd15e){var _0x989881=_0x13e8cc;return await this[_0x989881(0x1bd)][_0x989881(0x1cb)](_0x312d16,0x0,_0x5bd15e)?(await this[_0x989881(0x1dc)][_0x989881(0x1b3)](_0x312d16),this[_0x989881(0x1b8)][_0x989881(0x1b2)](_0x312d16)):null;}[_0x13e8cc(0x1de)](_0x1c6788,_0x1746fd){var _0x40449a=_0x13e8cc;const _0x585a45=this['_injector'][_0x40449a(0x1e2)](c['MemberService'])[_0x40449a(0x1c9)](_0x1c6788)[_0x40449a(0x1ca)](b['switchMap'](_0x50dc8a=>_0x50dc8a['members$']))[_0x40449a(0x1b1)](_0x5414a0=>_0x1746fd(Array[_0x40449a(0x1ce)](_0x5414a0[_0x40449a(0x1cf)]())));return i[_0x40449a(0x1d8)](_0x585a45);}},exports[_0x13e8cc(0x1c2)]=d([s(0x1,i[_0x13e8cc(0x1bb)](i[_0x13e8cc(0x1d9)])),s(0x2,i[_0x13e8cc(0x1c7)]),s(0x3,i[_0x13e8cc(0x1bb)](v[_0x13e8cc(0x1c1)])),s(0x4,i[_0x13e8cc(0x1bb)](c['CollaborationController']))],exports[_0x13e8cc(0x1c2)]);class u extends l['FUniver']{[_0x13e8cc(0x1d2)](){var _0x72d847=_0x13e8cc;return this[_0x72d847(0x1d3)]['createInstance'](exports['FCollaboration'],{'getUniverSheet':_0x2553f0=>this[_0x72d847(0x1b2)](_0x2553f0)});}[_0x13e8cc(0x1d6)](_0x54228c,_0xac71c3,_0xe2f31a){var _0x37d7ef=_0x13e8cc;return this['_injector'][_0x37d7ef(0x1df)](c[_0x37d7ef(0x1b4)])[_0x37d7ef(0x1db)](_0x54228c,_0xac71c3,_0xe2f31a);}}function _0x2975(_0x3fa063,_0x401fbb){var _0xe46677=_0xe466();return _0x2975=function(_0x2975ae,_0x494c39){_0x2975ae=_0x2975ae-0x1b1;var _0x3288c3=_0xe46677[_0x2975ae];return _0x3288c3;},_0x2975(_0x3fa063,_0x401fbb);}function _0xe466(){var _0x3fb97d=['createInstance','loadSheetAsync','3541836woyulE','get','subscribe','getUniverSheet','readyForCollab','DataLoaderService','_univerInstanceService','Module','6858aabdzK','_handler','toStringTag','24306dyUCUk','Inject','7856oeVNkf','_snapshotService','loadActiveSheetAsync','defineProperty','getOwnPropertyDescriptor','SnapshotService','FCollaboration','@univerjs/core','extend','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','IUniverInstanceService','144668LQYmIK','waitForRoom$','pipe','loadSheet','@univerjs/core/facade','27412bddRcG','from','values','4140640KNySfM','rxjs','getCollaboration','_injector','474395crLQgt','1085HPdFof','loadServerUnit','2eVVSJF','toDisposable','Injector','1660MjGZSA','loadUnit','_collaborationController','length','subscribeCollaborators'];_0xe466=function(){return _0x3fb97d;};return _0xe466();}l[_0x13e8cc(0x1c6)][_0x13e8cc(0x1c4)](u);