@univerjs-pro/exchange-client 0.6.7-experimental.20250331-45dde91 → 0.6.7-experimental.20250331-fa407d3

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 _0x27945c=_0xf07d;(function(_0x4f3396,_0x141195){const _0x378f79=_0xf07d,_0x3ecb34=_0x4f3396();while(!![]){try{const _0x343d81=-parseInt(_0x378f79(0xb2))/0x1*(-parseInt(_0x378f79(0xb3))/0x2)+-parseInt(_0x378f79(0xbd))/0x3+-parseInt(_0x378f79(0xc4))/0x4+parseInt(_0x378f79(0xca))/0x5+-parseInt(_0x378f79(0xc3))/0x6+parseInt(_0x378f79(0xb5))/0x7*(-parseInt(_0x378f79(0xb1))/0x8)+parseInt(_0x378f79(0xae))/0x9;if(_0x343d81===_0x141195)break;else _0x3ecb34['push'](_0x3ecb34['shift']());}catch(_0x330e2f){_0x3ecb34['push'](_0x3ecb34['shift']());}}}(_0x35de,0xb27b0));const r=require(_0x27945c(0xbe)),i=require(_0x27945c(0xc8));var o=(_0x2bf27d=>(_0x2bf27d[_0x2bf27d[_0x27945c(0xcb)]=0x0]=_0x27945c(0xcb),_0x2bf27d[_0x2bf27d[_0x27945c(0xc5)]=0x1]=_0x27945c(0xc5),_0x2bf27d[_0x2bf27d[_0x27945c(0xcc)]=0x2]=_0x27945c(0xcc),_0x2bf27d[_0x2bf27d['UNIVER_SLIDE']=0x3]=_0x27945c(0xb4),_0x2bf27d[_0x2bf27d['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x2bf27d[_0x2bf27d[_0x27945c(0xb8)]=-0x1]=_0x27945c(0xb8),_0x2bf27d))(o||{});function _0xf07d(_0x3a839a,_0x46f92d){const _0x35deb7=_0x35de();return _0xf07d=function(_0xf07dfa,_0x3b9b8b){_0xf07dfa=_0xf07dfa-0xac;let _0x5bf239=_0x35deb7[_0xf07dfa];return _0x5bf239;},_0xf07d(_0x3a839a,_0x46f92d);}function _0x35de(){const _0x1e08b1=['importXLSXToSnapshotAsync','importFileToUnitId','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','8754942nloFEw','4127060xOecby','UNIVER_DOC','importDOCXToSnapshot','importDOCXToUnitId','@univerjs/core/facade','exportXLSXBySnapshot','73900IxkOPY','UNIVER_UNKNOWN','UNIVER_SHEET','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitIdAsync','41594823csNXjd','importDOCXToUnitIdAsync','importXLSXToSnapshot','8bWOWhA','798bjcKkX','2176ThEFWo','UNIVER_SLIDE','5811358pBgKWS','get','IExchangeService','UNRECOGNIZED','_injector','exportXLSXByUnitId','importXLSXToUnitIdAsync','extend','4357437jpmBQq','@univerjs-pro/exchange-client'];_0x35de=function(){return _0x1e08b1;};return _0x35de();}class c extends i[_0x27945c(0xcd)]{async['importXLSXToUnitId'](_0x55be7e){return this['importXLSXToUnitIdAsync'](_0x55be7e);}async[_0x27945c(0xbb)](_0x176a42){const _0x2cd822=_0x27945c,_0x12d566=this[_0x2cd822(0xb9)]['get'](r[_0x2cd822(0xb7)]);if(!_0x12d566)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x12d566[_0x2cd822(0xc0)](_0x176a42,o[_0x2cd822(0xcc)]);}async[_0x27945c(0xb0)](_0x175d36){const _0x1510f6=_0x27945c;return this[_0x1510f6(0xbf)](_0x175d36);}async[_0x27945c(0xbf)](_0x368d64){const _0x374a86=_0x27945c,_0x1db679=this[_0x374a86(0xb9)][_0x374a86(0xb6)](r['IExchangeService']);if(!_0x1db679)throw new Error(_0x374a86(0xac));return _0x1db679[_0x374a86(0xb0)](_0x368d64);}async[_0x27945c(0xba)](_0x95846b){return this['exportXLSXByUnitIdAsync'](_0x95846b);}async[_0x27945c(0xad)](_0x5561b9){const _0x2261bd=_0x27945c,_0x15bf8c=this[_0x2261bd(0xb9)][_0x2261bd(0xb6)](r['IExchangeService']);if(!_0x15bf8c)throw new Error(_0x2261bd(0xac));return _0x15bf8c[_0x2261bd(0xba)](_0x5561b9);}async[_0x27945c(0xc9)](_0x2981eb){const _0x3ce094=_0x27945c;return this[_0x3ce094(0xc1)](_0x2981eb);}async[_0x27945c(0xc1)](_0x3fb30e){const _0x28156b=_0x27945c,_0x294abf=this[_0x28156b(0xb9)][_0x28156b(0xb6)](r[_0x28156b(0xb7)]);if(!_0x294abf)throw new Error(_0x28156b(0xac));return _0x294abf[_0x28156b(0xc9)](_0x3fb30e);}async[_0x27945c(0xc7)](_0x2c038e){const _0x3d7b89=_0x27945c;return this[_0x3d7b89(0xaf)](_0x2c038e);}async[_0x27945c(0xaf)](_0x3ed013){const _0x2874e5=_0x27945c,_0x34dea2=this[_0x2874e5(0xb9)][_0x2874e5(0xb6)](r[_0x2874e5(0xb7)]);if(!_0x34dea2)throw new Error(_0x2874e5(0xac));return _0x34dea2[_0x2874e5(0xc0)](_0x3ed013,o[_0x2874e5(0xc5)]);}async[_0x27945c(0xc6)](_0x5b85a3){const _0x31466b=_0x27945c;return this[_0x31466b(0xc2)](_0x5b85a3);}async[_0x27945c(0xc2)](_0x1b1327){const _0xbc181a=_0x27945c,_0x296797=this[_0xbc181a(0xb9)]['get'](r['IExchangeService']);if(!_0x296797)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x296797['importDOCXToSnapshot'](_0x1b1327);}}i[_0x27945c(0xcd)][_0x27945c(0xbc)](c);
1
+ 'use strict';const _0xbe71da=_0x43fd;(function(_0x3be939,_0x107fff){const _0x42e3a6=_0x43fd,_0xb401c=_0x3be939();while(!![]){try{const _0x18a292=-parseInt(_0x42e3a6(0xcd))/0x1+-parseInt(_0x42e3a6(0xba))/0x2*(-parseInt(_0x42e3a6(0xcc))/0x3)+-parseInt(_0x42e3a6(0xc4))/0x4*(-parseInt(_0x42e3a6(0xce))/0x5)+parseInt(_0x42e3a6(0xc0))/0x6+-parseInt(_0x42e3a6(0xc5))/0x7*(parseInt(_0x42e3a6(0xcf))/0x8)+-parseInt(_0x42e3a6(0xbd))/0x9+-parseInt(_0x42e3a6(0xbe))/0xa;if(_0x18a292===_0x107fff)break;else _0xb401c['push'](_0xb401c['shift']());}catch(_0x376a29){_0xb401c['push'](_0xb401c['shift']());}}}(_0x2e4f,0xd68a9));function _0x2e4f(){const _0x4cb891=['importDOCXToUnitId','importXLSXToUnitId','FUniver','458iKGoMR','exportXLSXBySnapshotAsync','UNIVER_SLIDE','6518115sCMZkL','6129050MGhIeF','importXLSXToSnapshotAsync','10338834LspUph','extend','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','1588hJXajJ','32431acPTAC','exportXLSXBySnapshot','importFileToUnitId','_injector','get','UNIVER_PROJECT','UNRECOGNIZED','10146lctsUT','470898QJKWEi','4775fsQjQi','328tTMCYU','importXLSXToSnapshot','importDOCXToSnapshot','exportXLSXByUnitIdAsync','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','IExchangeService','UNIVER_DOC'];_0x2e4f=function(){return _0x4cb891;};return _0x2e4f();}const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0x43fd(_0x2b716e,_0x2273f2){const _0x2e4f4b=_0x2e4f();return _0x43fd=function(_0x43fd4d,_0x2b53c3){_0x43fd4d=_0x43fd4d-0xb8;let _0x397834=_0x2e4f4b[_0x43fd4d];return _0x397834;},_0x43fd(_0x2b716e,_0x2273f2);}var o=(_0xbd197a=>(_0xbd197a[_0xbd197a[_0xbe71da(0xc2)]=0x0]=_0xbe71da(0xc2),_0xbd197a[_0xbd197a[_0xbe71da(0xd7)]=0x1]='UNIVER_DOC',_0xbd197a[_0xbd197a[_0xbe71da(0xd3)]=0x2]=_0xbe71da(0xd3),_0xbd197a[_0xbd197a[_0xbe71da(0xbc)]=0x3]=_0xbe71da(0xbc),_0xbd197a[_0xbd197a['UNIVER_PROJECT']=0x4]=_0xbe71da(0xca),_0xbd197a[_0xbd197a[_0xbe71da(0xcb)]=-0x1]=_0xbe71da(0xcb),_0xbd197a))(o||{});class c extends i[_0xbe71da(0xb9)]{async[_0xbe71da(0xb8)](_0x4fd693){return this['importXLSXToUnitIdAsync'](_0x4fd693);}async['importXLSXToUnitIdAsync'](_0x40fe9d){const _0x3dfa16=_0xbe71da,_0x2b92eb=this[_0x3dfa16(0xc8)]['get'](r['IExchangeService']);if(!_0x2b92eb)throw new Error(_0x3dfa16(0xd4));return _0x2b92eb[_0x3dfa16(0xc7)](_0x40fe9d,o[_0x3dfa16(0xd3)]);}async[_0xbe71da(0xd0)](_0x1a705d){const _0x5f16d5=_0xbe71da;return this[_0x5f16d5(0xbf)](_0x1a705d);}async[_0xbe71da(0xbf)](_0x215861){const _0x11474c=_0xbe71da,_0x179ff8=this['_injector'][_0x11474c(0xc9)](r[_0x11474c(0xd6)]);if(!_0x179ff8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x179ff8[_0x11474c(0xd0)](_0x215861);}async['exportXLSXByUnitId'](_0x9d0897){return this['exportXLSXByUnitIdAsync'](_0x9d0897);}async[_0xbe71da(0xd2)](_0x54e007){const _0x412256=_0xbe71da,_0x1f7f95=this['_injector'][_0x412256(0xc9)](r[_0x412256(0xd6)]);if(!_0x1f7f95)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1f7f95['exportXLSXByUnitId'](_0x54e007);}async['exportXLSXBySnapshot'](_0x42ef7){const _0x591c8f=_0xbe71da;return this[_0x591c8f(0xbb)](_0x42ef7);}async[_0xbe71da(0xbb)](_0x4f96eb){const _0x16f64c=_0xbe71da,_0x7fb31b=this[_0x16f64c(0xc8)][_0x16f64c(0xc9)](r[_0x16f64c(0xd6)]);if(!_0x7fb31b)throw new Error(_0x16f64c(0xd4));return _0x7fb31b[_0x16f64c(0xc6)](_0x4f96eb);}async[_0xbe71da(0xd8)](_0x35607f){const _0x2fc038=_0xbe71da;return this[_0x2fc038(0xc3)](_0x35607f);}async[_0xbe71da(0xc3)](_0x52b4bf){const _0x860e97=_0xbe71da,_0x3758d4=this[_0x860e97(0xc8)]['get'](r[_0x860e97(0xd6)]);if(!_0x3758d4)throw new Error(_0x860e97(0xd4));return _0x3758d4[_0x860e97(0xc7)](_0x52b4bf,o['UNIVER_DOC']);}async[_0xbe71da(0xd1)](_0x29479f){return this['importDOCXToSnapshotAsync'](_0x29479f);}async[_0xbe71da(0xd5)](_0x25cd6d){const _0x2b04d9=_0xbe71da,_0x3ee75b=this[_0x2b04d9(0xc8)][_0x2b04d9(0xc9)](r[_0x2b04d9(0xd6)]);if(!_0x3ee75b)throw new Error(_0x2b04d9(0xd4));return _0x3ee75b[_0x2b04d9(0xd1)](_0x25cd6d);}}i[_0xbe71da(0xb9)][_0xbe71da(0xc1)](c);