@univerjs-pro/collaboration-client 0.24.0 → 0.25.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/ar-SA.js +1 -0
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -0
- 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 -0
- package/lib/cjs/locale/it-IT.js +1 -0
- 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 -0
- package/lib/cjs/locale/pt-BR.js +1 -0
- 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 -0
- 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 -0
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -0
- 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 -0
- package/lib/es/locale/it-IT.js +1 -0
- 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 -0
- package/lib/es/locale/pt-BR.js +1 -0
- 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 -0
- 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 -0
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -0
- 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 -0
- package/lib/locale/it-IT.js +1 -0
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -0
- package/lib/locale/pt-BR.js +1 -0
- 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 -0
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/ar-SA.d.ts +3 -0
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/de-DE.d.ts +3 -0
- package/lib/types/locale/en-US.d.ts +39 -37
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/id-ID.d.ts +3 -0
- package/lib/types/locale/it-IT.d.ts +3 -0
- package/lib/types/locale/pl-PL.d.ts +3 -0
- package/lib/types/locale/pt-BR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/zh-HK.d.ts +3 -0
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- 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 -0
- package/lib/umd/locale/it-IT.js +1 -0
- 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 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- 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 -0
- 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 _0x1338f2=_0x6ddf;(function(_0x58a1a8,_0x4ec335){const _0xd2c237=_0x6ddf,_0x1aec85=_0x58a1a8();while(!![]){try{const _0x19e3c5=-parseInt(_0xd2c237(0x14a))/0x1*(-parseInt(_0xd2c237(0x17b))/0x2)+parseInt(_0xd2c237(0x147))/0x3*(parseInt(_0xd2c237(0x176))/0x4)+parseInt(_0xd2c237(0x141))/0x5*(parseInt(_0xd2c237(0x159))/0x6)+parseInt(_0xd2c237(0x15c))/0x7*(-parseInt(_0xd2c237(0x178))/0x8)+-parseInt(_0xd2c237(0x17a))/0x9+parseInt(_0xd2c237(0x171))/0xa*(-parseInt(_0xd2c237(0x184))/0xb)+parseInt(_0xd2c237(0x156))/0xc;if(_0x19e3c5===_0x4ec335)break;else _0x1aec85['push'](_0x1aec85['shift']());}catch(_0x304e6f){_0x1aec85['push'](_0x1aec85['shift']());}}}(_0x235e,0xa29f2),Object['defineProperty'](exports,Symbol[_0x1338f2(0x17e)],{'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['FEnum']{get['CollaborationStatus'](){const _0x3e7395=_0x1338f2;return e[_0x3e7395(0x169)];}};t[_0x1338f2(0x14c)]['extend'](a);var o=class extends t['FEventName']{get[_0x1338f2(0x167)](){const _0x570e46=_0x1338f2;return _0x570e46(0x167);}};t[_0x1338f2(0x145)][_0x1338f2(0x160)](o);function s(_0x2149cd,_0xb0d47f){return function(_0x4686f4,_0x284dbf){_0xb0d47f(_0x4686f4,_0x284dbf,_0x2149cd);};}function c(_0xb3fae4,_0xf70f37,_0x398502,_0x588891){const _0x143c01=_0x1338f2;var _0xb936ac=arguments[_0x143c01(0x157)],_0x566bd2=_0xb936ac<0x3?_0xf70f37:_0x588891===null?_0x588891=Object[_0x143c01(0x161)](_0xf70f37,_0x398502):_0x588891,_0x2b8da9;if(typeof Reflect==_0x143c01(0x173)&&typeof Reflect[_0x143c01(0x155)]=='function')_0x566bd2=Reflect['decorate'](_0xb3fae4,_0xf70f37,_0x398502,_0x588891);else{for(var _0x3ee850=_0xb3fae4[_0x143c01(0x157)]-0x1;_0x3ee850>=0x0;_0x3ee850--)(_0x2b8da9=_0xb3fae4[_0x3ee850])&&(_0x566bd2=(_0xb936ac<0x3?_0x2b8da9(_0x566bd2):_0xb936ac>0x3?_0x2b8da9(_0xf70f37,_0x398502,_0x566bd2):_0x2b8da9(_0xf70f37,_0x398502))||_0x566bd2);}return _0xb936ac>0x3&&_0x566bd2&&Object[_0x143c01(0x163)](_0xf70f37,_0x398502,_0x566bd2),_0x566bd2;}let l=class extends t[_0x1338f2(0x142)]{constructor(_0x54e7c6,_0x36395a,_0x4f3ad3,_0x4551dc,_0x1bb696){const _0x308c60=_0x1338f2;super(),this['_handler']=_0x54e7c6,this[_0x308c60(0x158)]=_0x36395a,this[_0x308c60(0x17f)]=_0x4f3ad3,this[_0x308c60(0x174)]=_0x4551dc,this[_0x308c60(0x181)]=_0x1bb696;}async['loadActiveSheet'](){const _0x1c6bc3=_0x1338f2;return this[_0x1c6bc3(0x16b)]();}async[_0x1338f2(0x16b)](){const _0x1eea3f=_0x1338f2;throw Error(_0x1eea3f(0x15e));}async[_0x1338f2(0x15a)](_0xf9bdd6){const _0x569af7=_0x1338f2;return this[_0x569af7(0x16e)](_0xf9bdd6);}async[_0x1338f2(0x16e)](_0x3ba0cb,_0xa6e1e4){const _0x507fd8=_0x1338f2;return await this[_0x507fd8(0x174)]['loadSheet'](_0x3ba0cb,0x0,_0xa6e1e4)?(await this[_0x507fd8(0x181)]['readyForCollab'](_0x3ba0cb),this[_0x507fd8(0x14d)][_0x507fd8(0x153)](_0x3ba0cb)):null;}[_0x1338f2(0x183)](_0x3947fa,_0x495cfa){const _0x5856e0=_0x1338f2;return(0x0,n['toDisposable'])(this[_0x5856e0(0x158)][_0x5856e0(0x148)](e[_0x5856e0(0x17d)])['waitForRoom$'](_0x3947fa)['pipe']((0x0,i[_0x5856e0(0x150)])(_0x38b330=>_0x38b330[_0x5856e0(0x168)]))[_0x5856e0(0x15b)](_0x30601f=>_0x495cfa(Array['from'](_0x30601f['values']()))));}[_0x1338f2(0x14b)](_0x496ff9){const _0x5eb504=_0x1338f2;var _0x479ca6;let _0x5ce66f;if(_0x496ff9)_0x5ce66f=_0x496ff9;else{let _0x4ef498=this[_0x5eb504(0x17f)][_0x5eb504(0x175)]();_0x5ce66f=_0x4ef498==null?void 0x0:_0x4ef498[_0x5eb504(0x14e)]();}if(!_0x5ce66f)return e[_0x5eb504(0x169)][_0x5eb504(0x16a)];let _0x2da53b=this['_collaborationController'][_0x5eb504(0x152)](_0x5ce66f);return(_0x479ca6=_0x2da53b==null?void 0x0:_0x2da53b[_0x5eb504(0x172)][_0x5eb504(0x149)])==null?e[_0x5eb504(0x169)]['NOT_COLLAB']:_0x479ca6;}};function _0x235e(){const _0x1773d0=['disposeWithMe','4525029vdGNqb','2406eowgTj','add','MemberService','toStringTag','_univerInstanceService','DataLoaderService','_collaborationController','toDisposable','subscribeCollaborators','1637603ggbWJw','2930SMtpXe','FBase','IUniverInstanceService','Injector','FEventName','getCollaboration','3ZiyMOT','get','status','996WqxfTm','getCollaborationStatus','FEnum','_handler','getUnitId','unitID','switchMap','createInstance','getCollabEntity','getUniverSheet','FUniver','decorate','17658660PHaeut','length','_injector','5766isFqMz','loadSheet','subscribe','9142Lnpanb','registerEventHandler','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','extend','getOwnPropertyDescriptor','loadUnit','defineProperty','DisposableCollection','Event','CollaborationController','CollaborationStatusChanged','members$','CollaborationStatus','NOT_COLLAB','loadActiveSheetAsync','Inject','loadUnitOfRevision','loadSheetAsync','entityInit$','loadServerUnitOfRevision','70EoKukV','state','object','_snapshotService','getFocusedUnit','546092MUDeWa','fireEvent','7096nWpqmL'];_0x235e=function(){return _0x1773d0;};return _0x235e();}l=c([s(0x1,(0x0,n[_0x1338f2(0x16c)])(n[_0x1338f2(0x144)])),s(0x2,n[_0x1338f2(0x143)]),s(0x3,(0x0,n[_0x1338f2(0x16c)])(r[_0x1338f2(0x15f)])),s(0x4,(0x0,n[_0x1338f2(0x16c)])(e[_0x1338f2(0x166)]))],l);function _0x6ddf(_0x4866ba,_0x1ebae1){_0x4866ba=_0x4866ba-0x141;const _0x235efb=_0x235e();let _0x6ddfcf=_0x235efb[_0x4866ba];return _0x6ddfcf;}var u=class extends t[_0x1338f2(0x154)]{['_initialize'](_0x53c871){const _0x3880f3=_0x1338f2;let _0x8d77b6=_0x53c871[_0x3880f3(0x148)](e[_0x3880f3(0x166)]);this[_0x3880f3(0x179)](this[_0x3880f3(0x15d)](this[_0x3880f3(0x165)][_0x3880f3(0x167)],()=>{const _0x18d407=_0x3880f3;let _0x14f3bd=new n[(_0x18d407(0x164))](),_0x4cde63=_0x8d77b6[_0x18d407(0x16f)][_0x18d407(0x15b)](_0x3dad31=>{const _0x249e63=_0x18d407;let _0x5c85c0=_0x3dad31['status$'][_0x249e63(0x15b)](_0x425611=>{const _0x2a863d=_0x249e63;let _0x3d7aee={'unitId':_0x3dad31[_0x2a863d(0x14f)],'status':_0x425611};this[_0x2a863d(0x177)](this[_0x2a863d(0x165)][_0x2a863d(0x167)],_0x3d7aee);});_0x14f3bd[_0x249e63(0x17c)]((0x0,n[_0x249e63(0x182)])(_0x5c85c0));});return _0x14f3bd[_0x18d407(0x17c)]((0x0,n[_0x18d407(0x182)])(_0x4cde63)),_0x14f3bd;}));}[_0x1338f2(0x146)](){const _0xd20f27=_0x1338f2;return this[_0xd20f27(0x158)][_0xd20f27(0x151)](l,{'getUniverSheet':_0x10d13e=>this[_0xd20f27(0x153)](_0x10d13e)});}['loadServerUnit'](_0x53f961,_0x1fe1ff,_0x38d886){const _0x4f0ee7=_0x1338f2;return this[_0x4f0ee7(0x158)]['get'](e[_0x4f0ee7(0x180)])[_0x4f0ee7(0x162)](_0x53f961,_0x1fe1ff,_0x38d886);}[_0x1338f2(0x170)](_0x31c476,_0x2881c9,_0x83aa75){const _0x5221ef=_0x1338f2;return this[_0x5221ef(0x158)]['get'](e['DataLoaderService'])[_0x5221ef(0x16d)](_0x31c476,_0x2881c9,_0x83aa75);}};t[_0x1338f2(0x154)]['extend'](u),Object[_0x1338f2(0x163)](exports,'FCollaboration',{'enumerable':!0x0,'get':function(){return l;}});
|