@univerjs-pro/exchange-client 0.19.0 → 0.20.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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.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-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.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-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.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-TW.js +1 -1
- package/lib/types/facade/f-univer.d.ts +0 -86
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +8 -8
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3da3(){const _0x3c6ce2=['Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','304110WtaUnL','63dqCsoC','Neznáma\x20chyba','Interná\x20neznáma\x20chyba','274184ubVnPT','6EvzwYb','Sieťová\x20chyba','Nahrať\x20znova','1251340UBdVzr','7280603TqqpYD','Prosím\x20počkajte...','Uložiť\x20ako','5rOdZkQ','Súbor','Zrušiť','Otvoriť\x20(súbor)','Sťahovanie','Sťahovanie\x20úspešné','596855eVQmUJ','195122tTItWf','Dáta\x20sú\x20príliš\x20veľké','132657ByERew','4sCxjiW','Úspešne\x20nahraných\x20{0}\x20súborov'];_0x3da3=function(){return _0x3c6ce2;};return _0x3da3();}const _0x811d7c=_0x4a4a;(function(_0x2c9518,_0x1f87bd){const _0x1ec7b2=_0x4a4a,_0x2d5b14=_0x2c9518();while(!![]){try{const _0x44b5ef=-parseInt(_0x1ec7b2(0xea))/0x1*(parseInt(_0x1ec7b2(0xf1))/0x2)+-parseInt(_0x1ec7b2(0xf3))/0x3*(parseInt(_0x1ec7b2(0xf4))/0x4)+parseInt(_0x1ec7b2(0xe6))/0x5+-parseInt(_0x1ec7b2(0xe3))/0x6*(-parseInt(_0x1ec7b2(0xf0))/0x7)+parseInt(_0x1ec7b2(0xe2))/0x8+parseInt(_0x1ec7b2(0xdf))/0x9*(-parseInt(_0x1ec7b2(0xde))/0xa)+parseInt(_0x1ec7b2(0xe7))/0xb;if(_0x44b5ef===_0x1f87bd)break;else _0x2d5b14['push'](_0x2d5b14['shift']());}catch(_0x1743f7){_0x2d5b14['push'](_0x2d5b14['shift']());}}}(_0x3da3,0x4603a));function _0x4a4a(_0x4135df,_0x365f2a){_0x4135df=_0x4135df-0xde;const _0x3da39a=_0x3da3();let _0x4a4a67=_0x3da39a[_0x4135df];return _0x4a4a67;}const e={'exchange':{'file':_0x811d7c(0xeb),'upload':_0x811d7c(0xed),'download':_0x811d7c(0xe9),'uploading':'Nahrávanie','uploadSuccess':'Súbor\x20bol\x20úspešne\x20nahraný','uploadSuccessTip':_0x811d7c(0xf5),'downloading':_0x811d7c(0xee),'downloadSuccess':_0x811d7c(0xef),'unknownMistake':_0x811d7c(0xe0),'networkError':_0x811d7c(0xe4),'tooLarge':_0x811d7c(0xf2),'internalError':_0x811d7c(0xe1),'interrupt':'Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','fileTypeError':_0x811d7c(0xf6),'wait':_0x811d7c(0xe8),'cancel':_0x811d7c(0xec),'uploadAgain':_0x811d7c(0xe5)}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x10d8(_0x2f47ce,_0x15b083){_0x2f47ce=_0x2f47ce-0x139;const _0x46ee84=_0x46ee();let _0x10d8b1=_0x46ee84[_0x2f47ce];return _0x10d8b1;}const _0x49fffa=_0x10d8;function _0x46ee(){const _0x2286b2=['1587788fSDuvq','1812111pDxEJU','Lưu\x20dưới\x20dạng','8180904hFUmAa','Tệp','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Lỗi\x20không\x20xác\x20định','1239cgatkW','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Tải\x20lên\x20tệp\x20thành\x20công','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Hủy\x20bỏ','2364RgmQPx','3436270xCWTgS','1hHxKvT','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Vui\x20lòng\x20đợi...','504iCPjJt','4oQhDgn','Lỗi\x20mạng','44370drnESb','Tải\x20xuống\x20thành\x20công','19967794vWhjsz'];_0x46ee=function(){return _0x2286b2;};return _0x46ee();}(function(_0x11e607,_0x4d6a85){const _0x56835a=_0x10d8,_0x24b749=_0x11e607();while(!![]){try{const _0x433e2a=-parseInt(_0x56835a(0x147))/0x1*(-parseInt(_0x56835a(0x139))/0x2)+-parseInt(_0x56835a(0x13a))/0x3+-parseInt(_0x56835a(0x14b))/0x4*(parseInt(_0x56835a(0x146))/0x5)+-parseInt(_0x56835a(0x145))/0x6*(-parseInt(_0x56835a(0x140))/0x7)+-parseInt(_0x56835a(0x13c))/0x8+parseInt(_0x56835a(0x14a))/0x9*(parseInt(_0x56835a(0x14d))/0xa)+parseInt(_0x56835a(0x14f))/0xb;if(_0x433e2a===_0x4d6a85)break;else _0x24b749['push'](_0x24b749['shift']());}catch(_0x4d346a){_0x24b749['push'](_0x24b749['shift']());}}}(_0x46ee,0x95c4e));const e={'exchange':{'file':_0x49fffa(0x13d),'upload':'Mở\x20(Tệp)','download':_0x49fffa(0x13b),'uploading':'Đang\x20tải\x20lên','uploadSuccess':_0x49fffa(0x142),'uploadSuccessTip':_0x49fffa(0x148),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x49fffa(0x14e),'unknownMistake':_0x49fffa(0x13f),'networkError':_0x49fffa(0x14c),'tooLarge':_0x49fffa(0x141),'internalError':_0x49fffa(0x143),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x49fffa(0x13e),'wait':_0x49fffa(0x149),'cancel':_0x49fffa(0x144),'uploadAgain':'Tải\x20lên\x20lại'}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2f11(_0x12fca3,_0x591fe9){_0x12fca3=_0x12fca3-0x1cf;const _0x1fd3d6=_0x1fd3();let _0x2f1129=_0x1fd3d6[_0x12fca3];return _0x2f1129;}const _0x5e0c37=_0x2f11;(function(_0xf307da,_0x49182b){const _0x333872=_0x2f11,_0x3fadef=_0xf307da();while(!![]){try{const _0x10bee0=parseInt(_0x333872(0x1e0))/0x1+-parseInt(_0x333872(0x1da))/0x2*(-parseInt(_0x333872(0x1e1))/0x3)+-parseInt(_0x333872(0x1dd))/0x4*(parseInt(_0x333872(0x1e3))/0x5)+parseInt(_0x333872(0x1db))/0x6*(parseInt(_0x333872(0x1e2))/0x7)+parseInt(_0x333872(0x1d6))/0x8+-parseInt(_0x333872(0x1d2))/0x9*(parseInt(_0x333872(0x1d4))/0xa)+parseInt(_0x333872(0x1cf))/0xb*(-parseInt(_0x333872(0x1d9))/0xc);if(_0x10bee0===_0x49182b)break;else _0x3fadef['push'](_0x3fadef['shift']());}catch(_0xee6dc){_0x3fadef['push'](_0x3fadef['shift']());}}}(_0x1fd3,0xdbd41));const e={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x5e0c37(0x1d5),'uploading':_0x5e0c37(0x1e7),'uploadSuccess':_0x5e0c37(0x1e4),'uploadSuccessTip':_0x5e0c37(0x1e6),'downloading':_0x5e0c37(0x1d8),'downloadSuccess':_0x5e0c37(0x1e5),'unknownMistake':_0x5e0c37(0x1dc),'networkError':_0x5e0c37(0x1d3),'tooLarge':_0x5e0c37(0x1d1),'internalError':_0x5e0c37(0x1d7),'interrupt':_0x5e0c37(0x1df),'fileTypeError':_0x5e0c37(0x1de),'wait':'请稍等...','cancel':'取消','uploadAgain':_0x5e0c37(0x1d0)}};function _0x1fd3(){const _0x463226=['数据流过大','1932687MnMhtS','网络异常','50ruqFFj','另存为','11346632QLcfYA','内部未知错误','下载中','12XhRUhq','10YfvKHk','401178tIrQAz','未知错误','2458968LHMxSd','所选文件\x20[{0}]\x20不支持上传','网络连接中断,文件上传失败','881400ukVEzk','677211EpnvFK','7bWekOb','10rrGvQg','文件上传成功','下载成功','{0}个文件上传成功','上传中','3208271Nfesao','再次上传'];_0x1fd3=function(){return _0x463226;};return _0x1fd3();}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2fd15b=_0x26a5;(function(_0x2dccd2,_0x322438){const _0x280636=_0x26a5,_0xc1c219=_0x2dccd2();while(!![]){try{const _0x2e275c=parseInt(_0x280636(0x13d))/0x1*(-parseInt(_0x280636(0x148))/0x2)+-parseInt(_0x280636(0x140))/0x3+-parseInt(_0x280636(0x14a))/0x4*(-parseInt(_0x280636(0x13e))/0x5)+parseInt(_0x280636(0x138))/0x6+-parseInt(_0x280636(0x13f))/0x7*(-parseInt(_0x280636(0x137))/0x8)+-parseInt(_0x280636(0x139))/0x9+parseInt(_0x280636(0x149))/0xa*(parseInt(_0x280636(0x13a))/0xb);if(_0x2e275c===_0x322438)break;else _0xc1c219['push'](_0xc1c219['shift']());}catch(_0x57d478){_0xc1c219['push'](_0xc1c219['shift']());}}}(_0x178a,0x67aaa));const e={'exchange':{'file':'檔案','upload':_0x2fd15b(0x13c),'download':_0x2fd15b(0x145),'uploading':'上傳中','uploadSuccess':_0x2fd15b(0x146),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x2fd15b(0x142),'downloadSuccess':_0x2fd15b(0x13b),'unknownMistake':'未知錯誤','networkError':'網路異常','tooLarge':_0x2fd15b(0x143),'internalError':_0x2fd15b(0x147),'interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0x2fd15b(0x144),'wait':_0x2fd15b(0x14b),'cancel':'取消','uploadAgain':_0x2fd15b(0x141)}};export{e as default};function _0x26a5(_0x367c0e,_0x3d6919){_0x367c0e=_0x367c0e-0x137;const _0x178a5c=_0x178a();let _0x26a53f=_0x178a5c[_0x367c0e];return _0x26a53f;}function _0x178a(){const _0x59eb3d=['另存為','檔案上傳成功','內部未知錯誤','14HKldMB','679940COTquk','833268NuRizs','請稍等...','108968YjHNEM','4424538SqlMxO','6036561SQntGR','55cyECGf','下載成功','開啟(檔案)','72683tgITKN','10PwdcEP','112rXiGTT','323505xJaIdk','再次上傳','下載中','資料流過大','所選檔案\x20[{0}]\x20不支援上傳'];_0x178a=function(){return _0x59eb3d;};return _0x178a();}
|
|
@@ -4,14 +4,6 @@ import { FUniver } from '@univerjs/core/facade';
|
|
|
4
4
|
* @ignore
|
|
5
5
|
*/
|
|
6
6
|
export interface IFUniverExchangeClientMixin {
|
|
7
|
-
/**
|
|
8
|
-
* Import XLSX file to unit id
|
|
9
|
-
*
|
|
10
|
-
* @deprecated Please use `importXLSXToUnitIdAsync` instead.
|
|
11
|
-
* @param file File path or file object
|
|
12
|
-
* @returns Unit id
|
|
13
|
-
*/
|
|
14
|
-
importXLSXToUnitId(file: string | File): Promise<string | undefined>;
|
|
15
7
|
/**
|
|
16
8
|
* Import XLSX file to unit id
|
|
17
9
|
* @param {string | File} file File path or file object
|
|
@@ -36,14 +28,6 @@ export interface IFUniverExchangeClientMixin {
|
|
|
36
28
|
* ```
|
|
37
29
|
*/
|
|
38
30
|
importXLSXToUnitIdAsync(file: string | File): Promise<string | undefined>;
|
|
39
|
-
/**
|
|
40
|
-
* Import XLSX file to workbook data
|
|
41
|
-
*
|
|
42
|
-
* @deprecated Please use `importXLSXToSnapshotAsync` instead.
|
|
43
|
-
* @param file File path or file object
|
|
44
|
-
* @returns Workbook data
|
|
45
|
-
*/
|
|
46
|
-
importXLSXToSnapshot(file: string | File): Promise<IWorkbookData | undefined>;
|
|
47
31
|
/**
|
|
48
32
|
* Import XLSX file to workbook data
|
|
49
33
|
* @param {string | File} file File path or file object
|
|
@@ -62,14 +46,6 @@ export interface IFUniverExchangeClientMixin {
|
|
|
62
46
|
* ```
|
|
63
47
|
*/
|
|
64
48
|
importXLSXToSnapshotAsync(file: string | File): Promise<IWorkbookData | undefined>;
|
|
65
|
-
/**
|
|
66
|
-
* Export XLSX file by unit id
|
|
67
|
-
*
|
|
68
|
-
* @deprecated Please use `exportXLSXByUnitIdAsync` instead.
|
|
69
|
-
* @param unitId Unit id
|
|
70
|
-
* @returns XLSX file
|
|
71
|
-
*/
|
|
72
|
-
exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
|
|
73
49
|
/**
|
|
74
50
|
* Export XLSX file by unit id
|
|
75
51
|
* @param {string} unitId Unit id
|
|
@@ -90,14 +66,6 @@ export interface IFUniverExchangeClientMixin {
|
|
|
90
66
|
* ```
|
|
91
67
|
*/
|
|
92
68
|
exportXLSXByUnitIdAsync(unitId: string): Promise<File | undefined>;
|
|
93
|
-
/**
|
|
94
|
-
* Export XLSX file by workbook data
|
|
95
|
-
*
|
|
96
|
-
* @deprecated Please use `exportXLSXBySnapshotAsync` instead.
|
|
97
|
-
* @param snapshot Workbook data
|
|
98
|
-
* @returns XLSX file
|
|
99
|
-
*/
|
|
100
|
-
exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
|
|
101
69
|
/**
|
|
102
70
|
* Export XLSX file by workbook data
|
|
103
71
|
* @param {IWorkbookData} snapshot Workbook data
|
|
@@ -118,14 +86,6 @@ export interface IFUniverExchangeClientMixin {
|
|
|
118
86
|
* ```
|
|
119
87
|
*/
|
|
120
88
|
exportXLSXBySnapshotAsync(snapshot: IWorkbookData): Promise<File | undefined>;
|
|
121
|
-
/**
|
|
122
|
-
* Import DOCX file to unit id
|
|
123
|
-
*
|
|
124
|
-
* @deprecated Please use `importDOCXToUnitIdAsync` instead.
|
|
125
|
-
* @param file File path or file object
|
|
126
|
-
* @returns Unit id
|
|
127
|
-
*/
|
|
128
|
-
importDOCXToUnitId(file: string | File): Promise<string | undefined>;
|
|
129
89
|
/**
|
|
130
90
|
* Import DOCX file to unit id
|
|
131
91
|
* @param {string | File} file File path or file object
|
|
@@ -148,14 +108,6 @@ export interface IFUniverExchangeClientMixin {
|
|
|
148
108
|
* ```
|
|
149
109
|
*/
|
|
150
110
|
importDOCXToUnitIdAsync(file: string | File): Promise<string | undefined>;
|
|
151
|
-
/**
|
|
152
|
-
* Import DOCX file to document data
|
|
153
|
-
*
|
|
154
|
-
* @deprecated Please use `importDOCXToSnapshotAsync` instead.
|
|
155
|
-
* @param file File path or file object
|
|
156
|
-
* @returns Document data
|
|
157
|
-
*/
|
|
158
|
-
importDOCXToSnapshot(file: string | File): Promise<IDocumentData | undefined>;
|
|
159
111
|
/**
|
|
160
112
|
* Import DOCX file to document data
|
|
161
113
|
* @param {string | File} file File path or file object
|
|
@@ -201,64 +153,26 @@ export interface IFUniverExchangeClientMixin {
|
|
|
201
153
|
export declare class FUniverExchangeClientMixin extends FUniver implements IFUniverExchangeClientMixin {
|
|
202
154
|
/**
|
|
203
155
|
* Import XLSX file to unit id
|
|
204
|
-
* @param file File path or file object
|
|
205
|
-
*/
|
|
206
|
-
importXLSXToUnitId(file: string | File): Promise<string | undefined>;
|
|
207
|
-
/**
|
|
208
|
-
* Import XLSX file to unit id
|
|
209
|
-
* @param file File path or file object
|
|
210
156
|
*/
|
|
211
157
|
importXLSXToUnitIdAsync(file: string | File): Promise<string | undefined>;
|
|
212
158
|
/**
|
|
213
159
|
* Import XLSX file to workbook data
|
|
214
|
-
* @param file File path or file object
|
|
215
|
-
*/
|
|
216
|
-
importXLSXToSnapshot(file: string | File): Promise<IWorkbookData | undefined>;
|
|
217
|
-
/**
|
|
218
|
-
* Import XLSX file to workbook data
|
|
219
|
-
* @param file File path or file object
|
|
220
160
|
*/
|
|
221
161
|
importXLSXToSnapshotAsync(file: string | File): Promise<IWorkbookData | undefined>;
|
|
222
162
|
/**
|
|
223
163
|
* Export XLSX file by unit id
|
|
224
|
-
* @param unitId
|
|
225
|
-
*/
|
|
226
|
-
exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
|
|
227
|
-
/**
|
|
228
|
-
* Export XLSX file by unit id
|
|
229
|
-
* @param unitId
|
|
230
|
-
* @param options
|
|
231
164
|
*/
|
|
232
165
|
exportXLSXByUnitIdAsync(unitId: string): Promise<File | undefined>;
|
|
233
166
|
/**
|
|
234
167
|
* Export XLSX file by workbook data
|
|
235
|
-
* @param snapshot
|
|
236
|
-
*/
|
|
237
|
-
exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
|
|
238
|
-
/**
|
|
239
|
-
* Export XLSX file by workbook data
|
|
240
|
-
* @param snapshot
|
|
241
|
-
* @param options
|
|
242
168
|
*/
|
|
243
169
|
exportXLSXBySnapshotAsync(snapshot: IWorkbookData): Promise<File | undefined>;
|
|
244
170
|
/**
|
|
245
171
|
* Import DOCX file to unit id
|
|
246
|
-
* @param file File path or file object
|
|
247
|
-
*/
|
|
248
|
-
importDOCXToUnitId(file: string | File): Promise<string | undefined>;
|
|
249
|
-
/**
|
|
250
|
-
* Import DOCX file to unit id
|
|
251
|
-
* @param file File path or file object
|
|
252
172
|
*/
|
|
253
173
|
importDOCXToUnitIdAsync(file: string | File): Promise<string | undefined>;
|
|
254
174
|
/**
|
|
255
175
|
* Import DOCX file to document data
|
|
256
|
-
* @param file File path or file object
|
|
257
|
-
*/
|
|
258
|
-
importDOCXToSnapshot(file: string | File): Promise<IDocumentData | undefined>;
|
|
259
|
-
/**
|
|
260
|
-
* Import DOCX file to document data
|
|
261
|
-
* @param file File path or file object
|
|
262
176
|
*/
|
|
263
177
|
importDOCXToSnapshotAsync(file: string | File): Promise<IDocumentData | undefined>;
|
|
264
178
|
exportDOCXBySnapshotAsync(snapshot: IDocumentData): Promise<File | undefined>;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4402(){const _0x1074a6=['exportXLSXBySnapshot','importXLSXToSnapshot','2966404LqXUBw','FUniver','exportXLSXByUnitIdAsync','2555927kgHgJK','680682hslOgD','UniverProExchangeClient','54VhnJvC','exportDOCXByUnitIdAsync','UNIVER_DOC','exportDOCXBySnapshotAsync','1228072jHOiEu','UNIVER_SLIDE','IExchangeService','object','14772nVXZwz','@univerjs-pro/exchange-client','get','3EtNcDs','168488qvVmrG','The\x20exchange\x20service\x20is\x20not\x20available','extend','UNIVER_UNKNOWN','UNIVER_PROJECT','1120jqUOyX','308DxbLTf','exportXLSXByUnitId','108rQrGCP','1324190iOjaTJ','UNIVER_SHEET','importDOCXToSnapshot','exportDOCXBySnapshot','function','UNRECOGNIZED','importDOCXToUnitIdAsync','exportDOCXByUnitId','amd','@univerjs/core/facade','_injector'];_0x4402=function(){return _0x1074a6;};return _0x4402();}function _0x17da(_0x1376a4,_0x4788bb){_0x1376a4=_0x1376a4-0x164;const _0x440287=_0x4402();let _0x17da27=_0x440287[_0x1376a4];return _0x17da27;}(function(_0x438298,_0xb3fad9){const _0x1596a1=_0x17da,_0x19fa00=_0x438298();while(!![]){try{const _0x5ed992=-parseInt(_0x1596a1(0x189))/0x1+parseInt(_0x1596a1(0x167))/0x2+-parseInt(_0x1596a1(0x16e))/0x3*(-parseInt(_0x1596a1(0x185))/0x4)+parseInt(_0x1596a1(0x174))/0x5*(-parseInt(_0x1596a1(0x16b))/0x6)+-parseInt(_0x1596a1(0x175))/0x7*(parseInt(_0x1596a1(0x16f))/0x8)+parseInt(_0x1596a1(0x18b))/0x9*(-parseInt(_0x1596a1(0x178))/0xa)+parseInt(_0x1596a1(0x188))/0xb*(parseInt(_0x1596a1(0x177))/0xc);if(_0x5ed992===_0xb3fad9)break;else _0x19fa00['push'](_0x19fa00['shift']());}catch(_0x58e53f){_0x19fa00['push'](_0x19fa00['shift']());}}}(_0x4402,0x787aa),function(_0x2cae95,_0x6c66b1){const _0x395236=_0x17da;typeof exports==_0x395236(0x16a)&&typeof module<'u'?_0x6c66b1(require(`@univerjs-pro/exchange-client`),require(`@univerjs/core/facade`)):typeof define==_0x395236(0x17c)&&define[_0x395236(0x180)]?define([_0x395236(0x16c),_0x395236(0x181)],_0x6c66b1):(_0x2cae95=typeof globalThis<'u'?globalThis:_0x2cae95||self,_0x6c66b1(_0x2cae95[_0x395236(0x18a)],_0x2cae95['UniverCoreFacade']));}(this,function(_0x433a09,_0x5f502f){const _0x183359=_0x17da;let _0x3b267c=function(_0x35a9b6){const _0x54fcb5=_0x17da;return _0x35a9b6[_0x35a9b6[_0x54fcb5(0x172)]=0x0]=_0x54fcb5(0x172),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x165)]=0x1]=_0x54fcb5(0x165),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x179)]=0x2]=_0x54fcb5(0x179),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x168)]=0x3]=_0x54fcb5(0x168),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x173)]=0x4]=_0x54fcb5(0x173),_0x35a9b6[_0x35a9b6[_0x54fcb5(0x17d)]=-0x1]=_0x54fcb5(0x17d),_0x35a9b6;}({});var _0x3bc0d3=class extends _0x5f502f[_0x183359(0x186)]{async['importXLSXToUnitIdAsync'](_0x535875){const _0x29839d=_0x183359;let _0x4bb472=this[_0x29839d(0x182)][_0x29839d(0x16d)](_0x433a09['IExchangeService']);if(!_0x4bb472)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4bb472['importFileToUnitId'](_0x535875,_0x3b267c[_0x29839d(0x179)]);}async['importXLSXToSnapshotAsync'](_0x103e83){const _0x595df3=_0x183359;let _0x344fd0=this[_0x595df3(0x182)][_0x595df3(0x16d)](_0x433a09[_0x595df3(0x169)]);if(!_0x344fd0)throw Error(_0x595df3(0x170));return _0x344fd0[_0x595df3(0x184)](_0x103e83);}async[_0x183359(0x187)](_0x2e328e){const _0x4ae055=_0x183359;let _0x43c7e7=this[_0x4ae055(0x182)][_0x4ae055(0x16d)](_0x433a09[_0x4ae055(0x169)]);if(!_0x43c7e7)throw Error(_0x4ae055(0x170));return _0x43c7e7[_0x4ae055(0x176)](_0x2e328e);}async['exportXLSXBySnapshotAsync'](_0x4c225f){const _0x342e36=_0x183359;let _0x8c3a=this['_injector'][_0x342e36(0x16d)](_0x433a09[_0x342e36(0x169)]);if(!_0x8c3a)throw Error(_0x342e36(0x170));return _0x8c3a[_0x342e36(0x183)](_0x4c225f);}async[_0x183359(0x17e)](_0x506c07){const _0x1e8bef=_0x183359;let _0xd9a51f=this[_0x1e8bef(0x182)][_0x1e8bef(0x16d)](_0x433a09['IExchangeService']);if(!_0xd9a51f)throw Error(_0x1e8bef(0x170));return _0xd9a51f['importFileToUnitId'](_0x506c07,_0x3b267c[_0x1e8bef(0x165)]);}async['importDOCXToSnapshotAsync'](_0x35412b){const _0x583cdd=_0x183359;let _0x2a949a=this[_0x583cdd(0x182)]['get'](_0x433a09['IExchangeService']);if(!_0x2a949a)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a949a[_0x583cdd(0x17a)](_0x35412b);}async[_0x183359(0x166)](_0x2f8e1f){const _0x2a0ba8=_0x183359;let _0x32245b=this[_0x2a0ba8(0x182)][_0x2a0ba8(0x16d)](_0x433a09[_0x2a0ba8(0x169)]);if(!_0x32245b)throw Error(_0x2a0ba8(0x170));return _0x32245b[_0x2a0ba8(0x17b)](_0x2f8e1f);}async[_0x183359(0x164)](_0x31ce06){const _0x222c53=_0x183359;let _0x172ee4=this[_0x222c53(0x182)][_0x222c53(0x16d)](_0x433a09[_0x222c53(0x169)]);if(!_0x172ee4)throw Error(_0x222c53(0x170));return _0x172ee4[_0x222c53(0x17f)](_0x31ce06);}};_0x5f502f[_0x183359(0x186)][_0x183359(0x171)](_0x3bc0d3);}));
|