@univerjs-pro/exchange-client 0.5.4-nightly.202501161606 → 0.5.4-nightly.202501171120

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 _0x4e0076=_0x4e03;(function(_0x1657a7,_0x271a78){const _0x4985f9=_0x4e03,_0x46303d=_0x1657a7();while(!![]){try{const _0x3dcaa0=parseInt(_0x4985f9(0x118))/0x1+-parseInt(_0x4985f9(0x10b))/0x2*(parseInt(_0x4985f9(0x121))/0x3)+-parseInt(_0x4985f9(0x107))/0x4+parseInt(_0x4985f9(0x11e))/0x5+-parseInt(_0x4985f9(0x11a))/0x6*(parseInt(_0x4985f9(0x125))/0x7)+-parseInt(_0x4985f9(0x124))/0x8*(-parseInt(_0x4985f9(0x10a))/0x9)+-parseInt(_0x4985f9(0x105))/0xa;if(_0x3dcaa0===_0x271a78)break;else _0x46303d['push'](_0x46303d['shift']());}catch(_0x46a04b){_0x46303d['push'](_0x46303d['shift']());}}}(_0x29e1,0xf0f8a));const r=require(_0x4e0076(0x120)),i=require(_0x4e0076(0x123));var o=(_0x54f89a=>(_0x54f89a[_0x54f89a['UNIVER_UNKNOWN']=0x0]=_0x4e0076(0x110),_0x54f89a[_0x54f89a['UNIVER_DOC']=0x1]=_0x4e0076(0x106),_0x54f89a[_0x54f89a[_0x4e0076(0x109)]=0x2]=_0x4e0076(0x109),_0x54f89a[_0x54f89a[_0x4e0076(0x11f)]=0x3]=_0x4e0076(0x11f),_0x54f89a[_0x54f89a[_0x4e0076(0x113)]=0x4]=_0x4e0076(0x113),_0x54f89a[_0x54f89a[_0x4e0076(0x10c)]=-0x1]=_0x4e0076(0x10c),_0x54f89a))(o||{});function _0x29e1(){const _0x35cefc=['UNIVER_DOC','1617800nuUYTL','importDOCXToSnapshot','UNIVER_SHEET','468QZCJCM','8zlMFiO','UNRECOGNIZED','exportXLSXByUnitId','importDOCXToUnitIdAsync','FUniver','UNIVER_UNKNOWN','importFileToUnitId','exportXLSXBySnapshot','UNIVER_PROJECT','The\x20exchange\x20service\x20is\x20not\x20available','_injector','importXLSXToSnapshot','importXLSXToUnitIdAsync','1651095XixwCq','importDOCXToUnitId','201738XrsCGD','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','2209975MWKXvf','UNIVER_SLIDE','@univerjs-pro/exchange-client','482901NDBBVw','extend','@univerjs/core','66904rUZyQx','77AWREDS','importXLSXToUnitId','get','IExchangeService','exportXLSXByUnitIdAsync','1227770yHquAh'];_0x29e1=function(){return _0x35cefc;};return _0x29e1();}function _0x4e03(_0x83ace5,_0x133928){const _0x29e15b=_0x29e1();return _0x4e03=function(_0x4e0334,_0x57e7f7){_0x4e0334=_0x4e0334-0x102;let _0x2dfae5=_0x29e15b[_0x4e0334];return _0x2dfae5;},_0x4e03(_0x83ace5,_0x133928);}class c extends i[_0x4e0076(0x10f)]{async[_0x4e0076(0x126)](_0x7f4184){const _0x54cd33=_0x4e0076;return this[_0x54cd33(0x117)](_0x7f4184);}async[_0x4e0076(0x117)](_0x21ac6b){const _0x30a03b=_0x4e0076,_0x1d1f9e=this[_0x30a03b(0x115)][_0x30a03b(0x102)](r[_0x30a03b(0x103)]);if(!_0x1d1f9e)throw new Error(_0x30a03b(0x114));return _0x1d1f9e[_0x30a03b(0x111)](_0x21ac6b,o[_0x30a03b(0x109)]);}async['importXLSXToSnapshot'](_0xc9a4bd){const _0x175c0f=_0x4e0076;return this[_0x175c0f(0x11b)](_0xc9a4bd);}async[_0x4e0076(0x11b)](_0x2b1e5b){const _0x57f162=_0x4e0076,_0x3236b3=this[_0x57f162(0x115)][_0x57f162(0x102)](r['IExchangeService']);if(!_0x3236b3)throw new Error(_0x57f162(0x114));return _0x3236b3[_0x57f162(0x116)](_0x2b1e5b);}async[_0x4e0076(0x10d)](_0x1316ae){const _0x2560e6=_0x4e0076;return this[_0x2560e6(0x104)](_0x1316ae);}async[_0x4e0076(0x104)](_0x2677e3){const _0x4d3462=_0x4e0076,_0xadab9c=this['_injector'][_0x4d3462(0x102)](r[_0x4d3462(0x103)]);if(!_0xadab9c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xadab9c[_0x4d3462(0x10d)](_0x2677e3);}async[_0x4e0076(0x112)](_0x1be02d){const _0x3f8180=_0x4e0076;return this[_0x3f8180(0x11d)](_0x1be02d);}async['exportXLSXBySnapshotAsync'](_0x33f77e){const _0xd15ae7=_0x4e0076,_0x1fb981=this[_0xd15ae7(0x115)][_0xd15ae7(0x102)](r[_0xd15ae7(0x103)]);if(!_0x1fb981)throw new Error(_0xd15ae7(0x114));return _0x1fb981['exportXLSXBySnapshot'](_0x33f77e);}async[_0x4e0076(0x119)](_0x56c439){return this['importDOCXToUnitIdAsync'](_0x56c439);}async[_0x4e0076(0x10e)](_0xf1d405){const _0x3d4266=_0x4e0076,_0x1ba92f=this[_0x3d4266(0x115)][_0x3d4266(0x102)](r[_0x3d4266(0x103)]);if(!_0x1ba92f)throw new Error(_0x3d4266(0x114));return _0x1ba92f['importFileToUnitId'](_0xf1d405,o['UNIVER_DOC']);}async[_0x4e0076(0x108)](_0x562405){const _0x24083d=_0x4e0076;return this[_0x24083d(0x11c)](_0x562405);}async[_0x4e0076(0x11c)](_0x89d050){const _0x472c5d=_0x4e0076,_0x18ec02=this['_injector'][_0x472c5d(0x102)](r[_0x472c5d(0x103)]);if(!_0x18ec02)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18ec02['importDOCXToSnapshot'](_0x89d050);}}i[_0x4e0076(0x10f)][_0x4e0076(0x122)](c);
1
+ 'use strict';const _0x59094b=_0x56b9;(function(_0x1550b7,_0x2f714c){const _0x4a43de=_0x56b9,_0x2c0550=_0x1550b7();while(!![]){try{const _0x4e8c96=-parseInt(_0x4a43de(0x1c6))/0x1*(-parseInt(_0x4a43de(0x1d1))/0x2)+-parseInt(_0x4a43de(0x1dc))/0x3+-parseInt(_0x4a43de(0x1cd))/0x4*(-parseInt(_0x4a43de(0x1d0))/0x5)+parseInt(_0x4a43de(0x1c1))/0x6*(-parseInt(_0x4a43de(0x1bf))/0x7)+parseInt(_0x4a43de(0x1c8))/0x8*(-parseInt(_0x4a43de(0x1c5))/0x9)+-parseInt(_0x4a43de(0x1d3))/0xa+parseInt(_0x4a43de(0x1d6))/0xb;if(_0x4e8c96===_0x2f714c)break;else _0x2c0550['push'](_0x2c0550['shift']());}catch(_0x427488){_0x2c0550['push'](_0x2c0550['shift']());}}}(_0x449d,0x406fc));const r=require(_0x59094b(0x1c7)),i=require(_0x59094b(0x1d7));var o=(_0x293984=>(_0x293984[_0x293984['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x293984[_0x293984[_0x59094b(0x1d5)]=0x1]=_0x59094b(0x1d5),_0x293984[_0x293984[_0x59094b(0x1bc)]=0x2]=_0x59094b(0x1bc),_0x293984[_0x293984[_0x59094b(0x1c2)]=0x3]=_0x59094b(0x1c2),_0x293984[_0x293984[_0x59094b(0x1c4)]=0x4]=_0x59094b(0x1c4),_0x293984[_0x293984['UNRECOGNIZED']=-0x1]=_0x59094b(0x1ce),_0x293984))(o||{});function _0x449d(){const _0x5e922d=['UNIVER_SHEET','importXLSXToUnitId','importXLSXToUnitIdAsync','4137NgqEOq','_injector','4080iFdepn','UNIVER_SLIDE','extend','UNIVER_PROJECT','788652RXmUoI','8bOdlUy','@univerjs-pro/exchange-client','8vfoRjl','exportXLSXByUnitIdAsync','get','importFileToUnitId','importDOCXToSnapshotAsync','136OtipzW','UNRECOGNIZED','importXLSXToSnapshotAsync','64280UsVikN','27344VkcbAt','importDOCXToSnapshot','2009160tVMnSM','exportXLSXBySnapshotAsync','UNIVER_DOC','5825072JmIupT','@univerjs/core','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','FUniver','365028zIrPYj','importDOCXToUnitIdAsync','exportXLSXBySnapshot'];_0x449d=function(){return _0x5e922d;};return _0x449d();}class c extends i['FUniver']{async[_0x59094b(0x1bd)](_0x545b28){const _0x28eb14=_0x59094b;return this[_0x28eb14(0x1be)](_0x545b28);}async[_0x59094b(0x1be)](_0x14debc){const _0x1aa29c=_0x59094b,_0x532020=this['_injector'][_0x1aa29c(0x1ca)](r['IExchangeService']);if(!_0x532020)throw new Error(_0x1aa29c(0x1d9));return _0x532020[_0x1aa29c(0x1cb)](_0x14debc,o['UNIVER_SHEET']);}async[_0x59094b(0x1da)](_0xe81cfd){const _0x5a23a2=_0x59094b;return this[_0x5a23a2(0x1cf)](_0xe81cfd);}async[_0x59094b(0x1cf)](_0x2b92b9){const _0x5e8658=_0x59094b,_0x48349d=this['_injector']['get'](r[_0x5e8658(0x1d8)]);if(!_0x48349d)throw new Error(_0x5e8658(0x1d9));return _0x48349d['importXLSXToSnapshot'](_0x2b92b9);}async['exportXLSXByUnitId'](_0x2fa0e9){const _0x1a007d=_0x59094b;return this[_0x1a007d(0x1c9)](_0x2fa0e9);}async[_0x59094b(0x1c9)](_0x11e2cf){const _0x368858=_0x59094b,_0x5abde2=this[_0x368858(0x1c0)][_0x368858(0x1ca)](r[_0x368858(0x1d8)]);if(!_0x5abde2)throw new Error(_0x368858(0x1d9));return _0x5abde2['exportXLSXByUnitId'](_0x11e2cf);}async[_0x59094b(0x1bb)](_0x9879c9){const _0x55efd4=_0x59094b;return this[_0x55efd4(0x1d4)](_0x9879c9);}async[_0x59094b(0x1d4)](_0x484bd4){const _0x4cb17f=_0x59094b,_0x550d4e=this[_0x4cb17f(0x1c0)][_0x4cb17f(0x1ca)](r['IExchangeService']);if(!_0x550d4e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x550d4e[_0x4cb17f(0x1bb)](_0x484bd4);}async['importDOCXToUnitId'](_0x1d1c4e){const _0x24cb1a=_0x59094b;return this[_0x24cb1a(0x1ba)](_0x1d1c4e);}async[_0x59094b(0x1ba)](_0x2cadbb){const _0xc94c9f=_0x59094b,_0x506b35=this[_0xc94c9f(0x1c0)][_0xc94c9f(0x1ca)](r[_0xc94c9f(0x1d8)]);if(!_0x506b35)throw new Error(_0xc94c9f(0x1d9));return _0x506b35[_0xc94c9f(0x1cb)](_0x2cadbb,o[_0xc94c9f(0x1d5)]);}async[_0x59094b(0x1d2)](_0x10fe5e){const _0x2a1ed4=_0x59094b;return this[_0x2a1ed4(0x1cc)](_0x10fe5e);}async[_0x59094b(0x1cc)](_0x4b016e){const _0x352a06=_0x59094b,_0x141dd7=this[_0x352a06(0x1c0)][_0x352a06(0x1ca)](r[_0x352a06(0x1d8)]);if(!_0x141dd7)throw new Error(_0x352a06(0x1d9));return _0x141dd7[_0x352a06(0x1d2)](_0x4b016e);}}function _0x56b9(_0x4f9681,_0x1ca616){const _0x449d36=_0x449d();return _0x56b9=function(_0x56b9a8,_0x2fa251){_0x56b9a8=_0x56b9a8-0x1ba;let _0x4fc4f9=_0x449d36[_0x56b9a8];return _0x4fc4f9;},_0x56b9(_0x4f9681,_0x1ca616);}i[_0x59094b(0x1db)][_0x59094b(0x1c3)](c);