@univerjs-pro/collaboration-client 0.6.6 → 0.6.7

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 _0x540afc=_0xa085;(function(_0x44ba6b,_0x1712e8){var _0xf291ba=_0xa085,_0x7ed2a2=_0x44ba6b();while(!![]){try{var _0x1e61ca=-parseInt(_0xf291ba(0x157))/0x1+-parseInt(_0xf291ba(0x175))/0x2*(-parseInt(_0xf291ba(0x164))/0x3)+parseInt(_0xf291ba(0x16f))/0x4*(parseInt(_0xf291ba(0x178))/0x5)+-parseInt(_0xf291ba(0x14a))/0x6+parseInt(_0xf291ba(0x15c))/0x7*(-parseInt(_0xf291ba(0x150))/0x8)+-parseInt(_0xf291ba(0x15b))/0x9+-parseInt(_0xf291ba(0x151))/0xa*(-parseInt(_0xf291ba(0x177))/0xb);if(_0x1e61ca===_0x1712e8)break;else _0x7ed2a2['push'](_0x7ed2a2['shift']());}catch(_0xd489b6){_0x7ed2a2['push'](_0x7ed2a2['shift']());}}}(_0x300d,0x6f1a9));function _0xa085(_0x5f40a0,_0x4f95f9){var _0x300d9a=_0x300d();return _0xa085=function(_0xa08515,_0x4fd848){_0xa08515=_0xa08515-0x14a;var _0xd842e0=_0x300d9a[_0xa08515];return _0xd842e0;},_0xa085(_0x5f40a0,_0x4f95f9);}Object[_0x540afc(0x15f)](exports,Symbol[_0x540afc(0x168)],{'value':_0x540afc(0x14b)});const l=require(_0x540afc(0x16c)),b=require(_0x540afc(0x161)),h=require(_0x540afc(0x173)),i=require('@univerjs/core'),v=require(_0x540afc(0x14e));function _0x300d(){var _0x2e91b6=['get','pipe','751502ukAdLN','Inject','loadSheet','FUniver','7507503wuahtp','7EEPWKb','loadActiveSheetAsync','members$','defineProperty','subscribe','@univerjs-pro/collaboration','length','Injector','1286493WOgoXk','IUniverInstanceService','extend','FBase','toStringTag','_collaborationController','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','@univerjs/core/facade','getOwnPropertyDescriptor','switchMap','118768ZukQrA','loadSheetAsync','FCollaboration','_snapshotService','@univerjs-pro/collaboration-client','CollaborationController','2LgdXtu','MemberService','11CfTMYN','30TSfQUL','483402PyTNth','Module','getCollaboration','createInstance','rxjs','subscribeCollaborators','489944CVOmyA','15755770lgSzNF','_handler','getUniverSheet','SnapshotService'];_0x300d=function(){return _0x2e91b6;};return _0x300d();}var u=Object[_0x540afc(0x16d)],S=(_0x3c3bd9,_0x3753da,_0x3eef2c,_0xd6df02)=>{var _0x2acb38=_0x540afc;for(var _0xfd3899=_0xd6df02>0x1?void 0x0:_0xd6df02?u(_0x3753da,_0x3eef2c):_0x3753da,_0x10c485=_0x3c3bd9[_0x2acb38(0x162)]-0x1,_0x3f12cb;_0x10c485>=0x0;_0x10c485--)(_0x3f12cb=_0x3c3bd9[_0x10c485])&&(_0xfd3899=_0x3f12cb(_0xfd3899)||_0xfd3899);return _0xfd3899;},s=(_0x46b4d2,_0x306941)=>(_0x5379ae,_0x5246e6)=>_0x306941(_0x5379ae,_0x5246e6,_0x46b4d2);exports[_0x540afc(0x171)]=class extends l[_0x540afc(0x167)]{constructor(_0x1e15e3,_0x3a24a1,_0x4e0da8,_0x1b1f52,_0x2fbf1b){var _0x3a15c4=_0x540afc;super(),this[_0x3a15c4(0x152)]=_0x1e15e3,this[_0x3a15c4(0x16a)]=_0x3a24a1,this['_univerInstanceService']=_0x4e0da8,this['_snapshotService']=_0x1b1f52,this[_0x3a15c4(0x169)]=_0x2fbf1b;}async['loadActiveSheet'](){var _0x43936c=_0x540afc;return this[_0x43936c(0x15d)]();}async[_0x540afc(0x15d)](){var _0x34768b=_0x540afc;throw new Error(_0x34768b(0x16b));}async[_0x540afc(0x159)](_0x170938){var _0x324f97=_0x540afc;return this[_0x324f97(0x170)](_0x170938);}async[_0x540afc(0x170)](_0x3dddaf,_0x3ad17a){var _0x5defc6=_0x540afc;return await this[_0x5defc6(0x172)]['loadSheet'](_0x3dddaf,0x0,_0x3ad17a)?(await this[_0x5defc6(0x169)]['readyForCollab'](_0x3dddaf),this[_0x5defc6(0x152)][_0x5defc6(0x153)](_0x3dddaf)):null;}[_0x540afc(0x14f)](_0xe296c3,_0x5bdbde){var _0x11e118=_0x540afc;const _0x474d97=this[_0x11e118(0x16a)][_0x11e118(0x155)](h[_0x11e118(0x176)])['waitForRoom$'](_0xe296c3)[_0x11e118(0x156)](v[_0x11e118(0x16e)](_0x386839=>_0x386839[_0x11e118(0x15e)]))[_0x11e118(0x160)](_0x2343e9=>_0x5bdbde(Array['from'](_0x2343e9['values']())));return i['toDisposable'](_0x474d97);}},exports[_0x540afc(0x171)]=S([s(0x1,i[_0x540afc(0x158)](i[_0x540afc(0x163)])),s(0x2,i[_0x540afc(0x165)]),s(0x3,i[_0x540afc(0x158)](b[_0x540afc(0x154)])),s(0x4,i[_0x540afc(0x158)](h[_0x540afc(0x174)]))],exports['FCollaboration']);class d extends l[_0x540afc(0x15a)]{[_0x540afc(0x14c)](){var _0x1545ad=_0x540afc;return this[_0x1545ad(0x16a)][_0x1545ad(0x14d)](exports[_0x1545ad(0x171)],{'getUniverSheet':_0xdb50be=>this[_0x1545ad(0x153)](_0xdb50be)});}}l[_0x540afc(0x15a)][_0x540afc(0x166)](d);
1
+ 'use strict';var _0x16c675=_0x1e14;(function(_0x4d927b,_0x55bb9e){var _0xab0f05=_0x1e14,_0x3c2b70=_0x4d927b();while(!![]){try{var _0x112ba4=parseInt(_0xab0f05(0xe5))/0x1+-parseInt(_0xab0f05(0xd6))/0x2+-parseInt(_0xab0f05(0xd3))/0x3*(-parseInt(_0xab0f05(0xb6))/0x4)+-parseInt(_0xab0f05(0xcf))/0x5*(parseInt(_0xab0f05(0xcb))/0x6)+parseInt(_0xab0f05(0xe2))/0x7*(-parseInt(_0xab0f05(0xdf))/0x8)+-parseInt(_0xab0f05(0xba))/0x9*(-parseInt(_0xab0f05(0xde))/0xa)+-parseInt(_0xab0f05(0xe4))/0xb;if(_0x112ba4===_0x55bb9e)break;else _0x3c2b70['push'](_0x3c2b70['shift']());}catch(_0x14d60b){_0x3c2b70['push'](_0x3c2b70['shift']());}}}(_0x3f8c,0xa9c46));function _0x3f8c(){var _0x1501df=['getUniverSheet','_snapshotService','@univerjs-pro/collaboration','483012wTxWhC','loadActiveSheetAsync','rxjs','@univerjs/core','5lAZnjB','_injector','get','loadUnit','1242684JsGHCe','Inject','values','1012058NLyjvy','Module','loadSheet','MemberService','DataLoaderService','loadServerUnit','getCollaboration','_handler','15690FFbsLw','8KHAVlU','waitForRoom$','toStringTag','3437511cjDUsL','defineProperty','1192873nBlPQF','452018yLfgtO','Injector','@univerjs-pro/collaboration-client','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','12NhxUVz','SnapshotService','getOwnPropertyDescriptor','FCollaboration','1071oNviTs','_collaborationController','subscribeCollaborators','loadSheetAsync','pipe','from','readyForCollab','createInstance','FUniver','toDisposable','length','extend','_univerInstanceService','IUniverInstanceService'];_0x3f8c=function(){return _0x1501df;};return _0x3f8c();}function _0x1e14(_0x629f1c,_0x57b9c5){var _0x3f8ce9=_0x3f8c();return _0x1e14=function(_0x1e149e,_0x223ff9){_0x1e149e=_0x1e149e-0xb3;var _0x211ffc=_0x3f8ce9[_0x1e149e];return _0x211ffc;},_0x1e14(_0x629f1c,_0x57b9c5);}Object[_0x16c675(0xe3)](exports,Symbol[_0x16c675(0xe1)],{'value':_0x16c675(0xd7)});const c=require(_0x16c675(0xb4)),l=require('@univerjs/core/facade'),v=require(_0x16c675(0xca)),i=require(_0x16c675(0xce)),b=require(_0x16c675(0xcd));var S=Object[_0x16c675(0xb8)],d=(_0xb8b574,_0x160460,_0x21425f,_0x10abf9)=>{var _0x17ba26=_0x16c675;for(var _0x269a95=_0x10abf9>0x1?void 0x0:_0x10abf9?S(_0x160460,_0x21425f):_0x160460,_0x672ad9=_0xb8b574[_0x17ba26(0xc4)]-0x1,_0xb7a40d;_0x672ad9>=0x0;_0x672ad9--)(_0xb7a40d=_0xb8b574[_0x672ad9])&&(_0x269a95=_0xb7a40d(_0x269a95)||_0x269a95);return _0x269a95;},s=(_0x383227,_0xfadc1c)=>(_0x172ed0,_0x46ccf4)=>_0xfadc1c(_0x172ed0,_0x46ccf4,_0x383227);exports['FCollaboration']=class extends l['FBase']{constructor(_0xc4daac,_0x570e69,_0x51d9d9,_0x5ade81,_0x1b3576){var _0x35acaf=_0x16c675;super(),this[_0x35acaf(0xdd)]=_0xc4daac,this[_0x35acaf(0xd0)]=_0x570e69,this[_0x35acaf(0xc6)]=_0x51d9d9,this[_0x35acaf(0xc9)]=_0x5ade81,this[_0x35acaf(0xbb)]=_0x1b3576;}async['loadActiveSheet'](){var _0x4f0a7a=_0x16c675;return this[_0x4f0a7a(0xcc)]();}async[_0x16c675(0xcc)](){var _0x37164e=_0x16c675;throw new Error(_0x37164e(0xb5));}async[_0x16c675(0xd8)](_0x451022){var _0x334f47=_0x16c675;return this[_0x334f47(0xbd)](_0x451022);}async[_0x16c675(0xbd)](_0x244c96,_0x355497){var _0x43f15c=_0x16c675;return await this[_0x43f15c(0xc9)]['loadSheet'](_0x244c96,0x0,_0x355497)?(await this[_0x43f15c(0xbb)][_0x43f15c(0xc0)](_0x244c96),this['_handler'][_0x43f15c(0xc8)](_0x244c96)):null;}[_0x16c675(0xbc)](_0x14b689,_0x371c33){var _0x5516b8=_0x16c675;const _0x1e54e6=this['_injector'][_0x5516b8(0xd1)](c[_0x5516b8(0xd9)])[_0x5516b8(0xe0)](_0x14b689)[_0x5516b8(0xbe)](b['switchMap'](_0x273b5c=>_0x273b5c['members$']))['subscribe'](_0x1c7fef=>_0x371c33(Array[_0x5516b8(0xbf)](_0x1c7fef[_0x5516b8(0xd5)]())));return i[_0x5516b8(0xc3)](_0x1e54e6);}},exports[_0x16c675(0xb9)]=d([s(0x1,i[_0x16c675(0xd4)](i[_0x16c675(0xb3)])),s(0x2,i[_0x16c675(0xc7)]),s(0x3,i[_0x16c675(0xd4)](v[_0x16c675(0xb7)])),s(0x4,i[_0x16c675(0xd4)](c['CollaborationController']))],exports[_0x16c675(0xb9)]);class u extends l['FUniver']{[_0x16c675(0xdc)](){var _0xaf8fdf=_0x16c675;return this[_0xaf8fdf(0xd0)][_0xaf8fdf(0xc1)](exports[_0xaf8fdf(0xb9)],{'getUniverSheet':_0x1d46a3=>this[_0xaf8fdf(0xc8)](_0x1d46a3)});}[_0x16c675(0xdb)](_0x5ef5e0,_0x1fe1c9,_0x1b8c1e){var _0x104933=_0x16c675;return this['_injector'][_0x104933(0xc1)](c[_0x104933(0xda)])[_0x104933(0xd2)](_0x5ef5e0,_0x1fe1c9,_0x1b8c1e);}}l[_0x16c675(0xc2)][_0x16c675(0xc5)](u);