@univerjs-pro/exchange-client 0.7.0 → 0.8.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +2 -2
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +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/facade/f-univer.d.ts +28 -0
- package/lib/types/locale/en-US.d.ts +21 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -22
- package/lib/types/locale/zh-TW.d.ts +2 -2
- package/lib/types/services/operate.service.d.ts +2 -0
- 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 +9 -9
package/lib/cjs/locale/en-US.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x930e(_0x4afd53,_0x4b8a48){const _0x3f1701=_0x3f17();return _0x930e=function(_0x930e9c,_0x37b406){_0x930e9c=_0x930e9c-0x1c5;let _0x4824a=_0x3f1701[_0x930e9c];return _0x4824a;},_0x930e(_0x4afd53,_0x4b8a48);}function _0x3f17(){const _0x50d2ac=['Cancel','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','42473OcpgJg','7nlJRFe','Downloading','14zxcYio','6ZGGVjL','File\x20uploaded\x20successfully','Network\x20error','Download\x20success','12sEDkTO','104052TUioub','Unknown\x20mistake','Upload\x20again','Data\x20is\x20too\x20large','Internal\x20unknown\x20error','1617xmuqyi','Uploading','5103243QyVHgC','Please\x20wait...','File','Save\x20As','680139mrQGrm','{0}\x20file(s)\x20uploaded\x20successfully','5587810XblAtL','5499688KKAzHz','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','3081220OsihMv'];_0x3f17=function(){return _0x50d2ac;};return _0x3f17();}const _0x9c65ea=_0x930e;(function(_0x51349a,_0x28777e){const _0x9494fa=_0x930e,_0x31ef20=_0x51349a();while(!![]){try{const _0x4296b8=parseInt(_0x9494fa(0x1d9))/0x1*(-parseInt(_0x9494fa(0x1dc))/0x2)+parseInt(_0x9494fa(0x1d1))/0x3*(parseInt(_0x9494fa(0x1c5))/0x4)+-parseInt(_0x9494fa(0x1d6))/0x5*(-parseInt(_0x9494fa(0x1dd))/0x6)+-parseInt(_0x9494fa(0x1da))/0x7*(-parseInt(_0x9494fa(0x1d4))/0x8)+parseInt(_0x9494fa(0x1cd))/0x9+-parseInt(_0x9494fa(0x1d3))/0xa+parseInt(_0x9494fa(0x1cb))/0xb*(-parseInt(_0x9494fa(0x1c6))/0xc);if(_0x4296b8===_0x28777e)break;else _0x31ef20['push'](_0x31ef20['shift']());}catch(_0x532b89){_0x31ef20['push'](_0x31ef20['shift']());}}}(_0x3f17,0x6692e));const e={'exchange':{'file':_0x9c65ea(0x1cf),'upload':'Open(File)','download':_0x9c65ea(0x1d0),'uploading':_0x9c65ea(0x1cc),'uploadSuccess':_0x9c65ea(0x1de),'uploadSuccessTip':_0x9c65ea(0x1d2),'downloading':_0x9c65ea(0x1db),'downloadSuccess':_0x9c65ea(0x1e0),'unknownMistake':_0x9c65ea(0x1c7),'networkError':_0x9c65ea(0x1df),'tooLarge':_0x9c65ea(0x1c9),'internalError':_0x9c65ea(0x1ca),'interrupt':_0x9c65ea(0x1d5),'fileTypeError':_0x9c65ea(0x1d8),'wait':_0x9c65ea(0x1ce),'cancel':_0x9c65ea(0x1d7),'uploadAgain':_0x9c65ea(0x1c8)}};module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x32e7e0=_0xbf2c;(function(_0x30b53f,_0x3320e6){const _0xc94366=_0xbf2c,_0x6b3ad9=_0x30b53f();while(!![]){try{const _0x2411f3=-parseInt(_0xc94366(0xbe))/0x1+-parseInt(_0xc94366(0xc7))/0x2*(parseInt(_0xc94366(0xc3))/0x3)+parseInt(_0xc94366(0xcf))/0x4*(-parseInt(_0xc94366(0xb8))/0x5)+-parseInt(_0xc94366(0xba))/0x6*(parseInt(_0xc94366(0xbc))/0x7)+-parseInt(_0xc94366(0xc4))/0x8+parseInt(_0xc94366(0xc6))/0x9*(-parseInt(_0xc94366(0xb9))/0xa)+-parseInt(_0xc94366(0xc0))/0xb*(-parseInt(_0xc94366(0xcc))/0xc);if(_0x2411f3===_0x3320e6)break;else _0x6b3ad9['push'](_0x6b3ad9['shift']());}catch(_0x503e17){_0x6b3ad9['push'](_0x6b3ad9['shift']());}}}(_0x561e,0x5fbff));function _0x561e(){const _0x536336=['9NCHplH','482722mDTtWu','در\x20حال\x20بارگذاری','خطای\x20ناشناخته','لطفا\x20صبر\x20کنید...','بازکردن(فایل)','12qIkXVs','خطای\x20داخلی\x20ناشناخته','لغو','8MVqrXm','فایل','1059465xPqAvP','5847480CInilW','1043106GqIPSN','دانلود\x20موفقیت\x20آمیز','7xnXhho','در\x20حال\x20دانلود','773923FlzTUi','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','36140203VNvMui','exports','بارگذاری\x20مجدد','9YhfmYe','1703128vJTuvW','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد'];_0x561e=function(){return _0x536336;};return _0x561e();}const o={'exchange':{'file':_0x32e7e0(0xb7),'upload':_0x32e7e0(0xcb),'download':'ذخیره\x20به\x20عنوان','uploading':_0x32e7e0(0xc8),'uploadSuccess':_0x32e7e0(0xc5),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x32e7e0(0xbd),'downloadSuccess':_0x32e7e0(0xbb),'unknownMistake':_0x32e7e0(0xc9),'networkError':'خطای\x20شبکه','tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':_0x32e7e0(0xcd),'interrupt':_0x32e7e0(0xbf),'fileTypeError':'فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','wait':_0x32e7e0(0xca),'cancel':_0x32e7e0(0xce),'uploadAgain':_0x32e7e0(0xc2)}};function _0xbf2c(_0x37ceb7,_0x1f8df7){const _0x561e44=_0x561e();return _0xbf2c=function(_0xbf2cd8,_0x344666){_0xbf2cd8=_0xbf2cd8-0xb7;let _0x3291a6=_0x561e44[_0xbf2cd8];return _0x3291a6;},_0xbf2c(_0x37ceb7,_0x1f8df7);}module[_0x32e7e0(0xc1)]=o;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x24f1(){const _0x1f1e1=['35IMxJQA','Erreur\x20inconnue','241734tGxXcl','Annuler','1383697DlVYaA','Téléchargement\x20en\x20cours','128943REJBQC','176zZPLxx','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','1975012NlisXV','4609470FScaLK','Enregistrer\x20sous','Les\x20données\x20sont\x20trop\x20volumineuses','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Ouvrir\x20(Fichier)','679419jMIlNB','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','exports','Téléchargement','Erreur\x20réseau','Télécharger\x20à\x20nouveau','385383oOXDHF','8BdPjJZ'];_0x24f1=function(){return _0x1f1e1;};return _0x24f1();}const _0x3046d0=_0x5a7a;(function(_0x58497c,_0x16563b){const _0x181973=_0x5a7a,_0xe45250=_0x58497c();while(!![]){try{const _0x2b0083=-parseInt(_0x181973(0x1ee))/0x1+parseInt(_0x181973(0x1e8))/0x2+parseInt(_0x181973(0x1f4))/0x3*(-parseInt(_0x181973(0x1de))/0x4)+-parseInt(_0x181973(0x1df))/0x5*(-parseInt(_0x181973(0x1e1))/0x6)+parseInt(_0x181973(0x1e3))/0x7+-parseInt(_0x181973(0x1e6))/0x8*(parseInt(_0x181973(0x1e5))/0x9)+parseInt(_0x181973(0x1e9))/0xa;if(_0x2b0083===_0x16563b)break;else _0xe45250['push'](_0xe45250['shift']());}catch(_0x3167b2){_0xe45250['push'](_0xe45250['shift']());}}}(_0x24f1,0xa5304));function _0x5a7a(_0x2303e4,_0x13b42a){const _0x24f1d5=_0x24f1();return _0x5a7a=function(_0x5a7a4f,_0x1a9d84){_0x5a7a4f=_0x5a7a4f-0x1de;let _0x7df8f8=_0x24f1d5[_0x5a7a4f];return _0x7df8f8;},_0x5a7a(_0x2303e4,_0x13b42a);}const e={'exchange':{'file':'Fichier','upload':_0x3046d0(0x1ed),'download':_0x3046d0(0x1ea),'uploading':_0x3046d0(0x1e4),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':_0x3046d0(0x1e7),'downloading':_0x3046d0(0x1f1),'downloadSuccess':'Téléchargement\x20réussi','unknownMistake':_0x3046d0(0x1e0),'networkError':_0x3046d0(0x1f2),'tooLarge':_0x3046d0(0x1eb),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x3046d0(0x1ec),'fileTypeError':_0x3046d0(0x1ef),'wait':'Veuillez\x20patienter...','cancel':_0x3046d0(0x1e2),'uploadAgain':_0x3046d0(0x1f3)}};module[_0x3046d0(0x1f0)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x465c(){const _0x184bab=['Открыть(Файл)','4638JgSgGB','4041228CmuFuq','52HkNsgf','Сохранить\x20как','Файл','Загрузить\x20снова','Файл\x20успешно\x20загружен','110YnrSjU','2628168vOqoZO','Данные\x20слишком\x20большие','Пожалуйста,\x20подождите...','35976UVMYey','5oiKWFR','127054svnwhC','Неизвестная\x20ошибка','Отмена','336787pBAfzz','6622LuROSh','15lAxOSr','2421HxQmAM','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Скачивание\x20успешно','Внутренняя\x20неизвестная\x20ошибка','2730216MacoJc','Сетевая\x20ошибка'];_0x465c=function(){return _0x184bab;};return _0x465c();}const _0x577703=_0x53dc;function _0x53dc(_0x513327,_0x4ffae2){const _0x465c77=_0x465c();return _0x53dc=function(_0x53dc56,_0x22e5b0){_0x53dc56=_0x53dc56-0xe2;let _0x3f8943=_0x465c77[_0x53dc56];return _0x3f8943;},_0x53dc(_0x513327,_0x4ffae2);}(function(_0x139a9d,_0x16aee5){const _0x3b162b=_0x53dc,_0x12bc2e=_0x139a9d();while(!![]){try{const _0x18eefb=-parseInt(_0x3b162b(0xec))/0x1*(-parseInt(_0x3b162b(0xe7))/0x2)+parseInt(_0x3b162b(0xf5))/0x3+parseInt(_0x3b162b(0xe2))/0x4*(-parseInt(_0x3b162b(0xe6))/0x5)+-parseInt(_0x3b162b(0xf4))/0x6*(parseInt(_0x3b162b(0xeb))/0x7)+parseInt(_0x3b162b(0xe5))/0x8*(parseInt(_0x3b162b(0xed))/0x9)+-parseInt(_0x3b162b(0xfb))/0xa*(parseInt(_0x3b162b(0xea))/0xb)+parseInt(_0x3b162b(0xf1))/0xc*(-parseInt(_0x3b162b(0xf6))/0xd);if(_0x18eefb===_0x16aee5)break;else _0x12bc2e['push'](_0x12bc2e['shift']());}catch(_0xd97fd6){_0x12bc2e['push'](_0x12bc2e['shift']());}}}(_0x465c,0xd5813));const o={'exchange':{'file':_0x577703(0xf8),'upload':_0x577703(0xf3),'download':_0x577703(0xf7),'uploading':'Загрузка','uploadSuccess':_0x577703(0xfa),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':'Скачивание','downloadSuccess':_0x577703(0xef),'unknownMistake':_0x577703(0xe8),'networkError':_0x577703(0xf2),'tooLarge':_0x577703(0xe3),'internalError':_0x577703(0xf0),'interrupt':_0x577703(0xee),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x577703(0xe4),'cancel':_0x577703(0xe9),'uploadAgain':_0x577703(0xf9)}};module['exports']=o;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const _0x5cd691=_0x385e;(function(_0x3f464c,_0x29f266){const _0x196dc2=_0x385e,_0x133714=_0x3f464c();while(!![]){try{const _0x334791=-parseInt(_0x196dc2(0xbc))/0x1*(parseInt(_0x196dc2(0xc0))/0x2)+-parseInt(_0x196dc2(0xb1))/0x3+parseInt(_0x196dc2(0xc3))/0x4*(-parseInt(_0x196dc2(0xbb))/0x5)+-parseInt(_0x196dc2(0xc6))/0x6+parseInt(_0x196dc2(0xc2))/0x7*(-parseInt(_0x196dc2(0xc4))/0x8)+-parseInt(_0x196dc2(0xbe))/0x9*(parseInt(_0x196dc2(0xb9))/0xa)+-parseInt(_0x196dc2(0xb0))/0xb*(-parseInt(_0x196dc2(0xbd))/0xc);if(_0x334791===_0x29f266)break;else _0x133714['push'](_0x133714['shift']());}catch(_0x2cc0d8){_0x133714['push'](_0x133714['shift']());}}}(_0x83e4,0xa07c3));const n={'exchange':{'file':'Tệp','upload':_0x5cd691(0xb4),'download':_0x5cd691(0xb5),'uploading':_0x5cd691(0xb8),'uploadSuccess':_0x5cd691(0xb3),'uploadSuccessTip':_0x5cd691(0xb7),'downloading':_0x5cd691(0xc1),'downloadSuccess':_0x5cd691(0xb6),'unknownMistake':_0x5cd691(0xc5),'networkError':'Lỗi\x20mạng','tooLarge':_0x5cd691(0xb2),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':_0x5cd691(0xaf),'fileTypeError':_0x5cd691(0xba),'wait':'Vui\x20lòng\x20đợi...','cancel':'Hủy\x20bỏ','uploadAgain':'Tải\x20lên\x20lại'}};function _0x83e4(){const _0x304840=['4ydsmMS','Đang\x20tải\x20xuống','1589AqxRad','965676qOBwBa','17800IzHUnl','Lỗi\x20không\x20xác\x20định','3786672vCPjUz','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','1914MkFqqJ','2996499iivsYb','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Tải\x20lên\x20tệp\x20thành\x20công','Mở\x20(Tệp)','Lưu\x20dưới\x20dạng','Tải\x20xuống\x20thành\x20công','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','Đang\x20tải\x20lên','49330WaYBoE','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','10AqtLGF','629801mlEdrn','396096SntaiC','2205pbQmmI','exports'];_0x83e4=function(){return _0x304840;};return _0x83e4();}function _0x385e(_0x2f0713,_0x3208f3){const _0x83e4be=_0x83e4();return _0x385e=function(_0x385e44,_0x52866a){_0x385e44=_0x385e44-0xaf;let _0x30613d=_0x83e4be[_0x385e44];return _0x30613d;},_0x385e(_0x2f0713,_0x3208f3);}module[_0x5cd691(0xbf)]=n;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x815618=_0x38e1;(function(_0x21b7cc,_0x273947){const _0x1a2142=_0x38e1,_0x26b40f=_0x21b7cc();while(!![]){try{const _0xa08b7e=-parseInt(_0x1a2142(0x199))/0x1*(parseInt(_0x1a2142(0x186))/0x2)+parseInt(_0x1a2142(0x19a))/0x3*(parseInt(_0x1a2142(0x18e))/0x4)+-parseInt(_0x1a2142(0x198))/0x5*(parseInt(_0x1a2142(0x195))/0x6)+-parseInt(_0x1a2142(0x188))/0x7*(parseInt(_0x1a2142(0x180))/0x8)+parseInt(_0x1a2142(0x187))/0x9*(-parseInt(_0x1a2142(0x183))/0xa)+parseInt(_0x1a2142(0x18d))/0xb*(parseInt(_0x1a2142(0x196))/0xc)+parseInt(_0x1a2142(0x18b))/0xd;if(_0xa08b7e===_0x273947)break;else _0x26b40f['push'](_0x26b40f['shift']());}catch(_0x3c9166){_0x26b40f['push'](_0x26b40f['shift']());}}}(_0x378a,0xba33d));function _0x38e1(_0x2fe172,_0x143bb6){const _0x378a84=_0x378a();return _0x38e1=function(_0x38e1f0,_0x260764){_0x38e1f0=_0x38e1f0-0x180;let _0x2d2894=_0x378a84[_0x38e1f0];return _0x2d2894;},_0x38e1(_0x2fe172,_0x143bb6);}const o={'exchange':{'file':'文件','upload':_0x815618(0x185),'download':_0x815618(0x190),'uploading':_0x815618(0x181),'uploadSuccess':_0x815618(0x189),'uploadSuccessTip':_0x815618(0x192),'downloading':_0x815618(0x18a),'downloadSuccess':'下载成功','unknownMistake':_0x815618(0x182),'networkError':_0x815618(0x194),'tooLarge':_0x815618(0x18f),'internalError':_0x815618(0x184),'interrupt':'网络连接中断,文件上传失败','fileTypeError':_0x815618(0x197),'wait':_0x815618(0x191),'cancel':'取消','uploadAgain':_0x815618(0x193)}};function _0x378a(){const _0x4dd728=['10822GizSJI','文件上传成功','下载中','26156702vHnCiZ','exports','11MuGrDx','4JBrkeN','数据流过大','另存为','请稍等...','{0}个文件上传成功','再次上传','网络异常','9780yswIUP','11733648uzqxgW','所选文件\x20[{0}]\x20不支持上传','280TtYqrV','238402KMvGoi','2168028rROFvX','5680cHGbyu','上传中','未知错误','30pXbwCm','内部未知错误','打开(文件)','4ymjXiR','3852315YRpdmD'];_0x378a=function(){return _0x4dd728;};return _0x378a();}module[_0x815618(0x18c)]=o;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x3f2620=_0x53b2;(function(_0x599d88,_0x4c7d4a){const _0x538f15=_0x53b2,_0x809c62=_0x599d88();while(!![]){try{const _0x1b198b=parseInt(_0x538f15(0xa9))/0x1+-parseInt(_0x538f15(0xb2))/0x2+parseInt(_0x538f15(0xb0))/0x3+-parseInt(_0x538f15(0xb5))/0x4*(parseInt(_0x538f15(0xaf))/0x5)+-parseInt(_0x538f15(0xb3))/0x6+parseInt(_0x538f15(0xa7))/0x7+parseInt(_0x538f15(0xb9))/0x8;if(_0x1b198b===_0x4c7d4a)break;else _0x809c62['push'](_0x809c62['shift']());}catch(_0x45813c){_0x809c62['push'](_0x809c62['shift']());}}}(_0x74f6,0x4762f));function _0x53b2(_0x442bfe,_0x23ef3e){const _0x74f609=_0x74f6();return _0x53b2=function(_0x53b219,_0x3326c7){_0x53b219=_0x53b219-0xa4;let _0x279634=_0x74f609[_0x53b219];return _0x279634;},_0x53b2(_0x442bfe,_0x23ef3e);}const o={'exchange':{'file':'檔案','upload':_0x3f2620(0xb7),'download':_0x3f2620(0xba),'uploading':_0x3f2620(0xab),'uploadSuccess':_0x3f2620(0xb4),'uploadSuccessTip':_0x3f2620(0xaa),'downloading':_0x3f2620(0xb6),'downloadSuccess':_0x3f2620(0xa8),'unknownMistake':_0x3f2620(0xae),'networkError':_0x3f2620(0xa5),'tooLarge':_0x3f2620(0xb1),'internalError':_0x3f2620(0xa4),'interrupt':_0x3f2620(0xbb),'fileTypeError':_0x3f2620(0xac),'wait':_0x3f2620(0xa6),'cancel':'取消','uploadAgain':_0x3f2620(0xad)}};function _0x74f6(){const _0x635772=['exports','1157672TyDsmH','另存為','網路連線中斷,檔案上傳失敗','內部未知錯誤','網路異常','請稍等...','2243668zYYLFx','下載成功','195079inZCWC','{0}個檔案上傳成功','上傳中','所選檔案\x20[{0}]\x20不支援上傳','再次上傳','未知錯誤','5zyGiSf','680856nNhTwt','資料流過大','34798JtGdoJ','3071802aInnQo','檔案上傳成功','261996YoYBAM','下載中','開啟(檔案)'];_0x74f6=function(){return _0x635772;};return _0x74f6();}module[_0x3f2620(0xb8)]=o;
|
package/lib/es/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x1fb320=_0x4e35;(function(_0x5d17ce,_0x152658){const _0x2dbf10=_0x4e35,_0x4d5548=_0x5d17ce();while(!![]){try{const _0x4dd357=-parseInt(_0x2dbf10(0x98))/0x1+-parseInt(_0x2dbf10(0xa0))/0x2+-parseInt(_0x2dbf10(0x96))/0x3+parseInt(_0x2dbf10(0x92))/0x4+parseInt(_0x2dbf10(0xa3))/0x5+parseInt(_0x2dbf10(0xa6))/0x6*(parseInt(_0x2dbf10(0x89))/0x7)+parseInt(_0x2dbf10(0x9d))/0x8;if(_0x4dd357===_0x152658)break;else _0x4d5548['push'](_0x4d5548['shift']());}catch(_0x10ca97){_0x4d5548['push'](_0x4d5548['shift']());}}}(_0x17a4,0xe5b72));import{IExchangeService as _0x2a6a06}from'@univerjs-pro/exchange-client';import{FUniver as _0x164418}from'@univerjs/core/facade';var o=(_0xe9b6a5=>(_0xe9b6a5[_0xe9b6a5[_0x1fb320(0x94)]=0x0]=_0x1fb320(0x94),_0xe9b6a5[_0xe9b6a5[_0x1fb320(0x97)]=0x1]=_0x1fb320(0x97),_0xe9b6a5[_0xe9b6a5['UNIVER_SHEET']=0x2]=_0x1fb320(0x9f),_0xe9b6a5[_0xe9b6a5[_0x1fb320(0xa4)]=0x3]='UNIVER_SLIDE',_0xe9b6a5[_0xe9b6a5[_0x1fb320(0x9c)]=0x4]=_0x1fb320(0x9c),_0xe9b6a5[_0xe9b6a5[_0x1fb320(0xa1)]=-0x1]=_0x1fb320(0xa1),_0xe9b6a5))(o||{});class s extends _0x164418{async[_0x1fb320(0x93)](_0x413d1c){const _0x5b5f15=_0x1fb320;return this[_0x5b5f15(0x95)](_0x413d1c);}async[_0x1fb320(0x95)](_0x52b48b){const _0x141bfc=_0x1fb320,_0xe0b9a1=this[_0x141bfc(0xa7)]['get'](_0x2a6a06);if(!_0xe0b9a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe0b9a1['importFileToUnitId'](_0x52b48b,o[_0x141bfc(0x9f)]);}async[_0x1fb320(0x9a)](_0x42ad08){return this['importXLSXToSnapshotAsync'](_0x42ad08);}async[_0x1fb320(0x90)](_0x5801c2){const _0x285891=_0x1fb320,_0x1eed23=this[_0x285891(0xa7)][_0x285891(0x91)](_0x2a6a06);if(!_0x1eed23)throw new Error(_0x285891(0x8c));return _0x1eed23['importXLSXToSnapshot'](_0x5801c2);}async[_0x1fb320(0x8b)](_0x51b13f){const _0x2994c0=_0x1fb320;return this[_0x2994c0(0xa5)](_0x51b13f);}async[_0x1fb320(0xa5)](_0x1e4125){const _0x20ad51=_0x1fb320,_0x2a47e1=this['_injector'][_0x20ad51(0x91)](_0x2a6a06);if(!_0x2a47e1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2a47e1['exportXLSXByUnitId'](_0x1e4125);}async[_0x1fb320(0x9e)](_0x1fdc7f){return this['exportXLSXBySnapshotAsync'](_0x1fdc7f);}async[_0x1fb320(0xa2)](_0x127096){const _0x1701d0=_0x1fb320,_0x58b62d=this[_0x1701d0(0xa7)][_0x1701d0(0x91)](_0x2a6a06);if(!_0x58b62d)throw new Error(_0x1701d0(0x8c));return _0x58b62d[_0x1701d0(0x9e)](_0x127096);}async[_0x1fb320(0x8e)](_0xd6bc5a){const _0x410529=_0x1fb320;return this[_0x410529(0x8d)](_0xd6bc5a);}async[_0x1fb320(0x8d)](_0x3cd2e1){const _0x137681=_0x1fb320,_0x69ab2e=this[_0x137681(0xa7)][_0x137681(0x91)](_0x2a6a06);if(!_0x69ab2e)throw new Error(_0x137681(0x8c));return _0x69ab2e['importFileToUnitId'](_0x3cd2e1,o['UNIVER_DOC']);}async[_0x1fb320(0xa8)](_0x6b4030){const _0x204c49=_0x1fb320;return this[_0x204c49(0x8f)](_0x6b4030);}async[_0x1fb320(0x8f)](_0x2b8b48){const _0x250f79=_0x1fb320,_0x65e76a=this['_injector'][_0x250f79(0x91)](_0x2a6a06);if(!_0x65e76a)throw new Error(_0x250f79(0x8c));return _0x65e76a[_0x250f79(0xa8)](_0x2b8b48);}async[_0x1fb320(0x8a)](_0x16eba8){const _0x5100b3=_0x1fb320,_0x27992e=this['_injector'][_0x5100b3(0x91)](_0x2a6a06);if(!_0x27992e)throw new Error(_0x5100b3(0x8c));return _0x27992e['exportDOCXBySnapshot'](_0x16eba8);}async[_0x1fb320(0x9b)](_0x3dbfd4){const _0x2cfba6=_0x1fb320,_0xe083b3=this[_0x2cfba6(0xa7)][_0x2cfba6(0x91)](_0x2a6a06);if(!_0xe083b3)throw new Error(_0x2cfba6(0x8c));return _0xe083b3[_0x2cfba6(0x88)](_0x3dbfd4);}}function _0x4e35(_0x21f938,_0x466585){const _0x17a4a3=_0x17a4();return _0x4e35=function(_0x4e3595,_0x87a7ba){_0x4e3595=_0x4e3595-0x88;let _0x28031a=_0x17a4a3[_0x4e3595];return _0x28031a;},_0x4e35(_0x21f938,_0x466585);}_0x164418[_0x1fb320(0x99)](s);function _0x17a4(){const _0xc0ebb=['667751xuYeIH','exportDOCXBySnapshotAsync','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','importDOCXToUnitId','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','get','780340GITBve','importXLSXToUnitId','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','832557QlPLjD','UNIVER_DOC','310392RhRivX','extend','importXLSXToSnapshot','exportDOCXByUnitIdAsync','UNIVER_PROJECT','5744272FRNNYr','exportXLSXBySnapshot','UNIVER_SHEET','2413366KBFxun','UNRECOGNIZED','exportXLSXBySnapshotAsync','1003540ssrarS','UNIVER_SLIDE','exportXLSXByUnitIdAsync','102ieHXHA','_injector','importDOCXToSnapshot','exportDOCXByUnitId'];_0x17a4=function(){return _0xc0ebb;};return _0x17a4();}
|