@univerjs-pro/collaboration-client 0.5.1-nightly.202412171026 → 0.5.1-nightly.202412171234

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 _0x515158=_0x16b2;(function(_0x2f1f37,_0x1e2993){var _0x4be14d=_0x16b2,_0x5692dc=_0x2f1f37();while(!![]){try{var _0x1f2107=-parseInt(_0x4be14d(0x157))/0x1+-parseInt(_0x4be14d(0x13e))/0x2+-parseInt(_0x4be14d(0x141))/0x3+-parseInt(_0x4be14d(0x14c))/0x4*(parseInt(_0x4be14d(0x13d))/0x5)+-parseInt(_0x4be14d(0x15d))/0x6*(-parseInt(_0x4be14d(0x138))/0x7)+parseInt(_0x4be14d(0x147))/0x8+parseInt(_0x4be14d(0x152))/0x9*(parseInt(_0x4be14d(0x151))/0xa);if(_0x1f2107===_0x1e2993)break;else _0x5692dc['push'](_0x5692dc['shift']());}catch(_0x640300){_0x5692dc['push'](_0x5692dc['shift']());}}}(_0x6535,0xb1b1b));function _0x16b2(_0x3bd970,_0xb4c9f6){var _0x653579=_0x6535();return _0x16b2=function(_0x16b2a6,_0x227d5e){_0x16b2a6=_0x16b2a6-0x135;var _0x5322b1=_0x653579[_0x16b2a6];return _0x5322b1;},_0x16b2(_0x3bd970,_0xb4c9f6);}Object[_0x515158(0x148)](exports,Symbol[_0x515158(0x158)],{'value':'Module'});const t=require(_0x515158(0x15c)),b=require('@univerjs-pro/collaboration'),c=require(_0x515158(0x14f)),v=require(_0x515158(0x143));var h=Object['defineProperty'],u=Object[_0x515158(0x150)],_=(_0x11be62,_0x342d84,_0x352171,_0x16a148)=>{var _0x45b592=_0x515158;for(var _0x5806d6=_0x16a148>0x1?void 0x0:_0x16a148?u(_0x342d84,_0x352171):_0x342d84,_0x499b3c=_0x11be62[_0x45b592(0x149)]-0x1,_0x46e5ca;_0x499b3c>=0x0;_0x499b3c--)(_0x46e5ca=_0x11be62[_0x499b3c])&&(_0x5806d6=(_0x16a148?_0x46e5ca(_0x342d84,_0x352171,_0x5806d6):_0x46e5ca(_0x5806d6))||_0x5806d6);return _0x16a148&&_0x5806d6&&h(_0x342d84,_0x352171,_0x5806d6),_0x5806d6;},s=(_0x52922f,_0x774001)=>(_0x398c67,_0x33d1af)=>_0x774001(_0x398c67,_0x33d1af,_0x52922f);function _0x6535(){var _0x459c16=['_injector','3860472hPHQnc','Inject','rxjs','UNIVER_SHEET','readyForCollab','_snapshotService','4663648VWzinf','defineProperty','length','UniverInstanceType','getUnit','1812dHErmz','FBase','loadActiveSheet','@univerjs-pro/collaboration-client','getOwnPropertyDescriptor','17104630AHSeMG','18jUYLcA','switchMap','SnapshotService','members$','pipe','515005adJEGP','toStringTag','loadSheet','_collaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core','1866162EdQcpV','waitForRoom$','_handler','FCollaboration','7jyIkqg','createInstance','get','_univerInstanceService','subscribe','12635TzkvXp','1281028XtHMgU','subscribeCollaborators'];_0x6535=function(){return _0x459c16;};return _0x6535();}exports['FCollaboration']=class extends t[_0x515158(0x14d)]{constructor(_0x2748d7,_0xa100c0,_0x302212,_0x42fa3e,_0x19dffa){var _0x142350=_0x515158;super(),this[_0x142350(0x136)]=_0x2748d7,this[_0x142350(0x140)]=_0xa100c0,this[_0x142350(0x13b)]=_0x302212,this['_snapshotService']=_0x42fa3e,this['_collaborationController']=_0x19dffa;}async[_0x515158(0x14e)](){var _0x34d5fd=_0x515158;throw new Error(_0x34d5fd(0x15b));}async['loadSheet'](_0x2f1702){var _0x621067=_0x515158;return this[_0x621067(0x13b)][_0x621067(0x14b)](_0x2f1702,t[_0x621067(0x14a)][_0x621067(0x144)])||await this[_0x621067(0x146)][_0x621067(0x159)](_0x2f1702,0x0)?(await this[_0x621067(0x15a)][_0x621067(0x145)](_0x2f1702),this[_0x621067(0x136)]['getUniverSheet'](_0x2f1702)):null;}[_0x515158(0x13f)](_0x699e8a,_0x1a2810){var _0x141c94=_0x515158;const _0x2100dc=this['_injector'][_0x141c94(0x13a)](c['MemberService'])[_0x141c94(0x135)](_0x699e8a)[_0x141c94(0x156)](v[_0x141c94(0x153)](_0x3df1ae=>_0x3df1ae[_0x141c94(0x155)]))[_0x141c94(0x13c)](_0x3a7708=>_0x1a2810(Array['from'](_0x3a7708['values']())));return t['toDisposable'](_0x2100dc);}},exports[_0x515158(0x137)]=_([s(0x1,t[_0x515158(0x142)](t['Injector'])),s(0x2,t['IUniverInstanceService']),s(0x3,t[_0x515158(0x142)](b[_0x515158(0x154)])),s(0x4,t[_0x515158(0x142)](c['CollaborationController']))],exports[_0x515158(0x137)]);class S extends t['FUniver']{['getCollaboration'](){var _0x2b5c85=_0x515158;return this[_0x2b5c85(0x140)][_0x2b5c85(0x139)](exports['FCollaboration'],{'getUniverSheet':_0x2e5f83=>this['getUniverSheet'](_0x2e5f83)});}}t['FUniver']['extend'](S);
1
+ 'use strict';var _0x2661e4=_0x5154;(function(_0x49c908,_0x3aa97d){var _0xb2ba8=_0x5154,_0x27dbbf=_0x49c908();while(!![]){try{var _0x36888c=parseInt(_0xb2ba8(0x1f0))/0x1*(-parseInt(_0xb2ba8(0x1e0))/0x2)+parseInt(_0xb2ba8(0x1eb))/0x3+-parseInt(_0xb2ba8(0x1f2))/0x4+-parseInt(_0xb2ba8(0x200))/0x5+-parseInt(_0xb2ba8(0x1dc))/0x6*(parseInt(_0xb2ba8(0x1fe))/0x7)+-parseInt(_0xb2ba8(0x1df))/0x8+-parseInt(_0xb2ba8(0x1f3))/0x9*(-parseInt(_0xb2ba8(0x1ec))/0xa);if(_0x36888c===_0x3aa97d)break;else _0x27dbbf['push'](_0x27dbbf['shift']());}catch(_0x16dd1f){_0x27dbbf['push'](_0x27dbbf['shift']());}}}(_0x427b,0x6d03f));Object[_0x2661e4(0x1fb)](exports,Symbol['toStringTag'],{'value':_0x2661e4(0x1ea)});function _0x5154(_0x5437e2,_0x41efbd){var _0x427ba3=_0x427b();return _0x5154=function(_0x51547c,_0x35cd36){_0x51547c=_0x51547c-0x1dc;var _0x593de3=_0x427ba3[_0x51547c];return _0x593de3;},_0x5154(_0x5437e2,_0x41efbd);}const t=require(_0x2661e4(0x1f7)),b=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),v=require('rxjs');var h=Object[_0x2661e4(0x1fb)],u=Object['getOwnPropertyDescriptor'],_=(_0x185758,_0x1b7be7,_0x4115cb,_0x1df30c)=>{var _0xb4733=_0x2661e4;for(var _0x5cc75e=_0x1df30c>0x1?void 0x0:_0x1df30c?u(_0x1b7be7,_0x4115cb):_0x1b7be7,_0x1a9f04=_0x185758[_0xb4733(0x1fd)]-0x1,_0x41b5a2;_0x1a9f04>=0x0;_0x1a9f04--)(_0x41b5a2=_0x185758[_0x1a9f04])&&(_0x5cc75e=(_0x1df30c?_0x41b5a2(_0x1b7be7,_0x4115cb,_0x5cc75e):_0x41b5a2(_0x5cc75e))||_0x5cc75e);return _0x1df30c&&_0x5cc75e&&h(_0x1b7be7,_0x4115cb,_0x5cc75e),_0x5cc75e;},s=(_0x10659d,_0x5327da)=>(_0x1dfc5e,_0x1cb8e6)=>_0x5327da(_0x1dfc5e,_0x1cb8e6,_0x10659d);exports[_0x2661e4(0x1ef)]=class extends t['FBase']{constructor(_0x37cb37,_0x2b63ee,_0x413679,_0x16a935,_0x426b2e){var _0x307696=_0x2661e4;super(),this[_0x307696(0x1e3)]=_0x37cb37,this[_0x307696(0x1e2)]=_0x2b63ee,this['_univerInstanceService']=_0x413679,this[_0x307696(0x1f1)]=_0x16a935,this['_collaborationController']=_0x426b2e;}async[_0x2661e4(0x1e7)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x2661e4(0x1e6)](_0x1a7654){var _0x39fbaa=_0x2661e4;return this[_0x39fbaa(0x1fa)][_0x39fbaa(0x203)](_0x1a7654,t['UniverInstanceType'][_0x39fbaa(0x1ee)])||await this[_0x39fbaa(0x1f1)]['loadSheet'](_0x1a7654,0x0)?(await this[_0x39fbaa(0x1fc)][_0x39fbaa(0x1de)](_0x1a7654),this['_handler'][_0x39fbaa(0x1e8)](_0x1a7654)):null;}[_0x2661e4(0x204)](_0x12628b,_0xd8e871){var _0x53bd8d=_0x2661e4;const _0x400722=this[_0x53bd8d(0x1e2)][_0x53bd8d(0x1e1)](c['MemberService'])['waitForRoom$'](_0x12628b)[_0x53bd8d(0x1f6)](v[_0x53bd8d(0x202)](_0x10c30a=>_0x10c30a['members$']))[_0x53bd8d(0x1e5)](_0x5e53ea=>_0xd8e871(Array[_0x53bd8d(0x1ff)](_0x5e53ea[_0x53bd8d(0x1f4)]())));return t[_0x53bd8d(0x1e9)](_0x400722);}},exports[_0x2661e4(0x1ef)]=_([s(0x1,t[_0x2661e4(0x205)](t['Injector'])),s(0x2,t[_0x2661e4(0x1e4)]),s(0x3,t[_0x2661e4(0x205)](b[_0x2661e4(0x1f8)])),s(0x4,t[_0x2661e4(0x205)](c[_0x2661e4(0x1dd)]))],exports[_0x2661e4(0x1ef)]);class S extends t[_0x2661e4(0x201)]{[_0x2661e4(0x1f5)](){var _0x345b1d=_0x2661e4;return this[_0x345b1d(0x1e2)][_0x345b1d(0x1f9)](exports['FCollaboration'],{'getUniverSheet':_0x2816dc=>this[_0x345b1d(0x1e8)](_0x2816dc)});}}t[_0x2661e4(0x201)][_0x2661e4(0x1ed)](S);function _0x427b(){var _0x1dc08b=['createInstance','_univerInstanceService','defineProperty','_collaborationController','length','3647ejxIIu','from','4047910QRYCIK','FUniver','switchMap','getUnit','subscribeCollaborators','Inject','3864LHBYWY','CollaborationController','readyForCollab','2114872LXJNWO','340162uJICFV','get','_injector','_handler','IUniverInstanceService','subscribe','loadSheet','loadActiveSheet','getUniverSheet','toDisposable','Module','2130090bPeiCD','15525140eWRyaj','extend','UNIVER_SHEET','FCollaboration','1wFemOy','_snapshotService','945884ODyfEJ','9vbowNw','values','getCollaboration','pipe','@univerjs/core','SnapshotService'];_0x427b=function(){return _0x1dc08b;};return _0x427b();}