@univerjs-pro/exchange-client 0.6.0-nightly.202502141606 → 0.6.0

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 _0xace7b4=_0x78fc;(function(_0x1b9658,_0x12e893){const _0x3b588f=_0x78fc,_0x6827a4=_0x1b9658();while(!![]){try{const _0x1926e7=parseInt(_0x3b588f(0x196))/0x1*(-parseInt(_0x3b588f(0x183))/0x2)+parseInt(_0x3b588f(0x189))/0x3+-parseInt(_0x3b588f(0x1a3))/0x4+parseInt(_0x3b588f(0x194))/0x5*(-parseInt(_0x3b588f(0x1a0))/0x6)+-parseInt(_0x3b588f(0x195))/0x7*(parseInt(_0x3b588f(0x188))/0x8)+parseInt(_0x3b588f(0x19c))/0x9*(parseInt(_0x3b588f(0x187))/0xa)+parseInt(_0x3b588f(0x19b))/0xb;if(_0x1926e7===_0x12e893)break;else _0x6827a4['push'](_0x6827a4['shift']());}catch(_0x175a25){_0x6827a4['push'](_0x6827a4['shift']());}}}(_0xc665,0xb1c4b));const r=require(_0xace7b4(0x199)),i=require(_0xace7b4(0x197));var o=(_0x4ba1b4=>(_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x18d)]=0x0]='UNIVER_UNKNOWN',_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x18b)]=0x1]=_0xace7b4(0x18b),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x190)]=0x2]=_0xace7b4(0x190),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x191)]=0x3]='UNIVER_SLIDE',_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x184)]=0x4]=_0xace7b4(0x184),_0x4ba1b4[_0x4ba1b4[_0xace7b4(0x192)]=-0x1]='UNRECOGNIZED',_0x4ba1b4))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0xc8b141){const _0x2a3f8c=_0xace7b4;return this[_0x2a3f8c(0x185)](_0xc8b141);}async[_0xace7b4(0x185)](_0x3115df){const _0x49a521=_0xace7b4,_0x2ef82e=this[_0x49a521(0x19d)][_0x49a521(0x1a5)](r[_0x49a521(0x18f)]);if(!_0x2ef82e)throw new Error(_0x49a521(0x18c));return _0x2ef82e[_0x49a521(0x18e)](_0x3115df,o[_0x49a521(0x190)]);}async[_0xace7b4(0x19a)](_0x26165b){const _0x2700d7=_0xace7b4;return this[_0x2700d7(0x186)](_0x26165b);}async[_0xace7b4(0x186)](_0x3d62a7){const _0x457f95=_0xace7b4,_0x148200=this[_0x457f95(0x19d)][_0x457f95(0x1a5)](r['IExchangeService']);if(!_0x148200)throw new Error(_0x457f95(0x18c));return _0x148200['importXLSXToSnapshot'](_0x3d62a7);}async[_0xace7b4(0x193)](_0x57d804){const _0x41d5bc=_0xace7b4;return this[_0x41d5bc(0x1a1)](_0x57d804);}async['exportXLSXByUnitIdAsync'](_0xe2fd74){const _0x19c728=_0xace7b4,_0xfa566a=this[_0x19c728(0x19d)][_0x19c728(0x1a5)](r[_0x19c728(0x18f)]);if(!_0xfa566a)throw new Error(_0x19c728(0x18c));return _0xfa566a[_0x19c728(0x193)](_0xe2fd74);}async[_0xace7b4(0x19e)](_0x3d8c78){const _0x5a8261=_0xace7b4;return this[_0x5a8261(0x198)](_0x3d8c78);}async[_0xace7b4(0x198)](_0x3b6262){const _0x5985b5=_0xace7b4,_0x5de1e7=this[_0x5985b5(0x19d)][_0x5985b5(0x1a5)](r['IExchangeService']);if(!_0x5de1e7)throw new Error(_0x5985b5(0x18c));return _0x5de1e7[_0x5985b5(0x19e)](_0x3b6262);}async['importDOCXToUnitId'](_0x5a5d44){return this['importDOCXToUnitIdAsync'](_0x5a5d44);}async[_0xace7b4(0x1a2)](_0x548abf){const _0x4e3e7a=_0xace7b4,_0x3b566c=this['_injector'][_0x4e3e7a(0x1a5)](r[_0x4e3e7a(0x18f)]);if(!_0x3b566c)throw new Error(_0x4e3e7a(0x18c));return _0x3b566c[_0x4e3e7a(0x18e)](_0x548abf,o[_0x4e3e7a(0x18b)]);}async['importDOCXToSnapshot'](_0x5f1df2){return this['importDOCXToSnapshotAsync'](_0x5f1df2);}async[_0xace7b4(0x1a4)](_0x2a52d5){const _0x1d7de0=_0xace7b4,_0x3b98b3=this[_0x1d7de0(0x19d)][_0x1d7de0(0x1a5)](r[_0x1d7de0(0x18f)]);if(!_0x3b98b3)throw new Error(_0x1d7de0(0x18c));return _0x3b98b3[_0x1d7de0(0x19f)](_0x2a52d5);}}i[_0xace7b4(0x182)][_0xace7b4(0x18a)](c);function _0x78fc(_0x391ab6,_0x5d38cf){const _0xc6653b=_0xc665();return _0x78fc=function(_0x78fc69,_0x182639){_0x78fc69=_0x78fc69-0x182;let _0x5df943=_0xc6653b[_0x78fc69];return _0x5df943;},_0x78fc(_0x391ab6,_0x5d38cf);}function _0xc665(){const _0x475a7f=['importDOCXToUnitIdAsync','4966468rMefFQ','importDOCXToSnapshotAsync','get','FUniver','853202FfaflS','UNIVER_PROJECT','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','3350120QVkMJG','328QwMVWp','569895lbOltT','extend','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','importFileToUnitId','IExchangeService','UNIVER_SHEET','UNIVER_SLIDE','UNRECOGNIZED','exportXLSXByUnitId','75gQDhfK','178206Sgmpeq','1xzmKMW','@univerjs/core/facade','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','importXLSXToSnapshot','41822033sOvUDv','9CtSdpU','_injector','exportXLSXBySnapshot','importDOCXToSnapshot','354738RZOqed','exportXLSXByUnitIdAsync'];_0xc665=function(){return _0x475a7f;};return _0xc665();}
1
+ 'use strict';function _0x3bf6(_0x7e748f,_0x15e44b){const _0x5d81aa=_0x5d81();return _0x3bf6=function(_0x3bf667,_0x4390fb){_0x3bf667=_0x3bf667-0xca;let _0x145000=_0x5d81aa[_0x3bf667];return _0x145000;},_0x3bf6(_0x7e748f,_0x15e44b);}const _0x543f01=_0x3bf6;function _0x5d81(){const _0x53de1a=['44HdoIeZ','extend','importDOCXToUnitIdAsync','@univerjs/core/facade','2383045TKIwTM','2000112SgIuXj','importXLSXToUnitId','257iqArHz','UNIVER_SLIDE','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importDOCXToSnapshotAsync','UNRECOGNIZED','importXLSXToSnapshotAsync','UNIVER_PROJECT','get','exportXLSXByUnitIdAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','20OvYpmx','276XdGQNm','UNIVER_UNKNOWN','9qBRGLQ','exportXLSXBySnapshot','importFileToUnitId','145586vdVEPb','10833900ScagLV','634xeZkVg','360237KCfMNr','UNIVER_DOC','importDOCXToSnapshot','importXLSXToUnitIdAsync','IExchangeService','_injector','importXLSXToSnapshot','exportXLSXBySnapshotAsync','2188248puMWal','FUniver'];_0x5d81=function(){return _0x53de1a;};return _0x5d81();}(function(_0x7cacc3,_0x499efc){const _0xa0a658=_0x3bf6,_0x1b7c65=_0x7cacc3();while(!![]){try{const _0x30b657=parseInt(_0xa0a658(0xdf))/0x1*(parseInt(_0xa0a658(0xcd))/0x2)+parseInt(_0xa0a658(0xce))/0x3*(parseInt(_0xa0a658(0xeb))/0x4)+parseInt(_0xa0a658(0xdc))/0x5+parseInt(_0xa0a658(0xec))/0x6*(parseInt(_0xa0a658(0xcb))/0x7)+parseInt(_0xa0a658(0xd6))/0x8+parseInt(_0xa0a658(0xee))/0x9*(-parseInt(_0xa0a658(0xcc))/0xa)+parseInt(_0xa0a658(0xd8))/0xb*(-parseInt(_0xa0a658(0xdd))/0xc);if(_0x30b657===_0x499efc)break;else _0x1b7c65['push'](_0x1b7c65['shift']());}catch(_0x4bec20){_0x1b7c65['push'](_0x1b7c65['shift']());}}}(_0x5d81,0x9be9a));const r=require(_0x543f01(0xea)),i=require(_0x543f01(0xdb));var o=(_0x2475d8=>(_0x2475d8[_0x2475d8[_0x543f01(0xed)]=0x0]=_0x543f01(0xed),_0x2475d8[_0x2475d8[_0x543f01(0xcf)]=0x1]=_0x543f01(0xcf),_0x2475d8[_0x2475d8[_0x543f01(0xe9)]=0x2]=_0x543f01(0xe9),_0x2475d8[_0x2475d8[_0x543f01(0xe0)]=0x3]='UNIVER_SLIDE',_0x2475d8[_0x2475d8[_0x543f01(0xe6)]=0x4]=_0x543f01(0xe6),_0x2475d8[_0x2475d8[_0x543f01(0xe4)]=-0x1]=_0x543f01(0xe4),_0x2475d8))(o||{});class c extends i[_0x543f01(0xd7)]{async[_0x543f01(0xde)](_0x4b065b){const _0x3ad2e3=_0x543f01;return this[_0x3ad2e3(0xd1)](_0x4b065b);}async[_0x543f01(0xd1)](_0x415979){const _0x5c8c55=_0x543f01,_0x1b21a7=this[_0x5c8c55(0xd3)]['get'](r[_0x5c8c55(0xd2)]);if(!_0x1b21a7)throw new Error(_0x5c8c55(0xe1));return _0x1b21a7[_0x5c8c55(0xca)](_0x415979,o[_0x5c8c55(0xe9)]);}async[_0x543f01(0xd4)](_0x219ca4){return this['importXLSXToSnapshotAsync'](_0x219ca4);}async[_0x543f01(0xe5)](_0x14d19b){const _0x5d3d7a=_0x543f01,_0x168a61=this[_0x5d3d7a(0xd3)][_0x5d3d7a(0xe7)](r['IExchangeService']);if(!_0x168a61)throw new Error(_0x5d3d7a(0xe1));return _0x168a61['importXLSXToSnapshot'](_0x14d19b);}async[_0x543f01(0xe2)](_0x30ad96){return this['exportXLSXByUnitIdAsync'](_0x30ad96);}async[_0x543f01(0xe8)](_0x1192ce){const _0x6b005b=_0x543f01,_0x5a969e=this[_0x6b005b(0xd3)][_0x6b005b(0xe7)](r['IExchangeService']);if(!_0x5a969e)throw new Error(_0x6b005b(0xe1));return _0x5a969e['exportXLSXByUnitId'](_0x1192ce);}async['exportXLSXBySnapshot'](_0x5af990){const _0x507edb=_0x543f01;return this[_0x507edb(0xd5)](_0x5af990);}async[_0x543f01(0xd5)](_0x26309f){const _0xd9bf43=_0x543f01,_0x4da16e=this[_0xd9bf43(0xd3)][_0xd9bf43(0xe7)](r[_0xd9bf43(0xd2)]);if(!_0x4da16e)throw new Error(_0xd9bf43(0xe1));return _0x4da16e[_0xd9bf43(0xef)](_0x26309f);}async['importDOCXToUnitId'](_0xddb9c0){return this['importDOCXToUnitIdAsync'](_0xddb9c0);}async[_0x543f01(0xda)](_0x7e62f){const _0x6153fb=_0x543f01,_0x18e1a2=this[_0x6153fb(0xd3)][_0x6153fb(0xe7)](r[_0x6153fb(0xd2)]);if(!_0x18e1a2)throw new Error(_0x6153fb(0xe1));return _0x18e1a2['importFileToUnitId'](_0x7e62f,o[_0x6153fb(0xcf)]);}async[_0x543f01(0xd0)](_0x5234b7){return this['importDOCXToSnapshotAsync'](_0x5234b7);}async[_0x543f01(0xe3)](_0x1dab0f){const _0x354fdd=_0x543f01,_0x1848cb=this[_0x354fdd(0xd3)][_0x354fdd(0xe7)](r['IExchangeService']);if(!_0x1848cb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1848cb[_0x354fdd(0xd0)](_0x1dab0f);}}i[_0x543f01(0xd7)][_0x543f01(0xd9)](c);