@univerjs-pro/exchange-client 0.15.0 → 0.15.1-insiders.20260117-8ce4a01

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 +10 -10
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1951de=_0xfa47;(function(_0x148936,_0x2b4aa1){const _0x1320aa=_0xfa47,_0x18cd38=_0x148936();while(!![]){try{const _0x5a1b88=-parseInt(_0x1320aa(0x10a))/0x1*(parseInt(_0x1320aa(0x123))/0x2)+parseInt(_0x1320aa(0x112))/0x3+-parseInt(_0x1320aa(0x126))/0x4*(parseInt(_0x1320aa(0x117))/0x5)+-parseInt(_0x1320aa(0x105))/0x6*(-parseInt(_0x1320aa(0x110))/0x7)+parseInt(_0x1320aa(0x109))/0x8+-parseInt(_0x1320aa(0x103))/0x9+parseInt(_0x1320aa(0x10f))/0xa*(parseInt(_0x1320aa(0x11e))/0xb);if(_0x5a1b88===_0x2b4aa1)break;else _0x18cd38['push'](_0x18cd38['shift']());}catch(_0x16d017){_0x18cd38['push'](_0x18cd38['shift']());}}}(_0x4faa,0x6cb2e));function _0x4faa(){const _0x544c13=['importDOCXToSnapshot','UNRECOGNIZED','importDOCXToUnitId','473254mGrbuM','exportXLSXByUnitId','importXLSXToUnitIdAsync','8uVLovi','importXLSXToSnapshot','exportXLSXBySnapshotAsync','UNIVER_PROJECT','7709211vREKbY','get','381624ErbQJV','importXLSXToSnapshotAsync','exportDOCXBySnapshotAsync','extend','7042888QYmxMU','2XRCAPX','The\x20exchange\x20service\x20is\x20not\x20available','_injector','exportXLSXByUnitIdAsync','UNIVER_SHEET','7340WNCoNw','35CkKPpi','IExchangeService','2008542fCQPUw','importXLSXToUnitId','UNIVER_SLIDE','UNIVER_UNKNOWN','exportDOCXByUnitId','1055995kpmRXC','exportDOCXBySnapshot','importFileToUnitId','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','exportXLSXBySnapshot','UNIVER_DOC','4939tvcIFl','FUniver'];_0x4faa=function(){return _0x544c13;};return _0x4faa();}const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x35bf2c=>(_0x35bf2c[_0x35bf2c[_0x1951de(0x115)]=0x0]=_0x1951de(0x115),_0x35bf2c[_0x35bf2c['UNIVER_DOC']=0x1]=_0x1951de(0x11d),_0x35bf2c[_0x35bf2c['UNIVER_SHEET']=0x2]=_0x1951de(0x10e),_0x35bf2c[_0x35bf2c[_0x1951de(0x114)]=0x3]='UNIVER_SLIDE',_0x35bf2c[_0x35bf2c[_0x1951de(0x129)]=0x4]=_0x1951de(0x129),_0x35bf2c[_0x35bf2c[_0x1951de(0x121)]=-0x1]=_0x1951de(0x121),_0x35bf2c))(i||{});function _0xfa47(_0x2ad15f,_0x5fd3e8){_0x2ad15f=_0x2ad15f-0x103;const _0x4faa11=_0x4faa();let _0xfa4733=_0x4faa11[_0x2ad15f];return _0xfa4733;}class c extends o[_0x1951de(0x11f)]{async[_0x1951de(0x113)](_0xf69c69){const _0x373b22=_0x1951de;return this[_0x373b22(0x125)](_0xf69c69);}async['importXLSXToUnitIdAsync'](_0x4ab9eb){const _0x5ebcc5=_0x1951de,_0x25f33b=this[_0x5ebcc5(0x10c)][_0x5ebcc5(0x104)](r[_0x5ebcc5(0x111)]);if(!_0x25f33b)throw new Error(_0x5ebcc5(0x10b));return _0x25f33b[_0x5ebcc5(0x119)](_0x4ab9eb,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x3bd98f){const _0x590f58=_0x1951de;return this[_0x590f58(0x106)](_0x3bd98f);}async[_0x1951de(0x106)](_0x3326b5){const _0x3ab990=_0x1951de,_0x48d498=this[_0x3ab990(0x10c)][_0x3ab990(0x104)](r[_0x3ab990(0x111)]);if(!_0x48d498)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x48d498[_0x3ab990(0x127)](_0x3326b5);}async[_0x1951de(0x124)](_0x258821){const _0x45e04e=_0x1951de;return this[_0x45e04e(0x10d)](_0x258821);}async[_0x1951de(0x10d)](_0x45a645){const _0x46065a=_0x1951de,_0x48e7ce=this[_0x46065a(0x10c)]['get'](r['IExchangeService']);if(!_0x48e7ce)throw new Error(_0x46065a(0x10b));return _0x48e7ce[_0x46065a(0x124)](_0x45a645);}async[_0x1951de(0x11c)](_0x240c89){const _0x1677e6=_0x1951de;return this[_0x1677e6(0x128)](_0x240c89);}async[_0x1951de(0x128)](_0x54d78a){const _0x13ef86=_0x1951de,_0x8b0693=this[_0x13ef86(0x10c)][_0x13ef86(0x104)](r[_0x13ef86(0x111)]);if(!_0x8b0693)throw new Error(_0x13ef86(0x10b));return _0x8b0693[_0x13ef86(0x11c)](_0x54d78a);}async[_0x1951de(0x122)](_0xa7a60e){const _0x4a5ef1=_0x1951de;return this[_0x4a5ef1(0x11a)](_0xa7a60e);}async[_0x1951de(0x11a)](_0x20187f){const _0x368fa7=_0x1951de,_0x3ea9da=this['_injector']['get'](r[_0x368fa7(0x111)]);if(!_0x3ea9da)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ea9da['importFileToUnitId'](_0x20187f,i[_0x368fa7(0x11d)]);}async['importDOCXToSnapshot'](_0x5aaf5e){const _0x617038=_0x1951de;return this[_0x617038(0x11b)](_0x5aaf5e);}async['importDOCXToSnapshotAsync'](_0x432c31){const _0x5e5c30=_0x1951de,_0x292275=this['_injector'][_0x5e5c30(0x104)](r[_0x5e5c30(0x111)]);if(!_0x292275)throw new Error(_0x5e5c30(0x10b));return _0x292275[_0x5e5c30(0x120)](_0x432c31);}async[_0x1951de(0x107)](_0x358030){const _0x44c2b3=_0x1951de,_0x2c287d=this[_0x44c2b3(0x10c)][_0x44c2b3(0x104)](r[_0x44c2b3(0x111)]);if(!_0x2c287d)throw new Error(_0x44c2b3(0x10b));return _0x2c287d[_0x44c2b3(0x118)](_0x358030);}async['exportDOCXByUnitIdAsync'](_0x401d3b){const _0x4b56c7=_0x1951de,_0x18c53d=this[_0x4b56c7(0x10c)]['get'](r[_0x4b56c7(0x111)]);if(!_0x18c53d)throw new Error(_0x4b56c7(0x10b));return _0x18c53d[_0x4b56c7(0x116)](_0x401d3b);}}o[_0x1951de(0x11f)][_0x1951de(0x108)](c);
1
+ 'use strict';const _0x124dfc=_0x1fdd;(function(_0x2cc0fe,_0xfee7b8){const _0x4d7378=_0x1fdd,_0x28ad35=_0x2cc0fe();while(!![]){try{const _0x506126=parseInt(_0x4d7378(0x1c2))/0x1*(-parseInt(_0x4d7378(0x1cc))/0x2)+parseInt(_0x4d7378(0x1c9))/0x3*(parseInt(_0x4d7378(0x1b9))/0x4)+-parseInt(_0x4d7378(0x1d0))/0x5+-parseInt(_0x4d7378(0x1d4))/0x6+-parseInt(_0x4d7378(0x1b3))/0x7+-parseInt(_0x4d7378(0x1c4))/0x8*(-parseInt(_0x4d7378(0x1bb))/0x9)+-parseInt(_0x4d7378(0x1bd))/0xa*(-parseInt(_0x4d7378(0x1b2))/0xb);if(_0x506126===_0xfee7b8)break;else _0x28ad35['push'](_0x28ad35['shift']());}catch(_0x2fa7ce){_0x28ad35['push'](_0x28ad35['shift']());}}}(_0x1276,0x8d66e));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3e66a5=>(_0x3e66a5[_0x3e66a5[_0x124dfc(0x1c0)]=0x0]=_0x124dfc(0x1c0),_0x3e66a5[_0x3e66a5[_0x124dfc(0x1d5)]=0x1]=_0x124dfc(0x1d5),_0x3e66a5[_0x3e66a5[_0x124dfc(0x1cb)]=0x2]='UNIVER_SHEET',_0x3e66a5[_0x3e66a5[_0x124dfc(0x1b7)]=0x3]=_0x124dfc(0x1b7),_0x3e66a5[_0x3e66a5[_0x124dfc(0x1bf)]=0x4]=_0x124dfc(0x1bf),_0x3e66a5[_0x3e66a5[_0x124dfc(0x1d1)]=-0x1]='UNRECOGNIZED',_0x3e66a5))(i||{});function _0x1276(){const _0x170cc5=['importXLSXToUnitId','exportXLSXByUnitId','importDOCXToSnapshot','exportXLSXBySnapshotAsync','2982aiCCCd','exportXLSXByUnitIdAsync','UNIVER_SHEET','1369414jVffNd','exportDOCXBySnapshot','importXLSXToUnitIdAsync','IExchangeService','949265TmmuIA','UNRECOGNIZED','importFileToUnitId','importDOCXToUnitId','5301954ELVuSJ','UNIVER_DOC','FUniver','importXLSXToSnapshot','4411hvopXu','6508894ptWMDq','importXLSXToSnapshotAsync','get','importDOCXToSnapshotAsync','UNIVER_SLIDE','exportDOCXByUnitIdAsync','4568KaOenY','exportDOCXByUnitId','9HRmLzR','The\x20exchange\x20service\x20is\x20not\x20available','50770xUJjAW','exportXLSXBySnapshot','UNIVER_PROJECT','UNIVER_UNKNOWN','_injector','1zzcFTo','importDOCXToUnitIdAsync','769744ZApVRn'];_0x1276=function(){return _0x170cc5;};return _0x1276();}class c extends o[_0x124dfc(0x1d6)]{async[_0x124dfc(0x1c5)](_0x2e5db7){const _0x2dc3ff=_0x124dfc;return this[_0x2dc3ff(0x1ce)](_0x2e5db7);}async[_0x124dfc(0x1ce)](_0x3643c5){const _0x251109=_0x124dfc,_0x5dbefa=this[_0x251109(0x1c1)][_0x251109(0x1b5)](r[_0x251109(0x1cf)]);if(!_0x5dbefa)throw new Error(_0x251109(0x1bc));return _0x5dbefa[_0x251109(0x1d2)](_0x3643c5,i[_0x251109(0x1cb)]);}async[_0x124dfc(0x1b1)](_0x54a8d0){const _0xfdb10a=_0x124dfc;return this[_0xfdb10a(0x1b4)](_0x54a8d0);}async[_0x124dfc(0x1b4)](_0x2cd6f9){const _0x1fff3a=_0x124dfc,_0x5f4710=this['_injector'][_0x1fff3a(0x1b5)](r[_0x1fff3a(0x1cf)]);if(!_0x5f4710)throw new Error(_0x1fff3a(0x1bc));return _0x5f4710[_0x1fff3a(0x1b1)](_0x2cd6f9);}async[_0x124dfc(0x1c6)](_0x5b24a8){const _0x22187a=_0x124dfc;return this[_0x22187a(0x1ca)](_0x5b24a8);}async[_0x124dfc(0x1ca)](_0x5a71a1){const _0x44265f=_0x124dfc,_0x2c6ee7=this[_0x44265f(0x1c1)][_0x44265f(0x1b5)](r['IExchangeService']);if(!_0x2c6ee7)throw new Error(_0x44265f(0x1bc));return _0x2c6ee7['exportXLSXByUnitId'](_0x5a71a1);}async[_0x124dfc(0x1be)](_0x155306){const _0x15d18a=_0x124dfc;return this[_0x15d18a(0x1c8)](_0x155306);}async[_0x124dfc(0x1c8)](_0x14c70d){const _0x28b744=_0x124dfc,_0x7e828f=this[_0x28b744(0x1c1)][_0x28b744(0x1b5)](r[_0x28b744(0x1cf)]);if(!_0x7e828f)throw new Error(_0x28b744(0x1bc));return _0x7e828f[_0x28b744(0x1be)](_0x14c70d);}async[_0x124dfc(0x1d3)](_0x594904){const _0x275f66=_0x124dfc;return this[_0x275f66(0x1c3)](_0x594904);}async['importDOCXToUnitIdAsync'](_0xcbd636){const _0x47ba81=_0x124dfc,_0x4df496=this[_0x47ba81(0x1c1)][_0x47ba81(0x1b5)](r['IExchangeService']);if(!_0x4df496)throw new Error(_0x47ba81(0x1bc));return _0x4df496[_0x47ba81(0x1d2)](_0xcbd636,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0xfa9c10){const _0x2607b3=_0x124dfc;return this[_0x2607b3(0x1b6)](_0xfa9c10);}async['importDOCXToSnapshotAsync'](_0x415cac){const _0x4ddee7=_0x124dfc,_0x47ee6f=this[_0x4ddee7(0x1c1)][_0x4ddee7(0x1b5)](r[_0x4ddee7(0x1cf)]);if(!_0x47ee6f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x47ee6f[_0x4ddee7(0x1c7)](_0x415cac);}async['exportDOCXBySnapshotAsync'](_0x500d62){const _0x19ea26=_0x124dfc,_0x33421b=this['_injector'][_0x19ea26(0x1b5)](r[_0x19ea26(0x1cf)]);if(!_0x33421b)throw new Error(_0x19ea26(0x1bc));return _0x33421b[_0x19ea26(0x1cd)](_0x500d62);}async[_0x124dfc(0x1b8)](_0x46c0f2){const _0x2182c3=_0x124dfc,_0x31b430=this[_0x2182c3(0x1c1)][_0x2182c3(0x1b5)](r[_0x2182c3(0x1cf)]);if(!_0x31b430)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x31b430[_0x2182c3(0x1ba)](_0x46c0f2);}}function _0x1fdd(_0x5bb290,_0x2ebfd9){_0x5bb290=_0x5bb290-0x1b1;const _0x127682=_0x1276();let _0x1fdd98=_0x127682[_0x5bb290];return _0x1fdd98;}o[_0x124dfc(0x1d6)]['extend'](c);