@univerjs-pro/collaboration-client 0.6.5-nightly.202503131607 → 0.6.6-nightly.202503141606

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 _0x2a4c30=_0x2f72;(function(_0x51a2b8,_0x2f6c79){var _0x387f0f=_0x2f72,_0x24e629=_0x51a2b8();while(!![]){try{var _0x5d3ae4=parseInt(_0x387f0f(0xab))/0x1*(-parseInt(_0x387f0f(0x99))/0x2)+parseInt(_0x387f0f(0x8a))/0x3*(parseInt(_0x387f0f(0xa5))/0x4)+-parseInt(_0x387f0f(0x97))/0x5+-parseInt(_0x387f0f(0xa1))/0x6*(-parseInt(_0x387f0f(0xaa))/0x7)+-parseInt(_0x387f0f(0x8f))/0x8*(-parseInt(_0x387f0f(0x89))/0x9)+-parseInt(_0x387f0f(0x8c))/0xa*(parseInt(_0x387f0f(0xb5))/0xb)+-parseInt(_0x387f0f(0x98))/0xc;if(_0x5d3ae4===_0x2f6c79)break;else _0x24e629['push'](_0x24e629['shift']());}catch(_0x3bfa84){_0x24e629['push'](_0x24e629['shift']());}}}(_0x32e5,0x9ac68));function _0x32e5(){var _0x4e9981=['createInstance','@univerjs-pro/collaboration-client','19662UePwxI','Injector','extend','CollaborationController','24CwbfTd','SnapshotService','_handler','subscribeCollaborators','Module','1183nGspvX','20MgVKUB','loadActiveSheetAsync','@univerjs/core','FBase','getCollaboration','_collaborationController','_univerInstanceService','waitForRoom$','subscribe','Inject','570097AgmqPh','loadActiveSheet','values','1767069qaPDFS','601149sLgTfx','loadSheetAsync','70wPlAjk','members$','switchMap','24kOLvFy','_snapshotService','getUniverSheet','FCollaboration','toStringTag','get','MemberService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','326490odThxJ','14002884rqlJRX','11618uhgfYU','loadSheet','length','_injector','FUniver','toDisposable'];_0x32e5=function(){return _0x4e9981;};return _0x32e5();}Object['defineProperty'](exports,Symbol[_0x2a4c30(0x93)],{'value':_0x2a4c30(0xa9)});const l=require('@univerjs/core/facade'),b=require('@univerjs-pro/collaboration'),h=require(_0x2a4c30(0xa0)),i=require(_0x2a4c30(0xad)),v=require('rxjs');var u=Object['getOwnPropertyDescriptor'],S=(_0x4982bc,_0x551a88,_0x3af579,_0x2960a7)=>{var _0x1b16b4=_0x2a4c30;for(var _0x499d31=_0x2960a7>0x1?void 0x0:_0x2960a7?u(_0x551a88,_0x3af579):_0x551a88,_0x5f567a=_0x4982bc[_0x1b16b4(0x9b)]-0x1,_0x23a9d7;_0x5f567a>=0x0;_0x5f567a--)(_0x23a9d7=_0x4982bc[_0x5f567a])&&(_0x499d31=_0x23a9d7(_0x499d31)||_0x499d31);return _0x499d31;},s=(_0x1cc702,_0x1a68b0)=>(_0x26a7ec,_0x1490d8)=>_0x1a68b0(_0x26a7ec,_0x1490d8,_0x1cc702);exports[_0x2a4c30(0x92)]=class extends l[_0x2a4c30(0xae)]{constructor(_0x400db9,_0x553b9c,_0x1a4986,_0x4a8c91,_0x537178){var _0x4de891=_0x2a4c30;super(),this[_0x4de891(0xa7)]=_0x400db9,this[_0x4de891(0x9c)]=_0x553b9c,this[_0x4de891(0xb1)]=_0x1a4986,this[_0x4de891(0x90)]=_0x4a8c91,this[_0x4de891(0xb0)]=_0x537178;}async[_0x2a4c30(0x87)](){var _0x9d9274=_0x2a4c30;return this[_0x9d9274(0xac)]();}async[_0x2a4c30(0xac)](){var _0x22df05=_0x2a4c30;throw new Error(_0x22df05(0x96));}async[_0x2a4c30(0x9a)](_0x4923e7){var _0x359213=_0x2a4c30;return this[_0x359213(0x8b)](_0x4923e7);}async['loadSheetAsync'](_0x17e0ba,_0x56fa07){var _0x6bac1c=_0x2a4c30;return await this[_0x6bac1c(0x90)][_0x6bac1c(0x9a)](_0x17e0ba,0x0,_0x56fa07)?(await this[_0x6bac1c(0xb0)]['readyForCollab'](_0x17e0ba),this[_0x6bac1c(0xa7)][_0x6bac1c(0x91)](_0x17e0ba)):null;}[_0x2a4c30(0xa8)](_0x1f441a,_0x34102e){var _0x247821=_0x2a4c30;const _0x3493b9=this[_0x247821(0x9c)][_0x247821(0x94)](h[_0x247821(0x95)])[_0x247821(0xb2)](_0x1f441a)['pipe'](v[_0x247821(0x8e)](_0x369497=>_0x369497[_0x247821(0x8d)]))[_0x247821(0xb3)](_0x2be817=>_0x34102e(Array['from'](_0x2be817[_0x247821(0x88)]())));return i[_0x247821(0x9e)](_0x3493b9);}},exports['FCollaboration']=S([s(0x1,i[_0x2a4c30(0xb4)](i[_0x2a4c30(0xa2)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x2a4c30(0xb4)](b[_0x2a4c30(0xa6)])),s(0x4,i[_0x2a4c30(0xb4)](h[_0x2a4c30(0xa4)]))],exports[_0x2a4c30(0x92)]);class d extends l[_0x2a4c30(0x9d)]{[_0x2a4c30(0xaf)](){var _0x44b4a7=_0x2a4c30;return this['_injector'][_0x44b4a7(0x9f)](exports[_0x44b4a7(0x92)],{'getUniverSheet':_0x59b9bc=>this[_0x44b4a7(0x91)](_0x59b9bc)});}}function _0x2f72(_0x43cadf,_0x503075){var _0x32e52a=_0x32e5();return _0x2f72=function(_0x2f7271,_0x52cee5){_0x2f7271=_0x2f7271-0x87;var _0x153315=_0x32e52a[_0x2f7271];return _0x153315;},_0x2f72(_0x43cadf,_0x503075);}l[_0x2a4c30(0x9d)][_0x2a4c30(0xa3)](d);
1
+ 'use strict';var _0x2e2710=_0x489f;(function(_0x465ed5,_0x17a251){var _0x15dbcd=_0x489f,_0x5e525c=_0x465ed5();while(!![]){try{var _0x247211=-parseInt(_0x15dbcd(0xc3))/0x1+-parseInt(_0x15dbcd(0xd6))/0x2*(parseInt(_0x15dbcd(0xdf))/0x3)+-parseInt(_0x15dbcd(0xcd))/0x4*(-parseInt(_0x15dbcd(0xbf))/0x5)+-parseInt(_0x15dbcd(0xc1))/0x6*(-parseInt(_0x15dbcd(0xc9))/0x7)+parseInt(_0x15dbcd(0xbb))/0x8+-parseInt(_0x15dbcd(0xb6))/0x9+parseInt(_0x15dbcd(0xd3))/0xa*(parseInt(_0x15dbcd(0xcc))/0xb);if(_0x247211===_0x17a251)break;else _0x5e525c['push'](_0x5e525c['shift']());}catch(_0x50a4ec){_0x5e525c['push'](_0x5e525c['shift']());}}}(_0x117f,0xaed6f));Object[_0x2e2710(0xd8)](exports,Symbol[_0x2e2710(0xb8)],{'value':_0x2e2710(0xc4)});const l=require('@univerjs/core/facade'),b=require(_0x2e2710(0xe0)),h=require('@univerjs-pro/collaboration-client'),i=require(_0x2e2710(0xb9)),v=require(_0x2e2710(0xb5));var u=Object[_0x2e2710(0xbd)],S=(_0x694e0a,_0x58c493,_0x4a9a5e,_0x4c9825)=>{for(var _0x2003a0=_0x4c9825>0x1?void 0x0:_0x4c9825?u(_0x58c493,_0x4a9a5e):_0x58c493,_0xced346=_0x694e0a['length']-0x1,_0x28d907;_0xced346>=0x0;_0xced346--)(_0x28d907=_0x694e0a[_0xced346])&&(_0x2003a0=_0x28d907(_0x2003a0)||_0x2003a0);return _0x2003a0;},s=(_0x2363a1,_0xe99229)=>(_0x251cd8,_0x261057)=>_0xe99229(_0x251cd8,_0x261057,_0x2363a1);exports['FCollaboration']=class extends l[_0x2e2710(0xdb)]{constructor(_0x515ea6,_0x5d84a1,_0x3c30ff,_0x1d7599,_0x172264){var _0x4724e4=_0x2e2710;super(),this['_handler']=_0x515ea6,this[_0x4724e4(0xce)]=_0x5d84a1,this['_univerInstanceService']=_0x3c30ff,this[_0x4724e4(0xd2)]=_0x1d7599,this[_0x4724e4(0xcb)]=_0x172264;}async[_0x2e2710(0xbc)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){var _0x1adbee=_0x2e2710;throw new Error(_0x1adbee(0xdd));}async[_0x2e2710(0xda)](_0x4e4e32){var _0x383f32=_0x2e2710;return this[_0x383f32(0xdc)](_0x4e4e32);}async['loadSheetAsync'](_0x41e399,_0x1b7553){var _0x51ecdd=_0x2e2710;return await this['_snapshotService'][_0x51ecdd(0xda)](_0x41e399,0x0,_0x1b7553)?(await this[_0x51ecdd(0xcb)][_0x51ecdd(0xde)](_0x41e399),this[_0x51ecdd(0xd5)][_0x51ecdd(0xc8)](_0x41e399)):null;}[_0x2e2710(0xd0)](_0x112611,_0x5b2d95){var _0x301832=_0x2e2710;const _0x263c02=this[_0x301832(0xce)]['get'](h[_0x301832(0xc5)])[_0x301832(0xca)](_0x112611)[_0x301832(0xd4)](v[_0x301832(0xb7)](_0x50b2ce=>_0x50b2ce['members$']))[_0x301832(0xba)](_0x25c43c=>_0x5b2d95(Array[_0x301832(0xd7)](_0x25c43c[_0x301832(0xc2)]())));return i[_0x301832(0xbe)](_0x263c02);}},exports[_0x2e2710(0xc0)]=S([s(0x1,i[_0x2e2710(0xc6)](i[_0x2e2710(0xcf)])),s(0x2,i[_0x2e2710(0xc7)]),s(0x3,i['Inject'](b['SnapshotService'])),s(0x4,i[_0x2e2710(0xc6)](h['CollaborationController']))],exports[_0x2e2710(0xc0)]);class d extends l['FUniver']{['getCollaboration'](){var _0x3e923f=_0x2e2710;return this[_0x3e923f(0xce)][_0x3e923f(0xd1)](exports['FCollaboration'],{'getUniverSheet':_0x1922a6=>this[_0x3e923f(0xc8)](_0x1922a6)});}}function _0x489f(_0x2e29a4,_0x2b74a1){var _0x117ff3=_0x117f();return _0x489f=function(_0x489f5c,_0x50c959){_0x489f5c=_0x489f5c-0xb5;var _0x46b9ab=_0x117ff3[_0x489f5c];return _0x46b9ab;},_0x489f(_0x2e29a4,_0x2b74a1);}function _0x117f(){var _0x4af8af=['_injector','Injector','subscribeCollaborators','createInstance','_snapshotService','980FnXzlz','pipe','_handler','2HeYumT','from','defineProperty','FUniver','loadSheet','FBase','loadSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','readyForCollab','3802209wawYaI','@univerjs-pro/collaboration','rxjs','4750236XZKXfJ','switchMap','toStringTag','@univerjs/core','subscribe','2932616zvtKCH','loadActiveSheet','getOwnPropertyDescriptor','toDisposable','15Vabkgp','FCollaboration','231684gPOSyE','values','1267998mKCAcB','Module','MemberService','Inject','IUniverInstanceService','getUniverSheet','77cJvdqN','waitForRoom$','_collaborationController','273548baWliM','734604OjnNhm'];_0x117f=function(){return _0x4af8af;};return _0x117f();}l[_0x2e2710(0xd9)]['extend'](d);