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

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 _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();}
1
+ 'use strict';var _0x2a2c14=_0x1b0c;(function(_0x39d23c,_0x1b7646){var _0x4aec88=_0x1b0c,_0xdec4ef=_0x39d23c();while(!![]){try{var _0x6e3c33=parseInt(_0x4aec88(0x1da))/0x1*(-parseInt(_0x4aec88(0x1cf))/0x2)+parseInt(_0x4aec88(0x1bc))/0x3*(-parseInt(_0x4aec88(0x1d5))/0x4)+-parseInt(_0x4aec88(0x1bd))/0x5+parseInt(_0x4aec88(0x1ba))/0x6+-parseInt(_0x4aec88(0x1cb))/0x7*(-parseInt(_0x4aec88(0x1d0))/0x8)+parseInt(_0x4aec88(0x1c0))/0x9*(parseInt(_0x4aec88(0x1bb))/0xa)+-parseInt(_0x4aec88(0x1b8))/0xb;if(_0x6e3c33===_0x1b7646)break;else _0xdec4ef['push'](_0xdec4ef['shift']());}catch(_0x407414){_0xdec4ef['push'](_0xdec4ef['shift']());}}}(_0x5e8b,0x8872a));Object[_0x2a2c14(0x1db)](exports,Symbol[_0x2a2c14(0x1d9)],{'value':'Module'});const l=require(_0x2a2c14(0x1d4)),b=require('@univerjs-pro/collaboration'),h=require(_0x2a2c14(0x1bf)),i=require('@univerjs/core'),v=require(_0x2a2c14(0x1d8));function _0x5e8b(){var _0xdfc62c=['IUniverInstanceService','readyForCollab','loadActiveSheet','204704QLGqtI','5986712owkhQN','_injector','getOwnPropertyDescriptor','loadSheet','@univerjs/core/facade','3247468orguNQ','getUniverSheet','pipe','rxjs','toStringTag','1PCbbxF','defineProperty','_collaborationController','FUniver','switchMap','extend','5299052iYhJxy','_handler','5659848QcTKZs','1420chEqQx','3HwaUKG','1675970lSvdiq','subscribeCollaborators','@univerjs-pro/collaboration-client','37926oUCYgG','loadSheetAsync','values','FCollaboration','FBase','getCollaboration','MemberService','waitForRoom$','Inject','createInstance','loadActiveSheetAsync','7vCDRXA'];_0x5e8b=function(){return _0xdfc62c;};return _0x5e8b();}function _0x1b0c(_0xce6397,_0x97fd7d){var _0x5e8bc9=_0x5e8b();return _0x1b0c=function(_0x1b0c30,_0x319b28){_0x1b0c30=_0x1b0c30-0x1b4;var _0x5b77a1=_0x5e8bc9[_0x1b0c30];return _0x5b77a1;},_0x1b0c(_0xce6397,_0x97fd7d);}var u=Object[_0x2a2c14(0x1d2)],S=(_0x415713,_0x54b4ba,_0xb3a614,_0x2505c1)=>{for(var _0x955274=_0x2505c1>0x1?void 0x0:_0x2505c1?u(_0x54b4ba,_0xb3a614):_0x54b4ba,_0x372a36=_0x415713['length']-0x1,_0x57dde9;_0x372a36>=0x0;_0x372a36--)(_0x57dde9=_0x415713[_0x372a36])&&(_0x955274=_0x57dde9(_0x955274)||_0x955274);return _0x955274;},s=(_0x1e86b2,_0x5dd1de)=>(_0x32bb80,_0x404cc0)=>_0x5dd1de(_0x32bb80,_0x404cc0,_0x1e86b2);exports[_0x2a2c14(0x1c3)]=class extends l[_0x2a2c14(0x1c4)]{constructor(_0x4f6c53,_0x88e6d2,_0x2f1b06,_0x47a817,_0x2537f3){var _0x1e2af9=_0x2a2c14;super(),this[_0x1e2af9(0x1b9)]=_0x4f6c53,this[_0x1e2af9(0x1d1)]=_0x88e6d2,this['_univerInstanceService']=_0x2f1b06,this['_snapshotService']=_0x47a817,this[_0x1e2af9(0x1b4)]=_0x2537f3;}async[_0x2a2c14(0x1ce)](){var _0x458a38=_0x2a2c14;return this[_0x458a38(0x1ca)]();}async[_0x2a2c14(0x1ca)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x2a2c14(0x1d3)](_0x17a37e){var _0x549446=_0x2a2c14;return this[_0x549446(0x1c1)](_0x17a37e);}async['loadSheetAsync'](_0x224586,_0x2f02e8){var _0x4f5a5e=_0x2a2c14;return await this['_snapshotService'][_0x4f5a5e(0x1d3)](_0x224586,0x0,_0x2f02e8)?(await this['_collaborationController'][_0x4f5a5e(0x1cd)](_0x224586),this[_0x4f5a5e(0x1b9)][_0x4f5a5e(0x1d6)](_0x224586)):null;}[_0x2a2c14(0x1be)](_0x4ba3ce,_0x3660b3){var _0x10b1d0=_0x2a2c14;const _0x10f43e=this[_0x10b1d0(0x1d1)]['get'](h[_0x10b1d0(0x1c6)])[_0x10b1d0(0x1c7)](_0x4ba3ce)[_0x10b1d0(0x1d7)](v[_0x10b1d0(0x1b6)](_0xb07ee=>_0xb07ee['members$']))['subscribe'](_0x54f8bb=>_0x3660b3(Array['from'](_0x54f8bb[_0x10b1d0(0x1c2)]())));return i['toDisposable'](_0x10f43e);}},exports[_0x2a2c14(0x1c3)]=S([s(0x1,i[_0x2a2c14(0x1c8)](i['Injector'])),s(0x2,i[_0x2a2c14(0x1cc)]),s(0x3,i[_0x2a2c14(0x1c8)](b['SnapshotService'])),s(0x4,i['Inject'](h['CollaborationController']))],exports[_0x2a2c14(0x1c3)]);class d extends l[_0x2a2c14(0x1b5)]{[_0x2a2c14(0x1c5)](){var _0x442c0d=_0x2a2c14;return this['_injector'][_0x442c0d(0x1c9)](exports[_0x442c0d(0x1c3)],{'getUniverSheet':_0x180d8c=>this['getUniverSheet'](_0x180d8c)});}}l[_0x2a2c14(0x1b5)][_0x2a2c14(0x1b7)](d);