@univerjs-pro/exchange-client 0.6.0-nightly.202501251605 → 0.6.0-nightly.202501261605

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 _0x1ef617=_0x70f2;(function(_0x23c4e7,_0x4624cd){const _0x490851=_0x70f2,_0x5e7da6=_0x23c4e7();while(!![]){try{const _0x4e68e8=-parseInt(_0x490851(0xdf))/0x1+-parseInt(_0x490851(0xd3))/0x2+-parseInt(_0x490851(0xcd))/0x3*(parseInt(_0x490851(0xdb))/0x4)+-parseInt(_0x490851(0xc7))/0x5*(-parseInt(_0x490851(0xd9))/0x6)+parseInt(_0x490851(0xca))/0x7+-parseInt(_0x490851(0xe3))/0x8+parseInt(_0x490851(0xda))/0x9;if(_0x4e68e8===_0x4624cd)break;else _0x5e7da6['push'](_0x5e7da6['shift']());}catch(_0x2f157e){_0x5e7da6['push'](_0x5e7da6['shift']());}}}(_0x380b,0xea4ca));function _0x380b(){const _0xc6a80c=['importXLSXToSnapshotAsync','importDOCXToUnitId','3233752zIGJjd','UNIVER_SLIDE','importFileToUnitId','UNIVER_UNKNOWN','UNIVER_PROJECT','extend','4308XJqkxW','46006965SgaCtz','2615812pwYfnz','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','1222977MnDcmw','UNIVER_SHEET','importXLSXToSnapshot','importXLSXToUnitIdAsync','9844512TaafHs','_injector','exportXLSXByUnitId','exportXLSXBySnapshot','IExchangeService','exportXLSXByUnitIdAsync','7235TSYtRi','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','1310274hcHojr','exportXLSXBySnapshotAsync','importDOCXToSnapshot','6uRhsGe','get','FUniver','UNIVER_DOC'];_0x380b=function(){return _0xc6a80c;};return _0x380b();}const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core');var o=(_0x15619a=>(_0x15619a[_0x15619a['UNIVER_UNKNOWN']=0x0]=_0x1ef617(0xd6),_0x15619a[_0x15619a[_0x1ef617(0xd0)]=0x1]=_0x1ef617(0xd0),_0x15619a[_0x15619a[_0x1ef617(0xe0)]=0x2]=_0x1ef617(0xe0),_0x15619a[_0x15619a[_0x1ef617(0xd4)]=0x3]=_0x1ef617(0xd4),_0x15619a[_0x15619a[_0x1ef617(0xd7)]=0x4]=_0x1ef617(0xd7),_0x15619a[_0x15619a['UNRECOGNIZED']=-0x1]=_0x1ef617(0xdc),_0x15619a))(o||{});class c extends i[_0x1ef617(0xcf)]{async[_0x1ef617(0xde)](_0x5b1ec0){const _0x37a074=_0x1ef617;return this[_0x37a074(0xe2)](_0x5b1ec0);}async[_0x1ef617(0xe2)](_0x5f0e39){const _0x353a38=_0x1ef617,_0x132510=this[_0x353a38(0xe4)][_0x353a38(0xce)](r['IExchangeService']);if(!_0x132510)throw new Error(_0x353a38(0xdd));return _0x132510[_0x353a38(0xd5)](_0x5f0e39,o[_0x353a38(0xe0)]);}async['importXLSXToSnapshot'](_0x4940c1){const _0x5177ed=_0x1ef617;return this[_0x5177ed(0xd1)](_0x4940c1);}async['importXLSXToSnapshotAsync'](_0x189d19){const _0xe68717=_0x1ef617,_0x4cb7f0=this[_0xe68717(0xe4)]['get'](r[_0xe68717(0xe7)]);if(!_0x4cb7f0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4cb7f0[_0xe68717(0xe1)](_0x189d19);}async['exportXLSXByUnitId'](_0xeac740){const _0x5ca6d6=_0x1ef617;return this[_0x5ca6d6(0xc6)](_0xeac740);}async[_0x1ef617(0xc6)](_0x38a132){const _0x4d21db=_0x1ef617,_0x33747d=this[_0x4d21db(0xe4)]['get'](r['IExchangeService']);if(!_0x33747d)throw new Error(_0x4d21db(0xdd));return _0x33747d[_0x4d21db(0xe5)](_0x38a132);}async[_0x1ef617(0xe6)](_0x4ab49c){const _0x16373e=_0x1ef617;return this[_0x16373e(0xcb)](_0x4ab49c);}async[_0x1ef617(0xcb)](_0x56de46){const _0x2fce8c=_0x1ef617,_0x2ac999=this[_0x2fce8c(0xe4)]['get'](r[_0x2fce8c(0xe7)]);if(!_0x2ac999)throw new Error(_0x2fce8c(0xdd));return _0x2ac999[_0x2fce8c(0xe6)](_0x56de46);}async[_0x1ef617(0xd2)](_0xf3dfa3){const _0x4a25f1=_0x1ef617;return this[_0x4a25f1(0xc9)](_0xf3dfa3);}async['importDOCXToUnitIdAsync'](_0xdd26a7){const _0x814054=_0x1ef617,_0x300070=this[_0x814054(0xe4)][_0x814054(0xce)](r[_0x814054(0xe7)]);if(!_0x300070)throw new Error(_0x814054(0xdd));return _0x300070['importFileToUnitId'](_0xdd26a7,o['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x205747){return this['importDOCXToSnapshotAsync'](_0x205747);}async[_0x1ef617(0xc8)](_0x23cf79){const _0x1e9972=_0x1ef617,_0x5ae469=this[_0x1e9972(0xe4)][_0x1e9972(0xce)](r[_0x1e9972(0xe7)]);if(!_0x5ae469)throw new Error(_0x1e9972(0xdd));return _0x5ae469[_0x1e9972(0xcc)](_0x23cf79);}}function _0x70f2(_0x159f4e,_0x4efc7a){const _0x380b14=_0x380b();return _0x70f2=function(_0x70f2f0,_0x26a707){_0x70f2f0=_0x70f2f0-0xc6;let _0x143001=_0x380b14[_0x70f2f0];return _0x143001;},_0x70f2(_0x159f4e,_0x4efc7a);}i[_0x1ef617(0xcf)][_0x1ef617(0xd8)](c);
1
+ 'use strict';function _0x5f51(_0x40ea3b,_0x3e73c3){const _0x2a8759=_0x2a87();return _0x5f51=function(_0x5f511b,_0x48934a){_0x5f511b=_0x5f511b-0xa8;let _0x3162e2=_0x2a8759[_0x5f511b];return _0x3162e2;},_0x5f51(_0x40ea3b,_0x3e73c3);}const _0x15931e=_0x5f51;(function(_0x195f0f,_0x4029fb){const _0x124cad=_0x5f51,_0x23f618=_0x195f0f();while(!![]){try{const _0x2ee5ae=parseInt(_0x124cad(0xba))/0x1+-parseInt(_0x124cad(0xab))/0x2*(-parseInt(_0x124cad(0xbb))/0x3)+-parseInt(_0x124cad(0xc9))/0x4*(-parseInt(_0x124cad(0xb5))/0x5)+-parseInt(_0x124cad(0xcd))/0x6*(parseInt(_0x124cad(0xc7))/0x7)+parseInt(_0x124cad(0xbe))/0x8+-parseInt(_0x124cad(0xb9))/0x9*(-parseInt(_0x124cad(0xcc))/0xa)+-parseInt(_0x124cad(0xbc))/0xb;if(_0x2ee5ae===_0x4029fb)break;else _0x23f618['push'](_0x23f618['shift']());}catch(_0x5b28a3){_0x23f618['push'](_0x23f618['shift']());}}}(_0x2a87,0xa0a16));function _0x2a87(){const _0x483890=['exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','562810rEWfPY','importXLSXToSnapshot','importXLSXToUnitIdAsync','importXLSXToUnitId','405kishHf','740021eDsPKX','3SXxliL','17092922HyEVTK','FUniver','531536mJdSDE','exportXLSXBySnapshot','importDOCXToSnapshotAsync','importFileToUnitId','UNRECOGNIZED','UNIVER_SLIDE','get','UNIVER_UNKNOWN','importDOCXToUnitId','126161uajLtm','importDOCXToSnapshot','44OuDNzJ','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','155410PQHOKs','402Pzfudh','@univerjs/core','IExchangeService','exportXLSXByUnitId','1350790EqrAJm','extend','UNIVER_DOC','UNIVER_SHEET','importXLSXToSnapshotAsync','_injector','@univerjs-pro/exchange-client'];_0x2a87=function(){return _0x483890;};return _0x2a87();}const r=require(_0x15931e(0xb1)),i=require(_0x15931e(0xa8));var o=(_0x2eb335=>(_0x2eb335[_0x2eb335['UNIVER_UNKNOWN']=0x0]=_0x15931e(0xc5),_0x2eb335[_0x2eb335[_0x15931e(0xad)]=0x1]=_0x15931e(0xad),_0x2eb335[_0x2eb335[_0x15931e(0xae)]=0x2]=_0x15931e(0xae),_0x2eb335[_0x2eb335['UNIVER_SLIDE']=0x3]=_0x15931e(0xc3),_0x2eb335[_0x2eb335['UNIVER_PROJECT']=0x4]=_0x15931e(0xcb),_0x2eb335[_0x2eb335[_0x15931e(0xc2)]=-0x1]='UNRECOGNIZED',_0x2eb335))(o||{});class c extends i[_0x15931e(0xbd)]{async[_0x15931e(0xb8)](_0x253f2b){const _0x411ab3=_0x15931e;return this[_0x411ab3(0xb7)](_0x253f2b);}async[_0x15931e(0xb7)](_0x299fbd){const _0x56a48f=_0x15931e,_0x37ca87=this[_0x56a48f(0xb0)][_0x56a48f(0xc4)](r[_0x56a48f(0xa9)]);if(!_0x37ca87)throw new Error(_0x56a48f(0xca));return _0x37ca87[_0x56a48f(0xc1)](_0x299fbd,o[_0x56a48f(0xae)]);}async[_0x15931e(0xb6)](_0x5154e4){const _0x46c75f=_0x15931e;return this[_0x46c75f(0xaf)](_0x5154e4);}async[_0x15931e(0xaf)](_0x29dd0a){const _0x516cf8=_0x15931e,_0x495372=this[_0x516cf8(0xb0)][_0x516cf8(0xc4)](r['IExchangeService']);if(!_0x495372)throw new Error(_0x516cf8(0xca));return _0x495372[_0x516cf8(0xb6)](_0x29dd0a);}async['exportXLSXByUnitId'](_0x313320){const _0x324bd3=_0x15931e;return this[_0x324bd3(0xb2)](_0x313320);}async[_0x15931e(0xb2)](_0x857f1d){const _0x3e5182=_0x15931e,_0x3f1800=this['_injector'][_0x3e5182(0xc4)](r[_0x3e5182(0xa9)]);if(!_0x3f1800)throw new Error(_0x3e5182(0xca));return _0x3f1800[_0x3e5182(0xaa)](_0x857f1d);}async[_0x15931e(0xbf)](_0x149f74){const _0xfe0f2e=_0x15931e;return this[_0xfe0f2e(0xb4)](_0x149f74);}async[_0x15931e(0xb4)](_0x14d2df){const _0x24135e=_0x15931e,_0x459766=this['_injector']['get'](r[_0x24135e(0xa9)]);if(!_0x459766)throw new Error(_0x24135e(0xca));return _0x459766[_0x24135e(0xbf)](_0x14d2df);}async[_0x15931e(0xc6)](_0x374423){const _0x5d7d04=_0x15931e;return this[_0x5d7d04(0xb3)](_0x374423);}async[_0x15931e(0xb3)](_0x41dc54){const _0x5597ab=_0x15931e,_0x208e64=this[_0x5597ab(0xb0)]['get'](r[_0x5597ab(0xa9)]);if(!_0x208e64)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x208e64[_0x5597ab(0xc1)](_0x41dc54,o['UNIVER_DOC']);}async[_0x15931e(0xc8)](_0x58e1b2){const _0x55fbe0=_0x15931e;return this[_0x55fbe0(0xc0)](_0x58e1b2);}async[_0x15931e(0xc0)](_0x2a0cad){const _0x2aaeef=_0x15931e,_0x2431c6=this['_injector'][_0x2aaeef(0xc4)](r[_0x2aaeef(0xa9)]);if(!_0x2431c6)throw new Error(_0x2aaeef(0xca));return _0x2431c6[_0x2aaeef(0xc8)](_0x2a0cad);}}i['FUniver'][_0x15931e(0xac)](c);