@univerjs-pro/exchange-client 0.5.5 → 0.6.0-experimental.20250125-1d060b9
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 +10 -10
- package/lib/types/services/__tests__/snapshot.spec.d.ts +0 -1
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x42ced2=_0x3bc9;(function(_0x225c1c,_0x3e864b){const _0x3c230e=_0x3bc9,_0x366349=_0x225c1c();while(!![]){try{const _0x12e686=-parseInt(_0x3c230e(0xf9))/0x1+-parseInt(_0x3c230e(0xf8))/0x2*(parseInt(_0x3c230e(0xfc))/0x3)+parseInt(_0x3c230e(0xf0))/0x4+parseInt(_0x3c230e(0xe9))/0x5*(-parseInt(_0x3c230e(0xfb))/0x6)+parseInt(_0x3c230e(0xef))/0x7+parseInt(_0x3c230e(0xee))/0x8+-parseInt(_0x3c230e(0xfa))/0x9;if(_0x12e686===_0x3e864b)break;else _0x366349['push'](_0x366349['shift']());}catch(_0xc473c9){_0x366349['push'](_0x366349['shift']());}}}(_0x430a,0x3b661));function _0x3bc9(_0x16e5c1,_0x2bfed1){const _0x430acd=_0x430a();return _0x3bc9=function(_0x3bc954,_0x122727){_0x3bc954=_0x3bc954-0xe9;let _0x2f2833=_0x430acd[_0x3bc954];return _0x2f2833;},_0x3bc9(_0x16e5c1,_0x2bfed1);}const e={'exchange':{'file':_0x42ced2(0xed),'upload':'Open(File)','download':_0x42ced2(0xf4),'uploading':'Uploading','uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x42ced2(0xf5),'downloadSuccess':'Download\x20success','unknownMistake':_0x42ced2(0xf1),'networkError':_0x42ced2(0xf3),'tooLarge':_0x42ced2(0xf6),'internalError':_0x42ced2(0xf7),'interrupt':_0x42ced2(0xea),'wait':_0x42ced2(0xeb),'cancel':_0x42ced2(0xec),'uploadAgain':_0x42ced2(0xf2)}};export{e as default};function _0x430a(){const _0x2d0d52=['Downloading','Data\x20is\x20too\x20large','Internal\x20unknown\x20error','13306kqChyL','238663KuQiiw','2115450WLQghw','619158dBRvfJ','3SxvOLj','10eqmdZz','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','Please\x20wait...','Cancel','File','1511448tIksHM','3048024iPaDDA','1222744kutCEz','Unknown\x20mistake','Upload\x20again','Network\x20error','Save\x20As'];_0x430a=function(){return _0x2d0d52;};return _0x430a();}
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x4ecb0f=_0x4cd5;function _0x25b7(){const _0x19fbff=['16aoqbNk','لطفا\x20صبر\x20کنید...','9935vrLEbH','280273iOnppi','248443ZwoLVQ','بازکردن(فایل)','24Bhqsxi','خطای\x20داخلی\x20ناشناخته','ذخیره\x20به\x20عنوان','295732kopBJx','55CagVlv','داده\x20خیلی\x20بزرگ\x20است','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','دانلود\x20موفقیت\x20آمیز','277670SEubrn','در\x20حال\x20بارگذاری','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','354ITmOUV','204pPKujk','بارگذاری\x20مجدد','5049549OEneFO','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','1JXsEQP','1255322bApnMW','خطای\x20شبکه'];_0x25b7=function(){return _0x19fbff;};return _0x25b7();}(function(_0x13a7dc,_0x5c07bd){const _0x52e29f=_0x4cd5,_0xbcdb56=_0x13a7dc();while(!![]){try{const _0x4598f2=parseInt(_0x52e29f(0xf9))/0x1*(parseInt(_0x52e29f(0xfa))/0x2)+parseInt(_0x52e29f(0x102))/0x3*(parseInt(_0x52e29f(0x105))/0x4)+parseInt(_0x52e29f(0xfe))/0x5*(parseInt(_0x52e29f(0x10d))/0x6)+-parseInt(_0x52e29f(0xff))/0x7*(-parseInt(_0x52e29f(0xfc))/0x8)+-parseInt(_0x52e29f(0x110))/0x9+-parseInt(_0x52e29f(0x10a))/0xa*(parseInt(_0x52e29f(0x106))/0xb)+-parseInt(_0x52e29f(0x10e))/0xc*(parseInt(_0x52e29f(0x100))/0xd);if(_0x4598f2===_0x5c07bd)break;else _0xbcdb56['push'](_0xbcdb56['shift']());}catch(_0x100a2d){_0xbcdb56['push'](_0xbcdb56['shift']());}}}(_0x25b7,0x5f9e5));function _0x4cd5(_0x541178,_0x345640){const _0x25b7d7=_0x25b7();return _0x4cd5=function(_0x4cd508,_0x30c869){_0x4cd508=_0x4cd508-0xf8;let _0x1de8db=_0x25b7d7[_0x4cd508];return _0x1de8db;},_0x4cd5(_0x541178,_0x345640);}const o={'exchange':{'file':'فایل','upload':_0x4ecb0f(0x101),'download':_0x4ecb0f(0x104),'uploading':_0x4ecb0f(0x10b),'uploadSuccess':_0x4ecb0f(0x10c),'uploadSuccessTip':_0x4ecb0f(0x108),'downloading':'در\x20حال\x20دانلود','downloadSuccess':_0x4ecb0f(0x109),'unknownMistake':'خطای\x20ناشناخته','networkError':_0x4ecb0f(0xfb),'tooLarge':_0x4ecb0f(0x107),'internalError':_0x4ecb0f(0x103),'interrupt':_0x4ecb0f(0xf8),'wait':_0x4ecb0f(0xfd),'cancel':'لغو','uploadAgain':_0x4ecb0f(0x10f)}};export{o as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x298415=_0x4cd3;function _0x4cd3(_0x24fa6c,_0x47f3d7){const _0x1c5abf=_0x1c5a();return _0x4cd3=function(_0x4cd36c,_0x92d107){_0x4cd36c=_0x4cd36c-0xdd;let _0x4835e5=_0x1c5abf[_0x4cd36c];return _0x4835e5;},_0x4cd3(_0x24fa6c,_0x47f3d7);}function _0x1c5a(){const _0x1ac9f5=['Upload\x20again','Data\x20is\x20too\x20large','Unknown\x20mistake','Internal\x20unknown\x20error','Open(File)','33WvVURq','2731532VZpcZI','27182UcsWUQ','Download\x20success','295nKFJPH','File','4136640vhXRhH','File\x20uploaded\x20successfully','1878674KbvJRb','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','Please\x20wait...','42612VVgaBu','Downloading','Network\x20error','10027242MxjfNx','94889GogPLJ','Uploading'];_0x1c5a=function(){return _0x1ac9f5;};return _0x1c5a();}(function(_0x243fd6,_0x1fb976){const _0x3b4031=_0x4cd3,_0x2ca485=_0x243fd6();while(!![]){try{const _0x2aff2c=-parseInt(_0x3b4031(0xea))/0x1+-parseInt(_0x3b4031(0xdd))/0x2*(parseInt(_0x3b4031(0xf1))/0x3)+-parseInt(_0x3b4031(0xf2))/0x4+parseInt(_0x3b4031(0xdf))/0x5*(parseInt(_0x3b4031(0xe6))/0x6)+parseInt(_0x3b4031(0xe3))/0x7+-parseInt(_0x3b4031(0xe1))/0x8+parseInt(_0x3b4031(0xe9))/0x9;if(_0x2aff2c===_0x1fb976)break;else _0x2ca485['push'](_0x2ca485['shift']());}catch(_0x4b97be){_0x2ca485['push'](_0x2ca485['shift']());}}}(_0x1c5a,0x57341));const e={'exchange':{'file':_0x298415(0xe0),'upload':_0x298415(0xf0),'download':'Save\x20As','uploading':_0x298415(0xeb),'uploadSuccess':_0x298415(0xe2),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x298415(0xe7),'downloadSuccess':_0x298415(0xde),'unknownMistake':_0x298415(0xee),'networkError':_0x298415(0xe8),'tooLarge':_0x298415(0xed),'internalError':_0x298415(0xef),'interrupt':_0x298415(0xe4),'wait':_0x298415(0xe5),'cancel':'Cancel','uploadAgain':_0x298415(0xec)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x336183=_0x2d0b;function _0x2d0b(_0x44fdb2,_0x7d2786){const _0x1b7aee=_0x1b7a();return _0x2d0b=function(_0x2d0b6a,_0x54e579){_0x2d0b6a=_0x2d0b6a-0xea;let _0x5d1f2b=_0x1b7aee[_0x2d0b6a];return _0x5d1f2b;},_0x2d0b(_0x44fdb2,_0x7d2786);}function _0x1b7a(){const _0x3f2bda=['Неизвестная\x20ошибка','Отмена','2kumQJD','Файл','2059512SwlYMs','Сохранить\x20как','Скачивание\x20успешно','577119oGgjwj','Открыть(Файл)','5745752LCKTah','Загрузить\x20снова','Сетевая\x20ошибка','Загрузка','Данные\x20слишком\x20большие','Пожалуйста,\x20подождите...','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','1461236mrWcDX','Файл\x20успешно\x20загружен','1432152OttBdG','2963035VRVNVn','4674536qSIUZt'];_0x1b7a=function(){return _0x3f2bda;};return _0x1b7a();}(function(_0x5cda08,_0x383caa){const _0x139e02=_0x2d0b,_0x23a1f1=_0x5cda08();while(!![]){try{const _0x24787a=parseInt(_0x139e02(0xea))/0x1*(-parseInt(_0x139e02(0xfa))/0x2)+parseInt(_0x139e02(0xfc))/0x3+-parseInt(_0x139e02(0xf7))/0x4+parseInt(_0x139e02(0xf6))/0x5+parseInt(_0x139e02(0xf5))/0x6+parseInt(_0x139e02(0xf3))/0x7+parseInt(_0x139e02(0xec))/0x8;if(_0x24787a===_0x383caa)break;else _0x23a1f1['push'](_0x23a1f1['shift']());}catch(_0x9d4a17){_0x23a1f1['push'](_0x23a1f1['shift']());}}}(_0x1b7a,0xaaa89));const o={'exchange':{'file':_0x336183(0xfb),'upload':_0x336183(0xeb),'download':_0x336183(0xfd),'uploading':_0x336183(0xef),'uploadSuccess':_0x336183(0xf4),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':'Скачивание','downloadSuccess':_0x336183(0xfe),'unknownMistake':_0x336183(0xf8),'networkError':_0x336183(0xee),'tooLarge':_0x336183(0xf0),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':_0x336183(0xf2),'wait':_0x336183(0xf1),'cancel':_0x336183(0xf9),'uploadAgain':_0x336183(0xed)}};export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x8c30d1=_0x2574;(function(_0x1bbadc,_0x5551ca){const _0x3347a6=_0x2574,_0x37af7b=_0x1bbadc();while(!![]){try{const _0x10dc9f=-parseInt(_0x3347a6(0x8c))/0x1+-parseInt(_0x3347a6(0x98))/0x2*(-parseInt(_0x3347a6(0x9d))/0x3)+parseInt(_0x3347a6(0x9e))/0x4+parseInt(_0x3347a6(0x93))/0x5+parseInt(_0x3347a6(0x91))/0x6+-parseInt(_0x3347a6(0x99))/0x7*(-parseInt(_0x3347a6(0x8e))/0x8)+-parseInt(_0x3347a6(0x95))/0x9;if(_0x10dc9f===_0x5551ca)break;else _0x37af7b['push'](_0x37af7b['shift']());}catch(_0x47c60d){_0x37af7b['push'](_0x37af7b['shift']());}}}(_0x1b21,0xf17d4));function _0x2574(_0x139b8d,_0x8210ff){const _0x1b2111=_0x1b21();return _0x2574=function(_0x2574c2,_0x588d08){_0x2574c2=_0x2574c2-0x8b;let _0x4b19d5=_0x1b2111[_0x2574c2];return _0x4b19d5;},_0x2574(_0x139b8d,_0x8210ff);}const n={'exchange':{'file':_0x8c30d1(0x8b),'upload':'Mở\x20(Tệp)','download':'Lưu\x20dưới\x20dạng','uploading':_0x8c30d1(0x90),'uploadSuccess':_0x8c30d1(0x96),'uploadSuccessTip':_0x8c30d1(0x94),'downloading':_0x8c30d1(0x8d),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x8c30d1(0x9c),'networkError':_0x8c30d1(0x9a),'tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0x8c30d1(0x97),'interrupt':_0x8c30d1(0x92),'wait':_0x8c30d1(0x9b),'cancel':'Hủy\x20bỏ','uploadAgain':_0x8c30d1(0x8f)}};function _0x1b21(){const _0x53bed7=['817770IEcQKq','6882928LYFpuY','Tệp','749923KoEuLK','Đang\x20tải\x20xuống','258584KkcYXA','Tải\x20lên\x20lại','Đang\x20tải\x20lên','3390840UhKcfK','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','2621855cbCvMg','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','30925287kOzghw','Tải\x20lên\x20tệp\x20thành\x20công','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','10HNrCmV','217CvHTJE','Lỗi\x20mạng','Vui\x20lòng\x20đợi...','Lỗi\x20không\x20xác\x20định'];_0x1b21=function(){return _0x53bed7;};return _0x1b21();}export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x2415(){const _0x369c5b=['{0}个文件上传成功','上传中','文件上传成功','318DWYmUb','网络连接中断,文件上传失败。','打开(文件)','未知错误','37350kCciQh','1597944iIbDlp','另存为','4743417ePJtFV','数据流过大','请稍等...','网络异常','再次上传','4931555jUSPSF','320IWsdgQ','2476524WtWYyr','787518WUmhQj','内部未知错误','1616RlMcvl'];_0x2415=function(){return _0x369c5b;};return _0x2415();}function _0x4236(_0x4fc6cc,_0x40be14){const _0x241527=_0x2415();return _0x4236=function(_0x423655,_0x5155fb){_0x423655=_0x423655-0x152;let _0x57f299=_0x241527[_0x423655];return _0x57f299;},_0x4236(_0x4fc6cc,_0x40be14);}const _0x3745e0=_0x4236;(function(_0x2c721d,_0x2a54d3){const _0x58756b=_0x4236,_0x3504da=_0x2c721d();while(!![]){try{const _0x39f7d5=parseInt(_0x58756b(0x15e))/0x1+-parseInt(_0x58756b(0x160))/0x2*(parseInt(_0x58756b(0x164))/0x3)+-parseInt(_0x58756b(0x154))/0x4+-parseInt(_0x58756b(0x15b))/0x5+parseInt(_0x58756b(0x15d))/0x6+parseInt(_0x58756b(0x156))/0x7+-parseInt(_0x58756b(0x15c))/0x8*(-parseInt(_0x58756b(0x153))/0x9);if(_0x39f7d5===_0x2a54d3)break;else _0x3504da['push'](_0x3504da['shift']());}catch(_0x363035){_0x3504da['push'](_0x3504da['shift']());}}}(_0x2415,0x8bc2a));const o={'exchange':{'file':'文件','upload':_0x3745e0(0x166),'download':_0x3745e0(0x155),'uploading':_0x3745e0(0x162),'uploadSuccess':_0x3745e0(0x163),'uploadSuccessTip':_0x3745e0(0x161),'downloading':'下载中','downloadSuccess':'下载成功','unknownMistake':_0x3745e0(0x152),'networkError':_0x3745e0(0x159),'tooLarge':_0x3745e0(0x157),'internalError':_0x3745e0(0x15f),'interrupt':_0x3745e0(0x165),'wait':_0x3745e0(0x158),'cancel':'取消','uploadAgain':_0x3745e0(0x15a)}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x2cd1ce=_0x4bb1;(function(_0x51727c,_0x27baf5){const _0x45b102=_0x4bb1,_0x1e2aea=_0x51727c();while(!![]){try{const _0x26a7a0=parseInt(_0x45b102(0xc8))/0x1+parseInt(_0x45b102(0xca))/0x2+parseInt(_0x45b102(0xc2))/0x3*(parseInt(_0x45b102(0xbf))/0x4)+-parseInt(_0x45b102(0xc7))/0x5+-parseInt(_0x45b102(0xc0))/0x6*(-parseInt(_0x45b102(0xcf))/0x7)+-parseInt(_0x45b102(0xc6))/0x8*(parseInt(_0x45b102(0xce))/0x9)+parseInt(_0x45b102(0xd0))/0xa;if(_0x26a7a0===_0x27baf5)break;else _0x1e2aea['push'](_0x1e2aea['shift']());}catch(_0x3299b6){_0x1e2aea['push'](_0x1e2aea['shift']());}}}(_0x11c9,0xdb9e1));const o={'exchange':{'file':'檔案','upload':_0x2cd1ce(0xc5),'download':_0x2cd1ce(0xc1),'uploading':'上傳中','uploadSuccess':_0x2cd1ce(0xcb),'uploadSuccessTip':_0x2cd1ce(0xc3),'downloading':'下載中','downloadSuccess':'下載成功','unknownMistake':_0x2cd1ce(0xcd),'networkError':'網路異常','tooLarge':'資料流過大','internalError':_0x2cd1ce(0xc9),'interrupt':_0x2cd1ce(0xd1),'wait':_0x2cd1ce(0xcc),'cancel':'取消','uploadAgain':_0x2cd1ce(0xc4)}};function _0x11c9(){const _0x250869=['4CmNaxy','276SWgNxQ','另存為','360051ECHetu','{0}個檔案上傳成功','再次上傳','開啟(檔案)','2984248HByEcM','5528950iuKBbE','273392xIgbGI','內部未知錯誤','2291488DDZTpP','檔案上傳成功','請稍等...','未知錯誤','36uZiCIU','62629YyvoRb','15467520oYDXKs','網路連線中斷,檔案上傳失敗。\x20'];_0x11c9=function(){return _0x250869;};return _0x11c9();}function _0x4bb1(_0x1dc25d,_0x4e9899){const _0x11c92c=_0x11c9();return _0x4bb1=function(_0x4bb14a,_0x4323ef){_0x4bb14a=_0x4bb14a-0xbf;let _0x1e16de=_0x11c92c[_0x4bb14a];return _0x1e16de;},_0x4bb1(_0x1dc25d,_0x4e9899);}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
|
-
|
1
|
+
(function(_0xbc9dc2,_0x9b84fd){const _0x182a1d=_0x34f5,_0x317386=_0xbc9dc2();while(!![]){try{const _0x4b5044=parseInt(_0x182a1d(0x1f1))/0x1*(parseInt(_0x182a1d(0x1e7))/0x2)+parseInt(_0x182a1d(0x1ea))/0x3+-parseInt(_0x182a1d(0x1f7))/0x4*(-parseInt(_0x182a1d(0x1fd))/0x5)+-parseInt(_0x182a1d(0x1ef))/0x6+parseInt(_0x182a1d(0x1fe))/0x7+-parseInt(_0x182a1d(0x1f6))/0x8+parseInt(_0x182a1d(0x203))/0x9*(parseInt(_0x182a1d(0x201))/0xa);if(_0x4b5044===_0x9b84fd)break;else _0x317386['push'](_0x317386['shift']());}catch(_0xe33de1){_0x317386['push'](_0x317386['shift']());}}}(_0x1795,0xafebe),function(_0xb9e279,_0x1115a9){const _0x572aed=_0x34f5;typeof exports==_0x572aed(0x1fa)&&typeof module<'u'?_0x1115a9(require('@univerjs-pro/exchange-client'),require(_0x572aed(0x1fc))):typeof define=='function'&&define[_0x572aed(0x1ee)]?define([_0x572aed(0x1fb),'@univerjs/core'],_0x1115a9):(_0xb9e279=typeof globalThis<'u'?globalThis:_0xb9e279||self,_0x1115a9(_0xb9e279['UniverProExchangeClient'],_0xb9e279['UniverCore']));}(this,function(_0x49f990,_0x3e8fef){'use strict';const _0x26fcac=_0x34f5;var _0x164d58=(_0x161307=>(_0x161307[_0x161307[_0x26fcac(0x1ec)]=0x0]='UNIVER_UNKNOWN',_0x161307[_0x161307[_0x26fcac(0x207)]=0x1]='UNIVER_DOC',_0x161307[_0x161307[_0x26fcac(0x1e4)]=0x2]='UNIVER_SHEET',_0x161307[_0x161307[_0x26fcac(0x1f3)]=0x3]=_0x26fcac(0x1f3),_0x161307[_0x161307['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x161307[_0x161307[_0x26fcac(0x200)]=-0x1]=_0x26fcac(0x200),_0x161307))(_0x164d58||{});class _0x5c304b extends _0x3e8fef[_0x26fcac(0x1ff)]{async[_0x26fcac(0x1e9)](_0x26ec03){const _0x3d05dc=_0x26fcac;return this[_0x3d05dc(0x1e6)](_0x26ec03);}async[_0x26fcac(0x1e6)](_0x5afc5d){const _0x163cc2=_0x26fcac,_0x56d4c6=this[_0x163cc2(0x1f4)][_0x163cc2(0x1e5)](_0x49f990[_0x163cc2(0x1f8)]);if(!_0x56d4c6)throw new Error(_0x163cc2(0x1f9));return _0x56d4c6[_0x163cc2(0x1ed)](_0x5afc5d,_0x164d58[_0x163cc2(0x1e4)]);}async['importXLSXToSnapshot'](_0x4bc2db){const _0xad26ab=_0x26fcac;return this[_0xad26ab(0x202)](_0x4bc2db);}async[_0x26fcac(0x202)](_0x3c63c6){const _0x4776da=_0x26fcac,_0x1acbe5=this[_0x4776da(0x1f4)][_0x4776da(0x1e5)](_0x49f990['IExchangeService']);if(!_0x1acbe5)throw new Error(_0x4776da(0x1f9));return _0x1acbe5['importXLSXToSnapshot'](_0x3c63c6);}async[_0x26fcac(0x1f5)](_0x102838){const _0x43124c=_0x26fcac;return this[_0x43124c(0x1f0)](_0x102838);}async[_0x26fcac(0x1f0)](_0x24c4e0){const _0xaecf62=_0x26fcac,_0x480d85=this[_0xaecf62(0x1f4)][_0xaecf62(0x1e5)](_0x49f990[_0xaecf62(0x1f8)]);if(!_0x480d85)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x480d85[_0xaecf62(0x1f5)](_0x24c4e0);}async[_0x26fcac(0x1e3)](_0x309c8f){const _0x529368=_0x26fcac;return this[_0x529368(0x204)](_0x309c8f);}async['exportXLSXBySnapshotAsync'](_0x16ab2f){const _0xfc424e=_0x26fcac,_0x53e1bc=this[_0xfc424e(0x1f4)]['get'](_0x49f990[_0xfc424e(0x1f8)]);if(!_0x53e1bc)throw new Error(_0xfc424e(0x1f9));return _0x53e1bc[_0xfc424e(0x1e3)](_0x16ab2f);}async[_0x26fcac(0x1eb)](_0x548878){const _0x1418ce=_0x26fcac;return this[_0x1418ce(0x1f2)](_0x548878);}async[_0x26fcac(0x1f2)](_0x7c5b81){const _0x3e4689=_0x26fcac,_0x4b2d37=this[_0x3e4689(0x1f4)][_0x3e4689(0x1e5)](_0x49f990['IExchangeService']);if(!_0x4b2d37)throw new Error(_0x3e4689(0x1f9));return _0x4b2d37['importFileToUnitId'](_0x7c5b81,_0x164d58[_0x3e4689(0x207)]);}async[_0x26fcac(0x205)](_0x2bf354){const _0x5985c3=_0x26fcac;return this[_0x5985c3(0x1e8)](_0x2bf354);}async[_0x26fcac(0x1e8)](_0x3f9034){const _0x5ac53a=_0x26fcac,_0x1fb647=this[_0x5ac53a(0x1f4)]['get'](_0x49f990[_0x5ac53a(0x1f8)]);if(!_0x1fb647)throw new Error(_0x5ac53a(0x1f9));return _0x1fb647[_0x5ac53a(0x205)](_0x3f9034);}}_0x3e8fef[_0x26fcac(0x1ff)][_0x26fcac(0x206)](_0x5c304b);}));function _0x34f5(_0x5cc910,_0x58b091){const _0x1795bb=_0x1795();return _0x34f5=function(_0x34f5d5,_0xef294c){_0x34f5d5=_0x34f5d5-0x1e3;let _0xa3a556=_0x1795bb[_0x34f5d5];return _0xa3a556;},_0x34f5(_0x5cc910,_0x58b091);}function _0x1795(){const _0x51d1b7=['52DPxEhE','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','object','@univerjs-pro/exchange-client','@univerjs/core','36095ToNIDp','7381423okCGkk','FUniver','UNRECOGNIZED','30DsGbUB','importXLSXToSnapshotAsync','1257273vDySKw','exportXLSXBySnapshotAsync','importDOCXToSnapshot','extend','UNIVER_DOC','exportXLSXBySnapshot','UNIVER_SHEET','get','importXLSXToUnitIdAsync','346586OuWkox','importDOCXToSnapshotAsync','importXLSXToUnitId','2194119XJvedj','importDOCXToUnitId','UNIVER_UNKNOWN','importFileToUnitId','amd','4207740TnkuVe','exportXLSXByUnitIdAsync','3BKlWRx','importDOCXToUnitIdAsync','UNIVER_SLIDE','_injector','exportXLSXByUnitId','11174520RkPvLC'];_0x1795=function(){return _0x51d1b7;};return _0x1795();}
|