@univerjs-pro/exchange-client 0.7.0-beta.0 → 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';const _0x1b9fc5=_0x13bb;function _0x3ba1(){const _0x223ff2=['7715025iROGDF','1924626DecdgZ','importXLSXToUnitId','7937768mLrDJH','IExchangeService','exportXLSXBySnapshot','importDOCXToUnitId','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','UNIVER_SHEET','UNIVER_PROJECT','357UANDUB','get','importXLSXToUnitIdAsync','368hiSEod','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','@univerjs/core/facade','exportXLSXByUnitIdAsync','24972GXzZrB','importDOCXToSnapshotAsync','extend','_injector','17970jYwfZi','UNIVER_DOC','UNIVER_UNKNOWN','FUniver','135WqcwVt','importDOCXToSnapshot','importFileToUnitId','UNIVER_SLIDE','importXLSXToSnapshotAsync','importXLSXToSnapshot','6476sXzUgS','7740780NuAduo'];_0x3ba1=function(){return _0x223ff2;};return _0x3ba1();}(function(_0xd162b7,_0x4b5868){const _0x2d7e62=_0x13bb,_0xdc6608=_0xd162b7();while(!![]){try{const _0x37d69e=-parseInt(_0x2d7e62(0x9b))/0x1*(-parseInt(_0x2d7e62(0x8b))/0x2)+parseInt(_0x2d7e62(0x8e))/0x3+-parseInt(_0x2d7e62(0xa0))/0x4*(parseInt(_0x2d7e62(0xa8))/0x5)+-parseInt(_0x2d7e62(0xa4))/0x6*(parseInt(_0x2d7e62(0x98))/0x7)+parseInt(_0x2d7e62(0x90))/0x8+-parseInt(_0x2d7e62(0x8d))/0x9+-parseInt(_0x2d7e62(0x8c))/0xa;if(_0x37d69e===_0x4b5868)break;else _0xdc6608['push'](_0xdc6608['shift']());}catch(_0x43e51c){_0xdc6608['push'](_0xdc6608['shift']());}}}(_0x3ba1,0xd5122));const r=require('@univerjs-pro/exchange-client'),i=require(_0x1b9fc5(0x9e));var o=(_0x406b30=>(_0x406b30[_0x406b30[_0x1b9fc5(0xa6)]=0x0]='UNIVER_UNKNOWN',_0x406b30[_0x406b30[_0x1b9fc5(0xa5)]=0x1]=_0x1b9fc5(0xa5),_0x406b30[_0x406b30[_0x1b9fc5(0x96)]=0x2]=_0x1b9fc5(0x96),_0x406b30[_0x406b30[_0x1b9fc5(0x88)]=0x3]=_0x1b9fc5(0x88),_0x406b30[_0x406b30['UNIVER_PROJECT']=0x4]=_0x1b9fc5(0x97),_0x406b30[_0x406b30['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x406b30))(o||{});function _0x13bb(_0x2ebf88,_0xa09570){const _0x3ba188=_0x3ba1();return _0x13bb=function(_0x13bbea,_0x19baeb){_0x13bbea=_0x13bbea-0x87;let _0x2ab31a=_0x3ba188[_0x13bbea];return _0x2ab31a;},_0x13bb(_0x2ebf88,_0xa09570);}class c extends i[_0x1b9fc5(0xa7)]{async[_0x1b9fc5(0x8f)](_0x1a9656){const _0xe8aff9=_0x1b9fc5;return this[_0xe8aff9(0x9a)](_0x1a9656);}async[_0x1b9fc5(0x9a)](_0x413417){const _0x27bfeb=_0x1b9fc5,_0x6629c2=this[_0x27bfeb(0xa3)][_0x27bfeb(0x99)](r[_0x27bfeb(0x91)]);if(!_0x6629c2)throw new Error(_0x27bfeb(0x9c));return _0x6629c2[_0x27bfeb(0x87)](_0x413417,o[_0x27bfeb(0x96)]);}async[_0x1b9fc5(0x8a)](_0x60394){const _0x71ef6c=_0x1b9fc5;return this[_0x71ef6c(0x89)](_0x60394);}async[_0x1b9fc5(0x89)](_0x677032){const _0x4a7489=_0x1b9fc5,_0x40d6e5=this[_0x4a7489(0xa3)][_0x4a7489(0x99)](r[_0x4a7489(0x91)]);if(!_0x40d6e5)throw new Error(_0x4a7489(0x9c));return _0x40d6e5[_0x4a7489(0x8a)](_0x677032);}async[_0x1b9fc5(0x9d)](_0x4bb729){const _0x3d3196=_0x1b9fc5;return this[_0x3d3196(0x9f)](_0x4bb729);}async[_0x1b9fc5(0x9f)](_0x323e91){const _0x7aa725=_0x1b9fc5,_0x51e9d8=this[_0x7aa725(0xa3)][_0x7aa725(0x99)](r[_0x7aa725(0x91)]);if(!_0x51e9d8)throw new Error(_0x7aa725(0x9c));return _0x51e9d8['exportXLSXByUnitId'](_0x323e91);}async[_0x1b9fc5(0x92)](_0x3bbe23){const _0x5eb2e2=_0x1b9fc5;return this[_0x5eb2e2(0x95)](_0x3bbe23);}async[_0x1b9fc5(0x95)](_0x380995){const _0x4590ac=_0x1b9fc5,_0x5d00af=this[_0x4590ac(0xa3)][_0x4590ac(0x99)](r[_0x4590ac(0x91)]);if(!_0x5d00af)throw new Error(_0x4590ac(0x9c));return _0x5d00af[_0x4590ac(0x92)](_0x380995);}async[_0x1b9fc5(0x93)](_0x3d4cc6){return this['importDOCXToUnitIdAsync'](_0x3d4cc6);}async[_0x1b9fc5(0x94)](_0xa9d407){const _0x4945ab=_0x1b9fc5,_0x562987=this[_0x4945ab(0xa3)][_0x4945ab(0x99)](r[_0x4945ab(0x91)]);if(!_0x562987)throw new Error(_0x4945ab(0x9c));return _0x562987[_0x4945ab(0x87)](_0xa9d407,o[_0x4945ab(0xa5)]);}async['importDOCXToSnapshot'](_0x247fe1){return this['importDOCXToSnapshotAsync'](_0x247fe1);}async[_0x1b9fc5(0xa1)](_0x41c317){const _0x366857=_0x1b9fc5,_0x4bc9dd=this['_injector'][_0x366857(0x99)](r[_0x366857(0x91)]);if(!_0x4bc9dd)throw new Error(_0x366857(0x9c));return _0x4bc9dd[_0x366857(0xa9)](_0x41c317);}}i[_0x1b9fc5(0xa7)][_0x1b9fc5(0xa2)](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);