@univerjs-pro/exchange-client 0.5.5 → 0.6.0-alpha.0
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/types/facade/f-univer.d.ts +7 -0
- package/lib/types/views/UploadNotificationContainer.d.ts +1 -2
- package/lib/types/views/link-list/LinkList.d.ts +1 -2
- package/lib/types/views/upload-again/UploadAgain.d.ts +1 -2
- package/lib/types/views/upload-button/UploadButton.d.ts +1 -1
- package/lib/types/views/upload-error/UploadError.d.ts +1 -2
- package/lib/types/views/upload-notification/UploadNotification.d.ts +1 -2
- package/lib/types/views/upload-success/UploadSuccess.d.ts +1 -2
- package/lib/types/views/uploading/Uploading.d.ts +1 -2
- package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +1 -2
- package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +1 -2
- 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/types/services/__tests__/snapshot.spec.d.ts +0 -1
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x833c7d=_0x4261;(function(_0x47e5c5,_0x3102a4){const _0x218214=_0x4261,_0xdc0f6a=_0x47e5c5();while(!![]){try{const _0x3e347e=-parseInt(_0x218214(0x1e4))/0x1+-parseInt(_0x218214(0x1ed))/0x2+parseInt(_0x218214(0x1e8))/0x3+-parseInt(_0x218214(0x1eb))/0x4+parseInt(_0x218214(0x1db))/0x5*(-parseInt(_0x218214(0x1e6))/0x6)+parseInt(_0x218214(0x1dc))/0x7*(parseInt(_0x218214(0x1e2))/0x8)+parseInt(_0x218214(0x1de))/0x9*(parseInt(_0x218214(0x1ea))/0xa);if(_0x3e347e===_0x3102a4)break;else _0xdc0f6a['push'](_0xdc0f6a['shift']());}catch(_0x19990e){_0xdc0f6a['push'](_0xdc0f6a['shift']());}}}(_0x35f6,0xe372b));function _0x4261(_0x1b4f8c,_0x4a47e6){const _0x35f6d5=_0x35f6();return _0x4261=function(_0x4261b5,_0x3758a6){_0x4261b5=_0x4261b5-0x1db;let _0x4bed69=_0x35f6d5[_0x4261b5];return _0x4bed69;},_0x4261(_0x1b4f8c,_0x4a47e6);}const e={'exchange':{'file':_0x833c7d(0x1e7),'upload':'Open(File)','download':_0x833c7d(0x1ec),'uploading':_0x833c7d(0x1e0),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':'Downloading','downloadSuccess':_0x833c7d(0x1dd),'unknownMistake':_0x833c7d(0x1df),'networkError':'Network\x20error','tooLarge':_0x833c7d(0x1ee),'internalError':'Internal\x20unknown\x20error','interrupt':_0x833c7d(0x1e5),'wait':_0x833c7d(0x1e3),'cancel':_0x833c7d(0x1e1),'uploadAgain':_0x833c7d(0x1e9)}};export{e as default};function _0x35f6(){const _0x325cb2=['File','4953870QYYiFj','Upload\x20again','2296370RstDUj','507100dJQRPb','Save\x20As','2011282bqTdMV','Data\x20is\x20too\x20large','255sJzNoE','9175838VKXnzT','Download\x20success','36KaqlnB','Unknown\x20mistake','Uploading','Cancel','8NygzhX','Please\x20wait...','1081056soEBdi','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','86538qECPwC'];_0x35f6=function(){return _0x325cb2;};return _0x35f6();}
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x262b(){const _0x268168=['خطای\x20داخلی\x20ناشناخته','320906txkfYY','خطای\x20ناشناخته','در\x20حال\x20دانلود','ذخیره\x20به\x20عنوان','19472ivHkeq','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','لغو','732xZkKWQ','بازکردن(فایل)','فایل','داده\x20خیلی\x20بزرگ\x20است','143oqcSsH','442060JGJUDe','1IFFtWD','در\x20حال\x20بارگذاری','13139124AExVAr','2154481LFsfVK','11745uVrGLE','دانلود\x20موفقیت\x20آمیز','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','3rUTlKP','بارگذاری\x20مجدد','1125rWEYNw','77570ZBZujM'];_0x262b=function(){return _0x268168;};return _0x262b();}function _0x2917(_0x429ae1,_0x126002){const _0x262b89=_0x262b();return _0x2917=function(_0x2917bd,_0x3cd7ba){_0x2917bd=_0x2917bd-0xd6;let _0x2cca0d=_0x262b89[_0x2917bd];return _0x2cca0d;},_0x2917(_0x429ae1,_0x126002);}const _0x246cad=_0x2917;(function(_0x14e1ff,_0x8c7726){const _0x36b82e=_0x2917,_0x4fd714=_0x14e1ff();while(!![]){try{const _0x1bb51f=parseInt(_0x36b82e(0xe4))/0x1*(parseInt(_0x36b82e(0xd7))/0x2)+-parseInt(_0x36b82e(0xeb))/0x3*(-parseInt(_0x36b82e(0xe3))/0x4)+parseInt(_0x36b82e(0xe8))/0x5*(parseInt(_0x36b82e(0xde))/0x6)+parseInt(_0x36b82e(0xe7))/0x7+parseInt(_0x36b82e(0xdb))/0x8*(parseInt(_0x36b82e(0xed))/0x9)+parseInt(_0x36b82e(0xee))/0xa*(parseInt(_0x36b82e(0xe2))/0xb)+-parseInt(_0x36b82e(0xe6))/0xc;if(_0x1bb51f===_0x8c7726)break;else _0x4fd714['push'](_0x4fd714['shift']());}catch(_0x18e3a9){_0x4fd714['push'](_0x4fd714['shift']());}}}(_0x262b,0x2ad85));const o={'exchange':{'file':_0x246cad(0xe0),'upload':_0x246cad(0xdf),'download':_0x246cad(0xda),'uploading':_0x246cad(0xe5),'uploadSuccess':_0x246cad(0xdc),'uploadSuccessTip':_0x246cad(0xea),'downloading':_0x246cad(0xd9),'downloadSuccess':_0x246cad(0xe9),'unknownMistake':_0x246cad(0xd8),'networkError':'خطای\x20شبکه','tooLarge':_0x246cad(0xe1),'internalError':_0x246cad(0xd6),'interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','wait':'لطفا\x20صبر\x20کنید...','cancel':_0x246cad(0xdd),'uploadAgain':_0x246cad(0xec)}};export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x353c(){const _0x329092=['1680jpCGRf','1971326YEQZnG','5Clgvtq','670xeaNbo','File','18931LJaAzP','7390688HCMBOS','18rGDsVj','5dmQMDI','Unknown\x20mistake','Save\x20As','Downloading','Uploading','172066BOKihj','73035KIwXpx','Upload\x20again','Internal\x20unknown\x20error','1503052OompeT','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','{0}\x20file(s)\x20uploaded\x20successfully','Download\x20success','232743bOETWw','File\x20uploaded\x20successfully'];_0x353c=function(){return _0x329092;};return _0x353c();}const _0x276650=_0x1d2d;(function(_0x4dbd94,_0x21bfbb){const _0x493d15=_0x1d2d,_0x4d5e13=_0x4dbd94();while(!![]){try{const _0x575490=-parseInt(_0x493d15(0xda))/0x1*(parseInt(_0x493d15(0xce))/0x2)+-parseInt(_0x493d15(0xd6))/0x3+-parseInt(_0x493d15(0xd2))/0x4*(-parseInt(_0x493d15(0xc9))/0x5)+-parseInt(_0x493d15(0xc8))/0x6*(-parseInt(_0x493d15(0xd9))/0x7)+-parseInt(_0x493d15(0xc7))/0x8+parseInt(_0x493d15(0xcf))/0x9*(parseInt(_0x493d15(0xdb))/0xa)+parseInt(_0x493d15(0xdd))/0xb*(parseInt(_0x493d15(0xd8))/0xc);if(_0x575490===_0x21bfbb)break;else _0x4d5e13['push'](_0x4d5e13['shift']());}catch(_0x35d02c){_0x4d5e13['push'](_0x4d5e13['shift']());}}}(_0x353c,0x8c0f0));function _0x1d2d(_0x2060d2,_0x2573bc){const _0x353cd9=_0x353c();return _0x1d2d=function(_0x1d2d3b,_0x532d1e){_0x1d2d3b=_0x1d2d3b-0xc7;let _0x14aa7d=_0x353cd9[_0x1d2d3b];return _0x14aa7d;},_0x1d2d(_0x2060d2,_0x2573bc);}const e={'exchange':{'file':_0x276650(0xdc),'upload':'Open(File)','download':_0x276650(0xcb),'uploading':_0x276650(0xcd),'uploadSuccess':_0x276650(0xd7),'uploadSuccessTip':_0x276650(0xd4),'downloading':_0x276650(0xcc),'downloadSuccess':_0x276650(0xd5),'unknownMistake':_0x276650(0xca),'networkError':'Network\x20error','tooLarge':'Data\x20is\x20too\x20large','internalError':_0x276650(0xd1),'interrupt':_0x276650(0xd3),'wait':'Please\x20wait...','cancel':'Cancel','uploadAgain':_0x276650(0xd0)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0xcda90d=_0x4c29;(function(_0x168745,_0x191344){const _0x5f1384=_0x4c29,_0x366869=_0x168745();while(!![]){try{const _0x5bebfe=-parseInt(_0x5f1384(0xb0))/0x1+parseInt(_0x5f1384(0xac))/0x2+parseInt(_0x5f1384(0xa9))/0x3+-parseInt(_0x5f1384(0xb2))/0x4*(parseInt(_0x5f1384(0x9e))/0x5)+-parseInt(_0x5f1384(0xa3))/0x6*(parseInt(_0x5f1384(0xa2))/0x7)+parseInt(_0x5f1384(0xa6))/0x8+-parseInt(_0x5f1384(0xaa))/0x9;if(_0x5bebfe===_0x191344)break;else _0x366869['push'](_0x366869['shift']());}catch(_0x32e005){_0x366869['push'](_0x366869['shift']());}}}(_0x2413,0xba61e));const o={'exchange':{'file':_0xcda90d(0xaf),'upload':_0xcda90d(0xa8),'download':_0xcda90d(0xa5),'uploading':'Загрузка','uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0xcda90d(0xb1),'downloading':_0xcda90d(0xa7),'downloadSuccess':'Скачивание\x20успешно','unknownMistake':_0xcda90d(0x9f),'networkError':_0xcda90d(0xab),'tooLarge':_0xcda90d(0xad),'internalError':_0xcda90d(0xae),'interrupt':_0xcda90d(0x9d),'wait':_0xcda90d(0xa0),'cancel':_0xcda90d(0xa4),'uploadAgain':_0xcda90d(0xa1)}};function _0x4c29(_0x5d0d7f,_0x29748e){const _0x2413d6=_0x2413();return _0x4c29=function(_0x4c29be,_0x2902ee){_0x4c29be=_0x4c29be-0x9d;let _0x2b0ce2=_0x2413d6[_0x4c29be];return _0x2b0ce2;},_0x4c29(_0x5d0d7f,_0x29748e);}function _0x2413(){const _0x43a204=['Пожалуйста,\x20подождите...','Загрузить\x20снова','6398qcBXib','8298cBjCOo','Отмена','Сохранить\x20как','12007016zxQNnL','Скачивание','Открыть(Файл)','3382167hARdQO','7360002TWCjve','Сетевая\x20ошибка','2565600PHznXm','Данные\x20слишком\x20большие','Внутренняя\x20неизвестная\x20ошибка','Файл','996280gwzIGn','{0}\x20файл(ов)\x20успешно\x20загружен(о)','69524tXuVpz','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','20lzyJEe','Неизвестная\x20ошибка'];_0x2413=function(){return _0x43a204;};return _0x2413();}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x47c3(){const _0x1f5b49=['Tải\x20lên\x20tệp\x20thành\x20công','819960wDXvut','Vui\x20lòng\x20đợi...','Lưu\x20dưới\x20dạng','Hủy\x20bỏ','530XYoViT','Lỗi\x20mạng','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','150227MLSgPl','175042pbunFH','Mở\x20(Tệp)','5022160RrCmlA','Đang\x20tải\x20lên','1742550GQFxTe','Tải\x20lên\x20lại','Lỗi\x20không\x20xác\x20định','126JIFkji','Tải\x20xuống\x20thành\x20công','Tệp','Đang\x20tải\x20xuống','5051079Yjvnye','23880tUSkjB'];_0x47c3=function(){return _0x1f5b49;};return _0x47c3();}const _0x4c5482=_0x1051;(function(_0x26c78d,_0x225cd0){const _0x472161=_0x1051,_0x183a89=_0x26c78d();while(!![]){try{const _0x1d5152=parseInt(_0x472161(0x1d1))/0x1+parseInt(_0x472161(0x1d6))/0x2+-parseInt(_0x472161(0x1e0))/0x3+-parseInt(_0x472161(0x1de))/0x4*(-parseInt(_0x472161(0x1ce))/0x5)+-parseInt(_0x472161(0x1d9))/0x6*(parseInt(_0x472161(0x1d2))/0x7)+-parseInt(_0x472161(0x1d4))/0x8+parseInt(_0x472161(0x1dd))/0x9;if(_0x1d5152===_0x225cd0)break;else _0x183a89['push'](_0x183a89['shift']());}catch(_0x1a3a3d){_0x183a89['push'](_0x183a89['shift']());}}}(_0x47c3,0xc0b59));const n={'exchange':{'file':_0x4c5482(0x1db),'upload':_0x4c5482(0x1d3),'download':_0x4c5482(0x1cc),'uploading':_0x4c5482(0x1d5),'uploadSuccess':_0x4c5482(0x1df),'uploadSuccessTip':'{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','downloading':_0x4c5482(0x1dc),'downloadSuccess':_0x4c5482(0x1da),'unknownMistake':_0x4c5482(0x1d8),'networkError':_0x4c5482(0x1cf),'tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0x4c5482(0x1d0),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','wait':_0x4c5482(0x1cb),'cancel':_0x4c5482(0x1cd),'uploadAgain':_0x4c5482(0x1d7)}};function _0x1051(_0x44970e,_0x7809a4){const _0x47c3da=_0x47c3();return _0x1051=function(_0x1051b3,_0x37dc8f){_0x1051b3=_0x1051b3-0x1cb;let _0x44b041=_0x47c3da[_0x1051b3];return _0x44b041;},_0x1051(_0x44970e,_0x7809a4);}export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x36dfbd=_0x549b;function _0x549b(_0x2d5e39,_0x5f4622){const _0xc7670a=_0xc767();return _0x549b=function(_0x549bdb,_0x3c0a7c){_0x549bdb=_0x549bdb-0x1c8;let _0x1d8d68=_0xc7670a[_0x549bdb];return _0x1d8d68;},_0x549b(_0x2d5e39,_0x5f4622);}(function(_0x33ca54,_0x19a2d4){const _0x12aa75=_0x549b,_0x500388=_0x33ca54();while(!![]){try{const _0x3e043f=parseInt(_0x12aa75(0x1d3))/0x1*(-parseInt(_0x12aa75(0x1d7))/0x2)+parseInt(_0x12aa75(0x1d9))/0x3*(parseInt(_0x12aa75(0x1c8))/0x4)+-parseInt(_0x12aa75(0x1d2))/0x5*(-parseInt(_0x12aa75(0x1cb))/0x6)+parseInt(_0x12aa75(0x1d4))/0x7+-parseInt(_0x12aa75(0x1cd))/0x8+-parseInt(_0x12aa75(0x1dc))/0x9+parseInt(_0x12aa75(0x1d1))/0xa*(parseInt(_0x12aa75(0x1d5))/0xb);if(_0x3e043f===_0x19a2d4)break;else _0x500388['push'](_0x500388['shift']());}catch(_0x2ce2c7){_0x500388['push'](_0x500388['shift']());}}}(_0xc767,0x32d04));const o={'exchange':{'file':'文件','upload':_0x36dfbd(0x1dd),'download':_0x36dfbd(0x1c9),'uploading':_0x36dfbd(0x1da),'uploadSuccess':_0x36dfbd(0x1db),'uploadSuccessTip':_0x36dfbd(0x1d0),'downloading':_0x36dfbd(0x1ce),'downloadSuccess':'下载成功','unknownMistake':_0x36dfbd(0x1d6),'networkError':_0x36dfbd(0x1d8),'tooLarge':_0x36dfbd(0x1cc),'internalError':'内部未知错误','interrupt':'网络连接中断,文件上传失败。','wait':_0x36dfbd(0x1ca),'cancel':'取消','uploadAgain':_0x36dfbd(0x1cf)}};export{o as default};function _0xc767(){const _0x4e69a6=['数据流过大','2687912qWswUC','下载中','再次上传','{0}个文件上传成功','10erBEPC','303305RnBRWO','27811CygNMB','334033rErBtf','5503663MEJcDa','未知错误','8VEyiPG','网络异常','3YbiZlx','上传中','文件上传成功','1666350JyBEyY','打开(文件)','199276ucLjkM','另存为','请稍等...','24aujLEO'];_0xc767=function(){return _0x4e69a6;};return _0xc767();}
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x1b5bb8=_0x2261;(function(_0x4cded6,_0x52937f){const _0x1f3437=_0x2261,_0x45cbaa=_0x4cded6();while(!![]){try{const _0x2a6be3=parseInt(_0x1f3437(0xcb))/0x1*(-parseInt(_0x1f3437(0xbd))/0x2)+-parseInt(_0x1f3437(0xc9))/0x3*(-parseInt(_0x1f3437(0xc8))/0x4)+-parseInt(_0x1f3437(0xbf))/0x5*(parseInt(_0x1f3437(0xbb))/0x6)+parseInt(_0x1f3437(0xc6))/0x7*(-parseInt(_0x1f3437(0xc7))/0x8)+parseInt(_0x1f3437(0xbc))/0x9+parseInt(_0x1f3437(0xc1))/0xa*(parseInt(_0x1f3437(0xc2))/0xb)+parseInt(_0x1f3437(0xb9))/0xc;if(_0x2a6be3===_0x52937f)break;else _0x45cbaa['push'](_0x45cbaa['shift']());}catch(_0x228d35){_0x45cbaa['push'](_0x45cbaa['shift']());}}}(_0x8e16,0x411bb));function _0x2261(_0x1f4c4f,_0x32ac28){const _0x8e161e=_0x8e16();return _0x2261=function(_0x226151,_0x38095d){_0x226151=_0x226151-0xb8;let _0x32401f=_0x8e161e[_0x226151];return _0x32401f;},_0x2261(_0x1f4c4f,_0x32ac28);}function _0x8e16(){const _0x5ec342=['檔案上傳成功','網路連線中斷,檔案上傳失敗。\x20','請稍等...','9694032EKtQKh','上傳中','456810GcdlCZ','849924KpDQUn','58XXlPRb','開啟(檔案)','25AvytKz','再次上傳','45230GVpHwa','462FcnuCb','網路異常','資料流過大','另存為','19215FUPiLu','1304CfBcjj','386284UjNOAo','9bDKDpn','未知錯誤','9902RYimSW','{0}個檔案上傳成功','下載中'];_0x8e16=function(){return _0x5ec342;};return _0x8e16();}const o={'exchange':{'file':'檔案','upload':_0x1b5bb8(0xbe),'download':_0x1b5bb8(0xc5),'uploading':_0x1b5bb8(0xba),'uploadSuccess':_0x1b5bb8(0xce),'uploadSuccessTip':_0x1b5bb8(0xcc),'downloading':_0x1b5bb8(0xcd),'downloadSuccess':'下載成功','unknownMistake':_0x1b5bb8(0xca),'networkError':_0x1b5bb8(0xc3),'tooLarge':_0x1b5bb8(0xc4),'internalError':'內部未知錯誤','interrupt':_0x1b5bb8(0xcf),'wait':_0x1b5bb8(0xb8),'cancel':'取消','uploadAgain':_0x1b5bb8(0xc0)}};export{o as default};
|
@@ -1,4 +1,7 @@
|
|
1
1
|
import { IDocumentData, IWorkbookData, FUniver } from '@univerjs/core';
|
2
|
+
/**
|
3
|
+
* @ignore
|
4
|
+
*/
|
2
5
|
export interface IFUniverExchangeClientMixin {
|
3
6
|
/**
|
4
7
|
* Import XLSX file to unit id
|
@@ -138,18 +141,22 @@ export declare class FUniverExchangeClientMixin extends FUniver implements IFUni
|
|
138
141
|
importXLSXToSnapshotAsync(file: string | File): Promise<IWorkbookData | undefined>;
|
139
142
|
/**
|
140
143
|
* Export XLSX file by unit id
|
144
|
+
* @param unitId
|
141
145
|
*/
|
142
146
|
exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
|
143
147
|
/**
|
144
148
|
* Export XLSX file by unit id
|
149
|
+
* @param unitId
|
145
150
|
*/
|
146
151
|
exportXLSXByUnitIdAsync(unitId: string): Promise<File | undefined>;
|
147
152
|
/**
|
148
153
|
* Export XLSX file by workbook data
|
154
|
+
* @param snapshot
|
149
155
|
*/
|
150
156
|
exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
|
151
157
|
/**
|
152
158
|
* Export XLSX file by workbook data
|
159
|
+
* @param snapshot
|
153
160
|
*/
|
154
161
|
exportXLSXBySnapshotAsync(snapshot: IWorkbookData): Promise<File | undefined>;
|
155
162
|
/**
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare function UploadNotificationContainer(): React.JSX.Element;
|
1
|
+
export declare function UploadNotificationContainer(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
1
|
import { ILinkList } from '../../services/upload-notification.service';
|
3
2
|
export interface ILinkListProps {
|
4
3
|
list: ILinkList[];
|
5
4
|
}
|
6
|
-
export declare function LinkList(props: ILinkListProps):
|
5
|
+
export declare function LinkList(props: ILinkListProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare function UploadAgain(): React.JSX.Element;
|
1
|
+
export declare function UploadAgain(): import("react/jsx-runtime").JSX.Element;
|
@@ -4,4 +4,4 @@ export interface IUploadButton {
|
|
4
4
|
className?: string;
|
5
5
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
6
6
|
}
|
7
|
-
export declare function UploadButton(props: IUploadButton):
|
7
|
+
export declare function UploadButton(props: IUploadButton): import("react/jsx-runtime").JSX.Element;
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare function UploadError(): React.JSX.Element;
|
1
|
+
export declare function UploadError(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare function UploadNotification(): false | React.JSX.Element;
|
1
|
+
export declare function UploadNotification(): false | import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
1
|
export interface IUploadSuccessProps {
|
3
2
|
count: number;
|
4
3
|
}
|
5
|
-
export declare function UploadSuccess(props: IUploadSuccessProps):
|
4
|
+
export declare function UploadSuccess(props: IUploadSuccessProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare function Uploading(): React.JSX.Element;
|
1
|
+
export declare function Uploading(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare function UploadCancel(): React.JSX.Element;
|
1
|
+
export declare function UploadCancel(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
1
|
export interface IUploadProgressProps {
|
3
2
|
barColor: string;
|
4
3
|
}
|
5
|
-
export declare function UploadProgress(props: IUploadProgressProps):
|
4
|
+
export declare function UploadProgress(props: IUploadProgressProps): import("react/jsx-runtime").JSX.Element;
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x4dc5(_0x47a554,_0x23aa27){const _0x3a3cc6=_0x3a3c();return _0x4dc5=function(_0x4dc56f,_0x3f3ce8){_0x4dc56f=_0x4dc56f-0x145;let _0x4baff2=_0x3a3cc6[_0x4dc56f];return _0x4baff2;},_0x4dc5(_0x47a554,_0x23aa27);}function _0x3a3c(){const _0xec156f=['exportXLSXByUnitIdAsync','UniverProExchangeClient','UNIVER_SHEET','importDOCXToUnitIdAsync','UNIVER_SLIDE','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','importDOCXToUnitId','exportXLSXByUnitId','1703824eVLoQZ','object','get','amd','FUniver','UNIVER_UNKNOWN','7CSNruy','IExchangeService','2386219teEImP','347821ttQpwV','importFileToUnitId','978fMGdve','45DlYQXu','423ERyTgY','@univerjs/core','1187088xINzvF','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','UNRECOGNIZED','importXLSXToSnapshot','908360rlWJrI','UNIVER_PROJECT','20bNibiN','@univerjs-pro/exchange-client','3437315ZjkYPb','_injector','exportXLSXBySnapshot'];_0x3a3c=function(){return _0xec156f;};return _0x3a3c();}(function(_0x4eef21,_0x182640){const _0x1fb8c5=_0x4dc5,_0x427e0c=_0x4eef21();while(!![]){try{const _0x455117=parseInt(_0x1fb8c5(0x157))/0x1+-parseInt(_0x1fb8c5(0x159))/0x2*(-parseInt(_0x1fb8c5(0x15b))/0x3)+parseInt(_0x1fb8c5(0x14e))/0x4+-parseInt(_0x1fb8c5(0x167))/0x5+-parseInt(_0x1fb8c5(0x15d))/0x6*(-parseInt(_0x1fb8c5(0x154))/0x7)+-parseInt(_0x1fb8c5(0x163))/0x8*(-parseInt(_0x1fb8c5(0x15a))/0x9)+-parseInt(_0x1fb8c5(0x165))/0xa*(parseInt(_0x1fb8c5(0x156))/0xb);if(_0x455117===_0x182640)break;else _0x427e0c['push'](_0x427e0c['shift']());}catch(_0x36afda){_0x427e0c['push'](_0x427e0c['shift']());}}}(_0x3a3c,0x76e42),function(_0x3d3ce0,_0x2a068e){const _0x24eb7a=_0x4dc5;typeof exports==_0x24eb7a(0x14f)&&typeof module<'u'?_0x2a068e(require(_0x24eb7a(0x166)),require(_0x24eb7a(0x15c))):typeof define=='function'&&define[_0x24eb7a(0x151)]?define([_0x24eb7a(0x166),_0x24eb7a(0x15c)],_0x2a068e):(_0x3d3ce0=typeof globalThis<'u'?globalThis:_0x3d3ce0||self,_0x2a068e(_0x3d3ce0[_0x24eb7a(0x146)],_0x3d3ce0['UniverCore']));}(this,function(_0x522091,_0x4633d2){'use strict';const _0x4fe7c3=_0x4dc5;var _0x1567b0=(_0x1dba2e=>(_0x1dba2e[_0x1dba2e['UNIVER_UNKNOWN']=0x0]=_0x4fe7c3(0x153),_0x1dba2e[_0x1dba2e['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1dba2e[_0x1dba2e[_0x4fe7c3(0x147)]=0x2]=_0x4fe7c3(0x147),_0x1dba2e[_0x1dba2e[_0x4fe7c3(0x149)]=0x3]=_0x4fe7c3(0x149),_0x1dba2e[_0x1dba2e[_0x4fe7c3(0x164)]=0x4]=_0x4fe7c3(0x164),_0x1dba2e[_0x1dba2e[_0x4fe7c3(0x161)]=-0x1]=_0x4fe7c3(0x161),_0x1dba2e))(_0x1567b0||{});class _0x43697f extends _0x4633d2['FUniver']{async['importXLSXToUnitId'](_0x5ae7b7){const _0x92f53e=_0x4fe7c3;return this[_0x92f53e(0x15f)](_0x5ae7b7);}async['importXLSXToUnitIdAsync'](_0x5d09a5){const _0x49a382=_0x4fe7c3,_0x5cd6c8=this[_0x49a382(0x168)][_0x49a382(0x150)](_0x522091[_0x49a382(0x155)]);if(!_0x5cd6c8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5cd6c8[_0x49a382(0x158)](_0x5d09a5,_0x1567b0[_0x49a382(0x147)]);}async[_0x4fe7c3(0x162)](_0x3aae07){const _0x40f4bf=_0x4fe7c3;return this[_0x40f4bf(0x14a)](_0x3aae07);}async[_0x4fe7c3(0x14a)](_0x1e5313){const _0x10632c=_0x4fe7c3,_0x308ced=this[_0x10632c(0x168)][_0x10632c(0x150)](_0x522091[_0x10632c(0x155)]);if(!_0x308ced)throw new Error(_0x10632c(0x15e));return _0x308ced[_0x10632c(0x162)](_0x1e5313);}async[_0x4fe7c3(0x14d)](_0x1a095e){const _0x12bab1=_0x4fe7c3;return this[_0x12bab1(0x145)](_0x1a095e);}async[_0x4fe7c3(0x145)](_0x127a14){const _0x3c5cdc=_0x4fe7c3,_0x5f332e=this[_0x3c5cdc(0x168)][_0x3c5cdc(0x150)](_0x522091[_0x3c5cdc(0x155)]);if(!_0x5f332e)throw new Error(_0x3c5cdc(0x15e));return _0x5f332e[_0x3c5cdc(0x14d)](_0x127a14);}async[_0x4fe7c3(0x169)](_0x89ecb){const _0x18b1a1=_0x4fe7c3;return this[_0x18b1a1(0x160)](_0x89ecb);}async[_0x4fe7c3(0x160)](_0x5cb7eb){const _0xe4cf34=_0x4fe7c3,_0x479c44=this[_0xe4cf34(0x168)]['get'](_0x522091[_0xe4cf34(0x155)]);if(!_0x479c44)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x479c44['exportXLSXBySnapshot'](_0x5cb7eb);}async[_0x4fe7c3(0x14c)](_0x562964){const _0x4abe76=_0x4fe7c3;return this[_0x4abe76(0x148)](_0x562964);}async[_0x4fe7c3(0x148)](_0x568ebf){const _0x2b8992=_0x4fe7c3,_0x236391=this['_injector'][_0x2b8992(0x150)](_0x522091[_0x2b8992(0x155)]);if(!_0x236391)throw new Error(_0x2b8992(0x15e));return _0x236391['importFileToUnitId'](_0x568ebf,_0x1567b0['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x283a70){return this['importDOCXToSnapshotAsync'](_0x283a70);}async[_0x4fe7c3(0x14b)](_0x13c5f8){const _0xc580a3=_0x4fe7c3,_0x4edc8a=this[_0xc580a3(0x168)][_0xc580a3(0x150)](_0x522091[_0xc580a3(0x155)]);if(!_0x4edc8a)throw new Error(_0xc580a3(0x15e));return _0x4edc8a['importDOCXToSnapshot'](_0x13c5f8);}}_0x4633d2[_0x4fe7c3(0x152)]['extend'](_0x43697f);}));
|