@univerjs-pro/exchange-client 0.8.0-nightly.202506101607 → 0.8.0-nightly.202506111607

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 (42) 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 +10 -0
  29. package/lib/types/facade/f-univer.d.ts +4 -7
  30. package/lib/types/index.d.ts +1 -1
  31. package/lib/types/services/exchange.service.d.ts +5 -7
  32. package/lib/types/services/operate.service.d.ts +5 -5
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +2 -2
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +7 -7
@@ -1 +1 @@
1
- const _0x2d876a=_0x2f7c;(function(_0x86c0be,_0xcafe97){const _0x5b3e16=_0x2f7c,_0x579d62=_0x86c0be();while(!![]){try{const _0x2098ef=parseInt(_0x5b3e16(0xed))/0x1+parseInt(_0x5b3e16(0xf6))/0x2*(-parseInt(_0x5b3e16(0xf5))/0x3)+-parseInt(_0x5b3e16(0xf7))/0x4*(-parseInt(_0x5b3e16(0xf3))/0x5)+-parseInt(_0x5b3e16(0xfb))/0x6+parseInt(_0x5b3e16(0xf2))/0x7*(parseInt(_0x5b3e16(0xea))/0x8)+-parseInt(_0x5b3e16(0xef))/0x9+parseInt(_0x5b3e16(0xee))/0xa*(parseInt(_0x5b3e16(0xe9))/0xb);if(_0x2098ef===_0xcafe97)break;else _0x579d62['push'](_0x579d62['shift']());}catch(_0x43e6db){_0x579d62['push'](_0x579d62['shift']());}}}(_0x5978,0x1b65c));const e={'exchange':{'file':_0x2d876a(0xe7),'upload':_0x2d876a(0xfe),'download':'Save\x20As','downloadWPS':_0x2d876a(0xfd),'uploading':_0x2d876a(0xe8),'uploadSuccess':_0x2d876a(0xf9),'uploadSuccessTip':_0x2d876a(0xf4),'downloading':'Downloading','downloadSuccess':_0x2d876a(0xf1),'unknownMistake':_0x2d876a(0xfa),'networkError':'Network\x20error','tooLarge':'Data\x20is\x20too\x20large','internalError':_0x2d876a(0xfc),'interrupt':_0x2d876a(0xf0),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x2d876a(0xec),'cancel':_0x2d876a(0xeb),'uploadAgain':_0x2d876a(0xf8)}};export{e as default};function _0x2f7c(_0x677b71,_0x3b6a09){const _0x597827=_0x5978();return _0x2f7c=function(_0x2f7ccb,_0x45cd36){_0x2f7ccb=_0x2f7ccb-0xe7;let _0x1673c8=_0x597827[_0x2f7ccb];return _0x1673c8;},_0x2f7c(_0x677b71,_0x3b6a09);}function _0x5978(){const _0x35eee4=['16prWWdz','Upload\x20again','File\x20uploaded\x20successfully','Unknown\x20mistake','201612tasdww','Internal\x20unknown\x20error','Save\x20As\x20WPS','Open(File)','File','Uploading','8613xKIEYm','32xchgqD','Cancel','Please\x20wait...','31334LDxbQM','90mdUHFr','888138DfaWNo','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Download\x20success','190981RfArFe','250805yrXCYn','{0}\x20file(s)\x20uploaded\x20successfully','891QtZZqA','698vVJFqG'];_0x5978=function(){return _0x35eee4;};return _0x5978();}
1
+ const _0x4185ab=_0x20e9;(function(_0x4cdc11,_0x23d18d){const _0x5e91e5=_0x20e9,_0xf6ea98=_0x4cdc11();while(!![]){try{const _0xb88ef0=parseInt(_0x5e91e5(0x11d))/0x1+parseInt(_0x5e91e5(0x113))/0x2+-parseInt(_0x5e91e5(0x11e))/0x3+parseInt(_0x5e91e5(0x111))/0x4+-parseInt(_0x5e91e5(0x10e))/0x5+-parseInt(_0x5e91e5(0x112))/0x6+parseInt(_0x5e91e5(0x10c))/0x7*(parseInt(_0x5e91e5(0x115))/0x8);if(_0xb88ef0===_0x23d18d)break;else _0xf6ea98['push'](_0xf6ea98['shift']());}catch(_0xe97cf4){_0xf6ea98['push'](_0xf6ea98['shift']());}}}(_0x3500,0x8fea6));const e={'exchange':{'file':'File','upload':_0x4185ab(0x114),'download':'Save\x20As','downloadWPS':_0x4185ab(0x118),'uploading':_0x4185ab(0x121),'uploadSuccess':_0x4185ab(0x11f),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':'Downloading','downloadSuccess':_0x4185ab(0x116),'unknownMistake':_0x4185ab(0x11c),'networkError':_0x4185ab(0x10f),'tooLarge':_0x4185ab(0x10d),'internalError':_0x4185ab(0x120),'interrupt':_0x4185ab(0x11a),'fileTypeError':_0x4185ab(0x11b),'wait':_0x4185ab(0x119),'cancel':_0x4185ab(0x110),'uploadAgain':_0x4185ab(0x117)}};function _0x3500(){const _0x31edf7=['2726772bmRDoO','1350270lmZblu','Open(File)','712NwWRgK','Download\x20success','Upload\x20again','Save\x20As\x20WPS','Please\x20wait...','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Unknown\x20mistake','490694tfsoBJ','645501UDLLLa','File\x20uploaded\x20successfully','Internal\x20unknown\x20error','Uploading','13636XBpYQK','Data\x20is\x20too\x20large','1930035riVKuV','Network\x20error','Cancel','1223652kaFpnR'];_0x3500=function(){return _0x31edf7;};return _0x3500();}function _0x20e9(_0x4c10af,_0x4ec24a){const _0x35003b=_0x3500();return _0x20e9=function(_0x20e979,_0x3a6f5a){_0x20e979=_0x20e979-0x10c;let _0x25327e=_0x35003b[_0x20e979];return _0x25327e;},_0x20e9(_0x4c10af,_0x4ec24a);}export{e as default};
@@ -1 +1 @@
1
- const _0x596014=_0x445b;(function(_0x3750e6,_0x26815b){const _0x5e36a7=_0x445b,_0x3dc3ae=_0x3750e6();while(!![]){try{const _0x1836e5=parseInt(_0x5e36a7(0x121))/0x1+parseInt(_0x5e36a7(0x134))/0x2*(parseInt(_0x5e36a7(0x12a))/0x3)+parseInt(_0x5e36a7(0x125))/0x4*(-parseInt(_0x5e36a7(0x128))/0x5)+parseInt(_0x5e36a7(0x131))/0x6+-parseInt(_0x5e36a7(0x132))/0x7+-parseInt(_0x5e36a7(0x130))/0x8*(-parseInt(_0x5e36a7(0x133))/0x9)+parseInt(_0x5e36a7(0x12e))/0xa*(parseInt(_0x5e36a7(0x135))/0xb);if(_0x1836e5===_0x26815b)break;else _0x3dc3ae['push'](_0x3dc3ae['shift']());}catch(_0x5ea5cf){_0x3dc3ae['push'](_0x3dc3ae['shift']());}}}(_0x4f06,0x6bf95));function _0x445b(_0x409bcf,_0x2dc7c4){const _0x4f069c=_0x4f06();return _0x445b=function(_0x445b40,_0x4eafbe){_0x445b40=_0x445b40-0x11e;let _0x53d838=_0x4f069c[_0x445b40];return _0x53d838;},_0x445b(_0x409bcf,_0x2dc7c4);}function _0x4f06(){const _0x1e800b=['2314ZhcNJe','11NLaWnx','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','خطای\x20ناشناخته','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','بارگذاری\x20مجدد','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','580683vNYlRk','لطفا\x20صبر\x20کنید...','خطای\x20شبکه','خطای\x20داخلی\x20ناشناخته','27116kVscnF','ذخیره\x20به\x20عنوان\x20WPS','در\x20حال\x20دانلود','255fKYdot','داده\x20خیلی\x20بزرگ\x20است','213lSKfIF','فایل','بازکردن(فایل)','لغو','5916590yiLgzx','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمی‌شود','1408SieSZY','302118rXaHrQ','5872524IeWFEx','16470cLIRVz'];_0x4f06=function(){return _0x1e800b;};return _0x4f06();}const o={'exchange':{'file':_0x596014(0x12b),'upload':_0x596014(0x12c),'download':'ذخیره\x20به\x20عنوان','downloadWPS':_0x596014(0x126),'uploading':'در\x20حال\x20بارگذاری','uploadSuccess':_0x596014(0x11e),'uploadSuccessTip':_0x596014(0x120),'downloading':_0x596014(0x127),'downloadSuccess':'دانلود\x20موفقیت\x20آمیز','unknownMistake':_0x596014(0x137),'networkError':_0x596014(0x123),'tooLarge':_0x596014(0x129),'internalError':_0x596014(0x124),'interrupt':_0x596014(0x136),'fileTypeError':_0x596014(0x12f),'wait':_0x596014(0x122),'cancel':_0x596014(0x12d),'uploadAgain':_0x596014(0x11f)}};export{o as default};
1
+ function _0x10a8(_0x1cc714,_0x282d24){const _0x3c5e18=_0x3c5e();return _0x10a8=function(_0x10a8be,_0x19cad1){_0x10a8be=_0x10a8be-0x11a;let _0x370461=_0x3c5e18[_0x10a8be];return _0x370461;},_0x10a8(_0x1cc714,_0x282d24);}const _0x111998=_0x10a8;(function(_0x39c289,_0x2e1ac7){const _0x571ea5=_0x10a8,_0x58ba36=_0x39c289();while(!![]){try{const _0x8a0d25=-parseInt(_0x571ea5(0x130))/0x1+-parseInt(_0x571ea5(0x122))/0x2*(parseInt(_0x571ea5(0x11c))/0x3)+parseInt(_0x571ea5(0x128))/0x4*(-parseInt(_0x571ea5(0x12c))/0x5)+parseInt(_0x571ea5(0x124))/0x6+-parseInt(_0x571ea5(0x126))/0x7+parseInt(_0x571ea5(0x12b))/0x8*(parseInt(_0x571ea5(0x133))/0x9)+parseInt(_0x571ea5(0x129))/0xa;if(_0x8a0d25===_0x2e1ac7)break;else _0x58ba36['push'](_0x58ba36['shift']());}catch(_0x279735){_0x58ba36['push'](_0x58ba36['shift']());}}}(_0x3c5e,0x4ad24));const o={'exchange':{'file':'فایل','upload':_0x111998(0x125),'download':_0x111998(0x131),'downloadWPS':_0x111998(0x127),'uploading':_0x111998(0x11f),'uploadSuccess':_0x111998(0x11a),'uploadSuccessTip':_0x111998(0x11b),'downloading':_0x111998(0x11d),'downloadSuccess':_0x111998(0x11e),'unknownMistake':'خطای\x20ناشناخته','networkError':_0x111998(0x12d),'tooLarge':_0x111998(0x12f),'internalError':_0x111998(0x120),'interrupt':_0x111998(0x12e),'fileTypeError':_0x111998(0x132),'wait':_0x111998(0x123),'cancel':_0x111998(0x12a),'uploadAgain':_0x111998(0x121)}};export{o as default};function _0x3c5e(){const _0x16e6ad=['فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','15612xwRYdL','در\x20حال\x20دانلود','دانلود\x20موفقیت\x20آمیز','در\x20حال\x20بارگذاری','خطای\x20داخلی\x20ناشناخته','بارگذاری\x20مجدد','222nYWTkt','لطفا\x20صبر\x20کنید...','2129478LaSCEb','بازکردن(فایل)','540540sgBZhh','ذخیره\x20به\x20عنوان\x20WPS','49004VHlqAM','1903610QMCPaZ','لغو','152hQgLqg','25mlmuFY','خطای\x20شبکه','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','داده\x20خیلی\x20بزرگ\x20است','116950qwqPSC','ذخیره\x20به\x20عنوان','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمی‌شود','281493bysVbN'];_0x3c5e=function(){return _0x16e6ad;};return _0x3c5e();}
@@ -1 +1 @@
1
- const _0x50c94d=_0x1750;(function(_0x59af88,_0x84a724){const _0x5148d0=_0x1750,_0x3329f4=_0x59af88();while(!![]){try{const _0x1f1e20=parseInt(_0x5148d0(0xfd))/0x1*(-parseInt(_0x5148d0(0xf0))/0x2)+-parseInt(_0x5148d0(0xe9))/0x3*(parseInt(_0x5148d0(0xf3))/0x4)+parseInt(_0x5148d0(0xfa))/0x5*(-parseInt(_0x5148d0(0xf5))/0x6)+parseInt(_0x5148d0(0xfc))/0x7+parseInt(_0x5148d0(0xf4))/0x8*(parseInt(_0x5148d0(0xf6))/0x9)+parseInt(_0x5148d0(0xee))/0xa+parseInt(_0x5148d0(0xeb))/0xb;if(_0x1f1e20===_0x84a724)break;else _0x3329f4['push'](_0x3329f4['shift']());}catch(_0x14f015){_0x3329f4['push'](_0x3329f4['shift']());}}}(_0x466b,0x64bd2));const e={'exchange':{'file':_0x50c94d(0x102),'upload':_0x50c94d(0xec),'download':_0x50c94d(0xf2),'downloadWPS':_0x50c94d(0xf9),'uploading':_0x50c94d(0xfb),'uploadSuccess':_0x50c94d(0x101),'uploadSuccessTip':_0x50c94d(0xf1),'downloading':_0x50c94d(0xfe),'downloadSuccess':_0x50c94d(0xe8),'unknownMistake':_0x50c94d(0xef),'networkError':'Erreur\x20réseau','tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':_0x50c94d(0xf8),'interrupt':_0x50c94d(0xf7),'fileTypeError':_0x50c94d(0xff),'wait':_0x50c94d(0xea),'cancel':_0x50c94d(0x100),'uploadAgain':_0x50c94d(0xed)}};export{e as default};function _0x1750(_0x4ef615,_0x4ee874){const _0x466bc9=_0x466b();return _0x1750=function(_0x1750e9,_0x4fad8f){_0x1750e9=_0x1750e9-0xe8;let _0x10a102=_0x466bc9[_0x1750e9];return _0x10a102;},_0x1750(_0x4ef615,_0x4ee874);}function _0x466b(){const _0x19e2d2=['7305595JHkvpX','Ouvrir\x20(Fichier)','Télécharger\x20à\x20nouveau','3585840UYFClL','Erreur\x20inconnue','316564qDwiKa','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Enregistrer\x20sous','32oeIMjn','919624omrhKo','26886ZcYcuK','9JTteqf','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Erreur\x20interne\x20inconnue','Enregistrer\x20sous\x20WPS','700nTEomp','Téléchargement\x20en\x20cours','5329464bRFIxY','2bYOncj','Téléchargement','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Annuler','Fichier\x20téléchargé\x20avec\x20succès','Fichier','Téléchargement\x20réussi','203439PYMLmA','Veuillez\x20patienter...'];_0x466b=function(){return _0x19e2d2;};return _0x466b();}
1
+ const _0x188115=_0x4a13;(function(_0x106616,_0x53b9fd){const _0x44dcd9=_0x4a13,_0x31b4b6=_0x106616();while(!![]){try{const _0x247d0e=-parseInt(_0x44dcd9(0x1e7))/0x1+-parseInt(_0x44dcd9(0x1db))/0x2+parseInt(_0x44dcd9(0x1d8))/0x3+parseInt(_0x44dcd9(0x1e6))/0x4+parseInt(_0x44dcd9(0x1dc))/0x5*(parseInt(_0x44dcd9(0x1d6))/0x6)+-parseInt(_0x44dcd9(0x1de))/0x7*(-parseInt(_0x44dcd9(0x1e9))/0x8)+parseInt(_0x44dcd9(0x1eb))/0x9;if(_0x247d0e===_0x53b9fd)break;else _0x31b4b6['push'](_0x31b4b6['shift']());}catch(_0x5a22bd){_0x31b4b6['push'](_0x31b4b6['shift']());}}}(_0x3691,0xe9450));const e={'exchange':{'file':_0x188115(0x1ea),'upload':_0x188115(0x1e2),'download':_0x188115(0x1e0),'downloadWPS':'Enregistrer\x20sous\x20WPS','uploading':_0x188115(0x1e4),'uploadSuccess':_0x188115(0x1e5),'uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':_0x188115(0x1df),'downloadSuccess':_0x188115(0x1e1),'unknownMistake':_0x188115(0x1ed),'networkError':_0x188115(0x1d9),'tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':_0x188115(0x1e3),'interrupt':_0x188115(0x1d7),'fileTypeError':_0x188115(0x1e8),'wait':_0x188115(0x1dd),'cancel':_0x188115(0x1ec),'uploadAgain':_0x188115(0x1da)}};export{e as default};function _0x4a13(_0x4a7ee3,_0x623092){const _0x36919a=_0x3691();return _0x4a13=function(_0x4a13ef,_0x44bafb){_0x4a13ef=_0x4a13ef-0x1d6;let _0x1a3b96=_0x36919a[_0x4a13ef];return _0x1a3b96;},_0x4a13(_0x4a7ee3,_0x623092);}function _0x3691(){const _0x4ad4c8=['Téléchargement\x20en\x20cours','Fichier\x20téléchargé\x20avec\x20succès','7110840uzyzhQ','1296155TdxGas','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','73536atHfii','Fichier','11385396GdKcwl','Annuler','Erreur\x20inconnue','228162sqfVdg','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','639378Exnutj','Erreur\x20réseau','Télécharger\x20à\x20nouveau','3700078gjNcyS','110fOPBjq','Veuillez\x20patienter...','7bRULCF','Téléchargement','Enregistrer\x20sous','Téléchargement\x20réussi','Ouvrir\x20(Fichier)','Erreur\x20interne\x20inconnue'];_0x3691=function(){return _0x4ad4c8;};return _0x3691();}
@@ -1 +1 @@
1
- function _0x1aef(_0x11a7b9,_0x483c90){const _0x4627f9=_0x4627();return _0x1aef=function(_0x1aef77,_0x33f255){_0x1aef77=_0x1aef77-0x18e;let _0x539c0a=_0x4627f9[_0x1aef77];return _0x539c0a;},_0x1aef(_0x11a7b9,_0x483c90);}const _0x2cc511=_0x1aef;function _0x4627(){const _0x2cb66d=['Сетевая\x20ошибка','981WVeocd','Сохранить\x20как\x20WPS','726309iwWZZQ','7LQKWSe','Неизвестная\x20ошибка','888648lDDULX','124077hmoAif','Скачивание','Файл\x20успешно\x20загружен','Отмена','11930LqKwZu','498TloOvM','Внутренняя\x20неизвестная\x20ошибка','162dGgsvu','1709590cbRhKY','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Сохранить\x20как','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Пожалуйста,\x20подождите...','683608UKWcOZ','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Открыть(Файл)','Скачивание\x20успешно'];_0x4627=function(){return _0x2cb66d;};return _0x4627();}(function(_0x496ab1,_0x4322f9){const _0x10275a=_0x1aef,_0x299073=_0x496ab1();while(!![]){try{const _0x42f0b8=parseInt(_0x10275a(0x19c))/0x1*(-parseInt(_0x10275a(0x191))/0x2)+parseInt(_0x10275a(0x1a2))/0x3+parseInt(_0x10275a(0x197))/0x4+-parseInt(_0x10275a(0x18e))/0x5*(parseInt(_0x10275a(0x18f))/0x6)+-parseInt(_0x10275a(0x19f))/0x7*(-parseInt(_0x10275a(0x1a1))/0x8)+-parseInt(_0x10275a(0x19e))/0x9+parseInt(_0x10275a(0x192))/0xa;if(_0x42f0b8===_0x4322f9)break;else _0x299073['push'](_0x299073['shift']());}catch(_0x1fdc30){_0x299073['push'](_0x299073['shift']());}}}(_0x4627,0x213a5));const o={'exchange':{'file':'Файл','upload':_0x2cc511(0x199),'download':_0x2cc511(0x194),'downloadWPS':_0x2cc511(0x19d),'uploading':'Загрузка','uploadSuccess':_0x2cc511(0x1a4),'uploadSuccessTip':_0x2cc511(0x198),'downloading':_0x2cc511(0x1a3),'downloadSuccess':_0x2cc511(0x19a),'unknownMistake':_0x2cc511(0x1a0),'networkError':_0x2cc511(0x19b),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x2cc511(0x190),'interrupt':_0x2cc511(0x195),'fileTypeError':_0x2cc511(0x193),'wait':_0x2cc511(0x196),'cancel':_0x2cc511(0x1a5),'uploadAgain':'Загрузить\x20снова'}};export{o as default};
1
+ const _0x241800=_0x22c9;(function(_0xc0bb22,_0x1dded2){const _0x2a68e9=_0x22c9,_0x3a112d=_0xc0bb22();while(!![]){try{const _0x36de87=-parseInt(_0x2a68e9(0x185))/0x1*(parseInt(_0x2a68e9(0x189))/0x2)+parseInt(_0x2a68e9(0x18c))/0x3*(-parseInt(_0x2a68e9(0x18a))/0x4)+-parseInt(_0x2a68e9(0x196))/0x5+parseInt(_0x2a68e9(0x18f))/0x6+-parseInt(_0x2a68e9(0x18b))/0x7*(-parseInt(_0x2a68e9(0x192))/0x8)+parseInt(_0x2a68e9(0x18e))/0x9+parseInt(_0x2a68e9(0x182))/0xa*(parseInt(_0x2a68e9(0x188))/0xb);if(_0x36de87===_0x1dded2)break;else _0x3a112d['push'](_0x3a112d['shift']());}catch(_0x1b71f5){_0x3a112d['push'](_0x3a112d['shift']());}}}(_0x3a47,0x79035));function _0x22c9(_0x37761a,_0x40f425){const _0x3a4785=_0x3a47();return _0x22c9=function(_0x22c9bc,_0x533743){_0x22c9bc=_0x22c9bc-0x182;let _0x598939=_0x3a4785[_0x22c9bc];return _0x598939;},_0x22c9(_0x37761a,_0x40f425);}const o={'exchange':{'file':_0x241800(0x18d),'upload':'Открыть(Файл)','download':_0x241800(0x194),'downloadWPS':_0x241800(0x187),'uploading':'Загрузка','uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0x241800(0x183),'downloading':'Скачивание','downloadSuccess':'Скачивание\x20успешно','unknownMistake':'Неизвестная\x20ошибка','networkError':_0x241800(0x195),'tooLarge':_0x241800(0x191),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':_0x241800(0x190),'fileTypeError':_0x241800(0x186),'wait':'Пожалуйста,\x20подождите...','cancel':_0x241800(0x193),'uploadAgain':_0x241800(0x184)}};function _0x3a47(){const _0x3ff58c=['2368230XvrFVE','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Загрузить\x20снова','1oIKMqh','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Сохранить\x20как\x20WPS','44eEypDT','158330sgrKvJ','1526268zOBwNh','574RXsbBP','3HzrkjG','Файл','1127853rocXUz','1231746YpiFBd','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Данные\x20слишком\x20большие','59848clRGVB','Отмена','Сохранить\x20как','Сетевая\x20ошибка','4674705EbyAuW'];_0x3a47=function(){return _0x3ff58c;};return _0x3a47();}export{o as default};
@@ -1 +1 @@
1
- const _0x820f04=_0x517f;(function(_0x399c8d,_0x2ac464){const _0x30a9a3=_0x517f,_0x46e80d=_0x399c8d();while(!![]){try{const _0x55a885=-parseInt(_0x30a9a3(0xf1))/0x1+parseInt(_0x30a9a3(0xfc))/0x2+parseInt(_0x30a9a3(0x106))/0x3+parseInt(_0x30a9a3(0xf7))/0x4*(parseInt(_0x30a9a3(0x107))/0x5)+-parseInt(_0x30a9a3(0x103))/0x6+parseInt(_0x30a9a3(0xfd))/0x7+-parseInt(_0x30a9a3(0xf5))/0x8;if(_0x55a885===_0x2ac464)break;else _0x46e80d['push'](_0x46e80d['shift']());}catch(_0x3730ef){_0x46e80d['push'](_0x46e80d['shift']());}}}(_0x5ceb,0x88df1));function _0x5ceb(){const _0x252926=['Mở\x20(Tệp)','1246794eqyFzY','Đang\x20tải\x20lên','Tải\x20lên\x20lại','1401315LPDKBl','5390035AOEPha','Luồng\x20dữ\x20liệu\x20quá\x20lớn','224434iasaHj','Đang\x20tải\x20xuống','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Lỗi\x20không\x20xác\x20định','17291216hZaaAR','Tệp','4WRKnhg','Hủy\x20bỏ','Lỗi\x20mạng','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','2099486DdeEGB','3915835BwDKlr','Vui\x20lòng\x20đợi...','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Lưu\x20dưới\x20dạng','Tải\x20xuống\x20thành\x20công'];_0x5ceb=function(){return _0x252926;};return _0x5ceb();}const n={'exchange':{'file':_0x820f04(0xf6),'upload':_0x820f04(0x102),'download':_0x820f04(0x100),'downloadWPS':'Lưu\x20dưới\x20dạng\x20WPS','uploading':_0x820f04(0x104),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x820f04(0xff),'downloading':_0x820f04(0xf2),'downloadSuccess':_0x820f04(0x101),'unknownMistake':_0x820f04(0xf4),'networkError':_0x820f04(0xf9),'tooLarge':_0x820f04(0xf0),'internalError':_0x820f04(0xfb),'interrupt':_0x820f04(0xf3),'fileTypeError':_0x820f04(0xfa),'wait':_0x820f04(0xfe),'cancel':_0x820f04(0xf8),'uploadAgain':_0x820f04(0x105)}};function _0x517f(_0xde862d,_0x2daa5a){const _0x5ceb09=_0x5ceb();return _0x517f=function(_0x517f82,_0xbf50da){_0x517f82=_0x517f82-0xf0;let _0x544a5e=_0x5ceb09[_0x517f82];return _0x544a5e;},_0x517f(_0xde862d,_0x2daa5a);}export{n as default};
1
+ function _0x2aad(_0x296413,_0x13be69){const _0x1119cd=_0x1119();return _0x2aad=function(_0x2aad9f,_0x53ea93){_0x2aad9f=_0x2aad9f-0x1e5;let _0x53f495=_0x1119cd[_0x2aad9f];return _0x53f495;},_0x2aad(_0x296413,_0x13be69);}const _0xa0b4c9=_0x2aad;(function(_0x2a63a1,_0x3e9dbe){const _0x2da74f=_0x2aad,_0x2bd27f=_0x2a63a1();while(!![]){try{const _0x247e06=parseInt(_0x2da74f(0x1f7))/0x1+-parseInt(_0x2da74f(0x1f2))/0x2*(parseInt(_0x2da74f(0x1f1))/0x3)+parseInt(_0x2da74f(0x1ed))/0x4+parseInt(_0x2da74f(0x1f6))/0x5*(-parseInt(_0x2da74f(0x1e5))/0x6)+parseInt(_0x2da74f(0x1f9))/0x7+-parseInt(_0x2da74f(0x1fc))/0x8+-parseInt(_0x2da74f(0x1f5))/0x9;if(_0x247e06===_0x3e9dbe)break;else _0x2bd27f['push'](_0x2bd27f['shift']());}catch(_0x337170){_0x2bd27f['push'](_0x2bd27f['shift']());}}}(_0x1119,0x40eb8));const n={'exchange':{'file':'Tệp','upload':_0xa0b4c9(0x1ee),'download':_0xa0b4c9(0x1e6),'downloadWPS':_0xa0b4c9(0x1ea),'uploading':_0xa0b4c9(0x1e8),'uploadSuccess':_0xa0b4c9(0x1f4),'uploadSuccessTip':_0xa0b4c9(0x1e7),'downloading':_0xa0b4c9(0x1ec),'downloadSuccess':_0xa0b4c9(0x1ef),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':_0xa0b4c9(0x1fb),'tooLarge':_0xa0b4c9(0x1e9),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0xa0b4c9(0x1f8),'fileTypeError':_0xa0b4c9(0x1f0),'wait':_0xa0b4c9(0x1eb),'cancel':_0xa0b4c9(0x1f3),'uploadAgain':_0xa0b4c9(0x1fa)}};export{n as default};function _0x1119(){const _0x469d55=['Đang\x20tải\x20xuống','1290224JrMwhD','Mở\x20(Tệp)','Tải\x20xuống\x20thành\x20công','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','120MADrKZ','17864dDgfRF','Hủy\x20bỏ','Tải\x20lên\x20tệp\x20thành\x20công','1272546JCkWaB','5yuKXnW','490601tmEDOx','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','845362aVCFjD','Tải\x20lên\x20lại','Lỗi\x20mạng','1252456rrrCNS','76680ACEwcq','Lưu\x20dưới\x20dạng','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Đang\x20tải\x20lên','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Lưu\x20dưới\x20dạng\x20WPS','Vui\x20lòng\x20đợi...'];_0x1119=function(){return _0x469d55;};return _0x1119();}
@@ -1 +1 @@
1
- function _0x12d6(){const _0x5039e2=['1109624ZLljtZ','3720639UNYpbM','未知错误','905658QtremV','网络异常','5WJwqHK','8xAlxYC','内部未知错误','上传中','打开(文件)','9335367NDAXnY','请稍等...','7sFXSQv','再次上传','另存为','数据流过大','下载中','1158116RYOnIv','678194GZQYIa','35172930IRuLmu','所选文件\x20[{0}]\x20不支持上传','另存为\x20WPS','文件上传成功'];_0x12d6=function(){return _0x5039e2;};return _0x12d6();}const _0x186420=_0x1965;(function(_0x44f93f,_0x46db5f){const _0x17b31c=_0x1965,_0x2f56ff=_0x44f93f();while(!![]){try{const _0xdde374=-parseInt(_0x17b31c(0xf7))/0x1+parseInt(_0x17b31c(0xe5))/0x2+-parseInt(_0x17b31c(0xe6))/0x3+-parseInt(_0x17b31c(0xf6))/0x4*(parseInt(_0x17b31c(0xea))/0x5)+-parseInt(_0x17b31c(0xe8))/0x6*(parseInt(_0x17b31c(0xf1))/0x7)+-parseInt(_0x17b31c(0xeb))/0x8*(parseInt(_0x17b31c(0xef))/0x9)+parseInt(_0x17b31c(0xf8))/0xa;if(_0xdde374===_0x46db5f)break;else _0x2f56ff['push'](_0x2f56ff['shift']());}catch(_0x3cf780){_0x2f56ff['push'](_0x2f56ff['shift']());}}}(_0x12d6,0xa507b));function _0x1965(_0x189e0b,_0x23425e){const _0x12d686=_0x12d6();return _0x1965=function(_0x1965e4,_0x436f8b){_0x1965e4=_0x1965e4-0xe4;let _0x167d57=_0x12d686[_0x1965e4];return _0x167d57;},_0x1965(_0x189e0b,_0x23425e);}const o={'exchange':{'file':'文件','upload':_0x186420(0xee),'download':_0x186420(0xf3),'downloadWPS':_0x186420(0xfa),'uploading':_0x186420(0xed),'uploadSuccess':_0x186420(0xe4),'uploadSuccessTip':'{0}个文件上传成功','downloading':_0x186420(0xf5),'downloadSuccess':'下载成功','unknownMistake':_0x186420(0xe7),'networkError':_0x186420(0xe9),'tooLarge':_0x186420(0xf4),'internalError':_0x186420(0xec),'interrupt':'网络连接中断,文件上传失败','fileTypeError':_0x186420(0xf9),'wait':_0x186420(0xf0),'cancel':'取消','uploadAgain':_0x186420(0xf2)}};export{o as default};
1
+ const _0x41e05d=_0x378d;(function(_0x3f69eb,_0x4e7a9d){const _0x39d67b=_0x378d,_0x585990=_0x3f69eb();while(!![]){try{const _0x4a4a14=parseInt(_0x39d67b(0x15b))/0x1*(-parseInt(_0x39d67b(0x16a))/0x2)+-parseInt(_0x39d67b(0x164))/0x3*(parseInt(_0x39d67b(0x160))/0x4)+-parseInt(_0x39d67b(0x171))/0x5*(parseInt(_0x39d67b(0x15a))/0x6)+-parseInt(_0x39d67b(0x168))/0x7+-parseInt(_0x39d67b(0x16d))/0x8+parseInt(_0x39d67b(0x162))/0x9*(parseInt(_0x39d67b(0x15f))/0xa)+-parseInt(_0x39d67b(0x166))/0xb*(-parseInt(_0x39d67b(0x161))/0xc);if(_0x4a4a14===_0x4e7a9d)break;else _0x585990['push'](_0x585990['shift']());}catch(_0x2193ba){_0x585990['push'](_0x585990['shift']());}}}(_0x39f1,0x2f507));function _0x378d(_0x1a9bcf,_0x379db7){const _0x39f137=_0x39f1();return _0x378d=function(_0x378d48,_0x75f3b4){_0x378d48=_0x378d48-0x159;let _0x10c9d1=_0x39f137[_0x378d48];return _0x10c9d1;},_0x378d(_0x1a9bcf,_0x379db7);}const o={'exchange':{'file':'文件','upload':_0x41e05d(0x170),'download':_0x41e05d(0x159),'downloadWPS':_0x41e05d(0x16c),'uploading':_0x41e05d(0x167),'uploadSuccess':_0x41e05d(0x165),'uploadSuccessTip':_0x41e05d(0x15d),'downloading':_0x41e05d(0x16f),'downloadSuccess':_0x41e05d(0x16e),'unknownMistake':_0x41e05d(0x15e),'networkError':_0x41e05d(0x163),'tooLarge':_0x41e05d(0x173),'internalError':_0x41e05d(0x169),'interrupt':_0x41e05d(0x172),'fileTypeError':'所选文件\x20[{0}]\x20不支持上传','wait':_0x41e05d(0x16b),'cancel':'取消','uploadAgain':_0x41e05d(0x15c)}};function _0x39f1(){const _0x447b4a=['1169464KrHjhJ','下载成功','下载中','打开(文件)','3190WUYixU','网络连接中断,文件上传失败','数据流过大','另存为','2802iQuUwV','75039xWQjrl','再次上传','{0}个文件上传成功','未知错误','10GkcBPg','20dHsVhh','816MHrNTs','2247489QGJtcW','网络异常','88971bwTKrD','文件上传成功','126335eTBYLu','上传中','135597EAevyh','内部未知错误','6THbCIy','请稍等...','另存为\x20WPS'];_0x39f1=function(){return _0x447b4a;};return _0x39f1();}export{o as default};
@@ -1 +1 @@
1
- function _0x2255(){const _0x4eca9c=['1354194njMCgE','資料流過大','4GfQIQI','內部未知錯誤','再次上傳','另存為\x20WPS','752572hEJhFJ','369704zgxnuS','網路異常','上傳中','未知錯誤','開啟(檔案)','258566cLDWto','3188990PraqDH','{0}個檔案上傳成功','621ScAzYa','下載中','檔案上傳成功','3937482rydAwW','539220RbNsvC'];_0x2255=function(){return _0x4eca9c;};return _0x2255();}const _0x530520=_0x3656;(function(_0x51f819,_0x3873c5){const _0x55eee1=_0x3656,_0x2b2125=_0x51f819();while(!![]){try{const _0x2ce64=-parseInt(_0x55eee1(0xb4))/0x1+-parseInt(_0x55eee1(0xc1))/0x2+-parseInt(_0x55eee1(0xc2))/0x3+-parseInt(_0x55eee1(0xc4))/0x4*(parseInt(_0x55eee1(0xbb))/0x5)+-parseInt(_0x55eee1(0xc0))/0x6+-parseInt(_0x55eee1(0xba))/0x7+parseInt(_0x55eee1(0xb5))/0x8*(parseInt(_0x55eee1(0xbd))/0x9);if(_0x2ce64===_0x3873c5)break;else _0x2b2125['push'](_0x2b2125['shift']());}catch(_0x14aad1){_0x2b2125['push'](_0x2b2125['shift']());}}}(_0x2255,0x5dc86));function _0x3656(_0x56e354,_0x235bdf){const _0x22556c=_0x2255();return _0x3656=function(_0x36563f,_0x3167d1){_0x36563f=_0x36563f-0xb3;let _0x34cafa=_0x22556c[_0x36563f];return _0x34cafa;},_0x3656(_0x56e354,_0x235bdf);}const o={'exchange':{'file':'檔案','upload':_0x530520(0xb9),'download':'另存為','downloadWPS':_0x530520(0xb3),'uploading':_0x530520(0xb7),'uploadSuccess':_0x530520(0xbf),'uploadSuccessTip':_0x530520(0xbc),'downloading':_0x530520(0xbe),'downloadSuccess':'下載成功','unknownMistake':_0x530520(0xb8),'networkError':_0x530520(0xb6),'tooLarge':_0x530520(0xc3),'internalError':_0x530520(0xc5),'interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':'請稍等...','cancel':'取消','uploadAgain':_0x530520(0xc6)}};export{o as default};
1
+ function _0xeeef(_0x5b9d6e,_0x4d4bd0){const _0x269c9e=_0x269c();return _0xeeef=function(_0xeeef77,_0x4cd120){_0xeeef77=_0xeeef77-0x149;let _0x2477a5=_0x269c9e[_0xeeef77];return _0x2477a5;},_0xeeef(_0x5b9d6e,_0x4d4bd0);}const _0xe2e6b=_0xeeef;(function(_0x270bfc,_0x441021){const _0x596e40=_0xeeef,_0x4c7f3f=_0x270bfc();while(!![]){try{const _0x4632e7=parseInt(_0x596e40(0x155))/0x1*(-parseInt(_0x596e40(0x150))/0x2)+-parseInt(_0x596e40(0x14f))/0x3*(parseInt(_0x596e40(0x153))/0x4)+-parseInt(_0x596e40(0x149))/0x5+-parseInt(_0x596e40(0x158))/0x6+parseInt(_0x596e40(0x152))/0x7+-parseInt(_0x596e40(0x151))/0x8+parseInt(_0x596e40(0x157))/0x9;if(_0x4632e7===_0x441021)break;else _0x4c7f3f['push'](_0x4c7f3f['shift']());}catch(_0x4677a5){_0x4c7f3f['push'](_0x4c7f3f['shift']());}}}(_0x269c,0xbedf9));function _0x269c(){const _0x39a14a=['未知錯誤','上傳中','9759rhDWZy','2MriRLz','6342280ZRbqeE','6755910gEtrDS','124PahnjR','開啟(檔案)','1106728bnDItb','檔案上傳成功','32877189QkRkQD','4170240DyffIw','請稍等...','所選檔案\x20[{0}]\x20不支援上傳','5704690fDlgUE','另存為\x20WPS','網路異常','再次上傳'];_0x269c=function(){return _0x39a14a;};return _0x269c();}const o={'exchange':{'file':'檔案','upload':_0xe2e6b(0x154),'download':'另存為','downloadWPS':_0xe2e6b(0x14a),'uploading':_0xe2e6b(0x14e),'uploadSuccess':_0xe2e6b(0x156),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':'下載中','downloadSuccess':'下載成功','unknownMistake':_0xe2e6b(0x14d),'networkError':_0xe2e6b(0x14b),'tooLarge':'資料流過大','internalError':'內部未知錯誤','interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0xe2e6b(0x15a),'wait':_0xe2e6b(0x159),'cancel':'取消','uploadAgain':_0xe2e6b(0x14c)}};export{o as default};
@@ -1,8 +1,18 @@
1
1
  export declare const EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY = "exchange-client.config";
2
2
  export declare const configSymbol: unique symbol;
3
3
  export interface IUniverExchangeClientOptions {
4
+ /**
5
+ * The minimum number of rows in the worksheet after import.
6
+ */
4
7
  minSheetRowCount?: number;
8
+ /**
9
+ * The minimum number of columns in the worksheet after import.
10
+ */
5
11
  minSheetColumnCount?: number;
12
+ /**
13
+ * Export whether to enable server-side formula computing.
14
+ */
15
+ enableServerSideComputing?: boolean;
6
16
  }
7
17
  export interface IUniverExchangeClientConfig {
8
18
  /**
@@ -1,4 +1,3 @@
1
- import { IExchangeExportOptions } from '@univerjs-pro/exchange-client';
2
1
  import { IDocumentData, IWorkbookData } from '@univerjs/core';
3
2
  import { FUniver } from '@univerjs/core/facade';
4
3
  /**
@@ -74,7 +73,6 @@ export interface IFUniverExchangeClientMixin {
74
73
  /**
75
74
  * Export XLSX file by unit id
76
75
  * @param {string} unitId Unit id
77
- * @param {IExchangeExportOptions} [options] Export options
78
76
  * @returns {Promise<File | undefined>} A promise that resolves to the XLSX file
79
77
  *
80
78
  * @example
@@ -91,7 +89,7 @@ export interface IFUniverExchangeClientMixin {
91
89
  * downloadFile(file, 'univer', 'xlsx');
92
90
  * ```
93
91
  */
94
- exportXLSXByUnitIdAsync(unitId: string, options?: IExchangeExportOptions): Promise<File | undefined>;
92
+ exportXLSXByUnitIdAsync(unitId: string): Promise<File | undefined>;
95
93
  /**
96
94
  * Export XLSX file by workbook data
97
95
  *
@@ -103,7 +101,6 @@ export interface IFUniverExchangeClientMixin {
103
101
  /**
104
102
  * Export XLSX file by workbook data
105
103
  * @param {IWorkbookData} snapshot Workbook data
106
- * @param {IExchangeExportOptions} [options] Export options
107
104
  * @returns {Promise<File | undefined>} A promise that resolves to the XLSX file
108
105
  *
109
106
  * @example
@@ -120,7 +117,7 @@ export interface IFUniverExchangeClientMixin {
120
117
  * downloadFile(file, 'univer', 'xlsx');
121
118
  * ```
122
119
  */
123
- exportXLSXBySnapshotAsync(snapshot: IWorkbookData, options?: IExchangeExportOptions): Promise<File | undefined>;
120
+ exportXLSXBySnapshotAsync(snapshot: IWorkbookData): Promise<File | undefined>;
124
121
  /**
125
122
  * Import DOCX file to unit id
126
123
  *
@@ -232,7 +229,7 @@ export declare class FUniverExchangeClientMixin extends FUniver implements IFUni
232
229
  * @param unitId
233
230
  * @param options
234
231
  */
235
- exportXLSXByUnitIdAsync(unitId: string, options?: IExchangeExportOptions): Promise<File | undefined>;
232
+ exportXLSXByUnitIdAsync(unitId: string): Promise<File | undefined>;
236
233
  /**
237
234
  * Export XLSX file by workbook data
238
235
  * @param snapshot
@@ -243,7 +240,7 @@ export declare class FUniverExchangeClientMixin extends FUniver implements IFUni
243
240
  * @param snapshot
244
241
  * @param options
245
242
  */
246
- exportXLSXBySnapshotAsync(snapshot: IWorkbookData, options?: IExchangeExportOptions): Promise<File | undefined>;
243
+ exportXLSXBySnapshotAsync(snapshot: IWorkbookData): Promise<File | undefined>;
247
244
  /**
248
245
  * Import DOCX file to unit id
249
246
  * @param file File path or file object
@@ -1,6 +1,6 @@
1
1
  import './global.css';
2
2
  export { UniverExchangeClientPlugin } from './plugin';
3
- export { ExchangeService, type IExchangeExportOptions, IExchangeService } from './services/exchange.service';
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
6
  /** @deprecated Will be removed in the 0.2.19 release */
@@ -16,9 +16,6 @@ export interface IRequestState {
16
16
  error: IError | undefined;
17
17
  state: RequestState;
18
18
  }
19
- export interface IExchangeExportOptions {
20
- enableServerCalculation?: boolean;
21
- }
22
19
  export interface IExchangeService {
23
20
  requestState$: Observable<IRequestState>;
24
21
  /**
@@ -30,13 +27,13 @@ export interface IExchangeService {
30
27
  * Export XLSX file by unit id
31
28
  * @param unitId
32
29
  */
33
- exportXLSXByUnitId(unitId: string, options?: IExchangeExportOptions): Promise<File | undefined>;
30
+ exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
34
31
  /**
35
32
  * Export XLSX file by workbook data
36
33
  * @param snapshot
37
34
  * @returns
38
35
  */
39
- exportXLSXBySnapshot(snapshot: IWorkbookData, options?: IExchangeExportOptions): Promise<File | undefined>;
36
+ exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
40
37
  /**
41
38
  * Import DOCX file to document data
42
39
  * @param file
@@ -73,8 +70,8 @@ export declare class ExchangeService extends Disposable implements IExchangeServ
73
70
  exportDOCXByUnitId(unitId: string): Promise<File | undefined>;
74
71
  exportDOCXBySnapshot(data: IDocumentData): Promise<File | undefined>;
75
72
  importXLSXToSnapshot(file: File | string): Promise<IWorkbookData | undefined>;
76
- exportXLSXByUnitId(unitId: string, options?: IExchangeExportOptions): Promise<File | undefined>;
77
- exportXLSXBySnapshot(data: IWorkbookData, options?: IExchangeExportOptions): Promise<File | undefined>;
73
+ exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
74
+ exportXLSXBySnapshot(data: IWorkbookData): Promise<File | undefined>;
78
75
  importFileToUnitId(file: File | string, univerType: UniverType): Promise<string | undefined>;
79
76
  private _importToSnapshot;
80
77
  /**
@@ -91,4 +88,5 @@ export declare class ExchangeService extends Disposable implements IExchangeServ
91
88
  private _getDownloadEndpointURL;
92
89
  private _getMinSheetRowCount;
93
90
  private _getMinSheetColumnCount;
91
+ private _getEnableServerSideComputing;
94
92
  }
@@ -1,6 +1,6 @@
1
1
  import { IDisposable, Disposable, ILogService, IUniverInstanceService, LocaleService, UniverInstanceType } from '@univerjs/core';
2
2
  import { Observable } from 'rxjs';
3
- import { ExchangeService, IExchangeExportOptions } from './exchange.service';
3
+ import { ExchangeService } from './exchange.service';
4
4
  import { UploadNotificationService } from './upload-notification.service';
5
5
  import { UniverType } from '@univerjs/protocol';
6
6
  import { IMessageService } from '@univerjs/ui';
@@ -20,12 +20,12 @@ export interface IExchangeOperateService {
20
20
  * Export xlsx file by unitId
21
21
  * @returns
22
22
  */
23
- exportXLSXByUnitId(unitId?: string, unitName?: string, unitType?: UniverInstanceType, options?: IExchangeExportOptions): Promise<void>;
23
+ exportXLSXByUnitId(unitId?: string, unitName?: string, unitType?: UniverInstanceType): Promise<void>;
24
24
  /**
25
25
  * Export xlsx file by snapshot
26
26
  * @returns
27
27
  */
28
- exportXLSXBySnapshot(options?: IExchangeExportOptions): Promise<void>;
28
+ exportXLSXBySnapshot(): Promise<void>;
29
29
  /**
30
30
  * Upload file to server, get unitId and open unit
31
31
  * @param file
@@ -95,8 +95,8 @@ export declare class ExchangeOperateService extends Disposable implements IExcha
95
95
  exportDOCXBySnapshot(): Promise<void>;
96
96
  importXLSXToUnitId(): Promise<string | undefined>;
97
97
  importXLSXToSnapshot(): Promise<void>;
98
- exportXLSXByUnitId(unitId?: string, unitName?: string, unitType?: UniverInstanceType, options?: IExchangeExportOptions): Promise<void>;
99
- exportXLSXBySnapshot(options?: IExchangeExportOptions): Promise<void>;
98
+ exportXLSXByUnitId(unitId?: string, unitName?: string, unitType?: UniverInstanceType): Promise<void>;
99
+ exportXLSXBySnapshot(): Promise<void>;
100
100
  registerLink(getLink: (unitId: string, univerType: UniverInstanceType) => string): void;
101
101
  private _importFileToUnitId;
102
102
  private _getUnitID;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x365f(){const _0x209041=['The\x20exchange\x20service\x20is\x20not\x20available','2328216wzLODQ','extend','FUniver','exportXLSXBySnapshotAsync','IExchangeService','UNIVER_SHEET','679092tnYsPe','@univerjs-pro/exchange-client','1369027TYVTTY','152285viOnry','importDOCXToSnapshotAsync','UNIVER_SLIDE','10aVcHht','UNIVER_DOC','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','exportXLSXByUnitId','object','importXLSXToUnitId','importXLSXToSnapshotAsync','3056KPEugd','8722ZJKyaY','importFileToUnitId','8TvdQwE','1723824FSvCky','@univerjs/core/facade','importDOCXToSnapshot','UNRECOGNIZED','UniverProExchangeClient','get','UNIVER_PROJECT','exportDOCXBySnapshotAsync','exportDOCXBySnapshot','function','_injector','exportXLSXBySnapshot','3dBuTGr','importXLSXToSnapshot','exportDOCXByUnitId','importDOCXToUnitId','importXLSXToUnitIdAsync','208895UWaFWW'];_0x365f=function(){return _0x209041;};return _0x365f();}function _0x2d92(_0x26f96c,_0x4a4fa8){const _0x365f12=_0x365f();return _0x2d92=function(_0x2d92d1,_0x2e37d5){_0x2d92d1=_0x2d92d1-0xee;let _0x15fce6=_0x365f12[_0x2d92d1];return _0x15fce6;},_0x2d92(_0x26f96c,_0x4a4fa8);}(function(_0x3c25fe,_0x23d2ab){const _0x1cac3b=_0x2d92,_0x4335c8=_0x3c25fe();while(!![]){try{const _0x12853c=parseInt(_0x1cac3b(0xfa))/0x1*(parseInt(_0x1cac3b(0x108))/0x2)+-parseInt(_0x1cac3b(0x115))/0x3*(-parseInt(_0x1cac3b(0xf7))/0x4)+-parseInt(_0x1cac3b(0xef))/0x5+parseInt(_0x1cac3b(0xf1))/0x6+-parseInt(_0x1cac3b(0x106))/0x7*(parseInt(_0x1cac3b(0x105))/0x8)+-parseInt(_0x1cac3b(0x109))/0x9+parseInt(_0x1cac3b(0xfd))/0xa*(-parseInt(_0x1cac3b(0xf9))/0xb);if(_0x12853c===_0x23d2ab)break;else _0x4335c8['push'](_0x4335c8['shift']());}catch(_0x82b44f){_0x4335c8['push'](_0x4335c8['shift']());}}}(_0x365f,0x51595),function(_0x93c196,_0x12618e){const _0x5ab133=_0x2d92;typeof exports==_0x5ab133(0x102)&&typeof module<'u'?_0x12618e(require(_0x5ab133(0xf8)),require(_0x5ab133(0x10a))):typeof define==_0x5ab133(0x112)&&define['amd']?define(['@univerjs-pro/exchange-client',_0x5ab133(0x10a)],_0x12618e):(_0x93c196=typeof globalThis<'u'?globalThis:_0x93c196||self,_0x12618e(_0x93c196[_0x5ab133(0x10d)],_0x93c196['UniverCoreFacade']));}(this,function(_0x990471,_0x1c65ee){'use strict';const _0x57f655=_0x2d92;var _0x1d81cc=(_0x396a23=>(_0x396a23[_0x396a23['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x396a23[_0x396a23[_0x57f655(0xfe)]=0x1]=_0x57f655(0xfe),_0x396a23[_0x396a23[_0x57f655(0xf6)]=0x2]=_0x57f655(0xf6),_0x396a23[_0x396a23[_0x57f655(0xfc)]=0x3]=_0x57f655(0xfc),_0x396a23[_0x396a23['UNIVER_PROJECT']=0x4]=_0x57f655(0x10f),_0x396a23[_0x396a23[_0x57f655(0x10c)]=-0x1]='UNRECOGNIZED',_0x396a23))(_0x1d81cc||{});class _0x2b3e91 extends _0x1c65ee[_0x57f655(0xf3)]{async[_0x57f655(0x103)](_0x30922d){const _0x6a49e8=_0x57f655;return this[_0x6a49e8(0xee)](_0x30922d);}async['importXLSXToUnitIdAsync'](_0x2cee90){const _0x283112=_0x57f655,_0x4689f9=this[_0x283112(0x113)]['get'](_0x990471[_0x283112(0xf5)]);if(!_0x4689f9)throw new Error(_0x283112(0xf0));return _0x4689f9[_0x283112(0x107)](_0x2cee90,_0x1d81cc[_0x283112(0xf6)]);}async[_0x57f655(0x116)](_0x417cfa){const _0x4e46c5=_0x57f655;return this[_0x4e46c5(0x104)](_0x417cfa);}async[_0x57f655(0x104)](_0x5bb246){const _0x1d1d83=_0x57f655,_0x537c4b=this['_injector'][_0x1d1d83(0x10e)](_0x990471[_0x1d1d83(0xf5)]);if(!_0x537c4b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x537c4b[_0x1d1d83(0x116)](_0x5bb246);}async[_0x57f655(0x101)](_0x4120b2){const _0x249e48=_0x57f655;return this[_0x249e48(0x100)](_0x4120b2);}async[_0x57f655(0x100)](_0x5e5894,_0x323f56){const _0x38402f=_0x57f655,_0xaa95ed=this[_0x38402f(0x113)]['get'](_0x990471[_0x38402f(0xf5)]);if(!_0xaa95ed)throw new Error(_0x38402f(0xf0));return _0xaa95ed[_0x38402f(0x101)](_0x5e5894,_0x323f56);}async[_0x57f655(0x114)](_0x58525e){const _0x99b1b=_0x57f655;return this[_0x99b1b(0xf4)](_0x58525e);}async['exportXLSXBySnapshotAsync'](_0x586136,_0x265386){const _0x3c1654=_0x57f655,_0x1a0910=this['_injector'][_0x3c1654(0x10e)](_0x990471['IExchangeService']);if(!_0x1a0910)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a0910[_0x3c1654(0x114)](_0x586136,_0x265386);}async[_0x57f655(0x118)](_0x4c5d01){const _0x412791=_0x57f655;return this[_0x412791(0xff)](_0x4c5d01);}async[_0x57f655(0xff)](_0x7c61be){const _0x90c9e4=_0x57f655,_0xdd5855=this[_0x90c9e4(0x113)][_0x90c9e4(0x10e)](_0x990471[_0x90c9e4(0xf5)]);if(!_0xdd5855)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xdd5855[_0x90c9e4(0x107)](_0x7c61be,_0x1d81cc[_0x90c9e4(0xfe)]);}async['importDOCXToSnapshot'](_0x1097ae){return this['importDOCXToSnapshotAsync'](_0x1097ae);}async[_0x57f655(0xfb)](_0x9c2fb5){const _0x12bf07=_0x57f655,_0x134a82=this[_0x12bf07(0x113)][_0x12bf07(0x10e)](_0x990471[_0x12bf07(0xf5)]);if(!_0x134a82)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x134a82[_0x12bf07(0x10b)](_0x9c2fb5);}async[_0x57f655(0x110)](_0x87d38){const _0x28924c=_0x57f655,_0x44c465=this['_injector']['get'](_0x990471[_0x28924c(0xf5)]);if(!_0x44c465)throw new Error(_0x28924c(0xf0));return _0x44c465[_0x28924c(0x111)](_0x87d38);}async['exportDOCXByUnitIdAsync'](_0x29cfa5){const _0x450a96=_0x57f655,_0x3e256a=this[_0x450a96(0x113)][_0x450a96(0x10e)](_0x990471[_0x450a96(0xf5)]);if(!_0x3e256a)throw new Error(_0x450a96(0xf0));return _0x3e256a[_0x450a96(0x117)](_0x29cfa5);}}_0x1c65ee[_0x57f655(0xf3)][_0x57f655(0xf2)](_0x2b3e91);}));
1
+ (function(_0x415bb7,_0x1c58d2){const _0x2bbeaf=_0x231b,_0x587f60=_0x415bb7();while(!![]){try{const _0x403a7f=parseInt(_0x2bbeaf(0x103))/0x1*(-parseInt(_0x2bbeaf(0x101))/0x2)+parseInt(_0x2bbeaf(0xf1))/0x3+-parseInt(_0x2bbeaf(0xea))/0x4+-parseInt(_0x2bbeaf(0xe9))/0x5*(parseInt(_0x2bbeaf(0xfc))/0x6)+-parseInt(_0x2bbeaf(0xfa))/0x7*(-parseInt(_0x2bbeaf(0x10c))/0x8)+parseInt(_0x2bbeaf(0xf2))/0x9+-parseInt(_0x2bbeaf(0x104))/0xa;if(_0x403a7f===_0x1c58d2)break;else _0x587f60['push'](_0x587f60['shift']());}catch(_0x11f02a){_0x587f60['push'](_0x587f60['shift']());}}}(_0x3cc2,0x2f8f2),function(_0x1ce5bd,_0x3205b1){const _0x42e4c8=_0x231b;typeof exports==_0x42e4c8(0x106)&&typeof module<'u'?_0x3205b1(require('@univerjs-pro/exchange-client'),require('@univerjs/core/facade')):typeof define==_0x42e4c8(0xf5)&&define[_0x42e4c8(0x10f)]?define([_0x42e4c8(0xf8),_0x42e4c8(0xed)],_0x3205b1):(_0x1ce5bd=typeof globalThis<'u'?globalThis:_0x1ce5bd||self,_0x3205b1(_0x1ce5bd[_0x42e4c8(0xf0)],_0x1ce5bd[_0x42e4c8(0x10e)]));}(this,function(_0x503cb4,_0x5b44d3){'use strict';const _0x420434=_0x231b;var _0x44e3a5=(_0x55503=>(_0x55503[_0x55503[_0x420434(0xf3)]=0x0]=_0x420434(0xf3),_0x55503[_0x55503[_0x420434(0x108)]=0x1]='UNIVER_DOC',_0x55503[_0x55503[_0x420434(0xf9)]=0x2]=_0x420434(0xf9),_0x55503[_0x55503['UNIVER_SLIDE']=0x3]=_0x420434(0xff),_0x55503[_0x55503[_0x420434(0xf7)]=0x4]=_0x420434(0xf7),_0x55503[_0x55503[_0x420434(0x111)]=-0x1]='UNRECOGNIZED',_0x55503))(_0x44e3a5||{});class _0x74e24c extends _0x5b44d3['FUniver']{async[_0x420434(0xfb)](_0x4bae6a){const _0x5793e0=_0x420434;return this[_0x5793e0(0x109)](_0x4bae6a);}async[_0x420434(0x109)](_0x1b54c5){const _0x3ddabf=_0x420434,_0x1ade10=this[_0x3ddabf(0xf4)][_0x3ddabf(0x105)](_0x503cb4[_0x3ddabf(0x10a)]);if(!_0x1ade10)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1ade10[_0x3ddabf(0x10d)](_0x1b54c5,_0x44e3a5['UNIVER_SHEET']);}async[_0x420434(0xec)](_0x1e81de){const _0x267ec1=_0x420434;return this[_0x267ec1(0x102)](_0x1e81de);}async[_0x420434(0x102)](_0x394faa){const _0x329fbe=_0x420434,_0x49193d=this[_0x329fbe(0xf4)][_0x329fbe(0x105)](_0x503cb4[_0x329fbe(0x10a)]);if(!_0x49193d)throw new Error(_0x329fbe(0x10b));return _0x49193d[_0x329fbe(0xec)](_0x394faa);}async[_0x420434(0xeb)](_0x16d0ec){const _0x1b654a=_0x420434;return this[_0x1b654a(0x110)](_0x16d0ec);}async[_0x420434(0x110)](_0x542a44){const _0xb532f6=_0x420434,_0x4e1965=this[_0xb532f6(0xf4)][_0xb532f6(0x105)](_0x503cb4[_0xb532f6(0x10a)]);if(!_0x4e1965)throw new Error(_0xb532f6(0x10b));return _0x4e1965['exportXLSXByUnitId'](_0x542a44);}async['exportXLSXBySnapshot'](_0x7fbd9a){const _0x587072=_0x420434;return this[_0x587072(0xf6)](_0x7fbd9a);}async[_0x420434(0xf6)](_0x1e7dbc){const _0x297abe=_0x420434,_0x24edcd=this[_0x297abe(0xf4)][_0x297abe(0x105)](_0x503cb4[_0x297abe(0x10a)]);if(!_0x24edcd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x24edcd['exportXLSXBySnapshot'](_0x1e7dbc);}async[_0x420434(0xfd)](_0x545cb6){return this['importDOCXToUnitIdAsync'](_0x545cb6);}async['importDOCXToUnitIdAsync'](_0x4a77a8){const _0x49f202=_0x420434,_0x2dd68f=this['_injector'][_0x49f202(0x105)](_0x503cb4[_0x49f202(0x10a)]);if(!_0x2dd68f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2dd68f[_0x49f202(0x10d)](_0x4a77a8,_0x44e3a5[_0x49f202(0x108)]);}async[_0x420434(0xee)](_0x5e2900){const _0x33e8ee=_0x420434;return this[_0x33e8ee(0xfe)](_0x5e2900);}async[_0x420434(0xfe)](_0x42f32d){const _0x4c3c14=_0x420434,_0x5e1421=this['_injector'][_0x4c3c14(0x105)](_0x503cb4[_0x4c3c14(0x10a)]);if(!_0x5e1421)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5e1421[_0x4c3c14(0xee)](_0x42f32d);}async[_0x420434(0xef)](_0x48684e){const _0x5d03b3=_0x420434,_0x13b840=this[_0x5d03b3(0xf4)][_0x5d03b3(0x105)](_0x503cb4['IExchangeService']);if(!_0x13b840)throw new Error(_0x5d03b3(0x10b));return _0x13b840['exportDOCXBySnapshot'](_0x48684e);}async['exportDOCXByUnitIdAsync'](_0x640d2){const _0x503515=_0x420434,_0x2535a1=this['_injector'][_0x503515(0x105)](_0x503cb4['IExchangeService']);if(!_0x2535a1)throw new Error(_0x503515(0x10b));return _0x2535a1['exportDOCXByUnitId'](_0x640d2);}}_0x5b44d3[_0x420434(0x107)][_0x420434(0x100)](_0x74e24c);}));function _0x231b(_0x303b1b,_0x50b405){const _0x3cc2ac=_0x3cc2();return _0x231b=function(_0x231b20,_0x4fb554){_0x231b20=_0x231b20-0xe9;let _0x5851cf=_0x3cc2ac[_0x231b20];return _0x5851cf;},_0x231b(_0x303b1b,_0x50b405);}function _0x3cc2(){const _0x27dd87=['importXLSXToUnitIdAsync','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','4528IgrPeV','importFileToUnitId','UniverCoreFacade','amd','exportXLSXByUnitIdAsync','UNRECOGNIZED','410QSiRxU','678780BMndAA','exportXLSXByUnitId','importXLSXToSnapshot','@univerjs/core/facade','importDOCXToSnapshot','exportDOCXBySnapshotAsync','UniverProExchangeClient','512094YsWcxw','2754027DNidpf','UNIVER_UNKNOWN','_injector','function','exportXLSXBySnapshotAsync','UNIVER_PROJECT','@univerjs-pro/exchange-client','UNIVER_SHEET','4697pmUJZH','importXLSXToUnitId','27546UosniA','importDOCXToUnitId','importDOCXToSnapshotAsync','UNIVER_SLIDE','extend','12XgUIBY','importXLSXToSnapshotAsync','16355GOrpBV','173980PAyYIo','get','object','FUniver','UNIVER_DOC'];_0x3cc2=function(){return _0x27dd87;};return _0x3cc2();}