@univerjs-pro/exchange-client 0.8.0-nightly.202506031608 → 0.8.0-nightly.202506051607

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 _0x483197=_0x3f0a;function _0x3f0a(_0x207482,_0x1547e8){const _0x3ccdb4=_0x3ccd();return _0x3f0a=function(_0x3f0ae9,_0x582fa4){_0x3f0ae9=_0x3f0ae9-0x12b;let _0x522540=_0x3ccdb4[_0x3f0ae9];return _0x522540;},_0x3f0a(_0x207482,_0x1547e8);}(function(_0x5668cc,_0x5493c4){const _0xa8914c=_0x3f0a,_0x18385f=_0x5668cc();while(!![]){try{const _0x147e75=-parseInt(_0xa8914c(0x12d))/0x1*(-parseInt(_0xa8914c(0x139))/0x2)+-parseInt(_0xa8914c(0x137))/0x3*(parseInt(_0xa8914c(0x140))/0x4)+parseInt(_0xa8914c(0x130))/0x5+-parseInt(_0xa8914c(0x133))/0x6*(-parseInt(_0xa8914c(0x12b))/0x7)+parseInt(_0xa8914c(0x134))/0x8+parseInt(_0xa8914c(0x14f))/0x9*(-parseInt(_0xa8914c(0x131))/0xa)+parseInt(_0xa8914c(0x14c))/0xb;if(_0x147e75===_0x5493c4)break;else _0x18385f['push'](_0x18385f['shift']());}catch(_0x5ebf84){_0x18385f['push'](_0x18385f['shift']());}}}(_0x3ccd,0xe4ca9));const r=require(_0x483197(0x138)),o=require(_0x483197(0x146));var i=(_0x8d16a6=>(_0x8d16a6[_0x8d16a6[_0x483197(0x12e)]=0x0]=_0x483197(0x12e),_0x8d16a6[_0x8d16a6[_0x483197(0x132)]=0x1]=_0x483197(0x132),_0x8d16a6[_0x8d16a6[_0x483197(0x13e)]=0x2]=_0x483197(0x13e),_0x8d16a6[_0x8d16a6['UNIVER_SLIDE']=0x3]=_0x483197(0x13a),_0x8d16a6[_0x8d16a6['UNIVER_PROJECT']=0x4]=_0x483197(0x12c),_0x8d16a6[_0x8d16a6[_0x483197(0x150)]=-0x1]=_0x483197(0x150),_0x8d16a6))(i||{});class c extends o[_0x483197(0x14b)]{async['importXLSXToUnitId'](_0x25e07){const _0x5836bc=_0x483197;return this[_0x5836bc(0x142)](_0x25e07);}async[_0x483197(0x142)](_0x565bc6){const _0x186d09=_0x483197,_0x57d0b2=this[_0x186d09(0x141)][_0x186d09(0x14e)](r[_0x186d09(0x14a)]);if(!_0x57d0b2)throw new Error(_0x186d09(0x13d));return _0x57d0b2['importFileToUnitId'](_0x565bc6,i[_0x186d09(0x13e)]);}async[_0x483197(0x149)](_0x5809b7){const _0x37ccb7=_0x483197;return this[_0x37ccb7(0x12f)](_0x5809b7);}async[_0x483197(0x12f)](_0x4d4d0f){const _0x355329=_0x483197,_0xd811a1=this['_injector']['get'](r[_0x355329(0x14a)]);if(!_0xd811a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xd811a1[_0x355329(0x149)](_0x4d4d0f);}async['exportXLSXByUnitId'](_0x3393ea){const _0x557d31=_0x483197;return this[_0x557d31(0x13c)](_0x3393ea);}async[_0x483197(0x13c)](_0x19c92b){const _0x408f98=_0x483197,_0x47861f=this[_0x408f98(0x141)][_0x408f98(0x14e)](r['IExchangeService']);if(!_0x47861f)throw new Error(_0x408f98(0x13d));return _0x47861f[_0x408f98(0x151)](_0x19c92b);}async[_0x483197(0x136)](_0x254302){const _0x441d32=_0x483197;return this[_0x441d32(0x13b)](_0x254302);}async[_0x483197(0x13b)](_0x219f67){const _0x4f6902=_0x483197,_0x5f3f41=this[_0x4f6902(0x141)]['get'](r['IExchangeService']);if(!_0x5f3f41)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5f3f41[_0x4f6902(0x136)](_0x219f67);}async[_0x483197(0x144)](_0x1b1a63){const _0x34a045=_0x483197;return this[_0x34a045(0x145)](_0x1b1a63);}async[_0x483197(0x145)](_0x1b9f4f){const _0x1bc8c3=_0x483197,_0x274ad7=this['_injector']['get'](r[_0x1bc8c3(0x14a)]);if(!_0x274ad7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x274ad7[_0x1bc8c3(0x135)](_0x1b9f4f,i[_0x1bc8c3(0x132)]);}async[_0x483197(0x14d)](_0x1f9c67){const _0x2a4573=_0x483197;return this[_0x2a4573(0x148)](_0x1f9c67);}async[_0x483197(0x148)](_0x8f9e49){const _0x3666e5=_0x483197,_0x3167ef=this[_0x3666e5(0x141)][_0x3666e5(0x14e)](r[_0x3666e5(0x14a)]);if(!_0x3167ef)throw new Error(_0x3666e5(0x13d));return _0x3167ef[_0x3666e5(0x14d)](_0x8f9e49);}async['exportDOCXBySnapshotAsync'](_0x488414){const _0x58743d=_0x483197,_0x1a9a92=this[_0x58743d(0x141)]['get'](r[_0x58743d(0x14a)]);if(!_0x1a9a92)throw new Error(_0x58743d(0x13d));return _0x1a9a92['exportDOCXBySnapshot'](_0x488414);}async[_0x483197(0x143)](_0x2ba7d){const _0x367ccb=_0x483197,_0x5bf442=this[_0x367ccb(0x141)][_0x367ccb(0x14e)](r['IExchangeService']);if(!_0x5bf442)throw new Error(_0x367ccb(0x13d));return _0x5bf442[_0x367ccb(0x13f)](_0x2ba7d);}}function _0x3ccd(){const _0x53e899=['importXLSXToSnapshotAsync','917575lVdwZo','10LHOFkc','UNIVER_DOC','1092426WNiWAu','953944QFhJLQ','importFileToUnitId','exportXLSXBySnapshot','756594gidUKk','@univerjs-pro/exchange-client','665258LMBtMq','UNIVER_SLIDE','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','exportDOCXByUnitId','12siIisW','_injector','importXLSXToUnitIdAsync','exportDOCXByUnitIdAsync','importDOCXToUnitId','importDOCXToUnitIdAsync','@univerjs/core/facade','extend','importDOCXToSnapshotAsync','importXLSXToSnapshot','IExchangeService','FUniver','18336021FNizmJ','importDOCXToSnapshot','get','16664031HOISkv','UNRECOGNIZED','exportXLSXByUnitId','35TEbBqD','UNIVER_PROJECT','2calRBI','UNIVER_UNKNOWN'];_0x3ccd=function(){return _0x53e899;};return _0x3ccd();}o[_0x483197(0x14b)][_0x483197(0x147)](c);
1
+ 'use strict';const _0x38fee1=_0x1004;function _0x1004(_0x102c75,_0xd0b0b5){const _0x492c9a=_0x492c();return _0x1004=function(_0x10047f,_0xec1714){_0x10047f=_0x10047f-0xdf;let _0x4d30d7=_0x492c9a[_0x10047f];return _0x4d30d7;},_0x1004(_0x102c75,_0xd0b0b5);}(function(_0x226c0f,_0x44cc16){const _0x107e65=_0x1004,_0x3d4667=_0x226c0f();while(!![]){try{const _0x4e015e=parseInt(_0x107e65(0xf7))/0x1*(parseInt(_0x107e65(0x100))/0x2)+-parseInt(_0x107e65(0x101))/0x3+parseInt(_0x107e65(0xe0))/0x4*(-parseInt(_0x107e65(0xfa))/0x5)+-parseInt(_0x107e65(0xfc))/0x6*(-parseInt(_0x107e65(0xe7))/0x7)+-parseInt(_0x107e65(0xea))/0x8*(-parseInt(_0x107e65(0xee))/0x9)+-parseInt(_0x107e65(0xe6))/0xa*(parseInt(_0x107e65(0xfe))/0xb)+parseInt(_0x107e65(0xff))/0xc*(parseInt(_0x107e65(0xf2))/0xd);if(_0x4e015e===_0x44cc16)break;else _0x3d4667['push'](_0x3d4667['shift']());}catch(_0x6a441){_0x3d4667['push'](_0x3d4667['shift']());}}}(_0x492c,0xf39b8));const r=require(_0x38fee1(0xdf)),o=require('@univerjs/core/facade');function _0x492c(){const _0x5787cf=['The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','174112dXVEzG','exportDOCXBySnapshot','importXLSXToUnitIdAsync','importDOCXToSnapshot','279cKEBHA','FUniver','importFileToUnitId','importDOCXToUnitIdAsync','14542853gJjVsG','exportDOCXBySnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToUnitId','41kfVwXm','IExchangeService','importXLSXToSnapshot','3375460xEiEFv','importDOCXToSnapshotAsync','173916enlbdW','extend','143hAPDeX','24ZmlCqD','26218iBRlFQ','4078842UPyFop','exportXLSXBySnapshot','UNIVER_PROJECT','exportXLSXBySnapshotAsync','_injector','UNIVER_UNKNOWN','UNIVER_DOC','@univerjs-pro/exchange-client','4kYrwxK','get','UNIVER_SHEET','exportDOCXByUnitIdAsync','UNRECOGNIZED','exportXLSXByUnitId','855890OKkvlp','168hbVnwf'];_0x492c=function(){return _0x5787cf;};return _0x492c();}var i=(_0x5c40a2=>(_0x5c40a2[_0x5c40a2[_0x38fee1(0x106)]=0x0]='UNIVER_UNKNOWN',_0x5c40a2[_0x5c40a2[_0x38fee1(0x107)]=0x1]=_0x38fee1(0x107),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe2)]=0x2]=_0x38fee1(0xe2),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe9)]=0x3]=_0x38fee1(0xe9),_0x5c40a2[_0x5c40a2[_0x38fee1(0x103)]=0x4]=_0x38fee1(0x103),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe4)]=-0x1]='UNRECOGNIZED',_0x5c40a2))(i||{});class c extends o[_0x38fee1(0xef)]{async['importXLSXToUnitId'](_0x223d2f){const _0x23e30e=_0x38fee1;return this[_0x23e30e(0xec)](_0x223d2f);}async[_0x38fee1(0xec)](_0x453511){const _0x59d4d3=_0x38fee1,_0x2442b1=this[_0x59d4d3(0x105)]['get'](r[_0x59d4d3(0xf8)]);if(!_0x2442b1)throw new Error(_0x59d4d3(0xe8));return _0x2442b1[_0x59d4d3(0xf0)](_0x453511,i[_0x59d4d3(0xe2)]);}async['importXLSXToSnapshot'](_0xd9ca90){const _0x26f38c=_0x38fee1;return this[_0x26f38c(0xf5)](_0xd9ca90);}async[_0x38fee1(0xf5)](_0x5d75d0){const _0x3e119f=_0x38fee1,_0x1a5458=this[_0x3e119f(0x105)]['get'](r[_0x3e119f(0xf8)]);if(!_0x1a5458)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a5458[_0x3e119f(0xf9)](_0x5d75d0);}async[_0x38fee1(0xe5)](_0x303f49){const _0x13f5b7=_0x38fee1;return this[_0x13f5b7(0xf4)](_0x303f49);}async[_0x38fee1(0xf4)](_0x5e2c25){const _0x108004=_0x38fee1,_0x18b5a1=this['_injector'][_0x108004(0xe1)](r[_0x108004(0xf8)]);if(!_0x18b5a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18b5a1['exportXLSXByUnitId'](_0x5e2c25);}async[_0x38fee1(0x102)](_0x42a59e){const _0x613df0=_0x38fee1;return this[_0x613df0(0x104)](_0x42a59e);}async[_0x38fee1(0x104)](_0x1eac40){const _0x380233=_0x38fee1,_0x59fc19=this[_0x380233(0x105)][_0x380233(0xe1)](r[_0x380233(0xf8)]);if(!_0x59fc19)throw new Error(_0x380233(0xe8));return _0x59fc19['exportXLSXBySnapshot'](_0x1eac40);}async[_0x38fee1(0xf6)](_0x31df73){const _0x527808=_0x38fee1;return this[_0x527808(0xf1)](_0x31df73);}async[_0x38fee1(0xf1)](_0x59f806){const _0x466e6a=_0x38fee1,_0x313f23=this['_injector'][_0x466e6a(0xe1)](r[_0x466e6a(0xf8)]);if(!_0x313f23)throw new Error(_0x466e6a(0xe8));return _0x313f23[_0x466e6a(0xf0)](_0x59f806,i['UNIVER_DOC']);}async[_0x38fee1(0xed)](_0x563998){const _0x34f4e8=_0x38fee1;return this[_0x34f4e8(0xfb)](_0x563998);}async[_0x38fee1(0xfb)](_0xe7c814){const _0x5bd4b3=_0x38fee1,_0x5b8d79=this[_0x5bd4b3(0x105)][_0x5bd4b3(0xe1)](r[_0x5bd4b3(0xf8)]);if(!_0x5b8d79)throw new Error(_0x5bd4b3(0xe8));return _0x5b8d79['importDOCXToSnapshot'](_0xe7c814);}async[_0x38fee1(0xf3)](_0x4a3cab){const _0x1a368c=_0x38fee1,_0x5d0153=this[_0x1a368c(0x105)]['get'](r[_0x1a368c(0xf8)]);if(!_0x5d0153)throw new Error(_0x1a368c(0xe8));return _0x5d0153[_0x1a368c(0xeb)](_0x4a3cab);}async[_0x38fee1(0xe3)](_0x2178a7){const _0x34fb32=_0x38fee1,_0x4210a4=this[_0x34fb32(0x105)][_0x34fb32(0xe1)](r[_0x34fb32(0xf8)]);if(!_0x4210a4)throw new Error(_0x34fb32(0xe8));return _0x4210a4['exportDOCXByUnitId'](_0x2178a7);}}o[_0x38fee1(0xef)][_0x38fee1(0xfd)](c);