@univerjs-pro/exchange-client 0.9.3 → 0.9.4
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/index.d.ts +1 -3
- package/lib/types/services/request.service.d.ts +0 -10
- 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 +9 -9
package/lib/locale/ca-ES.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x218c09=_0x17f9;(function(_0x161691,_0x205722){const _0x53e9d0=_0x17f9,_0x18b123=_0x161691();while(!![]){try{const _0xaec74e=parseInt(_0x53e9d0(0xd7))/0x1*(parseInt(_0x53e9d0(0xe3))/0x2)+-parseInt(_0x53e9d0(0xe5))/0x3+parseInt(_0x53e9d0(0xd4))/0x4+parseInt(_0x53e9d0(0xe0))/0x5*(parseInt(_0x53e9d0(0xde))/0x6)+parseInt(_0x53e9d0(0xd6))/0x7*(parseInt(_0x53e9d0(0xda))/0x8)+parseInt(_0x53e9d0(0xd3))/0x9*(-parseInt(_0x53e9d0(0xe2))/0xa)+-parseInt(_0x53e9d0(0xe6))/0xb*(parseInt(_0x53e9d0(0xd9))/0xc);if(_0xaec74e===_0x205722)break;else _0x18b123['push'](_0x18b123['shift']());}catch(_0x308385){_0x18b123['push'](_0x18b123['shift']());}}}(_0x5734,0x566d8));const e={'exchange':{'file':'File','upload':_0x218c09(0xdb),'download':'Save\x20As','downloadWPS':_0x218c09(0xdd),'uploading':'Uploading','uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x218c09(0xe1),'downloading':_0x218c09(0xe7),'downloadSuccess':'Download\x20success','unknownMistake':'Unknown\x20mistake','networkError':_0x218c09(0xd5),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x218c09(0xd8),'interrupt':_0x218c09(0xd1),'fileTypeError':_0x218c09(0xe4),'wait':_0x218c09(0xd2),'cancel':_0x218c09(0xdc),'uploadAgain':_0x218c09(0xdf)}},o=e;function _0x17f9(_0x552d76,_0x20dfb2){const _0x5734ee=_0x5734();return _0x17f9=function(_0x17f926,_0x17632a){_0x17f926=_0x17f926-0xd1;let _0x4278d0=_0x5734ee[_0x17f926];return _0x4278d0;},_0x17f9(_0x552d76,_0x20dfb2);}function _0x5734(){const _0x407de9=['18lXhCGF','2369224ZfcXSm','Network\x20error','49VHLlfm','1FJTCRW','Internal\x20unknown\x20error','39108zJRjSC','281944UjYslz','Open(File)','Cancel','Save\x20As\x20WPS','489594NJULwE','Upload\x20again','15sdkBgF','{0}\x20file(s)\x20uploaded\x20successfully','2175930IaIVls','54508VGornJ','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','799383rMjvbI','187jgGcjy','Downloading','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Please\x20wait...'];_0x5734=function(){return _0x407de9;};return _0x5734();}export{o as default};
|
package/lib/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x5af494=_0x25cd;(function(_0x3831e4,_0x39e37b){const _0x245625=_0x25cd,_0x4160a7=_0x3831e4();while(!![]){try{const _0x11c4b6=parseInt(_0x245625(0x14b))/0x1+-parseInt(_0x245625(0x140))/0x2+-parseInt(_0x245625(0x148))/0x3+parseInt(_0x245625(0x13e))/0x4*(parseInt(_0x245625(0x14d))/0x5)+parseInt(_0x245625(0x150))/0x6+parseInt(_0x245625(0x13f))/0x7+-parseInt(_0x245625(0x149))/0x8;if(_0x11c4b6===_0x39e37b)break;else _0x4160a7['push'](_0x4160a7['shift']());}catch(_0x2b5408){_0x4160a7['push'](_0x4160a7['shift']());}}}(_0x3d1c,0xd5a74));function _0x25cd(_0x5044e3,_0x151f45){const _0x3d1c33=_0x3d1c();return _0x25cd=function(_0x25cd9a,_0x407c02){_0x25cd9a=_0x25cd9a-0x13c;let _0x4d0dcc=_0x3d1c33[_0x25cd9a];return _0x4d0dcc;},_0x25cd(_0x5044e3,_0x151f45);}const e={'exchange':{'file':_0x5af494(0x151),'upload':_0x5af494(0x144),'download':_0x5af494(0x142),'downloadWPS':'Save\x20As\x20WPS','uploading':_0x5af494(0x14c),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x5af494(0x14e),'downloading':_0x5af494(0x13c),'downloadSuccess':_0x5af494(0x145),'unknownMistake':_0x5af494(0x143),'networkError':_0x5af494(0x146),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x5af494(0x141),'interrupt':_0x5af494(0x147),'fileTypeError':_0x5af494(0x14f),'wait':'Please\x20wait...','cancel':_0x5af494(0x13d),'uploadAgain':_0x5af494(0x14a)}};function _0x3d1c(){const _0x3908fc=['Save\x20As','Unknown\x20mistake','Open(File)','Download\x20success','Network\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','1334523AIRpPQ','10426376JRtGRT','Upload\x20again','1619757PConah','Uploading','145QJGnVl','{0}\x20file(s)\x20uploaded\x20successfully','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','2110080AyPQns','File','Downloading','Cancel','83956ZVucuT','1156925QxiJAe','244262NIdcxG','Internal\x20unknown\x20error'];_0x3d1c=function(){return _0x3908fc;};return _0x3d1c();}export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x39b7fb=_0xd513;(function(_0x304394,_0x1e365e){const _0x260d93=_0xd513,_0x5b7e30=_0x304394();while(!![]){try{const _0x2e2d71=parseInt(_0x260d93(0x124))/0x1*(-parseInt(_0x260d93(0x121))/0x2)+parseInt(_0x260d93(0x123))/0x3+-parseInt(_0x260d93(0x134))/0x4+parseInt(_0x260d93(0x120))/0x5+-parseInt(_0x260d93(0x125))/0x6*(-parseInt(_0x260d93(0x128))/0x7)+-parseInt(_0x260d93(0x122))/0x8+-parseInt(_0x260d93(0x12f))/0x9*(parseInt(_0x260d93(0x12b))/0xa);if(_0x2e2d71===_0x1e365e)break;else _0x5b7e30['push'](_0x5b7e30['shift']());}catch(_0x555a65){_0x5b7e30['push'](_0x5b7e30['shift']());}}}(_0x1748,0x85b22));const e={'exchange':{'file':'File','upload':_0x39b7fb(0x135),'download':_0x39b7fb(0x137),'downloadWPS':_0x39b7fb(0x131),'uploading':_0x39b7fb(0x132),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x39b7fb(0x136),'downloading':_0x39b7fb(0x12c),'downloadSuccess':_0x39b7fb(0x126),'unknownMistake':_0x39b7fb(0x133),'networkError':_0x39b7fb(0x130),'tooLarge':_0x39b7fb(0x12a),'internalError':_0x39b7fb(0x12e),'interrupt':_0x39b7fb(0x127),'fileTypeError':_0x39b7fb(0x12d),'wait':_0x39b7fb(0x129),'cancel':'Cancel','uploadAgain':'Upload\x20again'}},o=e;function _0xd513(_0x4c82d0,_0x2eb713){const _0x1748a7=_0x1748();return _0xd513=function(_0xd51327,_0x235c34){_0xd51327=_0xd51327-0x120;let _0x5cd551=_0x1748a7[_0xd51327];return _0x5cd551;},_0xd513(_0x4c82d0,_0x2eb713);}export{o as default};function _0x1748(){const _0x26ad15=['Download\x20success','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','344414iSClZp','Please\x20wait...','Data\x20is\x20too\x20large','4856600FvlsJG','Downloading','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Internal\x20unknown\x20error','18cZzBbG','Network\x20error','Save\x20As\x20WPS','Uploading','Unknown\x20mistake','317240PeWPsU','Open(File)','{0}\x20file(s)\x20uploaded\x20successfully','Save\x20As','4930375QDLACn','24922wmKWcT','4305288ILeBpN','1274295nFmhnZ','1isMeXr','90HCiWSm'];_0x1748=function(){return _0x26ad15;};return _0x1748();}
|
package/lib/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x55c0a4=_0x5662;(function(_0x135677,_0x11f8bf){const _0x50e4a8=_0x5662,_0x460d53=_0x135677();while(!![]){try{const _0x222abc=-parseInt(_0x50e4a8(0x149))/0x1+parseInt(_0x50e4a8(0x15b))/0x2*(parseInt(_0x50e4a8(0x15a))/0x3)+parseInt(_0x50e4a8(0x15d))/0x4+-parseInt(_0x50e4a8(0x14f))/0x5*(-parseInt(_0x50e4a8(0x147))/0x6)+-parseInt(_0x50e4a8(0x14c))/0x7*(-parseInt(_0x50e4a8(0x15e))/0x8)+parseInt(_0x50e4a8(0x154))/0x9*(-parseInt(_0x50e4a8(0x14b))/0xa)+parseInt(_0x50e4a8(0x152))/0xb*(parseInt(_0x50e4a8(0x15c))/0xc);if(_0x222abc===_0x11f8bf)break;else _0x460d53['push'](_0x460d53['shift']());}catch(_0x3c4215){_0x460d53['push'](_0x460d53['shift']());}}}(_0xcc8d,0x1ff7a));const o={'exchange':{'file':_0x55c0a4(0x14a),'upload':'بازکردن(فایل)','download':_0x55c0a4(0x146),'downloadWPS':_0x55c0a4(0x153),'uploading':_0x55c0a4(0x156),'uploadSuccess':_0x55c0a4(0x160),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x55c0a4(0x15f),'downloadSuccess':_0x55c0a4(0x158),'unknownMistake':_0x55c0a4(0x148),'networkError':_0x55c0a4(0x150),'tooLarge':_0x55c0a4(0x159),'internalError':_0x55c0a4(0x14d),'interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x55c0a4(0x155),'wait':_0x55c0a4(0x157),'cancel':_0x55c0a4(0x151),'uploadAgain':_0x55c0a4(0x14e)}};export{o as default};function _0x5662(_0x44d14d,_0x2e1bd4){const _0xcc8dbf=_0xcc8d();return _0x5662=function(_0x566215,_0x2fbf51){_0x566215=_0x566215-0x146;let _0x3ac169=_0xcc8dbf[_0x566215];return _0x3ac169;},_0x5662(_0x44d14d,_0x2e1bd4);}function _0xcc8d(){const _0x1f28ab=['5196AwIPQO','153372hElrpY','1306728VQSGYS','در\x20حال\x20دانلود','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','ذخیره\x20به\x20عنوان','132kGrikD','خطای\x20ناشناخته','260475OOrqSz','فایل','97800CVJxro','7wqwYVA','خطای\x20داخلی\x20ناشناخته','بارگذاری\x20مجدد','6980cXwvkA','خطای\x20شبکه','لغو','6127yjbInu','ذخیره\x20به\x20عنوان\x20WPS','81LxkXYO','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','در\x20حال\x20بارگذاری','لطفا\x20صبر\x20کنید...','دانلود\x20موفقیت\x20آمیز','داده\x20خیلی\x20بزرگ\x20است','96NtVAHf','366qiaywm'];_0xcc8d=function(){return _0x1f28ab;};return _0xcc8d();}
|
package/lib/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x4f0c(_0x47083b,_0x31a21d){const _0x4ab67e=_0x4ab6();return _0x4f0c=function(_0x4f0c87,_0x378fb9){_0x4f0c87=_0x4f0c87-0x176;let _0x44e818=_0x4ab67e[_0x4f0c87];return _0x44e818;},_0x4f0c(_0x47083b,_0x31a21d);}const _0x421813=_0x4f0c;(function(_0x56e0a2,_0x1c5383){const _0x5350d9=_0x4f0c,_0x5cd2c4=_0x56e0a2();while(!![]){try{const _0x691ca2=parseInt(_0x5350d9(0x17f))/0x1+parseInt(_0x5350d9(0x177))/0x2*(-parseInt(_0x5350d9(0x189))/0x3)+-parseInt(_0x5350d9(0x188))/0x4*(-parseInt(_0x5350d9(0x17a))/0x5)+-parseInt(_0x5350d9(0x17e))/0x6+parseInt(_0x5350d9(0x178))/0x7+-parseInt(_0x5350d9(0x18a))/0x8+parseInt(_0x5350d9(0x186))/0x9*(parseInt(_0x5350d9(0x184))/0xa);if(_0x691ca2===_0x1c5383)break;else _0x5cd2c4['push'](_0x5cd2c4['shift']());}catch(_0x22c18c){_0x5cd2c4['push'](_0x5cd2c4['shift']());}}}(_0x4ab6,0xa4616));const e={'exchange':{'file':_0x421813(0x180),'upload':_0x421813(0x187),'download':'Enregistrer\x20sous','downloadWPS':_0x421813(0x18b),'uploading':_0x421813(0x18d),'uploadSuccess':_0x421813(0x17d),'uploadSuccessTip':_0x421813(0x18c),'downloading':'Téléchargement','downloadSuccess':_0x421813(0x17c),'unknownMistake':_0x421813(0x185),'networkError':_0x421813(0x179),'tooLarge':_0x421813(0x176),'internalError':_0x421813(0x183),'interrupt':'La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x421813(0x181),'cancel':_0x421813(0x182),'uploadAgain':_0x421813(0x17b)}};export{e as default};function _0x4ab6(){const _0x57b9b3=['934956tNknvP','676702xTAZUW','Fichier','Veuillez\x20patienter...','Annuler','Erreur\x20interne\x20inconnue','13874170jodkUZ','Erreur\x20inconnue','9wmBdPT','Ouvrir\x20(Fichier)','2178276MvZtcs','3577290CsUVhI','8305728egoBXJ','Enregistrer\x20sous\x20WPS','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Téléchargement\x20en\x20cours','Les\x20données\x20sont\x20trop\x20volumineuses','2ipQTel','3157602tjxqUu','Erreur\x20réseau','5oZfxei','Télécharger\x20à\x20nouveau','Téléchargement\x20réussi','Fichier\x20téléchargé\x20avec\x20succès'];_0x4ab6=function(){return _0x57b9b3;};return _0x4ab6();}
|
package/lib/locale/ko-KR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0xfc68db=_0x2f27;(function(_0x3265a2,_0x159bf2){const _0x5deadf=_0x2f27,_0xb187a5=_0x3265a2();while(!![]){try{const _0x4a060d=parseInt(_0x5deadf(0x11b))/0x1+parseInt(_0x5deadf(0x125))/0x2+-parseInt(_0x5deadf(0x124))/0x3*(-parseInt(_0x5deadf(0x11f))/0x4)+-parseInt(_0x5deadf(0x123))/0x5*(parseInt(_0x5deadf(0x127))/0x6)+-parseInt(_0x5deadf(0x11a))/0x7*(parseInt(_0x5deadf(0x11c))/0x8)+parseInt(_0x5deadf(0x119))/0x9*(parseInt(_0x5deadf(0x113))/0xa)+parseInt(_0x5deadf(0x126))/0xb;if(_0x4a060d===_0x159bf2)break;else _0xb187a5['push'](_0xb187a5['shift']());}catch(_0x4db7b0){_0xb187a5['push'](_0xb187a5['shift']());}}}(_0x1d9c,0xea347));function _0x2f27(_0x597d64,_0x20f6d3){const _0x1d9c59=_0x1d9c();return _0x2f27=function(_0x2f27bd,_0x2b7fa4){_0x2f27bd=_0x2f27bd-0x113;let _0x57674c=_0x1d9c59[_0x2f27bd];return _0x57674c;},_0x2f27(_0x597d64,_0x20f6d3);}function _0x1d9c(){const _0x4c1d41=['Download\x20success','Save\x20As','Internal\x20unknown\x20error','Upload\x20again','913221VdeVkJ','3671647GlQing','211706qDAXIR','24IglLat','Downloading','{0}\x20file(s)\x20uploaded\x20successfully','221448oayZaB','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Cancel','File','17530FKJhHX','66MUvNCu','795846AYAWcm','13526887oaXxrT','2634jyLoTF','Uploading','Please\x20wait...','100CIQEyW','Save\x20As\x20WPS'];_0x1d9c=function(){return _0x4c1d41;};return _0x1d9c();}const e={'exchange':{'file':_0xfc68db(0x122),'upload':'Open(File)','download':_0xfc68db(0x116),'downloadWPS':_0xfc68db(0x114),'uploading':_0xfc68db(0x128),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0xfc68db(0x11e),'downloading':_0xfc68db(0x11d),'downloadSuccess':_0xfc68db(0x115),'unknownMistake':'Unknown\x20mistake','networkError':'Network\x20error','tooLarge':'Data\x20is\x20too\x20large','internalError':_0xfc68db(0x117),'interrupt':_0xfc68db(0x120),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0xfc68db(0x129),'cancel':_0xfc68db(0x121),'uploadAgain':_0xfc68db(0x118)}},o=e;export{o as default};
|
package/lib/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x3324(_0x5d8bd3,_0x2c22cd){const _0x831275=_0x8312();return _0x3324=function(_0x3324cd,_0x5062f8){_0x3324cd=_0x3324cd-0x89;let _0x4750fa=_0x831275[_0x3324cd];return _0x4750fa;},_0x3324(_0x5d8bd3,_0x2c22cd);}function _0x8312(){const _0x2731d3=['20146lmruGi','2888BHVJJu','Сохранить\x20как','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Сетевая\x20ошибка','Загрузка','1341882EMHKvn','Отмена','Скачивание','Данные\x20слишком\x20большие','7312704IJrqpO','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Сохранить\x20как\x20WPS','819628ZrRRiR','Скачивание\x20успешно','671210QWrfVT','750337uYGNYQ','135ePpNsF','12Jodjdf','Внутренняя\x20неизвестная\x20ошибка','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Открыть(Файл)','Файл\x20успешно\x20загружен','2824750GEvBQv','Файл'];_0x8312=function(){return _0x2731d3;};return _0x8312();}const _0x1f2755=_0x3324;(function(_0x38052c,_0x31ae43){const _0x3273c2=_0x3324,_0x866165=_0x38052c();while(!![]){try{const _0x5e93dd=parseInt(_0x3273c2(0x95))/0x1+-parseInt(_0x3273c2(0x8b))/0x2+-parseInt(_0x3273c2(0x97))/0x3*(parseInt(_0x3273c2(0x92))/0x4)+parseInt(_0x3273c2(0x9c))/0x5+-parseInt(_0x3273c2(0x8f))/0x6+-parseInt(_0x3273c2(0x9e))/0x7*(-parseInt(_0x3273c2(0x9f))/0x8)+-parseInt(_0x3273c2(0x96))/0x9*(-parseInt(_0x3273c2(0x94))/0xa);if(_0x5e93dd===_0x31ae43)break;else _0x866165['push'](_0x866165['shift']());}catch(_0x5b2e5b){_0x866165['push'](_0x866165['shift']());}}}(_0x8312,0x9f1bb));const o={'exchange':{'file':_0x1f2755(0x9d),'upload':_0x1f2755(0x9a),'download':_0x1f2755(0xa0),'downloadWPS':_0x1f2755(0x91),'uploading':_0x1f2755(0x8a),'uploadSuccess':_0x1f2755(0x9b),'uploadSuccessTip':_0x1f2755(0x99),'downloading':_0x1f2755(0x8d),'downloadSuccess':_0x1f2755(0x93),'unknownMistake':'Неизвестная\x20ошибка','networkError':_0x1f2755(0x89),'tooLarge':_0x1f2755(0x8e),'internalError':_0x1f2755(0x98),'interrupt':_0x1f2755(0xa1),'fileTypeError':_0x1f2755(0x90),'wait':'Пожалуйста,\x20подождите...','cancel':_0x1f2755(0x8c),'uploadAgain':'Загрузить\x20снова'}};export{o as default};
|
package/lib/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x1975(){const _0x19cf06=['Lưu\x20dưới\x20dạng\x20WPS','Lỗi\x20không\x20xác\x20định','Tải\x20xuống\x20thành\x20công','1503402YPrfxH','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','2912728RIaNUk','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','14585870yvBvYD','Tải\x20lên\x20lại','Lỗi\x20mạng','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Đang\x20tải\x20xuống','9786303sePVed','Tải\x20lên\x20tệp\x20thành\x20công','6235548DTuTve','Mở\x20(Tệp)','4odoFEI','8bFYsjZ','90yCvpzD','23017MNFpHF','Vui\x20lòng\x20đợi...','Tệp','Đang\x20tải\x20lên','5502785NomQya','11rkWrMs','Lưu\x20dưới\x20dạng'];_0x1975=function(){return _0x19cf06;};return _0x1975();}const _0x315ec6=_0x1e8c;(function(_0x2607a9,_0x3ba952){const _0x419770=_0x1e8c,_0x3c73a1=_0x2607a9();while(!![]){try{const _0x2edd55=parseInt(_0x419770(0x141))/0x1*(-parseInt(_0x419770(0x140))/0x2)+-parseInt(_0x419770(0x14b))/0x3+parseInt(_0x419770(0x13e))/0x4*(parseInt(_0x419770(0x145))/0x5)+parseInt(_0x419770(0x13c))/0x6+parseInt(_0x419770(0x14d))/0x7*(-parseInt(_0x419770(0x13f))/0x8)+-parseInt(_0x419770(0x13a))/0x9+-parseInt(_0x419770(0x14f))/0xa*(-parseInt(_0x419770(0x146))/0xb);if(_0x2edd55===_0x3ba952)break;else _0x3c73a1['push'](_0x3c73a1['shift']());}catch(_0x2abab9){_0x3c73a1['push'](_0x3c73a1['shift']());}}}(_0x1975,0x883d0));function _0x1e8c(_0x79195c,_0x5a9ff2){const _0x19752b=_0x1975();return _0x1e8c=function(_0x1e8ccd,_0xe792d6){_0x1e8ccd=_0x1e8ccd-0x13a;let _0x3a0013=_0x19752b[_0x1e8ccd];return _0x3a0013;},_0x1e8c(_0x79195c,_0x5a9ff2);}const n={'exchange':{'file':_0x315ec6(0x143),'upload':_0x315ec6(0x13d),'download':_0x315ec6(0x147),'downloadWPS':_0x315ec6(0x148),'uploading':_0x315ec6(0x144),'uploadSuccess':_0x315ec6(0x13b),'uploadSuccessTip':_0x315ec6(0x14c),'downloading':_0x315ec6(0x153),'downloadSuccess':_0x315ec6(0x14a),'unknownMistake':_0x315ec6(0x149),'networkError':_0x315ec6(0x151),'tooLarge':_0x315ec6(0x152),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x315ec6(0x14e),'fileTypeError':'Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','wait':_0x315ec6(0x142),'cancel':'Hủy\x20bỏ','uploadAgain':_0x315ec6(0x150)}};export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x2c0d9e=_0x542e;function _0x542e(_0x395507,_0x30c203){const _0x3bcd38=_0x3bcd();return _0x542e=function(_0x542e22,_0x20fbf1){_0x542e22=_0x542e22-0x11c;let _0x1b717c=_0x3bcd38[_0x542e22];return _0x1b717c;},_0x542e(_0x395507,_0x30c203);}function _0x3bcd(){const _0x1b1376=['103767nxPBcp','2194068oUnCBM','1599849kErUhU','请稍等...','16srTcFH','打开(文件)','276947PLWmHj','119mgiCFg','网络连接中断,文件上传失败','下载中','上传中','数据流过大','10yZowBg','下载成功','网络异常','416504mwLGIw','文件上传成功','155192NSYTRA','另存为','2hmExUT','所选文件\x20[{0}]\x20不支持上传','849930UVJfHS'];_0x3bcd=function(){return _0x1b1376;};return _0x3bcd();}(function(_0x43fc76,_0x468ee5){const _0x281782=_0x542e,_0x4a662a=_0x43fc76();while(!![]){try{const _0x92e539=-parseInt(_0x281782(0x11d))/0x1*(-parseInt(_0x281782(0x121))/0x2)+parseInt(_0x281782(0x124))/0x3*(-parseInt(_0x281782(0x128))/0x4)+-parseInt(_0x281782(0x123))/0x5+-parseInt(_0x281782(0x125))/0x6+parseInt(_0x281782(0x12b))/0x7*(parseInt(_0x281782(0x11f))/0x8)+-parseInt(_0x281782(0x126))/0x9*(-parseInt(_0x281782(0x130))/0xa)+-parseInt(_0x281782(0x12a))/0xb;if(_0x92e539===_0x468ee5)break;else _0x4a662a['push'](_0x4a662a['shift']());}catch(_0x55153a){_0x4a662a['push'](_0x4a662a['shift']());}}}(_0x3bcd,0x36e53));const o={'exchange':{'file':'文件','upload':_0x2c0d9e(0x129),'download':_0x2c0d9e(0x120),'downloadWPS':'另存为\x20WPS','uploading':_0x2c0d9e(0x12e),'uploadSuccess':_0x2c0d9e(0x11e),'uploadSuccessTip':'{0}个文件上传成功','downloading':_0x2c0d9e(0x12d),'downloadSuccess':_0x2c0d9e(0x131),'unknownMistake':'未知错误','networkError':_0x2c0d9e(0x11c),'tooLarge':_0x2c0d9e(0x12f),'internalError':'内部未知错误','interrupt':_0x2c0d9e(0x12c),'fileTypeError':_0x2c0d9e(0x122),'wait':_0x2c0d9e(0x127),'cancel':'取消','uploadAgain':'再次上传'}};export{o as default};
|
package/lib/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x3c6c99=_0x3bf8;function _0x3bf8(_0xc93e66,_0x21f0b4){const _0x11c4a7=_0x11c4();return _0x3bf8=function(_0x3bf8c1,_0x1b10a6){_0x3bf8c1=_0x3bf8c1-0x1bf;let _0x27059c=_0x11c4a7[_0x3bf8c1];return _0x27059c;},_0x3bf8(_0xc93e66,_0x21f0b4);}function _0x11c4(){const _0x9a0573=['9039000XFPokI','193980cZEatd','下載成功','15612pfiveT','131690NMNMrN','檔案上傳成功','所選檔案\x20[{0}]\x20不支援上傳','內部未知錯誤','3395483IUSsNV','上傳中','網路連線中斷,檔案上傳失敗','{0}個檔案上傳成功','16yYxxAZ','資料流過大','1190226cvMZPJ','另存為\x20WPS','未知錯誤','1035PFXpvk','35yyZTQU','開啟(檔案)','下載中','網路異常','4015JhMcef','928RuOzEm'];_0x11c4=function(){return _0x9a0573;};return _0x11c4();}(function(_0x44c806,_0x6f82cc){const _0x3852c7=_0x3bf8,_0x4c2cc4=_0x44c806();while(!![]){try{const _0x58ca21=parseInt(_0x3852c7(0x1cd))/0x1*(-parseInt(_0x3852c7(0x1c2))/0x2)+parseInt(_0x3852c7(0x1c4))/0x3*(parseInt(_0x3852c7(0x1c0))/0x4)+-parseInt(_0x3852c7(0x1d3))/0x5*(-parseInt(_0x3852c7(0x1cf))/0x6)+-parseInt(_0x3852c7(0x1c9))/0x7+-parseInt(_0x3852c7(0x1c1))/0x8+-parseInt(_0x3852c7(0x1d2))/0x9*(-parseInt(_0x3852c7(0x1c5))/0xa)+parseInt(_0x3852c7(0x1bf))/0xb;if(_0x58ca21===_0x6f82cc)break;else _0x4c2cc4['push'](_0x4c2cc4['shift']());}catch(_0x40ce93){_0x4c2cc4['push'](_0x4c2cc4['shift']());}}}(_0x11c4,0xe6745));const o={'exchange':{'file':'檔案','upload':_0x3c6c99(0x1d4),'download':'另存為','downloadWPS':_0x3c6c99(0x1d0),'uploading':_0x3c6c99(0x1ca),'uploadSuccess':_0x3c6c99(0x1c6),'uploadSuccessTip':_0x3c6c99(0x1cc),'downloading':_0x3c6c99(0x1d5),'downloadSuccess':_0x3c6c99(0x1c3),'unknownMistake':_0x3c6c99(0x1d1),'networkError':_0x3c6c99(0x1d6),'tooLarge':_0x3c6c99(0x1ce),'internalError':_0x3c6c99(0x1c8),'interrupt':_0x3c6c99(0x1cb),'fileTypeError':_0x3c6c99(0x1c7),'wait':'請稍等...','cancel':'取消','uploadAgain':'再次上傳'}};export{o as default};
|
package/lib/types/index.d.ts
CHANGED
@@ -3,12 +3,10 @@ export { UniverExchangeClientPlugin } from './plugin';
|
|
3
3
|
export { ExchangeService, IExchangeService } from './services/exchange.service';
|
4
4
|
export { ExchangeOperateService, IExchangeOperateService } from './services/operate.service';
|
5
5
|
export { IRequestService, RequestService } from './services/request.service';
|
6
|
-
/** @deprecated Will be removed in the 0.2.19 release */
|
7
|
-
export { EXCHANGE_EXPORT_SERVER_URL_KEY, EXCHANGE_GET_TASK_SERVER_URL_KEY, EXCHANGE_IMPORT_SERVER_URL_KEY, EXCHANGE_SIGN_URL_SERVER_URL_KEY, EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY } from './services/request.service';
|
8
6
|
export { IUploadNotificationService, UploadNotificationService, UploadNotificationState } from './services/upload-notification.service';
|
9
7
|
export { downloadFile, getUniverTypeByFile, getUploadFile } from './services/utils/tool';
|
10
8
|
export { UploadNotificationContainer } from './views/UploadNotificationContainer';
|
11
|
-
export { transformDocumentDataToSnapshotJson, transformSnapshotJsonToDocumentData, transformSnapshotJsonToWorkbookData, transformWorkbookDataToSnapshotJson } from './services/utils/snapshot';
|
9
|
+
export { transformDocumentDataToSnapshotJson, transformSnapshotJsonToDocumentData, transformSnapshotJsonToWorkbookData, transformWorkbookDataToSnapshotJson, } from './services/utils/snapshot';
|
12
10
|
export type { ISnapshotBlockJsonResponse } from './services/utils/snapshot';
|
13
11
|
export { EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY, type IUniverExchangeClientOptions } from './controllers/config.schema';
|
14
12
|
export type { IUniverExchangeClientConfig } from './controllers/config.schema';
|
@@ -2,16 +2,6 @@ import { IDisposable, IConfigService } from '@univerjs/core';
|
|
2
2
|
import { IError, UniverType } from '@univerjs/protocol';
|
3
3
|
import { ISheetBlockJson, ISnapshotJson } from './utils/snapshot';
|
4
4
|
import { HTTPService } from '@univerjs/network';
|
5
|
-
/** @deprecated Will be removed in the 0.2.19 release */
|
6
|
-
export declare const EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY = "EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY";
|
7
|
-
/** @deprecated Will be removed in the 0.2.19 release */
|
8
|
-
export declare const EXCHANGE_IMPORT_SERVER_URL_KEY = "EXCHANGE_IMPORT_SERVER_URL_KEY";
|
9
|
-
/** @deprecated Will be removed in the 0.2.19 release */
|
10
|
-
export declare const EXCHANGE_EXPORT_SERVER_URL_KEY = "EXCHANGE_EXPORT_SERVER_URL_KEY";
|
11
|
-
/** @deprecated Will be removed in the 0.2.19 release */
|
12
|
-
export declare const EXCHANGE_GET_TASK_SERVER_URL_KEY = "EXCHANGE_GET_TASK_SERVER_URL_KEY";
|
13
|
-
/** @deprecated Will be removed in the 0.2.19 release */
|
14
|
-
export declare const EXCHANGE_SIGN_URL_SERVER_URL_KEY = "EXCHANGE_SIGN_URL_SERVER_URL_KEY";
|
15
5
|
export interface IFileUploadResponse {
|
16
6
|
FileId: string;
|
17
7
|
error: IError;
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
(function(_0x1e68d3,_0x246dcf){const _0x4856f9=_0x53f1,_0x3c53f4=_0x1e68d3();while(!![]){try{const _0x19de4b=parseInt(_0x4856f9(0x1d2))/0x1+parseInt(_0x4856f9(0x1d4))/0x2+parseInt(_0x4856f9(0x1c2))/0x3+parseInt(_0x4856f9(0x1db))/0x4*(-parseInt(_0x4856f9(0x1ce))/0x5)+parseInt(_0x4856f9(0x1d5))/0x6*(parseInt(_0x4856f9(0x1e1))/0x7)+parseInt(_0x4856f9(0x1d6))/0x8+-parseInt(_0x4856f9(0x1dd))/0x9;if(_0x19de4b===_0x246dcf)break;else _0x3c53f4['push'](_0x3c53f4['shift']());}catch(_0x312cb){_0x3c53f4['push'](_0x3c53f4['shift']());}}}(_0xcf9f,0xf1faf),function(_0x14d72a,_0x349436){const _0x5c8f81=_0x53f1;typeof exports==_0x5c8f81(0x1d8)&&typeof module<'u'?_0x349436(require('@univerjs-pro/exchange-client'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x5c8f81(0x1c7)]?define([_0x5c8f81(0x1e2),_0x5c8f81(0x1c3)],_0x349436):(_0x14d72a=typeof globalThis<'u'?globalThis:_0x14d72a||self,_0x349436(_0x14d72a['UniverProExchangeClient'],_0x14d72a[_0x5c8f81(0x1d0)]));}(this,function(_0x577dfe,_0x5261d0){'use strict';const _0xe614e0=_0x53f1;var _0x3df2c0=(_0xfe7d20=>(_0xfe7d20[_0xfe7d20[_0xe614e0(0x1c8)]=0x0]=_0xe614e0(0x1c8),_0xfe7d20[_0xfe7d20[_0xe614e0(0x1d1)]=0x1]=_0xe614e0(0x1d1),_0xfe7d20[_0xfe7d20[_0xe614e0(0x1df)]=0x2]=_0xe614e0(0x1df),_0xfe7d20[_0xfe7d20[_0xe614e0(0x1e3)]=0x3]=_0xe614e0(0x1e3),_0xfe7d20[_0xfe7d20[_0xe614e0(0x1c6)]=0x4]=_0xe614e0(0x1c6),_0xfe7d20[_0xfe7d20['UNRECOGNIZED']=-0x1]=_0xe614e0(0x1e4),_0xfe7d20))(_0x3df2c0||{});class _0x595ddf extends _0x5261d0[_0xe614e0(0x1bf)]{async[_0xe614e0(0x1c5)](_0x50149a){const _0x23c074=_0xe614e0;return this[_0x23c074(0x1c4)](_0x50149a);}async[_0xe614e0(0x1c4)](_0x1b7de2){const _0x45bc83=_0xe614e0,_0x5cfa5a=this['_injector'][_0x45bc83(0x1d3)](_0x577dfe[_0x45bc83(0x1de)]);if(!_0x5cfa5a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5cfa5a['importFileToUnitId'](_0x1b7de2,_0x3df2c0[_0x45bc83(0x1df)]);}async[_0xe614e0(0x1cf)](_0x585e3a){const _0x536eed=_0xe614e0;return this[_0x536eed(0x1bd)](_0x585e3a);}async['importXLSXToSnapshotAsync'](_0x3f5338){const _0x50f856=_0xe614e0,_0x269fbd=this[_0x50f856(0x1d7)][_0x50f856(0x1d3)](_0x577dfe[_0x50f856(0x1de)]);if(!_0x269fbd)throw new Error(_0x50f856(0x1c1));return _0x269fbd[_0x50f856(0x1cf)](_0x3f5338);}async[_0xe614e0(0x1e0)](_0xafb02b){const _0x14789e=_0xe614e0;return this[_0x14789e(0x1dc)](_0xafb02b);}async['exportXLSXByUnitIdAsync'](_0x1fbbab){const _0x5dd0e0=_0xe614e0,_0x2462a1=this[_0x5dd0e0(0x1d7)][_0x5dd0e0(0x1d3)](_0x577dfe[_0x5dd0e0(0x1de)]);if(!_0x2462a1)throw new Error(_0x5dd0e0(0x1c1));return _0x2462a1[_0x5dd0e0(0x1e0)](_0x1fbbab);}async[_0xe614e0(0x1da)](_0x552af2){const _0xf86c9f=_0xe614e0;return this[_0xf86c9f(0x1ca)](_0x552af2);}async[_0xe614e0(0x1ca)](_0x5a60fb){const _0x14e2b8=_0xe614e0,_0xa329f7=this[_0x14e2b8(0x1d7)][_0x14e2b8(0x1d3)](_0x577dfe['IExchangeService']);if(!_0xa329f7)throw new Error(_0x14e2b8(0x1c1));return _0xa329f7['exportXLSXBySnapshot'](_0x5a60fb);}async['importDOCXToUnitId'](_0x49738c){const _0x21e86d=_0xe614e0;return this[_0x21e86d(0x1cb)](_0x49738c);}async['importDOCXToUnitIdAsync'](_0x4b2f3e){const _0x168ce7=_0xe614e0,_0x599467=this[_0x168ce7(0x1d7)][_0x168ce7(0x1d3)](_0x577dfe[_0x168ce7(0x1de)]);if(!_0x599467)throw new Error(_0x168ce7(0x1c1));return _0x599467['importFileToUnitId'](_0x4b2f3e,_0x3df2c0['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x1a0314){const _0x4ae436=_0xe614e0;return this[_0x4ae436(0x1be)](_0x1a0314);}async['importDOCXToSnapshotAsync'](_0x312491){const _0x4c0eec=_0xe614e0,_0x210757=this[_0x4c0eec(0x1d7)]['get'](_0x577dfe[_0x4c0eec(0x1de)]);if(!_0x210757)throw new Error(_0x4c0eec(0x1c1));return _0x210757[_0x4c0eec(0x1c9)](_0x312491);}async[_0xe614e0(0x1cd)](_0x4a6a09){const _0x1ccd29=_0xe614e0,_0x4d253e=this[_0x1ccd29(0x1d7)][_0x1ccd29(0x1d3)](_0x577dfe[_0x1ccd29(0x1de)]);if(!_0x4d253e)throw new Error(_0x1ccd29(0x1c1));return _0x4d253e[_0x1ccd29(0x1cc)](_0x4a6a09);}async[_0xe614e0(0x1c0)](_0x51685d){const _0x39359b=_0xe614e0,_0x16b4cb=this['_injector'][_0x39359b(0x1d3)](_0x577dfe[_0x39359b(0x1de)]);if(!_0x16b4cb)throw new Error(_0x39359b(0x1c1));return _0x16b4cb['exportDOCXByUnitId'](_0x51685d);}}_0x5261d0[_0xe614e0(0x1bf)][_0xe614e0(0x1d9)](_0x595ddf);}));function _0x53f1(_0xb055fa,_0x217294){const _0xcf9f2e=_0xcf9f();return _0x53f1=function(_0x53f1ec,_0xc60885){_0x53f1ec=_0x53f1ec-0x1bd;let _0x1c6824=_0xcf9f2e[_0x53f1ec];return _0x1c6824;},_0x53f1(_0xb055fa,_0x217294);}function _0xcf9f(){const _0x3579a1=['2040378fRXhox','15094064keuvNU','_injector','object','extend','exportXLSXBySnapshot','342932RJZWUw','exportXLSXByUnitIdAsync','20914470kTeUHc','IExchangeService','UNIVER_SHEET','exportXLSXByUnitId','7QXejtv','@univerjs-pro/exchange-client','UNIVER_SLIDE','UNRECOGNIZED','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','FUniver','exportDOCXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','4722615IoWaGM','@univerjs/core/facade','importXLSXToUnitIdAsync','importXLSXToUnitId','UNIVER_PROJECT','amd','UNIVER_UNKNOWN','importDOCXToSnapshot','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','exportDOCXBySnapshot','exportDOCXBySnapshotAsync','75xrYiXh','importXLSXToSnapshot','UniverCoreFacade','UNIVER_DOC','487458pvXcao','get','624984aKgQat'];_0xcf9f=function(){return _0x3579a1;};return _0xcf9f();}
|