@univerjs-pro/exchange-client 0.5.0-alpha.0 → 0.5.0-nightly.202411101605

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 _0x3d1819=_0x4241;(function(_0xd4efc6,_0x36b381){const _0x5e2824=_0x4241,_0x54831b=_0xd4efc6();while(!![]){try{const _0x565fd6=parseInt(_0x5e2824(0x8b))/0x1+-parseInt(_0x5e2824(0xa3))/0x2*(parseInt(_0x5e2824(0x9a))/0x3)+-parseInt(_0x5e2824(0x98))/0x4*(-parseInt(_0x5e2824(0x8c))/0x5)+parseInt(_0x5e2824(0x97))/0x6+parseInt(_0x5e2824(0x8e))/0x7+parseInt(_0x5e2824(0x90))/0x8*(parseInt(_0x5e2824(0x94))/0x9)+parseInt(_0x5e2824(0x87))/0xa*(-parseInt(_0x5e2824(0x9b))/0xb);if(_0x565fd6===_0x36b381)break;else _0x54831b['push'](_0x54831b['shift']());}catch(_0x9d7977){_0x54831b['push'](_0x54831b['shift']());}}}(_0x5115,0x5a251));const c=require('@univerjs/core'),n=require(_0x3d1819(0x9c));var i=(_0x4b55c6=>(_0x4b55c6[_0x4b55c6[_0x3d1819(0x9d)]=0x0]='UNIVER_UNKNOWN',_0x4b55c6[_0x4b55c6['UNIVER_DOC']=0x1]=_0x3d1819(0x9f),_0x4b55c6[_0x4b55c6['UNIVER_SHEET']=0x2]=_0x3d1819(0x8a),_0x4b55c6[_0x4b55c6[_0x3d1819(0xa2)]=0x3]=_0x3d1819(0xa2),_0x4b55c6[_0x4b55c6[_0x3d1819(0x8f)]=0x4]=_0x3d1819(0x8f),_0x4b55c6[_0x4b55c6[_0x3d1819(0x92)]=-0x1]=_0x3d1819(0x92),_0x4b55c6))(i||{});function _0x5115(){const _0x352318=['IExchangeService','1311540ZFGicO','28suwyCa','The\x20exchange\x20service\x20is\x20not\x20available','18MzAHht','465707SUghyk','@univerjs-pro/exchange-client','UNIVER_UNKNOWN','extend','UNIVER_DOC','importFileToUnitId','_injector','UNIVER_SLIDE','187158qrejgF','get','170vNtNni','importXLSXToSnapshot','importXLSXToUnitId','UNIVER_SHEET','311457aHHJkG','66635wULweH','exportXLSXBySnapshot','2407097jllyGw','UNIVER_PROJECT','5465832kqeATA','FUniver','UNRECOGNIZED','exportXLSXByUnitId','9ljwdDo','importDOCXToSnapshot'];_0x5115=function(){return _0x352318;};return _0x5115();}function _0x4241(_0x3081ab,_0x5a85da){const _0x511505=_0x5115();return _0x4241=function(_0x424125,_0x14b4d0){_0x424125=_0x424125-0x87;let _0x392080=_0x511505[_0x424125];return _0x392080;},_0x4241(_0x3081ab,_0x5a85da);}class o extends c[_0x3d1819(0x91)]{async[_0x3d1819(0x89)](_0x52de4d){const _0x43061f=_0x3d1819,_0x573444=this['_injector']['get'](n[_0x43061f(0x96)]);if(!_0x573444)throw new Error(_0x43061f(0x99));return _0x573444[_0x43061f(0xa0)](_0x52de4d,i[_0x43061f(0x8a)]);}async['importXLSXToSnapshot'](_0x35df1e){const _0x1e60f7=_0x3d1819,_0x544f85=this[_0x1e60f7(0xa1)]['get'](n[_0x1e60f7(0x96)]);if(!_0x544f85)throw new Error(_0x1e60f7(0x99));return _0x544f85[_0x1e60f7(0x88)](_0x35df1e);}async[_0x3d1819(0x93)](_0xa10e54){const _0x170b67=_0x3d1819,_0x369539=this[_0x170b67(0xa1)][_0x170b67(0xa4)](n[_0x170b67(0x96)]);if(!_0x369539)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x369539[_0x170b67(0x93)](_0xa10e54);}async[_0x3d1819(0x8d)](_0xe86bd9){const _0x3e2ed7=_0x3d1819,_0x22711a=this[_0x3e2ed7(0xa1)][_0x3e2ed7(0xa4)](n['IExchangeService']);if(!_0x22711a)throw new Error(_0x3e2ed7(0x99));return _0x22711a[_0x3e2ed7(0x8d)](_0xe86bd9);}async['importDOCXToUnitId'](_0x57f826){const _0xd47a1=_0x3d1819,_0x45fbaf=this[_0xd47a1(0xa1)][_0xd47a1(0xa4)](n[_0xd47a1(0x96)]);if(!_0x45fbaf)throw new Error(_0xd47a1(0x99));return _0x45fbaf[_0xd47a1(0xa0)](_0x57f826,i[_0xd47a1(0x9f)]);}async[_0x3d1819(0x95)](_0x82e4de){const _0x2f0765=_0x3d1819,_0x25e319=this[_0x2f0765(0xa1)][_0x2f0765(0xa4)](n[_0x2f0765(0x96)]);if(!_0x25e319)throw new Error(_0x2f0765(0x99));return _0x25e319[_0x2f0765(0x95)](_0x82e4de);}}c['FUniver'][_0x3d1819(0x9e)](o);
1
+ 'use strict';function _0x1ab6(_0x2577a3,_0x37a3fc){const _0x1c8a32=_0x1c8a();return _0x1ab6=function(_0x1ab67e,_0x1a10fc){_0x1ab67e=_0x1ab67e-0x12e;let _0x43fdd4=_0x1c8a32[_0x1ab67e];return _0x43fdd4;},_0x1ab6(_0x2577a3,_0x37a3fc);}const _0x35996e=_0x1ab6;function _0x1c8a(){const _0xdced66=['importXLSXToUnitId','UNRECOGNIZED','@univerjs/core','1233yXfRKG','2085JSBFlH','3628sAuKMY','85141CEZSZu','UNIVER_SLIDE','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshot','222XMjpLA','9660490nAyyRE','69414FikBbJ','exportXLSXByUnitId','UNIVER_UNKNOWN','_injector','UNIVER_DOC','UNIVER_PROJECT','803948HFDESQ','602810EQFtDZ','importXLSXToSnapshot','IExchangeService','exportXLSXBySnapshot','21080RqquNY','FUniver','importFileToUnitId','extend','get','@univerjs-pro/exchange-client'];_0x1c8a=function(){return _0xdced66;};return _0x1c8a();}(function(_0x13a700,_0x3c183e){const _0x47f050=_0x1ab6,_0x19cdf6=_0x13a700();while(!![]){try{const _0x162a83=-parseInt(_0x47f050(0x13d))/0x1+parseInt(_0x47f050(0x13c))/0x2+parseInt(_0x47f050(0x136))/0x3+-parseInt(_0x47f050(0x12e))/0x4*(-parseInt(_0x47f050(0x14b))/0x5)+parseInt(_0x47f050(0x134))/0x6*(-parseInt(_0x47f050(0x12f))/0x7)+parseInt(_0x47f050(0x141))/0x8*(-parseInt(_0x47f050(0x14a))/0x9)+parseInt(_0x47f050(0x135))/0xa;if(_0x162a83===_0x3c183e)break;else _0x19cdf6['push'](_0x19cdf6['shift']());}catch(_0xc7d0ec){_0x19cdf6['push'](_0x19cdf6['shift']());}}}(_0x1c8a,0x56cd8));const c=require(_0x35996e(0x149)),n=require(_0x35996e(0x146));var i=(_0x352cfb=>(_0x352cfb[_0x352cfb['UNIVER_UNKNOWN']=0x0]=_0x35996e(0x138),_0x352cfb[_0x352cfb[_0x35996e(0x13a)]=0x1]=_0x35996e(0x13a),_0x352cfb[_0x352cfb[_0x35996e(0x131)]=0x2]=_0x35996e(0x131),_0x352cfb[_0x352cfb[_0x35996e(0x130)]=0x3]=_0x35996e(0x130),_0x352cfb[_0x352cfb[_0x35996e(0x13b)]=0x4]=_0x35996e(0x13b),_0x352cfb[_0x352cfb[_0x35996e(0x148)]=-0x1]=_0x35996e(0x148),_0x352cfb))(i||{});class o extends c['FUniver']{async[_0x35996e(0x147)](_0xdad547){const _0x201a01=_0x35996e,_0x3d667a=this[_0x201a01(0x139)][_0x201a01(0x145)](n[_0x201a01(0x13f)]);if(!_0x3d667a)throw new Error(_0x201a01(0x132));return _0x3d667a[_0x201a01(0x143)](_0xdad547,i[_0x201a01(0x131)]);}async[_0x35996e(0x13e)](_0x26cb20){const _0x35c90c=_0x35996e,_0x4e2b6d=this[_0x35c90c(0x139)]['get'](n[_0x35c90c(0x13f)]);if(!_0x4e2b6d)throw new Error(_0x35c90c(0x132));return _0x4e2b6d[_0x35c90c(0x13e)](_0x26cb20);}async[_0x35996e(0x137)](_0x36d27d){const _0x4ffd32=_0x35996e,_0x2f93f4=this['_injector']['get'](n['IExchangeService']);if(!_0x2f93f4)throw new Error(_0x4ffd32(0x132));return _0x2f93f4[_0x4ffd32(0x137)](_0x36d27d);}async['exportXLSXBySnapshot'](_0x1272d3){const _0x4bb8cd=_0x35996e,_0xa50aaa=this['_injector']['get'](n[_0x4bb8cd(0x13f)]);if(!_0xa50aaa)throw new Error(_0x4bb8cd(0x132));return _0xa50aaa[_0x4bb8cd(0x140)](_0x1272d3);}async['importDOCXToUnitId'](_0x1b97fe){const _0x159edf=_0x35996e,_0x25401d=this['_injector'][_0x159edf(0x145)](n['IExchangeService']);if(!_0x25401d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25401d[_0x159edf(0x143)](_0x1b97fe,i[_0x159edf(0x13a)]);}async['importDOCXToSnapshot'](_0x375c9d){const _0x4f1851=_0x35996e,_0x559305=this['_injector'][_0x4f1851(0x145)](n[_0x4f1851(0x13f)]);if(!_0x559305)throw new Error(_0x4f1851(0x132));return _0x559305[_0x4f1851(0x133)](_0x375c9d);}}c[_0x35996e(0x142)][_0x35996e(0x144)](o);