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

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';function _0x4b8f(){const _0x1b38d3=['207RufsVf','4912430ZvyvFJ','721uaYIPS','importXLSXToUnitId','FUniver','_injector','importFileToUnitId','importDOCXToUnitId','11304LWuOHy','importDOCXToSnapshot','UNIVER_SLIDE','get','exportXLSXBySnapshot','UNIVER_PROJECT','2067314ZQIOYr','exportXLSXByUnitId','1104224MysaVo','357798fnKYWJ','UNIVER_UNKNOWN','UNIVER_SHEET','@univerjs/core','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','extend','UNIVER_DOC','importXLSXToSnapshot','UNRECOGNIZED','769226wdjgso','4735316CaJIDI','IExchangeService'];_0x4b8f=function(){return _0x1b38d3;};return _0x4b8f();}function _0x1fe8(_0x53f3e3,_0x5c59d7){const _0x4b8f43=_0x4b8f();return _0x1fe8=function(_0x1fe870,_0x2dcdc7){_0x1fe870=_0x1fe870-0x183;let _0x5e0443=_0x4b8f43[_0x1fe870];return _0x5e0443;},_0x1fe8(_0x53f3e3,_0x5c59d7);}const _0x4116c2=_0x1fe8;(function(_0x7ba90d,_0x21316f){const _0x35d981=_0x1fe8,_0x51fed9=_0x7ba90d();while(!![]){try{const _0x7136cc=parseInt(_0x35d981(0x1a0))/0x1+parseInt(_0x35d981(0x193))/0x2+parseInt(_0x35d981(0x196))/0x3+parseInt(_0x35d981(0x183))/0x4+parseInt(_0x35d981(0x186))/0x5+-parseInt(_0x35d981(0x18d))/0x6*(parseInt(_0x35d981(0x187))/0x7)+parseInt(_0x35d981(0x195))/0x8*(-parseInt(_0x35d981(0x185))/0x9);if(_0x7136cc===_0x21316f)break;else _0x51fed9['push'](_0x51fed9['shift']());}catch(_0x1e8472){_0x51fed9['push'](_0x51fed9['shift']());}}}(_0x4b8f,0xafb98));const c=require(_0x4116c2(0x199)),n=require(_0x4116c2(0x19a));var i=(_0xb9fcf1=>(_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x197)]=0x0]=_0x4116c2(0x197),_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x19d)]=0x1]=_0x4116c2(0x19d),_0xb9fcf1[_0xb9fcf1['UNIVER_SHEET']=0x2]=_0x4116c2(0x198),_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x18f)]=0x3]=_0x4116c2(0x18f),_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x192)]=0x4]='UNIVER_PROJECT',_0xb9fcf1[_0xb9fcf1[_0x4116c2(0x19f)]=-0x1]=_0x4116c2(0x19f),_0xb9fcf1))(i||{});class o extends c[_0x4116c2(0x189)]{async[_0x4116c2(0x188)](_0x3912cb){const _0x87185f=_0x4116c2,_0x5409d6=this['_injector'][_0x87185f(0x190)](n[_0x87185f(0x184)]);if(!_0x5409d6)throw new Error(_0x87185f(0x19b));return _0x5409d6[_0x87185f(0x18b)](_0x3912cb,i[_0x87185f(0x198)]);}async[_0x4116c2(0x19e)](_0x14c949){const _0x2317c5=_0x4116c2,_0x38f767=this[_0x2317c5(0x18a)][_0x2317c5(0x190)](n['IExchangeService']);if(!_0x38f767)throw new Error(_0x2317c5(0x19b));return _0x38f767[_0x2317c5(0x19e)](_0x14c949);}async['exportXLSXByUnitId'](_0x34f6f0){const _0x5137ca=_0x4116c2,_0x41934e=this['_injector'][_0x5137ca(0x190)](n['IExchangeService']);if(!_0x41934e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x41934e[_0x5137ca(0x194)](_0x34f6f0);}async[_0x4116c2(0x191)](_0x45db46){const _0x4c1378=_0x4116c2,_0x22a184=this[_0x4c1378(0x18a)]['get'](n[_0x4c1378(0x184)]);if(!_0x22a184)throw new Error(_0x4c1378(0x19b));return _0x22a184['exportXLSXBySnapshot'](_0x45db46);}async[_0x4116c2(0x18c)](_0x233333){const _0x227dbd=_0x4116c2,_0x1e4cc6=this[_0x227dbd(0x18a)]['get'](n[_0x227dbd(0x184)]);if(!_0x1e4cc6)throw new Error(_0x227dbd(0x19b));return _0x1e4cc6[_0x227dbd(0x18b)](_0x233333,i[_0x227dbd(0x19d)]);}async[_0x4116c2(0x18e)](_0x286371){const _0x16ff66=_0x4116c2,_0x3c5f74=this['_injector'][_0x16ff66(0x190)](n[_0x16ff66(0x184)]);if(!_0x3c5f74)throw new Error(_0x16ff66(0x19b));return _0x3c5f74[_0x16ff66(0x18e)](_0x286371);}}c[_0x4116c2(0x189)][_0x4116c2(0x19c)](o);
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);