@univerjs-pro/exchange-client 0.5.4-nightly.202501160949 → 0.5.4-nightly.202501170612
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/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 +6 -6
package/lib/es/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x5a1ac3=_0x24bf;function _0x41d7(){const _0x263d42=['89272thlQAl','Data\x20is\x20too\x20large','2EbwfJg','107510bsifAZ','Download\x20success','Downloading','4029375ryobMT','539tSpuQL','2809362SYvKGz','35412gFhBrR','File\x20uploaded\x20successfully','4457968NNciEP','Please\x20wait...','992566EsZNZc','145hjmXCn','909aLYzax','{0}\x20file(s)\x20uploaded\x20successfully','Uploading','Save\x20As','Upload\x20again','Unknown\x20mistake'];_0x41d7=function(){return _0x263d42;};return _0x41d7();}function _0x24bf(_0x4de06f,_0x3461e4){const _0x41d701=_0x41d7();return _0x24bf=function(_0x24bf4d,_0x3dabb7){_0x24bf4d=_0x24bf4d-0x11a;let _0x12c79a=_0x41d701[_0x24bf4d];return _0x12c79a;},_0x24bf(_0x4de06f,_0x3461e4);}(function(_0x15c99b,_0x290eeb){const _0x115598=_0x24bf,_0x5c2128=_0x15c99b();while(!![]){try{const _0x28cdbd=-parseInt(_0x115598(0x12b))/0x1*(-parseInt(_0x115598(0x121))/0x2)+parseInt(_0x115598(0x11c))/0x3+-parseInt(_0x115598(0x11f))/0x4+-parseInt(_0x115598(0x122))/0x5*(parseInt(_0x115598(0x11d))/0x6)+parseInt(_0x115598(0x11a))/0x7+-parseInt(_0x115598(0x129))/0x8*(parseInt(_0x115598(0x123))/0x9)+-parseInt(_0x115598(0x12c))/0xa*(-parseInt(_0x115598(0x11b))/0xb);if(_0x28cdbd===_0x290eeb)break;else _0x5c2128['push'](_0x5c2128['shift']());}catch(_0x19ccdb){_0x5c2128['push'](_0x5c2128['shift']());}}}(_0x41d7,0x970ef));const e={'exchange':{'file':'File','upload':'Open(File)','download':_0x5a1ac3(0x126),'uploading':_0x5a1ac3(0x125),'uploadSuccess':_0x5a1ac3(0x11e),'uploadSuccessTip':_0x5a1ac3(0x124),'downloading':_0x5a1ac3(0x12e),'downloadSuccess':_0x5a1ac3(0x12d),'unknownMistake':_0x5a1ac3(0x128),'networkError':'Network\x20error','tooLarge':_0x5a1ac3(0x12a),'internalError':'Internal\x20unknown\x20error','interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','wait':_0x5a1ac3(0x120),'cancel':'Cancel','uploadAgain':_0x5a1ac3(0x127)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x30c0f7=_0x5797;(function(_0x1fe555,_0x5c4a30){const _0x49e7e5=_0x5797,_0x34e2a9=_0x1fe555();while(!![]){try{const _0x112b9f=parseInt(_0x49e7e5(0x1b3))/0x1*(parseInt(_0x49e7e5(0x1af))/0x2)+parseInt(_0x49e7e5(0x1b5))/0x3*(-parseInt(_0x49e7e5(0x1a9))/0x4)+-parseInt(_0x49e7e5(0x1ae))/0x5+parseInt(_0x49e7e5(0x1bb))/0x6*(parseInt(_0x49e7e5(0x1b7))/0x7)+parseInt(_0x49e7e5(0x1a8))/0x8+-parseInt(_0x49e7e5(0x1a6))/0x9+parseInt(_0x49e7e5(0x1ba))/0xa*(parseInt(_0x49e7e5(0x1a7))/0xb);if(_0x112b9f===_0x5c4a30)break;else _0x34e2a9['push'](_0x34e2a9['shift']());}catch(_0x1f1e9){_0x34e2a9['push'](_0x34e2a9['shift']());}}}(_0x3f1d,0x60df0));function _0x5797(_0x1e0fe9,_0x48c4a9){const _0x3f1d02=_0x3f1d();return _0x5797=function(_0x5797f0,_0x227c6c){_0x5797f0=_0x5797f0-0x1a6;let _0x4fe063=_0x3f1d02[_0x5797f0];return _0x4fe063;},_0x5797(_0x1e0fe9,_0x48c4a9);}const o={'exchange':{'file':_0x30c0f7(0x1b9),'upload':'بازکردن(فایل)','download':'ذخیره\x20به\x20عنوان','uploading':_0x30c0f7(0x1ad),'uploadSuccess':_0x30c0f7(0x1b6),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x30c0f7(0x1b4),'downloadSuccess':_0x30c0f7(0x1b8),'unknownMistake':_0x30c0f7(0x1ab),'networkError':_0x30c0f7(0x1ac),'tooLarge':_0x30c0f7(0x1b0),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0x30c0f7(0x1b1),'wait':_0x30c0f7(0x1aa),'cancel':'لغو','uploadAgain':_0x30c0f7(0x1b2)}};export{o as default};function _0x3f1d(){const _0x1911dd=['اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','بارگذاری\x20مجدد','549651xyriGt','در\x20حال\x20دانلود','45sPLxuZ','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','7OcReJf','دانلود\x20موفقیت\x20آمیز','فایل','10750BMpLJI','254094kMYVwp','1506492yDCHNG','5071xBYXDL','47992rtEErW','37152YZRRLh','لطفا\x20صبر\x20کنید...','خطای\x20ناشناخته','خطای\x20شبکه','در\x20حال\x20بارگذاری','1950410nYqJQR','2aikTiq','داده\x20خیلی\x20بزرگ\x20است'];_0x3f1d=function(){return _0x1911dd;};return _0x3f1d();}
|
package/lib/es/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
const _0x5e0589=_0x348f;function _0x348f(_0x4bfaf9,_0x240e89){const _0x2e7a0e=_0x2e7a();return _0x348f=function(_0x348f28,_0xf9b617){_0x348f28=_0x348f28-0x105;let _0x168f02=_0x2e7a0e[_0x348f28];return _0x168f02;},_0x348f(_0x4bfaf9,_0x240e89);}(function(_0x3d966a,_0x52a052){const _0x2932ff=_0x348f,_0x1e608f=_0x3d966a();while(!![]){try{const _0x4813e4=-parseInt(_0x2932ff(0x110))/0x1+-parseInt(_0x2932ff(0x119))/0x2+parseInt(_0x2932ff(0x112))/0x3+-parseInt(_0x2932ff(0x111))/0x4+-parseInt(_0x2932ff(0x114))/0x5*(-parseInt(_0x2932ff(0x10a))/0x6)+-parseInt(_0x2932ff(0x109))/0x7*(-parseInt(_0x2932ff(0x118))/0x8)+parseInt(_0x2932ff(0x106))/0x9*(parseInt(_0x2932ff(0x113))/0xa);if(_0x4813e4===_0x52a052)break;else _0x1e608f['push'](_0x1e608f['shift']());}catch(_0x340a38){_0x1e608f['push'](_0x1e608f['shift']());}}}(_0x2e7a,0xcf09a));function _0x2e7a(){const _0x363bcb=['340qQIzUY','10WCLIUs','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed.','Upload\x20again','Open(File)','1139048BRxRxi','2482086SGZuLk','Uploading','{0}\x20file(s)\x20uploaded\x20successfully','453429ukQXwM','Data\x20is\x20too\x20large','File','56BbALno','1412682oLErzJ','Internal\x20unknown\x20error','Network\x20error','Please\x20wait...','Save\x20As','Cancel','969862nplREr','3461248lAEfBw','1804041PsFmPg'];_0x2e7a=function(){return _0x363bcb;};return _0x2e7a();}const e={'exchange':{'file':_0x5e0589(0x108),'upload':_0x5e0589(0x117),'download':_0x5e0589(0x10e),'uploading':_0x5e0589(0x11a),'uploadSuccess':'File\x20uploaded\x20successfully','uploadSuccessTip':_0x5e0589(0x105),'downloading':'Downloading','downloadSuccess':'Download\x20success','unknownMistake':'Unknown\x20mistake','networkError':_0x5e0589(0x10c),'tooLarge':_0x5e0589(0x107),'internalError':_0x5e0589(0x10b),'interrupt':_0x5e0589(0x115),'wait':_0x5e0589(0x10d),'cancel':_0x5e0589(0x10f),'uploadAgain':_0x5e0589(0x116)}},o=e;export{o as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0xf91071=_0xeb76;(function(_0x17ea94,_0x5a7e99){const _0x5f466c=_0xeb76,_0x1bf00b=_0x17ea94();while(!![]){try{const _0x33ffdf=parseInt(_0x5f466c(0x1e8))/0x1+parseInt(_0x5f466c(0x1ec))/0x2+parseInt(_0x5f466c(0x1f5))/0x3*(parseInt(_0x5f466c(0x1f2))/0x4)+parseInt(_0x5f466c(0x1ea))/0x5+parseInt(_0x5f466c(0x1f7))/0x6*(-parseInt(_0x5f466c(0x1f6))/0x7)+-parseInt(_0x5f466c(0x1f3))/0x8*(-parseInt(_0x5f466c(0x1fa))/0x9)+-parseInt(_0x5f466c(0x1ef))/0xa*(parseInt(_0x5f466c(0x1f8))/0xb);if(_0x33ffdf===_0x5a7e99)break;else _0x1bf00b['push'](_0x1bf00b['shift']());}catch(_0x310841){_0x1bf00b['push'](_0x1bf00b['shift']());}}}(_0x516e,0xc2bed));function _0x516e(){const _0x26a351=['1337802whVRJw','Сохранить\x20как','Пожалуйста,\x20подождите...','10ZZwdRT','Открыть(Файл)','Скачивание','4VFlVAt','334840tendlC','Скачивание\x20успешно','3669987kcjdEM','791lXRbBN','59688ciHxRo','26077062QzolRO','{0}\x20файл(ов)\x20успешно\x20загружен(о)','171DHUgvA','557243gJjsfe','Данные\x20слишком\x20большие','5238625QEdkLw','Загрузка'];_0x516e=function(){return _0x26a351;};return _0x516e();}const o={'exchange':{'file':'Файл','upload':_0xf91071(0x1f0),'download':_0xf91071(0x1ed),'uploading':_0xf91071(0x1eb),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0xf91071(0x1f9),'downloading':_0xf91071(0x1f1),'downloadSuccess':_0xf91071(0x1f4),'unknownMistake':'Неизвестная\x20ошибка','networkError':'Сетевая\x20ошибка','tooLarge':_0xf91071(0x1e9),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась.','wait':_0xf91071(0x1ee),'cancel':'Отмена','uploadAgain':'Загрузить\x20снова'}};function _0xeb76(_0x34b56e,_0x1f09d3){const _0x516ea8=_0x516e();return _0xeb76=function(_0xeb764c,_0x46bb7e){_0xeb764c=_0xeb764c-0x1e8;let _0x4b2b4a=_0x516ea8[_0xeb764c];return _0x4b2b4a;},_0xeb76(_0x34b56e,_0x1f09d3);}export{o as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x5445(){const _0x2988b4=['Tải\x20lên\x20lại','Hủy\x20bỏ','2DUDXyr','6325955iguClb','1328412SQsIkx','9kfuNbF','6050454kGdhKr','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','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.','1385506MgEEsF','8550647wuVeTZ','9658206bwhMSc','Mở\x20(Tệp)','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Tải\x20xuống\x20thành\x20công','Lưu\x20dưới\x20dạng','Đang\x20tải\x20lên','6524576CEpfoO'];_0x5445=function(){return _0x2988b4;};return _0x5445();}const _0x2a8e95=_0x5c93;(function(_0x1f4366,_0x4d0f4d){const _0x5db20c=_0x5c93,_0x1b929b=_0x1f4366();while(!![]){try{const _0x2f63ef=parseInt(_0x5db20c(0x184))/0x1*(-parseInt(_0x5db20c(0x179))/0x2)+parseInt(_0x5db20c(0x187))/0x3*(parseInt(_0x5db20c(0x186))/0x4)+parseInt(_0x5db20c(0x185))/0x5+-parseInt(_0x5db20c(0x188))/0x6+parseInt(_0x5db20c(0x17a))/0x7+parseInt(_0x5db20c(0x181))/0x8+-parseInt(_0x5db20c(0x17b))/0x9;if(_0x2f63ef===_0x4d0f4d)break;else _0x1b929b['push'](_0x1b929b['shift']());}catch(_0x275d03){_0x1b929b['push'](_0x1b929b['shift']());}}}(_0x5445,0xcb038));function _0x5c93(_0x31a9e4,_0x242e21){const _0x544507=_0x5445();return _0x5c93=function(_0x5c93b1,_0x3f2a77){_0x5c93b1=_0x5c93b1-0x177;let _0x3dd8e9=_0x544507[_0x5c93b1];return _0x3dd8e9;},_0x5c93(_0x31a9e4,_0x242e21);}const n={'exchange':{'file':'Tệp','upload':_0x2a8e95(0x17c),'download':_0x2a8e95(0x17f),'uploading':_0x2a8e95(0x180),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x2a8e95(0x189),'downloading':'Đang\x20tải\x20xuống','downloadSuccess':_0x2a8e95(0x17e),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':'Lỗi\x20mạng','tooLarge':_0x2a8e95(0x17d),'internalError':_0x2a8e95(0x177),'interrupt':_0x2a8e95(0x178),'wait':'Vui\x20lòng\x20đợi...','cancel':_0x2a8e95(0x183),'uploadAgain':_0x2a8e95(0x182)}};export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x13bc(){const _0x259879=['网络异常','文件上传成功','未知错误','240616cbeJHi','159OAqhnN','1180820czvFJO','128190PgZfEs','{0}个文件上传成功','网络连接中断,文件上传失败。','725050oqahli','另存为','打开(文件)','上传中','477408UyreaZ','下载成功','14kfEfTQ','85900HUkJGr','121tvYlEf','内部未知错误','数据流过大','117Lwgigs','7414SAyAUg'];_0x13bc=function(){return _0x259879;};return _0x13bc();}const _0x36ded1=_0x40a4;function _0x40a4(_0x31cec7,_0x11d530){const _0x13bc72=_0x13bc();return _0x40a4=function(_0x40a4e6,_0x374200){_0x40a4e6=_0x40a4e6-0xf5;let _0x307ace=_0x13bc72[_0x40a4e6];return _0x307ace;},_0x40a4(_0x31cec7,_0x11d530);}(function(_0x4ea5fd,_0x393c22){const _0x27c88f=_0x40a4,_0x4663b8=_0x4ea5fd();while(!![]){try{const _0x5e62c0=parseInt(_0x27c88f(0xfb))/0x1+-parseInt(_0x27c88f(0x103))/0x2*(-parseInt(_0x27c88f(0x108))/0x3)+-parseInt(_0x27c88f(0xfe))/0x4+parseInt(_0x27c88f(0x109))/0x5+parseInt(_0x27c88f(0x10a))/0x6*(-parseInt(_0x27c88f(0xfd))/0x7)+parseInt(_0x27c88f(0x107))/0x8*(parseInt(_0x27c88f(0x102))/0x9)+-parseInt(_0x27c88f(0xf7))/0xa*(parseInt(_0x27c88f(0xff))/0xb);if(_0x5e62c0===_0x393c22)break;else _0x4663b8['push'](_0x4663b8['shift']());}catch(_0x468fa2){_0x4663b8['push'](_0x4663b8['shift']());}}}(_0x13bc,0x6b3f4));const o={'exchange':{'file':'文件','upload':_0x36ded1(0xf9),'download':_0x36ded1(0xf8),'uploading':_0x36ded1(0xfa),'uploadSuccess':_0x36ded1(0x105),'uploadSuccessTip':_0x36ded1(0xf5),'downloading':'下载中','downloadSuccess':_0x36ded1(0xfc),'unknownMistake':_0x36ded1(0x106),'networkError':_0x36ded1(0x104),'tooLarge':_0x36ded1(0x101),'internalError':_0x36ded1(0x100),'interrupt':_0x36ded1(0xf6),'wait':'请稍等...','cancel':'取消','uploadAgain':'再次上传'}};export{o as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x1dc607=_0xbdc5;(function(_0x4ce00f,_0x484942){const _0x364dfc=_0xbdc5,_0x198bf9=_0x4ce00f();while(!![]){try{const _0x1f37ce=parseInt(_0x364dfc(0xb4))/0x1+-parseInt(_0x364dfc(0xbb))/0x2+-parseInt(_0x364dfc(0xad))/0x3+parseInt(_0x364dfc(0xb1))/0x4+-parseInt(_0x364dfc(0xb7))/0x5+parseInt(_0x364dfc(0xb2))/0x6+parseInt(_0x364dfc(0xaf))/0x7;if(_0x1f37ce===_0x484942)break;else _0x198bf9['push'](_0x198bf9['shift']());}catch(_0x3368c7){_0x198bf9['push'](_0x198bf9['shift']());}}}(_0x54c3,0x20b76));const o={'exchange':{'file':'檔案','upload':_0x1dc607(0xae),'download':_0x1dc607(0xb0),'uploading':'上傳中','uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x1dc607(0xb5),'downloading':'下載中','downloadSuccess':_0x1dc607(0xbc),'unknownMistake':_0x1dc607(0xba),'networkError':_0x1dc607(0xac),'tooLarge':_0x1dc607(0xb3),'internalError':_0x1dc607(0xb9),'interrupt':_0x1dc607(0xb8),'wait':_0x1dc607(0xb6),'cancel':'取消','uploadAgain':'再次上傳'}};function _0xbdc5(_0x2e8081,_0x1ede09){const _0x54c377=_0x54c3();return _0xbdc5=function(_0xbdc5e5,_0x4b90d5){_0xbdc5e5=_0xbdc5e5-0xac;let _0x13e261=_0x54c377[_0xbdc5e5];return _0x13e261;},_0xbdc5(_0x2e8081,_0x1ede09);}export{o as default};function _0x54c3(){const _0xc318a8=['開啟(檔案)','2099846tpDWLI','另存為','576308CCWVJs','298158hSzWWg','資料流過大','18293AdvZOm','{0}個檔案上傳成功','請稍等...','484550UNurRz','網路連線中斷,檔案上傳失敗。\x20','內部未知錯誤','未知錯誤','519846aUofsc','下載成功','網路異常','63606NbeElS'];_0x54c3=function(){return _0xc318a8;};return _0x54c3();}
|
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
|
*/
|
package/lib/umd/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function _0x289c(){const _0x302e5a=['11yttcMr','213628sbvEna','85778cvjBMR','UniverCore','UNIVER_UNKNOWN','8746690NmphVJ','importXLSXToUnitId','FUniver','importDOCXToUnitIdAsync','extend','139038uyNsbi','exportXLSXByUnitId','@univerjs/core','UNRECOGNIZED','get','importXLSXToUnitIdAsync','function','exportXLSXBySnapshot','importDOCXToSnapshotAsync','383628wQgBiO','@univerjs-pro/exchange-client','688mvztdN','importFileToUnitId','exportXLSXBySnapshotAsync','6401394jgaZsN','UNIVER_DOC','295biLedC','UNIVER_PROJECT','UniverProExchangeClient','_injector','The\x20exchange\x20service\x20is\x20not\x20available','3sdhSiP','importXLSXToSnapshotAsync','2878608nIooAO','importDOCXToSnapshot','UNIVER_SHEET','UNIVER_SLIDE','IExchangeService','exportXLSXByUnitIdAsync','amd','importXLSXToSnapshot'];_0x289c=function(){return _0x302e5a;};return _0x289c();}function _0x163b(_0xdce7f0,_0x1a1805){const _0x289cbf=_0x289c();return _0x163b=function(_0x163bbe,_0x3d8565){_0x163bbe=_0x163bbe-0x19c;let _0x24df3b=_0x289cbf[_0x163bbe];return _0x24df3b;},_0x163b(_0xdce7f0,_0x1a1805);}(function(_0x4cd7dc,_0x3db624){const _0x195c7f=_0x163b,_0x4fcd9f=_0x4cd7dc();while(!![]){try{const _0x163f48=-parseInt(_0x195c7f(0x1ba))/0x1*(-parseInt(_0x195c7f(0x19c))/0x2)+parseInt(_0x195c7f(0x1bc))/0x3+-parseInt(_0x195c7f(0x1ae))/0x4+parseInt(_0x195c7f(0x1b5))/0x5*(-parseInt(_0x195c7f(0x1a5))/0x6)+-parseInt(_0x195c7f(0x19d))/0x7*(-parseInt(_0x195c7f(0x1b0))/0x8)+parseInt(_0x195c7f(0x1b3))/0x9+-parseInt(_0x195c7f(0x1a0))/0xa*(parseInt(_0x195c7f(0x1c4))/0xb);if(_0x163f48===_0x3db624)break;else _0x4fcd9f['push'](_0x4fcd9f['shift']());}catch(_0x4a3064){_0x4fcd9f['push'](_0x4fcd9f['shift']());}}}(_0x289c,0xacae9),function(_0x55b6b0,_0x143435){const _0x271da7=_0x163b;typeof exports=='object'&&typeof module<'u'?_0x143435(require(_0x271da7(0x1af)),require(_0x271da7(0x1a7))):typeof define==_0x271da7(0x1ab)&&define[_0x271da7(0x1c2)]?define([_0x271da7(0x1af),'@univerjs/core'],_0x143435):(_0x55b6b0=typeof globalThis<'u'?globalThis:_0x55b6b0||self,_0x143435(_0x55b6b0[_0x271da7(0x1b7)],_0x55b6b0[_0x271da7(0x19e)]));}(this,function(_0x28f610,_0x50d808){'use strict';const _0xd3b215=_0x163b;var _0x3e7212=(_0x1f7853=>(_0x1f7853[_0x1f7853[_0xd3b215(0x19f)]=0x0]=_0xd3b215(0x19f),_0x1f7853[_0x1f7853[_0xd3b215(0x1b4)]=0x1]=_0xd3b215(0x1b4),_0x1f7853[_0x1f7853[_0xd3b215(0x1be)]=0x2]=_0xd3b215(0x1be),_0x1f7853[_0x1f7853[_0xd3b215(0x1bf)]=0x3]=_0xd3b215(0x1bf),_0x1f7853[_0x1f7853[_0xd3b215(0x1b6)]=0x4]=_0xd3b215(0x1b6),_0x1f7853[_0x1f7853['UNRECOGNIZED']=-0x1]=_0xd3b215(0x1a8),_0x1f7853))(_0x3e7212||{});class _0x47ef03 extends _0x50d808[_0xd3b215(0x1a2)]{async[_0xd3b215(0x1a1)](_0x2e577f){const _0x53bf3a=_0xd3b215;return this[_0x53bf3a(0x1aa)](_0x2e577f);}async[_0xd3b215(0x1aa)](_0xb4ae03){const _0xd047f=_0xd3b215,_0x9276d6=this['_injector'][_0xd047f(0x1a9)](_0x28f610['IExchangeService']);if(!_0x9276d6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x9276d6[_0xd047f(0x1b1)](_0xb4ae03,_0x3e7212[_0xd047f(0x1be)]);}async[_0xd3b215(0x1c3)](_0x305355){const _0x5c2a4e=_0xd3b215;return this[_0x5c2a4e(0x1bb)](_0x305355);}async['importXLSXToSnapshotAsync'](_0x25d1aa){const _0x21dd53=_0xd3b215,_0x2549e8=this[_0x21dd53(0x1b8)][_0x21dd53(0x1a9)](_0x28f610[_0x21dd53(0x1c0)]);if(!_0x2549e8)throw new Error(_0x21dd53(0x1b9));return _0x2549e8[_0x21dd53(0x1c3)](_0x25d1aa);}async[_0xd3b215(0x1a6)](_0x3f833c){const _0x8186f6=_0xd3b215;return this[_0x8186f6(0x1c1)](_0x3f833c);}async[_0xd3b215(0x1c1)](_0x267e06){const _0x3492d2=_0xd3b215,_0x4d2e7c=this[_0x3492d2(0x1b8)]['get'](_0x28f610['IExchangeService']);if(!_0x4d2e7c)throw new Error(_0x3492d2(0x1b9));return _0x4d2e7c['exportXLSXByUnitId'](_0x267e06);}async[_0xd3b215(0x1ac)](_0x2bcbef){const _0x267c50=_0xd3b215;return this[_0x267c50(0x1b2)](_0x2bcbef);}async[_0xd3b215(0x1b2)](_0x179249){const _0x24c605=_0xd3b215,_0x3407ea=this['_injector'][_0x24c605(0x1a9)](_0x28f610['IExchangeService']);if(!_0x3407ea)throw new Error(_0x24c605(0x1b9));return _0x3407ea[_0x24c605(0x1ac)](_0x179249);}async['importDOCXToUnitId'](_0x5356b6){const _0x5b95fa=_0xd3b215;return this[_0x5b95fa(0x1a3)](_0x5356b6);}async[_0xd3b215(0x1a3)](_0x4adf2a){const _0x2bb0a1=_0xd3b215,_0x21cfb9=this[_0x2bb0a1(0x1b8)][_0x2bb0a1(0x1a9)](_0x28f610[_0x2bb0a1(0x1c0)]);if(!_0x21cfb9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x21cfb9[_0x2bb0a1(0x1b1)](_0x4adf2a,_0x3e7212[_0x2bb0a1(0x1b4)]);}async['importDOCXToSnapshot'](_0x5f3664){const _0x54be27=_0xd3b215;return this[_0x54be27(0x1ad)](_0x5f3664);}async['importDOCXToSnapshotAsync'](_0x7e1008){const _0x1f20cb=_0xd3b215,_0xce6b66=this[_0x1f20cb(0x1b8)][_0x1f20cb(0x1a9)](_0x28f610[_0x1f20cb(0x1c0)]);if(!_0xce6b66)throw new Error(_0x1f20cb(0x1b9));return _0xce6b66[_0x1f20cb(0x1bd)](_0x7e1008);}}_0x50d808[_0xd3b215(0x1a2)][_0xd3b215(0x1a4)](_0x47ef03);}));
|