@univerjs-pro/exchange-client 0.5.0-alpha.0 → 0.5.0-beta.1
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/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/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/controllers/config.schema.d.ts +16 -0
- package/lib/types/controllers/exchange.controller.d.ts +8 -0
- package/lib/types/facade/f-univer.d.ts +36 -0
- package/lib/types/facade/index.d.ts +1 -0
- package/lib/types/index.d.ts +10 -483
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +21 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/plugin.d.ts +11 -0
- package/lib/types/services/__tests__/snapshot.spec.d.ts +1 -0
- package/lib/types/services/exchange.service.d.ts +87 -0
- package/lib/types/services/operate.service.d.ts +121 -0
- package/lib/types/services/request.service.d.ts +107 -0
- package/lib/types/services/upload-notification.service.d.ts +52 -0
- package/lib/types/services/utils/snapshot.d.ts +76 -0
- package/lib/types/services/utils/tool.d.ts +19 -0
- package/lib/types/views/UploadNotificationContainer.d.ts +2 -0
- package/lib/types/views/link-list/LinkList.d.ts +6 -0
- package/lib/types/views/upload-again/UploadAgain.d.ts +2 -0
- package/lib/types/views/upload-button/UploadButton.d.ts +7 -0
- package/lib/types/views/upload-error/UploadError.d.ts +2 -0
- package/lib/types/views/upload-notification/UploadNotification.d.ts +2 -0
- package/lib/types/views/upload-success/UploadSuccess.d.ts +5 -0
- package/lib/types/views/uploading/Uploading.d.ts +2 -0
- package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +2 -0
- package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +5 -0
- 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/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 +12 -12
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x1112c2=_0x4b17;function _0x582d(){const _0x3a88bf=['importXLSXToUnitId','55294PbjlOC','3623665OHGLcY','27488164uBDGaA','exportXLSXBySnapshot','@univerjs-pro/exchange-client','IExchangeService','UNIVER_PROJECT','10oBnqkp','52EgASoe','UNIVER_DOC','102270rPBGAB','UNRECOGNIZED','UNIVER_SLIDE','_injector','importDOCXToSnapshot','729918czuUKw','@univerjs/core','importFileToUnitId','99483ZghyQV','208VfltUA','4680294XqXxTY','UNIVER_SHEET','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','extend','exportXLSXByUnitId','get','UNIVER_UNKNOWN','4XDlXpS'];_0x582d=function(){return _0x3a88bf;};return _0x582d();}function _0x4b17(_0x3a1000,_0x2a1feb){const _0x582dd5=_0x582d();return _0x4b17=function(_0x4b17c0,_0xfc215d){_0x4b17c0=_0x4b17c0-0xf9;let _0x3f1873=_0x582dd5[_0x4b17c0];return _0x3f1873;},_0x4b17(_0x3a1000,_0x2a1feb);}(function(_0x1b1fb4,_0x4d466a){const _0x48c20d=_0x4b17,_0x356f9d=_0x1b1fb4();while(!![]){try{const _0x13eabb=parseInt(_0x48c20d(0x101))/0x1+-parseInt(_0x48c20d(0x109))/0x2*(parseInt(_0x48c20d(0x113))/0x3)+-parseInt(_0x48c20d(0xff))/0x4*(parseInt(_0x48c20d(0x102))/0x5)+-parseInt(_0x48c20d(0x115))/0x6+-parseInt(_0x48c20d(0x10b))/0x7*(-parseInt(_0x48c20d(0x114))/0x8)+parseInt(_0x48c20d(0x110))/0x9*(-parseInt(_0x48c20d(0x108))/0xa)+parseInt(_0x48c20d(0x103))/0xb;if(_0x13eabb===_0x4d466a)break;else _0x356f9d['push'](_0x356f9d['shift']());}catch(_0x584842){_0x356f9d['push'](_0x356f9d['shift']());}}}(_0x582d,0x76a78));const c=require(_0x1112c2(0x111)),n=require(_0x1112c2(0x105));var i=(_0x465fb0=>(_0x465fb0[_0x465fb0[_0x1112c2(0xfe)]=0x0]=_0x1112c2(0xfe),_0x465fb0[_0x465fb0[_0x1112c2(0x10a)]=0x1]='UNIVER_DOC',_0x465fb0[_0x465fb0[_0x1112c2(0x116)]=0x2]=_0x1112c2(0x116),_0x465fb0[_0x465fb0[_0x1112c2(0x10d)]=0x3]='UNIVER_SLIDE',_0x465fb0[_0x465fb0[_0x1112c2(0x107)]=0x4]=_0x1112c2(0x107),_0x465fb0[_0x465fb0[_0x1112c2(0x10c)]=-0x1]=_0x1112c2(0x10c),_0x465fb0))(i||{});class o extends c[_0x1112c2(0x117)]{async[_0x1112c2(0x100)](_0x5b367c){const _0x3ce2ec=_0x1112c2,_0x781aa9=this[_0x3ce2ec(0x10e)][_0x3ce2ec(0xfd)](n['IExchangeService']);if(!_0x781aa9)throw new Error(_0x3ce2ec(0xf9));return _0x781aa9[_0x3ce2ec(0x112)](_0x5b367c,i[_0x3ce2ec(0x116)]);}async[_0x1112c2(0xfa)](_0x2cbbad){const _0x30ca14=_0x1112c2,_0x3034e2=this[_0x30ca14(0x10e)][_0x30ca14(0xfd)](n[_0x30ca14(0x106)]);if(!_0x3034e2)throw new Error(_0x30ca14(0xf9));return _0x3034e2[_0x30ca14(0xfa)](_0x2cbbad);}async[_0x1112c2(0xfc)](_0x38d688){const _0x461855=_0x1112c2,_0x20fad9=this[_0x461855(0x10e)]['get'](n[_0x461855(0x106)]);if(!_0x20fad9)throw new Error(_0x461855(0xf9));return _0x20fad9['exportXLSXByUnitId'](_0x38d688);}async[_0x1112c2(0x104)](_0x1cc01a){const _0x210037=_0x1112c2,_0xa8d97f=this['_injector'][_0x210037(0xfd)](n['IExchangeService']);if(!_0xa8d97f)throw new Error(_0x210037(0xf9));return _0xa8d97f[_0x210037(0x104)](_0x1cc01a);}async['importDOCXToUnitId'](_0x3c1aa3){const _0x360919=_0x1112c2,_0x3d0f51=this[_0x360919(0x10e)]['get'](n[_0x360919(0x106)]);if(!_0x3d0f51)throw new Error(_0x360919(0xf9));return _0x3d0f51['importFileToUnitId'](_0x3c1aa3,i['UNIVER_DOC']);}async[_0x1112c2(0x10f)](_0x1bbaa2){const _0x1139c5=_0x1112c2,_0x4c34ed=this[_0x1139c5(0x10e)][_0x1139c5(0xfd)](n['IExchangeService']);if(!_0x4c34ed)throw new Error(_0x1139c5(0xf9));return _0x4c34ed['importDOCXToSnapshot'](_0x1bbaa2);}}c[_0x1112c2(0x117)][_0x1112c2(0xfb)](o);
|