@univerjs-pro/exchange-client 0.10.14 → 0.11.0

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 +8 -8
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
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);
1
+ 'use strict';const _0xd68113=_0x48d2;(function(_0x3def9f,_0x5246f1){const _0x108b01=_0x48d2,_0x2e5891=_0x3def9f();while(!![]){try{const _0x20a865=-parseInt(_0x108b01(0x11a))/0x1+-parseInt(_0x108b01(0xfa))/0x2+parseInt(_0x108b01(0x115))/0x3*(-parseInt(_0x108b01(0x11b))/0x4)+parseInt(_0x108b01(0x10f))/0x5+parseInt(_0x108b01(0x10e))/0x6+parseInt(_0x108b01(0x111))/0x7+parseInt(_0x108b01(0x100))/0x8*(parseInt(_0x108b01(0x11c))/0x9);if(_0x20a865===_0x5246f1)break;else _0x2e5891['push'](_0x2e5891['shift']());}catch(_0x4fbece){_0x2e5891['push'](_0x2e5891['shift']());}}}(_0x64ca,0xe32e6));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x40f33f=>(_0x40f33f[_0x40f33f[_0xd68113(0x107)]=0x0]=_0xd68113(0x107),_0x40f33f[_0x40f33f['UNIVER_DOC']=0x1]=_0xd68113(0x119),_0x40f33f[_0x40f33f[_0xd68113(0x104)]=0x2]=_0xd68113(0x104),_0x40f33f[_0x40f33f[_0xd68113(0x10c)]=0x3]='UNIVER_SLIDE',_0x40f33f[_0x40f33f[_0xd68113(0x112)]=0x4]='UNIVER_PROJECT',_0x40f33f[_0x40f33f[_0xd68113(0x10d)]=-0x1]=_0xd68113(0x10d),_0x40f33f))(i||{});function _0x64ca(){const _0x1e1ed8=['importFileToUnitId','exportXLSXByUnitId','importXLSXToSnapshotAsync','UNIVER_SLIDE','UNRECOGNIZED','8072022bjFKAP','1159245dhdtut','exportXLSXBySnapshotAsync','7057750UtNzMr','UNIVER_PROJECT','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','30MiIGqx','IExchangeService','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_DOC','1397181twHkMx','631964pmQmly','9gKvZrT','FUniver','2856700WTwnLZ','exportDOCXByUnitId','importXLSXToSnapshot','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','importXLSXToUnitId','22004312sUBQqV','importDOCXToUnitId','get','importDOCXToSnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','extend','UNIVER_UNKNOWN','_injector'];_0x64ca=function(){return _0x1e1ed8;};return _0x64ca();}class c extends o[_0xd68113(0x11d)]{async[_0xd68113(0xff)](_0x254cfc){const _0x4491c7=_0xd68113;return this[_0x4491c7(0x105)](_0x254cfc);}async[_0xd68113(0x105)](_0x33311f){const _0x4f90af=_0xd68113,_0x331015=this[_0x4f90af(0x108)][_0x4f90af(0x102)](r['IExchangeService']);if(!_0x331015)throw new Error(_0x4f90af(0x114));return _0x331015[_0x4f90af(0x109)](_0x33311f,i[_0x4f90af(0x104)]);}async[_0xd68113(0xfc)](_0x208742){const _0x3d49f8=_0xd68113;return this[_0x3d49f8(0x10b)](_0x208742);}async[_0xd68113(0x10b)](_0x364072){const _0x1793d6=_0xd68113,_0x132f96=this[_0x1793d6(0x108)][_0x1793d6(0x102)](r['IExchangeService']);if(!_0x132f96)throw new Error(_0x1793d6(0x114));return _0x132f96[_0x1793d6(0xfc)](_0x364072);}async[_0xd68113(0x10a)](_0x22f665){const _0x4063e8=_0xd68113;return this[_0x4063e8(0xfe)](_0x22f665);}async['exportXLSXByUnitIdAsync'](_0x25e505){const _0x2cba64=_0xd68113,_0x116520=this[_0x2cba64(0x108)][_0x2cba64(0x102)](r[_0x2cba64(0x116)]);if(!_0x116520)throw new Error(_0x2cba64(0x114));return _0x116520[_0x2cba64(0x10a)](_0x25e505);}async[_0xd68113(0xfd)](_0x135b96){return this['exportXLSXBySnapshotAsync'](_0x135b96);}async[_0xd68113(0x110)](_0x5d1cfa){const _0x5a7af1=_0xd68113,_0x172c4e=this[_0x5a7af1(0x108)]['get'](r[_0x5a7af1(0x116)]);if(!_0x172c4e)throw new Error(_0x5a7af1(0x114));return _0x172c4e[_0x5a7af1(0xfd)](_0x5d1cfa);}async[_0xd68113(0x101)](_0x1d7a49){return this['importDOCXToUnitIdAsync'](_0x1d7a49);}async['importDOCXToUnitIdAsync'](_0xb2d34a){const _0x1e39fc=_0xd68113,_0x3ad5a3=this[_0x1e39fc(0x108)]['get'](r[_0x1e39fc(0x116)]);if(!_0x3ad5a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ad5a3['importFileToUnitId'](_0xb2d34a,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x3df47c){const _0xded8a0=_0xd68113;return this[_0xded8a0(0x118)](_0x3df47c);}async['importDOCXToSnapshotAsync'](_0x686233){const _0x5c9cdb=_0xd68113,_0x4b6d3e=this[_0x5c9cdb(0x108)][_0x5c9cdb(0x102)](r[_0x5c9cdb(0x116)]);if(!_0x4b6d3e)throw new Error(_0x5c9cdb(0x114));return _0x4b6d3e[_0x5c9cdb(0x103)](_0x686233);}async[_0xd68113(0x113)](_0x4cc91a){const _0x41704=_0xd68113,_0x33ad74=this[_0x41704(0x108)][_0x41704(0x102)](r['IExchangeService']);if(!_0x33ad74)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x33ad74['exportDOCXBySnapshot'](_0x4cc91a);}async[_0xd68113(0x117)](_0x5ad4bd){const _0x1a06d1=_0xd68113,_0xb90af9=this['_injector'][_0x1a06d1(0x102)](r['IExchangeService']);if(!_0xb90af9)throw new Error(_0x1a06d1(0x114));return _0xb90af9[_0x1a06d1(0xfb)](_0x5ad4bd);}}function _0x48d2(_0x891d60,_0x46e47b){const _0x64cade=_0x64ca();return _0x48d2=function(_0x48d28a,_0xca9a1f){_0x48d28a=_0x48d28a-0xfa;let _0x49974b=_0x64cade[_0x48d28a];return _0x49974b;},_0x48d2(_0x891d60,_0x46e47b);}o[_0xd68113(0x11d)][_0xd68113(0x106)](c);