@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/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x338a(_0x28c1e7,_0x27d8ec){_0x28c1e7=_0x28c1e7-0x121;const _0x37e1f4=_0x37e1();let _0x338a48=_0x37e1f4[_0x28c1e7];return _0x338a48;}const _0x1392e=_0x338a;(function(_0x44556a,_0x41833f){const _0x238ab8=_0x338a,_0x294ad9=_0x44556a();while(!![]){try{const _0x32f97a=-parseInt(_0x238ab8(0x14a))/0x1+parseInt(_0x238ab8(0x122))/0x2*(parseInt(_0x238ab8(0x12c))/0x3)+-parseInt(_0x238ab8(0x146))/0x4*(-parseInt(_0x238ab8(0x131))/0x5)+-parseInt(_0x238ab8(0x143))/0x6*(-parseInt(_0x238ab8(0x15b))/0x7)+-parseInt(_0x238ab8(0x153))/0x8+-parseInt(_0x238ab8(0x12e))/0x9+parseInt(_0x238ab8(0x148))/0xa;if(_0x32f97a===_0x41833f)break;else _0x294ad9['push'](_0x294ad9['shift']());}catch(_0x4dc9d6){_0x294ad9['push'](_0x294ad9['shift']());}}}(_0x37e1,0xcc60d),Object[_0x1392e(0x145)](exports,Symbol['toStringTag'],{'value':_0x1392e(0x141)}));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[_0x1392e(0x13b)]{get[_0x1392e(0x132)](){return e['CollaborationStatus'];}};t['FEnum'][_0x1392e(0x14f)](a);var o=class extends t[_0x1392e(0x127)]{get[_0x1392e(0x129)](){const _0x19f829=_0x1392e;return _0x19f829(0x129);}};t[_0x1392e(0x127)][_0x1392e(0x14f)](o);function s(_0x2009ce,_0x5b7ef2){return function(_0x11aa2a,_0x1baa13){_0x5b7ef2(_0x11aa2a,_0x1baa13,_0x2009ce);};}function c(_0x38be6f,_0x13b4fe,_0x48cb1e,_0x373974){const _0x49c3cf=_0x1392e;var _0x43bded=arguments['length'],_0x48d747=_0x43bded<0x3?_0x13b4fe:_0x373974===null?_0x373974=Object['getOwnPropertyDescriptor'](_0x13b4fe,_0x48cb1e):_0x373974,_0x4903a0;if(typeof Reflect==_0x49c3cf(0x152)&&typeof Reflect['decorate']==_0x49c3cf(0x15a))_0x48d747=Reflect['decorate'](_0x38be6f,_0x13b4fe,_0x48cb1e,_0x373974);else{for(var _0x412108=_0x38be6f[_0x49c3cf(0x13c)]-0x1;_0x412108>=0x0;_0x412108--)(_0x4903a0=_0x38be6f[_0x412108])&&(_0x48d747=(_0x43bded<0x3?_0x4903a0(_0x48d747):_0x43bded>0x3?_0x4903a0(_0x13b4fe,_0x48cb1e,_0x48d747):_0x4903a0(_0x13b4fe,_0x48cb1e))||_0x48d747);}return _0x43bded>0x3&&_0x48d747&&Object[_0x49c3cf(0x145)](_0x13b4fe,_0x48cb1e,_0x48d747),_0x48d747;}function _0x37e1(){const _0x4c3db0=['loadUnit','1653336OzUXTi','fireEvent','_injector','getCollaborationStatus','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','extend','loadActiveSheet','loadSheetAsync','object','1687128CVTlhw','Inject','registerEventHandler','NOT_COLLAB','_snapshotService','loadUnitOfRevision','entityInit$','function','611072ryKkTt','DataLoaderService','status$','CollaborationController','state','2NpDUAj','MemberService','disposeWithMe','toDisposable','_handler','FEventName','add','CollaborationStatusChanged','FBase','_initialize','562077hBbqwY','SnapshotService','11911293SyCJxV','loadActiveSheetAsync','_univerInstanceService','130LGlEdY','CollaborationStatus','status','getUnitId','getUniverSheet','loadSheet','pipe','Injector','Event','waitForRoom$','FEnum','length','readyForCollab','loadServerUnitOfRevision','get','subscribe','Module','FUniver','12tcNWNI','loadServerUnit','defineProperty','156572VKYZyC','from','26451680sqxMoc'];_0x37e1=function(){return _0x4c3db0;};return _0x37e1();}let l=class extends t[_0x1392e(0x12a)]{constructor(_0x40c347,_0x21ba32,_0x31d8ed,_0x7e452,_0x3c07ef){const _0x20e46c=_0x1392e;super(),this[_0x20e46c(0x126)]=_0x40c347,this[_0x20e46c(0x14c)]=_0x21ba32,this[_0x20e46c(0x130)]=_0x31d8ed,this['_snapshotService']=_0x7e452,this['_collaborationController']=_0x3c07ef;}async[_0x1392e(0x150)](){return this['loadActiveSheetAsync']();}async[_0x1392e(0x12f)](){const _0x2f1928=_0x1392e;throw Error(_0x2f1928(0x14e));}async[_0x1392e(0x136)](_0x115774){const _0x22c80d=_0x1392e;return this[_0x22c80d(0x151)](_0x115774);}async['loadSheetAsync'](_0x327e52,_0x1f0d53){const _0xc04162=_0x1392e;return await this[_0xc04162(0x157)][_0xc04162(0x136)](_0x327e52,0x0,_0x1f0d53)?(await this['_collaborationController'][_0xc04162(0x13d)](_0x327e52),this[_0xc04162(0x126)][_0xc04162(0x135)](_0x327e52)):null;}['subscribeCollaborators'](_0x195fc2,_0x2affc6){const _0x2b9d2f=_0x1392e;return(0x0,n['toDisposable'])(this['_injector'][_0x2b9d2f(0x13f)](e[_0x2b9d2f(0x123)])[_0x2b9d2f(0x13a)](_0x195fc2)[_0x2b9d2f(0x137)]((0x0,i['switchMap'])(_0x3d14e7=>_0x3d14e7['members$']))[_0x2b9d2f(0x140)](_0x5c7828=>_0x2affc6(Array[_0x2b9d2f(0x147)](_0x5c7828['values']()))));}[_0x1392e(0x14d)](_0x15d1d2){const _0x57d4db=_0x1392e;var _0x59e8c6;let _0x3dd58a;if(_0x15d1d2)_0x3dd58a=_0x15d1d2;else{let _0x44f238=this['_univerInstanceService']['getFocusedUnit']();_0x3dd58a=_0x44f238==null?void 0x0:_0x44f238[_0x57d4db(0x134)]();}if(!_0x3dd58a)return e[_0x57d4db(0x132)]['NOT_COLLAB'];let _0x42e9cc=this['_collaborationController']['getCollabEntity'](_0x3dd58a);return(_0x59e8c6=_0x42e9cc==null?void 0x0:_0x42e9cc[_0x57d4db(0x121)][_0x57d4db(0x133)])==null?e[_0x57d4db(0x132)][_0x57d4db(0x156)]:_0x59e8c6;}};l=c([s(0x1,(0x0,n['Inject'])(n[_0x1392e(0x138)])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x1392e(0x154)])(r[_0x1392e(0x12d)])),s(0x4,(0x0,n[_0x1392e(0x154)])(e[_0x1392e(0x15e)]))],l);var u=class extends t['FUniver']{[_0x1392e(0x12b)](_0xe4b6d8){const _0x7094da=_0x1392e;let _0x59735a=_0xe4b6d8[_0x7094da(0x13f)](e[_0x7094da(0x15e)]);this[_0x7094da(0x124)](this[_0x7094da(0x155)](this[_0x7094da(0x139)][_0x7094da(0x129)],()=>{const _0x4830a5=_0x7094da;let _0x23f583=new n['DisposableCollection'](),_0x3b29fa=_0x59735a[_0x4830a5(0x159)]['subscribe'](_0x38ab1c=>{const _0x58bcaf=_0x4830a5;let _0x1c387b=_0x38ab1c[_0x58bcaf(0x15d)]['subscribe'](_0x5494e1=>{const _0x5a5276=_0x58bcaf;let _0x3cf34c={'unitId':_0x38ab1c['unitID'],'status':_0x5494e1};this[_0x5a5276(0x14b)](this['Event'][_0x5a5276(0x129)],_0x3cf34c);});_0x23f583[_0x58bcaf(0x128)]((0x0,n[_0x58bcaf(0x125)])(_0x1c387b));});return _0x23f583[_0x4830a5(0x128)]((0x0,n[_0x4830a5(0x125)])(_0x3b29fa)),_0x23f583;}));}['getCollaboration'](){return this['_injector']['createInstance'](l,{'getUniverSheet':_0x209283=>this['getUniverSheet'](_0x209283)});}[_0x1392e(0x144)](_0x5b4879,_0x1d500c,_0x73000d){const _0x123faf=_0x1392e;return this[_0x123faf(0x14c)][_0x123faf(0x13f)](e[_0x123faf(0x15c)])[_0x123faf(0x149)](_0x5b4879,_0x1d500c,_0x73000d);}[_0x1392e(0x13e)](_0x4c94d0,_0xfd470c,_0x22a8be){const _0x9c3d99=_0x1392e;return this[_0x9c3d99(0x14c)][_0x9c3d99(0x13f)](e[_0x9c3d99(0x15c)])[_0x9c3d99(0x158)](_0x4c94d0,_0xfd470c,_0x22a8be);}};t[_0x1392e(0x142)]['extend'](u),Object[_0x1392e(0x145)](exports,'FCollaboration',{'enumerable':!0x0,'get':function(){return l;}});
|