@univerjs-pro/exchange-client 0.6.9-experimental.20250408-bc98dfc → 0.6.9-experimental.20250408-92eabfd

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 _0x217b25=_0x2f0e;(function(_0x32d8ea,_0x401c82){const _0x5903cb=_0x2f0e,_0x5d878f=_0x32d8ea();while(!![]){try{const _0x68f13b=parseInt(_0x5903cb(0x1fa))/0x1+-parseInt(_0x5903cb(0x1f5))/0x2+parseInt(_0x5903cb(0x207))/0x3*(-parseInt(_0x5903cb(0x1f3))/0x4)+-parseInt(_0x5903cb(0x209))/0x5+-parseInt(_0x5903cb(0x206))/0x6+-parseInt(_0x5903cb(0x208))/0x7*(-parseInt(_0x5903cb(0x1f4))/0x8)+parseInt(_0x5903cb(0x1fd))/0x9;if(_0x68f13b===_0x401c82)break;else _0x5d878f['push'](_0x5d878f['shift']());}catch(_0x58d23b){_0x5d878f['push'](_0x5d878f['shift']());}}}(_0x4b52,0x57417));const r=require(_0x217b25(0x1f1)),i=require(_0x217b25(0x20d));function _0x4b52(){const _0x54c628=['_injector','UNIVER_PROJECT','exportXLSXByUnitId','524562Ypfjat','535809HFPaLC','143892miTIby','872000myHvLP','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','@univerjs/core/facade','importXLSXToUnitId','FUniver','@univerjs-pro/exchange-client','IExchangeService','12eGiuSG','200zuirLF','290146fqmJCs','UNRECOGNIZED','get','importXLSXToSnapshot','UNIVER_UNKNOWN','604297sFOrdl','importFileToUnitId','UNIVER_SHEET','1637199vkAXcG','UNIVER_SLIDE','exportXLSXBySnapshotAsync','UNIVER_DOC','importDOCXToSnapshot','exportXLSXBySnapshot'];_0x4b52=function(){return _0x54c628;};return _0x4b52();}var o=(_0x3caf3a=>(_0x3caf3a[_0x3caf3a[_0x217b25(0x1f9)]=0x0]=_0x217b25(0x1f9),_0x3caf3a[_0x3caf3a[_0x217b25(0x200)]=0x1]='UNIVER_DOC',_0x3caf3a[_0x3caf3a[_0x217b25(0x1fc)]=0x2]='UNIVER_SHEET',_0x3caf3a[_0x3caf3a[_0x217b25(0x1fe)]=0x3]='UNIVER_SLIDE',_0x3caf3a[_0x3caf3a[_0x217b25(0x204)]=0x4]=_0x217b25(0x204),_0x3caf3a[_0x3caf3a[_0x217b25(0x1f6)]=-0x1]=_0x217b25(0x1f6),_0x3caf3a))(o||{});class c extends i[_0x217b25(0x1f0)]{async[_0x217b25(0x20e)](_0x5696f1){const _0x18f5be=_0x217b25;return this[_0x18f5be(0x20b)](_0x5696f1);}async['importXLSXToUnitIdAsync'](_0x3a3c0f){const _0x172a6=_0x217b25,_0x3543c1=this['_injector'][_0x172a6(0x1f7)](r[_0x172a6(0x1f2)]);if(!_0x3543c1)throw new Error(_0x172a6(0x20a));return _0x3543c1[_0x172a6(0x1fb)](_0x3a3c0f,o[_0x172a6(0x1fc)]);}async[_0x217b25(0x1f8)](_0x2ef232){const _0x1994c3=_0x217b25;return this[_0x1994c3(0x20c)](_0x2ef232);}async[_0x217b25(0x20c)](_0x5dbe1d){const _0x1bd3f2=_0x217b25,_0x6d5bfd=this['_injector']['get'](r[_0x1bd3f2(0x1f2)]);if(!_0x6d5bfd)throw new Error(_0x1bd3f2(0x20a));return _0x6d5bfd[_0x1bd3f2(0x1f8)](_0x5dbe1d);}async[_0x217b25(0x205)](_0x1820cd){return this['exportXLSXByUnitIdAsync'](_0x1820cd);}async['exportXLSXByUnitIdAsync'](_0x418352){const _0x159fae=_0x217b25,_0x111f79=this['_injector'][_0x159fae(0x1f7)](r[_0x159fae(0x1f2)]);if(!_0x111f79)throw new Error(_0x159fae(0x20a));return _0x111f79[_0x159fae(0x205)](_0x418352);}async[_0x217b25(0x202)](_0x494600){const _0x47f853=_0x217b25;return this[_0x47f853(0x1ff)](_0x494600);}async[_0x217b25(0x1ff)](_0x5e6bf7){const _0x1bd8f3=_0x217b25,_0x3aa4e6=this[_0x1bd8f3(0x203)][_0x1bd8f3(0x1f7)](r[_0x1bd8f3(0x1f2)]);if(!_0x3aa4e6)throw new Error(_0x1bd8f3(0x20a));return _0x3aa4e6[_0x1bd8f3(0x202)](_0x5e6bf7);}async['importDOCXToUnitId'](_0x2a3a44){return this['importDOCXToUnitIdAsync'](_0x2a3a44);}async['importDOCXToUnitIdAsync'](_0xd45596){const _0x2e681b=_0x217b25,_0x359703=this[_0x2e681b(0x203)][_0x2e681b(0x1f7)](r[_0x2e681b(0x1f2)]);if(!_0x359703)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x359703['importFileToUnitId'](_0xd45596,o[_0x2e681b(0x200)]);}async[_0x217b25(0x201)](_0x4c8609){return this['importDOCXToSnapshotAsync'](_0x4c8609);}async['importDOCXToSnapshotAsync'](_0x377d70){const _0x2baf4b=_0x217b25,_0x890bd2=this[_0x2baf4b(0x203)]['get'](r[_0x2baf4b(0x1f2)]);if(!_0x890bd2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x890bd2[_0x2baf4b(0x201)](_0x377d70);}}function _0x2f0e(_0x497d51,_0x332a81){const _0x4b526e=_0x4b52();return _0x2f0e=function(_0x2f0eaa,_0x487375){_0x2f0eaa=_0x2f0eaa-0x1f0;let _0x51c258=_0x4b526e[_0x2f0eaa];return _0x51c258;},_0x2f0e(_0x497d51,_0x332a81);}i[_0x217b25(0x1f0)]['extend'](c);