@univerjs-pro/exchange-client 0.5.4 → 0.5.5-experimental.20250122-3362a4a
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/index.d.ts +1 -1
- package/lib/types/services/utils/snapshot.d.ts +7 -1
- 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 +9 -9
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x163ef2=_0x4204;function _0x4204(_0x25699b,_0x14e233){const _0x4954a6=_0x4954();return _0x4204=function(_0x420473,_0x3d4a11){_0x420473=_0x420473-0x157;let _0x52920e=_0x4954a6[_0x420473];return _0x52920e;},_0x4204(_0x25699b,_0x14e233);}(function(_0x5cac79,_0x441647){const _0x1311ef=_0x4204,_0x295b20=_0x5cac79();while(!![]){try{const _0x5907da=-parseInt(_0x1311ef(0x162))/0x1+parseInt(_0x1311ef(0x16b))/0x2+parseInt(_0x1311ef(0x164))/0x3+parseInt(_0x1311ef(0x16c))/0x4+parseInt(_0x1311ef(0x163))/0x5+parseInt(_0x1311ef(0x15a))/0x6*(parseInt(_0x1311ef(0x15e))/0x7)+-parseInt(_0x1311ef(0x160))/0x8*(parseInt(_0x1311ef(0x165))/0x9);if(_0x5907da===_0x441647)break;else _0x295b20['push'](_0x295b20['shift']());}catch(_0x395abd){_0x295b20['push'](_0x295b20['shift']());}}}(_0x4954,0x565ae));const locale={'exchange':{'file':_0x163ef2(0x167),'upload':_0x163ef2(0x16a),'download':'Save\x20As','uploading':_0x163ef2(0x15b),'uploadSuccess':_0x163ef2(0x159),'uploadSuccessTip':_0x163ef2(0x15f),'downloading':'Downloading','downloadSuccess':_0x163ef2(0x157),'unknownMistake':_0x163ef2(0x168),'networkError':_0x163ef2(0x166),'tooLarge':_0x163ef2(0x161),'internalError':'Internal\x20unknown\x20error','interrupt':_0x163ef2(0x158),'wait':_0x163ef2(0x15d),'cancel':_0x163ef2(0x169),'uploadAgain':_0x163ef2(0x15c)}};export{locale as default};function _0x4954(){const _0x47ca2f=['File','Unknown\x20mistake','Cancel','Open(File)','540190hELRAt','1938848WpXVsY','Download\x20success','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','File\x20uploaded\x20successfully','1398XbsQnG','Uploading','Upload\x20again','Please\x20wait...','15883nBJQIm','{0}\x20file(s)\x20uploaded\x20successfully','8HjZMOC','Data\x20is\x20too\x20large','573908jADHii','2213125mAaEYX','1373325KziyMN','11306394cWKSVX','Network\x20error'];_0x4954=function(){return _0x47ca2f;};return _0x4954();}
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x1e3c9f=_0x57c8;(function(_0x362c9a,_0x597157){const _0x4b5e5f=_0x57c8,_0x48787d=_0x362c9a();while(!![]){try{const _0x4c82d9=-parseInt(_0x4b5e5f(0x16b))/0x1+-parseInt(_0x4b5e5f(0x174))/0x2*(-parseInt(_0x4b5e5f(0x16f))/0x3)+-parseInt(_0x4b5e5f(0x169))/0x4+parseInt(_0x4b5e5f(0x167))/0x5+-parseInt(_0x4b5e5f(0x16e))/0x6+parseInt(_0x4b5e5f(0x16d))/0x7+parseInt(_0x4b5e5f(0x170))/0x8;if(_0x4c82d9===_0x597157)break;else _0x48787d['push'](_0x48787d['shift']());}catch(_0x3cd475){_0x48787d['push'](_0x48787d['shift']());}}}(_0x5baf,0xa1767));const locale={'exchange':{'file':'فایل','upload':'بازکردن(فایل)','download':'ذخیره\x20به\x20عنوان','uploading':_0x1e3c9f(0x166),'uploadSuccess':_0x1e3c9f(0x16c),'uploadSuccessTip':_0x1e3c9f(0x16a),'downloading':_0x1e3c9f(0x173),'downloadSuccess':_0x1e3c9f(0x172),'unknownMistake':_0x1e3c9f(0x168),'networkError':'خطای\x20شبکه','tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':_0x1e3c9f(0x171),'interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','wait':'لطفا\x20صبر\x20کنید...','cancel':'لغو','uploadAgain':'بارگذاری\x20مجدد'}};function _0x5baf(){const _0x3cc195=['در\x20حال\x20دانلود','2LqJZoy','در\x20حال\x20بارگذاری','1494565cZcPMo','خطای\x20ناشناخته','936704oSWAPm','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','716538NmNTQO','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','7435358iEZqLQ','4640748gAMJXR','1000605HmyDso','5527048vRZPCg','خطای\x20داخلی\x20ناشناخته','دانلود\x20موفقیت\x20آمیز'];_0x5baf=function(){return _0x3cc195;};return _0x5baf();}function _0x57c8(_0x366964,_0x1b6ba0){const _0x5bafdd=_0x5baf();return _0x57c8=function(_0x57c86d,_0x482df5){_0x57c86d=_0x57c86d-0x166;let _0x453b9e=_0x5bafdd[_0x57c86d];return _0x453b9e;},_0x57c8(_0x366964,_0x1b6ba0);}export{locale as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x21bb(){const _0x261d5e=['Downloading','Unknown\x20mistake','1201795gBBpHi','Uploading','Upload\x20again','1677663dIWRHo','Network\x20error','561876ClgCjU','Download\x20success','Cancel','Data\x20is\x20too\x20large','4zeyhTK','101758pHEika','Please\x20wait...','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','114432XwAIQq','1526VXTkWE','Internal\x20unknown\x20error','Save\x20As','2418QiuqXU','File','5VpyjqT'];_0x21bb=function(){return _0x261d5e;};return _0x21bb();}const _0x3bd75a=_0x2eb6;function _0x2eb6(_0x47a5ca,_0x2c105b){const _0x21bb16=_0x21bb();return _0x2eb6=function(_0x2eb6a3,_0x51b65a){_0x2eb6a3=_0x2eb6a3-0x1b4;let _0x1b10f8=_0x21bb16[_0x2eb6a3];return _0x1b10f8;},_0x2eb6(_0x47a5ca,_0x2c105b);}(function(_0x137b1d,_0x3b0886){const _0x64a2dc=_0x2eb6,_0x3eecb9=_0x137b1d();while(!![]){try{const _0x43b0cd=parseInt(_0x64a2dc(0x1bd))/0x1+-parseInt(_0x64a2dc(0x1b9))/0x2+-parseInt(_0x64a2dc(0x1b4))/0x3*(parseInt(_0x64a2dc(0x1b8))/0x4)+parseInt(_0x64a2dc(0x1c2))/0x5*(parseInt(_0x64a2dc(0x1c0))/0x6)+parseInt(_0x64a2dc(0x1c5))/0x7+-parseInt(_0x64a2dc(0x1bc))/0x8+parseInt(_0x64a2dc(0x1c8))/0x9;if(_0x43b0cd===_0x3b0886)break;else _0x3eecb9['push'](_0x3eecb9['shift']());}catch(_0x4d930f){_0x3eecb9['push'](_0x3eecb9['shift']());}}}(_0x21bb,0x1a41a));const locale$1={'exchange':{'file':_0x3bd75a(0x1c1),'upload':'Open(File)','download':_0x3bd75a(0x1bf),'uploading':_0x3bd75a(0x1c6),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x3bd75a(0x1c3),'downloadSuccess':_0x3bd75a(0x1b5),'unknownMistake':_0x3bd75a(0x1c4),'networkError':_0x3bd75a(0x1c9),'tooLarge':_0x3bd75a(0x1b7),'internalError':_0x3bd75a(0x1be),'interrupt':_0x3bd75a(0x1bb),'wait':_0x3bd75a(0x1ba),'cancel':_0x3bd75a(0x1b6),'uploadAgain':_0x3bd75a(0x1c7)}},locale=locale$1;export{locale as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x15df(){const _0x6ed772=['Сохранить\x20как','616WEEcHt','9715IyMOib','2214840WLJmjv','Сетевая\x20ошибка','Внутренняя\x20неизвестная\x20ошибка','52lEIwEm','740908GiHJCp','487985OjFHZe','21552SQROFk','75750LOVRue','144PRYMXx','Отмена','Загрузить\x20снова','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','119052uMbtns','Данные\x20слишком\x20большие','Скачивание\x20успешно','Файл\x20успешно\x20загружен','Пожалуйста,\x20подождите...','Неизвестная\x20ошибка','Скачивание','280XiqusX','6GGVkoP'];_0x15df=function(){return _0x6ed772;};return _0x15df();}const _0x5b923d=_0x3483;(function(_0xde2792,_0x3cb3bf){const _0x9b1aa4=_0x3483,_0xa5df2e=_0xde2792();while(!![]){try{const _0x28cc69=parseInt(_0x9b1aa4(0x1be))/0x1*(parseInt(_0x9b1aa4(0x1aa))/0x2)+-parseInt(_0x9b1aa4(0x1bb))/0x3*(parseInt(_0x9b1aa4(0x1ab))/0x4)+parseInt(_0x9b1aa4(0x1ac))/0x5+parseInt(_0x9b1aa4(0x1ae))/0x6*(-parseInt(_0x9b1aa4(0x1ba))/0x7)+-parseInt(_0x9b1aa4(0x1ad))/0x8*(-parseInt(_0x9b1aa4(0x1af))/0x9)+parseInt(_0x9b1aa4(0x1bf))/0xa+-parseInt(_0x9b1aa4(0x1bd))/0xb*(-parseInt(_0x9b1aa4(0x1b3))/0xc);if(_0x28cc69===_0x3cb3bf)break;else _0xa5df2e['push'](_0xa5df2e['shift']());}catch(_0x584adb){_0xa5df2e['push'](_0xa5df2e['shift']());}}}(_0x15df,0x47ff1));function _0x3483(_0x45ec29,_0x23e088){const _0x15dfbc=_0x15df();return _0x3483=function(_0x3483c0,_0x4da8ab){_0x3483c0=_0x3483c0-0x1a8;let _0x4d4dd1=_0x15dfbc[_0x3483c0];return _0x4d4dd1;},_0x3483(_0x45ec29,_0x23e088);}const locale={'exchange':{'file':'Файл','upload':'Открыть(Файл)','download':_0x5b923d(0x1bc),'uploading':'Загрузка','uploadSuccess':_0x5b923d(0x1b6),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x5b923d(0x1b9),'downloadSuccess':_0x5b923d(0x1b5),'unknownMistake':_0x5b923d(0x1b8),'networkError':_0x5b923d(0x1a8),'tooLarge':_0x5b923d(0x1b4),'internalError':_0x5b923d(0x1a9),'interrupt':_0x5b923d(0x1b2),'wait':_0x5b923d(0x1b7),'cancel':_0x5b923d(0x1b0),'uploadAgain':_0x5b923d(0x1b1)}};export{locale as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function _0x4bea(_0x448f9a,_0x3781b1){const _0x56040e=_0x5604();return _0x4bea=function(_0x4bead3,_0x4ef615){_0x4bead3=_0x4bead3-0x1bb;let _0xc0019f=_0x56040e[_0x4bead3];return _0xc0019f;},_0x4bea(_0x448f9a,_0x3781b1);}const _0x38bd47=_0x4bea;(function(_0x38bf65,_0x150905){const _0x249d37=_0x4bea,_0x3ffac7=_0x38bf65();while(!![]){try{const _0x27489f=parseInt(_0x249d37(0x1bc))/0x1+-parseInt(_0x249d37(0x1c6))/0x2+parseInt(_0x249d37(0x1be))/0x3+-parseInt(_0x249d37(0x1cb))/0x4+-parseInt(_0x249d37(0x1c9))/0x5*(parseInt(_0x249d37(0x1ca))/0x6)+-parseInt(_0x249d37(0x1cc))/0x7*(parseInt(_0x249d37(0x1bb))/0x8)+parseInt(_0x249d37(0x1c1))/0x9;if(_0x27489f===_0x150905)break;else _0x3ffac7['push'](_0x3ffac7['shift']());}catch(_0x430517){_0x3ffac7['push'](_0x3ffac7['shift']());}}}(_0x5604,0xdf47d));function _0x5604(){const _0x5a4ca0=['Tải\x20lên\x20tệp\x20thành\x20công','Mở\x20(Tệp)','Tải\x20xuống\x20thành\x20công','Tệp','3575780aqcqNx','Lỗi\x20mạng','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','11485Veigrx','6ZUzqri','6350004NVsyiF','14nmkivr','Đang\x20tải\x20xuống','Luồng\x20dữ\x20liệu\x20quá\x20lớn','3408992zCYgIA','842028HffjSy','Đang\x20tải\x20lên','2924595XQkwyX','Lỗi\x20không\x20xác\x20định','Hủy\x20bỏ','29948400OTXwPp'];_0x5604=function(){return _0x5a4ca0;};return _0x5604();}const locale={'exchange':{'file':_0x38bd47(0x1c5),'upload':_0x38bd47(0x1c3),'download':'Lưu\x20dưới\x20dạng','uploading':_0x38bd47(0x1bd),'uploadSuccess':_0x38bd47(0x1c2),'uploadSuccessTip':_0x38bd47(0x1c8),'downloading':_0x38bd47(0x1cd),'downloadSuccess':_0x38bd47(0x1c4),'unknownMistake':_0x38bd47(0x1bf),'networkError':_0x38bd47(0x1c7),'tooLarge':_0x38bd47(0x1ce),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại.','wait':'Vui\x20lòng\x20đợi...','cancel':_0x38bd47(0x1c0),'uploadAgain':'Tải\x20lên\x20lại'}};export{locale as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x53e7d2=_0x5df6;(function(_0x3af5fb,_0x5f1ad3){const _0x5f1fbe=_0x5df6,_0x53809d=_0x3af5fb();while(!![]){try{const _0x195962=-parseInt(_0x5f1fbe(0x19e))/0x1*(-parseInt(_0x5f1fbe(0x19a))/0x2)+parseInt(_0x5f1fbe(0x1a4))/0x3+-parseInt(_0x5f1fbe(0x1a1))/0x4*(-parseInt(_0x5f1fbe(0x198))/0x5)+-parseInt(_0x5f1fbe(0x193))/0x6+parseInt(_0x5f1fbe(0x199))/0x7*(parseInt(_0x5f1fbe(0x19d))/0x8)+-parseInt(_0x5f1fbe(0x19f))/0x9+-parseInt(_0x5f1fbe(0x190))/0xa;if(_0x195962===_0x5f1ad3)break;else _0x53809d['push'](_0x53809d['shift']());}catch(_0x1a5a1b){_0x53809d['push'](_0x53809d['shift']());}}}(_0x1195,0x643fb));const locales={'exchange':{'file':'文件','upload':_0x53e7d2(0x1a2),'download':_0x53e7d2(0x19b),'uploading':_0x53e7d2(0x1a0),'uploadSuccess':_0x53e7d2(0x1a5),'uploadSuccessTip':_0x53e7d2(0x1a6),'downloading':_0x53e7d2(0x1a3),'downloadSuccess':_0x53e7d2(0x196),'unknownMistake':_0x53e7d2(0x19c),'networkError':_0x53e7d2(0x192),'tooLarge':_0x53e7d2(0x195),'internalError':'内部未知错误','interrupt':_0x53e7d2(0x194),'wait':_0x53e7d2(0x191),'cancel':'取消','uploadAgain':_0x53e7d2(0x197)}};function _0x5df6(_0x5af175,_0x102f1e){const _0x1195b6=_0x1195();return _0x5df6=function(_0x5df65c,_0x4de56a){_0x5df65c=_0x5df65c-0x190;let _0xb3ddae=_0x1195b6[_0x5df65c];return _0xb3ddae;},_0x5df6(_0x5af175,_0x102f1e);}function _0x1195(){const _0x16b3cd=['14833jTNQNr','6sdkJif','另存为','未知错误','1088OJJhAb','6373oCXCZm','4053231noPCGA','上传中','88GsDfML','打开(文件)','下载中','2426133GdmroE','文件上传成功','{0}个文件上传成功','6467730SFPWZe','请稍等...','网络异常','364026Opzjwc','网络连接中断,文件上传失败。','数据流过大','下载成功','再次上传','102820rvrOoB'];_0x1195=function(){return _0x16b3cd;};return _0x1195();}export{locales as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x18d5(_0xdf80ee,_0xd51451){const _0x5345bf=_0x5345();return _0x18d5=function(_0x18d540,_0x38c93f){_0x18d540=_0x18d540-0x146;let _0x4e035b=_0x5345bf[_0x18d540];return _0x4e035b;},_0x18d5(_0xdf80ee,_0xd51451);}const _0x4aa065=_0x18d5;function _0x5345(){const _0x17e0fb=['檔案上傳成功','6oFoDfk','開啟(檔案)','2345158ahIkPv','1apRgGH','7883295PluAjl','請稍等...','網路連線中斷,檔案上傳失敗。\x20','{0}個檔案上傳成功','8313760iEpmiV','20xoTLeU','另存為','網路異常','未知錯誤','再次上傳','3515841eOeADU','下載中','56637zOvQwq','上傳中','內部未知錯誤','357366SfbiHo','資料流過大','20153320garYtT'];_0x5345=function(){return _0x17e0fb;};return _0x5345();}(function(_0x14e8f8,_0xd73dc4){const _0x29afd0=_0x18d5,_0x59e606=_0x14e8f8();while(!![]){try{const _0x342140=parseInt(_0x29afd0(0x14e))/0x1*(parseInt(_0x29afd0(0x14d))/0x2)+-parseInt(_0x29afd0(0x147))/0x3*(parseInt(_0x29afd0(0x154))/0x4)+parseInt(_0x29afd0(0x14f))/0x5*(parseInt(_0x29afd0(0x14b))/0x6)+parseInt(_0x29afd0(0x15b))/0x7+parseInt(_0x29afd0(0x153))/0x8+-parseInt(_0x29afd0(0x159))/0x9+-parseInt(_0x29afd0(0x149))/0xa;if(_0x342140===_0xd73dc4)break;else _0x59e606['push'](_0x59e606['shift']());}catch(_0x5dec83){_0x59e606['push'](_0x59e606['shift']());}}}(_0x5345,0xc214e));const locale={'exchange':{'file':'檔案','upload':_0x4aa065(0x14c),'download':_0x4aa065(0x155),'uploading':_0x4aa065(0x15c),'uploadSuccess':_0x4aa065(0x14a),'uploadSuccessTip':_0x4aa065(0x152),'downloading':_0x4aa065(0x15a),'downloadSuccess':'下載成功','unknownMistake':_0x4aa065(0x157),'networkError':_0x4aa065(0x156),'tooLarge':_0x4aa065(0x148),'internalError':_0x4aa065(0x146),'interrupt':_0x4aa065(0x151),'wait':_0x4aa065(0x150),'cancel':'取消','uploadAgain':_0x4aa065(0x158)}};export{locale as default};
|
package/lib/types/index.d.ts
CHANGED
@@ -8,4 +8,4 @@ export { EXCHANGE_EXPORT_SERVER_URL_KEY, EXCHANGE_GET_TASK_SERVER_URL_KEY, EXCHA
|
|
8
8
|
export { IUploadNotificationService, UploadNotificationService, UploadNotificationState } from './services/upload-notification.service';
|
9
9
|
export { downloadFile, getUniverTypeByFile, getUploadFile } from './services/utils/tool';
|
10
10
|
export { UploadNotificationContainer } from './views/UploadNotificationContainer';
|
11
|
-
export { transformWorkbookDataToSnapshotJson } from './services/utils/snapshot';
|
11
|
+
export { transformSnapshotJsonToWorkbookData, transformWorkbookDataToSnapshotJson } from './services/utils/snapshot';
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { ILogContext, ISnapshotServerService } from '@univerjs-pro/collaboration';
|
1
2
|
import { IWorkbookData, Nullable } from '@univerjs/core';
|
2
3
|
import { ICopyFileMetaRequest, ICopyFileMetaResponse, IDocumentMeta, IFetchMissingChangesetsRequest, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidRequest, IGetLatestCsReqIdBySidResponse, IGetResourcesRequest, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, ISaveChangesetRequest, ISaveChangesetResponse, ISaveSheetBlockRequest, ISaveSheetBlockResponse, ISaveSnapshotRequest, ISaveSnapshotResponse, ISheetBlock, ISnapshot, IWorkbookMeta, IWorksheetMeta } from '@univerjs/protocol';
|
3
|
-
import { ILogContext, ISnapshotServerService } from '@univerjs-pro/collaboration';
|
4
4
|
export interface IWorksheetMetaJson extends Omit<IWorksheetMeta, 'originalMeta'> {
|
5
5
|
originalMeta: string;
|
6
6
|
}
|
@@ -51,6 +51,12 @@ export declare function transformSheetBlockMetaToString(sheetBlocks: ISheetBlock
|
|
51
51
|
* @returns
|
52
52
|
*/
|
53
53
|
export declare function transformWorkbookDataToSnapshotJson(workbookData: IWorkbookData): Promise<ISnapshotBlockJson>;
|
54
|
+
/**
|
55
|
+
* Convert the Snapshot data to workbook data
|
56
|
+
* @param json
|
57
|
+
* @returns
|
58
|
+
*/
|
59
|
+
export declare function transformSnapshotJsonToWorkbookData(json: ISnapshotBlockJsonResponse): IWorkbookData;
|
54
60
|
/**
|
55
61
|
* The server needs to fully implement all interfaces, but when used by the client, use saveSheetBlock to cache the sheet block locally, and use getSheetBlock to obtain the sheet block.
|
56
62
|
*/
|
@@ -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(_0x436ae0,_0x1985a1){const _0x1d2560=_0x40e0,_0x41adbb=_0x436ae0();while(!![]){try{const _0x13e993=-parseInt(_0x1d2560(0x13d))/0x1*(parseInt(_0x1d2560(0x137))/0x2)+-parseInt(_0x1d2560(0x139))/0x3+parseInt(_0x1d2560(0x13c))/0x4*(-parseInt(_0x1d2560(0x120))/0x5)+-parseInt(_0x1d2560(0x130))/0x6*(-parseInt(_0x1d2560(0x143))/0x7)+parseInt(_0x1d2560(0x128))/0x8*(-parseInt(_0x1d2560(0x121))/0x9)+parseInt(_0x1d2560(0x131))/0xa+parseInt(_0x1d2560(0x13a))/0xb;if(_0x13e993===_0x1985a1)break;else _0x41adbb['push'](_0x41adbb['shift']());}catch(_0xfcaf8a){_0x41adbb['push'](_0x41adbb['shift']());}}}(_0x15cd,0xc81e7),function(_0x3c8d62,_0x2e5950){const _0xabdcf=_0x40e0;typeof exports==_0xabdcf(0x136)&&typeof module<'u'?_0x2e5950(require(_0xabdcf(0x146)),require(_0xabdcf(0x133))):typeof define==_0xabdcf(0x12d)&&define[_0xabdcf(0x140)]?define(['@univerjs-pro/exchange-client',_0xabdcf(0x133)],_0x2e5950):(_0x3c8d62=typeof globalThis<'u'?globalThis:_0x3c8d62||self,_0x2e5950(_0x3c8d62[_0xabdcf(0x126)],_0x3c8d62[_0xabdcf(0x12b)]));}(this,function(_0x546dbc,_0x374130){'use strict';const _0x2d3097=_0x40e0;var _0x35c766=Object[_0x2d3097(0x13b)],_0x306fc7=(_0x5b1616,_0x2cc406)=>_0x35c766(_0x5b1616,_0x2d3097(0x12a),{'value':_0x2cc406,'configurable':!0x0}),_0x4ccb7e=(_0x43e2bf=>(_0x43e2bf[_0x43e2bf[_0x2d3097(0x12e)]=0x0]=_0x2d3097(0x12e),_0x43e2bf[_0x43e2bf[_0x2d3097(0x147)]=0x1]=_0x2d3097(0x147),_0x43e2bf[_0x43e2bf[_0x2d3097(0x12f)]=0x2]='UNIVER_SHEET',_0x43e2bf[_0x43e2bf[_0x2d3097(0x144)]=0x3]=_0x2d3097(0x144),_0x43e2bf[_0x43e2bf[_0x2d3097(0x134)]=0x4]=_0x2d3097(0x134),_0x43e2bf[_0x43e2bf['UNRECOGNIZED']=-0x1]=_0x2d3097(0x142),_0x43e2bf))(_0x4ccb7e||{});const _0x1e090b=class _0x223a8d extends _0x374130[_0x2d3097(0x13f)]{async[_0x2d3097(0x138)](_0xd43bd1){const _0x3e9fa9=_0x2d3097;return this[_0x3e9fa9(0x13e)](_0xd43bd1);}async[_0x2d3097(0x13e)](_0x3b1276){const _0x1e3009=_0x2d3097,_0x4dcd6d=this[_0x1e3009(0x124)][_0x1e3009(0x11f)](_0x546dbc[_0x1e3009(0x141)]);if(!_0x4dcd6d)throw new Error(_0x1e3009(0x12c));return _0x4dcd6d['importFileToUnitId'](_0x3b1276,_0x4ccb7e['UNIVER_SHEET']);}async[_0x2d3097(0x129)](_0x274b85){return this['importXLSXToSnapshotAsync'](_0x274b85);}async[_0x2d3097(0x145)](_0xea7e6d){const _0x25e0c4=_0x2d3097,_0x31d540=this[_0x25e0c4(0x124)][_0x25e0c4(0x11f)](_0x546dbc[_0x25e0c4(0x141)]);if(!_0x31d540)throw new Error(_0x25e0c4(0x12c));return _0x31d540[_0x25e0c4(0x129)](_0xea7e6d);}async['exportXLSXByUnitId'](_0x846031){const _0x1f3512=_0x2d3097;return this[_0x1f3512(0x135)](_0x846031);}async[_0x2d3097(0x135)](_0xc1dbca){const _0x3be17c=_0x2d3097,_0xb2aaef=this[_0x3be17c(0x124)]['get'](_0x546dbc[_0x3be17c(0x141)]);if(!_0xb2aaef)throw new Error(_0x3be17c(0x12c));return _0xb2aaef['exportXLSXByUnitId'](_0xc1dbca);}async[_0x2d3097(0x125)](_0x326c5d){return this['exportXLSXBySnapshotAsync'](_0x326c5d);}async['exportXLSXBySnapshotAsync'](_0x53588f){const _0x1b201f=_0x2d3097,_0x11dcd4=this['_injector'][_0x1b201f(0x11f)](_0x546dbc[_0x1b201f(0x141)]);if(!_0x11dcd4)throw new Error(_0x1b201f(0x12c));return _0x11dcd4[_0x1b201f(0x125)](_0x53588f);}async[_0x2d3097(0x11e)](_0x2b1a31){return this['importDOCXToUnitIdAsync'](_0x2b1a31);}async['importDOCXToUnitIdAsync'](_0x59e83e){const _0x21448f=_0x2d3097,_0x240a69=this[_0x21448f(0x124)][_0x21448f(0x11f)](_0x546dbc['IExchangeService']);if(!_0x240a69)throw new Error(_0x21448f(0x12c));return _0x240a69[_0x21448f(0x132)](_0x59e83e,_0x4ccb7e[_0x21448f(0x147)]);}async[_0x2d3097(0x127)](_0x8f6ec){const _0x3f568b=_0x2d3097;return this[_0x3f568b(0x122)](_0x8f6ec);}async[_0x2d3097(0x122)](_0x5e29d3){const _0x22171d=_0x2d3097,_0x5ee004=this[_0x22171d(0x124)][_0x22171d(0x11f)](_0x546dbc[_0x22171d(0x141)]);if(!_0x5ee004)throw new Error(_0x22171d(0x12c));return _0x5ee004[_0x22171d(0x127)](_0x5e29d3);}};_0x306fc7(_0x1e090b,_0x2d3097(0x123));let _0xc4e29b=_0x1e090b;_0x374130[_0x2d3097(0x13f)]['extend'](_0xc4e29b);}));function _0x40e0(_0x873ed8,_0x1a3826){const _0x15cd11=_0x15cd();return _0x40e0=function(_0x40e0d8,_0x1e0644){_0x40e0d8=_0x40e0d8-0x11e;let _0x13be25=_0x15cd11[_0x40e0d8];return _0x13be25;},_0x40e0(_0x873ed8,_0x1a3826);}function _0x15cd(){const _0x20e232=['get','2542355tqUHDf','126QqKmSC','importDOCXToSnapshotAsync','FUniverExchangeClientMixin','_injector','exportXLSXBySnapshot','UniverProExchangeClient','importDOCXToSnapshot','14648qVStfT','importXLSXToSnapshot','name','UniverCore','The\x20exchange\x20service\x20is\x20not\x20available','function','UNIVER_UNKNOWN','UNIVER_SHEET','2076eMENvY','435980eigyPR','importFileToUnitId','@univerjs/core','UNIVER_PROJECT','exportXLSXByUnitIdAsync','object','574702BPNOwA','importXLSXToUnitId','2480850OTCEwY','41897735FziEBF','defineProperty','12qvEkKF','3MGphmF','importXLSXToUnitIdAsync','FUniver','amd','IExchangeService','UNRECOGNIZED','4193fABfnt','UNIVER_SLIDE','importXLSXToSnapshotAsync','@univerjs-pro/exchange-client','UNIVER_DOC','importDOCXToUnitId'];_0x15cd=function(){return _0x20e232;};return _0x15cd();}
|