@univerjs-pro/exchange-client 0.7.0-nightly.202505211607 → 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 _0x1e3800=_0xdcdd;(function(_0xee1520,_0x120326){const _0x781025=_0xdcdd,_0x96f690=_0xee1520();while(!![]){try{const _0x2b26b2=parseInt(_0x781025(0x1a6))/0x1*(parseInt(_0x781025(0x18f))/0x2)+-parseInt(_0x781025(0x18e))/0x3+parseInt(_0x781025(0x19c))/0x4*(-parseInt(_0x781025(0x1a4))/0x5)+-parseInt(_0x781025(0x1a0))/0x6+-parseInt(_0x781025(0x18c))/0x7+parseInt(_0x781025(0x197))/0x8*(-parseInt(_0x781025(0x1a2))/0x9)+parseInt(_0x781025(0x191))/0xa;if(_0x2b26b2===_0x120326)break;else _0x96f690['push'](_0x96f690['shift']());}catch(_0x22a03f){_0x96f690['push'](_0x96f690['shift']());}}}(_0x7709,0xacb39));function _0xdcdd(_0x514219,_0x51b623){const _0x770913=_0x7709();return _0xdcdd=function(_0xdcdd05,_0x57e4c1){_0xdcdd05=_0xdcdd05-0x187;let _0x501231=_0x770913[_0xdcdd05];return _0x501231;},_0xdcdd(_0x514219,_0x51b623);}const r=require(_0x1e3800(0x194)),o=require(_0x1e3800(0x1a1));var i=(_0x50e657=>(_0x50e657[_0x50e657[_0x1e3800(0x190)]=0x0]=_0x1e3800(0x190),_0x50e657[_0x50e657['UNIVER_DOC']=0x1]=_0x1e3800(0x189),_0x50e657[_0x50e657['UNIVER_SHEET']=0x2]=_0x1e3800(0x1a8),_0x50e657[_0x50e657[_0x1e3800(0x196)]=0x3]=_0x1e3800(0x196),_0x50e657[_0x50e657['UNIVER_PROJECT']=0x4]=_0x1e3800(0x19a),_0x50e657[_0x50e657['UNRECOGNIZED']=-0x1]=_0x1e3800(0x1a5),_0x50e657))(i||{});class c extends o['FUniver']{async[_0x1e3800(0x198)](_0x1f6f88){const _0x42be70=_0x1e3800;return this[_0x42be70(0x1aa)](_0x1f6f88);}async[_0x1e3800(0x1aa)](_0x2c3b83){const _0x6c6b22=_0x1e3800,_0x346423=this[_0x6c6b22(0x199)][_0x6c6b22(0x18a)](r[_0x6c6b22(0x18d)]);if(!_0x346423)throw new Error(_0x6c6b22(0x18b));return _0x346423['importFileToUnitId'](_0x2c3b83,i[_0x6c6b22(0x1a8)]);}async[_0x1e3800(0x19d)](_0x31ac73){const _0x2dc420=_0x1e3800;return this[_0x2dc420(0x19b)](_0x31ac73);}async['importXLSXToSnapshotAsync'](_0xe2009){const _0x3ba552=_0x1e3800,_0x175a89=this['_injector'][_0x3ba552(0x18a)](r[_0x3ba552(0x18d)]);if(!_0x175a89)throw new Error(_0x3ba552(0x18b));return _0x175a89['importXLSXToSnapshot'](_0xe2009);}async[_0x1e3800(0x1ab)](_0x1df338){return this['exportXLSXByUnitIdAsync'](_0x1df338);}async[_0x1e3800(0x19e)](_0xc2abb7){const _0x13e495=_0x1e3800,_0x48f99e=this[_0x13e495(0x199)][_0x13e495(0x18a)](r[_0x13e495(0x18d)]);if(!_0x48f99e)throw new Error(_0x13e495(0x18b));return _0x48f99e[_0x13e495(0x1ab)](_0xc2abb7);}async['exportXLSXBySnapshot'](_0x31ea5c){const _0x39fe75=_0x1e3800;return this[_0x39fe75(0x188)](_0x31ea5c);}async[_0x1e3800(0x188)](_0x573c57){const _0x489bce=_0x1e3800,_0x503161=this['_injector'][_0x489bce(0x18a)](r[_0x489bce(0x18d)]);if(!_0x503161)throw new Error(_0x489bce(0x18b));return _0x503161[_0x489bce(0x1ac)](_0x573c57);}async['importDOCXToUnitId'](_0x487388){return this['importDOCXToUnitIdAsync'](_0x487388);}async[_0x1e3800(0x1a7)](_0x671521){const _0x5d6437=_0x1e3800,_0x375cb8=this[_0x5d6437(0x199)]['get'](r[_0x5d6437(0x18d)]);if(!_0x375cb8)throw new Error(_0x5d6437(0x18b));return _0x375cb8['importFileToUnitId'](_0x671521,i[_0x5d6437(0x189)]);}async[_0x1e3800(0x1a3)](_0x2ea92f){const _0x10ff05=_0x1e3800;return this[_0x10ff05(0x19f)](_0x2ea92f);}async[_0x1e3800(0x19f)](_0x463664){const _0x1789e7=_0x1e3800,_0x24a8eb=this[_0x1789e7(0x199)][_0x1789e7(0x18a)](r[_0x1789e7(0x18d)]);if(!_0x24a8eb)throw new Error(_0x1789e7(0x18b));return _0x24a8eb[_0x1789e7(0x1a3)](_0x463664);}async[_0x1e3800(0x193)](_0x223190){const _0xd0be8f=_0x1e3800,_0x50cf9c=this['_injector']['get'](r['IExchangeService']);if(!_0x50cf9c)throw new Error(_0xd0be8f(0x18b));return _0x50cf9c[_0xd0be8f(0x195)](_0x223190);}async['exportDOCXByUnitIdAsync'](_0x44d50c){const _0x2fb0be=_0x1e3800,_0xc5bf1e=this[_0x2fb0be(0x199)][_0x2fb0be(0x18a)](r[_0x2fb0be(0x18d)]);if(!_0xc5bf1e)throw new Error(_0x2fb0be(0x18b));return _0xc5bf1e[_0x2fb0be(0x192)](_0x44d50c);}}function _0x7709(){const _0x367991=['exportXLSXBySnapshotAsync','UNIVER_DOC','get','The\x20exchange\x20service\x20is\x20not\x20available','3919041epLLwv','IExchangeService','3505596Igauod','12VOZmRa','UNIVER_UNKNOWN','40645110OoRDuo','exportDOCXByUnitId','exportDOCXBySnapshotAsync','@univerjs-pro/exchange-client','exportDOCXBySnapshot','UNIVER_SLIDE','344ghiKlf','importXLSXToUnitId','_injector','UNIVER_PROJECT','importXLSXToSnapshotAsync','12004nPcula','importXLSXToSnapshot','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','4764210VIHVHv','@univerjs/core/facade','171009opJIvq','importDOCXToSnapshot','95DmGzUZ','UNRECOGNIZED','6561YGocSd','importDOCXToUnitIdAsync','UNIVER_SHEET','extend','importXLSXToUnitIdAsync','exportXLSXByUnitId','exportXLSXBySnapshot','FUniver'];_0x7709=function(){return _0x367991;};return _0x7709();}o[_0x1e3800(0x187)][_0x1e3800(0x1a9)](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);