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

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 _0x28e79d=_0x3cd8;function _0x2b25(){const _0x2b60f9=['1670yJznVp','exportXLSXBySnapshotAsync','185192nRwIEt','18730QpXlZJ','importXLSXToSnapshot','exportXLSXBySnapshot','UNIVER_SLIDE','7866yLvGwW','extend','importDOCXToSnapshot','247219wbJwOt','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','26881OEkzOo','732714LRXeLh','get','IExchangeService','4LXyZas','importXLSXToUnitIdAsync','FUniver','UNRECOGNIZED','importXLSXToUnitId','382638paIbvN','UNIVER_UNKNOWN','_injector','importXLSXToSnapshotAsync','importDOCXToSnapshotAsync','UNIVER_PROJECT','UNIVER_DOC','importDOCXToUnitId','UNIVER_SHEET','102vrckzp','@univerjs-pro/exchange-client','exportXLSXByUnitId'];_0x2b25=function(){return _0x2b60f9;};return _0x2b25();}(function(_0x3c8b03,_0x3c4659){const _0x570330=_0x3cd8,_0x56ab06=_0x3c8b03();while(!![]){try{const _0x35e0d8=parseInt(_0x570330(0x211))/0x1+parseInt(_0x570330(0x1f8))/0x2+parseInt(_0x570330(0x212))/0x3*(-parseInt(_0x570330(0x1f3))/0x4)+parseInt(_0x570330(0x207))/0x5*(parseInt(_0x570330(0x201))/0x6)+-parseInt(_0x570330(0x20e))/0x7+-parseInt(_0x570330(0x206))/0x8+-parseInt(_0x570330(0x20b))/0x9*(-parseInt(_0x570330(0x204))/0xa);if(_0x35e0d8===_0x3c4659)break;else _0x56ab06['push'](_0x56ab06['shift']());}catch(_0x331b31){_0x56ab06['push'](_0x56ab06['shift']());}}}(_0x2b25,0x1e8d0));function _0x3cd8(_0x362387,_0x107a72){const _0x2b256a=_0x2b25();return _0x3cd8=function(_0x3cd891,_0x42a8b3){_0x3cd891=_0x3cd891-0x1f3;let _0x1b8d55=_0x2b256a[_0x3cd891];return _0x1b8d55;},_0x3cd8(_0x362387,_0x107a72);}const r=require(_0x28e79d(0x202)),i=require('@univerjs/core/facade');var o=(_0x3019e5=>(_0x3019e5[_0x3019e5['UNIVER_UNKNOWN']=0x0]=_0x28e79d(0x1f9),_0x3019e5[_0x3019e5['UNIVER_DOC']=0x1]=_0x28e79d(0x1fe),_0x3019e5[_0x3019e5[_0x28e79d(0x200)]=0x2]='UNIVER_SHEET',_0x3019e5[_0x3019e5[_0x28e79d(0x20a)]=0x3]=_0x28e79d(0x20a),_0x3019e5[_0x3019e5[_0x28e79d(0x1fd)]=0x4]=_0x28e79d(0x1fd),_0x3019e5[_0x3019e5['UNRECOGNIZED']=-0x1]=_0x28e79d(0x1f6),_0x3019e5))(o||{});class c extends i[_0x28e79d(0x1f5)]{async[_0x28e79d(0x1f7)](_0x2faaea){const _0x373353=_0x28e79d;return this[_0x373353(0x1f4)](_0x2faaea);}async['importXLSXToUnitIdAsync'](_0x55a203){const _0x301f00=_0x28e79d,_0x44b6fd=this[_0x301f00(0x1fa)]['get'](r[_0x301f00(0x214)]);if(!_0x44b6fd)throw new Error(_0x301f00(0x210));return _0x44b6fd['importFileToUnitId'](_0x55a203,o[_0x301f00(0x200)]);}async[_0x28e79d(0x208)](_0x3bd5de){const _0x6cc1c1=_0x28e79d;return this[_0x6cc1c1(0x1fb)](_0x3bd5de);}async[_0x28e79d(0x1fb)](_0x3daf6e){const _0x1844de=_0x28e79d,_0x4d8fa2=this[_0x1844de(0x1fa)][_0x1844de(0x213)](r[_0x1844de(0x214)]);if(!_0x4d8fa2)throw new Error(_0x1844de(0x210));return _0x4d8fa2[_0x1844de(0x208)](_0x3daf6e);}async[_0x28e79d(0x203)](_0x4c6c28){const _0x1bd949=_0x28e79d;return this[_0x1bd949(0x20f)](_0x4c6c28);}async[_0x28e79d(0x20f)](_0x2a78ab){const _0x301775=_0x28e79d,_0x11e80a=this[_0x301775(0x1fa)][_0x301775(0x213)](r[_0x301775(0x214)]);if(!_0x11e80a)throw new Error(_0x301775(0x210));return _0x11e80a[_0x301775(0x203)](_0x2a78ab);}async[_0x28e79d(0x209)](_0x27c322){const _0x2bea69=_0x28e79d;return this[_0x2bea69(0x205)](_0x27c322);}async['exportXLSXBySnapshotAsync'](_0x113fc5){const _0x231bc5=_0x28e79d,_0x2709b9=this[_0x231bc5(0x1fa)][_0x231bc5(0x213)](r[_0x231bc5(0x214)]);if(!_0x2709b9)throw new Error(_0x231bc5(0x210));return _0x2709b9[_0x231bc5(0x209)](_0x113fc5);}async[_0x28e79d(0x1ff)](_0x10296a){return this['importDOCXToUnitIdAsync'](_0x10296a);}async['importDOCXToUnitIdAsync'](_0x18ef93){const _0x28ed40=_0x28e79d,_0x38f712=this['_injector'][_0x28ed40(0x213)](r['IExchangeService']);if(!_0x38f712)throw new Error(_0x28ed40(0x210));return _0x38f712['importFileToUnitId'](_0x18ef93,o[_0x28ed40(0x1fe)]);}async[_0x28e79d(0x20d)](_0x1b0845){const _0x4324ba=_0x28e79d;return this[_0x4324ba(0x1fc)](_0x1b0845);}async[_0x28e79d(0x1fc)](_0x67963a){const _0x468518=_0x28e79d,_0x4a9109=this[_0x468518(0x1fa)]['get'](r[_0x468518(0x214)]);if(!_0x4a9109)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4a9109[_0x468518(0x20d)](_0x67963a);}}i[_0x28e79d(0x1f5)][_0x28e79d(0x20c)](c);
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);