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

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 _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);
1
+ 'use strict';var _0x520e9f=_0x4032;(function(_0x19b752,_0x3a6f7c){var _0x2860b1=_0x4032,_0x5aa374=_0x19b752();while(!![]){try{var _0x59a6e8=parseInt(_0x2860b1(0x205))/0x1*(-parseInt(_0x2860b1(0x1f5))/0x2)+-parseInt(_0x2860b1(0x1f0))/0x3+parseInt(_0x2860b1(0x20f))/0x4*(parseInt(_0x2860b1(0x1eb))/0x5)+parseInt(_0x2860b1(0x1ef))/0x6*(parseInt(_0x2860b1(0x1ff))/0x7)+parseInt(_0x2860b1(0x201))/0x8+-parseInt(_0x2860b1(0x1e3))/0x9+-parseInt(_0x2860b1(0x1fb))/0xa;if(_0x59a6e8===_0x3a6f7c)break;else _0x5aa374['push'](_0x5aa374['shift']());}catch(_0x209e80){_0x5aa374['push'](_0x5aa374['shift']());}}}(_0x587d,0xab858));function _0x587d(){var _0x9a5ee8=['@univerjs/core','2493648kZbdAG','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','loadUnit','3RTtDaq','_injector','readyForCollab','@univerjs-pro/collaboration','values','loadServerUnit','createInstance','waitForRoom$','from','get','4PFRqsQ','Injector','rxjs','loadSheet','loadSheetAsync','FBase','loadActiveSheetAsync','length','1054323gelfVR','Inject','MemberService','subscribe','SnapshotService','toDisposable','extend','members$','6439350bIcjbP','getUniverSheet','_collaborationController','subscribeCollaborators','936lRKsdZ','806253TAWaVk','_snapshotService','Module','FUniver','defineProperty','749346LwFExC','_handler','DataLoaderService','CollaborationController','toStringTag','pipe','4820710VVwPxB','loadUnitOfRevision','FCollaboration','switchMap','49133fgoMnk'];_0x587d=function(){return _0x9a5ee8;};return _0x587d();}function _0x4032(_0x3b9671,_0x104271){var _0x587dc0=_0x587d();return _0x4032=function(_0x403212,_0x574210){_0x403212=_0x403212-0x1dd;var _0x40c6cc=_0x587dc0[_0x403212];return _0x40c6cc;},_0x4032(_0x3b9671,_0x104271);}Object[_0x520e9f(0x1f4)](exports,Symbol[_0x520e9f(0x1f9)],{'value':_0x520e9f(0x1f2)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require(_0x520e9f(0x208)),n=require(_0x520e9f(0x200)),b=require(_0x520e9f(0x1dd));var d=Object['getOwnPropertyDescriptor'],S=(_0x436956,_0xc181b2,_0x52d5ad,_0x134556)=>{var _0x2af8fe=_0x520e9f;for(var _0x1e921d=_0x134556>0x1?void 0x0:_0x134556?d(_0xc181b2,_0x52d5ad):_0xc181b2,_0x35c1fd=_0x436956[_0x2af8fe(0x1e2)]-0x1,_0x32ed9e;_0x35c1fd>=0x0;_0x35c1fd--)(_0x32ed9e=_0x436956[_0x35c1fd])&&(_0x1e921d=_0x32ed9e(_0x1e921d)||_0x1e921d);return _0x1e921d;},s=(_0x45a188,_0x43af55)=>(_0x4092d8,_0x540972)=>_0x43af55(_0x4092d8,_0x540972,_0x45a188);exports[_0x520e9f(0x1fd)]=class extends l[_0x520e9f(0x1e0)]{constructor(_0x416b7c,_0x1fbba4,_0x578b78,_0x98ca42,_0x52aab5){var _0x472d96=_0x520e9f;super(),this[_0x472d96(0x1f6)]=_0x416b7c,this['_injector']=_0x1fbba4,this['_univerInstanceService']=_0x578b78,this[_0x472d96(0x1f1)]=_0x98ca42,this[_0x472d96(0x1ed)]=_0x52aab5;}async['loadActiveSheet'](){var _0x34cf54=_0x520e9f;return this[_0x34cf54(0x1e1)]();}async[_0x520e9f(0x1e1)](){var _0x507788=_0x520e9f;throw new Error(_0x507788(0x202));}async[_0x520e9f(0x1de)](_0x357d39){return this['loadSheetAsync'](_0x357d39);}async[_0x520e9f(0x1df)](_0x5c2c4b,_0x47b58c){var _0x220df7=_0x520e9f;return await this[_0x220df7(0x1f1)][_0x220df7(0x1de)](_0x5c2c4b,0x0,_0x47b58c)?(await this['_collaborationController'][_0x220df7(0x207)](_0x5c2c4b),this[_0x220df7(0x1f6)]['getUniverSheet'](_0x5c2c4b)):null;}[_0x520e9f(0x1ee)](_0x218804,_0x33101f){var _0x2ae0fb=_0x520e9f;const _0x18a4e6=this[_0x2ae0fb(0x206)]['get'](c[_0x2ae0fb(0x1e5)])[_0x2ae0fb(0x20c)](_0x218804)[_0x2ae0fb(0x1fa)](b[_0x2ae0fb(0x1fe)](_0x1588c9=>_0x1588c9[_0x2ae0fb(0x1ea)]))[_0x2ae0fb(0x1e6)](_0x11d939=>_0x33101f(Array[_0x2ae0fb(0x20d)](_0x11d939[_0x2ae0fb(0x209)]())));return n[_0x2ae0fb(0x1e8)](_0x18a4e6);}},exports[_0x520e9f(0x1fd)]=S([s(0x1,n[_0x520e9f(0x1e4)](n[_0x520e9f(0x210)])),s(0x2,n[_0x520e9f(0x203)]),s(0x3,n['Inject'](h[_0x520e9f(0x1e7)])),s(0x4,n[_0x520e9f(0x1e4)](c[_0x520e9f(0x1f8)]))],exports[_0x520e9f(0x1fd)]);class u extends l[_0x520e9f(0x1f3)]{['getCollaboration'](){var _0xf979a9=_0x520e9f;return this[_0xf979a9(0x206)][_0xf979a9(0x20b)](exports['FCollaboration'],{'getUniverSheet':_0x327a97=>this[_0xf979a9(0x1ec)](_0x327a97)});}[_0x520e9f(0x20a)](_0x1df0a0,_0x89c750,_0x541bdc){var _0x4c83b9=_0x520e9f;return this[_0x4c83b9(0x206)][_0x4c83b9(0x20e)](c[_0x4c83b9(0x1f7)])[_0x4c83b9(0x204)](_0x1df0a0,_0x89c750,_0x541bdc);}['loadServerUnitOfRevision'](_0x5b718a,_0x20e06c,_0x2f1405){var _0x44df3b=_0x520e9f;return this[_0x44df3b(0x206)][_0x44df3b(0x20e)](c[_0x44df3b(0x1f7)])[_0x44df3b(0x1fc)](_0x5b718a,_0x20e06c,_0x2f1405);}}l[_0x520e9f(0x1f3)][_0x520e9f(0x1e9)](u);