@univerjs-pro/collaboration-client 0.18.0 → 0.19.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/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 +12 -12
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3fb7(_0x4b68d2,_0x2eea38){_0x4b68d2=_0x4b68d2-0x19e;const _0x27184f=_0x2718();let _0x3fb718=_0x27184f[_0x4b68d2];return _0x3fb718;}function _0x2718(){const _0x5793a6=['loadServerUnitOfRevision','Module','getCollabEntity','Injector','loadActiveSheetAsync','2627154sYyiew','69655HUUhzJ','MemberService','32094tgbiRi','subscribeCollaborators','Event','from','members$','getOwnPropertyDescriptor','FBase','_initialize','pipe','4313928TSLVLa','function','loadUnitOfRevision','CollaborationController','state','NOT_COLLAB','loadSheetAsync','entityInit$','values','DisposableCollection','2LQyPpG','loadSheet','loadUnit','_collaborationController','subscribe','_injector','CollaborationStatus','fireEvent','getFocusedUnit','75717oocGwl','extend','decorate','_handler','1296xbPIzf','registerEventHandler','FCollaboration','Inject','toDisposable','get','_univerInstanceService','unitID','status','4010MxFkzf','11231WLwKzc','FUniver','FEnum','SnapshotService','CollaborationStatusChanged','DataLoaderService','392WLnvEd','7MZBGsP','readyForCollab','20320ECXWrQ','getUniverSheet','add','defineProperty','FEventName','switchMap','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_snapshotService'];_0x2718=function(){return _0x5793a6;};return _0x2718();}const _0x7ccab2=_0x3fb7;(function(_0x191b59,_0x142856){const _0x5b2135=_0x3fb7,_0x198fe8=_0x191b59();while(!![]){try{const _0x530d45=parseInt(_0x5b2135(0x1bf))/0x1+parseInt(_0x5b2135(0x1d4))/0x2*(-parseInt(_0x5b2135(0x1dd))/0x3)+parseInt(_0x5b2135(0x1ae))/0x4*(parseInt(_0x5b2135(0x1b1))/0x5)+-parseInt(_0x5b2135(0x1be))/0x6*(-parseInt(_0x5b2135(0x1af))/0x7)+parseInt(_0x5b2135(0x19e))/0x8*(-parseInt(_0x5b2135(0x1c1))/0x9)+-parseInt(_0x5b2135(0x1a7))/0xa*(-parseInt(_0x5b2135(0x1a8))/0xb)+-parseInt(_0x5b2135(0x1ca))/0xc;if(_0x530d45===_0x142856)break;else _0x198fe8['push'](_0x198fe8['shift']());}catch(_0x53dbd2){_0x198fe8['push'](_0x198fe8['shift']());}}}(_0x2718,0x5620e),Object[_0x7ccab2(0x1b4)](exports,Symbol['toStringTag'],{'value':_0x7ccab2(0x1ba)}));let e=require(`@univerjs-pro/collaboration-client`),t=require(`@univerjs/core/facade`),n=require(`@univerjs/core`),r=require(`@univerjs-pro/collaboration`),i=require(`rxjs`);var a=class extends t[_0x7ccab2(0x1aa)]{get[_0x7ccab2(0x1da)](){const _0x6fe4ad=_0x7ccab2;return e[_0x6fe4ad(0x1da)];}};t[_0x7ccab2(0x1aa)][_0x7ccab2(0x1de)](a);var o=class{get[_0x7ccab2(0x1ac)](){const _0x136768=_0x7ccab2;return _0x136768(0x1ac);}};t[_0x7ccab2(0x1b5)]['extend'](o);function s(_0x56f5a1,_0x1b526e){return function(_0x14da97,_0x47da66){_0x1b526e(_0x14da97,_0x47da66,_0x56f5a1);};}function c(_0x4fe145,_0x24b419,_0x5c588c,_0x427795){const _0x52209c=_0x7ccab2;var _0x17a635=arguments['length'],_0x11ead3=_0x17a635<0x3?_0x24b419:_0x427795===null?_0x427795=Object[_0x52209c(0x1c6)](_0x24b419,_0x5c588c):_0x427795,_0x2dff7c;if(typeof Reflect=='object'&&typeof Reflect[_0x52209c(0x1df)]==_0x52209c(0x1cb))_0x11ead3=Reflect[_0x52209c(0x1df)](_0x4fe145,_0x24b419,_0x5c588c,_0x427795);else{for(var _0x34925f=_0x4fe145['length']-0x1;_0x34925f>=0x0;_0x34925f--)(_0x2dff7c=_0x4fe145[_0x34925f])&&(_0x11ead3=(_0x17a635<0x3?_0x2dff7c(_0x11ead3):_0x17a635>0x3?_0x2dff7c(_0x24b419,_0x5c588c,_0x11ead3):_0x2dff7c(_0x24b419,_0x5c588c))||_0x11ead3);}return _0x17a635>0x3&&_0x11ead3&&Object[_0x52209c(0x1b4)](_0x24b419,_0x5c588c,_0x11ead3),_0x11ead3;}let l=class extends t[_0x7ccab2(0x1c7)]{constructor(_0x4edae3,_0x3897be,_0xcfd133,_0x5d999a,_0x353665){const _0x5062b2=_0x7ccab2;super(),this[_0x5062b2(0x1e0)]=_0x4edae3,this['_injector']=_0x3897be,this[_0x5062b2(0x1a4)]=_0xcfd133,this['_snapshotService']=_0x5d999a,this[_0x5062b2(0x1d7)]=_0x353665;}async['loadActiveSheet'](){const _0x11477e=_0x7ccab2;return this[_0x11477e(0x1bd)]();}async['loadActiveSheetAsync'](){const _0x5c9ea6=_0x7ccab2;throw Error(_0x5c9ea6(0x1b7));}async[_0x7ccab2(0x1d5)](_0x4e86b1){const _0x1cd60a=_0x7ccab2;return this[_0x1cd60a(0x1d0)](_0x4e86b1);}async[_0x7ccab2(0x1d0)](_0x3bad47,_0x1c110e){const _0x5091e7=_0x7ccab2;return await this[_0x5091e7(0x1b8)][_0x5091e7(0x1d5)](_0x3bad47,0x0,_0x1c110e)?(await this[_0x5091e7(0x1d7)][_0x5091e7(0x1b0)](_0x3bad47),this[_0x5091e7(0x1e0)][_0x5091e7(0x1b2)](_0x3bad47)):null;}[_0x7ccab2(0x1c2)](_0x168469,_0x4a9317){const _0x5cc072=_0x7ccab2;return(0x0,n['toDisposable'])(this[_0x5cc072(0x1d9)][_0x5cc072(0x1a3)](e[_0x5cc072(0x1c0)])['waitForRoom$'](_0x168469)[_0x5cc072(0x1c9)]((0x0,i[_0x5cc072(0x1b6)])(_0x688aa4=>_0x688aa4[_0x5cc072(0x1c5)]))[_0x5cc072(0x1d8)](_0x37088d=>_0x4a9317(Array[_0x5cc072(0x1c4)](_0x37088d[_0x5cc072(0x1d2)]()))));}['getCollaborationStatus'](_0x2badee){const _0x2fafbc=_0x7ccab2;var _0x47bfc8;let _0x204789;if(_0x2badee)_0x204789=_0x2badee;else{let _0x551c8d=this[_0x2fafbc(0x1a4)][_0x2fafbc(0x1dc)]();_0x204789=_0x551c8d==null?void 0x0:_0x551c8d['getUnitId']();}if(!_0x204789)return e[_0x2fafbc(0x1da)][_0x2fafbc(0x1cf)];let _0x43acb6=this[_0x2fafbc(0x1d7)][_0x2fafbc(0x1bb)](_0x204789);return(_0x47bfc8=_0x43acb6==null?void 0x0:_0x43acb6[_0x2fafbc(0x1ce)][_0x2fafbc(0x1a6)])==null?e[_0x2fafbc(0x1da)][_0x2fafbc(0x1cf)]:_0x47bfc8;}};l=c([s(0x1,(0x0,n['Inject'])(n[_0x7ccab2(0x1bc)])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x7ccab2(0x1a1)])(r[_0x7ccab2(0x1ab)])),s(0x4,(0x0,n['Inject'])(e[_0x7ccab2(0x1cd)]))],l);var u=class extends t[_0x7ccab2(0x1a9)]{[_0x7ccab2(0x1c8)](_0x4d3798){const _0x3f8231=_0x7ccab2;let _0x387a1b=_0x4d3798['get'](e[_0x3f8231(0x1cd)]);this['disposeWithMe'](this[_0x3f8231(0x19f)](this[_0x3f8231(0x1c3)][_0x3f8231(0x1ac)],()=>{const _0x54a545=_0x3f8231;let _0x4c8bd3=new n[(_0x54a545(0x1d3))](),_0x59cdb0=_0x387a1b[_0x54a545(0x1d1)][_0x54a545(0x1d8)](_0xe57eb2=>{const _0x15f309=_0x54a545;let _0x1e1757=_0xe57eb2['status$'][_0x15f309(0x1d8)](_0x218dc2=>{const _0x345e72=_0x15f309;this[_0x345e72(0x1db)](this[_0x345e72(0x1c3)][_0x345e72(0x1ac)],{'unitId':_0xe57eb2[_0x345e72(0x1a5)],'status':_0x218dc2});});_0x4c8bd3[_0x15f309(0x1b3)]((0x0,n[_0x15f309(0x1a2)])(_0x1e1757));});return _0x4c8bd3[_0x54a545(0x1b3)]((0x0,n[_0x54a545(0x1a2)])(_0x59cdb0)),_0x4c8bd3;}));}['getCollaboration'](){return this['_injector']['createInstance'](l,{'getUniverSheet':_0x119261=>this['getUniverSheet'](_0x119261)});}['loadServerUnit'](_0x1b0012,_0x1acc59,_0x17ff34){const _0x4eb186=_0x7ccab2;return this[_0x4eb186(0x1d9)][_0x4eb186(0x1a3)](e['DataLoaderService'])[_0x4eb186(0x1d6)](_0x1b0012,_0x1acc59,_0x17ff34);}[_0x7ccab2(0x1b9)](_0x3989cb,_0x443a2e,_0xc1ba7){const _0x49f756=_0x7ccab2;return this[_0x49f756(0x1d9)]['get'](e[_0x49f756(0x1ad)])[_0x49f756(0x1cc)](_0x3989cb,_0x443a2e,_0xc1ba7);}};t[_0x7ccab2(0x1a9)][_0x7ccab2(0x1de)](u),Object[_0x7ccab2(0x1b4)](exports,_0x7ccab2(0x1a0),{'enumerable':!0x0,'get':function(){return l;}});
|