@univerjs-pro/exchange-client 0.6.6-experimental.20250321-5cc1a0d → 0.6.6-experimental.20250326-149d5e1

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 _0x4f0809=_0x4694;(function(_0x4c3791,_0x2eb73b){const _0x3cdf90=_0x4694,_0x159d09=_0x4c3791();while(!![]){try{const _0x292e8b=-parseInt(_0x3cdf90(0x1d1))/0x1+-parseInt(_0x3cdf90(0x1c3))/0x2+-parseInt(_0x3cdf90(0x1dc))/0x3*(-parseInt(_0x3cdf90(0x1db))/0x4)+-parseInt(_0x3cdf90(0x1df))/0x5+parseInt(_0x3cdf90(0x1c4))/0x6*(parseInt(_0x3cdf90(0x1c2))/0x7)+parseInt(_0x3cdf90(0x1c7))/0x8+parseInt(_0x3cdf90(0x1de))/0x9;if(_0x292e8b===_0x2eb73b)break;else _0x159d09['push'](_0x159d09['shift']());}catch(_0x27567b){_0x159d09['push'](_0x159d09['shift']());}}}(_0x1f01,0xb3cd7));const r=require('@univerjs-pro/exchange-client'),i=require(_0x4f0809(0x1cc));var o=(_0xb6b741=>(_0xb6b741[_0xb6b741[_0x4f0809(0x1d2)]=0x0]=_0x4f0809(0x1d2),_0xb6b741[_0xb6b741[_0x4f0809(0x1c5)]=0x1]=_0x4f0809(0x1c5),_0xb6b741[_0xb6b741[_0x4f0809(0x1dd)]=0x2]=_0x4f0809(0x1dd),_0xb6b741[_0xb6b741['UNIVER_SLIDE']=0x3]=_0x4f0809(0x1cf),_0xb6b741[_0xb6b741[_0x4f0809(0x1d9)]=0x4]=_0x4f0809(0x1d9),_0xb6b741[_0xb6b741[_0x4f0809(0x1d8)]=-0x1]=_0x4f0809(0x1d8),_0xb6b741))(o||{});function _0x4694(_0xffe01f,_0x554c4f){const _0x1f011a=_0x1f01();return _0x4694=function(_0x469470,_0x47c535){_0x469470=_0x469470-0x1c0;let _0x17f48c=_0x1f011a[_0x469470];return _0x17f48c;},_0x4694(_0xffe01f,_0x554c4f);}class c extends i[_0x4f0809(0x1e0)]{async['importXLSXToUnitId'](_0xd81974){const _0x1bc9e7=_0x4f0809;return this[_0x1bc9e7(0x1ce)](_0xd81974);}async['importXLSXToUnitIdAsync'](_0x7cc2e3){const _0x5ef356=_0x4f0809,_0x341b25=this[_0x5ef356(0x1d5)][_0x5ef356(0x1c9)](r[_0x5ef356(0x1c8)]);if(!_0x341b25)throw new Error(_0x5ef356(0x1c1));return _0x341b25[_0x5ef356(0x1ca)](_0x7cc2e3,o[_0x5ef356(0x1dd)]);}async[_0x4f0809(0x1d0)](_0x4b6929){const _0x1d3c83=_0x4f0809;return this[_0x1d3c83(0x1c6)](_0x4b6929);}async[_0x4f0809(0x1c6)](_0x3c187a){const _0x5cfdc8=_0x4f0809,_0x447f6b=this[_0x5cfdc8(0x1d5)][_0x5cfdc8(0x1c9)](r[_0x5cfdc8(0x1c8)]);if(!_0x447f6b)throw new Error(_0x5cfdc8(0x1c1));return _0x447f6b[_0x5cfdc8(0x1d0)](_0x3c187a);}async[_0x4f0809(0x1da)](_0x518dde){return this['exportXLSXByUnitIdAsync'](_0x518dde);}async['exportXLSXByUnitIdAsync'](_0x1e6ca1){const _0x14b417=_0x4f0809,_0x359f18=this[_0x14b417(0x1d5)][_0x14b417(0x1c9)](r[_0x14b417(0x1c8)]);if(!_0x359f18)throw new Error(_0x14b417(0x1c1));return _0x359f18[_0x14b417(0x1da)](_0x1e6ca1);}async['exportXLSXBySnapshot'](_0x5dea3a){return this['exportXLSXBySnapshotAsync'](_0x5dea3a);}async[_0x4f0809(0x1c0)](_0x5a3510){const _0x574a0f=_0x4f0809,_0x31fef3=this['_injector'][_0x574a0f(0x1c9)](r[_0x574a0f(0x1c8)]);if(!_0x31fef3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x31fef3[_0x574a0f(0x1d4)](_0x5a3510);}async[_0x4f0809(0x1d7)](_0x284836){return this['importDOCXToUnitIdAsync'](_0x284836);}async[_0x4f0809(0x1cb)](_0x265ae9){const _0x4a1161=_0x4f0809,_0x1a6530=this[_0x4a1161(0x1d5)]['get'](r['IExchangeService']);if(!_0x1a6530)throw new Error(_0x4a1161(0x1c1));return _0x1a6530[_0x4a1161(0x1ca)](_0x265ae9,o[_0x4a1161(0x1c5)]);}async[_0x4f0809(0x1d6)](_0x53a1cb){const _0xe7dc2b=_0x4f0809;return this[_0xe7dc2b(0x1cd)](_0x53a1cb);}async[_0x4f0809(0x1cd)](_0x5a9a50){const _0xde8802=_0x4f0809,_0x594713=this[_0xde8802(0x1d5)]['get'](r[_0xde8802(0x1c8)]);if(!_0x594713)throw new Error(_0xde8802(0x1c1));return _0x594713[_0xde8802(0x1d6)](_0x5a9a50);}}function _0x1f01(){const _0x466505=['208yCWOlE','19185YFFmYO','UNIVER_SHEET','9978471afOyKt','395515QuZdqo','FUniver','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','42JTAYgR','1839706mIIVSm','404496DhGVGK','UNIVER_DOC','importXLSXToSnapshotAsync','7387504sofyxB','IExchangeService','get','importFileToUnitId','importDOCXToUnitIdAsync','@univerjs/core/facade','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_SLIDE','importXLSXToSnapshot','1033766OXxULs','UNIVER_UNKNOWN','extend','exportXLSXBySnapshot','_injector','importDOCXToSnapshot','importDOCXToUnitId','UNRECOGNIZED','UNIVER_PROJECT','exportXLSXByUnitId'];_0x1f01=function(){return _0x466505;};return _0x1f01();}i[_0x4f0809(0x1e0)][_0x4f0809(0x1d3)](c);