@univerjs-pro/exchange-client 0.8.0-nightly.202506051607 → 0.8.0

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 _0x38fee1=_0x1004;function _0x1004(_0x102c75,_0xd0b0b5){const _0x492c9a=_0x492c();return _0x1004=function(_0x10047f,_0xec1714){_0x10047f=_0x10047f-0xdf;let _0x4d30d7=_0x492c9a[_0x10047f];return _0x4d30d7;},_0x1004(_0x102c75,_0xd0b0b5);}(function(_0x226c0f,_0x44cc16){const _0x107e65=_0x1004,_0x3d4667=_0x226c0f();while(!![]){try{const _0x4e015e=parseInt(_0x107e65(0xf7))/0x1*(parseInt(_0x107e65(0x100))/0x2)+-parseInt(_0x107e65(0x101))/0x3+parseInt(_0x107e65(0xe0))/0x4*(-parseInt(_0x107e65(0xfa))/0x5)+-parseInt(_0x107e65(0xfc))/0x6*(-parseInt(_0x107e65(0xe7))/0x7)+-parseInt(_0x107e65(0xea))/0x8*(-parseInt(_0x107e65(0xee))/0x9)+-parseInt(_0x107e65(0xe6))/0xa*(parseInt(_0x107e65(0xfe))/0xb)+parseInt(_0x107e65(0xff))/0xc*(parseInt(_0x107e65(0xf2))/0xd);if(_0x4e015e===_0x44cc16)break;else _0x3d4667['push'](_0x3d4667['shift']());}catch(_0x6a441){_0x3d4667['push'](_0x3d4667['shift']());}}}(_0x492c,0xf39b8));const r=require(_0x38fee1(0xdf)),o=require('@univerjs/core/facade');function _0x492c(){const _0x5787cf=['The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SLIDE','174112dXVEzG','exportDOCXBySnapshot','importXLSXToUnitIdAsync','importDOCXToSnapshot','279cKEBHA','FUniver','importFileToUnitId','importDOCXToUnitIdAsync','14542853gJjVsG','exportDOCXBySnapshotAsync','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToUnitId','41kfVwXm','IExchangeService','importXLSXToSnapshot','3375460xEiEFv','importDOCXToSnapshotAsync','173916enlbdW','extend','143hAPDeX','24ZmlCqD','26218iBRlFQ','4078842UPyFop','exportXLSXBySnapshot','UNIVER_PROJECT','exportXLSXBySnapshotAsync','_injector','UNIVER_UNKNOWN','UNIVER_DOC','@univerjs-pro/exchange-client','4kYrwxK','get','UNIVER_SHEET','exportDOCXByUnitIdAsync','UNRECOGNIZED','exportXLSXByUnitId','855890OKkvlp','168hbVnwf'];_0x492c=function(){return _0x5787cf;};return _0x492c();}var i=(_0x5c40a2=>(_0x5c40a2[_0x5c40a2[_0x38fee1(0x106)]=0x0]='UNIVER_UNKNOWN',_0x5c40a2[_0x5c40a2[_0x38fee1(0x107)]=0x1]=_0x38fee1(0x107),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe2)]=0x2]=_0x38fee1(0xe2),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe9)]=0x3]=_0x38fee1(0xe9),_0x5c40a2[_0x5c40a2[_0x38fee1(0x103)]=0x4]=_0x38fee1(0x103),_0x5c40a2[_0x5c40a2[_0x38fee1(0xe4)]=-0x1]='UNRECOGNIZED',_0x5c40a2))(i||{});class c extends o[_0x38fee1(0xef)]{async['importXLSXToUnitId'](_0x223d2f){const _0x23e30e=_0x38fee1;return this[_0x23e30e(0xec)](_0x223d2f);}async[_0x38fee1(0xec)](_0x453511){const _0x59d4d3=_0x38fee1,_0x2442b1=this[_0x59d4d3(0x105)]['get'](r[_0x59d4d3(0xf8)]);if(!_0x2442b1)throw new Error(_0x59d4d3(0xe8));return _0x2442b1[_0x59d4d3(0xf0)](_0x453511,i[_0x59d4d3(0xe2)]);}async['importXLSXToSnapshot'](_0xd9ca90){const _0x26f38c=_0x38fee1;return this[_0x26f38c(0xf5)](_0xd9ca90);}async[_0x38fee1(0xf5)](_0x5d75d0){const _0x3e119f=_0x38fee1,_0x1a5458=this[_0x3e119f(0x105)]['get'](r[_0x3e119f(0xf8)]);if(!_0x1a5458)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1a5458[_0x3e119f(0xf9)](_0x5d75d0);}async[_0x38fee1(0xe5)](_0x303f49){const _0x13f5b7=_0x38fee1;return this[_0x13f5b7(0xf4)](_0x303f49);}async[_0x38fee1(0xf4)](_0x5e2c25){const _0x108004=_0x38fee1,_0x18b5a1=this['_injector'][_0x108004(0xe1)](r[_0x108004(0xf8)]);if(!_0x18b5a1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x18b5a1['exportXLSXByUnitId'](_0x5e2c25);}async[_0x38fee1(0x102)](_0x42a59e){const _0x613df0=_0x38fee1;return this[_0x613df0(0x104)](_0x42a59e);}async[_0x38fee1(0x104)](_0x1eac40){const _0x380233=_0x38fee1,_0x59fc19=this[_0x380233(0x105)][_0x380233(0xe1)](r[_0x380233(0xf8)]);if(!_0x59fc19)throw new Error(_0x380233(0xe8));return _0x59fc19['exportXLSXBySnapshot'](_0x1eac40);}async[_0x38fee1(0xf6)](_0x31df73){const _0x527808=_0x38fee1;return this[_0x527808(0xf1)](_0x31df73);}async[_0x38fee1(0xf1)](_0x59f806){const _0x466e6a=_0x38fee1,_0x313f23=this['_injector'][_0x466e6a(0xe1)](r[_0x466e6a(0xf8)]);if(!_0x313f23)throw new Error(_0x466e6a(0xe8));return _0x313f23[_0x466e6a(0xf0)](_0x59f806,i['UNIVER_DOC']);}async[_0x38fee1(0xed)](_0x563998){const _0x34f4e8=_0x38fee1;return this[_0x34f4e8(0xfb)](_0x563998);}async[_0x38fee1(0xfb)](_0xe7c814){const _0x5bd4b3=_0x38fee1,_0x5b8d79=this[_0x5bd4b3(0x105)][_0x5bd4b3(0xe1)](r[_0x5bd4b3(0xf8)]);if(!_0x5b8d79)throw new Error(_0x5bd4b3(0xe8));return _0x5b8d79['importDOCXToSnapshot'](_0xe7c814);}async[_0x38fee1(0xf3)](_0x4a3cab){const _0x1a368c=_0x38fee1,_0x5d0153=this[_0x1a368c(0x105)]['get'](r[_0x1a368c(0xf8)]);if(!_0x5d0153)throw new Error(_0x1a368c(0xe8));return _0x5d0153[_0x1a368c(0xeb)](_0x4a3cab);}async[_0x38fee1(0xe3)](_0x2178a7){const _0x34fb32=_0x38fee1,_0x4210a4=this[_0x34fb32(0x105)][_0x34fb32(0xe1)](r[_0x34fb32(0xf8)]);if(!_0x4210a4)throw new Error(_0x34fb32(0xe8));return _0x4210a4['exportDOCXByUnitId'](_0x2178a7);}}o[_0x38fee1(0xef)][_0x38fee1(0xfd)](c);
1
+ 'use strict';const _0x1709a9=_0x1cc2;(function(_0x468b5f,_0x1eee2e){const _0x374d43=_0x1cc2,_0x106426=_0x468b5f();while(!![]){try{const _0x1299b5=-parseInt(_0x374d43(0xd5))/0x1*(-parseInt(_0x374d43(0xf0))/0x2)+-parseInt(_0x374d43(0xe8))/0x3+parseInt(_0x374d43(0xcf))/0x4*(parseInt(_0x374d43(0xe9))/0x5)+parseInt(_0x374d43(0xd2))/0x6*(parseInt(_0x374d43(0xd3))/0x7)+parseInt(_0x374d43(0xe0))/0x8*(-parseInt(_0x374d43(0xe3))/0x9)+-parseInt(_0x374d43(0xd4))/0xa*(-parseInt(_0x374d43(0xd7))/0xb)+-parseInt(_0x374d43(0xed))/0xc;if(_0x1299b5===_0x1eee2e)break;else _0x106426['push'](_0x106426['shift']());}catch(_0x228ba2){_0x106426['push'](_0x106426['shift']());}}}(_0x47e4,0xd313c));function _0x1cc2(_0x586c8f,_0x1ea88b){const _0x47e409=_0x47e4();return _0x1cc2=function(_0x1cc2ba,_0x166a1c){_0x1cc2ba=_0x1cc2ba-0xcd;let _0x4b9b87=_0x47e409[_0x1cc2ba];return _0x4b9b87;},_0x1cc2(_0x586c8f,_0x1ea88b);}function _0x47e4(){const _0x142379=['3027454uqRKby','The\x20exchange\x20service\x20is\x20not\x20available','extend','UNIVER_SLIDE','exportDOCXByUnitId','UNRECOGNIZED','importDOCXToUnitIdAsync','2415932vPQtSH','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','6037686DbsojS','7OGVUKz','650bFgKkn','1ybBhXp','exportDOCXByUnitIdAsync','141823cmPJCA','importDOCXToSnapshot','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','get','FUniver','_injector','importDOCXToUnitId','importXLSXToUnitId','109864eSTLYp','UNIVER_SHEET','exportXLSXByUnitId','909FEyFfv','UNIVER_UNKNOWN','UNIVER_DOC','IExchangeService','UNIVER_PROJECT','2730924PUVrfx','5Dmermo','importFileToUnitId','exportXLSXBySnapshotAsync','importXLSXToSnapshot','9601476AeOBEG','@univerjs/core/facade','exportDOCXBySnapshot'];_0x47e4=function(){return _0x142379;};return _0x47e4();}const r=require('@univerjs-pro/exchange-client'),o=require(_0x1709a9(0xee));var i=(_0x3e92f3=>(_0x3e92f3[_0x3e92f3['UNIVER_UNKNOWN']=0x0]=_0x1709a9(0xe4),_0x3e92f3[_0x3e92f3[_0x1709a9(0xe5)]=0x1]='UNIVER_DOC',_0x3e92f3[_0x3e92f3[_0x1709a9(0xe1)]=0x2]='UNIVER_SHEET',_0x3e92f3[_0x3e92f3[_0x1709a9(0xf3)]=0x3]=_0x1709a9(0xf3),_0x3e92f3[_0x3e92f3['UNIVER_PROJECT']=0x4]=_0x1709a9(0xe7),_0x3e92f3[_0x3e92f3['UNRECOGNIZED']=-0x1]=_0x1709a9(0xcd),_0x3e92f3))(i||{});class c extends o[_0x1709a9(0xdc)]{async[_0x1709a9(0xdf)](_0x48b238){const _0x4319f8=_0x1709a9;return this[_0x4319f8(0xd9)](_0x48b238);}async[_0x1709a9(0xd9)](_0x322cb1){const _0x32737e=_0x1709a9,_0x2a35d7=this[_0x32737e(0xdd)]['get'](r[_0x32737e(0xe6)]);if(!_0x2a35d7)throw new Error(_0x32737e(0xf1));return _0x2a35d7[_0x32737e(0xea)](_0x322cb1,i[_0x32737e(0xe1)]);}async['importXLSXToSnapshot'](_0x258970){const _0x23bfeb=_0x1709a9;return this[_0x23bfeb(0xda)](_0x258970);}async[_0x1709a9(0xda)](_0x3997b3){const _0x5566a0=_0x1709a9,_0x3c80e9=this[_0x5566a0(0xdd)][_0x5566a0(0xdb)](r[_0x5566a0(0xe6)]);if(!_0x3c80e9)throw new Error(_0x5566a0(0xf1));return _0x3c80e9[_0x5566a0(0xec)](_0x3997b3);}async['exportXLSXByUnitId'](_0x19aeb5){const _0x3a9165=_0x1709a9;return this[_0x3a9165(0xd0)](_0x19aeb5);}async['exportXLSXByUnitIdAsync'](_0xedd2fa){const _0x5e6a96=_0x1709a9,_0x1c6f27=this[_0x5e6a96(0xdd)][_0x5e6a96(0xdb)](r[_0x5e6a96(0xe6)]);if(!_0x1c6f27)throw new Error(_0x5e6a96(0xf1));return _0x1c6f27[_0x5e6a96(0xe2)](_0xedd2fa);}async['exportXLSXBySnapshot'](_0xff870a){const _0x1eb911=_0x1709a9;return this[_0x1eb911(0xeb)](_0xff870a);}async['exportXLSXBySnapshotAsync'](_0x229961){const _0x10349f=_0x1709a9,_0xe25419=this[_0x10349f(0xdd)][_0x10349f(0xdb)](r[_0x10349f(0xe6)]);if(!_0xe25419)throw new Error(_0x10349f(0xf1));return _0xe25419['exportXLSXBySnapshot'](_0x229961);}async[_0x1709a9(0xde)](_0x307533){return this['importDOCXToUnitIdAsync'](_0x307533);}async[_0x1709a9(0xce)](_0x5acf39){const _0x2b801f=_0x1709a9,_0x37b676=this[_0x2b801f(0xdd)]['get'](r[_0x2b801f(0xe6)]);if(!_0x37b676)throw new Error(_0x2b801f(0xf1));return _0x37b676[_0x2b801f(0xea)](_0x5acf39,i[_0x2b801f(0xe5)]);}async[_0x1709a9(0xd8)](_0x4aef82){const _0x233361=_0x1709a9;return this[_0x233361(0xd1)](_0x4aef82);}async[_0x1709a9(0xd1)](_0x4a2dcb){const _0xb7a0e=_0x1709a9,_0x569345=this[_0xb7a0e(0xdd)][_0xb7a0e(0xdb)](r[_0xb7a0e(0xe6)]);if(!_0x569345)throw new Error(_0xb7a0e(0xf1));return _0x569345[_0xb7a0e(0xd8)](_0x4a2dcb);}async['exportDOCXBySnapshotAsync'](_0x52f21c){const _0x2bb049=_0x1709a9,_0x1307de=this['_injector'][_0x2bb049(0xdb)](r[_0x2bb049(0xe6)]);if(!_0x1307de)throw new Error(_0x2bb049(0xf1));return _0x1307de[_0x2bb049(0xef)](_0x52f21c);}async[_0x1709a9(0xd6)](_0x220a0d){const _0x4fede3=_0x1709a9,_0x4ac4ca=this[_0x4fede3(0xdd)]['get'](r[_0x4fede3(0xe6)]);if(!_0x4ac4ca)throw new Error(_0x4fede3(0xf1));return _0x4ac4ca[_0x4fede3(0xf4)](_0x220a0d);}}o[_0x1709a9(0xdc)][_0x1709a9(0xf2)](c);