@univerjs-pro/exchange-client 0.5.1-nightly.202412151605 → 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';const _0xd7a6ea=_0x22c2;(function(_0x482ae6,_0x5809a3){const _0x59a2d8=_0x22c2,_0x315a10=_0x482ae6();while(!![]){try{const _0x11b95c=-parseInt(_0x59a2d8(0xdb))/0x1+parseInt(_0x59a2d8(0xd8))/0x2*(parseInt(_0x59a2d8(0xcc))/0x3)+parseInt(_0x59a2d8(0xd7))/0x4*(-parseInt(_0x59a2d8(0xd4))/0x5)+parseInt(_0x59a2d8(0xce))/0x6*(parseInt(_0x59a2d8(0xcf))/0x7)+parseInt(_0x59a2d8(0xc1))/0x8*(parseInt(_0x59a2d8(0xc3))/0x9)+-parseInt(_0x59a2d8(0xcd))/0xa*(-parseInt(_0x59a2d8(0xd2))/0xb)+-parseInt(_0x59a2d8(0xc5))/0xc;if(_0x11b95c===_0x5809a3)break;else _0x315a10['push'](_0x315a10['shift']());}catch(_0x40e451){_0x315a10['push'](_0x315a10['shift']());}}}(_0xcc72,0x5961f));function _0x22c2(_0x4911a6,_0x9bfa38){const _0xcc72fb=_0xcc72();return _0x22c2=function(_0x22c209,_0x9b7e7b){_0x22c209=_0x22c209-0xc1;let _0x1423ed=_0xcc72fb[_0x22c209];return _0x1423ed;},_0x22c2(_0x4911a6,_0x9bfa38);}function _0xcc72(){const _0x6d1684=['10JReACO','59286pcJUtU','77ZxvSXI','UNIVER_PROJECT','UNIVER_UNKNOWN','7939371aiKDyI','FUniver','9720MErtri','UNIVER_SLIDE','importXLSXToUnitId','476SwxVXa','3658HLAbUi','importDOCXToSnapshot','UNIVER_DOC','613748oojlfG','IExchangeService','extend','exportXLSXBySnapshot','UNIVER_SHEET','_injector','488WSADQM','exportXLSXByUnitId','76797tEVbej','@univerjs/core','8568912JJiGHH','get','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED','importXLSXToSnapshot','importDOCXToUnitId','942giUyyD'];_0xcc72=function(){return _0x6d1684;};return _0xcc72();}const c=require(_0xd7a6ea(0xc4)),n=require('@univerjs-pro/exchange-client');var i=(_0x454048=>(_0x454048[_0x454048[_0xd7a6ea(0xd1)]=0x0]='UNIVER_UNKNOWN',_0x454048[_0x454048['UNIVER_DOC']=0x1]=_0xd7a6ea(0xda),_0x454048[_0x454048[_0xd7a6ea(0xdf)]=0x2]='UNIVER_SHEET',_0x454048[_0x454048[_0xd7a6ea(0xd5)]=0x3]=_0xd7a6ea(0xd5),_0x454048[_0x454048[_0xd7a6ea(0xd0)]=0x4]='UNIVER_PROJECT',_0x454048[_0x454048[_0xd7a6ea(0xc9)]=-0x1]='UNRECOGNIZED',_0x454048))(i||{});class o extends c[_0xd7a6ea(0xd3)]{async[_0xd7a6ea(0xd6)](_0x2d5b97){const _0x1a2bf3=_0xd7a6ea,_0x3cafd9=this['_injector'][_0x1a2bf3(0xc6)](n[_0x1a2bf3(0xdc)]);if(!_0x3cafd9)throw new Error(_0x1a2bf3(0xc8));return _0x3cafd9['importFileToUnitId'](_0x2d5b97,i['UNIVER_SHEET']);}async[_0xd7a6ea(0xca)](_0x5c145a){const _0x4bda9a=_0xd7a6ea,_0x32fc95=this['_injector'][_0x4bda9a(0xc6)](n[_0x4bda9a(0xdc)]);if(!_0x32fc95)throw new Error(_0x4bda9a(0xc8));return _0x32fc95[_0x4bda9a(0xca)](_0x5c145a);}async[_0xd7a6ea(0xc2)](_0x4cbb84){const _0x470394=_0xd7a6ea,_0x1cd598=this[_0x470394(0xe0)]['get'](n['IExchangeService']);if(!_0x1cd598)throw new Error(_0x470394(0xc8));return _0x1cd598['exportXLSXByUnitId'](_0x4cbb84);}async[_0xd7a6ea(0xde)](_0x109828){const _0xa96de6=_0xd7a6ea,_0x3e82be=this['_injector']['get'](n[_0xa96de6(0xdc)]);if(!_0x3e82be)throw new Error(_0xa96de6(0xc8));return _0x3e82be['exportXLSXBySnapshot'](_0x109828);}async[_0xd7a6ea(0xcb)](_0x59266f){const _0xc3eef8=_0xd7a6ea,_0x3de5ad=this[_0xc3eef8(0xe0)][_0xc3eef8(0xc6)](n[_0xc3eef8(0xdc)]);if(!_0x3de5ad)throw new Error(_0xc3eef8(0xc8));return _0x3de5ad[_0xc3eef8(0xc7)](_0x59266f,i[_0xc3eef8(0xda)]);}async[_0xd7a6ea(0xd9)](_0x3b52a0){const _0x1f7657=_0xd7a6ea,_0x380af5=this[_0x1f7657(0xe0)][_0x1f7657(0xc6)](n[_0x1f7657(0xdc)]);if(!_0x380af5)throw new Error(_0x1f7657(0xc8));return _0x380af5[_0x1f7657(0xd9)](_0x3b52a0);}}c[_0xd7a6ea(0xd3)][_0xd7a6ea(0xdd)](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);