@univerjs-pro/exchange-client 0.5.1-nightly.202412011605 → 0.5.1-nightly.202412021606

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 _0x2e995b=_0x3103;(function(_0x5f12b2,_0x21bf2e){const _0x38242b=_0x3103,_0x3c2aa4=_0x5f12b2();while(!![]){try{const _0x542536=parseInt(_0x38242b(0x1b7))/0x1*(parseInt(_0x38242b(0x1b1))/0x2)+parseInt(_0x38242b(0x1bd))/0x3+-parseInt(_0x38242b(0x1b8))/0x4*(parseInt(_0x38242b(0x1af))/0x5)+parseInt(_0x38242b(0x1ab))/0x6*(-parseInt(_0x38242b(0x1b9))/0x7)+parseInt(_0x38242b(0x1a6))/0x8+-parseInt(_0x38242b(0x1b6))/0x9+-parseInt(_0x38242b(0x1ad))/0xa;if(_0x542536===_0x21bf2e)break;else _0x3c2aa4['push'](_0x3c2aa4['shift']());}catch(_0x530379){_0x3c2aa4['push'](_0x3c2aa4['shift']());}}}(_0x52b6,0x66089));function _0x52b6(){const _0x49a4d1=['UNIVER_UNKNOWN','3643704ibqUUt','_injector','@univerjs-pro/exchange-client','importDOCXToUnitId','exportXLSXBySnapshot','5604JnVMuA','UNRECOGNIZED','97560fCzqnJ','importXLSXToSnapshot','2011920fCwHcs','UNIVER_PROJECT','15522snRooL','importXLSXToUnitId','UNIVER_SHEET','IExchangeService','extend','2125647kzQcUb','68emWLAz','4jeuYyI','4249HZDYuJ','get','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','1949937XkUDSf','FUniver','importDOCXToSnapshot','@univerjs/core'];_0x52b6=function(){return _0x49a4d1;};return _0x52b6();}const c=require(_0x2e995b(0x1a4)),n=require(_0x2e995b(0x1a8));var i=(_0x131f77=>(_0x131f77[_0x131f77[_0x2e995b(0x1a5)]=0x0]=_0x2e995b(0x1a5),_0x131f77[_0x131f77[_0x2e995b(0x1bc)]=0x1]=_0x2e995b(0x1bc),_0x131f77[_0x131f77['UNIVER_SHEET']=0x2]=_0x2e995b(0x1b3),_0x131f77[_0x131f77['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x131f77[_0x131f77[_0x2e995b(0x1b0)]=0x4]=_0x2e995b(0x1b0),_0x131f77[_0x131f77[_0x2e995b(0x1ac)]=-0x1]=_0x2e995b(0x1ac),_0x131f77))(i||{});class o extends c[_0x2e995b(0x1be)]{async[_0x2e995b(0x1b2)](_0x3becb0){const _0x2951dc=_0x2e995b,_0x1052a6=this['_injector'][_0x2951dc(0x1ba)](n[_0x2951dc(0x1b4)]);if(!_0x1052a6)throw new Error(_0x2951dc(0x1bb));return _0x1052a6['importFileToUnitId'](_0x3becb0,i[_0x2951dc(0x1b3)]);}async[_0x2e995b(0x1ae)](_0x273d53){const _0x3c5d50=_0x2e995b,_0x29d044=this['_injector']['get'](n[_0x3c5d50(0x1b4)]);if(!_0x29d044)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x29d044[_0x3c5d50(0x1ae)](_0x273d53);}async['exportXLSXByUnitId'](_0x23c1de){const _0x592474=_0x2e995b,_0x433cdc=this[_0x592474(0x1a7)][_0x592474(0x1ba)](n[_0x592474(0x1b4)]);if(!_0x433cdc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x433cdc['exportXLSXByUnitId'](_0x23c1de);}async[_0x2e995b(0x1aa)](_0x304d7f){const _0xaf5d41=_0x2e995b,_0x5f12b9=this['_injector'][_0xaf5d41(0x1ba)](n[_0xaf5d41(0x1b4)]);if(!_0x5f12b9)throw new Error(_0xaf5d41(0x1bb));return _0x5f12b9[_0xaf5d41(0x1aa)](_0x304d7f);}async[_0x2e995b(0x1a9)](_0x414573){const _0x4d079f=_0x2e995b,_0x15c9db=this[_0x4d079f(0x1a7)][_0x4d079f(0x1ba)](n[_0x4d079f(0x1b4)]);if(!_0x15c9db)throw new Error(_0x4d079f(0x1bb));return _0x15c9db['importFileToUnitId'](_0x414573,i['UNIVER_DOC']);}async[_0x2e995b(0x1a3)](_0x563dc4){const _0x4e7888=_0x2e995b,_0x18b26d=this[_0x4e7888(0x1a7)][_0x4e7888(0x1ba)](n[_0x4e7888(0x1b4)]);if(!_0x18b26d)throw new Error(_0x4e7888(0x1bb));return _0x18b26d[_0x4e7888(0x1a3)](_0x563dc4);}}function _0x3103(_0x3278d5,_0x3adea1){const _0x52b64a=_0x52b6();return _0x3103=function(_0x310356,_0x10b400){_0x310356=_0x310356-0x1a3;let _0x55d2aa=_0x52b64a[_0x310356];return _0x55d2aa;},_0x3103(_0x3278d5,_0x3adea1);}c['FUniver'][_0x2e995b(0x1b5)](o);
1
+ 'use strict';const _0x10a5cb=_0x136a;(function(_0x22dcf0,_0x53f325){const _0x16b882=_0x136a,_0x18c28b=_0x22dcf0();while(!![]){try{const _0x1e095e=-parseInt(_0x16b882(0x1e3))/0x1*(parseInt(_0x16b882(0x1d8))/0x2)+parseInt(_0x16b882(0x1e9))/0x3+-parseInt(_0x16b882(0x1df))/0x4*(parseInt(_0x16b882(0x1dd))/0x5)+parseInt(_0x16b882(0x1e2))/0x6*(parseInt(_0x16b882(0x1ea))/0x7)+-parseInt(_0x16b882(0x1d7))/0x8+-parseInt(_0x16b882(0x1db))/0x9+parseInt(_0x16b882(0x1de))/0xa;if(_0x1e095e===_0x53f325)break;else _0x18c28b['push'](_0x18c28b['shift']());}catch(_0x2e21aa){_0x18c28b['push'](_0x18c28b['shift']());}}}(_0x2dcb,0x19be6));function _0x2dcb(){const _0x14dc71=['get','exportXLSXByUnitId','_injector','@univerjs-pro/exchange-client','UNIVER_SHEET','IExchangeService','importFileToUnitId','1460160yVmgvD','6MISaTU','importDOCXToSnapshot','UNIVER_PROJECT','283041TYoTMX','UNIVER_UNKNOWN','76570kkengL','3553030PvzVFy','24woEhna','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','306GQbuGT','18758dgUTaS','importDOCXToUnitId','UNRECOGNIZED','FUniver','UNIVER_SLIDE','exportXLSXBySnapshot','272703HXvvvr','2933FiqmDQ','importXLSXToSnapshot'];_0x2dcb=function(){return _0x14dc71;};return _0x2dcb();}function _0x136a(_0x54891f,_0x2086f1){const _0x2dcb46=_0x2dcb();return _0x136a=function(_0x136a68,_0x37158a){_0x136a68=_0x136a68-0x1d4;let _0x17cdfd=_0x2dcb46[_0x136a68];return _0x17cdfd;},_0x136a(_0x54891f,_0x2086f1);}const c=require('@univerjs/core'),n=require(_0x10a5cb(0x1ef));var i=(_0x49e1b1=>(_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1dc)]=0x0]=_0x10a5cb(0x1dc),_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1e0)]=0x1]=_0x10a5cb(0x1e0),_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1d4)]=0x2]='UNIVER_SHEET',_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1e7)]=0x3]=_0x10a5cb(0x1e7),_0x49e1b1[_0x49e1b1['UNIVER_PROJECT']=0x4]=_0x10a5cb(0x1da),_0x49e1b1[_0x49e1b1[_0x10a5cb(0x1e5)]=-0x1]='UNRECOGNIZED',_0x49e1b1))(i||{});class o extends c[_0x10a5cb(0x1e6)]{async['importXLSXToUnitId'](_0x557ec3){const _0x33df74=_0x10a5cb,_0x401f77=this[_0x33df74(0x1ee)]['get'](n['IExchangeService']);if(!_0x401f77)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x401f77[_0x33df74(0x1d6)](_0x557ec3,i[_0x33df74(0x1d4)]);}async['importXLSXToSnapshot'](_0x4bd465){const _0x339151=_0x10a5cb,_0xd234b1=this[_0x339151(0x1ee)][_0x339151(0x1ec)](n[_0x339151(0x1d5)]);if(!_0xd234b1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xd234b1[_0x339151(0x1eb)](_0x4bd465);}async[_0x10a5cb(0x1ed)](_0x1962fc){const _0x52f7f5=_0x10a5cb,_0x1b4acf=this[_0x52f7f5(0x1ee)][_0x52f7f5(0x1ec)](n['IExchangeService']);if(!_0x1b4acf)throw new Error(_0x52f7f5(0x1e1));return _0x1b4acf['exportXLSXByUnitId'](_0x1962fc);}async[_0x10a5cb(0x1e8)](_0x59342b){const _0x3fd6fd=_0x10a5cb,_0x593dd8=this['_injector'][_0x3fd6fd(0x1ec)](n['IExchangeService']);if(!_0x593dd8)throw new Error(_0x3fd6fd(0x1e1));return _0x593dd8['exportXLSXBySnapshot'](_0x59342b);}async[_0x10a5cb(0x1e4)](_0x287872){const _0x2fce85=_0x10a5cb,_0x3f4ce2=this[_0x2fce85(0x1ee)][_0x2fce85(0x1ec)](n['IExchangeService']);if(!_0x3f4ce2)throw new Error(_0x2fce85(0x1e1));return _0x3f4ce2['importFileToUnitId'](_0x287872,i[_0x2fce85(0x1e0)]);}async['importDOCXToSnapshot'](_0x3b524a){const _0x367030=_0x10a5cb,_0xb5192e=this[_0x367030(0x1ee)][_0x367030(0x1ec)](n[_0x367030(0x1d5)]);if(!_0xb5192e)throw new Error(_0x367030(0x1e1));return _0xb5192e[_0x367030(0x1d9)](_0x3b524a);}}c[_0x10a5cb(0x1e6)]['extend'](o);