@univerjs-pro/exchange-client 0.5.1-nightly.202412111606 → 0.5.1-nightly.202412120301

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 _0x2bbff3=_0x23e9;function _0x23e9(_0x7a33cb,_0x3e01b3){const _0x87dc7=_0x87dc();return _0x23e9=function(_0x23e98c,_0x1c1cac){_0x23e98c=_0x23e98c-0x8c;let _0x2a27c1=_0x87dc7[_0x23e98c];return _0x2a27c1;},_0x23e9(_0x7a33cb,_0x3e01b3);}function _0x87dc(){const _0x3143bc=['42kfksZj','importDOCXToSnapshot','291878SDpRhX','189350HZiKWT','UNIVER_SLIDE','@univerjs-pro/exchange-client','get','UNIVER_SHEET','1907848stTLyS','44tgEoPc','FUniver','2256651yARuSY','_injector','651207EuTjud','extend','UNIVER_DOC','importXLSXToUnitId','UNRECOGNIZED','importFileToUnitId','150871PLwpdA','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_PROJECT','exportXLSXBySnapshot','UNIVER_UNKNOWN','importDOCXToUnitId','IExchangeService','422490CkksKj','importXLSXToSnapshot','@univerjs/core'];_0x87dc=function(){return _0x3143bc;};return _0x87dc();}(function(_0x2c8102,_0x710507){const _0x3e0aa9=_0x23e9,_0xae162e=_0x2c8102();while(!![]){try{const _0x28a828=parseInt(_0x3e0aa9(0x8c))/0x1+-parseInt(_0x3e0aa9(0x98))/0x2+parseInt(_0x3e0aa9(0xa3))/0x3+-parseInt(_0x3e0aa9(0x9f))/0x4*(parseInt(_0x3e0aa9(0x99))/0x5)+-parseInt(_0x3e0aa9(0x93))/0x6*(-parseInt(_0x3e0aa9(0x96))/0x7)+-parseInt(_0x3e0aa9(0x9e))/0x8+parseInt(_0x3e0aa9(0xa1))/0x9;if(_0x28a828===_0x710507)break;else _0xae162e['push'](_0xae162e['shift']());}catch(_0x106c53){_0xae162e['push'](_0xae162e['shift']());}}}(_0x87dc,0x3aa33));const c=require(_0x2bbff3(0x95)),n=require(_0x2bbff3(0x9b));var i=(_0x200674=>(_0x200674[_0x200674['UNIVER_UNKNOWN']=0x0]=_0x2bbff3(0x90),_0x200674[_0x200674[_0x2bbff3(0xa5)]=0x1]='UNIVER_DOC',_0x200674[_0x200674['UNIVER_SHEET']=0x2]=_0x2bbff3(0x9d),_0x200674[_0x200674['UNIVER_SLIDE']=0x3]=_0x2bbff3(0x9a),_0x200674[_0x200674[_0x2bbff3(0x8e)]=0x4]=_0x2bbff3(0x8e),_0x200674[_0x200674[_0x2bbff3(0xa7)]=-0x1]='UNRECOGNIZED',_0x200674))(i||{});class o extends c[_0x2bbff3(0xa0)]{async[_0x2bbff3(0xa6)](_0x58f784){const _0x3598da=_0x2bbff3,_0x288560=this['_injector'][_0x3598da(0x9c)](n['IExchangeService']);if(!_0x288560)throw new Error(_0x3598da(0x8d));return _0x288560[_0x3598da(0xa8)](_0x58f784,i[_0x3598da(0x9d)]);}async[_0x2bbff3(0x94)](_0x255747){const _0x399c94=_0x2bbff3,_0x47016f=this[_0x399c94(0xa2)][_0x399c94(0x9c)](n[_0x399c94(0x92)]);if(!_0x47016f)throw new Error(_0x399c94(0x8d));return _0x47016f[_0x399c94(0x94)](_0x255747);}async['exportXLSXByUnitId'](_0x4e5367){const _0x5a2204=_0x2bbff3,_0x4fae4f=this['_injector'][_0x5a2204(0x9c)](n[_0x5a2204(0x92)]);if(!_0x4fae4f)throw new Error(_0x5a2204(0x8d));return _0x4fae4f['exportXLSXByUnitId'](_0x4e5367);}async['exportXLSXBySnapshot'](_0x338604){const _0x17f56f=_0x2bbff3,_0x18effb=this[_0x17f56f(0xa2)][_0x17f56f(0x9c)](n[_0x17f56f(0x92)]);if(!_0x18effb)throw new Error(_0x17f56f(0x8d));return _0x18effb[_0x17f56f(0x8f)](_0x338604);}async[_0x2bbff3(0x91)](_0x423d2b){const _0x212038=_0x2bbff3,_0x542677=this[_0x212038(0xa2)][_0x212038(0x9c)](n['IExchangeService']);if(!_0x542677)throw new Error(_0x212038(0x8d));return _0x542677[_0x212038(0xa8)](_0x423d2b,i[_0x212038(0xa5)]);}async[_0x2bbff3(0x97)](_0x184165){const _0x10fbe9=_0x2bbff3,_0x37f891=this[_0x10fbe9(0xa2)][_0x10fbe9(0x9c)](n['IExchangeService']);if(!_0x37f891)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x37f891[_0x10fbe9(0x97)](_0x184165);}}c[_0x2bbff3(0xa0)][_0x2bbff3(0xa4)](o);
1
+ 'use strict';const _0x3f18ba=_0x1509;function _0x4525(){const _0x3e984e=['UNIVER_UNKNOWN','UNIVER_PROJECT','exportXLSXByUnitId','UNIVER_DOC','10bfsBTM','2984LGRuVM','1278jHcLed','80tfFfEr','11165022VNNXgW','100194DtpsgZ','11133488IrTeFp','14616404dtNoYB','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshot','importDOCXToSnapshot','@univerjs/core','_injector','6153yfzoVt','importXLSXToUnitId','get','importFileToUnitId','UNRECOGNIZED','5013155VvKpGw','@univerjs-pro/exchange-client','FUniver','IExchangeService','importXLSXToSnapshot','UNIVER_SHEET','12DWoWou','13LTdybj','importDOCXToUnitId'];_0x4525=function(){return _0x3e984e;};return _0x4525();}(function(_0x557dab,_0x874ef6){const _0x2f4e90=_0x1509,_0x3fc7b6=_0x557dab();while(!![]){try{const _0x54383=-parseInt(_0x2f4e90(0x201))/0x1*(-parseInt(_0x2f4e90(0x209))/0x2)+parseInt(_0x2f4e90(0x1f5))/0x3*(parseInt(_0x2f4e90(0x208))/0x4)+parseInt(_0x2f4e90(0x20a))/0x5*(-parseInt(_0x2f4e90(0x20c))/0x6)+parseInt(_0x2f4e90(0x1fa))/0x7+parseInt(_0x2f4e90(0x20d))/0x8+parseInt(_0x2f4e90(0x20b))/0x9*(-parseInt(_0x2f4e90(0x207))/0xa)+parseInt(_0x2f4e90(0x1ef))/0xb*(-parseInt(_0x2f4e90(0x200))/0xc);if(_0x54383===_0x874ef6)break;else _0x3fc7b6['push'](_0x3fc7b6['shift']());}catch(_0x545ba8){_0x3fc7b6['push'](_0x3fc7b6['shift']());}}}(_0x4525,0xc5ae2));const c=require(_0x3f18ba(0x1f3)),n=require(_0x3f18ba(0x1fb));function _0x1509(_0x4a09ad,_0x2af23c){const _0x452533=_0x4525();return _0x1509=function(_0x150906,_0x18e4b0){_0x150906=_0x150906-0x1ef;let _0xd5e237=_0x452533[_0x150906];return _0xd5e237;},_0x1509(_0x4a09ad,_0x2af23c);}var i=(_0x581ee2=>(_0x581ee2[_0x581ee2['UNIVER_UNKNOWN']=0x0]=_0x3f18ba(0x203),_0x581ee2[_0x581ee2[_0x3f18ba(0x206)]=0x1]='UNIVER_DOC',_0x581ee2[_0x581ee2[_0x3f18ba(0x1ff)]=0x2]=_0x3f18ba(0x1ff),_0x581ee2[_0x581ee2['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x581ee2[_0x581ee2[_0x3f18ba(0x204)]=0x4]='UNIVER_PROJECT',_0x581ee2[_0x581ee2[_0x3f18ba(0x1f9)]=-0x1]=_0x3f18ba(0x1f9),_0x581ee2))(i||{});class o extends c[_0x3f18ba(0x1fc)]{async[_0x3f18ba(0x1f6)](_0x33fc7e){const _0x564916=_0x3f18ba,_0x2b69cb=this[_0x564916(0x1f4)][_0x564916(0x1f7)](n[_0x564916(0x1fd)]);if(!_0x2b69cb)throw new Error(_0x564916(0x1f0));return _0x2b69cb[_0x564916(0x1f8)](_0x33fc7e,i[_0x564916(0x1ff)]);}async['importXLSXToSnapshot'](_0x2b52e9){const _0x19d61d=_0x3f18ba,_0x3dd1af=this[_0x19d61d(0x1f4)][_0x19d61d(0x1f7)](n['IExchangeService']);if(!_0x3dd1af)throw new Error(_0x19d61d(0x1f0));return _0x3dd1af[_0x19d61d(0x1fe)](_0x2b52e9);}async[_0x3f18ba(0x205)](_0x15685f){const _0x2cc43c=_0x3f18ba,_0x31be53=this[_0x2cc43c(0x1f4)][_0x2cc43c(0x1f7)](n[_0x2cc43c(0x1fd)]);if(!_0x31be53)throw new Error(_0x2cc43c(0x1f0));return _0x31be53[_0x2cc43c(0x205)](_0x15685f);}async['exportXLSXBySnapshot'](_0x181938){const _0x303771=_0x3f18ba,_0x3faff3=this[_0x303771(0x1f4)][_0x303771(0x1f7)](n[_0x303771(0x1fd)]);if(!_0x3faff3)throw new Error(_0x303771(0x1f0));return _0x3faff3[_0x303771(0x1f1)](_0x181938);}async[_0x3f18ba(0x202)](_0x55b33d){const _0x3e9c4c=_0x3f18ba,_0x79e473=this['_injector'][_0x3e9c4c(0x1f7)](n[_0x3e9c4c(0x1fd)]);if(!_0x79e473)throw new Error(_0x3e9c4c(0x1f0));return _0x79e473[_0x3e9c4c(0x1f8)](_0x55b33d,i[_0x3e9c4c(0x206)]);}async[_0x3f18ba(0x1f2)](_0x12158c){const _0x171337=_0x3f18ba,_0x22d1a2=this['_injector'][_0x171337(0x1f7)](n[_0x171337(0x1fd)]);if(!_0x22d1a2)throw new Error(_0x171337(0x1f0));return _0x22d1a2[_0x171337(0x1f2)](_0x12158c);}}c[_0x3f18ba(0x1fc)]['extend'](o);