@univerjs-pro/exchange-client 1.0.0-alpha.3 → 1.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +0 -4
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +0 -4
- package/lib/types/controllers/components.controller.d.ts +7 -0
- package/lib/types/controllers/exchange.controller.d.ts +3 -5
- package/lib/types/facade/f-univer.d.ts +45 -16
- package/lib/types/index.d.ts +2 -1
- package/lib/types/services/exchange.service.d.ts +16 -2
- package/lib/types/services/request.service.d.ts +0 -2
- package/lib/types/services/utils/content-type.d.ts +1 -0
- package/lib/types/services/utils/snapshot.d.ts +6 -2
- package/lib/types/services/utils/tool.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -12
package/lib/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1178c4=_0x2386;(function(_0x36e6a9,_0x3b7577){const _0x32cb40=_0x2386,_0x57862b=_0x36e6a9();while(!![]){try{const _0x337fea=parseInt(_0x32cb40(0x93))/0x1+-parseInt(_0x32cb40(0x97))/0x2+-parseInt(_0x32cb40(0x8b))/0x3*(parseInt(_0x32cb40(0xa0))/0x4)+parseInt(_0x32cb40(0x9d))/0x5*(parseInt(_0x32cb40(0x89))/0x6)+-parseInt(_0x32cb40(0x8a))/0x7*(-parseInt(_0x32cb40(0x98))/0x8)+parseInt(_0x32cb40(0x91))/0x9*(parseInt(_0x32cb40(0xa1))/0xa)+-parseInt(_0x32cb40(0x95))/0xb;if(_0x337fea===_0x3b7577)break;else _0x57862b['push'](_0x57862b['shift']());}catch(_0x469447){_0x57862b['push'](_0x57862b['shift']());}}}(_0x4e6c,0x81faf));const e={'exchange-client':{'uploading':_0x1178c4(0x94),'uploadSuccess':_0x1178c4(0x9e),'uploadSuccessTip':_0x1178c4(0x9c),'downloading':_0x1178c4(0x96),'downloadSuccess':_0x1178c4(0x99),'unknownMistake':_0x1178c4(0x9b),'networkError':_0x1178c4(0x8d),'tooLarge':_0x1178c4(0x92),'internalError':_0x1178c4(0x8e),'interrupt':_0x1178c4(0x8c),'fileTypeError':_0x1178c4(0x8f),'wait':_0x1178c4(0x9f),'cancel':_0x1178c4(0x90),'uploadAgain':_0x1178c4(0x9a)}};function _0x2386(_0x55a219,_0x5edcbe){_0x55a219=_0x55a219-0x89;const _0x4e6c8f=_0x4e6c();let _0x2386f7=_0x4e6c8f[_0x55a219];return _0x2386f7;}export{e as default};function _0x4e6c(){const _0x4c429b=['Aguarde...','12xsOFSe','140WKAFoG','1081086mybphH','21007iVlbkL','96444zPyhRJ','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','Erro\x20de\x20rede','Erro\x20interno\x20desconhecido','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','Cancelar','207909YFOTbs','Os\x20dados\x20são\x20muito\x20grandes','1005603egjdft','Enviando','8389711dRVbBi','Baixando','2120420fqPwHw','1552FDefWu','Download\x20concluído\x20com\x20sucesso','Enviar\x20novamente','Erro\x20desconhecido','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','15HaWIuE','Arquivo\x20enviado\x20com\x20sucesso'];_0x4e6c=function(){return _0x4c429b;};return _0x4e6c();}
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2d3a0c=_0x394c;(function(_0x1ebd4c,_0x114eed){const _0x526466=_0x394c,_0x2e3c3b=_0x1ebd4c();while(!![]){try{const _0x213549=-parseInt(_0x526466(0x142))/0x1*(parseInt(_0x526466(0x138))/0x2)+-parseInt(_0x526466(0x133))/0x3*(-parseInt(_0x526466(0x134))/0x4)+parseInt(_0x526466(0x13f))/0x5*(parseInt(_0x526466(0x135))/0x6)+parseInt(_0x526466(0x13d))/0x7+parseInt(_0x526466(0x132))/0x8*(parseInt(_0x526466(0x140))/0x9)+-parseInt(_0x526466(0x13a))/0xa+-parseInt(_0x526466(0x141))/0xb;if(_0x213549===_0x114eed)break;else _0x2e3c3b['push'](_0x2e3c3b['shift']());}catch(_0x1b2ca1){_0x2e3c3b['push'](_0x2e3c3b['shift']());}}}(_0x5e28,0xe0c0e));function _0x394c(_0x4d7adb,_0x1b9abd){_0x4d7adb=_0x4d7adb-0x130;const _0x5e284c=_0x5e28();let _0x394c47=_0x5e284c[_0x4d7adb];return _0x394c47;}const e={'exchange-client':{'uploading':'Загрузка','uploadSuccess':_0x2d3a0c(0x139),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x2d3a0c(0x130),'downloadSuccess':'Скачивание\x20успешно','unknownMistake':_0x2d3a0c(0x131),'networkError':'Сетевая\x20ошибка','tooLarge':'Данные\x20слишком\x20большие','internalError':_0x2d3a0c(0x13c),'interrupt':_0x2d3a0c(0x13e),'fileTypeError':_0x2d3a0c(0x137),'wait':_0x2d3a0c(0x136),'cancel':_0x2d3a0c(0x13b),'uploadAgain':'Загрузить\x20снова'}};function _0x5e28(){const _0x3a7ceb=['438363PHIovG','1745788eICzgd','667xeextB','Скачивание','Неизвестная\x20ошибка','16YNmKPP','519rAvSMO','19696ONpmTU','534dCDesX','Пожалуйста,\x20подождите...','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','4540OanEal','Файл\x20успешно\x20загружен','16175690TVMCDg','Отмена','Внутренняя\x20неизвестная\x20ошибка','10458434hOEsYO','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','99305jbtsuR'];_0x5e28=function(){return _0x3a7ceb;};return _0x5e28();}export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x55c31b=_0x2892;function _0x2892(_0xf5610b,_0x472f05){_0xf5610b=_0xf5610b-0x1af;const _0x45a4ad=_0x45a4();let _0x289232=_0x45a4ad[_0xf5610b];return _0x289232;}(function(_0x58629c,_0x445083){const _0x1b2217=_0x2892,_0x3e6fba=_0x58629c();while(!![]){try{const _0x4b36d0=parseInt(_0x1b2217(0x1b8))/0x1*(-parseInt(_0x1b2217(0x1bd))/0x2)+-parseInt(_0x1b2217(0x1af))/0x3*(-parseInt(_0x1b2217(0x1b4))/0x4)+parseInt(_0x1b2217(0x1c1))/0x5*(parseInt(_0x1b2217(0x1be))/0x6)+parseInt(_0x1b2217(0x1bb))/0x7*(-parseInt(_0x1b2217(0x1b1))/0x8)+parseInt(_0x1b2217(0x1b6))/0x9*(parseInt(_0x1b2217(0x1c0))/0xa)+-parseInt(_0x1b2217(0x1b9))/0xb*(-parseInt(_0x1b2217(0x1bf))/0xc)+-parseInt(_0x1b2217(0x1c5))/0xd;if(_0x4b36d0===_0x445083)break;else _0x3e6fba['push'](_0x3e6fba['shift']());}catch(_0x27f31a){_0x3e6fba['push'](_0x3e6fba['shift']());}}}(_0x45a4,0xd8231));const e={'exchange-client':{'uploading':'Nahrávanie','uploadSuccess':_0x55c31b(0x1c4),'uploadSuccessTip':_0x55c31b(0x1b5),'downloading':_0x55c31b(0x1b7),'downloadSuccess':_0x55c31b(0x1b0),'unknownMistake':_0x55c31b(0x1b3),'networkError':_0x55c31b(0x1c6),'tooLarge':_0x55c31b(0x1ba),'internalError':'Interná\x20neznáma\x20chyba','interrupt':'Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','fileTypeError':_0x55c31b(0x1c3),'wait':_0x55c31b(0x1c2),'cancel':_0x55c31b(0x1b2),'uploadAgain':_0x55c31b(0x1bc)}};export{e as default};function _0x45a4(){const _0x5aecc7=['Neznáma\x20chyba','4smTqXc','Úspešne\x20nahraných\x20{0}\x20súborov','8774847zqUCGB','Sťahovanie','2197WdHulY','11FrczCh','Dáta\x20sú\x20príliš\x20veľké','775397LEWZQN','Nahrať\x20znova','458oulWSF','144HIBpTO','7574484nzLHEt','10UCNJNV','314255nwkkqj','Prosím\x20počkajte...','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','Súbor\x20bol\x20úspešne\x20nahraný','26083902yjwKfr','Sieťová\x20chyba','1173063nsDaSD','Sťahovanie\x20úspešné','8RawBta','Zrušiť'];_0x45a4=function(){return _0x5aecc7;};return _0x45a4();}
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2b6458=_0x4039;(function(_0x232cc2,_0x14c2f1){const _0x1151ba=_0x4039,_0x2e75ad=_0x232cc2();while(!![]){try{const _0x52c5f9=-parseInt(_0x1151ba(0x108))/0x1+parseInt(_0x1151ba(0x112))/0x2+parseInt(_0x1151ba(0x104))/0x3+parseInt(_0x1151ba(0x107))/0x4*(parseInt(_0x1151ba(0x10f))/0x5)+parseInt(_0x1151ba(0x105))/0x6+-parseInt(_0x1151ba(0x110))/0x7+-parseInt(_0x1151ba(0x10c))/0x8;if(_0x52c5f9===_0x14c2f1)break;else _0x2e75ad['push'](_0x2e75ad['shift']());}catch(_0x5967b6){_0x2e75ad['push'](_0x2e75ad['shift']());}}}(_0x72bc,0x62406));const e={'exchange-client':{'uploading':_0x2b6458(0x109),'uploadSuccess':_0x2b6458(0x115),'uploadSuccessTip':_0x2b6458(0x103),'downloading':_0x2b6458(0x114),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x2b6458(0x111),'networkError':_0x2b6458(0x10e),'tooLarge':_0x2b6458(0x10d),'internalError':_0x2b6458(0x106),'interrupt':_0x2b6458(0x10a),'fileTypeError':'Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','wait':_0x2b6458(0x10b),'cancel':_0x2b6458(0x113),'uploadAgain':'Tải\x20lên\x20lại'}};function _0x72bc(){const _0x4e6fde=['505504WQkFDs','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Lỗi\x20mạng','2648845hjnEzs','3660741jZOxFH','Lỗi\x20không\x20xác\x20định','544928IeSLPS','Hủy\x20bỏ','Đang\x20tải\x20xuống','Tải\x20lên\x20tệp\x20thành\x20công','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','1305303rgdySc','3125580KmHcXv','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','4uaBSRC','769675jtliaz','Đang\x20tải\x20lên','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Vui\x20lòng\x20đợi...'];_0x72bc=function(){return _0x4e6fde;};return _0x72bc();}function _0x4039(_0x750c78,_0x2d670f){_0x750c78=_0x750c78-0x103;const _0x72bcb9=_0x72bc();let _0x4039d7=_0x72bcb9[_0x750c78];return _0x4039d7;}export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2c726d=_0xf319;function _0x3723(){const _0x4ee176=['1769004McezWr','数据流过大','4OIdtjh','下载中','网络异常','上传中','网络连接中断,文件上传失败','2637eWheVA','1573649CyKTFc','111705uvuuje','{0}个文件上传成功','内部未知错误','文件上传成功','100TdwLaC','20rnxrsd','5176bhJLhq','1198834GOlWUS','所选文件\x20[{0}]\x20不支持上传','未知错误','428310dztUsy','131277nhANJx'];_0x3723=function(){return _0x4ee176;};return _0x3723();}(function(_0x3f3c3f,_0x476bf2){const _0x750443=_0xf319,_0x4d6db4=_0x3f3c3f();while(!![]){try{const _0x3427bf=parseInt(_0x750443(0x1ec))/0x1*(-parseInt(_0x750443(0x1ef))/0x2)+-parseInt(_0x750443(0x1eb))/0x3+-parseInt(_0x750443(0x1fb))/0x4*(parseInt(_0x750443(0x1f6))/0x5)+-parseInt(_0x750443(0x1ed))/0x6+-parseInt(_0x750443(0x1fd))/0x7+-parseInt(_0x750443(0x1fc))/0x8*(parseInt(_0x750443(0x1f4))/0x9)+parseInt(_0x750443(0x1fa))/0xa*(parseInt(_0x750443(0x1f5))/0xb);if(_0x3427bf===_0x476bf2)break;else _0x4d6db4['push'](_0x4d6db4['shift']());}catch(_0x5638ec){_0x4d6db4['push'](_0x4d6db4['shift']());}}}(_0x3723,0x3ef66));const e={'exchange-client':{'uploading':_0x2c726d(0x1f2),'uploadSuccess':_0x2c726d(0x1f9),'uploadSuccessTip':_0x2c726d(0x1f7),'downloading':_0x2c726d(0x1f0),'downloadSuccess':'下载成功','unknownMistake':_0x2c726d(0x1ea),'networkError':_0x2c726d(0x1f1),'tooLarge':_0x2c726d(0x1ee),'internalError':_0x2c726d(0x1f8),'interrupt':_0x2c726d(0x1f3),'fileTypeError':_0x2c726d(0x1e9),'wait':'请稍等...','cancel':'取消','uploadAgain':'再次上传'}};function _0xf319(_0x50f472,_0x345e3f){_0x50f472=_0x50f472-0x1e9;const _0x3723c9=_0x3723();let _0xf31997=_0x3723c9[_0x50f472];return _0xf31997;}export{e as default};
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x423989=_0x296a;(function(_0x2db166,_0x31296d){const _0x803eee=_0x296a,_0x80b33a=_0x2db166();while(!![]){try{const _0x558742=-parseInt(_0x803eee(0x1cc))/0x1*(parseInt(_0x803eee(0x1cd))/0x2)+parseInt(_0x803eee(0x1d5))/0x3+-parseInt(_0x803eee(0x1c5))/0x4+-parseInt(_0x803eee(0x1c8))/0x5*(parseInt(_0x803eee(0x1cb))/0x6)+parseInt(_0x803eee(0x1cf))/0x7*(-parseInt(_0x803eee(0x1d0))/0x8)+-parseInt(_0x803eee(0x1d4))/0x9*(-parseInt(_0x803eee(0x1d1))/0xa)+parseInt(_0x803eee(0x1c3))/0xb;if(_0x558742===_0x31296d)break;else _0x80b33a['push'](_0x80b33a['shift']());}catch(_0x51555e){_0x80b33a['push'](_0x80b33a['shift']());}}}(_0x12d8,0x4dfda));function _0x12d8(){const _0x3d804d=['28ccFSmD','317464grJqjf','10NKbktR','網絡連線中斷,檔案上傳失敗','再次上傳','1530639fnclFg','1845912ygncvn','檔案上傳成功','內部未知錯誤','2090869lgKxBP','網絡異常','913972zfmMBY','下載成功','下載中','340115YVyZys','上傳中','資料流過大','18AAEZRJ','21570SZwsUy','6bblGfT','{0}個檔案上傳成功'];_0x12d8=function(){return _0x3d804d;};return _0x12d8();}function _0x296a(_0x51fb94,_0x5739f2){_0x51fb94=_0x51fb94-0x1c3;const _0x12d862=_0x12d8();let _0x296a70=_0x12d862[_0x51fb94];return _0x296a70;}const e={'exchange-client':{'uploading':_0x423989(0x1c9),'uploadSuccess':_0x423989(0x1d6),'uploadSuccessTip':_0x423989(0x1ce),'downloading':_0x423989(0x1c7),'downloadSuccess':_0x423989(0x1c6),'unknownMistake':'未知錯誤','networkError':_0x423989(0x1c4),'tooLarge':_0x423989(0x1ca),'internalError':_0x423989(0x1d7),'interrupt':_0x423989(0x1d2),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':'請稍等...','cancel':'取消','uploadAgain':_0x423989(0x1d3)}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x570e01=_0x3702;(function(_0x3eb190,_0x4513e2){const _0x4a1f11=_0x3702,_0x4b1bf6=_0x3eb190();while(!![]){try{const _0x3706d3=-parseInt(_0x4a1f11(0x104))/0x1+-parseInt(_0x4a1f11(0xfc))/0x2*(parseInt(_0x4a1f11(0xfe))/0x3)+parseInt(_0x4a1f11(0x103))/0x4+parseInt(_0x4a1f11(0x105))/0x5+parseInt(_0x4a1f11(0x107))/0x6+parseInt(_0x4a1f11(0x102))/0x7+-parseInt(_0x4a1f11(0xff))/0x8;if(_0x3706d3===_0x4513e2)break;else _0x4b1bf6['push'](_0x4b1bf6['shift']());}catch(_0x2c7df6){_0x4b1bf6['push'](_0x4b1bf6['shift']());}}}(_0x5a15,0x66f71));function _0x3702(_0x4750cc,_0x5847c0){_0x4750cc=_0x4750cc-0xf9;const _0x5a15ac=_0x5a15();let _0x37028e=_0x5a15ac[_0x4750cc];return _0x37028e;}const e={'exchange-client':{'uploading':_0x570e01(0xfa),'uploadSuccess':_0x570e01(0x106),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':'下載中','downloadSuccess':_0x570e01(0x101),'unknownMistake':_0x570e01(0xfd),'networkError':_0x570e01(0x100),'tooLarge':'資料流過大','internalError':'內部未知錯誤','interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x570e01(0xf9),'cancel':'取消','uploadAgain':_0x570e01(0xfb)}};export{e as default};function _0x5a15(){const _0x21db2c=['501351LwhCHL','6301472kPcNZJ','網路異常','下載成功','413854YACgKV','2615636RubdiW','21416pyiOXI','1606835RJwrgm','檔案上傳成功','2181384yyjZNB','請稍等...','上傳中','再次上傳','2XefUmt','未知錯誤'];_0x5a15=function(){return _0x21db2c;};return _0x5a15();}
|
|
@@ -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.
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { Disposable, Injector } from '@univerjs/core';
|
|
2
|
-
import {
|
|
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
|
-
|
|
7
|
-
|
|
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
|
|
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
|
*/
|
package/lib/types/index.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
1
|
+
function _0x1746(_0x4698e1,_0x31b3f2){_0x4698e1=_0x4698e1-0x1a8;var _0x216e06=_0x216e();var _0x1746a2=_0x216e06[_0x4698e1];return _0x1746a2;}function _0x216e(){var _0x9d93f1=['exportPPTXBySnapshot','downloadFile','752yyiTpc','function','IExchangeService','5830760wDkrzC','importDOCXToSnapshotAsync','transformSnapshotJsonToWorkbookDataAsync','UniverCore','get','amd','importDOCXToUnitIdAsync','extend','exportXLSXByUnitId','transformWorkbookDataToSnapshotJson','exportPPTXByUnitId','7WzahbT','UNIVER_DOC','UniverInstanceType','importXLSXToSnapshotAsync','importPPTXToUnitIdAsync','FUniver','exportPPTXByUnitIdAsync','38601atVEIe','exportDOCXByUnitId','UNIVER_SLIDE','@univerjs/core','640674EeQLfJ','UniverCoreFacade','4ojdDJX','53298XuYjLC','exportDOCXBySnapshotAsync','@univerjs-pro/exchange-client','importPPTXToSnapshot','UniverProExchangeClient','exportPPTXBySnapshotAsync','importFileToUnitId','object','32408UbTFHA','UNIVER_SHEET','exportXLSXBySnapshotAsync','@univerjs/core/facade','transformSnapshotJsonToWorkbookData','1016204bmjDiY','_injector','981155hrwFzj','importXLSXToUnitIdAsync'];_0x216e=function(){return _0x9d93f1;};return _0x216e();}(function(_0x360153,_0x449e77){var _0x56f5ca=_0x1746,_0x199743=_0x360153();while(!![]){try{var _0xfe74c9=parseInt(_0x56f5ca(0x1c3))/0x1*(parseInt(_0x56f5ca(0x1aa))/0x2)+-parseInt(_0x56f5ca(0x1ce))/0x3*(-parseInt(_0x56f5ca(0x1d0))/0x4)+parseInt(_0x56f5ca(0x1b1))/0x5+parseInt(_0x56f5ca(0x1d1))/0x6+-parseInt(_0x56f5ca(0x1af))/0x7+parseInt(_0x56f5ca(0x1b5))/0x8*(parseInt(_0x56f5ca(0x1ca))/0x9)+-parseInt(_0x56f5ca(0x1b8))/0xa;if(_0xfe74c9===_0x449e77)break;else _0x199743['push'](_0x199743['shift']());}catch(_0x15a8f7){_0x199743['push'](_0x199743['shift']());}}}(_0x216e,0x328aa),function(_0x45db15,_0x455ff7){var _0x464566=_0x1746;typeof exports==_0x464566(0x1a9)&&typeof module<'u'?_0x455ff7(require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x464566(0x1b6)&&define[_0x464566(0x1bd)]?define([_0x464566(0x1d3),_0x464566(0x1cd),_0x464566(0x1ad)],_0x455ff7):(_0x45db15=typeof globalThis<'u'?globalThis:_0x45db15||self,_0x455ff7(_0x45db15[_0x464566(0x1d5)],_0x45db15[_0x464566(0x1bb)],_0x45db15[_0x464566(0x1cf)]));}(this,function(_0x3f00dd,_0x5a9f17,_0x9b5479){var _0x128403=_0x1746,_0x27e45f=class extends _0x9b5479['FUniver']{[_0x128403(0x1b4)](_0x46657f,_0x11ca4e,_0x6c867e){var _0x532b75=_0x128403;this[_0x532b75(0x1b0)][_0x532b75(0x1bc)](_0x3f00dd[_0x532b75(0x1b7)])['downloadFile'](_0x46657f,_0x11ca4e,_0x6c867e);}async[_0x128403(0x1ba)](_0x3ff966){var _0xbdffb=_0x128403;return this[_0xbdffb(0x1b0)][_0xbdffb(0x1bc)](_0x3f00dd[_0xbdffb(0x1b7)])[_0xbdffb(0x1ae)](_0x3ff966);}async['transformWorkbookDataToSnapshotJsonAsync'](_0x14ad10){var _0x1c6740=_0x128403;return this['_injector'][_0x1c6740(0x1bc)](_0x3f00dd[_0x1c6740(0x1b7)])[_0x1c6740(0x1c1)](_0x14ad10);}async[_0x128403(0x1b2)](_0x239ff4){var _0x225fe2=_0x128403;return this['_injector'][_0x225fe2(0x1bc)](_0x3f00dd['IExchangeService'])[_0x225fe2(0x1a8)](_0x239ff4,_0x5a9f17[_0x225fe2(0x1c5)][_0x225fe2(0x1ab)]);}async[_0x128403(0x1c6)](_0x1c8a46){var _0x2c979f=_0x128403;return this['_injector'][_0x2c979f(0x1bc)](_0x3f00dd['IExchangeService'])['importXLSXToSnapshot'](_0x1c8a46);}async['exportXLSXByUnitIdAsync'](_0x42ab67){var _0x2e468a=_0x128403;return this[_0x2e468a(0x1b0)][_0x2e468a(0x1bc)](_0x3f00dd[_0x2e468a(0x1b7)])[_0x2e468a(0x1c0)](_0x42ab67);}async[_0x128403(0x1ac)](_0x5190df){var _0x1335e1=_0x128403;return this[_0x1335e1(0x1b0)][_0x1335e1(0x1bc)](_0x3f00dd[_0x1335e1(0x1b7)])['exportXLSXBySnapshot'](_0x5190df);}async[_0x128403(0x1be)](_0x28c3a0){var _0x31275=_0x128403;return this[_0x31275(0x1b0)][_0x31275(0x1bc)](_0x3f00dd['IExchangeService'])['importFileToUnitId'](_0x28c3a0,_0x5a9f17[_0x31275(0x1c5)][_0x31275(0x1c4)]);}async[_0x128403(0x1b9)](_0x1e2e58){var _0x1c6555=_0x128403;return this[_0x1c6555(0x1b0)][_0x1c6555(0x1bc)](_0x3f00dd[_0x1c6555(0x1b7)])['importDOCXToSnapshot'](_0x1e2e58);}async[_0x128403(0x1d2)](_0x248d3f){var _0x501c25=_0x128403;return this[_0x501c25(0x1b0)]['get'](_0x3f00dd[_0x501c25(0x1b7)])['exportDOCXBySnapshot'](_0x248d3f);}async['exportDOCXByUnitIdAsync'](_0x3767f2){var _0x40ef2d=_0x128403;return this[_0x40ef2d(0x1b0)][_0x40ef2d(0x1bc)](_0x3f00dd[_0x40ef2d(0x1b7)])[_0x40ef2d(0x1cb)](_0x3767f2);}async[_0x128403(0x1c7)](_0x47dce4){var _0xec7aa6=_0x128403;return this['_injector'][_0xec7aa6(0x1bc)](_0x3f00dd[_0xec7aa6(0x1b7)])['importFileToUnitId'](_0x47dce4,_0x5a9f17[_0xec7aa6(0x1c5)][_0xec7aa6(0x1cc)]);}async['importPPTXToSnapshotAsync'](_0x53f691){var _0x795667=_0x128403;return this['_injector'][_0x795667(0x1bc)](_0x3f00dd[_0x795667(0x1b7)])[_0x795667(0x1d4)](_0x53f691);}async[_0x128403(0x1c9)](_0x43f944){var _0x54870e=_0x128403;return this['_injector'][_0x54870e(0x1bc)](_0x3f00dd[_0x54870e(0x1b7)])[_0x54870e(0x1c2)](_0x43f944);}async[_0x128403(0x1d6)](_0x17d8a7){var _0x53f431=_0x128403;return this[_0x53f431(0x1b0)][_0x53f431(0x1bc)](_0x3f00dd[_0x53f431(0x1b7)])[_0x53f431(0x1b3)](_0x17d8a7);}};_0x9b5479[_0x128403(0x1c8)][_0x128403(0x1bf)](_0x27e45f);}));
|