@univerjs-pro/collaboration-client 0.25.0 → 0.25.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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xbb5dc9=_0x3ed1;(function(_0x9fe8c6,_0x3f5c46){const _0x4eb0e4=_0x3ed1,_0x3bd5d2=_0x9fe8c6();while(!![]){try{const _0x509f6e=parseInt(_0x4eb0e4(0x11d))/0x1+parseInt(_0x4eb0e4(0x10e))/0x2*(-parseInt(_0x4eb0e4(0x125))/0x3)+parseInt(_0x4eb0e4(0x133))/0x4*(parseInt(_0x4eb0e4(0x128))/0x5)+-parseInt(_0x4eb0e4(0x10d))/0x6+-parseInt(_0x4eb0e4(0x138))/0x7*(parseInt(_0x4eb0e4(0x139))/0x8)+-parseInt(_0x4eb0e4(0x13a))/0x9+parseInt(_0x4eb0e4(0x112))/0xa;if(_0x509f6e===_0x3f5c46)break;else _0x3bd5d2['push'](_0x3bd5d2['shift']());}catch(_0x2533d8){_0x3bd5d2['push'](_0x3bd5d2['shift']());}}}(_0x14ab,0x263f1));import{CollaborationController as _0x32893e,CollaborationStatus as _0x393784,DataLoaderService as _0x580e28,MemberService as _0x4a083d}from'@univerjs-pro/collaboration-client';import{FBase as _0x7e9789,FEnum as _0xb00d44,FEventName as _0x128b7e,FUniver as _0x47575b}from'@univerjs/core/facade';import{DisposableCollection as _0xfbd677,IUniverInstanceService as _0x13bda4,Inject as _0x4571df,Injector as _0x32744b,toDisposable as _0x5540cc}from'@univerjs/core';import{SnapshotService as _0x1d9ba6}from'@univerjs-pro/collaboration';import{switchMap as _0x47fa49}from'rxjs';var h=class extends _0xb00d44{get['CollaborationStatus'](){return _0x393784;}};_0xb00d44[_0xbb5dc9(0x123)](h);var g=class extends _0x128b7e{get[_0xbb5dc9(0x118)](){return'CollaborationStatusChanged';}};function _0x3ed1(_0x5f5726,_0x238175){_0x5f5726=_0x5f5726-0x10a;const _0x14ab25=_0x14ab();let _0x3ed1ff=_0x14ab25[_0x5f5726];return _0x3ed1ff;}_0x128b7e[_0xbb5dc9(0x123)](g);function _0x14ab(){const _0x5416b2=['from','_collaborationController','getCollabEntity','loadUnitOfRevision','getOwnPropertyDescriptor','CollaborationStatusChanged','members$','getUniverSheet','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','get','224570DRPPPR','loadSheet','loadSheetAsync','length','status$','Event','extend','waitForRoom$','3069zQjDlc','decorate','registerEventHandler','139575FVvtvs','loadUnit','getUnitId','NOT_COLLAB','_snapshotService','createInstance','_injector','loadServerUnit','_univerInstanceService','function','entityInit$','4NKDcmN','getCollaborationStatus','_handler','fireEvent','add','13916pvSwPH','608ZceBhB','1234053VWNixG','unitID','readyForCollab','status','getFocusedUnit','pipe','subscribe','930072LBIhjn','348jRGCnD','disposeWithMe','defineProperty','loadActiveSheetAsync','5253910vsYbwU'];_0x14ab=function(){return _0x5416b2;};return _0x14ab();}function _(_0x49a733,_0x4b3457){return function(_0x59cdcf,_0xfa6f11){_0x4b3457(_0x59cdcf,_0xfa6f11,_0x49a733);};}function v(_0x5155ad,_0x34391a,_0xac7444,_0x52316c){const _0x553cd=_0xbb5dc9;var _0x1df4ca=arguments[_0x553cd(0x120)],_0x55ea02=_0x1df4ca<0x3?_0x34391a:_0x52316c===null?_0x52316c=Object[_0x553cd(0x117)](_0x34391a,_0xac7444):_0x52316c,_0x4ac87e;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x553cd(0x131))_0x55ea02=Reflect[_0x553cd(0x126)](_0x5155ad,_0x34391a,_0xac7444,_0x52316c);else{for(var _0x175fe4=_0x5155ad[_0x553cd(0x120)]-0x1;_0x175fe4>=0x0;_0x175fe4--)(_0x4ac87e=_0x5155ad[_0x175fe4])&&(_0x55ea02=(_0x1df4ca<0x3?_0x4ac87e(_0x55ea02):_0x1df4ca>0x3?_0x4ac87e(_0x34391a,_0xac7444,_0x55ea02):_0x4ac87e(_0x34391a,_0xac7444))||_0x55ea02);}return _0x1df4ca>0x3&&_0x55ea02&&Object[_0x553cd(0x110)](_0x34391a,_0xac7444,_0x55ea02),_0x55ea02;}let y=class extends _0x7e9789{constructor(_0x3dced3,_0x143473,_0x162c20,_0x1cb783,_0x1e4038){const _0x248000=_0xbb5dc9;super(),this['_handler']=_0x3dced3,this[_0x248000(0x12e)]=_0x143473,this[_0x248000(0x130)]=_0x162c20,this['_snapshotService']=_0x1cb783,this['_collaborationController']=_0x1e4038;}async['loadActiveSheet'](){const _0xe5cb13=_0xbb5dc9;return this[_0xe5cb13(0x111)]();}async[_0xbb5dc9(0x111)](){const _0x23bf52=_0xbb5dc9;throw Error(_0x23bf52(0x11b));}async[_0xbb5dc9(0x11e)](_0x25a020){const _0x4050b7=_0xbb5dc9;return this[_0x4050b7(0x11f)](_0x25a020);}async[_0xbb5dc9(0x11f)](_0x3cd166,_0x353772){const _0x17dba3=_0xbb5dc9;return await this[_0x17dba3(0x12c)][_0x17dba3(0x11e)](_0x3cd166,0x0,_0x353772)?(await this[_0x17dba3(0x114)][_0x17dba3(0x13c)](_0x3cd166),this[_0x17dba3(0x135)][_0x17dba3(0x11a)](_0x3cd166)):null;}['subscribeCollaborators'](_0x50dbc3,_0x533495){const _0x174ffe=_0xbb5dc9;return _0x5540cc(this[_0x174ffe(0x12e)][_0x174ffe(0x11c)](_0x4a083d)[_0x174ffe(0x124)](_0x50dbc3)[_0x174ffe(0x10b)](_0x47fa49(_0x2bc2f6=>_0x2bc2f6[_0x174ffe(0x119)]))['subscribe'](_0x42f470=>_0x533495(Array[_0x174ffe(0x113)](_0x42f470['values']()))));}[_0xbb5dc9(0x134)](_0x23b46e){const _0x2e432d=_0xbb5dc9;var _0x1c5fc1;let _0x35ac38;if(_0x23b46e)_0x35ac38=_0x23b46e;else{let _0x34e14a=this['_univerInstanceService'][_0x2e432d(0x10a)]();_0x35ac38=_0x34e14a==null?void 0x0:_0x34e14a[_0x2e432d(0x12a)]();}if(!_0x35ac38)return _0x393784[_0x2e432d(0x12b)];let _0x2c4221=this[_0x2e432d(0x114)][_0x2e432d(0x115)](_0x35ac38);return(_0x1c5fc1=_0x2c4221==null?void 0x0:_0x2c4221['state'][_0x2e432d(0x13d)])==null?_0x393784['NOT_COLLAB']:_0x1c5fc1;}};y=v([_(0x1,_0x4571df(_0x32744b)),_(0x2,_0x13bda4),_(0x3,_0x4571df(_0x1d9ba6)),_(0x4,_0x4571df(_0x32893e))],y);var b=class extends _0x47575b{['_initialize'](_0x454899){const _0x28f247=_0xbb5dc9;let _0x2445a1=_0x454899['get'](_0x32893e);this[_0x28f247(0x10f)](this[_0x28f247(0x127)](this[_0x28f247(0x122)]['CollaborationStatusChanged'],()=>{const _0x8ddcd0=_0x28f247;let _0x21544f=new _0xfbd677(),_0x5a2ede=_0x2445a1[_0x8ddcd0(0x132)][_0x8ddcd0(0x10c)](_0xe8bec2=>{const _0x35b4cd=_0x8ddcd0;let _0x14da0b=_0xe8bec2[_0x35b4cd(0x121)][_0x35b4cd(0x10c)](_0x4b0bba=>{const _0x272768=_0x35b4cd;let _0x298806={'unitId':_0xe8bec2[_0x272768(0x13b)],'status':_0x4b0bba};this[_0x272768(0x136)](this[_0x272768(0x122)][_0x272768(0x118)],_0x298806);});_0x21544f[_0x35b4cd(0x137)](_0x5540cc(_0x14da0b));});return _0x21544f[_0x8ddcd0(0x137)](_0x5540cc(_0x5a2ede)),_0x21544f;}));}['getCollaboration'](){const _0x2e756e=_0xbb5dc9;return this[_0x2e756e(0x12e)][_0x2e756e(0x12d)](y,{'getUniverSheet':_0x1077bc=>this['getUniverSheet'](_0x1077bc)});}[_0xbb5dc9(0x12f)](_0x38777a,_0xa070fb,_0x37779f){const _0x36fcc6=_0xbb5dc9;return this[_0x36fcc6(0x12e)][_0x36fcc6(0x11c)](_0x580e28)[_0x36fcc6(0x129)](_0x38777a,_0xa070fb,_0x37779f);}['loadServerUnitOfRevision'](_0x5a5be3,_0x200cb9,_0x1d2d44){const _0x143127=_0xbb5dc9;return this['_injector']['get'](_0x580e28)[_0x143127(0x116)](_0x5a5be3,_0x200cb9,_0x1d2d44);}};_0x47575b[_0xbb5dc9(0x123)](b);export{y as FCollaboration};
|