@univerjs-pro/collaboration-client 0.25.0 → 0.25.2
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
|
+
const _0x5ed4fd=_0x1084;(function(_0x3694f0,_0x1c8af4){const _0x584ccb=_0x1084,_0x24194f=_0x3694f0();while(!![]){try{const _0x33f996=parseInt(_0x584ccb(0x1ed))/0x1+parseInt(_0x584ccb(0x1cd))/0x2+parseInt(_0x584ccb(0x1f2))/0x3*(-parseInt(_0x584ccb(0x1d9))/0x4)+-parseInt(_0x584ccb(0x1f1))/0x5+parseInt(_0x584ccb(0x1e0))/0x6+-parseInt(_0x584ccb(0x1d1))/0x7*(parseInt(_0x584ccb(0x1f6))/0x8)+parseInt(_0x584ccb(0x1c2))/0x9*(parseInt(_0x584ccb(0x1c8))/0xa);if(_0x33f996===_0x1c8af4)break;else _0x24194f['push'](_0x24194f['shift']());}catch(_0xc18ca5){_0x24194f['push'](_0x24194f['shift']());}}}(_0x4b14,0x1c359),Object[_0x5ed4fd(0x1ee)](exports,Symbol[_0x5ed4fd(0x1ea)],{'value':_0x5ed4fd(0x1d5)}));function _0x1084(_0x169165,_0x1f1d2d){_0x169165=_0x169165-0x1bd;const _0x4b141a=_0x4b14();let _0x1084cc=_0x4b141a[_0x169165];return _0x1084cc;}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[_0x5ed4fd(0x1e3)]{get['CollaborationStatus'](){const _0x3f6b91=_0x5ed4fd;return e[_0x3f6b91(0x1fa)];}};t['FEnum'][_0x5ed4fd(0x1bd)](a);var o=class extends t['FEventName']{get[_0x5ed4fd(0x1ce)](){const _0x17544c=_0x5ed4fd;return _0x17544c(0x1ce);}};t[_0x5ed4fd(0x1ef)][_0x5ed4fd(0x1bd)](o);function s(_0x3a2a5c,_0x85c158){return function(_0x47b8e9,_0x357e3c){_0x85c158(_0x47b8e9,_0x357e3c,_0x3a2a5c);};}function c(_0x2c294b,_0x4d2ee3,_0x37b963,_0x5c38fb){const _0xc04e86=_0x5ed4fd;var _0x473ff3=arguments['length'],_0x18e1a2=_0x473ff3<0x3?_0x4d2ee3:_0x5c38fb===null?_0x5c38fb=Object['getOwnPropertyDescriptor'](_0x4d2ee3,_0x37b963):_0x5c38fb,_0x25396b;if(typeof Reflect==_0xc04e86(0x1c7)&&typeof Reflect[_0xc04e86(0x1ff)]==_0xc04e86(0x1de))_0x18e1a2=Reflect[_0xc04e86(0x1ff)](_0x2c294b,_0x4d2ee3,_0x37b963,_0x5c38fb);else{for(var _0x2b039f=_0x2c294b['length']-0x1;_0x2b039f>=0x0;_0x2b039f--)(_0x25396b=_0x2c294b[_0x2b039f])&&(_0x18e1a2=(_0x473ff3<0x3?_0x25396b(_0x18e1a2):_0x473ff3>0x3?_0x25396b(_0x4d2ee3,_0x37b963,_0x18e1a2):_0x25396b(_0x4d2ee3,_0x37b963))||_0x18e1a2);}return _0x473ff3>0x3&&_0x18e1a2&&Object[_0xc04e86(0x1ee)](_0x4d2ee3,_0x37b963,_0x18e1a2),_0x18e1a2;}let l=class extends t[_0x5ed4fd(0x1fd)]{constructor(_0x4226dd,_0x15d353,_0x159cf4,_0x3ed9f0,_0x5c333c){const _0x1fd883=_0x5ed4fd;super(),this[_0x1fd883(0x1d6)]=_0x4226dd,this[_0x1fd883(0x1c3)]=_0x15d353,this[_0x1fd883(0x1e2)]=_0x159cf4,this[_0x1fd883(0x1dd)]=_0x3ed9f0,this['_collaborationController']=_0x5c333c;}async[_0x5ed4fd(0x1eb)](){const _0x16c8cf=_0x5ed4fd;return this[_0x16c8cf(0x1cc)]();}async['loadActiveSheetAsync'](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x21deb6){const _0x13b4e0=_0x5ed4fd;return this[_0x13b4e0(0x1ec)](_0x21deb6);}async['loadSheetAsync'](_0x3ed8ed,_0x49afe7){const _0x5b8904=_0x5ed4fd;return await this[_0x5b8904(0x1dd)]['loadSheet'](_0x3ed8ed,0x0,_0x49afe7)?(await this[_0x5b8904(0x1f9)]['readyForCollab'](_0x3ed8ed),this[_0x5b8904(0x1d6)][_0x5b8904(0x1db)](_0x3ed8ed)):null;}[_0x5ed4fd(0x1e6)](_0x384be4,_0x3a8865){const _0xed69d1=_0x5ed4fd;return(0x0,n[_0xed69d1(0x1f0)])(this[_0xed69d1(0x1c3)][_0xed69d1(0x1c6)](e[_0xed69d1(0x1fb)])[_0xed69d1(0x1cb)](_0x384be4)[_0xed69d1(0x1e8)]((0x0,i[_0xed69d1(0x1e5)])(_0x3edc4e=>_0x3edc4e[_0xed69d1(0x1cf)]))['subscribe'](_0x4cc071=>_0x3a8865(Array[_0xed69d1(0x1fc)](_0x4cc071[_0xed69d1(0x1e7)]()))));}[_0x5ed4fd(0x1d0)](_0x19e21d){const _0x5464ba=_0x5ed4fd;var _0x4de0f6;let _0x460581;if(_0x19e21d)_0x460581=_0x19e21d;else{let _0x38bab8=this[_0x5464ba(0x1e2)][_0x5464ba(0x1df)]();_0x460581=_0x38bab8==null?void 0x0:_0x38bab8[_0x5464ba(0x1bf)]();}if(!_0x460581)return e[_0x5464ba(0x1fa)][_0x5464ba(0x1d8)];let _0x107731=this[_0x5464ba(0x1f9)]['getCollabEntity'](_0x460581);return(_0x4de0f6=_0x107731==null?void 0x0:_0x107731[_0x5464ba(0x1c5)][_0x5464ba(0x1c9)])==null?e[_0x5464ba(0x1fa)]['NOT_COLLAB']:_0x4de0f6;}};l=c([s(0x1,(0x0,n[_0x5ed4fd(0x1e4)])(n['Injector'])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n['Inject'])(r[_0x5ed4fd(0x1d2)])),s(0x4,(0x0,n[_0x5ed4fd(0x1e4)])(e['CollaborationController']))],l);var u=class extends t[_0x5ed4fd(0x1f3)]{[_0x5ed4fd(0x1f7)](_0x46737f){const _0x4592e8=_0x5ed4fd;let _0x41560c=_0x46737f[_0x4592e8(0x1c6)](e[_0x4592e8(0x1da)]);this[_0x4592e8(0x1f4)](this[_0x4592e8(0x1be)](this[_0x4592e8(0x1f8)][_0x4592e8(0x1ce)],()=>{const _0x365cca=_0x4592e8;let _0x22094a=new n[(_0x365cca(0x1d7))](),_0x41cf62=_0x41560c[_0x365cca(0x1c1)][_0x365cca(0x1e9)](_0x18d435=>{const _0x591c39=_0x365cca;let _0x260618=_0x18d435['status$']['subscribe'](_0x48cf4f=>{const _0x38c433=_0x1084;let _0x295e6a={'unitId':_0x18d435[_0x38c433(0x1fe)],'status':_0x48cf4f};this[_0x38c433(0x1dc)](this[_0x38c433(0x1f8)][_0x38c433(0x1ce)],_0x295e6a);});_0x22094a[_0x591c39(0x1d3)]((0x0,n['toDisposable'])(_0x260618));});return _0x22094a['add']((0x0,n[_0x365cca(0x1f0)])(_0x41cf62)),_0x22094a;}));}['getCollaboration'](){const _0x585763=_0x5ed4fd;return this[_0x585763(0x1c3)]['createInstance'](l,{'getUniverSheet':_0x540696=>this[_0x585763(0x1db)](_0x540696)});}[_0x5ed4fd(0x1c4)](_0x244260,_0x1baa2f,_0x449007){const _0x16fba1=_0x5ed4fd;return this[_0x16fba1(0x1c3)][_0x16fba1(0x1c6)](e[_0x16fba1(0x1d4)])[_0x16fba1(0x1c0)](_0x244260,_0x1baa2f,_0x449007);}[_0x5ed4fd(0x1ca)](_0x1c3f08,_0x26924f,_0x35528d){const _0x45fc6f=_0x5ed4fd;return this[_0x45fc6f(0x1c3)][_0x45fc6f(0x1c6)](e['DataLoaderService'])[_0x45fc6f(0x1f5)](_0x1c3f08,_0x26924f,_0x35528d);}};t[_0x5ed4fd(0x1f3)][_0x5ed4fd(0x1bd)](u),Object['defineProperty'](exports,_0x5ed4fd(0x1e1),{'enumerable':!0x0,'get':function(){return l;}});function _0x4b14(){const _0x32bf1a=['Module','_handler','DisposableCollection','NOT_COLLAB','6196JpsafQ','CollaborationController','getUniverSheet','fireEvent','_snapshotService','function','getFocusedUnit','86778ujsmhW','FCollaboration','_univerInstanceService','FEnum','Inject','switchMap','subscribeCollaborators','values','pipe','subscribe','toStringTag','loadActiveSheet','loadSheetAsync','18002tLKglk','defineProperty','FEventName','toDisposable','934365EUYUZE','204DCcTMa','FUniver','disposeWithMe','loadUnitOfRevision','72LPzecj','_initialize','Event','_collaborationController','CollaborationStatus','MemberService','from','FBase','unitID','decorate','extend','registerEventHandler','getUnitId','loadUnit','entityInit$','945NLbmZc','_injector','loadServerUnit','state','get','object','47770yJDSNJ','status','loadServerUnitOfRevision','waitForRoom$','loadActiveSheetAsync','162642HGWfik','CollaborationStatusChanged','members$','getCollaborationStatus','161483NqCIFB','SnapshotService','add','DataLoaderService'];_0x4b14=function(){return _0x32bf1a;};return _0x4b14();}
|