@univerjs-pro/collaboration-client 0.24.0 → 0.25.0-insiders.20260608-e4336f7
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/config/config.d.ts +70 -0
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +15 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +6 -14
- package/lib/types/facade/f-collaboration.d.ts +38 -25
- package/lib/types/index.d.ts +4 -2
- 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/types/plugin.d.ts +1 -1
- package/lib/types/services/attachment-remote/attachment-io.service.d.ts +22 -0
- package/lib/types/services/attachment-remote/types.d.ts +23 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +3 -0
- package/lib/types/services/local-cache/local-cache.service.d.ts +1 -0
- 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 +16 -14
- package/lib/types/controllers/config.schema.d.ts +0 -64
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3275(){const _0x5a8e07=['state','6908792Tbpfoq','120WvpsJF','332458HFBinx','_collaborationController','1450552fiTUym','FEventName','MemberService','CollaborationController','loadServerUnitOfRevision','get','loadSlideAsync','values','subscribe','toDisposable','function','Module','_handler','FCollaboration','_injector','97596ywDeOJ','4465305OQkQYF','12dVFfWG','status','loadUnitOfRevision','waitForRoom$','switchMap','add','toStringTag','defineProperty','getBase','3845886XrQvCN','getOwnPropertyDescriptor','entityInit$','subscribeCollaborators','disposeWithMe','FUniver','from','_snapshotService','860ZgLBYY','FEnum','DisposableCollection','readyForCollab','registerEventHandler','extend','getPresentation','Injector','CollaborationStatusChanged','Inject','object','_univerInstanceService','loadDocAsync','pipe','status$','DataLoaderService','getUnitId','FBase','NOT_COLLAB','decorate','Event','CollaborationStatus','loadUnit','19697iiBNDf','getDocument','getFocusedUnit','length','144CWaxQf','getWorkbook','getCollaboration','members$','loadBase','3BTutpR'];_0x3275=function(){return _0x5a8e07;};return _0x3275();}const _0x5a985c=_0x129d;(function(_0x301da2,_0x5289f2){const _0x4410ba=_0x129d,_0x30c2b9=_0x301da2();while(!![]){try{const _0x46aba7=-parseInt(_0x4410ba(0x1a1))/0x1*(parseInt(_0x4410ba(0x1c1))/0x2)+-parseInt(_0x4410ba(0x1aa))/0x3*(-parseInt(_0x4410ba(0x1b0))/0x4)+parseInt(_0x4410ba(0x1c0))/0x5+parseInt(_0x4410ba(0x1a5))/0x6*(parseInt(_0x4410ba(0x1ae))/0x7)+parseInt(_0x4410ba(0x1ac))/0x8+-parseInt(_0x4410ba(0x1bf))/0x9*(-parseInt(_0x4410ba(0x1d2))/0xa)+-parseInt(_0x4410ba(0x1ca))/0xb*(parseInt(_0x4410ba(0x1ad))/0xc);if(_0x46aba7===_0x5289f2)break;else _0x30c2b9['push'](_0x30c2b9['shift']());}catch(_0x10ce64){_0x30c2b9['push'](_0x30c2b9['shift']());}}}(_0x3275,0x8cf10),Object[_0x5a985c(0x1c8)](exports,Symbol[_0x5a985c(0x1c7)],{'value':_0x5a985c(0x1bb)}));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[_0x5a985c(0x1d3)]{get[_0x5a985c(0x1e7)](){const _0x1b2d79=_0x5a985c;return e[_0x1b2d79(0x1e7)];}};t[_0x5a985c(0x1d3)][_0x5a985c(0x1d7)](a);function _0x129d(_0x5b8272,_0x352e1a){_0x5b8272=_0x5b8272-0x1a0;const _0x3275d7=_0x3275();let _0x129d03=_0x3275d7[_0x5b8272];return _0x129d03;}var o=class extends t[_0x5a985c(0x1b1)]{get[_0x5a985c(0x1da)](){return'CollaborationStatusChanged';}};t[_0x5a985c(0x1b1)][_0x5a985c(0x1d7)](o);function s(_0x5a0588,_0x31e8c5){return function(_0x2b32cb,_0x290c92){_0x31e8c5(_0x2b32cb,_0x290c92,_0x5a0588);};}function c(_0x20f216,_0x534cd6,_0x596adf,_0x2f6e3e){const _0x83f5dd=_0x5a985c;var _0x2779c8=arguments['length'],_0x113a13=_0x2779c8<0x3?_0x534cd6:_0x2f6e3e===null?_0x2f6e3e=Object[_0x83f5dd(0x1cb)](_0x534cd6,_0x596adf):_0x2f6e3e,_0x27f528;if(typeof Reflect==_0x83f5dd(0x1dc)&&typeof Reflect[_0x83f5dd(0x1e5)]==_0x83f5dd(0x1ba))_0x113a13=Reflect[_0x83f5dd(0x1e5)](_0x20f216,_0x534cd6,_0x596adf,_0x2f6e3e);else{for(var _0x4a602d=_0x20f216[_0x83f5dd(0x1a4)]-0x1;_0x4a602d>=0x0;_0x4a602d--)(_0x27f528=_0x20f216[_0x4a602d])&&(_0x113a13=(_0x2779c8<0x3?_0x27f528(_0x113a13):_0x2779c8>0x3?_0x27f528(_0x534cd6,_0x596adf,_0x113a13):_0x27f528(_0x534cd6,_0x596adf))||_0x113a13);}return _0x2779c8>0x3&&_0x113a13&&Object['defineProperty'](_0x534cd6,_0x596adf,_0x113a13),_0x113a13;}let l=class extends t[_0x5a985c(0x1e3)]{constructor(_0x384f77,_0x47b7fd,_0x596ba1,_0x4a3858,_0x587eb8){const _0x16acaa=_0x5a985c;super(),this[_0x16acaa(0x1bc)]=_0x384f77,this[_0x16acaa(0x1be)]=_0x47b7fd,this[_0x16acaa(0x1dd)]=_0x596ba1,this[_0x16acaa(0x1d1)]=_0x4a3858,this[_0x16acaa(0x1af)]=_0x587eb8;}async['loadSheetAsync'](_0x355b2c,_0x38c63b){const _0x3bc79a=_0x5a985c;return await this[_0x3bc79a(0x1d1)]['loadSheet'](_0x355b2c,0x0,_0x38c63b)?(await this['_collaborationController'][_0x3bc79a(0x1d5)](_0x355b2c),this[_0x3bc79a(0x1bc)][_0x3bc79a(0x1a6)](_0x355b2c)):null;}async[_0x5a985c(0x1de)](_0x337df8,_0x1165e8){const _0x338336=_0x5a985c;return await this[_0x338336(0x1d1)]['loadDoc'](_0x337df8,0x0,_0x1165e8)?(await this[_0x338336(0x1af)][_0x338336(0x1d5)](_0x337df8),this[_0x338336(0x1bc)][_0x338336(0x1a2)](_0x337df8)):null;}async['loadBaseAsync'](_0x26b4df,_0x576de2){const _0x30f38a=_0x5a985c;return await this[_0x30f38a(0x1d1)][_0x30f38a(0x1a9)](_0x26b4df,0x0,_0x576de2)?(await this[_0x30f38a(0x1af)]['readyForCollab'](_0x26b4df),this[_0x30f38a(0x1bc)][_0x30f38a(0x1c9)](_0x26b4df)):null;}async[_0x5a985c(0x1b6)](_0x5626a6,_0x574f9d){const _0x5ac94d=_0x5a985c;return await this[_0x5ac94d(0x1d1)]['loadSlide'](_0x5626a6,0x0,_0x574f9d)?(await this['_collaborationController'][_0x5ac94d(0x1d5)](_0x5626a6),this[_0x5ac94d(0x1bc)]['getPresentation'](_0x5626a6)):null;}[_0x5a985c(0x1cd)](_0x176d5c,_0x18303f){const _0x50c840=_0x5a985c;return(0x0,n[_0x50c840(0x1b9)])(this[_0x50c840(0x1be)]['get'](e[_0x50c840(0x1b2)])[_0x50c840(0x1c4)](_0x176d5c)[_0x50c840(0x1df)]((0x0,i[_0x50c840(0x1c5)])(_0x19e854=>_0x19e854[_0x50c840(0x1a8)]))[_0x50c840(0x1b8)](_0x16a8a6=>_0x18303f(Array[_0x50c840(0x1d0)](_0x16a8a6[_0x50c840(0x1b7)]()))));}['getCollaborationStatus'](_0x3383c7){const _0x5689de=_0x5a985c;var _0x145109;let _0x488f8c;if(_0x3383c7)_0x488f8c=_0x3383c7;else{let _0x575a87=this[_0x5689de(0x1dd)][_0x5689de(0x1a3)]();_0x488f8c=_0x575a87==null?void 0x0:_0x575a87[_0x5689de(0x1e2)]();}if(!_0x488f8c)return e[_0x5689de(0x1e7)][_0x5689de(0x1e4)];let _0x7ae12c=this['_collaborationController']['getCollabEntity'](_0x488f8c);return(_0x145109=_0x7ae12c==null?void 0x0:_0x7ae12c[_0x5689de(0x1ab)][_0x5689de(0x1c2)])==null?e['CollaborationStatus'][_0x5689de(0x1e4)]:_0x145109;}};l=c([s(0x1,(0x0,n[_0x5a985c(0x1db)])(n[_0x5a985c(0x1d9)])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x5a985c(0x1db)])(r['SnapshotService'])),s(0x4,(0x0,n['Inject'])(e[_0x5a985c(0x1b3)]))],l);var u=class extends t['FUniver']{['_initialize'](_0x52a70a){const _0x5814c7=_0x5a985c;let _0x30ff89=_0x52a70a[_0x5814c7(0x1b5)](e['CollaborationController']);this[_0x5814c7(0x1ce)](this[_0x5814c7(0x1d6)](this['Event']['CollaborationStatusChanged'],()=>{const _0x40e5e1=_0x5814c7;let _0x550400=new n[(_0x40e5e1(0x1d4))](),_0x36eba9=_0x30ff89[_0x40e5e1(0x1cc)][_0x40e5e1(0x1b8)](_0x5819c6=>{const _0x18a2d6=_0x40e5e1;let _0x3486ab=_0x5819c6[_0x18a2d6(0x1e0)][_0x18a2d6(0x1b8)](_0x8516e1=>{const _0x3a51f6=_0x18a2d6;let _0x4be3e8={'unitId':_0x5819c6['unitID'],'status':_0x8516e1};this['fireEvent'](this[_0x3a51f6(0x1e6)][_0x3a51f6(0x1da)],_0x4be3e8);});_0x550400['add']((0x0,n[_0x18a2d6(0x1b9)])(_0x3486ab));});return _0x550400[_0x40e5e1(0x1c6)]((0x0,n[_0x40e5e1(0x1b9)])(_0x36eba9)),_0x550400;}));}[_0x5a985c(0x1a7)](){const _0x542071=_0x5a985c;return this[_0x542071(0x1be)]['createInstance'](l,{'getWorkbook':_0x193e51=>this['getWorkbook'](_0x193e51),'getDocument':_0x4319d2=>this['getDocument'](_0x4319d2),'getPresentation':_0x4b6abc=>this[_0x542071(0x1d8)](_0x4b6abc),'getBase':_0x36f715=>this[_0x542071(0x1c9)](_0x36f715)});}['loadServerUnit'](_0x28f313,_0x17cae6,_0x266e95){const _0x3993db=_0x5a985c;return this[_0x3993db(0x1be)][_0x3993db(0x1b5)](e[_0x3993db(0x1e1)])[_0x3993db(0x1a0)](_0x28f313,_0x17cae6,_0x266e95);}[_0x5a985c(0x1b4)](_0x19cc22,_0x43bb4a,_0x29ff3c){const _0x25c0ee=_0x5a985c;return this['_injector']['get'](e['DataLoaderService'])[_0x25c0ee(0x1c3)](_0x19cc22,_0x43bb4a,_0x29ff3c);}};t[_0x5a985c(0x1cf)][_0x5a985c(0x1d7)](u),Object[_0x5a985c(0x1c8)](exports,_0x5a985c(0x1bd),{'enumerable':!0x0,'get':function(){return l;}});
|