@univerjs-pro/collaboration-client 0.12.2-experimental.20251202-45172c6 → 0.12.2-experimental.20251202-7f1a98f

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';function _0x51dc(_0x2bba36,_0x187f97){const _0x12bb59=_0x12bb();return _0x51dc=function(_0x51dc76,_0x2e4cdd){_0x51dc76=_0x51dc76-0x155;let _0x3b22c0=_0x12bb59[_0x51dc76];return _0x3b22c0;},_0x51dc(_0x2bba36,_0x187f97);}const _0x3ecd16=_0x51dc;(function(_0x33b9ff,_0x2ee8c0){const _0x1f557a=_0x51dc,_0x14e686=_0x33b9ff();while(!![]){try{const _0x346de1=parseInt(_0x1f557a(0x156))/0x1*(parseInt(_0x1f557a(0x17c))/0x2)+-parseInt(_0x1f557a(0x16b))/0x3*(-parseInt(_0x1f557a(0x17e))/0x4)+-parseInt(_0x1f557a(0x17b))/0x5+-parseInt(_0x1f557a(0x164))/0x6*(parseInt(_0x1f557a(0x15d))/0x7)+-parseInt(_0x1f557a(0x191))/0x8*(-parseInt(_0x1f557a(0x187))/0x9)+parseInt(_0x1f557a(0x178))/0xa*(parseInt(_0x1f557a(0x165))/0xb)+-parseInt(_0x1f557a(0x189))/0xc;if(_0x346de1===_0x2ee8c0)break;else _0x14e686['push'](_0x14e686['shift']());}catch(_0x41d695){_0x14e686['push'](_0x14e686['shift']());}}}(_0x12bb,0xd5ee9));Object[_0x3ecd16(0x17f)](exports,Symbol[_0x3ecd16(0x17a)],{'value':_0x3ecd16(0x167)});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[_0x3ecd16(0x181)]{get[_0x3ecd16(0x158)](){const _0x3f377e=_0x3ecd16;return i[_0x3f377e(0x158)];}}l[_0x3ecd16(0x181)][_0x3ecd16(0x18c)](h);var d=Object[_0x3ecd16(0x183)],S=(_0x3518da,_0x5d75a9,_0x46d19b,_0x172cc2)=>{const _0x3dcdcb=_0x3ecd16;for(var _0x2cddb7=_0x172cc2>0x1?void 0x0:_0x172cc2?d(_0x5d75a9,_0x46d19b):_0x5d75a9,_0x3fbe09=_0x3518da[_0x3dcdcb(0x190)]-0x1,_0xb8e573;_0x3fbe09>=0x0;_0x3fbe09--)(_0xb8e573=_0x3518da[_0x3fbe09])&&(_0x2cddb7=_0xb8e573(_0x2cddb7)||_0x2cddb7);return _0x2cddb7;},c=(_0x2162d3,_0x327490)=>(_0x40115a,_0x4cf819)=>_0x327490(_0x40115a,_0x4cf819,_0x2162d3);exports[_0x3ecd16(0x161)]=class extends l[_0x3ecd16(0x184)]{constructor(_0x3b5a4e,_0x2cb732,_0x328698,_0x368d96,_0xfbe65f){const _0x1d6710=_0x3ecd16;super(),this['_handler']=_0x3b5a4e,this[_0x1d6710(0x173)]=_0x2cb732,this[_0x1d6710(0x15f)]=_0x328698,this[_0x1d6710(0x18f)]=_0x368d96,this[_0x1d6710(0x18d)]=_0xfbe65f;}async[_0x3ecd16(0x16f)](){return this['loadActiveSheetAsync']();}async[_0x3ecd16(0x180)](){const _0x5b98c5=_0x3ecd16;throw new Error(_0x5b98c5(0x185));}async[_0x3ecd16(0x18b)](_0x2e6fde){const _0x219d50=_0x3ecd16;return this[_0x219d50(0x157)](_0x2e6fde);}async[_0x3ecd16(0x157)](_0x12623e,_0x13e5e3){const _0x37c648=_0x3ecd16;return await this['_snapshotService'][_0x37c648(0x18b)](_0x12623e,0x0,_0x13e5e3)?(await this['_collaborationController'][_0x37c648(0x177)](_0x12623e),this[_0x37c648(0x182)]['getUniverSheet'](_0x12623e)):null;}[_0x3ecd16(0x16c)](_0x4ff9a3,_0x229afe){const _0x54c5d8=_0x3ecd16,_0xe5d86e=this[_0x54c5d8(0x173)][_0x54c5d8(0x163)](i[_0x54c5d8(0x16d)])[_0x54c5d8(0x159)](_0x4ff9a3)[_0x54c5d8(0x17d)](b[_0x54c5d8(0x18a)](_0x1e5d81=>_0x1e5d81[_0x54c5d8(0x162)]))[_0x54c5d8(0x170)](_0x3f5c04=>_0x229afe(Array[_0x54c5d8(0x166)](_0x3f5c04[_0x54c5d8(0x15c)]())));return s[_0x54c5d8(0x186)](_0xe5d86e);}[_0x3ecd16(0x171)](){const _0x49ffee=_0x3ecd16,_0x41064c=this[_0x49ffee(0x15f)][_0x49ffee(0x175)]();if(!_0x41064c)return i[_0x49ffee(0x158)]['NOT_COLLAB'];const _0x249c17=this[_0x49ffee(0x18d)][_0x49ffee(0x188)](_0x41064c[_0x49ffee(0x176)]());return _0x249c17?_0x249c17[_0x49ffee(0x160)][_0x49ffee(0x16e)]:i[_0x49ffee(0x158)][_0x49ffee(0x15e)];}},exports[_0x3ecd16(0x161)]=S([c(0x1,s['Inject'](s[_0x3ecd16(0x168)])),c(0x2,s[_0x3ecd16(0x18e)]),c(0x3,s['Inject'](v[_0x3ecd16(0x155)])),c(0x4,s['Inject'](i['CollaborationController']))],exports[_0x3ecd16(0x161)]);class C extends l[_0x3ecd16(0x172)]{[_0x3ecd16(0x179)](){const _0x469dd3=_0x3ecd16;return this[_0x469dd3(0x173)][_0x469dd3(0x169)](exports['FCollaboration'],{'getUniverSheet':_0x15398a=>this[_0x469dd3(0x15a)](_0x15398a)});}[_0x3ecd16(0x174)](_0x2ca679,_0x43678b,_0x33f1ad){const _0xd2c55c=_0x3ecd16;return this[_0xd2c55c(0x173)][_0xd2c55c(0x163)](i['DataLoaderService'])['loadUnit'](_0x2ca679,_0x43678b,_0x33f1ad);}['loadServerUnitOfRevision'](_0x25793c,_0x523ad8,_0x4acbd8){const _0x4ad2a9=_0x3ecd16;return this[_0x4ad2a9(0x173)][_0x4ad2a9(0x163)](i[_0x4ad2a9(0x15b)])[_0x4ad2a9(0x16a)](_0x25793c,_0x523ad8,_0x4acbd8);}}function _0x12bb(){const _0x476df1=['createInstance','loadUnitOfRevision','342DjEHDx','subscribeCollaborators','MemberService','status','loadActiveSheet','subscribe','getCollaborationStatus','FUniver','_injector','loadServerUnit','getFocusedUnit','getUnitId','readyForCollab','12230kvUJbW','getCollaboration','toStringTag','1969560sbUKnQ','22mxxMvb','pipe','43572pfdOWk','defineProperty','loadActiveSheetAsync','FEnum','_handler','getOwnPropertyDescriptor','FBase','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','toDisposable','36uomKqj','getCollabEntity','17696676ENuzjz','switchMap','loadSheet','extend','_collaborationController','IUniverInstanceService','_snapshotService','length','1098160rqZNiZ','SnapshotService','136209iPTzFl','loadSheetAsync','CollaborationStatus','waitForRoom$','getUniverSheet','DataLoaderService','values','7HyhLSX','NOT_COLLAB','_univerInstanceService','state','FCollaboration','members$','get','7242882pYWdYc','5962WHwTXx','from','Module','Injector'];_0x12bb=function(){return _0x476df1;};return _0x12bb();}l[_0x3ecd16(0x172)][_0x3ecd16(0x18c)](C);
1
+ 'use strict';function _0x16c5(_0x295136,_0x57ad24){const _0x2e98a4=_0x2e98();return _0x16c5=function(_0x16c5d7,_0x268af4){_0x16c5d7=_0x16c5d7-0x17b;let _0x2dd964=_0x2e98a4[_0x16c5d7];return _0x2dd964;},_0x16c5(_0x295136,_0x57ad24);}const _0x1a39a5=_0x16c5;function _0x2e98(){const _0xb7090a=['values','5406595qObEdi','defineProperty','DataLoaderService','Inject','loadSheetAsync','54qPlvoo','loadUnitOfRevision','loadActiveSheetAsync','IUniverInstanceService','get','toDisposable','getCollaborationStatus','pipe','createInstance','CollaborationStatus','CollaborationController','1077410XWTFVI','MemberService','244DqDScj','SnapshotService','state','from','subscribe','58362XOIWxS','FUniver','_univerInstanceService','getCollaboration','8oHdmek','2769114cXCPtb','_handler','toStringTag','subscribeCollaborators','_collaborationController','FEnum','1772603MHklxS','793004gsIDFB','_snapshotService','loadSheet','1046830uHcsIf','length','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','NOT_COLLAB','waitForRoom$','extend','getUniverSheet','getOwnPropertyDescriptor','_injector','loadServerUnitOfRevision','getUnitId','loadServerUnit','status','switchMap','loadActiveSheet','loadUnit','FCollaboration'];_0x2e98=function(){return _0xb7090a;};return _0x2e98();}(function(_0x49d3f2,_0x3f9f4e){const _0x2fe2c2=_0x16c5,_0x56b07c=_0x49d3f2();while(!![]){try{const _0x54e379=-parseInt(_0x2fe2c2(0x18b))/0x1+parseInt(_0x2fe2c2(0x1b0))/0x2+parseInt(_0x2fe2c2(0x17f))/0x3*(parseInt(_0x2fe2c2(0x1b2))/0x4)+parseInt(_0x2fe2c2(0x1a0))/0x5+-parseInt(_0x2fe2c2(0x184))/0x6+parseInt(_0x2fe2c2(0x18a))/0x7*(-parseInt(_0x2fe2c2(0x183))/0x8)+-parseInt(_0x2fe2c2(0x1a5))/0x9*(parseInt(_0x2fe2c2(0x18e))/0xa);if(_0x54e379===_0x3f9f4e)break;else _0x56b07c['push'](_0x56b07c['shift']());}catch(_0x52caed){_0x56b07c['push'](_0x56b07c['shift']());}}}(_0x2e98,0xa3c94));Object[_0x1a39a5(0x1a1)](exports,Symbol[_0x1a39a5(0x186)],{'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[_0x1a39a5(0x189)]{get[_0x1a39a5(0x1ae)](){const _0x2ca431=_0x1a39a5;return i[_0x2ca431(0x1ae)];}}l['FEnum']['extend'](h);var d=Object[_0x1a39a5(0x195)],S=(_0x29f08b,_0x12a5ae,_0x4e563b,_0x40d9a3)=>{const _0x2c7da3=_0x1a39a5;for(var _0x42712f=_0x40d9a3>0x1?void 0x0:_0x40d9a3?d(_0x12a5ae,_0x4e563b):_0x12a5ae,_0x1297de=_0x29f08b[_0x2c7da3(0x18f)]-0x1,_0x307d11;_0x1297de>=0x0;_0x1297de--)(_0x307d11=_0x29f08b[_0x1297de])&&(_0x42712f=_0x307d11(_0x42712f)||_0x42712f);return _0x42712f;},c=(_0x421787,_0x4050c7)=>(_0x2e0c0b,_0x105d2a)=>_0x4050c7(_0x2e0c0b,_0x105d2a,_0x421787);exports[_0x1a39a5(0x19e)]=class extends l['FBase']{constructor(_0x146323,_0x549578,_0x4937a6,_0x2984a5,_0x468fc5){const _0x3b2283=_0x1a39a5;super(),this[_0x3b2283(0x185)]=_0x146323,this[_0x3b2283(0x196)]=_0x549578,this[_0x3b2283(0x181)]=_0x4937a6,this[_0x3b2283(0x18c)]=_0x2984a5,this[_0x3b2283(0x188)]=_0x468fc5;}async[_0x1a39a5(0x19c)](){const _0x1f0d66=_0x1a39a5;return this[_0x1f0d66(0x1a7)]();}async[_0x1a39a5(0x1a7)](){const _0x442dee=_0x1a39a5;throw new Error(_0x442dee(0x190));}async[_0x1a39a5(0x18d)](_0x2f83b0){const _0x4e1234=_0x1a39a5;return this[_0x4e1234(0x1a4)](_0x2f83b0);}async[_0x1a39a5(0x1a4)](_0x584417,_0x16c518){const _0x3188e5=_0x1a39a5;return await this[_0x3188e5(0x18c)][_0x3188e5(0x18d)](_0x584417,0x0,_0x16c518)?(await this[_0x3188e5(0x188)]['readyForCollab'](_0x584417),this['_handler']['getUniverSheet'](_0x584417)):null;}[_0x1a39a5(0x187)](_0x2f6a0d,_0x4bdeb9){const _0x6d3811=_0x1a39a5,_0x57c9d9=this[_0x6d3811(0x196)]['get'](i[_0x6d3811(0x1b1)])[_0x6d3811(0x192)](_0x2f6a0d)[_0x6d3811(0x1ac)](b[_0x6d3811(0x19b)](_0x419f55=>_0x419f55['members$']))[_0x6d3811(0x17e)](_0x24a491=>_0x4bdeb9(Array[_0x6d3811(0x17d)](_0x24a491[_0x6d3811(0x19f)]())));return s[_0x6d3811(0x1aa)](_0x57c9d9);}[_0x1a39a5(0x1ab)](){const _0x3ed787=_0x1a39a5,_0x1dfedb=this[_0x3ed787(0x181)]['getFocusedUnit']();if(!_0x1dfedb)return i['CollaborationStatus'][_0x3ed787(0x191)];const _0x13d8f5=this[_0x3ed787(0x188)]['getCollabEntity'](_0x1dfedb[_0x3ed787(0x198)]());return _0x13d8f5?_0x13d8f5[_0x3ed787(0x17c)][_0x3ed787(0x19a)]:i[_0x3ed787(0x1ae)][_0x3ed787(0x191)];}},exports[_0x1a39a5(0x19e)]=S([c(0x1,s['Inject'](s['Injector'])),c(0x2,s[_0x1a39a5(0x1a8)]),c(0x3,s['Inject'](v[_0x1a39a5(0x17b)])),c(0x4,s[_0x1a39a5(0x1a3)](i[_0x1a39a5(0x1af)]))],exports[_0x1a39a5(0x19e)]);class C extends l[_0x1a39a5(0x180)]{[_0x1a39a5(0x182)](){const _0x11b543=_0x1a39a5;return this[_0x11b543(0x196)][_0x11b543(0x1ad)](exports[_0x11b543(0x19e)],{'getUniverSheet':_0x8bbf4=>this[_0x11b543(0x194)](_0x8bbf4)});}[_0x1a39a5(0x199)](_0x91ccaf,_0x40508b,_0x27fffd){const _0x10187c=_0x1a39a5;return this[_0x10187c(0x196)][_0x10187c(0x1a9)](i[_0x10187c(0x1a2)])[_0x10187c(0x19d)](_0x91ccaf,_0x40508b,_0x27fffd);}[_0x1a39a5(0x197)](_0x2d0166,_0x3ab756,_0x2fb423){const _0x583eac=_0x1a39a5;return this[_0x583eac(0x196)][_0x583eac(0x1a9)](i[_0x583eac(0x1a2)])[_0x583eac(0x1a6)](_0x2d0166,_0x3ab756,_0x2fb423);}}l[_0x1a39a5(0x180)][_0x1a39a5(0x193)](C);