@univerjs-pro/exchange-client 0.10.4 → 0.10.5
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/types/locale/en-US.d.ts +0 -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 +10 -10
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function _0x2a10(){const _0x40b56b=['270358mMksWN','importXLSXToUnitId','IExchangeService','UNIVER_DOC','UNRECOGNIZED','4479818OmFZFi','195tKEOVv','exportXLSXByUnitIdAsync','importXLSXToSnapshot','UNIVER_PROJECT','UNIVER_SHEET','importDOCXToUnitIdAsync','exportXLSXBySnapshot','22SLNPbD','UNIVER_SLIDE','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','get','8565300YZksOg','importXLSXToSnapshotAsync','824859qDksEy','extend','exportDOCXBySnapshotAsync','306846AYgaVL','exportXLSXByUnitId','10036WduvIh','16BwIOBu','710sZoOBb','importFileToUnitId','importDOCXToSnapshot','exportXLSXBySnapshotAsync','UNIVER_UNKNOWN','_injector','importXLSXToUnitIdAsync','FUniver','importDOCXToSnapshotAsync','exportDOCXBySnapshot','8396814cVIfTF'];_0x2a10=function(){return _0x40b56b;};return _0x2a10();}const _0x2e6973=_0x37c2;function _0x37c2(_0x5f092b,_0x3cece6){const _0x2a10a5=_0x2a10();return _0x37c2=function(_0x37c27e,_0x4e876d){_0x37c27e=_0x37c27e-0xbb;let _0x2637e0=_0x2a10a5[_0x37c27e];return _0x2637e0;},_0x37c2(_0x5f092b,_0x3cece6);}(function(_0x43d1f0,_0x16a38b){const _0x1f19f9=_0x37c2,_0x5ddf01=_0x43d1f0();while(!![]){try{const _0x109775=-parseInt(_0x1f19f9(0xbb))/0x1+parseInt(_0x1f19f9(0xda))/0x2*(parseInt(_0x1f19f9(0xbe))/0x3)+parseInt(_0x1f19f9(0xc0))/0x4*(-parseInt(_0x1f19f9(0xd3))/0x5)+-parseInt(_0x1f19f9(0xcc))/0x6+parseInt(_0x1f19f9(0xd2))/0x7*(parseInt(_0x1f19f9(0xc1))/0x8)+-parseInt(_0x1f19f9(0xdf))/0x9+parseInt(_0x1f19f9(0xc2))/0xa*(parseInt(_0x1f19f9(0xcd))/0xb);if(_0x109775===_0x16a38b)break;else _0x5ddf01['push'](_0x5ddf01['shift']());}catch(_0x30fdfd){_0x5ddf01['push'](_0x5ddf01['shift']());}}}(_0x2a10,0xd5eb1));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x2691b5=>(_0x2691b5[_0x2691b5[_0x2e6973(0xc6)]=0x0]=_0x2e6973(0xc6),_0x2691b5[_0x2691b5['UNIVER_DOC']=0x1]=_0x2e6973(0xd0),_0x2691b5[_0x2691b5['UNIVER_SHEET']=0x2]=_0x2e6973(0xd7),_0x2691b5[_0x2691b5['UNIVER_SLIDE']=0x3]=_0x2e6973(0xdb),_0x2691b5[_0x2691b5[_0x2e6973(0xd6)]=0x4]='UNIVER_PROJECT',_0x2691b5[_0x2691b5[_0x2e6973(0xd1)]=-0x1]=_0x2e6973(0xd1),_0x2691b5))(i||{});class c extends o[_0x2e6973(0xc9)]{async[_0x2e6973(0xce)](_0x495e07){const _0x16f13f=_0x2e6973;return this[_0x16f13f(0xc8)](_0x495e07);}async['importXLSXToUnitIdAsync'](_0x416bf4){const _0x211588=_0x2e6973,_0x140e12=this[_0x211588(0xc7)]['get'](r[_0x211588(0xcf)]);if(!_0x140e12)throw new Error(_0x211588(0xdd));return _0x140e12[_0x211588(0xc3)](_0x416bf4,i['UNIVER_SHEET']);}async[_0x2e6973(0xd5)](_0x2c1cdc){const _0x46cf2c=_0x2e6973;return this[_0x46cf2c(0xe0)](_0x2c1cdc);}async['importXLSXToSnapshotAsync'](_0x4905a5){const _0x4a3bd2=_0x2e6973,_0x2b2940=this[_0x4a3bd2(0xc7)]['get'](r[_0x4a3bd2(0xcf)]);if(!_0x2b2940)throw new Error(_0x4a3bd2(0xdd));return _0x2b2940['importXLSXToSnapshot'](_0x4905a5);}async[_0x2e6973(0xbf)](_0xee734c){const _0x26bfdc=_0x2e6973;return this[_0x26bfdc(0xd4)](_0xee734c);}async['exportXLSXByUnitIdAsync'](_0x3f83ca){const _0x5db3a6=_0x2e6973,_0x2d11c4=this['_injector'][_0x5db3a6(0xde)](r['IExchangeService']);if(!_0x2d11c4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2d11c4[_0x5db3a6(0xbf)](_0x3f83ca);}async[_0x2e6973(0xd9)](_0x5369a2){const _0x251c84=_0x2e6973;return this[_0x251c84(0xc5)](_0x5369a2);}async[_0x2e6973(0xc5)](_0x12c3e6){const _0x2f6b8b=_0x2e6973,_0x124ac1=this['_injector']['get'](r[_0x2f6b8b(0xcf)]);if(!_0x124ac1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x124ac1['exportXLSXBySnapshot'](_0x12c3e6);}async[_0x2e6973(0xdc)](_0x18e243){return this['importDOCXToUnitIdAsync'](_0x18e243);}async[_0x2e6973(0xd8)](_0x3777fa){const _0x22f0ec=_0x2e6973,_0xee3c6f=this[_0x22f0ec(0xc7)][_0x22f0ec(0xde)](r[_0x22f0ec(0xcf)]);if(!_0xee3c6f)throw new Error(_0x22f0ec(0xdd));return _0xee3c6f['importFileToUnitId'](_0x3777fa,i['UNIVER_DOC']);}async[_0x2e6973(0xc4)](_0x42a69a){return this['importDOCXToSnapshotAsync'](_0x42a69a);}async[_0x2e6973(0xca)](_0x50349d){const _0x41d517=_0x2e6973,_0x189970=this[_0x41d517(0xc7)][_0x41d517(0xde)](r[_0x41d517(0xcf)]);if(!_0x189970)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x189970[_0x41d517(0xc4)](_0x50349d);}async[_0x2e6973(0xbd)](_0x5072d5){const _0xa7f585=_0x2e6973,_0x353cef=this[_0xa7f585(0xc7)][_0xa7f585(0xde)](r[_0xa7f585(0xcf)]);if(!_0x353cef)throw new Error(_0xa7f585(0xdd));return _0x353cef[_0xa7f585(0xcb)](_0x5072d5);}async['exportDOCXByUnitIdAsync'](_0x3b1d9c){const _0x2eb28c=_0x2e6973,_0x1f7e79=this[_0x2eb28c(0xc7)][_0x2eb28c(0xde)](r[_0x2eb28c(0xcf)]);if(!_0x1f7e79)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f7e79['exportDOCXByUnitId'](_0x3b1d9c);}}o[_0x2e6973(0xc9)][_0x2e6973(0xbc)](c);
|