@univerjs-pro/exchange-client 0.10.8 → 0.10.9
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 +7 -0
- package/lib/types/services/exchange.service.d.ts +1 -0
- package/lib/types/services/request.service.d.ts +4 -2
- 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 _0x5d7942=_0x323c;function _0x5dbc(){const _0x22074f=['9efbsjp','44nxcMwQ','File\x20uploaded\x20successfully','53hCTABm','Uploading','File','2443518LqenLk','Download\x20success','Unknown\x20mistake','Cancel','Save\x20As','Data\x20is\x20too\x20large','196653ujWwtU','393215tVvJUa','22104214qetpvh','3508528KuPGIi','Internal\x20unknown\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Upload\x20again','{0}\x20file(s)\x20uploaded\x20successfully','6uMnfcb','Open(File)','7367360RhEcEo','Downloading','1234RUsiJI'];_0x5dbc=function(){return _0x22074f;};return _0x5dbc();}(function(_0x31ab09,_0x167553){const _0x43167c=_0x323c,_0x41247b=_0x31ab09();while(!![]){try{const _0x1dad29=parseInt(_0x43167c(0x125))/0x1*(parseInt(_0x43167c(0x121))/0x2)+parseInt(_0x43167c(0x12e))/0x3*(-parseInt(_0x43167c(0x123))/0x4)+parseInt(_0x43167c(0x12f))/0x5*(-parseInt(_0x43167c(0x11d))/0x6)+parseInt(_0x43167c(0x128))/0x7+-parseInt(_0x43167c(0x131))/0x8*(parseInt(_0x43167c(0x122))/0x9)+-parseInt(_0x43167c(0x11f))/0xa+parseInt(_0x43167c(0x130))/0xb;if(_0x1dad29===_0x167553)break;else _0x41247b['push'](_0x41247b['shift']());}catch(_0x2ab1e9){_0x41247b['push'](_0x41247b['shift']());}}}(_0x5dbc,0x659f3));function _0x323c(_0x4bfffb,_0x5334da){const _0x5dbc29=_0x5dbc();return _0x323c=function(_0x323ccd,_0x2a8ca1){_0x323ccd=_0x323ccd-0x11a;let _0x4d919f=_0x5dbc29[_0x323ccd];return _0x4d919f;},_0x323c(_0x4bfffb,_0x5334da);}const e={'exchange':{'file':_0x5d7942(0x127),'upload':_0x5d7942(0x11e),'download':_0x5d7942(0x12c),'uploading':_0x5d7942(0x126),'uploadSuccess':_0x5d7942(0x124),'uploadSuccessTip':_0x5d7942(0x11c),'downloading':_0x5d7942(0x120),'downloadSuccess':_0x5d7942(0x129),'unknownMistake':_0x5d7942(0x12a),'networkError':'Network\x20error','tooLarge':_0x5d7942(0x12d),'internalError':_0x5d7942(0x132),'interrupt':_0x5d7942(0x11a),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':'Please\x20wait...','cancel':_0x5d7942(0x12b),'uploadAgain':_0x5d7942(0x11b)}},o=e;export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x54fd(_0x43a93d,_0x29e218){const _0x5cfa5f=_0x5cfa();return _0x54fd=function(_0x54fd57,_0x2bb9fd){_0x54fd57=_0x54fd57-0x19f;let _0x39ede2=_0x5cfa5f[_0x54fd57];return _0x39ede2;},_0x54fd(_0x43a93d,_0x29e218);}const _0x1d139f=_0x54fd;function _0x5cfa(){const _0x50e308=['984cWVetH','636uUqQkU','2343196dfWLyK','Downloading','124330fggMif','File\x20uploaded\x20successfully','6485UiwqSD','Internal\x20unknown\x20error','1906713PIVtVI','Cancel','3934wVwwWH','{0}\x20file(s)\x20uploaded\x20successfully','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','File','Please\x20wait...','Unknown\x20mistake','Upload\x20again','Data\x20is\x20too\x20large','2506408ruifQu','Network\x20error','600760ZeQYCw','7NUWBiH','Uploading','1089NDCrHX'];_0x5cfa=function(){return _0x50e308;};return _0x5cfa();}(function(_0x91598a,_0x187e55){const _0x1c8dfa=_0x54fd,_0x348ea8=_0x91598a();while(!![]){try{const _0x4f441f=-parseInt(_0x1c8dfa(0x1b6))/0x1+parseInt(_0x1c8dfa(0x1ac))/0x2*(parseInt(_0x1c8dfa(0x1a3))/0x3)+-parseInt(_0x1c8dfa(0x1a4))/0x4+-parseInt(_0x1c8dfa(0x1a8))/0x5*(parseInt(_0x1c8dfa(0x1a2))/0x6)+-parseInt(_0x1c8dfa(0x19f))/0x7*(-parseInt(_0x1c8dfa(0x1b4))/0x8)+-parseInt(_0x1c8dfa(0x1aa))/0x9+parseInt(_0x1c8dfa(0x1a6))/0xa*(parseInt(_0x1c8dfa(0x1a1))/0xb);if(_0x4f441f===_0x187e55)break;else _0x348ea8['push'](_0x348ea8['shift']());}catch(_0x5e6c46){_0x348ea8['push'](_0x348ea8['shift']());}}}(_0x5cfa,0x55760));const e={'exchange':{'file':_0x1d139f(0x1af),'upload':'Open(File)','download':'Save\x20As','uploading':_0x1d139f(0x1a0),'uploadSuccess':_0x1d139f(0x1a7),'uploadSuccessTip':_0x1d139f(0x1ad),'downloading':_0x1d139f(0x1a5),'downloadSuccess':'Download\x20success','unknownMistake':_0x1d139f(0x1b1),'networkError':_0x1d139f(0x1b5),'tooLarge':_0x1d139f(0x1b3),'internalError':_0x1d139f(0x1a9),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x1d139f(0x1ae),'wait':_0x1d139f(0x1b0),'cancel':_0x1d139f(0x1ab),'uploadAgain':_0x1d139f(0x1b2)}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x54f1(_0x48997c,_0x4ba1e2){const _0x8b8330=_0x8b83();return _0x54f1=function(_0x54f14b,_0x1e3c5f){_0x54f14b=_0x54f14b-0xb9;let _0x5a7888=_0x8b8330[_0x54f14b];return _0x5a7888;},_0x54f1(_0x48997c,_0x4ba1e2);}const _0x2a89f7=_0x54f1;(function(_0xc617d8,_0x2ea4ed){const _0x57ae47=_0x54f1,_0x5967a5=_0xc617d8();while(!![]){try{const _0x278c43=parseInt(_0x57ae47(0xc9))/0x1*(parseInt(_0x57ae47(0xc7))/0x2)+-parseInt(_0x57ae47(0xca))/0x3*(-parseInt(_0x57ae47(0xc2))/0x4)+-parseInt(_0x57ae47(0xbf))/0x5+-parseInt(_0x57ae47(0xba))/0x6*(-parseInt(_0x57ae47(0xbd))/0x7)+parseInt(_0x57ae47(0xcb))/0x8+parseInt(_0x57ae47(0xcc))/0x9+-parseInt(_0x57ae47(0xc6))/0xa;if(_0x278c43===_0x2ea4ed)break;else _0x5967a5['push'](_0x5967a5['shift']());}catch(_0x28522e){_0x5967a5['push'](_0x5967a5['shift']());}}}(_0x8b83,0x80fa9));function _0x8b83(){const _0x26e1b9=['{0}\x20file(s)\x20uploaded\x20successfully','21KPfcAL','Please\x20wait...','124780ozrWBW','Internal\x20unknown\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','581596QTuJNw','Save\x20As','Downloading','File\x20uploaded\x20successfully','20681080pGNzBU','6476xeBzOu','Data\x20is\x20too\x20large','224lZrtzZ','3kDAKCH','1441864RAEWrJ','5874642rEPQSp','Upload\x20again','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Uploading','File','1835358zaKdOm','Download\x20success'];_0x8b83=function(){return _0x26e1b9;};return _0x8b83();}const e={'exchange':{'file':_0x2a89f7(0xb9),'upload':'Open(File)','download':_0x2a89f7(0xc3),'uploading':_0x2a89f7(0xcf),'uploadSuccess':_0x2a89f7(0xc5),'uploadSuccessTip':_0x2a89f7(0xbc),'downloading':_0x2a89f7(0xc4),'downloadSuccess':_0x2a89f7(0xbb),'unknownMistake':'Unknown\x20mistake','networkError':'Network\x20error','tooLarge':_0x2a89f7(0xc8),'internalError':_0x2a89f7(0xc0),'interrupt':_0x2a89f7(0xc1),'fileTypeError':_0x2a89f7(0xce),'wait':_0x2a89f7(0xbe),'cancel':'Cancel','uploadAgain':_0x2a89f7(0xcd)}},o=e;export{o as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x440d(_0x3301f4,_0x314720){const _0x8d2eb1=_0x8d2e();return _0x440d=function(_0x440d50,_0x32453d){_0x440d50=_0x440d50-0xb9;let _0x317c29=_0x8d2eb1[_0x440d50];return _0x317c29;},_0x440d(_0x3301f4,_0x314720);}const _0x416f88=_0x440d;(function(_0x105b8c,_0x262ccd){const _0xc9872e=_0x440d,_0x3611aa=_0x105b8c();while(!![]){try{const _0x1df93a=parseInt(_0xc9872e(0xc2))/0x1*(-parseInt(_0xc9872e(0xd1))/0x2)+-parseInt(_0xc9872e(0xc3))/0x3+-parseInt(_0xc9872e(0xba))/0x4+parseInt(_0xc9872e(0xbf))/0x5+parseInt(_0xc9872e(0xb9))/0x6+-parseInt(_0xc9872e(0xc8))/0x7*(parseInt(_0xc9872e(0xc5))/0x8)+-parseInt(_0xc9872e(0xcf))/0x9*(-parseInt(_0xc9872e(0xbd))/0xa);if(_0x1df93a===_0x262ccd)break;else _0x3611aa['push'](_0x3611aa['shift']());}catch(_0x3a070e){_0x3611aa['push'](_0x3611aa['shift']());}}}(_0x8d2e,0xc4b4b));function _0x8d2e(){const _0x24cee9=['فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','532747syLXZs','3591255oKohmQ','خطای\x20داخلی\x20ناشناخته','16kUPGXK','در\x20حال\x20بارگذاری','بارگذاری\x20مجدد','4014598wOYbFG','خطای\x20ناشناخته','لغو','ذخیره\x20به\x20عنوان','لطفا\x20صبر\x20کنید...','فایل','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','1221534qduDHi','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','2rEpptW','9595854JIAHBe','304196WypxiN','خطای\x20شبکه','در\x20حال\x20دانلود','50SttcsE','داده\x20خیلی\x20بزرگ\x20است','7403385wmsuof','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد'];_0x8d2e=function(){return _0x24cee9;};return _0x8d2e();}const o={'exchange':{'file':_0x416f88(0xcd),'upload':'بازکردن(فایل)','download':_0x416f88(0xcb),'uploading':_0x416f88(0xc6),'uploadSuccess':_0x416f88(0xce),'uploadSuccessTip':_0x416f88(0xc0),'downloading':_0x416f88(0xbc),'downloadSuccess':'دانلود\x20موفقیت\x20آمیز','unknownMistake':_0x416f88(0xc9),'networkError':_0x416f88(0xbb),'tooLarge':_0x416f88(0xbe),'internalError':_0x416f88(0xc4),'interrupt':_0x416f88(0xd0),'fileTypeError':_0x416f88(0xc1),'wait':_0x416f88(0xcc),'cancel':_0x416f88(0xca),'uploadAgain':_0x416f88(0xc7)}};export{o as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x447298=_0x5a6b;(function(_0x437540,_0x546480){const _0x27004e=_0x5a6b,_0x4bd769=_0x437540();while(!![]){try{const _0x5acddd=-parseInt(_0x27004e(0xf5))/0x1*(parseInt(_0x27004e(0xf2))/0x2)+-parseInt(_0x27004e(0xf3))/0x3*(parseInt(_0x27004e(0xee))/0x4)+-parseInt(_0x27004e(0xf7))/0x5*(-parseInt(_0x27004e(0xf9))/0x6)+parseInt(_0x27004e(0xff))/0x7*(-parseInt(_0x27004e(0xf1))/0x8)+parseInt(_0x27004e(0xf6))/0x9+-parseInt(_0x27004e(0xe8))/0xa+-parseInt(_0x27004e(0xe7))/0xb*(-parseInt(_0x27004e(0xea))/0xc);if(_0x5acddd===_0x546480)break;else _0x4bd769['push'](_0x4bd769['shift']());}catch(_0x2f6fe6){_0x4bd769['push'](_0x4bd769['shift']());}}}(_0x2def,0x85988));function _0x2def(){const _0x270fed=['18zRkqMI','Téléchargement','Téléchargement\x20en\x20cours','Fichier','Erreur\x20interne\x20inconnue','Enregistrer\x20sous','168hxHorb','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Annuler','Fichier\x20téléchargé\x20avec\x20succès','2980373QBpFlR','10193260jQYBFQ','Ouvrir\x20(Fichier)','24msjUQW','Les\x20données\x20sont\x20trop\x20volumineuses','Erreur\x20réseau','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','4FSDQcT','Téléchargement\x20réussi','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','51768mnLTVG','72578ulJLIw','67182aQrIwY','Erreur\x20inconnue','3IVWYTA','5016627xqMBaz','1256350CvvfMf','Télécharger\x20à\x20nouveau'];_0x2def=function(){return _0x270fed;};return _0x2def();}const e={'exchange':{'file':_0x447298(0xfc),'upload':_0x447298(0xe9),'download':_0x447298(0xfe),'uploading':_0x447298(0xfb),'uploadSuccess':_0x447298(0x102),'uploadSuccessTip':_0x447298(0x100),'downloading':_0x447298(0xfa),'downloadSuccess':_0x447298(0xef),'unknownMistake':_0x447298(0xf4),'networkError':_0x447298(0xec),'tooLarge':_0x447298(0xeb),'internalError':_0x447298(0xfd),'interrupt':_0x447298(0xed),'fileTypeError':_0x447298(0xf0),'wait':'Veuillez\x20patienter...','cancel':_0x447298(0x101),'uploadAgain':_0x447298(0xf8)}};function _0x5a6b(_0xf314e5,_0x4839af){const _0x2def21=_0x2def();return _0x5a6b=function(_0x5a6bd7,_0x37ae57){_0x5a6bd7=_0x5a6bd7-0xe7;let _0x4564da=_0x2def21[_0x5a6bd7];return _0x4564da;},_0x5a6b(_0xf314e5,_0x4839af);}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x49bb55=_0x3757;function _0x3757(_0x14a7ef,_0x42b179){const _0x50fcda=_0x50fc();return _0x3757=function(_0x37572a,_0x57d13e){_0x37572a=_0x37572a-0x85;let _0x43f2f9=_0x50fcda[_0x37572a];return _0x43f2f9;},_0x3757(_0x14a7ef,_0x42b179);}function _0x50fc(){const _0x291706=['2664504AJEqAD','2120dFVcoE','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','1jkwlcQ','62513kCdagY','Open(File)','Internal\x20unknown\x20error','Upload\x20again','6482142LUSRoS','File\x20uploaded\x20successfully','14wZzvzG','Unknown\x20mistake','Downloading','2879278QYINOr','Please\x20wait...','6CTfKME','Network\x20error','710448RbzXZR','3630485cYoBzP','File','{0}\x20file(s)\x20uploaded\x20successfully','4868696eDGEdr','Uploading'];_0x50fc=function(){return _0x291706;};return _0x50fc();}(function(_0x2a17a7,_0x376fb){const _0x35c4ac=_0x3757,_0x53d223=_0x2a17a7();while(!![]){try{const _0x2abfc7=parseInt(_0x35c4ac(0x91))/0x1*(-parseInt(_0x35c4ac(0x9b))/0x2)+parseInt(_0x35c4ac(0x8e))/0x3+-parseInt(_0x35c4ac(0x88))/0x4+-parseInt(_0x35c4ac(0x89))/0x5*(-parseInt(_0x35c4ac(0x86))/0x6)+-parseInt(_0x35c4ac(0x98))/0x7*(-parseInt(_0x35c4ac(0x8c))/0x8)+parseInt(_0x35c4ac(0x96))/0x9+-parseInt(_0x35c4ac(0x8f))/0xa*(parseInt(_0x35c4ac(0x92))/0xb);if(_0x2abfc7===_0x376fb)break;else _0x53d223['push'](_0x53d223['shift']());}catch(_0x5892f7){_0x53d223['push'](_0x53d223['shift']());}}}(_0x50fc,0xb221e));const e={'exchange':{'file':_0x49bb55(0x8a),'upload':_0x49bb55(0x93),'download':'Save\x20As','uploading':_0x49bb55(0x8d),'uploadSuccess':_0x49bb55(0x97),'uploadSuccessTip':_0x49bb55(0x8b),'downloading':_0x49bb55(0x9a),'downloadSuccess':'Download\x20success','unknownMistake':_0x49bb55(0x99),'networkError':_0x49bb55(0x87),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x49bb55(0x94),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x49bb55(0x90),'wait':_0x49bb55(0x85),'cancel':'Cancel','uploadAgain':_0x49bb55(0x95)}},o=e;export{o as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xd8b345=_0x57e6;function _0x57e6(_0x309f68,_0x19c4b8){const _0x418f12=_0x418f();return _0x57e6=function(_0x57e640,_0x24d24c){_0x57e640=_0x57e640-0xde;let _0x1c6d43=_0x418f12[_0x57e640];return _0x1c6d43;},_0x57e6(_0x309f68,_0x19c4b8);}(function(_0x33e1af,_0x197fee){const _0x2b0705=_0x57e6,_0x1dec5e=_0x33e1af();while(!![]){try{const _0x194e7b=parseInt(_0x2b0705(0xea))/0x1+-parseInt(_0x2b0705(0xf2))/0x2*(parseInt(_0x2b0705(0xde))/0x3)+-parseInt(_0x2b0705(0xf4))/0x4+-parseInt(_0x2b0705(0xe4))/0x5*(-parseInt(_0x2b0705(0xf6))/0x6)+parseInt(_0x2b0705(0xf0))/0x7+-parseInt(_0x2b0705(0xe8))/0x8*(-parseInt(_0x2b0705(0xf3))/0x9)+-parseInt(_0x2b0705(0xee))/0xa*(-parseInt(_0x2b0705(0xe9))/0xb);if(_0x194e7b===_0x197fee)break;else _0x1dec5e['push'](_0x1dec5e['shift']());}catch(_0x1e4958){_0x1dec5e['push'](_0x1dec5e['shift']());}}}(_0x418f,0x4a2a5));function _0x418f(){const _0x188c84=['9ipNjgL','2197892mgHgBl','Отмена','270HqhFTn','327XvMLly','Скачивание\x20успешно','Скачивание','Сохранить\x20как','Данные\x20слишком\x20большие','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','36470xcRWDC','Загрузить\x20снова','Сетевая\x20ошибка','Файл','524056PZprBS','6303vTDBEa','191773VGcicc','Неизвестная\x20ошибка','Внутренняя\x20неизвестная\x20ошибка','Открыть(Файл)','6710uHWqVO','Загрузка','516551SBlMSt','Файл\x20успешно\x20загружен','3496LylHtR'];_0x418f=function(){return _0x188c84;};return _0x418f();}const o={'exchange':{'file':_0xd8b345(0xe7),'upload':_0xd8b345(0xed),'download':_0xd8b345(0xe1),'uploading':_0xd8b345(0xef),'uploadSuccess':_0xd8b345(0xf1),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0xd8b345(0xe0),'downloadSuccess':_0xd8b345(0xdf),'unknownMistake':_0xd8b345(0xeb),'networkError':_0xd8b345(0xe6),'tooLarge':_0xd8b345(0xe2),'internalError':_0xd8b345(0xec),'interrupt':_0xd8b345(0xe3),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':'Пожалуйста,\x20подождите...','cancel':_0xd8b345(0xf5),'uploadAgain':_0xd8b345(0xe5)}};export{o as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x381a(){const _0x103c41=['Luồng\x20dữ\x20liệu\x20quá\x20lớn','480DIGVzg','9jgHVyR','Tải\x20xuống\x20thành\x20công','80061tQPmrs','Lỗi\x20không\x20xác\x20định','9075654SvleQb','2932788jlhdDH','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Vui\x20lòng\x20đợi...','Đang\x20tải\x20lên','Tải\x20lên\x20lại','7663504uyIQkM','Tải\x20lên\x20tệp\x20thành\x20công','Lỗi\x20mạng','46235Mnqbpg','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Tệp','26ohcAea','354514bbbOQR','Đang\x20tải\x20xuống','Lưu\x20dưới\x20dạng','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','5702620HVhgex'];_0x381a=function(){return _0x103c41;};return _0x381a();}function _0x2f15(_0x114a09,_0x25dc73){const _0x381a9f=_0x381a();return _0x2f15=function(_0x2f1563,_0x4b1964){_0x2f1563=_0x2f1563-0x16a;let _0x268a9b=_0x381a9f[_0x2f1563];return _0x268a9b;},_0x2f15(_0x114a09,_0x25dc73);}const _0x1e3d57=_0x2f15;(function(_0x19a399,_0x4ae217){const _0x57a47f=_0x2f15,_0x35aef4=_0x19a399();while(!![]){try{const _0xe9091e=parseInt(_0x57a47f(0x179))/0x1+-parseInt(_0x57a47f(0x178))/0x2*(-parseInt(_0x57a47f(0x16a))/0x3)+parseInt(_0x57a47f(0x17f))/0x4*(-parseInt(_0x57a47f(0x175))/0x5)+parseInt(_0x57a47f(0x16d))/0x6+parseInt(_0x57a47f(0x16c))/0x7+parseInt(_0x57a47f(0x172))/0x8*(-parseInt(_0x57a47f(0x180))/0x9)+parseInt(_0x57a47f(0x17d))/0xa;if(_0xe9091e===_0x4ae217)break;else _0x35aef4['push'](_0x35aef4['shift']());}catch(_0x2eef37){_0x35aef4['push'](_0x35aef4['shift']());}}}(_0x381a,0xf1909));const n={'exchange':{'file':_0x1e3d57(0x177),'upload':'Mở\x20(Tệp)','download':_0x1e3d57(0x17b),'uploading':_0x1e3d57(0x170),'uploadSuccess':_0x1e3d57(0x173),'uploadSuccessTip':_0x1e3d57(0x176),'downloading':_0x1e3d57(0x17a),'downloadSuccess':_0x1e3d57(0x181),'unknownMistake':_0x1e3d57(0x16b),'networkError':_0x1e3d57(0x174),'tooLarge':_0x1e3d57(0x17e),'internalError':_0x1e3d57(0x17c),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x1e3d57(0x16e),'wait':_0x1e3d57(0x16f),'cancel':'Hủy\x20bỏ','uploadAgain':_0x1e3d57(0x171)}};export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x55289e=_0x5d2d;function _0x5d2d(_0x273221,_0x170dc1){const _0x5db4ce=_0x5db4();return _0x5d2d=function(_0x5d2dd,_0x4dade3){_0x5d2dd=_0x5d2dd-0x1d7;let _0x141de2=_0x5db4ce[_0x5d2dd];return _0x141de2;},_0x5d2d(_0x273221,_0x170dc1);}(function(_0x1130e0,_0x1f8240){const _0x951a2d=_0x5d2d,_0x509660=_0x1130e0();while(!![]){try{const _0x196d24=parseInt(_0x951a2d(0x1e5))/0x1*(parseInt(_0x951a2d(0x1e9))/0x2)+-parseInt(_0x951a2d(0x1ed))/0x3*(parseInt(_0x951a2d(0x1de))/0x4)+-parseInt(_0x951a2d(0x1e2))/0x5*(parseInt(_0x951a2d(0x1e7))/0x6)+parseInt(_0x951a2d(0x1eb))/0x7+-parseInt(_0x951a2d(0x1dd))/0x8*(-parseInt(_0x951a2d(0x1ea))/0x9)+parseInt(_0x951a2d(0x1d8))/0xa*(-parseInt(_0x951a2d(0x1e4))/0xb)+parseInt(_0x951a2d(0x1da))/0xc;if(_0x196d24===_0x1f8240)break;else _0x509660['push'](_0x509660['shift']());}catch(_0x4177c2){_0x509660['push'](_0x509660['shift']());}}}(_0x5db4,0x1e5cb));const o={'exchange':{'file':'文件','upload':_0x55289e(0x1e6),'download':_0x55289e(0x1dc),'uploading':_0x55289e(0x1ec),'uploadSuccess':_0x55289e(0x1e0),'uploadSuccessTip':'{0}个文件上传成功','downloading':_0x55289e(0x1df),'downloadSuccess':_0x55289e(0x1e3),'unknownMistake':'未知错误','networkError':'网络异常','tooLarge':_0x55289e(0x1db),'internalError':_0x55289e(0x1e1),'interrupt':_0x55289e(0x1e8),'fileTypeError':_0x55289e(0x1d9),'wait':_0x55289e(0x1d7),'cancel':'取消','uploadAgain':'再次上传'}};function _0x5db4(){const _0x552075=['32ZICIsd','15210bSxOWo','713874RNjZuj','上传中','645MQbzER','请稍等...','900eWhTVl','所选文件\x20[{0}]\x20不支持上传','1080192HxOVmf','数据流过大','另存为','408QOyqVO','2104SJDjQJ','下载中','文件上传成功','内部未知错误','5TJdfPM','下载成功','4554tMuQcz','9346JjUGQM','打开(文件)','918066FoaTFf','网络连接中断,文件上传失败'];_0x5db4=function(){return _0x552075;};return _0x5db4();}export{o as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xff8c44=_0x2e13;function _0x4e7b(){const _0xe4b845=['請稍等...','上傳中','5537622ZxFpfo','網路連線中斷,檔案上傳失敗','下載中','413Qflxwi','5464710UOcyUX','61506ZGfnAV','{0}個檔案上傳成功','未知錯誤','再次上傳','10kjlzOc','5055066xnWulS','內部未知錯誤','99NnFZjK','網路異常','2175148tugQaY','254612pwXLnb','110816jqTmkF','另存為'];_0x4e7b=function(){return _0xe4b845;};return _0x4e7b();}(function(_0x4f385a,_0x5b73a6){const _0x7308f0=_0x2e13,_0x1be5e6=_0x4f385a();while(!![]){try{const _0x54b49e=-parseInt(_0x7308f0(0x1f5))/0x1+-parseInt(_0x7308f0(0x1ff))/0x2*(-parseInt(_0x7308f0(0x1f2))/0x3)+parseInt(_0x7308f0(0x1f4))/0x4*(parseInt(_0x7308f0(0x203))/0x5)+parseInt(_0x7308f0(0x1fa))/0x6+-parseInt(_0x7308f0(0x1fd))/0x7*(parseInt(_0x7308f0(0x1f6))/0x8)+-parseInt(_0x7308f0(0x204))/0x9+-parseInt(_0x7308f0(0x1fe))/0xa;if(_0x54b49e===_0x5b73a6)break;else _0x1be5e6['push'](_0x1be5e6['shift']());}catch(_0x33bb3b){_0x1be5e6['push'](_0x1be5e6['shift']());}}}(_0x4e7b,0xce617));function _0x2e13(_0x2777e3,_0x51459b){const _0x4e7b7c=_0x4e7b();return _0x2e13=function(_0x2e13dd,_0x2a4e98){_0x2e13dd=_0x2e13dd-0x1f2;let _0x3db63a=_0x4e7b7c[_0x2e13dd];return _0x3db63a;},_0x2e13(_0x2777e3,_0x51459b);}const o={'exchange':{'file':'檔案','upload':'開啟(檔案)','download':_0xff8c44(0x1f7),'uploading':_0xff8c44(0x1f9),'uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0xff8c44(0x200),'downloading':_0xff8c44(0x1fc),'downloadSuccess':'下載成功','unknownMistake':_0xff8c44(0x201),'networkError':_0xff8c44(0x1f3),'tooLarge':'資料流過大','internalError':_0xff8c44(0x205),'interrupt':_0xff8c44(0x1fb),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0xff8c44(0x1f8),'cancel':'取消','uploadAgain':_0xff8c44(0x202)}};export{o as default};
|
|
@@ -13,6 +13,13 @@ export interface IUniverExchangeClientOptions {
|
|
|
13
13
|
* Export whether to enable server-side formula computing.
|
|
14
14
|
*/
|
|
15
15
|
enableServerSideComputing?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable converting cell images to link on export.
|
|
18
|
+
* If the cell image source is a URL, the default behavior is to convert the url to the cell value on export.
|
|
19
|
+
* Because the server will download all the resource files, when there are many images, it will consume a lot of resources and take a long time.
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
disableCellImageConversion?: boolean;
|
|
16
23
|
}
|
|
17
24
|
export interface IUniverExchangeClientConfig {
|
|
18
25
|
/**
|
|
@@ -28,13 +28,15 @@ export interface IImportResponse {
|
|
|
28
28
|
error: IError;
|
|
29
29
|
}
|
|
30
30
|
export interface IExportRequest {
|
|
31
|
-
/**
|
|
31
|
+
/** If unitID is specified, the input is the unit in the database */
|
|
32
32
|
unitID: string;
|
|
33
|
-
/**
|
|
33
|
+
/** If jsonID is specified, the input is the json file which represents a univer unit */
|
|
34
34
|
jsonID: string;
|
|
35
35
|
type: UniverType;
|
|
36
36
|
/** If sscSwitch is set to true, server-side formula calculation will be triggered */
|
|
37
37
|
sscSwitch?: boolean;
|
|
38
|
+
/** If useImageUrl is set to true, cell images will not be converted to links on export */
|
|
39
|
+
useImageUrl?: boolean;
|
|
38
40
|
}
|
|
39
41
|
export interface IExportResponse {
|
|
40
42
|
error: IError | undefined;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x305f(_0x57bc8e,_0x2123cf){const _0x303cff=_0x303c();return _0x305f=function(_0x305f6a,_0x405d53){_0x305f6a=_0x305f6a-0x18b;let _0x19d575=_0x303cff[_0x305f6a];return _0x19d575;},_0x305f(_0x57bc8e,_0x2123cf);}(function(_0x4fa1b2,_0x1457be){const _0x5924c7=_0x305f,_0x2a35ad=_0x4fa1b2();while(!![]){try{const _0x1b3c5e=parseInt(_0x5924c7(0x19d))/0x1*(-parseInt(_0x5924c7(0x18e))/0x2)+-parseInt(_0x5924c7(0x1a9))/0x3+parseInt(_0x5924c7(0x1b0))/0x4*(parseInt(_0x5924c7(0x196))/0x5)+parseInt(_0x5924c7(0x1aa))/0x6+parseInt(_0x5924c7(0x190))/0x7+parseInt(_0x5924c7(0x18b))/0x8*(-parseInt(_0x5924c7(0x1a0))/0x9)+parseInt(_0x5924c7(0x1b4))/0xa;if(_0x1b3c5e===_0x1457be)break;else _0x2a35ad['push'](_0x2a35ad['shift']());}catch(_0x4acb72){_0x2a35ad['push'](_0x2a35ad['shift']());}}}(_0x303c,0x8ecf2),function(_0x223b9b,_0x2ec4fe){const _0xa64cd7=_0x305f;typeof exports==_0xa64cd7(0x1a7)&&typeof module<'u'?_0x2ec4fe(require('@univerjs-pro/exchange-client'),require('@univerjs/core/facade')):typeof define==_0xa64cd7(0x18f)&&define['amd']?define([_0xa64cd7(0x19f),_0xa64cd7(0x1ac)],_0x2ec4fe):(_0x223b9b=typeof globalThis<'u'?globalThis:_0x223b9b||self,_0x2ec4fe(_0x223b9b[_0xa64cd7(0x18d)],_0x223b9b[_0xa64cd7(0x1b2)]));}(this,function(_0x3aa3fb,_0x4f7bcf){'use strict';const _0x24559b=_0x305f;var _0x5bde7e=(_0x404f65=>(_0x404f65[_0x404f65[_0x24559b(0x1a6)]=0x0]=_0x24559b(0x1a6),_0x404f65[_0x404f65[_0x24559b(0x191)]=0x1]='UNIVER_DOC',_0x404f65[_0x404f65['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x404f65[_0x404f65[_0x24559b(0x195)]=0x3]=_0x24559b(0x195),_0x404f65[_0x404f65[_0x24559b(0x1ab)]=0x4]=_0x24559b(0x1ab),_0x404f65[_0x404f65['UNRECOGNIZED']=-0x1]=_0x24559b(0x1b3),_0x404f65))(_0x5bde7e||{});class _0x554d1b extends _0x4f7bcf[_0x24559b(0x199)]{async[_0x24559b(0x1a4)](_0x377945){const _0x2940c5=_0x24559b;return this[_0x2940c5(0x192)](_0x377945);}async[_0x24559b(0x192)](_0x1f4a3a){const _0x2f3b64=_0x24559b,_0x4fd96b=this['_injector'][_0x2f3b64(0x1a8)](_0x3aa3fb[_0x2f3b64(0x1a1)]);if(!_0x4fd96b)throw new Error(_0x2f3b64(0x19a));return _0x4fd96b[_0x2f3b64(0x19b)](_0x1f4a3a,_0x5bde7e['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x297e97){const _0x457fc2=_0x24559b;return this[_0x457fc2(0x1a5)](_0x297e97);}async['importXLSXToSnapshotAsync'](_0xf71c39){const _0x3bb041=_0x24559b,_0x5f3e79=this[_0x3bb041(0x1ad)]['get'](_0x3aa3fb['IExchangeService']);if(!_0x5f3e79)throw new Error(_0x3bb041(0x19a));return _0x5f3e79[_0x3bb041(0x193)](_0xf71c39);}async[_0x24559b(0x18c)](_0x508fca){return this['exportXLSXByUnitIdAsync'](_0x508fca);}async[_0x24559b(0x19c)](_0xc9ba02){const _0x598b6f=_0x24559b,_0x2b4d98=this['_injector']['get'](_0x3aa3fb['IExchangeService']);if(!_0x2b4d98)throw new Error(_0x598b6f(0x19a));return _0x2b4d98[_0x598b6f(0x18c)](_0xc9ba02);}async[_0x24559b(0x1a3)](_0x22d36b){const _0x5b6e4=_0x24559b;return this[_0x5b6e4(0x1a2)](_0x22d36b);}async[_0x24559b(0x1a2)](_0x1bc539){const _0x2a8522=_0x24559b,_0x43c9ba=this[_0x2a8522(0x1ad)]['get'](_0x3aa3fb[_0x2a8522(0x1a1)]);if(!_0x43c9ba)throw new Error(_0x2a8522(0x19a));return _0x43c9ba[_0x2a8522(0x1a3)](_0x1bc539);}async[_0x24559b(0x194)](_0x5227a6){const _0x481a56=_0x24559b;return this[_0x481a56(0x197)](_0x5227a6);}async[_0x24559b(0x197)](_0x3ad9ef){const _0x4289cf=_0x24559b,_0x3f2ae3=this['_injector'][_0x4289cf(0x1a8)](_0x3aa3fb[_0x4289cf(0x1a1)]);if(!_0x3f2ae3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f2ae3['importFileToUnitId'](_0x3ad9ef,_0x5bde7e[_0x4289cf(0x191)]);}async['importDOCXToSnapshot'](_0x58895a){const _0x465c2e=_0x24559b;return this[_0x465c2e(0x198)](_0x58895a);}async[_0x24559b(0x198)](_0x542897){const _0xeeff85=_0x24559b,_0x56a55c=this[_0xeeff85(0x1ad)][_0xeeff85(0x1a8)](_0x3aa3fb[_0xeeff85(0x1a1)]);if(!_0x56a55c)throw new Error(_0xeeff85(0x19a));return _0x56a55c[_0xeeff85(0x1b1)](_0x542897);}async['exportDOCXBySnapshotAsync'](_0x1f21d7){const _0x27b888=_0x24559b,_0x5928c7=this[_0x27b888(0x1ad)][_0x27b888(0x1a8)](_0x3aa3fb[_0x27b888(0x1a1)]);if(!_0x5928c7)throw new Error(_0x27b888(0x19a));return _0x5928c7[_0x27b888(0x1af)](_0x1f21d7);}async['exportDOCXByUnitIdAsync'](_0x4df30c){const _0x1543ff=_0x24559b,_0x2af098=this[_0x1543ff(0x1ad)][_0x1543ff(0x1a8)](_0x3aa3fb[_0x1543ff(0x1a1)]);if(!_0x2af098)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2af098[_0x1543ff(0x19e)](_0x4df30c);}}_0x4f7bcf[_0x24559b(0x199)][_0x24559b(0x1ae)](_0x554d1b);}));function _0x303c(){const _0x480520=['_injector','extend','exportDOCXBySnapshot','34476YWvwSd','importDOCXToSnapshot','UniverCoreFacade','UNRECOGNIZED','4897500nyRUjE','34768IaSMdc','exportXLSXByUnitId','UniverProExchangeClient','104DSDQzG','function','7225932iMzgLj','UNIVER_DOC','importXLSXToUnitIdAsync','importXLSXToSnapshot','importDOCXToUnitId','UNIVER_SLIDE','275bXryhj','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','exportXLSXByUnitIdAsync','947dJSQDF','exportDOCXByUnitId','@univerjs-pro/exchange-client','2394pMeVzG','IExchangeService','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','importXLSXToUnitId','importXLSXToSnapshotAsync','UNIVER_UNKNOWN','object','get','1972200xULouQ','2709330aLwEqO','UNIVER_PROJECT','@univerjs/core/facade'];_0x303c=function(){return _0x480520;};return _0x303c();}
|