@univerjs-pro/exchange-client 0.6.0-nightly.202502051606 → 0.6.0-nightly.202502061605

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 _0x2afd0f=_0x8981;(function(_0x2551ac,_0x5471ff){const _0x437ec1=_0x8981,_0x312e29=_0x2551ac();while(!![]){try{const _0xf5243=-parseInt(_0x437ec1(0x1a6))/0x1*(parseInt(_0x437ec1(0x1a3))/0x2)+parseInt(_0x437ec1(0x1b9))/0x3+-parseInt(_0x437ec1(0x19d))/0x4+parseInt(_0x437ec1(0x1b3))/0x5+parseInt(_0x437ec1(0x1b8))/0x6+-parseInt(_0x437ec1(0x19a))/0x7+-parseInt(_0x437ec1(0x19c))/0x8;if(_0xf5243===_0x5471ff)break;else _0x312e29['push'](_0x312e29['shift']());}catch(_0x4858d1){_0x312e29['push'](_0x312e29['shift']());}}}(_0x5f3b,0x3781c));function _0x5f3b(){const _0x24f950=['UNIVER_SLIDE','importXLSXToSnapshot','extend','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','get','UNRECOGNIZED','UNIVER_DOC','importFileToUnitId','896645TuxGtH','importXLSXToUnitIdAsync','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','2459556tERmSP','381666TEkddq','@univerjs/core','_injector','368977oLkGSd','exportXLSXBySnapshot','662712Vnlffz','1409280yUBgVP','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','UNIVER_PROJECT','importXLSXToSnapshotAsync','importDOCXToSnapshot','2IBmMUw','UNIVER_SHEET','exportXLSXByUnitId','1251NBNhNk','importDOCXToUnitId','UNIVER_UNKNOWN'];_0x5f3b=function(){return _0x24f950;};return _0x5f3b();}const r=require(_0x2afd0f(0x19e)),i=require(_0x2afd0f(0x1ba));function _0x8981(_0x269756,_0x2633aa){const _0x5f3b0d=_0x5f3b();return _0x8981=function(_0x8981af,_0x1b5005){_0x8981af=_0x8981af-0x19a;let _0x33598c=_0x5f3b0d[_0x8981af];return _0x33598c;},_0x8981(_0x269756,_0x2633aa);}var o=(_0x3d33bc=>(_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1a8)]=0x0]=_0x2afd0f(0x1a8),_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1b1)]=0x1]=_0x2afd0f(0x1b1),_0x3d33bc[_0x3d33bc['UNIVER_SHEET']=0x2]=_0x2afd0f(0x1a4),_0x3d33bc[_0x3d33bc['UNIVER_SLIDE']=0x3]=_0x2afd0f(0x1a9),_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1a0)]=0x4]=_0x2afd0f(0x1a0),_0x3d33bc[_0x3d33bc['UNRECOGNIZED']=-0x1]=_0x2afd0f(0x1b0),_0x3d33bc))(o||{});class c extends i['FUniver']{async[_0x2afd0f(0x1b5)](_0x54f0a5){return this['importXLSXToUnitIdAsync'](_0x54f0a5);}async[_0x2afd0f(0x1b4)](_0x275e53){const _0x4441e6=_0x2afd0f,_0x25f782=this[_0x4441e6(0x1bb)][_0x4441e6(0x1af)](r[_0x4441e6(0x1b7)]);if(!_0x25f782)throw new Error(_0x4441e6(0x1b6));return _0x25f782[_0x4441e6(0x1b2)](_0x275e53,o[_0x4441e6(0x1a4)]);}async[_0x2afd0f(0x1aa)](_0x22e298){const _0x3e7ebc=_0x2afd0f;return this[_0x3e7ebc(0x1a1)](_0x22e298);}async[_0x2afd0f(0x1a1)](_0x24283c){const _0x3fb42a=_0x2afd0f,_0x209881=this[_0x3fb42a(0x1bb)]['get'](r[_0x3fb42a(0x1b7)]);if(!_0x209881)throw new Error(_0x3fb42a(0x1b6));return _0x209881[_0x3fb42a(0x1aa)](_0x24283c);}async[_0x2afd0f(0x1a5)](_0x57f1c9){const _0x3eb866=_0x2afd0f;return this[_0x3eb866(0x19f)](_0x57f1c9);}async['exportXLSXByUnitIdAsync'](_0x39d191){const _0x25bb30=_0x2afd0f,_0x12719b=this[_0x25bb30(0x1bb)][_0x25bb30(0x1af)](r['IExchangeService']);if(!_0x12719b)throw new Error(_0x25bb30(0x1b6));return _0x12719b[_0x25bb30(0x1a5)](_0x39d191);}async['exportXLSXBySnapshot'](_0x495834){const _0x124a42=_0x2afd0f;return this[_0x124a42(0x1ad)](_0x495834);}async['exportXLSXBySnapshotAsync'](_0x53f746){const _0x4f189c=_0x2afd0f,_0x1a9289=this['_injector'][_0x4f189c(0x1af)](r[_0x4f189c(0x1b7)]);if(!_0x1a9289)throw new Error(_0x4f189c(0x1b6));return _0x1a9289[_0x4f189c(0x19b)](_0x53f746);}async[_0x2afd0f(0x1a7)](_0x93c924){const _0x4dfca7=_0x2afd0f;return this[_0x4dfca7(0x1ac)](_0x93c924);}async[_0x2afd0f(0x1ac)](_0xa16a75){const _0x427c46=_0x2afd0f,_0x4ce9bf=this[_0x427c46(0x1bb)][_0x427c46(0x1af)](r[_0x427c46(0x1b7)]);if(!_0x4ce9bf)throw new Error(_0x427c46(0x1b6));return _0x4ce9bf[_0x427c46(0x1b2)](_0xa16a75,o[_0x427c46(0x1b1)]);}async[_0x2afd0f(0x1a2)](_0xd87a8){const _0x17f05f=_0x2afd0f;return this[_0x17f05f(0x1ae)](_0xd87a8);}async[_0x2afd0f(0x1ae)](_0x17e12e){const _0x5d0cea=_0x2afd0f,_0x500dfc=this[_0x5d0cea(0x1bb)][_0x5d0cea(0x1af)](r['IExchangeService']);if(!_0x500dfc)throw new Error(_0x5d0cea(0x1b6));return _0x500dfc[_0x5d0cea(0x1a2)](_0x17e12e);}}i['FUniver'][_0x2afd0f(0x1ab)](c);
1
+ 'use strict';const _0x1def03=_0x5e5e;function _0x5e5e(_0x320c1f,_0x2cd32c){const _0x9a947a=_0x9a94();return _0x5e5e=function(_0x5e5ee1,_0x2b109e){_0x5e5ee1=_0x5e5ee1-0x6b;let _0x2b28e1=_0x9a947a[_0x5e5ee1];return _0x2b28e1;},_0x5e5e(_0x320c1f,_0x2cd32c);}function _0x9a94(){const _0x67125c=['UNIVER_UNKNOWN','_injector','@univerjs/core','113799moJyas','importDOCXToSnapshotAsync','UNIVER_PROJECT','UNIVER_SHEET','UNRECOGNIZED','get','exportXLSXByUnitIdAsync','2Oimzve','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','importXLSXToSnapshot','extend','3345944ozsOkl','263894dAPTyI','1382067QNDEon','UNIVER_SLIDE','importDOCXToUnitIdAsync','importDOCXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','3955960YfEQwc','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','UNIVER_DOC','FUniver','@univerjs-pro/exchange-client','importXLSXToUnitId','9gyndaS','6acYJhB','3757156PdARNl','importFileToUnitId','10008570ExjGjz'];_0x9a94=function(){return _0x67125c;};return _0x9a94();}(function(_0x4ba4c6,_0x5aec38){const _0x4b07df=_0x5e5e,_0x2e1c30=_0x4ba4c6();while(!![]){try{const _0x3db39e=parseInt(_0x4b07df(0x8b))/0x1*(-parseInt(_0x4b07df(0x85))/0x2)+-parseInt(_0x4b07df(0x8c))/0x3+-parseInt(_0x4b07df(0x78))/0x4+parseInt(_0x4b07df(0x6f))/0x5+parseInt(_0x4b07df(0x77))/0x6*(parseInt(_0x4b07df(0x7e))/0x7)+-parseInt(_0x4b07df(0x8a))/0x8*(-parseInt(_0x4b07df(0x76))/0x9)+parseInt(_0x4b07df(0x7a))/0xa;if(_0x3db39e===_0x5aec38)break;else _0x2e1c30['push'](_0x2e1c30['shift']());}catch(_0x44b2e2){_0x2e1c30['push'](_0x2e1c30['shift']());}}}(_0x9a94,0x895f5));const r=require(_0x1def03(0x74)),i=require(_0x1def03(0x7d));var o=(_0x215074=>(_0x215074[_0x215074['UNIVER_UNKNOWN']=0x0]=_0x1def03(0x7b),_0x215074[_0x215074[_0x1def03(0x72)]=0x1]=_0x1def03(0x72),_0x215074[_0x215074[_0x1def03(0x81)]=0x2]=_0x1def03(0x81),_0x215074[_0x215074['UNIVER_SLIDE']=0x3]=_0x1def03(0x8d),_0x215074[_0x215074[_0x1def03(0x80)]=0x4]=_0x1def03(0x80),_0x215074[_0x215074[_0x1def03(0x82)]=-0x1]=_0x1def03(0x82),_0x215074))(o||{});class c extends i['FUniver']{async[_0x1def03(0x75)](_0x2b9d77){const _0x1eaed9=_0x1def03;return this[_0x1eaed9(0x87)](_0x2b9d77);}async['importXLSXToUnitIdAsync'](_0x471c5e){const _0x5d92bb=_0x1def03,_0x309936=this[_0x5d92bb(0x7c)][_0x5d92bb(0x83)](r[_0x5d92bb(0x71)]);if(!_0x309936)throw new Error(_0x5d92bb(0x70));return _0x309936[_0x5d92bb(0x79)](_0x471c5e,o[_0x5d92bb(0x81)]);}async[_0x1def03(0x88)](_0x171381){const _0x21f90d=_0x1def03;return this[_0x21f90d(0x86)](_0x171381);}async['importXLSXToSnapshotAsync'](_0x5462e9){const _0x25673e=_0x1def03,_0xb44be2=this[_0x25673e(0x7c)]['get'](r['IExchangeService']);if(!_0xb44be2)throw new Error(_0x25673e(0x70));return _0xb44be2['importXLSXToSnapshot'](_0x5462e9);}async['exportXLSXByUnitId'](_0xb3b38e){return this['exportXLSXByUnitIdAsync'](_0xb3b38e);}async[_0x1def03(0x84)](_0x1c212f){const _0x4b5e2a=_0x1def03,_0x51ede0=this['_injector'][_0x4b5e2a(0x83)](r[_0x4b5e2a(0x71)]);if(!_0x51ede0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x51ede0['exportXLSXByUnitId'](_0x1c212f);}async[_0x1def03(0x6e)](_0xd2a524){const _0x481912=_0x1def03;return this[_0x481912(0x6d)](_0xd2a524);}async[_0x1def03(0x6d)](_0x3a719a){const _0x14bbf1=_0x1def03,_0xcc9893=this[_0x14bbf1(0x7c)][_0x14bbf1(0x83)](r[_0x14bbf1(0x71)]);if(!_0xcc9893)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xcc9893[_0x14bbf1(0x6e)](_0x3a719a);}async['importDOCXToUnitId'](_0x321f7d){return this['importDOCXToUnitIdAsync'](_0x321f7d);}async[_0x1def03(0x6b)](_0x2f709){const _0x4006b4=_0x1def03,_0x3caffa=this[_0x4006b4(0x7c)][_0x4006b4(0x83)](r[_0x4006b4(0x71)]);if(!_0x3caffa)throw new Error(_0x4006b4(0x70));return _0x3caffa['importFileToUnitId'](_0x2f709,o[_0x4006b4(0x72)]);}async[_0x1def03(0x6c)](_0x4f138b){return this['importDOCXToSnapshotAsync'](_0x4f138b);}async[_0x1def03(0x7f)](_0x4af417){const _0x4beb3c=_0x1def03,_0x154b96=this[_0x4beb3c(0x7c)][_0x4beb3c(0x83)](r['IExchangeService']);if(!_0x154b96)throw new Error(_0x4beb3c(0x70));return _0x154b96[_0x4beb3c(0x6c)](_0x4af417);}}i[_0x1def03(0x73)][_0x1def03(0x89)](c);