@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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x4925(_0x5acd61,_0x1e2b3a){_0x5acd61=_0x5acd61-0x9d;const _0x443bd3=_0x443b();let _0x4925d6=_0x443bd3[_0x5acd61];return _0x4925d6;}(function(_0x80c52b,_0x389e86){const _0x82adf2=_0x4925,_0x53be11=_0x80c52b();while(!![]){try{const _0x76d20e=-parseInt(_0x82adf2(0xbd))/0x1+-parseInt(_0x82adf2(0xb6))/0x2*(parseInt(_0x82adf2(0xe0))/0x3)+parseInt(_0x82adf2(0xb1))/0x4+-parseInt(_0x82adf2(0xb7))/0x5+parseInt(_0x82adf2(0xae))/0x6+parseInt(_0x82adf2(0xdf))/0x7+parseInt(_0x82adf2(0xe1))/0x8;if(_0x76d20e===_0x389e86)break;else _0x53be11['push'](_0x53be11['shift']());}catch(_0xddf65a){_0x53be11['push'](_0x53be11['shift']());}}}(_0x443b,0x790bb),function(_0x57a82e,_0x576a42){const _0x2cd0d4=_0x4925;typeof exports==_0x2cd0d4(0xe3)&&typeof module<'u'?_0x576a42(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x2cd0d4(0xbc)&&define[_0x2cd0d4(0xdb)]?define(['exports',_0x2cd0d4(0xdd),_0x2cd0d4(0xa0),'@univerjs/core',_0x2cd0d4(0xa8),_0x2cd0d4(0xd1)],_0x576a42):(_0x57a82e=typeof globalThis<'u'?globalThis:_0x57a82e||self,_0x576a42(_0x57a82e['UniverProCollaborationClientFacade']={},_0x57a82e[_0x2cd0d4(0xc9)],_0x57a82e['UniverCoreFacade'],_0x57a82e[_0x2cd0d4(0xd3)],_0x57a82e[_0x2cd0d4(0xa6)],_0x57a82e[_0x2cd0d4(0xd1)]));}(this,function(_0x202d24,_0x34805c,_0x2c3d4f,_0x1358af,_0x56a7bf,_0x247898){const _0x49b58d=_0x4925;Object[_0x49b58d(0xa9)](_0x202d24,Symbol[_0x49b58d(0xc6)],{'value':_0x49b58d(0x9f)});var _0x1a76ae=class extends _0x2c3d4f[_0x49b58d(0xd9)]{get[_0x49b58d(0xbb)](){return _0x34805c['CollaborationStatus'];}};_0x2c3d4f[_0x49b58d(0xd9)]['extend'](_0x1a76ae);var _0x259589=class extends _0x2c3d4f[_0x49b58d(0xc4)]{get[_0x49b58d(0xe6)](){return'CollaborationStatusChanged';}};_0x2c3d4f['FEventName'][_0x49b58d(0xda)](_0x259589);function _0x555c22(_0x2964a2,_0x450ec0){return function(_0x29d45c,_0x12e0b8){_0x450ec0(_0x29d45c,_0x12e0b8,_0x2964a2);};}function _0x39a80c(_0x57b346,_0x73f338,_0x30254e,_0x21f463){const _0x50b42b=_0x49b58d;var _0x4a1b69=arguments['length'],_0x24ca06=_0x4a1b69<0x3?_0x73f338:_0x21f463===null?_0x21f463=Object[_0x50b42b(0xa2)](_0x73f338,_0x30254e):_0x21f463,_0x38e8c3;if(typeof Reflect==_0x50b42b(0xe3)&&typeof Reflect[_0x50b42b(0xba)]==_0x50b42b(0xbc))_0x24ca06=Reflect['decorate'](_0x57b346,_0x73f338,_0x30254e,_0x21f463);else{for(var _0x5e85c0=_0x57b346[_0x50b42b(0xd7)]-0x1;_0x5e85c0>=0x0;_0x5e85c0--)(_0x38e8c3=_0x57b346[_0x5e85c0])&&(_0x24ca06=(_0x4a1b69<0x3?_0x38e8c3(_0x24ca06):_0x4a1b69>0x3?_0x38e8c3(_0x73f338,_0x30254e,_0x24ca06):_0x38e8c3(_0x73f338,_0x30254e))||_0x24ca06);}return _0x4a1b69>0x3&&_0x24ca06&&Object[_0x50b42b(0xa9)](_0x73f338,_0x30254e,_0x24ca06),_0x24ca06;}let _0x5e83a5=class extends _0x2c3d4f['FBase']{constructor(_0x91aad2,_0x161336,_0x105283,_0x2b5c56,_0x516e5e){const _0x469922=_0x49b58d;super(),this[_0x469922(0xca)]=_0x91aad2,this[_0x469922(0x9e)]=_0x161336,this[_0x469922(0xa1)]=_0x105283,this[_0x469922(0xd8)]=_0x2b5c56,this['_collaborationController']=_0x516e5e;}async[_0x49b58d(0xb5)](){return this['loadActiveSheetAsync']();}async[_0x49b58d(0xb2)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x4d0402){const _0x46b1d1=_0x49b58d;return this[_0x46b1d1(0xa5)](_0x4d0402);}async[_0x49b58d(0xa5)](_0x3dc10f,_0x5cd411){const _0x320ebd=_0x49b58d;return await this[_0x320ebd(0xd8)]['loadSheet'](_0x3dc10f,0x0,_0x5cd411)?(await this[_0x320ebd(0xa7)]['readyForCollab'](_0x3dc10f),this[_0x320ebd(0xca)][_0x320ebd(0xab)](_0x3dc10f)):null;}[_0x49b58d(0xc2)](_0x54dca0,_0x308a9b){const _0x3fa0d7=_0x49b58d;return(0x0,_0x1358af[_0x3fa0d7(0xb3)])(this[_0x3fa0d7(0x9e)]['get'](_0x34805c[_0x3fa0d7(0xbf)])[_0x3fa0d7(0xd6)](_0x54dca0)[_0x3fa0d7(0xa3)]((0x0,_0x247898[_0x3fa0d7(0xa4)])(_0x44da36=>_0x44da36[_0x3fa0d7(0xb4)]))[_0x3fa0d7(0xc1)](_0xd6d70f=>_0x308a9b(Array[_0x3fa0d7(0xaf)](_0xd6d70f['values']()))));}[_0x49b58d(0xe5)](_0x9bf2c5){const _0x215470=_0x49b58d;var _0x16d234;let _0x28c252;if(_0x9bf2c5)_0x28c252=_0x9bf2c5;else{let _0x730a5b=this[_0x215470(0xa1)]['getFocusedUnit']();_0x28c252=_0x730a5b==null?void 0x0:_0x730a5b['getUnitId']();}if(!_0x28c252)return _0x34805c['CollaborationStatus'][_0x215470(0xc0)];let _0x35a83e=this[_0x215470(0xa7)][_0x215470(0xc5)](_0x28c252);return(_0x16d234=_0x35a83e==null?void 0x0:_0x35a83e[_0x215470(0xcc)][_0x215470(0xcd)])==null?_0x34805c['CollaborationStatus'][_0x215470(0xc0)]:_0x16d234;}};_0x5e83a5=_0x39a80c([_0x555c22(0x1,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x1358af[_0x49b58d(0xd5)])),_0x555c22(0x2,_0x1358af[_0x49b58d(0xd0)]),_0x555c22(0x3,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x56a7bf[_0x49b58d(0xb9)])),_0x555c22(0x4,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x34805c[_0x49b58d(0xdc)]))],_0x5e83a5);var _0x3b2b18=class extends _0x2c3d4f[_0x49b58d(0x9d)]{['_initialize'](_0x5ac019){const _0x1b733d=_0x49b58d;let _0x8f7e9e=_0x5ac019['get'](_0x34805c[_0x1b733d(0xdc)]);this[_0x1b733d(0xc8)](this[_0x1b733d(0xad)](this[_0x1b733d(0xbe)][_0x1b733d(0xe6)],()=>{const _0x4d1583=_0x1b733d;let _0x4d3e1c=new _0x1358af[(_0x4d1583(0xcf))](),_0x568d06=_0x8f7e9e[_0x4d1583(0xc7)][_0x4d1583(0xc1)](_0x1934d0=>{const _0x44e0eb=_0x4d1583;let _0x4ec2f1=_0x1934d0[_0x44e0eb(0xc3)][_0x44e0eb(0xc1)](_0x18aefd=>{const _0x3a34cd=_0x44e0eb;let _0x401838={'unitId':_0x1934d0['unitID'],'status':_0x18aefd};this[_0x3a34cd(0xb8)](this['Event'][_0x3a34cd(0xe6)],_0x401838);});_0x4d3e1c[_0x44e0eb(0xcb)]((0x0,_0x1358af[_0x44e0eb(0xb3)])(_0x4ec2f1));});return _0x4d3e1c[_0x4d1583(0xcb)]((0x0,_0x1358af[_0x4d1583(0xb3)])(_0x568d06)),_0x4d3e1c;}));}[_0x49b58d(0xd4)](){const _0x4a54cc=_0x49b58d;return this[_0x4a54cc(0x9e)][_0x4a54cc(0xe2)](_0x5e83a5,{'getUniverSheet':_0x26337d=>this[_0x4a54cc(0xab)](_0x26337d)});}[_0x49b58d(0xac)](_0x3875e7,_0x1e1ad0,_0x50650b){const _0xa866c8=_0x49b58d;return this[_0xa866c8(0x9e)][_0xa866c8(0xe4)](_0x34805c[_0xa866c8(0xb0)])[_0xa866c8(0xde)](_0x3875e7,_0x1e1ad0,_0x50650b);}['loadServerUnitOfRevision'](_0x569cf7,_0x329058,_0x1ced38){const _0x102d0d=_0x49b58d;return this['_injector']['get'](_0x34805c[_0x102d0d(0xb0)])[_0x102d0d(0xce)](_0x569cf7,_0x329058,_0x1ced38);}};_0x2c3d4f[_0x49b58d(0x9d)][_0x49b58d(0xda)](_0x3b2b18),Object[_0x49b58d(0xa9)](_0x202d24,_0x49b58d(0xd2),{'enumerable':!0x0,'get':function(){return _0x5e83a5;}});}));function _0x443b(){const _0x292008=['@univerjs-pro/collaboration','defineProperty','Inject','getUniverSheet','loadServerUnit','registerEventHandler','5870082PTZusV','from','DataLoaderService','426776rwWHRd','loadActiveSheetAsync','toDisposable','members$','loadActiveSheet','6CAJNMK','1478870ixqBgY','fireEvent','SnapshotService','decorate','CollaborationStatus','function','382823scwCSy','Event','MemberService','NOT_COLLAB','subscribe','subscribeCollaborators','status$','FEventName','getCollabEntity','toStringTag','entityInit$','disposeWithMe','UniverProCollaborationClient','_handler','add','state','status','loadUnitOfRevision','DisposableCollection','IUniverInstanceService','rxjs','FCollaboration','UniverCore','getCollaboration','Injector','waitForRoom$','length','_snapshotService','FEnum','extend','amd','CollaborationController','@univerjs-pro/collaboration-client','loadUnit','6175491WOQbhM','913929AGfrEf','968600UQRioK','createInstance','object','get','getCollaborationStatus','CollaborationStatusChanged','FUniver','_injector','Module','@univerjs/core/facade','_univerInstanceService','getOwnPropertyDescriptor','pipe','switchMap','loadSheetAsync','UniverProCollaboration','_collaborationController'];_0x443b=function(){return _0x292008;};return _0x443b();}
|