@univerjs-pro/exchange-client 0.10.13 → 0.10.14

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  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 +2 -2
  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 +2 -2
  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/umd/facade.js +1 -1
  38. package/lib/umd/index.js +2 -2
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x45db(){const _0x35a614=['exportDOCXBySnapshot','importXLSXToUnitIdAsync','UNIVER_SLIDE','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','1165vCnLlB','_injector','exportXLSXBySnapshot','UNIVER_DOC','268253THXQXK','UNIVER_UNKNOWN','8272355bcRyAt','exportDOCXBySnapshotAsync','UNIVER_SHEET','get','FUniver','importFileToUnitId','UNRECOGNIZED','exportDOCXByUnitIdAsync','IExchangeService','6qUaBhA','importDOCXToUnitIdAsync','2023647AOTjBB','importXLSXToUnitId','exportXLSXByUnitId','11010483DdGyem','exportXLSXBySnapshotAsync','importXLSXToSnapshot','7337664WKJMFH','1900740xBJZUD','importDOCXToSnapshotAsync','7012ZhzHZR'];_0x45db=function(){return _0x35a614;};return _0x45db();}const _0x4c9074=_0x372a;(function(_0x1136ac,_0x155879){const _0x4747f4=_0x372a,_0x17602e=_0x1136ac();while(!![]){try{const _0x76338=parseInt(_0x4747f4(0x11d))/0x1*(-parseInt(_0x4747f4(0x128))/0x2)+parseInt(_0x4747f4(0x12a))/0x3+parseInt(_0x4747f4(0x112))/0x4*(parseInt(_0x4747f4(0x119))/0x5)+-parseInt(_0x4747f4(0x110))/0x6+parseInt(_0x4747f4(0x11f))/0x7+parseInt(_0x4747f4(0x10f))/0x8+-parseInt(_0x4747f4(0x10c))/0x9;if(_0x76338===_0x155879)break;else _0x17602e['push'](_0x17602e['shift']());}catch(_0x1be0fe){_0x17602e['push'](_0x17602e['shift']());}}}(_0x45db,0xcc5ab));function _0x372a(_0x608855,_0x217231){const _0x45db0a=_0x45db();return _0x372a=function(_0x372ac0,_0x3a87b7){_0x372ac0=_0x372ac0-0x10a;let _0x4111b4=_0x45db0a[_0x372ac0];return _0x4111b4;},_0x372a(_0x608855,_0x217231);}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x127b3d=>(_0x127b3d[_0x127b3d[_0x4c9074(0x11e)]=0x0]=_0x4c9074(0x11e),_0x127b3d[_0x127b3d[_0x4c9074(0x11c)]=0x1]='UNIVER_DOC',_0x127b3d[_0x127b3d[_0x4c9074(0x121)]=0x2]=_0x4c9074(0x121),_0x127b3d[_0x127b3d[_0x4c9074(0x115)]=0x3]=_0x4c9074(0x115),_0x127b3d[_0x127b3d['UNIVER_PROJECT']=0x4]=_0x4c9074(0x116),_0x127b3d[_0x127b3d[_0x4c9074(0x125)]=-0x1]=_0x4c9074(0x125),_0x127b3d))(i||{});class c extends o[_0x4c9074(0x123)]{async[_0x4c9074(0x10a)](_0x163ef2){return this['importXLSXToUnitIdAsync'](_0x163ef2);}async[_0x4c9074(0x114)](_0x1225aa){const _0x406055=_0x4c9074,_0x1b820e=this[_0x406055(0x11a)]['get'](r['IExchangeService']);if(!_0x1b820e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b820e[_0x406055(0x124)](_0x1225aa,i['UNIVER_SHEET']);}async[_0x4c9074(0x10e)](_0x57edb9){return this['importXLSXToSnapshotAsync'](_0x57edb9);}async['importXLSXToSnapshotAsync'](_0x384ad5){const _0x534b61=_0x4c9074,_0x14de7f=this[_0x534b61(0x11a)]['get'](r[_0x534b61(0x127)]);if(!_0x14de7f)throw new Error(_0x534b61(0x117));return _0x14de7f[_0x534b61(0x10e)](_0x384ad5);}async[_0x4c9074(0x10b)](_0x4c6ae6){const _0x48502a=_0x4c9074;return this[_0x48502a(0x118)](_0x4c6ae6);}async['exportXLSXByUnitIdAsync'](_0x51ff2f){const _0xe954c4=_0x4c9074,_0x5247d6=this[_0xe954c4(0x11a)]['get'](r[_0xe954c4(0x127)]);if(!_0x5247d6)throw new Error(_0xe954c4(0x117));return _0x5247d6['exportXLSXByUnitId'](_0x51ff2f);}async[_0x4c9074(0x11b)](_0x3846f8){const _0x270151=_0x4c9074;return this[_0x270151(0x10d)](_0x3846f8);}async[_0x4c9074(0x10d)](_0x218205){const _0x494783=_0x4c9074,_0xbd168a=this[_0x494783(0x11a)][_0x494783(0x122)](r[_0x494783(0x127)]);if(!_0xbd168a)throw new Error(_0x494783(0x117));return _0xbd168a['exportXLSXBySnapshot'](_0x218205);}async['importDOCXToUnitId'](_0x8c5022){const _0x17f3ab=_0x4c9074;return this[_0x17f3ab(0x129)](_0x8c5022);}async['importDOCXToUnitIdAsync'](_0x41e4b4){const _0x1657c1=_0x4c9074,_0x37b3a2=this['_injector'][_0x1657c1(0x122)](r[_0x1657c1(0x127)]);if(!_0x37b3a2)throw new Error(_0x1657c1(0x117));return _0x37b3a2[_0x1657c1(0x124)](_0x41e4b4,i[_0x1657c1(0x11c)]);}async['importDOCXToSnapshot'](_0x12630f){const _0x41ebc7=_0x4c9074;return this[_0x41ebc7(0x111)](_0x12630f);}async[_0x4c9074(0x111)](_0x45ad32){const _0x8701ca=_0x4c9074,_0x42047a=this[_0x8701ca(0x11a)][_0x8701ca(0x122)](r[_0x8701ca(0x127)]);if(!_0x42047a)throw new Error(_0x8701ca(0x117));return _0x42047a['importDOCXToSnapshot'](_0x45ad32);}async[_0x4c9074(0x120)](_0x3a8c36){const _0x47e724=_0x4c9074,_0x3fceb2=this[_0x47e724(0x11a)][_0x47e724(0x122)](r[_0x47e724(0x127)]);if(!_0x3fceb2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3fceb2[_0x47e724(0x113)](_0x3a8c36);}async[_0x4c9074(0x126)](_0x5f517e){const _0x2afd7f=_0x4c9074,_0x63d83=this['_injector'][_0x2afd7f(0x122)](r['IExchangeService']);if(!_0x63d83)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x63d83['exportDOCXByUnitId'](_0x5f517e);}}o[_0x4c9074(0x123)]['extend'](c);
1
+ 'use strict';function _0x504b(_0x592bee,_0x38dd6f){const _0x3b4efe=_0x3b4e();return _0x504b=function(_0x504bfd,_0x5f4dd4){_0x504bfd=_0x504bfd-0xaa;let _0x8e4885=_0x3b4efe[_0x504bfd];return _0x8e4885;},_0x504b(_0x592bee,_0x38dd6f);}const _0x2789b1=_0x504b;(function(_0x1a89ed,_0x19fa57){const _0x115ae7=_0x504b,_0x2e2e0c=_0x1a89ed();while(!![]){try{const _0x294186=parseInt(_0x115ae7(0xb3))/0x1+-parseInt(_0x115ae7(0xac))/0x2*(-parseInt(_0x115ae7(0xba))/0x3)+-parseInt(_0x115ae7(0xc4))/0x4+parseInt(_0x115ae7(0xbf))/0x5+-parseInt(_0x115ae7(0xb1))/0x6+-parseInt(_0x115ae7(0xb8))/0x7*(parseInt(_0x115ae7(0xc5))/0x8)+parseInt(_0x115ae7(0xc9))/0x9*(parseInt(_0x115ae7(0xc3))/0xa);if(_0x294186===_0x19fa57)break;else _0x2e2e0c['push'](_0x2e2e0c['shift']());}catch(_0x21de2d){_0x2e2e0c['push'](_0x2e2e0c['shift']());}}}(_0x3b4e,0x1e457));function _0x3b4e(){const _0x4ed3eb=['importXLSXToUnitId','392orDuFq','exportXLSXByUnitIdAsync','exportDOCXByUnitId','importXLSXToSnapshotAsync','UNRECOGNIZED','1220778CaUJcm','UNIVER_SLIDE','72237SObGam','exportXLSXBySnapshot','importDOCXToUnitIdAsync','UNIVER_SHEET','FUniver','5411FAsWVG','importFileToUnitId','1059lCiGGN','get','UNIVER_UNKNOWN','exportDOCXBySnapshot','exportXLSXByUnitId','948085gareQG','importDOCXToSnapshot','importXLSXToSnapshot','IExchangeService','2354090yEXadD','792112xFbjKS','424FtoEtH','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','importXLSXToUnitIdAsync','9RcwiVT','_injector','UNIVER_PROJECT','importDOCXToSnapshotAsync','UNIVER_DOC'];_0x3b4e=function(){return _0x4ed3eb;};return _0x3b4e();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x465a2d=>(_0x465a2d[_0x465a2d[_0x2789b1(0xbc)]=0x0]=_0x2789b1(0xbc),_0x465a2d[_0x465a2d[_0x2789b1(0xaa)]=0x1]='UNIVER_DOC',_0x465a2d[_0x465a2d[_0x2789b1(0xb6)]=0x2]=_0x2789b1(0xb6),_0x465a2d[_0x465a2d[_0x2789b1(0xb2)]=0x3]=_0x2789b1(0xb2),_0x465a2d[_0x465a2d[_0x2789b1(0xcb)]=0x4]=_0x2789b1(0xcb),_0x465a2d[_0x465a2d[_0x2789b1(0xb0)]=-0x1]=_0x2789b1(0xb0),_0x465a2d))(i||{});class c extends o[_0x2789b1(0xb7)]{async[_0x2789b1(0xab)](_0x481e26){const _0x54d4e4=_0x2789b1;return this[_0x54d4e4(0xc8)](_0x481e26);}async[_0x2789b1(0xc8)](_0x19dc82){const _0x248586=_0x2789b1,_0x48053c=this[_0x248586(0xca)][_0x248586(0xbb)](r['IExchangeService']);if(!_0x48053c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x48053c['importFileToUnitId'](_0x19dc82,i[_0x248586(0xb6)]);}async[_0x2789b1(0xc1)](_0x43bd48){const _0x5e80be=_0x2789b1;return this[_0x5e80be(0xaf)](_0x43bd48);}async[_0x2789b1(0xaf)](_0x2cc1c2){const _0x454778=_0x2789b1,_0x5bb8d6=this[_0x454778(0xca)][_0x454778(0xbb)](r['IExchangeService']);if(!_0x5bb8d6)throw new Error(_0x454778(0xc6));return _0x5bb8d6[_0x454778(0xc1)](_0x2cc1c2);}async[_0x2789b1(0xbe)](_0x326f03){const _0xa46b76=_0x2789b1;return this[_0xa46b76(0xad)](_0x326f03);}async[_0x2789b1(0xad)](_0x312b98){const _0x324cfc=_0x2789b1,_0x493be0=this[_0x324cfc(0xca)][_0x324cfc(0xbb)](r['IExchangeService']);if(!_0x493be0)throw new Error(_0x324cfc(0xc6));return _0x493be0[_0x324cfc(0xbe)](_0x312b98);}async['exportXLSXBySnapshot'](_0x5c5db9){return this['exportXLSXBySnapshotAsync'](_0x5c5db9);}async['exportXLSXBySnapshotAsync'](_0x7178ca){const _0x4fac7e=_0x2789b1,_0x4f4067=this[_0x4fac7e(0xca)][_0x4fac7e(0xbb)](r[_0x4fac7e(0xc2)]);if(!_0x4f4067)throw new Error(_0x4fac7e(0xc6));return _0x4f4067[_0x4fac7e(0xb4)](_0x7178ca);}async[_0x2789b1(0xc7)](_0x2134b7){const _0x3bf238=_0x2789b1;return this[_0x3bf238(0xb5)](_0x2134b7);}async['importDOCXToUnitIdAsync'](_0x584804){const _0x39e93a=_0x2789b1,_0x361868=this[_0x39e93a(0xca)]['get'](r[_0x39e93a(0xc2)]);if(!_0x361868)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x361868[_0x39e93a(0xb9)](_0x584804,i[_0x39e93a(0xaa)]);}async[_0x2789b1(0xc0)](_0x5be2a4){const _0x519d45=_0x2789b1;return this[_0x519d45(0xcc)](_0x5be2a4);}async[_0x2789b1(0xcc)](_0x58c911){const _0xe4c5ee=_0x2789b1,_0x4eb52f=this[_0xe4c5ee(0xca)]['get'](r['IExchangeService']);if(!_0x4eb52f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4eb52f[_0xe4c5ee(0xc0)](_0x58c911);}async['exportDOCXBySnapshotAsync'](_0x46a52f){const _0x4e8b6e=_0x2789b1,_0x1be391=this[_0x4e8b6e(0xca)]['get'](r[_0x4e8b6e(0xc2)]);if(!_0x1be391)throw new Error(_0x4e8b6e(0xc6));return _0x1be391[_0x4e8b6e(0xbd)](_0x46a52f);}async['exportDOCXByUnitIdAsync'](_0xca9ee7){const _0x1e07e7=_0x2789b1,_0xb05b49=this[_0x1e07e7(0xca)][_0x1e07e7(0xbb)](r[_0x1e07e7(0xc2)]);if(!_0xb05b49)throw new Error(_0x1e07e7(0xc6));return _0xb05b49[_0x1e07e7(0xae)](_0xca9ee7);}}o[_0x2789b1(0xb7)]['extend'](c);