@univerjs-pro/exchange-client 0.5.1-nightly.202412121230 → 0.5.1-nightly.202412121606

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 _0x1f17a1=_0x4d71;(function(_0x29238c,_0x37b665){const _0x39dc2a=_0x4d71,_0x3bacfe=_0x29238c();while(!![]){try{const _0x14553f=-parseInt(_0x39dc2a(0x1e4))/0x1*(parseInt(_0x39dc2a(0x1f7))/0x2)+parseInt(_0x39dc2a(0x1ee))/0x3*(parseInt(_0x39dc2a(0x1d9))/0x4)+-parseInt(_0x39dc2a(0x1f1))/0x5*(parseInt(_0x39dc2a(0x1f8))/0x6)+parseInt(_0x39dc2a(0x1e1))/0x7*(-parseInt(_0x39dc2a(0x1da))/0x8)+-parseInt(_0x39dc2a(0x1dd))/0x9*(-parseInt(_0x39dc2a(0x1f2))/0xa)+-parseInt(_0x39dc2a(0x1e0))/0xb*(parseInt(_0x39dc2a(0x1f6))/0xc)+parseInt(_0x39dc2a(0x1e9))/0xd;if(_0x14553f===_0x37b665)break;else _0x3bacfe['push'](_0x3bacfe['shift']());}catch(_0x1c05bd){_0x3bacfe['push'](_0x3bacfe['shift']());}}}(_0x56ec,0x88ebf));function _0x4d71(_0x52a5ec,_0x591c56){const _0x56ec17=_0x56ec();return _0x4d71=function(_0x4d71f7,_0x2e2df4){_0x4d71f7=_0x4d71f7-0x1d9;let _0x1f6415=_0x56ec17[_0x4d71f7];return _0x1f6415;},_0x4d71(_0x52a5ec,_0x591c56);}const c=require(_0x1f17a1(0x1ea)),n=require(_0x1f17a1(0x1fa));var i=(_0xd38e02=>(_0xd38e02[_0xd38e02[_0x1f17a1(0x1ed)]=0x0]=_0x1f17a1(0x1ed),_0xd38e02[_0xd38e02['UNIVER_DOC']=0x1]=_0x1f17a1(0x1dc),_0xd38e02[_0xd38e02[_0x1f17a1(0x1ef)]=0x2]='UNIVER_SHEET',_0xd38e02[_0xd38e02[_0x1f17a1(0x1e6)]=0x3]=_0x1f17a1(0x1e6),_0xd38e02[_0xd38e02[_0x1f17a1(0x1e7)]=0x4]=_0x1f17a1(0x1e7),_0xd38e02[_0xd38e02[_0x1f17a1(0x1f0)]=-0x1]=_0x1f17a1(0x1f0),_0xd38e02))(i||{});class o extends c[_0x1f17a1(0x1f4)]{async[_0x1f17a1(0x1db)](_0x554630){const _0x4dbcf4=_0x1f17a1,_0x1494fd=this[_0x4dbcf4(0x1de)][_0x4dbcf4(0x1df)](n[_0x4dbcf4(0x1e8)]);if(!_0x1494fd)throw new Error(_0x4dbcf4(0x1ec));return _0x1494fd[_0x4dbcf4(0x1f3)](_0x554630,i[_0x4dbcf4(0x1ef)]);}async[_0x1f17a1(0x1f9)](_0x21279e){const _0x32b584=_0x1f17a1,_0x4a1a4d=this[_0x32b584(0x1de)]['get'](n[_0x32b584(0x1e8)]);if(!_0x4a1a4d)throw new Error(_0x32b584(0x1ec));return _0x4a1a4d[_0x32b584(0x1f9)](_0x21279e);}async[_0x1f17a1(0x1f5)](_0x4397e6){const _0x93fc34=_0x1f17a1,_0x29379e=this[_0x93fc34(0x1de)][_0x93fc34(0x1df)](n['IExchangeService']);if(!_0x29379e)throw new Error(_0x93fc34(0x1ec));return _0x29379e[_0x93fc34(0x1f5)](_0x4397e6);}async[_0x1f17a1(0x1e3)](_0x1ad964){const _0x4d2d2b=_0x1f17a1,_0x3294a4=this[_0x4d2d2b(0x1de)][_0x4d2d2b(0x1df)](n['IExchangeService']);if(!_0x3294a4)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3294a4[_0x4d2d2b(0x1e3)](_0x1ad964);}async[_0x1f17a1(0x1e5)](_0x5bf8e9){const _0x521dc2=_0x1f17a1,_0x364645=this[_0x521dc2(0x1de)][_0x521dc2(0x1df)](n[_0x521dc2(0x1e8)]);if(!_0x364645)throw new Error(_0x521dc2(0x1ec));return _0x364645['importFileToUnitId'](_0x5bf8e9,i[_0x521dc2(0x1dc)]);}async[_0x1f17a1(0x1eb)](_0x24eb98){const _0x4bcd0a=_0x1f17a1,_0x25b72f=this[_0x4bcd0a(0x1de)][_0x4bcd0a(0x1df)](n[_0x4bcd0a(0x1e8)]);if(!_0x25b72f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x25b72f[_0x4bcd0a(0x1eb)](_0x24eb98);}}function _0x56ec(){const _0x1697d6=['UNIVER_UNKNOWN','3216vRHnvn','UNIVER_SHEET','UNRECOGNIZED','10ndpyfm','20mstfMK','importFileToUnitId','FUniver','exportXLSXByUnitId','240SXBCaD','1821606gdQmPL','1024242DwIlIf','importXLSXToSnapshot','@univerjs-pro/exchange-client','2456LNxLIZ','120BTYrXE','importXLSXToUnitId','UNIVER_DOC','4601187NpeFzX','_injector','get','338833iUalgF','288589BJDOSj','extend','exportXLSXBySnapshot','1VePOyG','importDOCXToUnitId','UNIVER_SLIDE','UNIVER_PROJECT','IExchangeService','17768647OplGUV','@univerjs/core','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available'];_0x56ec=function(){return _0x1697d6;};return _0x56ec();}c[_0x1f17a1(0x1f4)][_0x1f17a1(0x1e2)](o);
1
+ 'use strict';const _0x2fb5f4=_0xc922;(function(_0x48a839,_0x268648){const _0x2740a2=_0xc922,_0x423c7c=_0x48a839();while(!![]){try{const _0x358515=parseInt(_0x2740a2(0xf9))/0x1*(parseInt(_0x2740a2(0xfc))/0x2)+parseInt(_0x2740a2(0xef))/0x3*(-parseInt(_0x2740a2(0xe9))/0x4)+parseInt(_0x2740a2(0x105))/0x5*(parseInt(_0x2740a2(0xf8))/0x6)+parseInt(_0x2740a2(0xf1))/0x7+parseInt(_0x2740a2(0xf3))/0x8*(parseInt(_0x2740a2(0xfd))/0x9)+parseInt(_0x2740a2(0xec))/0xa+-parseInt(_0x2740a2(0xea))/0xb;if(_0x358515===_0x268648)break;else _0x423c7c['push'](_0x423c7c['shift']());}catch(_0x2c17ca){_0x423c7c['push'](_0x423c7c['shift']());}}}(_0x2a5b,0x4861d));function _0xc922(_0x3f659b,_0x44d863){const _0x2a5b1b=_0x2a5b();return _0xc922=function(_0xc92255,_0x265823){_0xc92255=_0xc92255-0xe9;let _0x2fcfa0=_0x2a5b1b[_0xc92255];return _0x2fcfa0;},_0xc922(_0x3f659b,_0x44d863);}const c=require(_0x2fb5f4(0xee)),n=require(_0x2fb5f4(0xfa));function _0x2a5b(){const _0x54f86c=['96724ZxfEXT','11641630tSNnki','exportXLSXByUnitId','3277180cPwTJd','extend','@univerjs/core','18Liveev','importDOCXToUnitId','1347262rBCqzg','UNRECOGNIZED','748176MDeFGj','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','FUniver','UNIVER_SLIDE','6VdMEsG','4493tCySjy','@univerjs-pro/exchange-client','importFileToUnitId','214ooMMUG','9EWgATq','exportXLSXBySnapshot','importXLSXToSnapshot','UNIVER_PROJECT','get','UNIVER_DOC','_injector','UNIVER_SHEET','2027180EhMwdB','importDOCXToSnapshot','UNIVER_UNKNOWN'];_0x2a5b=function(){return _0x54f86c;};return _0x2a5b();}var i=(_0x52a710=>(_0x52a710[_0x52a710['UNIVER_UNKNOWN']=0x0]=_0x2fb5f4(0x107),_0x52a710[_0x52a710['UNIVER_DOC']=0x1]=_0x2fb5f4(0x102),_0x52a710[_0x52a710[_0x2fb5f4(0x104)]=0x2]='UNIVER_SHEET',_0x52a710[_0x52a710[_0x2fb5f4(0xf7)]=0x3]=_0x2fb5f4(0xf7),_0x52a710[_0x52a710[_0x2fb5f4(0x100)]=0x4]='UNIVER_PROJECT',_0x52a710[_0x52a710[_0x2fb5f4(0xf2)]=-0x1]=_0x2fb5f4(0xf2),_0x52a710))(i||{});class o extends c[_0x2fb5f4(0xf6)]{async['importXLSXToUnitId'](_0x326981){const _0x589e16=_0x2fb5f4,_0x17b597=this[_0x589e16(0x103)][_0x589e16(0x101)](n['IExchangeService']);if(!_0x17b597)throw new Error(_0x589e16(0xf4));return _0x17b597[_0x589e16(0xfb)](_0x326981,i[_0x589e16(0x104)]);}async[_0x2fb5f4(0xff)](_0x5f4d0d){const _0x530a83=_0x2fb5f4,_0x45eb19=this[_0x530a83(0x103)]['get'](n['IExchangeService']);if(!_0x45eb19)throw new Error(_0x530a83(0xf4));return _0x45eb19[_0x530a83(0xff)](_0x5f4d0d);}async[_0x2fb5f4(0xeb)](_0x580da8){const _0x5bf41c=_0x2fb5f4,_0x252129=this[_0x5bf41c(0x103)][_0x5bf41c(0x101)](n['IExchangeService']);if(!_0x252129)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x252129[_0x5bf41c(0xeb)](_0x580da8);}async['exportXLSXBySnapshot'](_0x166228){const _0x5d67f5=_0x2fb5f4,_0x4dbc2d=this[_0x5d67f5(0x103)]['get'](n['IExchangeService']);if(!_0x4dbc2d)throw new Error(_0x5d67f5(0xf4));return _0x4dbc2d[_0x5d67f5(0xfe)](_0x166228);}async[_0x2fb5f4(0xf0)](_0x5a7362){const _0x212f96=_0x2fb5f4,_0x3f0381=this['_injector']['get'](n[_0x212f96(0xf5)]);if(!_0x3f0381)throw new Error(_0x212f96(0xf4));return _0x3f0381[_0x212f96(0xfb)](_0x5a7362,i['UNIVER_DOC']);}async[_0x2fb5f4(0x106)](_0x216d69){const _0x959c4d=_0x2fb5f4,_0x5ba677=this[_0x959c4d(0x103)][_0x959c4d(0x101)](n[_0x959c4d(0xf5)]);if(!_0x5ba677)throw new Error(_0x959c4d(0xf4));return _0x5ba677[_0x959c4d(0x106)](_0x216d69);}}c[_0x2fb5f4(0xf6)][_0x2fb5f4(0xed)](o);