@univerjs-pro/exchange-client 0.5.1-nightly.202412180740 → 0.5.1-nightly.202412181606

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 _0xc7b53c=_0x1aa2;(function(_0x31311a,_0x14e5d2){const _0x42b717=_0x1aa2,_0x2fc67a=_0x31311a();while(!![]){try{const _0x50e395=parseInt(_0x42b717(0x158))/0x1+parseInt(_0x42b717(0x15a))/0x2*(-parseInt(_0x42b717(0x14e))/0x3)+-parseInt(_0x42b717(0x154))/0x4*(parseInt(_0x42b717(0x153))/0x5)+-parseInt(_0x42b717(0x161))/0x6*(-parseInt(_0x42b717(0x15c))/0x7)+parseInt(_0x42b717(0x162))/0x8+parseInt(_0x42b717(0x159))/0x9*(-parseInt(_0x42b717(0x15f))/0xa)+parseInt(_0x42b717(0x14f))/0xb;if(_0x50e395===_0x14e5d2)break;else _0x2fc67a['push'](_0x2fc67a['shift']());}catch(_0x59aa4b){_0x2fc67a['push'](_0x2fc67a['shift']());}}}(_0x1ead,0x48545));function _0x1ead(){const _0x3b5758=['2107404ZiHUUw','4493608vzgCxD','importDOCXToSnapshot','get','UNIVER_SHEET','exportXLSXByUnitId','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','FUniver','UNIVER_SLIDE','6GVZAPQ','810865QSeCmH','_injector','importDOCXToUnitId','IExchangeService','535hpqWAA','11824iIjImw','importFileToUnitId','importXLSXToUnitId','importXLSXToSnapshot','250404vdKwMN','315tddeNb','580436DFJcBV','UNIVER_DOC','7ldJZiq','UNIVER_PROJECT','extend','12590wUrXLu','exportXLSXBySnapshot'];_0x1ead=function(){return _0x3b5758;};return _0x1ead();}const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');var i=(_0x531d5e=>(_0x531d5e[_0x531d5e[_0xc7b53c(0x14b)]=0x0]=_0xc7b53c(0x14b),_0x531d5e[_0x531d5e[_0xc7b53c(0x15b)]=0x1]=_0xc7b53c(0x15b),_0x531d5e[_0x531d5e[_0xc7b53c(0x147)]=0x2]=_0xc7b53c(0x147),_0x531d5e[_0x531d5e[_0xc7b53c(0x14d)]=0x3]='UNIVER_SLIDE',_0x531d5e[_0x531d5e[_0xc7b53c(0x15d)]=0x4]='UNIVER_PROJECT',_0x531d5e[_0x531d5e[_0xc7b53c(0x149)]=-0x1]=_0xc7b53c(0x149),_0x531d5e))(i||{});class o extends c[_0xc7b53c(0x14c)]{async[_0xc7b53c(0x156)](_0x295b7c){const _0x34324c=_0xc7b53c,_0x32b57f=this['_injector']['get'](n[_0x34324c(0x152)]);if(!_0x32b57f)throw new Error(_0x34324c(0x14a));return _0x32b57f[_0x34324c(0x155)](_0x295b7c,i[_0x34324c(0x147)]);}async[_0xc7b53c(0x157)](_0x3b2a99){const _0x5d1b5f=_0xc7b53c,_0x4f7f0a=this['_injector'][_0x5d1b5f(0x146)](n[_0x5d1b5f(0x152)]);if(!_0x4f7f0a)throw new Error(_0x5d1b5f(0x14a));return _0x4f7f0a[_0x5d1b5f(0x157)](_0x3b2a99);}async['exportXLSXByUnitId'](_0x197c98){const _0x4d64e8=_0xc7b53c,_0x5690c4=this[_0x4d64e8(0x150)][_0x4d64e8(0x146)](n[_0x4d64e8(0x152)]);if(!_0x5690c4)throw new Error(_0x4d64e8(0x14a));return _0x5690c4[_0x4d64e8(0x148)](_0x197c98);}async['exportXLSXBySnapshot'](_0x2abf91){const _0x48ff97=_0xc7b53c,_0xe4e3d=this[_0x48ff97(0x150)][_0x48ff97(0x146)](n['IExchangeService']);if(!_0xe4e3d)throw new Error(_0x48ff97(0x14a));return _0xe4e3d[_0x48ff97(0x160)](_0x2abf91);}async[_0xc7b53c(0x151)](_0x56cf5c){const _0x10e9c5=_0xc7b53c,_0x281a26=this[_0x10e9c5(0x150)][_0x10e9c5(0x146)](n[_0x10e9c5(0x152)]);if(!_0x281a26)throw new Error(_0x10e9c5(0x14a));return _0x281a26['importFileToUnitId'](_0x56cf5c,i[_0x10e9c5(0x15b)]);}async[_0xc7b53c(0x163)](_0x1ebbc0){const _0x4f7d03=_0xc7b53c,_0x574e86=this[_0x4f7d03(0x150)]['get'](n[_0x4f7d03(0x152)]);if(!_0x574e86)throw new Error(_0x4f7d03(0x14a));return _0x574e86[_0x4f7d03(0x163)](_0x1ebbc0);}}function _0x1aa2(_0xc8bdd9,_0x42fd8b){const _0x1ead77=_0x1ead();return _0x1aa2=function(_0x1aa267,_0x18540f){_0x1aa267=_0x1aa267-0x146;let _0x383ec8=_0x1ead77[_0x1aa267];return _0x383ec8;},_0x1aa2(_0xc8bdd9,_0x42fd8b);}c['FUniver'][_0xc7b53c(0x15e)](o);
1
+ 'use strict';function _0x293f(){const _0xb3e90e=['5143448YNYQyz','exportXLSXBySnapshot','6985GOelsc','5MWCEyF','UNIVER_DOC','UNRECOGNIZED','extend','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','UNIVER_PROJECT','UNIVER_SLIDE','importDOCXToUnitId','13039810SJXjCd','importXLSXToUnitId','63FiWEFq','exportXLSXByUnitId','5834736hOlbYl','FUniver','6UPLnZF','159830MtzLfN','5290nTbzzX','importFileToUnitId','_injector','12uZONuM','1425593TFIFTK','importDOCXToSnapshot','UNIVER_UNKNOWN','9ppBPki','986808XGcaEn','importXLSXToSnapshot','UNIVER_SHEET','get'];_0x293f=function(){return _0xb3e90e;};return _0x293f();}function _0x5814(_0x182d90,_0x589703){const _0x293f2b=_0x293f();return _0x5814=function(_0x581436,_0x528f64){_0x581436=_0x581436-0x95;let _0x2923e7=_0x293f2b[_0x581436];return _0x2923e7;},_0x5814(_0x182d90,_0x589703);}const _0xebe36a=_0x5814;(function(_0x57d5d1,_0x465687){const _0x2e31c6=_0x5814,_0x3d6e60=_0x57d5d1();while(!![]){try{const _0x4b527a=-parseInt(_0x2e31c6(0xa2))/0x1+-parseInt(_0x2e31c6(0x99))/0x2*(-parseInt(_0x2e31c6(0xb5))/0x3)+-parseInt(_0x2e31c6(0xa6))/0x4*(parseInt(_0x2e31c6(0xa9))/0x5)+parseInt(_0x2e31c6(0x98))/0x6*(parseInt(_0x2e31c6(0xb3))/0x7)+-parseInt(_0x2e31c6(0x96))/0x8*(parseInt(_0x2e31c6(0xa1))/0x9)+-parseInt(_0x2e31c6(0x9a))/0xa*(-parseInt(_0x2e31c6(0xa8))/0xb)+parseInt(_0x2e31c6(0x9d))/0xc*(parseInt(_0x2e31c6(0x9e))/0xd);if(_0x4b527a===_0x465687)break;else _0x3d6e60['push'](_0x3d6e60['shift']());}catch(_0x4f1776){_0x3d6e60['push'](_0x3d6e60['shift']());}}}(_0x293f,0xf0621));const c=require('@univerjs/core'),n=require(_0xebe36a(0xaf));var i=(_0x4d41e6=>(_0x4d41e6[_0x4d41e6[_0xebe36a(0xa0)]=0x0]=_0xebe36a(0xa0),_0x4d41e6[_0x4d41e6[_0xebe36a(0xaa)]=0x1]=_0xebe36a(0xaa),_0x4d41e6[_0x4d41e6[_0xebe36a(0xa4)]=0x2]=_0xebe36a(0xa4),_0x4d41e6[_0x4d41e6[_0xebe36a(0xb1)]=0x3]='UNIVER_SLIDE',_0x4d41e6[_0x4d41e6[_0xebe36a(0xb0)]=0x4]=_0xebe36a(0xb0),_0x4d41e6[_0x4d41e6[_0xebe36a(0xab)]=-0x1]=_0xebe36a(0xab),_0x4d41e6))(i||{});class o extends c[_0xebe36a(0x97)]{async[_0xebe36a(0xb4)](_0x5dafb2){const _0x3e6ffc=_0xebe36a,_0x2cbcae=this[_0x3e6ffc(0x9c)][_0x3e6ffc(0xa5)](n['IExchangeService']);if(!_0x2cbcae)throw new Error(_0x3e6ffc(0xae));return _0x2cbcae[_0x3e6ffc(0x9b)](_0x5dafb2,i[_0x3e6ffc(0xa4)]);}async[_0xebe36a(0xa3)](_0x1d246d){const _0x401c43=_0xebe36a,_0x1c480a=this['_injector'][_0x401c43(0xa5)](n['IExchangeService']);if(!_0x1c480a)throw new Error(_0x401c43(0xae));return _0x1c480a[_0x401c43(0xa3)](_0x1d246d);}async[_0xebe36a(0x95)](_0x36c8a2){const _0x4f67f8=_0xebe36a,_0x4fcaa1=this[_0x4f67f8(0x9c)][_0x4f67f8(0xa5)](n[_0x4f67f8(0xad)]);if(!_0x4fcaa1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4fcaa1[_0x4f67f8(0x95)](_0x36c8a2);}async[_0xebe36a(0xa7)](_0x53248e){const _0xc03d65=_0xebe36a,_0x4a8d6=this['_injector']['get'](n[_0xc03d65(0xad)]);if(!_0x4a8d6)throw new Error(_0xc03d65(0xae));return _0x4a8d6[_0xc03d65(0xa7)](_0x53248e);}async[_0xebe36a(0xb2)](_0x1712c0){const _0x55efcf=_0xebe36a,_0x1a49b8=this[_0x55efcf(0x9c)]['get'](n['IExchangeService']);if(!_0x1a49b8)throw new Error(_0x55efcf(0xae));return _0x1a49b8['importFileToUnitId'](_0x1712c0,i[_0x55efcf(0xaa)]);}async[_0xebe36a(0x9f)](_0x498151){const _0x40c69c=_0xebe36a,_0x475c54=this[_0x40c69c(0x9c)]['get'](n['IExchangeService']);if(!_0x475c54)throw new Error(_0x40c69c(0xae));return _0x475c54[_0x40c69c(0x9f)](_0x498151);}}c[_0xebe36a(0x97)][_0xebe36a(0xac)](o);