@univerjs-pro/exchange-client 0.10.10 → 0.10.11-nightly.202510220308
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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 +4 -0
- package/lib/types/services/operate.service.d.ts +1 -1
- package/lib/types/services/request.service.d.ts +7 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 +11 -11
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x314ca4=_0x45e0;function _0x2126(){const _0x4b022c=['139596rZTkjV','Data\x20is\x20too\x20large','Cancel','315186Uvqhni','{0}\x20file(s)\x20uploaded\x20successfully','5669448YIScUB','File\x20uploaded\x20successfully','627690CMrwES','Uploading','Please\x20wait...','Save\x20As','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','2739800lUXKrq','1945024xtyclu','Downloading','Upload\x20again','File','Open(File)','1734208GrpALD','1vCfEdT'];_0x2126=function(){return _0x4b022c;};return _0x2126();}(function(_0x21cbb7,_0x435b0f){const _0x3d90ad=_0x45e0,_0x23f4f9=_0x21cbb7();while(!![]){try{const _0x5f088a=parseInt(_0x3d90ad(0x8f))/0x1*(parseInt(_0x3d90ad(0x93))/0x2)+-parseInt(_0x3d90ad(0x90))/0x3+parseInt(_0x3d90ad(0x89))/0x4+parseInt(_0x3d90ad(0x88))/0x5+parseInt(_0x3d90ad(0x97))/0x6+-parseInt(_0x3d90ad(0x8e))/0x7+-parseInt(_0x3d90ad(0x95))/0x8;if(_0x5f088a===_0x435b0f)break;else _0x23f4f9['push'](_0x23f4f9['shift']());}catch(_0x13b218){_0x23f4f9['push'](_0x23f4f9['shift']());}}}(_0x2126,0x47a5b));function _0x45e0(_0x22f25e,_0xc5e21b){const _0x2126ab=_0x2126();return _0x45e0=function(_0x45e0a6,_0xe3583c){_0x45e0a6=_0x45e0a6-0x88;let _0x58cd88=_0x2126ab[_0x45e0a6];return _0x58cd88;},_0x45e0(_0x22f25e,_0xc5e21b);}const e={'exchange':{'file':_0x314ca4(0x8c),'upload':_0x314ca4(0x8d),'download':_0x314ca4(0x9a),'uploading':_0x314ca4(0x98),'uploadSuccess':_0x314ca4(0x96),'uploadSuccessTip':_0x314ca4(0x94),'downloading':_0x314ca4(0x8a),'downloadSuccess':'Download\x20success','unknownMistake':'Unknown\x20mistake','networkError':'Network\x20error','tooLarge':_0x314ca4(0x91),'internalError':'Internal\x20unknown\x20error','interrupt':_0x314ca4(0x9b),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x314ca4(0x99),'cancel':_0x314ca4(0x92),'uploadAgain':_0x314ca4(0x8b)}},o=e;export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x555b(_0x4b6d1f,_0x47958b){const _0x1d2b6b=_0x1d2b();return _0x555b=function(_0x555b52,_0x10e854){_0x555b52=_0x555b52-0xc3;let _0x56d66b=_0x1d2b6b[_0x555b52];return _0x56d66b;},_0x555b(_0x4b6d1f,_0x47958b);}const _0x718c4b=_0x555b;(function(_0x2711a6,_0x4002b9){const _0x18d051=_0x555b,_0x1d7151=_0x2711a6();while(!![]){try{const _0x329391=-parseInt(_0x18d051(0xd3))/0x1*(-parseInt(_0x18d051(0xcd))/0x2)+parseInt(_0x18d051(0xc9))/0x3+parseInt(_0x18d051(0xc5))/0x4*(-parseInt(_0x18d051(0xd7))/0x5)+parseInt(_0x18d051(0xd2))/0x6+parseInt(_0x18d051(0xc8))/0x7+parseInt(_0x18d051(0xd5))/0x8*(-parseInt(_0x18d051(0xd9))/0x9)+-parseInt(_0x18d051(0xd1))/0xa*(parseInt(_0x18d051(0xc6))/0xb);if(_0x329391===_0x4002b9)break;else _0x1d7151['push'](_0x1d7151['shift']());}catch(_0x839be7){_0x1d7151['push'](_0x1d7151['shift']());}}}(_0x1d2b,0x60ad9));function _0x1d2b(){const _0x5c9cec=['File','1463lFtruq','2073168EGrlDQ','Save\x20As','Download\x20success','Open(File)','92BOSJSu','Downloading','Please\x20wait...','Data\x20is\x20too\x20large','160zidXyK','3065484iqtVcZ','59vxjDBR','Upload\x20again','6368CttmLD','File\x20uploaded\x20successfully','10DNfLRc','Unknown\x20mistake','783CcMDhA','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','{0}\x20file(s)\x20uploaded\x20successfully','Internal\x20unknown\x20error','Uploading','950496ETpZYl','181775kxRJrV'];_0x1d2b=function(){return _0x5c9cec;};return _0x1d2b();}const e={'exchange':{'file':_0x718c4b(0xc7),'upload':_0x718c4b(0xcc),'download':_0x718c4b(0xca),'uploading':_0x718c4b(0xc4),'uploadSuccess':_0x718c4b(0xd6),'uploadSuccessTip':_0x718c4b(0xdb),'downloading':_0x718c4b(0xce),'downloadSuccess':_0x718c4b(0xcb),'unknownMistake':_0x718c4b(0xd8),'networkError':'Network\x20error','tooLarge':_0x718c4b(0xd0),'internalError':_0x718c4b(0xc3),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x718c4b(0xda),'wait':_0x718c4b(0xcf),'cancel':'Cancel','uploadAgain':_0x718c4b(0xd4)}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x2056(_0x2a1ef3,_0x4a3b5b){const _0x4af5b4=_0x4af5();return _0x2056=function(_0x205659,_0x5e9e2e){_0x205659=_0x205659-0x136;let _0x3d9c9d=_0x4af5b4[_0x205659];return _0x3d9c9d;},_0x2056(_0x2a1ef3,_0x4a3b5b);}const _0x115dac=_0x2056;(function(_0x1e7e74,_0x181d6c){const _0x213c4c=_0x2056,_0x19234e=_0x1e7e74();while(!![]){try{const _0x33d5f5=-parseInt(_0x213c4c(0x146))/0x1*(parseInt(_0x213c4c(0x143))/0x2)+parseInt(_0x213c4c(0x13e))/0x3+-parseInt(_0x213c4c(0x138))/0x4*(-parseInt(_0x213c4c(0x137))/0x5)+parseInt(_0x213c4c(0x139))/0x6+-parseInt(_0x213c4c(0x147))/0x7+-parseInt(_0x213c4c(0x148))/0x8*(-parseInt(_0x213c4c(0x14b))/0x9)+parseInt(_0x213c4c(0x141))/0xa;if(_0x33d5f5===_0x181d6c)break;else _0x19234e['push'](_0x19234e['shift']());}catch(_0x137671){_0x19234e['push'](_0x19234e['shift']());}}}(_0x4af5,0x9d829));function _0x4af5(){const _0x4ca137=['Internal\x20unknown\x20error','1431840aBkVxE','Save\x20As','52336CiEpDK','Cancel','Unknown\x20mistake','47XOcrYb','1861552YtFMYi','40jVsDoK','Network\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','161361widlwM','File','Upload\x20again','25BeLpnT','528076xDfOpP','1434834ASUKdv','File\x20uploaded\x20successfully','Downloading','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Data\x20is\x20too\x20large','3026790zRMlOv','Please\x20wait...'];_0x4af5=function(){return _0x4ca137;};return _0x4af5();}const e={'exchange':{'file':_0x115dac(0x14c),'upload':'Open(File)','download':_0x115dac(0x142),'uploading':'Uploading','uploadSuccess':_0x115dac(0x13a),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x115dac(0x13b),'downloadSuccess':'Download\x20success','unknownMistake':_0x115dac(0x145),'networkError':_0x115dac(0x149),'tooLarge':_0x115dac(0x13d),'internalError':_0x115dac(0x140),'interrupt':_0x115dac(0x14a),'fileTypeError':_0x115dac(0x13c),'wait':_0x115dac(0x13f),'cancel':_0x115dac(0x144),'uploadAgain':_0x115dac(0x136)}},o=e;export{o as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x433616=_0x51c7;(function(_0x38a1fa,_0x4fc9fe){const _0x2a8110=_0x51c7,_0x2921c9=_0x38a1fa();while(!![]){try{const _0x16e9a7=-parseInt(_0x2a8110(0x135))/0x1*(parseInt(_0x2a8110(0x137))/0x2)+-parseInt(_0x2a8110(0x140))/0x3*(-parseInt(_0x2a8110(0x141))/0x4)+parseInt(_0x2a8110(0x12f))/0x5+-parseInt(_0x2a8110(0x132))/0x6*(parseInt(_0x2a8110(0x12e))/0x7)+parseInt(_0x2a8110(0x142))/0x8+parseInt(_0x2a8110(0x139))/0x9*(parseInt(_0x2a8110(0x13c))/0xa)+-parseInt(_0x2a8110(0x134))/0xb*(-parseInt(_0x2a8110(0x136))/0xc);if(_0x16e9a7===_0x4fc9fe)break;else _0x2921c9['push'](_0x2921c9['shift']());}catch(_0x310e67){_0x2921c9['push'](_0x2921c9['shift']());}}}(_0x4194,0xecb50));const o={'exchange':{'file':_0x433616(0x12c),'upload':_0x433616(0x13f),'download':_0x433616(0x133),'uploading':_0x433616(0x13e),'uploadSuccess':_0x433616(0x13b),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':'در\x20حال\x20دانلود','downloadSuccess':_0x433616(0x12d),'unknownMistake':'خطای\x20ناشناخته','networkError':_0x433616(0x13a),'tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':_0x433616(0x130),'interrupt':_0x433616(0x13d),'fileTypeError':_0x433616(0x131),'wait':'لطفا\x20صبر\x20کنید...','cancel':'لغو','uploadAgain':_0x433616(0x138)}};function _0x51c7(_0x340427,_0xdc12cf){const _0x4194bd=_0x4194();return _0x51c7=function(_0x51c719,_0x5245eb){_0x51c719=_0x51c719-0x12c;let _0x57339e=_0x4194bd[_0x51c719];return _0x57339e;},_0x51c7(_0x340427,_0xdc12cf);}export{o as default};function _0x4194(){const _0x9425c1=['اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','در\x20حال\x20بارگذاری','بازکردن(فایل)','2554710zmykDx','4zUbcjl','2081640FqkzVJ','فایل','دانلود\x20موفقیت\x20آمیز','7QVcxuL','6746010gggNeM','خطای\x20داخلی\x20ناشناخته','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','10666086SuXUHG','ذخیره\x20به\x20عنوان','1135475UUHEMe','19hVZfRU','12PJjhHG','68922GDKfsJ','بارگذاری\x20مجدد','3789tABJEq','خطای\x20شبکه','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','19900NifGPB'];_0x4194=function(){return _0x9425c1;};return _0x4194();}
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2fb73f=_0x7d79;(function(_0x3310a5,_0x14d177){const _0x437318=_0x7d79,_0x1df214=_0x3310a5();while(!![]){try{const _0x18e526=-parseInt(_0x437318(0xe9))/0x1*(parseInt(_0x437318(0xe8))/0x2)+parseInt(_0x437318(0xed))/0x3+-parseInt(_0x437318(0xe4))/0x4*(-parseInt(_0x437318(0xea))/0x5)+-parseInt(_0x437318(0xe2))/0x6+-parseInt(_0x437318(0xeb))/0x7+-parseInt(_0x437318(0xe3))/0x8+parseInt(_0x437318(0xdd))/0x9;if(_0x18e526===_0x14d177)break;else _0x1df214['push'](_0x1df214['shift']());}catch(_0xdb5fcd){_0x1df214['push'](_0x1df214['shift']());}}}(_0x36cc,0x8fc06));const e={'exchange':{'file':_0x2fb73f(0xe1),'upload':_0x2fb73f(0xec),'download':'Enregistrer\x20sous','uploading':_0x2fb73f(0xdf),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':_0x2fb73f(0xe6),'downloadSuccess':'Téléchargement\x20réussi','unknownMistake':_0x2fb73f(0xe0),'networkError':_0x2fb73f(0xee),'tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x2fb73f(0xe5),'fileTypeError':_0x2fb73f(0xe7),'wait':'Veuillez\x20patienter...','cancel':'Annuler','uploadAgain':_0x2fb73f(0xde)}};function _0x36cc(){const _0x3b77eb=['4denohM','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Téléchargement','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','16wVAxNM','65683YLTabY','1716190WWaQss','5652143rFSdhl','Ouvrir\x20(Fichier)','410469EmPGMH','Erreur\x20réseau','21716325ggAwkg','Télécharger\x20à\x20nouveau','Téléchargement\x20en\x20cours','Erreur\x20inconnue','Fichier','5446614TdCfqO','507984vkQFaS'];_0x36cc=function(){return _0x3b77eb;};return _0x36cc();}function _0x7d79(_0x3a83c3,_0x4787b1){const _0x36cc72=_0x36cc();return _0x7d79=function(_0x7d7913,_0x401c68){_0x7d7913=_0x7d7913-0xdd;let _0x30997c=_0x36cc72[_0x7d7913];return _0x30997c;},_0x7d79(_0x3a83c3,_0x4787b1);}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x18cb89=_0x2582;(function(_0x389681,_0x373b7b){const _0x335cb9=_0x2582,_0x3c906e=_0x389681();while(!![]){try{const _0x188196=-parseInt(_0x335cb9(0x77))/0x1+parseInt(_0x335cb9(0x66))/0x2+-parseInt(_0x335cb9(0x78))/0x3*(parseInt(_0x335cb9(0x7a))/0x4)+parseInt(_0x335cb9(0x74))/0x5+parseInt(_0x335cb9(0x7b))/0x6*(parseInt(_0x335cb9(0x73))/0x7)+parseInt(_0x335cb9(0x79))/0x8+-parseInt(_0x335cb9(0x75))/0x9*(parseInt(_0x335cb9(0x68))/0xa);if(_0x188196===_0x373b7b)break;else _0x3c906e['push'](_0x3c906e['shift']());}catch(_0x45628c){_0x3c906e['push'](_0x3c906e['shift']());}}}(_0x7f75,0x2ebcc));const e={'exchange':{'file':_0x18cb89(0x6b),'upload':_0x18cb89(0x65),'download':'Save\x20As','uploading':'Uploading','uploadSuccess':_0x18cb89(0x6e),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x18cb89(0x76),'downloadSuccess':_0x18cb89(0x70),'unknownMistake':_0x18cb89(0x71),'networkError':_0x18cb89(0x6d),'tooLarge':_0x18cb89(0x6f),'internalError':_0x18cb89(0x67),'interrupt':_0x18cb89(0x6c),'fileTypeError':_0x18cb89(0x6a),'wait':'Please\x20wait...','cancel':_0x18cb89(0x72),'uploadAgain':_0x18cb89(0x69)}},o=e;function _0x2582(_0x2c3892,_0x1ed9dd){const _0x7f7578=_0x7f75();return _0x2582=function(_0x2582f5,_0x35a8d1){_0x2582f5=_0x2582f5-0x65;let _0xe9bfce=_0x7f7578[_0x2582f5];return _0xe9bfce;},_0x2582(_0x2c3892,_0x1ed9dd);}export{o as default};function _0x7f75(){const _0xe1209c=['Open(File)','436368BJjIGP','Internal\x20unknown\x20error','1854830tiOihj','Upload\x20again','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','File','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Network\x20error','File\x20uploaded\x20successfully','Data\x20is\x20too\x20large','Download\x20success','Unknown\x20mistake','Cancel','7ekInMo','148725rNstdB','18uVlMzH','Downloading','69695WgwQTm','2166YzBnVY','1451784qdKlXL','292WSqzUp','1532406AIIpef'];_0x7f75=function(){return _0xe1209c;};return _0x7f75();}
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x32af02=_0x52d4;function _0x52d4(_0x57c7d7,_0x48df19){const _0x27b57c=_0x27b5();return _0x52d4=function(_0x52d4df,_0x4c2ec9){_0x52d4df=_0x52d4df-0x77;let _0x1fd229=_0x27b57c[_0x52d4df];return _0x1fd229;},_0x52d4(_0x57c7d7,_0x48df19);}(function(_0x462658,_0x33d612){const _0x39e913=_0x52d4,_0x33885b=_0x462658();while(!![]){try{const _0x14aaa9=parseInt(_0x39e913(0x82))/0x1+parseInt(_0x39e913(0x79))/0x2+parseInt(_0x39e913(0x7f))/0x3+-parseInt(_0x39e913(0x81))/0x4*(parseInt(_0x39e913(0x7c))/0x5)+-parseInt(_0x39e913(0x87))/0x6+-parseInt(_0x39e913(0x84))/0x7+parseInt(_0x39e913(0x86))/0x8*(parseInt(_0x39e913(0x89))/0x9);if(_0x14aaa9===_0x33d612)break;else _0x33885b['push'](_0x33885b['shift']());}catch(_0x31909c){_0x33885b['push'](_0x33885b['shift']());}}}(_0x27b5,0x9b4b0));const o={'exchange':{'file':'Файл','upload':_0x32af02(0x8b),'download':_0x32af02(0x7d),'uploading':'Загрузка','uploadSuccess':_0x32af02(0x77),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x32af02(0x83),'downloadSuccess':_0x32af02(0x7e),'unknownMistake':_0x32af02(0x78),'networkError':_0x32af02(0x80),'tooLarge':_0x32af02(0x88),'internalError':_0x32af02(0x85),'interrupt':_0x32af02(0x8a),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x32af02(0x7a),'cancel':'Отмена','uploadAgain':_0x32af02(0x7b)}};export{o as default};function _0x27b5(){const _0x16c5c8=['Сохранить\x20как','Скачивание\x20успешно','3196110uqSaHG','Сетевая\x20ошибка','4skDhgr','601675ZJZtvZ','Скачивание','4633447iKTVDf','Внутренняя\x20неизвестная\x20ошибка','5936uKphGl','661782fvGqhN','Данные\x20слишком\x20большие','2466YiiNAH','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Открыть(Файл)','Файл\x20успешно\x20загружен','Неизвестная\x20ошибка','69368WASvDh','Пожалуйста,\x20подождите...','Загрузить\x20снова','2483695jXdZfp'];_0x27b5=function(){return _0x16c5c8;};return _0x27b5();}
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x581d(){const _0x2b56c8=['1733172uhnoLt','2741139GkzuiT','1402kirnKj','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','300738WVnUYX','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','24815yaoOPi','Lỗi\x20không\x20xác\x20định','1760178HvzaYS','Tải\x20lên\x20lại','Đang\x20tải\x20lên','2154955PFemoB','24wbRuec','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','1227FoupqU','Tệp','Tải\x20lên\x20tệp\x20thành\x20công','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Đang\x20tải\x20xuống','Lưu\x20dưới\x20dạng','Vui\x20lòng\x20đợi...','Mở\x20(Tệp)','5OHwfEF','20teZFHf','Lỗi\x20mạng','Tải\x20xuống\x20thành\x20công'];_0x581d=function(){return _0x2b56c8;};return _0x581d();}const _0x16a8c2=_0x46ea;(function(_0x261d36,_0x158978){const _0x788a17=_0x46ea,_0x1f7395=_0x261d36();while(!![]){try{const _0x3f0d27=parseInt(_0x788a17(0xd8))/0x1+parseInt(_0x788a17(0xd6))/0x2*(-parseInt(_0x788a17(0xc8))/0x3)+parseInt(_0x788a17(0xd4))/0x4+-parseInt(_0x788a17(0xd0))/0x5*(parseInt(_0x788a17(0xc2))/0x6)+-parseInt(_0x788a17(0xda))/0x7*(-parseInt(_0x788a17(0xc6))/0x8)+-parseInt(_0x788a17(0xd5))/0x9+parseInt(_0x788a17(0xd1))/0xa*(parseInt(_0x788a17(0xc5))/0xb);if(_0x3f0d27===_0x158978)break;else _0x1f7395['push'](_0x1f7395['shift']());}catch(_0xd32536){_0x1f7395['push'](_0x1f7395['shift']());}}}(_0x581d,0x3d7b9));const n={'exchange':{'file':_0x16a8c2(0xc9),'upload':_0x16a8c2(0xcf),'download':_0x16a8c2(0xcd),'uploading':_0x16a8c2(0xc4),'uploadSuccess':_0x16a8c2(0xca),'uploadSuccessTip':_0x16a8c2(0xc7),'downloading':_0x16a8c2(0xcc),'downloadSuccess':_0x16a8c2(0xd3),'unknownMistake':_0x16a8c2(0xdb),'networkError':_0x16a8c2(0xd2),'tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0x16a8c2(0xcb),'interrupt':_0x16a8c2(0xd9),'fileTypeError':_0x16a8c2(0xd7),'wait':_0x16a8c2(0xce),'cancel':'Hủy\x20bỏ','uploadAgain':_0x16a8c2(0xc3)}};function _0x46ea(_0x509b69,_0x431d79){const _0x581d37=_0x581d();return _0x46ea=function(_0x46ea1c,_0x3a267b){_0x46ea1c=_0x46ea1c-0xc2;let _0x429178=_0x581d37[_0x46ea1c];return _0x429178;},_0x46ea(_0x509b69,_0x431d79);}export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x27cf(_0x38a264,_0x11d65b){const _0x89974=_0x8997();return _0x27cf=function(_0x27cfc2,_0x567ac5){_0x27cfc2=_0x27cfc2-0x125;let _0x433b7e=_0x89974[_0x27cfc2];return _0x433b7e;},_0x27cf(_0x38a264,_0x11d65b);}const _0x3389ce=_0x27cf;function _0x8997(){const _0x224966=['24456HxgQba','数据流过大','40138uDMWIR','所选文件\x20[{0}]\x20不支持上传','未知错误','上传中','1807000HdEhTG','48xSEuFT','2dRBSJm','请稍等...','文件上传成功','74120yysoFk','内部未知错误','{0}个文件上传成功','1443771kWHXPW','再次上传','547785gBlEFD','759984nnTanN','另存为','112hmXfWy','网络异常'];_0x8997=function(){return _0x224966;};return _0x8997();}(function(_0x5edd3f,_0x1ab43c){const _0x543d5f=_0x27cf,_0x410095=_0x5edd3f();while(!![]){try{const _0x3f447d=-parseInt(_0x543d5f(0x12e))/0x1*(parseInt(_0x543d5f(0x134))/0x2)+-parseInt(_0x543d5f(0x133))/0x3*(parseInt(_0x543d5f(0x137))/0x4)+parseInt(_0x543d5f(0x127))/0x5+parseInt(_0x543d5f(0x128))/0x6+parseInt(_0x543d5f(0x12a))/0x7*(-parseInt(_0x543d5f(0x12c))/0x8)+parseInt(_0x543d5f(0x125))/0x9+parseInt(_0x543d5f(0x132))/0xa;if(_0x3f447d===_0x1ab43c)break;else _0x410095['push'](_0x410095['shift']());}catch(_0x3a3aba){_0x410095['push'](_0x410095['shift']());}}}(_0x8997,0x2ed42));const o={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x3389ce(0x129),'uploading':_0x3389ce(0x131),'uploadSuccess':_0x3389ce(0x136),'uploadSuccessTip':_0x3389ce(0x139),'downloading':'下载中','downloadSuccess':'下载成功','unknownMistake':_0x3389ce(0x130),'networkError':_0x3389ce(0x12b),'tooLarge':_0x3389ce(0x12d),'internalError':_0x3389ce(0x138),'interrupt':'网络连接中断,文件上传失败','fileTypeError':_0x3389ce(0x12f),'wait':_0x3389ce(0x135),'cancel':'取消','uploadAgain':_0x3389ce(0x126)}};export{o as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1303(){const _0x33c743=['120rmKGqd','{0}個檔案上傳成功','網路連線中斷,檔案上傳失敗','3qIeGHn','再次上傳','另存為','8870484lqWDNh','資料流過大','13XoYQsC','2192180lWsrGd','請稍等...','下載中','104462ozAhXO','未知錯誤','下載成功','上傳中','開啟(檔案)','98psMnUe','549498XzUICw','所選檔案\x20[{0}]\x20不支援上傳','內部未知錯誤','540782vdQGsd','1554796VsnqCi','9xCCGso','5106056UYNeZq'];_0x1303=function(){return _0x33c743;};return _0x1303();}const _0x45df6a=_0x913d;(function(_0xc0152e,_0x444168){const _0x4e8f2f=_0x913d,_0x50ac26=_0xc0152e();while(!![]){try{const _0x3a4353=parseInt(_0x4e8f2f(0x151))/0x1*(parseInt(_0x4e8f2f(0x155))/0x2)+-parseInt(_0x4e8f2f(0x14c))/0x3*(-parseInt(_0x4e8f2f(0x146))/0x4)+parseInt(_0x4e8f2f(0x152))/0x5+-parseInt(_0x4e8f2f(0x15b))/0x6*(-parseInt(_0x4e8f2f(0x15a))/0x7)+parseInt(_0x4e8f2f(0x148))/0x8*(-parseInt(_0x4e8f2f(0x147))/0x9)+-parseInt(_0x4e8f2f(0x149))/0xa*(parseInt(_0x4e8f2f(0x145))/0xb)+-parseInt(_0x4e8f2f(0x14f))/0xc;if(_0x3a4353===_0x444168)break;else _0x50ac26['push'](_0x50ac26['shift']());}catch(_0x19483d){_0x50ac26['push'](_0x50ac26['shift']());}}}(_0x1303,0xc869c));const o={'exchange':{'file':'檔案','upload':_0x45df6a(0x159),'download':_0x45df6a(0x14e),'uploading':_0x45df6a(0x158),'uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x45df6a(0x14a),'downloading':_0x45df6a(0x154),'downloadSuccess':_0x45df6a(0x157),'unknownMistake':_0x45df6a(0x156),'networkError':'網路異常','tooLarge':_0x45df6a(0x150),'internalError':_0x45df6a(0x15d),'interrupt':_0x45df6a(0x14b),'fileTypeError':_0x45df6a(0x15c),'wait':_0x45df6a(0x153),'cancel':'取消','uploadAgain':_0x45df6a(0x14d)}};function _0x913d(_0x23ee79,_0x5bb8c8){const _0x1303c4=_0x1303();return _0x913d=function(_0x913dcc,_0xa9370d){_0x913dcc=_0x913dcc-0x145;let _0x212bb6=_0x1303c4[_0x913dcc];return _0x212bb6;},_0x913d(_0x23ee79,_0x5bb8c8);}export{o as default};
|
|
@@ -20,6 +20,11 @@ export interface IUniverExchangeClientOptions {
|
|
|
20
20
|
* @default true
|
|
21
21
|
*/
|
|
22
22
|
disableCellImageConversion?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether to ignore Table when exporting.
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
ignoreTableExport?: boolean;
|
|
23
28
|
}
|
|
24
29
|
export interface IUniverExchangeClientConfig {
|
|
25
30
|
/**
|
|
@@ -56,12 +56,14 @@ export interface IExchangeService {
|
|
|
56
56
|
* @param univerType
|
|
57
57
|
*/
|
|
58
58
|
importFileToUnitId(file: File | string, univerType: UniverType): Promise<string | undefined>;
|
|
59
|
+
interruptImportTask(): void;
|
|
59
60
|
}
|
|
60
61
|
export declare const IExchangeService: import('@wendellhu/redi').IdentifierDecorator<IExchangeService>;
|
|
61
62
|
export declare class ExchangeService extends Disposable implements IExchangeService, IDisposable {
|
|
62
63
|
private readonly _configService;
|
|
63
64
|
private readonly _httpService;
|
|
64
65
|
private readonly _requestService;
|
|
66
|
+
private _importTaskId;
|
|
65
67
|
private readonly _requestState$;
|
|
66
68
|
readonly requestState$: Observable<IRequestState>;
|
|
67
69
|
constructor(_configService: IConfigService, _httpService: HTTPService, _requestService: RequestService);
|
|
@@ -73,6 +75,7 @@ export declare class ExchangeService extends Disposable implements IExchangeServ
|
|
|
73
75
|
exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
|
|
74
76
|
exportXLSXBySnapshot(data: IWorkbookData): Promise<File | undefined>;
|
|
75
77
|
importFileToUnitId(file: File | string, univerType: UniverType): Promise<string | undefined>;
|
|
78
|
+
interruptImportTask(): void;
|
|
76
79
|
private _importToSnapshot;
|
|
77
80
|
/**
|
|
78
81
|
* Export file by snapshot
|
|
@@ -90,4 +93,5 @@ export declare class ExchangeService extends Disposable implements IExchangeServ
|
|
|
90
93
|
private _getMinSheetColumnCount;
|
|
91
94
|
private _getEnableServerSideComputing;
|
|
92
95
|
private _getDisableCellImageConversion;
|
|
96
|
+
private _getIgnoreTableExport;
|
|
93
97
|
}
|
|
@@ -78,7 +78,6 @@ export declare class ExchangeOperateService extends Disposable implements IExcha
|
|
|
78
78
|
private readonly _exchangeService;
|
|
79
79
|
private readonly _uploadNotificationService;
|
|
80
80
|
protected readonly _logService: ILogService;
|
|
81
|
-
private _interrupted;
|
|
82
81
|
private readonly _progress$;
|
|
83
82
|
readonly progress$: Observable<IUploadProgress>;
|
|
84
83
|
private _totalUploadTaskCount;
|
|
@@ -128,4 +127,5 @@ export declare class ExchangeOperateService extends Disposable implements IExcha
|
|
|
128
127
|
* @returns
|
|
129
128
|
*/
|
|
130
129
|
private _fileTypeError;
|
|
130
|
+
private _uploadTaskNotDone;
|
|
131
131
|
}
|
|
@@ -37,6 +37,8 @@ export interface IExportRequest {
|
|
|
37
37
|
sscSwitch?: boolean;
|
|
38
38
|
/** If useImageUrl is set to true, cell images will not be converted to links on export */
|
|
39
39
|
useImageUrl?: boolean;
|
|
40
|
+
/** If ignoreTableExport is set to true, tables will be ignored on export */
|
|
41
|
+
ignoreTableExport?: boolean;
|
|
40
42
|
}
|
|
41
43
|
export interface IExportResponse {
|
|
42
44
|
error: IError | undefined;
|
|
@@ -70,6 +72,8 @@ export interface ISnapshotJsonResponse {
|
|
|
70
72
|
sheetBlocks: ISheetBlockJson;
|
|
71
73
|
}
|
|
72
74
|
export interface IRequestService {
|
|
75
|
+
setTaskInterrupted(taskID: string): void;
|
|
76
|
+
clearTaskInterrupted(): void;
|
|
73
77
|
upload(file: File | string): Promise<IFileUploadResponse | undefined>;
|
|
74
78
|
import(importRequest: IImportRequest): Promise<IImportResponse | undefined>;
|
|
75
79
|
export(exportRequest: IExportRequest): Promise<IExportResponse | undefined>;
|
|
@@ -84,8 +88,11 @@ export declare const IRequestService: import('@wendellhu/redi').IdentifierDecora
|
|
|
84
88
|
export declare class RequestService implements IRequestService, IDisposable {
|
|
85
89
|
private readonly _configService;
|
|
86
90
|
private readonly _httpService;
|
|
91
|
+
private _taskInterrupted;
|
|
87
92
|
constructor(_configService: IConfigService, _httpService: HTTPService);
|
|
88
93
|
dispose(): void;
|
|
94
|
+
setTaskInterrupted(taskID: string): void;
|
|
95
|
+
clearTaskInterrupted(): void;
|
|
89
96
|
/**
|
|
90
97
|
* upload file to server
|
|
91
98
|
* @param file
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1460(_0x35d1b9,_0x256725){const _0x431149=_0x4311();return _0x1460=function(_0x146024,_0x3d7eb){_0x146024=_0x146024-0x6f;let _0x4b10fd=_0x431149[_0x146024];return _0x4b10fd;},_0x1460(_0x35d1b9,_0x256725);}(function(_0x19d24a,_0x2ce5bb){const _0x31bab0=_0x1460,_0xb6a239=_0x19d24a();while(!![]){try{const _0x412948=-parseInt(_0x31bab0(0x7b))/0x1+parseInt(_0x31bab0(0x6f))/0x2*(parseInt(_0x31bab0(0x95))/0x3)+parseInt(_0x31bab0(0x7f))/0x4*(-parseInt(_0x31bab0(0x87))/0x5)+-parseInt(_0x31bab0(0x96))/0x6*(parseInt(_0x31bab0(0x8e))/0x7)+-parseInt(_0x31bab0(0x86))/0x8+-parseInt(_0x31bab0(0x8f))/0x9+-parseInt(_0x31bab0(0x80))/0xa*(-parseInt(_0x31bab0(0x8b))/0xb);if(_0x412948===_0x2ce5bb)break;else _0xb6a239['push'](_0xb6a239['shift']());}catch(_0x3c2a68){_0xb6a239['push'](_0xb6a239['shift']());}}}(_0x4311,0x99746),function(_0x28bd92,_0x56fd69){const _0x5c76cb=_0x1460;typeof exports==_0x5c76cb(0x70)&&typeof module<'u'?_0x56fd69(require('@univerjs-pro/exchange-client'),require('@univerjs/core/facade')):typeof define==_0x5c76cb(0x8c)&&define[_0x5c76cb(0x83)]?define(['@univerjs-pro/exchange-client','@univerjs/core/facade'],_0x56fd69):(_0x28bd92=typeof globalThis<'u'?globalThis:_0x28bd92||self,_0x56fd69(_0x28bd92[_0x5c76cb(0x99)],_0x28bd92[_0x5c76cb(0x72)]));}(this,function(_0x2df4bb,_0x52983c){'use strict';const _0x14e56a=_0x1460;var _0x14a6e5=(_0x57e760=>(_0x57e760[_0x57e760[_0x14e56a(0x7c)]=0x0]=_0x14e56a(0x7c),_0x57e760[_0x57e760[_0x14e56a(0x84)]=0x1]='UNIVER_DOC',_0x57e760[_0x57e760[_0x14e56a(0x7d)]=0x2]='UNIVER_SHEET',_0x57e760[_0x57e760[_0x14e56a(0x71)]=0x3]=_0x14e56a(0x71),_0x57e760[_0x57e760['UNIVER_PROJECT']=0x4]=_0x14e56a(0x89),_0x57e760[_0x57e760[_0x14e56a(0x82)]=-0x1]='UNRECOGNIZED',_0x57e760))(_0x14a6e5||{});class _0x2f2f0e extends _0x52983c[_0x14e56a(0x8a)]{async[_0x14e56a(0x90)](_0x4e977c){return this['importXLSXToUnitIdAsync'](_0x4e977c);}async[_0x14e56a(0x92)](_0x6b9e9){const _0x483f9a=_0x14e56a,_0x1594bd=this[_0x483f9a(0x88)][_0x483f9a(0x7e)](_0x2df4bb[_0x483f9a(0x77)]);if(!_0x1594bd)throw new Error(_0x483f9a(0x91));return _0x1594bd[_0x483f9a(0x85)](_0x6b9e9,_0x14a6e5[_0x483f9a(0x7d)]);}async['importXLSXToSnapshot'](_0x10a847){const _0x484409=_0x14e56a;return this[_0x484409(0x81)](_0x10a847);}async['importXLSXToSnapshotAsync'](_0x1ed8fe){const _0x551655=_0x14e56a,_0x120a94=this['_injector']['get'](_0x2df4bb[_0x551655(0x77)]);if(!_0x120a94)throw new Error(_0x551655(0x91));return _0x120a94[_0x551655(0x73)](_0x1ed8fe);}async[_0x14e56a(0x94)](_0x3f35f5){const _0x38d786=_0x14e56a;return this[_0x38d786(0x93)](_0x3f35f5);}async[_0x14e56a(0x93)](_0x19c0d7){const _0xe1b886=_0x14e56a,_0x4b53a7=this[_0xe1b886(0x88)][_0xe1b886(0x7e)](_0x2df4bb[_0xe1b886(0x77)]);if(!_0x4b53a7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4b53a7[_0xe1b886(0x94)](_0x19c0d7);}async[_0x14e56a(0x98)](_0x1718d3){return this['exportXLSXBySnapshotAsync'](_0x1718d3);}async[_0x14e56a(0x97)](_0xa49398){const _0x42755b=_0x14e56a,_0x4ee6b4=this['_injector'][_0x42755b(0x7e)](_0x2df4bb[_0x42755b(0x77)]);if(!_0x4ee6b4)throw new Error(_0x42755b(0x91));return _0x4ee6b4[_0x42755b(0x98)](_0xa49398);}async[_0x14e56a(0x8d)](_0x17e23b){const _0x4bcab7=_0x14e56a;return this[_0x4bcab7(0x76)](_0x17e23b);}async[_0x14e56a(0x76)](_0x3f5b0c){const _0x297422=_0x14e56a,_0x51d066=this[_0x297422(0x88)][_0x297422(0x7e)](_0x2df4bb['IExchangeService']);if(!_0x51d066)throw new Error(_0x297422(0x91));return _0x51d066[_0x297422(0x85)](_0x3f5b0c,_0x14a6e5[_0x297422(0x84)]);}async[_0x14e56a(0x75)](_0x227a6d){const _0x494fee=_0x14e56a;return this[_0x494fee(0x74)](_0x227a6d);}async[_0x14e56a(0x74)](_0x5ce478){const _0x7af9ca=_0x14e56a,_0x600452=this[_0x7af9ca(0x88)]['get'](_0x2df4bb['IExchangeService']);if(!_0x600452)throw new Error(_0x7af9ca(0x91));return _0x600452['importDOCXToSnapshot'](_0x5ce478);}async['exportDOCXBySnapshotAsync'](_0x44fa16){const _0x5609aa=_0x14e56a,_0x1e53cb=this[_0x5609aa(0x88)][_0x5609aa(0x7e)](_0x2df4bb[_0x5609aa(0x77)]);if(!_0x1e53cb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1e53cb[_0x5609aa(0x7a)](_0x44fa16);}async[_0x14e56a(0x79)](_0x3163f6){const _0x1111e6=_0x14e56a,_0x195d8c=this[_0x1111e6(0x88)][_0x1111e6(0x7e)](_0x2df4bb[_0x1111e6(0x77)]);if(!_0x195d8c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x195d8c[_0x1111e6(0x78)](_0x3163f6);}}_0x52983c[_0x14e56a(0x8a)]['extend'](_0x2f2f0e);}));function _0x4311(){const _0x1b1cb9=['get','4bzWigI','5090silTJH','importXLSXToSnapshotAsync','UNRECOGNIZED','amd','UNIVER_DOC','importFileToUnitId','3872632FDbKPs','5375815TczwNL','_injector','UNIVER_PROJECT','FUniver','59224tBHihd','function','importDOCXToUnitId','273zBjFkn','4274217OpmEHN','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','exportXLSXByUnitIdAsync','exportXLSXByUnitId','2123586OTpdwx','33564Jhljhj','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','UniverProExchangeClient','2VnEvfs','object','UNIVER_SLIDE','UniverCoreFacade','importXLSXToSnapshot','importDOCXToSnapshotAsync','importDOCXToSnapshot','importDOCXToUnitIdAsync','IExchangeService','exportDOCXByUnitId','exportDOCXByUnitIdAsync','exportDOCXBySnapshot','567447IOheIj','UNIVER_UNKNOWN','UNIVER_SHEET'];_0x4311=function(){return _0x1b1cb9;};return _0x4311();}
|