@univerjs-pro/collaboration-client 0.16.0 → 0.16.1
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/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 +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2aba8a=_0x3558;(function(_0x318e0c,_0x1abd1e){const _0x24ea2b=_0x3558,_0x543ccc=_0x318e0c();while(!![]){try{const _0x380898=-parseInt(_0x24ea2b(0x102))/0x1+parseInt(_0x24ea2b(0xe4))/0x2+parseInt(_0x24ea2b(0xfb))/0x3*(parseInt(_0x24ea2b(0x10b))/0x4)+-parseInt(_0x24ea2b(0xe6))/0x5+parseInt(_0x24ea2b(0xfd))/0x6*(parseInt(_0x24ea2b(0x104))/0x7)+-parseInt(_0x24ea2b(0xd2))/0x8*(-parseInt(_0x24ea2b(0xf5))/0x9)+-parseInt(_0x24ea2b(0xdd))/0xa;if(_0x380898===_0x1abd1e)break;else _0x543ccc['push'](_0x543ccc['shift']());}catch(_0x338b10){_0x543ccc['push'](_0x543ccc['shift']());}}}(_0x1aba,0x5ab12));Object[_0x2aba8a(0xfa)](exports,Symbol[_0x2aba8a(0xde)],{'value':_0x2aba8a(0xf1)});const s=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),n=require('@univerjs/core'),h=require('@univerjs-pro/collaboration'),d=require('rxjs');function _0x3558(_0x2bb727,_0x19aa70){_0x2bb727=_0x2bb727-0xcb;const _0x1aba6b=_0x1aba();let _0x3558ab=_0x1aba6b[_0x2bb727];return _0x3558ab;}class v extends l[_0x2aba8a(0xec)]{get['CollaborationStatus'](){return s['CollaborationStatus'];}}l['FEnum'][_0x2aba8a(0xcb)](v);class C{get[_0x2aba8a(0xeb)](){const _0x3420a4=_0x2aba8a;return _0x3420a4(0xeb);}}l[_0x2aba8a(0xef)]['extend'](C);var S=Object[_0x2aba8a(0xdb)],g=(_0x4a4e21,_0x3c9eb0,_0x2eee98,_0x59ff24)=>{const _0x172512=_0x2aba8a;for(var _0x32ae19=_0x59ff24>0x1?void 0x0:_0x59ff24?S(_0x3c9eb0,_0x2eee98):_0x3c9eb0,_0x551c5f=_0x4a4e21[_0x172512(0xf9)]-0x1,_0x557cf7;_0x551c5f>=0x0;_0x551c5f--)(_0x557cf7=_0x4a4e21[_0x551c5f])&&(_0x32ae19=_0x557cf7(_0x32ae19)||_0x32ae19);return _0x32ae19;},b=(_0x13d048,_0x3b04b1)=>(_0x3ebc41,_0x485779)=>_0x3b04b1(_0x3ebc41,_0x485779,_0x13d048);exports['FCollaboration']=class extends l[_0x2aba8a(0xe0)]{constructor(_0x59ab87,_0x450a0b,_0x3468a7,_0x565186,_0x3fcd27){const _0x2f45e8=_0x2aba8a;super(),this['_handler']=_0x59ab87,this['_injector']=_0x450a0b,this['_univerInstanceService']=_0x3468a7,this[_0x2f45e8(0xfe)]=_0x565186,this[_0x2f45e8(0x108)]=_0x3fcd27;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x2aba8a(0xd1)](){const _0x11d235=_0x2aba8a;throw new Error(_0x11d235(0x10a));}async[_0x2aba8a(0xf4)](_0x2bbbf3){const _0x20c327=_0x2aba8a;return this[_0x20c327(0x107)](_0x2bbbf3);}async[_0x2aba8a(0x107)](_0x5860af,_0x50bf82){const _0x22ebee=_0x2aba8a;return await this[_0x22ebee(0xfe)][_0x22ebee(0xf4)](_0x5860af,0x0,_0x50bf82)?(await this[_0x22ebee(0x108)][_0x22ebee(0x105)](_0x5860af),this['_handler'][_0x22ebee(0xe5)](_0x5860af)):null;}[_0x2aba8a(0xff)](_0x20dc51,_0x131d3c){const _0x5aab1f=_0x2aba8a,_0x2d9910=this[_0x5aab1f(0xe9)]['get'](s['MemberService'])['waitForRoom$'](_0x20dc51)[_0x5aab1f(0xd9)](d['switchMap'](_0x3b5d2d=>_0x3b5d2d['members$']))['subscribe'](_0x3ac920=>_0x131d3c(Array[_0x5aab1f(0xd7)](_0x3ac920[_0x5aab1f(0xf2)]())));return n[_0x5aab1f(0xe8)](_0x2d9910);}[_0x2aba8a(0xf7)](_0x142520){const _0x275998=_0x2aba8a;var _0x418474;let _0x4f175b;if(_0x142520)_0x4f175b=_0x142520;else{const _0xb541a9=this[_0x275998(0x100)][_0x275998(0xf8)]();_0x4f175b=_0xb541a9==null?void 0x0:_0xb541a9[_0x275998(0x106)]();}if(!_0x4f175b)return s['CollaborationStatus']['NOT_COLLAB'];const _0x9bdcd4=this['_collaborationController'][_0x275998(0xe3)](_0x4f175b);return(_0x418474=_0x9bdcd4==null?void 0x0:_0x9bdcd4[_0x275998(0xcd)][_0x275998(0xfc)])!=null?_0x418474:s[_0x275998(0x10c)][_0x275998(0x109)];}},exports[_0x2aba8a(0xdc)]=g([b(0x1,n[_0x2aba8a(0xd4)](n[_0x2aba8a(0x103)])),b(0x2,n[_0x2aba8a(0xed)]),b(0x3,n['Inject'](h['SnapshotService'])),b(0x4,n[_0x2aba8a(0xd4)](s[_0x2aba8a(0xce)]))],exports['FCollaboration']);function _0x1aba(){const _0x28c4c8=['FEventName','loadUnit','Module','values','loadServerUnit','loadSheet','23013AIUuHR','subscribe','getCollaborationStatus','getFocusedUnit','length','defineProperty','17844dzZnBH','status','6uRIkcr','_snapshotService','subscribeCollaborators','_univerInstanceService','FUniver','148421YKgDrl','Injector','2041550zktcqy','readyForCollab','getUnitId','loadSheetAsync','_collaborationController','NOT_COLLAB','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','436VRPnpi','CollaborationStatus','extend','registerEventHandler','state','CollaborationController','loadUnitOfRevision','status$','loadActiveSheetAsync','984aFaEhS','loadServerUnitOfRevision','Inject','DataLoaderService','disposeWithMe','from','getCollaboration','pipe','add','getOwnPropertyDescriptor','FCollaboration','4261700uHYyIa','toStringTag','get','FBase','entityInit$','createInstance','getCollabEntity','132570ywnznL','getUniverSheet','1873565DtyZkV','fireEvent','toDisposable','_injector','Event','CollaborationStatusChanged','FEnum','IUniverInstanceService','unitID'];_0x1aba=function(){return _0x28c4c8;};return _0x1aba();}class _ extends l[_0x2aba8a(0x101)]{['_initialize'](_0x29b709){const _0x3cd97c=_0x2aba8a,_0x2e0130=_0x29b709[_0x3cd97c(0xdf)](s['CollaborationController']);this[_0x3cd97c(0xd6)](this[_0x3cd97c(0xcc)](this[_0x3cd97c(0xea)][_0x3cd97c(0xeb)],()=>{const _0x12726a=_0x3cd97c,_0x3da718=new n['DisposableCollection'](),_0x45370a=_0x2e0130[_0x12726a(0xe1)][_0x12726a(0xf6)](_0x2e8284=>{const _0x246d9a=_0x12726a,_0x4c40a1=_0x2e8284[_0x246d9a(0xd0)]['subscribe'](_0x3ea8ce=>{const _0x3f4c0e=_0x246d9a;this[_0x3f4c0e(0xe7)](this[_0x3f4c0e(0xea)][_0x3f4c0e(0xeb)],{'unitId':_0x2e8284[_0x3f4c0e(0xee)],'status':_0x3ea8ce});});_0x3da718[_0x246d9a(0xda)](n[_0x246d9a(0xe8)](_0x4c40a1));});return _0x3da718[_0x12726a(0xda)](n[_0x12726a(0xe8)](_0x45370a)),_0x3da718;}));}[_0x2aba8a(0xd8)](){const _0x15e0f4=_0x2aba8a;return this['_injector'][_0x15e0f4(0xe2)](exports[_0x15e0f4(0xdc)],{'getUniverSheet':_0x11bad9=>this[_0x15e0f4(0xe5)](_0x11bad9)});}[_0x2aba8a(0xf3)](_0x109c10,_0x221cf3,_0x321e16){const _0x2bf791=_0x2aba8a;return this[_0x2bf791(0xe9)][_0x2bf791(0xdf)](s[_0x2bf791(0xd5)])[_0x2bf791(0xf0)](_0x109c10,_0x221cf3,_0x321e16);}[_0x2aba8a(0xd3)](_0x4969eb,_0x33d2bd,_0x445057){const _0x11bbfd=_0x2aba8a;return this['_injector']['get'](s[_0x11bbfd(0xd5)])[_0x11bbfd(0xcf)](_0x4969eb,_0x33d2bd,_0x445057);}}l[_0x2aba8a(0x101)][_0x2aba8a(0xcb)](_);
|