@univerjs-pro/collaboration-client 0.6.7-experimental.20250401-0c0dad8 → 0.6.7-experimental.20250401-01b1fd0

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 _0xac5bf6=_0x1706;(function(_0x395bf4,_0x2120ae){var _0x2e2a00=_0x1706,_0x2e6345=_0x395bf4();while(!![]){try{var _0x3a466a=parseInt(_0x2e2a00(0x142))/0x1+parseInt(_0x2e2a00(0x133))/0x2+parseInt(_0x2e2a00(0x149))/0x3+-parseInt(_0x2e2a00(0x14d))/0x4+-parseInt(_0x2e2a00(0x13f))/0x5+-parseInt(_0x2e2a00(0x146))/0x6+-parseInt(_0x2e2a00(0x13e))/0x7;if(_0x3a466a===_0x2120ae)break;else _0x2e6345['push'](_0x2e6345['shift']());}catch(_0x42c7a9){_0x2e6345['push'](_0x2e6345['shift']());}}}(_0x2df6,0x20568));Object['defineProperty'](exports,Symbol[_0xac5bf6(0x159)],{'value':'Module'});const c=require(_0xac5bf6(0x136)),l=require(_0xac5bf6(0x153)),v=require(_0xac5bf6(0x143)),i=require(_0xac5bf6(0x141)),b=require(_0xac5bf6(0x14e));var S=Object[_0xac5bf6(0x155)],d=(_0xe900e4,_0x16e0a3,_0x87a196,_0x2cf10f)=>{for(var _0x3bde88=_0x2cf10f>0x1?void 0x0:_0x2cf10f?S(_0x16e0a3,_0x87a196):_0x16e0a3,_0x229bee=_0xe900e4['length']-0x1,_0x146a86;_0x229bee>=0x0;_0x229bee--)(_0x146a86=_0xe900e4[_0x229bee])&&(_0x3bde88=_0x146a86(_0x3bde88)||_0x3bde88);return _0x3bde88;},s=(_0x523d46,_0x2d4feb)=>(_0x59eff5,_0x44b498)=>_0x2d4feb(_0x59eff5,_0x44b498,_0x523d46);exports[_0xac5bf6(0x14c)]=class extends l[_0xac5bf6(0x14a)]{constructor(_0x3d319f,_0x1f45d1,_0x2a7774,_0x149358,_0x417541){var _0x45b559=_0xac5bf6;super(),this[_0x45b559(0x156)]=_0x3d319f,this['_injector']=_0x1f45d1,this['_univerInstanceService']=_0x2a7774,this[_0x45b559(0x14b)]=_0x149358,this[_0x45b559(0x138)]=_0x417541;}async[_0xac5bf6(0x12d)](){var _0x5a20de=_0xac5bf6;return this[_0x5a20de(0x139)]();}async[_0xac5bf6(0x139)](){var _0x4b65c7=_0xac5bf6;throw new Error(_0x4b65c7(0x145));}async[_0xac5bf6(0x134)](_0x1f1f0c){var _0x5c609a=_0xac5bf6;return this[_0x5c609a(0x130)](_0x1f1f0c);}async[_0xac5bf6(0x130)](_0x51ee60,_0x11fad6){var _0x546ff2=_0xac5bf6;return await this['_snapshotService'][_0x546ff2(0x134)](_0x51ee60,0x0,_0x11fad6)?(await this['_collaborationController'][_0x546ff2(0x13d)](_0x51ee60),this[_0x546ff2(0x156)]['getUniverSheet'](_0x51ee60)):null;}[_0xac5bf6(0x144)](_0x24441c,_0x2c7acc){var _0x1c821f=_0xac5bf6;const _0x332e39=this[_0x1c821f(0x157)][_0x1c821f(0x154)](c[_0x1c821f(0x12f)])[_0x1c821f(0x14f)](_0x24441c)[_0x1c821f(0x12e)](b['switchMap'](_0x32b5cf=>_0x32b5cf[_0x1c821f(0x158)]))['subscribe'](_0x5119af=>_0x2c7acc(Array[_0x1c821f(0x13b)](_0x5119af[_0x1c821f(0x151)]())));return i[_0x1c821f(0x12c)](_0x332e39);}},exports['FCollaboration']=d([s(0x1,i['Inject'](i[_0xac5bf6(0x140)])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0xac5bf6(0x147)](v[_0xac5bf6(0x148)])),s(0x4,i[_0xac5bf6(0x147)](c[_0xac5bf6(0x13a)]))],exports[_0xac5bf6(0x14c)]);function _0x1706(_0x501209,_0xf0293d){var _0x2df60a=_0x2df6();return _0x1706=function(_0x170621,_0x6a47e9){_0x170621=_0x170621-0x12c;var _0x183f14=_0x2df60a[_0x170621];return _0x183f14;},_0x1706(_0x501209,_0xf0293d);}class u extends l[_0xac5bf6(0x137)]{[_0xac5bf6(0x135)](){var _0x1de2d8=_0xac5bf6;return this[_0x1de2d8(0x157)][_0x1de2d8(0x150)](exports[_0x1de2d8(0x14c)],{'getUniverSheet':_0x3da703=>this['getUniverSheet'](_0x3da703)});}[_0xac5bf6(0x131)](_0x516f98,_0xd6ea47,_0x57dd24){var _0x2c18a2=_0xac5bf6;return this[_0x2c18a2(0x157)][_0x2c18a2(0x150)](c[_0x2c18a2(0x132)])[_0x2c18a2(0x152)](_0x516f98,_0xd6ea47,_0x57dd24);}}function _0x2df6(){var _0x1a20e6=['CollaborationController','from','extend','readyForCollab','978299lGaFUZ','124800JajCxA','Injector','@univerjs/core','260879ZtjHlg','@univerjs-pro/collaboration','subscribeCollaborators','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','158622EKftxd','Inject','SnapshotService','36342IWOKNW','FBase','_snapshotService','FCollaboration','204452NHHxXA','rxjs','waitForRoom$','createInstance','values','loadUnit','@univerjs/core/facade','get','getOwnPropertyDescriptor','_handler','_injector','members$','toStringTag','toDisposable','loadActiveSheet','pipe','MemberService','loadSheetAsync','loadServerUnit','DataLoaderService','203460SiRoyk','loadSheet','getCollaboration','@univerjs-pro/collaboration-client','FUniver','_collaborationController','loadActiveSheetAsync'];_0x2df6=function(){return _0x1a20e6;};return _0x2df6();}l[_0xac5bf6(0x137)][_0xac5bf6(0x13c)](u);
1
+ 'use strict';var _0x1fb002=_0x4482;function _0x4482(_0x5a525f,_0x146f85){var _0x52c42c=_0x52c4();return _0x4482=function(_0x448295,_0x29f164){_0x448295=_0x448295-0x76;var _0x373c34=_0x52c42c[_0x448295];return _0x373c34;},_0x4482(_0x5a525f,_0x146f85);}(function(_0x1f59e9,_0x25f643){var _0x340d9c=_0x4482,_0x4673d9=_0x1f59e9();while(!![]){try{var _0x159ccb=parseInt(_0x340d9c(0x7a))/0x1*(parseInt(_0x340d9c(0x96))/0x2)+-parseInt(_0x340d9c(0x82))/0x3*(parseInt(_0x340d9c(0x9a))/0x4)+parseInt(_0x340d9c(0x95))/0x5*(parseInt(_0x340d9c(0x9d))/0x6)+parseInt(_0x340d9c(0x8c))/0x7+-parseInt(_0x340d9c(0x77))/0x8+parseInt(_0x340d9c(0xa2))/0x9+-parseInt(_0x340d9c(0x7f))/0xa;if(_0x159ccb===_0x25f643)break;else _0x4673d9['push'](_0x4673d9['shift']());}catch(_0x30652d){_0x4673d9['push'](_0x4673d9['shift']());}}}(_0x52c4,0xd986b));Object[_0x1fb002(0x80)](exports,Symbol[_0x1fb002(0x88)],{'value':_0x1fb002(0x90)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x1fb002(0x83)),v=require('@univerjs-pro/collaboration'),i=require(_0x1fb002(0x85)),b=require(_0x1fb002(0x8f));var S=Object['getOwnPropertyDescriptor'],d=(_0xa60a02,_0x4059f6,_0x3db28d,_0x239c58)=>{for(var _0x378268=_0x239c58>0x1?void 0x0:_0x239c58?S(_0x4059f6,_0x3db28d):_0x4059f6,_0x380151=_0xa60a02['length']-0x1,_0x3df040;_0x380151>=0x0;_0x380151--)(_0x3df040=_0xa60a02[_0x380151])&&(_0x378268=_0x3df040(_0x378268)||_0x378268);return _0x378268;},s=(_0x474f72,_0x4a00d2)=>(_0xdf7986,_0x4ecb38)=>_0x4a00d2(_0xdf7986,_0x4ecb38,_0x474f72);exports[_0x1fb002(0x81)]=class extends l[_0x1fb002(0x7d)]{constructor(_0x388fe2,_0x1a6e0d,_0xd32a27,_0xa0dddb,_0x7f6b14){var _0xabfb76=_0x1fb002;super(),this[_0xabfb76(0x7e)]=_0x388fe2,this['_injector']=_0x1a6e0d,this[_0xabfb76(0x8a)]=_0xd32a27,this[_0xabfb76(0x79)]=_0xa0dddb,this[_0xabfb76(0xa1)]=_0x7f6b14;}async['loadActiveSheet'](){var _0x451c3b=_0x1fb002;return this[_0x451c3b(0x9c)]();}async[_0x1fb002(0x9c)](){var _0xaa6073=_0x1fb002;throw new Error(_0xaa6073(0x8d));}async[_0x1fb002(0x9b)](_0xed9629){return this['loadSheetAsync'](_0xed9629);}async[_0x1fb002(0x98)](_0x3bd932,_0x3aaed9){var _0x50bba8=_0x1fb002;return await this[_0x50bba8(0x79)][_0x50bba8(0x9b)](_0x3bd932,0x0,_0x3aaed9)?(await this['_collaborationController'][_0x50bba8(0x84)](_0x3bd932),this[_0x50bba8(0x7e)]['getUniverSheet'](_0x3bd932)):null;}[_0x1fb002(0x92)](_0x2f8e63,_0x558d2e){var _0x68c707=_0x1fb002;const _0x1740e2=this[_0x68c707(0x93)][_0x68c707(0x7c)](c[_0x68c707(0x94)])[_0x68c707(0x8b)](_0x2f8e63)[_0x68c707(0xa0)](b['switchMap'](_0x347b85=>_0x347b85[_0x68c707(0x78)]))[_0x68c707(0x91)](_0x39e322=>_0x558d2e(Array['from'](_0x39e322[_0x68c707(0x9e)]())));return i[_0x68c707(0x8e)](_0x1740e2);}},exports[_0x1fb002(0x81)]=d([s(0x1,i[_0x1fb002(0x7b)](i[_0x1fb002(0x89)])),s(0x2,i[_0x1fb002(0x97)]),s(0x3,i['Inject'](v[_0x1fb002(0x9f)])),s(0x4,i[_0x1fb002(0x7b)](c['CollaborationController']))],exports[_0x1fb002(0x81)]);class u extends l['FUniver']{[_0x1fb002(0x99)](){var _0xae05a1=_0x1fb002;return this[_0xae05a1(0x93)][_0xae05a1(0x86)](exports['FCollaboration'],{'getUniverSheet':_0x3d47e1=>this['getUniverSheet'](_0x3d47e1)});}[_0x1fb002(0x87)](_0x309f14,_0x38c55b,_0x1f268d){var _0x5c6570=_0x1fb002;return this[_0x5c6570(0x93)]['createInstance'](c[_0x5c6570(0x76)])['loadUnit'](_0x309f14,_0x38c55b,_0x1f268d);}}l[_0x1fb002(0xa3)]['extend'](u);function _0x52c4(){var _0x5f2c4e=['waitForRoom$','7083895scHUWj','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toDisposable','rxjs','Module','subscribe','subscribeCollaborators','_injector','MemberService','10955KVuOFz','2098wxRpHw','IUniverInstanceService','loadSheetAsync','getCollaboration','3294848bndlIj','loadSheet','loadActiveSheetAsync','1632VItAXh','values','SnapshotService','pipe','_collaborationController','5414076QEoONt','FUniver','DataLoaderService','5892024gvULsK','members$','_snapshotService','1444DyZAfL','Inject','get','FBase','_handler','4493430mJVybV','defineProperty','FCollaboration','6zeuQcI','@univerjs/core/facade','readyForCollab','@univerjs/core','createInstance','loadServerUnit','toStringTag','Injector','_univerInstanceService'];_0x52c4=function(){return _0x5f2c4e;};return _0x52c4();}