@univerjs-pro/exchange-client 0.6.0 → 0.6.1

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';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);
1
+ 'use strict';const _0x512fe7=_0xfd62;(function(_0x2ccab0,_0x3f5861){const _0xa7dfb7=_0xfd62,_0x5960f1=_0x2ccab0();while(!![]){try{const _0x43114f=-parseInt(_0xa7dfb7(0x1db))/0x1+parseInt(_0xa7dfb7(0x1dc))/0x2+-parseInt(_0xa7dfb7(0x1c3))/0x3*(parseInt(_0xa7dfb7(0x1d0))/0x4)+-parseInt(_0xa7dfb7(0x1dd))/0x5*(parseInt(_0xa7dfb7(0x1c0))/0x6)+parseInt(_0xa7dfb7(0x1d2))/0x7+-parseInt(_0xa7dfb7(0x1c9))/0x8+-parseInt(_0xa7dfb7(0x1c6))/0x9*(-parseInt(_0xa7dfb7(0x1d5))/0xa);if(_0x43114f===_0x3f5861)break;else _0x5960f1['push'](_0x5960f1['shift']());}catch(_0x110e89){_0x5960f1['push'](_0x5960f1['shift']());}}}(_0x55c5,0x7597b));function _0xfd62(_0x2cd464,_0x153c46){const _0x55c572=_0x55c5();return _0xfd62=function(_0xfd6293,_0x1883c7){_0xfd6293=_0xfd6293-0x1c0;let _0x2d6d02=_0x55c572[_0xfd6293];return _0x2d6d02;},_0xfd62(_0x2cd464,_0x153c46);}function _0x55c5(){const _0xf2e70f=['importXLSXToUnitIdAsync','590015jwjAph','626588zJMRge','5VzwcKz','UNRECOGNIZED','UNIVER_SHEET','FUniver','3191262vJmxBw','exportXLSXByUnitIdAsync','UNIVER_PROJECT','305958HtFsPa','get','_injector','6895890cyyJnq','@univerjs/core/facade','importXLSXToUnitId','7000960inNLcM','IExchangeService','importXLSXToSnapshotAsync','UNIVER_UNKNOWN','exportXLSXByUnitId','UNIVER_DOC','importDOCXToSnapshotAsync','8YipLkt','The\x20exchange\x20service\x20is\x20not\x20available','495033RyGrVB','UNIVER_SLIDE','@univerjs-pro/exchange-client','30ATJgpq','exportXLSXBySnapshotAsync','importXLSXToSnapshot','importDOCXToSnapshot','exportXLSXBySnapshot'];_0x55c5=function(){return _0xf2e70f;};return _0x55c5();}const r=require(_0x512fe7(0x1d4)),i=require(_0x512fe7(0x1c7));var o=(_0x2c7574=>(_0x2c7574[_0x2c7574[_0x512fe7(0x1cc)]=0x0]='UNIVER_UNKNOWN',_0x2c7574[_0x2c7574[_0x512fe7(0x1ce)]=0x1]=_0x512fe7(0x1ce),_0x2c7574[_0x2c7574[_0x512fe7(0x1df)]=0x2]=_0x512fe7(0x1df),_0x2c7574[_0x2c7574[_0x512fe7(0x1d3)]=0x3]='UNIVER_SLIDE',_0x2c7574[_0x2c7574[_0x512fe7(0x1c2)]=0x4]=_0x512fe7(0x1c2),_0x2c7574[_0x2c7574[_0x512fe7(0x1de)]=-0x1]=_0x512fe7(0x1de),_0x2c7574))(o||{});class c extends i[_0x512fe7(0x1e0)]{async[_0x512fe7(0x1c8)](_0x2d1784){const _0x37985d=_0x512fe7;return this[_0x37985d(0x1da)](_0x2d1784);}async[_0x512fe7(0x1da)](_0x4d79a0){const _0x366c49=_0x512fe7,_0x2d40aa=this[_0x366c49(0x1c5)][_0x366c49(0x1c4)](r[_0x366c49(0x1ca)]);if(!_0x2d40aa)throw new Error(_0x366c49(0x1d1));return _0x2d40aa['importFileToUnitId'](_0x4d79a0,o[_0x366c49(0x1df)]);}async[_0x512fe7(0x1d7)](_0x2a7b95){const _0x2a617a=_0x512fe7;return this[_0x2a617a(0x1cb)](_0x2a7b95);}async[_0x512fe7(0x1cb)](_0x4b46f1){const _0x3c2e7f=_0x512fe7,_0x269f35=this[_0x3c2e7f(0x1c5)][_0x3c2e7f(0x1c4)](r[_0x3c2e7f(0x1ca)]);if(!_0x269f35)throw new Error(_0x3c2e7f(0x1d1));return _0x269f35['importXLSXToSnapshot'](_0x4b46f1);}async[_0x512fe7(0x1cd)](_0x12bce0){const _0x5e2e19=_0x512fe7;return this[_0x5e2e19(0x1c1)](_0x12bce0);}async[_0x512fe7(0x1c1)](_0x4a1ac9){const _0x18e81d=_0x512fe7,_0x569baa=this['_injector'][_0x18e81d(0x1c4)](r[_0x18e81d(0x1ca)]);if(!_0x569baa)throw new Error(_0x18e81d(0x1d1));return _0x569baa['exportXLSXByUnitId'](_0x4a1ac9);}async[_0x512fe7(0x1d9)](_0x32a4d3){return this['exportXLSXBySnapshotAsync'](_0x32a4d3);}async[_0x512fe7(0x1d6)](_0x45807a){const _0x16e028=_0x512fe7,_0x4cf2f6=this['_injector'][_0x16e028(0x1c4)](r[_0x16e028(0x1ca)]);if(!_0x4cf2f6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4cf2f6[_0x16e028(0x1d9)](_0x45807a);}async['importDOCXToUnitId'](_0x5d1962){return this['importDOCXToUnitIdAsync'](_0x5d1962);}async['importDOCXToUnitIdAsync'](_0x31d655){const _0x19183b=_0x512fe7,_0x1c9679=this['_injector'][_0x19183b(0x1c4)](r[_0x19183b(0x1ca)]);if(!_0x1c9679)throw new Error(_0x19183b(0x1d1));return _0x1c9679['importFileToUnitId'](_0x31d655,o['UNIVER_DOC']);}async[_0x512fe7(0x1d8)](_0x10e8f0){const _0x5ef0d7=_0x512fe7;return this[_0x5ef0d7(0x1cf)](_0x10e8f0);}async[_0x512fe7(0x1cf)](_0x483848){const _0x363849=_0x512fe7,_0x570d5e=this['_injector'][_0x363849(0x1c4)](r[_0x363849(0x1ca)]);if(!_0x570d5e)throw new Error(_0x363849(0x1d1));return _0x570d5e[_0x363849(0x1d8)](_0x483848);}}i[_0x512fe7(0x1e0)]['extend'](c);