@univerjs-pro/exchange-client 0.8.0-nightly.202506031608 → 0.8.0-nightly.202506051607
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/index.d.ts +1 -1
- package/lib/types/services/exchange.service.d.ts +1 -1
- package/lib/types/services/utils/snapshot.d.ts +15 -7
- 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 -6
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x332c63=_0x748d;(function(_0x38448e,_0x45cf10){const _0x3a8793=_0x748d,_0x26922d=_0x38448e();while(!![]){try{const _0xcaac94=-parseInt(_0x3a8793(0xf6))/0x1*(parseInt(_0x3a8793(0xf8))/0x2)+-parseInt(_0x3a8793(0xf5))/0x3*(-parseInt(_0x3a8793(0xfa))/0x4)+parseInt(_0x3a8793(0xfe))/0x5+-parseInt(_0x3a8793(0x107))/0x6*(-parseInt(_0x3a8793(0xfc))/0x7)+parseInt(_0x3a8793(0x105))/0x8*(-parseInt(_0x3a8793(0xf7))/0x9)+parseInt(_0x3a8793(0x100))/0xa+parseInt(_0x3a8793(0x106))/0xb;if(_0xcaac94===_0x45cf10)break;else _0x26922d['push'](_0x26922d['shift']());}catch(_0x26b91a){_0x26922d['push'](_0x26922d['shift']());}}}(_0x2309,0xf2f9f));function _0x2309(){const _0x25d7e4=['20oFcbSS','Upload\x20again','35piPcho','Unknown\x20mistake','455535azbain','exports','13604840SdoMlz','Internal\x20unknown\x20error','Open(File)','File','Data\x20is\x20too\x20large','1118792dUnagC','12214323yluLtS','656346SSETAC','Download\x20success','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Network\x20error','Save\x20As','Uploading','190497vJkcoK','2906vkgQNz','117MvvOOp','422vIXDAl','Downloading'];_0x2309=function(){return _0x25d7e4;};return _0x2309();}function _0x748d(_0x5d45ff,_0x40b419){const _0x230936=_0x2309();return _0x748d=function(_0x748d85,_0x45f8f1){_0x748d85=_0x748d85-0xf2;let _0x4afa94=_0x230936[_0x748d85];return _0x4afa94;},_0x748d(_0x5d45ff,_0x40b419);}const e={'exchange':{'file':_0x332c63(0x103),'upload':_0x332c63(0x102),'download':_0x332c63(0xf3),'uploading':_0x332c63(0xf4),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x332c63(0xf9),'downloadSuccess':_0x332c63(0x108),'unknownMistake':_0x332c63(0xfd),'networkError':_0x332c63(0xf2),'tooLarge':_0x332c63(0x104),'internalError':_0x332c63(0x101),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x332c63(0x109),'wait':'Please\x20wait...','cancel':'Cancel','uploadAgain':_0x332c63(0xfb)}};module[_0x332c63(0xff)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x7e5fc2=_0x48b6;function _0x48b6(_0x208d06,_0xe0de16){const _0x49ff59=_0x49ff();return _0x48b6=function(_0x48b6fd,_0x17dd27){_0x48b6fd=_0x48b6fd-0x1f1;let _0x43b5d5=_0x49ff59[_0x48b6fd];return _0x43b5d5;},_0x48b6(_0x208d06,_0xe0de16);}(function(_0x3a87ec,_0x9a9f63){const _0x2479a1=_0x48b6,_0x463538=_0x3a87ec();while(!![]){try{const _0x29b6b2=parseInt(_0x2479a1(0x205))/0x1*(parseInt(_0x2479a1(0x1fe))/0x2)+parseInt(_0x2479a1(0x206))/0x3+parseInt(_0x2479a1(0x204))/0x4+-parseInt(_0x2479a1(0x1fb))/0x5*(parseInt(_0x2479a1(0x201))/0x6)+-parseInt(_0x2479a1(0x200))/0x7*(-parseInt(_0x2479a1(0x1fa))/0x8)+parseInt(_0x2479a1(0x208))/0x9+parseInt(_0x2479a1(0x1f4))/0xa*(-parseInt(_0x2479a1(0x1f1))/0xb);if(_0x29b6b2===_0x9a9f63)break;else _0x463538['push'](_0x463538['shift']());}catch(_0x25ef8d){_0x463538['push'](_0x463538['shift']());}}}(_0x49ff,0xa5e1c));function _0x49ff(){const _0x2236e9=['ذخیره\x20به\x20عنوان','6945201hBqrKE','در\x20حال\x20دانلود','11ULgNbU','داده\x20خیلی\x20بزرگ\x20است','بازکردن(فایل)','10261710LEldBj','لغو','خطای\x20شبکه','بارگذاری\x20مجدد','دانلود\x20موفقیت\x20آمیز','فایل','88bjMZDG','5513695vthvrB','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','خطای\x20ناشناخته','23356rOBJKs','لطفا\x20صبر\x20کنید...','431543bjyDcq','6CmsCWL','در\x20حال\x20بارگذاری','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','529952scVcYt','34lpecxk','2486982RSHykc'];_0x49ff=function(){return _0x2236e9;};return _0x49ff();}const o={'exchange':{'file':_0x7e5fc2(0x1f9),'upload':_0x7e5fc2(0x1f3),'download':_0x7e5fc2(0x207),'uploading':_0x7e5fc2(0x202),'uploadSuccess':_0x7e5fc2(0x203),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x7e5fc2(0x209),'downloadSuccess':_0x7e5fc2(0x1f8),'unknownMistake':_0x7e5fc2(0x1fd),'networkError':_0x7e5fc2(0x1f6),'tooLarge':_0x7e5fc2(0x1f2),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0x7e5fc2(0x1fc),'fileTypeError':'فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','wait':_0x7e5fc2(0x1ff),'cancel':_0x7e5fc2(0x1f5),'uploadAgain':_0x7e5fc2(0x1f7)}};module['exports']=o;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x3bdfd6=_0x185b;(function(_0x45504b,_0x4cb87f){const _0x363c2d=_0x185b,_0x3d4953=_0x45504b();while(!![]){try{const _0x381e18=parseInt(_0x363c2d(0xf4))/0x1+-parseInt(_0x363c2d(0xfe))/0x2+-parseInt(_0x363c2d(0xf7))/0x3+-parseInt(_0x363c2d(0x100))/0x4+-parseInt(_0x363c2d(0x103))/0x5+parseInt(_0x363c2d(0xff))/0x6+parseInt(_0x363c2d(0xfb))/0x7;if(_0x381e18===_0x4cb87f)break;else _0x3d4953['push'](_0x3d4953['shift']());}catch(_0x195e25){_0x3d4953['push'](_0x3d4953['shift']());}}}(_0x423a,0x19764));const e={'exchange':{'file':_0x3bdfd6(0x106),'upload':_0x3bdfd6(0xf3),'download':'Enregistrer\x20sous','uploading':_0x3bdfd6(0x104),'uploadSuccess':_0x3bdfd6(0xfa),'uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':_0x3bdfd6(0xf8),'downloadSuccess':_0x3bdfd6(0xfc),'unknownMistake':_0x3bdfd6(0xf9),'networkError':_0x3bdfd6(0x102),'tooLarge':_0x3bdfd6(0xf6),'internalError':_0x3bdfd6(0x101),'interrupt':_0x3bdfd6(0x105),'fileTypeError':_0x3bdfd6(0xf2),'wait':_0x3bdfd6(0xfd),'cancel':'Annuler','uploadAgain':'Télécharger\x20à\x20nouveau'}};function _0x423a(){const _0x2c9e4e=['127754PQOQGv','exports','Les\x20données\x20sont\x20trop\x20volumineuses','208686RSzmZh','Téléchargement','Erreur\x20inconnue','Fichier\x20téléchargé\x20avec\x20succès','2063719CiJhuj','Téléchargement\x20réussi','Veuillez\x20patienter...','40586JlbnND','46014Vkzrqq','821000agplFY','Erreur\x20interne\x20inconnue','Erreur\x20réseau','154215bpBGCX','Téléchargement\x20en\x20cours','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Fichier','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Ouvrir\x20(Fichier)'];_0x423a=function(){return _0x2c9e4e;};return _0x423a();}function _0x185b(_0x5287d6,_0x3efc6c){const _0x423ade=_0x423a();return _0x185b=function(_0x185bc8,_0x3b53d4){_0x185bc8=_0x185bc8-0xf2;let _0x3dc16d=_0x423ade[_0x185bc8];return _0x3dc16d;},_0x185b(_0x5287d6,_0x3efc6c);}module[_0x3bdfd6(0xf5)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x1e9c9d=_0x3f39;(function(_0x4ee239,_0x106560){const _0x58b68d=_0x3f39,_0x29fe18=_0x4ee239();while(!![]){try{const _0x54a957=-parseInt(_0x58b68d(0x16d))/0x1*(parseInt(_0x58b68d(0x17c))/0x2)+parseInt(_0x58b68d(0x182))/0x3*(parseInt(_0x58b68d(0x176))/0x4)+parseInt(_0x58b68d(0x16e))/0x5+parseInt(_0x58b68d(0x183))/0x6*(parseInt(_0x58b68d(0x17a))/0x7)+-parseInt(_0x58b68d(0x179))/0x8*(parseInt(_0x58b68d(0x171))/0x9)+parseInt(_0x58b68d(0x173))/0xa+-parseInt(_0x58b68d(0x181))/0xb*(parseInt(_0x58b68d(0x180))/0xc);if(_0x54a957===_0x106560)break;else _0x29fe18['push'](_0x29fe18['shift']());}catch(_0x5c7059){_0x29fe18['push'](_0x29fe18['shift']());}}}(_0x2476,0x6fcb3));function _0x2476(){const _0x23a8fb=['Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','6504AoeuHY','9845uqeFWE','3VzoIRp','6XUrubL','45427MiPwzN','1093945aQOMtf','Файл\x20успешно\x20загружен','exports','3055554zesFrN','Файл','5202570RnmRZq','Загрузка','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','1154308EGUnAF','Сохранить\x20как','Неизвестная\x20ошибка','8bPsSZE','2102149PDboBK','Отмена','2GTpuju','Скачивание\x20успешно','Данные\x20слишком\x20большие'];_0x2476=function(){return _0x23a8fb;};return _0x2476();}const o={'exchange':{'file':_0x1e9c9d(0x172),'upload':'Открыть(Файл)','download':_0x1e9c9d(0x177),'uploading':_0x1e9c9d(0x174),'uploadSuccess':_0x1e9c9d(0x16f),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':'Скачивание','downloadSuccess':_0x1e9c9d(0x17d),'unknownMistake':_0x1e9c9d(0x178),'networkError':'Сетевая\x20ошибка','tooLarge':_0x1e9c9d(0x17e),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':_0x1e9c9d(0x17f),'fileTypeError':_0x1e9c9d(0x175),'wait':'Пожалуйста,\x20подождите...','cancel':_0x1e9c9d(0x17b),'uploadAgain':'Загрузить\x20снова'}};function _0x3f39(_0x452370,_0x5278ed){const _0x24764b=_0x2476();return _0x3f39=function(_0x3f394b,_0x169f9d){_0x3f394b=_0x3f394b-0x16d;let _0x549fe6=_0x24764b[_0x3f394b];return _0x549fe6;},_0x3f39(_0x452370,_0x5278ed);}module[_0x1e9c9d(0x170)]=o;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x3651(_0x2933d8,_0x490c6b){const _0x1657d9=_0x1657();return _0x3651=function(_0x3651e2,_0x47ef30){_0x3651e2=_0x3651e2-0x15b;let _0x3af926=_0x1657d9[_0x3651e2];return _0x3af926;},_0x3651(_0x2933d8,_0x490c6b);}const _0x42ccc4=_0x3651;(function(_0xf2228c,_0x45d580){const _0x1ad348=_0x3651,_0x3af5a8=_0xf2228c();while(!![]){try{const _0x11ff72=-parseInt(_0x1ad348(0x160))/0x1+parseInt(_0x1ad348(0x15b))/0x2*(-parseInt(_0x1ad348(0x167))/0x3)+parseInt(_0x1ad348(0x165))/0x4*(-parseInt(_0x1ad348(0x16c))/0x5)+-parseInt(_0x1ad348(0x16f))/0x6+-parseInt(_0x1ad348(0x16d))/0x7*(parseInt(_0x1ad348(0x172))/0x8)+-parseInt(_0x1ad348(0x16a))/0x9*(-parseInt(_0x1ad348(0x169))/0xa)+parseInt(_0x1ad348(0x168))/0xb;if(_0x11ff72===_0x45d580)break;else _0x3af5a8['push'](_0x3af5a8['shift']());}catch(_0x124701){_0x3af5a8['push'](_0x3af5a8['shift']());}}}(_0x1657,0x59e1c));const n={'exchange':{'file':_0x42ccc4(0x16b),'upload':_0x42ccc4(0x164),'download':_0x42ccc4(0x170),'uploading':_0x42ccc4(0x171),'uploadSuccess':_0x42ccc4(0x163),'uploadSuccessTip':'{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x42ccc4(0x15e),'unknownMistake':_0x42ccc4(0x15d),'networkError':_0x42ccc4(0x15f),'tooLarge':_0x42ccc4(0x162),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x42ccc4(0x15c),'fileTypeError':_0x42ccc4(0x16e),'wait':'Vui\x20lòng\x20đợi...','cancel':_0x42ccc4(0x166),'uploadAgain':'Tải\x20lên\x20lại'}};module[_0x42ccc4(0x161)]=n;function _0x1657(){const _0x3324bb=['75925CQYbAm','7TmFShd','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','3299634xzgwhY','Lưu\x20dưới\x20dạng','Đang\x20tải\x20lên','1480552QYwsqQ','2ovRAXp','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','Tải\x20xuống\x20thành\x20công','Lỗi\x20mạng','493810JyZFwo','exports','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Tải\x20lên\x20tệp\x20thành\x20công','Mở\x20(Tệp)','180rQZJZN','Hủy\x20bỏ','867444oEeqFW','21226392kTlhKD','8150xfJyYj','7065rKdIQq','Tệp'];_0x1657=function(){return _0x3324bb;};return _0x1657();}
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x17f9e9=_0x5b9f;(function(_0x79c492,_0x4af9b8){const _0xb42ef3=_0x5b9f,_0x4de35f=_0x79c492();while(!![]){try{const _0x46f129=parseInt(_0xb42ef3(0x9c))/0x1*(-parseInt(_0xb42ef3(0xab))/0x2)+-parseInt(_0xb42ef3(0x98))/0x3*(parseInt(_0xb42ef3(0x96))/0x4)+parseInt(_0xb42ef3(0x93))/0x5*(parseInt(_0xb42ef3(0xa5))/0x6)+-parseInt(_0xb42ef3(0x92))/0x7+parseInt(_0xb42ef3(0x9d))/0x8*(parseInt(_0xb42ef3(0x97))/0x9)+parseInt(_0xb42ef3(0x99))/0xa*(-parseInt(_0xb42ef3(0xaa))/0xb)+-parseInt(_0xb42ef3(0xa7))/0xc*(-parseInt(_0xb42ef3(0xa9))/0xd);if(_0x46f129===_0x4af9b8)break;else _0x4de35f['push'](_0x4de35f['shift']());}catch(_0x5cf62e){_0x4de35f['push'](_0x4de35f['shift']());}}}(_0x5b6e,0xe8ed5));function _0x5b6e(){const _0xe38854=['再次上传','exports','请稍等...','未知错误','下载成功','网络连接中断,文件上传失败','966QUzlUy','上传中','24ixwzYq','另存为','18182866uDNAro','7157469RFJazV','1045818pHhrOI','下载中','内部未知错误','488334Dojsnw','1065QtfPVe','数据流过大','打开(文件)','573016toEysO','1013787yUVdCn','18xLpqLz','10dHVTLi','文件上传成功','网络异常','1PoRaBs','16ovbhEw','所选文件\x20[{0}]\x20不支持上传'];_0x5b6e=function(){return _0xe38854;};return _0x5b6e();}function _0x5b9f(_0x455a76,_0x58587c){const _0x5b6e27=_0x5b6e();return _0x5b9f=function(_0x5b9f20,_0x394c41){_0x5b9f20=_0x5b9f20-0x91;let _0x3a1a4b=_0x5b6e27[_0x5b9f20];return _0x3a1a4b;},_0x5b9f(_0x455a76,_0x58587c);}const o={'exchange':{'file':'文件','upload':_0x17f9e9(0x95),'download':_0x17f9e9(0xa8),'uploading':_0x17f9e9(0xa6),'uploadSuccess':_0x17f9e9(0x9a),'uploadSuccessTip':'{0}个文件上传成功','downloading':_0x17f9e9(0xac),'downloadSuccess':_0x17f9e9(0xa3),'unknownMistake':_0x17f9e9(0xa2),'networkError':_0x17f9e9(0x9b),'tooLarge':_0x17f9e9(0x94),'internalError':_0x17f9e9(0x91),'interrupt':_0x17f9e9(0xa4),'fileTypeError':_0x17f9e9(0x9e),'wait':_0x17f9e9(0xa1),'cancel':'取消','uploadAgain':_0x17f9e9(0x9f)}};module[_0x17f9e9(0xa0)]=o;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';function _0x20a0(_0x37cf18,_0x16440c){const _0x1029ae=_0x1029();return _0x20a0=function(_0x20a0c2,_0x1313dc){_0x20a0c2=_0x20a0c2-0x11f;let _0x415519=_0x1029ae[_0x20a0c2];return _0x415519;},_0x20a0(_0x37cf18,_0x16440c);}const _0x1d24a2=_0x20a0;(function(_0x15e9d5,_0x14de9a){const _0x4ebdb5=_0x20a0,_0x4cb995=_0x15e9d5();while(!![]){try{const _0x361318=parseInt(_0x4ebdb5(0x12b))/0x1*(parseInt(_0x4ebdb5(0x12a))/0x2)+-parseInt(_0x4ebdb5(0x130))/0x3*(parseInt(_0x4ebdb5(0x123))/0x4)+parseInt(_0x4ebdb5(0x127))/0x5*(parseInt(_0x4ebdb5(0x128))/0x6)+-parseInt(_0x4ebdb5(0x122))/0x7+parseInt(_0x4ebdb5(0x12f))/0x8*(-parseInt(_0x4ebdb5(0x120))/0x9)+-parseInt(_0x4ebdb5(0x126))/0xa+parseInt(_0x4ebdb5(0x12d))/0xb;if(_0x361318===_0x14de9a)break;else _0x4cb995['push'](_0x4cb995['shift']());}catch(_0x2ed06d){_0x4cb995['push'](_0x4cb995['shift']());}}}(_0x1029,0x4b812));function _0x1029(){const _0x522235=['網路連線中斷,檔案上傳失敗','下載成功','1754380xAKcEW','25XxKNQK','186954mzWwdc','另存為','532076LugVuV','1aHvnkC','再次上傳','7190348JqxSKb','exports','355944piyiIT','10872fAcGCJ','資料流過大','網路異常','所選檔案\x20[{0}]\x20不支援上傳','18GMOwiF','{0}個檔案上傳成功','849037HpQFrs','420cPUsHn'];_0x1029=function(){return _0x522235;};return _0x1029();}const o={'exchange':{'file':'檔案','upload':'開啟(檔案)','download':_0x1d24a2(0x129),'uploading':'上傳中','uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x1d24a2(0x121),'downloading':'下載中','downloadSuccess':_0x1d24a2(0x125),'unknownMistake':'未知錯誤','networkError':_0x1d24a2(0x132),'tooLarge':_0x1d24a2(0x131),'internalError':'內部未知錯誤','interrupt':_0x1d24a2(0x124),'fileTypeError':_0x1d24a2(0x11f),'wait':'請稍等...','cancel':'取消','uploadAgain':_0x1d24a2(0x12c)}};module[_0x1d24a2(0x12e)]=o;
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x166edd=_0x415d;(function(_0x5826c6,_0x32deee){const _0x2ccdc9=_0x415d,_0x5136c5=_0x5826c6();while(!![]){try{const _0x50b506=parseInt(_0x2ccdc9(0xa7))/0x1+parseInt(_0x2ccdc9(0x9d))/0x2+parseInt(_0x2ccdc9(0x8d))/0x3+-parseInt(_0x2ccdc9(0xa1))/0x4+-parseInt(_0x2ccdc9(0x8e))/0x5+parseInt(_0x2ccdc9(0x90))/0x6*(parseInt(_0x2ccdc9(0xac))/0x7)+parseInt(_0x2ccdc9(0x9b))/0x8*(-parseInt(_0x2ccdc9(0xaf))/0x9);if(_0x50b506===_0x32deee)break;else _0x5136c5['push'](_0x5136c5['shift']());}catch(_0x569938){_0x5136c5['push'](_0x5136c5['shift']());}}}(_0x3646,0xa6507));function _0x415d(_0x8e7226,_0x552a03){const _0x36465e=_0x3646();return _0x415d=function(_0x415de2,_0x3f3d8e){_0x415de2=_0x415de2-0x8d;let _0x457d98=_0x36465e[_0x415de2];return _0x457d98;},_0x415d(_0x8e7226,_0x552a03);}import{IExchangeService as _0x31d336}from'@univerjs-pro/exchange-client';import{FUniver as _0x2d07bb}from'@univerjs/core/facade';var o=(_0x34c500=>(_0x34c500[_0x34c500[_0x166edd(0x96)]=0x0]=_0x166edd(0x96),_0x34c500[_0x34c500[_0x166edd(0xa9)]=0x1]=_0x166edd(0xa9),_0x34c500[_0x34c500['UNIVER_SHEET']=0x2]=_0x166edd(0xaa),_0x34c500[_0x34c500['UNIVER_SLIDE']=0x3]=_0x166edd(0x97),_0x34c500[_0x34c500['UNIVER_PROJECT']=0x4]=_0x166edd(0xa5),_0x34c500[_0x34c500[_0x166edd(0x94)]=-0x1]='UNRECOGNIZED',_0x34c500))(o||{});class s extends _0x2d07bb{async[_0x166edd(0xa3)](_0x5b9af6){const _0x56442b=_0x166edd;return this[_0x56442b(0x92)](_0x5b9af6);}async[_0x166edd(0x92)](_0x5d2c3c){const _0x4f1781=_0x166edd,_0x44e23f=this[_0x4f1781(0xad)][_0x4f1781(0x98)](_0x31d336);if(!_0x44e23f)throw new Error(_0x4f1781(0x9c));return _0x44e23f[_0x4f1781(0x9a)](_0x5d2c3c,o['UNIVER_SHEET']);}async[_0x166edd(0x95)](_0x3be567){return this['importXLSXToSnapshotAsync'](_0x3be567);}async[_0x166edd(0x91)](_0x173324){const _0x21cc87=_0x166edd,_0x296e95=this[_0x21cc87(0xad)]['get'](_0x31d336);if(!_0x296e95)throw new Error(_0x21cc87(0x9c));return _0x296e95[_0x21cc87(0x95)](_0x173324);}async[_0x166edd(0xae)](_0x36522a){const _0x1c3cd4=_0x166edd;return this[_0x1c3cd4(0xab)](_0x36522a);}async[_0x166edd(0xab)](_0x34f335){const _0x2abc83=_0x166edd,_0x32d26f=this['_injector'][_0x2abc83(0x98)](_0x31d336);if(!_0x32d26f)throw new Error(_0x2abc83(0x9c));return _0x32d26f['exportXLSXByUnitId'](_0x34f335);}async[_0x166edd(0xa2)](_0x1b33df){const _0x26306f=_0x166edd;return this[_0x26306f(0x9f)](_0x1b33df);}async[_0x166edd(0x9f)](_0x49a49e){const _0x5370e8=_0x166edd,_0x129539=this[_0x5370e8(0xad)]['get'](_0x31d336);if(!_0x129539)throw new Error(_0x5370e8(0x9c));return _0x129539[_0x5370e8(0xa2)](_0x49a49e);}async[_0x166edd(0x93)](_0x4ec53a){const _0x11acd6=_0x166edd;return this[_0x11acd6(0xa8)](_0x4ec53a);}async[_0x166edd(0xa8)](_0x14376a){const _0x42fa10=_0x166edd,_0x441f83=this['_injector'][_0x42fa10(0x98)](_0x31d336);if(!_0x441f83)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x441f83['importFileToUnitId'](_0x14376a,o[_0x42fa10(0xa9)]);}async[_0x166edd(0x9e)](_0x8bf09a){return this['importDOCXToSnapshotAsync'](_0x8bf09a);}async[_0x166edd(0xa4)](_0x3457da){const _0x2564ef=_0x166edd,_0x3fb251=this[_0x2564ef(0xad)]['get'](_0x31d336);if(!_0x3fb251)throw new Error(_0x2564ef(0x9c));return _0x3fb251[_0x2564ef(0x9e)](_0x3457da);}async[_0x166edd(0x99)](_0x3a4df0){const _0x1a6730=_0x166edd,_0x8903e7=this[_0x1a6730(0xad)][_0x1a6730(0x98)](_0x31d336);if(!_0x8903e7)throw new Error(_0x1a6730(0x9c));return _0x8903e7['exportDOCXBySnapshot'](_0x3a4df0);}async[_0x166edd(0xa0)](_0x4d5b0d){const _0x1eec3b=_0x166edd,_0x2424b9=this['_injector'][_0x1eec3b(0x98)](_0x31d336);if(!_0x2424b9)throw new Error(_0x1eec3b(0x9c));return _0x2424b9[_0x1eec3b(0xa6)](_0x4d5b0d);}}function _0x3646(){const _0x2df06c=['1300555TouhjD','importDOCXToUnitIdAsync','UNIVER_DOC','UNIVER_SHEET','exportXLSXByUnitIdAsync','7pjKXaS','_injector','exportXLSXByUnitId','81MPAbxE','1410450pzkGbm','1341345kFQHiY','extend','6516894KvCEnT','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','importDOCXToUnitId','UNRECOGNIZED','importXLSXToSnapshot','UNIVER_UNKNOWN','UNIVER_SLIDE','get','exportDOCXBySnapshotAsync','importFileToUnitId','1256712VOmNEm','The\x20exchange\x20service\x20is\x20not\x20available','1243500cJBOvN','importDOCXToSnapshot','exportXLSXBySnapshotAsync','exportDOCXByUnitIdAsync','4461244IQwFBT','exportXLSXBySnapshot','importXLSXToUnitId','importDOCXToSnapshotAsync','UNIVER_PROJECT','exportDOCXByUnitId'];_0x3646=function(){return _0x2df06c;};return _0x3646();}_0x2d07bb[_0x166edd(0x8f)](s);
|