@univerjs-pro/collaboration-client 0.8.1-nightly.202506141606 → 0.8.1-nightly.202506161607

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 _0x47ea65=_0x4d39;function _0x4d39(_0x1c7e5a,_0x2c9832){var _0x501098=_0x5010();return _0x4d39=function(_0x4d39fa,_0x50c54e){_0x4d39fa=_0x4d39fa-0xa7;var _0x11c098=_0x501098[_0x4d39fa];return _0x11c098;},_0x4d39(_0x1c7e5a,_0x2c9832);}function _0x5010(){var _0x17676a=['CollaborationController','3338WhoKoL','getUniverSheet','loadActiveSheetAsync','100DNSNVQ','FCollaboration','35YXvmGv','SnapshotService','266lQtxVE','loadSheet','defineProperty','loadSheetAsync','_handler','switchMap','loadServerUnit','_collaborationController','subscribeCollaborators','_univerInstanceService','@univerjs-pro/collaboration-client','members$','50874zNwSTU','pipe','from','7534185CxemxQ','getOwnPropertyDescriptor','FBase','9217448QYZDqs','toStringTag','@univerjs/core','Inject','_snapshotService','1161045qdZAnz','rxjs','252zJAlxb','readyForCollab','798061nAxhQw','MemberService','747072KILuVp','loadUnitOfRevision','FUniver','IUniverInstanceService','Module','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','@univerjs-pro/collaboration','toDisposable','extend','length','createInstance','loadUnit','DataLoaderService','Injector','16ZwrcFJ'];_0x5010=function(){return _0x17676a;};return _0x5010();}(function(_0x1af602,_0x191533){var _0x570db1=_0x4d39,_0x9f450f=_0x1af602();while(!![]){try{var _0x67d340=-parseInt(_0x570db1(0xcb))/0x1*(parseInt(_0x570db1(0xc6))/0x2)+-parseInt(_0x570db1(0xae))/0x3*(parseInt(_0x570db1(0xc4))/0x4)+parseInt(_0x570db1(0xdc))/0x5+parseInt(_0x570db1(0xd9))/0x6*(-parseInt(_0x570db1(0xcd))/0x7)+-parseInt(_0x570db1(0xa9))/0x8+-parseInt(_0x570db1(0xb4))/0x9*(-parseInt(_0x570db1(0xc9))/0xa)+parseInt(_0x570db1(0xb2))/0xb*(parseInt(_0x570db1(0xb0))/0xc);if(_0x67d340===_0x191533)break;else _0x9f450f['push'](_0x9f450f['shift']());}catch(_0x2477aa){_0x9f450f['push'](_0x9f450f['shift']());}}}(_0x5010,0xbe56e));Object[_0x47ea65(0xcf)](exports,Symbol[_0x47ea65(0xaa)],{'value':_0x47ea65(0xb8)});const c=require(_0x47ea65(0xd7)),l=require('@univerjs/core/facade'),h=require(_0x47ea65(0xbc)),n=require(_0x47ea65(0xab)),b=require(_0x47ea65(0xaf));var d=Object[_0x47ea65(0xa7)],S=(_0x48a5c4,_0x1bebcb,_0x2d39e0,_0x5cbe47)=>{var _0x29fe4f=_0x47ea65;for(var _0x1250f6=_0x5cbe47>0x1?void 0x0:_0x5cbe47?d(_0x1bebcb,_0x2d39e0):_0x1bebcb,_0x52fc2b=_0x48a5c4[_0x29fe4f(0xbf)]-0x1,_0x1442a2;_0x52fc2b>=0x0;_0x52fc2b--)(_0x1442a2=_0x48a5c4[_0x52fc2b])&&(_0x1250f6=_0x1442a2(_0x1250f6)||_0x1250f6);return _0x1250f6;},s=(_0xa4130d,_0x5537b6)=>(_0x3b68fd,_0x39f9f0)=>_0x5537b6(_0x3b68fd,_0x39f9f0,_0xa4130d);exports[_0x47ea65(0xca)]=class extends l[_0x47ea65(0xa8)]{constructor(_0xeeab51,_0x38918d,_0x12bb93,_0x1350e1,_0x21515f){var _0x59cb19=_0x47ea65;super(),this[_0x59cb19(0xd1)]=_0xeeab51,this[_0x59cb19(0xbb)]=_0x38918d,this[_0x59cb19(0xd6)]=_0x12bb93,this['_snapshotService']=_0x1350e1,this[_0x59cb19(0xd4)]=_0x21515f;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x47ea65(0xc8)](){var _0x1a1e35=_0x47ea65;throw new Error(_0x1a1e35(0xba));}async['loadSheet'](_0x414e1a){var _0x4be5ab=_0x47ea65;return this[_0x4be5ab(0xd0)](_0x414e1a);}async[_0x47ea65(0xd0)](_0x437407,_0x7829c4){var _0x5a9235=_0x47ea65;return await this[_0x5a9235(0xad)][_0x5a9235(0xce)](_0x437407,0x0,_0x7829c4)?(await this[_0x5a9235(0xd4)][_0x5a9235(0xb1)](_0x437407),this['_handler'][_0x5a9235(0xc7)](_0x437407)):null;}[_0x47ea65(0xd5)](_0xbd100f,_0x124942){var _0x675fed=_0x47ea65;const _0x172d00=this[_0x675fed(0xbb)][_0x675fed(0xb9)](c[_0x675fed(0xb3)])['waitForRoom$'](_0xbd100f)[_0x675fed(0xda)](b[_0x675fed(0xd2)](_0x3c90d9=>_0x3c90d9[_0x675fed(0xd8)]))['subscribe'](_0x26cf58=>_0x124942(Array[_0x675fed(0xdb)](_0x26cf58['values']())));return n[_0x675fed(0xbd)](_0x172d00);}},exports[_0x47ea65(0xca)]=S([s(0x1,n[_0x47ea65(0xac)](n[_0x47ea65(0xc3)])),s(0x2,n[_0x47ea65(0xb7)]),s(0x3,n[_0x47ea65(0xac)](h[_0x47ea65(0xcc)])),s(0x4,n[_0x47ea65(0xac)](c[_0x47ea65(0xc5)]))],exports['FCollaboration']);class u extends l[_0x47ea65(0xb6)]{['getCollaboration'](){var _0x3a8ed9=_0x47ea65;return this['_injector'][_0x3a8ed9(0xc0)](exports['FCollaboration'],{'getUniverSheet':_0x4cb407=>this[_0x3a8ed9(0xc7)](_0x4cb407)});}[_0x47ea65(0xd3)](_0x3bfee0,_0x18d12b,_0x89efbd){var _0xcfc6b0=_0x47ea65;return this['_injector'][_0xcfc6b0(0xb9)](c[_0xcfc6b0(0xc2)])[_0xcfc6b0(0xc1)](_0x3bfee0,_0x18d12b,_0x89efbd);}['loadServerUnitOfRevision'](_0xff8a0d,_0x2eb1c9,_0x59466b){var _0x1ef97e=_0x47ea65;return this[_0x1ef97e(0xbb)][_0x1ef97e(0xb9)](c[_0x1ef97e(0xc2)])[_0x1ef97e(0xb5)](_0xff8a0d,_0x2eb1c9,_0x59466b);}}l[_0x47ea65(0xb6)][_0x47ea65(0xbe)](u);
1
+ 'use strict';var _0x3691d9=_0x3c7d;(function(_0x119be0,_0x319419){var _0x358962=_0x3c7d,_0xb41848=_0x119be0();while(!![]){try{var _0x106989=-parseInt(_0x358962(0x209))/0x1+parseInt(_0x358962(0x1ef))/0x2+parseInt(_0x358962(0x1f7))/0x3+parseInt(_0x358962(0x1fb))/0x4+-parseInt(_0x358962(0x1f9))/0x5+-parseInt(_0x358962(0x203))/0x6*(-parseInt(_0x358962(0x1f6))/0x7)+parseInt(_0x358962(0x204))/0x8*(-parseInt(_0x358962(0x200))/0x9);if(_0x106989===_0x319419)break;else _0xb41848['push'](_0xb41848['shift']());}catch(_0x541bef){_0xb41848['push'](_0xb41848['shift']());}}}(_0x367b,0x2d909));function _0x367b(){var _0x3a1070=['loadActiveSheet','switchMap','2143647QYnqep','FBase','getUniverSheet','12OdCvrO','8EnNPgo','FCollaboration','MemberService','IUniverInstanceService','loadActiveSheetAsync','132686SfBtgX','@univerjs/core/facade','Module','get','extend','_snapshotService','CollaborationController','@univerjs-pro/collaboration-client','pipe','readyForCollab','DataLoaderService','loadUnit','defineProperty','loadServerUnit','getCollaboration','loadUnitOfRevision','loadSheetAsync','@univerjs/core','Injector','subscribe','@univerjs-pro/collaboration','510262FWzMNP','Inject','_injector','toDisposable','toStringTag','_collaborationController','FUniver','862274hqCKuM','273609ONfWOv','subscribeCollaborators','385175WRDnqi','loadServerUnitOfRevision','167356hAwylt','loadSheet','members$'];_0x367b=function(){return _0x3a1070;};return _0x367b();}function _0x3c7d(_0x295361,_0x417179){var _0x367b37=_0x367b();return _0x3c7d=function(_0x3c7d7a,_0x553e10){_0x3c7d7a=_0x3c7d7a-0x1e7;var _0x3b8e86=_0x367b37[_0x3c7d7a];return _0x3b8e86;},_0x3c7d(_0x295361,_0x417179);}Object[_0x3691d9(0x215)](exports,Symbol[_0x3691d9(0x1f3)],{'value':_0x3691d9(0x20b)});const c=require(_0x3691d9(0x210)),l=require(_0x3691d9(0x20a)),h=require(_0x3691d9(0x1ee)),n=require(_0x3691d9(0x1eb)),b=require('rxjs');var d=Object['getOwnPropertyDescriptor'],S=(_0x23825a,_0x49cb5d,_0x16e138,_0x575cc6)=>{for(var _0xbf4657=_0x575cc6>0x1?void 0x0:_0x575cc6?d(_0x49cb5d,_0x16e138):_0x49cb5d,_0x4fbd9f=_0x23825a['length']-0x1,_0x55976f;_0x4fbd9f>=0x0;_0x4fbd9f--)(_0x55976f=_0x23825a[_0x4fbd9f])&&(_0xbf4657=_0x55976f(_0xbf4657)||_0xbf4657);return _0xbf4657;},s=(_0x2e4292,_0x31422c)=>(_0x3b513c,_0xb6af46)=>_0x31422c(_0x3b513c,_0xb6af46,_0x2e4292);exports[_0x3691d9(0x205)]=class extends l[_0x3691d9(0x201)]{constructor(_0x431edb,_0x1a7df1,_0x5f5030,_0xa8c5d3,_0x156787){var _0x30805c=_0x3691d9;super(),this['_handler']=_0x431edb,this['_injector']=_0x1a7df1,this['_univerInstanceService']=_0x5f5030,this[_0x30805c(0x20e)]=_0xa8c5d3,this[_0x30805c(0x1f4)]=_0x156787;}async[_0x3691d9(0x1fe)](){var _0x27b0c7=_0x3691d9;return this[_0x27b0c7(0x208)]();}async[_0x3691d9(0x208)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x153b79){var _0x260bc7=_0x3691d9;return this[_0x260bc7(0x1ea)](_0x153b79);}async['loadSheetAsync'](_0x5f000d,_0x2d66d0){var _0x3b884e=_0x3691d9;return await this[_0x3b884e(0x20e)][_0x3b884e(0x1fc)](_0x5f000d,0x0,_0x2d66d0)?(await this[_0x3b884e(0x1f4)][_0x3b884e(0x212)](_0x5f000d),this['_handler'][_0x3b884e(0x202)](_0x5f000d)):null;}[_0x3691d9(0x1f8)](_0x57ccf5,_0x128bc6){var _0xd47cf=_0x3691d9;const _0x3e5c5e=this[_0xd47cf(0x1f1)][_0xd47cf(0x20c)](c[_0xd47cf(0x206)])['waitForRoom$'](_0x57ccf5)[_0xd47cf(0x211)](b[_0xd47cf(0x1ff)](_0x1663cd=>_0x1663cd[_0xd47cf(0x1fd)]))[_0xd47cf(0x1ed)](_0x4ba6f4=>_0x128bc6(Array['from'](_0x4ba6f4['values']())));return n[_0xd47cf(0x1f2)](_0x3e5c5e);}},exports['FCollaboration']=S([s(0x1,n[_0x3691d9(0x1f0)](n[_0x3691d9(0x1ec)])),s(0x2,n[_0x3691d9(0x207)]),s(0x3,n['Inject'](h['SnapshotService'])),s(0x4,n['Inject'](c[_0x3691d9(0x20f)]))],exports[_0x3691d9(0x205)]);class u extends l[_0x3691d9(0x1f5)]{[_0x3691d9(0x1e8)](){var _0x29c34e=_0x3691d9;return this['_injector']['createInstance'](exports[_0x29c34e(0x205)],{'getUniverSheet':_0x2191d5=>this[_0x29c34e(0x202)](_0x2191d5)});}[_0x3691d9(0x1e7)](_0x3ccbe6,_0x1dea54,_0x426978){var _0x298048=_0x3691d9;return this[_0x298048(0x1f1)][_0x298048(0x20c)](c[_0x298048(0x213)])[_0x298048(0x214)](_0x3ccbe6,_0x1dea54,_0x426978);}[_0x3691d9(0x1fa)](_0x44dedd,_0x5ca9c2,_0x286436){var _0x44fd2f=_0x3691d9;return this[_0x44fd2f(0x1f1)][_0x44fd2f(0x20c)](c[_0x44fd2f(0x213)])[_0x44fd2f(0x1e9)](_0x44dedd,_0x5ca9c2,_0x286436);}}l[_0x3691d9(0x1f5)][_0x3691d9(0x20d)](u);