@univerjs-pro/exchange-client 0.7.0-nightly.202505151607 → 0.7.0-nightly.202505161607

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 _0x3ad596=_0x23f2;function _0x1ad6(){const _0x36e2fd=['1282876GdIGhq','33oIXICV','24110844NiFZNm','UNIVER_PROJECT','10932633XJDoub','exportXLSXByUnitId','importXLSXToUnitIdAsync','exportXLSXBySnapshot','UNRECOGNIZED','8kXVeTo','@univerjs/core/facade','IExchangeService','6DaWvaQ','UNIVER_SHEET','2632870NzuKsz','importFileToUnitId','UNIVER_SLIDE','importDOCXToSnapshot','importDOCXToSnapshotAsync','4JtUqDW','4303865wmgJIk','importDOCXToUnitIdAsync','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','1152922dwTHEU','get','UNIVER_DOC','importXLSXToSnapshotAsync','2TySZwx','2336304IFvBTp','_injector'];_0x1ad6=function(){return _0x36e2fd;};return _0x1ad6();}(function(_0x56286c,_0x2b00bc){const _0x34367c=_0x23f2,_0x2789a6=_0x56286c();while(!![]){try{const _0x1f690a=parseInt(_0x34367c(0x1ec))/0x1*(-parseInt(_0x34367c(0x1e8))/0x2)+parseInt(_0x34367c(0x1ed))/0x3*(parseInt(_0x34367c(0x1e2))/0x4)+parseInt(_0x34367c(0x1e3))/0x5+parseInt(_0x34367c(0x1fb))/0x6*(parseInt(_0x34367c(0x1ef))/0x7)+parseInt(_0x34367c(0x1f8))/0x8*(-parseInt(_0x34367c(0x1f3))/0x9)+-parseInt(_0x34367c(0x1dd))/0xa*(parseInt(_0x34367c(0x1f0))/0xb)+parseInt(_0x34367c(0x1f1))/0xc;if(_0x1f690a===_0x2b00bc)break;else _0x2789a6['push'](_0x2789a6['shift']());}catch(_0x2a40bf){_0x2789a6['push'](_0x2789a6['shift']());}}}(_0x1ad6,0xa4ade));function _0x23f2(_0x2ffed2,_0x2b0896){const _0x1ad603=_0x1ad6();return _0x23f2=function(_0x23f299,_0x1a0aaa){_0x23f299=_0x23f299-0x1dd;let _0x7b4d52=_0x1ad603[_0x23f299];return _0x7b4d52;},_0x23f2(_0x2ffed2,_0x2b0896);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ad596(0x1f9));var o=(_0x57e66f=>(_0x57e66f[_0x57e66f[_0x3ad596(0x1e6)]=0x0]=_0x3ad596(0x1e6),_0x57e66f[_0x57e66f[_0x3ad596(0x1ea)]=0x1]=_0x3ad596(0x1ea),_0x57e66f[_0x57e66f[_0x3ad596(0x1fc)]=0x2]=_0x3ad596(0x1fc),_0x57e66f[_0x57e66f[_0x3ad596(0x1df)]=0x3]='UNIVER_SLIDE',_0x57e66f[_0x57e66f[_0x3ad596(0x1f2)]=0x4]=_0x3ad596(0x1f2),_0x57e66f[_0x57e66f[_0x3ad596(0x1f7)]=-0x1]=_0x3ad596(0x1f7),_0x57e66f))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x5e1fe9){const _0x25b588=_0x3ad596;return this[_0x25b588(0x1f5)](_0x5e1fe9);}async[_0x3ad596(0x1f5)](_0x10532c){const _0x4738de=_0x3ad596,_0x12ab8b=this['_injector'][_0x4738de(0x1e9)](r[_0x4738de(0x1fa)]);if(!_0x12ab8b)throw new Error(_0x4738de(0x1e7));return _0x12ab8b[_0x4738de(0x1de)](_0x10532c,o[_0x4738de(0x1fc)]);}async['importXLSXToSnapshot'](_0x12f095){const _0x4404db=_0x3ad596;return this[_0x4404db(0x1eb)](_0x12f095);}async[_0x3ad596(0x1eb)](_0x148d5f){const _0x5458fb=_0x3ad596,_0x313b3a=this[_0x5458fb(0x1ee)][_0x5458fb(0x1e9)](r[_0x5458fb(0x1fa)]);if(!_0x313b3a)throw new Error(_0x5458fb(0x1e7));return _0x313b3a['importXLSXToSnapshot'](_0x148d5f);}async[_0x3ad596(0x1f4)](_0x4eb9a8){const _0x228b0e=_0x3ad596;return this[_0x228b0e(0x1e5)](_0x4eb9a8);}async[_0x3ad596(0x1e5)](_0x1a32de){const _0x1a49e5=_0x3ad596,_0x27abf0=this[_0x1a49e5(0x1ee)]['get'](r[_0x1a49e5(0x1fa)]);if(!_0x27abf0)throw new Error(_0x1a49e5(0x1e7));return _0x27abf0['exportXLSXByUnitId'](_0x1a32de);}async[_0x3ad596(0x1f6)](_0xbfc6fb){return this['exportXLSXBySnapshotAsync'](_0xbfc6fb);}async['exportXLSXBySnapshotAsync'](_0x595cf0){const _0x336e81=_0x3ad596,_0x2c222a=this[_0x336e81(0x1ee)]['get'](r[_0x336e81(0x1fa)]);if(!_0x2c222a)throw new Error(_0x336e81(0x1e7));return _0x2c222a['exportXLSXBySnapshot'](_0x595cf0);}async['importDOCXToUnitId'](_0x385dfd){const _0x4194cb=_0x3ad596;return this[_0x4194cb(0x1e4)](_0x385dfd);}async[_0x3ad596(0x1e4)](_0x589f8a){const _0x85f407=_0x3ad596,_0xf84787=this[_0x85f407(0x1ee)][_0x85f407(0x1e9)](r[_0x85f407(0x1fa)]);if(!_0xf84787)throw new Error(_0x85f407(0x1e7));return _0xf84787[_0x85f407(0x1de)](_0x589f8a,o[_0x85f407(0x1ea)]);}async[_0x3ad596(0x1e0)](_0xfd6d00){const _0x168f8b=_0x3ad596;return this[_0x168f8b(0x1e1)](_0xfd6d00);}async['importDOCXToSnapshotAsync'](_0x270dfb){const _0x29027e=_0x3ad596,_0x2d1339=this[_0x29027e(0x1ee)][_0x29027e(0x1e9)](r[_0x29027e(0x1fa)]);if(!_0x2d1339)throw new Error(_0x29027e(0x1e7));return _0x2d1339['importDOCXToSnapshot'](_0x270dfb);}}i['FUniver']['extend'](c);
1
+ 'use strict';const _0x3d5bc6=_0x3a79;(function(_0x3ea9db,_0x261229){const _0x256f6e=_0x3a79,_0xd3704d=_0x3ea9db();while(!![]){try{const _0x3fc54a=-parseInt(_0x256f6e(0x1be))/0x1*(parseInt(_0x256f6e(0x1a9))/0x2)+-parseInt(_0x256f6e(0x19f))/0x3*(-parseInt(_0x256f6e(0x1a5))/0x4)+-parseInt(_0x256f6e(0x1bb))/0x5*(parseInt(_0x256f6e(0x1b1))/0x6)+parseInt(_0x256f6e(0x1b0))/0x7+-parseInt(_0x256f6e(0x1b8))/0x8+-parseInt(_0x256f6e(0x1ae))/0x9*(parseInt(_0x256f6e(0x1a4))/0xa)+parseInt(_0x256f6e(0x1a2))/0xb;if(_0x3fc54a===_0x261229)break;else _0xd3704d['push'](_0xd3704d['shift']());}catch(_0x6ea265){_0xd3704d['push'](_0xd3704d['shift']());}}}(_0x2839,0xea53b));const r=require('@univerjs-pro/exchange-client'),i=require(_0x3d5bc6(0x1bc));var o=(_0x338096=>(_0x338096[_0x338096['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x338096[_0x338096[_0x3d5bc6(0x1a8)]=0x1]='UNIVER_DOC',_0x338096[_0x338096[_0x3d5bc6(0x1b2)]=0x2]=_0x3d5bc6(0x1b2),_0x338096[_0x338096[_0x3d5bc6(0x1b5)]=0x3]='UNIVER_SLIDE',_0x338096[_0x338096['UNIVER_PROJECT']=0x4]=_0x3d5bc6(0x1a7),_0x338096[_0x338096['UNRECOGNIZED']=-0x1]=_0x3d5bc6(0x1b7),_0x338096))(o||{});class c extends i[_0x3d5bc6(0x1ad)]{async[_0x3d5bc6(0x1ac)](_0x19c597){const _0x14a8e8=_0x3d5bc6;return this[_0x14a8e8(0x1b9)](_0x19c597);}async[_0x3d5bc6(0x1b9)](_0x8cbcf4){const _0x30f34c=_0x3d5bc6,_0x423e7c=this[_0x30f34c(0x1a1)][_0x30f34c(0x1b3)](r[_0x30f34c(0x1a0)]);if(!_0x423e7c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x423e7c[_0x30f34c(0x1bd)](_0x8cbcf4,o['UNIVER_SHEET']);}async[_0x3d5bc6(0x1c0)](_0xa179ec){const _0xff2e40=_0x3d5bc6;return this[_0xff2e40(0x1b6)](_0xa179ec);}async['importXLSXToSnapshotAsync'](_0x7703a8){const _0x36b643=_0x3d5bc6,_0x275012=this[_0x36b643(0x1a1)]['get'](r[_0x36b643(0x1a0)]);if(!_0x275012)throw new Error(_0x36b643(0x1a3));return _0x275012[_0x36b643(0x1c0)](_0x7703a8);}async[_0x3d5bc6(0x1a6)](_0x5b1e72){return this['exportXLSXByUnitIdAsync'](_0x5b1e72);}async['exportXLSXByUnitIdAsync'](_0x4fe583){const _0xa6dd08=_0x3d5bc6,_0x1b3f90=this['_injector'][_0xa6dd08(0x1b3)](r[_0xa6dd08(0x1a0)]);if(!_0x1b3f90)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b3f90[_0xa6dd08(0x1a6)](_0x4fe583);}async[_0x3d5bc6(0x1ba)](_0x5edc22){return this['exportXLSXBySnapshotAsync'](_0x5edc22);}async[_0x3d5bc6(0x1bf)](_0x4cf7a2){const _0x9d8f4d=_0x3d5bc6,_0x2af226=this[_0x9d8f4d(0x1a1)][_0x9d8f4d(0x1b3)](r['IExchangeService']);if(!_0x2af226)throw new Error(_0x9d8f4d(0x1a3));return _0x2af226[_0x9d8f4d(0x1ba)](_0x4cf7a2);}async[_0x3d5bc6(0x1aa)](_0x431445){return this['importDOCXToUnitIdAsync'](_0x431445);}async['importDOCXToUnitIdAsync'](_0x338c08){const _0x3519e4=_0x3d5bc6,_0x5b225a=this[_0x3519e4(0x1a1)][_0x3519e4(0x1b3)](r[_0x3519e4(0x1a0)]);if(!_0x5b225a)throw new Error(_0x3519e4(0x1a3));return _0x5b225a[_0x3519e4(0x1bd)](_0x338c08,o['UNIVER_DOC']);}async[_0x3d5bc6(0x1b4)](_0x3793f3){const _0x1e52b1=_0x3d5bc6;return this[_0x1e52b1(0x1ab)](_0x3793f3);}async['importDOCXToSnapshotAsync'](_0x509aad){const _0x33d9d4=_0x3d5bc6,_0x593bb1=this[_0x33d9d4(0x1a1)][_0x33d9d4(0x1b3)](r[_0x33d9d4(0x1a0)]);if(!_0x593bb1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x593bb1['importDOCXToSnapshot'](_0x509aad);}}function _0x3a79(_0x4d031b,_0x591450){const _0x2839cf=_0x2839();return _0x3a79=function(_0x3a79af,_0x62d85a){_0x3a79af=_0x3a79af-0x19f;let _0x2b2125=_0x2839cf[_0x3a79af];return _0x2b2125;},_0x3a79(_0x4d031b,_0x591450);}function _0x2839(){const _0x55c9b2=['2090556XiIGKK','extend','810691BOgCVP','5153916FKqAbV','UNIVER_SHEET','get','importDOCXToSnapshot','UNIVER_SLIDE','importXLSXToSnapshotAsync','UNRECOGNIZED','978160KXAEQt','importXLSXToUnitIdAsync','exportXLSXBySnapshot','5yDTjQm','@univerjs/core/facade','importFileToUnitId','439UWiUvz','exportXLSXBySnapshotAsync','importXLSXToSnapshot','3wgeUuC','IExchangeService','_injector','22448767DqYdBu','The\x20exchange\x20service\x20is\x20not\x20available','10OAoQzO','613048fYzfaZ','exportXLSXByUnitId','UNIVER_PROJECT','UNIVER_DOC','622uTgrRx','importDOCXToUnitId','importDOCXToSnapshotAsync','importXLSXToUnitId','FUniver'];_0x2839=function(){return _0x55c9b2;};return _0x2839();}i['FUniver'][_0x3d5bc6(0x1af)](c);