@univerjs-pro/collaboration-client 0.12.2-nightly.202511290905 → 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.
Files changed (54) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +15 -0
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +12 -12
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x332c9b=_0x3c56;(function(_0x42c53a,_0x272ad4){const _0x3870b5=_0x3c56,_0x2dfe8f=_0x42c53a();while(!![]){try{const _0xf44dbe=-parseInt(_0x3870b5(0xad))/0x1+parseInt(_0x3870b5(0xb8))/0x2+parseInt(_0x3870b5(0xa6))/0x3*(-parseInt(_0x3870b5(0xa5))/0x4)+parseInt(_0x3870b5(0xb2))/0x5*(-parseInt(_0x3870b5(0xcd))/0x6)+parseInt(_0x3870b5(0xce))/0x7*(-parseInt(_0x3870b5(0xb5))/0x8)+parseInt(_0x3870b5(0xbe))/0x9*(-parseInt(_0x3870b5(0xac))/0xa)+-parseInt(_0x3870b5(0xca))/0xb*(-parseInt(_0x3870b5(0xa8))/0xc);if(_0xf44dbe===_0x272ad4)break;else _0x2dfe8f['push'](_0x2dfe8f['shift']());}catch(_0x5d3d6c){_0x2dfe8f['push'](_0x2dfe8f['shift']());}}}(_0x29a7,0x6b46a));Object['defineProperty'](exports,Symbol[_0x332c9b(0xb3)],{'value':'Module'});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[_0x332c9b(0xbd)]{get[_0x332c9b(0xba)](){const _0x150f36=_0x332c9b;return i[_0x150f36(0xba)];}}function _0x29a7(){const _0x552b29=['CollaborationStatus','_injector','Injector','FEnum','9YhpLxe','loadUnitOfRevision','FBase','loadServerUnitOfRevision','_snapshotService','subscribeCollaborators','FUniver','_univerInstanceService','DataLoaderService','getFocusedUnit','toDisposable','extend','11DxNKzv','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','switchMap','6qBXTfk','7ligFPJ','length','getCollaboration','_handler','createInstance','status','subscribe','SnapshotService','loadActiveSheetAsync','NOT_COLLAB','loadSheetAsync','loadServerUnit','values','4wioHtt','35955veYBpW','from','12657972MqicoI','getUnitId','loadUnit','_collaborationController','12350SVDsAC','256818zxgymf','readyForCollab','getUniverSheet','Inject','CollaborationController','3008235qhRSbL','toStringTag','loadSheet','2439400uQWyDf','FCollaboration','get','1122362fjbofa','MemberService'];_0x29a7=function(){return _0x552b29;};return _0x29a7();}l[_0x332c9b(0xbd)][_0x332c9b(0xc9)](h);var d=Object['getOwnPropertyDescriptor'],S=(_0x4336f7,_0x2352cc,_0x61afa3,_0x363938)=>{const _0x982327=_0x332c9b;for(var _0x47b6ab=_0x363938>0x1?void 0x0:_0x363938?d(_0x2352cc,_0x61afa3):_0x2352cc,_0x39faac=_0x4336f7[_0x982327(0xcf)]-0x1,_0x233431;_0x39faac>=0x0;_0x39faac--)(_0x233431=_0x4336f7[_0x39faac])&&(_0x47b6ab=_0x233431(_0x47b6ab)||_0x47b6ab);return _0x47b6ab;},c=(_0x46e385,_0x1f769b)=>(_0x286296,_0x16a49e)=>_0x1f769b(_0x286296,_0x16a49e,_0x46e385);exports['FCollaboration']=class extends l[_0x332c9b(0xc0)]{constructor(_0x3eb160,_0x3af4f9,_0x14c820,_0x1c8af5,_0x47d592){const _0x44b0a3=_0x332c9b;super(),this[_0x44b0a3(0xd1)]=_0x3eb160,this[_0x44b0a3(0xbb)]=_0x3af4f9,this[_0x44b0a3(0xc5)]=_0x14c820,this[_0x44b0a3(0xc2)]=_0x1c8af5,this[_0x44b0a3(0xab)]=_0x47d592;}async['loadActiveSheet'](){return this['loadActiveSheetAsync']();}async[_0x332c9b(0xa0)](){const _0xeb415e=_0x332c9b;throw new Error(_0xeb415e(0xcb));}async[_0x332c9b(0xb4)](_0x4766bf){const _0x9384f2=_0x332c9b;return this[_0x9384f2(0xa2)](_0x4766bf);}async[_0x332c9b(0xa2)](_0x122ef6,_0xf77e9f){const _0x47f738=_0x332c9b;return await this['_snapshotService']['loadSheet'](_0x122ef6,0x0,_0xf77e9f)?(await this[_0x47f738(0xab)][_0x47f738(0xae)](_0x122ef6),this[_0x47f738(0xd1)][_0x47f738(0xaf)](_0x122ef6)):null;}[_0x332c9b(0xc3)](_0x2a62ab,_0x300b33){const _0x442052=_0x332c9b,_0x4c43b0=this['_injector'][_0x442052(0xb7)](i[_0x442052(0xb9)])['waitForRoom$'](_0x2a62ab)['pipe'](b[_0x442052(0xcc)](_0x33eff0=>_0x33eff0['members$']))[_0x442052(0x9e)](_0x426f58=>_0x300b33(Array[_0x442052(0xa7)](_0x426f58[_0x442052(0xa4)]())));return s[_0x442052(0xc8)](_0x4c43b0);}['getCollaborationStatus'](){const _0x36ac91=_0x332c9b,_0x2902a4=this['_univerInstanceService'][_0x36ac91(0xc7)]();if(!_0x2902a4)return i[_0x36ac91(0xba)]['NOT_COLLAB'];const _0x221aa0=this[_0x36ac91(0xab)]['getCollabEntity'](_0x2902a4[_0x36ac91(0xa9)]());return _0x221aa0?_0x221aa0['state'][_0x36ac91(0xd3)]:i[_0x36ac91(0xba)][_0x36ac91(0xa1)];}},exports['FCollaboration']=S([c(0x1,s['Inject'](s[_0x332c9b(0xbc)])),c(0x2,s['IUniverInstanceService']),c(0x3,s[_0x332c9b(0xb0)](v[_0x332c9b(0x9f)])),c(0x4,s[_0x332c9b(0xb0)](i[_0x332c9b(0xb1)]))],exports[_0x332c9b(0xb6)]);class C extends l[_0x332c9b(0xc4)]{[_0x332c9b(0xd0)](){const _0x14b210=_0x332c9b;return this[_0x14b210(0xbb)][_0x14b210(0xd2)](exports['FCollaboration'],{'getUniverSheet':_0x1efa29=>this[_0x14b210(0xaf)](_0x1efa29)});}[_0x332c9b(0xa3)](_0xe0910a,_0x4e88e7,_0x2c96b6){const _0x2ef6a1=_0x332c9b;return this['_injector'][_0x2ef6a1(0xb7)](i[_0x2ef6a1(0xc6)])[_0x2ef6a1(0xaa)](_0xe0910a,_0x4e88e7,_0x2c96b6);}[_0x332c9b(0xc1)](_0x38880c,_0x5b6dee,_0x1dfd42){const _0x38f7d6=_0x332c9b;return this[_0x38f7d6(0xbb)]['get'](i['DataLoaderService'])[_0x38f7d6(0xbf)](_0x38880c,_0x5b6dee,_0x1dfd42);}}function _0x3c56(_0x45bfba,_0x5556fb){const _0x29a718=_0x29a7();return _0x3c56=function(_0x3c5625,_0x2c3e19){_0x3c5625=_0x3c5625-0x9e;let _0x1fa7a3=_0x29a718[_0x3c5625];return _0x1fa7a3;},_0x3c56(_0x45bfba,_0x5556fb);}l[_0x332c9b(0xc4)][_0x332c9b(0xc9)](C);
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);