@univerjs-pro/exchange-client 0.5.0-nightly.202411291606 → 0.5.1-nightly.202411301606

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 _0x39d1(){const _0x554de5=['801188DSnndz','UNIVER_DOC','10322109vISDmD','The\x20exchange\x20service\x20is\x20not\x20available','get','826650cCuNqS','_injector','3469347JBYIfO','UNIVER_SHEET','importFileToUnitId','6ehDJBR','IExchangeService','8942100rqfDWI','UNIVER_PROJECT','UNIVER_SLIDE','@univerjs/core','4944512NjqlTJ','3003802dYfBib','importDOCXToSnapshot','importXLSXToSnapshot','1HficWb','exportXLSXByUnitId','extend','UNRECOGNIZED','exportXLSXBySnapshot'];_0x39d1=function(){return _0x554de5;};return _0x39d1();}const _0x1d1942=_0x4389;(function(_0x441b63,_0x15eef4){const _0xea1fb3=_0x4389,_0x1abe3b=_0x441b63();while(!![]){try{const _0x189dd2=-parseInt(_0xea1fb3(0xe0))/0x1*(parseInt(_0xea1fb3(0xdd))/0x2)+-parseInt(_0xea1fb3(0xd3))/0x3+-parseInt(_0xea1fb3(0xcc))/0x4+parseInt(_0xea1fb3(0xd8))/0x5+-parseInt(_0xea1fb3(0xd6))/0x6*(-parseInt(_0xea1fb3(0xce))/0x7)+parseInt(_0xea1fb3(0xdc))/0x8+-parseInt(_0xea1fb3(0xd1))/0x9;if(_0x189dd2===_0x15eef4)break;else _0x1abe3b['push'](_0x1abe3b['shift']());}catch(_0x43d360){_0x1abe3b['push'](_0x1abe3b['shift']());}}}(_0x39d1,0xe330e));const c=require(_0x1d1942(0xdb)),n=require('@univerjs-pro/exchange-client');var i=(_0x1fef6b=>(_0x1fef6b[_0x1fef6b['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x1fef6b[_0x1fef6b[_0x1d1942(0xcd)]=0x1]='UNIVER_DOC',_0x1fef6b[_0x1fef6b['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1fef6b[_0x1fef6b[_0x1d1942(0xda)]=0x3]=_0x1d1942(0xda),_0x1fef6b[_0x1fef6b[_0x1d1942(0xd9)]=0x4]=_0x1d1942(0xd9),_0x1fef6b[_0x1fef6b[_0x1d1942(0xca)]=-0x1]='UNRECOGNIZED',_0x1fef6b))(i||{});function _0x4389(_0x2c5b08,_0x4b84c6){const _0x39d1e3=_0x39d1();return _0x4389=function(_0x4389dc,_0x3a7494){_0x4389dc=_0x4389dc-0xc9;let _0x510252=_0x39d1e3[_0x4389dc];return _0x510252;},_0x4389(_0x2c5b08,_0x4b84c6);}class o extends c['FUniver']{async['importXLSXToUnitId'](_0x4ce7cf){const _0x3b40dd=_0x1d1942,_0x366baa=this[_0x3b40dd(0xd2)][_0x3b40dd(0xd0)](n[_0x3b40dd(0xd7)]);if(!_0x366baa)throw new Error(_0x3b40dd(0xcf));return _0x366baa[_0x3b40dd(0xd5)](_0x4ce7cf,i[_0x3b40dd(0xd4)]);}async[_0x1d1942(0xdf)](_0x5007bd){const _0x1abf76=_0x1d1942,_0x331d90=this[_0x1abf76(0xd2)][_0x1abf76(0xd0)](n[_0x1abf76(0xd7)]);if(!_0x331d90)throw new Error(_0x1abf76(0xcf));return _0x331d90['importXLSXToSnapshot'](_0x5007bd);}async[_0x1d1942(0xe1)](_0x2e485f){const _0x229400=_0x1d1942,_0x300f11=this[_0x229400(0xd2)][_0x229400(0xd0)](n[_0x229400(0xd7)]);if(!_0x300f11)throw new Error(_0x229400(0xcf));return _0x300f11[_0x229400(0xe1)](_0x2e485f);}async[_0x1d1942(0xcb)](_0x251738){const _0x111f76=_0x1d1942,_0x375cf3=this[_0x111f76(0xd2)][_0x111f76(0xd0)](n[_0x111f76(0xd7)]);if(!_0x375cf3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x375cf3[_0x111f76(0xcb)](_0x251738);}async['importDOCXToUnitId'](_0x3c32b8){const _0x2e8cde=_0x1d1942,_0x31be90=this[_0x2e8cde(0xd2)][_0x2e8cde(0xd0)](n[_0x2e8cde(0xd7)]);if(!_0x31be90)throw new Error(_0x2e8cde(0xcf));return _0x31be90[_0x2e8cde(0xd5)](_0x3c32b8,i[_0x2e8cde(0xcd)]);}async[_0x1d1942(0xde)](_0xb890f2){const _0x24b563=_0x1d1942,_0x18bf58=this[_0x24b563(0xd2)]['get'](n[_0x24b563(0xd7)]);if(!_0x18bf58)throw new Error(_0x24b563(0xcf));return _0x18bf58[_0x24b563(0xde)](_0xb890f2);}}c['FUniver'][_0x1d1942(0xc9)](o);
1
+ 'use strict';const _0x360015=_0x266a;(function(_0x1220ab,_0x264e27){const _0x2d503e=_0x266a,_0x18fa78=_0x1220ab();while(!![]){try{const _0x477b52=parseInt(_0x2d503e(0x148))/0x1+parseInt(_0x2d503e(0x145))/0x2+parseInt(_0x2d503e(0x149))/0x3+parseInt(_0x2d503e(0x14b))/0x4+-parseInt(_0x2d503e(0x14f))/0x5*(-parseInt(_0x2d503e(0x153))/0x6)+-parseInt(_0x2d503e(0x144))/0x7+-parseInt(_0x2d503e(0x143))/0x8;if(_0x477b52===_0x264e27)break;else _0x18fa78['push'](_0x18fa78['shift']());}catch(_0x294939){_0x18fa78['push'](_0x18fa78['shift']());}}}(_0x35f3,0xa337c));function _0x35f3(){const _0x1525f2=['UNIVER_DOC','importXLSXToSnapshot','@univerjs/core','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','get','exportXLSXBySnapshot','exportXLSXByUnitId','importXLSXToUnitId','15617192wCEkEJ','30009lWlYvn','1577366IBZHcc','IExchangeService','UNIVER_SHEET','691306JtThUd','1422768uIZWKo','@univerjs-pro/exchange-client','1259168SsPaXj','UNIVER_PROJECT','importDOCXToUnitId','_injector','5mZkBfM','importDOCXToSnapshot','UNIVER_SLIDE','UNRECOGNIZED','2135634vxTOPJ','extend','UNIVER_UNKNOWN','FUniver'];_0x35f3=function(){return _0x1525f2;};return _0x35f3();}function _0x266a(_0x34c58e,_0x49dcd3){const _0x35f320=_0x35f3();return _0x266a=function(_0x266a47,_0x3632e2){_0x266a47=_0x266a47-0x141;let _0x2cc481=_0x35f320[_0x266a47];return _0x2cc481;},_0x266a(_0x34c58e,_0x49dcd3);}const c=require(_0x360015(0x159)),n=require(_0x360015(0x14a));var i=(_0x14b8fa=>(_0x14b8fa[_0x14b8fa[_0x360015(0x155)]=0x0]=_0x360015(0x155),_0x14b8fa[_0x14b8fa['UNIVER_DOC']=0x1]=_0x360015(0x157),_0x14b8fa[_0x14b8fa[_0x360015(0x147)]=0x2]=_0x360015(0x147),_0x14b8fa[_0x14b8fa[_0x360015(0x151)]=0x3]=_0x360015(0x151),_0x14b8fa[_0x14b8fa[_0x360015(0x14c)]=0x4]='UNIVER_PROJECT',_0x14b8fa[_0x14b8fa[_0x360015(0x152)]=-0x1]=_0x360015(0x152),_0x14b8fa))(i||{});class o extends c[_0x360015(0x156)]{async[_0x360015(0x142)](_0x55c01a){const _0xdb01c7=_0x360015,_0x503f1=this[_0xdb01c7(0x14e)][_0xdb01c7(0x15c)](n[_0xdb01c7(0x146)]);if(!_0x503f1)throw new Error(_0xdb01c7(0x15a));return _0x503f1[_0xdb01c7(0x15b)](_0x55c01a,i[_0xdb01c7(0x147)]);}async[_0x360015(0x158)](_0x3b3bed){const _0xdeeb0d=_0x360015,_0x10036c=this[_0xdeeb0d(0x14e)][_0xdeeb0d(0x15c)](n['IExchangeService']);if(!_0x10036c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10036c['importXLSXToSnapshot'](_0x3b3bed);}async['exportXLSXByUnitId'](_0x30d67f){const _0x4b9409=_0x360015,_0x5cc826=this[_0x4b9409(0x14e)][_0x4b9409(0x15c)](n[_0x4b9409(0x146)]);if(!_0x5cc826)throw new Error(_0x4b9409(0x15a));return _0x5cc826[_0x4b9409(0x141)](_0x30d67f);}async[_0x360015(0x15d)](_0x233c1a){const _0x1ad912=_0x360015,_0x1cd7e4=this[_0x1ad912(0x14e)][_0x1ad912(0x15c)](n[_0x1ad912(0x146)]);if(!_0x1cd7e4)throw new Error(_0x1ad912(0x15a));return _0x1cd7e4[_0x1ad912(0x15d)](_0x233c1a);}async[_0x360015(0x14d)](_0x1db8c2){const _0x4eaa9c=_0x360015,_0x35a4e4=this[_0x4eaa9c(0x14e)][_0x4eaa9c(0x15c)](n[_0x4eaa9c(0x146)]);if(!_0x35a4e4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x35a4e4['importFileToUnitId'](_0x1db8c2,i[_0x4eaa9c(0x157)]);}async[_0x360015(0x150)](_0x3a2079){const _0x375438=_0x360015,_0x4058f0=this[_0x375438(0x14e)][_0x375438(0x15c)](n['IExchangeService']);if(!_0x4058f0)throw new Error(_0x375438(0x15a));return _0x4058f0[_0x375438(0x150)](_0x3a2079);}}c[_0x360015(0x156)][_0x360015(0x154)](o);