@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.
- 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 _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();}
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
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};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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();}
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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();}
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
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.
|
|
@@ -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 _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);}));
|