@univerjs-pro/exchange-client 0.7.0 → 0.8.0-nightly.202505261607
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 +2 -2
- package/lib/cjs/locale/en-US.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/ru-RU.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 +2 -2
- package/lib/es/locale/en-US.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/ru-RU.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.css +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.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 +28 -0
- package/lib/types/locale/en-US.d.ts +21 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -22
- package/lib/types/locale/zh-TW.d.ts +2 -2
- package/lib/types/services/operate.service.d.ts +2 -0
- package/lib/types/services/utils/snapshot.d.ts +12 -18
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/en-US.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/ru-RU.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 +9 -9
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x1da2(_0x210804,_0x219059){const _0x1aa806=_0x1aa8();return _0x1da2=function(_0x1da249,_0x474d8c){_0x1da249=_0x1da249-0xca;let _0x2235e8=_0x1aa806[_0x1da249];return _0x2235e8;},_0x1da2(_0x210804,_0x219059);}const _0x3b92d3=_0x1da2;(function(_0x19e20c,_0x2e8b99){const _0xb875dc=_0x1da2,_0xd4476d=_0x19e20c();while(!![]){try{const _0x124707=parseInt(_0xb875dc(0xd0))/0x1*(parseInt(_0xb875dc(0xce))/0x2)+-parseInt(_0xb875dc(0xe3))/0x3*(parseInt(_0xb875dc(0xd8))/0x4)+-parseInt(_0xb875dc(0xd5))/0x5*(parseInt(_0xb875dc(0xcd))/0x6)+parseInt(_0xb875dc(0xd9))/0x7*(parseInt(_0xb875dc(0xdf))/0x8)+parseInt(_0xb875dc(0xda))/0x9+parseInt(_0xb875dc(0xd3))/0xa*(parseInt(_0xb875dc(0xcc))/0xb)+-parseInt(_0xb875dc(0xd1))/0xc;if(_0x124707===_0x2e8b99)break;else _0xd4476d['push'](_0xd4476d['shift']());}catch(_0x397052){_0xd4476d['push'](_0xd4476d['shift']());}}}(_0x1aa8,0xb45c9));const e={'exchange':{'file':_0x3b92d3(0xdb),'upload':'Open(File)','download':_0x3b92d3(0xd2),'uploading':'Uploading','uploadSuccess':_0x3b92d3(0xe2),'uploadSuccessTip':_0x3b92d3(0xd4),'downloading':_0x3b92d3(0xdc),'downloadSuccess':_0x3b92d3(0xe0),'unknownMistake':'Unknown\x20mistake','networkError':_0x3b92d3(0xcf),'tooLarge':_0x3b92d3(0xd7),'internalError':_0x3b92d3(0xdd),'interrupt':_0x3b92d3(0xde),'fileTypeError':_0x3b92d3(0xcb),'wait':_0x3b92d3(0xd6),'cancel':_0x3b92d3(0xca),'uploadAgain':_0x3b92d3(0xe1)}};function _0x1aa8(){const _0x592463=['Data\x20is\x20too\x20large','35688mbbnsw','10221673znKsJz','6399189FzHHXC','File','Downloading','Internal\x20unknown\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','8UxPzkW','Download\x20success','Upload\x20again','File\x20uploaded\x20successfully','207WWEuay','Cancel','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','4200196xoCboG','96708rpgsYH','128rcHPPC','Network\x20error','15650CZbajR','34600788LsSAFa','Save\x20As','30BIPUPo','{0}\x20file(s)\x20uploaded\x20successfully','25PMcsds','Please\x20wait...'];_0x1aa8=function(){return _0x592463;};return _0x1aa8();}module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x47db2f=_0x55aa;(function(_0x3e1ae9,_0x1565b0){const _0x560887=_0x55aa,_0x45c746=_0x3e1ae9();while(!![]){try{const _0xff83c7=-parseInt(_0x560887(0x133))/0x1*(-parseInt(_0x560887(0x139))/0x2)+-parseInt(_0x560887(0x12e))/0x3*(-parseInt(_0x560887(0x13d))/0x4)+-parseInt(_0x560887(0x13f))/0x5+parseInt(_0x560887(0x13a))/0x6*(-parseInt(_0x560887(0x12d))/0x7)+parseInt(_0x560887(0x131))/0x8+parseInt(_0x560887(0x142))/0x9+-parseInt(_0x560887(0x13e))/0xa;if(_0xff83c7===_0x1565b0)break;else _0x45c746['push'](_0x45c746['shift']());}catch(_0x2b167d){_0x45c746['push'](_0x45c746['shift']());}}}(_0x37a0,0x64271));function _0x55aa(_0xf7a39f,_0x2aec76){const _0x37a0c0=_0x37a0();return _0x55aa=function(_0x55aa78,_0xeb1fd3){_0x55aa78=_0x55aa78-0x12d;let _0x16979e=_0x37a0c0[_0x55aa78];return _0x16979e;},_0x55aa(_0xf7a39f,_0x2aec76);}function _0x37a0(){const _0x1723cb=['36QfOLrO','3171790LqGnQk','2512365oGCoCM','بازکردن(فایل)','exports','1139904DbUnFR','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','5173YPmAJj','99609FCFcBI','در\x20حال\x20دانلود','داده\x20خیلی\x20بزرگ\x20است','2378600RnjPbn','خطای\x20داخلی\x20ناشناخته','261398QJIRHY','فایل','خطای\x20ناشناخته','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','ذخیره\x20به\x20عنوان','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','6FulAzo','2250DhnaRb','خطای\x20شبکه','بارگذاری\x20مجدد'];_0x37a0=function(){return _0x1723cb;};return _0x37a0();}const o={'exchange':{'file':_0x47db2f(0x134),'upload':_0x47db2f(0x140),'download':_0x47db2f(0x137),'uploading':'در\x20حال\x20بارگذاری','uploadSuccess':_0x47db2f(0x138),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x47db2f(0x12f),'downloadSuccess':'دانلود\x20موفقیت\x20آمیز','unknownMistake':_0x47db2f(0x135),'networkError':_0x47db2f(0x13b),'tooLarge':_0x47db2f(0x130),'internalError':_0x47db2f(0x132),'interrupt':_0x47db2f(0x136),'fileTypeError':_0x47db2f(0x143),'wait':'لطفا\x20صبر\x20کنید...','cancel':'لغو','uploadAgain':_0x47db2f(0x13c)}};module[_0x47db2f(0x141)]=o;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x59cc86=_0x17d4;function _0x3846(){const _0x3e6332=['1377726YuouHj','Les\x20données\x20sont\x20trop\x20volumineuses','exports','250611bNiqOx','1142226SGrbHs','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','36RaZJqj','Fichier\x20téléchargé\x20avec\x20succès','Veuillez\x20patienter...','6253380PLYNMN','Erreur\x20interne\x20inconnue','Fichier','Téléchargement','656644vaKEbg','28tjTZUi','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','250wRdDKE','Annuler','5726280LxUsMU','587070cnPYxp','Téléchargement\x20en\x20cours','Erreur\x20réseau','Télécharger\x20à\x20nouveau','Ouvrir\x20(Fichier)','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué'];_0x3846=function(){return _0x3e6332;};return _0x3846();}function _0x17d4(_0x36aa0b,_0x55fafa){const _0x38461c=_0x3846();return _0x17d4=function(_0x17d42c,_0xe7374e){_0x17d42c=_0x17d42c-0xb5;let _0x12d190=_0x38461c[_0x17d42c];return _0x12d190;},_0x17d4(_0x36aa0b,_0x55fafa);}(function(_0x368048,_0x17da40){const _0x1a1c6c=_0x17d4,_0x359fb7=_0x368048();while(!![]){try{const _0x3391a9=-parseInt(_0x1a1c6c(0xb8))/0x1+parseInt(_0x1a1c6c(0xcc))/0x2*(parseInt(_0x1a1c6c(0xc1))/0x3)+parseInt(_0x1a1c6c(0xcb))/0x4+parseInt(_0x1a1c6c(0xc7))/0x5+parseInt(_0x1a1c6c(0xc4))/0x6*(parseInt(_0x1a1c6c(0xbe))/0x7)+parseInt(_0x1a1c6c(0xb7))/0x8+-parseInt(_0x1a1c6c(0xc2))/0x9*(parseInt(_0x1a1c6c(0xb5))/0xa);if(_0x3391a9===_0x17da40)break;else _0x359fb7['push'](_0x359fb7['shift']());}catch(_0x34b062){_0x359fb7['push'](_0x359fb7['shift']());}}}(_0x3846,0xb00e8));const e={'exchange':{'file':_0x59cc86(0xc9),'upload':_0x59cc86(0xbc),'download':'Enregistrer\x20sous','uploading':_0x59cc86(0xb9),'uploadSuccess':_0x59cc86(0xc5),'uploadSuccessTip':_0x59cc86(0xc3),'downloading':_0x59cc86(0xca),'downloadSuccess':'Téléchargement\x20réussi','unknownMistake':'Erreur\x20inconnue','networkError':_0x59cc86(0xba),'tooLarge':_0x59cc86(0xbf),'internalError':_0x59cc86(0xc8),'interrupt':_0x59cc86(0xbd),'fileTypeError':_0x59cc86(0xcd),'wait':_0x59cc86(0xc6),'cancel':_0x59cc86(0xb6),'uploadAgain':_0x59cc86(0xbb)}};module[_0x59cc86(0xc0)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x4d94(_0x24cf7c,_0x473c63){const _0x12418b=_0x1241();return _0x4d94=function(_0x4d943b,_0x454594){_0x4d943b=_0x4d943b-0x7a;let _0xc476fb=_0x12418b[_0x4d943b];return _0xc476fb;},_0x4d94(_0x24cf7c,_0x473c63);}const _0x10c9e0=_0x4d94;(function(_0x31ace5,_0x3caaa7){const _0x38da0c=_0x4d94,_0x410907=_0x31ace5();while(!![]){try{const _0x195c76=parseInt(_0x38da0c(0x7d))/0x1*(parseInt(_0x38da0c(0x8e))/0x2)+-parseInt(_0x38da0c(0x8f))/0x3+-parseInt(_0x38da0c(0x86))/0x4*(-parseInt(_0x38da0c(0x7a))/0x5)+-parseInt(_0x38da0c(0x84))/0x6*(parseInt(_0x38da0c(0x82))/0x7)+-parseInt(_0x38da0c(0x90))/0x8*(parseInt(_0x38da0c(0x8c))/0x9)+parseInt(_0x38da0c(0x80))/0xa*(parseInt(_0x38da0c(0x8d))/0xb)+parseInt(_0x38da0c(0x87))/0xc;if(_0x195c76===_0x3caaa7)break;else _0x410907['push'](_0x410907['shift']());}catch(_0xadeb61){_0x410907['push'](_0x410907['shift']());}}}(_0x1241,0x8f956));function _0x1241(){const _0x29ab6a=['Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Скачивание\x20успешно','143670gbLHLS','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','2107826mbVkhc','Загрузить\x20снова','6TMKyvT','Файл\x20успешно\x20загружен','8KdfFCr','11226636RMXoTw','Файл','Пожалуйста,\x20подождите...','Внутренняя\x20неизвестная\x20ошибка','Открыть(Файл)','783MGjrTD','44iAMZPC','2IJzjJt','956139mGrgFJ','92248KzQfYz','Неизвестная\x20ошибка','1319015RgjTrU','exports','Сетевая\x20ошибка','690519VvurrX'];_0x1241=function(){return _0x29ab6a;};return _0x1241();}const o={'exchange':{'file':_0x10c9e0(0x88),'upload':_0x10c9e0(0x8b),'download':'Сохранить\x20как','uploading':'Загрузка','uploadSuccess':_0x10c9e0(0x85),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':'Скачивание','downloadSuccess':_0x10c9e0(0x7f),'unknownMistake':_0x10c9e0(0x91),'networkError':_0x10c9e0(0x7c),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x10c9e0(0x8a),'interrupt':_0x10c9e0(0x81),'fileTypeError':_0x10c9e0(0x7e),'wait':_0x10c9e0(0x89),'cancel':'Отмена','uploadAgain':_0x10c9e0(0x83)}};module[_0x10c9e0(0x7b)]=o;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x2f5a06=_0x5f30;(function(_0x56681b,_0x9d2686){const _0x51560a=_0x5f30,_0x84bcd9=_0x56681b();while(!![]){try{const _0x13e041=parseInt(_0x51560a(0x1a0))/0x1*(parseInt(_0x51560a(0x1aa))/0x2)+-parseInt(_0x51560a(0x1b2))/0x3+parseInt(_0x51560a(0x1ab))/0x4+parseInt(_0x51560a(0x1a7))/0x5*(-parseInt(_0x51560a(0x1b0))/0x6)+-parseInt(_0x51560a(0x1ad))/0x7+parseInt(_0x51560a(0x1a3))/0x8*(-parseInt(_0x51560a(0x1a1))/0x9)+parseInt(_0x51560a(0x1a2))/0xa;if(_0x13e041===_0x9d2686)break;else _0x84bcd9['push'](_0x84bcd9['shift']());}catch(_0x24c7ff){_0x84bcd9['push'](_0x84bcd9['shift']());}}}(_0x306d,0x2cb1a));function _0x306d(){const _0x2cbac3=['Hủy\x20bỏ','5820eTZtId','Đang\x20tải\x20xuống','Lỗi\x20mạng','538bztFIR','1395488KzZOXC','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','1340395ASzewk','Lưu\x20dưới\x20dạng','Đang\x20tải\x20lên','768RBRJtX','Tải\x20lên\x20tệp\x20thành\x20công','732702NlLhrx','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Tải\x20lên\x20lại','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Vui\x20lòng\x20đợi...','1141utnpNd','58527mzVrVW','3785990xyDsIo','328tMExJe','Lỗi\x20không\x20xác\x20định','Tệp'];_0x306d=function(){return _0x2cbac3;};return _0x306d();}const n={'exchange':{'file':_0x2f5a06(0x1a5),'upload':'Mở\x20(Tệp)','download':_0x2f5a06(0x1ae),'uploading':_0x2f5a06(0x1af),'uploadSuccess':_0x2f5a06(0x1b1),'uploadSuccessTip':'{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','downloading':_0x2f5a06(0x1a8),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x2f5a06(0x1a4),'networkError':_0x2f5a06(0x1a9),'tooLarge':_0x2f5a06(0x19e),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x2f5a06(0x19c),'fileTypeError':_0x2f5a06(0x1ac),'wait':_0x2f5a06(0x19f),'cancel':_0x2f5a06(0x1a6),'uploadAgain':_0x2f5a06(0x19d)}};function _0x5f30(_0xde8be9,_0x51b572){const _0x306d1a=_0x306d();return _0x5f30=function(_0x5f30f8,_0x1d2041){_0x5f30f8=_0x5f30f8-0x19c;let _0x3ceff1=_0x306d1a[_0x5f30f8];return _0x3ceff1;},_0x5f30(_0xde8be9,_0x51b572);}module['exports']=n;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x2c15e0=_0x1c01;(function(_0x2fa748,_0x2b7409){const _0x2a7a12=_0x1c01,_0x1a82a3=_0x2fa748();while(!![]){try{const _0x4ced9c=parseInt(_0x2a7a12(0xe7))/0x1*(-parseInt(_0x2a7a12(0xdd))/0x2)+-parseInt(_0x2a7a12(0xd1))/0x3+parseInt(_0x2a7a12(0xd8))/0x4*(parseInt(_0x2a7a12(0xde))/0x5)+parseInt(_0x2a7a12(0xe0))/0x6*(-parseInt(_0x2a7a12(0xda))/0x7)+parseInt(_0x2a7a12(0xd7))/0x8*(-parseInt(_0x2a7a12(0xd2))/0x9)+parseInt(_0x2a7a12(0xe1))/0xa+parseInt(_0x2a7a12(0xd6))/0xb*(parseInt(_0x2a7a12(0xd9))/0xc);if(_0x4ced9c===_0x2b7409)break;else _0x1a82a3['push'](_0x1a82a3['shift']());}catch(_0x140d04){_0x1a82a3['push'](_0x1a82a3['shift']());}}}(_0x908c,0x68068));function _0x908c(){const _0x2a063f=['内部未知错误','下载中','21PGNscG','713925GvgZWb','711PVpUmR','{0}个文件上传成功','数据流过大','未知错误','122287CTxPPD','76904pBNbVD','86396AZkJsA','1752TbFtJV','40859mxHPzE','所选文件\x20[{0}]\x20不支持上传','文件上传成功','7340dEPHmV','110wZFxFD','另存为','618lNPVjJ','35110OExrPK','再次上传','打开(文件)','网络异常'];_0x908c=function(){return _0x2a063f;};return _0x908c();}function _0x1c01(_0x94ab35,_0x56e90a){const _0x908c85=_0x908c();return _0x1c01=function(_0x1c01d9,_0x226b82){_0x1c01d9=_0x1c01d9-0xd1;let _0x3a7aa3=_0x908c85[_0x1c01d9];return _0x3a7aa3;},_0x1c01(_0x94ab35,_0x56e90a);}const o={'exchange':{'file':'文件','upload':_0x2c15e0(0xe3),'download':_0x2c15e0(0xdf),'uploading':'上传中','uploadSuccess':_0x2c15e0(0xdc),'uploadSuccessTip':_0x2c15e0(0xd3),'downloading':_0x2c15e0(0xe6),'downloadSuccess':'下载成功','unknownMistake':_0x2c15e0(0xd5),'networkError':_0x2c15e0(0xe4),'tooLarge':_0x2c15e0(0xd4),'internalError':_0x2c15e0(0xe5),'interrupt':'网络连接中断,文件上传失败','fileTypeError':_0x2c15e0(0xdb),'wait':'请稍等...','cancel':'取消','uploadAgain':_0x2c15e0(0xe2)}};module['exports']=o;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x324b24=_0x4439;(function(_0x42fbb4,_0x266cca){const _0x37eda1=_0x4439,_0x2f76f4=_0x42fbb4();while(!![]){try{const _0x507e81=parseInt(_0x37eda1(0x120))/0x1+parseInt(_0x37eda1(0x11a))/0x2*(parseInt(_0x37eda1(0x119))/0x3)+parseInt(_0x37eda1(0x111))/0x4+parseInt(_0x37eda1(0x11c))/0x5*(-parseInt(_0x37eda1(0x11b))/0x6)+parseInt(_0x37eda1(0x121))/0x7+-parseInt(_0x37eda1(0x123))/0x8*(parseInt(_0x37eda1(0x11e))/0x9)+-parseInt(_0x37eda1(0x124))/0xa;if(_0x507e81===_0x266cca)break;else _0x2f76f4['push'](_0x2f76f4['shift']());}catch(_0x47f766){_0x2f76f4['push'](_0x2f76f4['shift']());}}}(_0x5af4,0x1b2d4));function _0x5af4(){const _0x1d2f56=['資料流過大','檔案上傳成功','網路異常','再次上傳','另存為','6642yJffMS','66kiWtRX','6OTJWae','560470MQQJSE','exports','9mWwCPU','所選檔案\x20[{0}]\x20不支援上傳','13210znJlIx','141645QWAxuv','請稍等...','259016gzilsx','553560xxIEDb','下載中','{0}個檔案上傳成功','開啟(檔案)','818544hcSakN','未知錯誤','內部未知錯誤'];_0x5af4=function(){return _0x1d2f56;};return _0x5af4();}const o={'exchange':{'file':'檔案','upload':_0x324b24(0x110),'download':_0x324b24(0x118),'uploading':'上傳中','uploadSuccess':_0x324b24(0x115),'uploadSuccessTip':_0x324b24(0x10f),'downloading':_0x324b24(0x125),'downloadSuccess':'下載成功','unknownMistake':_0x324b24(0x112),'networkError':_0x324b24(0x116),'tooLarge':_0x324b24(0x114),'internalError':_0x324b24(0x113),'interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0x324b24(0x11f),'wait':_0x324b24(0x122),'cancel':'取消','uploadAgain':_0x324b24(0x117)}};function _0x4439(_0x202293,_0x1ec4ef){const _0x5af4d4=_0x5af4();return _0x4439=function(_0x4439fd,_0x46c595){_0x4439fd=_0x4439fd-0x10f;let _0x223558=_0x5af4d4[_0x4439fd];return _0x223558;},_0x4439(_0x202293,_0x1ec4ef);}module[_0x324b24(0x11d)]=o;
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0xa3cd(){const _0x439893=['importDOCXToUnitId','_injector','importDOCXToUnitIdAsync','509xbVnVQ','UNIVER_SHEET','818MRUxIR','get','extend','8403jzijZk','exportXLSXByUnitId','1838683KfaeWk','4006554ONqvDQ','716BzzALH','importXLSXToSnapshotAsync','3690335YhBmWs','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','importXLSXToUnitId','UNIVER_PROJECT','UNIVER_SLIDE','exportDOCXByUnitIdAsync','importDOCXToSnapshot','exportDOCXBySnapshot','importXLSXToSnapshot','UNRECOGNIZED','importDOCXToSnapshotAsync','331290MofWhY','121SKEvYO','UNIVER_DOC','8jHaTsS','importFileToUnitId','importXLSXToUnitIdAsync','1272186chrvEk','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available'];_0xa3cd=function(){return _0x439893;};return _0xa3cd();}const _0xe0c071=_0xbcc4;(function(_0x5f1faf,_0x2f3ca3){const _0x151ee6=_0xbcc4,_0x54d00c=_0x5f1faf();while(!![]){try{const _0x3c6a6d=parseInt(_0x151ee6(0x177))/0x1*(parseInt(_0x151ee6(0x179))/0x2)+-parseInt(_0x151ee6(0x17c))/0x3*(-parseInt(_0x151ee6(0x180))/0x4)+-parseInt(_0x151ee6(0x15f))/0x5+parseInt(_0x151ee6(0x17f))/0x6+-parseInt(_0x151ee6(0x17e))/0x7*(-parseInt(_0x151ee6(0x16e))/0x8)+-parseInt(_0x151ee6(0x171))/0x9+-parseInt(_0x151ee6(0x16b))/0xa*(parseInt(_0x151ee6(0x16c))/0xb);if(_0x3c6a6d===_0x2f3ca3)break;else _0x54d00c['push'](_0x54d00c['shift']());}catch(_0x19d801){_0x54d00c['push'](_0x54d00c['shift']());}}}(_0xa3cd,0x60b74));import{IExchangeService as _0x828c80}from'@univerjs-pro/exchange-client';import{FUniver as _0x5c7059}from'@univerjs/core/facade';var o=(_0x417e86=>(_0x417e86[_0x417e86['UNIVER_UNKNOWN']=0x0]=_0xe0c071(0x161),_0x417e86[_0x417e86['UNIVER_DOC']=0x1]=_0xe0c071(0x16d),_0x417e86[_0x417e86[_0xe0c071(0x178)]=0x2]=_0xe0c071(0x178),_0x417e86[_0x417e86[_0xe0c071(0x164)]=0x3]=_0xe0c071(0x164),_0x417e86[_0x417e86[_0xe0c071(0x163)]=0x4]='UNIVER_PROJECT',_0x417e86[_0x417e86[_0xe0c071(0x169)]=-0x1]='UNRECOGNIZED',_0x417e86))(o||{});class s extends _0x5c7059{async[_0xe0c071(0x162)](_0x2a7b0d){const _0x3c1a4c=_0xe0c071;return this[_0x3c1a4c(0x170)](_0x2a7b0d);}async[_0xe0c071(0x170)](_0x5dde5d){const _0x34f00c=_0xe0c071,_0x1d7345=this[_0x34f00c(0x175)][_0x34f00c(0x17a)](_0x828c80);if(!_0x1d7345)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d7345[_0x34f00c(0x16f)](_0x5dde5d,o[_0x34f00c(0x178)]);}async[_0xe0c071(0x168)](_0x54b673){const _0x3391f1=_0xe0c071;return this[_0x3391f1(0x181)](_0x54b673);}async[_0xe0c071(0x181)](_0x490599){const _0x199dce=_0xe0c071,_0x4aa5be=this[_0x199dce(0x175)][_0x199dce(0x17a)](_0x828c80);if(!_0x4aa5be)throw new Error(_0x199dce(0x173));return _0x4aa5be['importXLSXToSnapshot'](_0x490599);}async[_0xe0c071(0x17d)](_0x17add7){return this['exportXLSXByUnitIdAsync'](_0x17add7);}async['exportXLSXByUnitIdAsync'](_0x24d056){const _0x454666=_0xe0c071,_0x51996a=this[_0x454666(0x175)][_0x454666(0x17a)](_0x828c80);if(!_0x51996a)throw new Error(_0x454666(0x173));return _0x51996a[_0x454666(0x17d)](_0x24d056);}async['exportXLSXBySnapshot'](_0x582adc){return this['exportXLSXBySnapshotAsync'](_0x582adc);}async[_0xe0c071(0x160)](_0x29a0f1){const _0x115ba0=_0xe0c071,_0x17411d=this[_0x115ba0(0x175)]['get'](_0x828c80);if(!_0x17411d)throw new Error(_0x115ba0(0x173));return _0x17411d['exportXLSXBySnapshot'](_0x29a0f1);}async[_0xe0c071(0x174)](_0x187ed9){const _0x216b36=_0xe0c071;return this[_0x216b36(0x176)](_0x187ed9);}async['importDOCXToUnitIdAsync'](_0x438b68){const _0x42b7b6=_0xe0c071,_0x20e836=this[_0x42b7b6(0x175)][_0x42b7b6(0x17a)](_0x828c80);if(!_0x20e836)throw new Error(_0x42b7b6(0x173));return _0x20e836[_0x42b7b6(0x16f)](_0x438b68,o[_0x42b7b6(0x16d)]);}async['importDOCXToSnapshot'](_0x1fd6b0){return this['importDOCXToSnapshotAsync'](_0x1fd6b0);}async[_0xe0c071(0x16a)](_0x42a75c){const _0x6c2eb4=_0xe0c071,_0x2f5132=this['_injector'][_0x6c2eb4(0x17a)](_0x828c80);if(!_0x2f5132)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f5132[_0x6c2eb4(0x166)](_0x42a75c);}async[_0xe0c071(0x172)](_0x5609e4){const _0x510a00=_0xe0c071,_0x1ee08c=this[_0x510a00(0x175)][_0x510a00(0x17a)](_0x828c80);if(!_0x1ee08c)throw new Error(_0x510a00(0x173));return _0x1ee08c[_0x510a00(0x167)](_0x5609e4);}async[_0xe0c071(0x165)](_0x3657a0){const _0x3330b8=_0xe0c071,_0x3292e3=this[_0x3330b8(0x175)][_0x3330b8(0x17a)](_0x828c80);if(!_0x3292e3)throw new Error(_0x3330b8(0x173));return _0x3292e3['exportDOCXByUnitId'](_0x3657a0);}}function _0xbcc4(_0x5c92d9,_0x904a05){const _0xa3cd4a=_0xa3cd();return _0xbcc4=function(_0xbcc4a1,_0x4f3972){_0xbcc4a1=_0xbcc4a1-0x15f;let _0xd32f0e=_0xa3cd4a[_0xbcc4a1];return _0xd32f0e;},_0xbcc4(_0x5c92d9,_0x904a05);}_0x5c7059[_0xe0c071(0x17b)](s);
|