@univerjs-pro/collaboration-client 0.8.0-nightly.202505281606 → 0.8.0-nightly.202505301607

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 _0x24bad8=_0x4a08;(function(_0x3d09d6,_0x53ac12){var _0x4567d6=_0x4a08,_0x205a81=_0x3d09d6();while(!![]){try{var _0x5af191=-parseInt(_0x4567d6(0xac))/0x1+-parseInt(_0x4567d6(0x94))/0x2*(parseInt(_0x4567d6(0x96))/0x3)+parseInt(_0x4567d6(0x99))/0x4+-parseInt(_0x4567d6(0xab))/0x5*(parseInt(_0x4567d6(0x98))/0x6)+-parseInt(_0x4567d6(0x9d))/0x7+parseInt(_0x4567d6(0xad))/0x8*(-parseInt(_0x4567d6(0xa3))/0x9)+parseInt(_0x4567d6(0x81))/0xa;if(_0x5af191===_0x53ac12)break;else _0x205a81['push'](_0x205a81['shift']());}catch(_0x15b65d){_0x205a81['push'](_0x205a81['shift']());}}}(_0x4785,0x80e76));Object[_0x24bad8(0x82)](exports,Symbol['toStringTag'],{'value':_0x24bad8(0xa5)});const c=require(_0x24bad8(0x9c)),l=require(_0x24bad8(0x91)),h=require(_0x24bad8(0xa7)),n=require(_0x24bad8(0x8c)),b=require(_0x24bad8(0xa9));var d=Object['getOwnPropertyDescriptor'],S=(_0x54df4a,_0x149a62,_0x4595b0,_0x105551)=>{var _0x94d34b=_0x24bad8;for(var _0x4ff80d=_0x105551>0x1?void 0x0:_0x105551?d(_0x149a62,_0x4595b0):_0x149a62,_0x17c425=_0x54df4a[_0x94d34b(0x83)]-0x1,_0x5d4f68;_0x17c425>=0x0;_0x17c425--)(_0x5d4f68=_0x54df4a[_0x17c425])&&(_0x4ff80d=_0x5d4f68(_0x4ff80d)||_0x4ff80d);return _0x4ff80d;},s=(_0x10738e,_0x51160c)=>(_0x218f9e,_0x56df00)=>_0x51160c(_0x218f9e,_0x56df00,_0x10738e);function _0x4785(){var _0x326be1=['Module','CollaborationController','@univerjs-pro/collaboration','DataLoaderService','rxjs','FUniver','1172195lbFNOO','355480ymVCmr','40fnZaPj','subscribe','loadUnit','getUniverSheet','_collaborationController','25357400ieOBHn','defineProperty','length','pipe','loadServerUnitOfRevision','waitForRoom$','get','_injector','_handler','SnapshotService','FBase','@univerjs/core','loadUnitOfRevision','IUniverInstanceService','loadSheet','values','@univerjs/core/facade','Inject','loadSheetAsync','36184bxDyjP','_snapshotService','165DEVAun','_univerInstanceService','18gyEtpq','1771276FJeHuA','switchMap','loadActiveSheetAsync','@univerjs-pro/collaboration-client','869589aRibda','members$','extend','createInstance','getCollaboration','from','490473GXooxk','FCollaboration'];_0x4785=function(){return _0x326be1;};return _0x4785();}function _0x4a08(_0x4e0908,_0x5ec259){var _0x4785bd=_0x4785();return _0x4a08=function(_0x4a08d6,_0x51cb72){_0x4a08d6=_0x4a08d6-0x7e;var _0x4b3009=_0x4785bd[_0x4a08d6];return _0x4b3009;},_0x4a08(_0x4e0908,_0x5ec259);}exports[_0x24bad8(0xa4)]=class extends l[_0x24bad8(0x8b)]{constructor(_0x844d78,_0x329da5,_0x5105e0,_0x222d1a,_0xb10c20){var _0x3deaf8=_0x24bad8;super(),this[_0x3deaf8(0x89)]=_0x844d78,this['_injector']=_0x329da5,this[_0x3deaf8(0x97)]=_0x5105e0,this[_0x3deaf8(0x95)]=_0x222d1a,this[_0x3deaf8(0x80)]=_0xb10c20;}async['loadActiveSheet'](){var _0x670619=_0x24bad8;return this[_0x670619(0x9b)]();}async[_0x24bad8(0x9b)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x24bad8(0x8f)](_0x41de5e){var _0x9b1825=_0x24bad8;return this[_0x9b1825(0x93)](_0x41de5e);}async['loadSheetAsync'](_0xd5ce5f,_0x1fbb86){var _0x1ac092=_0x24bad8;return await this[_0x1ac092(0x95)]['loadSheet'](_0xd5ce5f,0x0,_0x1fbb86)?(await this[_0x1ac092(0x80)]['readyForCollab'](_0xd5ce5f),this['_handler'][_0x1ac092(0x7f)](_0xd5ce5f)):null;}['subscribeCollaborators'](_0x5c9bc0,_0x1e25dd){var _0x1e484a=_0x24bad8;const _0x41f383=this[_0x1e484a(0x88)][_0x1e484a(0x87)](c['MemberService'])[_0x1e484a(0x86)](_0x5c9bc0)[_0x1e484a(0x84)](b[_0x1e484a(0x9a)](_0x147d41=>_0x147d41[_0x1e484a(0x9e)]))[_0x1e484a(0xae)](_0x543e8d=>_0x1e25dd(Array[_0x1e484a(0xa2)](_0x543e8d[_0x1e484a(0x90)]())));return n['toDisposable'](_0x41f383);}},exports[_0x24bad8(0xa4)]=S([s(0x1,n[_0x24bad8(0x92)](n['Injector'])),s(0x2,n[_0x24bad8(0x8e)]),s(0x3,n[_0x24bad8(0x92)](h[_0x24bad8(0x8a)])),s(0x4,n[_0x24bad8(0x92)](c[_0x24bad8(0xa6)]))],exports['FCollaboration']);class u extends l[_0x24bad8(0xaa)]{[_0x24bad8(0xa1)](){var _0x2e9e9c=_0x24bad8;return this[_0x2e9e9c(0x88)][_0x2e9e9c(0xa0)](exports['FCollaboration'],{'getUniverSheet':_0x310cd0=>this['getUniverSheet'](_0x310cd0)});}['loadServerUnit'](_0x28f5a6,_0x3ddd1b,_0x34fb72){var _0x329888=_0x24bad8;return this[_0x329888(0x88)][_0x329888(0x87)](c[_0x329888(0xa8)])[_0x329888(0x7e)](_0x28f5a6,_0x3ddd1b,_0x34fb72);}[_0x24bad8(0x85)](_0x4e80f0,_0x3077d5,_0x36296b){var _0x17a45f=_0x24bad8;return this[_0x17a45f(0x88)][_0x17a45f(0x87)](c[_0x17a45f(0xa8)])[_0x17a45f(0x8d)](_0x4e80f0,_0x3077d5,_0x36296b);}}l['FUniver'][_0x24bad8(0x9f)](u);
1
+ 'use strict';var _0x3555f1=_0x42cc;(function(_0x5c79cd,_0x2be54d){var _0x1e9f6d=_0x42cc,_0x5e4bcc=_0x5c79cd();while(!![]){try{var _0x881d0c=parseInt(_0x1e9f6d(0x1da))/0x1+-parseInt(_0x1e9f6d(0x1b9))/0x2+-parseInt(_0x1e9f6d(0x1ca))/0x3+parseInt(_0x1e9f6d(0x1cb))/0x4+-parseInt(_0x1e9f6d(0x1cc))/0x5+-parseInt(_0x1e9f6d(0x1d3))/0x6+parseInt(_0x1e9f6d(0x1b4))/0x7;if(_0x881d0c===_0x2be54d)break;else _0x5e4bcc['push'](_0x5e4bcc['shift']());}catch(_0x38a3f5){_0x5e4bcc['push'](_0x5e4bcc['shift']());}}}(_0x3653,0x608d7));function _0x3653(){var _0x5c4526=['members$','@univerjs/core','16650690WNsdpj','createInstance','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','CollaborationController','getOwnPropertyDescriptor','1155898LjrNsd','SnapshotService','loadUnit','FCollaboration','loadActiveSheet','loadSheet','rxjs','toDisposable','pipe','loadServerUnit','extend','@univerjs-pro/collaboration-client','loadActiveSheetAsync','switchMap','@univerjs-pro/collaboration','_snapshotService','subscribeCollaborators','2356821KIJEue','1826288wMHRbA','2513830iyhStx','IUniverInstanceService','loadServerUnitOfRevision','FBase','get','FUniver','DataLoaderService','4025034zmssbd','MemberService','_collaborationController','toStringTag','readyForCollab','_univerInstanceService','defineProperty','97398sxLfMg','from','loadUnitOfRevision','Inject','_injector','_handler'];_0x3653=function(){return _0x5c4526;};return _0x3653();}Object[_0x3555f1(0x1d9)](exports,Symbol[_0x3555f1(0x1d6)],{'value':'Module'});function _0x42cc(_0x6d46c8,_0x3c917c){var _0x36539e=_0x3653();return _0x42cc=function(_0x42cc0d,_0x4b1c47){_0x42cc0d=_0x42cc0d-0x1b3;var _0x5449dc=_0x36539e[_0x42cc0d];return _0x5449dc;},_0x42cc(_0x6d46c8,_0x3c917c);}const c=require(_0x3555f1(0x1c4)),l=require('@univerjs/core/facade'),h=require(_0x3555f1(0x1c7)),n=require(_0x3555f1(0x1b3)),b=require(_0x3555f1(0x1bf));var d=Object[_0x3555f1(0x1b8)],S=(_0x6ae3c1,_0x67a4e6,_0x499e75,_0x5e85ff)=>{for(var _0x5dbdc7=_0x5e85ff>0x1?void 0x0:_0x5e85ff?d(_0x67a4e6,_0x499e75):_0x67a4e6,_0x59d416=_0x6ae3c1['length']-0x1,_0x2bba70;_0x59d416>=0x0;_0x59d416--)(_0x2bba70=_0x6ae3c1[_0x59d416])&&(_0x5dbdc7=_0x2bba70(_0x5dbdc7)||_0x5dbdc7);return _0x5dbdc7;},s=(_0x5d5099,_0x354fcc)=>(_0x90d4c8,_0xa767a5)=>_0x354fcc(_0x90d4c8,_0xa767a5,_0x5d5099);exports[_0x3555f1(0x1bc)]=class extends l[_0x3555f1(0x1cf)]{constructor(_0x4a499f,_0x3f4b2f,_0x4d282e,_0x16fe52,_0x449697){var _0xb8d546=_0x3555f1;super(),this[_0xb8d546(0x1df)]=_0x4a499f,this['_injector']=_0x3f4b2f,this[_0xb8d546(0x1d8)]=_0x4d282e,this[_0xb8d546(0x1c8)]=_0x16fe52,this[_0xb8d546(0x1d5)]=_0x449697;}async[_0x3555f1(0x1bd)](){var _0x571f97=_0x3555f1;return this[_0x571f97(0x1c5)]();}async['loadActiveSheetAsync'](){var _0xe847d2=_0x3555f1;throw new Error(_0xe847d2(0x1b6));}async[_0x3555f1(0x1be)](_0x2a7be1){return this['loadSheetAsync'](_0x2a7be1);}async['loadSheetAsync'](_0x4d9591,_0x483e3d){var _0x31d42c=_0x3555f1;return await this[_0x31d42c(0x1c8)][_0x31d42c(0x1be)](_0x4d9591,0x0,_0x483e3d)?(await this[_0x31d42c(0x1d5)][_0x31d42c(0x1d7)](_0x4d9591),this[_0x31d42c(0x1df)]['getUniverSheet'](_0x4d9591)):null;}[_0x3555f1(0x1c9)](_0x3bcd15,_0x4a93e8){var _0x3a88a7=_0x3555f1;const _0x259dce=this[_0x3a88a7(0x1de)]['get'](c[_0x3a88a7(0x1d4)])['waitForRoom$'](_0x3bcd15)[_0x3a88a7(0x1c1)](b[_0x3a88a7(0x1c6)](_0x2d16f0=>_0x2d16f0[_0x3a88a7(0x1e0)]))['subscribe'](_0x5eb04f=>_0x4a93e8(Array[_0x3a88a7(0x1db)](_0x5eb04f['values']())));return n[_0x3a88a7(0x1c0)](_0x259dce);}},exports['FCollaboration']=S([s(0x1,n['Inject'](n['Injector'])),s(0x2,n[_0x3555f1(0x1cd)]),s(0x3,n['Inject'](h[_0x3555f1(0x1ba)])),s(0x4,n[_0x3555f1(0x1dd)](c[_0x3555f1(0x1b7)]))],exports[_0x3555f1(0x1bc)]);class u extends l[_0x3555f1(0x1d1)]{['getCollaboration'](){var _0x3935b3=_0x3555f1;return this[_0x3935b3(0x1de)][_0x3935b3(0x1b5)](exports[_0x3935b3(0x1bc)],{'getUniverSheet':_0x4e8d23=>this['getUniverSheet'](_0x4e8d23)});}[_0x3555f1(0x1c2)](_0x1bcab8,_0xbe0967,_0x3e09fc){var _0x1f1c1b=_0x3555f1;return this['_injector'][_0x1f1c1b(0x1d0)](c[_0x1f1c1b(0x1d2)])[_0x1f1c1b(0x1bb)](_0x1bcab8,_0xbe0967,_0x3e09fc);}[_0x3555f1(0x1ce)](_0x2ea1b1,_0x5d2638,_0x10ad4d){var _0x31edc0=_0x3555f1;return this['_injector'][_0x31edc0(0x1d0)](c['DataLoaderService'])[_0x31edc0(0x1dc)](_0x2ea1b1,_0x5d2638,_0x10ad4d);}}l[_0x3555f1(0x1d1)][_0x3555f1(0x1c3)](u);