@univerjs-pro/exchange-client 1.0.0-alpha.3 → 1.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.css +0 -4
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/config/config.d.ts +0 -4
  66. package/lib/types/controllers/components.controller.d.ts +7 -0
  67. package/lib/types/controllers/exchange.controller.d.ts +3 -5
  68. package/lib/types/facade/f-univer.d.ts +45 -16
  69. package/lib/types/index.d.ts +2 -1
  70. package/lib/types/services/exchange.service.d.ts +16 -2
  71. package/lib/types/services/request.service.d.ts +0 -2
  72. package/lib/types/services/utils/content-type.d.ts +1 -0
  73. package/lib/types/services/utils/snapshot.d.ts +6 -2
  74. package/lib/types/services/utils/tool.d.ts +1 -0
  75. package/lib/umd/facade.js +1 -1
  76. package/lib/umd/index.js +1 -1
  77. package/lib/umd/locale/ar-SA.js +1 -1
  78. package/lib/umd/locale/ca-ES.js +1 -1
  79. package/lib/umd/locale/de-DE.js +1 -1
  80. package/lib/umd/locale/en-US.js +1 -1
  81. package/lib/umd/locale/es-ES.js +1 -1
  82. package/lib/umd/locale/fa-IR.js +1 -1
  83. package/lib/umd/locale/fr-FR.js +1 -1
  84. package/lib/umd/locale/id-ID.js +1 -1
  85. package/lib/umd/locale/it-IT.js +1 -1
  86. package/lib/umd/locale/ja-JP.js +1 -1
  87. package/lib/umd/locale/ko-KR.js +1 -1
  88. package/lib/umd/locale/pl-PL.js +1 -1
  89. package/lib/umd/locale/pt-BR.js +1 -1
  90. package/lib/umd/locale/ru-RU.js +1 -1
  91. package/lib/umd/locale/sk-SK.js +1 -1
  92. package/lib/umd/locale/vi-VN.js +1 -1
  93. package/lib/umd/locale/zh-CN.js +1 -1
  94. package/lib/umd/locale/zh-HK.js +1 -1
  95. package/lib/umd/locale/zh-TW.js +1 -1
  96. package/package.json +13 -12
