@univerjs-pro/collaboration-client 0.12.3-experimental.20251204-1549a8e → 0.12.3-experimental.20251205-e439e48

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 (53) 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/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +9 -9
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
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);
1
+ 'use strict';const _0x4bc031=_0x21a3;(function(_0x2858d0,_0x23e780){const _0x1b6064=_0x21a3,_0x1c9cd6=_0x2858d0();while(!![]){try{const _0x4dbdbb=parseInt(_0x1b6064(0x1a8))/0x1+parseInt(_0x1b6064(0x1cf))/0x2+-parseInt(_0x1b6064(0x1c5))/0x3*(-parseInt(_0x1b6064(0x1ab))/0x4)+parseInt(_0x1b6064(0x1cc))/0x5+-parseInt(_0x1b6064(0x1ae))/0x6+parseInt(_0x1b6064(0x1b1))/0x7+-parseInt(_0x1b6064(0x1aa))/0x8;if(_0x4dbdbb===_0x23e780)break;else _0x1c9cd6['push'](_0x1c9cd6['shift']());}catch(_0x55c091){_0x1c9cd6['push'](_0x1c9cd6['shift']());}}}(_0x1d21,0x77432));function _0x21a3(_0x484db5,_0x44f7ae){_0x484db5=_0x484db5-0x1a6;const _0x1d21a9=_0x1d21();let _0x21a385=_0x1d21a9[_0x484db5];return _0x21a385;}Object[_0x4bc031(0x1c9)](exports,Symbol['toStringTag'],{'value':_0x4bc031(0x1ce)});const i=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),v=require('@univerjs-pro/collaboration'),s=require('@univerjs/core'),b=require('rxjs');function _0x1d21(){const _0x477fd0=['1521944YWGhEZ','60MrvdmY','MemberService','loadActiveSheet','4978158QKBims','getCollaboration','status','1888299ArTajA','getUniverSheet','SnapshotService','get','_collaborationController','getCollaborationStatus','_injector','FBase','switchMap','extend','values','toDisposable','_handler','members$','NOT_COLLAB','loadSheet','waitForRoom$','IUniverInstanceService','Injector','getCollabEntity','168897ArgvJc','readyForCollab','_univerInstanceService','loadServerUnitOfRevision','defineProperty','getUnitId','CollaborationStatus','567150UsdyLG','pipe','Module','236696HnnRBN','loadActiveSheetAsync','getOwnPropertyDescriptor','_snapshotService','CollaborationController','getFocusedUnit','DataLoaderService','FUniver','loadServerUnit','loadUnitOfRevision','FEnum','subscribe','FCollaboration','loadSheetAsync','subscribeCollaborators','162414OCLeXw','loadUnit'];_0x1d21=function(){return _0x477fd0;};return _0x1d21();}class h extends l['FEnum']{get[_0x4bc031(0x1cb)](){return i['CollaborationStatus'];}}l[_0x4bc031(0x1d9)][_0x4bc031(0x1ba)](h);var d=Object[_0x4bc031(0x1d1)],S=(_0x56497b,_0x2afc61,_0x51b10c,_0x51ab5f)=>{for(var _0x599a8d=_0x51ab5f>0x1?void 0x0:_0x51ab5f?d(_0x2afc61,_0x51b10c):_0x2afc61,_0x4cc09b=_0x56497b['length']-0x1,_0x23f805;_0x4cc09b>=0x0;_0x4cc09b--)(_0x23f805=_0x56497b[_0x4cc09b])&&(_0x599a8d=_0x23f805(_0x599a8d)||_0x599a8d);return _0x599a8d;},c=(_0x186051,_0x551c56)=>(_0x167cb4,_0xacdee9)=>_0x551c56(_0x167cb4,_0xacdee9,_0x186051);exports[_0x4bc031(0x1db)]=class extends l[_0x4bc031(0x1b8)]{constructor(_0x2b7b96,_0x37a2b0,_0x8308d4,_0x2620f6,_0x59b0a1){const _0x57558f=_0x4bc031;super(),this['_handler']=_0x2b7b96,this['_injector']=_0x37a2b0,this[_0x57558f(0x1c7)]=_0x8308d4,this[_0x57558f(0x1d2)]=_0x2620f6,this[_0x57558f(0x1b5)]=_0x59b0a1;}async[_0x4bc031(0x1ad)](){const _0x8b6a6e=_0x4bc031;return this[_0x8b6a6e(0x1d0)]();}async['loadActiveSheetAsync'](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x4bc031(0x1c0)](_0x1ac7bd){const _0x1f0bf1=_0x4bc031;return this[_0x1f0bf1(0x1a6)](_0x1ac7bd);}async[_0x4bc031(0x1a6)](_0x55b1b1,_0x52dfb1){const _0x16057e=_0x4bc031;return await this[_0x16057e(0x1d2)][_0x16057e(0x1c0)](_0x55b1b1,0x0,_0x52dfb1)?(await this[_0x16057e(0x1b5)][_0x16057e(0x1c6)](_0x55b1b1),this[_0x16057e(0x1bd)][_0x16057e(0x1b2)](_0x55b1b1)):null;}[_0x4bc031(0x1a7)](_0x59b0e9,_0x576c1f){const _0x487e04=_0x4bc031,_0x3fd11a=this[_0x487e04(0x1b7)][_0x487e04(0x1b4)](i[_0x487e04(0x1ac)])[_0x487e04(0x1c1)](_0x59b0e9)[_0x487e04(0x1cd)](b[_0x487e04(0x1b9)](_0x45799b=>_0x45799b[_0x487e04(0x1be)]))[_0x487e04(0x1da)](_0x402c1b=>_0x576c1f(Array['from'](_0x402c1b[_0x487e04(0x1bb)]())));return s[_0x487e04(0x1bc)](_0x3fd11a);}[_0x4bc031(0x1b6)](){const _0x471fe3=_0x4bc031,_0x17e28b=this[_0x471fe3(0x1c7)][_0x471fe3(0x1d4)]();if(!_0x17e28b)return i[_0x471fe3(0x1cb)][_0x471fe3(0x1bf)];const _0x294910=this[_0x471fe3(0x1b5)][_0x471fe3(0x1c4)](_0x17e28b[_0x471fe3(0x1ca)]());return _0x294910?_0x294910['state'][_0x471fe3(0x1b0)]:i['CollaborationStatus'][_0x471fe3(0x1bf)];}},exports[_0x4bc031(0x1db)]=S([c(0x1,s['Inject'](s[_0x4bc031(0x1c3)])),c(0x2,s[_0x4bc031(0x1c2)]),c(0x3,s['Inject'](v[_0x4bc031(0x1b3)])),c(0x4,s['Inject'](i[_0x4bc031(0x1d3)]))],exports[_0x4bc031(0x1db)]);class C extends l[_0x4bc031(0x1d6)]{[_0x4bc031(0x1af)](){const _0x390f90=_0x4bc031;return this[_0x390f90(0x1b7)]['createInstance'](exports[_0x390f90(0x1db)],{'getUniverSheet':_0x2f113e=>this[_0x390f90(0x1b2)](_0x2f113e)});}[_0x4bc031(0x1d7)](_0xf3eec5,_0x4b21c7,_0x459478){const _0x46e93d=_0x4bc031;return this[_0x46e93d(0x1b7)]['get'](i[_0x46e93d(0x1d5)])[_0x46e93d(0x1a9)](_0xf3eec5,_0x4b21c7,_0x459478);}[_0x4bc031(0x1c8)](_0x1e1d54,_0x2801e0,_0xfe83a3){const _0x26bc19=_0x4bc031;return this[_0x26bc19(0x1b7)][_0x26bc19(0x1b4)](i[_0x26bc19(0x1d5)])[_0x26bc19(0x1d8)](_0x1e1d54,_0x2801e0,_0xfe83a3);}}l[_0x4bc031(0x1d6)]['extend'](C);