@univerjs-pro/exchange-client 0.5.1-nightly.202412091607 → 0.5.1-nightly.202412100649

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 _0xd15e26=_0x49aa;(function(_0x90a0e8,_0x490da3){const _0x56e309=_0x49aa,_0x4f3be0=_0x90a0e8();while(!![]){try{const _0x222699=-parseInt(_0x56e309(0x141))/0x1+parseInt(_0x56e309(0x12f))/0x2*(-parseInt(_0x56e309(0x129))/0x3)+parseInt(_0x56e309(0x142))/0x4*(parseInt(_0x56e309(0x13d))/0x5)+parseInt(_0x56e309(0x12d))/0x6+parseInt(_0x56e309(0x130))/0x7+-parseInt(_0x56e309(0x12b))/0x8*(-parseInt(_0x56e309(0x144))/0x9)+-parseInt(_0x56e309(0x12c))/0xa;if(_0x222699===_0x490da3)break;else _0x4f3be0['push'](_0x4f3be0['shift']());}catch(_0x2d0867){_0x4f3be0['push'](_0x4f3be0['shift']());}}}(_0x2bb9,0x868c6));function _0x2bb9(){const _0x126f55=['get','exportXLSXBySnapshot','IExchangeService','295390DANhQG','3516nWRTYi','@univerjs/core','981693szaGbP','importXLSXToUnitId','@univerjs-pro/exchange-client','21zYZEyR','UNRECOGNIZED','56OifZbJ','12223930YkiIpr','5313978ehNylu','importDOCXToSnapshot','42674edCenl','1602139csuiji','FUniver','UNIVER_PROJECT','UNIVER_SLIDE','importDOCXToUnitId','UNIVER_DOC','UNIVER_SHEET','importFileToUnitId','extend','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','_injector','1935ykWEGI'];_0x2bb9=function(){return _0x126f55;};return _0x2bb9();}const c=require(_0xd15e26(0x143)),n=require(_0xd15e26(0x146));var i=(_0x42ad03=>(_0x42ad03[_0x42ad03['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x42ad03[_0x42ad03[_0xd15e26(0x135)]=0x1]='UNIVER_DOC',_0x42ad03[_0x42ad03['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x42ad03[_0x42ad03[_0xd15e26(0x133)]=0x3]=_0xd15e26(0x133),_0x42ad03[_0x42ad03[_0xd15e26(0x132)]=0x4]=_0xd15e26(0x132),_0x42ad03[_0x42ad03[_0xd15e26(0x12a)]=-0x1]=_0xd15e26(0x12a),_0x42ad03))(i||{});class o extends c[_0xd15e26(0x131)]{async[_0xd15e26(0x145)](_0x8e4295){const _0x1b0515=_0xd15e26,_0x4d6cd7=this[_0x1b0515(0x13c)][_0x1b0515(0x13e)](n[_0x1b0515(0x140)]);if(!_0x4d6cd7)throw new Error(_0x1b0515(0x13a));return _0x4d6cd7[_0x1b0515(0x137)](_0x8e4295,i[_0x1b0515(0x136)]);}async[_0xd15e26(0x13b)](_0x3b8d9f){const _0xa02c45=_0xd15e26,_0x581a63=this[_0xa02c45(0x13c)][_0xa02c45(0x13e)](n[_0xa02c45(0x140)]);if(!_0x581a63)throw new Error(_0xa02c45(0x13a));return _0x581a63['importXLSXToSnapshot'](_0x3b8d9f);}async[_0xd15e26(0x139)](_0x26b20a){const _0x53c0c9=_0xd15e26,_0x570cda=this['_injector'][_0x53c0c9(0x13e)](n[_0x53c0c9(0x140)]);if(!_0x570cda)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x570cda['exportXLSXByUnitId'](_0x26b20a);}async[_0xd15e26(0x13f)](_0x4fba8e){const _0x59fe9b=_0xd15e26,_0x5831d3=this[_0x59fe9b(0x13c)][_0x59fe9b(0x13e)](n['IExchangeService']);if(!_0x5831d3)throw new Error(_0x59fe9b(0x13a));return _0x5831d3[_0x59fe9b(0x13f)](_0x4fba8e);}async[_0xd15e26(0x134)](_0x4cd48c){const _0x3531f7=_0xd15e26,_0x5a9eef=this[_0x3531f7(0x13c)][_0x3531f7(0x13e)](n[_0x3531f7(0x140)]);if(!_0x5a9eef)throw new Error(_0x3531f7(0x13a));return _0x5a9eef['importFileToUnitId'](_0x4cd48c,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x4ed55d){const _0x111b70=_0xd15e26,_0x42234d=this[_0x111b70(0x13c)]['get'](n[_0x111b70(0x140)]);if(!_0x42234d)throw new Error(_0x111b70(0x13a));return _0x42234d[_0x111b70(0x12e)](_0x4ed55d);}}function _0x49aa(_0x3df8a6,_0x3d31ca){const _0x2bb953=_0x2bb9();return _0x49aa=function(_0x49aa22,_0x2e96f0){_0x49aa22=_0x49aa22-0x129;let _0x3406b8=_0x2bb953[_0x49aa22];return _0x3406b8;},_0x49aa(_0x3df8a6,_0x3d31ca);}c[_0xd15e26(0x131)][_0xd15e26(0x138)](o);
1
+ 'use strict';const _0x5cce7e=_0x1567;(function(_0x5d337b,_0x57c553){const _0x223159=_0x1567,_0x25d636=_0x5d337b();while(!![]){try{const _0xcd7e07=parseInt(_0x223159(0x9c))/0x1*(-parseInt(_0x223159(0xa7))/0x2)+parseInt(_0x223159(0x9d))/0x3*(parseInt(_0x223159(0x98))/0x4)+-parseInt(_0x223159(0xab))/0x5+parseInt(_0x223159(0x9f))/0x6*(parseInt(_0x223159(0x9b))/0x7)+-parseInt(_0x223159(0x93))/0x8+-parseInt(_0x223159(0x99))/0x9*(parseInt(_0x223159(0x9e))/0xa)+parseInt(_0x223159(0x8f))/0xb*(parseInt(_0x223159(0xa1))/0xc);if(_0xcd7e07===_0x57c553)break;else _0x25d636['push'](_0x25d636['shift']());}catch(_0x15340){_0x25d636['push'](_0x25d636['shift']());}}}(_0x67cf,0x41e98));function _0x1567(_0x329732,_0x4a09b9){const _0x67cf5b=_0x67cf();return _0x1567=function(_0x156715,_0x36d4fb){_0x156715=_0x156715-0x8e;let _0x46bc3e=_0x67cf5b[_0x156715];return _0x46bc3e;},_0x1567(_0x329732,_0x4a09b9);}const c=require('@univerjs/core'),n=require(_0x5cce7e(0xa9));function _0x67cf(){const _0x339530=['importXLSXToSnapshot','UNIVER_UNKNOWN','UNIVER_PROJECT','732026ljIgeV','UNIVER_SLIDE','@univerjs-pro/exchange-client','get','670740xmYuOp','importDOCXToSnapshot','627UakPZQ','IExchangeService','exportXLSXBySnapshot','UNIVER_DOC','3845056CiGYQD','FUniver','extend','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','36gJBAzt','81BKXIGJ','UNRECOGNIZED','7aGSFqs','1onkOox','95286HOgAEh','193870QZLniE','74682cPwGHn','exportXLSXByUnitId','237252pkktrx','importXLSXToUnitId','_injector'];_0x67cf=function(){return _0x339530;};return _0x67cf();}var i=(_0x33a23a=>(_0x33a23a[_0x33a23a['UNIVER_UNKNOWN']=0x0]=_0x5cce7e(0xa5),_0x33a23a[_0x33a23a[_0x5cce7e(0x92)]=0x1]=_0x5cce7e(0x92),_0x33a23a[_0x33a23a['UNIVER_SHEET']=0x2]=_0x5cce7e(0x96),_0x33a23a[_0x33a23a[_0x5cce7e(0xa8)]=0x3]='UNIVER_SLIDE',_0x33a23a[_0x33a23a[_0x5cce7e(0xa6)]=0x4]=_0x5cce7e(0xa6),_0x33a23a[_0x33a23a[_0x5cce7e(0x9a)]=-0x1]=_0x5cce7e(0x9a),_0x33a23a))(i||{});class o extends c['FUniver']{async[_0x5cce7e(0xa2)](_0x3c1e52){const _0x351ff5=_0x5cce7e,_0x1d3fee=this[_0x351ff5(0xa3)][_0x351ff5(0xaa)](n[_0x351ff5(0x90)]);if(!_0x1d3fee)throw new Error(_0x351ff5(0x97));return _0x1d3fee['importFileToUnitId'](_0x3c1e52,i['UNIVER_SHEET']);}async[_0x5cce7e(0xa4)](_0x27b56b){const _0x6abc02=_0x5cce7e,_0x256d24=this[_0x6abc02(0xa3)]['get'](n[_0x6abc02(0x90)]);if(!_0x256d24)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x256d24[_0x6abc02(0xa4)](_0x27b56b);}async[_0x5cce7e(0xa0)](_0xcfbac4){const _0x4c7a9a=_0x5cce7e,_0x56c9b3=this[_0x4c7a9a(0xa3)]['get'](n['IExchangeService']);if(!_0x56c9b3)throw new Error(_0x4c7a9a(0x97));return _0x56c9b3[_0x4c7a9a(0xa0)](_0xcfbac4);}async['exportXLSXBySnapshot'](_0x308a8a){const _0x1a0d7e=_0x5cce7e,_0x4480d1=this['_injector']['get'](n[_0x1a0d7e(0x90)]);if(!_0x4480d1)throw new Error(_0x1a0d7e(0x97));return _0x4480d1[_0x1a0d7e(0x91)](_0x308a8a);}async['importDOCXToUnitId'](_0x123efb){const _0x1b8d6f=_0x5cce7e,_0x1d3b5a=this[_0x1b8d6f(0xa3)][_0x1b8d6f(0xaa)](n[_0x1b8d6f(0x90)]);if(!_0x1d3b5a)throw new Error(_0x1b8d6f(0x97));return _0x1d3b5a['importFileToUnitId'](_0x123efb,i['UNIVER_DOC']);}async[_0x5cce7e(0x8e)](_0x57d163){const _0x20fd75=_0x5cce7e,_0x129ace=this['_injector'][_0x20fd75(0xaa)](n[_0x20fd75(0x90)]);if(!_0x129ace)throw new Error(_0x20fd75(0x97));return _0x129ace[_0x20fd75(0x8e)](_0x57d163);}}c[_0x5cce7e(0x94)][_0x5cce7e(0x95)](o);