@univerjs-pro/exchange-client 0.6.7-experimental.20250401-0c0dad8 → 0.6.7-experimental.20250401-3d35205

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 _0x5c0a(_0x9226c6,_0x3a1ba3){const _0xe9ad22=_0xe9ad();return _0x5c0a=function(_0x5c0a65,_0x563ba7){_0x5c0a65=_0x5c0a65-0x98;let _0x416142=_0xe9ad22[_0x5c0a65];return _0x416142;},_0x5c0a(_0x9226c6,_0x3a1ba3);}const _0x500ac3=_0x5c0a;function _0xe9ad(){const _0xab71a5=['IExchangeService','179534qEJOsk','exportXLSXBySnapshotAsync','importXLSXToUnitId','exportXLSXBySnapshot','importXLSXToSnapshot','2807124yfDaTI','UNIVER_SLIDE','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','get','exportXLSXByUnitId','8220hunqDc','UNIVER_DOC','28KbVWgS','129838fUgFxl','UNIVER_SHEET','@univerjs/core/facade','importDOCXToSnapshot','FUniver','1000kyLmYl','_injector','5YERkFD','UNIVER_UNKNOWN','5706432hlIcNH','UNIVER_PROJECT','242992zAxWXP','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','9WHJkwb','importXLSXToSnapshotAsync','112409PZSzcO'];_0xe9ad=function(){return _0xab71a5;};return _0xe9ad();}(function(_0xde0a50,_0x468324){const _0x2d8a74=_0x5c0a,_0x5a425e=_0xde0a50();while(!![]){try{const _0x5c92eb=-parseInt(_0x2d8a74(0xa8))/0x1+-parseInt(_0x2d8a74(0x9a))/0x2*(parseInt(_0x2d8a74(0xb6))/0x3)+parseInt(_0x2d8a74(0xa5))/0x4+-parseInt(_0x2d8a74(0xaf))/0x5*(-parseInt(_0x2d8a74(0x9f))/0x6)+parseInt(_0x2d8a74(0xa7))/0x7*(-parseInt(_0x2d8a74(0xb3))/0x8)+-parseInt(_0x2d8a74(0xb1))/0x9+parseInt(_0x2d8a74(0xad))/0xa*(parseInt(_0x2d8a74(0x98))/0xb);if(_0x5c92eb===_0x468324)break;else _0x5a425e['push'](_0x5a425e['shift']());}catch(_0x39f91d){_0x5a425e['push'](_0x5a425e['shift']());}}}(_0xe9ad,0x524e6));const r=require('@univerjs-pro/exchange-client'),i=require(_0x500ac3(0xaa));var o=(_0x29d8bb=>(_0x29d8bb[_0x29d8bb[_0x500ac3(0xb0)]=0x0]='UNIVER_UNKNOWN',_0x29d8bb[_0x29d8bb['UNIVER_DOC']=0x1]=_0x500ac3(0xa6),_0x29d8bb[_0x29d8bb[_0x500ac3(0xa9)]=0x2]=_0x500ac3(0xa9),_0x29d8bb[_0x29d8bb['UNIVER_SLIDE']=0x3]=_0x500ac3(0xa0),_0x29d8bb[_0x29d8bb[_0x500ac3(0xb2)]=0x4]=_0x500ac3(0xb2),_0x29d8bb[_0x29d8bb['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x29d8bb))(o||{});class c extends i[_0x500ac3(0xac)]{async[_0x500ac3(0x9c)](_0x3f3741){const _0x3b076c=_0x500ac3;return this[_0x3b076c(0xb5)](_0x3f3741);}async[_0x500ac3(0xb5)](_0x4bc02e){const _0x5134bf=_0x500ac3,_0x48f487=this[_0x5134bf(0xae)]['get'](r[_0x5134bf(0x99)]);if(!_0x48f487)throw new Error(_0x5134bf(0xa2));return _0x48f487[_0x5134bf(0xa1)](_0x4bc02e,o[_0x5134bf(0xa9)]);}async['importXLSXToSnapshot'](_0x1cd863){const _0x2012d7=_0x500ac3;return this[_0x2012d7(0xb7)](_0x1cd863);}async['importXLSXToSnapshotAsync'](_0x2ae32e){const _0x49517a=_0x500ac3,_0x50f030=this['_injector'][_0x49517a(0xa3)](r[_0x49517a(0x99)]);if(!_0x50f030)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x50f030[_0x49517a(0x9e)](_0x2ae32e);}async['exportXLSXByUnitId'](_0x31015b){return this['exportXLSXByUnitIdAsync'](_0x31015b);}async['exportXLSXByUnitIdAsync'](_0x293e46){const _0x282061=_0x500ac3,_0x587482=this[_0x282061(0xae)][_0x282061(0xa3)](r[_0x282061(0x99)]);if(!_0x587482)throw new Error(_0x282061(0xa2));return _0x587482[_0x282061(0xa4)](_0x293e46);}async[_0x500ac3(0x9d)](_0x20712c){const _0x1322ac=_0x500ac3;return this[_0x1322ac(0x9b)](_0x20712c);}async[_0x500ac3(0x9b)](_0x2edf87){const _0x5d3ef6=_0x500ac3,_0x568880=this[_0x5d3ef6(0xae)][_0x5d3ef6(0xa3)](r[_0x5d3ef6(0x99)]);if(!_0x568880)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x568880['exportXLSXBySnapshot'](_0x2edf87);}async['importDOCXToUnitId'](_0x4081cc){return this['importDOCXToUnitIdAsync'](_0x4081cc);}async['importDOCXToUnitIdAsync'](_0x2011cb){const _0x319aef=_0x500ac3,_0x2abab9=this[_0x319aef(0xae)][_0x319aef(0xa3)](r[_0x319aef(0x99)]);if(!_0x2abab9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2abab9[_0x319aef(0xa1)](_0x2011cb,o[_0x319aef(0xa6)]);}async['importDOCXToSnapshot'](_0x1fea48){const _0x48e6d=_0x500ac3;return this[_0x48e6d(0xb4)](_0x1fea48);}async[_0x500ac3(0xb4)](_0xf69f70){const _0x13fe4c=_0x500ac3,_0x425efc=this[_0x13fe4c(0xae)][_0x13fe4c(0xa3)](r[_0x13fe4c(0x99)]);if(!_0x425efc)throw new Error(_0x13fe4c(0xa2));return _0x425efc[_0x13fe4c(0xab)](_0xf69f70);}}i['FUniver']['extend'](c);
1
+ 'use strict';function _0x1a39(){const _0x28c40e=['The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','@univerjs-pro/exchange-client','FUniver','UNIVER_PROJECT','33723iQeySy','UNRECOGNIZED','133rBgAmG','248270lfOxbY','importXLSXToSnapshot','exportXLSXByUnitId','importFileToUnitId','importXLSXToUnitIdAsync','897276TRrbDi','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','importDOCXToUnitId','UNIVER_SLIDE','extend','220893WTqGys','35736fYUccD','importDOCXToSnapshot','@univerjs/core/facade','importDOCXToSnapshotAsync','1402635aPFEqT','UNIVER_UNKNOWN','IExchangeService','exportXLSXByUnitIdAsync','_injector','UNIVER_SHEET','importXLSXToUnitId','UNIVER_DOC','exportXLSXBySnapshot','get','275112YtyKSB'];_0x1a39=function(){return _0x28c40e;};return _0x1a39();}const _0x51c89a=_0x2062;(function(_0x33d9f0,_0x1cca56){const _0x529447=_0x2062,_0x58b28a=_0x33d9f0();while(!![]){try{const _0x28008=parseInt(_0x529447(0x1aa))/0x1+parseInt(_0x529447(0x1ad))/0x2+-parseInt(_0x529447(0x1b8))/0x3+parseInt(_0x529447(0x1b2))/0x4+-parseInt(_0x529447(0x1bd))/0x5+-parseInt(_0x529447(0x1b9))/0x6*(-parseInt(_0x529447(0x1ac))/0x7)+parseInt(_0x529447(0x1c7))/0x8;if(_0x28008===_0x1cca56)break;else _0x58b28a['push'](_0x58b28a['shift']());}catch(_0x4fb61b){_0x58b28a['push'](_0x58b28a['shift']());}}}(_0x1a39,0x2add4));function _0x2062(_0x4dfd5e,_0x4cfd57){const _0x1a397c=_0x1a39();return _0x2062=function(_0x2062f9,_0x666ef4){_0x2062f9=_0x2062f9-0x1a9;let _0x27c22=_0x1a397c[_0x2062f9];return _0x27c22;},_0x2062(_0x4dfd5e,_0x4cfd57);}const r=require(_0x51c89a(0x1ca)),i=require(_0x51c89a(0x1bb));var o=(_0x514dd7=>(_0x514dd7[_0x514dd7[_0x51c89a(0x1be)]=0x0]=_0x51c89a(0x1be),_0x514dd7[_0x514dd7['UNIVER_DOC']=0x1]=_0x51c89a(0x1c4),_0x514dd7[_0x514dd7[_0x51c89a(0x1c2)]=0x2]=_0x51c89a(0x1c2),_0x514dd7[_0x514dd7[_0x51c89a(0x1b6)]=0x3]=_0x51c89a(0x1b6),_0x514dd7[_0x514dd7[_0x51c89a(0x1a9)]=0x4]=_0x51c89a(0x1a9),_0x514dd7[_0x514dd7[_0x51c89a(0x1ab)]=-0x1]=_0x51c89a(0x1ab),_0x514dd7))(o||{});class c extends i['FUniver']{async[_0x51c89a(0x1c3)](_0x4facb4){return this['importXLSXToUnitIdAsync'](_0x4facb4);}async[_0x51c89a(0x1b1)](_0x21b82f){const _0x167b7b=_0x51c89a,_0x1663bb=this[_0x167b7b(0x1c1)][_0x167b7b(0x1c6)](r['IExchangeService']);if(!_0x1663bb)throw new Error(_0x167b7b(0x1c8));return _0x1663bb['importFileToUnitId'](_0x21b82f,o['UNIVER_SHEET']);}async[_0x51c89a(0x1ae)](_0x14bad5){const _0x159e9f=_0x51c89a;return this[_0x159e9f(0x1c9)](_0x14bad5);}async[_0x51c89a(0x1c9)](_0x14d947){const _0x58e686=_0x51c89a,_0x5add4c=this['_injector'][_0x58e686(0x1c6)](r[_0x58e686(0x1bf)]);if(!_0x5add4c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5add4c[_0x58e686(0x1ae)](_0x14d947);}async[_0x51c89a(0x1af)](_0x5491cd){const _0x32880f=_0x51c89a;return this[_0x32880f(0x1c0)](_0x5491cd);}async[_0x51c89a(0x1c0)](_0x591420){const _0x50566f=_0x51c89a,_0x117d3f=this[_0x50566f(0x1c1)][_0x50566f(0x1c6)](r['IExchangeService']);if(!_0x117d3f)throw new Error(_0x50566f(0x1c8));return _0x117d3f[_0x50566f(0x1af)](_0x591420);}async['exportXLSXBySnapshot'](_0x3e5c80){const _0x424d47=_0x51c89a;return this[_0x424d47(0x1b4)](_0x3e5c80);}async['exportXLSXBySnapshotAsync'](_0x478e26){const _0x35bb1a=_0x51c89a,_0x58eac2=this[_0x35bb1a(0x1c1)][_0x35bb1a(0x1c6)](r[_0x35bb1a(0x1bf)]);if(!_0x58eac2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x58eac2[_0x35bb1a(0x1c5)](_0x478e26);}async[_0x51c89a(0x1b5)](_0x13013f){const _0x488c83=_0x51c89a;return this[_0x488c83(0x1b3)](_0x13013f);}async[_0x51c89a(0x1b3)](_0x4204df){const _0x3e7c38=_0x51c89a,_0x2ade55=this[_0x3e7c38(0x1c1)][_0x3e7c38(0x1c6)](r[_0x3e7c38(0x1bf)]);if(!_0x2ade55)throw new Error(_0x3e7c38(0x1c8));return _0x2ade55[_0x3e7c38(0x1b0)](_0x4204df,o[_0x3e7c38(0x1c4)]);}async['importDOCXToSnapshot'](_0x36282e){const _0x225d0e=_0x51c89a;return this[_0x225d0e(0x1bc)](_0x36282e);}async[_0x51c89a(0x1bc)](_0x87a9e3){const _0x58e43f=_0x51c89a,_0x38b34b=this[_0x58e43f(0x1c1)][_0x58e43f(0x1c6)](r['IExchangeService']);if(!_0x38b34b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x38b34b[_0x58e43f(0x1ba)](_0x87a9e3);}}i[_0x51c89a(0x1cb)][_0x51c89a(0x1b7)](c);