@univerjs-pro/exchange-client 0.5.0-beta.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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x13246f=_0x44e7;(function(_0x5131ba,_0x502eb6){const _0x4bc8e5=_0x44e7,_0x267714=_0x5131ba();while(!![]){try{const _0x10d0ae=-parseInt(_0x4bc8e5(0x82))/0x1+parseInt(_0x4bc8e5(0x81))/0x2*(-parseInt(_0x4bc8e5(0x92))/0x3)+parseInt(_0x4bc8e5(0x7e))/0x4*(-parseInt(_0x4bc8e5(0x8c))/0x5)+-parseInt(_0x4bc8e5(0x79))/0x6+-parseInt(_0x4bc8e5(0x83))/0x7+parseInt(_0x4bc8e5(0x91))/0x8+parseInt(_0x4bc8e5(0x90))/0x9;if(_0x10d0ae===_0x502eb6)break;else _0x267714['push'](_0x267714['shift']());}catch(_0x597e43){_0x267714['push'](_0x267714['shift']());}}}(_0x26a7,0x46ff7));function _0x44e7(_0x5b4784,_0x531b6d){const _0x26a7ce=_0x26a7();return _0x44e7=function(_0x44e70b,_0x21e323){_0x44e70b=_0x44e70b-0x78;let _0x3286e0=_0x26a7ce[_0x44e70b];return _0x3286e0;},_0x44e7(_0x5b4784,_0x531b6d);}function _0x26a7(){const _0x73e231=['@univerjs/core','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','extend','FUniver','get','UNIVER_SHEET','5iaSSxp','_injector','importDOCXToSnapshot','exportXLSXBySnapshot','10366164KatAVV','3712440pmTXqv','3zVIPpY','UNIVER_PROJECT','UNRECOGNIZED','2746680zPPqkb','importFileToUnitId','@univerjs-pro/exchange-client','UNIVER_SLIDE','exportXLSXByUnitId','1126372wqdKIB','IExchangeService','UNIVER_UNKNOWN','291966XkDkab','156136gNYBEy','1984864aGqwLf','importDOCXToUnitId'];_0x26a7=function(){return _0x73e231;};return _0x26a7();}const c=require(_0x13246f(0x85)),n=require(_0x13246f(0x7b));var i=(_0x3b7687=>(_0x3b7687[_0x3b7687[_0x13246f(0x80)]=0x0]=_0x13246f(0x80),_0x3b7687[_0x3b7687[_0x13246f(0x87)]=0x1]=_0x13246f(0x87),_0x3b7687[_0x3b7687[_0x13246f(0x8b)]=0x2]=_0x13246f(0x8b),_0x3b7687[_0x3b7687[_0x13246f(0x7c)]=0x3]=_0x13246f(0x7c),_0x3b7687[_0x3b7687[_0x13246f(0x93)]=0x4]='UNIVER_PROJECT',_0x3b7687[_0x3b7687['UNRECOGNIZED']=-0x1]=_0x13246f(0x78),_0x3b7687))(i||{});class o extends c['FUniver']{async['importXLSXToUnitId'](_0x4d9ace){const _0x59247f=_0x13246f,_0x4d942d=this[_0x59247f(0x8d)][_0x59247f(0x8a)](n[_0x59247f(0x7f)]);if(!_0x4d942d)throw new Error(_0x59247f(0x86));return _0x4d942d[_0x59247f(0x7a)](_0x4d9ace,i[_0x59247f(0x8b)]);}async['importXLSXToSnapshot'](_0x19a8fa){const _0x1b359f=_0x13246f,_0x32fed9=this['_injector'][_0x1b359f(0x8a)](n['IExchangeService']);if(!_0x32fed9)throw new Error(_0x1b359f(0x86));return _0x32fed9['importXLSXToSnapshot'](_0x19a8fa);}async[_0x13246f(0x7d)](_0x1f0b22){const _0x4e8fa7=_0x13246f,_0x399e91=this[_0x4e8fa7(0x8d)][_0x4e8fa7(0x8a)](n[_0x4e8fa7(0x7f)]);if(!_0x399e91)throw new Error(_0x4e8fa7(0x86));return _0x399e91[_0x4e8fa7(0x7d)](_0x1f0b22);}async[_0x13246f(0x8f)](_0x4612a5){const _0xbd8538=_0x13246f,_0x5f57e1=this[_0xbd8538(0x8d)][_0xbd8538(0x8a)](n[_0xbd8538(0x7f)]);if(!_0x5f57e1)throw new Error(_0xbd8538(0x86));return _0x5f57e1['exportXLSXBySnapshot'](_0x4612a5);}async[_0x13246f(0x84)](_0x7934f4){const _0x5ea9ef=_0x13246f,_0x3d036a=this[_0x5ea9ef(0x8d)][_0x5ea9ef(0x8a)](n[_0x5ea9ef(0x7f)]);if(!_0x3d036a)throw new Error(_0x5ea9ef(0x86));return _0x3d036a['importFileToUnitId'](_0x7934f4,i['UNIVER_DOC']);}async[_0x13246f(0x8e)](_0x1a6f88){const _0x1f38b8=_0x13246f,_0x4083e4=this[_0x1f38b8(0x8d)]['get'](n[_0x1f38b8(0x7f)]);if(!_0x4083e4)throw new Error(_0x1f38b8(0x86));return _0x4083e4[_0x1f38b8(0x8e)](_0x1a6f88);}}c[_0x13246f(0x89)][_0x13246f(0x88)](o);
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);