@univerjs-pro/exchange-client 0.14.0 → 0.15.0-insiders.20251227-dafc157

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 +12 -12
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3647ec=_0x39ce;(function(_0x34ce27,_0x112d1c){const _0x1c1e5a=_0x39ce,_0xc35caf=_0x34ce27();while(!![]){try{const _0x28d12a=parseInt(_0x1c1e5a(0x114))/0x1*(-parseInt(_0x1c1e5a(0x11a))/0x2)+-parseInt(_0x1c1e5a(0x106))/0x3+-parseInt(_0x1c1e5a(0x10f))/0x4+-parseInt(_0x1c1e5a(0x107))/0x5+parseInt(_0x1c1e5a(0x105))/0x6+parseInt(_0x1c1e5a(0x108))/0x7*(-parseInt(_0x1c1e5a(0x103))/0x8)+parseInt(_0x1c1e5a(0x10e))/0x9;if(_0x28d12a===_0x112d1c)break;else _0xc35caf['push'](_0xc35caf['shift']());}catch(_0x299708){_0xc35caf['push'](_0xc35caf['shift']());}}}(_0x4992,0xbbc02));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x2caed4=>(_0x2caed4[_0x2caed4['UNIVER_UNKNOWN']=0x0]=_0x3647ec(0x10c),_0x2caed4[_0x2caed4[_0x3647ec(0x11b)]=0x1]=_0x3647ec(0x11b),_0x2caed4[_0x2caed4[_0x3647ec(0x117)]=0x2]=_0x3647ec(0x117),_0x2caed4[_0x2caed4[_0x3647ec(0x104)]=0x3]=_0x3647ec(0x104),_0x2caed4[_0x2caed4[_0x3647ec(0x11f)]=0x4]=_0x3647ec(0x11f),_0x2caed4[_0x2caed4[_0x3647ec(0x101)]=-0x1]=_0x3647ec(0x101),_0x2caed4))(i||{});function _0x4992(){const _0x2cfddf=['exportDOCXBySnapshotAsync','UNIVER_PROJECT','_injector','exportXLSXByUnitIdAsync','UNRECOGNIZED','exportDOCXBySnapshot','8acySbA','UNIVER_SLIDE','252990zXBiUJ','141588xGmpsB','7412625WvrzAv','1274770VegWKK','importXLSXToUnitId','FUniver','importFileToUnitId','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','40217607dsPEnn','4604172lFpWIg','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','exportXLSXByUnitId','exportXLSXBySnapshotAsync','4JfQLxt','exportDOCXByUnitIdAsync','exportXLSXBySnapshot','UNIVER_SHEET','get','IExchangeService','439444vBCEKE','UNIVER_DOC','importDOCXToSnapshot','importXLSXToSnapshotAsync'];_0x4992=function(){return _0x2cfddf;};return _0x4992();}function _0x39ce(_0x2ea4f0,_0x59b650){_0x2ea4f0=_0x2ea4f0-0xff;const _0x499224=_0x4992();let _0x39ce41=_0x499224[_0x2ea4f0];return _0x39ce41;}class c extends o[_0x3647ec(0x10a)]{async[_0x3647ec(0x109)](_0x3c8a07){return this['importXLSXToUnitIdAsync'](_0x3c8a07);}async[_0x3647ec(0x10d)](_0x2a3345){const _0x18aec5=_0x3647ec,_0x1a1f52=this['_injector'][_0x18aec5(0x118)](r[_0x18aec5(0x119)]);if(!_0x1a1f52)throw new Error(_0x18aec5(0x110));return _0x1a1f52[_0x18aec5(0x10b)](_0x2a3345,i[_0x18aec5(0x117)]);}async[_0x3647ec(0x111)](_0x125809){const _0x3330db=_0x3647ec;return this[_0x3330db(0x11d)](_0x125809);}async[_0x3647ec(0x11d)](_0x25f06){const _0x505425=_0x3647ec,_0x1e13fe=this[_0x505425(0xff)][_0x505425(0x118)](r[_0x505425(0x119)]);if(!_0x1e13fe)throw new Error(_0x505425(0x110));return _0x1e13fe[_0x505425(0x111)](_0x25f06);}async[_0x3647ec(0x112)](_0x5616cb){const _0x14e52d=_0x3647ec;return this[_0x14e52d(0x100)](_0x5616cb);}async['exportXLSXByUnitIdAsync'](_0x4762ba){const _0x3d5ef3=_0x3647ec,_0x36469a=this[_0x3d5ef3(0xff)][_0x3d5ef3(0x118)](r[_0x3d5ef3(0x119)]);if(!_0x36469a)throw new Error(_0x3d5ef3(0x110));return _0x36469a['exportXLSXByUnitId'](_0x4762ba);}async[_0x3647ec(0x116)](_0x47687d){const _0x57872f=_0x3647ec;return this[_0x57872f(0x113)](_0x47687d);}async[_0x3647ec(0x113)](_0x367946){const _0x4bc64c=_0x3647ec,_0x476dd3=this[_0x4bc64c(0xff)]['get'](r[_0x4bc64c(0x119)]);if(!_0x476dd3)throw new Error(_0x4bc64c(0x110));return _0x476dd3[_0x4bc64c(0x116)](_0x367946);}async['importDOCXToUnitId'](_0x53c4f6){return this['importDOCXToUnitIdAsync'](_0x53c4f6);}async['importDOCXToUnitIdAsync'](_0x30fcc0){const _0x45926f=_0x3647ec,_0x10fa2e=this[_0x45926f(0xff)]['get'](r['IExchangeService']);if(!_0x10fa2e)throw new Error(_0x45926f(0x110));return _0x10fa2e[_0x45926f(0x10b)](_0x30fcc0,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x12ea0c){return this['importDOCXToSnapshotAsync'](_0x12ea0c);}async['importDOCXToSnapshotAsync'](_0x81b65){const _0x4a5774=_0x3647ec,_0x2a21f0=this[_0x4a5774(0xff)][_0x4a5774(0x118)](r[_0x4a5774(0x119)]);if(!_0x2a21f0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a21f0[_0x4a5774(0x11c)](_0x81b65);}async[_0x3647ec(0x11e)](_0x3d21a3){const _0x3b5a4d=_0x3647ec,_0x4ece55=this[_0x3b5a4d(0xff)][_0x3b5a4d(0x118)](r[_0x3b5a4d(0x119)]);if(!_0x4ece55)throw new Error(_0x3b5a4d(0x110));return _0x4ece55[_0x3b5a4d(0x102)](_0x3d21a3);}async[_0x3647ec(0x115)](_0x36d80c){const _0x3e436b=_0x3647ec,_0x16694b=this[_0x3e436b(0xff)][_0x3e436b(0x118)](r[_0x3e436b(0x119)]);if(!_0x16694b)throw new Error(_0x3e436b(0x110));return _0x16694b['exportDOCXByUnitId'](_0x36d80c);}}o[_0x3647ec(0x10a)]['extend'](c);
1
+ 'use strict';const _0x4bbf89=_0xea90;function _0x4884(){const _0x44edab=['exportDOCXByUnitIdAsync','24GCbWjx','importDOCXToSnapshot','_injector','FUniver','UNIVER_PROJECT','exportXLSXByUnitIdAsync','exportDOCXBySnapshotAsync','UNRECOGNIZED','1120378GJVUJm','importFileToUnitId','9VuFyyw','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','importXLSXToSnapshot','673200xcnIEB','importXLSXToUnitId','6756290tcsnvw','154178ozPqYW','UNIVER_SLIDE','UNIVER_SHEET','exportXLSXBySnapshotAsync','get','exportXLSXByUnitId','726456tDkCuC','1001136ZFApnn','exportXLSXBySnapshot','IExchangeService','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','1nLxiyW','UNIVER_DOC','119870KwefsR','The\x20exchange\x20service\x20is\x20not\x20available','extend','UNIVER_UNKNOWN','exportDOCXByUnitId'];_0x4884=function(){return _0x44edab;};return _0x4884();}(function(_0x59e7a8,_0x2530c4){const _0x2526e0=_0xea90,_0x36d5d5=_0x59e7a8();while(!![]){try{const _0x2e8aaf=parseInt(_0x2526e0(0x103))/0x1*(-parseInt(_0x2526e0(0x11c))/0x2)+-parseInt(_0x2526e0(0x119))/0x3+-parseInt(_0x2526e0(0x122))/0x4+-parseInt(_0x2526e0(0x105))/0x5*(parseInt(_0x2526e0(0x10b))/0x6)+parseInt(_0x2526e0(0x113))/0x7+-parseInt(_0x2526e0(0x123))/0x8+-parseInt(_0x2526e0(0x115))/0x9*(-parseInt(_0x2526e0(0x11b))/0xa);if(_0x2e8aaf===_0x2530c4)break;else _0x36d5d5['push'](_0x36d5d5['shift']());}catch(_0x16f867){_0x36d5d5['push'](_0x36d5d5['shift']());}}}(_0x4884,0x201d6));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3548d2=>(_0x3548d2[_0x3548d2[_0x4bbf89(0x108)]=0x0]=_0x4bbf89(0x108),_0x3548d2[_0x3548d2[_0x4bbf89(0x104)]=0x1]='UNIVER_DOC',_0x3548d2[_0x3548d2[_0x4bbf89(0x11e)]=0x2]=_0x4bbf89(0x11e),_0x3548d2[_0x3548d2['UNIVER_SLIDE']=0x3]=_0x4bbf89(0x11d),_0x3548d2[_0x3548d2[_0x4bbf89(0x10f)]=0x4]='UNIVER_PROJECT',_0x3548d2[_0x3548d2[_0x4bbf89(0x112)]=-0x1]=_0x4bbf89(0x112),_0x3548d2))(i||{});function _0xea90(_0x2c9902,_0x5dbe8a){_0x2c9902=_0x2c9902-0xff;const _0x488427=_0x4884();let _0xea905a=_0x488427[_0x2c9902];return _0xea905a;}class c extends o[_0x4bbf89(0x10e)]{async[_0x4bbf89(0x11a)](_0x23f9d3){const _0x3ab754=_0x4bbf89;return this[_0x3ab754(0x102)](_0x23f9d3);}async[_0x4bbf89(0x102)](_0x1aa05e){const _0x1ab395=_0x4bbf89,_0x110a5d=this[_0x1ab395(0x10d)]['get'](r[_0x1ab395(0x100)]);if(!_0x110a5d)throw new Error(_0x1ab395(0x106));return _0x110a5d[_0x1ab395(0x114)](_0x1aa05e,i[_0x1ab395(0x11e)]);}async[_0x4bbf89(0x118)](_0x43e4db){const _0x215da5=_0x4bbf89;return this[_0x215da5(0x116)](_0x43e4db);}async[_0x4bbf89(0x116)](_0x3d94a5){const _0x486bd4=_0x4bbf89,_0x1fd351=this[_0x486bd4(0x10d)][_0x486bd4(0x120)](r[_0x486bd4(0x100)]);if(!_0x1fd351)throw new Error(_0x486bd4(0x106));return _0x1fd351['importXLSXToSnapshot'](_0x3d94a5);}async[_0x4bbf89(0x121)](_0x562be1){const _0x2ae5ad=_0x4bbf89;return this[_0x2ae5ad(0x110)](_0x562be1);}async[_0x4bbf89(0x110)](_0xef55d2){const _0x2cfe12=_0x4bbf89,_0x2b25bc=this[_0x2cfe12(0x10d)]['get'](r['IExchangeService']);if(!_0x2b25bc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2b25bc[_0x2cfe12(0x121)](_0xef55d2);}async[_0x4bbf89(0xff)](_0x6ba58a){const _0x2fca65=_0x4bbf89;return this[_0x2fca65(0x11f)](_0x6ba58a);}async[_0x4bbf89(0x11f)](_0x5ae523){const _0x4086f0=_0x4bbf89,_0x8eb1ff=this[_0x4086f0(0x10d)][_0x4086f0(0x120)](r[_0x4086f0(0x100)]);if(!_0x8eb1ff)throw new Error(_0x4086f0(0x106));return _0x8eb1ff[_0x4086f0(0xff)](_0x5ae523);}async['importDOCXToUnitId'](_0x329a9d){const _0x320fe5=_0x4bbf89;return this[_0x320fe5(0x101)](_0x329a9d);}async[_0x4bbf89(0x101)](_0x4ae0d6){const _0x480ea8=_0x4bbf89,_0x31831c=this['_injector'][_0x480ea8(0x120)](r[_0x480ea8(0x100)]);if(!_0x31831c)throw new Error(_0x480ea8(0x106));return _0x31831c['importFileToUnitId'](_0x4ae0d6,i[_0x480ea8(0x104)]);}async[_0x4bbf89(0x10c)](_0x34d434){const _0x294ad5=_0x4bbf89;return this[_0x294ad5(0x117)](_0x34d434);}async[_0x4bbf89(0x117)](_0x1800ce){const _0x2e89f8=_0x4bbf89,_0x27fd4f=this[_0x2e89f8(0x10d)]['get'](r[_0x2e89f8(0x100)]);if(!_0x27fd4f)throw new Error(_0x2e89f8(0x106));return _0x27fd4f[_0x2e89f8(0x10c)](_0x1800ce);}async[_0x4bbf89(0x111)](_0x5521ac){const _0x1e7bb7=_0x4bbf89,_0x2a3302=this[_0x1e7bb7(0x10d)][_0x1e7bb7(0x120)](r[_0x1e7bb7(0x100)]);if(!_0x2a3302)throw new Error(_0x1e7bb7(0x106));return _0x2a3302['exportDOCXBySnapshot'](_0x5521ac);}async[_0x4bbf89(0x10a)](_0x4dbfd7){const _0x3fc33f=_0x4bbf89,_0x2a349a=this['_injector'][_0x3fc33f(0x120)](r[_0x3fc33f(0x100)]);if(!_0x2a349a)throw new Error(_0x3fc33f(0x106));return _0x2a349a[_0x3fc33f(0x109)](_0x4dbfd7);}}o['FUniver'][_0x4bbf89(0x107)](c);