@univerjs-pro/collaboration-client 0.5.5-experimental.20250123-34738ff → 0.5.5-experimental.20250125-1aa33c0

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 _0x12bdd1=_0x4b5b;function _0x4b5b(_0x3f89ba,_0x41daf4){var _0x11cccf=_0x11cc();return _0x4b5b=function(_0x4b5b47,_0x9476e2){_0x4b5b47=_0x4b5b47-0x19d;var _0x4b216b=_0x11cccf[_0x4b5b47];return _0x4b216b;},_0x4b5b(_0x3f89ba,_0x41daf4);}(function(_0x4cbc8f,_0x261a02){var _0x1c4cd5=_0x4b5b,_0x53e6e0=_0x4cbc8f();while(!![]){try{var _0x5d21d3=parseInt(_0x1c4cd5(0x1a7))/0x1+-parseInt(_0x1c4cd5(0x1b3))/0x2*(-parseInt(_0x1c4cd5(0x1cc))/0x3)+parseInt(_0x1c4cd5(0x1c6))/0x4*(parseInt(_0x1c4cd5(0x1a8))/0x5)+-parseInt(_0x1c4cd5(0x1c2))/0x6+-parseInt(_0x1c4cd5(0x1bb))/0x7*(parseInt(_0x1c4cd5(0x1cd))/0x8)+-parseInt(_0x1c4cd5(0x1bd))/0x9+parseInt(_0x1c4cd5(0x1a2))/0xa;if(_0x5d21d3===_0x261a02)break;else _0x53e6e0['push'](_0x53e6e0['shift']());}catch(_0x26e988){_0x53e6e0['push'](_0x53e6e0['shift']());}}}(_0x11cc,0x543a2));var __defProp=Object[_0x12bdd1(0x1be)],__name=(_0x310077,_0x1d418d)=>__defProp(_0x310077,_0x12bdd1(0x1bf),{'value':_0x1d418d,'configurable':!0x0});function _0x11cc(){var _0x36c9eb=['FUniver','359739MqklsK','4483504UDiiAF','loadActiveSheetAsync','@univerjs/core','getUniverSheet','Inject','__decorateClass','UNIVER_SHEET','SnapshotService','FUniverCollaborationClientMixin','6258570fhOnTg','from','values','switchMap','toStringTag','338745gpgnqV','5sczyPT','readyForCollab','__decorateParam','CollaborationController','members$','_snapshotService','IUniverInstanceService','_collaborationController','subscribeCollaborators','getUnit','get','8DBYuEr','_injector','length','loadSheetAsync','rxjs','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FCollaboration','_univerInstanceService','7uJrxRA','extend','3916368XWOoOP','defineProperty','name','loadSheet','@univerjs-pro/collaboration-client','2481546xcpUTB','_handler','Injector','getOwnPropertyDescriptor','1239684OZaKex','createInstance','MemberService','Module','getCollaboration'];_0x11cc=function(){return _0x36c9eb;};return _0x11cc();}Object[_0x12bdd1(0x1be)](exports,Symbol[_0x12bdd1(0x1a6)],{'value':_0x12bdd1(0x1c9)});const core=require(_0x12bdd1(0x1cf)),collaboration=require('@univerjs-pro/collaboration'),collaborationClient=require(_0x12bdd1(0x1c1)),rxjs=require(_0x12bdd1(0x1b7));var __defProp2=Object[_0x12bdd1(0x1be)],__getOwnPropDesc=Object[_0x12bdd1(0x1c5)],__decorateClass=__name((_0x15f2ea,_0x3157b0,_0x3af37c,_0x141cf2)=>{var _0x261daf=_0x12bdd1;for(var _0x48ede3=_0x141cf2>0x1?void 0x0:_0x141cf2?__getOwnPropDesc(_0x3157b0,_0x3af37c):_0x3157b0,_0x3bb9e9=_0x15f2ea[_0x261daf(0x1b5)]-0x1,_0x4abe3f;_0x3bb9e9>=0x0;_0x3bb9e9--)(_0x4abe3f=_0x15f2ea[_0x3bb9e9])&&(_0x48ede3=(_0x141cf2?_0x4abe3f(_0x3157b0,_0x3af37c,_0x48ede3):_0x4abe3f(_0x48ede3))||_0x48ede3);return _0x141cf2&&_0x48ede3&&__defProp2(_0x3157b0,_0x3af37c,_0x48ede3),_0x48ede3;},_0x12bdd1(0x19e)),__decorateParam=__name((_0x5eaae3,_0x19fd20)=>(_0x5d7386,_0x530e2f)=>_0x19fd20(_0x5d7386,_0x530e2f,_0x5eaae3),_0x12bdd1(0x1aa)),_a;exports['FCollaboration']=(_a=class extends core['FBase']{constructor(_0x31367b,_0x4d3f9b,_0x3b15a7,_0x2b8f36,_0x4e9063){var _0xf060dc=_0x12bdd1;super(),this[_0xf060dc(0x1c3)]=_0x31367b,this[_0xf060dc(0x1b4)]=_0x4d3f9b,this[_0xf060dc(0x1ba)]=_0x3b15a7,this[_0xf060dc(0x1ad)]=_0x2b8f36,this[_0xf060dc(0x1af)]=_0x4e9063;}async['loadActiveSheet'](){var _0x699c84=_0x12bdd1;return this[_0x699c84(0x1ce)]();}async[_0x12bdd1(0x1ce)](){var _0x39994c=_0x12bdd1;throw new Error(_0x39994c(0x1b8));}async[_0x12bdd1(0x1c0)](_0x423c27){var _0x4fcfdb=_0x12bdd1;return this[_0x4fcfdb(0x1b6)](_0x423c27);}async[_0x12bdd1(0x1b6)](_0x530e72){var _0x2f4ef6=_0x12bdd1;return this['_univerInstanceService'][_0x2f4ef6(0x1b1)](_0x530e72,core['UniverInstanceType'][_0x2f4ef6(0x19f)])||await this[_0x2f4ef6(0x1ad)][_0x2f4ef6(0x1c0)](_0x530e72,0x0)?(await this[_0x2f4ef6(0x1af)][_0x2f4ef6(0x1a9)](_0x530e72),this[_0x2f4ef6(0x1c3)][_0x2f4ef6(0x1d0)](_0x530e72)):null;}[_0x12bdd1(0x1b0)](_0x1cf123,_0x5ae8f8){var _0x515e76=_0x12bdd1;const _0x3a7be3=this[_0x515e76(0x1b4)][_0x515e76(0x1b2)](collaborationClient[_0x515e76(0x1c8)])['waitForRoom$'](_0x1cf123)['pipe'](rxjs[_0x515e76(0x1a5)](_0x4adc35=>_0x4adc35[_0x515e76(0x1ac)]))['subscribe'](_0x340a77=>_0x5ae8f8(Array[_0x515e76(0x1a3)](_0x340a77[_0x515e76(0x1a4)]())));return core['toDisposable'](_0x3a7be3);}},__name(_a,_0x12bdd1(0x1b9)),_a),exports[_0x12bdd1(0x1b9)]=__decorateClass([__decorateParam(0x1,core[_0x12bdd1(0x19d)](core[_0x12bdd1(0x1c4)])),__decorateParam(0x2,core[_0x12bdd1(0x1ae)]),__decorateParam(0x3,core['Inject'](collaboration[_0x12bdd1(0x1a0)])),__decorateParam(0x4,core['Inject'](collaborationClient[_0x12bdd1(0x1ab)]))],exports[_0x12bdd1(0x1b9)]);const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends core[_0x12bdd1(0x1cb)]{[_0x12bdd1(0x1ca)](){var _0x27f5dc=_0x12bdd1;return this['_injector'][_0x27f5dc(0x1c7)](exports[_0x27f5dc(0x1b9)],{'getUniverSheet':__name(_0x553a0b=>this[_0x27f5dc(0x1d0)](_0x553a0b),_0x27f5dc(0x1d0))});}};__name(_FUniverCollaborationClientMixin,_0x12bdd1(0x1a1));let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;core[_0x12bdd1(0x1cb)][_0x12bdd1(0x1bc)](FUniverCollaborationClientMixin);
1
+ 'use strict';function _0x4442(){var _0x19a6ff=['get','1749540KgOOoP','rxjs','_handler','_snapshotService','from','defineProperty','length','getUniverSheet','SnapshotService','Inject','loadActiveSheetAsync','_collaborationController','6332920foGBlf','loadSheet','toStringTag','983010ztOIbY','UNIVER_SHEET','loadActiveSheet','FCollaboration','415660CAfEUa','MemberService','switchMap','extend','@univerjs-pro/collaboration-client','Module','getOwnPropertyDescriptor','getUnit','values','@univerjs-pro/collaboration','waitForRoom$','10tjyjOX','__decorateClass','readyForCollab','@univerjs/core','14jZlwpP','CollaborationController','12piEuDq','1683616lBAlHh','subscribeCollaborators','FUniver','members$','FUniverCollaborationClientMixin','447782RvDwbk','_univerInstanceService','UniverInstanceType','Injector','9lQnocA','808278AcQbzy','createInstance','_injector','1GxksTx','loadSheetAsync'];_0x4442=function(){return _0x19a6ff;};return _0x4442();}var _0x43eb01=_0x1647;(function(_0x23b538,_0x5c19e3){var _0xf81f80=_0x1647,_0x48688a=_0x23b538();while(!![]){try{var _0x145dc2=-parseInt(_0xf81f80(0x16a))/0x1*(parseInt(_0xf81f80(0x162))/0x2)+-parseInt(_0xf81f80(0x167))/0x3+parseInt(_0xf81f80(0x14b))/0x4*(parseInt(_0xf81f80(0x156))/0x5)+parseInt(_0xf81f80(0x147))/0x6*(parseInt(_0xf81f80(0x15a))/0x7)+-parseInt(_0xf81f80(0x15d))/0x8+-parseInt(_0xf81f80(0x166))/0x9*(parseInt(_0xf81f80(0x138))/0xa)+parseInt(_0xf81f80(0x144))/0xb*(parseInt(_0xf81f80(0x15c))/0xc);if(_0x145dc2===_0x5c19e3)break;else _0x48688a['push'](_0x48688a['shift']());}catch(_0x2d5e4e){_0x48688a['push'](_0x48688a['shift']());}}}(_0x4442,0x38c31));var __defProp=Object[_0x43eb01(0x13d)],__name=(_0xccb6d9,_0x957ef2)=>__defProp(_0xccb6d9,'name',{'value':_0x957ef2,'configurable':!0x0});Object[_0x43eb01(0x13d)](exports,Symbol[_0x43eb01(0x146)],{'value':_0x43eb01(0x150)});const core=require(_0x43eb01(0x159)),collaboration=require(_0x43eb01(0x154)),collaborationClient=require(_0x43eb01(0x14f)),rxjs=require(_0x43eb01(0x139));var __defProp2=Object[_0x43eb01(0x13d)],__getOwnPropDesc=Object[_0x43eb01(0x151)],__decorateClass=__name((_0x300011,_0x59e108,_0x372e2b,_0x2a436d)=>{var _0x2344ca=_0x43eb01;for(var _0x37bd53=_0x2a436d>0x1?void 0x0:_0x2a436d?__getOwnPropDesc(_0x59e108,_0x372e2b):_0x59e108,_0x4e07f2=_0x300011[_0x2344ca(0x13e)]-0x1,_0x354861;_0x4e07f2>=0x0;_0x4e07f2--)(_0x354861=_0x300011[_0x4e07f2])&&(_0x37bd53=(_0x2a436d?_0x354861(_0x59e108,_0x372e2b,_0x37bd53):_0x354861(_0x37bd53))||_0x37bd53);return _0x2a436d&&_0x37bd53&&__defProp2(_0x59e108,_0x372e2b,_0x37bd53),_0x37bd53;},_0x43eb01(0x157)),__decorateParam=__name((_0x32fd7d,_0x4c7aeb)=>(_0x1cd9a4,_0x7918e7)=>_0x4c7aeb(_0x1cd9a4,_0x7918e7,_0x32fd7d),'__decorateParam'),_a;exports[_0x43eb01(0x14a)]=(_a=class extends core['FBase']{constructor(_0x23a8d0,_0x1df098,_0x412324,_0x48395e,_0x5b6fc3){var _0x47a853=_0x43eb01;super(),this['_handler']=_0x23a8d0,this[_0x47a853(0x169)]=_0x1df098,this[_0x47a853(0x163)]=_0x412324,this[_0x47a853(0x13b)]=_0x48395e,this['_collaborationController']=_0x5b6fc3;}async[_0x43eb01(0x149)](){var _0x152d13=_0x43eb01;return this[_0x152d13(0x142)]();}async[_0x43eb01(0x142)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x43eb01(0x145)](_0x3a0a49){var _0x9ff776=_0x43eb01;return this[_0x9ff776(0x16b)](_0x3a0a49);}async['loadSheetAsync'](_0x419ce9){var _0x5701d6=_0x43eb01;return this[_0x5701d6(0x163)][_0x5701d6(0x152)](_0x419ce9,core[_0x5701d6(0x164)][_0x5701d6(0x148)])||await this['_snapshotService']['loadSheet'](_0x419ce9,0x0)?(await this[_0x5701d6(0x143)][_0x5701d6(0x158)](_0x419ce9),this[_0x5701d6(0x13a)][_0x5701d6(0x13f)](_0x419ce9)):null;}[_0x43eb01(0x15e)](_0x2802da,_0x3cb3be){var _0x246043=_0x43eb01;const _0x2473a4=this[_0x246043(0x169)][_0x246043(0x16c)](collaborationClient[_0x246043(0x14c)])[_0x246043(0x155)](_0x2802da)['pipe'](rxjs[_0x246043(0x14d)](_0x3d98c6=>_0x3d98c6[_0x246043(0x160)]))['subscribe'](_0x25363c=>_0x3cb3be(Array[_0x246043(0x13c)](_0x25363c[_0x246043(0x153)]())));return core['toDisposable'](_0x2473a4);}},__name(_a,'FCollaboration'),_a),exports[_0x43eb01(0x14a)]=__decorateClass([__decorateParam(0x1,core[_0x43eb01(0x141)](core[_0x43eb01(0x165)])),__decorateParam(0x2,core['IUniverInstanceService']),__decorateParam(0x3,core[_0x43eb01(0x141)](collaboration[_0x43eb01(0x140)])),__decorateParam(0x4,core['Inject'](collaborationClient[_0x43eb01(0x15b)]))],exports[_0x43eb01(0x14a)]);const _FUniverCollaborationClientMixin=class _FUniverCollaborationClientMixin extends core[_0x43eb01(0x15f)]{['getCollaboration'](){var _0x3ea1fc=_0x43eb01;return this[_0x3ea1fc(0x169)][_0x3ea1fc(0x168)](exports['FCollaboration'],{'getUniverSheet':__name(_0x5c69a3=>this[_0x3ea1fc(0x13f)](_0x5c69a3),_0x3ea1fc(0x13f))});}};function _0x1647(_0x5279ad,_0x417f2c){var _0x44428d=_0x4442();return _0x1647=function(_0x1647f5,_0x581b40){_0x1647f5=_0x1647f5-0x138;var _0x27b849=_0x44428d[_0x1647f5];return _0x27b849;},_0x1647(_0x5279ad,_0x417f2c);}__name(_FUniverCollaborationClientMixin,_0x43eb01(0x161));let FUniverCollaborationClientMixin=_FUniverCollaborationClientMixin;core[_0x43eb01(0x15f)][_0x43eb01(0x14e)](FUniverCollaborationClientMixin);