@univerjs-pro/exchange-client 0.5.0-nightly.202411151606 → 0.5.0-nightly.202411171605

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 _0x23a7(_0x581317,_0xd94581){const _0x3a2308=_0x3a23();return _0x23a7=function(_0x23a73f,_0x26f927){_0x23a73f=_0x23a73f-0x146;let _0x12031f=_0x3a2308[_0x23a73f];return _0x12031f;},_0x23a7(_0x581317,_0xd94581);}const _0x4c85c9=_0x23a7;(function(_0x1c84f5,_0x80e6d5){const _0x1a8399=_0x23a7,_0x4699bb=_0x1c84f5();while(!![]){try{const _0x2a84a6=parseInt(_0x1a8399(0x159))/0x1+-parseInt(_0x1a8399(0x14e))/0x2+-parseInt(_0x1a8399(0x15a))/0x3+parseInt(_0x1a8399(0x14c))/0x4+parseInt(_0x1a8399(0x155))/0x5+parseInt(_0x1a8399(0x15c))/0x6*(parseInt(_0x1a8399(0x14f))/0x7)+-parseInt(_0x1a8399(0x151))/0x8;if(_0x2a84a6===_0x80e6d5)break;else _0x4699bb['push'](_0x4699bb['shift']());}catch(_0x47c425){_0x4699bb['push'](_0x4699bb['shift']());}}}(_0x3a23,0x2f02a));function _0x3a23(){const _0x16f272=['UNIVER_DOC','importXLSXToSnapshot','importFileToUnitId','26542uFqcpR','331305jIttSL','FUniver','12MiKYkO','exportXLSXByUnitId','get','_injector','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','exportXLSXBySnapshot','188024gMTVCv','IExchangeService','738630yIDEVo','1176329OEKUXc','importXLSXToUnitId','399880eSEPGi','UNRECOGNIZED','UNIVER_SHEET','importDOCXToSnapshot','1563235ZBuwLN'];_0x3a23=function(){return _0x16f272;};return _0x3a23();}const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');var i=(_0x95589a=>(_0x95589a[_0x95589a['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x95589a[_0x95589a['UNIVER_DOC']=0x1]=_0x4c85c9(0x156),_0x95589a[_0x95589a['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x95589a[_0x95589a[_0x4c85c9(0x148)]=0x3]='UNIVER_SLIDE',_0x95589a[_0x95589a[_0x4c85c9(0x14a)]=0x4]=_0x4c85c9(0x14a),_0x95589a[_0x95589a[_0x4c85c9(0x152)]=-0x1]=_0x4c85c9(0x152),_0x95589a))(i||{});class o extends c[_0x4c85c9(0x15b)]{async[_0x4c85c9(0x150)](_0x55c775){const _0x7c11=_0x4c85c9,_0x2dc70b=this['_injector'][_0x7c11(0x146)](n[_0x7c11(0x14d)]);if(!_0x2dc70b)throw new Error(_0x7c11(0x149));return _0x2dc70b[_0x7c11(0x158)](_0x55c775,i[_0x7c11(0x153)]);}async[_0x4c85c9(0x157)](_0x37ec57){const _0x6a6b1c=_0x4c85c9,_0xf917ba=this[_0x6a6b1c(0x147)][_0x6a6b1c(0x146)](n[_0x6a6b1c(0x14d)]);if(!_0xf917ba)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf917ba[_0x6a6b1c(0x157)](_0x37ec57);}async[_0x4c85c9(0x15d)](_0x380003){const _0x49f411=_0x4c85c9,_0x4f2070=this[_0x49f411(0x147)][_0x49f411(0x146)](n[_0x49f411(0x14d)]);if(!_0x4f2070)throw new Error(_0x49f411(0x149));return _0x4f2070['exportXLSXByUnitId'](_0x380003);}async[_0x4c85c9(0x14b)](_0x5ed460){const _0x776e29=_0x4c85c9,_0x534566=this['_injector'][_0x776e29(0x146)](n[_0x776e29(0x14d)]);if(!_0x534566)throw new Error(_0x776e29(0x149));return _0x534566['exportXLSXBySnapshot'](_0x5ed460);}async['importDOCXToUnitId'](_0x2dae71){const _0x61a86=_0x4c85c9,_0x7aacab=this[_0x61a86(0x147)]['get'](n['IExchangeService']);if(!_0x7aacab)throw new Error(_0x61a86(0x149));return _0x7aacab['importFileToUnitId'](_0x2dae71,i[_0x61a86(0x156)]);}async[_0x4c85c9(0x154)](_0x1609c1){const _0x8e717d=_0x4c85c9,_0x1ccd04=this[_0x8e717d(0x147)][_0x8e717d(0x146)](n[_0x8e717d(0x14d)]);if(!_0x1ccd04)throw new Error(_0x8e717d(0x149));return _0x1ccd04[_0x8e717d(0x154)](_0x1609c1);}}c[_0x4c85c9(0x15b)]['extend'](o);
1
+ 'use strict';function _0x895c(_0xd42eba,_0x5233cb){const _0x1ab2bf=_0x1ab2();return _0x895c=function(_0x895c02,_0x537576){_0x895c02=_0x895c02-0x11d;let _0x3bdc70=_0x1ab2bf[_0x895c02];return _0x3bdc70;},_0x895c(_0xd42eba,_0x5233cb);}const _0x2f037f=_0x895c;(function(_0x362bda,_0x340f54){const _0x255443=_0x895c,_0x2da5a4=_0x362bda();while(!![]){try{const _0x249635=parseInt(_0x255443(0x133))/0x1*(-parseInt(_0x255443(0x125))/0x2)+parseInt(_0x255443(0x137))/0x3*(parseInt(_0x255443(0x11d))/0x4)+-parseInt(_0x255443(0x12e))/0x5+parseInt(_0x255443(0x12a))/0x6+-parseInt(_0x255443(0x135))/0x7+-parseInt(_0x255443(0x122))/0x8+-parseInt(_0x255443(0x136))/0x9*(-parseInt(_0x255443(0x129))/0xa);if(_0x249635===_0x340f54)break;else _0x2da5a4['push'](_0x2da5a4['shift']());}catch(_0x2715ee){_0x2da5a4['push'](_0x2da5a4['shift']());}}}(_0x1ab2,0x53510));function _0x1ab2(){const _0x54247a=['473410BIYlAW','exportXLSXByUnitId','importXLSXToSnapshot','UNIVER_PROJECT','49890zHLjcu','3545814LTuMtK','UNIVER_SLIDE','importDOCXToSnapshot','IExchangeService','3232275OlYqwe','importDOCXToUnitId','@univerjs/core','The\x20exchange\x20service\x20is\x20not\x20available','_injector','1SmLxLD','UNIVER_UNKNOWN','1261589xHmhbV','522CWWnFy','1753959pjtkhr','importXLSXToUnitId','importFileToUnitId','UNIVER_DOC','4VfbFvB','UNRECOGNIZED','UNIVER_SHEET','exportXLSXBySnapshot','extend','482664bMKZFi','FUniver','get'];_0x1ab2=function(){return _0x54247a;};return _0x1ab2();}const c=require(_0x2f037f(0x130)),n=require('@univerjs-pro/exchange-client');var i=(_0x5cc031=>(_0x5cc031[_0x5cc031[_0x2f037f(0x134)]=0x0]=_0x2f037f(0x134),_0x5cc031[_0x5cc031[_0x2f037f(0x13a)]=0x1]='UNIVER_DOC',_0x5cc031[_0x5cc031[_0x2f037f(0x11f)]=0x2]=_0x2f037f(0x11f),_0x5cc031[_0x5cc031[_0x2f037f(0x12b)]=0x3]=_0x2f037f(0x12b),_0x5cc031[_0x5cc031[_0x2f037f(0x128)]=0x4]=_0x2f037f(0x128),_0x5cc031[_0x5cc031['UNRECOGNIZED']=-0x1]=_0x2f037f(0x11e),_0x5cc031))(i||{});class o extends c['FUniver']{async[_0x2f037f(0x138)](_0x5e7f86){const _0x5a9c42=_0x2f037f,_0x257d30=this[_0x5a9c42(0x132)][_0x5a9c42(0x124)](n['IExchangeService']);if(!_0x257d30)throw new Error(_0x5a9c42(0x131));return _0x257d30[_0x5a9c42(0x139)](_0x5e7f86,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x56beee){const _0x44a73e=_0x2f037f,_0x3e213c=this[_0x44a73e(0x132)][_0x44a73e(0x124)](n[_0x44a73e(0x12d)]);if(!_0x3e213c)throw new Error(_0x44a73e(0x131));return _0x3e213c[_0x44a73e(0x127)](_0x56beee);}async[_0x2f037f(0x126)](_0x366d11){const _0x5bf321=_0x2f037f,_0x311001=this[_0x5bf321(0x132)][_0x5bf321(0x124)](n[_0x5bf321(0x12d)]);if(!_0x311001)throw new Error(_0x5bf321(0x131));return _0x311001[_0x5bf321(0x126)](_0x366d11);}async[_0x2f037f(0x120)](_0x2f8b52){const _0x186680=_0x2f037f,_0x17652c=this[_0x186680(0x132)][_0x186680(0x124)](n['IExchangeService']);if(!_0x17652c)throw new Error(_0x186680(0x131));return _0x17652c[_0x186680(0x120)](_0x2f8b52);}async[_0x2f037f(0x12f)](_0x36b31d){const _0x273eb6=_0x2f037f,_0x27bc9a=this[_0x273eb6(0x132)][_0x273eb6(0x124)](n[_0x273eb6(0x12d)]);if(!_0x27bc9a)throw new Error(_0x273eb6(0x131));return _0x27bc9a[_0x273eb6(0x139)](_0x36b31d,i[_0x273eb6(0x13a)]);}async[_0x2f037f(0x12c)](_0x9de426){const _0x2dfc1b=_0x2f037f,_0x5b2a0f=this['_injector'][_0x2dfc1b(0x124)](n[_0x2dfc1b(0x12d)]);if(!_0x5b2a0f)throw new Error(_0x2dfc1b(0x131));return _0x5b2a0f['importDOCXToSnapshot'](_0x9de426);}}c[_0x2f037f(0x123)][_0x2f037f(0x121)](o);