@univerjs-pro/exchange-client 0.5.2-nightly.202501031606 → 0.5.3-experimental.20250106-e3b7a39

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 _0x44c272=_0x277b;function _0x50be(){const _0x12d7ab=['importFileToUnitId','FUniver','402799qCMzkr','_injector','660pBLuwJ','get','7078CiJUBa','44919cErHFq','UNIVER_SLIDE','UNRECOGNIZED','1077ebCmVR','importXLSXToUnitId','UNIVER_UNKNOWN','UNIVER_PROJECT','1258725ujOlbD','importXLSXToSnapshot','56BbcaUJ','204479DSNwEX','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','IExchangeService','217788woEijR','exportXLSXBySnapshot','UNIVER_SHEET','extend','1180956KdwrbE','98VeUHYd','exportXLSXByUnitId'];_0x50be=function(){return _0x12d7ab;};return _0x50be();}(function(_0x36e051,_0x33a4fe){const _0x5e2428=_0x277b,_0xc0afd1=_0x36e051();while(!![]){try{const _0x1de2ef=-parseInt(_0x5e2428(0x14b))/0x1+-parseInt(_0x5e2428(0x133))/0x2*(parseInt(_0x5e2428(0x137))/0x3)+parseInt(_0x5e2428(0x146))/0x4+parseInt(_0x5e2428(0x13b))/0x5+-parseInt(_0x5e2428(0x142))/0x6*(-parseInt(_0x5e2428(0x147))/0x7)+-parseInt(_0x5e2428(0x13d))/0x8*(-parseInt(_0x5e2428(0x134))/0x9)+-parseInt(_0x5e2428(0x131))/0xa*(-parseInt(_0x5e2428(0x13e))/0xb);if(_0x1de2ef===_0x33a4fe)break;else _0xc0afd1['push'](_0xc0afd1['shift']());}catch(_0x337db0){_0xc0afd1['push'](_0xc0afd1['shift']());}}}(_0x50be,0x9d253));const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x277b(_0x1e5533,_0x57e8dd){const _0x50be9d=_0x50be();return _0x277b=function(_0x277b57,_0x465bfe){_0x277b57=_0x277b57-0x131;let _0x31d337=_0x50be9d[_0x277b57];return _0x31d337;},_0x277b(_0x1e5533,_0x57e8dd);}var i=(_0x131b1d=>(_0x131b1d[_0x131b1d[_0x44c272(0x139)]=0x0]=_0x44c272(0x139),_0x131b1d[_0x131b1d['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x131b1d[_0x131b1d[_0x44c272(0x144)]=0x2]=_0x44c272(0x144),_0x131b1d[_0x131b1d[_0x44c272(0x135)]=0x3]='UNIVER_SLIDE',_0x131b1d[_0x131b1d[_0x44c272(0x13a)]=0x4]=_0x44c272(0x13a),_0x131b1d[_0x131b1d[_0x44c272(0x136)]=-0x1]=_0x44c272(0x136),_0x131b1d))(i||{});class o extends c[_0x44c272(0x14a)]{async[_0x44c272(0x138)](_0x3b4120){const _0x445daf=_0x44c272,_0x42d798=this[_0x445daf(0x14c)][_0x445daf(0x132)](n['IExchangeService']);if(!_0x42d798)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x42d798[_0x445daf(0x149)](_0x3b4120,i[_0x445daf(0x144)]);}async[_0x44c272(0x13c)](_0x2e12fd){const _0x1c6189=_0x44c272,_0x5445bb=this['_injector'][_0x1c6189(0x132)](n[_0x1c6189(0x141)]);if(!_0x5445bb)throw new Error(_0x1c6189(0x13f));return _0x5445bb[_0x1c6189(0x13c)](_0x2e12fd);}async[_0x44c272(0x148)](_0x588bf1){const _0x1f2782=_0x44c272,_0x10ffae=this[_0x1f2782(0x14c)][_0x1f2782(0x132)](n[_0x1f2782(0x141)]);if(!_0x10ffae)throw new Error(_0x1f2782(0x13f));return _0x10ffae['exportXLSXByUnitId'](_0x588bf1);}async['exportXLSXBySnapshot'](_0x304015){const _0x4ccbcb=_0x44c272,_0x5083af=this['_injector'][_0x4ccbcb(0x132)](n[_0x4ccbcb(0x141)]);if(!_0x5083af)throw new Error(_0x4ccbcb(0x13f));return _0x5083af[_0x4ccbcb(0x143)](_0x304015);}async[_0x44c272(0x140)](_0x2dfd99){const _0x1377ed=_0x44c272,_0x7bf1eb=this[_0x1377ed(0x14c)][_0x1377ed(0x132)](n[_0x1377ed(0x141)]);if(!_0x7bf1eb)throw new Error(_0x1377ed(0x13f));return _0x7bf1eb[_0x1377ed(0x149)](_0x2dfd99,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x5ed36e){const _0x51fe91=_0x44c272,_0xb47ab0=this[_0x51fe91(0x14c)][_0x51fe91(0x132)](n[_0x51fe91(0x141)]);if(!_0xb47ab0)throw new Error(_0x51fe91(0x13f));return _0xb47ab0['importDOCXToSnapshot'](_0x5ed36e);}}c[_0x44c272(0x14a)][_0x44c272(0x145)](o);
1
+ 'use strict';const _0x3864b6=_0x4d6b;(function(_0xff1b48,_0x2ecfab){const _0x1d4cb1=_0x4d6b,_0x4259bb=_0xff1b48();while(!![]){try{const _0x542690=parseInt(_0x1d4cb1(0x167))/0x1*(-parseInt(_0x1d4cb1(0x176))/0x2)+parseInt(_0x1d4cb1(0x162))/0x3+-parseInt(_0x1d4cb1(0x16e))/0x4*(-parseInt(_0x1d4cb1(0x178))/0x5)+parseInt(_0x1d4cb1(0x15b))/0x6*(parseInt(_0x1d4cb1(0x160))/0x7)+parseInt(_0x1d4cb1(0x16f))/0x8*(parseInt(_0x1d4cb1(0x16b))/0x9)+-parseInt(_0x1d4cb1(0x179))/0xa*(-parseInt(_0x1d4cb1(0x170))/0xb)+-parseInt(_0x1d4cb1(0x169))/0xc;if(_0x542690===_0x2ecfab)break;else _0x4259bb['push'](_0x4259bb['shift']());}catch(_0x19cdc7){_0x4259bb['push'](_0x4259bb['shift']());}}}(_0x4034,0xbb937));function _0x4d6b(_0x5186b2,_0x45ab22){const _0x403450=_0x4034();return _0x4d6b=function(_0x4d6b34,_0x4b4ab6){_0x4d6b34=_0x4d6b34-0x15b;let _0x5034e8=_0x403450[_0x4d6b34];return _0x5034e8;},_0x4d6b(_0x5186b2,_0x45ab22);}function _0x4034(){const _0xa3bd78=['importFileToUnitId','importXLSXToSnapshot','4uUSgZo','40kevpRl','5191230zlcwEi','UNRECOGNIZED','FUniver','UNIVER_SLIDE','importDOCXToSnapshot','IExchangeService','1820042vwkPxx','UNIVER_DOC','2964075itrxuM','10uCHoXm','138XKDFwg','importDOCXToUnitId','@univerjs/core','exportXLSXBySnapshot','UNIVER_SHEET','303121RBATaF','The\x20exchange\x20service\x20is\x20not\x20available','1277262WphWWw','exportXLSXByUnitId','_injector','UNIVER_PROJECT','get','1CaSPst','@univerjs-pro/exchange-client','23719512XCPeNF','extend','2103282qABOMM'];_0x4034=function(){return _0xa3bd78;};return _0x4034();}const c=require(_0x3864b6(0x15d)),n=require(_0x3864b6(0x168));var i=(_0x8aef10=>(_0x8aef10[_0x8aef10['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x8aef10[_0x8aef10[_0x3864b6(0x177)]=0x1]='UNIVER_DOC',_0x8aef10[_0x8aef10[_0x3864b6(0x15f)]=0x2]=_0x3864b6(0x15f),_0x8aef10[_0x8aef10[_0x3864b6(0x173)]=0x3]=_0x3864b6(0x173),_0x8aef10[_0x8aef10[_0x3864b6(0x165)]=0x4]=_0x3864b6(0x165),_0x8aef10[_0x8aef10[_0x3864b6(0x171)]=-0x1]=_0x3864b6(0x171),_0x8aef10))(i||{});class o extends c[_0x3864b6(0x172)]{async['importXLSXToUnitId'](_0x1f44fd){const _0x1d0be3=_0x3864b6,_0x22374c=this[_0x1d0be3(0x164)][_0x1d0be3(0x166)](n['IExchangeService']);if(!_0x22374c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x22374c[_0x1d0be3(0x16c)](_0x1f44fd,i['UNIVER_SHEET']);}async[_0x3864b6(0x16d)](_0x5b455d){const _0x476920=_0x3864b6,_0x488065=this[_0x476920(0x164)][_0x476920(0x166)](n[_0x476920(0x175)]);if(!_0x488065)throw new Error(_0x476920(0x161));return _0x488065['importXLSXToSnapshot'](_0x5b455d);}async[_0x3864b6(0x163)](_0x2c6d86){const _0x42e383=_0x3864b6,_0x562b24=this[_0x42e383(0x164)][_0x42e383(0x166)](n[_0x42e383(0x175)]);if(!_0x562b24)throw new Error(_0x42e383(0x161));return _0x562b24[_0x42e383(0x163)](_0x2c6d86);}async['exportXLSXBySnapshot'](_0x523575){const _0x2691f9=_0x3864b6,_0x3f3bf7=this[_0x2691f9(0x164)][_0x2691f9(0x166)](n[_0x2691f9(0x175)]);if(!_0x3f3bf7)throw new Error(_0x2691f9(0x161));return _0x3f3bf7[_0x2691f9(0x15e)](_0x523575);}async[_0x3864b6(0x15c)](_0x536472){const _0x5cf6e2=_0x3864b6,_0x33efc0=this['_injector']['get'](n[_0x5cf6e2(0x175)]);if(!_0x33efc0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x33efc0[_0x5cf6e2(0x16c)](_0x536472,i[_0x5cf6e2(0x177)]);}async[_0x3864b6(0x174)](_0x5d4707){const _0x4aa229=_0x3864b6,_0x12e8a9=this[_0x4aa229(0x164)][_0x4aa229(0x166)](n['IExchangeService']);if(!_0x12e8a9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x12e8a9[_0x4aa229(0x174)](_0x5d4707);}}c[_0x3864b6(0x172)][_0x3864b6(0x16a)](o);