@univerjs-pro/exchange-client 0.5.0-nightly.202411161605 → 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';const _0x5b5814=_0x2852;(function(_0x2fcd20,_0x5bc307){const _0x149062=_0x2852,_0x49f635=_0x2fcd20();while(!![]){try{const _0x2e3260=-parseInt(_0x149062(0x19c))/0x1+parseInt(_0x149062(0x1a4))/0x2*(-parseInt(_0x149062(0x1b5))/0x3)+parseInt(_0x149062(0x1ad))/0x4+parseInt(_0x149062(0x1a5))/0x5+-parseInt(_0x149062(0x1b6))/0x6+parseInt(_0x149062(0x1a2))/0x7*(parseInt(_0x149062(0x1ab))/0x8)+parseInt(_0x149062(0x1b2))/0x9;if(_0x2e3260===_0x5bc307)break;else _0x49f635['push'](_0x49f635['shift']());}catch(_0x4626bb){_0x49f635['push'](_0x49f635['shift']());}}}(_0x7322,0x70799));const c=require('@univerjs/core'),n=require(_0x5b5814(0x1b0));var i=(_0xd2d7c9=>(_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1a3)]=0x0]=_0x5b5814(0x1a3),_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1a0)]=0x1]='UNIVER_DOC',_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1a9)]=0x2]=_0x5b5814(0x1a9),_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1a8)]=0x3]='UNIVER_SLIDE',_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1b3)]=0x4]=_0x5b5814(0x1b3),_0xd2d7c9[_0xd2d7c9[_0x5b5814(0x1b1)]=-0x1]=_0x5b5814(0x1b1),_0xd2d7c9))(i||{});function _0x7322(){const _0x2d6e9e=['39669JWtlya','554916iBLkWO','693608puVWQc','FUniver','exportXLSXBySnapshot','_injector','UNIVER_DOC','importDOCXToSnapshot','7mJgqHe','UNIVER_UNKNOWN','82SgewoP','1311060pEJVSo','IExchangeService','exportXLSXByUnitId','UNIVER_SLIDE','UNIVER_SHEET','importXLSXToUnitId','2251824jQNxXe','get','251304ohIXFd','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','UNRECOGNIZED','10641762DlOJVa','UNIVER_PROJECT','importXLSXToSnapshot'];_0x7322=function(){return _0x2d6e9e;};return _0x7322();}class o extends c[_0x5b5814(0x19d)]{async[_0x5b5814(0x1aa)](_0x426e9f){const _0x416d5=_0x5b5814,_0x4a63ab=this['_injector'][_0x416d5(0x1ac)](n[_0x416d5(0x1a6)]);if(!_0x4a63ab)throw new Error(_0x416d5(0x1af));return _0x4a63ab[_0x416d5(0x1ae)](_0x426e9f,i[_0x416d5(0x1a9)]);}async[_0x5b5814(0x1b4)](_0x23c2b4){const _0x5e0535=_0x5b5814,_0x14d503=this[_0x5e0535(0x19f)][_0x5e0535(0x1ac)](n[_0x5e0535(0x1a6)]);if(!_0x14d503)throw new Error(_0x5e0535(0x1af));return _0x14d503[_0x5e0535(0x1b4)](_0x23c2b4);}async['exportXLSXByUnitId'](_0x56a900){const _0x570e31=_0x5b5814,_0x4c15de=this[_0x570e31(0x19f)][_0x570e31(0x1ac)](n['IExchangeService']);if(!_0x4c15de)throw new Error(_0x570e31(0x1af));return _0x4c15de[_0x570e31(0x1a7)](_0x56a900);}async[_0x5b5814(0x19e)](_0x45db35){const _0x2b7371=_0x5b5814,_0x423dab=this['_injector'][_0x2b7371(0x1ac)](n['IExchangeService']);if(!_0x423dab)throw new Error(_0x2b7371(0x1af));return _0x423dab['exportXLSXBySnapshot'](_0x45db35);}async['importDOCXToUnitId'](_0x5f05bd){const _0x1e44ef=_0x5b5814,_0x3ad538=this[_0x1e44ef(0x19f)][_0x1e44ef(0x1ac)](n[_0x1e44ef(0x1a6)]);if(!_0x3ad538)throw new Error(_0x1e44ef(0x1af));return _0x3ad538[_0x1e44ef(0x1ae)](_0x5f05bd,i[_0x1e44ef(0x1a0)]);}async['importDOCXToSnapshot'](_0x4ad2c8){const _0x36b476=_0x5b5814,_0x2c6567=this['_injector'][_0x36b476(0x1ac)](n[_0x36b476(0x1a6)]);if(!_0x2c6567)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c6567[_0x36b476(0x1a1)](_0x4ad2c8);}}function _0x2852(_0x1e4c2a,_0x349d01){const _0x7322d8=_0x7322();return _0x2852=function(_0x28521b,_0x454c14){_0x28521b=_0x28521b-0x19c;let _0x6c8664=_0x7322d8[_0x28521b];return _0x6c8664;},_0x2852(_0x1e4c2a,_0x349d01);}c[_0x5b5814(0x19d)]['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);