@univerjs-pro/collaboration-client 0.12.2-experimental.20251201-5b27b55 → 0.12.2-experimental.20251202-45172c6

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 _0x33a2ba=_0x39e4;function _0x39e4(_0x3f5ed2,_0x1e3af5){const _0x177897=_0x1778();return _0x39e4=function(_0x39e458,_0x3eb0f9){_0x39e458=_0x39e458-0x10e;let _0x51deb7=_0x177897[_0x39e458];return _0x51deb7;},_0x39e4(_0x3f5ed2,_0x1e3af5);}(function(_0x2cc0b6,_0x3e7f82){const _0x47bdfa=_0x39e4,_0x599287=_0x2cc0b6();while(!![]){try{const _0xad394=parseInt(_0x47bdfa(0x137))/0x1*(parseInt(_0x47bdfa(0x12d))/0x2)+parseInt(_0x47bdfa(0x144))/0x3*(-parseInt(_0x47bdfa(0x13d))/0x4)+-parseInt(_0x47bdfa(0x10f))/0x5*(parseInt(_0x47bdfa(0x125))/0x6)+parseInt(_0x47bdfa(0x122))/0x7*(-parseInt(_0x47bdfa(0x12a))/0x8)+parseInt(_0x47bdfa(0x140))/0x9*(parseInt(_0x47bdfa(0x128))/0xa)+-parseInt(_0x47bdfa(0x130))/0xb*(-parseInt(_0x47bdfa(0x115))/0xc)+parseInt(_0x47bdfa(0x118))/0xd;if(_0xad394===_0x3e7f82)break;else _0x599287['push'](_0x599287['shift']());}catch(_0xd9743e){_0x599287['push'](_0x599287['shift']());}}}(_0x1778,0x99025));function _0x1778(){const _0xc1443a=['loadActiveSheetAsync','5192qYSbwl','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','loadServerUnitOfRevision','CollaborationStatus','loadUnit','members$','1JmMXqD','toDisposable','SnapshotService','FCollaboration','loadActiveSheet','getFocusedUnit','26276iNfAay','_injector','Module','9sctTJe','length','NOT_COLLAB','from','393LtywCr','_collaborationController','getCollaborationStatus','2049755LeNhWl','_snapshotService','createInstance','toStringTag','subscribe','loadSheet','1608nFTfzp','subscribeCollaborators','IUniverInstanceService','15947347NZcxDq','defineProperty','CollaborationController','FEnum','Injector','getUnitId','loadSheetAsync','FBase','_handler','getUniverSheet','3374opRYOb','DataLoaderService','get','6AcrrMp','status','state','6388130PEzNHn','waitForRoom$','18648pIGquI','_univerInstanceService','getCollaboration','2183954PdvoSh','pipe'];_0x1778=function(){return _0xc1443a;};return _0x1778();}Object[_0x33a2ba(0x119)](exports,Symbol[_0x33a2ba(0x112)],{'value':_0x33a2ba(0x13f)});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[_0x33a2ba(0x11b)]{get['CollaborationStatus'](){const _0xc6d60e=_0x33a2ba;return i[_0xc6d60e(0x134)];}}l[_0x33a2ba(0x11b)]['extend'](h);var d=Object['getOwnPropertyDescriptor'],S=(_0x15458e,_0x57dbdb,_0x3ad8f0,_0xbb3587)=>{const _0x118ea8=_0x33a2ba;for(var _0x1a3bdf=_0xbb3587>0x1?void 0x0:_0xbb3587?d(_0x57dbdb,_0x3ad8f0):_0x57dbdb,_0xf8026b=_0x15458e[_0x118ea8(0x141)]-0x1,_0x5bd6d6;_0xf8026b>=0x0;_0xf8026b--)(_0x5bd6d6=_0x15458e[_0xf8026b])&&(_0x1a3bdf=_0x5bd6d6(_0x1a3bdf)||_0x1a3bdf);return _0x1a3bdf;},c=(_0x3758b7,_0x2f0241)=>(_0x298dc5,_0x19d696)=>_0x2f0241(_0x298dc5,_0x19d696,_0x3758b7);exports[_0x33a2ba(0x13a)]=class extends l[_0x33a2ba(0x11f)]{constructor(_0x44fd2d,_0x3c98a5,_0x4f38d2,_0x305141,_0x4063f3){const _0x47a57b=_0x33a2ba;super(),this[_0x47a57b(0x120)]=_0x44fd2d,this['_injector']=_0x3c98a5,this[_0x47a57b(0x12b)]=_0x4f38d2,this[_0x47a57b(0x110)]=_0x305141,this['_collaborationController']=_0x4063f3;}async[_0x33a2ba(0x13b)](){const _0x14ed11=_0x33a2ba;return this[_0x14ed11(0x12f)]();}async[_0x33a2ba(0x12f)](){const _0x106ccb=_0x33a2ba;throw new Error(_0x106ccb(0x132));}async[_0x33a2ba(0x114)](_0x3f1094){const _0x47edd6=_0x33a2ba;return this[_0x47edd6(0x11e)](_0x3f1094);}async[_0x33a2ba(0x11e)](_0x38bee1,_0x13db53){const _0x351677=_0x33a2ba;return await this[_0x351677(0x110)][_0x351677(0x114)](_0x38bee1,0x0,_0x13db53)?(await this[_0x351677(0x145)]['readyForCollab'](_0x38bee1),this[_0x351677(0x120)][_0x351677(0x121)](_0x38bee1)):null;}[_0x33a2ba(0x116)](_0x59007d,_0x33625f){const _0x466a0b=_0x33a2ba,_0x53a3d2=this[_0x466a0b(0x13e)][_0x466a0b(0x124)](i['MemberService'])[_0x466a0b(0x129)](_0x59007d)[_0x466a0b(0x12e)](b['switchMap'](_0x1ad8aa=>_0x1ad8aa[_0x466a0b(0x136)]))[_0x466a0b(0x113)](_0x3e47e5=>_0x33625f(Array[_0x466a0b(0x143)](_0x3e47e5['values']())));return s[_0x466a0b(0x138)](_0x53a3d2);}[_0x33a2ba(0x10e)](){const _0x13fea4=_0x33a2ba,_0x59543=this['_univerInstanceService'][_0x13fea4(0x13c)]();if(!_0x59543)return i['CollaborationStatus']['NOT_COLLAB'];const _0x4c662a=this[_0x13fea4(0x145)]['getCollabEntity'](_0x59543[_0x13fea4(0x11d)]());return _0x4c662a?_0x4c662a[_0x13fea4(0x127)][_0x13fea4(0x126)]:i[_0x13fea4(0x134)][_0x13fea4(0x142)];}},exports[_0x33a2ba(0x13a)]=S([c(0x1,s['Inject'](s[_0x33a2ba(0x11c)])),c(0x2,s[_0x33a2ba(0x117)]),c(0x3,s[_0x33a2ba(0x131)](v[_0x33a2ba(0x139)])),c(0x4,s[_0x33a2ba(0x131)](i[_0x33a2ba(0x11a)]))],exports[_0x33a2ba(0x13a)]);class C extends l['FUniver']{[_0x33a2ba(0x12c)](){const _0x21ad90=_0x33a2ba;return this[_0x21ad90(0x13e)][_0x21ad90(0x111)](exports['FCollaboration'],{'getUniverSheet':_0xf65eb5=>this[_0x21ad90(0x121)](_0xf65eb5)});}['loadServerUnit'](_0xac5a28,_0x19aded,_0x24ce3d){const _0x598089=_0x33a2ba;return this[_0x598089(0x13e)][_0x598089(0x124)](i[_0x598089(0x123)])[_0x598089(0x135)](_0xac5a28,_0x19aded,_0x24ce3d);}[_0x33a2ba(0x133)](_0x1e1298,_0x137baf,_0x524a31){const _0x972728=_0x33a2ba;return this[_0x972728(0x13e)][_0x972728(0x124)](i[_0x972728(0x123)])['loadUnitOfRevision'](_0x1e1298,_0x137baf,_0x524a31);}}l['FUniver']['extend'](C);
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);