@univerjs-pro/collaboration-client 0.19.0 → 0.20.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/facade/f-enum.d.ts +2 -2
- package/lib/types/facade/f-event.d.ts +5 -5
- package/lib/types/facade/index.d.ts +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 +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1dec9a=_0x3ad7;function _0x47d1(){const _0x103197=['getFocusedUnit','DisposableCollection','36TqQMOi','subscribeCollaborators','defineProperty','_snapshotService','_initialize','Event','status$','subscribe','44190hKIztH','125288oBCTmp','FBase','loadSheetAsync','decorate','NOT_COLLAB','50pDUJtI','11nQwlen','FEnum','loadSheet','disposeWithMe','waitForRoom$','88320oeJPrf','getOwnPropertyDescriptor','length','124229aJgBDT','loadServerUnitOfRevision','registerEventHandler','9434508poaIML','FCollaboration','Inject','object','DataLoaderService','1499577zfxZNu','from','switchMap','values','createInstance','loadActiveSheetAsync','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FEventName','toDisposable','MemberService','extend','get','state','SnapshotService','loadServerUnit','readyForCollab','getUnitId','toStringTag','add','112SzegML','FUniver','function','_injector','members$','CollaborationController','getUniverSheet','CollaborationStatus','_collaborationController','6139008gbqCGz','getCollaboration','2euAFCr','CollaborationStatusChanged','loadActiveSheet','entityInit$'];_0x47d1=function(){return _0x103197;};return _0x47d1();}(function(_0x5e105c,_0x50c67c){const _0xc6bf64=_0x3ad7,_0x462f20=_0x5e105c();while(!![]){try{const _0x1628a7=parseInt(_0xc6bf64(0x189))/0x1*(-parseInt(_0xc6bf64(0x16c))/0x2)+parseInt(_0xc6bf64(0x191))/0x3+parseInt(_0xc6bf64(0x17b))/0x4*(parseInt(_0xc6bf64(0x180))/0x5)+-parseInt(_0xc6bf64(0x186))/0x6*(parseInt(_0xc6bf64(0x1a4))/0x7)+-parseInt(_0xc6bf64(0x16a))/0x8+-parseInt(_0xc6bf64(0x172))/0x9*(-parseInt(_0xc6bf64(0x17a))/0xa)+-parseInt(_0xc6bf64(0x181))/0xb*(-parseInt(_0xc6bf64(0x18c))/0xc);if(_0x1628a7===_0x50c67c)break;else _0x462f20['push'](_0x462f20['shift']());}catch(_0x19ce1b){_0x462f20['push'](_0x462f20['shift']());}}}(_0x47d1,0x7796f),Object['defineProperty'](exports,Symbol[_0x1dec9a(0x1a2)],{'value':'Module'}));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[_0x1dec9a(0x182)]{get['CollaborationStatus'](){const _0x44ef2d=_0x1dec9a;return e[_0x44ef2d(0x168)];}};t[_0x1dec9a(0x182)][_0x1dec9a(0x19b)](a);var o=class extends t[_0x1dec9a(0x198)]{get['CollaborationStatusChanged'](){const _0x815e4d=_0x1dec9a;return _0x815e4d(0x16d);}};t[_0x1dec9a(0x198)][_0x1dec9a(0x19b)](o);function s(_0x576ecb,_0x4464ef){return function(_0x9a0409,_0x13622b){_0x4464ef(_0x9a0409,_0x13622b,_0x576ecb);};}function c(_0x3afe64,_0x57c45d,_0xf33a7,_0x196333){const _0x7ab029=_0x1dec9a;var _0xee2be3=arguments[_0x7ab029(0x188)],_0x468f78=_0xee2be3<0x3?_0x57c45d:_0x196333===null?_0x196333=Object[_0x7ab029(0x187)](_0x57c45d,_0xf33a7):_0x196333,_0x5aa167;if(typeof Reflect==_0x7ab029(0x18f)&&typeof Reflect[_0x7ab029(0x17e)]==_0x7ab029(0x1a6))_0x468f78=Reflect[_0x7ab029(0x17e)](_0x3afe64,_0x57c45d,_0xf33a7,_0x196333);else{for(var _0x387fee=_0x3afe64['length']-0x1;_0x387fee>=0x0;_0x387fee--)(_0x5aa167=_0x3afe64[_0x387fee])&&(_0x468f78=(_0xee2be3<0x3?_0x5aa167(_0x468f78):_0xee2be3>0x3?_0x5aa167(_0x57c45d,_0xf33a7,_0x468f78):_0x5aa167(_0x57c45d,_0xf33a7))||_0x468f78);}return _0xee2be3>0x3&&_0x468f78&&Object[_0x7ab029(0x174)](_0x57c45d,_0xf33a7,_0x468f78),_0x468f78;}function _0x3ad7(_0x43c83d,_0x483c77){_0x43c83d=_0x43c83d-0x165;const _0x47d1ec=_0x47d1();let _0x3ad784=_0x47d1ec[_0x43c83d];return _0x3ad784;}let l=class extends t[_0x1dec9a(0x17c)]{constructor(_0x5c1b28,_0x3ebb3b,_0x1ef6d2,_0xb677f1,_0x6d967e){const _0x43de77=_0x1dec9a;super(),this['_handler']=_0x5c1b28,this[_0x43de77(0x1a7)]=_0x3ebb3b,this['_univerInstanceService']=_0x1ef6d2,this['_snapshotService']=_0xb677f1,this['_collaborationController']=_0x6d967e;}async[_0x1dec9a(0x16e)](){const _0x1e774c=_0x1dec9a;return this[_0x1e774c(0x196)]();}async['loadActiveSheetAsync'](){const _0x524d2f=_0x1dec9a;throw Error(_0x524d2f(0x197));}async[_0x1dec9a(0x183)](_0x391844){return this['loadSheetAsync'](_0x391844);}async[_0x1dec9a(0x17d)](_0x5dc533,_0x4c62e0){const _0x41f4c0=_0x1dec9a;return await this[_0x41f4c0(0x175)][_0x41f4c0(0x183)](_0x5dc533,0x0,_0x4c62e0)?(await this['_collaborationController'][_0x41f4c0(0x1a0)](_0x5dc533),this['_handler']['getUniverSheet'](_0x5dc533)):null;}[_0x1dec9a(0x173)](_0xe80dcb,_0x38cf4c){const _0x58feeb=_0x1dec9a;return(0x0,n[_0x58feeb(0x199)])(this[_0x58feeb(0x1a7)]['get'](e[_0x58feeb(0x19a)])[_0x58feeb(0x185)](_0xe80dcb)['pipe']((0x0,i[_0x58feeb(0x193)])(_0x40a135=>_0x40a135[_0x58feeb(0x165)]))[_0x58feeb(0x179)](_0xdf1d27=>_0x38cf4c(Array[_0x58feeb(0x192)](_0xdf1d27[_0x58feeb(0x194)]()))));}['getCollaborationStatus'](_0x15f51b){const _0x4442ac=_0x1dec9a;var _0x545518;let _0x22152b;if(_0x15f51b)_0x22152b=_0x15f51b;else{let _0x23fea1=this['_univerInstanceService'][_0x4442ac(0x170)]();_0x22152b=_0x23fea1==null?void 0x0:_0x23fea1[_0x4442ac(0x1a1)]();}if(!_0x22152b)return e[_0x4442ac(0x168)][_0x4442ac(0x17f)];let _0x17e193=this[_0x4442ac(0x169)]['getCollabEntity'](_0x22152b);return(_0x545518=_0x17e193==null?void 0x0:_0x17e193[_0x4442ac(0x19d)]['status'])==null?e[_0x4442ac(0x168)][_0x4442ac(0x17f)]:_0x545518;}};l=c([s(0x1,(0x0,n[_0x1dec9a(0x18e)])(n['Injector'])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x1dec9a(0x18e)])(r[_0x1dec9a(0x19e)])),s(0x4,(0x0,n['Inject'])(e[_0x1dec9a(0x166)]))],l);var u=class extends t[_0x1dec9a(0x1a5)]{[_0x1dec9a(0x176)](_0x241fed){const _0xfaba9d=_0x1dec9a;let _0x5493a3=_0x241fed[_0xfaba9d(0x19c)](e[_0xfaba9d(0x166)]);this[_0xfaba9d(0x184)](this[_0xfaba9d(0x18b)](this['Event']['CollaborationStatusChanged'],()=>{const _0x1ffe03=_0xfaba9d;let _0x4167dc=new n[(_0x1ffe03(0x171))](),_0x28780b=_0x5493a3[_0x1ffe03(0x16f)]['subscribe'](_0x24d75b=>{const _0x63a37f=_0x1ffe03;let _0x4f11a4=_0x24d75b[_0x63a37f(0x178)][_0x63a37f(0x179)](_0x2f7ffd=>{const _0x3f9c61=_0x63a37f;let _0x140342={'unitId':_0x24d75b['unitID'],'status':_0x2f7ffd};this['fireEvent'](this[_0x3f9c61(0x177)][_0x3f9c61(0x16d)],_0x140342);});_0x4167dc[_0x63a37f(0x1a3)]((0x0,n[_0x63a37f(0x199)])(_0x4f11a4));});return _0x4167dc[_0x1ffe03(0x1a3)]((0x0,n[_0x1ffe03(0x199)])(_0x28780b)),_0x4167dc;}));}[_0x1dec9a(0x16b)](){const _0x345a98=_0x1dec9a;return this[_0x345a98(0x1a7)][_0x345a98(0x195)](l,{'getUniverSheet':_0x110700=>this[_0x345a98(0x167)](_0x110700)});}[_0x1dec9a(0x19f)](_0x367981,_0x196b1b,_0x215bac){const _0x1d7d70=_0x1dec9a;return this[_0x1d7d70(0x1a7)][_0x1d7d70(0x19c)](e[_0x1d7d70(0x190)])['loadUnit'](_0x367981,_0x196b1b,_0x215bac);}[_0x1dec9a(0x18a)](_0x2cb5ed,_0xbe6168,_0x5386be){const _0x5a47d5=_0x1dec9a;return this[_0x5a47d5(0x1a7)][_0x5a47d5(0x19c)](e['DataLoaderService'])['loadUnitOfRevision'](_0x2cb5ed,_0xbe6168,_0x5386be);}};t[_0x1dec9a(0x1a5)][_0x1dec9a(0x19b)](u),Object['defineProperty'](exports,_0x1dec9a(0x18d),{'enumerable':!0x0,'get':function(){return l;}});
|