@univerjs-pro/exchange-client 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060724

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';const _0x2f8202=_0x4e99;(function(_0x263bba,_0x1dd293){const _0x2d4920=_0x4e99,_0x442a5a=_0x263bba();while(!![]){try{const _0x457769=parseInt(_0x2d4920(0x1dd))/0x1+-parseInt(_0x2d4920(0x1ca))/0x2+-parseInt(_0x2d4920(0x1cc))/0x3+-parseInt(_0x2d4920(0x1d6))/0x4+-parseInt(_0x2d4920(0x1be))/0x5*(parseInt(_0x2d4920(0x1d5))/0x6)+parseInt(_0x2d4920(0x1d2))/0x7+parseInt(_0x2d4920(0x1cd))/0x8;if(_0x457769===_0x1dd293)break;else _0x442a5a['push'](_0x442a5a['shift']());}catch(_0x4bd639){_0x442a5a['push'](_0x442a5a['shift']());}}}(_0x5b8c,0x455f9));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');function _0x5b8c(){const _0x58c533=['extend','exportXLSXByUnitIdAsync','importFileToUnitId','exportXLSXBySnapshot','exportDOCXByUnitIdAsync','FUniver','10424zoQOVW','importXLSXToSnapshotAsync','1279584XKiSOH','4769064GiTebm','importXLSXToUnitIdAsync','IExchangeService','UNIVER_PROJECT','UNRECOGNIZED','1263311TMyIZi','get','importDOCXToUnitId','4008hegyPB','116300ivPHss','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','UNIVER_DOC','importDOCXToSnapshot','UNIVER_SHEET','exportXLSXByUnitId','490738FGaJOL','3910dkldPH','exportXLSXBySnapshotAsync','_injector','importXLSXToSnapshot','UNIVER_SLIDE','importXLSXToUnitId'];_0x5b8c=function(){return _0x58c533;};return _0x5b8c();}var i=(_0x3412b8=>(_0x3412b8[_0x3412b8[_0x2f8202(0x1d8)]=0x0]=_0x2f8202(0x1d8),_0x3412b8[_0x3412b8['UNIVER_DOC']=0x1]=_0x2f8202(0x1d9),_0x3412b8[_0x3412b8[_0x2f8202(0x1db)]=0x2]=_0x2f8202(0x1db),_0x3412b8[_0x3412b8[_0x2f8202(0x1c2)]=0x3]=_0x2f8202(0x1c2),_0x3412b8[_0x3412b8[_0x2f8202(0x1d0)]=0x4]='UNIVER_PROJECT',_0x3412b8[_0x3412b8[_0x2f8202(0x1d1)]=-0x1]=_0x2f8202(0x1d1),_0x3412b8))(i||{});class c extends o[_0x2f8202(0x1c9)]{async[_0x2f8202(0x1c3)](_0x363268){return this['importXLSXToUnitIdAsync'](_0x363268);}async[_0x2f8202(0x1ce)](_0x5de0ce){const _0x5b56a6=_0x2f8202,_0x14b360=this['_injector'][_0x5b56a6(0x1d3)](r[_0x5b56a6(0x1cf)]);if(!_0x14b360)throw new Error(_0x5b56a6(0x1d7));return _0x14b360['importFileToUnitId'](_0x5de0ce,i[_0x5b56a6(0x1db)]);}async[_0x2f8202(0x1c1)](_0x42bbc4){const _0x287dcb=_0x2f8202;return this[_0x287dcb(0x1cb)](_0x42bbc4);}async['importXLSXToSnapshotAsync'](_0x4be07d){const _0x140305=_0x2f8202,_0x545351=this[_0x140305(0x1c0)][_0x140305(0x1d3)](r['IExchangeService']);if(!_0x545351)throw new Error(_0x140305(0x1d7));return _0x545351[_0x140305(0x1c1)](_0x4be07d);}async[_0x2f8202(0x1dc)](_0x38b176){const _0x490bd1=_0x2f8202;return this[_0x490bd1(0x1c5)](_0x38b176);}async[_0x2f8202(0x1c5)](_0x36fd27){const _0x47e9a9=_0x2f8202,_0x475e4e=this[_0x47e9a9(0x1c0)]['get'](r['IExchangeService']);if(!_0x475e4e)throw new Error(_0x47e9a9(0x1d7));return _0x475e4e[_0x47e9a9(0x1dc)](_0x36fd27);}async['exportXLSXBySnapshot'](_0x46a681){const _0x15f5f5=_0x2f8202;return this[_0x15f5f5(0x1bf)](_0x46a681);}async[_0x2f8202(0x1bf)](_0xd1f29a){const _0x273bb7=_0x2f8202,_0x3f0638=this['_injector']['get'](r[_0x273bb7(0x1cf)]);if(!_0x3f0638)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f0638[_0x273bb7(0x1c7)](_0xd1f29a);}async[_0x2f8202(0x1d4)](_0x9d6a5d){return this['importDOCXToUnitIdAsync'](_0x9d6a5d);}async['importDOCXToUnitIdAsync'](_0x48f3e7){const _0x472e38=_0x2f8202,_0x316163=this['_injector'][_0x472e38(0x1d3)](r[_0x472e38(0x1cf)]);if(!_0x316163)throw new Error(_0x472e38(0x1d7));return _0x316163[_0x472e38(0x1c6)](_0x48f3e7,i[_0x472e38(0x1d9)]);}async[_0x2f8202(0x1da)](_0x3d5675){return this['importDOCXToSnapshotAsync'](_0x3d5675);}async['importDOCXToSnapshotAsync'](_0x1ad174){const _0x84d9e5=_0x2f8202,_0x21fe4a=this[_0x84d9e5(0x1c0)][_0x84d9e5(0x1d3)](r[_0x84d9e5(0x1cf)]);if(!_0x21fe4a)throw new Error(_0x84d9e5(0x1d7));return _0x21fe4a[_0x84d9e5(0x1da)](_0x1ad174);}async['exportDOCXBySnapshotAsync'](_0x47559f){const _0x177573=_0x2f8202,_0x203c6b=this[_0x177573(0x1c0)]['get'](r[_0x177573(0x1cf)]);if(!_0x203c6b)throw new Error(_0x177573(0x1d7));return _0x203c6b['exportDOCXBySnapshot'](_0x47559f);}async[_0x2f8202(0x1c8)](_0x23f165){const _0x528ed7=_0x2f8202,_0x1b1fac=this['_injector'][_0x528ed7(0x1d3)](r['IExchangeService']);if(!_0x1b1fac)throw new Error(_0x528ed7(0x1d7));return _0x1b1fac['exportDOCXByUnitId'](_0x23f165);}}function _0x4e99(_0x3cc607,_0x2d831c){const _0x5b8c1c=_0x5b8c();return _0x4e99=function(_0x4e99f7,_0x2666ac){_0x4e99f7=_0x4e99f7-0x1be;let _0x31c314=_0x5b8c1c[_0x4e99f7];return _0x31c314;},_0x4e99(_0x3cc607,_0x2d831c);}o[_0x2f8202(0x1c9)][_0x2f8202(0x1c4)](c);
1
+ 'use strict';const _0x15ca32=_0x49dc;function _0x49dc(_0x586203,_0x25e16f){const _0x42fd42=_0x42fd();return _0x49dc=function(_0x49dcd7,_0x1bd997){_0x49dcd7=_0x49dcd7-0x105;let _0x5bb99a=_0x42fd42[_0x49dcd7];return _0x5bb99a;},_0x49dc(_0x586203,_0x25e16f);}function _0x42fd(){const _0x3ed2cf=['5526563mNyDqY','extend','UNIVER_UNKNOWN','24dadjEw','importDOCXToUnitIdAsync','get','exportDOCXByUnitIdAsync','importFileToUnitId','exportXLSXBySnapshot','importDOCXToUnitId','importDOCXToSnapshot','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','importXLSXToSnapshot','exportDOCXBySnapshotAsync','6DYRxAU','9udnnja','UNIVER_DOC','importXLSXToSnapshotAsync','UNIVER_PROJECT','4691346pqYVvd','UNRECOGNIZED','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','2791017MamSYM','1016580JOjvHP','_injector','UNIVER_SHEET','importXLSXToUnitId','exportXLSXByUnitId','IExchangeService','6129720aaenPU','470725AEVyMV','1897RzZBBV','338XlQIIS'];_0x42fd=function(){return _0x3ed2cf;};return _0x42fd();}(function(_0x56ac0e,_0x383caa){const _0x273829=_0x49dc,_0x5f480f=_0x56ac0e();while(!![]){try{const _0x5223f4=-parseInt(_0x273829(0x10a))/0x1*(-parseInt(_0x273829(0x10b))/0x2)+-parseInt(_0x273829(0x126))/0x3+parseInt(_0x273829(0x10f))/0x4*(parseInt(_0x273829(0x109))/0x5)+-parseInt(_0x273829(0x11d))/0x6*(-parseInt(_0x273829(0x10c))/0x7)+-parseInt(_0x273829(0x108))/0x8+-parseInt(_0x273829(0x11e))/0x9*(-parseInt(_0x273829(0x127))/0xa)+parseInt(_0x273829(0x122))/0xb;if(_0x5223f4===_0x383caa)break;else _0x5f480f['push'](_0x5f480f['shift']());}catch(_0x1391a3){_0x5f480f['push'](_0x5f480f['shift']());}}}(_0x42fd,0x7bac2));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x5eb290=>(_0x5eb290[_0x5eb290[_0x15ca32(0x10e)]=0x0]=_0x15ca32(0x10e),_0x5eb290[_0x5eb290['UNIVER_DOC']=0x1]=_0x15ca32(0x11f),_0x5eb290[_0x5eb290[_0x15ca32(0x129)]=0x2]=_0x15ca32(0x129),_0x5eb290[_0x5eb290['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5eb290[_0x5eb290[_0x15ca32(0x121)]=0x4]=_0x15ca32(0x121),_0x5eb290[_0x5eb290[_0x15ca32(0x123)]=-0x1]=_0x15ca32(0x123),_0x5eb290))(i||{});class c extends o[_0x15ca32(0x11a)]{async[_0x15ca32(0x105)](_0x230eb0){const _0x261305=_0x15ca32;return this[_0x261305(0x118)](_0x230eb0);}async[_0x15ca32(0x118)](_0x1a35a4){const _0x35c327=_0x15ca32,_0x3bf1be=this[_0x35c327(0x128)][_0x35c327(0x111)](r[_0x35c327(0x107)]);if(!_0x3bf1be)throw new Error(_0x35c327(0x119));return _0x3bf1be[_0x35c327(0x113)](_0x1a35a4,i[_0x35c327(0x129)]);}async[_0x15ca32(0x11b)](_0x1e7a61){return this['importXLSXToSnapshotAsync'](_0x1e7a61);}async[_0x15ca32(0x120)](_0x5b4ecf){const _0x31657=_0x15ca32,_0x3e0e89=this['_injector'][_0x31657(0x111)](r[_0x31657(0x107)]);if(!_0x3e0e89)throw new Error(_0x31657(0x119));return _0x3e0e89['importXLSXToSnapshot'](_0x5b4ecf);}async[_0x15ca32(0x106)](_0x9b6c32){const _0x5b852c=_0x15ca32;return this[_0x5b852c(0x117)](_0x9b6c32);}async[_0x15ca32(0x117)](_0x52867d){const _0x281167=_0x15ca32,_0x44d126=this[_0x281167(0x128)][_0x281167(0x111)](r['IExchangeService']);if(!_0x44d126)throw new Error(_0x281167(0x119));return _0x44d126['exportXLSXByUnitId'](_0x52867d);}async[_0x15ca32(0x114)](_0x384268){const _0x4d6259=_0x15ca32;return this[_0x4d6259(0x124)](_0x384268);}async['exportXLSXBySnapshotAsync'](_0x3e1c71){const _0x3e4acd=_0x15ca32,_0x6c8527=this[_0x3e4acd(0x128)][_0x3e4acd(0x111)](r['IExchangeService']);if(!_0x6c8527)throw new Error(_0x3e4acd(0x119));return _0x6c8527['exportXLSXBySnapshot'](_0x3e1c71);}async[_0x15ca32(0x115)](_0x452ac6){const _0xaf4da2=_0x15ca32;return this[_0xaf4da2(0x110)](_0x452ac6);}async[_0x15ca32(0x110)](_0x10b6cd){const _0x17140d=_0x15ca32,_0x5bb9a5=this[_0x17140d(0x128)][_0x17140d(0x111)](r[_0x17140d(0x107)]);if(!_0x5bb9a5)throw new Error(_0x17140d(0x119));return _0x5bb9a5['importFileToUnitId'](_0x10b6cd,i[_0x17140d(0x11f)]);}async[_0x15ca32(0x116)](_0x2ce14d){const _0x2a2761=_0x15ca32;return this[_0x2a2761(0x125)](_0x2ce14d);}async[_0x15ca32(0x125)](_0x5f02bf){const _0x10760b=_0x15ca32,_0x294924=this[_0x10760b(0x128)]['get'](r[_0x10760b(0x107)]);if(!_0x294924)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x294924[_0x10760b(0x116)](_0x5f02bf);}async[_0x15ca32(0x11c)](_0x342129){const _0x1a80b8=_0x15ca32,_0xd558ac=this[_0x1a80b8(0x128)]['get'](r['IExchangeService']);if(!_0xd558ac)throw new Error(_0x1a80b8(0x119));return _0xd558ac['exportDOCXBySnapshot'](_0x342129);}async[_0x15ca32(0x112)](_0x2b2527){const _0x15df9e=_0x15ca32,_0x109b30=this[_0x15df9e(0x128)]['get'](r['IExchangeService']);if(!_0x109b30)throw new Error(_0x15df9e(0x119));return _0x109b30['exportDOCXByUnitId'](_0x2b2527);}}o[_0x15ca32(0x11a)][_0x15ca32(0x10d)](c);