@univerjs-pro/exchange-client 0.5.1-nightly.202412141605 → 0.5.1-nightly.202412160721

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';function _0x4f92(_0x48ca2c,_0x239e63){const _0x1745c2=_0x1745();return _0x4f92=function(_0x4f92cd,_0x44bd26){_0x4f92cd=_0x4f92cd-0xfd;let _0x37d142=_0x1745c2[_0x4f92cd];return _0x37d142;},_0x4f92(_0x48ca2c,_0x239e63);}const _0x16ae6e=_0x4f92;(function(_0x1e289b,_0x49cfca){const _0x5b0ae3=_0x4f92,_0x4f69b0=_0x1e289b();while(!![]){try{const _0x153d4d=-parseInt(_0x5b0ae3(0x100))/0x1*(parseInt(_0x5b0ae3(0x118))/0x2)+-parseInt(_0x5b0ae3(0x113))/0x3+-parseInt(_0x5b0ae3(0x10a))/0x4+parseInt(_0x5b0ae3(0x117))/0x5*(parseInt(_0x5b0ae3(0x10b))/0x6)+-parseInt(_0x5b0ae3(0xfe))/0x7+parseInt(_0x5b0ae3(0x10c))/0x8+parseInt(_0x5b0ae3(0x103))/0x9*(parseInt(_0x5b0ae3(0x10f))/0xa);if(_0x153d4d===_0x49cfca)break;else _0x4f69b0['push'](_0x4f69b0['shift']());}catch(_0x152464){_0x4f69b0['push'](_0x4f69b0['shift']());}}}(_0x1745,0xd8a81));function _0x1745(){const _0x5acb31=['337081oPxURd','get','UNIVER_SLIDE','9BQLCnX','importDOCXToSnapshot','extend','UNIVER_SHEET','UNIVER_PROJECT','UNIVER_DOC','importFileToUnitId','1155352mrTpdw','58614oSgZYL','1023880MuAbOu','_injector','FUniver','12344410KQzhfo','exportXLSXByUnitId','UNRECOGNIZED','IExchangeService','454005rHGjPH','@univerjs-pro/exchange-client','importDOCXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','745aTJAFS','8wAZMSQ','importXLSXToUnitId','994595PMvHYl','UNIVER_UNKNOWN'];_0x1745=function(){return _0x5acb31;};return _0x1745();}const c=require('@univerjs/core'),n=require(_0x16ae6e(0x114));var i=(_0x5bccef=>(_0x5bccef[_0x5bccef['UNIVER_UNKNOWN']=0x0]=_0x16ae6e(0xff),_0x5bccef[_0x5bccef[_0x16ae6e(0x108)]=0x1]=_0x16ae6e(0x108),_0x5bccef[_0x5bccef[_0x16ae6e(0x106)]=0x2]=_0x16ae6e(0x106),_0x5bccef[_0x5bccef[_0x16ae6e(0x102)]=0x3]=_0x16ae6e(0x102),_0x5bccef[_0x5bccef[_0x16ae6e(0x107)]=0x4]=_0x16ae6e(0x107),_0x5bccef[_0x5bccef[_0x16ae6e(0x111)]=-0x1]=_0x16ae6e(0x111),_0x5bccef))(i||{});class o extends c[_0x16ae6e(0x10e)]{async[_0x16ae6e(0xfd)](_0x265aef){const _0x1eaa95=_0x16ae6e,_0x25274f=this['_injector'][_0x1eaa95(0x101)](n['IExchangeService']);if(!_0x25274f)throw new Error(_0x1eaa95(0x116));return _0x25274f[_0x1eaa95(0x109)](_0x265aef,i[_0x1eaa95(0x106)]);}async['importXLSXToSnapshot'](_0x4011ce){const _0x2e51be=_0x16ae6e,_0xbb2997=this[_0x2e51be(0x10d)][_0x2e51be(0x101)](n['IExchangeService']);if(!_0xbb2997)throw new Error(_0x2e51be(0x116));return _0xbb2997['importXLSXToSnapshot'](_0x4011ce);}async['exportXLSXByUnitId'](_0x5f2ba8){const _0x19f067=_0x16ae6e,_0x5a3345=this[_0x19f067(0x10d)]['get'](n[_0x19f067(0x112)]);if(!_0x5a3345)throw new Error(_0x19f067(0x116));return _0x5a3345[_0x19f067(0x110)](_0x5f2ba8);}async['exportXLSXBySnapshot'](_0x102700){const _0x4c8203=_0x16ae6e,_0xea83fd=this[_0x4c8203(0x10d)][_0x4c8203(0x101)](n[_0x4c8203(0x112)]);if(!_0xea83fd)throw new Error(_0x4c8203(0x116));return _0xea83fd['exportXLSXBySnapshot'](_0x102700);}async[_0x16ae6e(0x115)](_0x47c73b){const _0x5a0935=_0x16ae6e,_0x273435=this[_0x5a0935(0x10d)]['get'](n['IExchangeService']);if(!_0x273435)throw new Error(_0x5a0935(0x116));return _0x273435['importFileToUnitId'](_0x47c73b,i[_0x5a0935(0x108)]);}async[_0x16ae6e(0x104)](_0x547ddf){const _0x3178f5=_0x16ae6e,_0x357a72=this[_0x3178f5(0x10d)][_0x3178f5(0x101)](n['IExchangeService']);if(!_0x357a72)throw new Error(_0x3178f5(0x116));return _0x357a72['importDOCXToSnapshot'](_0x547ddf);}}c[_0x16ae6e(0x10e)][_0x16ae6e(0x105)](o);
1
+ 'use strict';const _0x4f30e9=_0x19f8;(function(_0x3f9ee4,_0x338513){const _0x3d9fe5=_0x19f8,_0x2115d0=_0x3f9ee4();while(!![]){try{const _0x51ca82=parseInt(_0x3d9fe5(0x13b))/0x1+parseInt(_0x3d9fe5(0x137))/0x2*(parseInt(_0x3d9fe5(0x149))/0x3)+parseInt(_0x3d9fe5(0x142))/0x4*(-parseInt(_0x3d9fe5(0x136))/0x5)+-parseInt(_0x3d9fe5(0x12b))/0x6*(-parseInt(_0x3d9fe5(0x13a))/0x7)+-parseInt(_0x3d9fe5(0x141))/0x8*(-parseInt(_0x3d9fe5(0x12e))/0x9)+parseInt(_0x3d9fe5(0x140))/0xa*(-parseInt(_0x3d9fe5(0x12f))/0xb)+-parseInt(_0x3d9fe5(0x13f))/0xc*(-parseInt(_0x3d9fe5(0x134))/0xd);if(_0x51ca82===_0x338513)break;else _0x2115d0['push'](_0x2115d0['shift']());}catch(_0x3063e7){_0x2115d0['push'](_0x2115d0['shift']());}}}(_0x2bd6,0x256ab));function _0x2bd6(){const _0xa972de=['9470gdzSwR','72zqsFnm','4SfBgxZ','UNIVER_UNKNOWN','extend','importXLSXToSnapshot','UNIVER_SHEET','UNIVER_PROJECT','IExchangeService','9543scrGMG','UNRECOGNIZED','@univerjs-pro/exchange-client','3690oFPhVN','@univerjs/core','importXLSXToUnitId','128538JqQbgz','473hjgZOl','UNIVER_DOC','importDOCXToSnapshot','_injector','exportXLSXByUnitId','104mteLkU','get','1283995GwdQAa','122iOCnkb','exportXLSXBySnapshot','importDOCXToUnitId','1120zZQtxN','24840dztNwe','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','importFileToUnitId','7440jOidnJ'];_0x2bd6=function(){return _0xa972de;};return _0x2bd6();}function _0x19f8(_0x466cc8,_0x420789){const _0x2bd6ca=_0x2bd6();return _0x19f8=function(_0x19f8b5,_0x3989f2){_0x19f8b5=_0x19f8b5-0x12a;let _0x196c1d=_0x2bd6ca[_0x19f8b5];return _0x196c1d;},_0x19f8(_0x466cc8,_0x420789);}const c=require(_0x4f30e9(0x12c)),n=require(_0x4f30e9(0x12a));var i=(_0x47cfb7=>(_0x47cfb7[_0x47cfb7[_0x4f30e9(0x143)]=0x0]='UNIVER_UNKNOWN',_0x47cfb7[_0x47cfb7['UNIVER_DOC']=0x1]=_0x4f30e9(0x130),_0x47cfb7[_0x47cfb7[_0x4f30e9(0x146)]=0x2]='UNIVER_SHEET',_0x47cfb7[_0x47cfb7[_0x4f30e9(0x13d)]=0x3]=_0x4f30e9(0x13d),_0x47cfb7[_0x47cfb7[_0x4f30e9(0x147)]=0x4]=_0x4f30e9(0x147),_0x47cfb7[_0x47cfb7[_0x4f30e9(0x14a)]=-0x1]=_0x4f30e9(0x14a),_0x47cfb7))(i||{});class o extends c['FUniver']{async[_0x4f30e9(0x12d)](_0x21fb7a){const _0x1e3896=_0x4f30e9,_0x53d766=this['_injector']['get'](n[_0x1e3896(0x148)]);if(!_0x53d766)throw new Error(_0x1e3896(0x13c));return _0x53d766[_0x1e3896(0x13e)](_0x21fb7a,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x59bd36){const _0x539582=_0x4f30e9,_0x30890f=this['_injector'][_0x539582(0x135)](n['IExchangeService']);if(!_0x30890f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30890f[_0x539582(0x145)](_0x59bd36);}async[_0x4f30e9(0x133)](_0x436903){const _0x358907=_0x4f30e9,_0x3f479d=this['_injector'][_0x358907(0x135)](n[_0x358907(0x148)]);if(!_0x3f479d)throw new Error(_0x358907(0x13c));return _0x3f479d[_0x358907(0x133)](_0x436903);}async[_0x4f30e9(0x138)](_0x35d679){const _0x2d2a12=_0x4f30e9,_0x3794b8=this[_0x2d2a12(0x132)][_0x2d2a12(0x135)](n[_0x2d2a12(0x148)]);if(!_0x3794b8)throw new Error(_0x2d2a12(0x13c));return _0x3794b8[_0x2d2a12(0x138)](_0x35d679);}async[_0x4f30e9(0x139)](_0x1e5fda){const _0x445da6=_0x4f30e9,_0x41f9f1=this[_0x445da6(0x132)]['get'](n[_0x445da6(0x148)]);if(!_0x41f9f1)throw new Error(_0x445da6(0x13c));return _0x41f9f1[_0x445da6(0x13e)](_0x1e5fda,i[_0x445da6(0x130)]);}async[_0x4f30e9(0x131)](_0x52b364){const _0x4e2b28=_0x4f30e9,_0x228a25=this[_0x4e2b28(0x132)][_0x4e2b28(0x135)](n[_0x4e2b28(0x148)]);if(!_0x228a25)throw new Error(_0x4e2b28(0x13c));return _0x228a25[_0x4e2b28(0x131)](_0x52b364);}}c['FUniver'][_0x4f30e9(0x144)](o);