@univerjs-pro/collaboration-client 1.0.0-alpha.0 → 1.0.0-alpha.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 +13 -13
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4322(_0x1d64c9,_0xa85045){_0x1d64c9=_0x1d64c9-0x1bb;const _0x3879e1=_0x3879();let _0x432296=_0x3879e1[_0x1d64c9];return _0x432296;}function _0x3879(){const _0x334e76=['CollaborationStatusChanged','FUniver','7gfrpiM','disposeWithMe','3971902CoQkJP','length','_handler','loadSlide','@univerjs/core/facade','decorate','add','_collaborationController','getCollaboration','defineProperty','FEventName','DataLoaderService','readyForCollab','877693tHCBnH','values','@univerjs/core','loadServerUnitOfRevision','Injector','toStringTag','registerEventHandler','entityInit$','_snapshotService','loadBaseAsync','FEnum','exports','loadUnitOfRevision','UniverProCollaborationClient','36IGCIcv','CollaborationController','UniverProCollaboration','973168TxITEy','toDisposable','getDocument','_injector','IUniverInstanceService','FCollaboration','pipe','1173096NKrbST','10YDSxUF','FBase','getFocusedUnit','CollaborationStatus','MemberService','object','loadSheet','getCollabEntity','2697955uaBdgN','subscribe','getWorkbook','state','loadBase','loadDocAsync','getPresentation','@univerjs-pro/collaboration','status$','function','18WXIyuR','switchMap','@univerjs-pro/collaboration-client','amd','948928IpHQyh','unitID','getUnitId','6939366asFhbS','Inject','createInstance','get','Event','DisposableCollection','loadDoc','_initialize','NOT_COLLAB','getOwnPropertyDescriptor','rxjs','extend','getBase'];_0x3879=function(){return _0x334e76;};return _0x3879();}(function(_0xd33a76,_0x59fe51){const _0x5f39f4=_0x4322,_0x482e71=_0xd33a76();while(!![]){try{const _0xafcf71=parseInt(_0x5f39f4(0x1c0))/0x1+-parseInt(_0x5f39f4(0x1d8))/0x2+parseInt(_0x5f39f4(0x1eb))/0x3*(parseInt(_0x5f39f4(0x1d1))/0x4)+-parseInt(_0x5f39f4(0x1e1))/0x5+-parseInt(_0x5f39f4(0x1f2))/0x6*(parseInt(_0x5f39f4(0x201))/0x7)+-parseInt(_0x5f39f4(0x1ef))/0x8*(-parseInt(_0x5f39f4(0x1ce))/0x9)+-parseInt(_0x5f39f4(0x1d9))/0xa*(-parseInt(_0x5f39f4(0x203))/0xb);if(_0xafcf71===_0x59fe51)break;else _0x482e71['push'](_0x482e71['shift']());}catch(_0x45c4e6){_0x482e71['push'](_0x482e71['shift']());}}}(_0x3879,0xd95b3),function(_0x3a1e6e,_0x1d5742){const _0x557fb1=_0x4322;typeof exports==_0x557fb1(0x1de)&&typeof module<'u'?_0x1d5742(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x557fb1(0x1ea)&&define[_0x557fb1(0x1ee)]?define([_0x557fb1(0x1cb),_0x557fb1(0x1ed),_0x557fb1(0x207),_0x557fb1(0x1c2),_0x557fb1(0x1e8),'rxjs'],_0x1d5742):(_0x3a1e6e=typeof globalThis<'u'?globalThis:_0x3a1e6e||self,_0x1d5742(_0x3a1e6e['UniverProCollaborationClientFacade']={},_0x3a1e6e[_0x557fb1(0x1cd)],_0x3a1e6e['UniverCoreFacade'],_0x3a1e6e['UniverCore'],_0x3a1e6e[_0x557fb1(0x1d0)],_0x3a1e6e[_0x557fb1(0x1fc)]));}(this,function(_0x35a544,_0x1ad98c,_0x131f9c,_0x80d3a0,_0x1a6ca0,_0x4d9d27){const _0x4c1a34=_0x4322;Object[_0x4c1a34(0x1bc)](_0x35a544,Symbol[_0x4c1a34(0x1c5)],{'value':'Module'});var _0x771dcd=class extends _0x131f9c[_0x4c1a34(0x1ca)]{get[_0x4c1a34(0x1dc)](){const _0x5e5025=_0x4c1a34;return _0x1ad98c[_0x5e5025(0x1dc)];}};_0x131f9c[_0x4c1a34(0x1ca)]['extend'](_0x771dcd);var _0x5213d3=class extends _0x131f9c[_0x4c1a34(0x1bd)]{get['CollaborationStatusChanged'](){const _0x5b53da=_0x4c1a34;return _0x5b53da(0x1ff);}};_0x131f9c[_0x4c1a34(0x1bd)][_0x4c1a34(0x1fd)](_0x5213d3);function _0x494468(_0x1d276a,_0x1f2d10){return function(_0x5a99b9,_0x3fee8a){_0x1f2d10(_0x5a99b9,_0x3fee8a,_0x1d276a);};}function _0x3abfd8(_0x10d3ad,_0x10065,_0x2b7495,_0x536fa6){const _0x35bc15=_0x4c1a34;var _0x17f015=arguments[_0x35bc15(0x204)],_0x297848=_0x17f015<0x3?_0x10065:_0x536fa6===null?_0x536fa6=Object[_0x35bc15(0x1fb)](_0x10065,_0x2b7495):_0x536fa6,_0x4de904;if(typeof Reflect=='object'&&typeof Reflect[_0x35bc15(0x208)]==_0x35bc15(0x1ea))_0x297848=Reflect[_0x35bc15(0x208)](_0x10d3ad,_0x10065,_0x2b7495,_0x536fa6);else{for(var _0x4d43fd=_0x10d3ad['length']-0x1;_0x4d43fd>=0x0;_0x4d43fd--)(_0x4de904=_0x10d3ad[_0x4d43fd])&&(_0x297848=(_0x17f015<0x3?_0x4de904(_0x297848):_0x17f015>0x3?_0x4de904(_0x10065,_0x2b7495,_0x297848):_0x4de904(_0x10065,_0x2b7495))||_0x297848);}return _0x17f015>0x3&&_0x297848&&Object[_0x35bc15(0x1bc)](_0x10065,_0x2b7495,_0x297848),_0x297848;}let _0x4eb2b5=class extends _0x131f9c[_0x4c1a34(0x1da)]{constructor(_0x542b71,_0x4772ac,_0x343266,_0x4fdbfd,_0x38e1bd){const _0x2a820b=_0x4c1a34;super(),this[_0x2a820b(0x205)]=_0x542b71,this[_0x2a820b(0x1d4)]=_0x4772ac,this['_univerInstanceService']=_0x343266,this[_0x2a820b(0x1c8)]=_0x4fdbfd,this[_0x2a820b(0x20a)]=_0x38e1bd;}async['loadSheetAsync'](_0x125406,_0x11eae5){const _0x14591f=_0x4c1a34;return await this[_0x14591f(0x1c8)][_0x14591f(0x1df)](_0x125406,0x0,_0x11eae5)?(await this['_collaborationController'][_0x14591f(0x1bf)](_0x125406),this[_0x14591f(0x205)][_0x14591f(0x1e3)](_0x125406)):null;}async[_0x4c1a34(0x1e6)](_0x2c5cb3,_0x401f68){const _0x1f4807=_0x4c1a34;return await this['_snapshotService'][_0x1f4807(0x1f8)](_0x2c5cb3,0x0,_0x401f68)?(await this[_0x1f4807(0x20a)][_0x1f4807(0x1bf)](_0x2c5cb3),this[_0x1f4807(0x205)]['getDocument'](_0x2c5cb3)):null;}async[_0x4c1a34(0x1c9)](_0x55c7f8,_0x5d71b1){const _0x220ef7=_0x4c1a34;return await this[_0x220ef7(0x1c8)][_0x220ef7(0x1e5)](_0x55c7f8,0x0,_0x5d71b1)?(await this[_0x220ef7(0x20a)]['readyForCollab'](_0x55c7f8),this[_0x220ef7(0x205)]['getBase'](_0x55c7f8)):null;}async['loadSlideAsync'](_0x48c220,_0x2e3cdd){const _0x253c6d=_0x4c1a34;return await this['_snapshotService'][_0x253c6d(0x206)](_0x48c220,0x0,_0x2e3cdd)?(await this[_0x253c6d(0x20a)]['readyForCollab'](_0x48c220),this[_0x253c6d(0x205)][_0x253c6d(0x1e7)](_0x48c220)):null;}['subscribeCollaborators'](_0x179493,_0x5c1d53){const _0x2490e4=_0x4c1a34;return(0x0,_0x80d3a0[_0x2490e4(0x1d2)])(this[_0x2490e4(0x1d4)][_0x2490e4(0x1f5)](_0x1ad98c[_0x2490e4(0x1dd)])['waitForRoom$'](_0x179493)[_0x2490e4(0x1d7)]((0x0,_0x4d9d27[_0x2490e4(0x1ec)])(_0x36d168=>_0x36d168['members$']))[_0x2490e4(0x1e2)](_0x2731ef=>_0x5c1d53(Array['from'](_0x2731ef[_0x2490e4(0x1c1)]()))));}['getCollaborationStatus'](_0x44ad64){const _0x24ef74=_0x4c1a34;var _0xb1ec65;let _0x427fa0;if(_0x44ad64)_0x427fa0=_0x44ad64;else{let _0x4fce71=this['_univerInstanceService'][_0x24ef74(0x1db)]();_0x427fa0=_0x4fce71==null?void 0x0:_0x4fce71[_0x24ef74(0x1f1)]();}if(!_0x427fa0)return _0x1ad98c[_0x24ef74(0x1dc)]['NOT_COLLAB'];let _0x421dfe=this[_0x24ef74(0x20a)][_0x24ef74(0x1e0)](_0x427fa0);return(_0xb1ec65=_0x421dfe==null?void 0x0:_0x421dfe[_0x24ef74(0x1e4)]['status'])==null?_0x1ad98c[_0x24ef74(0x1dc)][_0x24ef74(0x1fa)]:_0xb1ec65;}};_0x4eb2b5=_0x3abfd8([_0x494468(0x1,(0x0,_0x80d3a0[_0x4c1a34(0x1f3)])(_0x80d3a0[_0x4c1a34(0x1c4)])),_0x494468(0x2,_0x80d3a0[_0x4c1a34(0x1d5)]),_0x494468(0x3,(0x0,_0x80d3a0['Inject'])(_0x1a6ca0['SnapshotService'])),_0x494468(0x4,(0x0,_0x80d3a0[_0x4c1a34(0x1f3)])(_0x1ad98c[_0x4c1a34(0x1cf)]))],_0x4eb2b5);var _0x193672=class extends _0x131f9c[_0x4c1a34(0x200)]{[_0x4c1a34(0x1f9)](_0x55789a){const _0x24de41=_0x4c1a34;let _0x510a2f=_0x55789a[_0x24de41(0x1f5)](_0x1ad98c[_0x24de41(0x1cf)]);this[_0x24de41(0x202)](this[_0x24de41(0x1c6)](this[_0x24de41(0x1f6)]['CollaborationStatusChanged'],()=>{const _0x490391=_0x24de41;let _0xfb34d6=new _0x80d3a0[(_0x490391(0x1f7))](),_0x2f228c=_0x510a2f[_0x490391(0x1c7)]['subscribe'](_0x50737f=>{const _0x2c07cc=_0x490391;let _0x28a30b=_0x50737f[_0x2c07cc(0x1e9)][_0x2c07cc(0x1e2)](_0x1336cb=>{const _0x1e0542=_0x2c07cc;let _0x166f14={'unitId':_0x50737f[_0x1e0542(0x1f0)],'status':_0x1336cb};this['fireEvent'](this[_0x1e0542(0x1f6)][_0x1e0542(0x1ff)],_0x166f14);});_0xfb34d6[_0x2c07cc(0x209)]((0x0,_0x80d3a0[_0x2c07cc(0x1d2)])(_0x28a30b));});return _0xfb34d6[_0x490391(0x209)]((0x0,_0x80d3a0[_0x490391(0x1d2)])(_0x2f228c)),_0xfb34d6;}));}[_0x4c1a34(0x1bb)](){const _0x119bf1=_0x4c1a34;return this[_0x119bf1(0x1d4)][_0x119bf1(0x1f4)](_0x4eb2b5,{'getWorkbook':_0x4c8241=>this['getWorkbook'](_0x4c8241),'getDocument':_0x497a3a=>this[_0x119bf1(0x1d3)](_0x497a3a),'getPresentation':_0x5af403=>this['getPresentation'](_0x5af403),'getBase':_0x1f962c=>this[_0x119bf1(0x1fe)](_0x1f962c)});}['loadServerUnit'](_0x14f5d3,_0xb52ab,_0x268edf){const _0x901334=_0x4c1a34;return this[_0x901334(0x1d4)][_0x901334(0x1f5)](_0x1ad98c[_0x901334(0x1be)])['loadUnit'](_0x14f5d3,_0xb52ab,_0x268edf);}[_0x4c1a34(0x1c3)](_0x3825b9,_0x354efa,_0x3a42fd){const _0x4777bd=_0x4c1a34;return this['_injector'][_0x4777bd(0x1f5)](_0x1ad98c[_0x4777bd(0x1be)])[_0x4777bd(0x1cc)](_0x3825b9,_0x354efa,_0x3a42fd);}};_0x131f9c[_0x4c1a34(0x200)][_0x4c1a34(0x1fd)](_0x193672),Object[_0x4c1a34(0x1bc)](_0x35a544,_0x4c1a34(0x1d6),{'enumerable':!0x0,'get':function(){return _0x4eb2b5;}});}));
|