@univerjs-pro/collaboration-client 0.7.0-nightly.202505091607 → 0.7.0-nightly.202505101606

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';function _0xe014(_0x440c52,_0x5a2ce6){var _0x6321ec=_0x6321();return _0xe014=function(_0xe01488,_0x2d27dd){_0xe01488=_0xe01488-0xaa;var _0x4676de=_0x6321ec[_0xe01488];return _0x4676de;},_0xe014(_0x440c52,_0x5a2ce6);}var _0x300f5b=_0xe014;(function(_0x189e42,_0x3d46b4){var _0x5e3fe9=_0xe014,_0x112dd9=_0x189e42();while(!![]){try{var _0x420447=-parseInt(_0x5e3fe9(0xc7))/0x1+parseInt(_0x5e3fe9(0xd6))/0x2*(parseInt(_0x5e3fe9(0xb7))/0x3)+parseInt(_0x5e3fe9(0xab))/0x4+-parseInt(_0x5e3fe9(0xb6))/0x5*(parseInt(_0x5e3fe9(0xad))/0x6)+-parseInt(_0x5e3fe9(0xca))/0x7*(-parseInt(_0x5e3fe9(0xd1))/0x8)+-parseInt(_0x5e3fe9(0xce))/0x9+-parseInt(_0x5e3fe9(0xcc))/0xa*(-parseInt(_0x5e3fe9(0xbc))/0xb);if(_0x420447===_0x3d46b4)break;else _0x112dd9['push'](_0x112dd9['shift']());}catch(_0x12182a){_0x112dd9['push'](_0x112dd9['shift']());}}}(_0x6321,0x2db07));Object[_0x300f5b(0xb3)](exports,Symbol[_0x300f5b(0xb5)],{'value':'Module'});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require(_0x300f5b(0xb8)),i=require(_0x300f5b(0xae)),b=require('rxjs');function _0x6321(){var _0x329122=['toStringTag','1692055jqbytO','30579TRIKiC','@univerjs-pro/collaboration','loadSheetAsync','createInstance','loadUnit','21142YTvCxX','_univerInstanceService','toDisposable','MemberService','CollaborationController','_snapshotService','_injector','FUniver','SnapshotService','pipe','getUniverSheet','106164DnLHwD','_handler','length','254149wZkLAJ','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','3260PNCTRP','getOwnPropertyDescriptor','1312263pXUuZg','values','Inject','8nHlbho','loadActiveSheetAsync','from','subscribe','_collaborationController','2OgQmUh','DataLoaderService','get','Injector','417812JVlzBt','members$','6FhSQIg','@univerjs/core','waitForRoom$','loadSheet','FCollaboration','subscribeCollaborators','defineProperty','FBase'];_0x6321=function(){return _0x329122;};return _0x6321();}var S=Object[_0x300f5b(0xcd)],d=(_0x543e72,_0x5b7187,_0x137f6c,_0x56efc3)=>{var _0x31af7c=_0x300f5b;for(var _0x3e373e=_0x56efc3>0x1?void 0x0:_0x56efc3?S(_0x5b7187,_0x137f6c):_0x5b7187,_0x456d3c=_0x543e72[_0x31af7c(0xc9)]-0x1,_0x4b1231;_0x456d3c>=0x0;_0x456d3c--)(_0x4b1231=_0x543e72[_0x456d3c])&&(_0x3e373e=_0x4b1231(_0x3e373e)||_0x3e373e);return _0x3e373e;},s=(_0x1ed343,_0xa112f4)=>(_0x3c90aa,_0x336cc8)=>_0xa112f4(_0x3c90aa,_0x336cc8,_0x1ed343);exports[_0x300f5b(0xb1)]=class extends l[_0x300f5b(0xb4)]{constructor(_0x359717,_0xf3f5a3,_0x597198,_0x24c6a3,_0x3c68c2){var _0x3fee79=_0x300f5b;super(),this[_0x3fee79(0xc8)]=_0x359717,this[_0x3fee79(0xc2)]=_0xf3f5a3,this[_0x3fee79(0xbd)]=_0x597198,this['_snapshotService']=_0x24c6a3,this['_collaborationController']=_0x3c68c2;}async['loadActiveSheet'](){var _0x4e28fd=_0x300f5b;return this[_0x4e28fd(0xd2)]();}async[_0x300f5b(0xd2)](){var _0x53ba1c=_0x300f5b;throw new Error(_0x53ba1c(0xcb));}async['loadSheet'](_0x52ba0f){var _0xb72af0=_0x300f5b;return this[_0xb72af0(0xb9)](_0x52ba0f);}async[_0x300f5b(0xb9)](_0x4fbed1,_0x58caa5){var _0x16d069=_0x300f5b;return await this[_0x16d069(0xc1)][_0x16d069(0xb0)](_0x4fbed1,0x0,_0x58caa5)?(await this[_0x16d069(0xd5)]['readyForCollab'](_0x4fbed1),this['_handler'][_0x16d069(0xc6)](_0x4fbed1)):null;}[_0x300f5b(0xb2)](_0x533a51,_0x49bd2e){var _0x1eb5de=_0x300f5b;const _0x546e65=this[_0x1eb5de(0xc2)][_0x1eb5de(0xd8)](c[_0x1eb5de(0xbf)])[_0x1eb5de(0xaf)](_0x533a51)[_0x1eb5de(0xc5)](b['switchMap'](_0x1294b0=>_0x1294b0[_0x1eb5de(0xac)]))[_0x1eb5de(0xd4)](_0x50aedc=>_0x49bd2e(Array[_0x1eb5de(0xd3)](_0x50aedc[_0x1eb5de(0xcf)]())));return i[_0x1eb5de(0xbe)](_0x546e65);}},exports[_0x300f5b(0xb1)]=d([s(0x1,i[_0x300f5b(0xd0)](i[_0x300f5b(0xaa)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x300f5b(0xd0)](v[_0x300f5b(0xc4)])),s(0x4,i['Inject'](c[_0x300f5b(0xc0)]))],exports[_0x300f5b(0xb1)]);class u extends l['FUniver']{['getCollaboration'](){var _0x2612d9=_0x300f5b;return this[_0x2612d9(0xc2)][_0x2612d9(0xba)](exports['FCollaboration'],{'getUniverSheet':_0x205d3f=>this[_0x2612d9(0xc6)](_0x205d3f)});}['loadServerUnit'](_0x4344e8,_0x45a045,_0x53a86f){var _0x8a58d=_0x300f5b;return this['_injector']['createInstance'](c[_0x8a58d(0xd7)])[_0x8a58d(0xbb)](_0x4344e8,_0x45a045,_0x53a86f);}}l[_0x300f5b(0xc3)]['extend'](u);
1
+ 'use strict';var _0x74fff5=_0x3587;function _0x3587(_0x5853ba,_0x4c171a){var _0x991a83=_0x991a();return _0x3587=function(_0x35872f,_0x52279b){_0x35872f=_0x35872f-0x1e4;var _0x3580b5=_0x991a83[_0x35872f];return _0x3580b5;},_0x3587(_0x5853ba,_0x4c171a);}(function(_0x510c81,_0x5837f2){var _0x4e6cb3=_0x3587,_0x4a1cc7=_0x510c81();while(!![]){try{var _0x748ea2=parseInt(_0x4e6cb3(0x1eb))/0x1*(-parseInt(_0x4e6cb3(0x205))/0x2)+parseInt(_0x4e6cb3(0x214))/0x3+-parseInt(_0x4e6cb3(0x20f))/0x4+-parseInt(_0x4e6cb3(0x213))/0x5+parseInt(_0x4e6cb3(0x200))/0x6*(-parseInt(_0x4e6cb3(0x203))/0x7)+parseInt(_0x4e6cb3(0x1ed))/0x8*(-parseInt(_0x4e6cb3(0x1ee))/0x9)+parseInt(_0x4e6cb3(0x1f1))/0xa*(parseInt(_0x4e6cb3(0x1f3))/0xb);if(_0x748ea2===_0x5837f2)break;else _0x4a1cc7['push'](_0x4a1cc7['shift']());}catch(_0x4c1e9c){_0x4a1cc7['push'](_0x4a1cc7['shift']());}}}(_0x991a,0x2c5d2));Object[_0x74fff5(0x1f2)](exports,Symbol[_0x74fff5(0x215)],{'value':'Module'});const c=require(_0x74fff5(0x209)),l=require(_0x74fff5(0x20e)),v=require(_0x74fff5(0x20b)),i=require(_0x74fff5(0x20a)),b=require(_0x74fff5(0x1f6));var S=Object[_0x74fff5(0x212)],d=(_0x2eb531,_0x5ef2c3,_0x13cdb7,_0x4b2113)=>{var _0x133701=_0x74fff5;for(var _0x38183e=_0x4b2113>0x1?void 0x0:_0x4b2113?S(_0x5ef2c3,_0x13cdb7):_0x5ef2c3,_0x101a9a=_0x2eb531[_0x133701(0x1f7)]-0x1,_0x50bb48;_0x101a9a>=0x0;_0x101a9a--)(_0x50bb48=_0x2eb531[_0x101a9a])&&(_0x38183e=_0x50bb48(_0x38183e)||_0x38183e);return _0x38183e;},s=(_0x51e1d4,_0x4355a8)=>(_0x3a28e7,_0x2bee2a)=>_0x4355a8(_0x3a28e7,_0x2bee2a,_0x51e1d4);exports[_0x74fff5(0x211)]=class extends l['FBase']{constructor(_0x29124c,_0x268df4,_0x56fd66,_0x3ba4b0,_0x22b609){var _0x131207=_0x74fff5;super(),this[_0x131207(0x217)]=_0x29124c,this[_0x131207(0x201)]=_0x268df4,this[_0x131207(0x1e7)]=_0x56fd66,this[_0x131207(0x1e4)]=_0x3ba4b0,this[_0x131207(0x1f9)]=_0x22b609;}async[_0x74fff5(0x1ea)](){var _0x7a9a18=_0x74fff5;return this[_0x7a9a18(0x1f0)]();}async[_0x74fff5(0x1f0)](){var _0x5c9f6f=_0x74fff5;throw new Error(_0x5c9f6f(0x208));}async['loadSheet'](_0x101717){return this['loadSheetAsync'](_0x101717);}async[_0x74fff5(0x1ec)](_0x4a7396,_0x2921c8){var _0x1a54e1=_0x74fff5;return await this[_0x1a54e1(0x1e4)][_0x1a54e1(0x1ff)](_0x4a7396,0x0,_0x2921c8)?(await this[_0x1a54e1(0x1f9)][_0x1a54e1(0x204)](_0x4a7396),this[_0x1a54e1(0x217)][_0x1a54e1(0x1f5)](_0x4a7396)):null;}[_0x74fff5(0x1f8)](_0x46733f,_0x56837e){var _0x1eeb7f=_0x74fff5;const _0x3b523e=this['_injector'][_0x1eeb7f(0x207)](c[_0x1eeb7f(0x1e9)])[_0x1eeb7f(0x1f4)](_0x46733f)[_0x1eeb7f(0x1e6)](b[_0x1eeb7f(0x1fc)](_0x41e6e3=>_0x41e6e3[_0x1eeb7f(0x216)]))['subscribe'](_0x59b3ed=>_0x56837e(Array[_0x1eeb7f(0x206)](_0x59b3ed[_0x1eeb7f(0x1fa)]())));return i[_0x1eeb7f(0x20d)](_0x3b523e);}},exports['FCollaboration']=d([s(0x1,i[_0x74fff5(0x1fd)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x74fff5(0x1fd)](v['SnapshotService'])),s(0x4,i[_0x74fff5(0x1fd)](c[_0x74fff5(0x1fb)]))],exports[_0x74fff5(0x211)]);function _0x991a(){var _0x38e8bb=['loadActiveSheet','1vjZTCW','loadSheetAsync','8IruFzo','2286999nvWtqt','getCollaboration','loadActiveSheetAsync','634190pNfjqO','defineProperty','88VPhGgc','waitForRoom$','getUniverSheet','rxjs','length','subscribeCollaborators','_collaborationController','values','CollaborationController','switchMap','Inject','FUniver','loadSheet','102MxbpMy','_injector','extend','27195rbpzmq','readyForCollab','69698aenncA','from','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs-pro/collaboration-client','@univerjs/core','@univerjs-pro/collaboration','createInstance','toDisposable','@univerjs/core/facade','145888ifhdOD','loadUnit','FCollaboration','getOwnPropertyDescriptor','205655iSRmjs','320910QLLsIY','toStringTag','members$','_handler','_snapshotService','DataLoaderService','pipe','_univerInstanceService','loadServerUnit','MemberService'];_0x991a=function(){return _0x38e8bb;};return _0x991a();}class u extends l[_0x74fff5(0x1fe)]{[_0x74fff5(0x1ef)](){var _0x29d012=_0x74fff5;return this[_0x29d012(0x201)]['createInstance'](exports[_0x29d012(0x211)],{'getUniverSheet':_0x11dd8f=>this[_0x29d012(0x1f5)](_0x11dd8f)});}[_0x74fff5(0x1e8)](_0x240145,_0x1e2deb,_0x2c823d){var _0x25f7c9=_0x74fff5;return this[_0x25f7c9(0x201)][_0x25f7c9(0x20c)](c[_0x25f7c9(0x1e5)])[_0x25f7c9(0x210)](_0x240145,_0x1e2deb,_0x2c823d);}}l['FUniver'][_0x74fff5(0x202)](u);