@univerjs-pro/exchange-client 0.6.0 → 0.6.1-nightly.202502211606
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/types/locale/zh-CN.d.ts +1 -0
- package/lib/types/services/operate.service.d.ts +8 -0
- package/lib/types/services/utils/content-type.d.ts +16 -0
- package/lib/types/services/utils/tool.d.ts +6 -1
- 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 +12 -12
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x34d8dc=_0x2a16;(function(_0x4ef4f9,_0x35e1cc){const _0x1b753b=_0x2a16,_0x5a3357=_0x4ef4f9();while(!![]){try{const _0x5104b1=-parseInt(_0x1b753b(0x1f7))/0x1+parseInt(_0x1b753b(0x1f2))/0x2*(parseInt(_0x1b753b(0x1fc))/0x3)+parseInt(_0x1b753b(0x1eb))/0x4*(-parseInt(_0x1b753b(0x203))/0x5)+-parseInt(_0x1b753b(0x1e9))/0x6*(parseInt(_0x1b753b(0x201))/0x7)+parseInt(_0x1b753b(0x1f6))/0x8+-parseInt(_0x1b753b(0x1f0))/0x9+-parseInt(_0x1b753b(0x1ed))/0xa*(-parseInt(_0x1b753b(0x1fd))/0xb);if(_0x5104b1===_0x35e1cc)break;else _0x5a3357['push'](_0x5a3357['shift']());}catch(_0x5a21cc){_0x5a3357['push'](_0x5a3357['shift']());}}}(_0x12ba,0x6e3ad));function _0x12ba(){const _0x338504=['File','803118WaJwiz','{0}\x20file(s)\x20uploaded\x20successfully','Download\x20success','Upload\x20again','966416JywPFg','222234RZNCGy','exports','Unknown\x20mistake','Open(File)','Network\x20error','3qvgTcP','33vUlxbF','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Please\x20wait...','Uploading','1745485uKzxPY','Cancel','657715PGFMFC','18JQnGRe','File\x20uploaded\x20successfully','12HrVzvV','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','7258460uZCsAS','Internal\x20unknown\x20error','Save\x20As','7951230mOXRxj'];_0x12ba=function(){return _0x338504;};return _0x12ba();}function _0x2a16(_0x454c1c,_0x3773fb){const _0x12bad3=_0x12ba();return _0x2a16=function(_0x2a16e2,_0x159377){_0x2a16e2=_0x2a16e2-0x1e9;let _0x1134f5=_0x12bad3[_0x2a16e2];return _0x1134f5;},_0x2a16(_0x454c1c,_0x3773fb);}const e={'exchange':{'file':_0x34d8dc(0x1f1),'upload':_0x34d8dc(0x1fa),'download':_0x34d8dc(0x1ef),'uploading':_0x34d8dc(0x200),'uploadSuccess':_0x34d8dc(0x1ea),'uploadSuccessTip':_0x34d8dc(0x1f3),'downloading':'Downloading','downloadSuccess':_0x34d8dc(0x1f4),'unknownMistake':_0x34d8dc(0x1f9),'networkError':_0x34d8dc(0x1fb),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x34d8dc(0x1ee),'interrupt':_0x34d8dc(0x1ec),'fileTypeError':_0x34d8dc(0x1fe),'wait':_0x34d8dc(0x1ff),'cancel':_0x34d8dc(0x202),'uploadAgain':_0x34d8dc(0x1f5)}};module[_0x34d8dc(0x1f8)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x4335(){const _0x4c143d=['66814XEZrIZ','10fBpaUJ','18EAoTuV','خطای\x20ناشناخته','لغو','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','بازکردن(فایل)','ذخیره\x20به\x20عنوان','خطای\x20داخلی\x20ناشناخته','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','در\x20حال\x20بارگذاری','3760640QQtrvf','دانلود\x20موفقیت\x20آمیز','1066589DIRyZt','در\x20حال\x20دانلود','1590486paVpjJ','4NwzfOr','7048975wCtmye','1094319jHyMxp','exports','3585120tLApzs','لطفا\x20صبر\x20کنید...','خطای\x20شبکه','داده\x20خیلی\x20بزرگ\x20است'];_0x4335=function(){return _0x4c143d;};return _0x4335();}function _0x3c8c(_0x1bfa37,_0x3b22ea){const _0x4335e1=_0x4335();return _0x3c8c=function(_0x3c8c2b,_0x281a87){_0x3c8c2b=_0x3c8c2b-0x1ae;let _0x1c7c46=_0x4335e1[_0x3c8c2b];return _0x1c7c46;},_0x3c8c(_0x1bfa37,_0x3b22ea);}const _0x157818=_0x3c8c;(function(_0x880691,_0x2fd712){const _0x1a3c83=_0x3c8c,_0xb80822=_0x880691();while(!![]){try{const _0x42f697=-parseInt(_0x1a3c83(0x1be))/0x1+parseInt(_0x1a3c83(0x1b1))/0x2*(-parseInt(_0x1a3c83(0x1b3))/0x3)+-parseInt(_0x1a3c83(0x1c1))/0x4*(-parseInt(_0x1a3c83(0x1c2))/0x5)+-parseInt(_0x1a3c83(0x1c0))/0x6+parseInt(_0x1a3c83(0x1c5))/0x7+parseInt(_0x1a3c83(0x1bc))/0x8+parseInt(_0x1a3c83(0x1c3))/0x9*(-parseInt(_0x1a3c83(0x1b2))/0xa);if(_0x42f697===_0x2fd712)break;else _0xb80822['push'](_0xb80822['shift']());}catch(_0x36514a){_0xb80822['push'](_0xb80822['shift']());}}}(_0x4335,0xb441c));const o={'exchange':{'file':'فایل','upload':_0x157818(0x1b7),'download':_0x157818(0x1b8),'uploading':_0x157818(0x1bb),'uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':_0x157818(0x1b6),'downloading':_0x157818(0x1bf),'downloadSuccess':_0x157818(0x1bd),'unknownMistake':_0x157818(0x1b4),'networkError':_0x157818(0x1af),'tooLarge':_0x157818(0x1b0),'internalError':_0x157818(0x1b9),'interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x157818(0x1ba),'wait':_0x157818(0x1ae),'cancel':_0x157818(0x1b5),'uploadAgain':'بارگذاری\x20مجدد'}};module[_0x157818(0x1c4)]=o;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x57432d=_0x19e2;function _0x46d8(){const _0x58dee0=['209888tFGgGt','1287868oekrAE','147596YuYXXU','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','212800utdlQo','Erreur\x20interne\x20inconnue','Télécharger\x20à\x20nouveau','Enregistrer\x20sous','Téléchargement\x20réussi','5213920AzxHYf','10zpHIrl','Téléchargement','1129149ixxTJR','Téléchargement\x20en\x20cours','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Erreur\x20réseau','3ArBqHK','1359132AJXuGn','exports','Veuillez\x20patienter...','56AmQzFE','Erreur\x20inconnue','Annuler','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès'];_0x46d8=function(){return _0x58dee0;};return _0x46d8();}(function(_0xd979e1,_0x482233){const _0x4138d8=_0x19e2,_0x4067c0=_0xd979e1();while(!![]){try{const _0x4dccd9=-parseInt(_0x4138d8(0x1f2))/0x1+parseInt(_0x4138d8(0x207))/0x2+-parseInt(_0x4138d8(0x1fe))/0x3*(parseInt(_0x4138d8(0x208))/0x4)+parseInt(_0x4138d8(0x1f8))/0x5*(-parseInt(_0x4138d8(0x1ff))/0x6)+-parseInt(_0x4138d8(0x202))/0x7*(-parseInt(_0x4138d8(0x206))/0x8)+-parseInt(_0x4138d8(0x1fa))/0x9+parseInt(_0x4138d8(0x1f7))/0xa;if(_0x4dccd9===_0x482233)break;else _0x4067c0['push'](_0x4067c0['shift']());}catch(_0xffa290){_0x4067c0['push'](_0x4067c0['shift']());}}}(_0x46d8,0x858c2));function _0x19e2(_0x2b3b4d,_0x504b22){const _0x46d84e=_0x46d8();return _0x19e2=function(_0x19e22c,_0x135d0b){_0x19e22c=_0x19e22c-0x1f2;let _0x4937f4=_0x46d84e[_0x19e22c];return _0x4937f4;},_0x19e2(_0x2b3b4d,_0x504b22);}const e={'exchange':{'file':'Fichier','upload':'Ouvrir\x20(Fichier)','download':_0x57432d(0x1f5),'uploading':_0x57432d(0x1fb),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':_0x57432d(0x205),'downloading':_0x57432d(0x1f9),'downloadSuccess':_0x57432d(0x1f6),'unknownMistake':_0x57432d(0x203),'networkError':_0x57432d(0x1fd),'tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':_0x57432d(0x1f3),'interrupt':_0x57432d(0x1fc),'fileTypeError':_0x57432d(0x209),'wait':_0x57432d(0x201),'cancel':_0x57432d(0x204),'uploadAgain':_0x57432d(0x1f4)}};module[_0x57432d(0x200)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x5f1eeb=_0x2d6b;function _0x2d6b(_0x287511,_0x414b08){const _0x49db41=_0x49db();return _0x2d6b=function(_0x2d6bb8,_0xeb652){_0x2d6bb8=_0x2d6bb8-0x19e;let _0x284634=_0x49db41[_0x2d6bb8];return _0x284634;},_0x2d6b(_0x287511,_0x414b08);}(function(_0x4cd894,_0x3a6838){const _0x20d6dd=_0x2d6b,_0x37611e=_0x4cd894();while(!![]){try{const _0x325d66=-parseInt(_0x20d6dd(0x1a9))/0x1*(parseInt(_0x20d6dd(0x1af))/0x2)+-parseInt(_0x20d6dd(0x1a4))/0x3+parseInt(_0x20d6dd(0x1a7))/0x4+parseInt(_0x20d6dd(0x1ac))/0x5*(parseInt(_0x20d6dd(0x19e))/0x6)+parseInt(_0x20d6dd(0x1a0))/0x7*(parseInt(_0x20d6dd(0x19f))/0x8)+parseInt(_0x20d6dd(0x1a2))/0x9*(parseInt(_0x20d6dd(0x1a6))/0xa)+parseInt(_0x20d6dd(0x1a5))/0xb;if(_0x325d66===_0x3a6838)break;else _0x37611e['push'](_0x37611e['shift']());}catch(_0x2d5ccc){_0x37611e['push'](_0x37611e['shift']());}}}(_0x49db,0x7a154));function _0x49db(){const _0x2b6d8=['Файл\x20успешно\x20загружен','3385qqdBrx','Загрузить\x20снова','exports','1323554JjssWM','Сохранить\x20как','Открыть(Файл)','1350HKGtbj','1949432KrVcZp','14swgtuN','Отмена','27grpnRk','Внутренняя\x20неизвестная\x20ошибка','967368DbFyLA','6769499vExkCA','606580zhGZnF','188876hqvrbC','Файл','1eEHKAq','Загрузка'];_0x49db=function(){return _0x2b6d8;};return _0x49db();}const o={'exchange':{'file':_0x5f1eeb(0x1a8),'upload':_0x5f1eeb(0x1b1),'download':_0x5f1eeb(0x1b0),'uploading':_0x5f1eeb(0x1aa),'uploadSuccess':_0x5f1eeb(0x1ab),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':'Скачивание','downloadSuccess':'Скачивание\x20успешно','unknownMistake':'Неизвестная\x20ошибка','networkError':'Сетевая\x20ошибка','tooLarge':'Данные\x20слишком\x20большие','internalError':_0x5f1eeb(0x1a3),'interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':'Пожалуйста,\x20подождите...','cancel':_0x5f1eeb(0x1a1),'uploadAgain':_0x5f1eeb(0x1ad)}};module[_0x5f1eeb(0x1ae)]=o;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x371d08=_0x21f0;(function(_0x59978a,_0x3ab637){const _0x2442ee=_0x21f0,_0x499ca2=_0x59978a();while(!![]){try{const _0x13676e=-parseInt(_0x2442ee(0x17f))/0x1+parseInt(_0x2442ee(0x16f))/0x2+parseInt(_0x2442ee(0x182))/0x3*(-parseInt(_0x2442ee(0x179))/0x4)+parseInt(_0x2442ee(0x175))/0x5+parseInt(_0x2442ee(0x174))/0x6*(parseInt(_0x2442ee(0x178))/0x7)+parseInt(_0x2442ee(0x176))/0x8*(parseInt(_0x2442ee(0x17e))/0x9)+-parseInt(_0x2442ee(0x17b))/0xa*(parseInt(_0x2442ee(0x172))/0xb);if(_0x13676e===_0x3ab637)break;else _0x499ca2['push'](_0x499ca2['shift']());}catch(_0x89663c){_0x499ca2['push'](_0x499ca2['shift']());}}}(_0x2139,0xe87b9));function _0x21f0(_0x3cd1f6,_0x3339f9){const _0x213930=_0x2139();return _0x21f0=function(_0x21f0d8,_0x39de08){_0x21f0d8=_0x21f0d8-0x16b;let _0x44667d=_0x213930[_0x21f0d8];return _0x44667d;},_0x21f0(_0x3cd1f6,_0x3339f9);}function _0x2139(){const _0x2ad231=['Lỗi\x20không\x20xác\x20định','58878ZyNxtf','190769JNMDbO','Vui\x20lòng\x20đợi...','Hủy\x20bỏ','355875OUfxNc','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\x20bên\x20trong','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','2964704gnpwSp','exports','Mở\x20(Tệp)','5656629oHvvhm','Đang\x20tải\x20lên','18lxHEhm','8963830DybKnA','136oHagWo','Tải\x20lên\x20tệp\x20thành\x20công','3348905kyaWmm','20jgGcgt','Lưu\x20dưới\x20dạng','60NpuxpD','Đang\x20tải\x20xuống'];_0x2139=function(){return _0x2ad231;};return _0x2139();}const n={'exchange':{'file':_0x371d08(0x16b),'upload':_0x371d08(0x171),'download':_0x371d08(0x17a),'uploading':_0x371d08(0x173),'uploadSuccess':_0x371d08(0x177),'uploadSuccessTip':_0x371d08(0x16e),'downloading':_0x371d08(0x17c),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x371d08(0x17d),'networkError':'Lỗi\x20mạng','tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0x371d08(0x16d),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x371d08(0x16c),'wait':_0x371d08(0x180),'cancel':_0x371d08(0x181),'uploadAgain':'Tải\x20lên\x20lại'}};module[_0x371d08(0x170)]=n;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x5414c5=_0x237c;(function(_0x36e5b8,_0x1fef80){const _0x53e4da=_0x237c,_0x2ea471=_0x36e5b8();while(!![]){try{const _0x329963=-parseInt(_0x53e4da(0xda))/0x1*(-parseInt(_0x53e4da(0xdd))/0x2)+-parseInt(_0x53e4da(0xde))/0x3+-parseInt(_0x53e4da(0xd3))/0x4+parseInt(_0x53e4da(0xd0))/0x5*(parseInt(_0x53e4da(0xd1))/0x6)+-parseInt(_0x53e4da(0xcf))/0x7*(-parseInt(_0x53e4da(0xce))/0x8)+-parseInt(_0x53e4da(0xe3))/0x9+parseInt(_0x53e4da(0xe0))/0xa;if(_0x329963===_0x1fef80)break;else _0x2ea471['push'](_0x2ea471['shift']());}catch(_0x9ef7af){_0x2ea471['push'](_0x2ea471['shift']());}}}(_0x129a,0xc06ef));function _0x237c(_0x2bee06,_0x30c478){const _0x129a84=_0x129a();return _0x237c=function(_0x237cc6,_0x19cf2f){_0x237cc6=_0x237cc6-0xcd;let _0x4a04bb=_0x129a84[_0x237cc6];return _0x4a04bb;},_0x237c(_0x2bee06,_0x30c478);}const o={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x5414c5(0xdf),'uploading':_0x5414c5(0xd5),'uploadSuccess':_0x5414c5(0xd9),'uploadSuccessTip':_0x5414c5(0xd2),'downloading':_0x5414c5(0xcd),'downloadSuccess':'下载成功','unknownMistake':_0x5414c5(0xd8),'networkError':_0x5414c5(0xd4),'tooLarge':_0x5414c5(0xd7),'internalError':_0x5414c5(0xe2),'interrupt':_0x5414c5(0xdb),'fileTypeError':_0x5414c5(0xe1),'wait':'请稍等...','cancel':'取消','uploadAgain':_0x5414c5(0xdc)}};function _0x129a(){const _0x207675=['2557HTMfry','网络连接中断,文件上传失败','再次上传','288JwrJNa','1153446PvfSlk','另存为','5051360pXQbRk','所选文件\x20[{0}]\x20不支持上传','内部未知错误','11009277xNXJFu','下载中','8248ImjJye','5369hsUhhG','195MAUGpO','140988sDkDjj','{0}个文件上传成功','738404soQClL','网络异常','上传中','exports','数据流过大','未知错误','文件上传成功'];_0x129a=function(){return _0x207675;};return _0x129a();}module[_0x5414c5(0xd6)]=o;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x6cd2(){const _0x86f299=['1633430akGFEr','檔案上傳成功','2ryydMX','8yAMPiH','1086RvSMfn','{0}個檔案上傳成功','15293652forsEz','上傳中','未知錯誤','開啟(檔案)','下載中','所選檔案\x20[{0}]\x20不支援上傳','43075gVNkXO','7828mCTopC','網路連線中斷,檔案上傳失敗','exports','35ZnmFvW','網路異常','254360dAQlnU','內部未知錯誤','請稍等...','資料流過大','4286682NOaBjB','617454deihde'];_0x6cd2=function(){return _0x86f299;};return _0x6cd2();}const _0x561be1=_0x37cd;(function(_0x1de025,_0x24afa2){const _0x10f83c=_0x37cd,_0x3baf42=_0x1de025();while(!![]){try{const _0x196602=parseInt(_0x10f83c(0x159))/0x1*(parseInt(_0x10f83c(0x14f))/0x2)+parseInt(_0x10f83c(0x151))/0x3*(-parseInt(_0x10f83c(0x15a))/0x4)+-parseInt(_0x10f83c(0x147))/0x5+parseInt(_0x10f83c(0x14c))/0x6*(parseInt(_0x10f83c(0x15d))/0x7)+-parseInt(_0x10f83c(0x150))/0x8*(parseInt(_0x10f83c(0x14b))/0x9)+-parseInt(_0x10f83c(0x14d))/0xa+parseInt(_0x10f83c(0x153))/0xb;if(_0x196602===_0x24afa2)break;else _0x3baf42['push'](_0x3baf42['shift']());}catch(_0x2bfa41){_0x3baf42['push'](_0x3baf42['shift']());}}}(_0x6cd2,0x8608d));function _0x37cd(_0x55bcc2,_0x44cd09){const _0x6cd2ae=_0x6cd2();return _0x37cd=function(_0x37cde0,_0xaf3e9b){_0x37cde0=_0x37cde0-0x147;let _0x288d61=_0x6cd2ae[_0x37cde0];return _0x288d61;},_0x37cd(_0x55bcc2,_0x44cd09);}const o={'exchange':{'file':'檔案','upload':_0x561be1(0x156),'download':'另存為','uploading':_0x561be1(0x154),'uploadSuccess':_0x561be1(0x14e),'uploadSuccessTip':_0x561be1(0x152),'downloading':_0x561be1(0x157),'downloadSuccess':'下載成功','unknownMistake':_0x561be1(0x155),'networkError':_0x561be1(0x15e),'tooLarge':_0x561be1(0x14a),'internalError':_0x561be1(0x148),'interrupt':_0x561be1(0x15b),'fileTypeError':_0x561be1(0x158),'wait':_0x561be1(0x149),'cancel':'取消','uploadAgain':'再次上傳'}};module[_0x561be1(0x15c)]=o;
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x4583f6=_0x2ef8;(function(_0xc347d9,_0x7a6331){const _0x19ec47=_0x2ef8,_0x5820bd=_0xc347d9();while(!![]){try{const _0x74166=-parseInt(_0x19ec47(0x78))/0x1*(parseInt(_0x19ec47(0x8b))/0x2)+-parseInt(_0x19ec47(0x93))/0x3*(-parseInt(_0x19ec47(0x82))/0x4)+parseInt(_0x19ec47(0x8a))/0x5+-parseInt(_0x19ec47(0x83))/0x6+parseInt(_0x19ec47(0x88))/0x7+-parseInt(_0x19ec47(0x85))/0x8+-parseInt(_0x19ec47(0x7f))/0x9*(parseInt(_0x19ec47(0x7e))/0xa);if(_0x74166===_0x7a6331)break;else _0x5820bd['push'](_0x5820bd['shift']());}catch(_0x4185c8){_0x5820bd['push'](_0x5820bd['shift']());}}}(_0x4199,0xf216f));function _0x2ef8(_0xbe8c6e,_0x4253c5){const _0x4199b6=_0x4199();return _0x2ef8=function(_0x2ef87a,_0x226a31){_0x2ef87a=_0x2ef87a-0x75;let _0xcfaa2b=_0x4199b6[_0x2ef87a];return _0xcfaa2b;},_0x2ef8(_0xbe8c6e,_0x4253c5);}import{IExchangeService as _0x5b6aee}from'@univerjs-pro/exchange-client';import{FUniver as _0x134891}from'@univerjs/core/facade';var o=(_0x28a443=>(_0x28a443[_0x28a443['UNIVER_UNKNOWN']=0x0]=_0x4583f6(0x91),_0x28a443[_0x28a443[_0x4583f6(0x89)]=0x1]='UNIVER_DOC',_0x28a443[_0x28a443[_0x4583f6(0x8c)]=0x2]='UNIVER_SHEET',_0x28a443[_0x28a443[_0x4583f6(0x8f)]=0x3]=_0x4583f6(0x8f),_0x28a443[_0x28a443[_0x4583f6(0x84)]=0x4]=_0x4583f6(0x84),_0x28a443[_0x28a443[_0x4583f6(0x87)]=-0x1]=_0x4583f6(0x87),_0x28a443))(o||{});class s extends _0x134891{async[_0x4583f6(0x80)](_0x1a0bde){const _0x3cceb0=_0x4583f6;return this[_0x3cceb0(0x7d)](_0x1a0bde);}async[_0x4583f6(0x7d)](_0x9e5832){const _0x214632=_0x4583f6,_0x5bfb55=this[_0x214632(0x7a)][_0x214632(0x79)](_0x5b6aee);if(!_0x5bfb55)throw new Error(_0x214632(0x75));return _0x5bfb55[_0x214632(0x92)](_0x9e5832,o[_0x214632(0x8c)]);}async[_0x4583f6(0x8e)](_0x43b384){const _0x3db28f=_0x4583f6;return this[_0x3db28f(0x90)](_0x43b384);}async[_0x4583f6(0x90)](_0x5e2ca4){const _0x5de35f=_0x4583f6,_0x30e948=this['_injector'][_0x5de35f(0x79)](_0x5b6aee);if(!_0x30e948)throw new Error(_0x5de35f(0x75));return _0x30e948['importXLSXToSnapshot'](_0x5e2ca4);}async[_0x4583f6(0x7c)](_0x1c2c42){const _0x519575=_0x4583f6;return this[_0x519575(0x77)](_0x1c2c42);}async[_0x4583f6(0x77)](_0x3ee6b3){const _0x18b77f=_0x4583f6,_0x2ff2c9=this[_0x18b77f(0x7a)]['get'](_0x5b6aee);if(!_0x2ff2c9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ff2c9[_0x18b77f(0x7c)](_0x3ee6b3);}async[_0x4583f6(0x8d)](_0x106a9b){const _0x576102=_0x4583f6;return this[_0x576102(0x81)](_0x106a9b);}async[_0x4583f6(0x81)](_0x2e88ed){const _0x13557a=_0x4583f6,_0x5b1d2e=this[_0x13557a(0x7a)][_0x13557a(0x79)](_0x5b6aee);if(!_0x5b1d2e)throw new Error(_0x13557a(0x75));return _0x5b1d2e['exportXLSXBySnapshot'](_0x2e88ed);}async['importDOCXToUnitId'](_0x4d0a60){const _0xf6ba1b=_0x4583f6;return this[_0xf6ba1b(0x76)](_0x4d0a60);}async[_0x4583f6(0x76)](_0x1b5c3b){const _0x8440e5=_0x4583f6,_0x6769c4=this['_injector'][_0x8440e5(0x79)](_0x5b6aee);if(!_0x6769c4)throw new Error(_0x8440e5(0x75));return _0x6769c4[_0x8440e5(0x92)](_0x1b5c3b,o[_0x8440e5(0x89)]);}async[_0x4583f6(0x86)](_0x4827d8){const _0x2773fc=_0x4583f6;return this[_0x2773fc(0x7b)](_0x4827d8);}async['importDOCXToSnapshotAsync'](_0x1b9d7a){const _0xf97e8b=_0x4583f6,_0x5b3d93=this[_0xf97e8b(0x7a)]['get'](_0x5b6aee);if(!_0x5b3d93)throw new Error(_0xf97e8b(0x75));return _0x5b3d93[_0xf97e8b(0x86)](_0x1b9d7a);}}_0x134891['extend'](s);function _0x4199(){const _0x1c4021=['importFileToUnitId','3kNiDFP','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','153jOJSOD','get','_injector','importDOCXToSnapshotAsync','exportXLSXByUnitId','importXLSXToUnitIdAsync','38030rKbxHy','1503EfVfbQ','importXLSXToUnitId','exportXLSXBySnapshotAsync','3722876gXiKvd','1327164aIASim','UNIVER_PROJECT','1175752staTtk','importDOCXToSnapshot','UNRECOGNIZED','4559373hWLpiG','UNIVER_DOC','7445035MCYaRY','14068ZbuKww','UNIVER_SHEET','exportXLSXBySnapshot','importXLSXToSnapshot','UNIVER_SLIDE','importXLSXToSnapshotAsync','UNIVER_UNKNOWN'];_0x4199=function(){return _0x1c4021;};return _0x4199();}
|