@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/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0xe3719f=_0x1c2c;(function(_0x48c6cc,_0x13d136){const _0x2a0473=_0x1c2c,_0x20fcee=_0x48c6cc();while(!![]){try{const _0x41f06f=parseInt(_0x2a0473(0x94))/0x1+-parseInt(_0x2a0473(0xa3))/0x2*(parseInt(_0x2a0473(0x96))/0x3)+parseInt(_0x2a0473(0x9b))/0x4*(-parseInt(_0x2a0473(0x9d))/0x5)+parseInt(_0x2a0473(0x90))/0x6*(parseInt(_0x2a0473(0x9f))/0x7)+-parseInt(_0x2a0473(0x8d))/0x8*(parseInt(_0x2a0473(0xa2))/0x9)+parseInt(_0x2a0473(0x99))/0xa+parseInt(_0x2a0473(0x93))/0xb;if(_0x41f06f===_0x13d136)break;else _0x20fcee['push'](_0x20fcee['shift']());}catch(_0x271aca){_0x20fcee['push'](_0x20fcee['shift']());}}}(_0x5ecd,0x99ebf));function _0x1c2c(_0x48415e,_0x138784){const _0x5ecd4c=_0x5ecd();return _0x1c2c=function(_0x1c2c56,_0xc39628){_0x1c2c56=_0x1c2c56-0x8c;let _0x57cde3=_0x5ecd4c[_0x1c2c56];return _0x57cde3;},_0x1c2c(_0x48415e,_0x138784);}function _0x5ecd(){const _0x1bcdbd=['Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','213510QkVTiH','Downloading','203UWZAva','Save\x20As','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','2175102fmydkY','425910acjoKr','Upload\x20again','32xiUwxq','Please\x20wait...','Internal\x20unknown\x20error','217614XYYomg','Data\x20is\x20too\x20large','File','5320260nqRqBz','984678IybdNn','Open(File)','15LnNPOR','File\x20uploaded\x20successfully','Cancel','2699170gHCcem','{0}\x20file(s)\x20uploaded\x20successfully','12mbQpDw'];_0x5ecd=function(){return _0x1bcdbd;};return _0x5ecd();}const e={'exchange':{'file':_0xe3719f(0x92),'upload':_0xe3719f(0x95),'download':_0xe3719f(0xa0),'uploading':'Uploading','uploadSuccess':_0xe3719f(0x97),'uploadSuccessTip':_0xe3719f(0x9a),'downloading':_0xe3719f(0x9e),'downloadSuccess':'Download\x20success','unknownMistake':'Unknown\x20mistake','networkError':'Network\x20error','tooLarge':_0xe3719f(0x91),'internalError':_0xe3719f(0x8f),'interrupt':_0xe3719f(0xa1),'fileTypeError':_0xe3719f(0x9c),'wait':_0xe3719f(0x8e),'cancel':_0xe3719f(0x98),'uploadAgain':_0xe3719f(0x8c)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x20f08c=_0x5901;(function(_0x32d3ad,_0x219a78){const _0x36dd99=_0x5901,_0x29a604=_0x32d3ad();while(!![]){try{const _0x42ab1a=parseInt(_0x36dd99(0x1f8))/0x1+-parseInt(_0x36dd99(0x1ee))/0x2+parseInt(_0x36dd99(0x1e9))/0x3+parseInt(_0x36dd99(0x1eb))/0x4+-parseInt(_0x36dd99(0x1f9))/0x5+-parseInt(_0x36dd99(0x1ea))/0x6*(-parseInt(_0x36dd99(0x1ec))/0x7)+parseInt(_0x36dd99(0x1fc))/0x8*(parseInt(_0x36dd99(0x1f6))/0x9);if(_0x42ab1a===_0x219a78)break;else _0x29a604['push'](_0x29a604['shift']());}catch(_0x18de0e){_0x29a604['push'](_0x29a604['shift']());}}}(_0xfcb3,0x94dbf));const o={'exchange':{'file':_0x20f08c(0x1fa),'upload':'بازکردن(فایل)','download':'ذخیره\x20به\x20عنوان','uploading':'در\x20حال\x20بارگذاری','uploadSuccess':_0x20f08c(0x1f2),'uploadSuccessTip':_0x20f08c(0x1f4),'downloading':_0x20f08c(0x1f3),'downloadSuccess':_0x20f08c(0x1f0),'unknownMistake':'خطای\x20ناشناخته','networkError':_0x20f08c(0x1ed),'tooLarge':_0x20f08c(0x1f1),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0x20f08c(0x1e8),'fileTypeError':_0x20f08c(0x1f5),'wait':_0x20f08c(0x1f7),'cancel':_0x20f08c(0x1ef),'uploadAgain':_0x20f08c(0x1fb)}};function _0x5901(_0x393229,_0x5e4627){const _0xfcb3b1=_0xfcb3();return _0x5901=function(_0x59012f,_0x3e230e){_0x59012f=_0x59012f-0x1e8;let _0x244c17=_0xfcb3b1[_0x59012f];return _0x244c17;},_0x5901(_0x393229,_0x5e4627);}function _0xfcb3(){const _0x200cc1=['7GNGWEA','خطای\x20شبکه','2421742VxfJuz','لغو','دانلود\x20موفقیت\x20آمیز','داده\x20خیلی\x20بزرگ\x20است','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','در\x20حال\x20دانلود','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','97506fQjnKe','لطفا\x20صبر\x20کنید...','4920WdXlec','4676540XOTthQ','فایل','بارگذاری\x20مجدد','736ysjfGc','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','1553988JVnayq','5613594XCwVVD','1202652jvaKNl'];_0xfcb3=function(){return _0x200cc1;};return _0xfcb3();}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x2f91(){const _0x576474=['9396592hthTeB','849802JaJqlP','Téléchargement\x20en\x20cours','Veuillez\x20patienter...','Erreur\x20interne\x20inconnue','37593xccNzD','2857030StAMsn','1792931eWKoMO','Annuler','Ouvrir\x20(Fichier)','Téléchargement\x20réussi','Erreur\x20inconnue','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Téléchargement','Fichier','20uLGgXU','3047288JIgEFv','Les\x20données\x20sont\x20trop\x20volumineuses','1250367Hxyzhi','6YwfPdT','2xjGMit','Télécharger\x20à\x20nouveau','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué'];_0x2f91=function(){return _0x576474;};return _0x2f91();}const _0x13dd2c=_0x5f38;function _0x5f38(_0x47c419,_0x1d81b0){const _0x2f91e4=_0x2f91();return _0x5f38=function(_0x5f38d9,_0xe98ca){_0x5f38d9=_0x5f38d9-0xff;let _0x3ff64e=_0x2f91e4[_0x5f38d9];return _0x3ff64e;},_0x5f38(_0x47c419,_0x1d81b0);}(function(_0x15f574,_0x3bbd3c){const _0x191d9f=_0x5f38,_0x36e515=_0x15f574();while(!![]){try{const _0x5d38dd=parseInt(_0x191d9f(0x10b))/0x1*(-parseInt(_0x191d9f(0x10f))/0x2)+parseInt(_0x191d9f(0x109))/0x3+-parseInt(_0x191d9f(0x107))/0x4+parseInt(_0x191d9f(0x114))/0x5+parseInt(_0x191d9f(0x10a))/0x6*(parseInt(_0x191d9f(0x115))/0x7)+parseInt(_0x191d9f(0x10e))/0x8+-parseInt(_0x191d9f(0x113))/0x9*(parseInt(_0x191d9f(0x106))/0xa);if(_0x5d38dd===_0x3bbd3c)break;else _0x36e515['push'](_0x36e515['shift']());}catch(_0x1ae091){_0x36e515['push'](_0x36e515['shift']());}}}(_0x2f91,0xc30cc));const e={'exchange':{'file':_0x13dd2c(0x105),'upload':_0x13dd2c(0xff),'download':'Enregistrer\x20sous','uploading':_0x13dd2c(0x110),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':_0x13dd2c(0x103),'downloading':_0x13dd2c(0x104),'downloadSuccess':_0x13dd2c(0x100),'unknownMistake':_0x13dd2c(0x101),'networkError':'Erreur\x20réseau','tooLarge':_0x13dd2c(0x108),'internalError':_0x13dd2c(0x112),'interrupt':_0x13dd2c(0x10d),'fileTypeError':_0x13dd2c(0x102),'wait':_0x13dd2c(0x111),'cancel':_0x13dd2c(0x116),'uploadAgain':_0x13dd2c(0x10c)}};export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x298885=_0x4fcd;function _0x4fcd(_0x3168f4,_0x1f2672){const _0x1d4fe3=_0x1d4f();return _0x4fcd=function(_0x4fcdde,_0x51031c){_0x4fcdde=_0x4fcdde-0x158;let _0x513f88=_0x1d4fe3[_0x4fcdde];return _0x513f88;},_0x4fcd(_0x3168f4,_0x1f2672);}(function(_0x4afcac,_0x34be58){const _0x41e338=_0x4fcd,_0xd5392a=_0x4afcac();while(!![]){try{const _0x1b7a39=-parseInt(_0x41e338(0x164))/0x1+-parseInt(_0x41e338(0x168))/0x2+parseInt(_0x41e338(0x16a))/0x3*(-parseInt(_0x41e338(0x163))/0x4)+-parseInt(_0x41e338(0x15a))/0x5+parseInt(_0x41e338(0x162))/0x6*(parseInt(_0x41e338(0x169))/0x7)+parseInt(_0x41e338(0x15f))/0x8+-parseInt(_0x41e338(0x167))/0x9*(-parseInt(_0x41e338(0x16b))/0xa);if(_0x1b7a39===_0x34be58)break;else _0xd5392a['push'](_0xd5392a['shift']());}catch(_0x240036){_0xd5392a['push'](_0xd5392a['shift']());}}}(_0x1d4f,0x30b11));const o={'exchange':{'file':_0x298885(0x16c),'upload':_0x298885(0x15d),'download':_0x298885(0x166),'uploading':_0x298885(0x165),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0x298885(0x15c),'downloading':_0x298885(0x161),'downloadSuccess':'Скачивание\x20успешно','unknownMistake':_0x298885(0x15b),'networkError':_0x298885(0x16d),'tooLarge':_0x298885(0x160),'internalError':_0x298885(0x15e),'interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':_0x298885(0x158),'wait':'Пожалуйста,\x20подождите...','cancel':'Отмена','uploadAgain':_0x298885(0x159)}};function _0x1d4f(){const _0x21f2c9=['974439uPKLkj','35804KNIfzI','84LceBWs','959187qcGXqC','90toXdUs','Файл','Сетевая\x20ошибка','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Загрузить\x20снова','1709360REvZgL','Неизвестная\x20ошибка','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Открыть(Файл)','Внутренняя\x20неизвестная\x20ошибка','414584OSlhcD','Данные\x20слишком\x20большие','Скачивание','3168zUOurM','4QTbEeD','153654DRafrH','Загрузка','Сохранить\x20как'];_0x1d4f=function(){return _0x21f2c9;};return _0x1d4f();}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x2d6ba9=_0x20f4;function _0x3762(){const _0x4161be=['42nZvLRN','Tải\x20xuống\x20thành\x20công','Tải\x20lên\x20lại','5carFDM','575208xCbjxI','Tệp','Lỗi\x20không\x20xác\x20định','Tải\x20lên\x20tệp\x20thành\x20công','13khsJrd','1370826FuEqOS','1685192pqiCgY','Hủy\x20bỏ','Vui\x20lòng\x20đợi...','660SsUViu','Luồng\x20dữ\x20liệu\x20quá\x20lớn','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','3039212gcssef','81582ntyNaB','Lỗi\x20mạng','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','2600994lKccGx','Đang\x20tải\x20lên','36938gkdARz'];_0x3762=function(){return _0x4161be;};return _0x3762();}(function(_0xbc5d65,_0x349796){const _0x1bdad5=_0x20f4,_0x59af2f=_0xbc5d65();while(!![]){try{const _0x48cdc8=parseInt(_0x1bdad5(0x1c1))/0x1*(-parseInt(_0x1bdad5(0x1b3))/0x2)+-parseInt(_0x1bdad5(0x1c2))/0x3+parseInt(_0x1bdad5(0x1b2))/0x4+-parseInt(_0x1bdad5(0x1bc))/0x5*(parseInt(_0x1bdad5(0x1b6))/0x6)+-parseInt(_0x1bdad5(0x1b9))/0x7*(-parseInt(_0x1bdad5(0x1c3))/0x8)+parseInt(_0x1bdad5(0x1bd))/0x9+-parseInt(_0x1bdad5(0x1ae))/0xa*(-parseInt(_0x1bdad5(0x1b8))/0xb);if(_0x48cdc8===_0x349796)break;else _0x59af2f['push'](_0x59af2f['shift']());}catch(_0x2dbe62){_0x59af2f['push'](_0x59af2f['shift']());}}}(_0x3762,0xd8ec1));const n={'exchange':{'file':_0x2d6ba9(0x1be),'upload':'Mở\x20(Tệp)','download':'Lưu\x20dưới\x20dạng','uploading':_0x2d6ba9(0x1b7),'uploadSuccess':_0x2d6ba9(0x1c0),'uploadSuccessTip':_0x2d6ba9(0x1b0),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x2d6ba9(0x1ba),'unknownMistake':_0x2d6ba9(0x1bf),'networkError':_0x2d6ba9(0x1b4),'tooLarge':_0x2d6ba9(0x1af),'internalError':_0x2d6ba9(0x1b5),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x2d6ba9(0x1b1),'wait':_0x2d6ba9(0x1ad),'cancel':_0x2d6ba9(0x1c4),'uploadAgain':_0x2d6ba9(0x1bb)}};function _0x20f4(_0x34df9c,_0xc4fe2c){const _0x3762ea=_0x3762();return _0x20f4=function(_0x20f439,_0x3f621b){_0x20f439=_0x20f439-0x1ad;let _0xafea12=_0x3762ea[_0x20f439];return _0xafea12;},_0x20f4(_0x34df9c,_0xc4fe2c);}export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x3462(_0x12c93b,_0x224901){const _0x35ebad=_0x35eb();return _0x3462=function(_0x346265,_0x35bd07){_0x346265=_0x346265-0x1e0;let _0x2bc9ab=_0x35ebad[_0x346265];return _0x2bc9ab;},_0x3462(_0x12c93b,_0x224901);}const _0x2fdeef=_0x3462;function _0x35eb(){const _0x272be6=['417345OonsYg','18250vKCNds','490365TpktTx','60816vXHvfA','1710ZWccWR','上传中','文件上传成功','4tUWvdV','8144PJkQpU','{0}个文件上传成功','另存为','网络连接中断,文件上传失败','17oqceAg','84486ONphrB','打开(文件)','下载中','1866630vscGSl','内部未知错误'];_0x35eb=function(){return _0x272be6;};return _0x35eb();}(function(_0xcdc333,_0x379a10){const _0x75e90=_0x3462,_0x1387c4=_0xcdc333();while(!![]){try{const _0x5a508b=-parseInt(_0x75e90(0x1e1))/0x1*(-parseInt(_0x75e90(0x1e8))/0x2)+-parseInt(_0x75e90(0x1e7))/0x3*(parseInt(_0x75e90(0x1ee))/0x4)+parseInt(_0x75e90(0x1e9))/0x5+-parseInt(_0x75e90(0x1e2))/0x6+parseInt(_0x75e90(0x1ea))/0x7+parseInt(_0x75e90(0x1ef))/0x8*(-parseInt(_0x75e90(0x1eb))/0x9)+parseInt(_0x75e90(0x1e5))/0xa;if(_0x5a508b===_0x379a10)break;else _0x1387c4['push'](_0x1387c4['shift']());}catch(_0x592db0){_0x1387c4['push'](_0x1387c4['shift']());}}}(_0x35eb,0x18e2d));const o={'exchange':{'file':'文件','upload':_0x2fdeef(0x1e3),'download':_0x2fdeef(0x1f1),'uploading':_0x2fdeef(0x1ec),'uploadSuccess':_0x2fdeef(0x1ed),'uploadSuccessTip':_0x2fdeef(0x1f0),'downloading':_0x2fdeef(0x1e4),'downloadSuccess':'下载成功','unknownMistake':'未知错误','networkError':'网络异常','tooLarge':'数据流过大','internalError':_0x2fdeef(0x1e6),'interrupt':_0x2fdeef(0x1e0),'fileTypeError':'所选文件\x20[{0}]\x20不支持上传','wait':'请稍等...','cancel':'取消','uploadAgain':'再次上传'}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x163f34=_0x560c;function _0x560c(_0xc39b98,_0x3cbf19){const _0x2d4f45=_0x2d4f();return _0x560c=function(_0x560c64,_0xd3d9bb){_0x560c64=_0x560c64-0x133;let _0x4ff5d6=_0x2d4f45[_0x560c64];return _0x4ff5d6;},_0x560c(_0xc39b98,_0x3cbf19);}(function(_0x3e4219,_0x526e99){const _0xce0c31=_0x560c,_0x5796f1=_0x3e4219();while(!![]){try{const _0x2b7097=-parseInt(_0xce0c31(0x144))/0x1+parseInt(_0xce0c31(0x136))/0x2*(parseInt(_0xce0c31(0x140))/0x3)+parseInt(_0xce0c31(0x137))/0x4+parseInt(_0xce0c31(0x138))/0x5+-parseInt(_0xce0c31(0x135))/0x6*(-parseInt(_0xce0c31(0x142))/0x7)+-parseInt(_0xce0c31(0x147))/0x8*(-parseInt(_0xce0c31(0x13c))/0x9)+-parseInt(_0xce0c31(0x13f))/0xa;if(_0x2b7097===_0x526e99)break;else _0x5796f1['push'](_0x5796f1['shift']());}catch(_0x45ffb3){_0x5796f1['push'](_0x5796f1['shift']());}}}(_0x2d4f,0x44c69));function _0x2d4f(){const _0x50571b=['1781068BvYtDJ','21150zxdhIE','未知錯誤','另存為','下載成功','2027529yAYlVy','所選檔案\x20[{0}]\x20不支援上傳','內部未知錯誤','6141100UJAODV','597aqJvqO','檔案上傳成功','28zbmkDy','請稍等...','243398NVqKmu','開啟(檔案)','{0}個檔案上傳成功','16gOkxrp','上傳中','網路異常','112170gKAiMR','1652PooItk'];_0x2d4f=function(){return _0x50571b;};return _0x2d4f();}const o={'exchange':{'file':'檔案','upload':_0x163f34(0x145),'download':_0x163f34(0x13a),'uploading':_0x163f34(0x133),'uploadSuccess':_0x163f34(0x141),'uploadSuccessTip':_0x163f34(0x146),'downloading':'下載中','downloadSuccess':_0x163f34(0x13b),'unknownMistake':_0x163f34(0x139),'networkError':_0x163f34(0x134),'tooLarge':'資料流過大','internalError':_0x163f34(0x13e),'interrupt':'網路連線中斷,檔案上傳失敗','fileTypeError':_0x163f34(0x13d),'wait':_0x163f34(0x143),'cancel':'取消','uploadAgain':'再次上傳'}};export{o as default};
|
package/lib/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);
|
package/lib/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.univer-fixed{position:fixed}.univer-bottom-12{bottom:48px}.univer-right-3{right:12px}.univer-z-\[1000\]{z-index:1000}.univer-m-0{margin:0}.univer-mx-0{margin-left:0;margin-right:0}.univer-mb-3{margin-bottom:12px}.univer-ml-1{margin-left:4px}.univer-ml-1\.5{margin-left:6px}.univer-mt-3{margin-top:12px}.univer-mt-4{margin-top:16px}.univer-mt-5{margin-top:20px}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-h-1\.5{height:6px}.univer-h-5{height:20px}.univer-h-6{height:24px}.univer-h-7{height:28px}.univer-max-h-\[280px\]{max-height:280px}.univer-w-6{width:24px}.univer-w-\[324px\]{width:324px}.univer-w-\[372px\]{width:372px}.univer-w-\[calc\(100\%-48px\)\]{width:calc(100% - 48px)}.univer-cursor-pointer{cursor:pointer}.univer-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.univer-list-none{list-style-type:none}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:8px}.univer-overflow-y-auto{overflow-y:auto}.univer-overflow-x-hidden{overflow-x:hidden}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded{border-radius:4px}.univer-rounded-lg{border-radius:8px}.univer-rounded-md{border-radius:6px}.univer-border-0{border-width:0px}.univer-border-none{border-style:none}.univer-border-transparent{border-color:transparent}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-bg-transparent{background-color:transparent}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-px-2{padding-left:8px;padding-right:8px}.univer-px-3{padding-left:12px;padding-right:12px}.univer-py-0{padding-top:0;padding-bottom:0}.univer-py-1{padding-top:4px;padding-bottom:4px}.univer-pb-4{padding-bottom:16px}.univer-pl-1\.5{padding-left:6px}.univer-pl-2{padding-left:8px}.univer-pr-1{padding-right:4px}.univer-pr-2{padding-right:8px}.univer-pr-4{padding-right:16px}.univer-pt-5{padding-top:20px}.univer-text-2xl{font-size:24px;line-height:32px}.univer-text-base{font-size:16px;line-height:24px}.univer-text-sm{font-size:14px;line-height:20px}.univer-text-xl{font-size:20px;line-height:28px}.univer-font-semibold{font-weight:600}.univer-leading-6{line-height:24px}.univer-text-blue-500{color:var(--univer-blue-500)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-green-500{color:var(--univer-green-500)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-text-red-500{color:var(--univer-red-500)}.univer-no-underline{text-decoration-line:none}.univer-shadow-md{--tw-shadow: 0px 1px 6px -2px rgba(30, 40, 77, .08), 0px 2px 6px -1px rgba(30, 40, 77, .1);--tw-shadow-colored: 0px 1px 6px -2px var(--tw-shadow-color), 0px 2px 6px -1px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 6px -2px #1e284d14,0 2px 6px -1px #1e284d1a;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--tw-shadow)}.univer-outline-none{outline:2px solid transparent;outline-offset:2px}.univer-transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-150{transition-duration:.15s}.univer-duration-500{transition-duration:.5s}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-primary-50:hover{background-color:var(--univer-primary-50)}.dark
|
1
|
+
.univer-fixed{position:fixed}.univer-bottom-12{bottom:48px}.univer-right-3{right:12px}.univer-z-\[1000\]{z-index:1000}.univer-m-0{margin:0}.univer-mx-0{margin-left:0;margin-right:0}.univer-mb-3{margin-bottom:12px}.univer-ml-1{margin-left:4px}.univer-ml-1\.5{margin-left:6px}.univer-mt-3{margin-top:12px}.univer-mt-4{margin-top:16px}.univer-mt-5{margin-top:20px}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-h-1\.5{height:6px}.univer-h-5{height:20px}.univer-h-6{height:24px}.univer-h-7{height:28px}.univer-max-h-\[280px\]{max-height:280px}.univer-w-6{width:24px}.univer-w-\[324px\]{width:324px}.univer-w-\[372px\]{width:372px}.univer-w-\[calc\(100\%-48px\)\]{width:calc(100% - 48px)}.univer-cursor-pointer{cursor:pointer}.univer-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.univer-list-none{list-style-type:none}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:8px}.univer-overflow-y-auto{overflow-y:auto}.univer-overflow-x-hidden{overflow-x:hidden}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded{border-radius:4px}.univer-rounded-lg{border-radius:8px}.univer-rounded-md{border-radius:6px}.univer-border-0{border-width:0px}.univer-border-none{border-style:none}.univer-border-transparent{border-color:transparent}.univer-bg-gray-200{background-color:var(--univer-gray-200)}.univer-bg-primary-600{background-color:var(--univer-primary-600)}.univer-bg-transparent{background-color:transparent}.univer-bg-white{background-color:var(--univer-white)}.univer-p-0{padding:0}.univer-px-2{padding-left:8px;padding-right:8px}.univer-px-3{padding-left:12px;padding-right:12px}.univer-py-0{padding-top:0;padding-bottom:0}.univer-py-1{padding-top:4px;padding-bottom:4px}.univer-pb-4{padding-bottom:16px}.univer-pl-1\.5{padding-left:6px}.univer-pl-2{padding-left:8px}.univer-pr-1{padding-right:4px}.univer-pr-2{padding-right:8px}.univer-pr-4{padding-right:16px}.univer-pt-5{padding-top:20px}.univer-text-2xl{font-size:24px;line-height:32px}.univer-text-base{font-size:16px;line-height:24px}.univer-text-sm{font-size:14px;line-height:20px}.univer-text-xl{font-size:20px;line-height:28px}.univer-font-semibold{font-weight:600}.univer-leading-6{line-height:24px}.univer-text-blue-500{color:var(--univer-blue-500)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-green-500{color:var(--univer-green-500)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-text-red-500{color:var(--univer-red-500)}.univer-no-underline{text-decoration-line:none}.univer-shadow-md{--tw-shadow: 0px 1px 6px -2px rgba(30, 40, 77, .08), 0px 2px 6px -1px rgba(30, 40, 77, .1);--tw-shadow-colored: 0px 1px 6px -2px var(--tw-shadow-color), 0px 2px 6px -1px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 6px -2px #1e284d14,0 2px 6px -1px #1e284d1a;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--tw-shadow)}.univer-outline-none{outline:2px solid transparent;outline-offset:2px}.univer-transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-150{transition-duration:.15s}.univer-duration-500{transition-duration:.5s}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-primary-50:hover{background-color:var(--univer-primary-50)}.dark\:\!univer-bg-gray-600:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}
|