@univerjs-pro/collaboration-client 0.20.1 → 0.21.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/types/controllers/collaboration/collaboration-entity.d.ts +7 -8
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +11 -12
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -1
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +4 -5
- package/lib/types/services/local-cache/local-cache.service.d.ts +3 -4
- 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 +15 -16
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1786(_0x42ac8b,_0x442bad){_0x42ac8b=_0x42ac8b-0x1b3;const _0x465f91=_0x465f();let _0x178653=_0x465f91[_0x42ac8b];return _0x178653;}function _0x465f(){const _0x574421=['CollaborationStatusChanged','FCollaboration','getUnitId','rxjs','subscribeCollaborators','71BIXsFO','from','get','status','length','loadUnit','exports','values','@univerjs-pro/collaboration-client','85NDSxsg','FEnum','members$','_snapshotService','toDisposable','460350LVDAhT','loadServerUnit','loadSheet','7381680aQrXfE','_collaborationController','DisposableCollection','function','amd','CollaborationController','unitID','fireEvent','loadSheetAsync','UniverProCollaborationClientFacade','FEventName','createInstance','loadActiveSheetAsync','object','UniverCoreFacade','readyForCollab','_univerInstanceService','Inject','SnapshotService','2314602caHyKQ','@univerjs/core/facade','_injector','entityInit$','NOT_COLLAB','FBase','FUniver','subscribe','@univerjs-pro/collaboration','Event','getOwnPropertyDescriptor','defineProperty','loadUnitOfRevision','Module','24YmZqEx','_handler','Injector','380429fGArEb','2260EGDVac','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','IUniverInstanceService','waitForRoom$','DataLoaderService','5558SAUZcK','add','getCollaboration','1220124rQupYu','extend','decorate','CollaborationStatus','loadServerUnitOfRevision','MemberService','getFocusedUnit','getUniverSheet','state'];_0x465f=function(){return _0x574421;};return _0x465f();}(function(_0x588cef,_0x551514){const _0x1be84f=_0x1786,_0x1753c0=_0x588cef();while(!![]){try{const _0x37e259=parseInt(_0x1be84f(0x1fa))/0x1*(parseInt(_0x1be84f(0x1e9))/0x2)+-parseInt(_0x1be84f(0x1bb))/0x3+parseInt(_0x1be84f(0x1e3))/0x4*(-parseInt(_0x1be84f(0x1b6))/0x5)+-parseInt(_0x1be84f(0x1ec))/0x6+-parseInt(_0x1be84f(0x1e2))/0x7*(parseInt(_0x1be84f(0x1df))/0x8)+-parseInt(_0x1be84f(0x1d1))/0x9+parseInt(_0x1be84f(0x1be))/0xa;if(_0x37e259===_0x551514)break;else _0x1753c0['push'](_0x1753c0['shift']());}catch(_0x4e8225){_0x1753c0['push'](_0x1753c0['shift']());}}}(_0x465f,0x24571),function(_0x3e96c0,_0x5e67b3){const _0x1bb46c=_0x1786;typeof exports==_0x1bb46c(0x1cb)&&typeof module<'u'?_0x5e67b3(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x1bb46c(0x1c1)&&define[_0x1bb46c(0x1c2)]?define([_0x1bb46c(0x1b3),_0x1bb46c(0x1b5),_0x1bb46c(0x1d2),'@univerjs/core',_0x1bb46c(0x1d9),'rxjs'],_0x5e67b3):(_0x3e96c0=typeof globalThis<'u'?globalThis:_0x3e96c0||self,_0x5e67b3(_0x3e96c0[_0x1bb46c(0x1c7)]={},_0x3e96c0['UniverProCollaborationClient'],_0x3e96c0[_0x1bb46c(0x1cc)],_0x3e96c0['UniverCore'],_0x3e96c0['UniverProCollaboration'],_0x3e96c0[_0x1bb46c(0x1f8)]));}(this,function(_0x2ae065,_0x21c4b2,_0x2ada40,_0x6da4ff,_0x5a386d,_0x5930bc){const _0x4d33f7=_0x1786;Object['defineProperty'](_0x2ae065,Symbol['toStringTag'],{'value':_0x4d33f7(0x1de)});var _0x5b379d=class extends _0x2ada40['FEnum']{get['CollaborationStatus'](){const _0x403540=_0x4d33f7;return _0x21c4b2[_0x403540(0x1ef)];}};_0x2ada40[_0x4d33f7(0x1b7)][_0x4d33f7(0x1ed)](_0x5b379d);var _0x10e2a9=class extends _0x2ada40['FEventName']{get[_0x4d33f7(0x1f5)](){const _0x5d6328=_0x4d33f7;return _0x5d6328(0x1f5);}};_0x2ada40[_0x4d33f7(0x1c8)][_0x4d33f7(0x1ed)](_0x10e2a9);function _0x39c035(_0x2d58bb,_0x21511e){return function(_0xa3f24d,_0x401f36){_0x21511e(_0xa3f24d,_0x401f36,_0x2d58bb);};}function _0x48052d(_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581){const _0x34da51=_0x4d33f7;var _0x3d786e=arguments[_0x34da51(0x1fe)],_0x3d1e=_0x3d786e<0x3?_0x2902d5:_0x5aa581===null?_0x5aa581=Object[_0x34da51(0x1db)](_0x2902d5,_0x5e7906):_0x5aa581,_0x2e1e97;if(typeof Reflect==_0x34da51(0x1cb)&&typeof Reflect[_0x34da51(0x1ee)]==_0x34da51(0x1c1))_0x3d1e=Reflect['decorate'](_0x86cb5d,_0x2902d5,_0x5e7906,_0x5aa581);else{for(var _0x5003e1=_0x86cb5d[_0x34da51(0x1fe)]-0x1;_0x5003e1>=0x0;_0x5003e1--)(_0x2e1e97=_0x86cb5d[_0x5003e1])&&(_0x3d1e=(_0x3d786e<0x3?_0x2e1e97(_0x3d1e):_0x3d786e>0x3?_0x2e1e97(_0x2902d5,_0x5e7906,_0x3d1e):_0x2e1e97(_0x2902d5,_0x5e7906))||_0x3d1e);}return _0x3d786e>0x3&&_0x3d1e&&Object['defineProperty'](_0x2902d5,_0x5e7906,_0x3d1e),_0x3d1e;}let _0x727f90=class extends _0x2ada40[_0x4d33f7(0x1d6)]{constructor(_0x3a9287,_0x18db48,_0x33b5e7,_0x5b6b0a,_0x5920a9){const _0x20cd0b=_0x4d33f7;super(),this[_0x20cd0b(0x1e0)]=_0x3a9287,this[_0x20cd0b(0x1d3)]=_0x18db48,this['_univerInstanceService']=_0x33b5e7,this[_0x20cd0b(0x1b9)]=_0x5b6b0a,this['_collaborationController']=_0x5920a9;}async['loadActiveSheet'](){const _0x17fe6e=_0x4d33f7;return this[_0x17fe6e(0x1ca)]();}async[_0x4d33f7(0x1ca)](){const _0x2ee707=_0x4d33f7;throw Error(_0x2ee707(0x1e4));}async[_0x4d33f7(0x1bd)](_0xb96f53){const _0x56cda4=_0x4d33f7;return this[_0x56cda4(0x1c6)](_0xb96f53);}async[_0x4d33f7(0x1c6)](_0x2055b6,_0x4d262d){const _0x83ccad=_0x4d33f7;return await this[_0x83ccad(0x1b9)][_0x83ccad(0x1bd)](_0x2055b6,0x0,_0x4d262d)?(await this[_0x83ccad(0x1bf)][_0x83ccad(0x1cd)](_0x2055b6),this[_0x83ccad(0x1e0)][_0x83ccad(0x1f3)](_0x2055b6)):null;}[_0x4d33f7(0x1f9)](_0x4453e7,_0x58e132){const _0x5b1ae8=_0x4d33f7;return(0x0,_0x6da4ff[_0x5b1ae8(0x1ba)])(this['_injector'][_0x5b1ae8(0x1fc)](_0x21c4b2[_0x5b1ae8(0x1f1)])[_0x5b1ae8(0x1e7)](_0x4453e7)['pipe']((0x0,_0x5930bc[_0x5b1ae8(0x1e5)])(_0x3479bd=>_0x3479bd[_0x5b1ae8(0x1b8)]))[_0x5b1ae8(0x1d8)](_0x24f2e4=>_0x58e132(Array[_0x5b1ae8(0x1fb)](_0x24f2e4[_0x5b1ae8(0x1b4)]()))));}['getCollaborationStatus'](_0x50be58){const _0x2ab72f=_0x4d33f7;var _0x2ec159;let _0x3116f3;if(_0x50be58)_0x3116f3=_0x50be58;else{let _0x40f2df=this[_0x2ab72f(0x1ce)][_0x2ab72f(0x1f2)]();_0x3116f3=_0x40f2df==null?void 0x0:_0x40f2df[_0x2ab72f(0x1f7)]();}if(!_0x3116f3)return _0x21c4b2[_0x2ab72f(0x1ef)][_0x2ab72f(0x1d5)];let _0x5ab197=this['_collaborationController']['getCollabEntity'](_0x3116f3);return(_0x2ec159=_0x5ab197==null?void 0x0:_0x5ab197[_0x2ab72f(0x1f4)][_0x2ab72f(0x1fd)])==null?_0x21c4b2['CollaborationStatus'][_0x2ab72f(0x1d5)]:_0x2ec159;}};_0x727f90=_0x48052d([_0x39c035(0x1,(0x0,_0x6da4ff['Inject'])(_0x6da4ff[_0x4d33f7(0x1e1)])),_0x39c035(0x2,_0x6da4ff[_0x4d33f7(0x1e6)]),_0x39c035(0x3,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x5a386d[_0x4d33f7(0x1d0)])),_0x39c035(0x4,(0x0,_0x6da4ff[_0x4d33f7(0x1cf)])(_0x21c4b2[_0x4d33f7(0x1c3)]))],_0x727f90);var _0x5da8ef=class extends _0x2ada40[_0x4d33f7(0x1d7)]{['_initialize'](_0x4a806d){const _0x193153=_0x4d33f7;let _0x4ff669=_0x4a806d[_0x193153(0x1fc)](_0x21c4b2['CollaborationController']);this['disposeWithMe'](this['registerEventHandler'](this[_0x193153(0x1da)][_0x193153(0x1f5)],()=>{const _0x5601fb=_0x193153;let _0x1d4079=new _0x6da4ff[(_0x5601fb(0x1c0))](),_0x13c898=_0x4ff669[_0x5601fb(0x1d4)][_0x5601fb(0x1d8)](_0x542b86=>{const _0x4ee6e0=_0x5601fb;let _0x34621e=_0x542b86['status$']['subscribe'](_0x134dd1=>{const _0x5a085c=_0x1786;let _0x153e69={'unitId':_0x542b86[_0x5a085c(0x1c4)],'status':_0x134dd1};this[_0x5a085c(0x1c5)](this[_0x5a085c(0x1da)][_0x5a085c(0x1f5)],_0x153e69);});_0x1d4079[_0x4ee6e0(0x1ea)]((0x0,_0x6da4ff[_0x4ee6e0(0x1ba)])(_0x34621e));});return _0x1d4079['add']((0x0,_0x6da4ff['toDisposable'])(_0x13c898)),_0x1d4079;}));}[_0x4d33f7(0x1eb)](){const _0x2433e3=_0x4d33f7;return this[_0x2433e3(0x1d3)][_0x2433e3(0x1c9)](_0x727f90,{'getUniverSheet':_0x128374=>this[_0x2433e3(0x1f3)](_0x128374)});}[_0x4d33f7(0x1bc)](_0x3ddfd3,_0x4bd757,_0xb4605b){const _0x539e41=_0x4d33f7;return this['_injector']['get'](_0x21c4b2['DataLoaderService'])[_0x539e41(0x1ff)](_0x3ddfd3,_0x4bd757,_0xb4605b);}[_0x4d33f7(0x1f0)](_0x55cdb5,_0x48689a,_0x1f223f){const _0x6bf600=_0x4d33f7;return this[_0x6bf600(0x1d3)][_0x6bf600(0x1fc)](_0x21c4b2[_0x6bf600(0x1e8)])[_0x6bf600(0x1dd)](_0x55cdb5,_0x48689a,_0x1f223f);}};_0x2ada40[_0x4d33f7(0x1d7)][_0x4d33f7(0x1ed)](_0x5da8ef),Object[_0x4d33f7(0x1dc)](_0x2ae065,_0x4d33f7(0x1f6),{'enumerable':!0x0,'get':function(){return _0x727f90;}});}));
|