@univerjs-pro/collaboration-client 0.5.4-nightly.202501160704 → 0.5.4-nightly.202501160949

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 _0x41f1c8=_0x2d2a;function _0x2d2a(_0x11b716,_0x47ff2d){var _0x2d8773=_0x2d87();return _0x2d2a=function(_0x2d2aa4,_0x5a4305){_0x2d2aa4=_0x2d2aa4-0xb5;var _0x5f1866=_0x2d8773[_0x2d2aa4];return _0x5f1866;},_0x2d2a(_0x11b716,_0x47ff2d);}(function(_0x3caf12,_0x4e7652){var _0xd17da2=_0x2d2a,_0xcd5b32=_0x3caf12();while(!![]){try{var _0x2342ec=-parseInt(_0xd17da2(0xbd))/0x1*(-parseInt(_0xd17da2(0xb5))/0x2)+parseInt(_0xd17da2(0xc4))/0x3*(-parseInt(_0xd17da2(0xdd))/0x4)+-parseInt(_0xd17da2(0xd0))/0x5*(parseInt(_0xd17da2(0xbf))/0x6)+-parseInt(_0xd17da2(0xc8))/0x7+parseInt(_0xd17da2(0xd9))/0x8+parseInt(_0xd17da2(0xcf))/0x9*(parseInt(_0xd17da2(0xd7))/0xa)+-parseInt(_0xd17da2(0xcd))/0xb*(-parseInt(_0xd17da2(0xd8))/0xc);if(_0x2342ec===_0x4e7652)break;else _0xcd5b32['push'](_0xcd5b32['shift']());}catch(_0x2a05e5){_0xcd5b32['push'](_0xcd5b32['shift']());}}}(_0x2d87,0xb099f));Object['defineProperty'](exports,Symbol[_0x41f1c8(0xd1)],{'value':_0x41f1c8(0xbb)});const o=require(_0x41f1c8(0xb8)),h=require('@univerjs-pro/collaboration'),c=require(_0x41f1c8(0xca)),b=require('rxjs');var v=Object['defineProperty'],u=Object['getOwnPropertyDescriptor'],S=(_0x572faa,_0x4d85c5,_0x12ffff,_0x139a4f)=>{var _0x4a7292=_0x41f1c8;for(var _0x2ec8d7=_0x139a4f>0x1?void 0x0:_0x139a4f?u(_0x4d85c5,_0x12ffff):_0x4d85c5,_0x6ad2a3=_0x572faa[_0x4a7292(0xce)]-0x1,_0x4fde45;_0x6ad2a3>=0x0;_0x6ad2a3--)(_0x4fde45=_0x572faa[_0x6ad2a3])&&(_0x2ec8d7=(_0x139a4f?_0x4fde45(_0x4d85c5,_0x12ffff,_0x2ec8d7):_0x4fde45(_0x2ec8d7))||_0x2ec8d7);return _0x139a4f&&_0x2ec8d7&&v(_0x4d85c5,_0x12ffff,_0x2ec8d7),_0x2ec8d7;},s=(_0xa23b74,_0x10915c)=>(_0x306d06,_0x3d5a24)=>_0x10915c(_0x306d06,_0x3d5a24,_0xa23b74);function _0x2d87(){var _0x245904=['_univerInstanceService','6mZDDCr','FBase','loadActiveSheet','_snapshotService','subscribe','480XSFUOZ','CollaborationController','loadSheetAsync','loadSheet','26936AIsvzl','FCollaboration','@univerjs-pro/collaboration-client','waitForRoom$','loadActiveSheetAsync','1412829xWgVii','length','902133sngXws','3221285USDDnN','toStringTag','values','_injector','extend','subscribeCollaborators','Inject','20AShWCu','24kpVBRE','9387288HOvWqN','SnapshotService','MemberService','_handler','28232Jrogmk','toDisposable','518JiELRT','getCollaboration','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core','FUniver','_collaborationController','Module','getUniverSheet','3359BlXaHx'];_0x2d87=function(){return _0x245904;};return _0x2d87();}exports[_0x41f1c8(0xc9)]=class extends o[_0x41f1c8(0xc0)]{constructor(_0xd8f3,_0x51682b,_0x474b84,_0x3b6034,_0xa695de){var _0x551bf4=_0x41f1c8;super(),this[_0x551bf4(0xdc)]=_0xd8f3,this[_0x551bf4(0xd3)]=_0x51682b,this['_univerInstanceService']=_0x474b84,this[_0x551bf4(0xc2)]=_0x3b6034,this[_0x551bf4(0xba)]=_0xa695de;}async[_0x41f1c8(0xc1)](){var _0x2c1680=_0x41f1c8;return this[_0x2c1680(0xcc)]();}async['loadActiveSheetAsync'](){var _0x5283a2=_0x41f1c8;throw new Error(_0x5283a2(0xb7));}async[_0x41f1c8(0xc7)](_0x311231){return this['loadSheetAsync'](_0x311231);}async[_0x41f1c8(0xc6)](_0xa1972b){var _0x47d897=_0x41f1c8;return this[_0x47d897(0xbe)]['getUnit'](_0xa1972b,o['UniverInstanceType']['UNIVER_SHEET'])||await this[_0x47d897(0xc2)]['loadSheet'](_0xa1972b,0x0)?(await this[_0x47d897(0xba)]['readyForCollab'](_0xa1972b),this[_0x47d897(0xdc)][_0x47d897(0xbc)](_0xa1972b)):null;}[_0x41f1c8(0xd5)](_0x1482c7,_0x1088dd){var _0x4d760d=_0x41f1c8;const _0x985a0e=this['_injector']['get'](c[_0x4d760d(0xdb)])[_0x4d760d(0xcb)](_0x1482c7)['pipe'](b['switchMap'](_0xfe3b0c=>_0xfe3b0c['members$']))[_0x4d760d(0xc3)](_0x3ebf5d=>_0x1088dd(Array['from'](_0x3ebf5d[_0x4d760d(0xd2)]())));return o[_0x4d760d(0xde)](_0x985a0e);}},exports[_0x41f1c8(0xc9)]=S([s(0x1,o['Inject'](o['Injector'])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x41f1c8(0xd6)](h[_0x41f1c8(0xda)])),s(0x4,o[_0x41f1c8(0xd6)](c[_0x41f1c8(0xc5)]))],exports[_0x41f1c8(0xc9)]);class _ extends o[_0x41f1c8(0xb9)]{[_0x41f1c8(0xb6)](){var _0x2be928=_0x41f1c8;return this['_injector']['createInstance'](exports[_0x2be928(0xc9)],{'getUniverSheet':_0x3cf04e=>this[_0x2be928(0xbc)](_0x3cf04e)});}}o[_0x41f1c8(0xb9)][_0x41f1c8(0xd4)](_);
1
+ 'use strict';var _0x2ed896=_0x3101;(function(_0x48cb0a,_0x3d874c){var _0x521344=_0x3101,_0x35bb13=_0x48cb0a();while(!![]){try{var _0x220257=-parseInt(_0x521344(0xb6))/0x1*(parseInt(_0x521344(0xbd))/0x2)+-parseInt(_0x521344(0xc5))/0x3*(parseInt(_0x521344(0xa2))/0x4)+parseInt(_0x521344(0xac))/0x5+-parseInt(_0x521344(0xaf))/0x6*(parseInt(_0x521344(0xc2))/0x7)+parseInt(_0x521344(0x9e))/0x8*(parseInt(_0x521344(0xad))/0x9)+-parseInt(_0x521344(0xc7))/0xa*(parseInt(_0x521344(0xa3))/0xb)+parseInt(_0x521344(0xb9))/0xc*(parseInt(_0x521344(0xa6))/0xd);if(_0x220257===_0x3d874c)break;else _0x35bb13['push'](_0x35bb13['shift']());}catch(_0x573bfe){_0x35bb13['push'](_0x35bb13['shift']());}}}(_0x5e36,0xbcf9b));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x2ed896(0xb4)});const o=require('@univerjs/core'),h=require('@univerjs-pro/collaboration'),c=require('@univerjs-pro/collaboration-client'),b=require('rxjs');function _0x3101(_0x249112,_0x15ef16){var _0x5e36ea=_0x5e36();return _0x3101=function(_0x310158,_0x5aebe5){_0x310158=_0x310158-0x9e;var _0x172259=_0x5e36ea[_0x310158];return _0x172259;},_0x3101(_0x249112,_0x15ef16);}var v=Object['defineProperty'],u=Object[_0x2ed896(0xb5)],S=(_0x465cc2,_0x48728d,_0x40bcc2,_0x258ca2)=>{var _0x10449f=_0x2ed896;for(var _0x5ebbc1=_0x258ca2>0x1?void 0x0:_0x258ca2?u(_0x48728d,_0x40bcc2):_0x48728d,_0x38f091=_0x465cc2[_0x10449f(0xa7)]-0x1,_0x378fd2;_0x38f091>=0x0;_0x38f091--)(_0x378fd2=_0x465cc2[_0x38f091])&&(_0x5ebbc1=(_0x258ca2?_0x378fd2(_0x48728d,_0x40bcc2,_0x5ebbc1):_0x378fd2(_0x5ebbc1))||_0x5ebbc1);return _0x258ca2&&_0x5ebbc1&&v(_0x48728d,_0x40bcc2,_0x5ebbc1),_0x5ebbc1;},s=(_0x121fdf,_0x1db000)=>(_0x37601f,_0x263ae8)=>_0x1db000(_0x37601f,_0x263ae8,_0x121fdf);exports['FCollaboration']=class extends o['FBase']{constructor(_0xf58697,_0x22da25,_0x5a0255,_0x578295,_0x299817){var _0x2daf27=_0x2ed896;super(),this['_handler']=_0xf58697,this['_injector']=_0x22da25,this[_0x2daf27(0x9f)]=_0x5a0255,this[_0x2daf27(0xb1)]=_0x578295,this[_0x2daf27(0xba)]=_0x299817;}async[_0x2ed896(0xc0)](){return this['loadActiveSheetAsync']();}async[_0x2ed896(0xc9)](){var _0x3942e8=_0x2ed896;throw new Error(_0x3942e8(0xa9));}async[_0x2ed896(0xae)](_0x5aff12){var _0x72bb22=_0x2ed896;return this[_0x72bb22(0xa0)](_0x5aff12);}async[_0x2ed896(0xa0)](_0x138a1f){var _0x1c8efb=_0x2ed896;return this[_0x1c8efb(0x9f)][_0x1c8efb(0xc8)](_0x138a1f,o['UniverInstanceType'][_0x1c8efb(0xb0)])||await this[_0x1c8efb(0xb1)][_0x1c8efb(0xae)](_0x138a1f,0x0)?(await this['_collaborationController'][_0x1c8efb(0xb8)](_0x138a1f),this[_0x1c8efb(0xc4)][_0x1c8efb(0xbf)](_0x138a1f)):null;}[_0x2ed896(0xc3)](_0x1221f4,_0x1f23ec){var _0x455a53=_0x2ed896;const _0x2d5e92=this[_0x455a53(0xa4)]['get'](c[_0x455a53(0xa1)])['waitForRoom$'](_0x1221f4)[_0x455a53(0xbc)](b['switchMap'](_0x490be7=>_0x490be7[_0x455a53(0xc6)]))[_0x455a53(0xb3)](_0x45361d=>_0x1f23ec(Array[_0x455a53(0xaa)](_0x45361d[_0x455a53(0xb2)]())));return o['toDisposable'](_0x2d5e92);}},exports[_0x2ed896(0xbe)]=S([s(0x1,o[_0x2ed896(0xab)](o[_0x2ed896(0xa5)])),s(0x2,o['IUniverInstanceService']),s(0x3,o[_0x2ed896(0xab)](h['SnapshotService'])),s(0x4,o[_0x2ed896(0xab)](c['CollaborationController']))],exports['FCollaboration']);function _0x5e36(){var _0x36e0b7=['MemberService','22984tznylW','437569dUTujG','_injector','Injector','13qgneut','length','extend','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','from','Inject','3493850ATCaWC','36ArPKfN','loadSheet','5572794dXIvUY','UNIVER_SHEET','_snapshotService','values','subscribe','Module','getOwnPropertyDescriptor','1ASnCXb','createInstance','readyForCollab','35689872FEJUJy','_collaborationController','FUniver','pipe','2925116qaULog','FCollaboration','getUniverSheet','loadActiveSheet','getCollaboration','7dolgWd','subscribeCollaborators','_handler','456IjSOkD','members$','140QUbWzd','getUnit','loadActiveSheetAsync','1845544qFDPvn','_univerInstanceService','loadSheetAsync'];_0x5e36=function(){return _0x36e0b7;};return _0x5e36();}class _ extends o['FUniver']{[_0x2ed896(0xc1)](){var _0x2b9c50=_0x2ed896;return this['_injector'][_0x2b9c50(0xb7)](exports[_0x2b9c50(0xbe)],{'getUniverSheet':_0x4bf42a=>this[_0x2b9c50(0xbf)](_0x4bf42a)});}}o[_0x2ed896(0xbb)][_0x2ed896(0xa8)](_);