@univerjs-pro/exchange-client 0.5.1-nightly.202412171234 → 0.5.1-nightly.202412171606

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 _0x9b98a5=_0x36a8;(function(_0x438755,_0xea5beb){const _0x191f69=_0x36a8,_0x4e6d5e=_0x438755();while(!![]){try{const _0xa0ea4f=parseInt(_0x191f69(0x1ea))/0x1+parseInt(_0x191f69(0x1d7))/0x2+parseInt(_0x191f69(0x1ec))/0x3+parseInt(_0x191f69(0x1df))/0x4*(parseInt(_0x191f69(0x1e3))/0x5)+-parseInt(_0x191f69(0x1d8))/0x6+-parseInt(_0x191f69(0x1db))/0x7+parseInt(_0x191f69(0x1e1))/0x8*(-parseInt(_0x191f69(0x1e2))/0x9);if(_0xa0ea4f===_0xea5beb)break;else _0x4e6d5e['push'](_0x4e6d5e['shift']());}catch(_0x172a87){_0x4e6d5e['push'](_0x4e6d5e['shift']());}}}(_0x4ec4,0xe4bea));const c=require(_0x9b98a5(0x1d1)),n=require(_0x9b98a5(0x1eb));var i=(_0x2b5500=>(_0x2b5500[_0x2b5500[_0x9b98a5(0x1d3)]=0x0]='UNIVER_UNKNOWN',_0x2b5500[_0x2b5500[_0x9b98a5(0x1d9)]=0x1]='UNIVER_DOC',_0x2b5500[_0x2b5500[_0x9b98a5(0x1d6)]=0x2]=_0x9b98a5(0x1d6),_0x2b5500[_0x2b5500['UNIVER_SLIDE']=0x3]=_0x9b98a5(0x1e6),_0x2b5500[_0x2b5500[_0x9b98a5(0x1d4)]=0x4]=_0x9b98a5(0x1d4),_0x2b5500[_0x2b5500[_0x9b98a5(0x1e9)]=-0x1]=_0x9b98a5(0x1e9),_0x2b5500))(i||{});function _0x36a8(_0x4cead8,_0x308e70){const _0x4ec4d5=_0x4ec4();return _0x36a8=function(_0x36a862,_0x498d13){_0x36a862=_0x36a862-0x1d1;let _0x11f572=_0x4ec4d5[_0x36a862];return _0x11f572;},_0x36a8(_0x4cead8,_0x308e70);}function _0x4ec4(){const _0x596106=['UNIVER_SHEET','729854NchILK','701646UWJAwd','UNIVER_DOC','importFileToUnitId','5349337FUttDU','extend','get','exportXLSXByUnitId','12616Fuewvd','importDOCXToUnitId','2224MIdKJJ','29556lAPjAE','375nTdyNg','importDOCXToSnapshot','IExchangeService','UNIVER_SLIDE','importXLSXToSnapshot','FUniver','UNRECOGNIZED','263210ztbHLa','@univerjs-pro/exchange-client','5599005kWcTwK','_injector','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNIVER_PROJECT','importXLSXToUnitId'];_0x4ec4=function(){return _0x596106;};return _0x4ec4();}class o extends c[_0x9b98a5(0x1e8)]{async[_0x9b98a5(0x1d5)](_0x155689){const _0x1b02c2=_0x9b98a5,_0x422532=this[_0x1b02c2(0x1ed)][_0x1b02c2(0x1dd)](n[_0x1b02c2(0x1e5)]);if(!_0x422532)throw new Error(_0x1b02c2(0x1ee));return _0x422532[_0x1b02c2(0x1da)](_0x155689,i['UNIVER_SHEET']);}async[_0x9b98a5(0x1e7)](_0x9b70fe){const _0x46cd0b=_0x9b98a5,_0x1f268a=this[_0x46cd0b(0x1ed)][_0x46cd0b(0x1dd)](n[_0x46cd0b(0x1e5)]);if(!_0x1f268a)throw new Error(_0x46cd0b(0x1ee));return _0x1f268a[_0x46cd0b(0x1e7)](_0x9b70fe);}async[_0x9b98a5(0x1de)](_0x91f13){const _0x4134b9=_0x9b98a5,_0x1aae08=this[_0x4134b9(0x1ed)][_0x4134b9(0x1dd)](n[_0x4134b9(0x1e5)]);if(!_0x1aae08)throw new Error(_0x4134b9(0x1ee));return _0x1aae08['exportXLSXByUnitId'](_0x91f13);}async[_0x9b98a5(0x1d2)](_0x2c89d1){const _0x3cfc72=_0x9b98a5,_0x3f6c2f=this[_0x3cfc72(0x1ed)][_0x3cfc72(0x1dd)](n[_0x3cfc72(0x1e5)]);if(!_0x3f6c2f)throw new Error(_0x3cfc72(0x1ee));return _0x3f6c2f[_0x3cfc72(0x1d2)](_0x2c89d1);}async[_0x9b98a5(0x1e0)](_0x132a81){const _0xc0b6ed=_0x9b98a5,_0x28282c=this[_0xc0b6ed(0x1ed)][_0xc0b6ed(0x1dd)](n['IExchangeService']);if(!_0x28282c)throw new Error(_0xc0b6ed(0x1ee));return _0x28282c[_0xc0b6ed(0x1da)](_0x132a81,i[_0xc0b6ed(0x1d9)]);}async[_0x9b98a5(0x1e4)](_0x1f2b75){const _0x65ac26=_0x9b98a5,_0x27523e=this[_0x65ac26(0x1ed)][_0x65ac26(0x1dd)](n['IExchangeService']);if(!_0x27523e)throw new Error(_0x65ac26(0x1ee));return _0x27523e[_0x65ac26(0x1e4)](_0x1f2b75);}}c[_0x9b98a5(0x1e8)][_0x9b98a5(0x1dc)](o);
1
+ 'use strict';const _0x348f68=_0x2abe;(function(_0x5b144b,_0x2572d8){const _0x26eac8=_0x2abe,_0x5e9459=_0x5b144b();while(!![]){try{const _0x5009fc=-parseInt(_0x26eac8(0x8c))/0x1+parseInt(_0x26eac8(0xa1))/0x2+parseInt(_0x26eac8(0x99))/0x3+parseInt(_0x26eac8(0x93))/0x4+-parseInt(_0x26eac8(0xa6))/0x5+parseInt(_0x26eac8(0x9f))/0x6*(-parseInt(_0x26eac8(0xa3))/0x7)+parseInt(_0x26eac8(0x97))/0x8*(parseInt(_0x26eac8(0x94))/0x9);if(_0x5009fc===_0x2572d8)break;else _0x5e9459['push'](_0x5e9459['shift']());}catch(_0x1daba9){_0x5e9459['push'](_0x5e9459['shift']());}}}(_0x4d87,0x83f6d));function _0x4d87(){const _0x3345fe=['importXLSXToSnapshot','UNIVER_PROJECT','UNIVER_DOC','importFileToUnitId','12RBRYpg','UNIVER_UNKNOWN','1997004sTkJqi','UNRECOGNIZED','2133131OFuTCN','importDOCXToSnapshot','exportXLSXBySnapshot','2140870BzbjkX','exportXLSXByUnitId','extend','1064646kxzsjG','importDOCXToUnitId','get','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','FUniver','794296ERvLLV','450XeJVND','UNIVER_SHEET','importXLSXToUnitId','127384IMIZrp','_injector','1948755EYcYSz','UNIVER_SLIDE'];_0x4d87=function(){return _0x3345fe;};return _0x4d87();}const c=require('@univerjs/core'),n=require(_0x348f68(0x8f));var i=(_0x55bdb4=>(_0x55bdb4[_0x55bdb4[_0x348f68(0xa0)]=0x0]=_0x348f68(0xa0),_0x55bdb4[_0x55bdb4[_0x348f68(0x9d)]=0x1]=_0x348f68(0x9d),_0x55bdb4[_0x55bdb4['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x55bdb4[_0x55bdb4[_0x348f68(0x9a)]=0x3]=_0x348f68(0x9a),_0x55bdb4[_0x55bdb4[_0x348f68(0x9c)]=0x4]=_0x348f68(0x9c),_0x55bdb4[_0x55bdb4[_0x348f68(0xa2)]=-0x1]=_0x348f68(0xa2),_0x55bdb4))(i||{});function _0x2abe(_0x25ca1b,_0x476a66){const _0x4d8708=_0x4d87();return _0x2abe=function(_0x2abec4,_0x57e03d){_0x2abec4=_0x2abec4-0x8a;let _0x4cebd9=_0x4d8708[_0x2abec4];return _0x4cebd9;},_0x2abe(_0x25ca1b,_0x476a66);}class o extends c['FUniver']{async[_0x348f68(0x96)](_0x1f063b){const _0x1eedc8=_0x348f68,_0x453f99=this['_injector'][_0x1eedc8(0x8e)](n[_0x1eedc8(0x91)]);if(!_0x453f99)throw new Error(_0x1eedc8(0x90));return _0x453f99['importFileToUnitId'](_0x1f063b,i[_0x1eedc8(0x95)]);}async[_0x348f68(0x9b)](_0x5ef158){const _0x3365d8=_0x348f68,_0x22e16f=this[_0x3365d8(0x98)][_0x3365d8(0x8e)](n[_0x3365d8(0x91)]);if(!_0x22e16f)throw new Error(_0x3365d8(0x90));return _0x22e16f[_0x3365d8(0x9b)](_0x5ef158);}async['exportXLSXByUnitId'](_0x1b6894){const _0x562735=_0x348f68,_0x391be3=this[_0x562735(0x98)][_0x562735(0x8e)](n[_0x562735(0x91)]);if(!_0x391be3)throw new Error(_0x562735(0x90));return _0x391be3[_0x562735(0x8a)](_0x1b6894);}async['exportXLSXBySnapshot'](_0x52314f){const _0x36a7b7=_0x348f68,_0x39b8fc=this['_injector'][_0x36a7b7(0x8e)](n[_0x36a7b7(0x91)]);if(!_0x39b8fc)throw new Error(_0x36a7b7(0x90));return _0x39b8fc[_0x36a7b7(0xa5)](_0x52314f);}async[_0x348f68(0x8d)](_0x37dff1){const _0x15f71a=_0x348f68,_0x3d5953=this[_0x15f71a(0x98)]['get'](n[_0x15f71a(0x91)]);if(!_0x3d5953)throw new Error(_0x15f71a(0x90));return _0x3d5953[_0x15f71a(0x9e)](_0x37dff1,i[_0x15f71a(0x9d)]);}async[_0x348f68(0xa4)](_0x52b4c5){const _0x4b532a=_0x348f68,_0x4c4746=this['_injector']['get'](n['IExchangeService']);if(!_0x4c4746)throw new Error(_0x4b532a(0x90));return _0x4c4746[_0x4b532a(0xa4)](_0x52b4c5);}}c[_0x348f68(0x92)][_0x348f68(0x8b)](o);