@@ -1 +1 @@
1
- function _0x26d3(_0x52efec,_0x22915b){_0x52efec=_0x52efec-0x9e;const _0x31bf85=_0x31bf();let _0x26d392=_0x31bf85[_0x52efec];return _0x26d392;}function _0x31bf(){const _0x5326ed=['Arquivo\x20enviado\x20com\x20sucesso','60qaiMWJ','Erro\x20desconhecido','Enviando','51293vUsNkz','90DdFNnK','Baixando','231352vAXidq','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','Aguarde...','14PDDxZx','4314174OdOTSG','312mGTSvf','Erro\x20interno\x20desconhecido','18852dFcZWe','Cancelar','Erro\x20de\x20rede','Download\x20concluído\x20com\x20sucesso','174080miTQGv','1742250JJQUvR','Os\x20dados\x20são\x20muito\x20grandes','29393hfeTrq','11693Vvaasi'];_0x31bf=function(){return _0x5326ed;};return _0x31bf();}const _0x110a79=_0x26d3;(function(_0x51805e,_0x403879){const _0x5d2480=_0x26d3,_0x587355=_0x51805e();while(!![]){try{const _0x4844f2=parseInt(_0x5d2480(0xac))/0x1*(-parseInt(_0x5d2480(0xb2))/0x2)+-parseInt(_0x5d2480(0xb3))/0x3+parseInt(_0x5d2480(0xa3))/0x4*(parseInt(_0x5d2480(0xa9))/0x5)+-parseInt(_0x5d2480(0xb4))/0x6*(-parseInt(_0x5d2480(0xa6))/0x7)+parseInt(_0x5d2480(0xaf))/0x8*(parseInt(_0x5d2480(0xad))/0x9)+-parseInt(_0x5d2480(0xa4))/0xa+-parseInt(_0x5d2480(0xa7))/0xb*(-parseInt(_0x5d2480(0x9f))/0xc);if(_0x4844f2===_0x403879)break;else _0x587355['push'](_0x587355['shift']());}catch(_0x24d1f6){_0x587355['push'](_0x587355['shift']());}}}(_0x31bf,0xb1d61));const e={'exchange-client':{'uploading':_0x110a79(0xab),'uploadSuccess':_0x110a79(0xa8),'uploadSuccessTip':'{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','downloading':_0x110a79(0xae),'downloadSuccess':_0x110a79(0xa2),'unknownMistake':_0x110a79(0xaa),'networkError':_0x110a79(0xa1),'tooLarge':_0x110a79(0xa5),'internalError':_0x110a79(0x9e),'interrupt':_0x110a79(0xb0),'fileTypeError':'O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','wait':_0x110a79(0xb1),'cancel':_0x110a79(0xa0),'uploadAgain':'Enviar\x20novamente'}};export{e as default};
1
+ const _0x154854=_0xf121;(function(_0x6c69d2,_0x388edb){const _0x499ad3=_0xf121,_0x4e3fec=_0x6c69d2();while(!![]){try{const _0x5be650=-parseInt(_0x499ad3(0x10d))/0x1+parseInt(_0x499ad3(0x114))/0x2*(parseInt(_0x499ad3(0x10c))/0x3)+parseInt(_0x499ad3(0x10e))/0x4+parseInt(_0x499ad3(0x111))/0x5+parseInt(_0x499ad3(0x115))/0x6*(-parseInt(_0x499ad3(0x116))/0x7)+parseInt(_0x499ad3(0x119))/0x8+-parseInt(_0x499ad3(0x11c))/0x9*(parseInt(_0x499ad3(0x11a))/0xa);if(_0x5be650===_0x388edb)break;else _0x4e3fec['push'](_0x4e3fec['shift']());}catch(_0x28053c){_0x4e3fec['push'](_0x4e3fec['shift']());}}}(_0x1f5c,0x6062a));const e={'exchange-client':{'uploading':'Enviando','uploadSuccess':'Arquivo\x20enviado\x20com\x20sucesso','uploadSuccessTip':_0x154854(0x118),'downloading':'Baixando','downloadSuccess':'Download\x20concluído\x20com\x20sucesso','unknownMistake':_0x154854(0x117),'networkError':'Erro\x20de\x20rede','tooLarge':'Os\x20dados\x20são\x20muito\x20grandes','internalError':_0x154854(0x112),'interrupt':_0x154854(0x110),'fileTypeError':_0x154854(0x10f),'wait':'Aguarde...','cancel':_0x154854(0x11b),'uploadAgain':_0x154854(0x113)}};function _0xf121(_0x3c29c0,_0x42d1df){_0x3c29c0=_0x3c29c0-0x10c;const _0x1f5c6f=_0x1f5c();let _0xf121f8=_0x1f5c6f[_0x3c29c0];return _0xf121f8;}export{e as default};function _0x1f5c(){const _0x15e315=['175023QjGHXH','1115008xOMuGi','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','2383015NzinhN','Erro\x20interno\x20desconhecido','Enviar\x20novamente','2acEhPN','708KgZDnz','36883oZJaYJ','Erro\x20desconhecido','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','4453544BmXtps','6936950pDmXmC','Cancelar','9DlTzgT','1719618lcohUF'];_0x1f5c=function(){return _0x15e315;};return _0x1f5c();}
@@ -1 +1 @@
1
- const _0x29bd01=_0xebb9;function _0x278e(){const _0x73dc98=['2653884TYlxXb','10JZUACB','348316LMmssK','Данные\x20слишком\x20большие','85356HJRvRE','Внутренняя\x20неизвестная\x20ошибка','Пожалуйста,\x20подождите...','478454dwxoIb','Файл\x20успешно\x20загружен','Скачивание\x20успешно','119147hKIQOt','1bnSzNL','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Загрузить\x20снова','Загрузка','84JbqJXl','Скачивание','3932472QPRlcq','17237890njdEmb'];_0x278e=function(){return _0x73dc98;};return _0x278e();}(function(_0x47848d,_0x4c705f){const _0x3a4aca=_0xebb9,_0x99148c=_0x47848d();while(!![]){try{const _0x382373=-parseInt(_0x3a4aca(0x185))/0x1*(parseInt(_0x3a4aca(0x181))/0x2)+-parseInt(_0x3a4aca(0x17e))/0x3+-parseInt(_0x3a4aca(0x17c))/0x4*(-parseInt(_0x3a4aca(0x17b))/0x5)+parseInt(_0x3a4aca(0x176))/0x6*(-parseInt(_0x3a4aca(0x184))/0x7)+-parseInt(_0x3a4aca(0x178))/0x8+-parseInt(_0x3a4aca(0x17a))/0x9+parseInt(_0x3a4aca(0x179))/0xa;if(_0x382373===_0x4c705f)break;else _0x99148c['push'](_0x99148c['shift']());}catch(_0x2c97d9){_0x99148c['push'](_0x99148c['shift']());}}}(_0x278e,0x93d63));const e={'exchange-client':{'uploading':_0x29bd01(0x175),'uploadSuccess':_0x29bd01(0x182),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x29bd01(0x177),'downloadSuccess':_0x29bd01(0x183),'unknownMistake':'Неизвестная\x20ошибка','networkError':'Сетевая\x20ошибка','tooLarge':_0x29bd01(0x17d),'internalError':_0x29bd01(0x17f),'interrupt':_0x29bd01(0x186),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x29bd01(0x180),'cancel':'Отмена','uploadAgain':_0x29bd01(0x187)}};function _0xebb9(_0x4e097c,_0x308d95){_0x4e097c=_0x4e097c-0x175;const _0x278e56=_0x278e();let _0xebb9a7=_0x278e56[_0x4e097c];return _0xebb9a7;}export{e as default};
1
+ function _0x1e7c(_0x1e9244,_0x2f96f2){_0x1e9244=_0x1e9244-0x195;const _0x30c9d4=_0x30c9();let _0x1e7c5a=_0x30c9d4[_0x1e9244];return _0x1e7c5a;}const _0x1d64a9=_0x1e7c;(function(_0x4b60d2,_0x5ec665){const _0x5f0470=_0x1e7c,_0x556fff=_0x4b60d2();while(!![]){try{const _0x5b8172=-parseInt(_0x5f0470(0x1ab))/0x1+parseInt(_0x5f0470(0x1a4))/0x2*(-parseInt(_0x5f0470(0x19b))/0x3)+parseInt(_0x5f0470(0x1ac))/0x4+parseInt(_0x5f0470(0x19e))/0x5*(parseInt(_0x5f0470(0x19d))/0x6)+parseInt(_0x5f0470(0x19a))/0x7*(-parseInt(_0x5f0470(0x19c))/0x8)+-parseInt(_0x5f0470(0x195))/0x9*(parseInt(_0x5f0470(0x198))/0xa)+parseInt(_0x5f0470(0x197))/0xb*(parseInt(_0x5f0470(0x196))/0xc);if(_0x5b8172===_0x5ec665)break;else _0x556fff['push'](_0x556fff['shift']());}catch(_0x567cb1){_0x556fff['push'](_0x556fff['shift']());}}}(_0x30c9,0xadba2));function _0x30c9(){const _0x46b1ff=['2964LcyHEa','106612YISFdF','2302110BeBnSY','Данные\x20слишком\x20большие','28hdjAfz','454221xahaUu','1083128onusIi','7589490zPAwOw','5PjhrGb','Скачивание\x20успешно','Неизвестная\x20ошибка','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Загрузка','Загрузить\x20снова','2prkORz','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Сетевая\x20ошибка','Пожалуйста,\x20подождите...','Внутренняя\x20неизвестная\x20ошибка','Отмена','Скачивание','1246084cPuEcl','571428GxFLFW','45PKEgBa'];_0x30c9=function(){return _0x46b1ff;};return _0x30c9();}const e={'exchange-client':{'uploading':_0x1d64a9(0x1a2),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0x1d64a9(0x1a5),'downloading':_0x1d64a9(0x1aa),'downloadSuccess':_0x1d64a9(0x19f),'unknownMistake':_0x1d64a9(0x1a0),'networkError':_0x1d64a9(0x1a6),'tooLarge':_0x1d64a9(0x199),'internalError':_0x1d64a9(0x1a8),'interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':_0x1d64a9(0x1a1),'wait':_0x1d64a9(0x1a7),'cancel':_0x1d64a9(0x1a9),'uploadAgain':_0x1d64a9(0x1a3)}};export{e as default};
@@ -1 +1 @@
1
- const _0x44d5d3=_0x3e64;function _0x3e64(_0xcc8da7,_0x566291){_0xcc8da7=_0xcc8da7-0xf3;const _0x497367=_0x4973();let _0x3e64bf=_0x497367[_0xcc8da7];return _0x3e64bf;}(function(_0x396e2a,_0x4f6235){const _0x5359fa=_0x3e64,_0xa13cd8=_0x396e2a();while(!![]){try{const _0x1625d4=parseInt(_0x5359fa(0x107))/0x1*(-parseInt(_0x5359fa(0x106))/0x2)+parseInt(_0x5359fa(0xfe))/0x3+parseInt(_0x5359fa(0x103))/0x4*(parseInt(_0x5359fa(0xf8))/0x5)+parseInt(_0x5359fa(0xff))/0x6*(parseInt(_0x5359fa(0xfb))/0x7)+parseInt(_0x5359fa(0x105))/0x8*(-parseInt(_0x5359fa(0xf5))/0x9)+-parseInt(_0x5359fa(0xf6))/0xa*(parseInt(_0x5359fa(0xf4))/0xb)+parseInt(_0x5359fa(0x108))/0xc;if(_0x1625d4===_0x4f6235)break;else _0xa13cd8['push'](_0xa13cd8['shift']());}catch(_0x2e9b9b){_0xa13cd8['push'](_0xa13cd8['shift']());}}}(_0x4973,0xa9ee1));function _0x4973(){const _0x26a57e=['4941321wdbbRd','Prosím\x20počkajte...','Dáta\x20sú\x20príliš\x20veľké','12786UjUiaA','6bGDQpd','Úspešne\x20nahraných\x20{0}\x20súborov','Interná\x20neznáma\x20chyba','Zrušiť','6880VrrpRQ','Sťahovanie\x20úspešné','41176tbCVQs','2PEuDFY','1257854DhKBde','5446116kSMkah','Súbor\x20bol\x20úspešne\x20nahraný','Nahrávanie','25773AEqxqW','333RwvnXA','940JkxZnA','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','3490sxgqif','Nahrať\x20znova','Neznáma\x20chyba'];_0x4973=function(){return _0x26a57e;};return _0x4973();}const e={'exchange-client':{'uploading':_0x44d5d3(0xf3),'uploadSuccess':_0x44d5d3(0x109),'uploadSuccessTip':_0x44d5d3(0x100),'downloading':'Sťahovanie','downloadSuccess':_0x44d5d3(0x104),'unknownMistake':_0x44d5d3(0xfa),'networkError':'Sieťová\x20chyba','tooLarge':_0x44d5d3(0xfd),'internalError':_0x44d5d3(0x101),'interrupt':_0x44d5d3(0xf7),'fileTypeError':'Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','wait':_0x44d5d3(0xfc),'cancel':_0x44d5d3(0x102),'uploadAgain':_0x44d5d3(0xf9)}};export{e as default};
1
+ const _0x646549=_0x1366;function _0x1366(_0x5d22af,_0x1b5da8){_0x5d22af=_0x5d22af-0x7b;const _0x19e11c=_0x19e1();let _0x1366e8=_0x19e11c[_0x5d22af];return _0x1366e8;}(function(_0x4f8c49,_0x1e38a7){const _0x255964=_0x1366,_0x39d606=_0x4f8c49();while(!![]){try{const _0x15ff1c=parseInt(_0x255964(0x7b))/0x1*(-parseInt(_0x255964(0x81))/0x2)+parseInt(_0x255964(0x80))/0x3+-parseInt(_0x255964(0x8a))/0x4+-parseInt(_0x255964(0x89))/0x5+parseInt(_0x255964(0x8d))/0x6*(-parseInt(_0x255964(0x8b))/0x7)+-parseInt(_0x255964(0x83))/0x8+parseInt(_0x255964(0x85))/0x9*(parseInt(_0x255964(0x7e))/0xa);if(_0x15ff1c===_0x1e38a7)break;else _0x39d606['push'](_0x39d606['shift']());}catch(_0x51cbd4){_0x39d606['push'](_0x39d606['shift']());}}}(_0x19e1,0x83406));function _0x19e1(){const _0xc22cfd=['Nahrať\x20znova','Súbor\x20bol\x20úspešne\x20nahraný','3805765wklvhd','2607104MzkMtr','3479afmdhc','Sťahovanie','1818NUhZxs','Prosím\x20počkajte...','Nahrávanie','Úspešne\x20nahraných\x20{0}\x20súborov','499033HeuvOL','Dáta\x20sú\x20príliš\x20veľké','Sťahovanie\x20úspešné','873280KLSDOJ','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','1120497vVBzGR','4LAvcGk','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','4742168KaekKB','Interná\x20neznáma\x20chyba','342VcrXWu','Sieťová\x20chyba'];_0x19e1=function(){return _0xc22cfd;};return _0x19e1();}const e={'exchange-client':{'uploading':_0x646549(0x8f),'uploadSuccess':_0x646549(0x88),'uploadSuccessTip':_0x646549(0x90),'downloading':_0x646549(0x8c),'downloadSuccess':_0x646549(0x7d),'unknownMistake':'Neznáma\x20chyba','networkError':_0x646549(0x86),'tooLarge':_0x646549(0x7c),'internalError':_0x646549(0x84),'interrupt':_0x646549(0x7f),'fileTypeError':_0x646549(0x82),'wait':_0x646549(0x8e),'cancel':'Zrušiť','uploadAgain':_0x646549(0x87)}};export{e as default};
@@ -1 +1 @@
1
- function _0x55ca(_0x44a5c4,_0xcfe6e7){_0x44a5c4=_0x44a5c4-0x1df;const _0x503434=_0x5034();let _0x55ca26=_0x503434[_0x44a5c4];return _0x55ca26;}const _0xe8fdd1=_0x55ca;function _0x5034(){const _0x225a10=['Lỗi\x20không\x20xác\x20định','6PmeBfq','Vui\x20lòng\x20đợi...','4013065PpCoRB','2BlQReq','Tải\x20xuống\x20thành\x20công','122454UrOnFp','58625196TpIVJI','Đang\x20tải\x20xuống','10DHjvbP','4943995BtGnqw','12842643GUzbMh','977249WCucxh','8QwMSlN','Tải\x20lên\x20lại','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','4834521nsRTzO','8jTYnVs','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Hủy\x20bỏ','Đang\x20tải\x20lên'];_0x5034=function(){return _0x225a10;};return _0x5034();}(function(_0x329b1b,_0x244856){const _0x522c83=_0x55ca,_0x434fcb=_0x329b1b();while(!![]){try{const _0xb4e68d=-parseInt(_0x522c83(0x1e1))/0x1*(parseInt(_0x522c83(0x1ef))/0x2)+-parseInt(_0x522c83(0x1f1))/0x3*(parseInt(_0x522c83(0x1e2))/0x4)+-parseInt(_0x522c83(0x1ee))/0x5+parseInt(_0x522c83(0x1ec))/0x6*(-parseInt(_0x522c83(0x1df))/0x7)+parseInt(_0x522c83(0x1e6))/0x8*(-parseInt(_0x522c83(0x1e5))/0x9)+parseInt(_0x522c83(0x1f4))/0xa*(-parseInt(_0x522c83(0x1e0))/0xb)+parseInt(_0x522c83(0x1f2))/0xc;if(_0xb4e68d===_0x244856)break;else _0x434fcb['push'](_0x434fcb['shift']());}catch(_0x381020){_0x434fcb['push'](_0x434fcb['shift']());}}}(_0x5034,0x95a68));const e={'exchange-client':{'uploading':_0xe8fdd1(0x1ea),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':'{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','downloading':_0xe8fdd1(0x1f3),'downloadSuccess':_0xe8fdd1(0x1f0),'unknownMistake':_0xe8fdd1(0x1eb),'networkError':'Lỗi\x20mạng','tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0xe8fdd1(0x1e7),'interrupt':_0xe8fdd1(0x1e8),'fileTypeError':_0xe8fdd1(0x1e4),'wait':_0xe8fdd1(0x1ed),'cancel':_0xe8fdd1(0x1e9),'uploadAgain':_0xe8fdd1(0x1e3)}};export{e as default};
1
+ function _0x4e9e(){const _0x1b0916=['{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','31785HDNDec','9wSmlAD','6756ZuQjgC','Hủy\x20bỏ','5156525iNcxgg','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Vui\x20lòng\x20đợi...','Đang\x20tải\x20xuống','1188158LsMxoX','8eOGScd','245571tUycfW','Lỗi\x20không\x20xác\x20định','1DksoZP','12077930FXxVmc','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Đang\x20tải\x20lên','3604769xJbqOV','60uHfNbd','2302818XkGANF','Tải\x20lên\x20tệp\x20thành\x20công','15TdKBpq'];_0x4e9e=function(){return _0x1b0916;};return _0x4e9e();}const _0x27b03b=_0x1bab;(function(_0x33b315,_0x320230){const _0x4e2477=_0x1bab,_0x1b8eb6=_0x33b315();while(!![]){try{const _0x3a1958=parseInt(_0x4e2477(0x6c))/0x1*(-parseInt(_0x4e2477(0x68))/0x2)+parseInt(_0x4e2477(0x6a))/0x3*(parseInt(_0x4e2477(0x71))/0x4)+parseInt(_0x4e2477(0x74))/0x5*(parseInt(_0x4e2477(0x72))/0x6)+-parseInt(_0x4e2477(0x70))/0x7*(parseInt(_0x4e2477(0x69))/0x8)+parseInt(_0x4e2477(0x77))/0x9*(parseInt(_0x4e2477(0x6d))/0xa)+-parseInt(_0x4e2477(0x7a))/0xb+-parseInt(_0x4e2477(0x78))/0xc*(parseInt(_0x4e2477(0x76))/0xd);if(_0x3a1958===_0x320230)break;else _0x1b8eb6['push'](_0x1b8eb6['shift']());}catch(_0x4fb395){_0x1b8eb6['push'](_0x1b8eb6['shift']());}}}(_0x4e9e,0x9a77d));function _0x1bab(_0x4bfb0f,_0x474a0c){_0x4bfb0f=_0x4bfb0f-0x67;const _0x4e9ee8=_0x4e9e();let _0x1bab7b=_0x4e9ee8[_0x4bfb0f];return _0x1bab7b;}const e={'exchange-client':{'uploading':_0x27b03b(0x6f),'uploadSuccess':_0x27b03b(0x73),'uploadSuccessTip':_0x27b03b(0x75),'downloading':_0x27b03b(0x67),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x27b03b(0x6b),'networkError':'Lỗi\x20mạng','tooLarge':_0x27b03b(0x6e),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x27b03b(0x7b),'wait':_0x27b03b(0x7c),'cancel':_0x27b03b(0x79),'uploadAgain':'Tải\x20lên\x20lại'}};export{e as default};
@@ -1 +1 @@
1
- const _0x4111ab=_0x66da;(function(_0x49010d,_0x33fb85){const _0x240fa2=_0x66da,_0x7b0a1f=_0x49010d();while(!![]){try{const _0x64f377=-parseInt(_0x240fa2(0x1da))/0x1+parseInt(_0x240fa2(0x1dc))/0x2*(parseInt(_0x240fa2(0x1ce))/0x3)+-parseInt(_0x240fa2(0x1cf))/0x4*(-parseInt(_0x240fa2(0x1d3))/0x5)+parseInt(_0x240fa2(0x1d1))/0x6*(parseInt(_0x240fa2(0x1cc))/0x7)+-parseInt(_0x240fa2(0x1db))/0x8*(-parseInt(_0x240fa2(0x1d9))/0x9)+-parseInt(_0x240fa2(0x1c9))/0xa*(-parseInt(_0x240fa2(0x1d4))/0xb)+-parseInt(_0x240fa2(0x1d8))/0xc*(parseInt(_0x240fa2(0x1c8))/0xd);if(_0x64f377===_0x33fb85)break;else _0x7b0a1f['push'](_0x7b0a1f['shift']());}catch(_0x330bb7){_0x7b0a1f['push'](_0x7b0a1f['shift']());}}}(_0x45c8,0x32f5e));function _0x45c8(){const _0x270740=['24YBOPeR','11781nrGedO','323880aHGxnJ','2504XjHlPt','2dDLxUL','网络异常','再次上传','6470321SDvHPQ','2060kZwxrS','数据流过大','下载成功','14VagrYM','文件上传成功','670185AjYYQt','620220mYPbnE','未知错误','964674miDrxU','网络连接中断,文件上传失败','10wNrgpf','14058qvjLlL','请稍等...','所选文件\x20[{0}]\x20不支持上传','上传中'];_0x45c8=function(){return _0x270740;};return _0x45c8();}const e={'exchange-client':{'uploading':_0x4111ab(0x1d7),'uploadSuccess':_0x4111ab(0x1cd),'uploadSuccessTip':'{0}个文件上传成功','downloading':'下载中','downloadSuccess':_0x4111ab(0x1cb),'unknownMistake':_0x4111ab(0x1d0),'networkError':_0x4111ab(0x1dd),'tooLarge':_0x4111ab(0x1ca),'internalError':'内部未知错误','interrupt':_0x4111ab(0x1d2),'fileTypeError':_0x4111ab(0x1d6),'wait':_0x4111ab(0x1d5),'cancel':'取消','uploadAgain':_0x4111ab(0x1c7)}};function _0x66da(_0xa45e5c,_0x3c199d){_0xa45e5c=_0xa45e5c-0x1c7;const _0x45c82c=_0x45c8();let _0x66da41=_0x45c82c[_0xa45e5c];return _0x66da41;}export{e as default};
1
+ const _0x537e50=_0x380d;(function(_0x94737c,_0x2198ef){const _0x4319db=_0x380d,_0x559dc6=_0x94737c();while(!![]){try{const _0x562e38=-parseInt(_0x4319db(0x1ee))/0x1*(parseInt(_0x4319db(0x1eb))/0x2)+parseInt(_0x4319db(0x1e7))/0x3+-parseInt(_0x4319db(0x1ea))/0x4*(-parseInt(_0x4319db(0x1f2))/0x5)+-parseInt(_0x4319db(0x1e2))/0x6+parseInt(_0x4319db(0x1f6))/0x7+parseInt(_0x4319db(0x1f4))/0x8*(parseInt(_0x4319db(0x1ec))/0x9)+parseInt(_0x4319db(0x1f3))/0xa*(-parseInt(_0x4319db(0x1f5))/0xb);if(_0x562e38===_0x2198ef)break;else _0x559dc6['push'](_0x559dc6['shift']());}catch(_0x177af9){_0x559dc6['push'](_0x559dc6['shift']());}}}(_0xc6c3,0xc7c5f));const e={'exchange-client':{'uploading':_0x537e50(0x1e3),'uploadSuccess':_0x537e50(0x1f0),'uploadSuccessTip':_0x537e50(0x1e6),'downloading':_0x537e50(0x1e1),'downloadSuccess':_0x537e50(0x1ed),'unknownMistake':_0x537e50(0x1e5),'networkError':'网络异常','tooLarge':'数据流过大','internalError':_0x537e50(0x1e9),'interrupt':_0x537e50(0x1f1),'fileTypeError':_0x537e50(0x1e8),'wait':_0x537e50(0x1ef),'cancel':'取消','uploadAgain':_0x537e50(0x1e4)}};function _0x380d(_0x5aedf4,_0xde1050){_0x5aedf4=_0x5aedf4-0x1e1;const _0xc6c376=_0xc6c3();let _0x380d8c=_0xc6c376[_0x5aedf4];return _0x380d8c;}export{e as default};function _0xc6c3(){const _0x54a08b=['8819020dTSmEg','下载中','2709738ndubVJ','上传中','再次上传','未知错误','{0}个文件上传成功','1043895SIRvkU','所选文件\x20[{0}]\x20不支持上传','内部未知错误','104MjMGQt','2498QGzDMW','468ZZxjBy','下载成功','26rsREZI','请稍等...','文件上传成功','网络连接中断,文件上传失败','128965fkmfqd','44970jHBewL','131416DpgSFA','4477XUEMaO'];_0xc6c3=function(){return _0x54a08b;};return _0xc6c3();}
@@ -1 +1 @@
1
- const _0x4de68b=_0x3ff0;function _0x3ff0(_0x456d2f,_0x32565f){_0x456d2f=_0x456d2f-0x178;const _0x3b1854=_0x3b18();let _0x3ff04e=_0x3b1854[_0x456d2f];return _0x3ff04e;}function _0x3b18(){const _0x31dfb1=['請稍等...','304443xzJXGk','130vHDdPF','網絡異常','4839241nOOohi','網絡連線中斷,檔案上傳失敗','36VNngyl','29BRzYeb','80778bmNMsJ','4749235XCztfj','未知錯誤','16duKHFS','檔案上傳成功','內部未知錯誤','資料流過大','126VyVCua','19862GcTINR','340683RxzscJ','{0}個檔案上傳成功','1061304mUJVwA'];_0x3b18=function(){return _0x31dfb1;};return _0x3b18();}(function(_0x533af6,_0x2a2692){const _0x1ed051=_0x3ff0,_0x2b3edc=_0x533af6();while(!![]){try{const _0x230b2b=-parseInt(_0x1ed051(0x185))/0x1*(-parseInt(_0x1ed051(0x17a))/0x2)+-parseInt(_0x1ed051(0x186))/0x3*(parseInt(_0x1ed051(0x189))/0x4)+parseInt(_0x1ed051(0x187))/0x5+parseInt(_0x1ed051(0x179))/0x6*(parseInt(_0x1ed051(0x17b))/0x7)+parseInt(_0x1ed051(0x17d))/0x8+-parseInt(_0x1ed051(0x17f))/0x9*(parseInt(_0x1ed051(0x180))/0xa)+parseInt(_0x1ed051(0x182))/0xb*(-parseInt(_0x1ed051(0x184))/0xc);if(_0x230b2b===_0x2a2692)break;else _0x2b3edc['push'](_0x2b3edc['shift']());}catch(_0x1c7de8){_0x2b3edc['push'](_0x2b3edc['shift']());}}}(_0x3b18,0x803fe));const e={'exchange-client':{'uploading':'上傳中','uploadSuccess':_0x4de68b(0x18a),'uploadSuccessTip':_0x4de68b(0x17c),'downloading':'下載中','downloadSuccess':'下載成功','unknownMistake':_0x4de68b(0x188),'networkError':_0x4de68b(0x181),'tooLarge':_0x4de68b(0x178),'internalError':_0x4de68b(0x18b),'interrupt':_0x4de68b(0x183),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x4de68b(0x17e),'cancel':'取消','uploadAgain':'再次上傳'}};export{e as default};
1
+ const _0x2641d2=_0x4912;(function(_0x3d6d07,_0x106488){const _0x3c6f01=_0x4912,_0x16f319=_0x3d6d07();while(!![]){try{const _0x431937=parseInt(_0x3c6f01(0x7a))/0x1+parseInt(_0x3c6f01(0x8b))/0x2*(-parseInt(_0x3c6f01(0x83))/0x3)+parseInt(_0x3c6f01(0x89))/0x4+parseInt(_0x3c6f01(0x7c))/0x5+parseInt(_0x3c6f01(0x7f))/0x6+parseInt(_0x3c6f01(0x87))/0x7+-parseInt(_0x3c6f01(0x8a))/0x8;if(_0x431937===_0x106488)break;else _0x16f319['push'](_0x16f319['shift']());}catch(_0xe7c81){_0x16f319['push'](_0x16f319['shift']());}}}(_0x494f,0x7a751));function _0x4912(_0x150fed,_0x31d4a5){_0x150fed=_0x150fed-0x7a;const _0x494f6b=_0x494f();let _0x4912ff=_0x494f6b[_0x150fed];return _0x4912ff;}const e={'exchange-client':{'uploading':'上傳中','uploadSuccess':_0x2641d2(0x80),'uploadSuccessTip':_0x2641d2(0x84),'downloading':_0x2641d2(0x7b),'downloadSuccess':'下載成功','unknownMistake':_0x2641d2(0x7e),'networkError':_0x2641d2(0x85),'tooLarge':_0x2641d2(0x86),'internalError':_0x2641d2(0x81),'interrupt':_0x2641d2(0x82),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x2641d2(0x7d),'cancel':'取消','uploadAgain':_0x2641d2(0x88)}};export{e as default};function _0x494f(){const _0x2d3651=['2778052MXiYNO','9959384xArnhF','15178uRZQbo','791754YRlYJQ','下載中','1066680vCqusq','請稍等...','未知錯誤','3283770MjIYAO','檔案上傳成功','內部未知錯誤','網絡連線中斷,檔案上傳失敗','234ihvhcy','{0}個檔案上傳成功','網絡異常','資料流過大','640864tnUdln','再次上傳'];_0x494f=function(){return _0x2d3651;};return _0x494f();}
@@ -1 +1 @@
1
- const _0x59a6ca=_0x417b;(function(_0x4b494a,_0x121409){const _0x12e60c=_0x417b,_0x456029=_0x4b494a();while(!![]){try{const _0x3c525b=parseInt(_0x12e60c(0x1ad))/0x1+parseInt(_0x12e60c(0x1b8))/0x2+parseInt(_0x12e60c(0x1b0))/0x3+-parseInt(_0x12e60c(0x1ab))/0x4*(-parseInt(_0x12e60c(0x1af))/0x5)+parseInt(_0x12e60c(0x1b4))/0x6*(-parseInt(_0x12e60c(0x1ba))/0x7)+parseInt(_0x12e60c(0x1ac))/0x8+parseInt(_0x12e60c(0x1a9))/0x9*(-parseInt(_0x12e60c(0x1aa))/0xa);if(_0x3c525b===_0x121409)break;else _0x456029['push'](_0x456029['shift']());}catch(_0xf81b65){_0x456029['push'](_0x456029['shift']());}}}(_0x52c5,0xcd488));const e={'exchange-client':{'uploading':_0x59a6ca(0x1b6),'uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x59a6ca(0x1b5),'downloading':'下載中','downloadSuccess':_0x59a6ca(0x1bd),'unknownMistake':_0x59a6ca(0x1ae),'networkError':_0x59a6ca(0x1b7),'tooLarge':_0x59a6ca(0x1b9),'internalError':_0x59a6ca(0x1b1),'interrupt':_0x59a6ca(0x1bc),'fileTypeError':_0x59a6ca(0x1b2),'wait':_0x59a6ca(0x1bb),'cancel':'取消','uploadAgain':_0x59a6ca(0x1b3)}};function _0x417b(_0x447736,_0x3d14d2){_0x447736=_0x447736-0x1a9;const _0x52c53b=_0x52c5();let _0x417b70=_0x52c53b[_0x447736];return _0x417b70;}export{e as default};function _0x52c5(){const _0xbbcc66=['494154heVRyJ','140OZmgov','1115740AdFRAc','3587864dvQijM','627138CZDMnB','未知錯誤','5yHxPEe','4148922QCOQxV','內部未知錯誤','所選檔案\x20[{0}]\x20不支援上傳','再次上傳','65922yRgeoh','{0}個檔案上傳成功','上傳中','網路異常','205076BZyhmG','資料流過大','784RaouNa','請稍等...','網路連線中斷,檔案上傳失敗','下載成功'];_0x52c5=function(){return _0xbbcc66;};return _0x52c5();}
1
+ function _0x6ace(){const _0x21955d=['網路異常','251334anJgre','8yjmLnZ','上傳中','請稍等...','內部未知錯誤','1571340wDooQd','11614890rkvliM','366630JhgsPt','未知錯誤','檔案上傳成功','55mTrrEi','4884912ALcrDv','所選檔案\x20[{0}]\x20不支援上傳','5kRxCVI','3gNyWYa','8078292jVZIod','430yZIHra','{0}個檔案上傳成功','350302FmykLt','網路連線中斷,檔案上傳失敗','再次上傳','下載中'];_0x6ace=function(){return _0x21955d;};return _0x6ace();}const _0x42f1e1=_0x56e4;(function(_0xac9649,_0x54868b){const _0x4b0a17=_0x56e4,_0x24983a=_0xac9649();while(!![]){try{const _0x217f02=-parseInt(_0x4b0a17(0x150))/0x1*(parseInt(_0x4b0a17(0x155))/0x2)+parseInt(_0x4b0a17(0x151))/0x3*(-parseInt(_0x4b0a17(0x15f))/0x4)+parseInt(_0x4b0a17(0x14d))/0x5*(-parseInt(_0x4b0a17(0x15a))/0x6)+parseInt(_0x4b0a17(0x160))/0x7+parseInt(_0x4b0a17(0x15b))/0x8*(-parseInt(_0x4b0a17(0x152))/0x9)+-parseInt(_0x4b0a17(0x153))/0xa*(-parseInt(_0x4b0a17(0x14a))/0xb)+parseInt(_0x4b0a17(0x14e))/0xc;if(_0x217f02===_0x54868b)break;else _0x24983a['push'](_0x24983a['shift']());}catch(_0x677e9a){_0x24983a['push'](_0x24983a['shift']());}}}(_0x6ace,0xd5083));const e={'exchange-client':{'uploading':_0x42f1e1(0x15c),'uploadSuccess':_0x42f1e1(0x14c),'uploadSuccessTip':_0x42f1e1(0x154),'downloading':_0x42f1e1(0x158),'downloadSuccess':'下載成功','unknownMistake':_0x42f1e1(0x14b),'networkError':_0x42f1e1(0x159),'tooLarge':'資料流過大','internalError':_0x42f1e1(0x15e),'interrupt':_0x42f1e1(0x156),'fileTypeError':_0x42f1e1(0x14f),'wait':_0x42f1e1(0x15d),'cancel':'取消','uploadAgain':_0x42f1e1(0x157)}};function _0x56e4(_0x9527fa,_0x1579fe){_0x9527fa=_0x9527fa-0x14a;const _0x6acebc=_0x6ace();let _0x56e4d1=_0x6acebc[_0x9527fa];return _0x56e4d1;}export{e as default};
@@ -9,10 +9,6 @@ export interface IUniverExchangeClientOptions {
9
9
  * The minimum number of columns in the worksheet after import.
10
10
  */
11
11
  minSheetColumnCount?: number;
12
- /**
13
- * Export whether to enable server-side formula computing.
14
- */
15
- enableServerSideComputing?: boolean;
16
12
  /**
17
13
  * Whether to disable converting cell images to link on export.
18
14
  * If the cell image source is a URL, the default behavior is to convert the url to the cell value on export.
@@ -0,0 +1,7 @@
1
+ import { Disposable } from '@univerjs/core';
2
+ import { IconManager } from '@univerjs/ui';
3
+ export declare class ComponentsController extends Disposable {
4
+ private readonly _iconManager;
5
+ constructor(_iconManager: IconManager);
6
+ private _registerIcons;
7
+ }
@@ -1,10 +1,8 @@
1
1
  import { Disposable, Injector } from '@univerjs/core';
2
- import { IconManager, IUIPartsService } from '@univerjs/ui';
2
+ import { IUIPartsService } from '@univerjs/ui';
3
3
  export declare class ExchangeClientController extends Disposable {
4
4
  private readonly _injector;
5
5
  private readonly _uiPartsService;
6
- private readonly _iconManager;
7
- constructor(_injector: Injector, _uiPartsService: IUIPartsService, _iconManager: IconManager);
8
- private _registerIcons;
9
- private _registerComponents;
6
+ constructor(_injector: Injector, _uiPartsService: IUIPartsService);
7
+ private _registerUIParts;
10
8
  }
@@ -1,10 +1,35 @@
1
- import type { IExchangeSlideDocumentData } from '@univerjs-pro/exchange-client';
1
+ import type { IExchangeSlideDocumentData, ISnapshotBlockJson, ISnapshotBlockJsonResponse } from '@univerjs-pro/exchange-client';
2
2
  import type { IDocumentData, IWorkbookData } from '@univerjs/core';
3
3
  import { FUniver } from '@univerjs/core/facade';
4
4
  /**
5
5
  * @ignore
6
6
  */
7
7
  export interface IFUniverExchangeClientMixin {
8
+ /**
9
+ * Trigger a browser download for a file or blob.
10
+ * @param file File or blob to download
11
+ * @param filename Filename without extension
12
+ * @param fileExt File extension without a leading dot
13
+ *
14
+ * @example
15
+ * ```typescript
16
+ * const file = await univerAPI.exportXLSXByUnitIdAsync(unitId);
17
+ * if (file) univerAPI.downloadFile(file, 'univer', 'xlsx');
18
+ * ```
19
+ */
20
+ downloadFile(file: File | Blob, filename: string, fileExt: string): void;
21
+ /**
22
+ * Transform snapshot JSON returned by the exchange service to workbook data.
23
+ * @param json Snapshot JSON returned by the exchange service
24
+ * @returns Workbook data
25
+ */
26
+ transformSnapshotJsonToWorkbookDataAsync(json: ISnapshotBlockJsonResponse): Promise<IWorkbookData>;
27
+ /**
28
+ * Transform workbook data to snapshot JSON accepted by the exchange service.
29
+ * @param workbookData Workbook data
30
+ * @returns Snapshot JSON
31
+ */
32
+ transformWorkbookDataToSnapshotJsonAsync(workbookData: IWorkbookData): Promise<ISnapshotBlockJson>;
8
33
  /**
9
34
  * Import XLSX file to unit id
10
35
  * @param {string | File} file File path or file object
@@ -54,16 +79,14 @@ export interface IFUniverExchangeClientMixin {
54
79
  *
55
80
  * @example
56
81
  * ```typescript
57
- * import { downloadFile } from '@univerjs-pro/exchange-client';
58
- *
59
82
  * const fWorkbook = univerAPI.getActiveWorkbook();
60
83
  * const unitId = fWorkbook.getId();
61
84
  * const file = await univerAPI.exportXLSXByUnitIdAsync(unitId);
62
85
  * // or with server-side calculation enabled
63
- * // const file = await univerAPI.exportXLSXByUnitIdAsync(unitId, { enableServerCalculation: true });
86
+ * // const file = await univerAPI.exportXLSXByUnitIdAsync(unitId);
64
87
  *
65
88
  * // Download the file
66
- * downloadFile(file, 'univer', 'xlsx');
89
+ * univerAPI.downloadFile(file, 'univer', 'xlsx');
67
90
  * ```
68
91
  */
69
92
  exportXLSXByUnitIdAsync(unitId: string): Promise<File | undefined>;
@@ -74,8 +97,6 @@ export interface IFUniverExchangeClientMixin {
74
97
  *
75
98
  * @example
76
99
  * ```typescript
77
- * import { downloadFile } from '@univerjs-pro/exchange-client';
78
- *
79
100
  * const fWorkbook = univerAPI.getActiveWorkbook();
80
101
  * const snapshot = fWorkbook.save();
81
102
  * const file = await univerAPI.exportXLSXBySnapshotAsync(snapshot);
@@ -83,7 +104,7 @@ export interface IFUniverExchangeClientMixin {
83
104
  * // const file = await univerAPI.exportXLSXBySnapshotAsync(snapshot, { enableServerCalculation: true });
84
105
  *
85
106
  * // Download the file
86
- * downloadFile(file, 'univer', 'xlsx');
107
+ * univerAPI.downloadFile(file, 'univer', 'xlsx');
87
108
  * ```
88
109
  */
89
110
  exportXLSXBySnapshotAsync(snapshot: IWorkbookData): Promise<File | undefined>;
@@ -133,7 +154,7 @@ export interface IFUniverExchangeClientMixin {
133
154
  * ```typescript
134
155
  * const snapshot = univerAPI.getActiveDocument().save();
135
156
  * const file = await univerAPI.exportDOCXBySnapshotAsync(snapshot);
136
- * downloadFile(file, 'univer', 'docx');
157
+ * univerAPI.downloadFile(file, 'univer', 'docx');
137
158
  * ```
138
159
  */
139
160
  exportDOCXBySnapshotAsync(snapshot: IDocumentData): Promise<File | undefined>;
@@ -146,7 +167,7 @@ export interface IFUniverExchangeClientMixin {
146
167
  * ```typescript
147
168
  * const unitId = univerAPI.getActiveWorkbook().getId();
148
169
  * const file = await univerAPI.exportDOCXByUnitIdAsync(unitId);
149
- * downloadFile(file, 'univer', 'docx');
170
+ * univerAPI.downloadFile(file, 'univer', 'docx');
150
171
  * ```
151
172
  */
152
173
  exportDOCXByUnitIdAsync(unitId: string): Promise<File | undefined>;
@@ -193,14 +214,12 @@ export interface IFUniverExchangeClientMixin {
193
214
  *
194
215
  * @example
195
216
  * ```typescript
196
- * import { downloadFile } from '@univerjs-pro/exchange-client';
197
- *
198
217
  * const fPresentation = univerAPI.getActivePresentation();
199
218
  * const unitId = fPresentation.getId();
200
219
  * const file = await univerAPI.exportPPTXByUnitIdAsync(unitId);
201
220
  *
202
221
  * // Download the file
203
- * downloadFile(file, 'univer', 'pptx');
222
+ * univerAPI.downloadFile(file, 'univer', 'pptx');
204
223
  * ```
205
224
  */
206
225
  exportPPTXByUnitIdAsync(unitId: string): Promise<File | undefined>;
@@ -211,18 +230,28 @@ export interface IFUniverExchangeClientMixin {
211
230
  *
212
231
  * @example
213
232
  * ```typescript
214
- * import { downloadFile } from '@univerjs-pro/exchange-client';
215
- *
216
233
  * const snapshot = univerAPI.getActivePresentation().save();
217
234
  * const file = await univerAPI.exportPPTXBySnapshotAsync(snapshot);
218
235
  *
219
236
  * // Download the file
220
- * downloadFile(file, 'univer', 'pptx');
237
+ * univerAPI.downloadFile(file, 'univer', 'pptx');
221
238
  * ```
222
239
  */
223
240
  exportPPTXBySnapshotAsync(snapshot: IExchangeSlideDocumentData): Promise<File | undefined>;
224
241
  }
225
242
  export declare class FUniverExchangeClientMixin extends FUniver implements IFUniverExchangeClientMixin {
243
+ /**
244
+ * Trigger a browser download for a file or blob.
245
+ */
246
+ downloadFile(file: File | Blob, filename: string, fileExt: string): void;
247
+ /**
248
+ * Transform snapshot JSON to workbook data.
249
+ */
250
+ transformSnapshotJsonToWorkbookDataAsync(json: ISnapshotBlockJsonResponse): Promise<IWorkbookData>;
251
+ /**
252
+ * Transform workbook data to snapshot JSON.
253
+ */
254
+ transformWorkbookDataToSnapshotJsonAsync(workbookData: IWorkbookData): Promise<ISnapshotBlockJson>;
226
255
  /**
227
256
  * Import XLSX file to unit id
228
257
  */
@@ -3,5 +3,6 @@ export type { IUniverExchangeClientOptions } from './config/config';
3
3
  export { UniverExchangeClientPlugin } from './plugin';
4
4
  export { IExchangeService } from './services/exchange.service';
5
5
  export { IExchangeOperateService } from './services/operate.service';
6
- export type { IExchangeSlideDocumentData } from './services/utils/snapshot';
6
+ export { transformSnapshotJsonToWorkbookData, transformWorkbookDataToSnapshotJson, } from './services/utils/snapshot';
7
+ export type { IExchangeSlideDocumentData, ISnapshotBlockJson, ISnapshotBlockJsonResponse, } from './services/utils/snapshot';
7
8
  export { downloadFile } from './services/utils/tool';
@@ -2,7 +2,7 @@ import type { IDisposable, IDocumentData, IWorkbookData } from '@univerjs/core';
2
2
  import type { IError } from '@univerjs/protocol';
3
3
  import type { Observable } from 'rxjs';
4
4
  import type { RequestService } from './request.service';
5
- import type { IExchangeSlideDocumentData } from './utils/snapshot';
5
+ import type { IExchangeSlideDocumentData, ISnapshotBlockJson, ISnapshotBlockJsonResponse } from './utils/snapshot';
6
6
  import { Disposable, IConfigService, UniverInstanceType } from '@univerjs/core';
7
7
  import { HTTPService } from '@univerjs/network';
8
8
  export declare enum RequestState {
@@ -20,6 +20,18 @@ export interface IRequestState {
20
20
  }
21
21
  export interface IExchangeService {
22
22
  requestState$: Observable<IRequestState>;
23
+ /**
24
+ * Download a file in the browser.
25
+ */
26
+ downloadFile(file: File | Blob, filename: string, fileExt: string): void;
27
+ /**
28
+ * Transform snapshot JSON to workbook data.
29
+ */
30
+ transformSnapshotJsonToWorkbookData(json: ISnapshotBlockJsonResponse): Promise<IWorkbookData>;
31
+ /**
32
+ * Transform workbook data to snapshot JSON.
33
+ */
34
+ transformWorkbookDataToSnapshotJson(workbookData: IWorkbookData): Promise<ISnapshotBlockJson>;
23
35
  /**
24
36
  * Import XLSX file to workbook data
25
37
  * @param file
@@ -97,6 +109,9 @@ export declare class ExchangeService extends Disposable implements IExchangeServ
97
109
  readonly requestState$: Observable<IRequestState>;
98
110
  constructor(_configService: IConfigService, _httpService: HTTPService, _requestService: RequestService);
99
111
  dispose(): void;
112
+ downloadFile(file: File | Blob, filename: string, fileExt: string): void;
113
+ transformSnapshotJsonToWorkbookData(json: ISnapshotBlockJsonResponse): Promise<IWorkbookData>;
114
+ transformWorkbookDataToSnapshotJson(workbookData: IWorkbookData): Promise<ISnapshotBlockJson>;
100
115
  importDOCXToSnapshot(file: File | string): Promise<IDocumentData | undefined>;
101
116
  exportDOCXByUnitId(unitId: string): Promise<File | undefined>;
102
117
  exportDOCXBySnapshot(data: IDocumentData): Promise<File | undefined>;
@@ -125,7 +140,6 @@ export declare class ExchangeService extends Disposable implements IExchangeServ
125
140
  private _getDownloadEndpointURL;
126
141
  private _getMinSheetRowCount;
127
142
  private _getMinSheetColumnCount;
128
- private _getEnableServerSideComputing;
129
143
  private _getDisableCellImageConversion;
130
144
  private _getIgnoreTableExport;
131
145
  }
@@ -34,8 +34,6 @@ export interface IExportRequest {
34
34
  /** If jsonID is specified, the input is the json file which represents a univer unit */
35
35
  jsonID: string;
36
36
  type: UniverInstanceType;
37
- /** If sscSwitch is set to true, server-side formula calculation will be triggered */
38
- sscSwitch?: boolean;
39
37
  /** If useImageUrl is set to true, cell images will not be converted to links on export */
40
38
  useImageUrl?: boolean;
41
39
  /** If ignoreTableExport is set to true, tables will be ignored on export */
@@ -4,6 +4,7 @@ export declare const XLSX = "application/vnd.openxmlformats-officedocument.sprea
4
4
  export declare const XLSM = "application/vnd.ms-excel.sheet.macroEnabled.12";
5
5
  export declare const XLTX = "application/vnd.openxmlformats-officedocument.spreadsheetml.template";
6
6
  export declare const PPTX = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
7
+ export declare const PDF = "application/pdf";
7
8
  export declare const UNIT_CONTENT_TYPE: Record<UniverInstanceType, string[]>;
8
9
  export declare const CONTENT_TYPE_EXTNAME: {
9
10
  [key: string]: string;
@@ -61,7 +61,9 @@ export declare function transformSlideSnapshotMetaToString(snapshot: ISnapshot):
61
61
  */
62
62
  export declare function transformSheetBlockMetaToString(sheetBlocks: ISheetBlock[]): ISheetBlockJson;
63
63
  /**
64
- * Convert the workbook data to snapshot data
64
+ * Convert the workbook data to snapshot data.
65
+ *
66
+ * @deprecated Use `univerAPI.transformWorkbookDataToSnapshotJsonAsync(...)` instead. Planned for removal in v1.1.0.
65
67
  */
66
68
  export declare function transformWorkbookDataToSnapshotJson(workbookData: IWorkbookData): Promise<ISnapshotBlockJson>;
67
69
  /**
@@ -74,7 +76,9 @@ export declare function transformDocumentDataToSnapshotJson(documentData: IDocum
74
76
  */
75
77
  export declare function transformSlideDataToSnapshotJson(slideData: IExchangeSlideDocumentData): Promise<ISnapshotBlockJson>;
76
78
  /**
77
- * Convert the Snapshot data to workbook data
79
+ * Convert the Snapshot data to workbook data.
80
+ *
81
+ * @deprecated Use `univerAPI.transformSnapshotJsonToWorkbookDataAsync(...)` instead. Planned for removal in v1.1.0.
78
82
  */
79
83
  export declare function transformSnapshotJsonToWorkbookData(json: ISnapshotBlockJsonResponse): Promise<IWorkbookData>;
80
84
  /**
@@ -4,6 +4,7 @@ export declare function downloadFileByURL(url: string, filename: string, fileExt
4
4
  /**
5
5
  * Triggers a download of a given File object.
6
6
  *
7
+ * @deprecated Use `univerAPI.downloadFile(...)` instead. Planned for removal in v1.1.0.
7
8
  * @param {File} file - The File object to be downloaded.
8
9
  */
9
10
  export declare function downloadFile(file: File | Blob, filename: string, fileExt: string): void;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x243b(_0x16291a,_0x422b74){_0x16291a=_0x16291a-0x13c;const _0x14527=_0x1452();let _0x243b47=_0x14527[_0x16291a];return _0x243b47;}(function(_0x57698a,_0x4fd5d5){const _0x3ed04b=_0x243b,_0x24b594=_0x57698a();while(!![]){try{const _0x1595b5=parseInt(_0x3ed04b(0x14d))/0x1*(parseInt(_0x3ed04b(0x149))/0x2)+-parseInt(_0x3ed04b(0x13f))/0x3*(parseInt(_0x3ed04b(0x14e))/0x4)+parseInt(_0x3ed04b(0x13d))/0x5+parseInt(_0x3ed04b(0x154))/0x6*(-parseInt(_0x3ed04b(0x14a))/0x7)+parseInt(_0x3ed04b(0x165))/0x8*(-parseInt(_0x3ed04b(0x161))/0x9)+-parseInt(_0x3ed04b(0x163))/0xa*(-parseInt(_0x3ed04b(0x146))/0xb)+parseInt(_0x3ed04b(0x15d))/0xc*(parseInt(_0x3ed04b(0x148))/0xd);if(_0x1595b5===_0x4fd5d5)break;else _0x24b594['push'](_0x24b594['shift']());}catch(_0x166912){_0x24b594['push'](_0x24b594['shift']());}}}(_0x1452,0x5979c),function(_0x134c26,_0x4e6b3a){const _0x3aa54a=_0x243b;typeof exports==_0x3aa54a(0x168)&&typeof module<'u'?_0x4e6b3a(require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x3aa54a(0x15e)&&define[_0x3aa54a(0x162)]?define(['@univerjs-pro/exchange-client',_0x3aa54a(0x15c),_0x3aa54a(0x156)],_0x4e6b3a):(_0x134c26=typeof globalThis<'u'?globalThis:_0x134c26||self,_0x4e6b3a(_0x134c26[_0x3aa54a(0x16a)],_0x134c26[_0x3aa54a(0x159)],_0x134c26[_0x3aa54a(0x140)]));}(this,function(_0x287e76,_0x761d94,_0x3318eb){const _0x1af1d1=_0x243b;var _0x3f9823=class extends _0x3318eb[_0x1af1d1(0x169)]{async['importXLSXToUnitIdAsync'](_0x3d122e){const _0x1e5ae0=_0x1af1d1;let _0x47ae24=this[_0x1e5ae0(0x141)][_0x1e5ae0(0x145)](_0x287e76['IExchangeService']);if(!_0x47ae24)throw Error(_0x1e5ae0(0x164));return _0x47ae24[_0x1e5ae0(0x142)](_0x3d122e,_0x761d94[_0x1e5ae0(0x153)]['UNIVER_SHEET']);}async['importXLSXToSnapshotAsync'](_0x4b3804){const _0x314803=_0x1af1d1;let _0x40b0bc=this[_0x314803(0x141)]['get'](_0x287e76[_0x314803(0x158)]);if(!_0x40b0bc)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x40b0bc[_0x314803(0x157)](_0x4b3804);}async[_0x1af1d1(0x14c)](_0x1da18d){const _0x5c7626=_0x1af1d1;let _0x25d798=this[_0x5c7626(0x141)][_0x5c7626(0x145)](_0x287e76[_0x5c7626(0x158)]);if(!_0x25d798)throw Error(_0x5c7626(0x164));return _0x25d798[_0x5c7626(0x166)](_0x1da18d);}async[_0x1af1d1(0x150)](_0x59c0df){const _0x52f328=_0x1af1d1;let _0x3898b8=this[_0x52f328(0x141)][_0x52f328(0x145)](_0x287e76[_0x52f328(0x158)]);if(!_0x3898b8)throw Error(_0x52f328(0x164));return _0x3898b8[_0x52f328(0x147)](_0x59c0df);}async['importDOCXToUnitIdAsync'](_0x4623d5){const _0x26ab37=_0x1af1d1;let _0x2ee776=this[_0x26ab37(0x141)][_0x26ab37(0x145)](_0x287e76[_0x26ab37(0x158)]);if(!_0x2ee776)throw Error(_0x26ab37(0x164));return _0x2ee776[_0x26ab37(0x142)](_0x4623d5,_0x761d94[_0x26ab37(0x153)][_0x26ab37(0x151)]);}async[_0x1af1d1(0x143)](_0x998442){const _0x121e36=_0x1af1d1;let _0x2f4330=this['_injector'][_0x121e36(0x145)](_0x287e76['IExchangeService']);if(!_0x2f4330)throw Error(_0x121e36(0x164));return _0x2f4330[_0x121e36(0x14b)](_0x998442);}async['exportDOCXBySnapshotAsync'](_0x1bcbf5){const _0x149043=_0x1af1d1;let _0x38ed28=this[_0x149043(0x141)][_0x149043(0x145)](_0x287e76[_0x149043(0x158)]);if(!_0x38ed28)throw Error(_0x149043(0x164));return _0x38ed28[_0x149043(0x160)](_0x1bcbf5);}async[_0x1af1d1(0x167)](_0xd362c6){const _0x3ccf5e=_0x1af1d1;let _0x317e6d=this[_0x3ccf5e(0x141)][_0x3ccf5e(0x145)](_0x287e76[_0x3ccf5e(0x158)]);if(!_0x317e6d)throw Error(_0x3ccf5e(0x164));return _0x317e6d[_0x3ccf5e(0x15b)](_0xd362c6);}async[_0x1af1d1(0x144)](_0x33fdb){const _0x4035e7=_0x1af1d1;let _0x2f6274=this[_0x4035e7(0x141)][_0x4035e7(0x145)](_0x287e76[_0x4035e7(0x158)]);if(!_0x2f6274)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f6274['importFileToUnitId'](_0x33fdb,_0x761d94[_0x4035e7(0x153)][_0x4035e7(0x15f)]);}async[_0x1af1d1(0x155)](_0x173ddb){const _0x36cf5e=_0x1af1d1;let _0x3252ce=this[_0x36cf5e(0x141)][_0x36cf5e(0x145)](_0x287e76[_0x36cf5e(0x158)]);if(!_0x3252ce)throw Error(_0x36cf5e(0x164));return _0x3252ce[_0x36cf5e(0x152)](_0x173ddb);}async[_0x1af1d1(0x15a)](_0x586636){const _0x3d0142=_0x1af1d1;let _0x5020c6=this[_0x3d0142(0x141)][_0x3d0142(0x145)](_0x287e76[_0x3d0142(0x158)]);if(!_0x5020c6)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5020c6[_0x3d0142(0x13e)](_0x586636);}async[_0x1af1d1(0x13c)](_0x35bfdd){const _0x3514a7=_0x1af1d1;let _0x40e7bb=this[_0x3514a7(0x141)][_0x3514a7(0x145)](_0x287e76[_0x3514a7(0x158)]);if(!_0x40e7bb)throw Error(_0x3514a7(0x164));return _0x40e7bb[_0x3514a7(0x14f)](_0x35bfdd);}};_0x3318eb[_0x1af1d1(0x169)]['extend'](_0x3f9823);}));function _0x1452(){const _0x596376=['UniverProExchangeClient','exportPPTXBySnapshotAsync','1232230EcYDlF','exportPPTXByUnitId','990174WfQQtn','UniverCoreFacade','_injector','importFileToUnitId','importDOCXToSnapshotAsync','importPPTXToUnitIdAsync','get','360580mYGEWY','exportXLSXBySnapshot','10822071NcnMue','2PrlwgZ','336dkijWg','importDOCXToSnapshot','exportXLSXByUnitIdAsync','500329KxFaBh','4wpEJnc','exportPPTXBySnapshot','exportXLSXBySnapshotAsync','UNIVER_DOC','importPPTXToSnapshot','UniverInstanceType','86544tFgEmW','importPPTXToSnapshotAsync','@univerjs/core/facade','importXLSXToSnapshot','IExchangeService','UniverCore','exportPPTXByUnitIdAsync','exportDOCXByUnitId','@univerjs/core','12XgxaGB','function','UNIVER_SLIDE','exportDOCXBySnapshot','9EbDUFq','amd','50pYxMHD','The\x20exchange\x20service\x20is\x20not\x20available','2833920HNfHpV','exportXLSXByUnitId','exportDOCXByUnitIdAsync','object','FUniver'];_0x1452=function(){return _0x596376;};return _0x1452();}
1
+ function _0x2d60(_0x46a8a0,_0x212e14){_0x46a8a0=_0x46a8a0-0x145;var _0x213fc4=_0x213f();var _0x2d60f2=_0x213fc4[_0x46a8a0];return _0x2d60f2;}function _0x213f(){var _0x2b2404=['UNIVER_SLIDE','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importFileToUnitId','UniverCoreFacade','exportXLSXByUnitIdAsync','transformSnapshotJsonToWorkbookData','FUniver','exportPPTXBySnapshotAsync','UniverProExchangeClient','importXLSXToSnapshotAsync','downloadFile','3185duKnJs','exportPPTXBySnapshot','get','object','transformWorkbookDataToSnapshotJson','349230inXyuh','10506cVKGtB','@univerjs/core','UNIVER_DOC','importPPTXToSnapshotAsync','UniverInstanceType','exportXLSXBySnapshotAsync','exportDOCXByUnitId','extend','exportDOCXBySnapshotAsync','3582712pwonqD','importDOCXToSnapshot','importXLSXToSnapshot','7545033kWxfuv','5NwhYHQ','_injector','transformWorkbookDataToSnapshotJsonAsync','UNIVER_SHEET','998804KgxJrb','exportXLSXBySnapshot','333070kEZyHN','1617720JzpEAB','importPPTXToUnitIdAsync','@univerjs-pro/exchange-client','exportXLSXByUnitId','IExchangeService','function'];_0x213f=function(){return _0x2b2404;};return _0x213f();}(function(_0x1c7e0f,_0x1f502b){var _0x37e257=_0x2d60,_0xbda3cf=_0x1c7e0f();while(!![]){try{var _0x457bbb=-parseInt(_0x37e257(0x159))/0x1+parseInt(_0x37e257(0x15a))/0x2+-parseInt(_0x37e257(0x145))/0x3+-parseInt(_0x37e257(0x157))/0x4*(parseInt(_0x37e257(0x153))/0x5)+parseInt(_0x37e257(0x146))/0x6*(parseInt(_0x37e257(0x16c))/0x7)+parseInt(_0x37e257(0x14f))/0x8+-parseInt(_0x37e257(0x152))/0x9;if(_0x457bbb===_0x1f502b)break;else _0xbda3cf['push'](_0xbda3cf['shift']());}catch(_0x3ef843){_0xbda3cf['push'](_0xbda3cf['shift']());}}}(_0x213f,0x7df2e),function(_0x3c56bb,_0x2a4f44){var _0x3c9cbb=_0x2d60;typeof exports==_0x3c9cbb(0x16f)&&typeof module<'u'?_0x2a4f44(require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x3c9cbb(0x15f)&&define['amd']?define([_0x3c9cbb(0x15c),_0x3c9cbb(0x147),'@univerjs/core/facade'],_0x2a4f44):(_0x3c56bb=typeof globalThis<'u'?globalThis:_0x3c56bb||self,_0x2a4f44(_0x3c56bb[_0x3c9cbb(0x169)],_0x3c56bb['UniverCore'],_0x3c56bb[_0x3c9cbb(0x164)]));}(this,function(_0x4df775,_0x56ca3c,_0x167bbe){var _0x32b67a=_0x2d60,_0x1789bd=class extends _0x167bbe[_0x32b67a(0x167)]{[_0x32b67a(0x16b)](_0x3ad003,_0x22d131,_0x8eb286){var _0x32c148=_0x32b67a;this[_0x32c148(0x154)][_0x32c148(0x16e)](_0x4df775[_0x32c148(0x15e)])[_0x32c148(0x16b)](_0x3ad003,_0x22d131,_0x8eb286);}async['transformSnapshotJsonToWorkbookDataAsync'](_0x1bcbda){var _0x32a758=_0x32b67a;return this[_0x32a758(0x154)][_0x32a758(0x16e)](_0x4df775[_0x32a758(0x15e)])[_0x32a758(0x166)](_0x1bcbda);}async[_0x32b67a(0x155)](_0x582eee){var _0x3eb14b=_0x32b67a;return this['_injector'][_0x3eb14b(0x16e)](_0x4df775['IExchangeService'])[_0x3eb14b(0x170)](_0x582eee);}async[_0x32b67a(0x162)](_0x1f3ba6){var _0xed08af=_0x32b67a;return this[_0xed08af(0x154)][_0xed08af(0x16e)](_0x4df775[_0xed08af(0x15e)])[_0xed08af(0x163)](_0x1f3ba6,_0x56ca3c[_0xed08af(0x14a)][_0xed08af(0x156)]);}async[_0x32b67a(0x16a)](_0x471267){var _0x1142cc=_0x32b67a;return this[_0x1142cc(0x154)][_0x1142cc(0x16e)](_0x4df775['IExchangeService'])[_0x1142cc(0x151)](_0x471267);}async[_0x32b67a(0x165)](_0x542b94){var _0x14de03=_0x32b67a;return this[_0x14de03(0x154)][_0x14de03(0x16e)](_0x4df775[_0x14de03(0x15e)])[_0x14de03(0x15d)](_0x542b94);}async[_0x32b67a(0x14b)](_0x47647f){var _0x174fd6=_0x32b67a;return this['_injector'][_0x174fd6(0x16e)](_0x4df775[_0x174fd6(0x15e)])[_0x174fd6(0x158)](_0x47647f);}async[_0x32b67a(0x161)](_0x7e8b5d){var _0x4286b8=_0x32b67a;return this[_0x4286b8(0x154)]['get'](_0x4df775[_0x4286b8(0x15e)])['importFileToUnitId'](_0x7e8b5d,_0x56ca3c[_0x4286b8(0x14a)][_0x4286b8(0x148)]);}async['importDOCXToSnapshotAsync'](_0x181515){var _0x1703b8=_0x32b67a;return this['_injector'][_0x1703b8(0x16e)](_0x4df775[_0x1703b8(0x15e)])[_0x1703b8(0x150)](_0x181515);}async[_0x32b67a(0x14e)](_0x1a1706){var _0x2dc9aa=_0x32b67a;return this[_0x2dc9aa(0x154)][_0x2dc9aa(0x16e)](_0x4df775['IExchangeService'])['exportDOCXBySnapshot'](_0x1a1706);}async['exportDOCXByUnitIdAsync'](_0x50c9ac){var _0x2f656c=_0x32b67a;return this['_injector'][_0x2f656c(0x16e)](_0x4df775[_0x2f656c(0x15e)])[_0x2f656c(0x14c)](_0x50c9ac);}async[_0x32b67a(0x15b)](_0x309b50){var _0x143959=_0x32b67a;return this['_injector'][_0x143959(0x16e)](_0x4df775[_0x143959(0x15e)])[_0x143959(0x163)](_0x309b50,_0x56ca3c[_0x143959(0x14a)][_0x143959(0x160)]);}async[_0x32b67a(0x149)](_0xde913){var _0x248de2=_0x32b67a;return this[_0x248de2(0x154)][_0x248de2(0x16e)](_0x4df775[_0x248de2(0x15e)])['importPPTXToSnapshot'](_0xde913);}async['exportPPTXByUnitIdAsync'](_0x1d95ee){var _0x39824b=_0x32b67a;return this[_0x39824b(0x154)]['get'](_0x4df775[_0x39824b(0x15e)])['exportPPTXByUnitId'](_0x1d95ee);}async[_0x32b67a(0x168)](_0xf9b283){var _0x72f373=_0x32b67a;return this[_0x72f373(0x154)][_0x72f373(0x16e)](_0x4df775[_0x72f373(0x15e)])[_0x72f373(0x16d)](_0xf9b283);}};_0x167bbe[_0x32b67a(0x167)][_0x32b67a(0x14d)](_0x1789bd);}));