@univerjs-pro/exchange-client 0.7.0-nightly.202505221607 → 0.7.0-nightly.202505231607

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 (44) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +2 -2
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +2 -2
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/locale/en-US.d.ts +21 -2
  29. package/lib/types/locale/fa-IR.d.ts +2 -2
  30. package/lib/types/locale/fr-FR.d.ts +2 -2
  31. package/lib/types/locale/ru-RU.d.ts +2 -2
  32. package/lib/types/locale/vi-VN.d.ts +2 -2
  33. package/lib/types/locale/zh-CN.d.ts +3 -22
  34. package/lib/types/locale/zh-TW.d.ts +2 -2
  35. package/lib/umd/facade.js +1 -1
  36. package/lib/umd/index.js +2 -2
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ru-RU.js +1 -1
  41. package/lib/umd/locale/vi-VN.js +1 -1
  42. package/lib/umd/locale/zh-CN.js +1 -1
  43. package/lib/umd/locale/zh-TW.js +1 -1
  44. package/package.json +7 -7
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5da959=_0x4135;function _0x3d82(){const _0x11da53=['importXLSXToSnapshot','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importFileToUnitId','2305kcnvAh','FUniver','3943632QHZDoc','UNRECOGNIZED','importXLSXToUnitId','2435835UzMTkB','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','16KmGXqV','IExchangeService','exportXLSXBySnapshot','UNIVER_UNKNOWN','3812wwBWyk','UNIVER_DOC','_injector','exportDOCXBySnapshotAsync','importDOCXToSnapshot','37908792OUAbLB','exportDOCXByUnitIdAsync','importDOCXToUnitIdAsync','1957454UDyTdH','1454762zuHeMp','UNIVER_SHEET','UNIVER_SLIDE','exportXLSXByUnitIdAsync','3478993PbAIpj','extend','exportXLSXBySnapshotAsync','UNIVER_PROJECT','get'];_0x3d82=function(){return _0x11da53;};return _0x3d82();}(function(_0x258f9d,_0x39e865){const _0xf4bfe8=_0x4135,_0x616105=_0x258f9d();while(!![]){try{const _0x15167e=-parseInt(_0xf4bfe8(0xe8))/0x1+parseInt(_0xf4bfe8(0xe7))/0x2+-parseInt(_0xf4bfe8(0xd8))/0x3+-parseInt(_0xf4bfe8(0xdf))/0x4*(parseInt(_0xf4bfe8(0xd3))/0x5)+-parseInt(_0xf4bfe8(0xd5))/0x6+parseInt(_0xf4bfe8(0xec))/0x7*(-parseInt(_0xf4bfe8(0xdb))/0x8)+parseInt(_0xf4bfe8(0xe4))/0x9;if(_0x15167e===_0x39e865)break;else _0x616105['push'](_0x616105['shift']());}catch(_0x511ac5){_0x616105['push'](_0x616105['shift']());}}}(_0x3d82,0xcb7e1));const r=require(_0x5da959(0xcf)),o=require('@univerjs/core/facade');var i=(_0x5c1223=>(_0x5c1223[_0x5c1223[_0x5da959(0xde)]=0x0]=_0x5da959(0xde),_0x5c1223[_0x5c1223[_0x5da959(0xe0)]=0x1]=_0x5da959(0xe0),_0x5c1223[_0x5c1223[_0x5da959(0xe9)]=0x2]=_0x5da959(0xe9),_0x5c1223[_0x5c1223[_0x5da959(0xea)]=0x3]=_0x5da959(0xea),_0x5c1223[_0x5c1223['UNIVER_PROJECT']=0x4]=_0x5da959(0xef),_0x5c1223[_0x5c1223[_0x5da959(0xd6)]=-0x1]=_0x5da959(0xd6),_0x5c1223))(i||{});function _0x4135(_0x48ed90,_0x1923b5){const _0x3d82a0=_0x3d82();return _0x4135=function(_0x4135cd,_0x11dbf1){_0x4135cd=_0x4135cd-0xcf;let _0x57501f=_0x3d82a0[_0x4135cd];return _0x57501f;},_0x4135(_0x48ed90,_0x1923b5);}class c extends o[_0x5da959(0xd4)]{async[_0x5da959(0xd7)](_0x2cc734){const _0x4e9200=_0x5da959;return this[_0x4e9200(0xd9)](_0x2cc734);}async[_0x5da959(0xd9)](_0x2e9da4){const _0x236334=_0x5da959,_0x2ac6bf=this[_0x236334(0xe1)][_0x236334(0xf0)](r[_0x236334(0xdc)]);if(!_0x2ac6bf)throw new Error(_0x236334(0xd0));return _0x2ac6bf[_0x236334(0xd2)](_0x2e9da4,i[_0x236334(0xe9)]);}async[_0x5da959(0xf1)](_0x5cf597){return this['importXLSXToSnapshotAsync'](_0x5cf597);}async['importXLSXToSnapshotAsync'](_0x5a2632){const _0x17bb1c=_0x5da959,_0x239dc2=this[_0x17bb1c(0xe1)]['get'](r['IExchangeService']);if(!_0x239dc2)throw new Error(_0x17bb1c(0xd0));return _0x239dc2[_0x17bb1c(0xf1)](_0x5a2632);}async[_0x5da959(0xd1)](_0x48a0ed){const _0x565bff=_0x5da959;return this[_0x565bff(0xeb)](_0x48a0ed);}async[_0x5da959(0xeb)](_0x3f5b03){const _0xb4dc3d=_0x5da959,_0x454cd8=this[_0xb4dc3d(0xe1)]['get'](r[_0xb4dc3d(0xdc)]);if(!_0x454cd8)throw new Error(_0xb4dc3d(0xd0));return _0x454cd8[_0xb4dc3d(0xd1)](_0x3f5b03);}async[_0x5da959(0xdd)](_0x1e2f3b){return this['exportXLSXBySnapshotAsync'](_0x1e2f3b);}async[_0x5da959(0xee)](_0x5203ee){const _0x18d7ca=_0x5da959,_0x29b6e2=this['_injector'][_0x18d7ca(0xf0)](r[_0x18d7ca(0xdc)]);if(!_0x29b6e2)throw new Error(_0x18d7ca(0xd0));return _0x29b6e2[_0x18d7ca(0xdd)](_0x5203ee);}async['importDOCXToUnitId'](_0x500f61){const _0x14652e=_0x5da959;return this[_0x14652e(0xe6)](_0x500f61);}async['importDOCXToUnitIdAsync'](_0x76f64d){const _0x53424a=_0x5da959,_0x1ae573=this['_injector'][_0x53424a(0xf0)](r[_0x53424a(0xdc)]);if(!_0x1ae573)throw new Error(_0x53424a(0xd0));return _0x1ae573[_0x53424a(0xd2)](_0x76f64d,i['UNIVER_DOC']);}async[_0x5da959(0xe3)](_0x561664){const _0x5a930e=_0x5da959;return this[_0x5a930e(0xda)](_0x561664);}async[_0x5da959(0xda)](_0x29156e){const _0x82e662=_0x5da959,_0x55a0d5=this[_0x82e662(0xe1)][_0x82e662(0xf0)](r[_0x82e662(0xdc)]);if(!_0x55a0d5)throw new Error(_0x82e662(0xd0));return _0x55a0d5[_0x82e662(0xe3)](_0x29156e);}async[_0x5da959(0xe2)](_0x48d071){const _0x32628c=_0x5da959,_0x2f3af2=this[_0x32628c(0xe1)][_0x32628c(0xf0)](r[_0x32628c(0xdc)]);if(!_0x2f3af2)throw new Error(_0x32628c(0xd0));return _0x2f3af2['exportDOCXBySnapshot'](_0x48d071);}async[_0x5da959(0xe5)](_0x2ce37c){const _0x28deac=_0x5da959,_0x3ac87d=this[_0x28deac(0xe1)][_0x28deac(0xf0)](r[_0x28deac(0xdc)]);if(!_0x3ac87d)throw new Error(_0x28deac(0xd0));return _0x3ac87d['exportDOCXByUnitId'](_0x2ce37c);}}o['FUniver'][_0x5da959(0xed)](c);
1
+ 'use strict';function _0x4523(){const _0x18d9a7=['exportXLSXBySnapshotAsync','get','importXLSXToSnapshot','extend','importDOCXToSnapshot','@univerjs-pro/exchange-client','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','788nDJpfZ','13820679uGQzFX','_injector','1440JnHhNv','FUniver','1156716dKItgh','exportDOCXBySnapshot','importFileToUnitId','679728YOJUKX','exportXLSXBySnapshot','importDOCXToSnapshotAsync','345VxUkfE','UNIVER_DOC','UNIVER_SHEET','324ptOrsf','UNIVER_UNKNOWN','UNIVER_SLIDE','2715881yAjZeg','The\x20exchange\x20service\x20is\x20not\x20available','3793512XCmnSu','exportXLSXByUnitId','importDOCXToUnitId','@univerjs/core/facade','exportXLSXByUnitIdAsync','IExchangeService','importDOCXToUnitIdAsync','UNRECOGNIZED','exportDOCXByUnitId','exportDOCXBySnapshotAsync'];_0x4523=function(){return _0x18d9a7;};return _0x4523();}function _0x5b9b(_0x1dedb4,_0x2b249e){const _0x4523b0=_0x4523();return _0x5b9b=function(_0x5b9b86,_0x469b96){_0x5b9b86=_0x5b9b86-0xf5;let _0x33e09e=_0x4523b0[_0x5b9b86];return _0x33e09e;},_0x5b9b(_0x1dedb4,_0x2b249e);}const _0x3acc44=_0x5b9b;(function(_0x123801,_0x4d69ce){const _0x26065a=_0x5b9b,_0x1b257f=_0x123801();while(!![]){try{const _0x3cf2da=-parseInt(_0x26065a(0x103))/0x1+-parseInt(_0x26065a(0x109))/0x2*(parseInt(_0x26065a(0xfe))/0x3)+-parseInt(_0x26065a(0xfb))/0x4*(parseInt(_0x26065a(0x106))/0x5)+-parseInt(_0x26065a(0x100))/0x6+parseInt(_0x26065a(0x10c))/0x7+-parseInt(_0x26065a(0x10e))/0x8+parseInt(_0x26065a(0xfc))/0x9;if(_0x3cf2da===_0x4d69ce)break;else _0x1b257f['push'](_0x1b257f['shift']());}catch(_0x2cce46){_0x1b257f['push'](_0x1b257f['shift']());}}}(_0x4523,0x768b6));const r=require(_0x3acc44(0xf8)),o=require(_0x3acc44(0x111));var i=(_0x1e5008=>(_0x1e5008[_0x1e5008[_0x3acc44(0x10a)]=0x0]=_0x3acc44(0x10a),_0x1e5008[_0x1e5008[_0x3acc44(0x107)]=0x1]=_0x3acc44(0x107),_0x1e5008[_0x1e5008[_0x3acc44(0x108)]=0x2]=_0x3acc44(0x108),_0x1e5008[_0x1e5008[_0x3acc44(0x10b)]=0x3]='UNIVER_SLIDE',_0x1e5008[_0x1e5008['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1e5008[_0x1e5008[_0x3acc44(0x115)]=-0x1]=_0x3acc44(0x115),_0x1e5008))(i||{});class c extends o[_0x3acc44(0xff)]{async['importXLSXToUnitId'](_0x5ccc65){return this['importXLSXToUnitIdAsync'](_0x5ccc65);}async[_0x3acc44(0xfa)](_0x25142d){const _0x1f9a89=_0x3acc44,_0x3be3ca=this[_0x1f9a89(0xfd)][_0x1f9a89(0x119)](r[_0x1f9a89(0x113)]);if(!_0x3be3ca)throw new Error(_0x1f9a89(0x10d));return _0x3be3ca[_0x1f9a89(0x102)](_0x25142d,i['UNIVER_SHEET']);}async[_0x3acc44(0xf5)](_0x4e8cd3){const _0x37329d=_0x3acc44;return this[_0x37329d(0xf9)](_0x4e8cd3);}async['importXLSXToSnapshotAsync'](_0x3c8a23){const _0xfecf6b=_0x3acc44,_0x2c02ea=this[_0xfecf6b(0xfd)][_0xfecf6b(0x119)](r[_0xfecf6b(0x113)]);if(!_0x2c02ea)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c02ea[_0xfecf6b(0xf5)](_0x3c8a23);}async[_0x3acc44(0x10f)](_0x432e04){const _0x3e2d40=_0x3acc44;return this[_0x3e2d40(0x112)](_0x432e04);}async[_0x3acc44(0x112)](_0x974172){const _0xf9bafc=_0x3acc44,_0x527cee=this[_0xf9bafc(0xfd)][_0xf9bafc(0x119)](r[_0xf9bafc(0x113)]);if(!_0x527cee)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x527cee[_0xf9bafc(0x10f)](_0x974172);}async[_0x3acc44(0x104)](_0x130dca){const _0x1dc630=_0x3acc44;return this[_0x1dc630(0x118)](_0x130dca);}async[_0x3acc44(0x118)](_0x5e2943){const _0x51ff64=_0x3acc44,_0x1a2662=this[_0x51ff64(0xfd)][_0x51ff64(0x119)](r[_0x51ff64(0x113)]);if(!_0x1a2662)throw new Error(_0x51ff64(0x10d));return _0x1a2662[_0x51ff64(0x104)](_0x5e2943);}async[_0x3acc44(0x110)](_0x440b00){return this['importDOCXToUnitIdAsync'](_0x440b00);}async[_0x3acc44(0x114)](_0x2dc137){const _0x62e6af=_0x3acc44,_0x26ce41=this[_0x62e6af(0xfd)][_0x62e6af(0x119)](r[_0x62e6af(0x113)]);if(!_0x26ce41)throw new Error(_0x62e6af(0x10d));return _0x26ce41[_0x62e6af(0x102)](_0x2dc137,i[_0x62e6af(0x107)]);}async[_0x3acc44(0xf7)](_0x43311c){const _0x538d72=_0x3acc44;return this[_0x538d72(0x105)](_0x43311c);}async[_0x3acc44(0x105)](_0x110c37){const _0x34e6ef=_0x3acc44,_0x4acbe4=this[_0x34e6ef(0xfd)][_0x34e6ef(0x119)](r[_0x34e6ef(0x113)]);if(!_0x4acbe4)throw new Error(_0x34e6ef(0x10d));return _0x4acbe4[_0x34e6ef(0xf7)](_0x110c37);}async[_0x3acc44(0x117)](_0x4eb202){const _0x347808=_0x3acc44,_0x29dde7=this['_injector'][_0x347808(0x119)](r[_0x347808(0x113)]);if(!_0x29dde7)throw new Error(_0x347808(0x10d));return _0x29dde7[_0x347808(0x101)](_0x4eb202);}async['exportDOCXByUnitIdAsync'](_0x4f1dc8){const _0x194188=_0x3acc44,_0x4e399a=this[_0x194188(0xfd)][_0x194188(0x119)](r[_0x194188(0x113)]);if(!_0x4e399a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4e399a[_0x194188(0x116)](_0x4f1dc8);}}o[_0x3acc44(0xff)][_0x3acc44(0xf6)](c);