@univerjs-pro/exchange-client 0.8.0-nightly.202506101607 → 0.8.0-nightly.202506111607
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +2 -2
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/config.schema.d.ts +10 -0
- package/lib/types/facade/f-univer.d.ts +4 -7
- package/lib/types/index.d.ts +1 -1
- package/lib/types/services/exchange.service.d.ts +5 -7
- package/lib/types/services/operate.service.d.ts +5 -5
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x4185ab=_0x20e9;(function(_0x4cdc11,_0x23d18d){const _0x5e91e5=_0x20e9,_0xf6ea98=_0x4cdc11();while(!![]){try{const _0xb88ef0=parseInt(_0x5e91e5(0x11d))/0x1+parseInt(_0x5e91e5(0x113))/0x2+-parseInt(_0x5e91e5(0x11e))/0x3+parseInt(_0x5e91e5(0x111))/0x4+-parseInt(_0x5e91e5(0x10e))/0x5+-parseInt(_0x5e91e5(0x112))/0x6+parseInt(_0x5e91e5(0x10c))/0x7*(parseInt(_0x5e91e5(0x115))/0x8);if(_0xb88ef0===_0x23d18d)break;else _0xf6ea98['push'](_0xf6ea98['shift']());}catch(_0xe97cf4){_0xf6ea98['push'](_0xf6ea98['shift']());}}}(_0x3500,0x8fea6));const e={'exchange':{'file':'File','upload':_0x4185ab(0x114),'download':'Save\x20As','downloadWPS':_0x4185ab(0x118),'uploading':_0x4185ab(0x121),'uploadSuccess':_0x4185ab(0x11f),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':'Downloading','downloadSuccess':_0x4185ab(0x116),'unknownMistake':_0x4185ab(0x11c),'networkError':_0x4185ab(0x10f),'tooLarge':_0x4185ab(0x10d),'internalError':_0x4185ab(0x120),'interrupt':_0x4185ab(0x11a),'fileTypeError':_0x4185ab(0x11b),'wait':_0x4185ab(0x119),'cancel':_0x4185ab(0x110),'uploadAgain':_0x4185ab(0x117)}};function _0x3500(){const _0x31edf7=['2726772bmRDoO','1350270lmZblu','Open(File)','712NwWRgK','Download\x20success','Upload\x20again','Save\x20As\x20WPS','Please\x20wait...','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Unknown\x20mistake','490694tfsoBJ','645501UDLLLa','File\x20uploaded\x20successfully','Internal\x20unknown\x20error','Uploading','13636XBpYQK','Data\x20is\x20too\x20large','1930035riVKuV','Network\x20error','Cancel','1223652kaFpnR'];_0x3500=function(){return _0x31edf7;};return _0x3500();}function _0x20e9(_0x4c10af,_0x4ec24a){const _0x35003b=_0x3500();return _0x20e9=function(_0x20e979,_0x3a6f5a){_0x20e979=_0x20e979-0x10c;let _0x25327e=_0x35003b[_0x20e979];return _0x25327e;},_0x20e9(_0x4c10af,_0x4ec24a);}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x10a8(_0x1cc714,_0x282d24){const _0x3c5e18=_0x3c5e();return _0x10a8=function(_0x10a8be,_0x19cad1){_0x10a8be=_0x10a8be-0x11a;let _0x370461=_0x3c5e18[_0x10a8be];return _0x370461;},_0x10a8(_0x1cc714,_0x282d24);}const _0x111998=_0x10a8;(function(_0x39c289,_0x2e1ac7){const _0x571ea5=_0x10a8,_0x58ba36=_0x39c289();while(!![]){try{const _0x8a0d25=-parseInt(_0x571ea5(0x130))/0x1+-parseInt(_0x571ea5(0x122))/0x2*(parseInt(_0x571ea5(0x11c))/0x3)+parseInt(_0x571ea5(0x128))/0x4*(-parseInt(_0x571ea5(0x12c))/0x5)+parseInt(_0x571ea5(0x124))/0x6+-parseInt(_0x571ea5(0x126))/0x7+parseInt(_0x571ea5(0x12b))/0x8*(parseInt(_0x571ea5(0x133))/0x9)+parseInt(_0x571ea5(0x129))/0xa;if(_0x8a0d25===_0x2e1ac7)break;else _0x58ba36['push'](_0x58ba36['shift']());}catch(_0x279735){_0x58ba36['push'](_0x58ba36['shift']());}}}(_0x3c5e,0x4ad24));const o={'exchange':{'file':'فایل','upload':_0x111998(0x125),'download':_0x111998(0x131),'downloadWPS':_0x111998(0x127),'uploading':_0x111998(0x11f),'uploadSuccess':_0x111998(0x11a),'uploadSuccessTip':_0x111998(0x11b),'downloading':_0x111998(0x11d),'downloadSuccess':_0x111998(0x11e),'unknownMistake':'خطای\x20ناشناخته','networkError':_0x111998(0x12d),'tooLarge':_0x111998(0x12f),'internalError':_0x111998(0x120),'interrupt':_0x111998(0x12e),'fileTypeError':_0x111998(0x132),'wait':_0x111998(0x123),'cancel':_0x111998(0x12a),'uploadAgain':_0x111998(0x121)}};export{o as default};function _0x3c5e(){const _0x16e6ad=['فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','15612xwRYdL','در\x20حال\x20دانلود','دانلود\x20موفقیت\x20آمیز','در\x20حال\x20بارگذاری','خطای\x20داخلی\x20ناشناخته','بارگذاری\x20مجدد','222nYWTkt','لطفا\x20صبر\x20کنید...','2129478LaSCEb','بازکردن(فایل)','540540sgBZhh','ذخیره\x20به\x20عنوان\x20WPS','49004VHlqAM','1903610QMCPaZ','لغو','152hQgLqg','25mlmuFY','خطای\x20شبکه','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','داده\x20خیلی\x20بزرگ\x20است','116950qwqPSC','ذخیره\x20به\x20عنوان','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','281493bysVbN'];_0x3c5e=function(){return _0x16e6ad;};return _0x3c5e();}
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x188115=_0x4a13;(function(_0x106616,_0x53b9fd){const _0x44dcd9=_0x4a13,_0x31b4b6=_0x106616();while(!![]){try{const _0x247d0e=-parseInt(_0x44dcd9(0x1e7))/0x1+-parseInt(_0x44dcd9(0x1db))/0x2+parseInt(_0x44dcd9(0x1d8))/0x3+parseInt(_0x44dcd9(0x1e6))/0x4+parseInt(_0x44dcd9(0x1dc))/0x5*(parseInt(_0x44dcd9(0x1d6))/0x6)+-parseInt(_0x44dcd9(0x1de))/0x7*(-parseInt(_0x44dcd9(0x1e9))/0x8)+parseInt(_0x44dcd9(0x1eb))/0x9;if(_0x247d0e===_0x53b9fd)break;else _0x31b4b6['push'](_0x31b4b6['shift']());}catch(_0x5a22bd){_0x31b4b6['push'](_0x31b4b6['shift']());}}}(_0x3691,0xe9450));const e={'exchange':{'file':_0x188115(0x1ea),'upload':_0x188115(0x1e2),'download':_0x188115(0x1e0),'downloadWPS':'Enregistrer\x20sous\x20WPS','uploading':_0x188115(0x1e4),'uploadSuccess':_0x188115(0x1e5),'uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':_0x188115(0x1df),'downloadSuccess':_0x188115(0x1e1),'unknownMistake':_0x188115(0x1ed),'networkError':_0x188115(0x1d9),'tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':_0x188115(0x1e3),'interrupt':_0x188115(0x1d7),'fileTypeError':_0x188115(0x1e8),'wait':_0x188115(0x1dd),'cancel':_0x188115(0x1ec),'uploadAgain':_0x188115(0x1da)}};export{e as default};function _0x4a13(_0x4a7ee3,_0x623092){const _0x36919a=_0x3691();return _0x4a13=function(_0x4a13ef,_0x44bafb){_0x4a13ef=_0x4a13ef-0x1d6;let _0x1a3b96=_0x36919a[_0x4a13ef];return _0x1a3b96;},_0x4a13(_0x4a7ee3,_0x623092);}function _0x3691(){const _0x4ad4c8=['Téléchargement\x20en\x20cours','Fichier\x20téléchargé\x20avec\x20succès','7110840uzyzhQ','1296155TdxGas','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','73536atHfii','Fichier','11385396GdKcwl','Annuler','Erreur\x20inconnue','228162sqfVdg','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','639378Exnutj','Erreur\x20réseau','Télécharger\x20à\x20nouveau','3700078gjNcyS','110fOPBjq','Veuillez\x20patienter...','7bRULCF','Téléchargement','Enregistrer\x20sous','Téléchargement\x20réussi','Ouvrir\x20(Fichier)','Erreur\x20interne\x20inconnue'];_0x3691=function(){return _0x4ad4c8;};return _0x3691();}
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x241800=_0x22c9;(function(_0xc0bb22,_0x1dded2){const _0x2a68e9=_0x22c9,_0x3a112d=_0xc0bb22();while(!![]){try{const _0x36de87=-parseInt(_0x2a68e9(0x185))/0x1*(parseInt(_0x2a68e9(0x189))/0x2)+parseInt(_0x2a68e9(0x18c))/0x3*(-parseInt(_0x2a68e9(0x18a))/0x4)+-parseInt(_0x2a68e9(0x196))/0x5+parseInt(_0x2a68e9(0x18f))/0x6+-parseInt(_0x2a68e9(0x18b))/0x7*(-parseInt(_0x2a68e9(0x192))/0x8)+parseInt(_0x2a68e9(0x18e))/0x9+parseInt(_0x2a68e9(0x182))/0xa*(parseInt(_0x2a68e9(0x188))/0xb);if(_0x36de87===_0x1dded2)break;else _0x3a112d['push'](_0x3a112d['shift']());}catch(_0x1b71f5){_0x3a112d['push'](_0x3a112d['shift']());}}}(_0x3a47,0x79035));function _0x22c9(_0x37761a,_0x40f425){const _0x3a4785=_0x3a47();return _0x22c9=function(_0x22c9bc,_0x533743){_0x22c9bc=_0x22c9bc-0x182;let _0x598939=_0x3a4785[_0x22c9bc];return _0x598939;},_0x22c9(_0x37761a,_0x40f425);}const o={'exchange':{'file':_0x241800(0x18d),'upload':'Открыть(Файл)','download':_0x241800(0x194),'downloadWPS':_0x241800(0x187),'uploading':'Загрузка','uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0x241800(0x183),'downloading':'Скачивание','downloadSuccess':'Скачивание\x20успешно','unknownMistake':'Неизвестная\x20ошибка','networkError':_0x241800(0x195),'tooLarge':_0x241800(0x191),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':_0x241800(0x190),'fileTypeError':_0x241800(0x186),'wait':'Пожалуйста,\x20подождите...','cancel':_0x241800(0x193),'uploadAgain':_0x241800(0x184)}};function _0x3a47(){const _0x3ff58c=['2368230XvrFVE','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Загрузить\x20снова','1oIKMqh','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Сохранить\x20как\x20WPS','44eEypDT','158330sgrKvJ','1526268zOBwNh','574RXsbBP','3HzrkjG','Файл','1127853rocXUz','1231746YpiFBd','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Данные\x20слишком\x20большие','59848clRGVB','Отмена','Сохранить\x20как','Сетевая\x20ошибка','4674705EbyAuW'];_0x3a47=function(){return _0x3ff58c;};return _0x3a47();}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x2aad(_0x296413,_0x13be69){const _0x1119cd=_0x1119();return _0x2aad=function(_0x2aad9f,_0x53ea93){_0x2aad9f=_0x2aad9f-0x1e5;let _0x53f495=_0x1119cd[_0x2aad9f];return _0x53f495;},_0x2aad(_0x296413,_0x13be69);}const _0xa0b4c9=_0x2aad;(function(_0x2a63a1,_0x3e9dbe){const _0x2da74f=_0x2aad,_0x2bd27f=_0x2a63a1();while(!![]){try{const _0x247e06=parseInt(_0x2da74f(0x1f7))/0x1+-parseInt(_0x2da74f(0x1f2))/0x2*(parseInt(_0x2da74f(0x1f1))/0x3)+parseInt(_0x2da74f(0x1ed))/0x4+parseInt(_0x2da74f(0x1f6))/0x5*(-parseInt(_0x2da74f(0x1e5))/0x6)+parseInt(_0x2da74f(0x1f9))/0x7+-parseInt(_0x2da74f(0x1fc))/0x8+-parseInt(_0x2da74f(0x1f5))/0x9;if(_0x247e06===_0x3e9dbe)break;else _0x2bd27f['push'](_0x2bd27f['shift']());}catch(_0x337170){_0x2bd27f['push'](_0x2bd27f['shift']());}}}(_0x1119,0x40eb8));const n={'exchange':{'file':'Tệp','upload':_0xa0b4c9(0x1ee),'download':_0xa0b4c9(0x1e6),'downloadWPS':_0xa0b4c9(0x1ea),'uploading':_0xa0b4c9(0x1e8),'uploadSuccess':_0xa0b4c9(0x1f4),'uploadSuccessTip':_0xa0b4c9(0x1e7),'downloading':_0xa0b4c9(0x1ec),'downloadSuccess':_0xa0b4c9(0x1ef),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':_0xa0b4c9(0x1fb),'tooLarge':_0xa0b4c9(0x1e9),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0xa0b4c9(0x1f8),'fileTypeError':_0xa0b4c9(0x1f0),'wait':_0xa0b4c9(0x1eb),'cancel':_0xa0b4c9(0x1f3),'uploadAgain':_0xa0b4c9(0x1fa)}};export{n as default};function _0x1119(){const _0x469d55=['Đang\x20tải\x20xuống','1290224JrMwhD','Mở\x20(Tệp)','Tải\x20xuống\x20thành\x20công','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','120MADrKZ','17864dDgfRF','Hủy\x20bỏ','Tải\x20lên\x20tệp\x20thành\x20công','1272546JCkWaB','5yuKXnW','490601tmEDOx','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','845362aVCFjD','Tải\x20lên\x20lại','Lỗi\x20mạng','1252456rrrCNS','76680ACEwcq','Lưu\x20dưới\x20dạng','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Đang\x20tải\x20lên','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Lưu\x20dưới\x20dạng\x20WPS','Vui\x20lòng\x20đợi...'];_0x1119=function(){return _0x469d55;};return _0x1119();}
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x41e05d=_0x378d;(function(_0x3f69eb,_0x4e7a9d){const _0x39d67b=_0x378d,_0x585990=_0x3f69eb();while(!![]){try{const _0x4a4a14=parseInt(_0x39d67b(0x15b))/0x1*(-parseInt(_0x39d67b(0x16a))/0x2)+-parseInt(_0x39d67b(0x164))/0x3*(parseInt(_0x39d67b(0x160))/0x4)+-parseInt(_0x39d67b(0x171))/0x5*(parseInt(_0x39d67b(0x15a))/0x6)+-parseInt(_0x39d67b(0x168))/0x7+-parseInt(_0x39d67b(0x16d))/0x8+parseInt(_0x39d67b(0x162))/0x9*(parseInt(_0x39d67b(0x15f))/0xa)+-parseInt(_0x39d67b(0x166))/0xb*(-parseInt(_0x39d67b(0x161))/0xc);if(_0x4a4a14===_0x4e7a9d)break;else _0x585990['push'](_0x585990['shift']());}catch(_0x2193ba){_0x585990['push'](_0x585990['shift']());}}}(_0x39f1,0x2f507));function _0x378d(_0x1a9bcf,_0x379db7){const _0x39f137=_0x39f1();return _0x378d=function(_0x378d48,_0x75f3b4){_0x378d48=_0x378d48-0x159;let _0x10c9d1=_0x39f137[_0x378d48];return _0x10c9d1;},_0x378d(_0x1a9bcf,_0x379db7);}const o={'exchange':{'file':'文件','upload':_0x41e05d(0x170),'download':_0x41e05d(0x159),'downloadWPS':_0x41e05d(0x16c),'uploading':_0x41e05d(0x167),'uploadSuccess':_0x41e05d(0x165),'uploadSuccessTip':_0x41e05d(0x15d),'downloading':_0x41e05d(0x16f),'downloadSuccess':_0x41e05d(0x16e),'unknownMistake':_0x41e05d(0x15e),'networkError':_0x41e05d(0x163),'tooLarge':_0x41e05d(0x173),'internalError':_0x41e05d(0x169),'interrupt':_0x41e05d(0x172),'fileTypeError':'所选文件\x20[{0}]\x20不支持上传','wait':_0x41e05d(0x16b),'cancel':'取消','uploadAgain':_0x41e05d(0x15c)}};function _0x39f1(){const _0x447b4a=['1169464KrHjhJ','下载成功','下载中','打开(文件)','3190WUYixU','网络连接中断,文件上传失败','数据流过大','另存为','2802iQuUwV','75039xWQjrl','再次上传','{0}个文件上传成功','未知错误','10GkcBPg','20dHsVhh','816MHrNTs','2247489QGJtcW','网络异常','88971bwTKrD','文件上传成功','126335eTBYLu','上传中','135597EAevyh','内部未知错误','6THbCIy','请稍等...','另存为\x20WPS'];_0x39f1=function(){return _0x447b4a;};return _0x39f1();}export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0xeeef(_0x5b9d6e,_0x4d4bd0){const _0x269c9e=_0x269c();return _0xeeef=function(_0xeeef77,_0x4cd120){_0xeeef77=_0xeeef77-0x149;let _0x2477a5=_0x269c9e[_0xeeef77];return _0x2477a5;},_0xeeef(_0x5b9d6e,_0x4d4bd0);}const _0xe2e6b=_0xeeef;(function(_0x270bfc,_0x441021){const _0x596e40=_0xeeef,_0x4c7f3f=_0x270bfc();while(!![]){try{const _0x4632e7=parseInt(_0x596e40(0x155))/0x1*(-parseInt(_0x596e40(0x150))/0x2)+-parseInt(_0x596e40(0x14f))/0x3*(parseInt(_0x596e40(0x153))/0x4)+-parseInt(_0x596e40(0x149))/0x5+-parseInt(_0x596e40(0x158))/0x6+parseInt(_0x596e40(0x152))/0x7+-parseInt(_0x596e40(0x151))/0x8+parseInt(_0x596e40(0x157))/0x9;if(_0x4632e7===_0x441021)break;else _0x4c7f3f['push'](_0x4c7f3f['shift']());}catch(_0x4677a5){_0x4c7f3f['push'](_0x4c7f3f['shift']());}}}(_0x269c,0xbedf9));function _0x269c(){const _0x39a14a=['未知錯誤','上傳中','9759rhDWZy','2MriRLz','6342280ZRbqeE','6755910gEtrDS','124PahnjR','開啟(檔案)','1106728bnDItb','檔案上傳成功','32877189QkRkQD','4170240DyffIw','請稍等...','所選檔案\x20[{0}]\x20不支援上傳','5704690fDlgUE','另存為\x20WPS','網路異常','再次上傳'];_0x269c=function(){return _0x39a14a;};return _0x269c();}const o={'exchange':{'file':'檔案','upload':_0xe2e6b(0x154),'download':'另存為','downloadWPS':_0xe2e6b(0x14a),'uploading':_0xe2e6b(0x14e),'uploadSuccess':_0xe2e6b(0x156),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':'下載中','downloadSuccess':'下載成功','unknownMistake':_0xe2e6b(0x14d),'networkError':_0xe2e6b(0x14b),'tooLarge':'資料流過大','internalError':'內部未知錯誤','interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0xe2e6b(0x15a),'wait':_0xe2e6b(0x159),'cancel':'取消','uploadAgain':_0xe2e6b(0x14c)}};export{o as default};
|
package/lib/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x57fafc=_0xaaae;(function(_0x2939ac,_0x9617dd){const _0x42552e=_0xaaae,_0x31d53f=_0x2939ac();while(!![]){try{const _0xb55272=parseInt(_0x42552e(0x11f))/0x1+parseInt(_0x42552e(0x10a))/0x2*(parseInt(_0x42552e(0x112))/0x3)+parseInt(_0x42552e(0x108))/0x4*(parseInt(_0x42552e(0x10f))/0x5)+parseInt(_0x42552e(0x11d))/0x6*(parseInt(_0x42552e(0x120))/0x7)+parseInt(_0x42552e(0x121))/0x8*(-parseInt(_0x42552e(0x114))/0x9)+parseInt(_0x42552e(0x116))/0xa+-parseInt(_0x42552e(0x11c))/0xb;if(_0xb55272===_0x9617dd)break;else _0x31d53f['push'](_0x31d53f['shift']());}catch(_0x1f1e91){_0x31d53f['push'](_0x31d53f['shift']());}}}(_0x3b24,0xac5ce));import{IExchangeService as _0x4a74db}from'@univerjs-pro/exchange-client';import{FUniver as _0x5e0b4f}from'@univerjs/core/facade';var o=(_0x113872=>(_0x113872[_0x113872['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x113872[_0x113872['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x113872[_0x113872[_0x57fafc(0x10e)]=0x2]='UNIVER_SHEET',_0x113872[_0x113872[_0x57fafc(0x111)]=0x3]=_0x57fafc(0x111),_0x113872[_0x113872[_0x57fafc(0x115)]=0x4]=_0x57fafc(0x115),_0x113872[_0x113872['UNRECOGNIZED']=-0x1]=_0x57fafc(0x125),_0x113872))(o||{});class s extends _0x5e0b4f{async['importXLSXToUnitId'](_0x402649){const _0x4cd097=_0x57fafc;return this[_0x4cd097(0x128)](_0x402649);}async[_0x57fafc(0x128)](_0x1d53b2){const _0x314004=_0x57fafc,_0x3c5fe7=this['_injector'][_0x314004(0x10d)](_0x4a74db);if(!_0x3c5fe7)throw new Error(_0x314004(0x11b));return _0x3c5fe7['importFileToUnitId'](_0x1d53b2,o[_0x314004(0x10e)]);}async[_0x57fafc(0x122)](_0x1af0a8){const _0x5a007f=_0x57fafc;return this[_0x5a007f(0x124)](_0x1af0a8);}async['importXLSXToSnapshotAsync'](_0x356b5e){const _0x39ee52=_0x57fafc,_0x33f5a3=this['_injector'][_0x39ee52(0x10d)](_0x4a74db);if(!_0x33f5a3)throw new Error(_0x39ee52(0x11b));return _0x33f5a3['importXLSXToSnapshot'](_0x356b5e);}async[_0x57fafc(0x117)](_0x38cc5d){const _0x5ad5a5=_0x57fafc;return this[_0x5ad5a5(0x10b)](_0x38cc5d);}async[_0x57fafc(0x10b)](_0x478a5b){const _0x32746f=_0x57fafc,_0x354b59=this['_injector'][_0x32746f(0x10d)](_0x4a74db);if(!_0x354b59)throw new Error(_0x32746f(0x11b));return _0x354b59['exportXLSXByUnitId'](_0x478a5b);}async['exportXLSXBySnapshot'](_0x12db81){return this['exportXLSXBySnapshotAsync'](_0x12db81);}async[_0x57fafc(0x11e)](_0xff165a){const _0x16e5f7=_0x57fafc,_0x17cab9=this['_injector'][_0x16e5f7(0x10d)](_0x4a74db);if(!_0x17cab9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x17cab9[_0x16e5f7(0x113)](_0xff165a);}async[_0x57fafc(0x11a)](_0x3d9f6e){return this['importDOCXToUnitIdAsync'](_0x3d9f6e);}async[_0x57fafc(0x123)](_0x56d93e){const _0x574e3b=_0x57fafc,_0x18177a=this[_0x574e3b(0x109)][_0x574e3b(0x10d)](_0x4a74db);if(!_0x18177a)throw new Error(_0x574e3b(0x11b));return _0x18177a[_0x574e3b(0x110)](_0x56d93e,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x26c477){return this['importDOCXToSnapshotAsync'](_0x26c477);}async['importDOCXToSnapshotAsync'](_0x218460){const _0x586417=_0x57fafc,_0x4af2f3=this['_injector'][_0x586417(0x10d)](_0x4a74db);if(!_0x4af2f3)throw new Error(_0x586417(0x11b));return _0x4af2f3[_0x586417(0x127)](_0x218460);}async[_0x57fafc(0x119)](_0x330123){const _0x4cc890=_0x57fafc,_0x211a09=this[_0x4cc890(0x109)][_0x4cc890(0x10d)](_0x4a74db);if(!_0x211a09)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x211a09['exportDOCXBySnapshot'](_0x330123);}async[_0x57fafc(0x126)](_0x5290ad){const _0x1f8ea5=_0x57fafc,_0x1a1b07=this[_0x1f8ea5(0x109)]['get'](_0x4a74db);if(!_0x1a1b07)throw new Error(_0x1f8ea5(0x11b));return _0x1a1b07[_0x1f8ea5(0x10c)](_0x5290ad);}}_0x5e0b4f[_0x57fafc(0x118)](s);function _0xaaae(_0x4253d2,_0x4f93c1){const _0x3b24ea=_0x3b24();return _0xaaae=function(_0xaaaea4,_0x24b797){_0xaaaea4=_0xaaaea4-0x108;let _0x25799e=_0x3b24ea[_0xaaaea4];return _0x25799e;},_0xaaae(_0x4253d2,_0x4f93c1);}function _0x3b24(){const _0x1e69d5=['27534opANnN','exportXLSXBySnapshotAsync','1331962qdGiXd','84vZqPmT','4344nEnNYO','importXLSXToSnapshot','importDOCXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','exportDOCXByUnitIdAsync','importDOCXToSnapshot','importXLSXToUnitIdAsync','1758632RWnyMK','_injector','179992PRgSYi','exportXLSXByUnitIdAsync','exportDOCXByUnitId','get','UNIVER_SHEET','5wjdeSa','importFileToUnitId','UNIVER_SLIDE','3RiCmrC','exportXLSXBySnapshot','4527JohayV','UNIVER_PROJECT','2572470bIkSLf','exportXLSXByUnitId','extend','exportDOCXBySnapshotAsync','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','13142844fCiKrb'];_0x3b24=function(){return _0x1e69d5;};return _0x3b24();}
|