@univerjs-pro/exchange-client 0.5.4-nightly.202501150735 → 0.5.4-nightly.202501151252

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 _0x4e4f4a=_0x205c;function _0x205c(_0xf8a881,_0x97678b){const _0x4e19ae=_0x4e19();return _0x205c=function(_0x205c9a,_0x36e258){_0x205c9a=_0x205c9a-0xd4;let _0x11d0aa=_0x4e19ae[_0x205c9a];return _0x11d0aa;},_0x205c(_0xf8a881,_0x97678b);}(function(_0x2afc4e,_0x11c949){const _0x32681a=_0x205c,_0x40b8fe=_0x2afc4e();while(!![]){try{const _0x8288ab=-parseInt(_0x32681a(0xed))/0x1+-parseInt(_0x32681a(0xee))/0x2*(-parseInt(_0x32681a(0xdd))/0x3)+-parseInt(_0x32681a(0xf5))/0x4+-parseInt(_0x32681a(0xdc))/0x5*(-parseInt(_0x32681a(0xf0))/0x6)+parseInt(_0x32681a(0xe4))/0x7+-parseInt(_0x32681a(0xeb))/0x8*(parseInt(_0x32681a(0xe0))/0x9)+parseInt(_0x32681a(0xea))/0xa;if(_0x8288ab===_0x11c949)break;else _0x40b8fe['push'](_0x40b8fe['shift']());}catch(_0x3961e9){_0x40b8fe['push'](_0x40b8fe['shift']());}}}(_0x4e19,0x5fda9));function _0x4e19(){const _0x1eb053=['3063370FIWQhB','176DgJmjM','importXLSXToSnapshot','778807ASBdaf','227464juHEgm','importDOCXToUnitIdAsync','2265108wPPwUe','exportXLSXBySnapshotAsync','UNRECOGNIZED','FUniver','exportXLSXByUnitIdAsync','827740XMVtnT','@univerjs-pro/exchange-client','importXLSXToUnitId','UNIVER_UNKNOWN','UNIVER_SHEET','_injector','exportXLSXByUnitId','get','exportXLSXBySnapshot','importXLSXToUnitIdAsync','10HPMhFx','12CkIxww','The\x20exchange\x20service\x20is\x20not\x20available','extend','96588RRbTOV','UNIVER_PROJECT','UNIVER_DOC','UNIVER_SLIDE','687134WQCiAC','importDOCXToUnitId','importDOCXToSnapshotAsync','importFileToUnitId','IExchangeService','importDOCXToSnapshot'];_0x4e19=function(){return _0x1eb053;};return _0x4e19();}const r=require(_0x4e4f4a(0xf6)),i=require('@univerjs/core');var o=(_0x2a1c3b=>(_0x2a1c3b[_0x2a1c3b[_0x4e4f4a(0xd5)]=0x0]='UNIVER_UNKNOWN',_0x2a1c3b[_0x2a1c3b[_0x4e4f4a(0xe2)]=0x1]=_0x4e4f4a(0xe2),_0x2a1c3b[_0x2a1c3b[_0x4e4f4a(0xd6)]=0x2]=_0x4e4f4a(0xd6),_0x2a1c3b[_0x2a1c3b[_0x4e4f4a(0xe3)]=0x3]=_0x4e4f4a(0xe3),_0x2a1c3b[_0x2a1c3b['UNIVER_PROJECT']=0x4]=_0x4e4f4a(0xe1),_0x2a1c3b[_0x2a1c3b['UNRECOGNIZED']=-0x1]=_0x4e4f4a(0xf2),_0x2a1c3b))(o||{});class c extends i[_0x4e4f4a(0xf3)]{async[_0x4e4f4a(0xd4)](_0x46aeac){const _0x4c1a86=_0x4e4f4a;return this[_0x4c1a86(0xdb)](_0x46aeac);}async[_0x4e4f4a(0xdb)](_0x454975){const _0x2ff431=_0x4e4f4a,_0x55cc8a=this[_0x2ff431(0xd7)][_0x2ff431(0xd9)](r[_0x2ff431(0xe8)]);if(!_0x55cc8a)throw new Error(_0x2ff431(0xde));return _0x55cc8a[_0x2ff431(0xe7)](_0x454975,o[_0x2ff431(0xd6)]);}async[_0x4e4f4a(0xec)](_0xfe408d){return this['importXLSXToSnapshotAsync'](_0xfe408d);}async['importXLSXToSnapshotAsync'](_0x5cfb43){const _0x55a28b=_0x4e4f4a,_0x15f2cb=this[_0x55a28b(0xd7)][_0x55a28b(0xd9)](r[_0x55a28b(0xe8)]);if(!_0x15f2cb)throw new Error(_0x55a28b(0xde));return _0x15f2cb[_0x55a28b(0xec)](_0x5cfb43);}async[_0x4e4f4a(0xd8)](_0x27cf59){return this['exportXLSXByUnitIdAsync'](_0x27cf59);}async[_0x4e4f4a(0xf4)](_0x505486){const _0x50fcd1=_0x4e4f4a,_0xf8afc0=this['_injector'][_0x50fcd1(0xd9)](r[_0x50fcd1(0xe8)]);if(!_0xf8afc0)throw new Error(_0x50fcd1(0xde));return _0xf8afc0[_0x50fcd1(0xd8)](_0x505486);}async[_0x4e4f4a(0xda)](_0x2c53fa){return this['exportXLSXBySnapshotAsync'](_0x2c53fa);}async[_0x4e4f4a(0xf1)](_0x495519){const _0x2a55b2=_0x4e4f4a,_0x125d9f=this[_0x2a55b2(0xd7)]['get'](r[_0x2a55b2(0xe8)]);if(!_0x125d9f)throw new Error(_0x2a55b2(0xde));return _0x125d9f[_0x2a55b2(0xda)](_0x495519);}async[_0x4e4f4a(0xe5)](_0x11650c){const _0x21f32f=_0x4e4f4a;return this[_0x21f32f(0xef)](_0x11650c);}async['importDOCXToUnitIdAsync'](_0x12e821){const _0x147dec=_0x4e4f4a,_0x38cd2c=this[_0x147dec(0xd7)][_0x147dec(0xd9)](r[_0x147dec(0xe8)]);if(!_0x38cd2c)throw new Error(_0x147dec(0xde));return _0x38cd2c[_0x147dec(0xe7)](_0x12e821,o[_0x147dec(0xe2)]);}async[_0x4e4f4a(0xe9)](_0x4af942){const _0x3772eb=_0x4e4f4a;return this[_0x3772eb(0xe6)](_0x4af942);}async[_0x4e4f4a(0xe6)](_0x652e81){const _0x35634d=_0x4e4f4a,_0x3e5f90=this[_0x35634d(0xd7)]['get'](r[_0x35634d(0xe8)]);if(!_0x3e5f90)throw new Error(_0x35634d(0xde));return _0x3e5f90[_0x35634d(0xe9)](_0x652e81);}}i['FUniver'][_0x4e4f4a(0xdf)](c);
1
+ 'use strict';const _0x160690=_0xb151;(function(_0x4184b8,_0x5b8ad3){const _0x55e4d0=_0xb151,_0xbcbe54=_0x4184b8();while(!![]){try{const _0x3c6ed0=-parseInt(_0x55e4d0(0xa0))/0x1+-parseInt(_0x55e4d0(0xa6))/0x2*(parseInt(_0x55e4d0(0xb8))/0x3)+-parseInt(_0x55e4d0(0xb7))/0x4*(parseInt(_0x55e4d0(0x97))/0x5)+parseInt(_0x55e4d0(0xaf))/0x6+parseInt(_0x55e4d0(0xa2))/0x7+-parseInt(_0x55e4d0(0xa7))/0x8*(parseInt(_0x55e4d0(0x96))/0x9)+-parseInt(_0x55e4d0(0xa1))/0xa*(-parseInt(_0x55e4d0(0xa9))/0xb);if(_0x3c6ed0===_0x5b8ad3)break;else _0xbcbe54['push'](_0xbcbe54['shift']());}catch(_0x14c469){_0xbcbe54['push'](_0xbcbe54['shift']());}}}(_0x1a85,0x2531b));function _0x1a85(){const _0x4c8056=['importXLSXToUnitId','FUniver','extend','_injector','exportXLSXBySnapshotAsync','IExchangeService','importDOCXToUnitIdAsync','exportXLSXBySnapshot','96893sXOOeo','700630kKfnfh','379554KcMpzZ','UNIVER_UNKNOWN','UNIVER_DOC','importFileToUnitId','2hazKja','1840dYuewP','importDOCXToUnitId','44PLvOMZ','importXLSXToUnitIdAsync','get','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNIVER_SHEET','1421310hTGmcB','importDOCXToSnapshotAsync','@univerjs-pro/exchange-client','UNIVER_SLIDE','UNIVER_PROJECT','UNRECOGNIZED','@univerjs/core','importXLSXToSnapshot','120364fpjtrw','149514LvkULc','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','9477iSLDdC','5cRWQCd'];_0x1a85=function(){return _0x4c8056;};return _0x1a85();}function _0xb151(_0x4d6231,_0x3e59a9){const _0x1a8517=_0x1a85();return _0xb151=function(_0xb151d8,_0xbaa9fb){_0xb151d8=_0xb151d8-0x94;let _0x1447ec=_0x1a8517[_0xb151d8];return _0x1447ec;},_0xb151(_0x4d6231,_0x3e59a9);}const r=require(_0x160690(0xb1)),i=require(_0x160690(0xb5));var o=(_0x42870f=>(_0x42870f[_0x42870f[_0x160690(0xa3)]=0x0]=_0x160690(0xa3),_0x42870f[_0x42870f[_0x160690(0xa4)]=0x1]=_0x160690(0xa4),_0x42870f[_0x42870f[_0x160690(0xae)]=0x2]='UNIVER_SHEET',_0x42870f[_0x42870f[_0x160690(0xb2)]=0x3]=_0x160690(0xb2),_0x42870f[_0x42870f[_0x160690(0xb3)]=0x4]='UNIVER_PROJECT',_0x42870f[_0x42870f['UNRECOGNIZED']=-0x1]=_0x160690(0xb4),_0x42870f))(o||{});class c extends i[_0x160690(0x99)]{async[_0x160690(0x98)](_0x78c527){return this['importXLSXToUnitIdAsync'](_0x78c527);}async[_0x160690(0xaa)](_0x176d98){const _0x5ccbd2=_0x160690,_0xa69c0f=this['_injector'][_0x5ccbd2(0xab)](r[_0x5ccbd2(0x9d)]);if(!_0xa69c0f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xa69c0f[_0x5ccbd2(0xa5)](_0x176d98,o[_0x5ccbd2(0xae)]);}async[_0x160690(0xb6)](_0x208e31){const _0x30ed73=_0x160690;return this[_0x30ed73(0xac)](_0x208e31);}async[_0x160690(0xac)](_0x1eb1fe){const _0x3a1229=_0x160690,_0x175c3d=this['_injector'][_0x3a1229(0xab)](r[_0x3a1229(0x9d)]);if(!_0x175c3d)throw new Error(_0x3a1229(0x95));return _0x175c3d[_0x3a1229(0xb6)](_0x1eb1fe);}async['exportXLSXByUnitId'](_0x3f8694){return this['exportXLSXByUnitIdAsync'](_0x3f8694);}async[_0x160690(0x94)](_0x382b5f){const _0x5eb9b3=_0x160690,_0x2fc4bd=this[_0x5eb9b3(0x9b)][_0x5eb9b3(0xab)](r[_0x5eb9b3(0x9d)]);if(!_0x2fc4bd)throw new Error(_0x5eb9b3(0x95));return _0x2fc4bd['exportXLSXByUnitId'](_0x382b5f);}async[_0x160690(0x9f)](_0x43dc63){const _0xeb6980=_0x160690;return this[_0xeb6980(0x9c)](_0x43dc63);}async[_0x160690(0x9c)](_0x5435c7){const _0x5931c3=_0x160690,_0x52cec8=this['_injector'][_0x5931c3(0xab)](r[_0x5931c3(0x9d)]);if(!_0x52cec8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52cec8[_0x5931c3(0x9f)](_0x5435c7);}async[_0x160690(0xa8)](_0xd2e14c){const _0xc109d=_0x160690;return this[_0xc109d(0x9e)](_0xd2e14c);}async[_0x160690(0x9e)](_0x10a480){const _0x258598=_0x160690,_0x279898=this[_0x258598(0x9b)][_0x258598(0xab)](r['IExchangeService']);if(!_0x279898)throw new Error(_0x258598(0x95));return _0x279898[_0x258598(0xa5)](_0x10a480,o['UNIVER_DOC']);}async[_0x160690(0xad)](_0x4f0157){return this['importDOCXToSnapshotAsync'](_0x4f0157);}async[_0x160690(0xb0)](_0x48cd19){const _0xee875c=_0x160690,_0x37bb6a=this[_0xee875c(0x9b)][_0xee875c(0xab)](r['IExchangeService']);if(!_0x37bb6a)throw new Error(_0xee875c(0x95));return _0x37bb6a['importDOCXToSnapshot'](_0x48cd19);}}i['FUniver'][_0x160690(0x9a)](c);