@univerjs-pro/exchange-client 0.6.0-nightly.202502101606 → 0.6.0-nightly.202502121606
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 +7 -7
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x5a1a(){const _0x245160=['39164XRHmnb','2799BkcNiy','Cancel','Save\x20As','2652400IHLlRR','Download\x20success','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','86kVRXUM','21080WSHLrg','Network\x20error','Uploading','566251kHFtJI','6609sbUyds','Upload\x20again','Unknown\x20mistake','145720reJiwo','Internal\x20unknown\x20error','1425822iZRtOD','File\x20uploaded\x20successfully','Please\x20wait...','Downloading','30BaPVpo','Open(File)'];_0x5a1a=function(){return _0x245160;};return _0x5a1a();}const _0x333892=_0x2312;(function(_0x45b5cd,_0x50c2c1){const _0x219b74=_0x2312,_0xc16384=_0x45b5cd();while(!![]){try{const _0x3b75dc=-parseInt(_0x219b74(0x1da))/0x1+parseInt(_0x219b74(0x1d2))/0x2*(parseInt(_0x219b74(0x1d7))/0x3)+parseInt(_0x219b74(0x1cb))/0x4*(parseInt(_0x219b74(0x1c9))/0x5)+-parseInt(_0x219b74(0x1dc))/0x6+parseInt(_0x219b74(0x1d6))/0x7+-parseInt(_0x219b74(0x1cf))/0x8+-parseInt(_0x219b74(0x1cc))/0x9*(-parseInt(_0x219b74(0x1d3))/0xa);if(_0x3b75dc===_0x50c2c1)break;else _0xc16384['push'](_0xc16384['shift']());}catch(_0x18c9b8){_0xc16384['push'](_0xc16384['shift']());}}}(_0x5a1a,0x2abc9));const e={'exchange':{'file':'File','upload':_0x333892(0x1ca),'download':_0x333892(0x1ce),'uploading':_0x333892(0x1d5),'uploadSuccess':_0x333892(0x1dd),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x333892(0x1c8),'downloadSuccess':_0x333892(0x1d0),'unknownMistake':_0x333892(0x1d9),'networkError':_0x333892(0x1d4),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x333892(0x1db),'interrupt':_0x333892(0x1d1),'wait':_0x333892(0x1c7),'cancel':_0x333892(0x1cd),'uploadAgain':_0x333892(0x1d8)}};function _0x2312(_0xafa8a8,_0x2b4cfc){const _0x5a1a5a=_0x5a1a();return _0x2312=function(_0x231286,_0x3e4106){_0x231286=_0x231286-0x1c7;let _0x4e2eae=_0x5a1a5a[_0x231286];return _0x4e2eae;},_0x2312(_0xafa8a8,_0x2b4cfc);}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x47c4(){const _0x47da3c=['5855080FsFpLE','داده\x20خیلی\x20بزرگ\x20است','2008920VpVSsQ','خطای\x20ناشناخته','ذخیره\x20به\x20عنوان','7530YslvBi','220WNUSXL','6795PBVPlM','720534nwUyFV','دانلود\x20موفقیت\x20آمیز','2655338hyjkRo','در\x20حال\x20بارگذاری','20mKLFGs','در\x20حال\x20دانلود','لطفا\x20صبر\x20کنید...','3664lvdsfs','بازکردن(فایل)','3393BXKYHO','فایل','لغو'];_0x47c4=function(){return _0x47da3c;};return _0x47c4();}const _0x51e813=_0xc515;(function(_0x3131d5,_0x2fcdae){const _0x2cd53f=_0xc515,_0x22d771=_0x3131d5();while(!![]){try{const _0x1520ba=-parseInt(_0x2cd53f(0xc8))/0x1*(parseInt(_0x2cd53f(0xd5))/0x2)+-parseInt(_0x2cd53f(0xcd))/0x3*(-parseInt(_0x2cd53f(0xc2))/0x4)+-parseInt(_0x2cd53f(0xd2))/0x5+parseInt(_0x2cd53f(0xc4))/0x6+parseInt(_0x2cd53f(0xc6))/0x7+parseInt(_0x2cd53f(0xcb))/0x8*(-parseInt(_0x2cd53f(0xc3))/0x9)+parseInt(_0x2cd53f(0xd0))/0xa;if(_0x1520ba===_0x2fcdae)break;else _0x22d771['push'](_0x22d771['shift']());}catch(_0x22ba98){_0x22d771['push'](_0x22d771['shift']());}}}(_0x47c4,0x4f2a6));const o={'exchange':{'file':_0x51e813(0xce),'upload':_0x51e813(0xcc),'download':_0x51e813(0xd4),'uploading':_0x51e813(0xc7),'uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x51e813(0xc9),'downloadSuccess':_0x51e813(0xc5),'unknownMistake':_0x51e813(0xd3),'networkError':'خطای\x20شبکه','tooLarge':_0x51e813(0xd1),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','wait':_0x51e813(0xca),'cancel':_0x51e813(0xcf),'uploadAgain':'بارگذاری\x20مجدد'}};function _0xc515(_0x280094,_0x425254){const _0x47c474=_0x47c4();return _0xc515=function(_0xc5154c,_0x15b8f6){_0xc5154c=_0xc5154c-0xc2;let _0x46ac48=_0x47c474[_0xc5154c];return _0x46ac48;},_0xc515(_0x280094,_0x425254);}export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x24bc17=_0x37a1;(function(_0x80fa66,_0x3878a2){const _0x4da01a=_0x37a1,_0x5f4f3c=_0x80fa66();while(!![]){try{const _0x4a6fe4=parseInt(_0x4da01a(0xa7))/0x1*(-parseInt(_0x4da01a(0x99))/0x2)+parseInt(_0x4da01a(0x9b))/0x3+-parseInt(_0x4da01a(0x9f))/0x4+parseInt(_0x4da01a(0x93))/0x5*(-parseInt(_0x4da01a(0xa6))/0x6)+-parseInt(_0x4da01a(0x9c))/0x7+-parseInt(_0x4da01a(0xa9))/0x8+parseInt(_0x4da01a(0x96))/0x9*(parseInt(_0x4da01a(0x98))/0xa);if(_0x4a6fe4===_0x3878a2)break;else _0x5f4f3c['push'](_0x5f4f3c['shift']());}catch(_0x273f25){_0x5f4f3c['push'](_0x5f4f3c['shift']());}}}(_0x4ced,0xbfe78));function _0x37a1(_0x2eee45,_0x192d07){const _0x4ced29=_0x4ced();return _0x37a1=function(_0x37a113,_0x3a7900){_0x37a113=_0x37a113-0x93;let _0x12974f=_0x4ced29[_0x37a113];return _0x12974f;},_0x37a1(_0x2eee45,_0x192d07);}const e={'exchange':{'file':_0x24bc17(0xa2),'upload':_0x24bc17(0x9e),'download':_0x24bc17(0xa0),'uploading':'Uploading','uploadSuccess':_0x24bc17(0xa5),'uploadSuccessTip':_0x24bc17(0xaa),'downloading':_0x24bc17(0xa3),'downloadSuccess':_0x24bc17(0x9a),'unknownMistake':_0x24bc17(0x94),'networkError':_0x24bc17(0x97),'tooLarge':_0x24bc17(0xa4),'internalError':_0x24bc17(0xa8),'interrupt':_0x24bc17(0x95),'wait':'Please\x20wait...','cancel':_0x24bc17(0x9d),'uploadAgain':_0x24bc17(0xa1)}},o=e;export{o as default};function _0x4ced(){const _0x1be1a9=['Open(File)','3939120oyAiyv','Save\x20As','Upload\x20again','File','Downloading','Data\x20is\x20too\x20large','File\x20uploaded\x20successfully','5070BbDDCv','189298vmLdmz','Internal\x20unknown\x20error','3402936EWCenA','{0}\x20file(s)\x20uploaded\x20successfully','2705cUczch','Unknown\x20mistake','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','4563zhHkSC','Network\x20error','38230kjzABH','2XXPYYY','Download\x20success','4678452FEIUfh','4585805rKdmGt','Cancel'];_0x4ced=function(){return _0x1be1a9;};return _0x4ced();}
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x17fdcb=_0x559f;(function(_0x4d33b5,_0x26e0ab){const _0x298e4b=_0x559f,_0x592c14=_0x4d33b5();while(!![]){try{const _0x5e84ce=-parseInt(_0x298e4b(0x1cf))/0x1+parseInt(_0x298e4b(0x1c8))/0x2+-parseInt(_0x298e4b(0x1cb))/0x3+-parseInt(_0x298e4b(0x1ca))/0x4+-parseInt(_0x298e4b(0x1d4))/0x5*(-parseInt(_0x298e4b(0x1c7))/0x6)+-parseInt(_0x298e4b(0x1be))/0x7*(-parseInt(_0x298e4b(0x1cd))/0x8)+-parseInt(_0x298e4b(0x1d2))/0x9*(-parseInt(_0x298e4b(0x1c0))/0xa);if(_0x5e84ce===_0x26e0ab)break;else _0x592c14['push'](_0x592c14['shift']());}catch(_0x51e13c){_0x592c14['push'](_0x592c14['shift']());}}}(_0x12d7,0x5c5fa));const o={'exchange':{'file':_0x17fdcb(0x1ce),'upload':_0x17fdcb(0x1c1),'download':_0x17fdcb(0x1c5),'uploading':_0x17fdcb(0x1d3),'uploadSuccess':_0x17fdcb(0x1c2),'uploadSuccessTip':_0x17fdcb(0x1bf),'downloading':'Скачивание','downloadSuccess':_0x17fdcb(0x1d5),'unknownMistake':_0x17fdcb(0x1c9),'networkError':_0x17fdcb(0x1d1),'tooLarge':_0x17fdcb(0x1c4),'internalError':_0x17fdcb(0x1bd),'interrupt':_0x17fdcb(0x1d0),'wait':_0x17fdcb(0x1c3),'cancel':_0x17fdcb(0x1c6),'uploadAgain':_0x17fdcb(0x1cc)}};export{o as default};function _0x559f(_0x4cfda7,_0x35a1fb){const _0x12d70f=_0x12d7();return _0x559f=function(_0x559f21,_0x28d4f0){_0x559f21=_0x559f21-0x1bd;let _0x946f2d=_0x12d70f[_0x559f21];return _0x946f2d;},_0x559f(_0x4cfda7,_0x35a1fb);}function _0x12d7(){const _0x346bbd=['9QWhKgR','Загрузка','6385fDMTaa','Скачивание\x20успешно','Внутренняя\x20неизвестная\x20ошибка','1563331zRsFlu','{0}\x20файл(ов)\x20успешно\x20загружен(о)','6315370yHKsii','Открыть(Файл)','Файл\x20успешно\x20загружен','Пожалуйста,\x20подождите...','Данные\x20слишком\x20большие','Сохранить\x20как','Отмена','3282mxhSiZ','443140ZgkNNv','Неизвестная\x20ошибка','222600HCOGJv','2099496AXKZGG','Загрузить\x20снова','8faUgwQ','Файл','641115uRGMZf','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','Сетевая\x20ошибка'];_0x12d7=function(){return _0x346bbd;};return _0x12d7();}
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x5b6276=_0x5c85;function _0x5c85(_0x3b6ee1,_0x42ffac){const _0x149393=_0x1493();return _0x5c85=function(_0x5c8513,_0xe36f11){_0x5c8513=_0x5c8513-0x189;let _0x2cff91=_0x149393[_0x5c8513];return _0x2cff91;},_0x5c85(_0x3b6ee1,_0x42ffac);}function _0x1493(){const _0x37f90b=['3984IrgmRA','1182DzubMk','69372EceEmi','Lỗi\x20mạng','18271kxGrWU','7lOOBua','Mở\x20(Tệp)','537NWWqDS','Tải\x20xuống\x20thành\x20công','Đang\x20tải\x20xuống','Tải\x20lên\x20lại','7607706fkDGgd','Luồng\x20dữ\x20liệu\x20quá\x20lớn','20GlCJuM','Vui\x20lòng\x20đợi...','450486ITbUSr','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.','5cQDYEh','2656857MQozSF','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Lưu\x20dưới\x20dạng','Tải\x20lên\x20tệp\x20thành\x20công','Đang\x20tải\x20lên','Tệp','8879384HQrxmm'];_0x1493=function(){return _0x37f90b;};return _0x1493();}(function(_0xac96e3,_0x52419c){const _0x47edfe=_0x5c85,_0x100e55=_0xac96e3();while(!![]){try{const _0x59323b=parseInt(_0x47edfe(0x19a))/0x1*(parseInt(_0x47edfe(0x194))/0x2)+parseInt(_0x47edfe(0x18c))/0x3+parseInt(_0x47edfe(0x195))/0x4+-parseInt(_0x47edfe(0x18b))/0x5*(-parseInt(_0x47edfe(0x19e))/0x6)+-parseInt(_0x47edfe(0x198))/0x7*(parseInt(_0x47edfe(0x192))/0x8)+parseInt(_0x47edfe(0x1a2))/0x9*(parseInt(_0x47edfe(0x1a0))/0xa)+-parseInt(_0x47edfe(0x197))/0xb*(parseInt(_0x47edfe(0x193))/0xc);if(_0x59323b===_0x52419c)break;else _0x100e55['push'](_0x100e55['shift']());}catch(_0x262ed7){_0x100e55['push'](_0x100e55['shift']());}}}(_0x1493,0xe2525));const n={'exchange':{'file':_0x5b6276(0x191),'upload':_0x5b6276(0x199),'download':_0x5b6276(0x18e),'uploading':_0x5b6276(0x190),'uploadSuccess':_0x5b6276(0x18f),'uploadSuccessTip':_0x5b6276(0x18d),'downloading':_0x5b6276(0x19c),'downloadSuccess':_0x5b6276(0x19b),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':_0x5b6276(0x196),'tooLarge':_0x5b6276(0x19f),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x5b6276(0x18a),'wait':_0x5b6276(0x1a1),'cancel':_0x5b6276(0x189),'uploadAgain':_0x5b6276(0x19d)}};export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x5554(){const _0x506e5b=['打开(文件)','数据流过大','50XazkfO','下载成功','12KvCwbY','5538420hVGGbT','9sKleMQ','79347wzWqWl','66834aiVaID','另存为','未知错误','再次上传','下载中','11wFqnCX','1091493Hszgjg','网络连接中断,文件上传失败。','请稍等...','{0}个文件上传成功','113414TqzXXc','136IaEbkX','1740440mdxgVt','68212NjFVrR','内部未知错误','文件上传成功'];_0x5554=function(){return _0x506e5b;};return _0x5554();}function _0x4391(_0x2cbe2,_0x31039f){const _0x55540e=_0x5554();return _0x4391=function(_0x43915d,_0x3b7cdf){_0x43915d=_0x43915d-0xc2;let _0x34f336=_0x55540e[_0x43915d];return _0x34f336;},_0x4391(_0x2cbe2,_0x31039f);}const _0x3d21c1=_0x4391;(function(_0x187154,_0x5befb0){const _0x4157c6=_0x4391,_0x14db8c=_0x187154();while(!![]){try{const _0x49a6e7=parseInt(_0x4157c6(0xc3))/0x1*(-parseInt(_0x4157c6(0xd8))/0x2)+-parseInt(_0x4157c6(0xca))/0x3+-parseInt(_0x4157c6(0xd1))/0x4*(-parseInt(_0x4157c6(0xd6))/0x5)+parseInt(_0x4157c6(0xc4))/0x6+parseInt(_0x4157c6(0xce))/0x7*(parseInt(_0x4157c6(0xcf))/0x8)+parseInt(_0x4157c6(0xc2))/0x9*(parseInt(_0x4157c6(0xd0))/0xa)+parseInt(_0x4157c6(0xc9))/0xb*(parseInt(_0x4157c6(0xd9))/0xc);if(_0x49a6e7===_0x5befb0)break;else _0x14db8c['push'](_0x14db8c['shift']());}catch(_0x4d87d9){_0x14db8c['push'](_0x14db8c['shift']());}}}(_0x5554,0x3db61));const o={'exchange':{'file':'文件','upload':_0x3d21c1(0xd4),'download':_0x3d21c1(0xc5),'uploading':'上传中','uploadSuccess':_0x3d21c1(0xd3),'uploadSuccessTip':_0x3d21c1(0xcd),'downloading':_0x3d21c1(0xc8),'downloadSuccess':_0x3d21c1(0xd7),'unknownMistake':_0x3d21c1(0xc6),'networkError':'网络异常','tooLarge':_0x3d21c1(0xd5),'internalError':_0x3d21c1(0xd2),'interrupt':_0x3d21c1(0xcb),'wait':_0x3d21c1(0xcc),'cancel':'取消','uploadAgain':_0x3d21c1(0xc7)}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x3ee0d2=_0x1648;function _0x1648(_0x474dd1,_0x3d4cba){const _0x342009=_0x3420();return _0x1648=function(_0x1648ea,_0x1e4bc0){_0x1648ea=_0x1648ea-0xfa;let _0xbca124=_0x342009[_0x1648ea];return _0xbca124;},_0x1648(_0x474dd1,_0x3d4cba);}(function(_0x27cd79,_0x246426){const _0x30198e=_0x1648,_0x27031a=_0x27cd79();while(!![]){try{const _0x31e478=-parseInt(_0x30198e(0xfe))/0x1*(-parseInt(_0x30198e(0xfb))/0x2)+-parseInt(_0x30198e(0x104))/0x3+parseInt(_0x30198e(0x10e))/0x4*(parseInt(_0x30198e(0x100))/0x5)+-parseInt(_0x30198e(0xfd))/0x6*(parseInt(_0x30198e(0x110))/0x7)+parseInt(_0x30198e(0x102))/0x8*(parseInt(_0x30198e(0x10a))/0x9)+-parseInt(_0x30198e(0xfc))/0xa+parseInt(_0x30198e(0x106))/0xb*(parseInt(_0x30198e(0x10d))/0xc);if(_0x31e478===_0x246426)break;else _0x27031a['push'](_0x27031a['shift']());}catch(_0x57e363){_0x27031a['push'](_0x27031a['shift']());}}}(_0x3420,0xacfb4));function _0x3420(){const _0x3cbd02=['請稍等...','7049292tWmSyH','988UxfQvf','未知錯誤','11935ChsjZL','檔案上傳成功','下載成功','992rWtexs','13855160XgovNE','2988oxeCrU','1483kLmZeH','再次上傳','6085MUblyB','{0}個檔案上傳成功','10864pMpEAP','內部未知錯誤','3358950WOnHZN','網路連線中斷,檔案上傳失敗。\x20','33siwubU','下載中','資料流過大','開啟(檔案)','8379LKAUUw','網路異常'];_0x3420=function(){return _0x3cbd02;};return _0x3420();}const o={'exchange':{'file':'檔案','upload':_0x3ee0d2(0x109),'download':'另存為','uploading':'上傳中','uploadSuccess':_0x3ee0d2(0x111),'uploadSuccessTip':_0x3ee0d2(0x101),'downloading':_0x3ee0d2(0x107),'downloadSuccess':_0x3ee0d2(0xfa),'unknownMistake':_0x3ee0d2(0x10f),'networkError':_0x3ee0d2(0x10b),'tooLarge':_0x3ee0d2(0x108),'internalError':_0x3ee0d2(0x103),'interrupt':_0x3ee0d2(0x105),'wait':_0x3ee0d2(0x10c),'cancel':'取消','uploadAgain':_0x3ee0d2(0xff)}};export{o as default};
|
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 _0x1a31(_0x23f9a2,_0x416cd0){const _0x203b8c=_0x203b();return _0x1a31=function(_0x1a314c,_0xfc60eb){_0x1a314c=_0x1a314c-0x157;let _0x1d368b=_0x203b8c[_0x1a314c];return _0x1d368b;},_0x1a31(_0x23f9a2,_0x416cd0);}function _0x203b(){const _0x1ac1d9=['3999674srVumo','16326BYrXrM','@univerjs-pro/exchange-client','IExchangeService','4880EgEmgR','UNIVER_DOC','@univerjs/core','importDOCXToSnapshot','extend','importDOCXToUnitId','4nYxmtR','exportXLSXByUnitId','91646KXeAud','FUniver','UNIVER_UNKNOWN','UNIVER_SHEET','importDOCXToUnitIdAsync','UNRECOGNIZED','11TWEmCT','importFileToUnitId','importDOCXToSnapshotAsync','get','2328765JoIevn','6lgvHKa','importXLSXToUnitIdAsync','191148BOaIgL','object','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','2653443Bkljyh','55jeBfLq','3393970nfPMhd','_injector','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','UNIVER_SLIDE','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','UNIVER_PROJECT'];_0x203b=function(){return _0x1ac1d9;};return _0x203b();}(function(_0x272386,_0x19686d){const _0x45979d=_0x1a31,_0x43a83f=_0x272386();while(!![]){try{const _0x99609a=-parseInt(_0x45979d(0x16f))/0x1*(-parseInt(_0x45979d(0x169))/0x2)+-parseInt(_0x45979d(0x17a))/0x3+parseInt(_0x45979d(0x167))/0x4*(-parseInt(_0x45979d(0x173))/0x5)+parseInt(_0x45979d(0x174))/0x6*(parseInt(_0x45979d(0x15d))/0x7)+-parseInt(_0x45979d(0x161))/0x8*(-parseInt(_0x45979d(0x15e))/0x9)+-parseInt(_0x45979d(0x17c))/0xa+-parseInt(_0x45979d(0x17b))/0xb*(-parseInt(_0x45979d(0x176))/0xc);if(_0x99609a===_0x19686d)break;else _0x43a83f['push'](_0x43a83f['shift']());}catch(_0x18bf5d){_0x43a83f['push'](_0x43a83f['shift']());}}}(_0x203b,0x8ba55),function(_0xff6ce5,_0x5b3a84){const _0x249e73=_0x1a31;typeof exports==_0x249e73(0x177)&&typeof module<'u'?_0x5b3a84(require(_0x249e73(0x15f)),require(_0x249e73(0x163))):typeof define=='function'&&define['amd']?define([_0x249e73(0x15f),_0x249e73(0x163)],_0x5b3a84):(_0xff6ce5=typeof globalThis<'u'?globalThis:_0xff6ce5||self,_0x5b3a84(_0xff6ce5['UniverProExchangeClient'],_0xff6ce5['UniverCore']));}(this,function(_0x7d870c,_0x8c1c82){'use strict';const _0x2e227b=_0x1a31;var _0x12726c=(_0x4cffb4=>(_0x4cffb4[_0x4cffb4['UNIVER_UNKNOWN']=0x0]=_0x2e227b(0x16b),_0x4cffb4[_0x4cffb4[_0x2e227b(0x162)]=0x1]='UNIVER_DOC',_0x4cffb4[_0x4cffb4[_0x2e227b(0x16c)]=0x2]=_0x2e227b(0x16c),_0x4cffb4[_0x4cffb4[_0x2e227b(0x159)]=0x3]='UNIVER_SLIDE',_0x4cffb4[_0x4cffb4[_0x2e227b(0x15c)]=0x4]=_0x2e227b(0x15c),_0x4cffb4[_0x4cffb4[_0x2e227b(0x16e)]=-0x1]='UNRECOGNIZED',_0x4cffb4))(_0x12726c||{});class _0x9f89b6 extends _0x8c1c82[_0x2e227b(0x16a)]{async['importXLSXToUnitId'](_0x5cb0c9){const _0x1dd512=_0x2e227b;return this[_0x1dd512(0x175)](_0x5cb0c9);}async['importXLSXToUnitIdAsync'](_0x3505ef){const _0x45f653=_0x2e227b,_0x549391=this['_injector']['get'](_0x7d870c['IExchangeService']);if(!_0x549391)throw new Error(_0x45f653(0x179));return _0x549391['importFileToUnitId'](_0x3505ef,_0x12726c[_0x45f653(0x16c)]);}async[_0x2e227b(0x178)](_0x22cea1){const _0x261f34=_0x2e227b;return this[_0x261f34(0x15b)](_0x22cea1);}async[_0x2e227b(0x15b)](_0x1cde5f){const _0x108916=_0x2e227b,_0xbf13b8=this['_injector'][_0x108916(0x172)](_0x7d870c[_0x108916(0x160)]);if(!_0xbf13b8)throw new Error(_0x108916(0x179));return _0xbf13b8['importXLSXToSnapshot'](_0x1cde5f);}async[_0x2e227b(0x168)](_0xb77041){const _0x13e424=_0x2e227b;return this[_0x13e424(0x15a)](_0xb77041);}async['exportXLSXByUnitIdAsync'](_0x333c28){const _0x338b40=_0x2e227b,_0x35ba53=this['_injector'][_0x338b40(0x172)](_0x7d870c[_0x338b40(0x160)]);if(!_0x35ba53)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x35ba53['exportXLSXByUnitId'](_0x333c28);}async[_0x2e227b(0x158)](_0x35d100){const _0x104808=_0x2e227b;return this[_0x104808(0x157)](_0x35d100);}async[_0x2e227b(0x157)](_0x77c39b){const _0x403a9a=_0x2e227b,_0x31812e=this[_0x403a9a(0x17d)]['get'](_0x7d870c[_0x403a9a(0x160)]);if(!_0x31812e)throw new Error(_0x403a9a(0x179));return _0x31812e[_0x403a9a(0x158)](_0x77c39b);}async[_0x2e227b(0x166)](_0xd5abe3){return this['importDOCXToUnitIdAsync'](_0xd5abe3);}async[_0x2e227b(0x16d)](_0x395448){const _0x2b28bb=_0x2e227b,_0x32b8d6=this['_injector']['get'](_0x7d870c[_0x2b28bb(0x160)]);if(!_0x32b8d6)throw new Error(_0x2b28bb(0x179));return _0x32b8d6[_0x2b28bb(0x170)](_0x395448,_0x12726c['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x30b0e5){const _0x57e582=_0x2e227b;return this[_0x57e582(0x171)](_0x30b0e5);}async[_0x2e227b(0x171)](_0x479c11){const _0x380105=_0x2e227b,_0x34e8db=this['_injector'][_0x380105(0x172)](_0x7d870c['IExchangeService']);if(!_0x34e8db)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x34e8db[_0x380105(0x164)](_0x479c11);}}_0x8c1c82[_0x2e227b(0x16a)][_0x2e227b(0x165)](_0x9f89b6);}));
|