@univerjs-pro/exchange-client 0.4.2 → 0.5.0-beta.0

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.
@@ -0,0 +1 @@
1
+ const _0x3c09ac=_0x563d;function _0x563d(_0x348553,_0x3ce381){const _0xcb017e=_0xcb01();return _0x563d=function(_0x563d7b,_0x42b3db){_0x563d7b=_0x563d7b-0x81;let _0x9df77f=_0xcb017e[_0x563d7b];return _0x9df77f;},_0x563d(_0x348553,_0x3ce381);}function _0xcb01(){const _0x4ac977=['Open(File)','Cancel','Downloading','File\x20uploaded\x20successfully','Upload\x20again','143DyrkbD','409272aemZaK','154772PEeWJF','{0}\x20file(s)\x20uploaded\x20successfully','1mASwZD','Save\x20As','Please\x20wait...','Uploading','Data\x20is\x20too\x20large','3496086YBdyIx','3176736BUhTKa','1295VUgWJE','Unknown\x20mistake','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','2260940PRrlwV','17208QgGWjq','100WOqFxk','File','Network\x20error','Internal\x20unknown\x20error','1893753FoHeoH'];_0xcb01=function(){return _0x4ac977;};return _0xcb01();}(function(_0x5e7cb8,_0x3286ba){const _0x2220e2=_0x563d,_0x2519bd=_0x5e7cb8();while(!![]){try{const _0x2fd3f2=parseInt(_0x2220e2(0x83))/0x1*(-parseInt(_0x2220e2(0x9a))/0x2)+-parseInt(_0x2220e2(0x89))/0x3+parseInt(_0x2220e2(0x81))/0x4*(-parseInt(_0x2220e2(0x8f))/0x5)+-parseInt(_0x2220e2(0x88))/0x6+parseInt(_0x2220e2(0x8a))/0x7*(parseInt(_0x2220e2(0x8e))/0x8)+parseInt(_0x2220e2(0x93))/0x9+parseInt(_0x2220e2(0x8d))/0xa*(parseInt(_0x2220e2(0x99))/0xb);if(_0x2fd3f2===_0x3286ba)break;else _0x2519bd['push'](_0x2519bd['shift']());}catch(_0xa86f2){_0x2519bd['push'](_0x2519bd['shift']());}}}(_0xcb01,0xe26fd));const e={'exchange':{'file':_0x3c09ac(0x90),'upload':_0x3c09ac(0x94),'download':_0x3c09ac(0x84),'uploading':_0x3c09ac(0x86),'uploadSuccess':_0x3c09ac(0x97),'uploadSuccessTip':_0x3c09ac(0x82),'downloading':_0x3c09ac(0x96),'downloadSuccess':'Download\x20success','unknownMistake':_0x3c09ac(0x8b),'networkError':_0x3c09ac(0x91),'tooLarge':_0x3c09ac(0x87),'internalError':_0x3c09ac(0x92),'interrupt':_0x3c09ac(0x8c),'wait':_0x3c09ac(0x85),'cancel':_0x3c09ac(0x95),'uploadAgain':_0x3c09ac(0x98)}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x2be86d=_0x3fea;(function(_0x12c410,_0x279e64){const _0x5d1b0f=_0x3fea,_0x450950=_0x12c410();while(!![]){try{const _0x3b6720=parseInt(_0x5d1b0f(0x1f0))/0x1+-parseInt(_0x5d1b0f(0x1f6))/0x2*(-parseInt(_0x5d1b0f(0x202))/0x3)+-parseInt(_0x5d1b0f(0x1ef))/0x4*(-parseInt(_0x5d1b0f(0x201))/0x5)+parseInt(_0x5d1b0f(0x200))/0x6+-parseInt(_0x5d1b0f(0x1f7))/0x7+-parseInt(_0x5d1b0f(0x1ff))/0x8*(parseInt(_0x5d1b0f(0x1fc))/0x9)+parseInt(_0x5d1b0f(0x1ee))/0xa*(-parseInt(_0x5d1b0f(0x203))/0xb);if(_0x3b6720===_0x279e64)break;else _0x450950['push'](_0x450950['shift']());}catch(_0xe1dcff){_0x450950['push'](_0x450950['shift']());}}}(_0x5b3d,0xe0d38));const o={'exchange':{'file':_0x2be86d(0x1f9),'upload':'بازکردن(فایل)','download':_0x2be86d(0x1f1),'uploading':_0x2be86d(0x1f3),'uploadSuccess':_0x2be86d(0x1f8),'uploadSuccessTip':_0x2be86d(0x1fd),'downloading':_0x2be86d(0x1fe),'downloadSuccess':_0x2be86d(0x1fa),'unknownMistake':_0x2be86d(0x1fb),'networkError':'خطای\x20شبکه','tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':_0x2be86d(0x1f5),'interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','wait':_0x2be86d(0x1f4),'cancel':'لغو','uploadAgain':_0x2be86d(0x1f2)}};function _0x3fea(_0x5adf94,_0x5f4919){const _0x5b3d9c=_0x5b3d();return _0x3fea=function(_0x3fea55,_0x25b2b8){_0x3fea55=_0x3fea55-0x1ee;let _0x284191=_0x5b3d9c[_0x3fea55];return _0x284191;},_0x3fea(_0x5adf94,_0x5f4919);}function _0x5b3d(){const _0x3b8d51=['1949946bPZzAz','11THyWrw','20009060awnlqG','3712IrKkDi','587088kAsVwB','ذخیره\x20به\x20عنوان','بارگذاری\x20مجدد','در\x20حال\x20بارگذاری','لطفا\x20صبر\x20کنید...','خطای\x20داخلی\x20ناشناخته','4ffaUEW','2170812rmYpgD','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','فایل','دانلود\x20موفقیت\x20آمیز','خطای\x20ناشناخته','14197761hdaVUv','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','در\x20حال\x20دانلود','8yKIpNR','8308146FpPRwX','8285OzfXkO'];_0x5b3d=function(){return _0x3b8d51;};return _0x5b3d();}export{o as default};
@@ -0,0 +1 @@
1
+ const _0x2f1991=_0xae3f;function _0x3b58(){const _0x2abd97=['7741122kVFVEB','Файл\x20успешно\x20загружен','Загрузка','1424198ZJEekI','Сохранить\x20как','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','Открыть(Файл)','11162PTMsJe','Пожалуйста,\x20подождите...','7769853cTXAmP','Скачивание\x20успешно','Внутренняя\x20неизвестная\x20ошибка','5MHmUGH','Сетевая\x20ошибка','{0}\x20файл(ов)\x20успешно\x20загружен(о)','726EYjHIi','4939872SrymBr','2809892dzNiqu','9939352vKZUhF'];_0x3b58=function(){return _0x2abd97;};return _0x3b58();}(function(_0x2a56b3,_0x211b36){const _0x23607c=_0xae3f,_0x5f5b53=_0x2a56b3();while(!![]){try{const _0x18f8c4=parseInt(_0x23607c(0x1a8))/0x1+parseInt(_0x23607c(0x1ac))/0x2*(parseInt(_0x23607c(0x1a1))/0x3)+-parseInt(_0x23607c(0x1a3))/0x4*(-parseInt(_0x23607c(0x1b1))/0x5)+-parseInt(_0x23607c(0x1a5))/0x6+parseInt(_0x23607c(0x1a2))/0x7+-parseInt(_0x23607c(0x1a4))/0x8+-parseInt(_0x23607c(0x1ae))/0x9;if(_0x18f8c4===_0x211b36)break;else _0x5f5b53['push'](_0x5f5b53['shift']());}catch(_0x5de0fd){_0x5f5b53['push'](_0x5f5b53['shift']());}}}(_0x3b58,0xc0266));const o={'exchange':{'file':'Файл','upload':_0x2f1991(0x1ab),'download':_0x2f1991(0x1a9),'uploading':_0x2f1991(0x1a7),'uploadSuccess':_0x2f1991(0x1a6),'uploadSuccessTip':_0x2f1991(0x1a0),'downloading':'Скачивание','downloadSuccess':_0x2f1991(0x1af),'unknownMistake':'Неизвестная\x20ошибка','networkError':_0x2f1991(0x19f),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x2f1991(0x1b0),'interrupt':_0x2f1991(0x1aa),'wait':_0x2f1991(0x1ad),'cancel':'Отмена','uploadAgain':'Загрузить\x20снова'}};function _0xae3f(_0x155624,_0x3a01af){const _0x3b588d=_0x3b58();return _0xae3f=function(_0xae3f38,_0x24ece8){_0xae3f38=_0xae3f38-0x19f;let _0x2e370f=_0x3b588d[_0xae3f38];return _0x2e370f;},_0xae3f(_0x155624,_0x3a01af);}export{o as default};
@@ -0,0 +1 @@
1
+ function _0xe737(_0x336ee1,_0x3a5b83){const _0x4cb24c=_0x4cb2();return _0xe737=function(_0xe737e2,_0x11b948){_0xe737e2=_0xe737e2-0x1ed;let _0x2a0071=_0x4cb24c[_0xe737e2];return _0x2a0071;},_0xe737(_0x336ee1,_0x3a5b83);}function _0x4cb2(){const _0x442eb5=['2110648xXJNGN','12134xlmCUk','1168069XDTnVg','Đang\x20tải\x20lên','Lỗi\x20mạng','3296628lbpchg','Hủy\x20bỏ','Tải\x20xuống\x20thành\x20công','186ZJlcJz','Lưu\x20dưới\x20dạng','399820TBMuDf','Mở\x20(Tệp)','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','268tsnkfB','Lỗi\x20không\x20xác\x20định','Luồng\x20dữ\x20liệu\x20quá\x20lớn','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Đang\x20tải\x20xuống','6535WCtozP','838458NHoCCs'];_0x4cb2=function(){return _0x442eb5;};return _0x4cb2();}const _0x5be303=_0xe737;(function(_0x5f8cb6,_0xfc2ca3){const _0x37f9c7=_0xe737,_0xa53888=_0x5f8cb6();while(!![]){try{const _0x5cdf75=parseInt(_0x37f9c7(0x1f8))/0x1+parseInt(_0x37f9c7(0x1ef))/0x2*(parseInt(_0x37f9c7(0x1f6))/0x3)+-parseInt(_0x37f9c7(0x1fb))/0x4*(-parseInt(_0x37f9c7(0x200))/0x5)+-parseInt(_0x37f9c7(0x1ed))/0x6+parseInt(_0x37f9c7(0x1f0))/0x7+-parseInt(_0x37f9c7(0x1ee))/0x8+-parseInt(_0x37f9c7(0x1f3))/0x9;if(_0x5cdf75===_0xfc2ca3)break;else _0xa53888['push'](_0xa53888['shift']());}catch(_0x34836c){_0xa53888['push'](_0xa53888['shift']());}}}(_0x4cb2,0x3f9c0));const n={'exchange':{'file':'Tệp','upload':_0x5be303(0x1f9),'download':_0x5be303(0x1f7),'uploading':_0x5be303(0x1f1),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x5be303(0x1fe),'downloading':_0x5be303(0x1ff),'downloadSuccess':_0x5be303(0x1f5),'unknownMistake':_0x5be303(0x1fc),'networkError':_0x5be303(0x1f2),'tooLarge':_0x5be303(0x1fd),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x5be303(0x1fa),'wait':'Vui\x20lòng\x20đợi...','cancel':_0x5be303(0x1f4),'uploadAgain':'Tải\x20lên\x20lại'}};export{n as default};
@@ -0,0 +1 @@
1
+ function _0x557f(_0x2dcf79,_0x387f55){const _0x35e3d3=_0x35e3();return _0x557f=function(_0x557f38,_0x50b461){_0x557f38=_0x557f38-0x1d9;let _0x2ad551=_0x35e3d3[_0x557f38];return _0x2ad551;},_0x557f(_0x2dcf79,_0x387f55);}const _0x2b04e2=_0x557f;(function(_0x3e222b,_0x1ce9a4){const _0x1207af=_0x557f,_0x5150d8=_0x3e222b();while(!![]){try{const _0x29a13d=parseInt(_0x1207af(0x1e5))/0x1*(parseInt(_0x1207af(0x1d9))/0x2)+parseInt(_0x1207af(0x1e8))/0x3*(parseInt(_0x1207af(0x1da))/0x4)+parseInt(_0x1207af(0x1e2))/0x5+parseInt(_0x1207af(0x1dc))/0x6+-parseInt(_0x1207af(0x1e0))/0x7*(-parseInt(_0x1207af(0x1f0))/0x8)+-parseInt(_0x1207af(0x1de))/0x9+-parseInt(_0x1207af(0x1e6))/0xa;if(_0x29a13d===_0x1ce9a4)break;else _0x5150d8['push'](_0x5150d8['shift']());}catch(_0x5af8f0){_0x5150d8['push'](_0x5150d8['shift']());}}}(_0x35e3,0xe7715));function _0x35e3(){const _0x331b61=['66215QnrjVr','{0}个文件上传成功','网络连接中断,文件上传失败。','10289PtBglQ','2971480bWJIbI','再次上传','1797VPRwIU','网络异常','下载成功','数据流过大','打开(文件)','上传中','下载中','文件上传成功','7003880PAPKOP','58yycjCL','7288GrDdYb','另存为','1029138TJCImY','内部未知错误','10843857yRPVFf','请稍等...','7djlSVw','未知错误'];_0x35e3=function(){return _0x331b61;};return _0x35e3();}const o={'exchange':{'file':'文件','upload':_0x2b04e2(0x1ec),'download':_0x2b04e2(0x1db),'uploading':_0x2b04e2(0x1ed),'uploadSuccess':_0x2b04e2(0x1ef),'uploadSuccessTip':_0x2b04e2(0x1e3),'downloading':_0x2b04e2(0x1ee),'downloadSuccess':_0x2b04e2(0x1ea),'unknownMistake':_0x2b04e2(0x1e1),'networkError':_0x2b04e2(0x1e9),'tooLarge':_0x2b04e2(0x1eb),'internalError':_0x2b04e2(0x1dd),'interrupt':_0x2b04e2(0x1e4),'wait':_0x2b04e2(0x1df),'cancel':'取消','uploadAgain':_0x2b04e2(0x1e7)}};export{o as default};
@@ -0,0 +1 @@
1
+ function _0x241b(){const _0x173b6f=['網路連線中斷,檔案上傳失敗。\x20','另存為','請稍等...','579173nfxORE','1937736rLIUKU','4362590hKqaeY','708793OOheZQ','上傳中','4UnzkeY','58467AWCcTd','未知錯誤','網路異常','開啟(檔案)','{0}個檔案上傳成功','內部未知錯誤','18gHzSYq','5574285ENFstw','資料流過大','檔案上傳成功','1501880fXtxwA','下載成功'];_0x241b=function(){return _0x173b6f;};return _0x241b();}const _0xd18075=_0x5991;(function(_0x2843d8,_0x27da65){const _0x5bd004=_0x5991,_0x127eea=_0x2843d8();while(!![]){try{const _0x1f4802=-parseInt(_0x5bd004(0xb1))/0x1+parseInt(_0x5bd004(0xa5))/0x2*(parseInt(_0x5bd004(0x9f))/0x3)+-parseInt(_0x5bd004(0x9e))/0x4*(-parseInt(_0x5bd004(0xb0))/0x5)+-parseInt(_0x5bd004(0xaf))/0x6+parseInt(_0x5bd004(0xae))/0x7+-parseInt(_0x5bd004(0xa9))/0x8+parseInt(_0x5bd004(0xa6))/0x9;if(_0x1f4802===_0x27da65)break;else _0x127eea['push'](_0x127eea['shift']());}catch(_0x1f8f85){_0x127eea['push'](_0x127eea['shift']());}}}(_0x241b,0x8186b));function _0x5991(_0xa2fb5,_0x400e09){const _0x241bab=_0x241b();return _0x5991=function(_0x5991ac,_0x3ecb33){_0x5991ac=_0x5991ac-0x9e;let _0x45109a=_0x241bab[_0x5991ac];return _0x45109a;},_0x5991(_0xa2fb5,_0x400e09);}const o={'exchange':{'file':'檔案','upload':_0xd18075(0xa2),'download':_0xd18075(0xac),'uploading':_0xd18075(0xb2),'uploadSuccess':_0xd18075(0xa8),'uploadSuccessTip':_0xd18075(0xa3),'downloading':'下載中','downloadSuccess':_0xd18075(0xaa),'unknownMistake':_0xd18075(0xa0),'networkError':_0xd18075(0xa1),'tooLarge':_0xd18075(0xa7),'internalError':_0xd18075(0xa4),'interrupt':_0xd18075(0xab),'wait':_0xd18075(0xad),'cancel':'取消','uploadAgain':'再次上傳'}};export{o as default};
@@ -0,0 +1,36 @@
1
+ import { IDocumentData, IWorkbookData } from '@univerjs/core';
2
+ interface IFUniverExchangeClientMixin {
3
+ /**
4
+ * Import XLSX file to unit id
5
+ * @param file File path or file object
6
+ */
7
+ importXLSXToUnitId(file: string | File): Promise<string | undefined>;
8
+ /**
9
+ * Import XLSX file to workbook data
10
+ * @param file File path or file object
11
+ */
12
+ importXLSXToSnapshot(file: string | File): Promise<IWorkbookData | undefined>;
13
+ /**
14
+ * Export XLSX file by unit id
15
+ */
16
+ exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
17
+ /**
18
+ * Export XLSX file by workbook data
19
+ */
20
+ exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
21
+ /**
22
+ * Import DOCX file to unit id
23
+ * @param file File path or file object
24
+ */
25
+ importDOCXToUnitId(file: string | File): Promise<string | undefined>;
26
+ /**
27
+ * Import DOCX file to document data
28
+ * @param file File path or file object
29
+ */
30
+ importDOCXToSnapshot(file: string | File): Promise<IDocumentData | undefined>;
31
+ }
32
+ declare module '@univerjs/core' {
33
+ interface FUniver extends IFUniverExchangeClientMixin {
34
+ }
35
+ }
36
+ export {};
@@ -0,0 +1 @@
1
+ import './f-univer';
@@ -1,16 +1 @@
1
- /**
2
- * Copyright 2023-present DreamNum Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
1
  export {};
@@ -0,0 +1 @@
1
+ function _0x3b02(_0x1d4145,_0x3b5886){const _0x4bc143=_0x4bc1();return _0x3b02=function(_0x3b02ee,_0x4585cd){_0x3b02ee=_0x3b02ee-0x1e7;let _0x4a95f9=_0x4bc143[_0x3b02ee];return _0x4a95f9;},_0x3b02(_0x1d4145,_0x3b5886);}function _0x4bc1(){const _0x1f4636=['@univerjs/core','importXLSXToUnitId','131174YgPrUl','importDOCXToSnapshot','UNIVER_PROJECT','414530pJfvHt','FUniver','756620RJaMaO','importFileToUnitId','24csZBFC','1920faBGiw','UNIVER_UNKNOWN','1500905FtlgFv','function','13554nADJar','760326XtTQWy','@univerjs-pro/exchange-client','object','21QvKMxq','exportXLSXByUnitId','78350DCHTsH','The\x20exchange\x20service\x20is\x20not\x20available','UniverProExchangeClient','UNIVER_DOC','IExchangeService','583PiGWiY','_injector','amd','exportXLSXBySnapshot','UNIVER_SHEET','get','importXLSXToSnapshot'];_0x4bc1=function(){return _0x1f4636;};return _0x4bc1();}(function(_0x25ecc8,_0x364f13){const _0x37d6c4=_0x3b02,_0x266b32=_0x25ecc8();while(!![]){try{const _0x4478ec=-parseInt(_0x37d6c4(0x1e8))/0x1+-parseInt(_0x37d6c4(0x205))/0x2*(parseInt(_0x37d6c4(0x1f5))/0x3)+-parseInt(_0x37d6c4(0x1ec))/0x4*(-parseInt(_0x37d6c4(0x1ea))/0x5)+-parseInt(_0x37d6c4(0x1f2))/0x6+-parseInt(_0x37d6c4(0x1ef))/0x7+-parseInt(_0x37d6c4(0x1ed))/0x8*(-parseInt(_0x37d6c4(0x1f1))/0x9)+-parseInt(_0x37d6c4(0x1f7))/0xa*(-parseInt(_0x37d6c4(0x1fc))/0xb);if(_0x4478ec===_0x364f13)break;else _0x266b32['push'](_0x266b32['shift']());}catch(_0x257e22){_0x266b32['push'](_0x266b32['shift']());}}}(_0x4bc1,0x72b68),function(_0x24f4e1,_0x5c9707){const _0xe032e9=_0x3b02;typeof exports==_0xe032e9(0x1f4)&&typeof module<'u'?_0x5c9707(require(_0xe032e9(0x203)),require(_0xe032e9(0x1f3))):typeof define==_0xe032e9(0x1f0)&&define[_0xe032e9(0x1fe)]?define([_0xe032e9(0x203),_0xe032e9(0x1f3)],_0x5c9707):(_0x24f4e1=typeof globalThis<'u'?globalThis:_0x24f4e1||self,_0x5c9707(_0x24f4e1['UniverCore'],_0x24f4e1[_0xe032e9(0x1f9)]));}(this,function(_0x305670,_0x7a5fbf){'use strict';const _0x22df5e=_0x3b02;var _0x3f2fc5=(_0x41a677=>(_0x41a677[_0x41a677[_0x22df5e(0x1ee)]=0x0]=_0x22df5e(0x1ee),_0x41a677[_0x41a677['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x41a677[_0x41a677[_0x22df5e(0x200)]=0x2]=_0x22df5e(0x200),_0x41a677[_0x41a677['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x41a677[_0x41a677[_0x22df5e(0x1e7)]=0x4]='UNIVER_PROJECT',_0x41a677[_0x41a677['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x41a677))(_0x3f2fc5||{});class _0x38b85a extends _0x305670[_0x22df5e(0x1e9)]{async[_0x22df5e(0x204)](_0x2a5df1){const _0x73e926=_0x22df5e,_0x43400e=this[_0x73e926(0x1fd)]['get'](_0x7a5fbf[_0x73e926(0x1fb)]);if(!_0x43400e)throw new Error(_0x73e926(0x1f8));return _0x43400e[_0x73e926(0x1eb)](_0x2a5df1,_0x3f2fc5[_0x73e926(0x200)]);}async[_0x22df5e(0x202)](_0x2896e7){const _0x2a943d=_0x22df5e,_0x1e4bb6=this[_0x2a943d(0x1fd)][_0x2a943d(0x201)](_0x7a5fbf['IExchangeService']);if(!_0x1e4bb6)throw new Error(_0x2a943d(0x1f8));return _0x1e4bb6['importXLSXToSnapshot'](_0x2896e7);}async['exportXLSXByUnitId'](_0x2aeb16){const _0x3baa60=_0x22df5e,_0x4ee09a=this[_0x3baa60(0x1fd)][_0x3baa60(0x201)](_0x7a5fbf[_0x3baa60(0x1fb)]);if(!_0x4ee09a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ee09a[_0x3baa60(0x1f6)](_0x2aeb16);}async[_0x22df5e(0x1ff)](_0x6b4e67){const _0x2035f5=_0x22df5e,_0x490e19=this[_0x2035f5(0x1fd)][_0x2035f5(0x201)](_0x7a5fbf[_0x2035f5(0x1fb)]);if(!_0x490e19)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x490e19['exportXLSXBySnapshot'](_0x6b4e67);}async['importDOCXToUnitId'](_0x3f4b2c){const _0x457a77=_0x22df5e,_0x237639=this[_0x457a77(0x1fd)]['get'](_0x7a5fbf[_0x457a77(0x1fb)]);if(!_0x237639)throw new Error(_0x457a77(0x1f8));return _0x237639[_0x457a77(0x1eb)](_0x3f4b2c,_0x3f2fc5[_0x457a77(0x1fa)]);}async['importDOCXToSnapshot'](_0x948c58){const _0x24628c=_0x22df5e,_0x2ff328=this['_injector']['get'](_0x7a5fbf['IExchangeService']);if(!_0x2ff328)throw new Error(_0x24628c(0x1f8));return _0x2ff328[_0x24628c(0x206)](_0x948c58);}}_0x305670[_0x22df5e(0x1e9)]['extend'](_0x38b85a);}));