@univerjs-pro/collaboration-client 0.6.6 → 0.6.7-experimental.20250326-6499c07

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 _0x53128e=_0x351c;(function(_0x95cc30,_0x32924a){var _0x315628=_0x351c,_0x5ce811=_0x95cc30();while(!![]){try{var _0x1f9fe6=-parseInt(_0x315628(0x1d4))/0x1*(-parseInt(_0x315628(0x1ef))/0x2)+-parseInt(_0x315628(0x1cd))/0x3*(-parseInt(_0x315628(0x1f2))/0x4)+-parseInt(_0x315628(0x1cf))/0x5+parseInt(_0x315628(0x1d9))/0x6+-parseInt(_0x315628(0x1dc))/0x7+parseInt(_0x315628(0x1ee))/0x8*(-parseInt(_0x315628(0x1d0))/0x9)+-parseInt(_0x315628(0x1ea))/0xa*(parseInt(_0x315628(0x1db))/0xb);if(_0x1f9fe6===_0x32924a)break;else _0x5ce811['push'](_0x5ce811['shift']());}catch(_0x52293c){_0x5ce811['push'](_0x5ce811['shift']());}}}(_0x357b,0xe22e2));function _0x357b(){var _0x4c6a19=['[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_univerInstanceService','50juVmaC','createInstance','loadSheetAsync','loadActiveSheetAsync','873192lTOctk','1975398vjcBjT','length','FCollaboration','8kPcoJm','getOwnPropertyDescriptor','getCollaboration','SnapshotService','subscribe','loadUnit','DataLoaderService','get','waitForRoom$','switchMap','1957146jTpFPm','defineProperty','3229880WXjzFu','36EuuZBf','rxjs','_injector','pipe','1aokNEh','Inject','members$','loadSheet','getUniverSheet','6951768zNChke','_collaborationController','453970zYcXye','8650145tqJkAn','_handler','Module','FBase','values','@univerjs/core/facade','loadServerUnit','loadActiveSheet','_snapshotService','@univerjs-pro/collaboration','MemberService','readyForCollab'];_0x357b=function(){return _0x4c6a19;};return _0x357b();}Object[_0x53128e(0x1ce)](exports,Symbol['toStringTag'],{'value':_0x53128e(0x1de)});const c=require('@univerjs-pro/collaboration-client'),l=require(_0x53128e(0x1e1)),v=require(_0x53128e(0x1e5)),i=require('@univerjs/core'),b=require(_0x53128e(0x1d1));var S=Object[_0x53128e(0x1f3)],d=(_0xf40b51,_0x1a733f,_0x14aab2,_0x135bb1)=>{var _0x31597b=_0x53128e;for(var _0x4b1611=_0x135bb1>0x1?void 0x0:_0x135bb1?S(_0x1a733f,_0x14aab2):_0x1a733f,_0x20d722=_0xf40b51[_0x31597b(0x1f0)]-0x1,_0x544d9f;_0x20d722>=0x0;_0x20d722--)(_0x544d9f=_0xf40b51[_0x20d722])&&(_0x4b1611=_0x544d9f(_0x4b1611)||_0x4b1611);return _0x4b1611;},s=(_0x217179,_0x241a33)=>(_0xb9ca2a,_0x3dfc4b)=>_0x241a33(_0xb9ca2a,_0x3dfc4b,_0x217179);exports[_0x53128e(0x1f1)]=class extends l[_0x53128e(0x1df)]{constructor(_0x1ad743,_0x2a76d8,_0x2665e8,_0x1b5736,_0x4ea53b){var _0x485bb4=_0x53128e;super(),this['_handler']=_0x1ad743,this['_injector']=_0x2a76d8,this[_0x485bb4(0x1e9)]=_0x2665e8,this[_0x485bb4(0x1e4)]=_0x1b5736,this[_0x485bb4(0x1da)]=_0x4ea53b;}async[_0x53128e(0x1e3)](){var _0x1fed52=_0x53128e;return this[_0x1fed52(0x1ed)]();}async['loadActiveSheetAsync'](){var _0x2689c3=_0x53128e;throw new Error(_0x2689c3(0x1e8));}async[_0x53128e(0x1d7)](_0x20dc31){return this['loadSheetAsync'](_0x20dc31);}async[_0x53128e(0x1ec)](_0x33f2fd,_0x5487ab){var _0x3fe3bd=_0x53128e;return await this[_0x3fe3bd(0x1e4)][_0x3fe3bd(0x1d7)](_0x33f2fd,0x0,_0x5487ab)?(await this[_0x3fe3bd(0x1da)][_0x3fe3bd(0x1e7)](_0x33f2fd),this[_0x3fe3bd(0x1dd)][_0x3fe3bd(0x1d8)](_0x33f2fd)):null;}['subscribeCollaborators'](_0x39b329,_0x40207d){var _0x98017b=_0x53128e;const _0x3ddd62=this[_0x98017b(0x1d2)][_0x98017b(0x1ca)](c[_0x98017b(0x1e6)])[_0x98017b(0x1cb)](_0x39b329)[_0x98017b(0x1d3)](b[_0x98017b(0x1cc)](_0x551180=>_0x551180[_0x98017b(0x1d6)]))[_0x98017b(0x1f6)](_0x56e8cd=>_0x40207d(Array['from'](_0x56e8cd[_0x98017b(0x1e0)]())));return i['toDisposable'](_0x3ddd62);}},exports['FCollaboration']=d([s(0x1,i[_0x53128e(0x1d5)](i['Injector'])),s(0x2,i['IUniverInstanceService']),s(0x3,i[_0x53128e(0x1d5)](v[_0x53128e(0x1f5)])),s(0x4,i[_0x53128e(0x1d5)](c['CollaborationController']))],exports['FCollaboration']);function _0x351c(_0x2afd53,_0x5d1464){var _0x357b54=_0x357b();return _0x351c=function(_0x351cd4,_0x22c55c){_0x351cd4=_0x351cd4-0x1c9;var _0x96898c=_0x357b54[_0x351cd4];return _0x96898c;},_0x351c(_0x2afd53,_0x5d1464);}class u extends l['FUniver']{[_0x53128e(0x1f4)](){var _0x138ae6=_0x53128e;return this['_injector'][_0x138ae6(0x1eb)](exports[_0x138ae6(0x1f1)],{'getUniverSheet':_0x48b763=>this[_0x138ae6(0x1d8)](_0x48b763)});}[_0x53128e(0x1e2)](_0x3446f4,_0x543559,_0x518f07){var _0x891a90=_0x53128e;return this[_0x891a90(0x1d2)][_0x891a90(0x1eb)](c[_0x891a90(0x1c9)])[_0x891a90(0x1f7)](_0x3446f4,_0x543559,_0x518f07);}}l['FUniver']['extend'](u);