@univerjs-pro/exchange-client 0.6.10-nightly.202504161609 → 0.6.10
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/index.d.ts +1 -1
- 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 +8 -8
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x5a3e85=_0x3037;(function(_0x48f219,_0x3e5900){const _0x4c91c1=_0x3037,_0x5c57bf=_0x48f219();while(!![]){try{const _0x447d2e=-parseInt(_0x4c91c1(0x101))/0x1*(parseInt(_0x4c91c1(0x116))/0x2)+parseInt(_0x4c91c1(0x106))/0x3*(parseInt(_0x4c91c1(0x10e))/0x4)+parseInt(_0x4c91c1(0x102))/0x5+parseInt(_0x4c91c1(0x109))/0x6*(parseInt(_0x4c91c1(0x107))/0x7)+parseInt(_0x4c91c1(0x111))/0x8*(parseInt(_0x4c91c1(0x113))/0x9)+parseInt(_0x4c91c1(0x100))/0xa*(parseInt(_0x4c91c1(0x10d))/0xb)+-parseInt(_0x4c91c1(0x10b))/0xc*(parseInt(_0x4c91c1(0x104))/0xd);if(_0x447d2e===_0x3e5900)break;else _0x5c57bf['push'](_0x5c57bf['shift']());}catch(_0x1dc70e){_0x5c57bf['push'](_0x5c57bf['shift']());}}}(_0x2242,0xb6649));function _0x2242(){const _0x1236b4=['5153790MGaXIT','Uploading','13569907IAfjGs','Cancel','73443GvJZkO','5670441bklWNH','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','6PLdthC','Download\x20success','12SyKOei','{0}\x20file(s)\x20uploaded\x20successfully','9368579vLUwgr','4rxQCQA','Downloading','Network\x20error','16NACvvT','Open(File)','1759491xrVpbS','Upload\x20again','File','26WYkKYk','Please\x20wait...','Unknown\x20mistake','10epvWER','101313bPLSuD'];_0x2242=function(){return _0x1236b4;};return _0x2242();}function _0x3037(_0x5683fd,_0x1feced){const _0x224283=_0x2242();return _0x3037=function(_0x303728,_0x1b8fd9){_0x303728=_0x303728-0xfe;let _0x1bcbda=_0x224283[_0x303728];return _0x1bcbda;},_0x3037(_0x5683fd,_0x1feced);}const e={'exchange':{'file':_0x5a3e85(0x115),'upload':_0x5a3e85(0x112),'download':'Save\x20As','uploading':_0x5a3e85(0x103),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x5a3e85(0x10c),'downloading':_0x5a3e85(0x10f),'downloadSuccess':_0x5a3e85(0x10a),'unknownMistake':_0x5a3e85(0xff),'networkError':_0x5a3e85(0x110),'tooLarge':'Data\x20is\x20too\x20large','internalError':'Internal\x20unknown\x20error','interrupt':_0x5a3e85(0x108),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x5a3e85(0xfe),'cancel':_0x5a3e85(0x105),'uploadAgain':_0x5a3e85(0x114)}};module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x528e75=_0x416c;(function(_0x231ccb,_0x25cbbd){const _0x2189ff=_0x416c,_0x260bac=_0x231ccb();while(!![]){try{const _0x29ed8d=-parseInt(_0x2189ff(0x182))/0x1+parseInt(_0x2189ff(0x176))/0x2*(parseInt(_0x2189ff(0x177))/0x3)+parseInt(_0x2189ff(0x174))/0x4+-parseInt(_0x2189ff(0x186))/0x5*(parseInt(_0x2189ff(0x181))/0x6)+-parseInt(_0x2189ff(0x17b))/0x7+-parseInt(_0x2189ff(0x179))/0x8+parseInt(_0x2189ff(0x175))/0x9*(parseInt(_0x2189ff(0x171))/0xa);if(_0x29ed8d===_0x25cbbd)break;else _0x260bac['push'](_0x260bac['shift']());}catch(_0x46a03c){_0x260bac['push'](_0x260bac['shift']());}}}(_0x3c1c,0xdb0f1));const o={'exchange':{'file':_0x528e75(0x173),'upload':_0x528e75(0x17a),'download':'ذخیره\x20به\x20عنوان','uploading':_0x528e75(0x17f),'uploadSuccess':_0x528e75(0x172),'uploadSuccessTip':_0x528e75(0x17c),'downloading':'در\x20حال\x20دانلود','downloadSuccess':'دانلود\x20موفقیت\x20آمیز','unknownMistake':_0x528e75(0x178),'networkError':_0x528e75(0x183),'tooLarge':_0x528e75(0x17e),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0x528e75(0x180),'fileTypeError':_0x528e75(0x17d),'wait':'لطفا\x20صبر\x20کنید...','cancel':_0x528e75(0x170),'uploadAgain':_0x528e75(0x185)}};module[_0x528e75(0x184)]=o;function _0x416c(_0x8a64a4,_0x598b95){const _0x3c1c7c=_0x3c1c();return _0x416c=function(_0x416c14,_0x35826f){_0x416c14=_0x416c14-0x170;let _0x102363=_0x3c1c7c[_0x416c14];return _0x102363;},_0x416c(_0x8a64a4,_0x598b95);}function _0x3c1c(){const _0x2a25ed=['فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','فایل','5095440ofcMns','6292683TbwpZy','3272572RkXVKf','3MxnZJD','خطای\x20ناشناخته','12592872cOhgNs','بازکردن(فایل)','9939657YhsqVG','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','داده\x20خیلی\x20بزرگ\x20است','در\x20حال\x20بارگذاری','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','30vPXYHW','64509qRQSzo','خطای\x20شبکه','exports','بارگذاری\x20مجدد','1751060oZWmcd','لغو','40HAJQXk'];_0x3c1c=function(){return _0x2a25ed;};return _0x3c1c();}
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';const _0x15bcbd=_0x5548;function _0x13d5(){const _0x5e2a37=['Ouvrir\x20(Fichier)','Les\x20données\x20sont\x20trop\x20volumineuses','Fichier\x20téléchargé\x20avec\x20succès','Annuler','Téléchargement','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Téléchargement\x20réussi','Téléchargement\x20en\x20cours','Erreur\x20inconnue','Enregistrer\x20sous','2096502ETVCfm','24rZElxE','2948115dqcYoD','1367422qpSwwU','Erreur\x20réseau','exports','8mGzeFc','4345641ZzHDCR','Fichier','1575745McoQaD','8356481tczHnp','2808404OhIGXJ','Télécharger\x20à\x20nouveau'];_0x13d5=function(){return _0x5e2a37;};return _0x13d5();}function _0x5548(_0x56e470,_0x40cc02){const _0x13d579=_0x13d5();return _0x5548=function(_0x554885,_0x282734){_0x554885=_0x554885-0xdf;let _0x455805=_0x13d579[_0x554885];return _0x455805;},_0x5548(_0x56e470,_0x40cc02);}(function(_0x5664f5,_0x2d64a3){const _0x34e613=_0x5548,_0x31808e=_0x5664f5();while(!![]){try{const _0x95dc22=parseInt(_0x34e613(0xe1))/0x1+parseInt(_0x34e613(0xf6))/0x2+parseInt(_0x34e613(0xe0))/0x3+-parseInt(_0x34e613(0xe9))/0x4+-parseInt(_0x34e613(0xe7))/0x5*(parseInt(_0x34e613(0xdf))/0x6)+parseInt(_0x34e613(0xe8))/0x7*(-parseInt(_0x34e613(0xe4))/0x8)+parseInt(_0x34e613(0xe5))/0x9;if(_0x95dc22===_0x2d64a3)break;else _0x31808e['push'](_0x31808e['shift']());}catch(_0x12c28a){_0x31808e['push'](_0x31808e['shift']());}}}(_0x13d5,0xb0f0b));const e={'exchange':{'file':_0x15bcbd(0xe6),'upload':_0x15bcbd(0xeb),'download':_0x15bcbd(0xf5),'uploading':_0x15bcbd(0xf3),'uploadSuccess':_0x15bcbd(0xed),'uploadSuccessTip':_0x15bcbd(0xf0),'downloading':_0x15bcbd(0xef),'downloadSuccess':_0x15bcbd(0xf2),'unknownMistake':_0x15bcbd(0xf4),'networkError':_0x15bcbd(0xe2),'tooLarge':_0x15bcbd(0xec),'internalError':'Erreur\x20interne\x20inconnue','interrupt':'La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','fileTypeError':_0x15bcbd(0xf1),'wait':'Veuillez\x20patienter...','cancel':_0x15bcbd(0xee),'uploadAgain':_0x15bcbd(0xea)}};module[_0x15bcbd(0xe3)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x5d84(_0x1148ef,_0x1eab11){const _0x53d277=_0x53d2();return _0x5d84=function(_0x5d84ce,_0x2d099a){_0x5d84ce=_0x5d84ce-0x1a1;let _0x463891=_0x53d277[_0x5d84ce];return _0x463891;},_0x5d84(_0x1148ef,_0x1eab11);}function _0x53d2(){const _0x56512b=['1668430JqXlZp','Файл','7mnnzEl','945316uRrgJi','1107immnUW','3XjqlMc','11471416yVALtt','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','760008HRFPkI','236270LXdNXJ','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Скачивание\x20успешно','Пожалуйста,\x20подождите...','Сетевая\x20ошибка','Файл\x20успешно\x20загружен','Данные\x20слишком\x20большие','1602288UlLGFZ','exports','Сохранить\x20как','364624HDJYld','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Внутренняя\x20неизвестная\x20ошибка','Отмена','Открыть(Файл)'];_0x53d2=function(){return _0x56512b;};return _0x53d2();}const _0x5111cc=_0x5d84;(function(_0x3d228e,_0x503483){const _0x405d35=_0x5d84,_0x26912c=_0x3d228e();while(!![]){try{const _0x384e5b=-parseInt(_0x405d35(0x1af))/0x1+parseInt(_0x405d35(0x1a2))/0x2+-parseInt(_0x405d35(0x1ac))/0x3*(parseInt(_0x405d35(0x1aa))/0x4)+parseInt(_0x405d35(0x1a7))/0x5+-parseInt(_0x405d35(0x1b7))/0x6*(parseInt(_0x405d35(0x1a9))/0x7)+-parseInt(_0x405d35(0x1ad))/0x8+-parseInt(_0x405d35(0x1ab))/0x9*(-parseInt(_0x405d35(0x1b0))/0xa);if(_0x384e5b===_0x503483)break;else _0x26912c['push'](_0x26912c['shift']());}catch(_0x352c5f){_0x26912c['push'](_0x26912c['shift']());}}}(_0x53d2,0xb0f47));const o={'exchange':{'file':_0x5111cc(0x1a8),'upload':_0x5111cc(0x1a6),'download':_0x5111cc(0x1a1),'uploading':'Загрузка','uploadSuccess':_0x5111cc(0x1b5),'uploadSuccessTip':_0x5111cc(0x1b1),'downloading':'Скачивание','downloadSuccess':_0x5111cc(0x1b2),'unknownMistake':'Неизвестная\x20ошибка','networkError':_0x5111cc(0x1b4),'tooLarge':_0x5111cc(0x1b6),'internalError':_0x5111cc(0x1a4),'interrupt':_0x5111cc(0x1a3),'fileTypeError':_0x5111cc(0x1ae),'wait':_0x5111cc(0x1b3),'cancel':_0x5111cc(0x1a5),'uploadAgain':'Загрузить\x20снова'}};module[_0x5111cc(0x1b8)]=o;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0xb8aec9=_0x353b;(function(_0x1d2659,_0xe34f34){const _0x525a00=_0x353b,_0xcbd19=_0x1d2659();while(!![]){try{const _0x310bd5=-parseInt(_0x525a00(0x140))/0x1+-parseInt(_0x525a00(0x13f))/0x2*(parseInt(_0x525a00(0x143))/0x3)+-parseInt(_0x525a00(0x148))/0x4+-parseInt(_0x525a00(0x145))/0x5+-parseInt(_0x525a00(0x144))/0x6+-parseInt(_0x525a00(0x13d))/0x7*(-parseInt(_0x525a00(0x14a))/0x8)+parseInt(_0x525a00(0x136))/0x9*(parseInt(_0x525a00(0x139))/0xa);if(_0x310bd5===_0xe34f34)break;else _0xcbd19['push'](_0xcbd19['shift']());}catch(_0x3e5ab2){_0xcbd19['push'](_0xcbd19['shift']());}}}(_0x1df5,0xc27c3));function _0x1df5(){const _0x43970b=['Hủy\x20bỏ','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','2817ESfotW','Tải\x20lên\x20lại','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','119410hRDxIm','Tải\x20lên\x20tệp\x20thành\x20công','Tải\x20xuống\x20thành\x20công','Lỗi\x20mạng','21LxRCeK','Đang\x20tải\x20lên','865742MLwIkj','1095833EJrgzf','Lưu\x20dưới\x20dạng','Lỗi\x20không\x20xác\x20định','6mxespK','2166702Nirbza','5848450UdzwaV','Luồng\x20dữ\x20liệu\x20quá\x20lớn','exports','804528rzXCwc','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','2006912vcSmwg'];_0x1df5=function(){return _0x43970b;};return _0x1df5();}function _0x353b(_0x18ad06,_0x3dc91c){const _0x1df5f1=_0x1df5();return _0x353b=function(_0x353b7b,_0x2f0d17){_0x353b7b=_0x353b7b-0x136;let _0x107e1b=_0x1df5f1[_0x353b7b];return _0x107e1b;},_0x353b(_0x18ad06,_0x3dc91c);}const n={'exchange':{'file':'Tệp','upload':'Mở\x20(Tệp)','download':_0xb8aec9(0x141),'uploading':_0xb8aec9(0x13e),'uploadSuccess':_0xb8aec9(0x13a),'uploadSuccessTip':_0xb8aec9(0x149),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0xb8aec9(0x13b),'unknownMistake':_0xb8aec9(0x142),'networkError':_0xb8aec9(0x13c),'tooLarge':_0xb8aec9(0x146),'internalError':_0xb8aec9(0x14d),'interrupt':_0xb8aec9(0x14c),'fileTypeError':_0xb8aec9(0x138),'wait':'Vui\x20lòng\x20đợi...','cancel':_0xb8aec9(0x14b),'uploadAgain':_0xb8aec9(0x137)}};module[_0xb8aec9(0x147)]=n;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x1fee76=_0x5806;(function(_0x5ec5eb,_0xde9db4){const _0x352b5b=_0x5806,_0x1e7764=_0x5ec5eb();while(!![]){try{const _0x131c47=-parseInt(_0x352b5b(0xba))/0x1*(-parseInt(_0x352b5b(0xc5))/0x2)+-parseInt(_0x352b5b(0xc4))/0x3*(parseInt(_0x352b5b(0xcb))/0x4)+-parseInt(_0x352b5b(0xc8))/0x5*(-parseInt(_0x352b5b(0xb7))/0x6)+-parseInt(_0x352b5b(0xb9))/0x7*(-parseInt(_0x352b5b(0xb5))/0x8)+parseInt(_0x352b5b(0xbc))/0x9+-parseInt(_0x352b5b(0xb4))/0xa+parseInt(_0x352b5b(0xbf))/0xb*(parseInt(_0x352b5b(0xc7))/0xc);if(_0x131c47===_0xde9db4)break;else _0x1e7764['push'](_0x1e7764['shift']());}catch(_0x5688f0){_0x1e7764['push'](_0x1e7764['shift']());}}}(_0xdfd0,0x58189));function _0xdfd0(){const _0x1a7f91=['1948110hwmGSM','538952nRksCz','下载成功','2586UGTeVn','另存为','7zCGUar','54546vMCINc','打开(文件)','1643085DaPNjh','未知错误','文件上传成功','22SsVSix','{0}个文件上传成功','网络异常','网络连接中断,文件上传失败','内部未知错误','3EPHQwe','2hGSbqo','请稍等...','1474392fZoLXX','7965UcQkkD','exports','再次上传','2724572CPOIZU','上传中'];_0xdfd0=function(){return _0x1a7f91;};return _0xdfd0();}function _0x5806(_0x526253,_0x552b1a){const _0xdfd033=_0xdfd0();return _0x5806=function(_0x580629,_0x3a3832){_0x580629=_0x580629-0xb3;let _0x4b302a=_0xdfd033[_0x580629];return _0x4b302a;},_0x5806(_0x526253,_0x552b1a);}const o={'exchange':{'file':'文件','upload':_0x1fee76(0xbb),'download':_0x1fee76(0xb8),'uploading':_0x1fee76(0xb3),'uploadSuccess':_0x1fee76(0xbe),'uploadSuccessTip':_0x1fee76(0xc0),'downloading':'下载中','downloadSuccess':_0x1fee76(0xb6),'unknownMistake':_0x1fee76(0xbd),'networkError':_0x1fee76(0xc1),'tooLarge':'数据流过大','internalError':_0x1fee76(0xc3),'interrupt':_0x1fee76(0xc2),'fileTypeError':'所选文件\x20[{0}]\x20不支持上传','wait':_0x1fee76(0xc6),'cancel':'取消','uploadAgain':_0x1fee76(0xca)}};module[_0x1fee76(0xc9)]=o;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x3048(){const _0x25c279=['10HVAnYf','{0}個檔案上傳成功','開啟(檔案)','25pKcagd','20917501QmYjKo','4186899cWOYri','1043170bgQJBN','資料流過大','8nRMHpH','3633384eSDrVI','下載中','再次上傳','上傳中','所選檔案\x20[{0}]\x20不支援上傳','未知錯誤','檔案上傳成功','301152VNYfsg','請稍等...','1138uqVzsi','下載成功','網路連線中斷,檔案上傳失敗','內部未知錯誤','1951938lgnyWa','7YHvLUA','exports'];_0x3048=function(){return _0x25c279;};return _0x3048();}const _0x77bce2=_0x2a9d;(function(_0xd477c8,_0x121ff9){const _0x4f22c0=_0x2a9d,_0x16bb14=_0xd477c8();while(!![]){try{const _0x31e3fc=parseInt(_0x4f22c0(0x148))/0x1*(parseInt(_0x4f22c0(0x13e))/0x2)+parseInt(_0x4f22c0(0x13c))/0x3+-parseInt(_0x4f22c0(0x134))/0x4*(parseInt(_0x4f22c0(0x14b))/0x5)+parseInt(_0x4f22c0(0x142))/0x6*(-parseInt(_0x4f22c0(0x143))/0x7)+-parseInt(_0x4f22c0(0x135))/0x8+-parseInt(_0x4f22c0(0x14a))/0x9*(parseInt(_0x4f22c0(0x145))/0xa)+parseInt(_0x4f22c0(0x149))/0xb;if(_0x31e3fc===_0x121ff9)break;else _0x16bb14['push'](_0x16bb14['shift']());}catch(_0x2e45e6){_0x16bb14['push'](_0x16bb14['shift']());}}}(_0x3048,0x567b1));function _0x2a9d(_0x21af98,_0x13d09b){const _0x304806=_0x3048();return _0x2a9d=function(_0x2a9d44,_0x204bc3){_0x2a9d44=_0x2a9d44-0x134;let _0x431109=_0x304806[_0x2a9d44];return _0x431109;},_0x2a9d(_0x21af98,_0x13d09b);}const o={'exchange':{'file':'檔案','upload':_0x77bce2(0x147),'download':'另存為','uploading':_0x77bce2(0x138),'uploadSuccess':_0x77bce2(0x13b),'uploadSuccessTip':_0x77bce2(0x146),'downloading':_0x77bce2(0x136),'downloadSuccess':_0x77bce2(0x13f),'unknownMistake':_0x77bce2(0x13a),'networkError':'網路異常','tooLarge':_0x77bce2(0x14c),'internalError':_0x77bce2(0x141),'interrupt':_0x77bce2(0x140),'fileTypeError':_0x77bce2(0x139),'wait':_0x77bce2(0x13d),'cancel':'取消','uploadAgain':_0x77bce2(0x137)}};module[_0x77bce2(0x144)]=o;
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x1bd19b=_0x4e86;function _0x192b(){const _0x5f2576=['importDOCXToSnapshot','exportXLSXByUnitIdAsync','302678IWoXQL','_injector','exportXLSXByUnitId','importDOCXToUnitIdAsync','1006175SChFdf','12LfzLau','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','48728tXGWFq','get','1433892nFlwnh','5654570HZqVbN','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','1340736AHFSQL','658hfMjnn','importDOCXToSnapshotAsync','40011fzTJwx','UNIVER_DOC','UNIVER_PROJECT','9SsPQxk','importXLSXToSnapshot','UNIVER_UNKNOWN','UNRECOGNIZED','exportXLSXBySnapshotAsync','exportXLSXBySnapshot'];_0x192b=function(){return _0x5f2576;};return _0x192b();}(function(_0x12da73,_0x5e41b6){const _0x474e7c=_0x4e86,_0x2d21ac=_0x12da73();while(!![]){try{const _0x5f06d6=parseInt(_0x474e7c(0xe9))/0x1+-parseInt(_0x474e7c(0xf4))/0x2*(-parseInt(_0x474e7c(0xf9))/0x3)+-parseInt(_0x474e7c(0xfe))/0x4+-parseInt(_0x474e7c(0xf8))/0x5+parseInt(_0x474e7c(0xe6))/0x6+parseInt(_0x474e7c(0xe7))/0x7*(parseInt(_0x474e7c(0xfc))/0x8)+-parseInt(_0x474e7c(0xec))/0x9*(parseInt(_0x474e7c(0xff))/0xa);if(_0x5f06d6===_0x5e41b6)break;else _0x2d21ac['push'](_0x2d21ac['shift']());}catch(_0x46243f){_0x2d21ac['push'](_0x2d21ac['shift']());}}}(_0x192b,0x4d334));import{IExchangeService as _0x3f8749}from'@univerjs-pro/exchange-client';import{FUniver as _0xef0a61}from'@univerjs/core/facade';var o=(_0x27365b=>(_0x27365b[_0x27365b[_0x1bd19b(0xee)]=0x0]=_0x1bd19b(0xee),_0x27365b[_0x27365b[_0x1bd19b(0xea)]=0x1]=_0x1bd19b(0xea),_0x27365b[_0x27365b['UNIVER_SHEET']=0x2]=_0x1bd19b(0xe3),_0x27365b[_0x27365b['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x27365b[_0x27365b[_0x1bd19b(0xeb)]=0x4]='UNIVER_PROJECT',_0x27365b[_0x27365b['UNRECOGNIZED']=-0x1]=_0x1bd19b(0xef),_0x27365b))(o||{});class s extends _0xef0a61{async['importXLSXToUnitId'](_0x2f7696){const _0x16680c=_0x1bd19b;return this[_0x16680c(0xfb)](_0x2f7696);}async[_0x1bd19b(0xfb)](_0x22b7a1){const _0x22b783=_0x1bd19b,_0x28f9eb=this[_0x22b783(0xf5)][_0x22b783(0xfd)](_0x3f8749);if(!_0x28f9eb)throw new Error(_0x22b783(0xe4));return _0x28f9eb[_0x22b783(0xe5)](_0x22b7a1,o[_0x22b783(0xe3)]);}async[_0x1bd19b(0xed)](_0x5372e3){return this['importXLSXToSnapshotAsync'](_0x5372e3);}async[_0x1bd19b(0xfa)](_0x116b70){const _0x46bcea=_0x1bd19b,_0x3f041a=this['_injector']['get'](_0x3f8749);if(!_0x3f041a)throw new Error(_0x46bcea(0xe4));return _0x3f041a[_0x46bcea(0xed)](_0x116b70);}async[_0x1bd19b(0xf6)](_0x2ad5a2){const _0x5dfd05=_0x1bd19b;return this[_0x5dfd05(0xf3)](_0x2ad5a2);}async['exportXLSXByUnitIdAsync'](_0x5ad8da){const _0x596f64=_0x1bd19b,_0xa63f0c=this[_0x596f64(0xf5)][_0x596f64(0xfd)](_0x3f8749);if(!_0xa63f0c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa63f0c[_0x596f64(0xf6)](_0x5ad8da);}async[_0x1bd19b(0xf1)](_0x52ee09){const _0x43c61e=_0x1bd19b;return this[_0x43c61e(0xf0)](_0x52ee09);}async['exportXLSXBySnapshotAsync'](_0x5457c9){const _0x5d9554=_0x1bd19b,_0x27ef81=this[_0x5d9554(0xf5)]['get'](_0x3f8749);if(!_0x27ef81)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x27ef81[_0x5d9554(0xf1)](_0x5457c9);}async['importDOCXToUnitId'](_0x56b237){return this['importDOCXToUnitIdAsync'](_0x56b237);}async[_0x1bd19b(0xf7)](_0x5080b2){const _0x221a4c=_0x1bd19b,_0x9a5ee8=this[_0x221a4c(0xf5)][_0x221a4c(0xfd)](_0x3f8749);if(!_0x9a5ee8)throw new Error(_0x221a4c(0xe4));return _0x9a5ee8['importFileToUnitId'](_0x5080b2,o[_0x221a4c(0xea)]);}async[_0x1bd19b(0xf2)](_0x32514c){return this['importDOCXToSnapshotAsync'](_0x32514c);}async[_0x1bd19b(0xe8)](_0x208a45){const _0x2ed207=_0x1bd19b,_0x249a76=this[_0x2ed207(0xf5)][_0x2ed207(0xfd)](_0x3f8749);if(!_0x249a76)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x249a76['importDOCXToSnapshot'](_0x208a45);}}function _0x4e86(_0x3b99b8,_0x39a15a){const _0x192b4a=_0x192b();return _0x4e86=function(_0x4e86a3,_0x423c4e){_0x4e86a3=_0x4e86a3-0xe3;let _0xd86592=_0x192b4a[_0x4e86a3];return _0xd86592;},_0x4e86(_0x3b99b8,_0x39a15a);}_0xef0a61['extend'](s);
|