@univerjs-pro/collaboration-client 0.16.1 → 0.17.0
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/plugin.d.ts +4 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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 +11 -11
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x22fca2=_0x5238;(function(_0x279363,_0x1565b0){const _0x54ae6a=_0x5238,_0x4b4107=_0x279363();while(!![]){try{const _0xa89aee=-parseInt(_0x54ae6a(0x161))/0x1+-parseInt(_0x54ae6a(0x157))/0x2*(parseInt(_0x54ae6a(0x183))/0x3)+-parseInt(_0x54ae6a(0x168))/0x4*(parseInt(_0x54ae6a(0x147))/0x5)+parseInt(_0x54ae6a(0x15d))/0x6*(parseInt(_0x54ae6a(0x154))/0x7)+parseInt(_0x54ae6a(0x17c))/0x8+parseInt(_0x54ae6a(0x149))/0x9*(-parseInt(_0x54ae6a(0x185))/0xa)+parseInt(_0x54ae6a(0x16f))/0xb;if(_0xa89aee===_0x1565b0)break;else _0x4b4107['push'](_0x4b4107['shift']());}catch(_0x505e4e){_0x4b4107['push'](_0x4b4107['shift']());}}}(_0x2e25,0x36567));Object[_0x22fca2(0x14a)](exports,Symbol[_0x22fca2(0x177)],{'value':_0x22fca2(0x143)});function _0x2e25(){const _0x90b513=['switchMap','_snapshotService','registerEventHandler','toDisposable','FBase','74946itCfHM','MemberService','loadUnitOfRevision','Event','186027oQBBMd','SnapshotService','from','loadServerUnit','loadSheet','loadSheetAsync','members$','184sDtigH','loadActiveSheet','_univerInstanceService','NOT_COLLAB','DataLoaderService','fireEvent','getCollaboration','7037635yjjXZU','IUniverInstanceService','FEventName','subscribe','loadServerUnitOfRevision','FCollaboration','DisposableCollection','extend','toStringTag','get','disposeWithMe','length','entityInit$','1790272GjLdfR','getFocusedUnit','Inject','waitForRoom$','_handler','Injector','status$','15pRnqTl','createInstance','491390yIIfXZ','getOwnPropertyDescriptor','_initialize','Module','_injector','FEnum','loadActiveSheetAsync','14930VGGSpX','getCollaborationStatus','45ThYFxx','defineProperty','status','FUniver','getUniverSheet','CollaborationStatus','CollaborationStatusChanged','CollaborationController','add','_collaborationController','subscribeCollaborators','7fjVRgc','state','getUnitId','33766vRHtKQ'];_0x2e25=function(){return _0x90b513;};return _0x2e25();}const s=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),n=require('@univerjs/core'),h=require('@univerjs-pro/collaboration'),d=require('rxjs');class v extends l['FEnum']{get['CollaborationStatus'](){const _0x2e7ab0=_0x22fca2;return s[_0x2e7ab0(0x14e)];}}l[_0x22fca2(0x145)][_0x22fca2(0x176)](v);class C{get[_0x22fca2(0x14f)](){const _0x5a479c=_0x22fca2;return _0x5a479c(0x14f);}}l[_0x22fca2(0x171)][_0x22fca2(0x176)](C);function _0x5238(_0x24bae4,_0xbf4169){_0x24bae4=_0x24bae4-0x142;const _0x2e25fe=_0x2e25();let _0x52381f=_0x2e25fe[_0x24bae4];return _0x52381f;}var S=Object[_0x22fca2(0x186)],g=(_0x140c1b,_0x552852,_0x6f92ae,_0xb6f562)=>{const _0x13f729=_0x22fca2;for(var _0x5e6cc1=_0xb6f562>0x1?void 0x0:_0xb6f562?S(_0x552852,_0x6f92ae):_0x552852,_0x16c6cf=_0x140c1b[_0x13f729(0x17a)]-0x1,_0x5894eb;_0x16c6cf>=0x0;_0x16c6cf--)(_0x5894eb=_0x140c1b[_0x16c6cf])&&(_0x5e6cc1=_0x5894eb(_0x5e6cc1)||_0x5e6cc1);return _0x5e6cc1;},b=(_0x2635d1,_0x222f0d)=>(_0x39cd76,_0x4a1227)=>_0x222f0d(_0x39cd76,_0x4a1227,_0x2635d1);exports[_0x22fca2(0x174)]=class extends l[_0x22fca2(0x15c)]{constructor(_0x2f43ce,_0x55e31f,_0x1d4067,_0x385207,_0x253b3a){const _0x326046=_0x22fca2;super(),this[_0x326046(0x180)]=_0x2f43ce,this[_0x326046(0x144)]=_0x55e31f,this[_0x326046(0x16a)]=_0x1d4067,this['_snapshotService']=_0x385207,this['_collaborationController']=_0x253b3a;}async[_0x22fca2(0x169)](){const _0xd62d9e=_0x22fca2;return this[_0xd62d9e(0x146)]();}async[_0x22fca2(0x146)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x22fca2(0x165)](_0x209cb4){const _0x4147ca=_0x22fca2;return this[_0x4147ca(0x166)](_0x209cb4);}async[_0x22fca2(0x166)](_0x3effef,_0x371f33){const _0x591907=_0x22fca2;return await this[_0x591907(0x159)]['loadSheet'](_0x3effef,0x0,_0x371f33)?(await this[_0x591907(0x152)]['readyForCollab'](_0x3effef),this[_0x591907(0x180)]['getUniverSheet'](_0x3effef)):null;}[_0x22fca2(0x153)](_0x1509ef,_0x2e6035){const _0x22357b=_0x22fca2,_0x5b6999=this[_0x22357b(0x144)]['get'](s[_0x22357b(0x15e)])[_0x22357b(0x17f)](_0x1509ef)['pipe'](d[_0x22357b(0x158)](_0x336d8a=>_0x336d8a[_0x22357b(0x167)]))[_0x22357b(0x172)](_0x3c9a57=>_0x2e6035(Array[_0x22357b(0x163)](_0x3c9a57['values']())));return n[_0x22357b(0x15b)](_0x5b6999);}[_0x22fca2(0x148)](_0x30708a){const _0x486c68=_0x22fca2;var _0x384972;let _0x2a7ad8;if(_0x30708a)_0x2a7ad8=_0x30708a;else{const _0x50182b=this[_0x486c68(0x16a)][_0x486c68(0x17d)]();_0x2a7ad8=_0x50182b==null?void 0x0:_0x50182b[_0x486c68(0x156)]();}if(!_0x2a7ad8)return s[_0x486c68(0x14e)][_0x486c68(0x16b)];const _0x14e998=this[_0x486c68(0x152)]['getCollabEntity'](_0x2a7ad8);return(_0x384972=_0x14e998==null?void 0x0:_0x14e998[_0x486c68(0x155)][_0x486c68(0x14b)])!=null?_0x384972:s['CollaborationStatus'][_0x486c68(0x16b)];}},exports[_0x22fca2(0x174)]=g([b(0x1,n['Inject'](n[_0x22fca2(0x181)])),b(0x2,n[_0x22fca2(0x170)]),b(0x3,n[_0x22fca2(0x17e)](h[_0x22fca2(0x162)])),b(0x4,n['Inject'](s[_0x22fca2(0x150)]))],exports[_0x22fca2(0x174)]);class _ extends l['FUniver']{[_0x22fca2(0x142)](_0x5ff518){const _0x3f3ab2=_0x22fca2,_0x428ecc=_0x5ff518[_0x3f3ab2(0x178)](s[_0x3f3ab2(0x150)]);this[_0x3f3ab2(0x179)](this[_0x3f3ab2(0x15a)](this[_0x3f3ab2(0x160)][_0x3f3ab2(0x14f)],()=>{const _0x389919=_0x3f3ab2,_0x21cf37=new n[(_0x389919(0x175))](),_0x31e557=_0x428ecc[_0x389919(0x17b)][_0x389919(0x172)](_0x4e469d=>{const _0x2b57da=_0x389919,_0xa4e1b0=_0x4e469d[_0x2b57da(0x182)][_0x2b57da(0x172)](_0x1500af=>{const _0x13f93f=_0x2b57da;this[_0x13f93f(0x16d)](this[_0x13f93f(0x160)][_0x13f93f(0x14f)],{'unitId':_0x4e469d['unitID'],'status':_0x1500af});});_0x21cf37[_0x2b57da(0x151)](n[_0x2b57da(0x15b)](_0xa4e1b0));});return _0x21cf37[_0x389919(0x151)](n[_0x389919(0x15b)](_0x31e557)),_0x21cf37;}));}[_0x22fca2(0x16e)](){const _0x362ad3=_0x22fca2;return this[_0x362ad3(0x144)][_0x362ad3(0x184)](exports[_0x362ad3(0x174)],{'getUniverSheet':_0x106092=>this[_0x362ad3(0x14d)](_0x106092)});}[_0x22fca2(0x164)](_0x303b3f,_0x2babce,_0x4314f6){const _0xe89ba5=_0x22fca2;return this[_0xe89ba5(0x144)][_0xe89ba5(0x178)](s[_0xe89ba5(0x16c)])['loadUnit'](_0x303b3f,_0x2babce,_0x4314f6);}[_0x22fca2(0x173)](_0x4e2ee8,_0x5cd66b,_0x2005ac){const _0xabd210=_0x22fca2;return this[_0xabd210(0x144)][_0xabd210(0x178)](s['DataLoaderService'])[_0xabd210(0x15f)](_0x4e2ee8,_0x5cd66b,_0x2005ac);}}l[_0x22fca2(0x14c)][_0x22fca2(0x176)](_);
|