@univerjs-pro/exchange-client 0.6.9-experimental.20250408-bc98dfc → 0.6.9-experimental.20250408-786b00e

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 _0x1741eb=_0xe4bd;(function(_0x4f7e17,_0x198f34){const _0x4663af=_0xe4bd,_0x288ef4=_0x4f7e17();while(!![]){try{const _0xb1ca4f=-parseInt(_0x4663af(0xa9))/0x1+-parseInt(_0x4663af(0xac))/0x2+-parseInt(_0x4663af(0xb3))/0x3+-parseInt(_0x4663af(0xc1))/0x4+parseInt(_0x4663af(0xb0))/0x5*(-parseInt(_0x4663af(0xad))/0x6)+-parseInt(_0x4663af(0xbc))/0x7+parseInt(_0x4663af(0xb5))/0x8;if(_0xb1ca4f===_0x198f34)break;else _0x288ef4['push'](_0x288ef4['shift']());}catch(_0x391db7){_0x288ef4['push'](_0x288ef4['shift']());}}}(_0x3f57,0xd7c86));function _0xe4bd(_0x5ed794,_0x4cd375){const _0x3f5770=_0x3f57();return _0xe4bd=function(_0xe4bdf0,_0xa95919){_0xe4bdf0=_0xe4bdf0-0xa3;let _0x7d1d3d=_0x3f5770[_0xe4bdf0];return _0x7d1d3d;},_0xe4bd(_0x5ed794,_0x4cd375);}function _0x3f57(){const _0x48c8d=['42917448ebOSqL','importDOCXToSnapshot','UNIVER_SLIDE','UNIVER_SHEET','IExchangeService','exportXLSXBySnapshot','importDOCXToUnitId','733817FNevnx','@univerjs/core/facade','get','exportXLSXByUnitIdAsync','importDOCXToUnitIdAsync','1165700Jthnwe','importXLSXToUnitId','importFileToUnitId','UNRECOGNIZED','importXLSXToSnapshotAsync','extend','importXLSXToSnapshot','importXLSXToUnitIdAsync','UNIVER_DOC','1104568wqUcve','_injector','importDOCXToSnapshotAsync','2644348gcNAug','20982YUHFij','exportXLSXByUnitId','exportXLSXBySnapshotAsync','395jXErxk','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','4144722ElzDZg','FUniver'];_0x3f57=function(){return _0x48c8d;};return _0x3f57();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x1741eb(0xbd));var o=(_0x417e1c=>(_0x417e1c[_0x417e1c[_0x1741eb(0xb1)]=0x0]=_0x1741eb(0xb1),_0x417e1c[_0x417e1c[_0x1741eb(0xa8)]=0x1]=_0x1741eb(0xa8),_0x417e1c[_0x417e1c[_0x1741eb(0xb8)]=0x2]=_0x1741eb(0xb8),_0x417e1c[_0x417e1c[_0x1741eb(0xb7)]=0x3]=_0x1741eb(0xb7),_0x417e1c[_0x417e1c['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x417e1c[_0x417e1c['UNRECOGNIZED']=-0x1]=_0x1741eb(0xa3),_0x417e1c))(o||{});class c extends i[_0x1741eb(0xb4)]{async[_0x1741eb(0xc2)](_0x63797){const _0x4180fd=_0x1741eb;return this[_0x4180fd(0xa7)](_0x63797);}async[_0x1741eb(0xa7)](_0x498435){const _0x4ebbd9=_0x1741eb,_0x4b615d=this[_0x4ebbd9(0xaa)][_0x4ebbd9(0xbe)](r['IExchangeService']);if(!_0x4b615d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4b615d['importFileToUnitId'](_0x498435,o[_0x4ebbd9(0xb8)]);}async[_0x1741eb(0xa6)](_0x4264e3){const _0x1abf88=_0x1741eb;return this[_0x1abf88(0xa4)](_0x4264e3);}async[_0x1741eb(0xa4)](_0x42dc67){const _0x56a3d5=_0x1741eb,_0x2d163a=this['_injector'][_0x56a3d5(0xbe)](r[_0x56a3d5(0xb9)]);if(!_0x2d163a)throw new Error(_0x56a3d5(0xb2));return _0x2d163a[_0x56a3d5(0xa6)](_0x42dc67);}async[_0x1741eb(0xae)](_0x136517){const _0x171b69=_0x1741eb;return this[_0x171b69(0xbf)](_0x136517);}async[_0x1741eb(0xbf)](_0xc6df43){const _0x1ca829=_0x1741eb,_0x56068e=this[_0x1ca829(0xaa)][_0x1ca829(0xbe)](r[_0x1ca829(0xb9)]);if(!_0x56068e)throw new Error(_0x1ca829(0xb2));return _0x56068e[_0x1ca829(0xae)](_0xc6df43);}async[_0x1741eb(0xba)](_0x357a6e){const _0x5be548=_0x1741eb;return this[_0x5be548(0xaf)](_0x357a6e);}async[_0x1741eb(0xaf)](_0x458652){const _0x5c7fa0=_0x1741eb,_0x51ccca=this[_0x5c7fa0(0xaa)][_0x5c7fa0(0xbe)](r['IExchangeService']);if(!_0x51ccca)throw new Error(_0x5c7fa0(0xb2));return _0x51ccca[_0x5c7fa0(0xba)](_0x458652);}async[_0x1741eb(0xbb)](_0x2dd2f9){const _0x6f7d16=_0x1741eb;return this[_0x6f7d16(0xc0)](_0x2dd2f9);}async[_0x1741eb(0xc0)](_0x324b27){const _0x47b85e=_0x1741eb,_0x1bd1df=this[_0x47b85e(0xaa)][_0x47b85e(0xbe)](r[_0x47b85e(0xb9)]);if(!_0x1bd1df)throw new Error(_0x47b85e(0xb2));return _0x1bd1df[_0x47b85e(0xc3)](_0x324b27,o[_0x47b85e(0xa8)]);}async['importDOCXToSnapshot'](_0x193e3c){const _0x1cf175=_0x1741eb;return this[_0x1cf175(0xab)](_0x193e3c);}async[_0x1741eb(0xab)](_0x4626de){const _0x1f4f9f=_0x1741eb,_0x2558ae=this[_0x1f4f9f(0xaa)][_0x1f4f9f(0xbe)](r[_0x1f4f9f(0xb9)]);if(!_0x2558ae)throw new Error(_0x1f4f9f(0xb2));return _0x2558ae[_0x1f4f9f(0xb6)](_0x4626de);}}i[_0x1741eb(0xb4)][_0x1741eb(0xa5)](c);
1
+ 'use strict';const _0x21ea3f=_0x399e;function _0x399e(_0x24de56,_0x200beb){const _0x2c2e25=_0x2c2e();return _0x399e=function(_0x399eae,_0xf6e8f){_0x399eae=_0x399eae-0xe9;let _0x156a0e=_0x2c2e25[_0x399eae];return _0x156a0e;},_0x399e(_0x24de56,_0x200beb);}(function(_0x53dcb9,_0x588351){const _0x5713d9=_0x399e,_0x4d6ccc=_0x53dcb9();while(!![]){try{const _0x118fe1=parseInt(_0x5713d9(0x109))/0x1+-parseInt(_0x5713d9(0xf3))/0x2+-parseInt(_0x5713d9(0xf0))/0x3*(-parseInt(_0x5713d9(0xfa))/0x4)+parseInt(_0x5713d9(0xf2))/0x5*(parseInt(_0x5713d9(0x100))/0x6)+parseInt(_0x5713d9(0xf1))/0x7*(-parseInt(_0x5713d9(0xfb))/0x8)+parseInt(_0x5713d9(0xf9))/0x9*(-parseInt(_0x5713d9(0x10a))/0xa)+parseInt(_0x5713d9(0x107))/0xb*(parseInt(_0x5713d9(0xfe))/0xc);if(_0x118fe1===_0x588351)break;else _0x4d6ccc['push'](_0x4d6ccc['shift']());}catch(_0x3d102c){_0x4d6ccc['push'](_0x4d6ccc['shift']());}}}(_0x2c2e,0x81785));const r=require(_0x21ea3f(0xed)),i=require(_0x21ea3f(0xf4));var o=(_0x31c1c2=>(_0x31c1c2[_0x31c1c2['UNIVER_UNKNOWN']=0x0]=_0x21ea3f(0xf5),_0x31c1c2[_0x31c1c2[_0x21ea3f(0x10b)]=0x1]=_0x21ea3f(0x10b),_0x31c1c2[_0x31c1c2[_0x21ea3f(0x104)]=0x2]=_0x21ea3f(0x104),_0x31c1c2[_0x31c1c2[_0x21ea3f(0xec)]=0x3]='UNIVER_SLIDE',_0x31c1c2[_0x31c1c2[_0x21ea3f(0xf6)]=0x4]=_0x21ea3f(0xf6),_0x31c1c2[_0x31c1c2[_0x21ea3f(0x10d)]=-0x1]=_0x21ea3f(0x10d),_0x31c1c2))(o||{});function _0x2c2e(){const _0x4f5555=['UNIVER_DOC','FUniver','UNRECOGNIZED','importDOCXToUnitId','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNIVER_SLIDE','@univerjs-pro/exchange-client','get','importDOCXToUnitIdAsync','12PsObEp','1002218FNRjzZ','333740gSIIsP','1608318hmWmce','@univerjs/core/facade','UNIVER_UNKNOWN','UNIVER_PROJECT','exportXLSXBySnapshotAsync','importXLSXToUnitIdAsync','54VxqPLD','590984lNWzpN','48StrUOE','importXLSXToSnapshotAsync','_injector','108mFEXoF','importXLSXToUnitId','24ZIlEyA','importDOCXToSnapshot','exportXLSXByUnitId','IExchangeService','UNIVER_SHEET','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','1036211bOdsXZ','importDOCXToSnapshotAsync','1031735EgTeKh','906680ASJYsv'];_0x2c2e=function(){return _0x4f5555;};return _0x2c2e();}class c extends i[_0x21ea3f(0x10c)]{async[_0x21ea3f(0xff)](_0x321a35){const _0x8b1a0e=_0x21ea3f;return this[_0x8b1a0e(0xf8)](_0x321a35);}async[_0x21ea3f(0xf8)](_0x2260ab){const _0x1e1b81=_0x21ea3f,_0x53f5dd=this[_0x1e1b81(0xfd)][_0x1e1b81(0xee)](r[_0x1e1b81(0x103)]);if(!_0x53f5dd)throw new Error(_0x1e1b81(0x106));return _0x53f5dd['importFileToUnitId'](_0x2260ab,o['UNIVER_SHEET']);}async[_0x21ea3f(0x105)](_0x5700bf){return this['importXLSXToSnapshotAsync'](_0x5700bf);}async[_0x21ea3f(0xfc)](_0x4f87e5){const _0x1938a5=_0x21ea3f,_0x4d0308=this[_0x1938a5(0xfd)]['get'](r[_0x1938a5(0x103)]);if(!_0x4d0308)throw new Error(_0x1938a5(0x106));return _0x4d0308[_0x1938a5(0x105)](_0x4f87e5);}async[_0x21ea3f(0x102)](_0xbd15be){const _0x17c0a6=_0x21ea3f;return this[_0x17c0a6(0xeb)](_0xbd15be);}async[_0x21ea3f(0xeb)](_0xd33302){const _0x10c284=_0x21ea3f,_0x1e4dec=this[_0x10c284(0xfd)]['get'](r[_0x10c284(0x103)]);if(!_0x1e4dec)throw new Error(_0x10c284(0x106));return _0x1e4dec[_0x10c284(0x102)](_0xd33302);}async['exportXLSXBySnapshot'](_0x1a7476){return this['exportXLSXBySnapshotAsync'](_0x1a7476);}async[_0x21ea3f(0xf7)](_0x35fedd){const _0x1441ba=_0x21ea3f,_0x2573f7=this[_0x1441ba(0xfd)][_0x1441ba(0xee)](r[_0x1441ba(0x103)]);if(!_0x2573f7)throw new Error(_0x1441ba(0x106));return _0x2573f7[_0x1441ba(0xea)](_0x35fedd);}async[_0x21ea3f(0xe9)](_0x295572){const _0x3045bf=_0x21ea3f;return this[_0x3045bf(0xef)](_0x295572);}async['importDOCXToUnitIdAsync'](_0xdfac2d){const _0x4119cd=_0x21ea3f,_0x3abe5f=this['_injector'][_0x4119cd(0xee)](r[_0x4119cd(0x103)]);if(!_0x3abe5f)throw new Error(_0x4119cd(0x106));return _0x3abe5f['importFileToUnitId'](_0xdfac2d,o[_0x4119cd(0x10b)]);}async[_0x21ea3f(0x101)](_0x1a06fc){const _0x3147e2=_0x21ea3f;return this[_0x3147e2(0x108)](_0x1a06fc);}async[_0x21ea3f(0x108)](_0x229a31){const _0x524e82=_0x21ea3f,_0x1e28b6=this[_0x524e82(0xfd)]['get'](r[_0x524e82(0x103)]);if(!_0x1e28b6)throw new Error(_0x524e82(0x106));return _0x1e28b6[_0x524e82(0x101)](_0x229a31);}}i['FUniver']['extend'](c);