@univerjs-pro/collaboration-client 0.5.4 → 0.5.5-experimental.20250123-34738ff
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 +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/facade/f-collaboration.d.ts +12 -2
- package/lib/types/facade/f-univer.d.ts +6 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var
|
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);
|