@univerjs-pro/exchange-client 0.6.0 → 0.6.1-nightly.202502221605

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 _0xb9c446=_0x1cd1;(function(_0x5934f7,_0x25319e){const _0x347a11=_0x1cd1,_0x352276=_0x5934f7();while(!![]){try{const _0x14ce48=-parseInt(_0x347a11(0x1bb))/0x1*(parseInt(_0x347a11(0x1a1))/0x2)+-parseInt(_0x347a11(0x19e))/0x3+-parseInt(_0x347a11(0x1a9))/0x4+parseInt(_0x347a11(0x1ae))/0x5+-parseInt(_0x347a11(0x1b4))/0x6+parseInt(_0x347a11(0x1a6))/0x7*(-parseInt(_0x347a11(0x1ad))/0x8)+-parseInt(_0x347a11(0x1a4))/0x9*(-parseInt(_0x347a11(0x1a5))/0xa);if(_0x14ce48===_0x25319e)break;else _0x352276['push'](_0x352276['shift']());}catch(_0x5fb957){_0x352276['push'](_0x352276['shift']());}}}(_0x4ec5,0xddb41));const r=require(_0xb9c446(0x1ab)),i=require(_0xb9c446(0x1b7));var o=(_0x499067=>(_0x499067[_0x499067['UNIVER_UNKNOWN']=0x0]=_0xb9c446(0x19c),_0x499067[_0x499067['UNIVER_DOC']=0x1]=_0xb9c446(0x1b9),_0x499067[_0x499067[_0xb9c446(0x19d)]=0x2]=_0xb9c446(0x19d),_0x499067[_0x499067[_0xb9c446(0x1ac)]=0x3]=_0xb9c446(0x1ac),_0x499067[_0x499067[_0xb9c446(0x1ba)]=0x4]='UNIVER_PROJECT',_0x499067[_0x499067[_0xb9c446(0x1b0)]=-0x1]=_0xb9c446(0x1b0),_0x499067))(o||{});function _0x4ec5(){const _0x84abfb=['UNIVER_UNKNOWN','UNIVER_SHEET','4032168HxAhvJ','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','37376axexbh','FUniver','extend','99GcoLFE','4015470FpfgpX','140KGngkn','importXLSXToSnapshot','exportXLSXByUnitIdAsync','6719096CXuTOX','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','UNIVER_SLIDE','390704gBCGRq','3449515TnIMvw','get','UNRECOGNIZED','importDOCXToUnitIdAsync','IExchangeService','_injector','740886yjIizA','importXLSXToUnitIdAsync','importDOCXToSnapshot','@univerjs/core/facade','exportXLSXByUnitId','UNIVER_DOC','UNIVER_PROJECT','4zNtgPg','importXLSXToSnapshotAsync','exportXLSXBySnapshot','importFileToUnitId','importDOCXToUnitId'];_0x4ec5=function(){return _0x84abfb;};return _0x4ec5();}class c extends i[_0xb9c446(0x1a2)]{async['importXLSXToUnitId'](_0x5d8f79){const _0x49df0d=_0xb9c446;return this[_0x49df0d(0x1b5)](_0x5d8f79);}async[_0xb9c446(0x1b5)](_0x13375f){const _0x1d7603=_0xb9c446,_0x5ca765=this[_0x1d7603(0x1b3)]['get'](r[_0x1d7603(0x1b2)]);if(!_0x5ca765)throw new Error(_0x1d7603(0x1aa));return _0x5ca765[_0x1d7603(0x19a)](_0x13375f,o[_0x1d7603(0x19d)]);}async['importXLSXToSnapshot'](_0x3e9c4e){const _0x56e25a=_0xb9c446;return this[_0x56e25a(0x198)](_0x3e9c4e);}async[_0xb9c446(0x198)](_0x156fa6){const _0x59391a=_0xb9c446,_0x511906=this[_0x59391a(0x1b3)][_0x59391a(0x1af)](r[_0x59391a(0x1b2)]);if(!_0x511906)throw new Error(_0x59391a(0x1aa));return _0x511906[_0x59391a(0x1a7)](_0x156fa6);}async[_0xb9c446(0x1b8)](_0x5ad7d8){const _0x13071d=_0xb9c446;return this[_0x13071d(0x1a8)](_0x5ad7d8);}async[_0xb9c446(0x1a8)](_0x3379e5){const _0x5cefb4=_0xb9c446,_0x5d1ffc=this[_0x5cefb4(0x1b3)]['get'](r[_0x5cefb4(0x1b2)]);if(!_0x5d1ffc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d1ffc[_0x5cefb4(0x1b8)](_0x3379e5);}async['exportXLSXBySnapshot'](_0x6e6012){const _0x4e2393=_0xb9c446;return this[_0x4e2393(0x1a0)](_0x6e6012);}async[_0xb9c446(0x1a0)](_0xe4e7aa){const _0xc678e5=_0xb9c446,_0x57c8ce=this[_0xc678e5(0x1b3)][_0xc678e5(0x1af)](r[_0xc678e5(0x1b2)]);if(!_0x57c8ce)throw new Error(_0xc678e5(0x1aa));return _0x57c8ce[_0xc678e5(0x199)](_0xe4e7aa);}async[_0xb9c446(0x19b)](_0x223cd4){const _0x3af162=_0xb9c446;return this[_0x3af162(0x1b1)](_0x223cd4);}async[_0xb9c446(0x1b1)](_0x1abcc6){const _0x1ff5a8=_0xb9c446,_0x3a4f4f=this['_injector'][_0x1ff5a8(0x1af)](r[_0x1ff5a8(0x1b2)]);if(!_0x3a4f4f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a4f4f['importFileToUnitId'](_0x1abcc6,o[_0x1ff5a8(0x1b9)]);}async['importDOCXToSnapshot'](_0x8ad1ec){const _0x479a50=_0xb9c446;return this[_0x479a50(0x19f)](_0x8ad1ec);}async[_0xb9c446(0x19f)](_0xf7486){const _0x1047c4=_0xb9c446,_0x163163=this['_injector'][_0x1047c4(0x1af)](r[_0x1047c4(0x1b2)]);if(!_0x163163)throw new Error(_0x1047c4(0x1aa));return _0x163163[_0x1047c4(0x1b6)](_0xf7486);}}function _0x1cd1(_0x3058a8,_0x2ed222){const _0x4ec5c1=_0x4ec5();return _0x1cd1=function(_0x1cd15e,_0x25231b){_0x1cd15e=_0x1cd15e-0x198;let _0xa3490e=_0x4ec5c1[_0x1cd15e];return _0xa3490e;},_0x1cd1(_0x3058a8,_0x2ed222);}i[_0xb9c446(0x1a2)][_0xb9c446(0x1a3)](c);