@univerjs-pro/exchange-client 0.10.14 → 0.11.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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 +8 -8
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0xd68113=_0x48d2;(function(_0x3def9f,_0x5246f1){const _0x108b01=_0x48d2,_0x2e5891=_0x3def9f();while(!![]){try{const _0x20a865=-parseInt(_0x108b01(0x11a))/0x1+-parseInt(_0x108b01(0xfa))/0x2+parseInt(_0x108b01(0x115))/0x3*(-parseInt(_0x108b01(0x11b))/0x4)+parseInt(_0x108b01(0x10f))/0x5+parseInt(_0x108b01(0x10e))/0x6+parseInt(_0x108b01(0x111))/0x7+parseInt(_0x108b01(0x100))/0x8*(parseInt(_0x108b01(0x11c))/0x9);if(_0x20a865===_0x5246f1)break;else _0x2e5891['push'](_0x2e5891['shift']());}catch(_0x4fbece){_0x2e5891['push'](_0x2e5891['shift']());}}}(_0x64ca,0xe32e6));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x40f33f=>(_0x40f33f[_0x40f33f[_0xd68113(0x107)]=0x0]=_0xd68113(0x107),_0x40f33f[_0x40f33f['UNIVER_DOC']=0x1]=_0xd68113(0x119),_0x40f33f[_0x40f33f[_0xd68113(0x104)]=0x2]=_0xd68113(0x104),_0x40f33f[_0x40f33f[_0xd68113(0x10c)]=0x3]='UNIVER_SLIDE',_0x40f33f[_0x40f33f[_0xd68113(0x112)]=0x4]='UNIVER_PROJECT',_0x40f33f[_0x40f33f[_0xd68113(0x10d)]=-0x1]=_0xd68113(0x10d),_0x40f33f))(i||{});function _0x64ca(){const _0x1e1ed8=['importFileToUnitId','exportXLSXByUnitId','importXLSXToSnapshotAsync','UNIVER_SLIDE','UNRECOGNIZED','8072022bjFKAP','1159245dhdtut','exportXLSXBySnapshotAsync','7057750UtNzMr','UNIVER_PROJECT','exportDOCXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','30MiIGqx','IExchangeService','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_DOC','1397181twHkMx','631964pmQmly','9gKvZrT','FUniver','2856700WTwnLZ','exportDOCXByUnitId','importXLSXToSnapshot','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','importXLSXToUnitId','22004312sUBQqV','importDOCXToUnitId','get','importDOCXToSnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','extend','UNIVER_UNKNOWN','_injector'];_0x64ca=function(){return _0x1e1ed8;};return _0x64ca();}class c extends o[_0xd68113(0x11d)]{async[_0xd68113(0xff)](_0x254cfc){const _0x4491c7=_0xd68113;return this[_0x4491c7(0x105)](_0x254cfc);}async[_0xd68113(0x105)](_0x33311f){const _0x4f90af=_0xd68113,_0x331015=this[_0x4f90af(0x108)][_0x4f90af(0x102)](r['IExchangeService']);if(!_0x331015)throw new Error(_0x4f90af(0x114));return _0x331015[_0x4f90af(0x109)](_0x33311f,i[_0x4f90af(0x104)]);}async[_0xd68113(0xfc)](_0x208742){const _0x3d49f8=_0xd68113;return this[_0x3d49f8(0x10b)](_0x208742);}async[_0xd68113(0x10b)](_0x364072){const _0x1793d6=_0xd68113,_0x132f96=this[_0x1793d6(0x108)][_0x1793d6(0x102)](r['IExchangeService']);if(!_0x132f96)throw new Error(_0x1793d6(0x114));return _0x132f96[_0x1793d6(0xfc)](_0x364072);}async[_0xd68113(0x10a)](_0x22f665){const _0x4063e8=_0xd68113;return this[_0x4063e8(0xfe)](_0x22f665);}async['exportXLSXByUnitIdAsync'](_0x25e505){const _0x2cba64=_0xd68113,_0x116520=this[_0x2cba64(0x108)][_0x2cba64(0x102)](r[_0x2cba64(0x116)]);if(!_0x116520)throw new Error(_0x2cba64(0x114));return _0x116520[_0x2cba64(0x10a)](_0x25e505);}async[_0xd68113(0xfd)](_0x135b96){return this['exportXLSXBySnapshotAsync'](_0x135b96);}async[_0xd68113(0x110)](_0x5d1cfa){const _0x5a7af1=_0xd68113,_0x172c4e=this[_0x5a7af1(0x108)]['get'](r[_0x5a7af1(0x116)]);if(!_0x172c4e)throw new Error(_0x5a7af1(0x114));return _0x172c4e[_0x5a7af1(0xfd)](_0x5d1cfa);}async[_0xd68113(0x101)](_0x1d7a49){return this['importDOCXToUnitIdAsync'](_0x1d7a49);}async['importDOCXToUnitIdAsync'](_0xb2d34a){const _0x1e39fc=_0xd68113,_0x3ad5a3=this[_0x1e39fc(0x108)]['get'](r[_0x1e39fc(0x116)]);if(!_0x3ad5a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ad5a3['importFileToUnitId'](_0xb2d34a,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x3df47c){const _0xded8a0=_0xd68113;return this[_0xded8a0(0x118)](_0x3df47c);}async['importDOCXToSnapshotAsync'](_0x686233){const _0x5c9cdb=_0xd68113,_0x4b6d3e=this[_0x5c9cdb(0x108)][_0x5c9cdb(0x102)](r[_0x5c9cdb(0x116)]);if(!_0x4b6d3e)throw new Error(_0x5c9cdb(0x114));return _0x4b6d3e[_0x5c9cdb(0x103)](_0x686233);}async[_0xd68113(0x113)](_0x4cc91a){const _0x41704=_0xd68113,_0x33ad74=this[_0x41704(0x108)][_0x41704(0x102)](r['IExchangeService']);if(!_0x33ad74)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x33ad74['exportDOCXBySnapshot'](_0x4cc91a);}async[_0xd68113(0x117)](_0x5ad4bd){const _0x1a06d1=_0xd68113,_0xb90af9=this['_injector'][_0x1a06d1(0x102)](r['IExchangeService']);if(!_0xb90af9)throw new Error(_0x1a06d1(0x114));return _0xb90af9[_0x1a06d1(0xfb)](_0x5ad4bd);}}function _0x48d2(_0x891d60,_0x46e47b){const _0x64cade=_0x64ca();return _0x48d2=function(_0x48d28a,_0xca9a1f){_0x48d28a=_0x48d28a-0xfa;let _0x49974b=_0x64cade[_0x48d28a];return _0x49974b;},_0x48d2(_0x891d60,_0x46e47b);}o[_0xd68113(0x11d)][_0xd68113(0x106)](c);
|