@univerjs-pro/exchange-client 0.7.0-nightly.202505231607 → 0.7.0-nightly.202505241606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +2 -2
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/services/utils/snapshot.d.ts +12 -18
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x271eca=_0x3699;(function(_0x270525,_0x53591){const _0x59ed45=_0x3699,_0x3e4b7a=_0x270525();while(!![]){try{const _0x12b80c=parseInt(_0x59ed45(0x1fb))/0x1*(-parseInt(_0x59ed45(0x1f1))/0x2)+parseInt(_0x59ed45(0x1f0))/0x3*(parseInt(_0x59ed45(0x1f4))/0x4)+-parseInt(_0x59ed45(0x1ed))/0x5+parseInt(_0x59ed45(0x1e9))/0x6*(-parseInt(_0x59ed45(0x1fd))/0x7)+-parseInt(_0x59ed45(0x1fe))/0x8+-parseInt(_0x59ed45(0x1f3))/0x9+parseInt(_0x59ed45(0x1f2))/0xa;if(_0x12b80c===_0x53591)break;else _0x3e4b7a['push'](_0x3e4b7a['shift']());}catch(_0x2d8791){_0x3e4b7a['push'](_0x3e4b7a['shift']());}}}(_0x485e,0xd711e));function _0x3699(_0x3499d1,_0x42ee42){const _0x485e2c=_0x485e();return _0x3699=function(_0x36990f,_0x5a267b){_0x36990f=_0x36990f-0x1e7;let _0x61cfe9=_0x485e2c[_0x36990f];return _0x61cfe9;},_0x3699(_0x3499d1,_0x42ee42);}const e={'exchange':{'file':_0x271eca(0x1eb),'upload':_0x271eca(0x1f8),'download':_0x271eca(0x1fc),'uploading':_0x271eca(0x1ea),'uploadSuccess':_0x271eca(0x1fa),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x271eca(0x1f9),'downloadSuccess':_0x271eca(0x1ec),'unknownMistake':_0x271eca(0x1ee),'networkError':'Network\x20error','tooLarge':_0x271eca(0x1e7),'internalError':'Internal\x20unknown\x20error','interrupt':_0x271eca(0x1e8),'fileTypeError':_0x271eca(0x1f7),'wait':_0x271eca(0x1f6),'cancel':_0x271eca(0x1ef),'uploadAgain':_0x271eca(0x1f5)}};function _0x485e(){const _0x5470f7=['Save\x20As','161IoEaDZ','10406728KdAHuQ','Data\x20is\x20too\x20large','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','86718kVZwvP','Uploading','File','Download\x20success','1506190AFmnIP','Unknown\x20mistake','Cancel','747KLeOzG','10lorWir','31887630MpCpbW','6765084MMKeFR','12692JHuqYL','Upload\x20again','Please\x20wait...','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Open(File)','Downloading','File\x20uploaded\x20successfully','82348xkChtB'];_0x485e=function(){return _0x5470f7;};return _0x485e();}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x35a589=_0x2788;function _0x3635(){const _0x1c019a=['1956UOgFkO','2491344xITJgB','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','خطای\x20شبکه','2272BytUat','85699ZHsXzc','3370035YZIzss','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','بارگذاری\x20مجدد','داده\x20خیلی\x20بزرگ\x20است','1621064aPljLl','خطای\x20داخلی\x20ناشناخته','9GTgewD','44ickked','در\x20حال\x20دانلود','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','ذخیره\x20به\x20عنوان','2431415LCMEfk','دانلود\x20موفقیت\x20آمیز','خطای\x20ناشناخته','فایل','لغو','14VVnsHU','6090220akDELD'];_0x3635=function(){return _0x1c019a;};return _0x3635();}(function(_0x30bd53,_0x2b5c27){const _0x9c9387=_0x2788,_0x1430c4=_0x30bd53();while(!![]){try{const _0x5b05d3=-parseInt(_0x9c9387(0x137))/0x1*(parseInt(_0x9c9387(0x148))/0x2)+parseInt(_0x9c9387(0x132))/0x3*(parseInt(_0x9c9387(0x136))/0x4)+-parseInt(_0x9c9387(0x138))/0x5+-parseInt(_0x9c9387(0x133))/0x6+-parseInt(_0x9c9387(0x143))/0x7+parseInt(_0x9c9387(0x13c))/0x8*(-parseInt(_0x9c9387(0x13e))/0x9)+-parseInt(_0x9c9387(0x131))/0xa*(-parseInt(_0x9c9387(0x13f))/0xb);if(_0x5b05d3===_0x2b5c27)break;else _0x1430c4['push'](_0x1430c4['shift']());}catch(_0xd0df38){_0x1430c4['push'](_0x1430c4['shift']());}}}(_0x3635,0x8a81a));function _0x2788(_0x5c3e95,_0x35c343){const _0x3635bb=_0x3635();return _0x2788=function(_0x278863,_0x310e34){_0x278863=_0x278863-0x131;let _0xe6c154=_0x3635bb[_0x278863];return _0xe6c154;},_0x2788(_0x5c3e95,_0x35c343);}const o={'exchange':{'file':_0x35a589(0x146),'upload':'بازکردن(فایل)','download':_0x35a589(0x142),'uploading':'در\x20حال\x20بارگذاری','uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':_0x35a589(0x141),'downloading':_0x35a589(0x140),'downloadSuccess':_0x35a589(0x144),'unknownMistake':_0x35a589(0x145),'networkError':_0x35a589(0x135),'tooLarge':_0x35a589(0x13b),'internalError':_0x35a589(0x13d),'interrupt':_0x35a589(0x139),'fileTypeError':_0x35a589(0x134),'wait':'لطفا\x20صبر\x20کنید...','cancel':_0x35a589(0x147),'uploadAgain':_0x35a589(0x13a)}};export{o as default};
|
package/lib/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x15ac5b=_0x3e75;(function(_0x243c45,_0x18a767){const _0x380eac=_0x3e75,_0x51f00f=_0x243c45();while(!![]){try{const _0x258f2f=parseInt(_0x380eac(0x12e))/0x1+-parseInt(_0x380eac(0x123))/0x2*(parseInt(_0x380eac(0x128))/0x3)+-parseInt(_0x380eac(0x125))/0x4*(parseInt(_0x380eac(0x135))/0x5)+-parseInt(_0x380eac(0x134))/0x6*(-parseInt(_0x380eac(0x138))/0x7)+-parseInt(_0x380eac(0x13a))/0x8+-parseInt(_0x380eac(0x12d))/0x9+parseInt(_0x380eac(0x130))/0xa;if(_0x258f2f===_0x18a767)break;else _0x51f00f['push'](_0x51f00f['shift']());}catch(_0x14cf52){_0x51f00f['push'](_0x51f00f['shift']());}}}(_0x48f9,0x7830b));function _0x48f9(){const _0x4be07a=['64548pAEnfX','Téléchargement','468LtTadl','Fichier','Téléchargement\x20réussi','69moIzxU','Annuler','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Erreur\x20réseau','Erreur\x20inconnue','5089239vGYIxt','363440OsFnBp','Ouvrir\x20(Fichier)','25047960iFyZvC','Téléchargement\x20en\x20cours','Erreur\x20interne\x20inconnue','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','9258mqFwme','34795SgLydX','Fichier\x20téléchargé\x20avec\x20succès','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','791xjPlVP','Enregistrer\x20sous','3426560HVCZIB','Les\x20données\x20sont\x20trop\x20volumineuses'];_0x48f9=function(){return _0x4be07a;};return _0x48f9();}const e={'exchange':{'file':_0x15ac5b(0x126),'upload':_0x15ac5b(0x12f),'download':_0x15ac5b(0x139),'uploading':_0x15ac5b(0x131),'uploadSuccess':_0x15ac5b(0x136),'uploadSuccessTip':_0x15ac5b(0x133),'downloading':_0x15ac5b(0x124),'downloadSuccess':_0x15ac5b(0x127),'unknownMistake':_0x15ac5b(0x12c),'networkError':_0x15ac5b(0x12b),'tooLarge':_0x15ac5b(0x13b),'internalError':_0x15ac5b(0x132),'interrupt':_0x15ac5b(0x137),'fileTypeError':_0x15ac5b(0x12a),'wait':'Veuillez\x20patienter...','cancel':_0x15ac5b(0x129),'uploadAgain':'Télécharger\x20à\x20nouveau'}};function _0x3e75(_0x165530,_0xf6473c){const _0x48f967=_0x48f9();return _0x3e75=function(_0x3e7582,_0x46b49b){_0x3e7582=_0x3e7582-0x123;let _0x4027d6=_0x48f967[_0x3e7582];return _0x4027d6;},_0x3e75(_0x165530,_0xf6473c);}export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
function _0x319e(_0x31c4d7,_0x326cdc){const _0x89deb4=_0x89de();return _0x319e=function(_0x319ebe,_0x3d5cf1){_0x319ebe=_0x319ebe-0x87;let _0x27c9ae=_0x89deb4[_0x319ebe];return _0x27c9ae;},_0x319e(_0x31c4d7,_0x326cdc);}const _0x372314=_0x319e;(function(_0x5abe7f,_0x18a556){const _0x599272=_0x319e,_0x144437=_0x5abe7f();while(!![]){try{const _0x5bb8d2=parseInt(_0x599272(0x97))/0x1*(-parseInt(_0x599272(0x94))/0x2)+-parseInt(_0x599272(0x87))/0x3*(parseInt(_0x599272(0x9d))/0x4)+parseInt(_0x599272(0x8f))/0x5*(parseInt(_0x599272(0x96))/0x6)+-parseInt(_0x599272(0x9e))/0x7+-parseInt(_0x599272(0x99))/0x8*(parseInt(_0x599272(0x8d))/0x9)+-parseInt(_0x599272(0x95))/0xa*(-parseInt(_0x599272(0x9a))/0xb)+parseInt(_0x599272(0x8e))/0xc;if(_0x5bb8d2===_0x18a556)break;else _0x144437['push'](_0x144437['shift']());}catch(_0x1a63d5){_0x144437['push'](_0x144437['shift']());}}}(_0x89de,0x53167));function _0x89de(){const _0x146bba=['Сетевая\x20ошибка','219702LrqXQc','Скачивание\x20успешно','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Файл\x20успешно\x20загружен','Скачивание','Файл','109395KsmGYw','1001028yTnbsA','40khgcTr','Загрузка','Отмена','Внутренняя\x20неизвестная\x20ошибка','Данные\x20слишком\x20большие','2WrxVxk','3870QAWayc','269484hFSQFo','179864cNrzqd','Загрузить\x20снова','144xpDEPL','18359hdSWMu','Неизвестная\x20ошибка','Сохранить\x20как','4BMQlTh','1934933AiFlbo','{0}\x20файл(ов)\x20успешно\x20загружен(о)'];_0x89de=function(){return _0x146bba;};return _0x89de();}const o={'exchange':{'file':_0x372314(0x8c),'upload':'Открыть(Файл)','download':_0x372314(0x9c),'uploading':_0x372314(0x90),'uploadSuccess':_0x372314(0x8a),'uploadSuccessTip':_0x372314(0x9f),'downloading':_0x372314(0x8b),'downloadSuccess':_0x372314(0x88),'unknownMistake':_0x372314(0x9b),'networkError':_0x372314(0xa0),'tooLarge':_0x372314(0x93),'internalError':_0x372314(0x92),'interrupt':_0x372314(0x89),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':'Пожалуйста,\x20подождите...','cancel':_0x372314(0x91),'uploadAgain':_0x372314(0x98)}};export{o as default};
|
package/lib/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x43ee(_0x12b7c5,_0x5c2323){const _0x479188=_0x4791();return _0x43ee=function(_0x43ee88,_0x4a8dd4){_0x43ee88=_0x43ee88-0x71;let _0x6baf45=_0x479188[_0x43ee88];return _0x6baf45;},_0x43ee(_0x12b7c5,_0x5c2323);}const _0x3958b2=_0x43ee;(function(_0x150825,_0x14c742){const _0x1c4f0a=_0x43ee,_0x40fbcb=_0x150825();while(!![]){try{const _0x53ab4e=parseInt(_0x1c4f0a(0x88))/0x1*(parseInt(_0x1c4f0a(0x77))/0x2)+parseInt(_0x1c4f0a(0x86))/0x3*(-parseInt(_0x1c4f0a(0x87))/0x4)+parseInt(_0x1c4f0a(0x7f))/0x5+parseInt(_0x1c4f0a(0x72))/0x6+-parseInt(_0x1c4f0a(0x80))/0x7*(parseInt(_0x1c4f0a(0x7c))/0x8)+-parseInt(_0x1c4f0a(0x76))/0x9*(parseInt(_0x1c4f0a(0x7e))/0xa)+parseInt(_0x1c4f0a(0x7d))/0xb;if(_0x53ab4e===_0x14c742)break;else _0x40fbcb['push'](_0x40fbcb['shift']());}catch(_0x4fb2eb){_0x40fbcb['push'](_0x40fbcb['shift']());}}}(_0x4791,0x414cb));function _0x4791(){const _0x220b09=['3aHeFBJ','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','1896780pxzrRe','Đang\x20tải\x20xuống','Tải\x20lên\x20lại','Lưu\x20dưới\x20dạng','3497139yvwZbP','80818LImvWX','Vui\x20lòng\x20đợi...','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Tệp','4088984XFDmWi','13334541rbtiYx','10nxkSNh','220860KvUXjz','7yBUwkS','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Đang\x20tải\x20lên','Hủy\x20bỏ','Tải\x20lên\x20tệp\x20thành\x20công','Tải\x20xuống\x20thành\x20công','526599oNoTyz','12pNCHTN'];_0x4791=function(){return _0x220b09;};return _0x4791();}const n={'exchange':{'file':_0x3958b2(0x7b),'upload':'Mở\x20(Tệp)','download':_0x3958b2(0x75),'uploading':_0x3958b2(0x82),'uploadSuccess':_0x3958b2(0x84),'uploadSuccessTip':_0x3958b2(0x81),'downloading':_0x3958b2(0x73),'downloadSuccess':_0x3958b2(0x85),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':'Lỗi\x20mạng','tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0x3958b2(0x79),'interrupt':_0x3958b2(0x7a),'fileTypeError':_0x3958b2(0x71),'wait':_0x3958b2(0x78),'cancel':_0x3958b2(0x83),'uploadAgain':_0x3958b2(0x74)}};export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
const _0x297136=_0x32bc;function _0x1cce(){const _0x42bbd0=['396704cKGbXl','再次上传','上传中','所选文件\x20[{0}]\x20不支持上传','2208835qTyLLw','485458BlYlxm','1288316iGdQFK','5302107RjOHLd','351594KqfKmQ','16OUrMgy','请稍等...','打开(文件)','另存为','1449855TXoWjp','数据流过大','网络异常','14RxGhpo','未知错误','网络连接中断,文件上传失败','文件上传成功'];_0x1cce=function(){return _0x42bbd0;};return _0x1cce();}function _0x32bc(_0x546e2d,_0x293c12){const _0x1cce64=_0x1cce();return _0x32bc=function(_0x32bc3f,_0x50e1bf){_0x32bc3f=_0x32bc3f-0x1bb;let _0x21779e=_0x1cce64[_0x32bc3f];return _0x21779e;},_0x32bc(_0x546e2d,_0x293c12);}(function(_0x4df149,_0x10fcd2){const _0x34900d=_0x32bc,_0x8a2091=_0x4df149();while(!![]){try{const _0x1f622f=-parseInt(_0x34900d(0x1c2))/0x1+-parseInt(_0x34900d(0x1c7))/0x2+-parseInt(_0x34900d(0x1bb))/0x3+-parseInt(_0x34900d(0x1c8))/0x4+parseInt(_0x34900d(0x1c6))/0x5+-parseInt(_0x34900d(0x1ca))/0x6*(-parseInt(_0x34900d(0x1be))/0x7)+-parseInt(_0x34900d(0x1cb))/0x8*(-parseInt(_0x34900d(0x1c9))/0x9);if(_0x1f622f===_0x10fcd2)break;else _0x8a2091['push'](_0x8a2091['shift']());}catch(_0x2d0539){_0x8a2091['push'](_0x8a2091['shift']());}}}(_0x1cce,0x4763e));const o={'exchange':{'file':'文件','upload':_0x297136(0x1cd),'download':_0x297136(0x1ce),'uploading':_0x297136(0x1c4),'uploadSuccess':_0x297136(0x1c1),'uploadSuccessTip':'{0}个文件上传成功','downloading':'下载中','downloadSuccess':'下载成功','unknownMistake':_0x297136(0x1bf),'networkError':_0x297136(0x1bd),'tooLarge':_0x297136(0x1bc),'internalError':'内部未知错误','interrupt':_0x297136(0x1c0),'fileTypeError':_0x297136(0x1c5),'wait':_0x297136(0x1cc),'cancel':'取消','uploadAgain':_0x297136(0x1c3)}};export{o as default};
|
package/lib/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x3ccfa5=_0x21f9;(function(_0x48cc86,_0x337ee0){const _0x58c50d=_0x21f9,_0x182e5c=_0x48cc86();while(!![]){try{const _0x19d985=-parseInt(_0x58c50d(0x142))/0x1+-parseInt(_0x58c50d(0x13f))/0x2*(-parseInt(_0x58c50d(0x13d))/0x3)+parseInt(_0x58c50d(0x146))/0x4*(parseInt(_0x58c50d(0x13e))/0x5)+parseInt(_0x58c50d(0x141))/0x6+parseInt(_0x58c50d(0x145))/0x7+parseInt(_0x58c50d(0x135))/0x8*(parseInt(_0x58c50d(0x149))/0x9)+-parseInt(_0x58c50d(0x13a))/0xa;if(_0x19d985===_0x337ee0)break;else _0x182e5c['push'](_0x182e5c['shift']());}catch(_0x3aa461){_0x182e5c['push'](_0x182e5c['shift']());}}}(_0x156f,0x53f75));function _0x21f9(_0x47e364,_0x1683de){const _0x156f59=_0x156f();return _0x21f9=function(_0x21f9f5,_0x45bba3){_0x21f9f5=_0x21f9f5-0x135;let _0x5cfcac=_0x156f59[_0x21f9f5];return _0x5cfcac;},_0x21f9(_0x47e364,_0x1683de);}function _0x156f(){const _0x6a69a1=['未知錯誤','27DUogqT','490856wOzWic','開啟(檔案)','另存為','內部未知錯誤','請稍等...','9460870ssjgou','網路連線中斷,檔案上傳失敗','上傳中','1160364ubyZTh','185zoUhYh','2unaOkF','檔案上傳成功','3794022awMnqq','399511pwGOju','下載成功','資料流過大','3278674MgHFaQ','1940KSGAoF','下載中'];_0x156f=function(){return _0x6a69a1;};return _0x156f();}const o={'exchange':{'file':'檔案','upload':_0x3ccfa5(0x136),'download':_0x3ccfa5(0x137),'uploading':_0x3ccfa5(0x13c),'uploadSuccess':_0x3ccfa5(0x140),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x3ccfa5(0x147),'downloadSuccess':_0x3ccfa5(0x143),'unknownMistake':_0x3ccfa5(0x148),'networkError':'網路異常','tooLarge':_0x3ccfa5(0x144),'internalError':_0x3ccfa5(0x138),'interrupt':_0x3ccfa5(0x13b),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x3ccfa5(0x139),'cancel':'取消','uploadAgain':'再次上傳'}};export{o as default};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ILogContext, ISnapshotServerService } from '@univerjs-pro/collaboration';
|
2
2
|
import { IWorkbookData, Nullable } from '@univerjs/core';
|
3
|
-
import {
|
3
|
+
import { ICopyFileMetaResponse, IDocumentMeta, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidResponse, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevResponse, ISaveChangesetResponse, ISaveSheetBlockRequest, ISaveSheetBlockResponse, ISaveSnapshotResponse, ISheetBlock, ISnapshot, IWorkbookMeta, IWorksheetMeta } from '@univerjs/protocol';
|
4
4
|
export interface IWorksheetMetaJson extends Omit<IWorksheetMeta, 'originalMeta'> {
|
5
5
|
originalMeta: string;
|
6
6
|
}
|
@@ -62,21 +62,15 @@ export declare function transformSnapshotJsonToWorkbookData(json: ISnapshotBlock
|
|
62
62
|
*/
|
63
63
|
export declare class ClientSnapshotServerService implements ISnapshotServerService {
|
64
64
|
private _sheetBlockCache;
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
/** Save sheet block to a database. */
|
77
|
-
saveSheetBlock(context: ILogContext, params: ISaveSheetBlockRequest): Promise<ISaveSheetBlockResponse>;
|
78
|
-
/** Save changeset to a database. */
|
79
|
-
saveChangeset(context: ILogContext, params: ISaveChangesetRequest): Promise<ISaveChangesetResponse>;
|
80
|
-
copyFileMeta(context: ILogContext, params: ICopyFileMetaRequest): Promise<ICopyFileMetaResponse>;
|
81
|
-
getLatestCsReqIdBySid(context: ILogContext, params: IGetLatestCsReqIdBySidRequest): Promise<IGetLatestCsReqIdBySidResponse>;
|
65
|
+
getUnitOnRev(): Promise<IGetUnitOnRevResponse>;
|
66
|
+
getSheetBlock(_context: ILogContext, params: IGetSheetBlockRequest): Promise<IGetSheetBlockResponse>;
|
67
|
+
getDeserializedSheetBlock(_context: ILogContext, params: IGetSheetBlockRequest): Promise<IGetDeserializedSheetBlockResponse>;
|
68
|
+
fetchMissingChangesets(): Promise<IFetchMissingChangesetsResponse>;
|
69
|
+
getResourcesRequest(): Promise<IGetResourcesResponse>;
|
70
|
+
saveSnapshot(): Promise<ISaveSnapshotResponse>;
|
71
|
+
updateSnapshot(): Promise<ISaveSnapshotResponse>;
|
72
|
+
saveSheetBlock(_context: ILogContext, params: ISaveSheetBlockRequest): Promise<ISaveSheetBlockResponse>;
|
73
|
+
saveChangeset(): Promise<ISaveChangesetResponse>;
|
74
|
+
copyFileMeta(): Promise<ICopyFileMetaResponse>;
|
75
|
+
getLatestCsReqIdBySid(): Promise<IGetLatestCsReqIdBySidResponse>;
|
82
76
|
}
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0xe78e(_0x28488f,_0xb1953d){const _0x3038e0=_0x3038();return _0xe78e=function(_0xe78e1c,_0x4cefe3){_0xe78e1c=_0xe78e1c-0x108;let _0x155d18=_0x3038e0[_0xe78e1c];return _0x155d18;},_0xe78e(_0x28488f,_0xb1953d);}function _0x3038(){const _0x4b67b7=['importDOCXToUnitId','FUniver','exportDOCXByUnitId','UNIVER_SHEET','1764808fPiNBQ','96YyvQZK','UNIVER_UNKNOWN','get','4704zIDgdp','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','importDOCXToSnapshotAsync','UNRECOGNIZED','52199hWOoBM','object','exportDOCXBySnapshotAsync','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','importXLSXToUnitId','exportDOCXByUnitIdAsync','importDOCXToUnitIdAsync','_injector','UniverCoreFacade','importFileToUnitId','importXLSXToSnapshot','IExchangeService','exportXLSXByUnitId','UNIVER_PROJECT','6JwnxKE','5273046UlcVBo','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','exportDOCXBySnapshot','@univerjs/core/facade','amd','21974AipsNo','12914uEPitm','UNIVER_DOC','2016415QoPVKM'];_0x3038=function(){return _0x4b67b7;};return _0x3038();}(function(_0x11c74b,_0x4118f6){const _0x3fd45a=_0xe78e,_0x5669b1=_0x11c74b();while(!![]){try{const _0x201893=-parseInt(_0x3fd45a(0x118))/0x1+-parseInt(_0x3fd45a(0x119))/0x2*(parseInt(_0x3fd45a(0x121))/0x3)+-parseInt(_0x3fd45a(0x120))/0x4+parseInt(_0x3fd45a(0x11b))/0x5+-parseInt(_0x3fd45a(0x110))/0x6*(parseInt(_0x3fd45a(0x12a))/0x7)+-parseInt(_0x3fd45a(0x124))/0x8+parseInt(_0x3fd45a(0x111))/0x9;if(_0x201893===_0x4118f6)break;else _0x5669b1['push'](_0x5669b1['shift']());}catch(_0x313752){_0x5669b1['push'](_0x5669b1['shift']());}}}(_0x3038,0x4c024),function(_0x1e5177,_0x1d94b5){const _0x590576=_0xe78e;typeof exports==_0x590576(0x12b)&&typeof module<'u'?_0x1d94b5(require(_0x590576(0x12d)),require(_0x590576(0x116))):typeof define=='function'&&define[_0x590576(0x117)]?define(['@univerjs-pro/exchange-client',_0x590576(0x116)],_0x1d94b5):(_0x1e5177=typeof globalThis<'u'?globalThis:_0x1e5177||self,_0x1d94b5(_0x1e5177['UniverProExchangeClient'],_0x1e5177[_0x590576(0x10a)]));}(this,function(_0x4409b5,_0x5b9dc9){'use strict';const _0x100a3b=_0xe78e;var _0x597386=(_0x4eb52a=>(_0x4eb52a[_0x4eb52a[_0x100a3b(0x122)]=0x0]=_0x100a3b(0x122),_0x4eb52a[_0x4eb52a[_0x100a3b(0x11a)]=0x1]='UNIVER_DOC',_0x4eb52a[_0x4eb52a[_0x100a3b(0x11f)]=0x2]=_0x100a3b(0x11f),_0x4eb52a[_0x4eb52a['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4eb52a[_0x4eb52a[_0x100a3b(0x10f)]=0x4]='UNIVER_PROJECT',_0x4eb52a[_0x4eb52a[_0x100a3b(0x129)]=-0x1]='UNRECOGNIZED',_0x4eb52a))(_0x597386||{});class _0x1aa79a extends _0x5b9dc9['FUniver']{async[_0x100a3b(0x12f)](_0x7369ee){const _0x21b281=_0x100a3b;return this[_0x21b281(0x112)](_0x7369ee);}async[_0x100a3b(0x112)](_0x20faaf){const _0x1a1abd=_0x100a3b,_0x1aa293=this[_0x1a1abd(0x109)][_0x1a1abd(0x123)](_0x4409b5['IExchangeService']);if(!_0x1aa293)throw new Error(_0x1a1abd(0x126));return _0x1aa293[_0x1a1abd(0x10b)](_0x20faaf,_0x597386['UNIVER_SHEET']);}async[_0x100a3b(0x10c)](_0x57de4e){return this['importXLSXToSnapshotAsync'](_0x57de4e);}async[_0x100a3b(0x125)](_0x16aaf1){const _0x5dbfe2=_0x100a3b,_0x44a302=this[_0x5dbfe2(0x109)]['get'](_0x4409b5[_0x5dbfe2(0x10d)]);if(!_0x44a302)throw new Error(_0x5dbfe2(0x126));return _0x44a302['importXLSXToSnapshot'](_0x16aaf1);}async['exportXLSXByUnitId'](_0x44b09d){return this['exportXLSXByUnitIdAsync'](_0x44b09d);}async[_0x100a3b(0x12e)](_0x2c7415){const _0x3834b5=_0x100a3b,_0x5e5212=this[_0x3834b5(0x109)][_0x3834b5(0x123)](_0x4409b5[_0x3834b5(0x10d)]);if(!_0x5e5212)throw new Error(_0x3834b5(0x126));return _0x5e5212[_0x3834b5(0x10e)](_0x2c7415);}async[_0x100a3b(0x114)](_0x131de0){const _0x2a4706=_0x100a3b;return this[_0x2a4706(0x113)](_0x131de0);}async['exportXLSXBySnapshotAsync'](_0xd70920){const _0x3611bc=_0x100a3b,_0x47c1e7=this['_injector']['get'](_0x4409b5[_0x3611bc(0x10d)]);if(!_0x47c1e7)throw new Error(_0x3611bc(0x126));return _0x47c1e7['exportXLSXBySnapshot'](_0xd70920);}async[_0x100a3b(0x11c)](_0x1f0028){const _0x397875=_0x100a3b;return this[_0x397875(0x108)](_0x1f0028);}async[_0x100a3b(0x108)](_0xfafca5){const _0x44d706=_0x100a3b,_0x1de81b=this[_0x44d706(0x109)][_0x44d706(0x123)](_0x4409b5['IExchangeService']);if(!_0x1de81b)throw new Error(_0x44d706(0x126));return _0x1de81b[_0x44d706(0x10b)](_0xfafca5,_0x597386['UNIVER_DOC']);}async[_0x100a3b(0x127)](_0x57309f){const _0x1f4ce6=_0x100a3b;return this[_0x1f4ce6(0x128)](_0x57309f);}async[_0x100a3b(0x128)](_0x43bc38){const _0x37e20a=_0x100a3b,_0x43a53e=this['_injector']['get'](_0x4409b5[_0x37e20a(0x10d)]);if(!_0x43a53e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43a53e[_0x37e20a(0x127)](_0x43bc38);}async[_0x100a3b(0x12c)](_0x53682e){const _0x57025f=_0x100a3b,_0x1fad0d=this[_0x57025f(0x109)][_0x57025f(0x123)](_0x4409b5[_0x57025f(0x10d)]);if(!_0x1fad0d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1fad0d[_0x57025f(0x115)](_0x53682e);}async[_0x100a3b(0x130)](_0xc24d27){const _0x20f5af=_0x100a3b,_0x57086e=this['_injector']['get'](_0x4409b5[_0x20f5af(0x10d)]);if(!_0x57086e)throw new Error(_0x20f5af(0x126));return _0x57086e[_0x20f5af(0x11e)](_0xc24d27);}}_0x5b9dc9[_0x100a3b(0x11d)]['extend'](_0x1aa79a);}));
|