@univerjs-pro/exchange-client 0.6.6-experimental.20250321-5cc1a0d → 0.6.6-experimental.20250326-0a2cb0d

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 _0x1d18a1=_0x29ae;(function(_0x14e837,_0x127c66){const _0x142891=_0x29ae,_0x3f4098=_0x14e837();while(!![]){try{const _0x4ffbe6=-parseInt(_0x142891(0x133))/0x1*(-parseInt(_0x142891(0x116))/0x2)+-parseInt(_0x142891(0x137))/0x3*(-parseInt(_0x142891(0x12f))/0x4)+-parseInt(_0x142891(0x125))/0x5*(parseInt(_0x142891(0x136))/0x6)+parseInt(_0x142891(0x12d))/0x7+-parseInt(_0x142891(0x129))/0x8+-parseInt(_0x142891(0x118))/0x9+parseInt(_0x142891(0x12e))/0xa*(parseInt(_0x142891(0x131))/0xb);if(_0x4ffbe6===_0x127c66)break;else _0x3f4098['push'](_0x3f4098['shift']());}catch(_0x3d641d){_0x3f4098['push'](_0x3f4098['shift']());}}}(_0x1fb8,0x6a260));function _0x1fb8(){const _0x1420a7=['FUniver','exportXLSXByUnitId','importXLSXToUnitId','importDOCXToSnapshot','UNIVER_DOC','exportXLSXBySnapshot','importDOCXToUnitId','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','@univerjs-pro/exchange-client','15rJzEsA','UNIVER_SHEET','importFileToUnitId','importXLSXToSnapshotAsync','2334120TcuESC','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','UNRECOGNIZED','1352260fvvAaZ','7374070TedcOm','1403548iOfgdx','extend','22aXdJab','importDOCXToUnitIdAsync','723cGiwqG','_injector','UNIVER_PROJECT','1225542XpayNS','3yoVeLh','importXLSXToUnitIdAsync','210uuhDcw','get','6799284JbClsL','IExchangeService','exportXLSXBySnapshotAsync'];_0x1fb8=function(){return _0x1420a7;};return _0x1fb8();}const r=require(_0x1d18a1(0x124)),i=require('@univerjs/core/facade');var o=(_0x336a7b=>(_0x336a7b[_0x336a7b[_0x1d18a1(0x122)]=0x0]=_0x1d18a1(0x122),_0x336a7b[_0x336a7b[_0x1d18a1(0x11f)]=0x1]='UNIVER_DOC',_0x336a7b[_0x336a7b[_0x1d18a1(0x126)]=0x2]=_0x1d18a1(0x126),_0x336a7b[_0x336a7b['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x336a7b[_0x336a7b[_0x1d18a1(0x135)]=0x4]=_0x1d18a1(0x135),_0x336a7b[_0x336a7b[_0x1d18a1(0x12c)]=-0x1]='UNRECOGNIZED',_0x336a7b))(o||{});class c extends i[_0x1d18a1(0x11b)]{async[_0x1d18a1(0x11d)](_0x29fc5d){return this['importXLSXToUnitIdAsync'](_0x29fc5d);}async[_0x1d18a1(0x115)](_0x7a9ddc){const _0x126038=_0x1d18a1,_0x3e9c0a=this[_0x126038(0x134)]['get'](r['IExchangeService']);if(!_0x3e9c0a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3e9c0a[_0x126038(0x127)](_0x7a9ddc,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x49ca41){return this['importXLSXToSnapshotAsync'](_0x49ca41);}async[_0x1d18a1(0x128)](_0x2187aa){const _0x4f252a=_0x1d18a1,_0x56073a=this[_0x4f252a(0x134)][_0x4f252a(0x117)](r[_0x4f252a(0x119)]);if(!_0x56073a)throw new Error(_0x4f252a(0x12a));return _0x56073a['importXLSXToSnapshot'](_0x2187aa);}async[_0x1d18a1(0x11c)](_0x3f57c9){const _0x4a2c93=_0x1d18a1;return this[_0x4a2c93(0x123)](_0x3f57c9);}async['exportXLSXByUnitIdAsync'](_0x53a086){const _0x3bd0cf=_0x1d18a1,_0x552506=this[_0x3bd0cf(0x134)][_0x3bd0cf(0x117)](r['IExchangeService']);if(!_0x552506)throw new Error(_0x3bd0cf(0x12a));return _0x552506[_0x3bd0cf(0x11c)](_0x53a086);}async[_0x1d18a1(0x120)](_0x2c4145){const _0x4f174c=_0x1d18a1;return this[_0x4f174c(0x11a)](_0x2c4145);}async['exportXLSXBySnapshotAsync'](_0x58343d){const _0x235a25=_0x1d18a1,_0x392ff2=this[_0x235a25(0x134)][_0x235a25(0x117)](r['IExchangeService']);if(!_0x392ff2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x392ff2[_0x235a25(0x120)](_0x58343d);}async[_0x1d18a1(0x121)](_0x6023f5){const _0x1e9bc8=_0x1d18a1;return this[_0x1e9bc8(0x132)](_0x6023f5);}async['importDOCXToUnitIdAsync'](_0x530b93){const _0x1564f2=_0x1d18a1,_0x14ff9b=this[_0x1564f2(0x134)][_0x1564f2(0x117)](r[_0x1564f2(0x119)]);if(!_0x14ff9b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x14ff9b[_0x1564f2(0x127)](_0x530b93,o[_0x1564f2(0x11f)]);}async[_0x1d18a1(0x11e)](_0x3504cf){return this['importDOCXToSnapshotAsync'](_0x3504cf);}async[_0x1d18a1(0x12b)](_0x1f3475){const _0x300430=_0x1d18a1,_0x31a639=this[_0x300430(0x134)][_0x300430(0x117)](r[_0x300430(0x119)]);if(!_0x31a639)throw new Error(_0x300430(0x12a));return _0x31a639[_0x300430(0x11e)](_0x1f3475);}}function _0x29ae(_0x860a6a,_0x189202){const _0x1fb8da=_0x1fb8();return _0x29ae=function(_0x29ae90,_0x3f67d0){_0x29ae90=_0x29ae90-0x115;let _0x3db8cd=_0x1fb8da[_0x29ae90];return _0x3db8cd;},_0x29ae(_0x860a6a,_0x189202);}i[_0x1d18a1(0x11b)][_0x1d18a1(0x130)](c);
1
+ 'use strict';const _0x3ad80f=_0x3aa1;(function(_0x29f5bc,_0x50ca1f){const _0x2057cf=_0x3aa1,_0x510993=_0x29f5bc();while(!![]){try{const _0x363eed=-parseInt(_0x2057cf(0x15d))/0x1+-parseInt(_0x2057cf(0x158))/0x2*(parseInt(_0x2057cf(0x152))/0x3)+-parseInt(_0x2057cf(0x150))/0x4*(-parseInt(_0x2057cf(0x147))/0x5)+parseInt(_0x2057cf(0x159))/0x6*(-parseInt(_0x2057cf(0x155))/0x7)+-parseInt(_0x2057cf(0x161))/0x8+parseInt(_0x2057cf(0x15b))/0x9*(parseInt(_0x2057cf(0x153))/0xa)+parseInt(_0x2057cf(0x143))/0xb;if(_0x363eed===_0x50ca1f)break;else _0x510993['push'](_0x510993['shift']());}catch(_0x46902f){_0x510993['push'](_0x510993['shift']());}}}(_0x3cfc,0x9214d));function _0x3aa1(_0x48a8aa,_0x4eb6a2){const _0x3cfc01=_0x3cfc();return _0x3aa1=function(_0x3aa15c,_0x5d2fe4){_0x3aa15c=_0x3aa15c-0x141;let _0x50d02a=_0x3cfc01[_0x3aa15c];return _0x50d02a;},_0x3aa1(_0x48a8aa,_0x4eb6a2);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ad80f(0x157));var o=(_0x127d50=>(_0x127d50[_0x127d50[_0x3ad80f(0x162)]=0x0]=_0x3ad80f(0x162),_0x127d50[_0x127d50[_0x3ad80f(0x14a)]=0x1]='UNIVER_DOC',_0x127d50[_0x127d50[_0x3ad80f(0x148)]=0x2]='UNIVER_SHEET',_0x127d50[_0x127d50[_0x3ad80f(0x144)]=0x3]=_0x3ad80f(0x144),_0x127d50[_0x127d50[_0x3ad80f(0x145)]=0x4]=_0x3ad80f(0x145),_0x127d50[_0x127d50[_0x3ad80f(0x141)]=-0x1]=_0x3ad80f(0x141),_0x127d50))(o||{});function _0x3cfc(){const _0x2eddfa=['IExchangeService','8319576kFhMlZ','UNIVER_UNKNOWN','get','importDOCXToUnitIdAsync','UNRECOGNIZED','exportXLSXByUnitId','38852803IVSXbJ','UNIVER_SLIDE','UNIVER_PROJECT','FUniver','10TjnNok','UNIVER_SHEET','exportXLSXBySnapshot','UNIVER_DOC','extend','importXLSXToSnapshot','importDOCXToUnitId','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','1408724gpXwpV','importXLSXToUnitIdAsync','3nJzhRn','910SgsPKn','_injector','6483127SIczRS','exportXLSXBySnapshotAsync','@univerjs/core/facade','2314156fHwGzZ','6PDAViL','importFileToUnitId','23589TNsSlf','The\x20exchange\x20service\x20is\x20not\x20available','753411HZHQZN','exportXLSXByUnitIdAsync','importDOCXToSnapshot'];_0x3cfc=function(){return _0x2eddfa;};return _0x3cfc();}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x106562){const _0x784504=_0x3ad80f;return this[_0x784504(0x151)](_0x106562);}async['importXLSXToUnitIdAsync'](_0x57adf0){const _0x491a76=_0x3ad80f,_0x120342=this[_0x491a76(0x154)][_0x491a76(0x163)](r['IExchangeService']);if(!_0x120342)throw new Error(_0x491a76(0x15c));return _0x120342[_0x491a76(0x15a)](_0x57adf0,o[_0x491a76(0x148)]);}async[_0x3ad80f(0x14c)](_0x41b696){const _0x303e2b=_0x3ad80f;return this[_0x303e2b(0x14f)](_0x41b696);}async['importXLSXToSnapshotAsync'](_0x3abcdf){const _0x51784b=_0x3ad80f,_0x16d186=this[_0x51784b(0x154)][_0x51784b(0x163)](r[_0x51784b(0x160)]);if(!_0x16d186)throw new Error(_0x51784b(0x15c));return _0x16d186['importXLSXToSnapshot'](_0x3abcdf);}async[_0x3ad80f(0x142)](_0x21a85e){const _0x2f07ba=_0x3ad80f;return this[_0x2f07ba(0x15e)](_0x21a85e);}async[_0x3ad80f(0x15e)](_0x243f0c){const _0x47ffc6=_0x3ad80f,_0x122568=this[_0x47ffc6(0x154)][_0x47ffc6(0x163)](r[_0x47ffc6(0x160)]);if(!_0x122568)throw new Error(_0x47ffc6(0x15c));return _0x122568['exportXLSXByUnitId'](_0x243f0c);}async[_0x3ad80f(0x149)](_0x36e67a){const _0x17b714=_0x3ad80f;return this[_0x17b714(0x156)](_0x36e67a);}async[_0x3ad80f(0x156)](_0x28d6af){const _0x40af72=_0x3ad80f,_0x1f0322=this[_0x40af72(0x154)]['get'](r['IExchangeService']);if(!_0x1f0322)throw new Error(_0x40af72(0x15c));return _0x1f0322['exportXLSXBySnapshot'](_0x28d6af);}async[_0x3ad80f(0x14d)](_0x306d7a){const _0x171980=_0x3ad80f;return this[_0x171980(0x164)](_0x306d7a);}async[_0x3ad80f(0x164)](_0x362be5){const _0x1e1621=_0x3ad80f,_0x37b6d3=this[_0x1e1621(0x154)][_0x1e1621(0x163)](r['IExchangeService']);if(!_0x37b6d3)throw new Error(_0x1e1621(0x15c));return _0x37b6d3[_0x1e1621(0x15a)](_0x362be5,o[_0x1e1621(0x14a)]);}async[_0x3ad80f(0x15f)](_0x3b80c8){const _0x1032e8=_0x3ad80f;return this[_0x1032e8(0x14e)](_0x3b80c8);}async[_0x3ad80f(0x14e)](_0x4a9c4d){const _0x39024=_0x3ad80f,_0x2e79a1=this[_0x39024(0x154)][_0x39024(0x163)](r[_0x39024(0x160)]);if(!_0x2e79a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2e79a1[_0x39024(0x15f)](_0x4a9c4d);}}i[_0x3ad80f(0x146)][_0x3ad80f(0x14b)](c);