@univerjs-pro/collaboration-client 0.12.2 → 0.12.3-experimental.20251204-1549a8e
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/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/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/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/utils/changeset-utils.d.ts +15 -0
- 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/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 +12 -12
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x7bf631=_0x3906;(function(_0x53b6ef,_0x4f13c9){const _0x56dd11=_0x3906,_0x48b06d=_0x53b6ef();while(!![]){try{const _0x2d2596=parseInt(_0x56dd11(0x14d))/0x1+parseInt(_0x56dd11(0x12b))/0x2+-parseInt(_0x56dd11(0x143))/0x3*(parseInt(_0x56dd11(0x154))/0x4)+parseInt(_0x56dd11(0x12d))/0x5+parseInt(_0x56dd11(0x129))/0x6*(parseInt(_0x56dd11(0x151))/0x7)+-parseInt(_0x56dd11(0x141))/0x8+-parseInt(_0x56dd11(0x125))/0x9*(-parseInt(_0x56dd11(0x127))/0xa);if(_0x2d2596===_0x4f13c9)break;else _0x48b06d['push'](_0x48b06d['shift']());}catch(_0x57e968){_0x48b06d['push'](_0x48b06d['shift']());}}}(_0x562d,0xa5abb));Object[_0x7bf631(0x152)](exports,Symbol['toStringTag'],{'value':_0x7bf631(0x12f)});function _0x562d(){const _0x388bf6=['extend','getUnitId','_collaborationController','getUniverSheet','CollaborationController','52128gvFqBa','Injector','DataLoaderService','length','7tuRBsR','defineProperty','pipe','3548sGMgpn','_injector','subscribe','from','loadActiveSheet','values','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadServerUnitOfRevision','5978979JFCiqb','members$','10WHtYtJ','FUniver','2482908upLVXG','getCollabEntity','839012mlrBnr','subscribeCollaborators','3399925pVTZow','toDisposable','Module','SnapshotService','Inject','get','switchMap','_handler','CollaborationStatus','FBase','loadUnitOfRevision','status','loadSheetAsync','getOwnPropertyDescriptor','loadSheet','getCollaborationStatus','FCollaboration','_snapshotService','FEnum','MemberService','3631696PQLlAH','loadActiveSheetAsync','3711bbDtEB','loadUnit','_univerInstanceService','getCollaboration','NOT_COLLAB'];_0x562d=function(){return _0x388bf6;};return _0x562d();}const i=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),s=require('@univerjs/core'),b=require('rxjs');class h extends l[_0x7bf631(0x13f)]{get[_0x7bf631(0x135)](){return i['CollaborationStatus'];}}l[_0x7bf631(0x13f)][_0x7bf631(0x148)](h);var d=Object[_0x7bf631(0x13a)],S=(_0x29eb31,_0x1d0ee0,_0x431409,_0x99d1e6)=>{const _0x4bf407=_0x7bf631;for(var _0x2e6bf1=_0x99d1e6>0x1?void 0x0:_0x99d1e6?d(_0x1d0ee0,_0x431409):_0x1d0ee0,_0x1b5e55=_0x29eb31[_0x4bf407(0x150)]-0x1,_0x5a5007;_0x1b5e55>=0x0;_0x1b5e55--)(_0x5a5007=_0x29eb31[_0x1b5e55])&&(_0x2e6bf1=_0x5a5007(_0x2e6bf1)||_0x2e6bf1);return _0x2e6bf1;},c=(_0x2b9963,_0x576dc1)=>(_0x44ec3e,_0x2ef285)=>_0x576dc1(_0x44ec3e,_0x2ef285,_0x2b9963);exports[_0x7bf631(0x13d)]=class extends l[_0x7bf631(0x136)]{constructor(_0x1f44e9,_0x403020,_0x2072a1,_0x397d59,_0x2db12b){const _0x4f5994=_0x7bf631;super(),this[_0x4f5994(0x134)]=_0x1f44e9,this['_injector']=_0x403020,this['_univerInstanceService']=_0x2072a1,this[_0x4f5994(0x13e)]=_0x397d59,this[_0x4f5994(0x14a)]=_0x2db12b;}async[_0x7bf631(0x121)](){const _0x20df4f=_0x7bf631;return this[_0x20df4f(0x142)]();}async[_0x7bf631(0x142)](){const _0x5afadf=_0x7bf631;throw new Error(_0x5afadf(0x123));}async[_0x7bf631(0x13b)](_0x4787f4){const _0x45a2b4=_0x7bf631;return this[_0x45a2b4(0x139)](_0x4787f4);}async['loadSheetAsync'](_0x2bcc3b,_0x20d73a){const _0x349802=_0x7bf631;return await this['_snapshotService'][_0x349802(0x13b)](_0x2bcc3b,0x0,_0x20d73a)?(await this['_collaborationController']['readyForCollab'](_0x2bcc3b),this[_0x349802(0x134)][_0x349802(0x14b)](_0x2bcc3b)):null;}[_0x7bf631(0x12c)](_0x1152b3,_0x5f4246){const _0x12ae31=_0x7bf631,_0x206f9c=this[_0x12ae31(0x155)][_0x12ae31(0x132)](i[_0x12ae31(0x140)])['waitForRoom$'](_0x1152b3)[_0x12ae31(0x153)](b[_0x12ae31(0x133)](_0x48ec0d=>_0x48ec0d[_0x12ae31(0x126)]))[_0x12ae31(0x11f)](_0x14364c=>_0x5f4246(Array[_0x12ae31(0x120)](_0x14364c[_0x12ae31(0x122)]())));return s[_0x12ae31(0x12e)](_0x206f9c);}[_0x7bf631(0x13c)](){const _0x385715=_0x7bf631,_0x5f34e1=this[_0x385715(0x145)]['getFocusedUnit']();if(!_0x5f34e1)return i[_0x385715(0x135)]['NOT_COLLAB'];const _0x318431=this[_0x385715(0x14a)][_0x385715(0x12a)](_0x5f34e1[_0x385715(0x149)]());return _0x318431?_0x318431['state'][_0x385715(0x138)]:i[_0x385715(0x135)][_0x385715(0x147)];}},exports[_0x7bf631(0x13d)]=S([c(0x1,s[_0x7bf631(0x131)](s[_0x7bf631(0x14e)])),c(0x2,s['IUniverInstanceService']),c(0x3,s[_0x7bf631(0x131)](v[_0x7bf631(0x130)])),c(0x4,s[_0x7bf631(0x131)](i[_0x7bf631(0x14c)]))],exports['FCollaboration']);function _0x3906(_0x49ed54,_0x12673d){_0x49ed54=_0x49ed54-0x11f;const _0x562dc2=_0x562d();let _0x3906e5=_0x562dc2[_0x49ed54];return _0x3906e5;}class C extends l[_0x7bf631(0x128)]{[_0x7bf631(0x146)](){const _0x25bb6d=_0x7bf631;return this[_0x25bb6d(0x155)]['createInstance'](exports[_0x25bb6d(0x13d)],{'getUniverSheet':_0x9c7ae0=>this['getUniverSheet'](_0x9c7ae0)});}['loadServerUnit'](_0x448fb2,_0x45c370,_0x40abde){const _0xc14d0d=_0x7bf631;return this[_0xc14d0d(0x155)]['get'](i[_0xc14d0d(0x14f)])[_0xc14d0d(0x144)](_0x448fb2,_0x45c370,_0x40abde);}[_0x7bf631(0x124)](_0x2207a6,_0x1f21a5,_0x3bd2db){const _0x5acb3e=_0x7bf631;return this['_injector'][_0x5acb3e(0x132)](i['DataLoaderService'])[_0x5acb3e(0x137)](_0x2207a6,_0x1f21a5,_0x3bd2db);}}l[_0x7bf631(0x128)][_0x7bf631(0x148)](C);
|