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

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 _0x383885=_0x4808;function _0x4808(_0x8eec07,_0x5519fe){const _0x38022a=_0x3802();return _0x4808=function(_0x4808c4,_0x2f8945){_0x4808c4=_0x4808c4-0x19a;let _0x1b40a6=_0x38022a[_0x4808c4];return _0x1b40a6;},_0x4808(_0x8eec07,_0x5519fe);}(function(_0x11f755,_0x1861e9){const _0xe76b1d=_0x4808,_0x37f7c9=_0x11f755();while(!![]){try{const _0x36b8fd=parseInt(_0xe76b1d(0x1a4))/0x1*(-parseInt(_0xe76b1d(0x1b3))/0x2)+-parseInt(_0xe76b1d(0x19d))/0x3*(parseInt(_0xe76b1d(0x19e))/0x4)+-parseInt(_0xe76b1d(0x1a1))/0x5+-parseInt(_0xe76b1d(0x19f))/0x6+-parseInt(_0xe76b1d(0x1a0))/0x7+parseInt(_0xe76b1d(0x1b4))/0x8*(parseInt(_0xe76b1d(0x1a2))/0x9)+parseInt(_0xe76b1d(0x1a3))/0xa;if(_0x36b8fd===_0x1861e9)break;else _0x37f7c9['push'](_0x37f7c9['shift']());}catch(_0xa77edf){_0x37f7c9['push'](_0x37f7c9['shift']());}}}(_0x3802,0x5a670));const c=require(_0x383885(0x1a9)),n=require('@univerjs-pro/exchange-client');var i=(_0x10b75e=>(_0x10b75e[_0x10b75e[_0x383885(0x1ae)]=0x0]=_0x383885(0x1ae),_0x10b75e[_0x10b75e[_0x383885(0x19b)]=0x1]=_0x383885(0x19b),_0x10b75e[_0x10b75e[_0x383885(0x1a5)]=0x2]=_0x383885(0x1a5),_0x10b75e[_0x10b75e['UNIVER_SLIDE']=0x3]=_0x383885(0x1aa),_0x10b75e[_0x10b75e[_0x383885(0x1a8)]=0x4]=_0x383885(0x1a8),_0x10b75e[_0x10b75e[_0x383885(0x1b1)]=-0x1]=_0x383885(0x1b1),_0x10b75e))(i||{});class o extends c['FUniver']{async['importXLSXToUnitId'](_0x78215b){const _0x439604=_0x383885,_0x4156bc=this[_0x439604(0x1a6)][_0x439604(0x1af)](n[_0x439604(0x1ab)]);if(!_0x4156bc)throw new Error(_0x439604(0x19a));return _0x4156bc[_0x439604(0x1a7)](_0x78215b,i[_0x439604(0x1a5)]);}async[_0x383885(0x1ad)](_0x5c54bc){const _0x35df60=_0x383885,_0x3b0074=this['_injector'][_0x35df60(0x1af)](n[_0x35df60(0x1ab)]);if(!_0x3b0074)throw new Error(_0x35df60(0x19a));return _0x3b0074[_0x35df60(0x1ad)](_0x5c54bc);}async[_0x383885(0x1ac)](_0x139f50){const _0x14304d=_0x383885,_0x4193a7=this[_0x14304d(0x1a6)][_0x14304d(0x1af)](n[_0x14304d(0x1ab)]);if(!_0x4193a7)throw new Error(_0x14304d(0x19a));return _0x4193a7[_0x14304d(0x1ac)](_0x139f50);}async[_0x383885(0x1b2)](_0x28ffeb){const _0x2041c3=_0x383885,_0x3276c4=this[_0x2041c3(0x1a6)][_0x2041c3(0x1af)](n['IExchangeService']);if(!_0x3276c4)throw new Error(_0x2041c3(0x19a));return _0x3276c4[_0x2041c3(0x1b2)](_0x28ffeb);}async['importDOCXToUnitId'](_0x4cb6d1){const _0x1cf815=_0x383885,_0x3a92c5=this['_injector'][_0x1cf815(0x1af)](n[_0x1cf815(0x1ab)]);if(!_0x3a92c5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a92c5[_0x1cf815(0x1a7)](_0x4cb6d1,i[_0x1cf815(0x19b)]);}async[_0x383885(0x1b0)](_0x4a4e42){const _0x4f866b=_0x383885,_0x4329a4=this['_injector'][_0x4f866b(0x1af)](n['IExchangeService']);if(!_0x4329a4)throw new Error(_0x4f866b(0x19a));return _0x4329a4[_0x4f866b(0x1b0)](_0x4a4e42);}}function _0x3802(){const _0x272ba5=['5016781PjgJos','2001840pxZnsb','1264707umSPEv','24068540CLZkWo','6iHWrDb','UNIVER_SHEET','_injector','importFileToUnitId','UNIVER_PROJECT','@univerjs/core','UNIVER_SLIDE','IExchangeService','exportXLSXByUnitId','importXLSXToSnapshot','UNIVER_UNKNOWN','get','importDOCXToSnapshot','UNRECOGNIZED','exportXLSXBySnapshot','132506vFGHWB','24zeZSuy','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','FUniver','3LicWXy','1314872IvHkza','3689088yWSNqd'];_0x3802=function(){return _0x272ba5;};return _0x3802();}c[_0x383885(0x19c)]['extend'](o);
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);