@univerjs-pro/collaboration-client 0.10.10 → 0.10.11

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 (51) 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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +5 -4
  38. package/lib/types/controllers/config.schema.d.ts +12 -0
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +13 -13
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0xfd7c5c=_0xaa50;(function(_0x5b0e95,_0x1cbb22){var _0x1af7b2=_0xaa50,_0x5c1564=_0x5b0e95();while(!![]){try{var _0x488085=-parseInt(_0x1af7b2(0xd6))/0x1*(-parseInt(_0x1af7b2(0xd0))/0x2)+parseInt(_0x1af7b2(0xbd))/0x3+-parseInt(_0x1af7b2(0xd7))/0x4+-parseInt(_0x1af7b2(0xdd))/0x5+parseInt(_0x1af7b2(0xcf))/0x6*(-parseInt(_0x1af7b2(0xc1))/0x7)+-parseInt(_0x1af7b2(0xbc))/0x8*(-parseInt(_0x1af7b2(0xbf))/0x9)+parseInt(_0x1af7b2(0xc2))/0xa*(parseInt(_0x1af7b2(0xe0))/0xb);if(_0x488085===_0x1cbb22)break;else _0x5c1564['push'](_0x5c1564['shift']());}catch(_0x2b37d1){_0x5c1564['push'](_0x5c1564['shift']());}}}(_0x49b3,0xc10da));Object[_0xfd7c5c(0xc5)](exports,Symbol['toStringTag'],{'value':_0xfd7c5c(0xc6)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0xfd7c5c(0xdf)],S=(_0x1473f2,_0x211fb8,_0x3b1deb,_0x2ff11d)=>{for(var _0x3fa8c0=_0x2ff11d>0x1?void 0x0:_0x2ff11d?d(_0x211fb8,_0x3b1deb):_0x211fb8,_0x2303e2=_0x1473f2['length']-0x1,_0x17a972;_0x2303e2>=0x0;_0x2303e2--)(_0x17a972=_0x1473f2[_0x2303e2])&&(_0x3fa8c0=_0x17a972(_0x3fa8c0)||_0x3fa8c0);return _0x3fa8c0;},s=(_0x2b2dc3,_0x5deed9)=>(_0x21e074,_0xa94d18)=>_0x5deed9(_0x21e074,_0xa94d18,_0x2b2dc3);function _0xaa50(_0x5628db,_0x3bf793){var _0x49b38d=_0x49b3();return _0xaa50=function(_0xaa5037,_0x3894fd){_0xaa5037=_0xaa5037-0xbb;var _0x135630=_0x49b38d[_0xaa5037];return _0x135630;},_0xaa50(_0x5628db,_0x3bf793);}exports[_0xfd7c5c(0xe3)]=class extends l['FBase']{constructor(_0x5530c0,_0x46fb27,_0x3b8930,_0x4f0ac6,_0x49bc14){var _0x203cfa=_0xfd7c5c;super(),this[_0x203cfa(0xd5)]=_0x5530c0,this[_0x203cfa(0xd3)]=_0x46fb27,this[_0x203cfa(0xd4)]=_0x3b8930,this[_0x203cfa(0xd2)]=_0x4f0ac6,this['_collaborationController']=_0x49bc14;}async[_0xfd7c5c(0xda)](){var _0x56797e=_0xfd7c5c;return this[_0x56797e(0xd9)]();}async[_0xfd7c5c(0xd9)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x3d5a39){var _0x4e668a=_0xfd7c5c;return this[_0x4e668a(0xde)](_0x3d5a39);}async[_0xfd7c5c(0xde)](_0x36940a,_0x36ab5f){var _0x56f76a=_0xfd7c5c;return await this[_0x56f76a(0xd2)][_0x56f76a(0xbe)](_0x36940a,0x0,_0x36ab5f)?(await this['_collaborationController']['readyForCollab'](_0x36940a),this[_0x56f76a(0xd5)][_0x56f76a(0xe1)](_0x36940a)):null;}[_0xfd7c5c(0xc4)](_0x3f9bae,_0x47bd8f){var _0x554c01=_0xfd7c5c;const _0x4b18c0=this[_0x554c01(0xd3)][_0x554c01(0xbb)](c[_0x554c01(0xe4)])[_0x554c01(0xd8)](_0x3f9bae)['pipe'](b['switchMap'](_0x54e765=>_0x54e765[_0x554c01(0xdb)]))[_0x554c01(0xca)](_0x542174=>_0x47bd8f(Array[_0x554c01(0xcc)](_0x542174[_0x554c01(0xcd)]())));return n[_0x554c01(0xc8)](_0x4b18c0);}},exports[_0xfd7c5c(0xe3)]=S([s(0x1,n[_0xfd7c5c(0xc3)](n[_0xfd7c5c(0xd1)])),s(0x2,n['IUniverInstanceService']),s(0x3,n[_0xfd7c5c(0xc3)](h[_0xfd7c5c(0xc7)])),s(0x4,n[_0xfd7c5c(0xc3)](c['CollaborationController']))],exports[_0xfd7c5c(0xe3)]);class u extends l[_0xfd7c5c(0xce)]{['getCollaboration'](){var _0x4c0a94=_0xfd7c5c;return this['_injector'][_0x4c0a94(0xc0)](exports['FCollaboration'],{'getUniverSheet':_0x1e8233=>this[_0x4c0a94(0xe1)](_0x1e8233)});}['loadServerUnit'](_0x237dad,_0x157dcb,_0x42b032){var _0x14f39e=_0xfd7c5c;return this[_0x14f39e(0xd3)][_0x14f39e(0xbb)](c[_0x14f39e(0xcb)])[_0x14f39e(0xe2)](_0x237dad,_0x157dcb,_0x42b032);}['loadServerUnitOfRevision'](_0x532a85,_0x1dc125,_0x9f13a1){var _0x4e0b5c=_0xfd7c5c;return this[_0x4e0b5c(0xd3)][_0x4e0b5c(0xbb)](c[_0x4e0b5c(0xcb)])[_0x4e0b5c(0xc9)](_0x532a85,_0x1dc125,_0x9f13a1);}}l[_0xfd7c5c(0xce)][_0xfd7c5c(0xdc)](u);function _0x49b3(){var _0x2bfe8d=['1696728OYiEpn','loadSheet','108UwmMIN','createInstance','24612xsHwAb','20pOTJHn','Inject','subscribeCollaborators','defineProperty','Module','SnapshotService','toDisposable','loadUnitOfRevision','subscribe','DataLoaderService','from','values','FUniver','1650huQvMG','223688WhCgpT','Injector','_snapshotService','_injector','_univerInstanceService','_handler','9AspODK','3806224DEfvrL','waitForRoom$','loadActiveSheetAsync','loadActiveSheet','members$','extend','7557020EDIuYn','loadSheetAsync','getOwnPropertyDescriptor','11929159vqJIHt','getUniverSheet','loadUnit','FCollaboration','MemberService','get','319664ZHTbPY'];_0x49b3=function(){return _0x2bfe8d;};return _0x49b3();}
1
+ 'use strict';function _0x3843(){var _0x2ee33f=['Module','loadActiveSheetAsync','extend','CollaborationController','waitForRoom$','8yumfJl','Inject','loadSheetAsync','DataLoaderService','FBase','loadUnitOfRevision','_collaborationController','getOwnPropertyDescriptor','_snapshotService','Injector','FUniver','values','subscribeCollaborators','10ooVbcO','subscribe','_handler','12677679iJUBUD','2995IgeKBs','341ggLMwi','createInstance','_injector','loadServerUnit','loadServerUnitOfRevision','4Ztzgpt','toDisposable','11658iqUbXc','FCollaboration','IUniverInstanceService','readyForCollab','get','loadActiveSheet','loadSheet','4369141cGxnHR','members$','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getUniverSheet','279993waRoMM','272568SZNTNh','322593uNIbuh','76454WxPiIp'];_0x3843=function(){return _0x2ee33f;};return _0x3843();}var _0x50bb3c=_0x2395;(function(_0x14b09a,_0x4cbe11){var _0x5be0be=_0x2395,_0x78cf5f=_0x14b09a();while(!![]){try{var _0x458ef1=-parseInt(_0x5be0be(0x1be))/0x1+parseInt(_0x5be0be(0x1c1))/0x2+-parseInt(_0x5be0be(0x1c0))/0x3*(-parseInt(_0x5be0be(0x1b1))/0x4)+-parseInt(_0x5be0be(0x1d8))/0x5*(-parseInt(_0x5be0be(0x1b3))/0x6)+parseInt(_0x5be0be(0x1ba))/0x7*(parseInt(_0x5be0be(0x1c7))/0x8)+parseInt(_0x5be0be(0x1d7))/0x9*(-parseInt(_0x5be0be(0x1d4))/0xa)+parseInt(_0x5be0be(0x1d9))/0xb*(parseInt(_0x5be0be(0x1bf))/0xc);if(_0x458ef1===_0x4cbe11)break;else _0x78cf5f['push'](_0x78cf5f['shift']());}catch(_0xc2ddb6){_0x78cf5f['push'](_0x78cf5f['shift']());}}}(_0x3843,0xe7c28));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x50bb3c(0x1c2)});const c=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core/facade'),h=require('@univerjs-pro/collaboration'),n=require('@univerjs/core'),b=require('rxjs');var d=Object[_0x50bb3c(0x1ce)],S=(_0x478d3,_0x99d0a4,_0x1af21a,_0x3935a9)=>{for(var _0x31936b=_0x3935a9>0x1?void 0x0:_0x3935a9?d(_0x99d0a4,_0x1af21a):_0x99d0a4,_0xf11d0d=_0x478d3['length']-0x1,_0x297902;_0xf11d0d>=0x0;_0xf11d0d--)(_0x297902=_0x478d3[_0xf11d0d])&&(_0x31936b=_0x297902(_0x31936b)||_0x31936b);return _0x31936b;},s=(_0x175bc6,_0x50b818)=>(_0x30ac7b,_0x384534)=>_0x50b818(_0x30ac7b,_0x384534,_0x175bc6);exports['FCollaboration']=class extends l[_0x50bb3c(0x1cb)]{constructor(_0x418b7d,_0x45c9fb,_0x2bf521,_0x1ae3d7,_0x456453){var _0x4535e5=_0x50bb3c;super(),this[_0x4535e5(0x1d6)]=_0x418b7d,this[_0x4535e5(0x1db)]=_0x45c9fb,this['_univerInstanceService']=_0x2bf521,this[_0x4535e5(0x1cf)]=_0x1ae3d7,this[_0x4535e5(0x1cd)]=_0x456453;}async[_0x50bb3c(0x1b8)](){return this['loadActiveSheetAsync']();}async[_0x50bb3c(0x1c3)](){var _0xe12888=_0x50bb3c;throw new Error(_0xe12888(0x1bc));}async['loadSheet'](_0x194e98){var _0x4cfa32=_0x50bb3c;return this[_0x4cfa32(0x1c9)](_0x194e98);}async[_0x50bb3c(0x1c9)](_0x2f019d,_0x21b870){var _0x2dff63=_0x50bb3c;return await this['_snapshotService'][_0x2dff63(0x1b9)](_0x2f019d,0x0,_0x21b870)?(await this[_0x2dff63(0x1cd)][_0x2dff63(0x1b6)](_0x2f019d),this[_0x2dff63(0x1d6)][_0x2dff63(0x1bd)](_0x2f019d)):null;}[_0x50bb3c(0x1d3)](_0x2b90b8,_0x9e0c3){var _0x50774b=_0x50bb3c;const _0x53dc0e=this[_0x50774b(0x1db)]['get'](c['MemberService'])[_0x50774b(0x1c6)](_0x2b90b8)['pipe'](b['switchMap'](_0x55253d=>_0x55253d[_0x50774b(0x1bb)]))[_0x50774b(0x1d5)](_0x5efd45=>_0x9e0c3(Array['from'](_0x5efd45[_0x50774b(0x1d2)]())));return n[_0x50774b(0x1b2)](_0x53dc0e);}},exports['FCollaboration']=S([s(0x1,n[_0x50bb3c(0x1c8)](n[_0x50bb3c(0x1d0)])),s(0x2,n[_0x50bb3c(0x1b5)]),s(0x3,n[_0x50bb3c(0x1c8)](h['SnapshotService'])),s(0x4,n['Inject'](c[_0x50bb3c(0x1c5)]))],exports[_0x50bb3c(0x1b4)]);function _0x2395(_0x282567,_0x41eedd){var _0x38433f=_0x3843();return _0x2395=function(_0x2395a2,_0x2d5dc0){_0x2395a2=_0x2395a2-0x1b1;var _0x3df335=_0x38433f[_0x2395a2];return _0x3df335;},_0x2395(_0x282567,_0x41eedd);}class u extends l['FUniver']{['getCollaboration'](){var _0x22f8eb=_0x50bb3c;return this[_0x22f8eb(0x1db)][_0x22f8eb(0x1da)](exports[_0x22f8eb(0x1b4)],{'getUniverSheet':_0x121b1d=>this['getUniverSheet'](_0x121b1d)});}[_0x50bb3c(0x1dc)](_0x32d7cb,_0x1654da,_0x37d2b9){var _0x339f74=_0x50bb3c;return this[_0x339f74(0x1db)][_0x339f74(0x1b7)](c['DataLoaderService'])['loadUnit'](_0x32d7cb,_0x1654da,_0x37d2b9);}[_0x50bb3c(0x1dd)](_0x217f5f,_0x372da9,_0x1fa23a){var _0x4c1914=_0x50bb3c;return this[_0x4c1914(0x1db)]['get'](c[_0x4c1914(0x1ca)])[_0x4c1914(0x1cc)](_0x217f5f,_0x372da9,_0x1fa23a);}}l[_0x50bb3c(0x1d1)][_0x50bb3c(0x1c4)](u);