@univerjs-pro/exchange-client 0.7.0-nightly.202505061607 → 0.7.0-nightly.202505071607

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 _0x4061ba=_0x5211;function _0x11b7(){const _0x12e06b=['exportXLSXByUnitIdAsync','656148Nwysha','UNIVER_SLIDE','UNIVER_SHEET','FUniver','importXLSXToUnitIdAsync','exportXLSXBySnapshot','UNRECOGNIZED','importFileToUnitId','_injector','2jGiVEK','UNIVER_UNKNOWN','13492926nvvcLG','get','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','exportXLSXBySnapshotAsync','importXLSXToSnapshotAsync','411027GnmuiY','1368760PhnHfC','@univerjs-pro/exchange-client','IExchangeService','exportXLSXByUnitId','importXLSXToUnitId','@univerjs/core/facade','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','246878FMrKPX','UNIVER_DOC','UNIVER_PROJECT','importDOCXToSnapshot','6250768BcYLXa','7ALVLLG','1488810jEQtpO'];_0x11b7=function(){return _0x12e06b;};return _0x11b7();}(function(_0x162950,_0x59ba92){const _0x19a1cf=_0x5211,_0x3f7e38=_0x162950();while(!![]){try{const _0x331e58=-parseInt(_0x19a1cf(0xe8))/0x1*(parseInt(_0x19a1cf(0xd7))/0x2)+-parseInt(_0x19a1cf(0xdf))/0x3+parseInt(_0x19a1cf(0xf0))/0x4+-parseInt(_0x19a1cf(0xe0))/0x5+-parseInt(_0x19a1cf(0xee))/0x6*(-parseInt(_0x19a1cf(0xed))/0x7)+-parseInt(_0x19a1cf(0xec))/0x8+parseInt(_0x19a1cf(0xd9))/0x9;if(_0x331e58===_0x59ba92)break;else _0x3f7e38['push'](_0x3f7e38['shift']());}catch(_0x202360){_0x3f7e38['push'](_0x3f7e38['shift']());}}}(_0x11b7,0x73551));const r=require(_0x4061ba(0xe1)),i=require(_0x4061ba(0xe5));var o=(_0x3b79f6=>(_0x3b79f6[_0x3b79f6['UNIVER_UNKNOWN']=0x0]=_0x4061ba(0xd8),_0x3b79f6[_0x3b79f6[_0x4061ba(0xe9)]=0x1]=_0x4061ba(0xe9),_0x3b79f6[_0x3b79f6[_0x4061ba(0xf2)]=0x2]=_0x4061ba(0xf2),_0x3b79f6[_0x3b79f6['UNIVER_SLIDE']=0x3]=_0x4061ba(0xf1),_0x3b79f6[_0x3b79f6[_0x4061ba(0xea)]=0x4]=_0x4061ba(0xea),_0x3b79f6[_0x3b79f6['UNRECOGNIZED']=-0x1]=_0x4061ba(0xf6),_0x3b79f6))(o||{});function _0x5211(_0x35a309,_0x2d6b55){const _0x11b79a=_0x11b7();return _0x5211=function(_0x521131,_0xc49c44){_0x521131=_0x521131-0xd5;let _0x25379=_0x11b79a[_0x521131];return _0x25379;},_0x5211(_0x35a309,_0x2d6b55);}class c extends i['FUniver']{async[_0x4061ba(0xe4)](_0x51cd92){const _0x4103cb=_0x4061ba;return this[_0x4103cb(0xf4)](_0x51cd92);}async[_0x4061ba(0xf4)](_0x409540){const _0x3da440=_0x4061ba,_0x52ce49=this[_0x3da440(0xd6)][_0x3da440(0xda)](r[_0x3da440(0xe2)]);if(!_0x52ce49)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52ce49[_0x3da440(0xd5)](_0x409540,o[_0x3da440(0xf2)]);}async[_0x4061ba(0xdc)](_0x411c5f){return this['importXLSXToSnapshotAsync'](_0x411c5f);}async[_0x4061ba(0xde)](_0x1ec3c0){const _0x29b3ae=_0x4061ba,_0x5f001b=this['_injector'][_0x29b3ae(0xda)](r[_0x29b3ae(0xe2)]);if(!_0x5f001b)throw new Error(_0x29b3ae(0xdb));return _0x5f001b['importXLSXToSnapshot'](_0x1ec3c0);}async[_0x4061ba(0xe3)](_0x2c928f){const _0x482ec1=_0x4061ba;return this[_0x482ec1(0xef)](_0x2c928f);}async['exportXLSXByUnitIdAsync'](_0x350df8){const _0x3d7104=_0x4061ba,_0x5ada65=this[_0x3d7104(0xd6)][_0x3d7104(0xda)](r['IExchangeService']);if(!_0x5ada65)throw new Error(_0x3d7104(0xdb));return _0x5ada65['exportXLSXByUnitId'](_0x350df8);}async['exportXLSXBySnapshot'](_0xaa6fde){const _0x535e69=_0x4061ba;return this[_0x535e69(0xdd)](_0xaa6fde);}async['exportXLSXBySnapshotAsync'](_0x3ce562){const _0x419f89=_0x4061ba,_0x16138b=this[_0x419f89(0xd6)][_0x419f89(0xda)](r[_0x419f89(0xe2)]);if(!_0x16138b)throw new Error(_0x419f89(0xdb));return _0x16138b[_0x419f89(0xf5)](_0x3ce562);}async['importDOCXToUnitId'](_0x4fd063){const _0x3a287c=_0x4061ba;return this[_0x3a287c(0xe7)](_0x4fd063);}async[_0x4061ba(0xe7)](_0x1613fa){const _0x55b6ba=_0x4061ba,_0xfd6496=this[_0x55b6ba(0xd6)][_0x55b6ba(0xda)](r['IExchangeService']);if(!_0xfd6496)throw new Error(_0x55b6ba(0xdb));return _0xfd6496['importFileToUnitId'](_0x1613fa,o[_0x55b6ba(0xe9)]);}async[_0x4061ba(0xeb)](_0x590862){const _0x4c29c6=_0x4061ba;return this[_0x4c29c6(0xe6)](_0x590862);}async[_0x4061ba(0xe6)](_0x390870){const _0x378400=_0x4061ba,_0x1bb805=this[_0x378400(0xd6)][_0x378400(0xda)](r[_0x378400(0xe2)]);if(!_0x1bb805)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1bb805[_0x378400(0xeb)](_0x390870);}}i[_0x4061ba(0xf3)]['extend'](c);
1
+ 'use strict';function _0x1c5e(_0x5ca2bc,_0x35fbc9){const _0x23a305=_0x23a3();return _0x1c5e=function(_0x1c5e4c,_0x494271){_0x1c5e4c=_0x1c5e4c-0x14a;let _0x7e3347=_0x23a305[_0x1c5e4c];return _0x7e3347;},_0x1c5e(_0x5ca2bc,_0x35fbc9);}const _0x2244dc=_0x1c5e;(function(_0x2fdd60,_0x589657){const _0x225553=_0x1c5e,_0x11b446=_0x2fdd60();while(!![]){try{const _0x3e8eeb=-parseInt(_0x225553(0x156))/0x1+parseInt(_0x225553(0x165))/0x2*(-parseInt(_0x225553(0x151))/0x3)+-parseInt(_0x225553(0x16c))/0x4*(-parseInt(_0x225553(0x168))/0x5)+parseInt(_0x225553(0x150))/0x6*(parseInt(_0x225553(0x14f))/0x7)+parseInt(_0x225553(0x161))/0x8+-parseInt(_0x225553(0x15f))/0x9*(-parseInt(_0x225553(0x162))/0xa)+-parseInt(_0x225553(0x15d))/0xb;if(_0x3e8eeb===_0x589657)break;else _0x11b446['push'](_0x11b446['shift']());}catch(_0x474438){_0x11b446['push'](_0x11b446['shift']());}}}(_0x23a3,0x9ea8f));const r=require('@univerjs-pro/exchange-client'),i=require(_0x2244dc(0x159));var o=(_0x475f83=>(_0x475f83[_0x475f83['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x475f83[_0x475f83['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x475f83[_0x475f83[_0x2244dc(0x154)]=0x2]=_0x2244dc(0x154),_0x475f83[_0x475f83[_0x2244dc(0x14e)]=0x3]=_0x2244dc(0x14e),_0x475f83[_0x475f83[_0x2244dc(0x15a)]=0x4]='UNIVER_PROJECT',_0x475f83[_0x475f83[_0x2244dc(0x14d)]=-0x1]='UNRECOGNIZED',_0x475f83))(o||{});class c extends i[_0x2244dc(0x16b)]{async[_0x2244dc(0x153)](_0x22f469){const _0x469f6b=_0x2244dc;return this[_0x469f6b(0x155)](_0x22f469);}async['importXLSXToUnitIdAsync'](_0x35967f){const _0x196451=_0x2244dc,_0x3d3e24=this[_0x196451(0x152)]['get'](r[_0x196451(0x157)]);if(!_0x3d3e24)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d3e24[_0x196451(0x164)](_0x35967f,o['UNIVER_SHEET']);}async[_0x2244dc(0x14c)](_0x358ab2){return this['importXLSXToSnapshotAsync'](_0x358ab2);}async[_0x2244dc(0x167)](_0x32d216){const _0x2c0347=_0x2244dc,_0x21374b=this['_injector'][_0x2c0347(0x169)](r[_0x2c0347(0x157)]);if(!_0x21374b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x21374b[_0x2c0347(0x14c)](_0x32d216);}async['exportXLSXByUnitId'](_0x4ba9e7){const _0x4c51d3=_0x2244dc;return this[_0x4c51d3(0x158)](_0x4ba9e7);}async[_0x2244dc(0x158)](_0x3bb19b){const _0x599fb7=_0x2244dc,_0x1ad2cd=this[_0x599fb7(0x152)][_0x599fb7(0x169)](r['IExchangeService']);if(!_0x1ad2cd)throw new Error(_0x599fb7(0x166));return _0x1ad2cd[_0x599fb7(0x15b)](_0x3bb19b);}async[_0x2244dc(0x14a)](_0x34080d){return this['exportXLSXBySnapshotAsync'](_0x34080d);}async[_0x2244dc(0x15e)](_0x29db23){const _0x2a2b50=_0x2244dc,_0x485b15=this[_0x2a2b50(0x152)][_0x2a2b50(0x169)](r[_0x2a2b50(0x157)]);if(!_0x485b15)throw new Error(_0x2a2b50(0x166));return _0x485b15[_0x2a2b50(0x14a)](_0x29db23);}async[_0x2244dc(0x16a)](_0x107b07){return this['importDOCXToUnitIdAsync'](_0x107b07);}async['importDOCXToUnitIdAsync'](_0x3ab323){const _0x4ab397=_0x2244dc,_0x47de75=this[_0x4ab397(0x152)][_0x4ab397(0x169)](r[_0x4ab397(0x157)]);if(!_0x47de75)throw new Error(_0x4ab397(0x166));return _0x47de75[_0x4ab397(0x164)](_0x3ab323,o[_0x4ab397(0x14b)]);}async[_0x2244dc(0x15c)](_0x5b57e1){const _0x2bfa0a=_0x2244dc;return this[_0x2bfa0a(0x160)](_0x5b57e1);}async['importDOCXToSnapshotAsync'](_0x3c7feb){const _0xcd9007=_0x2244dc,_0x9a94a4=this['_injector'][_0xcd9007(0x169)](r[_0xcd9007(0x157)]);if(!_0x9a94a4)throw new Error(_0xcd9007(0x166));return _0x9a94a4['importDOCXToSnapshot'](_0x3c7feb);}}i[_0x2244dc(0x16b)][_0x2244dc(0x163)](c);function _0x23a3(){const _0xb620c2=['5358104zElkcw','1470yyfiKI','extend','importFileToUnitId','3388RgXbqd','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','3916930ihWtpN','get','importDOCXToUnitId','FUniver','4mZpvxP','exportXLSXBySnapshot','UNIVER_DOC','importXLSXToSnapshot','UNRECOGNIZED','UNIVER_SLIDE','7BQLkbh','6705996wzWPjB','543QoQrAH','_injector','importXLSXToUnitId','UNIVER_SHEET','importXLSXToUnitIdAsync','204441yEzFIO','IExchangeService','exportXLSXByUnitIdAsync','@univerjs/core/facade','UNIVER_PROJECT','exportXLSXByUnitId','importDOCXToSnapshot','16322130Djeytq','exportXLSXBySnapshotAsync','4527hEEGsh','importDOCXToSnapshotAsync'];_0x23a3=function(){return _0xb620c2;};return _0x23a3();}