@univerjs-pro/exchange-client 0.6.0-experimental.20250125-1d060b9 → 0.6.0-experimental.20250212-dbe9830
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/index.css +1 -1
- package/lib/types/index.d.ts +1 -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 -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 +11 -11
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x517389=_0xfe66;(function(_0x32a82,_0x2a3379){const _0x433713=_0xfe66,_0x4672df=_0x32a82();while(!![]){try{const _0x64c8a=-parseInt(_0x433713(0x91))/0x1+-parseInt(_0x433713(0x90))/0x2*(parseInt(_0x433713(0x93))/0x3)+-parseInt(_0x433713(0x8e))/0x4*(parseInt(_0x433713(0x98))/0x5)+parseInt(_0x433713(0x94))/0x6+parseInt(_0x433713(0x87))/0x7*(-parseInt(_0x433713(0x8a))/0x8)+parseInt(_0x433713(0x86))/0x9+parseInt(_0x433713(0x96))/0xa*(parseInt(_0x433713(0x99))/0xb);if(_0x64c8a===_0x2a3379)break;else _0x4672df['push'](_0x4672df['shift']());}catch(_0x38f730){_0x4672df['push'](_0x4672df['shift']());}}}(_0x38bb,0x75700));function _0xfe66(_0xd0926b,_0x364ae2){const _0x38bb4e=_0x38bb();return _0xfe66=function(_0xfe66c,_0x31132b){_0xfe66c=_0xfe66c-0x86;let _0x3e24fe=_0x38bb4e[_0xfe66c];return _0x3e24fe;},_0xfe66(_0xd0926b,_0x364ae2);}const e={'exchange':{'file':_0x517389(0x97),'upload':_0x517389(0x95),'download':_0x517389(0x8f),'uploading':_0x517389(0x88),'uploadSuccess':_0x517389(0x9b),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x517389(0x8b),'downloadSuccess':_0x517389(0x8c),'unknownMistake':_0x517389(0x8d),'networkError':'Network\x20error','tooLarge':'Data\x20is\x20too\x20large','internalError':_0x517389(0x9a),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','wait':_0x517389(0x89),'cancel':_0x517389(0x92),'uploadAgain':'Upload\x20again'}};export{e as default};function _0x38bb(){const _0x524d8c=['Open(File)','10vVbSRV','File','35anoqlI','12012682yvsLhy','Internal\x20unknown\x20error','File\x20uploaded\x20successfully','5945823KkEvDp','126bXkcwF','Uploading','Please\x20wait...','70576GmRIIe','Downloading','Download\x20success','Unknown\x20mistake','262228cGcelg','Save\x20As','55122NCrnDp','534302PiEeCz','Cancel','81HpSElu','3746754BQaQVA'];_0x38bb=function(){return _0x524d8c;};return _0x38bb();}
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x3ed4e0=_0x35f7;(function(_0x4a2ac3,_0x2c5156){const _0x5ba553=_0x35f7,_0x1d47e7=_0x4a2ac3();while(!![]){try{const _0x8035bc=-parseInt(_0x5ba553(0x141))/0x1*(parseInt(_0x5ba553(0x139))/0x2)+parseInt(_0x5ba553(0x13d))/0x3*(parseInt(_0x5ba553(0x13e))/0x4)+parseInt(_0x5ba553(0x140))/0x5*(-parseInt(_0x5ba553(0x138))/0x6)+-parseInt(_0x5ba553(0x131))/0x7+-parseInt(_0x5ba553(0x13a))/0x8+-parseInt(_0x5ba553(0x13b))/0x9*(-parseInt(_0x5ba553(0x142))/0xa)+parseInt(_0x5ba553(0x13f))/0xb;if(_0x8035bc===_0x2c5156)break;else _0x1d47e7['push'](_0x1d47e7['shift']());}catch(_0x238abd){_0x1d47e7['push'](_0x1d47e7['shift']());}}}(_0x86c9,0xe29df));const o={'exchange':{'file':'فایل','upload':_0x3ed4e0(0x130),'download':_0x3ed4e0(0x132),'uploading':_0x3ed4e0(0x136),'uploadSuccess':_0x3ed4e0(0x133),'uploadSuccessTip':_0x3ed4e0(0x13c),'downloading':'در\x20حال\x20دانلود','downloadSuccess':'دانلود\x20موفقیت\x20آمیز','unknownMistake':_0x3ed4e0(0x143),'networkError':'خطای\x20شبکه','tooLarge':_0x3ed4e0(0x134),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','wait':_0x3ed4e0(0x12f),'cancel':_0x3ed4e0(0x135),'uploadAgain':_0x3ed4e0(0x137)}};function _0x35f7(_0x301c91,_0x4e8053){const _0x86c955=_0x86c9();return _0x35f7=function(_0x35f7be,_0x46c961){_0x35f7be=_0x35f7be-0x12f;let _0x3e9786=_0x86c955[_0x35f7be];return _0x3e9786;},_0x35f7(_0x301c91,_0x4e8053);}function _0x86c9(){const _0x204574=['4052936gmypff','199674gYfwnC','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','3KVtcvd','5186392HYmHnF','7762326GexPjI','15WbleFZ','67147cFiXUk','790CTlxPK','خطای\x20ناشناخته','لطفا\x20صبر\x20کنید...','بازکردن(فایل)','9927974DLoHJa','ذخیره\x20به\x20عنوان','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','داده\x20خیلی\x20بزرگ\x20است','لغو','در\x20حال\x20بارگذاری','بارگذاری\x20مجدد','1400790QRqdON','6SWeHFz'];_0x86c9=function(){return _0x204574;};return _0x86c9();}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x29845a=_0x3b7a;function _0x3b7a(_0x54203c,_0x4b822f){const _0x27330c=_0x2733();return _0x3b7a=function(_0x3b7a27,_0x136c44){_0x3b7a27=_0x3b7a27-0xdb;let _0x59d484=_0x27330c[_0x3b7a27];return _0x59d484;},_0x3b7a(_0x54203c,_0x4b822f);}function _0x2733(){const _0x4a45c5=['File\x20uploaded\x20successfully','1752QQbRvP','11wDXHvw','5QayrbL','Network\x20error','Data\x20is\x20too\x20large','998504PXtydm','2wdPpPk','Please\x20wait...','12038nnAQmh','Unknown\x20mistake','Cancel','{0}\x20file(s)\x20uploaded\x20successfully','Internal\x20unknown\x20error','923964RJMUVd','Open(File)','Download\x20success','436sfMRLk','7ZnnAuU','Upload\x20again','2276181LgDTTx','Downloading','6948mcXftN','2639300AIZPmK','31143bqktQE'];_0x2733=function(){return _0x4a45c5;};return _0x2733();}(function(_0x249827,_0x4f6bbf){const _0x330bc2=_0x3b7a,_0x1fb1f2=_0x249827();while(!![]){try{const _0x309fd4=-parseInt(_0x330bc2(0xe3))/0x1*(-parseInt(_0x330bc2(0xeb))/0x2)+-parseInt(_0x330bc2(0xe1))/0x3*(-parseInt(_0x330bc2(0xdc))/0x4)+-parseInt(_0x330bc2(0xe7))/0x5*(parseInt(_0x330bc2(0xf2))/0x6)+-parseInt(_0x330bc2(0xdd))/0x7*(parseInt(_0x330bc2(0xea))/0x8)+-parseInt(_0x330bc2(0xdf))/0x9+-parseInt(_0x330bc2(0xe2))/0xa*(-parseInt(_0x330bc2(0xe6))/0xb)+-parseInt(_0x330bc2(0xe5))/0xc*(-parseInt(_0x330bc2(0xed))/0xd);if(_0x309fd4===_0x4f6bbf)break;else _0x1fb1f2['push'](_0x1fb1f2['shift']());}catch(_0x242db8){_0x1fb1f2['push'](_0x1fb1f2['shift']());}}}(_0x2733,0x24dd5));const e={'exchange':{'file':'File','upload':_0x29845a(0xf3),'download':'Save\x20As','uploading':'Uploading','uploadSuccess':_0x29845a(0xe4),'uploadSuccessTip':_0x29845a(0xf0),'downloading':_0x29845a(0xe0),'downloadSuccess':_0x29845a(0xdb),'unknownMistake':_0x29845a(0xee),'networkError':_0x29845a(0xe8),'tooLarge':_0x29845a(0xe9),'internalError':_0x29845a(0xf1),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','wait':_0x29845a(0xec),'cancel':_0x29845a(0xef),'uploadAgain':_0x29845a(0xde)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x3b59(_0x4093b9,_0x8f6932){const _0x4da02b=_0x4da0();return _0x3b59=function(_0x3b596d,_0x27bbc7){_0x3b596d=_0x3b596d-0x102;let _0x40cd6f=_0x4da02b[_0x3b596d];return _0x40cd6f;},_0x3b59(_0x4093b9,_0x8f6932);}const _0x5eaaef=_0x3b59;function _0x4da0(){const _0x4855e2=['Файл','Сетевая\x20ошибка','Открыть(Файл)','Файл\x20успешно\x20загружен','18392KKAonZ','Отмена','Загрузка','1511202eyWdoG','3782770jYRwwK','Сохранить\x20как','8611778lymClh','6XHIuLN','Внутренняя\x20неизвестная\x20ошибка','Скачивание\x20успешно','51565vCsYDv','Скачивание','Неизвестная\x20ошибка','{0}\x20файл(ов)\x20успешно\x20загружен(о)','3438XXaLaf','2375901fBuNwE','29446ScAvTs','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','47MhpOvS','8YNeMOI','Загрузить\x20снова','Пожалуйста,\x20подождите...'];_0x4da0=function(){return _0x4855e2;};return _0x4da0();}(function(_0x37101b,_0x21db48){const _0x64b5a1=_0x3b59,_0x5ba1c6=_0x37101b();while(!![]){try{const _0x3e6d57=-parseInt(_0x64b5a1(0x11a))/0x1*(-parseInt(_0x64b5a1(0x118))/0x2)+parseInt(_0x64b5a1(0x117))/0x3+parseInt(_0x64b5a1(0x11b))/0x4*(parseInt(_0x64b5a1(0x112))/0x5)+-parseInt(_0x64b5a1(0x10f))/0x6*(parseInt(_0x64b5a1(0x10e))/0x7)+parseInt(_0x64b5a1(0x108))/0x8*(parseInt(_0x64b5a1(0x116))/0x9)+-parseInt(_0x64b5a1(0x10c))/0xa+-parseInt(_0x64b5a1(0x10b))/0xb;if(_0x3e6d57===_0x21db48)break;else _0x5ba1c6['push'](_0x5ba1c6['shift']());}catch(_0x2202f6){_0x5ba1c6['push'](_0x5ba1c6['shift']());}}}(_0x4da0,0x9b7cf));const o={'exchange':{'file':_0x5eaaef(0x104),'upload':_0x5eaaef(0x106),'download':_0x5eaaef(0x10d),'uploading':_0x5eaaef(0x10a),'uploadSuccess':_0x5eaaef(0x107),'uploadSuccessTip':_0x5eaaef(0x115),'downloading':_0x5eaaef(0x113),'downloadSuccess':_0x5eaaef(0x111),'unknownMistake':_0x5eaaef(0x114),'networkError':_0x5eaaef(0x105),'tooLarge':'Данные\x20слишком\x20большие','internalError':_0x5eaaef(0x110),'interrupt':_0x5eaaef(0x119),'wait':_0x5eaaef(0x103),'cancel':_0x5eaaef(0x109),'uploadAgain':_0x5eaaef(0x102)}};export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0xa518(_0x27f032,_0x2f53d0){const _0x4cd6ed=_0x4cd6();return _0xa518=function(_0xa5180b,_0x372dd7){_0xa5180b=_0xa5180b-0x1e7;let _0x414c1a=_0x4cd6ed[_0xa5180b];return _0x414c1a;},_0xa518(_0x27f032,_0x2f53d0);}const _0x5ac3c2=_0xa518;function _0x4cd6(){const _0x42be54=['Lưu\x20dưới\x20dạng','1770zOJlwT','Lỗi\x20mạng','Mở\x20(Tệp)','118280oqRGJo','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','262878gxbUnX','4eRGfbd','Tải\x20lên\x20tệp\x20thành\x20công','10088603seXujd','Đang\x20tải\x20lên','Đang\x20tải\x20xuống','Hủy\x20bỏ','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','7431630dOfTkq','Lỗi\x20không\x20xác\x20định','Tải\x20lên\x20lại','41DghXeN','Tải\x20xuống\x20thành\x20công','Tệp','23530491dDfLVv','3968375lQPSrq','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công'];_0x4cd6=function(){return _0x42be54;};return _0x4cd6();}(function(_0x55f777,_0x526959){const _0x4c2488=_0xa518,_0x43ab3e=_0x55f777();while(!![]){try{const _0x19d933=parseInt(_0x4c2488(0x1fc))/0x1*(-parseInt(_0x4c2488(0x1ec))/0x2)+parseInt(_0x4c2488(0x1f1))/0x3+parseInt(_0x4c2488(0x1f2))/0x4*(parseInt(_0x4c2488(0x1e9))/0x5)+-parseInt(_0x4c2488(0x1f9))/0x6+-parseInt(_0x4c2488(0x1f4))/0x7+-parseInt(_0x4c2488(0x1ef))/0x8+parseInt(_0x4c2488(0x1e8))/0x9;if(_0x19d933===_0x526959)break;else _0x43ab3e['push'](_0x43ab3e['shift']());}catch(_0x4195db){_0x43ab3e['push'](_0x43ab3e['shift']());}}}(_0x4cd6,0xbabe0));const n={'exchange':{'file':_0x5ac3c2(0x1e7),'upload':_0x5ac3c2(0x1ee),'download':_0x5ac3c2(0x1eb),'uploading':_0x5ac3c2(0x1f5),'uploadSuccess':_0x5ac3c2(0x1f3),'uploadSuccessTip':_0x5ac3c2(0x1ea),'downloading':_0x5ac3c2(0x1f6),'downloadSuccess':_0x5ac3c2(0x1fd),'unknownMistake':_0x5ac3c2(0x1fa),'networkError':_0x5ac3c2(0x1ed),'tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0x5ac3c2(0x1f0),'interrupt':_0x5ac3c2(0x1f8),'wait':'Vui\x20lòng\x20đợi...','cancel':_0x5ac3c2(0x1f7),'uploadAgain':_0x5ac3c2(0x1fb)}};export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x4d8b6d=_0x1a33;(function(_0x1ff612,_0x363956){const _0x1020ef=_0x1a33,_0x36801a=_0x1ff612();while(!![]){try{const _0x576ada=-parseInt(_0x1020ef(0xe9))/0x1+parseInt(_0x1020ef(0xef))/0x2+-parseInt(_0x1020ef(0xf8))/0x3+parseInt(_0x1020ef(0xf6))/0x4*(parseInt(_0x1020ef(0xed))/0x5)+-parseInt(_0x1020ef(0xf0))/0x6*(parseInt(_0x1020ef(0xf9))/0x7)+-parseInt(_0x1020ef(0xf1))/0x8*(parseInt(_0x1020ef(0xec))/0x9)+parseInt(_0x1020ef(0xf2))/0xa*(parseInt(_0x1020ef(0xeb))/0xb);if(_0x576ada===_0x363956)break;else _0x36801a['push'](_0x36801a['shift']());}catch(_0x410c0a){_0x36801a['push'](_0x36801a['shift']());}}}(_0x30ec,0xa7a15));const o={'exchange':{'file':'文件','upload':'打开(文件)','download':'另存为','uploading':_0x4d8b6d(0xf3),'uploadSuccess':'文件上传成功','uploadSuccessTip':'{0}个文件上传成功','downloading':_0x4d8b6d(0xea),'downloadSuccess':_0x4d8b6d(0xf4),'unknownMistake':'未知错误','networkError':'网络异常','tooLarge':_0x4d8b6d(0xf5),'internalError':'内部未知错误','interrupt':'网络连接中断,文件上传失败。','wait':_0x4d8b6d(0xf7),'cancel':'取消','uploadAgain':_0x4d8b6d(0xee)}};function _0x1a33(_0x328586,_0x30733c){const _0x30ec48=_0x30ec();return _0x1a33=function(_0x1a339b,_0x37b508){_0x1a339b=_0x1a339b-0xe9;let _0x454947=_0x30ec48[_0x1a339b];return _0x454947;},_0x1a33(_0x328586,_0x30733c);}function _0x30ec(){const _0x2db29e=['2003860dyiAJL','再次上传','2419870nUyEcU','6oTWXzf','8kTXMDp','1303530doEoBU','上传中','下载成功','数据流过大','4rRoPLt','请稍等...','4050819DDrpZu','4287836hSzdNc','637673GRQVvQ','下载中','143OCfVlz','163701wxKLNH'];_0x30ec=function(){return _0x2db29e;};return _0x30ec();}export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x338a5a=_0x9250;(function(_0x39803c,_0x2b6c1f){const _0x138ca9=_0x9250,_0x3635dc=_0x39803c();while(!![]){try{const _0x307804=-parseInt(_0x138ca9(0xfa))/0x1*(-parseInt(_0x138ca9(0xf1))/0x2)+parseInt(_0x138ca9(0xef))/0x3+parseInt(_0x138ca9(0xfc))/0x4*(parseInt(_0x138ca9(0xf6))/0x5)+-parseInt(_0x138ca9(0xfd))/0x6+parseInt(_0x138ca9(0xfb))/0x7+parseInt(_0x138ca9(0xed))/0x8+-parseInt(_0x138ca9(0xf3))/0x9*(parseInt(_0x138ca9(0xf2))/0xa);if(_0x307804===_0x2b6c1f)break;else _0x3635dc['push'](_0x3635dc['shift']());}catch(_0x320597){_0x3635dc['push'](_0x3635dc['shift']());}}}(_0x47f9,0xbdc99));const o={'exchange':{'file':'檔案','upload':'開啟(檔案)','download':_0x338a5a(0xf5),'uploading':_0x338a5a(0xf9),'uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x338a5a(0xfe),'downloading':_0x338a5a(0xeb),'downloadSuccess':_0x338a5a(0xf0),'unknownMistake':_0x338a5a(0xee),'networkError':_0x338a5a(0xf7),'tooLarge':_0x338a5a(0xec),'internalError':_0x338a5a(0xf8),'interrupt':'網路連線中斷,檔案上傳失敗。\x20','wait':_0x338a5a(0xf4),'cancel':'取消','uploadAgain':'再次上傳'}};function _0x9250(_0x3869e8,_0x438c16){const _0x47f988=_0x47f9();return _0x9250=function(_0x9250a7,_0x1d520a){_0x9250a7=_0x9250a7-0xeb;let _0x2f6128=_0x47f988[_0x9250a7];return _0x2f6128;},_0x9250(_0x3869e8,_0x438c16);}export{o as default};function _0x47f9(){const _0x32020e=['網路異常','內部未知錯誤','上傳中','2aNBFjS','9545270ZinLLK','1396hIWXPi','8725416FauVRe','{0}個檔案上傳成功','下載中','資料流過大','1059552BFXHZQ','未知錯誤','716712rlqwtx','下載成功','478486wZIjhv','20KRIyRa','6110757BdyifR','請稍等...','另存為','19715DNFpjt'];_0x47f9=function(){return _0x32020e;};return _0x47f9();}
|
package/lib/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.univer-exchange-
|
1
|
+
.univer-exchange-link-list{max-height:280px;overflow-y:auto;overflow-x:hidden;scrollbar-color:rgba(var(--scrollbar-color),.7) transparent;scrollbar-gutter:auto;scrollbar-width:thin;margin-top:var(--margin-lg)}.univer-exchange-link-list-inner{display:flex;list-style:none;padding:0;margin:0;gap:8px;flex-direction:column}.univer-exchange-link-list-inner-item-link{display:flex;justify-content:space-between;text-decoration-line:none;color:var(--color-black);padding:var(--padding-xs) var(--padding-sm);background-color:transparent;border:none;border-radius:var(--border-radius-base);outline:none;transition:background-color .2s}.univer-exchange-link-list-inner-item-link:hover{background-color:rgb(var(--border-color))}.univer-exchange-link-list-inner-item-link-content{display:flex;align-items:center;width:calc(100% - 48px)}.univer-exchange-link-list-inner-item-link-icon{height:20px;font-size:20px;display:flex}.univer-exchange-link-list-inner-item-link-name{margin-left:var(--margin-xxs);color:var(--color-black);font-size:var(--font-size-sm);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.univer-exchange-link-list-inner-item-link-direct{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:var(--font-size-lg);color:rgb(var(--text-color-secondary));background-color:transparent;border:none;border-radius:var(--border-radius-base);outline:none;transition:background-color .2s}.univer-exchange-link-list-inner-item-link-direct:hover{background-color:rgb(var(--bg-color-hover))}.univer-exchange-upload-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:28px;border-width:0;border-radius:6px;padding:0 var(--padding-sm);font-size:var(--font-size-xs);transition:all .15s;color:rgb(var(--hyacinth-500));background-color:transparent;border-color:transparent}.univer-exchange-upload-button:hover{background-color:rgb(var(--hyacinth-50))}.univer-exchange-upload-error{display:flex;flex-direction:column;align-items:flex-start;margin-top:var(--margin-lg)}.univer-exchange-upload-error-tip{color:var(--color-black);font-size:var(--font-size-sm);padding:0 var(--padding-lg) 0 var(--padding-sm);margin-bottom:var(--margin-sm)}.univer-exchange-upload-success{display:flex;padding:0 var(--padding-xs) 0 var(--padding-sm);align-items:center;justify-content:space-between;margin-top:var(--margin-sm)}.univer-exchange-upload-success-tip{color:rgb(var(--text-color-secondary));font-size:var(--font-size-xs)}.univer-exchange-uploading{display:flex;flex-direction:column;align-items:flex-start;margin-top:var(--margin-lg)}.univer-exchange-uploading-tip{color:var(--color-black);font-size:var(--font-size-sm);padding:0 var(--padding-lg) 0 var(--padding-sm)}.univer-exchange-uploading-progress{padding:0 var(--padding-lg) 0 var(--padding-sm)}.univer-exchange-upload-progress{width:324px;height:6px;margin:var(--margin-base) 0 var(--margin-sm) 0;background-color:rgb(var(--border-color));border-radius:var(--border-radius-lg)}.univer-exchange-upload-progress-inner{height:6px;border-radius:var(--border-radius-lg);transition:width .5s}.univer-exchange-upload-notification{position:fixed;z-index:1000;bottom:48px;right:12px;width:372px;display:flex;flex-direction:column;justify-content:flex-start;padding:var(--padding-xl) var(--padding-base) var(--padding-lg) var(--padding-base);background-color:#fff;border-radius:6px;box-shadow:var(--box-shadow-base);box-sizing:border-box}.univer-exchange-upload-notification-header{display:flex;align-items:center;justify-content:space-between;padding:0 var(--padding-sm) 0 6px}.univer-exchange-upload-notification-header-title{display:flex}.univer-exchange-upload-notification-header-icon{height:24px;font-size:24px}.univer-exchange-upload-notification-header-icon-success{color:rgb(var(--success-color))}.univer-exchange-upload-notification-header-icon-uploading{color:rgb(var(--info-color))}.univer-exchange-upload-notification-header-icon-error{color:rgb(var(--error-color))}.univer-exchange-upload-notification-header-text{margin-left:6px;line-height:24px;color:var(--color-black);font-size:17px;font-weight:600}.univer-exchange-upload-notification-header-close{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:var(--font-size-lg);color:rgb(var(--text-color-secondary));background-color:transparent;border:none;border-radius:var(--border-radius-base);outline:none;transition:background-color .2s}.univer-exchange-upload-notification-header-close:hover{background-color:rgb(var(--bg-color-hover))}
|
package/lib/types/index.d.ts
CHANGED
@@ -9,3 +9,4 @@ export { IUploadNotificationService, UploadNotificationService, UploadNotificati
|
|
9
9
|
export { downloadFile, getUniverTypeByFile, getUploadFile } from './services/utils/tool';
|
10
10
|
export { UploadNotificationContainer } from './views/UploadNotificationContainer';
|
11
11
|
export { transformSnapshotJsonToWorkbookData, transformWorkbookDataToSnapshotJson } from './services/utils/snapshot';
|
12
|
+
export type { ISnapshotBlockJsonResponse } from './services/utils/snapshot';
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
(function(_0x208181,_0x437400){const _0x558262=_0x3554,_0xf15ba0=_0x208181();while(!![]){try{const _0x452adb=-parseInt(_0x558262(0x17a))/0x1+-parseInt(_0x558262(0x18c))/0x2*(parseInt(_0x558262(0x18a))/0x3)+parseInt(_0x558262(0x183))/0x4+-parseInt(_0x558262(0x190))/0x5+-parseInt(_0x558262(0x179))/0x6+-parseInt(_0x558262(0x17d))/0x7+-parseInt(_0x558262(0x16e))/0x8*(-parseInt(_0x558262(0x17e))/0x9);if(_0x452adb===_0x437400)break;else _0xf15ba0['push'](_0xf15ba0['shift']());}catch(_0x5bbda2){_0xf15ba0['push'](_0xf15ba0['shift']());}}}(_0x543a,0x370b2),function(_0x58f0cf,_0x4bda14){const _0x597d52=_0x3554;typeof exports=='object'&&typeof module<'u'?_0x4bda14(require(_0x597d52(0x16f)),require(_0x597d52(0x182))):typeof define==_0x597d52(0x18e)&&define[_0x597d52(0x170)]?define(['@univerjs-pro/exchange-client',_0x597d52(0x182)],_0x4bda14):(_0x58f0cf=typeof globalThis<'u'?globalThis:_0x58f0cf||self,_0x4bda14(_0x58f0cf['UniverProExchangeClient'],_0x58f0cf[_0x597d52(0x18b)]));}(this,function(_0x285f75,_0x1afe02){'use strict';const _0x441f7e=_0x3554;var _0xf10b2e=(_0x306a63=>(_0x306a63[_0x306a63[_0x441f7e(0x185)]=0x0]=_0x441f7e(0x185),_0x306a63[_0x306a63[_0x441f7e(0x186)]=0x1]='UNIVER_DOC',_0x306a63[_0x306a63[_0x441f7e(0x187)]=0x2]=_0x441f7e(0x187),_0x306a63[_0x306a63[_0x441f7e(0x175)]=0x3]=_0x441f7e(0x175),_0x306a63[_0x306a63[_0x441f7e(0x178)]=0x4]='UNIVER_PROJECT',_0x306a63[_0x306a63[_0x441f7e(0x172)]=-0x1]=_0x441f7e(0x172),_0x306a63))(_0xf10b2e||{});class _0xc9ee47 extends _0x1afe02[_0x441f7e(0x174)]{async[_0x441f7e(0x189)](_0x5281c4){return this['importXLSXToUnitIdAsync'](_0x5281c4);}async[_0x441f7e(0x191)](_0x10a66f){const _0x542b=_0x441f7e,_0x44c336=this[_0x542b(0x173)][_0x542b(0x17f)](_0x285f75['IExchangeService']);if(!_0x44c336)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x44c336['importFileToUnitId'](_0x10a66f,_0xf10b2e['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x5cc78c){const _0x183e3e=_0x441f7e;return this[_0x183e3e(0x18d)](_0x5cc78c);}async[_0x441f7e(0x18d)](_0x290b71){const _0x179256=_0x441f7e,_0x392d60=this[_0x179256(0x173)]['get'](_0x285f75[_0x179256(0x176)]);if(!_0x392d60)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x392d60[_0x179256(0x16d)](_0x290b71);}async['exportXLSXByUnitId'](_0x4ec159){const _0x1daba7=_0x441f7e;return this[_0x1daba7(0x18f)](_0x4ec159);}async[_0x441f7e(0x18f)](_0x38584){const _0x1afb48=_0x441f7e,_0x3b6361=this[_0x1afb48(0x173)][_0x1afb48(0x17f)](_0x285f75[_0x1afb48(0x176)]);if(!_0x3b6361)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b6361['exportXLSXByUnitId'](_0x38584);}async[_0x441f7e(0x184)](_0x272404){return this['exportXLSXBySnapshotAsync'](_0x272404);}async[_0x441f7e(0x181)](_0x44a4ad){const _0x58b082=_0x441f7e,_0x15b1cb=this[_0x58b082(0x173)][_0x58b082(0x17f)](_0x285f75['IExchangeService']);if(!_0x15b1cb)throw new Error(_0x58b082(0x180));return _0x15b1cb[_0x58b082(0x184)](_0x44a4ad);}async['importDOCXToUnitId'](_0x45f56b){const _0x533652=_0x441f7e;return this[_0x533652(0x188)](_0x45f56b);}async[_0x441f7e(0x188)](_0x954c33){const _0xb61820=_0x441f7e,_0x48cfb5=this[_0xb61820(0x173)][_0xb61820(0x17f)](_0x285f75[_0xb61820(0x176)]);if(!_0x48cfb5)throw new Error(_0xb61820(0x180));return _0x48cfb5[_0xb61820(0x17b)](_0x954c33,_0xf10b2e['UNIVER_DOC']);}async[_0x441f7e(0x177)](_0x19e070){const _0x4b137d=_0x441f7e;return this[_0x4b137d(0x17c)](_0x19e070);}async[_0x441f7e(0x17c)](_0x1691c6){const _0x53f6f6=_0x441f7e,_0x5d5e69=this[_0x53f6f6(0x173)][_0x53f6f6(0x17f)](_0x285f75[_0x53f6f6(0x176)]);if(!_0x5d5e69)throw new Error(_0x53f6f6(0x180));return _0x5d5e69['importDOCXToSnapshot'](_0x1691c6);}}_0x1afe02[_0x441f7e(0x174)][_0x441f7e(0x171)](_0xc9ee47);}));function _0x3554(_0x1544ab,_0xe7db8d){const _0x543af9=_0x543a();return _0x3554=function(_0x355475,_0x365a2f){_0x355475=_0x355475-0x16d;let _0x1dda66=_0x543af9[_0x355475];return _0x1dda66;},_0x3554(_0x1544ab,_0xe7db8d);}function _0x543a(){const _0x24c3bd=['@univerjs-pro/exchange-client','amd','extend','UNRECOGNIZED','_injector','FUniver','UNIVER_SLIDE','IExchangeService','importDOCXToSnapshot','UNIVER_PROJECT','1939770yFlKOs','448160GYWkIE','importFileToUnitId','importDOCXToSnapshotAsync','2266446TEuGtc','9IdFXao','get','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync','@univerjs/core','1082380uBECco','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNIVER_DOC','UNIVER_SHEET','importDOCXToUnitIdAsync','importXLSXToUnitId','3kavqiv','UniverCore','683070CmEfAp','importXLSXToSnapshotAsync','function','exportXLSXByUnitIdAsync','29390wksyFN','importXLSXToUnitIdAsync','importXLSXToSnapshot','11180072OXarCH'];_0x543a=function(){return _0x24c3bd;};return _0x543a();}
|