@univerjs-pro/exchange-client 0.6.10-nightly.202504161609 → 0.6.10-nightly.202504181606

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.
Files changed (41) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +2 -2
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +2 -2
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.js +2 -2
  21. package/lib/locale/en-US.js +1 -1
  22. package/lib/locale/fa-IR.js +1 -1
  23. package/lib/locale/fr-FR.js +1 -1
  24. package/lib/locale/ru-RU.js +1 -1
  25. package/lib/locale/vi-VN.js +1 -1
  26. package/lib/locale/zh-CN.js +1 -1
  27. package/lib/locale/zh-TW.js +1 -1
  28. package/lib/types/controllers/config.schema.d.ts +5 -0
  29. package/lib/types/index.d.ts +1 -1
  30. package/lib/types/services/exchange.service.d.ts +3 -1
  31. package/lib/types/services/request.service.d.ts +4 -0
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +2 -2
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ru-RU.js +1 -1
  38. package/lib/umd/locale/vi-VN.js +1 -1
  39. package/lib/umd/locale/zh-CN.js +1 -1
  40. package/lib/umd/locale/zh-TW.js +1 -1
  41. package/package.json +8 -8
@@ -1 +1 @@
1
- const _0x124609=_0x4188;function _0x557c(){const _0x221c70=['7924873fAVTXl','Cancel','File\x20uploaded\x20successfully','12TouhVo','745755vjCXPp','23144KXFQVN','590NNQVtr','Unknown\x20mistake','File','161BoffvQ','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','2768154NiowYQ','Network\x20error','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','{0}\x20file(s)\x20uploaded\x20successfully','379000qPKzFo','6ucHuPV','1753803kbJBJc','10hnuIlt','2854tqDANq','Open(File)'];_0x557c=function(){return _0x221c70;};return _0x557c();}function _0x4188(_0xfbb5cb,_0x27eb8f){const _0x557c8b=_0x557c();return _0x4188=function(_0x4188fd,_0x29c799){_0x4188fd=_0x4188fd-0x12a;let _0x51c115=_0x557c8b[_0x4188fd];return _0x51c115;},_0x4188(_0xfbb5cb,_0x27eb8f);}(function(_0x37109b,_0x3cfc31){const _0x2e2e7e=_0x4188,_0xea7558=_0x37109b();while(!![]){try{const _0x2f18c0=parseInt(_0x2e2e7e(0x13d))/0x1+-parseInt(_0x2e2e7e(0x13a))/0x2*(parseInt(_0x2e2e7e(0x12e))/0x3)+parseInt(_0x2e2e7e(0x12f))/0x4*(parseInt(_0x2e2e7e(0x130))/0x5)+parseInt(_0x2e2e7e(0x135))/0x6+-parseInt(_0x2e2e7e(0x133))/0x7*(-parseInt(_0x2e2e7e(0x139))/0x8)+-parseInt(_0x2e2e7e(0x13b))/0x9*(parseInt(_0x2e2e7e(0x13c))/0xa)+-parseInt(_0x2e2e7e(0x12a))/0xb*(parseInt(_0x2e2e7e(0x12d))/0xc);if(_0x2f18c0===_0x3cfc31)break;else _0xea7558['push'](_0xea7558['shift']());}catch(_0x5d1735){_0xea7558['push'](_0xea7558['shift']());}}}(_0x557c,0x8c821));const e={'exchange':{'file':_0x124609(0x132),'upload':_0x124609(0x13e),'download':'Save\x20As','uploading':'Uploading','uploadSuccess':_0x124609(0x12c),'uploadSuccessTip':_0x124609(0x138),'downloading':'Downloading','downloadSuccess':'Download\x20success','unknownMistake':_0x124609(0x131),'networkError':_0x124609(0x136),'tooLarge':'Data\x20is\x20too\x20large','internalError':'Internal\x20unknown\x20error','interrupt':_0x124609(0x134),'fileTypeError':_0x124609(0x137),'wait':'Please\x20wait...','cancel':_0x124609(0x12b),'uploadAgain':'Upload\x20again'}};export{e as default};
1
+ function _0x29bb(_0x55ad3e,_0x5c669c){const _0x285973=_0x2859();return _0x29bb=function(_0x29bbf3,_0x4eebfc){_0x29bbf3=_0x29bbf3-0xde;let _0x34bb5f=_0x285973[_0x29bbf3];return _0x34bb5f;},_0x29bb(_0x55ad3e,_0x5c669c);}const _0x50a327=_0x29bb;(function(_0x1f7408,_0x334dae){const _0x593424=_0x29bb,_0xd29468=_0x1f7408();while(!![]){try{const _0x3097d8=parseInt(_0x593424(0xeb))/0x1+parseInt(_0x593424(0xef))/0x2*(parseInt(_0x593424(0xf0))/0x3)+parseInt(_0x593424(0xe2))/0x4+parseInt(_0x593424(0xe9))/0x5+-parseInt(_0x593424(0xe4))/0x6+parseInt(_0x593424(0xe6))/0x7+-parseInt(_0x593424(0xec))/0x8;if(_0x3097d8===_0x334dae)break;else _0xd29468['push'](_0xd29468['shift']());}catch(_0x7c988){_0xd29468['push'](_0xd29468['shift']());}}}(_0x2859,0x21497));const e={'exchange':{'file':_0x50a327(0xee),'upload':'Open(File)','download':_0x50a327(0xe7),'uploading':'Uploading','uploadSuccess':_0x50a327(0xf1),'uploadSuccessTip':_0x50a327(0xe5),'downloading':'Downloading','downloadSuccess':_0x50a327(0xe1),'unknownMistake':_0x50a327(0xde),'networkError':_0x50a327(0xe0),'tooLarge':'Data\x20is\x20too\x20large','internalError':'Internal\x20unknown\x20error','interrupt':_0x50a327(0xe3),'fileTypeError':_0x50a327(0xed),'wait':_0x50a327(0xdf),'cancel':_0x50a327(0xea),'uploadAgain':_0x50a327(0xe8)}};export{e as default};function _0x2859(){const _0x2ca9bf=['64359tWBqCL','File\x20uploaded\x20successfully','Unknown\x20mistake','Please\x20wait...','Network\x20error','Download\x20success','323536noxmmj','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','211392LGTltf','{0}\x20file(s)\x20uploaded\x20successfully','816347uRDEPF','Save\x20As','Upload\x20again','479880tZLjXY','Cancel','125664WfQiut','3010304ouaIqq','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','File','12UDBmgi'];_0x2859=function(){return _0x2ca9bf;};return _0x2859();}
@@ -1 +1 @@
1
- function _0x2306(){const _0x43e2b2=['فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمی‌شود','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','خطای\x20شبکه','در\x20حال\x20بارگذاری','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','5556616GXSvuy','385680swtgDX','2jkdRbd','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','80TBKFPD','56350Zjnsry','بارگذاری\x20مجدد','14620xzMwXN','بازکردن(فایل)','28359iaxZoX','خطای\x20ناشناخته','5817570yQdXkO','ذخیره\x20به\x20عنوان','خطای\x20داخلی\x20ناشناخته','دانلود\x20موفقیت\x20آمیز','فایل','8119390ylwyNm','1314509bElEDM','در\x20حال\x20دانلود','داده\x20خیلی\x20بزرگ\x20است'];_0x2306=function(){return _0x43e2b2;};return _0x2306();}const _0x54fec1=_0xb234;(function(_0x41685b,_0x825a){const _0x5610e7=_0xb234,_0x2d2abf=_0x41685b();while(!![]){try{const _0x3a6a2c=parseInt(_0x5610e7(0x9f))/0x1+parseInt(_0x5610e7(0x90))/0x2*(parseInt(_0x5610e7(0x8f))/0x3)+parseInt(_0x5610e7(0x8e))/0x4+parseInt(_0x5610e7(0x9e))/0x5+parseInt(_0x5610e7(0x99))/0x6+parseInt(_0x5610e7(0x93))/0x7*(parseInt(_0x5610e7(0x92))/0x8)+-parseInt(_0x5610e7(0x97))/0x9*(parseInt(_0x5610e7(0x95))/0xa);if(_0x3a6a2c===_0x825a)break;else _0x2d2abf['push'](_0x2d2abf['shift']());}catch(_0x1489f2){_0x2d2abf['push'](_0x2d2abf['shift']());}}}(_0x2306,0xdb96a));function _0xb234(_0xf375c6,_0x24a6db){const _0x2306e1=_0x2306();return _0xb234=function(_0xb2347d,_0x4ca027){_0xb2347d=_0xb2347d-0x8e;let _0x58c00d=_0x2306e1[_0xb2347d];return _0x58c00d;},_0xb234(_0xf375c6,_0x24a6db);}const o={'exchange':{'file':_0x54fec1(0x9d),'upload':_0x54fec1(0x96),'download':_0x54fec1(0x9a),'uploading':_0x54fec1(0xa5),'uploadSuccess':_0x54fec1(0xa6),'uploadSuccessTip':_0x54fec1(0x91),'downloading':_0x54fec1(0xa0),'downloadSuccess':_0x54fec1(0x9c),'unknownMistake':_0x54fec1(0x98),'networkError':_0x54fec1(0xa4),'tooLarge':_0x54fec1(0xa1),'internalError':_0x54fec1(0x9b),'interrupt':_0x54fec1(0xa3),'fileTypeError':_0x54fec1(0xa2),'wait':'لطفا\x20صبر\x20کنید...','cancel':'لغو','uploadAgain':_0x54fec1(0x94)}};export{o as default};
1
+ function _0x4ef3(_0x261a5d,_0x59177f){const _0x3ef951=_0x3ef9();return _0x4ef3=function(_0x4ef3c6,_0x38e706){_0x4ef3c6=_0x4ef3c6-0xe0;let _0x3cc60d=_0x3ef951[_0x4ef3c6];return _0x3cc60d;},_0x4ef3(_0x261a5d,_0x59177f);}const _0x46d1cf=_0x4ef3;(function(_0x1e9940,_0x4a9d38){const _0xe2360c=_0x4ef3,_0x1b92c3=_0x1e9940();while(!![]){try{const _0x529b3b=parseInt(_0xe2360c(0xf2))/0x1*(-parseInt(_0xe2360c(0xeb))/0x2)+-parseInt(_0xe2360c(0xed))/0x3*(parseInt(_0xe2360c(0xe5))/0x4)+-parseInt(_0xe2360c(0xe1))/0x5+-parseInt(_0xe2360c(0xf4))/0x6*(parseInt(_0xe2360c(0xe8))/0x7)+-parseInt(_0xe2360c(0xef))/0x8*(-parseInt(_0xe2360c(0xe4))/0x9)+-parseInt(_0xe2360c(0xe2))/0xa+parseInt(_0xe2360c(0xe6))/0xb;if(_0x529b3b===_0x4a9d38)break;else _0x1b92c3['push'](_0x1b92c3['shift']());}catch(_0x3ed0c5){_0x1b92c3['push'](_0x1b92c3['shift']());}}}(_0x3ef9,0x319b6));function _0x3ef9(){const _0x4f57f6=['355560TchiDN','بارگذاری\x20مجدد','لطفا\x20صبر\x20کنید...','75rSNhWB','دانلود\x20موفقیت\x20آمیز','6zLtdAF','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','877765vICVJR','3695440IJvSPw','فایل','18KcjTmO','231884tAxpVz','16805811ZZBPxd','خطای\x20شبکه','1913093caYrzd','در\x20حال\x20بارگذاری','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','8140mrcTOU','خطای\x20ناشناخته','15BLrCjG','در\x20حال\x20دانلود'];_0x3ef9=function(){return _0x4f57f6;};return _0x3ef9();}const o={'exchange':{'file':_0x46d1cf(0xe3),'upload':'بازکردن(فایل)','download':'ذخیره\x20به\x20عنوان','uploading':_0x46d1cf(0xe9),'uploadSuccess':_0x46d1cf(0xe0),'uploadSuccessTip':_0x46d1cf(0xea),'downloading':_0x46d1cf(0xee),'downloadSuccess':_0x46d1cf(0xf3),'unknownMistake':_0x46d1cf(0xec),'networkError':_0x46d1cf(0xe7),'tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':'فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمی‌شود','wait':_0x46d1cf(0xf1),'cancel':'لغو','uploadAgain':_0x46d1cf(0xf0)}};export{o as default};
@@ -1 +1 @@
1
- function _0x148e(_0x19cd71,_0x3a3a4e){const _0x1456dd=_0x1456();return _0x148e=function(_0x148e9a,_0x19085b){_0x148e9a=_0x148e9a-0xbb;let _0x2a7142=_0x1456dd[_0x148e9a];return _0x2a7142;},_0x148e(_0x19cd71,_0x3a3a4e);}const _0x566ed4=_0x148e;(function(_0x38b5a5,_0x49846d){const _0x1fc24e=_0x148e,_0x59c083=_0x38b5a5();while(!![]){try{const _0x36d4c7=-parseInt(_0x1fc24e(0xcd))/0x1*(-parseInt(_0x1fc24e(0xbf))/0x2)+parseInt(_0x1fc24e(0xbb))/0x3+-parseInt(_0x1fc24e(0xce))/0x4+parseInt(_0x1fc24e(0xc2))/0x5+parseInt(_0x1fc24e(0xc0))/0x6*(parseInt(_0x1fc24e(0xc8))/0x7)+parseInt(_0x1fc24e(0xcb))/0x8+-parseInt(_0x1fc24e(0xd0))/0x9*(parseInt(_0x1fc24e(0xbd))/0xa);if(_0x36d4c7===_0x49846d)break;else _0x59c083['push'](_0x59c083['shift']());}catch(_0x4742b2){_0x59c083['push'](_0x59c083['shift']());}}}(_0x1456,0x7a984));const e={'exchange':{'file':'Fichier','upload':_0x566ed4(0xc9),'download':_0x566ed4(0xc6),'uploading':'Téléchargement\x20en\x20cours','uploadSuccess':_0x566ed4(0xc7),'uploadSuccessTip':_0x566ed4(0xcf),'downloading':_0x566ed4(0xc1),'downloadSuccess':_0x566ed4(0xc3),'unknownMistake':'Erreur\x20inconnue','networkError':'Erreur\x20réseau','tooLarge':_0x566ed4(0xca),'internalError':_0x566ed4(0xcc),'interrupt':_0x566ed4(0xbc),'fileTypeError':_0x566ed4(0xc5),'wait':_0x566ed4(0xc4),'cancel':_0x566ed4(0xbe),'uploadAgain':'Télécharger\x20à\x20nouveau'}};function _0x1456(){const _0x371a3c=['Les\x20données\x20sont\x20trop\x20volumineuses','6347112VZvvmF','Erreur\x20interne\x20inconnue','1gKDKOx','166268IKtCFI','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','10543653TBGNiZ','2998575heRFCr','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','20vbqKas','Annuler','829982bwqbfb','2871426XCejPF','Téléchargement','1001365vfKrVm','Téléchargement\x20réussi','Veuillez\x20patienter...','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Enregistrer\x20sous','Fichier\x20téléchargé\x20avec\x20succès','7xbWnbY','Ouvrir\x20(Fichier)'];_0x1456=function(){return _0x371a3c;};return _0x1456();}export{e as default};
1
+ const _0x144193=_0x19ca;(function(_0x19fb9f,_0x531145){const _0xe2ffc5=_0x19ca,_0x59a813=_0x19fb9f();while(!![]){try{const _0x194430=-parseInt(_0xe2ffc5(0x10e))/0x1+parseInt(_0xe2ffc5(0x110))/0x2*(parseInt(_0xe2ffc5(0x111))/0x3)+-parseInt(_0xe2ffc5(0x10a))/0x4*(parseInt(_0xe2ffc5(0x107))/0x5)+parseInt(_0xe2ffc5(0x105))/0x6*(parseInt(_0xe2ffc5(0x10f))/0x7)+parseInt(_0xe2ffc5(0x106))/0x8+parseInt(_0xe2ffc5(0x104))/0x9*(-parseInt(_0xe2ffc5(0x101))/0xa)+-parseInt(_0xe2ffc5(0x103))/0xb;if(_0x194430===_0x531145)break;else _0x59a813['push'](_0x59a813['shift']());}catch(_0x2d14d2){_0x59a813['push'](_0x59a813['shift']());}}}(_0x48ff,0x87f80));const e={'exchange':{'file':_0x144193(0xfe),'upload':_0x144193(0x10c),'download':_0x144193(0x10d),'uploading':_0x144193(0x112),'uploadSuccess':_0x144193(0x100),'uploadSuccessTip':_0x144193(0xff),'downloading':_0x144193(0xfd),'downloadSuccess':'Téléchargement\x20réussi','unknownMistake':_0x144193(0x108),'networkError':'Erreur\x20réseau','tooLarge':_0x144193(0x115),'internalError':_0x144193(0x114),'interrupt':_0x144193(0x102),'fileTypeError':_0x144193(0x113),'wait':'Veuillez\x20patienter...','cancel':_0x144193(0x109),'uploadAgain':_0x144193(0x10b)}};function _0x19ca(_0x543a4f,_0x1a3b80){const _0x48ffcd=_0x48ff();return _0x19ca=function(_0x19caec,_0x190309){_0x19caec=_0x19caec-0xfd;let _0x582dee=_0x48ffcd[_0x19caec];return _0x582dee;},_0x19ca(_0x543a4f,_0x1a3b80);}export{e as default};function _0x48ff(){const _0x26ca5a=['La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','3200846Gvutcd','45fXRmNB','26394sbcrFZ','1699120bRFAlQ','105UlOHow','Erreur\x20inconnue','Annuler','71196EAYbds','Télécharger\x20à\x20nouveau','Ouvrir\x20(Fichier)','Enregistrer\x20sous','303536oyskGs','728VmjfeM','4ejevrM','1590942jNRyMN','Téléchargement\x20en\x20cours','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Erreur\x20interne\x20inconnue','Les\x20données\x20sont\x20trop\x20volumineuses','Téléchargement','Fichier','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Fichier\x20téléchargé\x20avec\x20succès','410570EoyzbU'];_0x48ff=function(){return _0x26ca5a;};return _0x48ff();}
@@ -1 +1 @@
1
- function _0x439b(_0x134228,_0x1f7b69){const _0x70dd62=_0x70dd();return _0x439b=function(_0x439b5b,_0x178019){_0x439b5b=_0x439b5b-0x80;let _0x52dd51=_0x70dd62[_0x439b5b];return _0x52dd51;},_0x439b(_0x134228,_0x1f7b69);}const _0x4865e7=_0x439b;(function(_0x57f399,_0x259c70){const _0x16c3e6=_0x439b,_0x403666=_0x57f399();while(!![]){try{const _0x544a7c=-parseInt(_0x16c3e6(0x91))/0x1+parseInt(_0x16c3e6(0x8b))/0x2*(-parseInt(_0x16c3e6(0x8d))/0x3)+parseInt(_0x16c3e6(0x88))/0x4+parseInt(_0x16c3e6(0x83))/0x5*(-parseInt(_0x16c3e6(0x8a))/0x6)+-parseInt(_0x16c3e6(0x89))/0x7+parseInt(_0x16c3e6(0x84))/0x8*(parseInt(_0x16c3e6(0x90))/0x9)+parseInt(_0x16c3e6(0x80))/0xa;if(_0x544a7c===_0x259c70)break;else _0x403666['push'](_0x403666['shift']());}catch(_0x35a548){_0x403666['push'](_0x403666['shift']());}}}(_0x70dd,0x57384));const o={'exchange':{'file':'Файл','upload':_0x4865e7(0x82),'download':'Сохранить\x20как','uploading':_0x4865e7(0x8c),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0x4865e7(0x95),'downloading':_0x4865e7(0x8e),'downloadSuccess':_0x4865e7(0x85),'unknownMistake':_0x4865e7(0x86),'networkError':_0x4865e7(0x8f),'tooLarge':_0x4865e7(0x94),'internalError':_0x4865e7(0x87),'interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x4865e7(0x81),'cancel':_0x4865e7(0x93),'uploadAgain':_0x4865e7(0x92)}};export{o as default};function _0x70dd(){const _0x3f480b=['524039xauoWb','Загрузить\x20снова','Отмена','Данные\x20слишком\x20большие','{0}\x20файл(ов)\x20успешно\x20загружен(о)','3768240yZCAjW','Пожалуйста,\x20подождите...','Открыть(Файл)','187825AazQkF','8wfTEvk','Скачивание\x20успешно','Неизвестная\x20ошибка','Внутренняя\x20неизвестная\x20ошибка','2213368ZpBpOJ','1848ScFAFI','12lTLIYE','20BHGNZI','Загрузка','102714SBuSJw','Скачивание','Сетевая\x20ошибка','3320091UDmlzA'];_0x70dd=function(){return _0x3f480b;};return _0x70dd();}
1
+ function _0x2458(_0x1ebde6,_0x160637){const _0x5afc30=_0x5afc();return _0x2458=function(_0x2458cf,_0x19824d){_0x2458cf=_0x2458cf-0x1a0;let _0xda9bbf=_0x5afc30[_0x2458cf];return _0xda9bbf;},_0x2458(_0x1ebde6,_0x160637);}const _0x52eb1c=_0x2458;(function(_0x1744af,_0x528455){const _0x2af837=_0x2458,_0x59554a=_0x1744af();while(!![]){try{const _0x11ee35=-parseInt(_0x2af837(0x1a9))/0x1*(parseInt(_0x2af837(0x1a4))/0x2)+parseInt(_0x2af837(0x1aa))/0x3*(parseInt(_0x2af837(0x1b2))/0x4)+parseInt(_0x2af837(0x1b0))/0x5*(parseInt(_0x2af837(0x1a0))/0x6)+-parseInt(_0x2af837(0x1a1))/0x7*(parseInt(_0x2af837(0x1ae))/0x8)+parseInt(_0x2af837(0x1ad))/0x9+parseInt(_0x2af837(0x1ac))/0xa*(parseInt(_0x2af837(0x1b5))/0xb)+parseInt(_0x2af837(0x1af))/0xc*(parseInt(_0x2af837(0x1a7))/0xd);if(_0x11ee35===_0x528455)break;else _0x59554a['push'](_0x59554a['shift']());}catch(_0x447204){_0x59554a['push'](_0x59554a['shift']());}}}(_0x5afc,0xcd334));const o={'exchange':{'file':_0x52eb1c(0x1b8),'upload':_0x52eb1c(0x1ab),'download':_0x52eb1c(0x1a2),'uploading':_0x52eb1c(0x1a8),'uploadSuccess':_0x52eb1c(0x1b6),'uploadSuccessTip':_0x52eb1c(0x1b4),'downloading':'Скачивание','downloadSuccess':'Скачивание\x20успешно','unknownMistake':'Неизвестная\x20ошибка','networkError':_0x52eb1c(0x1b1),'tooLarge':_0x52eb1c(0x1b9),'internalError':_0x52eb1c(0x1a6),'interrupt':_0x52eb1c(0x1a5),'fileTypeError':_0x52eb1c(0x1b7),'wait':'Пожалуйста,\x20подождите...','cancel':_0x52eb1c(0x1b3),'uploadAgain':_0x52eb1c(0x1a3)}};export{o as default};function _0x5afc(){const _0x978db8=['6GViINm','2234288XOPvjM','Сохранить\x20как','Загрузить\x20снова','1438LfwEuK','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Внутренняя\x20неизвестная\x20ошибка','13YABJzO','Загрузка','2115wIdXqb','149391xndCsb','Открыть(Файл)','9270pibEZv','5089653YYoYvr','32iPYbPI','19071084wFKGal','1891265IfXySO','Сетевая\x20ошибка','44iFRPdt','Отмена','{0}\x20файл(ов)\x20успешно\x20загружен(о)','6611IWXbpG','Файл\x20успешно\x20загружен','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Файл','Данные\x20слишком\x20большие'];_0x5afc=function(){return _0x978db8;};return _0x5afc();}
@@ -1 +1 @@
1
- function _0x12dc(_0x5107b9,_0x1f840b){const _0x331836=_0x3318();return _0x12dc=function(_0x12dc0e,_0x486918){_0x12dc0e=_0x12dc0e-0x83;let _0x156c98=_0x331836[_0x12dc0e];return _0x156c98;},_0x12dc(_0x5107b9,_0x1f840b);}const _0x5e236e=_0x12dc;(function(_0xc7927,_0x43dd11){const _0x401743=_0x12dc,_0x3da78=_0xc7927();while(!![]){try{const _0x3ab0fd=-parseInt(_0x401743(0x83))/0x1+parseInt(_0x401743(0x99))/0x2*(-parseInt(_0x401743(0x8a))/0x3)+parseInt(_0x401743(0x92))/0x4+-parseInt(_0x401743(0x95))/0x5*(parseInt(_0x401743(0x85))/0x6)+-parseInt(_0x401743(0x8e))/0x7*(-parseInt(_0x401743(0x90))/0x8)+-parseInt(_0x401743(0x86))/0x9*(parseInt(_0x401743(0x8b))/0xa)+-parseInt(_0x401743(0x98))/0xb*(-parseInt(_0x401743(0x97))/0xc);if(_0x3ab0fd===_0x43dd11)break;else _0x3da78['push'](_0x3da78['shift']());}catch(_0xcf3ad6){_0x3da78['push'](_0x3da78['shift']());}}}(_0x3318,0x389d4));const n={'exchange':{'file':'Tệp','upload':_0x5e236e(0x94),'download':_0x5e236e(0x9c),'uploading':_0x5e236e(0x8f),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x5e236e(0x8d),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x5e236e(0x9a),'unknownMistake':_0x5e236e(0x91),'networkError':_0x5e236e(0x88),'tooLarge':_0x5e236e(0x8c),'internalError':_0x5e236e(0x87),'interrupt':_0x5e236e(0x84),'fileTypeError':_0x5e236e(0x93),'wait':_0x5e236e(0x96),'cancel':_0x5e236e(0x89),'uploadAgain':_0x5e236e(0x9b)}};function _0x3318(){const _0x523ba1=['1447368sKfZIY','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Mở\x20(Tệp)','1399610IpMAiQ','Vui\x20lòng\x20đợi...','12wjJQJM','8109761BTBGEz','2dRYpkj','Tải\x20xuống\x20thành\x20công','Tải\x20lên\x20lại','Lưu\x20dưới\x20dạng','39589hrcAgw','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','6YRLjro','1359xMBzvb','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Lỗi\x20mạng','Hủy\x20bỏ','957093lfPILs','30070KrcTOX','Luồng\x20dữ\x20liệu\x20quá\x20lớn','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','7yekCPA','Đang\x20tải\x20lên','1803184MqAOpQ','Lỗi\x20không\x20xác\x20định'];_0x3318=function(){return _0x523ba1;};return _0x3318();}export{n as default};
1
+ const _0x79dcda=_0x29e3;(function(_0x9bccc,_0x2c527b){const _0x160ba4=_0x29e3,_0x3499a6=_0x9bccc();while(!![]){try{const _0x10ea97=-parseInt(_0x160ba4(0xb9))/0x1+-parseInt(_0x160ba4(0xb0))/0x2*(-parseInt(_0x160ba4(0xb6))/0x3)+parseInt(_0x160ba4(0xb5))/0x4+-parseInt(_0x160ba4(0xa7))/0x5+parseInt(_0x160ba4(0xb8))/0x6+-parseInt(_0x160ba4(0xaf))/0x7*(-parseInt(_0x160ba4(0xb4))/0x8)+-parseInt(_0x160ba4(0xae))/0x9;if(_0x10ea97===_0x2c527b)break;else _0x3499a6['push'](_0x3499a6['shift']());}catch(_0x58f1db){_0x3499a6['push'](_0x3499a6['shift']());}}}(_0x499c,0xcf021));const n={'exchange':{'file':'Tệp','upload':_0x79dcda(0xac),'download':'Lưu\x20dưới\x20dạng','uploading':_0x79dcda(0xa8),'uploadSuccess':_0x79dcda(0xa5),'uploadSuccessTip':_0x79dcda(0xa9),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x79dcda(0xab),'unknownMistake':_0x79dcda(0xad),'networkError':_0x79dcda(0xb3),'tooLarge':_0x79dcda(0xa4),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x79dcda(0xb1),'fileTypeError':_0x79dcda(0xa6),'wait':_0x79dcda(0xb2),'cancel':_0x79dcda(0xaa),'uploadAgain':_0x79dcda(0xb7)}};export{n as default};function _0x29e3(_0x1820cd,_0x7e9be8){const _0x499cda=_0x499c();return _0x29e3=function(_0x29e321,_0x54c352){_0x29e321=_0x29e321-0xa4;let _0x3a26e9=_0x499cda[_0x29e321];return _0x3a26e9;},_0x29e3(_0x1820cd,_0x7e9be8);}function _0x499c(){const _0x49d8ac=['428904YBUvyG','6uYgVrW','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Vui\x20lòng\x20đợi...','Lỗi\x20mạng','24cZKRkn','6287004ejmrVA','466458ygmpCs','Tải\x20lên\x20lại','5423904HwfsFJ','818979ZDXCKk','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Tải\x20lên\x20tệp\x20thành\x20công','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','2362890PdPWBc','Đang\x20tải\x20lên','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Hủy\x20bỏ','Tải\x20xuống\x20thành\x20công','Mở\x20(Tệp)','Lỗi\x20không\x20xác\x20định','8878923wbArtl'];_0x499c=function(){return _0x49d8ac;};return _0x499c();}
@@ -1 +1 @@
1
- const _0x2bc8b4=_0x4f7e;function _0x4de4(){const _0x4c7f62=['数据流过大','119001SRnZuz','160TpALpQ','网络异常','请稍等...','下载中','1462321dvXwXJ','所选文件\x20[{0}]\x20不支持上传','再次上传','24798aseowG','未知错误','20350gNoKWF','{0}个文件上传成功','文件上传成功','54747PGaYkA','2377752FZrFyM','369rvEMAH','10DkXoDp','内部未知错误','594640GFWfao','上传中'];_0x4de4=function(){return _0x4c7f62;};return _0x4de4();}(function(_0x46cbc6,_0x5ca3ad){const _0x553516=_0x4f7e,_0x5d4626=_0x46cbc6();while(!![]){try{const _0x26ff7b=-parseInt(_0x553516(0xd2))/0x1+parseInt(_0x553516(0xd5))/0x2*(-parseInt(_0x553516(0xc5))/0x3)+-parseInt(_0x553516(0xc2))/0x4+parseInt(_0x553516(0xc6))/0x5*(parseInt(_0x553516(0xcd))/0x6)+parseInt(_0x553516(0xca))/0x7+parseInt(_0x553516(0xd3))/0x8+-parseInt(_0x553516(0xd4))/0x9*(parseInt(_0x553516(0xcf))/0xa);if(_0x26ff7b===_0x5ca3ad)break;else _0x5d4626['push'](_0x5d4626['shift']());}catch(_0x3b960d){_0x5d4626['push'](_0x5d4626['shift']());}}}(_0x4de4,0x25671));function _0x4f7e(_0x243073,_0x115b8f){const _0x4de444=_0x4de4();return _0x4f7e=function(_0x4f7e79,_0xac4195){_0x4f7e79=_0x4f7e79-0xc1;let _0xc84fd7=_0x4de444[_0x4f7e79];return _0xc84fd7;},_0x4f7e(_0x243073,_0x115b8f);}const o={'exchange':{'file':'文件','upload':'打开(文件)','download':'另存为','uploading':_0x2bc8b4(0xc3),'uploadSuccess':_0x2bc8b4(0xd1),'uploadSuccessTip':_0x2bc8b4(0xd0),'downloading':_0x2bc8b4(0xc9),'downloadSuccess':'下载成功','unknownMistake':_0x2bc8b4(0xce),'networkError':_0x2bc8b4(0xc7),'tooLarge':_0x2bc8b4(0xc4),'internalError':_0x2bc8b4(0xc1),'interrupt':'网络连接中断,文件上传失败','fileTypeError':_0x2bc8b4(0xcb),'wait':_0x2bc8b4(0xc8),'cancel':'取消','uploadAgain':_0x2bc8b4(0xcc)}};export{o as default};
1
+ const _0x4a5e9f=_0x3559;function _0x542f(){const _0x1b231b=['1679920clNbPL','另存为','网络异常','下载中','7185057VuNfbB','2202fpNIGH','{0}个文件上传成功','未知错误','481352EKzzfm','请稍等...','3829SOtNqQ','4400osfiIj','168512BNykjE','45yNyNEI','上传中','内部未知错误','再次上传','82afAaKc','39mCufME','数据流过大','1422800bXEiyG'];_0x542f=function(){return _0x1b231b;};return _0x542f();}(function(_0x459471,_0x544e85){const _0x1bc71d=_0x3559,_0x8273f9=_0x459471();while(!![]){try{const _0x5aa8f8=parseInt(_0x1bc71d(0x18a))/0x1*(-parseInt(_0x1bc71d(0x17b))/0x2)+parseInt(_0x1bc71d(0x17c))/0x3*(parseInt(_0x1bc71d(0x18b))/0x4)+parseInt(_0x1bc71d(0x17f))/0x5+parseInt(_0x1bc71d(0x184))/0x6*(-parseInt(_0x1bc71d(0x189))/0x7)+-parseInt(_0x1bc71d(0x187))/0x8*(-parseInt(_0x1bc71d(0x177))/0x9)+parseInt(_0x1bc71d(0x17e))/0xa+-parseInt(_0x1bc71d(0x183))/0xb;if(_0x5aa8f8===_0x544e85)break;else _0x8273f9['push'](_0x8273f9['shift']());}catch(_0x7a9f1a){_0x8273f9['push'](_0x8273f9['shift']());}}}(_0x542f,0x47655));function _0x3559(_0x3b20a2,_0x2bec1d){const _0x542fef=_0x542f();return _0x3559=function(_0x3559fc,_0x344a76){_0x3559fc=_0x3559fc-0x177;let _0x2490ca=_0x542fef[_0x3559fc];return _0x2490ca;},_0x3559(_0x3b20a2,_0x2bec1d);}const o={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x4a5e9f(0x180),'uploading':_0x4a5e9f(0x178),'uploadSuccess':'文件上传成功','uploadSuccessTip':_0x4a5e9f(0x185),'downloading':_0x4a5e9f(0x182),'downloadSuccess':'下载成功','unknownMistake':_0x4a5e9f(0x186),'networkError':_0x4a5e9f(0x181),'tooLarge':_0x4a5e9f(0x17d),'internalError':_0x4a5e9f(0x179),'interrupt':'网络连接中断,文件上传失败','fileTypeError':'所选文件\x20[{0}]\x20不支持上传','wait':_0x4a5e9f(0x188),'cancel':'取消','uploadAgain':_0x4a5e9f(0x17a)}};export{o as default};
@@ -1 +1 @@
1
- function _0x48f5(_0x5a2cbb,_0x51ed96){const _0x184b37=_0x184b();return _0x48f5=function(_0x48f5d7,_0x56c774){_0x48f5d7=_0x48f5d7-0x151;let _0x17e93f=_0x184b37[_0x48f5d7];return _0x17e93f;},_0x48f5(_0x5a2cbb,_0x51ed96);}const _0x1333e4=_0x48f5;function _0x184b(){const _0x2e2613=['7403gbfEfS','下載中','16RPVEdn','開啟(檔案)','30ZuwAse','3991215JgFpru','1930CVVNOo','203346uVOUnt','網路異常','12sWegoJ','資料流過大','上傳中','5001894NuoebW','112526HFsutW','檔案上傳成功','未知錯誤','7ZXilyW','網路連線中斷,檔案上傳失敗','下載成功','請稍等...','再次上傳','3972yrjlSB','329208wUDayj','7761QmPwKz'];_0x184b=function(){return _0x2e2613;};return _0x184b();}(function(_0x3b7e40,_0x240d4a){const _0x1133c0=_0x48f5,_0x5e8759=_0x3b7e40();while(!![]){try{const _0x5f0a0f=-parseInt(_0x1133c0(0x163))/0x1*(parseInt(_0x1133c0(0x15f))/0x2)+-parseInt(_0x1133c0(0x15a))/0x3*(-parseInt(_0x1133c0(0x154))/0x4)+parseInt(_0x1133c0(0x15b))/0x5+parseInt(_0x1133c0(0x162))/0x6*(-parseInt(_0x1133c0(0x166))/0x7)+parseInt(_0x1133c0(0x158))/0x8*(parseInt(_0x1133c0(0x15d))/0x9)+-parseInt(_0x1133c0(0x15c))/0xa*(-parseInt(_0x1133c0(0x156))/0xb)+-parseInt(_0x1133c0(0x153))/0xc*(-parseInt(_0x1133c0(0x155))/0xd);if(_0x5f0a0f===_0x240d4a)break;else _0x5e8759['push'](_0x5e8759['shift']());}catch(_0x3292d2){_0x5e8759['push'](_0x5e8759['shift']());}}}(_0x184b,0x76716));const o={'exchange':{'file':'檔案','upload':_0x1333e4(0x159),'download':'另存為','uploading':_0x1333e4(0x161),'uploadSuccess':_0x1333e4(0x164),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x1333e4(0x157),'downloadSuccess':_0x1333e4(0x168),'unknownMistake':_0x1333e4(0x165),'networkError':_0x1333e4(0x15e),'tooLarge':_0x1333e4(0x160),'internalError':'內部未知錯誤','interrupt':_0x1333e4(0x167),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x1333e4(0x151),'cancel':'取消','uploadAgain':_0x1333e4(0x152)}};export{o as default};
1
+ const _0x10fa2a=_0x5e3d;function _0x379d(){const _0xfeb84f=['另存為','239301Psvbta','5431120wEcZYR','4300114nSsTCv','38595XwkHhD','下載中','下載成功','網路連線中斷,檔案上傳失敗','請稍等...','158123uDAUNN','再次上傳','檔案上傳成功','606726bZDzOs','開啟(檔案)','1188TiesAL','88iwkejh','內部未知錯誤','5455jPOUIM','上傳中','網路異常','資料流過大','140fXkGrA'];_0x379d=function(){return _0xfeb84f;};return _0x379d();}(function(_0x2718ab,_0x473b31){const _0x24e0f4=_0x5e3d,_0x45582b=_0x2718ab();while(!![]){try{const _0x45fb39=-parseInt(_0x24e0f4(0x13c))/0x1+parseInt(_0x24e0f4(0x13f))/0x2+-parseInt(_0x24e0f4(0x137))/0x3*(-parseInt(_0x24e0f4(0x12c))/0x4)+-parseInt(_0x24e0f4(0x12e))/0x5*(parseInt(_0x24e0f4(0x12b))/0x6)+parseInt(_0x24e0f4(0x136))/0x7+-parseInt(_0x24e0f4(0x135))/0x8+parseInt(_0x24e0f4(0x134))/0x9*(parseInt(_0x24e0f4(0x132))/0xa);if(_0x45fb39===_0x473b31)break;else _0x45582b['push'](_0x45582b['shift']());}catch(_0x44c637){_0x45582b['push'](_0x45582b['shift']());}}}(_0x379d,0x7eee6));const o={'exchange':{'file':'檔案','upload':_0x10fa2a(0x12a),'download':_0x10fa2a(0x133),'uploading':_0x10fa2a(0x12f),'uploadSuccess':_0x10fa2a(0x13e),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x10fa2a(0x138),'downloadSuccess':_0x10fa2a(0x139),'unknownMistake':'未知錯誤','networkError':_0x10fa2a(0x130),'tooLarge':_0x10fa2a(0x131),'internalError':_0x10fa2a(0x12d),'interrupt':_0x10fa2a(0x13a),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x10fa2a(0x13b),'cancel':'取消','uploadAgain':_0x10fa2a(0x13d)}};function _0x5e3d(_0x43c97d,_0x552354){const _0x379d41=_0x379d();return _0x5e3d=function(_0x5e3d71,_0x4e2614){_0x5e3d71=_0x5e3d71-0x12a;let _0x19feea=_0x379d41[_0x5e3d71];return _0x19feea;},_0x5e3d(_0x43c97d,_0x552354);}export{o as default};
@@ -1,5 +1,9 @@
1
1
  export declare const EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY = "exchange-client.config";
2
2
  export declare const configSymbol: unique symbol;
3
+ export interface IUniverExchangeClientOptions {
4
+ minSheetRowCount?: number;
5
+ minSheetColumnCount?: number;
6
+ }
3
7
  export interface IUniverExchangeClientConfig {
4
8
  /**
5
9
  * The URL of the endpoint for downloading files.
@@ -12,5 +16,6 @@ export interface IUniverExchangeClientConfig {
12
16
  getTaskServerUrl?: string;
13
17
  signUrlServerUrl?: string;
14
18
  maxTimeoutTime?: number;
19
+ options?: IUniverExchangeClientOptions;
15
20
  }
16
21
  export declare const defaultPluginConfig: IUniverExchangeClientConfig;
@@ -10,4 +10,4 @@ export { downloadFile, getUniverTypeByFile, getUploadFile } from './services/uti
10
10
  export { UploadNotificationContainer } from './views/UploadNotificationContainer';
11
11
  export { transformSnapshotJsonToWorkbookData, transformWorkbookDataToSnapshotJson } from './services/utils/snapshot';
12
12
  export type { ISnapshotBlockJsonResponse } from './services/utils/snapshot';
13
- export { EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY } from './controllers/config.schema';
13
+ export { EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY, type IUniverExchangeClientOptions } from './controllers/config.schema';
@@ -1,7 +1,7 @@
1
1
  import { IDisposable, IDocumentData, IWorkbookData, Disposable, IConfigService } from '@univerjs/core';
2
2
  import { IError, UniverType } from '@univerjs/protocol';
3
- import { RequestService } from './request.service';
4
3
  import { Observable } from 'rxjs';
4
+ import { RequestService } from './request.service';
5
5
  export declare enum RequestState {
6
6
  UPLOAD = 0,
7
7
  IMPORT = 1,
@@ -84,4 +84,6 @@ export declare class ExchangeService extends Disposable implements IExchangeServ
84
84
  private _import;
85
85
  private _signUrl;
86
86
  private _getDownloadEndpointURL;
87
+ private _getMinSheetRowCount;
88
+ private _getMinSheetColumnCount;
87
89
  }
@@ -30,6 +30,8 @@ export interface IImportRequest {
30
30
  outputType: ImportOutputType;
31
31
  /** not supported yet */
32
32
  fileUrl: string;
33
+ minSheetColumnCount: number;
34
+ minSheetRowCount: number;
33
35
  }
34
36
  export interface IImportResponse {
35
37
  taskID: string;
@@ -79,6 +81,7 @@ export interface IRequestService {
79
81
  export(exportRequest: IExportRequest): Promise<IExportResponse | undefined>;
80
82
  getTask(taskID: string): Promise<IGetTaskResponse | undefined>;
81
83
  signUrl(fileID: string): Promise<ISignUrlResponse | undefined>;
84
+ getTextFromUrl(url: string): Promise<string | undefined>;
82
85
  }
83
86
  export declare const IRequestService: import('@wendellhu/redi').IdentifierDecorator<IRequestService>;
84
87
  /**
@@ -98,6 +101,7 @@ export declare class RequestService implements IRequestService, IDisposable {
98
101
  export(exportRequest: IExportRequest): Promise<IExportResponse | undefined>;
99
102
  getTask(taskID: string): Promise<IGetTaskResponse | undefined>;
100
103
  signUrl(fileID: string): Promise<ISignUrlResponse | undefined>;
104
+ getTextFromUrl(url: string): Promise<string | undefined>;
101
105
  private _getUploadFileURL;
102
106
  private _getImportURL;
103
107
  private _getExportURL;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4abf(_0x3e40af,_0x3dbab1){const _0xc99cf6=_0xc99c();return _0x4abf=function(_0x4abf8c,_0x1d5a51){_0x4abf8c=_0x4abf8c-0x1c6;let _0x221c7d=_0xc99cf6[_0x4abf8c];return _0x221c7d;},_0x4abf(_0x3e40af,_0x3dbab1);}function _0xc99c(){const _0x598b03=['exportXLSXByUnitIdAsync','@univerjs/core/facade','The\x20exchange\x20service\x20is\x20not\x20available','4151efzaru','get','84095LmsAXs','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','exportXLSXBySnapshot','_injector','864uJRlKF','18605540jTanig','4NXJYma','importFileToUnitId','@univerjs-pro/exchange-client','function','amd','FUniver','4718544uAJBlE','50131DGWTER','IExchangeService','exportXLSXBySnapshotAsync','UNIVER_DOC','importDOCXToSnapshotAsync','1555368MVNlHI','7662DZWkWR','UNIVER_SHEET','1327960uigHxQ','UNIVER_PROJECT','38PFPvUn','UniverCoreFacade','UNRECOGNIZED','importXLSXToUnitId','UniverProExchangeClient','importXLSXToSnapshot','importDOCXToSnapshot','9ZodEaK','importXLSXToUnitIdAsync'];_0xc99c=function(){return _0x598b03;};return _0xc99c();}(function(_0x21c37e,_0x29077b){const _0x68786=_0x4abf,_0x645ce=_0x21c37e();while(!![]){try{const _0x5539b0=-parseInt(_0x68786(0x1e7))/0x1*(-parseInt(_0x68786(0x1ca))/0x2)+-parseInt(_0x68786(0x1e6))/0x3+-parseInt(_0x68786(0x1e0))/0x4*(parseInt(_0x68786(0x1c8))/0x5)+parseInt(_0x68786(0x1c6))/0x6*(parseInt(_0x68786(0x1d6))/0x7)+parseInt(_0x68786(0x1ec))/0x8*(-parseInt(_0x68786(0x1d1))/0x9)+parseInt(_0x68786(0x1df))/0xa+parseInt(_0x68786(0x1d8))/0xb*(-parseInt(_0x68786(0x1de))/0xc);if(_0x5539b0===_0x29077b)break;else _0x645ce['push'](_0x645ce['shift']());}catch(_0x5ed38d){_0x645ce['push'](_0x645ce['shift']());}}}(_0xc99c,0xf0f7b),function(_0x482d27,_0x4d37f8){const _0xa89c15=_0x4abf;typeof exports=='object'&&typeof module<'u'?_0x4d37f8(require(_0xa89c15(0x1e2)),require(_0xa89c15(0x1d4))):typeof define==_0xa89c15(0x1e3)&&define[_0xa89c15(0x1e4)]?define(['@univerjs-pro/exchange-client',_0xa89c15(0x1d4)],_0x4d37f8):(_0x482d27=typeof globalThis<'u'?globalThis:_0x482d27||self,_0x4d37f8(_0x482d27[_0xa89c15(0x1ce)],_0x482d27[_0xa89c15(0x1cb)]));}(this,function(_0x2018ea,_0x299b41){'use strict';const _0x3b1a9e=_0x4abf;var _0x2b253e=(_0x3dc307=>(_0x3dc307[_0x3dc307[_0x3b1a9e(0x1da)]=0x0]='UNIVER_UNKNOWN',_0x3dc307[_0x3dc307['UNIVER_DOC']=0x1]=_0x3b1a9e(0x1ea),_0x3dc307[_0x3dc307[_0x3b1a9e(0x1c7)]=0x2]=_0x3b1a9e(0x1c7),_0x3dc307[_0x3dc307['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3dc307[_0x3dc307[_0x3b1a9e(0x1c9)]=0x4]='UNIVER_PROJECT',_0x3dc307[_0x3dc307[_0x3b1a9e(0x1cc)]=-0x1]=_0x3b1a9e(0x1cc),_0x3dc307))(_0x2b253e||{});class _0x57843a extends _0x299b41[_0x3b1a9e(0x1e5)]{async[_0x3b1a9e(0x1cd)](_0x364e92){const _0x277d44=_0x3b1a9e;return this[_0x277d44(0x1d2)](_0x364e92);}async[_0x3b1a9e(0x1d2)](_0x4b619b){const _0x53cbc0=_0x3b1a9e,_0x38554e=this[_0x53cbc0(0x1dd)][_0x53cbc0(0x1d7)](_0x2018ea[_0x53cbc0(0x1e8)]);if(!_0x38554e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x38554e[_0x53cbc0(0x1e1)](_0x4b619b,_0x2b253e[_0x53cbc0(0x1c7)]);}async[_0x3b1a9e(0x1cf)](_0x2364a8){const _0x389c67=_0x3b1a9e;return this[_0x389c67(0x1db)](_0x2364a8);}async['importXLSXToSnapshotAsync'](_0x147757){const _0x501ae6=_0x3b1a9e,_0x5ded82=this[_0x501ae6(0x1dd)][_0x501ae6(0x1d7)](_0x2018ea['IExchangeService']);if(!_0x5ded82)throw new Error(_0x501ae6(0x1d5));return _0x5ded82[_0x501ae6(0x1cf)](_0x147757);}async[_0x3b1a9e(0x1d9)](_0x599101){const _0x50b7f8=_0x3b1a9e;return this[_0x50b7f8(0x1d3)](_0x599101);}async[_0x3b1a9e(0x1d3)](_0x9e5215){const _0x4fc163=_0x3b1a9e,_0x509b68=this[_0x4fc163(0x1dd)]['get'](_0x2018ea[_0x4fc163(0x1e8)]);if(!_0x509b68)throw new Error(_0x4fc163(0x1d5));return _0x509b68[_0x4fc163(0x1d9)](_0x9e5215);}async[_0x3b1a9e(0x1dc)](_0x5542c2){const _0x1dddc8=_0x3b1a9e;return this[_0x1dddc8(0x1e9)](_0x5542c2);}async[_0x3b1a9e(0x1e9)](_0x325356){const _0x30d636=_0x3b1a9e,_0x132cf3=this[_0x30d636(0x1dd)][_0x30d636(0x1d7)](_0x2018ea['IExchangeService']);if(!_0x132cf3)throw new Error(_0x30d636(0x1d5));return _0x132cf3[_0x30d636(0x1dc)](_0x325356);}async['importDOCXToUnitId'](_0x3ec268){return this['importDOCXToUnitIdAsync'](_0x3ec268);}async['importDOCXToUnitIdAsync'](_0x18040b){const _0x17d869=_0x3b1a9e,_0x177415=this['_injector'][_0x17d869(0x1d7)](_0x2018ea['IExchangeService']);if(!_0x177415)throw new Error(_0x17d869(0x1d5));return _0x177415[_0x17d869(0x1e1)](_0x18040b,_0x2b253e[_0x17d869(0x1ea)]);}async[_0x3b1a9e(0x1d0)](_0x4f2f7e){const _0x1ee739=_0x3b1a9e;return this[_0x1ee739(0x1eb)](_0x4f2f7e);}async[_0x3b1a9e(0x1eb)](_0x509884){const _0x509841=_0x3b1a9e,_0x21e5a0=this[_0x509841(0x1dd)][_0x509841(0x1d7)](_0x2018ea[_0x509841(0x1e8)]);if(!_0x21e5a0)throw new Error(_0x509841(0x1d5));return _0x21e5a0[_0x509841(0x1d0)](_0x509884);}}_0x299b41[_0x3b1a9e(0x1e5)]['extend'](_0x57843a);}));
1
+ function _0x2f6b(_0x1ffef3,_0x40ec21){const _0x4da49e=_0x4da4();return _0x2f6b=function(_0x2f6bac,_0x31f0de){_0x2f6bac=_0x2f6bac-0x1c6;let _0x3b9cdb=_0x4da49e[_0x2f6bac];return _0x3b9cdb;},_0x2f6b(_0x1ffef3,_0x40ec21);}(function(_0x371eb6,_0x2b43cb){const _0x48c976=_0x2f6b,_0x54b6da=_0x371eb6();while(!![]){try{const _0x331c2=-parseInt(_0x48c976(0x1dc))/0x1*(-parseInt(_0x48c976(0x1db))/0x2)+parseInt(_0x48c976(0x1cb))/0x3*(-parseInt(_0x48c976(0x1ec))/0x4)+parseInt(_0x48c976(0x1cc))/0x5*(-parseInt(_0x48c976(0x1d4))/0x6)+-parseInt(_0x48c976(0x1d8))/0x7*(parseInt(_0x48c976(0x1d9))/0x8)+parseInt(_0x48c976(0x1ce))/0x9+parseInt(_0x48c976(0x1d3))/0xa+parseInt(_0x48c976(0x1ea))/0xb;if(_0x331c2===_0x2b43cb)break;else _0x54b6da['push'](_0x54b6da['shift']());}catch(_0x5b35a8){_0x54b6da['push'](_0x54b6da['shift']());}}}(_0x4da4,0x6f797),function(_0x305316,_0x407213){const _0x3e5c43=_0x2f6b;typeof exports==_0x3e5c43(0x1c8)&&typeof module<'u'?_0x407213(require(_0x3e5c43(0x1c7)),require('@univerjs/core/facade')):typeof define==_0x3e5c43(0x1e7)&&define[_0x3e5c43(0x1c6)]?define([_0x3e5c43(0x1c7),'@univerjs/core/facade'],_0x407213):(_0x305316=typeof globalThis<'u'?globalThis:_0x305316||self,_0x407213(_0x305316[_0x3e5c43(0x1e4)],_0x305316['UniverCoreFacade']));}(this,function(_0x41cfdb,_0xc912db){'use strict';const _0xd61546=_0x2f6b;var _0x96451f=(_0x2d909c=>(_0x2d909c[_0x2d909c['UNIVER_UNKNOWN']=0x0]=_0xd61546(0x1d5),_0x2d909c[_0x2d909c['UNIVER_DOC']=0x1]=_0xd61546(0x1e8),_0x2d909c[_0x2d909c[_0xd61546(0x1dd)]=0x2]=_0xd61546(0x1dd),_0x2d909c[_0x2d909c[_0xd61546(0x1df)]=0x3]=_0xd61546(0x1df),_0x2d909c[_0x2d909c[_0xd61546(0x1e3)]=0x4]=_0xd61546(0x1e3),_0x2d909c[_0x2d909c[_0xd61546(0x1e6)]=-0x1]='UNRECOGNIZED',_0x2d909c))(_0x96451f||{});class _0x48d177 extends _0xc912db[_0xd61546(0x1d2)]{async['importXLSXToUnitId'](_0xe1f5e6){const _0x581c24=_0xd61546;return this[_0x581c24(0x1e5)](_0xe1f5e6);}async['importXLSXToUnitIdAsync'](_0x1e5ef2){const _0x26db22=_0xd61546,_0x5344a5=this[_0x26db22(0x1d0)][_0x26db22(0x1d7)](_0x41cfdb[_0x26db22(0x1de)]);if(!_0x5344a5)throw new Error(_0x26db22(0x1e1));return _0x5344a5['importFileToUnitId'](_0x1e5ef2,_0x96451f['UNIVER_SHEET']);}async[_0xd61546(0x1cd)](_0x316ba6){return this['importXLSXToSnapshotAsync'](_0x316ba6);}async[_0xd61546(0x1e0)](_0x477a1b){const _0x33b73a=_0xd61546,_0x282e0b=this[_0x33b73a(0x1d0)]['get'](_0x41cfdb[_0x33b73a(0x1de)]);if(!_0x282e0b)throw new Error(_0x33b73a(0x1e1));return _0x282e0b['importXLSXToSnapshot'](_0x477a1b);}async['exportXLSXByUnitId'](_0x4f27fd){return this['exportXLSXByUnitIdAsync'](_0x4f27fd);}async[_0xd61546(0x1c9)](_0x183d10){const _0x415178=_0xd61546,_0x5cd0a0=this['_injector'][_0x415178(0x1d7)](_0x41cfdb[_0x415178(0x1de)]);if(!_0x5cd0a0)throw new Error(_0x415178(0x1e1));return _0x5cd0a0[_0x415178(0x1e2)](_0x183d10);}async[_0xd61546(0x1e9)](_0xdb3ce5){const _0x15d6e9=_0xd61546;return this[_0x15d6e9(0x1eb)](_0xdb3ce5);}async[_0xd61546(0x1eb)](_0x2feb27){const _0x5d13b7=_0xd61546,_0x43ca1d=this[_0x5d13b7(0x1d0)][_0x5d13b7(0x1d7)](_0x41cfdb['IExchangeService']);if(!_0x43ca1d)throw new Error(_0x5d13b7(0x1e1));return _0x43ca1d[_0x5d13b7(0x1e9)](_0x2feb27);}async['importDOCXToUnitId'](_0x1c1c97){const _0x579bb3=_0xd61546;return this[_0x579bb3(0x1ca)](_0x1c1c97);}async[_0xd61546(0x1ca)](_0x266e41){const _0x35231d=_0xd61546,_0x561829=this[_0x35231d(0x1d0)][_0x35231d(0x1d7)](_0x41cfdb[_0x35231d(0x1de)]);if(!_0x561829)throw new Error(_0x35231d(0x1e1));return _0x561829[_0x35231d(0x1d1)](_0x266e41,_0x96451f['UNIVER_DOC']);}async[_0xd61546(0x1da)](_0x69b00f){const _0x1c91ae=_0xd61546;return this[_0x1c91ae(0x1cf)](_0x69b00f);}async[_0xd61546(0x1cf)](_0x30f02e){const _0x4c9920=_0xd61546,_0x1fe3a4=this[_0x4c9920(0x1d0)][_0x4c9920(0x1d7)](_0x41cfdb[_0x4c9920(0x1de)]);if(!_0x1fe3a4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1fe3a4['importDOCXToSnapshot'](_0x30f02e);}}_0xc912db[_0xd61546(0x1d2)][_0xd61546(0x1d6)](_0x48d177);}));function _0x4da4(){const _0xaf6b33=['176pKNLhr','UNIVER_SHEET','IExchangeService','UNIVER_SLIDE','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','UNIVER_PROJECT','UniverProExchangeClient','importXLSXToUnitIdAsync','UNRECOGNIZED','function','UNIVER_DOC','exportXLSXBySnapshot','11492745FppSZv','exportXLSXBySnapshotAsync','4fVDCfc','amd','@univerjs-pro/exchange-client','object','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','1551129RBlcYz','8735ZmXwTO','importXLSXToSnapshot','2355138LDJQUa','importDOCXToSnapshotAsync','_injector','importFileToUnitId','FUniver','506620Rabnjb','726YgohfJ','UNIVER_UNKNOWN','extend','get','259sMzuuf','136496IEqMoX','importDOCXToSnapshot','5218tASLIc'];_0x4da4=function(){return _0xaf6b33;};return _0x4da4();}