@univerjs-pro/exchange-client 0.6.1-nightly.202502221605 → 0.6.1-nightly.202502241606

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 _0xb9c446=_0x1cd1;(function(_0x5934f7,_0x25319e){const _0x347a11=_0x1cd1,_0x352276=_0x5934f7();while(!![]){try{const _0x14ce48=-parseInt(_0x347a11(0x1bb))/0x1*(parseInt(_0x347a11(0x1a1))/0x2)+-parseInt(_0x347a11(0x19e))/0x3+-parseInt(_0x347a11(0x1a9))/0x4+parseInt(_0x347a11(0x1ae))/0x5+-parseInt(_0x347a11(0x1b4))/0x6+parseInt(_0x347a11(0x1a6))/0x7*(-parseInt(_0x347a11(0x1ad))/0x8)+-parseInt(_0x347a11(0x1a4))/0x9*(-parseInt(_0x347a11(0x1a5))/0xa);if(_0x14ce48===_0x25319e)break;else _0x352276['push'](_0x352276['shift']());}catch(_0x5fb957){_0x352276['push'](_0x352276['shift']());}}}(_0x4ec5,0xddb41));const r=require(_0xb9c446(0x1ab)),i=require(_0xb9c446(0x1b7));var o=(_0x499067=>(_0x499067[_0x499067['UNIVER_UNKNOWN']=0x0]=_0xb9c446(0x19c),_0x499067[_0x499067['UNIVER_DOC']=0x1]=_0xb9c446(0x1b9),_0x499067[_0x499067[_0xb9c446(0x19d)]=0x2]=_0xb9c446(0x19d),_0x499067[_0x499067[_0xb9c446(0x1ac)]=0x3]=_0xb9c446(0x1ac),_0x499067[_0x499067[_0xb9c446(0x1ba)]=0x4]='UNIVER_PROJECT',_0x499067[_0x499067[_0xb9c446(0x1b0)]=-0x1]=_0xb9c446(0x1b0),_0x499067))(o||{});function _0x4ec5(){const _0x84abfb=['UNIVER_UNKNOWN','UNIVER_SHEET','4032168HxAhvJ','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','37376axexbh','FUniver','extend','99GcoLFE','4015470FpfgpX','140KGngkn','importXLSXToSnapshot','exportXLSXByUnitIdAsync','6719096CXuTOX','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs-pro/exchange-client','UNIVER_SLIDE','390704gBCGRq','3449515TnIMvw','get','UNRECOGNIZED','importDOCXToUnitIdAsync','IExchangeService','_injector','740886yjIizA','importXLSXToUnitIdAsync','importDOCXToSnapshot','@univerjs/core/facade','exportXLSXByUnitId','UNIVER_DOC','UNIVER_PROJECT','4zNtgPg','importXLSXToSnapshotAsync','exportXLSXBySnapshot','importFileToUnitId','importDOCXToUnitId'];_0x4ec5=function(){return _0x84abfb;};return _0x4ec5();}class c extends i[_0xb9c446(0x1a2)]{async['importXLSXToUnitId'](_0x5d8f79){const _0x49df0d=_0xb9c446;return this[_0x49df0d(0x1b5)](_0x5d8f79);}async[_0xb9c446(0x1b5)](_0x13375f){const _0x1d7603=_0xb9c446,_0x5ca765=this[_0x1d7603(0x1b3)]['get'](r[_0x1d7603(0x1b2)]);if(!_0x5ca765)throw new Error(_0x1d7603(0x1aa));return _0x5ca765[_0x1d7603(0x19a)](_0x13375f,o[_0x1d7603(0x19d)]);}async['importXLSXToSnapshot'](_0x3e9c4e){const _0x56e25a=_0xb9c446;return this[_0x56e25a(0x198)](_0x3e9c4e);}async[_0xb9c446(0x198)](_0x156fa6){const _0x59391a=_0xb9c446,_0x511906=this[_0x59391a(0x1b3)][_0x59391a(0x1af)](r[_0x59391a(0x1b2)]);if(!_0x511906)throw new Error(_0x59391a(0x1aa));return _0x511906[_0x59391a(0x1a7)](_0x156fa6);}async[_0xb9c446(0x1b8)](_0x5ad7d8){const _0x13071d=_0xb9c446;return this[_0x13071d(0x1a8)](_0x5ad7d8);}async[_0xb9c446(0x1a8)](_0x3379e5){const _0x5cefb4=_0xb9c446,_0x5d1ffc=this[_0x5cefb4(0x1b3)]['get'](r[_0x5cefb4(0x1b2)]);if(!_0x5d1ffc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d1ffc[_0x5cefb4(0x1b8)](_0x3379e5);}async['exportXLSXBySnapshot'](_0x6e6012){const _0x4e2393=_0xb9c446;return this[_0x4e2393(0x1a0)](_0x6e6012);}async[_0xb9c446(0x1a0)](_0xe4e7aa){const _0xc678e5=_0xb9c446,_0x57c8ce=this[_0xc678e5(0x1b3)][_0xc678e5(0x1af)](r[_0xc678e5(0x1b2)]);if(!_0x57c8ce)throw new Error(_0xc678e5(0x1aa));return _0x57c8ce[_0xc678e5(0x199)](_0xe4e7aa);}async[_0xb9c446(0x19b)](_0x223cd4){const _0x3af162=_0xb9c446;return this[_0x3af162(0x1b1)](_0x223cd4);}async[_0xb9c446(0x1b1)](_0x1abcc6){const _0x1ff5a8=_0xb9c446,_0x3a4f4f=this['_injector'][_0x1ff5a8(0x1af)](r[_0x1ff5a8(0x1b2)]);if(!_0x3a4f4f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3a4f4f['importFileToUnitId'](_0x1abcc6,o[_0x1ff5a8(0x1b9)]);}async['importDOCXToSnapshot'](_0x8ad1ec){const _0x479a50=_0xb9c446;return this[_0x479a50(0x19f)](_0x8ad1ec);}async[_0xb9c446(0x19f)](_0xf7486){const _0x1047c4=_0xb9c446,_0x163163=this['_injector'][_0x1047c4(0x1af)](r[_0x1047c4(0x1b2)]);if(!_0x163163)throw new Error(_0x1047c4(0x1aa));return _0x163163[_0x1047c4(0x1b6)](_0xf7486);}}function _0x1cd1(_0x3058a8,_0x2ed222){const _0x4ec5c1=_0x4ec5();return _0x1cd1=function(_0x1cd15e,_0x25231b){_0x1cd15e=_0x1cd15e-0x198;let _0xa3490e=_0x4ec5c1[_0x1cd15e];return _0xa3490e;},_0x1cd1(_0x3058a8,_0x2ed222);}i[_0xb9c446(0x1a2)][_0xb9c446(0x1a3)](c);
1
+ 'use strict';const _0x52e28c=_0x5471;(function(_0x452027,_0x93d758){const _0x3fb86e=_0x5471,_0x384683=_0x452027();while(!![]){try{const _0x200e2a=parseInt(_0x3fb86e(0x200))/0x1+-parseInt(_0x3fb86e(0x1fb))/0x2+parseInt(_0x3fb86e(0x207))/0x3*(parseInt(_0x3fb86e(0x1fc))/0x4)+-parseInt(_0x3fb86e(0x20a))/0x5*(-parseInt(_0x3fb86e(0x1f8))/0x6)+-parseInt(_0x3fb86e(0x214))/0x7*(-parseInt(_0x3fb86e(0x213))/0x8)+-parseInt(_0x3fb86e(0x210))/0x9*(parseInt(_0x3fb86e(0x1f1))/0xa)+parseInt(_0x3fb86e(0x1f5))/0xb*(-parseInt(_0x3fb86e(0x1f2))/0xc);if(_0x200e2a===_0x93d758)break;else _0x384683['push'](_0x384683['shift']());}catch(_0x4f765f){_0x384683['push'](_0x384683['shift']());}}}(_0x12a4,0x70815));function _0x12a4(){const _0x3f2075=['213NoSlgB','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','3757525LOdxdj','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','importXLSXToSnapshot','extend','UNIVER_SLIDE','4896XWYjix','UNRECOGNIZED','UNIVER_SHEET','66648ephfEd','399BvAFCh','importDOCXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','6350qYeoEH','2202504XlJXle','importDOCXToUnitIdAsync','FUniver','55ShizHz','importXLSXToUnitIdAsync','@univerjs/core/facade','6EYSXBM','@univerjs-pro/exchange-client','UNIVER_PROJECT','685146yXHVAb','2452aGTHzN','importXLSXToUnitId','importFileToUnitId','UNIVER_UNKNOWN','796649KevXvn','_injector','get','importXLSXToSnapshotAsync','IExchangeService','UNIVER_DOC','exportXLSXByUnitId'];_0x12a4=function(){return _0x3f2075;};return _0x12a4();}const r=require(_0x52e28c(0x1f9)),i=require(_0x52e28c(0x1f7));function _0x5471(_0x4e903e,_0x1629c5){const _0x12a40d=_0x12a4();return _0x5471=function(_0x5471bd,_0x3797f1){_0x5471bd=_0x5471bd-0x1ef;let _0x41a6df=_0x12a40d[_0x5471bd];return _0x41a6df;},_0x5471(_0x4e903e,_0x1629c5);}var o=(_0xb6c15c=>(_0xb6c15c[_0xb6c15c[_0x52e28c(0x1ff)]=0x0]='UNIVER_UNKNOWN',_0xb6c15c[_0xb6c15c['UNIVER_DOC']=0x1]='UNIVER_DOC',_0xb6c15c[_0xb6c15c[_0x52e28c(0x212)]=0x2]=_0x52e28c(0x212),_0xb6c15c[_0xb6c15c[_0x52e28c(0x20f)]=0x3]='UNIVER_SLIDE',_0xb6c15c[_0xb6c15c[_0x52e28c(0x1fa)]=0x4]=_0x52e28c(0x1fa),_0xb6c15c[_0xb6c15c[_0x52e28c(0x211)]=-0x1]='UNRECOGNIZED',_0xb6c15c))(o||{});class c extends i[_0x52e28c(0x1f4)]{async[_0x52e28c(0x1fd)](_0x332615){const _0x3dc514=_0x52e28c;return this[_0x3dc514(0x1f6)](_0x332615);}async[_0x52e28c(0x1f6)](_0x484e0b){const _0x412f0f=_0x52e28c,_0x562438=this[_0x412f0f(0x201)]['get'](r[_0x412f0f(0x204)]);if(!_0x562438)throw new Error(_0x412f0f(0x1f0));return _0x562438[_0x412f0f(0x1fe)](_0x484e0b,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x229f49){const _0x5cabaf=_0x52e28c;return this[_0x5cabaf(0x203)](_0x229f49);}async[_0x52e28c(0x203)](_0x55a88e){const _0x7b8600=_0x52e28c,_0x46285b=this[_0x7b8600(0x201)]['get'](r[_0x7b8600(0x204)]);if(!_0x46285b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x46285b[_0x7b8600(0x20d)](_0x55a88e);}async['exportXLSXByUnitId'](_0xc1fcbe){return this['exportXLSXByUnitIdAsync'](_0xc1fcbe);}async[_0x52e28c(0x209)](_0x46b62f){const _0x526631=_0x52e28c,_0x273b18=this[_0x526631(0x201)][_0x526631(0x202)](r['IExchangeService']);if(!_0x273b18)throw new Error(_0x526631(0x1f0));return _0x273b18[_0x526631(0x206)](_0x46b62f);}async[_0x52e28c(0x208)](_0x186456){const _0x33f8e7=_0x52e28c;return this[_0x33f8e7(0x20c)](_0x186456);}async[_0x52e28c(0x20c)](_0x4b1ce5){const _0x4fcabd=_0x52e28c,_0x2cf641=this[_0x4fcabd(0x201)][_0x4fcabd(0x202)](r[_0x4fcabd(0x204)]);if(!_0x2cf641)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2cf641[_0x4fcabd(0x208)](_0x4b1ce5);}async['importDOCXToUnitId'](_0x1c1317){const _0xf1c0f6=_0x52e28c;return this[_0xf1c0f6(0x1f3)](_0x1c1317);}async['importDOCXToUnitIdAsync'](_0xfd3164){const _0x6c4eff=_0x52e28c,_0x47506c=this[_0x6c4eff(0x201)][_0x6c4eff(0x202)](r[_0x6c4eff(0x204)]);if(!_0x47506c)throw new Error(_0x6c4eff(0x1f0));return _0x47506c[_0x6c4eff(0x1fe)](_0xfd3164,o[_0x6c4eff(0x205)]);}async['importDOCXToSnapshot'](_0x1d7a5c){const _0x248faf=_0x52e28c;return this[_0x248faf(0x20b)](_0x1d7a5c);}async[_0x52e28c(0x20b)](_0x3c87f6){const _0x4d0514=_0x52e28c,_0x5c4202=this[_0x4d0514(0x201)][_0x4d0514(0x202)](r[_0x4d0514(0x204)]);if(!_0x5c4202)throw new Error(_0x4d0514(0x1f0));return _0x5c4202[_0x4d0514(0x1ef)](_0x3c87f6);}}i[_0x52e28c(0x1f4)][_0x52e28c(0x20e)](c);