@univerjs-pro/exchange-client 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250419-8830bd4
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 +5 -0
- package/lib/types/services/exchange.service.d.ts +3 -1
- package/lib/types/services/request.service.d.ts +4 -0
- 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 +13 -8
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x575834=_0x162c;function _0x162c(_0x3a9fb6,_0x4bf49d){const _0x59029d=_0x5902();return _0x162c=function(_0x162c09,_0x45cfb8){_0x162c09=_0x162c09-0x130;let _0x259146=_0x59029d[_0x162c09];return _0x259146;},_0x162c(_0x3a9fb6,_0x4bf49d);}(function(_0x327c40,_0x490ab6){const _0x3ee929=_0x162c,_0x31ce55=_0x327c40();while(!![]){try{const _0x348bba=-parseInt(_0x3ee929(0x146))/0x1*(-parseInt(_0x3ee929(0x131))/0x2)+-parseInt(_0x3ee929(0x139))/0x3+-parseInt(_0x3ee929(0x143))/0x4+-parseInt(_0x3ee929(0x138))/0x5+-parseInt(_0x3ee929(0x141))/0x6*(-parseInt(_0x3ee929(0x13d))/0x7)+parseInt(_0x3ee929(0x145))/0x8*(parseInt(_0x3ee929(0x134))/0x9)+parseInt(_0x3ee929(0x132))/0xa;if(_0x348bba===_0x490ab6)break;else _0x31ce55['push'](_0x31ce55['shift']());}catch(_0x45e633){_0x31ce55['push'](_0x31ce55['shift']());}}}(_0x5902,0xca53b));const e={'exchange':{'file':_0x575834(0x13f),'upload':'Open(File)','download':_0x575834(0x13a),'uploading':'Uploading','uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x575834(0x136),'downloading':_0x575834(0x140),'downloadSuccess':_0x575834(0x13b),'unknownMistake':_0x575834(0x137),'networkError':_0x575834(0x133),'tooLarge':_0x575834(0x135),'internalError':_0x575834(0x142),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x575834(0x13c),'wait':_0x575834(0x144),'cancel':_0x575834(0x13e),'uploadAgain':_0x575834(0x130)}};function _0x5902(){const _0x252249=['Cancel','File','Downloading','6079980UlzToH','Internal\x20unknown\x20error','6507208xYTILy','Please\x20wait...','4568CAapvp','536211yIJPxL','Upload\x20again','6zHDpFW','7507360kvbGHL','Network\x20error','13995DBbtei','Data\x20is\x20too\x20large','{0}\x20file(s)\x20uploaded\x20successfully','Unknown\x20mistake','2464710tSMVxW','3936387qEfpEZ','Save\x20As','Download\x20success','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','7DXOYau'];_0x5902=function(){return _0x252249;};return _0x5902();}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x5bb104=_0x2e52;function _0x37d0(){const _0x2b94c7=['11fptXZE','4025250dPaKWm','داده\x20خیلی\x20بزرگ\x20است','3LFvCMj','بازکردن(فایل)','7XdzVxh','194105cPvhsm','66NkZTfB','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','در\x20حال\x20بارگذاری','بارگذاری\x20مجدد','1835507ZjubRs','در\x20حال\x20دانلود','فایل','2GomOJr','خطای\x20ناشناخته','624304jLwGfN','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','7240492VRNqoU','ذخیره\x20به\x20عنوان','لغو','خطای\x20داخلی\x20ناشناخته','خطای\x20شبکه','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','8828460hsPEFl','لطفا\x20صبر\x20کنید...','34528008zHbEMo','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.'];_0x37d0=function(){return _0x2b94c7;};return _0x37d0();}(function(_0x7048c3,_0x14d433){const _0x37e2c0=_0x2e52,_0x14d635=_0x7048c3();while(!![]){try{const _0x52ec30=-parseInt(_0x37e2c0(0xff))/0x1*(parseInt(_0x37e2c0(0x102))/0x2)+parseInt(_0x37e2c0(0x113))/0x3*(-parseInt(_0x37e2c0(0x106))/0x4)+-parseInt(_0x37e2c0(0xfa))/0x5*(-parseInt(_0x37e2c0(0xfb))/0x6)+-parseInt(_0x37e2c0(0x115))/0x7*(parseInt(_0x37e2c0(0x104))/0x8)+parseInt(_0x37e2c0(0x10c))/0x9+-parseInt(_0x37e2c0(0x111))/0xa*(-parseInt(_0x37e2c0(0x110))/0xb)+parseInt(_0x37e2c0(0x10e))/0xc;if(_0x52ec30===_0x14d433)break;else _0x14d635['push'](_0x14d635['shift']());}catch(_0x7d960b){_0x14d635['push'](_0x14d635['shift']());}}}(_0x37d0,0xeb642));const o={'exchange':{'file':_0x5bb104(0x101),'upload':_0x5bb104(0x114),'download':_0x5bb104(0x107),'uploading':_0x5bb104(0xfd),'uploadSuccess':_0x5bb104(0x10b),'uploadSuccessTip':_0x5bb104(0x105),'downloading':_0x5bb104(0x100),'downloadSuccess':'دانلود\x20موفقیت\x20آمیز','unknownMistake':_0x5bb104(0x103),'networkError':_0x5bb104(0x10a),'tooLarge':_0x5bb104(0x112),'internalError':_0x5bb104(0x109),'interrupt':_0x5bb104(0x10f),'fileTypeError':_0x5bb104(0xfc),'wait':_0x5bb104(0x10d),'cancel':_0x5bb104(0x108),'uploadAgain':_0x5bb104(0xfe)}};function _0x2e52(_0x620744,_0x376cd5){const _0x37d07b=_0x37d0();return _0x2e52=function(_0x2e525f,_0x390b75){_0x2e525f=_0x2e525f-0xfa;let _0x193715=_0x37d07b[_0x2e525f];return _0x193715;},_0x2e52(_0x620744,_0x376cd5);}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x1cea4a=_0x1cf6;(function(_0x5e2477,_0x59d82a){const _0x31f67a=_0x1cf6,_0x3b90eb=_0x5e2477();while(!![]){try{const _0x4b451f=parseInt(_0x31f67a(0x1e9))/0x1*(-parseInt(_0x31f67a(0x1e6))/0x2)+-parseInt(_0x31f67a(0x1ec))/0x3*(parseInt(_0x31f67a(0x1f4))/0x4)+parseInt(_0x31f67a(0x1e4))/0x5*(-parseInt(_0x31f67a(0x1f7))/0x6)+parseInt(_0x31f67a(0x1ed))/0x7*(-parseInt(_0x31f67a(0x1f0))/0x8)+-parseInt(_0x31f67a(0x1f5))/0x9+-parseInt(_0x31f67a(0x1e8))/0xa+parseInt(_0x31f67a(0x1f8))/0xb;if(_0x4b451f===_0x59d82a)break;else _0x3b90eb['push'](_0x3b90eb['shift']());}catch(_0x455c6a){_0x3b90eb['push'](_0x3b90eb['shift']());}}}(_0x3d59,0x933b1));const e={'exchange':{'file':'Fichier','upload':_0x1cea4a(0x1ee),'download':_0x1cea4a(0x1e3),'uploading':'Téléchargement\x20en\x20cours','uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':_0x1cea4a(0x1f2),'downloading':'Téléchargement','downloadSuccess':'Téléchargement\x20réussi','unknownMistake':_0x1cea4a(0x1eb),'networkError':_0x1cea4a(0x1f6),'tooLarge':_0x1cea4a(0x1ef),'internalError':_0x1cea4a(0x1e7),'interrupt':_0x1cea4a(0x1e5),'fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x1cea4a(0x1ea),'cancel':_0x1cea4a(0x1f1),'uploadAgain':_0x1cea4a(0x1f3)}};function _0x3d59(){const _0x14b73a=['Télécharger\x20à\x20nouveau','21288BSUvGW','774477IpVzXj','Erreur\x20réseau','90VGoBgz','41959632oZdMzc','Enregistrer\x20sous','225445foxRtW','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','1753854XIPTBU','Erreur\x20interne\x20inconnue','2803120fNxLSI','1QnJafg','Veuillez\x20patienter...','Erreur\x20inconnue','132vNbGvL','70iAaNfE','Ouvrir\x20(Fichier)','Les\x20données\x20sont\x20trop\x20volumineuses','846128rscOjw','Annuler','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès'];_0x3d59=function(){return _0x14b73a;};return _0x3d59();}function _0x1cf6(_0x45000a,_0x27ba98){const _0x3d596e=_0x3d59();return _0x1cf6=function(_0x1cf6a9,_0x12718d){_0x1cf6a9=_0x1cf6a9-0x1e3;let _0x4f717b=_0x3d596e[_0x1cf6a9];return _0x4f717b;},_0x1cf6(_0x45000a,_0x27ba98);}export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x1d8d(_0x4d2877,_0x576eab){const _0x37c455=_0x37c4();return _0x1d8d=function(_0x1d8dce,_0x2cb14c){_0x1d8dce=_0x1d8dce-0x1e7;let _0x7bfd81=_0x37c455[_0x1d8dce];return _0x7bfd81;},_0x1d8d(_0x4d2877,_0x576eab);}const _0x53b3a7=_0x1d8d;(function(_0x51cd6b,_0xa928f5){const _0x54685b=_0x1d8d,_0x295820=_0x51cd6b();while(!![]){try{const _0x1a4554=parseInt(_0x54685b(0x1f9))/0x1+-parseInt(_0x54685b(0x1f0))/0x2*(parseInt(_0x54685b(0x1fe))/0x3)+parseInt(_0x54685b(0x1f2))/0x4*(parseInt(_0x54685b(0x1f6))/0x5)+parseInt(_0x54685b(0x1f5))/0x6*(-parseInt(_0x54685b(0x1f8))/0x7)+parseInt(_0x54685b(0x1f7))/0x8*(-parseInt(_0x54685b(0x1f1))/0x9)+-parseInt(_0x54685b(0x1e7))/0xa*(-parseInt(_0x54685b(0x1fa))/0xb)+parseInt(_0x54685b(0x1f4))/0xc;if(_0x1a4554===_0xa928f5)break;else _0x295820['push'](_0x295820['shift']());}catch(_0x328c7f){_0x295820['push'](_0x295820['shift']());}}}(_0x37c4,0x1da42));const o={'exchange':{'file':_0x53b3a7(0x1ee),'upload':_0x53b3a7(0x1e9),'download':_0x53b3a7(0x1ed),'uploading':'Загрузка','uploadSuccess':_0x53b3a7(0x1fd),'uploadSuccessTip':_0x53b3a7(0x1ec),'downloading':_0x53b3a7(0x1ea),'downloadSuccess':'Скачивание\x20успешно','unknownMistake':'Неизвестная\x20ошибка','networkError':_0x53b3a7(0x1e8),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x53b3a7(0x1fc),'interrupt':_0x53b3a7(0x1fb),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x53b3a7(0x1f3),'cancel':_0x53b3a7(0x1ef),'uploadAgain':_0x53b3a7(0x1eb)}};function _0x37c4(){const _0x2b16a7=['Файл\x20успешно\x20загружен','95523lrXWPj','10pofqvX','Сетевая\x20ошибка','Открыть(Файл)','Скачивание','Загрузить\x20снова','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Сохранить\x20как','Файл','Отмена','2XutwSZ','1665639rkhfGu','44WHGpAO','Пожалуйста,\x20подождите...','1276464TjnKKe','186uMFqOm','68595CCexSe','8dHyVZY','51191CqETLA','155881ujBppI','1670493wwNYbC','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Внутренняя\x20неизвестная\x20ошибка'];_0x37c4=function(){return _0x2b16a7;};return _0x37c4();}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0xd2e8a8=_0x1ec0;(function(_0x2e18ba,_0x472013){const _0x1cbe75=_0x1ec0,_0x1a6272=_0x2e18ba();while(!![]){try{const _0x11f46c=parseInt(_0x1cbe75(0xec))/0x1*(parseInt(_0x1cbe75(0xf5))/0x2)+-parseInt(_0x1cbe75(0xfa))/0x3*(parseInt(_0x1cbe75(0xee))/0x4)+-parseInt(_0x1cbe75(0xf3))/0x5*(parseInt(_0x1cbe75(0xe7))/0x6)+-parseInt(_0x1cbe75(0xf9))/0x7*(parseInt(_0x1cbe75(0xe4))/0x8)+-parseInt(_0x1cbe75(0xe5))/0x9*(parseInt(_0x1cbe75(0xe3))/0xa)+parseInt(_0x1cbe75(0xef))/0xb+parseInt(_0x1cbe75(0xf1))/0xc*(parseInt(_0x1cbe75(0xe8))/0xd);if(_0x11f46c===_0x472013)break;else _0x1a6272['push'](_0x1a6272['shift']());}catch(_0x4515a1){_0x1a6272['push'](_0x1a6272['shift']());}}}(_0x1683,0xd54d3));const n={'exchange':{'file':'Tệp','upload':_0xd2e8a8(0xf4),'download':_0xd2e8a8(0xf8),'uploading':'Đang\x20tải\x20lên','uploadSuccess':_0xd2e8a8(0xf0),'uploadSuccessTip':'{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','downloading':_0xd2e8a8(0xf6),'downloadSuccess':_0xd2e8a8(0xf2),'unknownMistake':_0xd2e8a8(0xe6),'networkError':'Lỗi\x20mạng','tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0xd2e8a8(0xeb),'interrupt':_0xd2e8a8(0xea),'fileTypeError':_0xd2e8a8(0xed),'wait':_0xd2e8a8(0xe9),'cancel':'Hủy\x20bỏ','uploadAgain':_0xd2e8a8(0xf7)}};function _0x1683(){const _0x1fa6cf=['15990pluZCn','13yehqXe','Vui\x20lòng\x20đợi...','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','55bZjKER','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','5827268JklZiG','6577351hNYJgL','Tải\x20lên\x20tệp\x20thành\x20công','52910796skAJAL','Tải\x20xuống\x20thành\x20công','2345VahiWm','Mở\x20(Tệp)','49886KmfpiI','Đang\x20tải\x20xuống','Tải\x20lên\x20lại','Lưu\x20dưới\x20dạng','370720DNhucn','3zskaSv','2620mxXhGd','168AQEbyx','57933zdhfgX','Lỗi\x20không\x20xác\x20định'];_0x1683=function(){return _0x1fa6cf;};return _0x1683();}function _0x1ec0(_0x357fea,_0x121c85){const _0x168361=_0x1683();return _0x1ec0=function(_0x1ec0c0,_0x26677e){_0x1ec0c0=_0x1ec0c0-0xe3;let _0xac60a3=_0x168361[_0x1ec0c0];return _0xac60a3;},_0x1ec0(_0x357fea,_0x121c85);}export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x543f83=_0x15ef;(function(_0x538c91,_0xbbbd10){const _0x26bd17=_0x15ef,_0x9ea55e=_0x538c91();while(!![]){try{const _0x11c737=parseInt(_0x26bd17(0xd6))/0x1+parseInt(_0x26bd17(0xd5))/0x2*(parseInt(_0x26bd17(0xd8))/0x3)+parseInt(_0x26bd17(0xd9))/0x4*(parseInt(_0x26bd17(0xd3))/0x5)+-parseInt(_0x26bd17(0xda))/0x6*(-parseInt(_0x26bd17(0xe0))/0x7)+parseInt(_0x26bd17(0xd4))/0x8+-parseInt(_0x26bd17(0xe1))/0x9+parseInt(_0x26bd17(0xd1))/0xa*(-parseInt(_0x26bd17(0xcd))/0xb);if(_0x11c737===_0xbbbd10)break;else _0x9ea55e['push'](_0x9ea55e['shift']());}catch(_0x903c89){_0x9ea55e['push'](_0x9ea55e['shift']());}}}(_0x5156,0x485b9));function _0x15ef(_0x2985f1,_0x3f1a46){const _0x51565b=_0x5156();return _0x15ef=function(_0x15ef3d,_0x49eee7){_0x15ef3d=_0x15ef3d-0xcd;let _0x13107b=_0x51565b[_0x15ef3d];return _0x13107b;},_0x15ef(_0x2985f1,_0x3f1a46);}const o={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x543f83(0xd0),'uploading':_0x543f83(0xdb),'uploadSuccess':_0x543f83(0xdd),'uploadSuccessTip':_0x543f83(0xce),'downloading':'下载中','downloadSuccess':'下载成功','unknownMistake':'未知错误','networkError':'网络异常','tooLarge':_0x543f83(0xd2),'internalError':_0x543f83(0xdc),'interrupt':_0x543f83(0xde),'fileTypeError':_0x543f83(0xdf),'wait':_0x543f83(0xd7),'cancel':'取消','uploadAgain':_0x543f83(0xcf)}};function _0x5156(){const _0xcf4061=['735WOOUbk','337924KcYmdm','6Kzgeca','上传中','内部未知错误','文件上传成功','网络连接中断,文件上传失败','所选文件\x20[{0}]\x20不支持上传','1185989iysOxU','1290672KlIhsE','216205vemwUa','{0}个文件上传成功','再次上传','另存为','300AJeyUj','数据流过大','10nFGsxu','1300896iEDlrL','2378edNmbf','237129LRqAHE','请稍等...'];_0x5156=function(){return _0xcf4061;};return _0x5156();}export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x2a6a1e=_0x1547;function _0x1547(_0x126519,_0x113ba3){const _0x1818d2=_0x1818();return _0x1547=function(_0x1547f7,_0x16a27d){_0x1547f7=_0x1547f7-0x18b;let _0x46b974=_0x1818d2[_0x1547f7];return _0x46b974;},_0x1547(_0x126519,_0x113ba3);}function _0x1818(){const _0x187e65=['上傳中','再次上傳','1026060JIxFmG','279587LjXqVs','2999736XvKiUK','所選檔案\x20[{0}]\x20不支援上傳','996507thJtwH','19559bHoFVS','9axWRYI','6DzNghm','5395730jdbYoV','資料流過大','網路異常','內部未知錯誤','5KYNbMp','16dNHHTh','下載中','77SgyKfA','檔案上傳成功','{0}個檔案上傳成功','1342732OvVzMF','開啟(檔案)'];_0x1818=function(){return _0x187e65;};return _0x1818();}(function(_0x58bc08,_0x2b1557){const _0x47e0a9=_0x1547,_0x11b65a=_0x58bc08();while(!![]){try{const _0x54c25f=parseInt(_0x47e0a9(0x1a0))/0x1*(-parseInt(_0x47e0a9(0x192))/0x2)+parseInt(_0x47e0a9(0x19f))/0x3+parseInt(_0x47e0a9(0x197))/0x4*(-parseInt(_0x47e0a9(0x191))/0x5)+parseInt(_0x47e0a9(0x18c))/0x6*(parseInt(_0x47e0a9(0x19c))/0x7)+parseInt(_0x47e0a9(0x19d))/0x8+-parseInt(_0x47e0a9(0x18b))/0x9*(parseInt(_0x47e0a9(0x18d))/0xa)+parseInt(_0x47e0a9(0x194))/0xb*(parseInt(_0x47e0a9(0x19b))/0xc);if(_0x54c25f===_0x2b1557)break;else _0x11b65a['push'](_0x11b65a['shift']());}catch(_0x19da27){_0x11b65a['push'](_0x11b65a['shift']());}}}(_0x1818,0x4ca1c));const o={'exchange':{'file':'檔案','upload':_0x2a6a1e(0x198),'download':'另存為','uploading':_0x2a6a1e(0x199),'uploadSuccess':_0x2a6a1e(0x195),'uploadSuccessTip':_0x2a6a1e(0x196),'downloading':_0x2a6a1e(0x193),'downloadSuccess':'下載成功','unknownMistake':'未知錯誤','networkError':_0x2a6a1e(0x18f),'tooLarge':_0x2a6a1e(0x18e),'internalError':_0x2a6a1e(0x190),'interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0x2a6a1e(0x19e),'wait':'請稍等...','cancel':'取消','uploadAgain':_0x2a6a1e(0x19a)}};export{o as default};
|
package/lib/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x55b17d=_0x1647;function _0x1647(_0x328361,_0x45f010){const _0x26a653=_0x26a6();return _0x1647=function(_0x164775,_0x3d3624){_0x164775=_0x164775-0x17f;let _0x3b7ac8=_0x26a653[_0x164775];return _0x3b7ac8;},_0x1647(_0x328361,_0x45f010);}function _0x26a6(){const _0x3d8510=['UNIVER_PROJECT','UNIVER_UNKNOWN','1314032uZPsuk','12BDOhpY','516476TIobhS','importDOCXToUnitIdAsync','UNIVER_SLIDE','exportXLSXBySnapshot','425634TjHSfE','extend','UNIVER_SHEET','importXLSXToSnapshotAsync','7662366VLlarK','3rEwqpY','importXLSXToUnitId','importFileToUnitId','UNRECOGNIZED','548445YpAgSa','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','importXLSXToSnapshot','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','_injector','157224siPdJk','943593aOmknR','exportXLSXByUnitIdAsync','get','UNIVER_DOC'];_0x26a6=function(){return _0x3d8510;};return _0x26a6();}(function(_0x383cd0,_0x51ccda){const _0x268cb4=_0x1647,_0x5855ce=_0x383cd0();while(!![]){try{const _0x4d986a=-parseInt(_0x268cb4(0x197))/0x1+-parseInt(_0x268cb4(0x187))/0x2+-parseInt(_0x268cb4(0x18c))/0x3*(parseInt(_0x268cb4(0x183))/0x4)+-parseInt(_0x268cb4(0x190))/0x5+parseInt(_0x268cb4(0x182))/0x6*(-parseInt(_0x268cb4(0x198))/0x7)+parseInt(_0x268cb4(0x181))/0x8+parseInt(_0x268cb4(0x18b))/0x9;if(_0x4d986a===_0x51ccda)break;else _0x5855ce['push'](_0x5855ce['shift']());}catch(_0x592d84){_0x5855ce['push'](_0x5855ce['shift']());}}}(_0x26a6,0x217dd));import{IExchangeService as _0x146556}from'@univerjs-pro/exchange-client';import{FUniver as _0x383981}from'@univerjs/core/facade';var o=(_0x2db9a2=>(_0x2db9a2[_0x2db9a2['UNIVER_UNKNOWN']=0x0]=_0x55b17d(0x180),_0x2db9a2[_0x2db9a2[_0x55b17d(0x19b)]=0x1]=_0x55b17d(0x19b),_0x2db9a2[_0x2db9a2[_0x55b17d(0x189)]=0x2]='UNIVER_SHEET',_0x2db9a2[_0x2db9a2[_0x55b17d(0x185)]=0x3]=_0x55b17d(0x185),_0x2db9a2[_0x2db9a2[_0x55b17d(0x17f)]=0x4]=_0x55b17d(0x17f),_0x2db9a2[_0x2db9a2[_0x55b17d(0x18f)]=-0x1]=_0x55b17d(0x18f),_0x2db9a2))(o||{});class s extends _0x383981{async[_0x55b17d(0x18d)](_0x597627){return this['importXLSXToUnitIdAsync'](_0x597627);}async['importXLSXToUnitIdAsync'](_0x6cdac3){const _0x53d514=_0x55b17d,_0x6c6b3f=this[_0x53d514(0x196)][_0x53d514(0x19a)](_0x146556);if(!_0x6c6b3f)throw new Error(_0x53d514(0x195));return _0x6c6b3f[_0x53d514(0x18e)](_0x6cdac3,o['UNIVER_SHEET']);}async[_0x55b17d(0x193)](_0x2fb8d6){return this['importXLSXToSnapshotAsync'](_0x2fb8d6);}async[_0x55b17d(0x18a)](_0x4dfed4){const _0x1e7974=_0x55b17d,_0x5789ee=this['_injector'][_0x1e7974(0x19a)](_0x146556);if(!_0x5789ee)throw new Error(_0x1e7974(0x195));return _0x5789ee[_0x1e7974(0x193)](_0x4dfed4);}async[_0x55b17d(0x194)](_0x5beca4){return this['exportXLSXByUnitIdAsync'](_0x5beca4);}async[_0x55b17d(0x199)](_0x325efd){const _0x36a29f=_0x55b17d,_0x543ca8=this[_0x36a29f(0x196)]['get'](_0x146556);if(!_0x543ca8)throw new Error(_0x36a29f(0x195));return _0x543ca8[_0x36a29f(0x194)](_0x325efd);}async['exportXLSXBySnapshot'](_0x5ef500){const _0x5a5859=_0x55b17d;return this[_0x5a5859(0x191)](_0x5ef500);}async[_0x55b17d(0x191)](_0x4aaeff){const _0x2b83be=_0x55b17d,_0x5b5c50=this['_injector'][_0x2b83be(0x19a)](_0x146556);if(!_0x5b5c50)throw new Error(_0x2b83be(0x195));return _0x5b5c50[_0x2b83be(0x186)](_0x4aaeff);}async['importDOCXToUnitId'](_0x151423){return this['importDOCXToUnitIdAsync'](_0x151423);}async[_0x55b17d(0x184)](_0xa60569){const _0x1baaa6=_0x55b17d,_0x2a7b27=this[_0x1baaa6(0x196)][_0x1baaa6(0x19a)](_0x146556);if(!_0x2a7b27)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a7b27['importFileToUnitId'](_0xa60569,o[_0x1baaa6(0x19b)]);}async['importDOCXToSnapshot'](_0x45d1dd){const _0x1f80ae=_0x55b17d;return this[_0x1f80ae(0x192)](_0x45d1dd);}async[_0x55b17d(0x192)](_0x29012a){const _0x306e4e=_0x55b17d,_0x286b99=this[_0x306e4e(0x196)][_0x306e4e(0x19a)](_0x146556);if(!_0x286b99)throw new Error(_0x306e4e(0x195));return _0x286b99['importDOCXToSnapshot'](_0x29012a);}}_0x383981[_0x55b17d(0x188)](s);
|