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

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 _0x5e31dd=_0xf0e7;(function(_0x35e7bd,_0x4b1ccb){const _0x18e877=_0xf0e7,_0xe48970=_0x35e7bd();while(!![]){try{const _0x4a66a9=-parseInt(_0x18e877(0x1cf))/0x1+-parseInt(_0x18e877(0x1d3))/0x2*(-parseInt(_0x18e877(0x1c0))/0x3)+-parseInt(_0x18e877(0x1ca))/0x4*(parseInt(_0x18e877(0x1d4))/0x5)+parseInt(_0x18e877(0x1c3))/0x6+parseInt(_0x18e877(0x1c7))/0x7*(parseInt(_0x18e877(0x1d5))/0x8)+parseInt(_0x18e877(0x1cb))/0x9*(parseInt(_0x18e877(0x1be))/0xa)+-parseInt(_0x18e877(0x1c1))/0xb;if(_0x4a66a9===_0x4b1ccb)break;else _0xe48970['push'](_0xe48970['shift']());}catch(_0x3a31f9){_0xe48970['push'](_0xe48970['shift']());}}}(_0x1c1d,0xf23d1));function _0x1c1d(){const _0x1b7581=['6257940FqMrqB','exportXLSXBySnapshot','importDOCXToSnapshot','_injector','658THkOxR','IExchangeService','UNIVER_DOC','4vzbckD','27rXNgrL','UNRECOGNIZED','importXLSXToSnapshot','UNIVER_SLIDE','715889rvUuNj','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','12VWnpAq','4396175hKCFTg','90088sDBRCm','@univerjs/core','UNIVER_PROJECT','importXLSXToUnitId','UNIVER_UNKNOWN','extend','1891390kLMhnd','get','177162PbQaWi','4795252uLnpUq','exportXLSXByUnitId'];_0x1c1d=function(){return _0x1b7581;};return _0x1c1d();}const c=require(_0x5e31dd(0x1d6)),n=require('@univerjs-pro/exchange-client');var i=(_0x4db466=>(_0x4db466[_0x4db466[_0x5e31dd(0x1bc)]=0x0]=_0x5e31dd(0x1bc),_0x4db466[_0x4db466[_0x5e31dd(0x1c9)]=0x1]='UNIVER_DOC',_0x4db466[_0x4db466['UNIVER_SHEET']=0x2]=_0x5e31dd(0x1d0),_0x4db466[_0x4db466[_0x5e31dd(0x1ce)]=0x3]=_0x5e31dd(0x1ce),_0x4db466[_0x4db466[_0x5e31dd(0x1ba)]=0x4]=_0x5e31dd(0x1ba),_0x4db466[_0x4db466[_0x5e31dd(0x1cc)]=-0x1]=_0x5e31dd(0x1cc),_0x4db466))(i||{});function _0xf0e7(_0x6d670f,_0x7e92f4){const _0x1c1d1d=_0x1c1d();return _0xf0e7=function(_0xf0e732,_0x738fb6){_0xf0e732=_0xf0e732-0x1ba;let _0x5dc2ad=_0x1c1d1d[_0xf0e732];return _0x5dc2ad;},_0xf0e7(_0x6d670f,_0x7e92f4);}class o extends c['FUniver']{async[_0x5e31dd(0x1bb)](_0x1f894f){const _0x1a493b=_0x5e31dd,_0x13eedd=this['_injector']['get'](n[_0x1a493b(0x1c8)]);if(!_0x13eedd)throw new Error(_0x1a493b(0x1d1));return _0x13eedd['importFileToUnitId'](_0x1f894f,i[_0x1a493b(0x1d0)]);}async[_0x5e31dd(0x1cd)](_0x4e7446){const _0x51e259=_0x5e31dd,_0x1165af=this[_0x51e259(0x1c6)][_0x51e259(0x1bf)](n[_0x51e259(0x1c8)]);if(!_0x1165af)throw new Error(_0x51e259(0x1d1));return _0x1165af[_0x51e259(0x1cd)](_0x4e7446);}async[_0x5e31dd(0x1c2)](_0x27c5c1){const _0x7089f9=_0x5e31dd,_0x5a83e2=this[_0x7089f9(0x1c6)][_0x7089f9(0x1bf)](n['IExchangeService']);if(!_0x5a83e2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5a83e2[_0x7089f9(0x1c2)](_0x27c5c1);}async['exportXLSXBySnapshot'](_0x3dbe29){const _0x1499f7=_0x5e31dd,_0x15ab39=this['_injector']['get'](n['IExchangeService']);if(!_0x15ab39)throw new Error(_0x1499f7(0x1d1));return _0x15ab39[_0x1499f7(0x1c4)](_0x3dbe29);}async['importDOCXToUnitId'](_0x1a6304){const _0x51ca27=_0x5e31dd,_0x21a6eb=this['_injector']['get'](n['IExchangeService']);if(!_0x21a6eb)throw new Error(_0x51ca27(0x1d1));return _0x21a6eb[_0x51ca27(0x1d2)](_0x1a6304,i[_0x51ca27(0x1c9)]);}async[_0x5e31dd(0x1c5)](_0x5a34d1){const _0x12491b=_0x5e31dd,_0x5e04a4=this[_0x12491b(0x1c6)]['get'](n[_0x12491b(0x1c8)]);if(!_0x5e04a4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5e04a4['importDOCXToSnapshot'](_0x5a34d1);}}c['FUniver'][_0x5e31dd(0x1bd)](o);
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);