@univerjs-pro/exchange-client 0.19.0 → 0.20.0

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 (58) 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/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/types/facade/f-univer.d.ts +0 -86
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/sk-SK.js +1 -1
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +8 -8
@@ -1 +1 @@
1
- const _0x130d25=_0x220b;(function(_0x4137e6,_0x2a27b6){const _0x3054cc=_0x220b,_0xe22eab=_0x4137e6();while(!![]){try{const _0x47cf75=parseInt(_0x3054cc(0x146))/0x1+parseInt(_0x3054cc(0x147))/0x2*(-parseInt(_0x3054cc(0x139))/0x3)+parseInt(_0x3054cc(0x133))/0x4*(-parseInt(_0x3054cc(0x13b))/0x5)+parseInt(_0x3054cc(0x130))/0x6*(-parseInt(_0x3054cc(0x13f))/0x7)+-parseInt(_0x3054cc(0x131))/0x8+-parseInt(_0x3054cc(0x142))/0x9+parseInt(_0x3054cc(0x134))/0xa;if(_0x47cf75===_0x2a27b6)break;else _0xe22eab['push'](_0xe22eab['shift']());}catch(_0x5d46bf){_0xe22eab['push'](_0xe22eab['shift']());}}}(_0x2d17,0xae6c6));const e={'exchange':{'file':_0x130d25(0x141),'upload':_0x130d25(0x136),'download':_0x130d25(0x143),'uploading':_0x130d25(0x135),'uploadSuccess':_0x130d25(0x13d),'uploadSuccessTip':_0x130d25(0x13a),'downloading':_0x130d25(0x145),'downloadSuccess':_0x130d25(0x144),'unknownMistake':'Neznáma\x20chyba','networkError':_0x130d25(0x137),'tooLarge':_0x130d25(0x132),'internalError':'Interná\x20neznáma\x20chyba','interrupt':_0x130d25(0x13e),'fileTypeError':_0x130d25(0x138),'wait':_0x130d25(0x140),'cancel':'Zrušiť','uploadAgain':_0x130d25(0x13c)}};export{e as default};function _0x220b(_0x6fefb3,_0x17fe27){_0x6fefb3=_0x6fefb3-0x130;const _0x2d1715=_0x2d17();let _0x220b6c=_0x2d1715[_0x6fefb3];return _0x220b6c;}function _0x2d17(){const _0x314399=['Sťahovanie','531221Yqxmox','58234yUWfVO','30xpdeHh','1771672cfeWYt','Dáta\x20sú\x20príliš\x20veľké','204cApYJD','33400860bnItiJ','Nahrávanie','Otvoriť\x20(súbor)','Sieťová\x20chyba','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','111jRAsoI','Úspešne\x20nahraných\x20{0}\x20súborov','60110OvuwuS','Nahrať\x20znova','Súbor\x20bol\x20úspešne\x20nahraný','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','633367wiJSUa','Prosím\x20počkajte...','Súbor','7132986yYZREq','Uložiť\x20ako','Sťahovanie\x20úspešné'];_0x2d17=function(){return _0x314399;};return _0x2d17();}
1
+ function _0x3da3(){const _0x3c6ce2=['Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','304110WtaUnL','63dqCsoC','Neznáma\x20chyba','Interná\x20neznáma\x20chyba','274184ubVnPT','6EvzwYb','Sieťová\x20chyba','Nahrať\x20znova','1251340UBdVzr','7280603TqqpYD','Prosím\x20počkajte...','Uložiť\x20ako','5rOdZkQ','Súbor','Zrušiť','Otvoriť\x20(súbor)','Sťahovanie','Sťahovanie\x20úspešné','596855eVQmUJ','195122tTItWf','Dáta\x20sú\x20príliš\x20veľké','132657ByERew','4sCxjiW','Úspešne\x20nahraných\x20{0}\x20súborov'];_0x3da3=function(){return _0x3c6ce2;};return _0x3da3();}const _0x811d7c=_0x4a4a;(function(_0x2c9518,_0x1f87bd){const _0x1ec7b2=_0x4a4a,_0x2d5b14=_0x2c9518();while(!![]){try{const _0x44b5ef=-parseInt(_0x1ec7b2(0xea))/0x1*(parseInt(_0x1ec7b2(0xf1))/0x2)+-parseInt(_0x1ec7b2(0xf3))/0x3*(parseInt(_0x1ec7b2(0xf4))/0x4)+parseInt(_0x1ec7b2(0xe6))/0x5+-parseInt(_0x1ec7b2(0xe3))/0x6*(-parseInt(_0x1ec7b2(0xf0))/0x7)+parseInt(_0x1ec7b2(0xe2))/0x8+parseInt(_0x1ec7b2(0xdf))/0x9*(-parseInt(_0x1ec7b2(0xde))/0xa)+parseInt(_0x1ec7b2(0xe7))/0xb;if(_0x44b5ef===_0x1f87bd)break;else _0x2d5b14['push'](_0x2d5b14['shift']());}catch(_0x1743f7){_0x2d5b14['push'](_0x2d5b14['shift']());}}}(_0x3da3,0x4603a));function _0x4a4a(_0x4135df,_0x365f2a){_0x4135df=_0x4135df-0xde;const _0x3da39a=_0x3da3();let _0x4a4a67=_0x3da39a[_0x4135df];return _0x4a4a67;}const e={'exchange':{'file':_0x811d7c(0xeb),'upload':_0x811d7c(0xed),'download':_0x811d7c(0xe9),'uploading':'Nahrávanie','uploadSuccess':'Súbor\x20bol\x20úspešne\x20nahraný','uploadSuccessTip':_0x811d7c(0xf5),'downloading':_0x811d7c(0xee),'downloadSuccess':_0x811d7c(0xef),'unknownMistake':_0x811d7c(0xe0),'networkError':_0x811d7c(0xe4),'tooLarge':_0x811d7c(0xf2),'internalError':_0x811d7c(0xe1),'interrupt':'Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','fileTypeError':_0x811d7c(0xf6),'wait':_0x811d7c(0xe8),'cancel':_0x811d7c(0xec),'uploadAgain':_0x811d7c(0xe5)}};export{e as default};
@@ -1 +1 @@
1
- const _0x2da62a=_0xd05a;(function(_0x1e2320,_0x14121c){const _0x1fa6a9=_0xd05a,_0x74e44d=_0x1e2320();while(!![]){try{const _0x4bafb6=-parseInt(_0x1fa6a9(0x152))/0x1*(-parseInt(_0x1fa6a9(0x15c))/0x2)+parseInt(_0x1fa6a9(0x161))/0x3*(-parseInt(_0x1fa6a9(0x15e))/0x4)+-parseInt(_0x1fa6a9(0x14f))/0x5+parseInt(_0x1fa6a9(0x155))/0x6+parseInt(_0x1fa6a9(0x14c))/0x7+parseInt(_0x1fa6a9(0x154))/0x8*(parseInt(_0x1fa6a9(0x15d))/0x9)+-parseInt(_0x1fa6a9(0x151))/0xa;if(_0x4bafb6===_0x14121c)break;else _0x74e44d['push'](_0x74e44d['shift']());}catch(_0x18ef38){_0x74e44d['push'](_0x74e44d['shift']());}}}(_0x1ce8,0x88c6f));const e={'exchange':{'file':_0x2da62a(0x15a),'upload':_0x2da62a(0x14d),'download':_0x2da62a(0x14b),'uploading':_0x2da62a(0x160),'uploadSuccess':_0x2da62a(0x15b),'uploadSuccessTip':_0x2da62a(0x150),'downloading':_0x2da62a(0x158),'downloadSuccess':_0x2da62a(0x14e),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':_0x2da62a(0x159),'tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0x2da62a(0x156),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':'Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','wait':_0x2da62a(0x153),'cancel':_0x2da62a(0x157),'uploadAgain':_0x2da62a(0x15f)}};function _0xd05a(_0x173c3a,_0x17c523){_0x173c3a=_0x173c3a-0x14b;const _0x1ce84f=_0x1ce8();let _0xd05a32=_0x1ce84f[_0x173c3a];return _0xd05a32;}export{e as default};function _0x1ce8(){const _0x26a5df=['2169030XtsvtA','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','5866360pYwbMe','1olVPNC','Vui\x20lòng\x20đợi...','8xJtWZq','4772532qWAtPa','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Hủy\x20bỏ','Đang\x20tải\x20xuống','Lỗi\x20mạng','Tệp','Tải\x20lên\x20tệp\x20thành\x20công','582614rPlfbY','6214563vXrtlc','65692FHTGWE','Tải\x20lên\x20lại','Đang\x20tải\x20lên','78RHJleQ','Lưu\x20dưới\x20dạng','1613101xkUDdQ','Mở\x20(Tệp)','Tải\x20xuống\x20thành\x20công'];_0x1ce8=function(){return _0x26a5df;};return _0x1ce8();}
1
+ function _0x10d8(_0x2f47ce,_0x15b083){_0x2f47ce=_0x2f47ce-0x139;const _0x46ee84=_0x46ee();let _0x10d8b1=_0x46ee84[_0x2f47ce];return _0x10d8b1;}const _0x49fffa=_0x10d8;function _0x46ee(){const _0x2286b2=['1587788fSDuvq','1812111pDxEJU','Lưu\x20dưới\x20dạng','8180904hFUmAa','Tệp','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Lỗi\x20không\x20xác\x20định','1239cgatkW','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Tải\x20lên\x20tệp\x20thành\x20công','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Hủy\x20bỏ','2364RgmQPx','3436270xCWTgS','1hHxKvT','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Vui\x20lòng\x20đợi...','504iCPjJt','4oQhDgn','Lỗi\x20mạng','44370drnESb','Tải\x20xuống\x20thành\x20công','19967794vWhjsz'];_0x46ee=function(){return _0x2286b2;};return _0x46ee();}(function(_0x11e607,_0x4d6a85){const _0x56835a=_0x10d8,_0x24b749=_0x11e607();while(!![]){try{const _0x433e2a=-parseInt(_0x56835a(0x147))/0x1*(-parseInt(_0x56835a(0x139))/0x2)+-parseInt(_0x56835a(0x13a))/0x3+-parseInt(_0x56835a(0x14b))/0x4*(parseInt(_0x56835a(0x146))/0x5)+-parseInt(_0x56835a(0x145))/0x6*(-parseInt(_0x56835a(0x140))/0x7)+-parseInt(_0x56835a(0x13c))/0x8+parseInt(_0x56835a(0x14a))/0x9*(parseInt(_0x56835a(0x14d))/0xa)+parseInt(_0x56835a(0x14f))/0xb;if(_0x433e2a===_0x4d6a85)break;else _0x24b749['push'](_0x24b749['shift']());}catch(_0x4d346a){_0x24b749['push'](_0x24b749['shift']());}}}(_0x46ee,0x95c4e));const e={'exchange':{'file':_0x49fffa(0x13d),'upload':'Mở\x20(Tệp)','download':_0x49fffa(0x13b),'uploading':'Đang\x20tải\x20lên','uploadSuccess':_0x49fffa(0x142),'uploadSuccessTip':_0x49fffa(0x148),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x49fffa(0x14e),'unknownMistake':_0x49fffa(0x13f),'networkError':_0x49fffa(0x14c),'tooLarge':_0x49fffa(0x141),'internalError':_0x49fffa(0x143),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x49fffa(0x13e),'wait':_0x49fffa(0x149),'cancel':_0x49fffa(0x144),'uploadAgain':'Tải\x20lên\x20lại'}};export{e as default};
@@ -1 +1 @@
1
- const _0x78ad30=_0x2f1e;(function(_0xc0a807,_0x32e709){const _0x55b12e=_0x2f1e,_0x16b317=_0xc0a807();while(!![]){try{const _0x500985=parseInt(_0x55b12e(0xdd))/0x1*(-parseInt(_0x55b12e(0xd9))/0x2)+-parseInt(_0x55b12e(0xe4))/0x3*(-parseInt(_0x55b12e(0xdf))/0x4)+-parseInt(_0x55b12e(0xdb))/0x5+-parseInt(_0x55b12e(0xd8))/0x6*(parseInt(_0x55b12e(0xe5))/0x7)+-parseInt(_0x55b12e(0xd0))/0x8*(parseInt(_0x55b12e(0xe0))/0x9)+parseInt(_0x55b12e(0xd5))/0xa+parseInt(_0x55b12e(0xd3))/0xb*(parseInt(_0x55b12e(0xd4))/0xc);if(_0x500985===_0x32e709)break;else _0x16b317['push'](_0x16b317['shift']());}catch(_0x3a686c){_0x16b317['push'](_0x16b317['shift']());}}}(_0x55d7,0x9245a));const e={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x78ad30(0xdc),'uploading':_0x78ad30(0xe2),'uploadSuccess':'文件上传成功','uploadSuccessTip':_0x78ad30(0xd6),'downloading':'下载中','downloadSuccess':_0x78ad30(0xd1),'unknownMistake':_0x78ad30(0xda),'networkError':'网络异常','tooLarge':_0x78ad30(0xd7),'internalError':_0x78ad30(0xde),'interrupt':_0x78ad30(0xe1),'fileTypeError':_0x78ad30(0xe3),'wait':_0x78ad30(0xd2),'cancel':'取消','uploadAgain':'再次上传'}};export{e as default};function _0x2f1e(_0x115951,_0x355753){_0x115951=_0x115951-0xd0;const _0x55d75e=_0x55d7();let _0x2f1efd=_0x55d75e[_0x115951];return _0x2f1efd;}function _0x55d7(){const _0x2908d2=['4233540BzeAZY','另存为','888634FWgUoi','内部未知错误','188SOfzoN','9921438MBsqFC','网络连接中断,文件上传失败','上传中','所选文件\x20[{0}]\x20不支持上传','14697SJBVhT','277403ePpqUv','8GCLoCE','下载成功','请稍等...','23676059BcCHij','12RApjTK','11731190eocfen','{0}个文件上传成功','数据流过大','18wteaTs','2LwjJqt','未知错误'];_0x55d7=function(){return _0x2908d2;};return _0x55d7();}
1
+ function _0x2f11(_0x12fca3,_0x591fe9){_0x12fca3=_0x12fca3-0x1cf;const _0x1fd3d6=_0x1fd3();let _0x2f1129=_0x1fd3d6[_0x12fca3];return _0x2f1129;}const _0x5e0c37=_0x2f11;(function(_0xf307da,_0x49182b){const _0x333872=_0x2f11,_0x3fadef=_0xf307da();while(!![]){try{const _0x10bee0=parseInt(_0x333872(0x1e0))/0x1+-parseInt(_0x333872(0x1da))/0x2*(-parseInt(_0x333872(0x1e1))/0x3)+-parseInt(_0x333872(0x1dd))/0x4*(parseInt(_0x333872(0x1e3))/0x5)+parseInt(_0x333872(0x1db))/0x6*(parseInt(_0x333872(0x1e2))/0x7)+parseInt(_0x333872(0x1d6))/0x8+-parseInt(_0x333872(0x1d2))/0x9*(parseInt(_0x333872(0x1d4))/0xa)+parseInt(_0x333872(0x1cf))/0xb*(-parseInt(_0x333872(0x1d9))/0xc);if(_0x10bee0===_0x49182b)break;else _0x3fadef['push'](_0x3fadef['shift']());}catch(_0xee6dc){_0x3fadef['push'](_0x3fadef['shift']());}}}(_0x1fd3,0xdbd41));const e={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x5e0c37(0x1d5),'uploading':_0x5e0c37(0x1e7),'uploadSuccess':_0x5e0c37(0x1e4),'uploadSuccessTip':_0x5e0c37(0x1e6),'downloading':_0x5e0c37(0x1d8),'downloadSuccess':_0x5e0c37(0x1e5),'unknownMistake':_0x5e0c37(0x1dc),'networkError':_0x5e0c37(0x1d3),'tooLarge':_0x5e0c37(0x1d1),'internalError':_0x5e0c37(0x1d7),'interrupt':_0x5e0c37(0x1df),'fileTypeError':_0x5e0c37(0x1de),'wait':'请稍等...','cancel':'取消','uploadAgain':_0x5e0c37(0x1d0)}};function _0x1fd3(){const _0x463226=['数据流过大','1932687MnMhtS','网络异常','50ruqFFj','另存为','11346632QLcfYA','内部未知错误','下载中','12XhRUhq','10YfvKHk','401178tIrQAz','未知错误','2458968LHMxSd','所选文件\x20[{0}]\x20不支持上传','网络连接中断,文件上传失败','881400ukVEzk','677211EpnvFK','7bWekOb','10rrGvQg','文件上传成功','下载成功','{0}个文件上传成功','上传中','3208271Nfesao','再次上传'];_0x1fd3=function(){return _0x463226;};return _0x1fd3();}export{e as default};
@@ -1 +1 @@
1
- const _0x4e6903=_0x4759;function _0x4759(_0x24d6fb,_0x3fe8fe){_0x24d6fb=_0x24d6fb-0x157;const _0x20f9db=_0x20f9();let _0x4759fd=_0x20f9db[_0x24d6fb];return _0x4759fd;}(function(_0xcb6647,_0x182796){const _0x16e280=_0x4759,_0xcb04a7=_0xcb6647();while(!![]){try{const _0x88a194=-parseInt(_0x16e280(0x164))/0x1*(parseInt(_0x16e280(0x16a))/0x2)+-parseInt(_0x16e280(0x15b))/0x3+parseInt(_0x16e280(0x161))/0x4*(parseInt(_0x16e280(0x15d))/0x5)+-parseInt(_0x16e280(0x167))/0x6+-parseInt(_0x16e280(0x168))/0x7+parseInt(_0x16e280(0x15a))/0x8+parseInt(_0x16e280(0x157))/0x9;if(_0x88a194===_0x182796)break;else _0xcb04a7['push'](_0xcb04a7['shift']());}catch(_0x3fa865){_0xcb04a7['push'](_0xcb04a7['shift']());}}}(_0x20f9,0x82fe8));const e={'exchange':{'file':'檔案','upload':_0x4e6903(0x158),'download':_0x4e6903(0x163),'uploading':_0x4e6903(0x160),'uploadSuccess':_0x4e6903(0x15e),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x4e6903(0x159),'downloadSuccess':_0x4e6903(0x162),'unknownMistake':_0x4e6903(0x165),'networkError':_0x4e6903(0x166),'tooLarge':'資料流過大','internalError':_0x4e6903(0x15f),'interrupt':_0x4e6903(0x169),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':'請稍等...','cancel':'取消','uploadAgain':_0x4e6903(0x15c)}};function _0x20f9(){const _0x22123d=['網路異常','4354890zhwtGY','1767402SGUEnf','網路連線中斷,檔案上傳失敗','4tQUrJq','18804951SMJZqq','開啟(檔案)','下載中','319648gIhcde','2078970xeFUZI','再次上傳','5YWJgdf','檔案上傳成功','內部未知錯誤','上傳中','1884952GTPxKZ','下載成功','另存為','196395vtauck','未知錯誤'];_0x20f9=function(){return _0x22123d;};return _0x20f9();}export{e as default};
1
+ const _0x2fd15b=_0x26a5;(function(_0x2dccd2,_0x322438){const _0x280636=_0x26a5,_0xc1c219=_0x2dccd2();while(!![]){try{const _0x2e275c=parseInt(_0x280636(0x13d))/0x1*(-parseInt(_0x280636(0x148))/0x2)+-parseInt(_0x280636(0x140))/0x3+-parseInt(_0x280636(0x14a))/0x4*(-parseInt(_0x280636(0x13e))/0x5)+parseInt(_0x280636(0x138))/0x6+-parseInt(_0x280636(0x13f))/0x7*(-parseInt(_0x280636(0x137))/0x8)+-parseInt(_0x280636(0x139))/0x9+parseInt(_0x280636(0x149))/0xa*(parseInt(_0x280636(0x13a))/0xb);if(_0x2e275c===_0x322438)break;else _0xc1c219['push'](_0xc1c219['shift']());}catch(_0x57d478){_0xc1c219['push'](_0xc1c219['shift']());}}}(_0x178a,0x67aaa));const e={'exchange':{'file':'檔案','upload':_0x2fd15b(0x13c),'download':_0x2fd15b(0x145),'uploading':'上傳中','uploadSuccess':_0x2fd15b(0x146),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x2fd15b(0x142),'downloadSuccess':_0x2fd15b(0x13b),'unknownMistake':'未知錯誤','networkError':'網路異常','tooLarge':_0x2fd15b(0x143),'internalError':_0x2fd15b(0x147),'interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0x2fd15b(0x144),'wait':_0x2fd15b(0x14b),'cancel':'取消','uploadAgain':_0x2fd15b(0x141)}};export{e as default};function _0x26a5(_0x367c0e,_0x3d6919){_0x367c0e=_0x367c0e-0x137;const _0x178a5c=_0x178a();let _0x26a53f=_0x178a5c[_0x367c0e];return _0x26a53f;}function _0x178a(){const _0x59eb3d=['另存為','檔案上傳成功','內部未知錯誤','14HKldMB','679940COTquk','833268NuRizs','請稍等...','108968YjHNEM','4424538SqlMxO','6036561SQntGR','55cyECGf','下載成功','開啟(檔案)','72683tgITKN','10PwdcEP','112rXiGTT','323505xJaIdk','再次上傳','下載中','資料流過大','所選檔案\x20[{0}]\x20不支援上傳'];_0x178a=function(){return _0x59eb3d;};return _0x178a();}
@@ -4,14 +4,6 @@ import { FUniver } from '@univerjs/core/facade';
4
4
  * @ignore
5
5
  */
6
6
  export interface IFUniverExchangeClientMixin {
7
- /**
8
- * Import XLSX file to unit id
9
- *
10
- * @deprecated Please use `importXLSXToUnitIdAsync` instead.
11
- * @param file File path or file object
12
- * @returns Unit id
13
- */
14
- importXLSXToUnitId(file: string | File): Promise<string | undefined>;
15
7
  /**
16
8
  * Import XLSX file to unit id
17
9
  * @param {string | File} file File path or file object
@@ -36,14 +28,6 @@ export interface IFUniverExchangeClientMixin {
36
28
  * ```
37
29
  */
38
30
  importXLSXToUnitIdAsync(file: string | File): Promise<string | undefined>;
39
- /**
40
- * Import XLSX file to workbook data
41
- *
42
- * @deprecated Please use `importXLSXToSnapshotAsync` instead.
43
- * @param file File path or file object
44
- * @returns Workbook data
45
- */
46
- importXLSXToSnapshot(file: string | File): Promise<IWorkbookData | undefined>;
47
31
  /**
48
32
  * Import XLSX file to workbook data
49
33
  * @param {string | File} file File path or file object
@@ -62,14 +46,6 @@ export interface IFUniverExchangeClientMixin {
62
46
  * ```
63
47
  */
64
48
  importXLSXToSnapshotAsync(file: string | File): Promise<IWorkbookData | undefined>;
65
- /**
66
- * Export XLSX file by unit id
67
- *
68
- * @deprecated Please use `exportXLSXByUnitIdAsync` instead.
69
- * @param unitId Unit id
70
- * @returns XLSX file
71
- */
72
- exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
73
49
  /**
74
50
  * Export XLSX file by unit id
75
51
  * @param {string} unitId Unit id
@@ -90,14 +66,6 @@ export interface IFUniverExchangeClientMixin {
90
66
  * ```
91
67
  */
92
68
  exportXLSXByUnitIdAsync(unitId: string): Promise<File | undefined>;
93
- /**
94
- * Export XLSX file by workbook data
95
- *
96
- * @deprecated Please use `exportXLSXBySnapshotAsync` instead.
97
- * @param snapshot Workbook data
98
- * @returns XLSX file
99
- */
100
- exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
101
69
  /**
102
70
  * Export XLSX file by workbook data
103
71
  * @param {IWorkbookData} snapshot Workbook data
@@ -118,14 +86,6 @@ export interface IFUniverExchangeClientMixin {
118
86
  * ```
119
87
  */
120
88
  exportXLSXBySnapshotAsync(snapshot: IWorkbookData): Promise<File | undefined>;
121
- /**
122
- * Import DOCX file to unit id
123
- *
124
- * @deprecated Please use `importDOCXToUnitIdAsync` instead.
125
- * @param file File path or file object
126
- * @returns Unit id
127
- */
128
- importDOCXToUnitId(file: string | File): Promise<string | undefined>;
129
89
  /**
130
90
  * Import DOCX file to unit id
131
91
  * @param {string | File} file File path or file object
@@ -148,14 +108,6 @@ export interface IFUniverExchangeClientMixin {
148
108
  * ```
149
109
  */
150
110
  importDOCXToUnitIdAsync(file: string | File): Promise<string | undefined>;
151
- /**
152
- * Import DOCX file to document data
153
- *
154
- * @deprecated Please use `importDOCXToSnapshotAsync` instead.
155
- * @param file File path or file object
156
- * @returns Document data
157
- */
158
- importDOCXToSnapshot(file: string | File): Promise<IDocumentData | undefined>;
159
111
  /**
160
112
  * Import DOCX file to document data
161
113
  * @param {string | File} file File path or file object
@@ -201,64 +153,26 @@ export interface IFUniverExchangeClientMixin {
201
153
  export declare class FUniverExchangeClientMixin extends FUniver implements IFUniverExchangeClientMixin {
202
154
  /**
203
155
  * Import XLSX file to unit id
204
- * @param file File path or file object
205
- */
206
- importXLSXToUnitId(file: string | File): Promise<string | undefined>;
207
- /**
208
- * Import XLSX file to unit id
209
- * @param file File path or file object
210
156
  */
211
157
  importXLSXToUnitIdAsync(file: string | File): Promise<string | undefined>;
212
158
  /**
213
159
  * Import XLSX file to workbook data
214
- * @param file File path or file object
215
- */
216
- importXLSXToSnapshot(file: string | File): Promise<IWorkbookData | undefined>;
217
- /**
218
- * Import XLSX file to workbook data
219
- * @param file File path or file object
220
160
  */
221
161
  importXLSXToSnapshotAsync(file: string | File): Promise<IWorkbookData | undefined>;
222
162
  /**
223
163
  * Export XLSX file by unit id
224
- * @param unitId
225
- */
226
- exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
227
- /**
228
- * Export XLSX file by unit id
229
- * @param unitId
230
- * @param options
231
164
  */
232
165
  exportXLSXByUnitIdAsync(unitId: string): Promise<File | undefined>;
233
166
  /**
234
167
  * Export XLSX file by workbook data
235
- * @param snapshot
236
- */
237
- exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
238
- /**
239
- * Export XLSX file by workbook data
240
- * @param snapshot
241
- * @param options
242
168
  */
243
169
  exportXLSXBySnapshotAsync(snapshot: IWorkbookData): Promise<File | undefined>;
244
170
  /**
245
171
  * Import DOCX file to unit id
246
- * @param file File path or file object
247
- */
248
- importDOCXToUnitId(file: string | File): Promise<string | undefined>;
249
- /**
250
- * Import DOCX file to unit id
251
- * @param file File path or file object
252
172
  */
253
173
  importDOCXToUnitIdAsync(file: string | File): Promise<string | undefined>;
254
174
  /**
255
175
  * Import DOCX file to document data
256
- * @param file File path or file object
257
- */
258
- importDOCXToSnapshot(file: string | File): Promise<IDocumentData | undefined>;
259
- /**
260
- * Import DOCX file to document data
261
- * @param file File path or file object
262
176
  */
263
177
  importDOCXToSnapshotAsync(file: string | File): Promise<IDocumentData | undefined>;
264
178
  exportDOCXBySnapshotAsync(snapshot: IDocumentData): Promise<File | undefined>;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x24d6(_0x2700cc,_0x18e6bb){_0x2700cc=_0x2700cc-0x1b3;const _0x5de77f=_0x5de7();let _0x24d692=_0x5de77f[_0x2700cc];return _0x24d692;}function _0x5de7(){const _0x1efc11=['importXLSXToSnapshot','_injector','5UEpmPM','UNIVER_UNKNOWN','32qXoaHP','UNIVER_PROJECT','importDOCXToSnapshot','2nVWlmJ','exportXLSXByUnitId','extend','exportDOCXByUnitIdAsync','exportDOCXByUnitId','FUniver','488364Yujpzw','importFileToUnitId','importDOCXToUnitId','importDOCXToSnapshotAsync','@univerjs-pro/exchange-client','835730PlBSbx','12IGGNJc','UNIVER_SHEET','UNIVER_SLIDE','UNRECOGNIZED','231orxQbz','IExchangeService','importXLSXToUnitIdAsync','object','1363980hHwBNQ','UNIVER_DOC','1124469cMCBIC','@univerjs/core/facade','190436FomYTC','477060gDazpS','exportXLSXBySnapshotAsync','get','exportXLSXBySnapshot','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','1287906oYONCB','exportXLSXByUnitIdAsync','importXLSXToUnitId'];_0x5de7=function(){return _0x1efc11;};return _0x5de7();}(function(_0x2575cd,_0x4f1f12){const _0xee315e=_0x24d6,_0x48aa91=_0x2575cd();while(!![]){try{const _0x382bfb=parseInt(_0xee315e(0x1c7))/0x1*(parseInt(_0xee315e(0x1d8))/0x2)+parseInt(_0xee315e(0x1c8))/0x3*(parseInt(_0xee315e(0x1bb))/0x4)+-parseInt(_0xee315e(0x1d3))/0x5*(-parseInt(_0xee315e(0x1ce))/0x6)+-parseInt(_0xee315e(0x1ba))/0x7*(-parseInt(_0xee315e(0x1d5))/0x8)+-parseInt(_0xee315e(0x1c5))/0x9+-parseInt(_0xee315e(0x1c3))/0xa+-parseInt(_0xee315e(0x1bf))/0xb*(parseInt(_0xee315e(0x1b5))/0xc);if(_0x382bfb===_0x4f1f12)break;else _0x48aa91['push'](_0x48aa91['shift']());}catch(_0x29e470){_0x48aa91['push'](_0x48aa91['shift']());}}}(_0x5de7,0x3b813),function(_0x2b9466,_0x40fff4){const _0x4f31e9=_0x24d6;typeof exports==_0x4f31e9(0x1c2)&&typeof module<'u'?_0x40fff4(require(`@univerjs-pro/exchange-client`),require(`@univerjs/core/facade`)):typeof define=='function'&&define['amd']?define([_0x4f31e9(0x1b9),_0x4f31e9(0x1c6)],_0x40fff4):(_0x2b9466=typeof globalThis<'u'?globalThis:_0x2b9466||self,_0x40fff4(_0x2b9466['UniverProExchangeClient'],_0x2b9466['UniverCoreFacade']));}(this,function(_0x2de47c,_0x4407c2){const _0x4d24f0=_0x24d6;let _0x47bfee=function(_0x545df8){const _0x2a2cde=_0x24d6;return _0x545df8[_0x545df8[_0x2a2cde(0x1d4)]=0x0]='UNIVER_UNKNOWN',_0x545df8[_0x545df8[_0x2a2cde(0x1c4)]=0x1]=_0x2a2cde(0x1c4),_0x545df8[_0x545df8[_0x2a2cde(0x1bc)]=0x2]=_0x2a2cde(0x1bc),_0x545df8[_0x545df8[_0x2a2cde(0x1bd)]=0x3]=_0x2a2cde(0x1bd),_0x545df8[_0x545df8[_0x2a2cde(0x1d6)]=0x4]=_0x2a2cde(0x1d6),_0x545df8[_0x545df8[_0x2a2cde(0x1be)]=-0x1]=_0x2a2cde(0x1be),_0x545df8;}({});var _0x4c7214=class extends _0x4407c2['FUniver']{async[_0x4d24f0(0x1d0)](_0x5d3cd2){return this['importXLSXToUnitIdAsync'](_0x5d3cd2);}async[_0x4d24f0(0x1c1)](_0x27df3e){const _0xe7b896=_0x4d24f0;let _0x5d9a93=this['_injector'][_0xe7b896(0x1ca)](_0x2de47c[_0xe7b896(0x1c0)]);if(!_0x5d9a93)throw Error(_0xe7b896(0x1cd));return _0x5d9a93['importFileToUnitId'](_0x27df3e,_0x47bfee[_0xe7b896(0x1bc)]);}async[_0x4d24f0(0x1d1)](_0x4c617b){const _0x61589a=_0x4d24f0;return this[_0x61589a(0x1cc)](_0x4c617b);}async[_0x4d24f0(0x1cc)](_0x1028fb){const _0x283509=_0x4d24f0;let _0x4aa51d=this[_0x283509(0x1d2)][_0x283509(0x1ca)](_0x2de47c[_0x283509(0x1c0)]);if(!_0x4aa51d)throw Error(_0x283509(0x1cd));return _0x4aa51d['importXLSXToSnapshot'](_0x1028fb);}async[_0x4d24f0(0x1d9)](_0x3e42e4){const _0x53b5eb=_0x4d24f0;return this[_0x53b5eb(0x1cf)](_0x3e42e4);}async[_0x4d24f0(0x1cf)](_0x18beb6){const _0x558a43=_0x4d24f0;let _0x241f2f=this[_0x558a43(0x1d2)][_0x558a43(0x1ca)](_0x2de47c[_0x558a43(0x1c0)]);if(!_0x241f2f)throw Error(_0x558a43(0x1cd));return _0x241f2f['exportXLSXByUnitId'](_0x18beb6);}async[_0x4d24f0(0x1cb)](_0xa44935){const _0x30d625=_0x4d24f0;return this[_0x30d625(0x1c9)](_0xa44935);}async[_0x4d24f0(0x1c9)](_0x4d3cee){const _0x377213=_0x4d24f0;let _0x29a902=this['_injector']['get'](_0x2de47c[_0x377213(0x1c0)]);if(!_0x29a902)throw Error(_0x377213(0x1cd));return _0x29a902['exportXLSXBySnapshot'](_0x4d3cee);}async[_0x4d24f0(0x1b7)](_0x1b7d67){return this['importDOCXToUnitIdAsync'](_0x1b7d67);}async['importDOCXToUnitIdAsync'](_0x4dedd4){const _0x3984ef=_0x4d24f0;let _0xe18661=this[_0x3984ef(0x1d2)]['get'](_0x2de47c[_0x3984ef(0x1c0)]);if(!_0xe18661)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe18661[_0x3984ef(0x1b6)](_0x4dedd4,_0x47bfee[_0x3984ef(0x1c4)]);}async[_0x4d24f0(0x1d7)](_0x369a52){const _0x39aa6f=_0x4d24f0;return this[_0x39aa6f(0x1b8)](_0x369a52);}async['importDOCXToSnapshotAsync'](_0x34007c){const _0x2da756=_0x4d24f0;let _0x10c60c=this['_injector'][_0x2da756(0x1ca)](_0x2de47c[_0x2da756(0x1c0)]);if(!_0x10c60c)throw Error(_0x2da756(0x1cd));return _0x10c60c[_0x2da756(0x1d7)](_0x34007c);}async['exportDOCXBySnapshotAsync'](_0x4e4056){const _0xf37a8c=_0x4d24f0;let _0x5e6089=this['_injector'][_0xf37a8c(0x1ca)](_0x2de47c[_0xf37a8c(0x1c0)]);if(!_0x5e6089)throw Error(_0xf37a8c(0x1cd));return _0x5e6089['exportDOCXBySnapshot'](_0x4e4056);}async[_0x4d24f0(0x1db)](_0x511212){const _0x273281=_0x4d24f0;let _0x4320a4=this['_injector']['get'](_0x2de47c[_0x273281(0x1c0)]);if(!_0x4320a4)throw Error(_0x273281(0x1cd));return _0x4320a4[_0x273281(0x1b3)](_0x511212);}};_0x4407c2[_0x4d24f0(0x1b4)][_0x4d24f0(0x1da)](_0x4c7214);}));
1
+ function _0x4402(){const _0x1074a6=['exportXLSXBySnapshot','importXLSXToSnapshot','2966404LqXUBw','FUniver','exportXLSXByUnitIdAsync','2555927kgHgJK','680682hslOgD','UniverProExchangeClient','54VhnJvC','exportDOCXByUnitIdAsync','UNIVER_DOC','exportDOCXBySnapshotAsync','1228072jHOiEu','UNIVER_SLIDE','IExchangeService','object','14772nVXZwz','@univerjs-pro/exchange-client','get','3EtNcDs','168488qvVmrG','The\x20exchange\x20service\x20is\x20not\x20available','extend','UNIVER_UNKNOWN','UNIVER_PROJECT','1120jqUOyX','308DxbLTf','exportXLSXByUnitId','108rQrGCP','1324190iOjaTJ','UNIVER_SHEET','importDOCXToSnapshot','exportDOCXBySnapshot','function','UNRECOGNIZED','importDOCXToUnitIdAsync','exportDOCXByUnitId','amd','@univerjs/core/facade','_injector'];_0x4402=function(){return _0x1074a6;};return _0x4402();}function _0x17da(_0x1376a4,_0x4788bb){_0x1376a4=_0x1376a4-0x164;const _0x440287=_0x4402();let _0x17da27=_0x440287[_0x1376a4];return _0x17da27;}(function(_0x438298,_0xb3fad9){const _0x1596a1=_0x17da,_0x19fa00=_0x438298();while(!![]){try{const _0x5ed992=-parseInt(_0x1596a1(0x189))/0x1+parseInt(_0x1596a1(0x167))/0x2+-parseInt(_0x1596a1(0x16e))/0x3*(-parseInt(_0x1596a1(0x185))/0x4)+parseInt(_0x1596a1(0x174))/0x5*(-parseInt(_0x1596a1(0x16b))/0x6)+-parseInt(_0x1596a1(0x175))/0x7*(parseInt(_0x1596a1(0x16f))/0x8)+parseInt(_0x1596a1(0x18b))/0x9*(-parseInt(_0x1596a1(0x178))/0xa)+parseInt(_0x1596a1(0x188))/0xb*(parseInt(_0x1596a1(0x177))/0xc);if(_0x5ed992===_0xb3fad9)break;else _0x19fa00['push'](_0x19fa00['shift']());}catch(_0x58e53f){_0x19fa00['push'](_0x19fa00['shift']());}}}(_0x4402,0x787aa),function(_0x2cae95,_0x6c66b1){const _0x395236=_0x17da;typeof exports==_0x395236(0x16a)&&typeof module<'u'?_0x6c66b1(require(`@univerjs-pro/exchange-client`),require(`@univerjs/core/facade`)):typeof define==_0x395236(0x17c)&&define[_0x395236(0x180)]?define([_0x395236(0x16c),_0x395236(0x181)],_0x6c66b1):(_0x2cae95=typeof globalThis<'u'?globalThis:_0x2cae95||self,_0x6c66b1(_0x2cae95[_0x395236(0x18a)],_0x2cae95['UniverCoreFacade']));}(this,function(_0x433a09,_0x5f502f){const _0x183359=_0x17da;let _0x3b267c=function(_0x35a9b6){const _0x54fcb5=_0x17da;return _0x35a9b6[_0x35a9b6[_0x54fcb5(0x172)]=0x0]=_0x54fcb5(0x172),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x165)]=0x1]=_0x54fcb5(0x165),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x179)]=0x2]=_0x54fcb5(0x179),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x168)]=0x3]=_0x54fcb5(0x168),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x173)]=0x4]=_0x54fcb5(0x173),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x17d)]=-0x1]=_0x54fcb5(0x17d),_0x35a9b6;}({});var _0x3bc0d3=class extends _0x5f502f[_0x183359(0x186)]{async['importXLSXToUnitIdAsync'](_0x535875){const _0x29839d=_0x183359;let _0x4bb472=this[_0x29839d(0x182)][_0x29839d(0x16d)](_0x433a09['IExchangeService']);if(!_0x4bb472)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4bb472['importFileToUnitId'](_0x535875,_0x3b267c[_0x29839d(0x179)]);}async['importXLSXToSnapshotAsync'](_0x103e83){const _0x595df3=_0x183359;let _0x344fd0=this[_0x595df3(0x182)][_0x595df3(0x16d)](_0x433a09[_0x595df3(0x169)]);if(!_0x344fd0)throw Error(_0x595df3(0x170));return _0x344fd0[_0x595df3(0x184)](_0x103e83);}async[_0x183359(0x187)](_0x2e328e){const _0x4ae055=_0x183359;let _0x43c7e7=this[_0x4ae055(0x182)][_0x4ae055(0x16d)](_0x433a09[_0x4ae055(0x169)]);if(!_0x43c7e7)throw Error(_0x4ae055(0x170));return _0x43c7e7[_0x4ae055(0x176)](_0x2e328e);}async['exportXLSXBySnapshotAsync'](_0x4c225f){const _0x342e36=_0x183359;let _0x8c3a=this['_injector'][_0x342e36(0x16d)](_0x433a09[_0x342e36(0x169)]);if(!_0x8c3a)throw Error(_0x342e36(0x170));return _0x8c3a[_0x342e36(0x183)](_0x4c225f);}async[_0x183359(0x17e)](_0x506c07){const _0x1e8bef=_0x183359;let _0xd9a51f=this[_0x1e8bef(0x182)][_0x1e8bef(0x16d)](_0x433a09['IExchangeService']);if(!_0xd9a51f)throw Error(_0x1e8bef(0x170));return _0xd9a51f['importFileToUnitId'](_0x506c07,_0x3b267c[_0x1e8bef(0x165)]);}async['importDOCXToSnapshotAsync'](_0x35412b){const _0x583cdd=_0x183359;let _0x2a949a=this[_0x583cdd(0x182)]['get'](_0x433a09['IExchangeService']);if(!_0x2a949a)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a949a[_0x583cdd(0x17a)](_0x35412b);}async[_0x183359(0x166)](_0x2f8e1f){const _0x2a0ba8=_0x183359;let _0x32245b=this[_0x2a0ba8(0x182)][_0x2a0ba8(0x16d)](_0x433a09[_0x2a0ba8(0x169)]);if(!_0x32245b)throw Error(_0x2a0ba8(0x170));return _0x32245b[_0x2a0ba8(0x17b)](_0x2f8e1f);}async[_0x183359(0x164)](_0x31ce06){const _0x222c53=_0x183359;let _0x172ee4=this[_0x222c53(0x182)][_0x222c53(0x16d)](_0x433a09[_0x222c53(0x169)]);if(!_0x172ee4)throw Error(_0x222c53(0x170));return _0x172ee4[_0x222c53(0x17f)](_0x31ce06);}};_0x5f502f[_0x183359(0x186)][_0x183359(0x171)](_0x3bc0d3);}));