@univerjs-pro/exchange-client 0.6.10 → 0.7.0-beta.1

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 _0x16c6(_0x56a648,_0x5003a9){const _0x10404b=_0x1040();return _0x16c6=function(_0x16c649,_0x21b61b){_0x16c649=_0x16c649-0xc6;let _0x5642ca=_0x10404b[_0x16c649];return _0x5642ca;},_0x16c6(_0x56a648,_0x5003a9);}const _0x569d5b=_0x16c6;function _0x1040(){const _0x4df0fc=['UNIVER_SLIDE','exportXLSXByUnitIdAsync','exportXLSXByUnitId','UNIVER_SHEET','extend','FUniver','importFileToUnitId','60538iGFmxQ','146790ZDNThz','41IDeBDU','@univerjs-pro/exchange-client','importXLSXToSnapshotAsync','importDOCXToSnapshot','@univerjs/core/facade','24iLlCfO','The\x20exchange\x20service\x20is\x20not\x20available','2539565bDFoDT','importDOCXToSnapshotAsync','exportXLSXBySnapshot','4476535yKIuwb','6BNjoEH','importDOCXToUnitId','exportXLSXBySnapshotAsync','630JiWfWX','152140EMNfrK','2321976UkYiNE','get','_injector','UNRECOGNIZED','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','29778441rJNJMV','UNIVER_DOC','IExchangeService'];_0x1040=function(){return _0x4df0fc;};return _0x1040();}(function(_0x46b1f5,_0x703494){const _0x4328d6=_0x16c6,_0x40520b=_0x46b1f5();while(!![]){try{const _0x177e86=parseInt(_0x4328d6(0xc8))/0x1*(parseInt(_0x4328d6(0xc6))/0x2)+parseInt(_0x4328d6(0xcd))/0x3*(parseInt(_0x4328d6(0xd7))/0x4)+parseInt(_0x4328d6(0xcf))/0x5*(parseInt(_0x4328d6(0xd3))/0x6)+parseInt(_0x4328d6(0xd2))/0x7+-parseInt(_0x4328d6(0xd8))/0x8+parseInt(_0x4328d6(0xc7))/0x9*(parseInt(_0x4328d6(0xd6))/0xa)+-parseInt(_0x4328d6(0xde))/0xb;if(_0x177e86===_0x703494)break;else _0x40520b['push'](_0x40520b['shift']());}catch(_0x23eee2){_0x40520b['push'](_0x40520b['shift']());}}}(_0x1040,0xb07bf));const r=require(_0x569d5b(0xc9)),i=require(_0x569d5b(0xcc));var o=(_0x317e6e=>(_0x317e6e[_0x317e6e['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x317e6e[_0x317e6e[_0x569d5b(0xdf)]=0x1]=_0x569d5b(0xdf),_0x317e6e[_0x317e6e[_0x569d5b(0xe4)]=0x2]=_0x569d5b(0xe4),_0x317e6e[_0x317e6e[_0x569d5b(0xe1)]=0x3]=_0x569d5b(0xe1),_0x317e6e[_0x317e6e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x317e6e[_0x317e6e[_0x569d5b(0xdb)]=-0x1]=_0x569d5b(0xdb),_0x317e6e))(o||{});class c extends i[_0x569d5b(0xe6)]{async['importXLSXToUnitId'](_0x71d8a6){const _0x2d1057=_0x569d5b;return this[_0x2d1057(0xdc)](_0x71d8a6);}async['importXLSXToUnitIdAsync'](_0x915c64){const _0x50d410=_0x569d5b,_0x468408=this[_0x50d410(0xda)][_0x50d410(0xd9)](r[_0x50d410(0xe0)]);if(!_0x468408)throw new Error(_0x50d410(0xce));return _0x468408[_0x50d410(0xe7)](_0x915c64,o[_0x50d410(0xe4)]);}async['importXLSXToSnapshot'](_0x5455ef){const _0x1abca9=_0x569d5b;return this[_0x1abca9(0xca)](_0x5455ef);}async[_0x569d5b(0xca)](_0x31fded){const _0x2a76bf=_0x569d5b,_0x52372e=this['_injector']['get'](r[_0x2a76bf(0xe0)]);if(!_0x52372e)throw new Error(_0x2a76bf(0xce));return _0x52372e['importXLSXToSnapshot'](_0x31fded);}async[_0x569d5b(0xe3)](_0x156eab){const _0x20d5b1=_0x569d5b;return this[_0x20d5b1(0xe2)](_0x156eab);}async[_0x569d5b(0xe2)](_0x1f1458){const _0x5dd066=_0x569d5b,_0x5fc42e=this[_0x5dd066(0xda)][_0x5dd066(0xd9)](r[_0x5dd066(0xe0)]);if(!_0x5fc42e)throw new Error(_0x5dd066(0xce));return _0x5fc42e[_0x5dd066(0xe3)](_0x1f1458);}async[_0x569d5b(0xd1)](_0x454ec6){const _0x4497eb=_0x569d5b;return this[_0x4497eb(0xd5)](_0x454ec6);}async[_0x569d5b(0xd5)](_0x11f56b){const _0x21ea48=_0x569d5b,_0x2e23f6=this['_injector'][_0x21ea48(0xd9)](r[_0x21ea48(0xe0)]);if(!_0x2e23f6)throw new Error(_0x21ea48(0xce));return _0x2e23f6[_0x21ea48(0xd1)](_0x11f56b);}async[_0x569d5b(0xd4)](_0x4a6790){const _0x18227b=_0x569d5b;return this[_0x18227b(0xdd)](_0x4a6790);}async['importDOCXToUnitIdAsync'](_0x55984c){const _0x51b86f=_0x569d5b,_0x370893=this[_0x51b86f(0xda)][_0x51b86f(0xd9)](r['IExchangeService']);if(!_0x370893)throw new Error(_0x51b86f(0xce));return _0x370893[_0x51b86f(0xe7)](_0x55984c,o[_0x51b86f(0xdf)]);}async[_0x569d5b(0xcb)](_0x526e2f){const _0x107adb=_0x569d5b;return this[_0x107adb(0xd0)](_0x526e2f);}async[_0x569d5b(0xd0)](_0x2bfb1c){const _0x208878=_0x569d5b,_0x393ba9=this[_0x208878(0xda)][_0x208878(0xd9)](r[_0x208878(0xe0)]);if(!_0x393ba9)throw new Error(_0x208878(0xce));return _0x393ba9[_0x208878(0xcb)](_0x2bfb1c);}}i[_0x569d5b(0xe6)][_0x569d5b(0xe5)](c);
1
+ 'use strict';const _0x451e54=_0x122f;function _0x122f(_0x258104,_0x33d457){const _0x13c36c=_0x13c3();return _0x122f=function(_0x122ffa,_0x226804){_0x122ffa=_0x122ffa-0xbf;let _0x1f3d73=_0x13c36c[_0x122ffa];return _0x1f3d73;},_0x122f(_0x258104,_0x33d457);}(function(_0x1b5300,_0x41dbf8){const _0x2476b8=_0x122f,_0x3e3de7=_0x1b5300();while(!![]){try{const _0x2eda8d=-parseInt(_0x2476b8(0xc6))/0x1+parseInt(_0x2476b8(0xde))/0x2*(parseInt(_0x2476b8(0xda))/0x3)+parseInt(_0x2476b8(0xce))/0x4+parseInt(_0x2476b8(0xc4))/0x5*(parseInt(_0x2476b8(0xc9))/0x6)+-parseInt(_0x2476b8(0xd9))/0x7*(parseInt(_0x2476b8(0xdd))/0x8)+parseInt(_0x2476b8(0xd8))/0x9+-parseInt(_0x2476b8(0xd6))/0xa*(parseInt(_0x2476b8(0xd4))/0xb);if(_0x2eda8d===_0x41dbf8)break;else _0x3e3de7['push'](_0x3e3de7['shift']());}catch(_0x1db30e){_0x3e3de7['push'](_0x3e3de7['shift']());}}}(_0x13c3,0x642ef));const r=require('@univerjs-pro/exchange-client'),i=require(_0x451e54(0xd2));function _0x13c3(){const _0x2b0042=['extend','UNIVER_SHEET','3059560MAAudE','exportXLSXBySnapshot','importXLSXToUnitId','UNIVER_UNKNOWN','@univerjs/core/facade','UNIVER_SLIDE','8063MFQMKj','importDOCXToSnapshot','9470CQacId','_injector','4854735QMuRgE','7falvfs','12942ICXeZF','importFileToUnitId','importDOCXToUnitIdAsync','799752lausCp','8GsuBuN','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','get','exportXLSXBySnapshotAsync','importXLSXToSnapshot','exportXLSXByUnitId','UNIVER_DOC','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','20Rkknuq','UNRECOGNIZED','382622sBlEyG','importXLSXToUnitIdAsync','UNIVER_PROJECT','398298XmXnzE','FUniver','IExchangeService'];_0x13c3=function(){return _0x2b0042;};return _0x13c3();}var o=(_0x749df8=>(_0x749df8[_0x749df8[_0x451e54(0xd1)]=0x0]=_0x451e54(0xd1),_0x749df8[_0x749df8[_0x451e54(0xc1)]=0x1]=_0x451e54(0xc1),_0x749df8[_0x749df8[_0x451e54(0xcd)]=0x2]=_0x451e54(0xcd),_0x749df8[_0x749df8[_0x451e54(0xd3)]=0x3]='UNIVER_SLIDE',_0x749df8[_0x749df8[_0x451e54(0xc8)]=0x4]=_0x451e54(0xc8),_0x749df8[_0x749df8[_0x451e54(0xc5)]=-0x1]=_0x451e54(0xc5),_0x749df8))(o||{});class c extends i[_0x451e54(0xca)]{async[_0x451e54(0xd0)](_0x500027){const _0xfc7d99=_0x451e54;return this[_0xfc7d99(0xc7)](_0x500027);}async[_0x451e54(0xc7)](_0x5cc12e){const _0x46b2c9=_0x451e54,_0x44ba71=this[_0x46b2c9(0xd7)]['get'](r[_0x46b2c9(0xcb)]);if(!_0x44ba71)throw new Error(_0x46b2c9(0xc3));return _0x44ba71[_0x46b2c9(0xdb)](_0x5cc12e,o[_0x46b2c9(0xcd)]);}async[_0x451e54(0xbf)](_0x3aa730){const _0x411ec9=_0x451e54;return this[_0x411ec9(0xe0)](_0x3aa730);}async[_0x451e54(0xe0)](_0x56f1e2){const _0xa713d2=_0x451e54,_0x2af7bb=this[_0xa713d2(0xd7)][_0xa713d2(0xe1)](r['IExchangeService']);if(!_0x2af7bb)throw new Error(_0xa713d2(0xc3));return _0x2af7bb[_0xa713d2(0xbf)](_0x56f1e2);}async[_0x451e54(0xc0)](_0x2bc454){const _0x471d61=_0x451e54;return this[_0x471d61(0xc2)](_0x2bc454);}async[_0x451e54(0xc2)](_0x2b25cc){const _0x17a926=_0x451e54,_0xa7a561=this['_injector'][_0x17a926(0xe1)](r[_0x17a926(0xcb)]);if(!_0xa7a561)throw new Error(_0x17a926(0xc3));return _0xa7a561[_0x17a926(0xc0)](_0x2b25cc);}async[_0x451e54(0xcf)](_0x43fea1){return this['exportXLSXBySnapshotAsync'](_0x43fea1);}async[_0x451e54(0xe2)](_0x49210a){const _0x2c9c05=_0x451e54,_0x3bba36=this[_0x2c9c05(0xd7)][_0x2c9c05(0xe1)](r[_0x2c9c05(0xcb)]);if(!_0x3bba36)throw new Error(_0x2c9c05(0xc3));return _0x3bba36[_0x2c9c05(0xcf)](_0x49210a);}async['importDOCXToUnitId'](_0x26795e){const _0x1067c9=_0x451e54;return this[_0x1067c9(0xdc)](_0x26795e);}async['importDOCXToUnitIdAsync'](_0x45e884){const _0x4b23bc=_0x451e54,_0x3eddee=this[_0x4b23bc(0xd7)][_0x4b23bc(0xe1)](r[_0x4b23bc(0xcb)]);if(!_0x3eddee)throw new Error(_0x4b23bc(0xc3));return _0x3eddee[_0x4b23bc(0xdb)](_0x45e884,o['UNIVER_DOC']);}async[_0x451e54(0xd5)](_0x36941a){const _0x415328=_0x451e54;return this[_0x415328(0xdf)](_0x36941a);}async[_0x451e54(0xdf)](_0x42c02f){const _0x1a9f17=_0x451e54,_0x5a6af7=this[_0x1a9f17(0xd7)][_0x1a9f17(0xe1)](r['IExchangeService']);if(!_0x5a6af7)throw new Error(_0x1a9f17(0xc3));return _0x5a6af7[_0x1a9f17(0xd5)](_0x42c02f);}}i[_0x451e54(0xca)][_0x451e54(0xcc)](c);