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

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';const _0x13bd58=_0x15f5;(function(_0x4b7735,_0x216984){const _0x4b5710=_0x15f5,_0x2d8d21=_0x4b7735();while(!![]){try{const _0x5064b5=parseInt(_0x4b5710(0x1fc))/0x1*(-parseInt(_0x4b5710(0x1f9))/0x2)+-parseInt(_0x4b5710(0x207))/0x3*(-parseInt(_0x4b5710(0x1ff))/0x4)+parseInt(_0x4b5710(0x20d))/0x5*(-parseInt(_0x4b5710(0x202))/0x6)+-parseInt(_0x4b5710(0x20c))/0x7*(-parseInt(_0x4b5710(0x1f3))/0x8)+-parseInt(_0x4b5710(0x1f6))/0x9*(parseInt(_0x4b5710(0x201))/0xa)+parseInt(_0x4b5710(0x1f2))/0xb*(parseInt(_0x4b5710(0x210))/0xc)+parseInt(_0x4b5710(0x205))/0xd*(parseInt(_0x4b5710(0x208))/0xe);if(_0x5064b5===_0x216984)break;else _0x2d8d21['push'](_0x2d8d21['shift']());}catch(_0x46d4d1){_0x2d8d21['push'](_0x2d8d21['shift']());}}}(_0x21f5,0xc386f));function _0x15f5(_0x4b49c7,_0x43834d){const _0x21f5db=_0x21f5();return _0x15f5=function(_0x15f571,_0x557d63){_0x15f571=_0x15f571-0x1ef;let _0x2b6e72=_0x21f5db[_0x15f571];return _0x2b6e72;},_0x15f5(_0x4b49c7,_0x43834d);}const c=require(_0x13bd58(0x1ef)),n=require(_0x13bd58(0x211));var i=(_0x247b18=>(_0x247b18[_0x247b18['UNIVER_UNKNOWN']=0x0]=_0x13bd58(0x200),_0x247b18[_0x247b18[_0x13bd58(0x206)]=0x1]=_0x13bd58(0x206),_0x247b18[_0x247b18['UNIVER_SHEET']=0x2]=_0x13bd58(0x20a),_0x247b18[_0x247b18['UNIVER_SLIDE']=0x3]=_0x13bd58(0x1fd),_0x247b18[_0x247b18[_0x13bd58(0x1f8)]=0x4]=_0x13bd58(0x1f8),_0x247b18[_0x247b18[_0x13bd58(0x1f4)]=-0x1]=_0x13bd58(0x1f4),_0x247b18))(i||{});function _0x21f5(){const _0x76d5c7=['4100RTuoPF','get','The\x20exchange\x20service\x20is\x20not\x20available','516QLKZGp','@univerjs-pro/exchange-client','@univerjs/core','FUniver','importXLSXToUnitId','22814QMgWAf','996584IqmVvX','UNRECOGNIZED','exportXLSXByUnitId','9laeanI','importFileToUnitId','UNIVER_PROJECT','1162RlzEqr','exportXLSXBySnapshot','importDOCXToSnapshot','635EJNVNE','UNIVER_SLIDE','IExchangeService','2412388DLFYsD','UNIVER_UNKNOWN','15129470cNGlBf','10218HWpCQb','importXLSXToSnapshot','_injector','3855527StpkgO','UNIVER_DOC','3sBPXug','154LPhXfc','extend','UNIVER_SHEET','importDOCXToUnitId','7pdCRXs'];_0x21f5=function(){return _0x76d5c7;};return _0x21f5();}class o extends c['FUniver']{async[_0x13bd58(0x1f1)](_0x5d527e){const _0x33e1f5=_0x13bd58,_0x455898=this['_injector'][_0x33e1f5(0x20e)](n[_0x33e1f5(0x1fe)]);if(!_0x455898)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x455898[_0x33e1f5(0x1f7)](_0x5d527e,i['UNIVER_SHEET']);}async[_0x13bd58(0x203)](_0x5d8213){const _0x3a84ac=_0x13bd58,_0xb0d354=this[_0x3a84ac(0x204)][_0x3a84ac(0x20e)](n[_0x3a84ac(0x1fe)]);if(!_0xb0d354)throw new Error(_0x3a84ac(0x20f));return _0xb0d354[_0x3a84ac(0x203)](_0x5d8213);}async[_0x13bd58(0x1f5)](_0x963e51){const _0x348f0a=_0x13bd58,_0x5844ea=this[_0x348f0a(0x204)]['get'](n[_0x348f0a(0x1fe)]);if(!_0x5844ea)throw new Error(_0x348f0a(0x20f));return _0x5844ea[_0x348f0a(0x1f5)](_0x963e51);}async[_0x13bd58(0x1fa)](_0x5e17de){const _0x13b2cc=_0x13bd58,_0x188cdf=this[_0x13b2cc(0x204)][_0x13b2cc(0x20e)](n[_0x13b2cc(0x1fe)]);if(!_0x188cdf)throw new Error(_0x13b2cc(0x20f));return _0x188cdf[_0x13b2cc(0x1fa)](_0x5e17de);}async[_0x13bd58(0x20b)](_0x24d724){const _0x3ae200=_0x13bd58,_0xe10369=this[_0x3ae200(0x204)][_0x3ae200(0x20e)](n['IExchangeService']);if(!_0xe10369)throw new Error(_0x3ae200(0x20f));return _0xe10369[_0x3ae200(0x1f7)](_0x24d724,i[_0x3ae200(0x206)]);}async['importDOCXToSnapshot'](_0x28b305){const _0x3c099c=_0x13bd58,_0x3c7185=this['_injector'][_0x3c099c(0x20e)](n[_0x3c099c(0x1fe)]);if(!_0x3c7185)throw new Error(_0x3c099c(0x20f));return _0x3c7185[_0x3c099c(0x1fb)](_0x28b305);}}c[_0x13bd58(0x1f0)][_0x13bd58(0x209)](o);