@univerjs-pro/exchange-client 0.5.0-nightly.202411261607 → 0.5.0-nightly.202411281606
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 -0
- 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 -0
- 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/types/facade/f-univer.d.ts +32 -3
- package/lib/types/facade/index.d.ts +1 -0
- package/lib/types/locale/fr-FR.d.ts +3 -0
- 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 -0
- 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 +10 -10
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x41fd7d=_0x1261;(function(_0x2bc7dd,_0x31af17){const _0x332832=_0x1261,_0x21b59b=_0x2bc7dd();while(!![]){try{const _0x432dc4=parseInt(_0x332832(0x132))/0x1+-parseInt(_0x332832(0x13a))/0x2*(parseInt(_0x332832(0x12d))/0x3)+parseInt(_0x332832(0x139))/0x4+-parseInt(_0x332832(0x133))/0x5+parseInt(_0x332832(0x130))/0x6+-parseInt(_0x332832(0x134))/0x7+parseInt(_0x332832(0x12a))/0x8;if(_0x432dc4===_0x31af17)break;else _0x21b59b['push'](_0x21b59b['shift']());}catch(_0x4c63b4){_0x21b59b['push'](_0x21b59b['shift']());}}}(_0x54d0,0x37722));const e={'exchange':{'file':_0x41fd7d(0x135),'upload':'Open(File)','download':'Save\x20As','uploading':'Uploading','uploadSuccess':_0x41fd7d(0x12f),'uploadSuccessTip':_0x41fd7d(0x129),'downloading':_0x41fd7d(0x12e),'downloadSuccess':'Download\x20success','unknownMistake':_0x41fd7d(0x12b),'networkError':_0x41fd7d(0x138),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x41fd7d(0x12c),'interrupt':_0x41fd7d(0x137),'wait':'Please\x20wait...','cancel':_0x41fd7d(0x131),'uploadAgain':_0x41fd7d(0x136)}};function _0x54d0(){const _0x10f876=['Network\x20error','270276CbTDWo','316446mBJzxo','{0}\x20file(s)\x20uploaded\x20successfully','2981392LtjPAY','Unknown\x20mistake','Internal\x20unknown\x20error','6WkOUxB','Downloading','File\x20uploaded\x20successfully','1549410kVPdXS','Cancel','316065SsOuvi','1509040vuCxwp','1184281taUDXV','File','Upload\x20again','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.'];_0x54d0=function(){return _0x10f876;};return _0x54d0();}function _0x1261(_0x3f2faf,_0x259f83){const _0x54d0d6=_0x54d0();return _0x1261=function(_0x1261fa,_0x317f58){_0x1261fa=_0x1261fa-0x129;let _0x45cc47=_0x54d0d6[_0x1261fa];return _0x45cc47;},_0x1261(_0x3f2faf,_0x259f83);}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x29d3(){const _0xa3e500=['18MQfGWh','1255023CRrDja','3770976CbbIFh','305425JhqbyH','3849496xGqGOV','2452NENNGu','داده\x20خیلی\x20بزرگ\x20است','4910xwJRIX','در\x20حال\x20دانلود','12496WVZBKL','بارگذاری\x20مجدد','لطفا\x20صبر\x20کنید...','28UqhffL','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','خطای\x20ناشناخته','457PopSty','خطای\x20داخلی\x20ناشناخته','خطای\x20شبکه','لغو','9Ykxadf','فایل','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','در\x20حال\x20بارگذاری','1385811xPDtYq','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','دانلود\x20موفقیت\x20آمیز'];_0x29d3=function(){return _0xa3e500;};return _0x29d3();}const _0x326d7a=_0x5be1;(function(_0x47b59f,_0x3e7744){const _0x220f81=_0x5be1,_0x4fb629=_0x47b59f();while(!![]){try{const _0x376a57=-parseInt(_0x220f81(0xf7))/0x1*(-parseInt(_0x220f81(0x107))/0x2)+-parseInt(_0x220f81(0x103))/0x3+parseInt(_0x220f81(0x10e))/0x4*(parseInt(_0x220f81(0x105))/0x5)+parseInt(_0x220f81(0x102))/0x6*(parseInt(_0x220f81(0xff))/0x7)+parseInt(_0x220f81(0x106))/0x8*(-parseInt(_0x220f81(0xfb))/0x9)+parseInt(_0x220f81(0x109))/0xa*(-parseInt(_0x220f81(0x10b))/0xb)+parseInt(_0x220f81(0x104))/0xc;if(_0x376a57===_0x3e7744)break;else _0x4fb629['push'](_0x4fb629['shift']());}catch(_0x4dce7b){_0x4fb629['push'](_0x4fb629['shift']());}}}(_0x29d3,0x6b1d4));const o={'exchange':{'file':_0x326d7a(0xfc),'upload':'بازکردن(فایل)','download':'ذخیره\x20به\x20عنوان','uploading':_0x326d7a(0xfe),'uploadSuccess':_0x326d7a(0xfd),'uploadSuccessTip':_0x326d7a(0x100),'downloading':_0x326d7a(0x10a),'downloadSuccess':_0x326d7a(0x101),'unknownMistake':_0x326d7a(0x110),'networkError':_0x326d7a(0xf9),'tooLarge':_0x326d7a(0x108),'internalError':_0x326d7a(0xf8),'interrupt':_0x326d7a(0x10f),'wait':_0x326d7a(0x10d),'cancel':_0x326d7a(0xfa),'uploadAgain':_0x326d7a(0x10c)}};function _0x5be1(_0x58f0d4,_0x233fec){const _0x29d35e=_0x29d3();return _0x5be1=function(_0x5be13c,_0x291c8c){_0x5be13c=_0x5be13c-0xf7;let _0xdffd14=_0x29d35e[_0x5be13c];return _0xdffd14;},_0x5be1(_0x58f0d4,_0x233fec);}export{o as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
function _0x1035(_0x521500,_0x333e00){const _0x395d5e=_0x395d();return _0x1035=function(_0x10354d,_0x2e4641){_0x10354d=_0x10354d-0x66;let _0x23ac8e=_0x395d5e[_0x10354d];return _0x23ac8e;},_0x1035(_0x521500,_0x333e00);}const _0x3b7c1d=_0x1035;(function(_0x11b044,_0x54f433){const _0xb0b22c=_0x1035,_0x13b066=_0x11b044();while(!![]){try{const _0x46d98c=parseInt(_0xb0b22c(0x68))/0x1*(parseInt(_0xb0b22c(0x6f))/0x2)+-parseInt(_0xb0b22c(0x75))/0x3*(-parseInt(_0xb0b22c(0x6d))/0x4)+parseInt(_0xb0b22c(0x71))/0x5*(-parseInt(_0xb0b22c(0x79))/0x6)+parseInt(_0xb0b22c(0x72))/0x7*(parseInt(_0xb0b22c(0x7d))/0x8)+-parseInt(_0xb0b22c(0x78))/0x9*(parseInt(_0xb0b22c(0x77))/0xa)+parseInt(_0xb0b22c(0x70))/0xb+-parseInt(_0xb0b22c(0x7b))/0xc;if(_0x46d98c===_0x54f433)break;else _0x13b066['push'](_0x13b066['shift']());}catch(_0x5b7652){_0x13b066['push'](_0x13b066['shift']());}}}(_0x395d,0xe6e55));function _0x395d(){const _0x57aede=['1064354KUqfGx','Download\x20success','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','{0}\x20file(s)\x20uploaded\x20successfully','Network\x20error','7305988HJBUlH','Please\x20wait...','2BQkwUq','20664281ISuBCl','17395BGBXMG','10731IRxIvr','Internal\x20unknown\x20error','Unknown\x20mistake','3dEvFBx','File','2270GqPAsd','42363vqrZsw','3234lFCvEI','Save\x20As','12601992RLwpKK','Upload\x20again','888dGkzOE','Open(File)','File\x20uploaded\x20successfully'];_0x395d=function(){return _0x57aede;};return _0x395d();}const e={'exchange':{'file':_0x3b7c1d(0x76),'upload':_0x3b7c1d(0x66),'download':_0x3b7c1d(0x7a),'uploading':'Uploading','uploadSuccess':_0x3b7c1d(0x67),'uploadSuccessTip':_0x3b7c1d(0x6b),'downloading':'Downloading','downloadSuccess':_0x3b7c1d(0x69),'unknownMistake':_0x3b7c1d(0x74),'networkError':_0x3b7c1d(0x6c),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x3b7c1d(0x73),'interrupt':_0x3b7c1d(0x6a),'wait':_0x3b7c1d(0x6e),'cancel':'Cancel','uploadAgain':_0x3b7c1d(0x7c)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x40e429=_0x493c;function _0x53d8(){const _0x7bdfe5=['527301SPIeKV','2380skAljp','Загрузить\x20снова','642cXuLPY','24PRHzEH','Сохранить\x20как','Открыть(Файл)','110aGDPEk','Скачивание\x20успешно','1184ebscoS','Пожалуйста,\x20подождите...','Неизвестная\x20ошибка','794932UBKLAE','Загрузка','1419944vgEthA','332486LbwYgC','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','Внутренняя\x20неизвестная\x20ошибка','3743502BwgPEE','Данные\x20слишком\x20большие'];_0x53d8=function(){return _0x7bdfe5;};return _0x53d8();}(function(_0x20e416,_0x31b935){const _0x4782c2=_0x493c,_0x5c290e=_0x20e416();while(!![]){try{const _0x3ad2c4=-parseInt(_0x4782c2(0x15e))/0x1+parseInt(_0x4782c2(0x15b))/0x2+-parseInt(_0x4782c2(0x166))/0x3*(parseInt(_0x4782c2(0x16c))/0x4)+parseInt(_0x4782c2(0x164))/0x5*(-parseInt(_0x4782c2(0x167))/0x6)+-parseInt(_0x4782c2(0x161))/0x7+parseInt(_0x4782c2(0x15d))/0x8+parseInt(_0x4782c2(0x163))/0x9*(parseInt(_0x4782c2(0x16a))/0xa);if(_0x3ad2c4===_0x31b935)break;else _0x5c290e['push'](_0x5c290e['shift']());}catch(_0x3664bc){_0x5c290e['push'](_0x5c290e['shift']());}}}(_0x53d8,0x460c6));const o={'exchange':{'file':'Файл','upload':_0x40e429(0x169),'download':_0x40e429(0x168),'uploading':_0x40e429(0x15c),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':'Скачивание','downloadSuccess':_0x40e429(0x16b),'unknownMistake':_0x40e429(0x15a),'networkError':'Сетевая\x20ошибка','tooLarge':_0x40e429(0x162),'internalError':_0x40e429(0x160),'interrupt':_0x40e429(0x15f),'wait':_0x40e429(0x16d),'cancel':'Отмена','uploadAgain':_0x40e429(0x165)}};function _0x493c(_0x5be678,_0x3a52ac){const _0x53d8ec=_0x53d8();return _0x493c=function(_0x493cbf,_0x4816d9){_0x493cbf=_0x493cbf-0x15a;let _0x4de36e=_0x53d8ec[_0x493cbf];return _0x4de36e;},_0x493c(_0x5be678,_0x3a52ac);}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x4bc9(_0x2d1dba,_0x33eb5e){const _0x1307a9=_0x1307();return _0x4bc9=function(_0x4bc996,_0x1d45d9){_0x4bc996=_0x4bc996-0x10d;let _0xcb92e=_0x1307a9[_0x4bc996];return _0xcb92e;},_0x4bc9(_0x2d1dba,_0x33eb5e);}function _0x1307(){const _0x4be2f2=['Đang\x20tải\x20lên','1670414NRaelh','665ntBOCo','Mở\x20(Tệp)','1410070cWMkFG','Tải\x20lên\x20tệp\x20thành\x20công','Lỗi\x20không\x20xác\x20định','26444xgFZEM','Tải\x20xuống\x20thành\x20công','Lưu\x20dưới\x20dạng','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Vui\x20lòng\x20đợi...','Tệp','15051321ZDRuZp','Đang\x20tải\x20xuống','1280086XEXaIO','657znzNSw','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','13681080akURmq','78450AIMypn','20vDfXGC','Hủy\x20bỏ'];_0x1307=function(){return _0x4be2f2;};return _0x1307();}const _0x4fd647=_0x4bc9;(function(_0x4a4dfa,_0x21f045){const _0x4a2ed4=_0x4bc9,_0x74cc5f=_0x4a4dfa();while(!![]){try{const _0x41901f=-parseInt(_0x4a2ed4(0x117))/0x1+parseInt(_0x4a2ed4(0x120))/0x2+-parseInt(_0x4a2ed4(0x118))/0x3*(-parseInt(_0x4a2ed4(0x10f))/0x4)+parseInt(_0x4a2ed4(0x123))/0x5+-parseInt(_0x4a2ed4(0x11c))/0x6*(-parseInt(_0x4a2ed4(0x121))/0x7)+parseInt(_0x4a2ed4(0x11b))/0x8+parseInt(_0x4a2ed4(0x115))/0x9*(-parseInt(_0x4a2ed4(0x11d))/0xa);if(_0x41901f===_0x21f045)break;else _0x74cc5f['push'](_0x74cc5f['shift']());}catch(_0x4728aa){_0x74cc5f['push'](_0x74cc5f['shift']());}}}(_0x1307,0xd9e32));const n={'exchange':{'file':_0x4fd647(0x114),'upload':_0x4fd647(0x122),'download':_0x4fd647(0x111),'uploading':_0x4fd647(0x11f),'uploadSuccess':_0x4fd647(0x10d),'uploadSuccessTip':_0x4fd647(0x112),'downloading':_0x4fd647(0x116),'downloadSuccess':_0x4fd647(0x110),'unknownMistake':_0x4fd647(0x10e),'networkError':'Lỗi\x20mạng','tooLarge':_0x4fd647(0x119),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x4fd647(0x11a),'wait':_0x4fd647(0x113),'cancel':_0x4fd647(0x11e),'uploadAgain':'Tải\x20lên\x20lại'}};export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x332541=_0x15d1;(function(_0x4f74c1,_0xa58687){const _0x9fc509=_0x15d1,_0x3d8b32=_0x4f74c1();while(!![]){try{const _0x4a7a4c=parseInt(_0x9fc509(0x1f1))/0x1+-parseInt(_0x9fc509(0x1fd))/0x2+-parseInt(_0x9fc509(0x1fb))/0x3+parseInt(_0x9fc509(0x200))/0x4+parseInt(_0x9fc509(0x1f5))/0x5*(parseInt(_0x9fc509(0x1fe))/0x6)+parseInt(_0x9fc509(0x1f8))/0x7+-parseInt(_0x9fc509(0x1f6))/0x8*(parseInt(_0x9fc509(0x1f4))/0x9);if(_0x4a7a4c===_0xa58687)break;else _0x3d8b32['push'](_0x3d8b32['shift']());}catch(_0x3f2741){_0x3d8b32['push'](_0x3d8b32['shift']());}}}(_0x8126,0x75b14));function _0x8126(){const _0x27f4e0=['请稍等...','网络连接中断,文件上传失败。','190530CeAIYy','内部未知错误','1338710ehxDdK','36TLzCLf','再次上传','3223936xiIiQY','未知错误','网络异常','下载中','914308bDkXHc','{0}个文件上传成功','打开(文件)','360AkoaRe','404325DKqiYO','304088GqCAbK','上传中','3709237tHTkOU'];_0x8126=function(){return _0x27f4e0;};return _0x8126();}const o={'exchange':{'file':'文件','upload':_0x332541(0x1f3),'download':'另存为','uploading':_0x332541(0x1f7),'uploadSuccess':'文件上传成功','uploadSuccessTip':_0x332541(0x1f2),'downloading':_0x332541(0x203),'downloadSuccess':'下载成功','unknownMistake':_0x332541(0x201),'networkError':_0x332541(0x202),'tooLarge':'数据流过大','internalError':_0x332541(0x1fc),'interrupt':_0x332541(0x1fa),'wait':_0x332541(0x1f9),'cancel':'取消','uploadAgain':_0x332541(0x1ff)}};function _0x15d1(_0x1c3314,_0x34f2cc){const _0x812609=_0x8126();return _0x15d1=function(_0x15d105,_0xc954df){_0x15d105=_0x15d105-0x1f1;let _0x38b1cb=_0x812609[_0x15d105];return _0x38b1cb;},_0x15d1(_0x1c3314,_0x34f2cc);}export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x52b6(){const _0x57f485=['另存為','1376612gmIjRC','{0}個檔案上傳成功','檔案上傳成功','內部未知錯誤','3222252FXFnUR','請稍等...','163409LjpfNy','897258SsFqCg','5GQSsjx','上傳中','40bauEKn','1412QmfsLW','42WQEcjS','下載成功','5430KWPUuA','12097052iVMNAt','6478184hWzUyx','未知錯誤'];_0x52b6=function(){return _0x57f485;};return _0x52b6();}const _0x21f008=_0xf104;(function(_0x539df4,_0xaaa73a){const _0x2d60c6=_0xf104,_0x4720b5=_0x539df4();while(!![]){try{const _0x5dd804=-parseInt(_0x2d60c6(0x18a))/0x1+parseInt(_0x2d60c6(0x18f))/0x2*(-parseInt(_0x2d60c6(0x192))/0x3)+parseInt(_0x2d60c6(0x184))/0x4*(-parseInt(_0x2d60c6(0x18c))/0x5)+-parseInt(_0x2d60c6(0x18b))/0x6*(-parseInt(_0x2d60c6(0x190))/0x7)+-parseInt(_0x2d60c6(0x194))/0x8+-parseInt(_0x2d60c6(0x188))/0x9*(-parseInt(_0x2d60c6(0x18e))/0xa)+parseInt(_0x2d60c6(0x193))/0xb;if(_0x5dd804===_0xaaa73a)break;else _0x4720b5['push'](_0x4720b5['shift']());}catch(_0x12ec71){_0x4720b5['push'](_0x4720b5['shift']());}}}(_0x52b6,0xcb973));function _0xf104(_0x25e189,_0x329da2){const _0x52b625=_0x52b6();return _0xf104=function(_0xf10422,_0x5b781a){_0xf10422=_0xf10422-0x182;let _0x53f000=_0x52b625[_0xf10422];return _0x53f000;},_0xf104(_0x25e189,_0x329da2);}const o={'exchange':{'file':'檔案','upload':'開啟(檔案)','download':_0x21f008(0x183),'uploading':_0x21f008(0x18d),'uploadSuccess':_0x21f008(0x186),'uploadSuccessTip':_0x21f008(0x185),'downloading':'下載中','downloadSuccess':_0x21f008(0x191),'unknownMistake':_0x21f008(0x182),'networkError':'網路異常','tooLarge':'資料流過大','internalError':_0x21f008(0x187),'interrupt':'網路連線中斷,檔案上傳失敗。\x20','wait':_0x21f008(0x189),'cancel':'取消','uploadAgain':'再次上傳'}};export{o as default};
|
@@ -1,5 +1,35 @@
|
|
1
|
-
import { IDocumentData, IWorkbookData } from '@univerjs/core';
|
2
|
-
interface IFUniverExchangeClientMixin {
|
1
|
+
import { IDocumentData, IWorkbookData, FUniver } from '@univerjs/core';
|
2
|
+
export 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
|
+
export declare class FUniverExchangeClientMixin extends FUniver implements IFUniverExchangeClientMixin {
|
3
33
|
/**
|
4
34
|
* Import XLSX file to unit id
|
5
35
|
* @param file File path or file object
|
@@ -33,4 +63,3 @@ declare module '@univerjs/core' {
|
|
33
63
|
interface FUniver extends IFUniverExchangeClientMixin {
|
34
64
|
}
|
35
65
|
}
|
36
|
-
export {};
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
(function(_0x3a3af4,_0xf0de52){const _0x236b70=_0x1121,_0x3e8b65=_0x3a3af4();while(!![]){try{const _0x5520e1=-parseInt(_0x236b70(0x10e))/0x1+-parseInt(_0x236b70(0x106))/0x2+-parseInt(_0x236b70(0x117))/0x3+parseInt(_0x236b70(0x115))/0x4*(parseInt(_0x236b70(0x107))/0x5)+-parseInt(_0x236b70(0x10d))/0x6*(parseInt(_0x236b70(0x10f))/0x7)+-parseInt(_0x236b70(0x11b))/0x8*(parseInt(_0x236b70(0x11a))/0x9)+parseInt(_0x236b70(0x121))/0xa*(parseInt(_0x236b70(0x120))/0xb);if(_0x5520e1===_0xf0de52)break;else _0x3e8b65['push'](_0x3e8b65['shift']());}catch(_0x48d2fc){_0x3e8b65['push'](_0x3e8b65['shift']());}}}(_0x20c2,0x70fc5),function(_0x1fb8de,_0x43e2a1){const _0x580321=_0x1121;typeof exports==_0x580321(0x10c)&&typeof module<'u'?_0x43e2a1(require(_0x580321(0x11d)),require(_0x580321(0x124))):typeof define==_0x580321(0x105)&&define['amd']?define([_0x580321(0x11d),_0x580321(0x124)],_0x43e2a1):(_0x1fb8de=typeof globalThis<'u'?globalThis:_0x1fb8de||self,_0x43e2a1(_0x1fb8de['UniverCore'],_0x1fb8de['UniverProExchangeClient']));}(this,function(_0x4cc417,_0x52c147){'use strict';const _0x401c21=_0x1121;var _0x27bd1b=(_0x1b6d18=>(_0x1b6d18[_0x1b6d18['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x1b6d18[_0x1b6d18[_0x401c21(0x112)]=0x1]=_0x401c21(0x112),_0x1b6d18[_0x1b6d18[_0x401c21(0x11c)]=0x2]=_0x401c21(0x11c),_0x1b6d18[_0x1b6d18[_0x401c21(0x111)]=0x3]=_0x401c21(0x111),_0x1b6d18[_0x1b6d18[_0x401c21(0x119)]=0x4]=_0x401c21(0x119),_0x1b6d18[_0x1b6d18[_0x401c21(0x116)]=-0x1]='UNRECOGNIZED',_0x1b6d18))(_0x27bd1b||{});class _0x20c6d extends _0x4cc417[_0x401c21(0x118)]{async[_0x401c21(0x109)](_0x52d1bc){const _0x1d2911=_0x401c21,_0x39bcbb=this['_injector'][_0x1d2911(0x110)](_0x52c147[_0x1d2911(0x123)]);if(!_0x39bcbb)throw new Error(_0x1d2911(0x11f));return _0x39bcbb[_0x1d2911(0x113)](_0x52d1bc,_0x27bd1b[_0x1d2911(0x11c)]);}async[_0x401c21(0x10a)](_0x214082){const _0x1d86ae=_0x401c21,_0x37cb23=this['_injector'][_0x1d86ae(0x110)](_0x52c147[_0x1d86ae(0x123)]);if(!_0x37cb23)throw new Error(_0x1d86ae(0x11f));return _0x37cb23['importXLSXToSnapshot'](_0x214082);}async[_0x401c21(0x11e)](_0x247657){const _0xa379a3=_0x401c21,_0x3eacdf=this['_injector']['get'](_0x52c147[_0xa379a3(0x123)]);if(!_0x3eacdf)throw new Error(_0xa379a3(0x11f));return _0x3eacdf['exportXLSXByUnitId'](_0x247657);}async[_0x401c21(0x122)](_0x2c372e){const _0x280df0=_0x401c21,_0x43936b=this[_0x280df0(0x114)]['get'](_0x52c147[_0x280df0(0x123)]);if(!_0x43936b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43936b[_0x280df0(0x122)](_0x2c372e);}async[_0x401c21(0x10b)](_0x579836){const _0x1602f8=_0x401c21,_0x1aa2ca=this['_injector'][_0x1602f8(0x110)](_0x52c147[_0x1602f8(0x123)]);if(!_0x1aa2ca)throw new Error(_0x1602f8(0x11f));return _0x1aa2ca['importFileToUnitId'](_0x579836,_0x27bd1b[_0x1602f8(0x112)]);}async[_0x401c21(0x108)](_0x1ef557){const _0x1fe909=_0x401c21,_0x3a7c81=this[_0x1fe909(0x114)][_0x1fe909(0x110)](_0x52c147[_0x1fe909(0x123)]);if(!_0x3a7c81)throw new Error(_0x1fe909(0x11f));return _0x3a7c81['importDOCXToSnapshot'](_0x1ef557);}}_0x4cc417[_0x401c21(0x118)]['extend'](_0x20c6d);}));function _0x1121(_0x4e4fab,_0x52d2de){const _0x20c25b=_0x20c2();return _0x1121=function(_0x1121ca,_0x17047c){_0x1121ca=_0x1121ca-0x105;let _0x3e3053=_0x20c25b[_0x1121ca];return _0x3e3053;},_0x1121(_0x4e4fab,_0x52d2de);}function _0x20c2(){const _0x3cb804=['IExchangeService','@univerjs-pro/exchange-client','function','1294902SqmHXX','62840zYiCsH','importDOCXToSnapshot','importXLSXToUnitId','importXLSXToSnapshot','importDOCXToUnitId','object','246tXxwwM','530144ofuvKw','156331AtUMjx','get','UNIVER_SLIDE','UNIVER_DOC','importFileToUnitId','_injector','36klTKOM','UNRECOGNIZED','2125470WlADSn','FUniver','UNIVER_PROJECT','1251531axbpMH','8jAGTbp','UNIVER_SHEET','@univerjs/core','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','3290474eqqdrK','110mAHUhS','exportXLSXBySnapshot'];_0x20c2=function(){return _0x3cb804;};return _0x20c2();}
|