@univerjs-pro/collaboration-client 0.6.1 → 0.6.2-nightly.202503031606

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 _0xbf967e=_0x3bb8;(function(_0x1e76e4,_0x42f87b){var _0x33ff49=_0x3bb8,_0x2ce494=_0x1e76e4();while(!![]){try{var _0x95c2cb=parseInt(_0x33ff49(0x1d6))/0x1+-parseInt(_0x33ff49(0x1c2))/0x2*(-parseInt(_0x33ff49(0x1e5))/0x3)+-parseInt(_0x33ff49(0x1e0))/0x4*(parseInt(_0x33ff49(0x1d8))/0x5)+-parseInt(_0x33ff49(0x1e2))/0x6*(-parseInt(_0x33ff49(0x1df))/0x7)+-parseInt(_0x33ff49(0x1b8))/0x8+-parseInt(_0x33ff49(0x1d9))/0x9*(-parseInt(_0x33ff49(0x1bd))/0xa)+-parseInt(_0x33ff49(0x1de))/0xb*(parseInt(_0x33ff49(0x1bc))/0xc);if(_0x95c2cb===_0x42f87b)break;else _0x2ce494['push'](_0x2ce494['shift']());}catch(_0x5ab12d){_0x2ce494['push'](_0x2ce494['shift']());}}}(_0x2d8e,0xd9b62));function _0x2d8e(){var _0x56b2a9=['1258133myIAmO','_handler','285aTpTwi','9EgpYCg','SnapshotService','subscribe','loadSheetAsync','subscribeCollaborators','17303xzCzCz','24185EAhsWY','50404MRwjcE','Inject','1974yjGykr','FBase','getCollaboration','1710321UnZBsc','rxjs','getUniverSheet','9708608BwZxnY','from','_injector','_univerInstanceService','5316WDMQkq','5554830KolxfU','_collaborationController','loadActiveSheetAsync','get','loadActiveSheet','2UUyyEu','@univerjs-pro/collaboration','Injector','IUniverInstanceService','FUniver','switchMap','readyForCollab','waitForRoom$','toStringTag','pipe','FCollaboration','getOwnPropertyDescriptor','toDisposable','@univerjs/core','Module','values','extend','_snapshotService','@univerjs-pro/collaboration-client','@univerjs/core/facade'];_0x2d8e=function(){return _0x56b2a9;};return _0x2d8e();}Object['defineProperty'](exports,Symbol[_0xbf967e(0x1ca)],{'value':_0xbf967e(0x1d0)});const l=require(_0xbf967e(0x1d5)),b=require(_0xbf967e(0x1c3)),h=require(_0xbf967e(0x1d4)),i=require(_0xbf967e(0x1cf)),v=require(_0xbf967e(0x1e6));function _0x3bb8(_0x19dd0f,_0x17a40b){var _0x2d8e6f=_0x2d8e();return _0x3bb8=function(_0x3bb8ef,_0x76e62a){_0x3bb8ef=_0x3bb8ef-0x1b7;var _0xad7f0=_0x2d8e6f[_0x3bb8ef];return _0xad7f0;},_0x3bb8(_0x19dd0f,_0x17a40b);}var u=Object[_0xbf967e(0x1cd)],S=(_0x3094f4,_0x23c3d6,_0x1c4fe3,_0x1811ee)=>{for(var _0x570944=_0x1811ee>0x1?void 0x0:_0x1811ee?u(_0x23c3d6,_0x1c4fe3):_0x23c3d6,_0x42a215=_0x3094f4['length']-0x1,_0x47e711;_0x42a215>=0x0;_0x42a215--)(_0x47e711=_0x3094f4[_0x42a215])&&(_0x570944=_0x47e711(_0x570944)||_0x570944);return _0x570944;},s=(_0x391a71,_0x1c9155)=>(_0x44a282,_0x292244)=>_0x1c9155(_0x44a282,_0x292244,_0x391a71);exports['FCollaboration']=class extends l[_0xbf967e(0x1e3)]{constructor(_0x2c05b4,_0x4f8cfd,_0x378516,_0x58bbf7,_0x245e71){var _0x31e348=_0xbf967e;super(),this[_0x31e348(0x1d7)]=_0x2c05b4,this[_0x31e348(0x1ba)]=_0x4f8cfd,this[_0x31e348(0x1bb)]=_0x378516,this[_0x31e348(0x1d3)]=_0x58bbf7,this[_0x31e348(0x1be)]=_0x245e71;}async[_0xbf967e(0x1c1)](){var _0x3db5db=_0xbf967e;return this[_0x3db5db(0x1bf)]();}async[_0xbf967e(0x1bf)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x59b811){var _0x2dea37=_0xbf967e;return this[_0x2dea37(0x1dc)](_0x59b811);}async[_0xbf967e(0x1dc)](_0x30c1f3,_0x5d3249){var _0x233f41=_0xbf967e;return await this[_0x233f41(0x1d3)]['loadSheet'](_0x30c1f3,0x0,_0x5d3249)?(await this['_collaborationController'][_0x233f41(0x1c8)](_0x30c1f3),this[_0x233f41(0x1d7)][_0x233f41(0x1b7)](_0x30c1f3)):null;}[_0xbf967e(0x1dd)](_0xa61ace,_0xe516ba){var _0x46afa3=_0xbf967e;const _0x331555=this[_0x46afa3(0x1ba)][_0x46afa3(0x1c0)](h['MemberService'])[_0x46afa3(0x1c9)](_0xa61ace)[_0x46afa3(0x1cb)](v[_0x46afa3(0x1c7)](_0x18f84e=>_0x18f84e['members$']))[_0x46afa3(0x1db)](_0x5f1582=>_0xe516ba(Array[_0x46afa3(0x1b9)](_0x5f1582[_0x46afa3(0x1d1)]())));return i[_0x46afa3(0x1ce)](_0x331555);}},exports[_0xbf967e(0x1cc)]=S([s(0x1,i[_0xbf967e(0x1e1)](i[_0xbf967e(0x1c4)])),s(0x2,i[_0xbf967e(0x1c5)]),s(0x3,i[_0xbf967e(0x1e1)](b[_0xbf967e(0x1da)])),s(0x4,i['Inject'](h['CollaborationController']))],exports['FCollaboration']);class d extends l['FUniver']{[_0xbf967e(0x1e4)](){var _0x275aea=_0xbf967e;return this[_0x275aea(0x1ba)]['createInstance'](exports[_0x275aea(0x1cc)],{'getUniverSheet':_0x26d6fa=>this[_0x275aea(0x1b7)](_0x26d6fa)});}}l[_0xbf967e(0x1c6)][_0xbf967e(0x1d2)](d);
1
+ 'use strict';var _0x1ca80a=_0xd435;(function(_0x48a77e,_0x3ebacc){var _0x19c4d6=_0xd435,_0x375d68=_0x48a77e();while(!![]){try{var _0x1ebcb0=parseInt(_0x19c4d6(0x20f))/0x1*(parseInt(_0x19c4d6(0x1f2))/0x2)+-parseInt(_0x19c4d6(0x20b))/0x3*(parseInt(_0x19c4d6(0x20c))/0x4)+parseInt(_0x19c4d6(0x218))/0x5+-parseInt(_0x19c4d6(0x207))/0x6+-parseInt(_0x19c4d6(0x20d))/0x7+-parseInt(_0x19c4d6(0x219))/0x8+parseInt(_0x19c4d6(0x1ff))/0x9*(parseInt(_0x19c4d6(0x20a))/0xa);if(_0x1ebcb0===_0x3ebacc)break;else _0x375d68['push'](_0x375d68['shift']());}catch(_0x444258){_0x375d68['push'](_0x375d68['shift']());}}}(_0x545b,0x9fabf));Object[_0x1ca80a(0x211)](exports,Symbol[_0x1ca80a(0x213)],{'value':_0x1ca80a(0x1f6)});const l=require(_0x1ca80a(0x205)),b=require('@univerjs-pro/collaboration'),h=require(_0x1ca80a(0x1fb)),i=require(_0x1ca80a(0x200)),v=require(_0x1ca80a(0x1fe));var u=Object['getOwnPropertyDescriptor'],S=(_0x3335d2,_0x5a1612,_0x27b549,_0x532014)=>{var _0x4ede8b=_0x1ca80a;for(var _0x58002c=_0x532014>0x1?void 0x0:_0x532014?u(_0x5a1612,_0x27b549):_0x5a1612,_0x56839d=_0x3335d2[_0x4ede8b(0x212)]-0x1,_0x42a3f7;_0x56839d>=0x0;_0x56839d--)(_0x42a3f7=_0x3335d2[_0x56839d])&&(_0x58002c=_0x42a3f7(_0x58002c)||_0x58002c);return _0x58002c;},s=(_0x2ff50e,_0x2edcb0)=>(_0x10f10e,_0x5baf74)=>_0x2edcb0(_0x10f10e,_0x5baf74,_0x2ff50e);exports['FCollaboration']=class extends l[_0x1ca80a(0x1ea)]{constructor(_0x2b7f95,_0x54379a,_0x493c8e,_0x108be3,_0x1aabbf){var _0x1e21e6=_0x1ca80a;super(),this['_handler']=_0x2b7f95,this[_0x1e21e6(0x20e)]=_0x54379a,this[_0x1e21e6(0x201)]=_0x493c8e,this[_0x1e21e6(0x1f3)]=_0x108be3,this[_0x1e21e6(0x1ec)]=_0x1aabbf;}async[_0x1ca80a(0x1f8)](){var _0x3014bd=_0x1ca80a;return this[_0x3014bd(0x1eb)]();}async['loadActiveSheetAsync'](){var _0x2ed3b2=_0x1ca80a;throw new Error(_0x2ed3b2(0x1ee));}async[_0x1ca80a(0x210)](_0x2889ce){var _0x35ebc5=_0x1ca80a;return this[_0x35ebc5(0x1fc)](_0x2889ce);}async['loadSheetAsync'](_0x3f0dc4,_0x5375b4){var _0x13c6dc=_0x1ca80a;return await this[_0x13c6dc(0x1f3)][_0x13c6dc(0x210)](_0x3f0dc4,0x0,_0x5375b4)?(await this[_0x13c6dc(0x1ec)][_0x13c6dc(0x1f0)](_0x3f0dc4),this[_0x13c6dc(0x1f9)]['getUniverSheet'](_0x3f0dc4)):null;}[_0x1ca80a(0x215)](_0x59ddbf,_0x293158){var _0x4fea23=_0x1ca80a;const _0x6c5874=this['_injector'][_0x4fea23(0x214)](h['MemberService'])[_0x4fea23(0x216)](_0x59ddbf)[_0x4fea23(0x1ed)](v[_0x4fea23(0x204)](_0x507051=>_0x507051[_0x4fea23(0x206)]))[_0x4fea23(0x209)](_0xacb746=>_0x293158(Array[_0x4fea23(0x202)](_0xacb746[_0x4fea23(0x1fa)]())));return i[_0x4fea23(0x208)](_0x6c5874);}},exports[_0x1ca80a(0x1f5)]=S([s(0x1,i[_0x1ca80a(0x217)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i['Inject'](b[_0x1ca80a(0x1f1)])),s(0x4,i[_0x1ca80a(0x217)](h['CollaborationController']))],exports['FCollaboration']);function _0xd435(_0x1771bb,_0x23cfe2){var _0x545baa=_0x545b();return _0xd435=function(_0xd435b3,_0x1866e2){_0xd435b3=_0xd435b3-0x1ea;var _0x77680d=_0x545baa[_0xd435b3];return _0x77680d;},_0xd435(_0x1771bb,_0x23cfe2);}class d extends l[_0x1ca80a(0x1ef)]{[_0x1ca80a(0x1f7)](){var _0xeacd7b=_0x1ca80a;return this[_0xeacd7b(0x20e)][_0xeacd7b(0x1fd)](exports[_0xeacd7b(0x1f5)],{'getUniverSheet':_0x24d931=>this[_0xeacd7b(0x1f4)](_0x24d931)});}}l[_0x1ca80a(0x1ef)][_0x1ca80a(0x203)](d);function _0x545b(){var _0x40617d=['_univerInstanceService','from','extend','switchMap','@univerjs/core/facade','members$','7117164llRvsg','toDisposable','subscribe','1860mGpnGi','55851uRHaJs','32wIEkLt','3635170jrFZlJ','_injector','955999LuPNgz','loadSheet','defineProperty','length','toStringTag','get','subscribeCollaborators','waitForRoom$','Inject','379510LKMKjK','4188032zcKyZn','FBase','loadActiveSheetAsync','_collaborationController','pipe','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FUniver','readyForCollab','SnapshotService','2bFAzUr','_snapshotService','getUniverSheet','FCollaboration','Module','getCollaboration','loadActiveSheet','_handler','values','@univerjs-pro/collaboration-client','loadSheetAsync','createInstance','rxjs','96777yfUHnQ','@univerjs/core'];_0x545b=function(){return _0x40617d;};return _0x545b();}