@univerjs-pro/exchange-client 0.6.2 → 0.6.3-nightly.202503041606

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 _0x474c14=_0x375e;function _0x1ca9(){const _0x33e982=['importDOCXToUnitId','UNIVER_SHEET','16206324RqhWWs','UNIVER_PROJECT','get','UNRECOGNIZED','40150tuPbJB','8358QBhcMA','411874jDYBDk','22OEVAui','UNIVER_UNKNOWN','UNIVER_DOC','UNIVER_SLIDE','exportXLSXByUnitIdAsync','importXLSXToUnitId','7320rxECGG','FUniver','1078210UfXPWo','importDOCXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','1846287xiLYdI','2CcBSIF','4586430YvbqMi','IExchangeService','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','56SbuYBF','exportXLSXByUnitId','@univerjs/core/facade','importFileToUnitId','_injector','45xcviym'];_0x1ca9=function(){return _0x33e982;};return _0x1ca9();}(function(_0x1a3989,_0x4228cd){const _0x338935=_0x375e,_0x3c942a=_0x1a3989();while(!![]){try{const _0x396637=parseInt(_0x338935(0x1a4))/0x1*(-parseInt(_0x338935(0x1b9))/0x2)+parseInt(_0x338935(0x1a3))/0x3+-parseInt(_0x338935(0x1ab))/0x4*(-parseInt(_0x338935(0x1b7))/0x5)+-parseInt(_0x338935(0x1a5))/0x6+-parseInt(_0x338935(0x1b8))/0x7*(parseInt(_0x338935(0x19d))/0x8)+-parseInt(_0x338935(0x1b0))/0x9*(parseInt(_0x338935(0x19f))/0xa)+parseInt(_0x338935(0x1ba))/0xb*(parseInt(_0x338935(0x1b3))/0xc);if(_0x396637===_0x4228cd)break;else _0x3c942a['push'](_0x3c942a['shift']());}catch(_0x2ab713){_0x3c942a['push'](_0x3c942a['shift']());}}}(_0x1ca9,0x979d1));function _0x375e(_0x52a6a4,_0x408524){const _0x1ca9ae=_0x1ca9();return _0x375e=function(_0x375e13,_0x576873){_0x375e13=_0x375e13-0x19b;let _0x571fd3=_0x1ca9ae[_0x375e13];return _0x571fd3;},_0x375e(_0x52a6a4,_0x408524);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x474c14(0x1ad));var o=(_0x362433=>(_0x362433[_0x362433[_0x474c14(0x1bb)]=0x0]='UNIVER_UNKNOWN',_0x362433[_0x362433[_0x474c14(0x1bc)]=0x1]='UNIVER_DOC',_0x362433[_0x362433[_0x474c14(0x1b2)]=0x2]=_0x474c14(0x1b2),_0x362433[_0x362433[_0x474c14(0x1bd)]=0x3]=_0x474c14(0x1bd),_0x362433[_0x362433[_0x474c14(0x1b4)]=0x4]='UNIVER_PROJECT',_0x362433[_0x362433['UNRECOGNIZED']=-0x1]=_0x474c14(0x1b6),_0x362433))(o||{});class c extends i[_0x474c14(0x19e)]{async[_0x474c14(0x19c)](_0x4c12dc){return this['importXLSXToUnitIdAsync'](_0x4c12dc);}async[_0x474c14(0x1a9)](_0x11b9c1){const _0x1f2f16=_0x474c14,_0x52ebc5=this[_0x1f2f16(0x1af)][_0x1f2f16(0x1b5)](r[_0x1f2f16(0x1a6)]);if(!_0x52ebc5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52ebc5[_0x1f2f16(0x1ae)](_0x11b9c1,o[_0x1f2f16(0x1b2)]);}async['importXLSXToSnapshot'](_0x56de0b){return this['importXLSXToSnapshotAsync'](_0x56de0b);}async['importXLSXToSnapshotAsync'](_0x19f2af){const _0x565831=_0x474c14,_0x4026f1=this['_injector'][_0x565831(0x1b5)](r[_0x565831(0x1a6)]);if(!_0x4026f1)throw new Error(_0x565831(0x1a8));return _0x4026f1['importXLSXToSnapshot'](_0x19f2af);}async[_0x474c14(0x1ac)](_0x11a38f){const _0x1a701f=_0x474c14;return this[_0x1a701f(0x19b)](_0x11a38f);}async[_0x474c14(0x19b)](_0x5e10c7){const _0x55869e=_0x474c14,_0x2a1765=this[_0x55869e(0x1af)][_0x55869e(0x1b5)](r['IExchangeService']);if(!_0x2a1765)throw new Error(_0x55869e(0x1a8));return _0x2a1765[_0x55869e(0x1ac)](_0x5e10c7);}async[_0x474c14(0x1a2)](_0x56c2d5){const _0x15e9c1=_0x474c14;return this[_0x15e9c1(0x1a1)](_0x56c2d5);}async[_0x474c14(0x1a1)](_0x221c00){const _0x481670=_0x474c14,_0x54e267=this[_0x481670(0x1af)][_0x481670(0x1b5)](r[_0x481670(0x1a6)]);if(!_0x54e267)throw new Error(_0x481670(0x1a8));return _0x54e267[_0x481670(0x1a2)](_0x221c00);}async[_0x474c14(0x1b1)](_0x43dfc0){const _0x37bfff=_0x474c14;return this[_0x37bfff(0x1a7)](_0x43dfc0);}async['importDOCXToUnitIdAsync'](_0x4bc733){const _0x30fea3=_0x474c14,_0x2af81a=this['_injector'][_0x30fea3(0x1b5)](r['IExchangeService']);if(!_0x2af81a)throw new Error(_0x30fea3(0x1a8));return _0x2af81a[_0x30fea3(0x1ae)](_0x4bc733,o['UNIVER_DOC']);}async[_0x474c14(0x1a0)](_0x8c5b96){return this['importDOCXToSnapshotAsync'](_0x8c5b96);}async[_0x474c14(0x1aa)](_0x345837){const _0x449f06=_0x474c14,_0x41bf5c=this[_0x449f06(0x1af)][_0x449f06(0x1b5)](r[_0x449f06(0x1a6)]);if(!_0x41bf5c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x41bf5c['importDOCXToSnapshot'](_0x345837);}}i[_0x474c14(0x19e)]['extend'](c);
1
+ 'use strict';const _0x4a5313=_0x3b05;(function(_0x59a71d,_0x10bf37){const _0x1be38d=_0x3b05,_0x423221=_0x59a71d();while(!![]){try{const _0x3e4ad4=-parseInt(_0x1be38d(0x1b5))/0x1+-parseInt(_0x1be38d(0x1ae))/0x2*(parseInt(_0x1be38d(0x1a9))/0x3)+parseInt(_0x1be38d(0x1b8))/0x4+parseInt(_0x1be38d(0x1af))/0x5+-parseInt(_0x1be38d(0x1be))/0x6*(parseInt(_0x1be38d(0x1b1))/0x7)+parseInt(_0x1be38d(0x1bd))/0x8+-parseInt(_0x1be38d(0x1bf))/0x9*(parseInt(_0x1be38d(0x1a5))/0xa);if(_0x3e4ad4===_0x10bf37)break;else _0x423221['push'](_0x423221['shift']());}catch(_0x389db0){_0x423221['push'](_0x423221['shift']());}}}(_0x3c1f,0xc5583));const r=require(_0x4a5313(0x1b7)),i=require(_0x4a5313(0x1aa));var o=(_0x435a13=>(_0x435a13[_0x435a13['UNIVER_UNKNOWN']=0x0]=_0x4a5313(0x1b4),_0x435a13[_0x435a13[_0x4a5313(0x1ad)]=0x1]='UNIVER_DOC',_0x435a13[_0x435a13[_0x4a5313(0x1a0)]=0x2]='UNIVER_SHEET',_0x435a13[_0x435a13[_0x4a5313(0x1a4)]=0x3]=_0x4a5313(0x1a4),_0x435a13[_0x435a13[_0x4a5313(0x1ab)]=0x4]='UNIVER_PROJECT',_0x435a13[_0x435a13[_0x4a5313(0x1b0)]=-0x1]=_0x4a5313(0x1b0),_0x435a13))(o||{});function _0x3c1f(){const _0x49abb7=['2650jwoCwr','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','get','471423ADthBB','@univerjs/core/facade','UNIVER_PROJECT','importXLSXToUnitId','UNIVER_DOC','16RryTud','2919435MFglOi','UNRECOGNIZED','3002349zeETrz','exportXLSXBySnapshotAsync','extend','UNIVER_UNKNOWN','376444kSmebv','FUniver','@univerjs-pro/exchange-client','5438620RnblDT','_injector','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','9807320TYnyyJ','6NTpsoW','10143fZVmUY','importXLSXToSnapshot','exportXLSXBySnapshot','importFileToUnitId','importDOCXToUnitId','IExchangeService','UNIVER_SHEET','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNIVER_SLIDE'];_0x3c1f=function(){return _0x49abb7;};return _0x3c1f();}class c extends i['FUniver']{async[_0x4a5313(0x1ac)](_0x461b7c){const _0x22a6f5=_0x4a5313;return this[_0x22a6f5(0x1a6)](_0x461b7c);}async[_0x4a5313(0x1a6)](_0x5ca974){const _0x21d59f=_0x4a5313,_0x388384=this[_0x21d59f(0x1b9)][_0x21d59f(0x1a8)](r[_0x21d59f(0x19f)]);if(!_0x388384)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x388384[_0x21d59f(0x1c2)](_0x5ca974,o[_0x21d59f(0x1a0)]);}async[_0x4a5313(0x1c0)](_0x34b367){const _0x3e3a59=_0x4a5313;return this[_0x3e3a59(0x1a2)](_0x34b367);}async['importXLSXToSnapshotAsync'](_0x14b149){const _0x3a9a42=_0x4a5313,_0x5018f2=this[_0x3a9a42(0x1b9)][_0x3a9a42(0x1a8)](r[_0x3a9a42(0x19f)]);if(!_0x5018f2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5018f2[_0x3a9a42(0x1c0)](_0x14b149);}async['exportXLSXByUnitId'](_0x57572f){return this['exportXLSXByUnitIdAsync'](_0x57572f);}async[_0x4a5313(0x1a1)](_0x2e46b5){const _0x238486=_0x4a5313,_0x38e02f=this[_0x238486(0x1b9)][_0x238486(0x1a8)](r['IExchangeService']);if(!_0x38e02f)throw new Error(_0x238486(0x1bb));return _0x38e02f[_0x238486(0x1bc)](_0x2e46b5);}async[_0x4a5313(0x1c1)](_0x5993f6){const _0xc57b59=_0x4a5313;return this[_0xc57b59(0x1b2)](_0x5993f6);}async[_0x4a5313(0x1b2)](_0xaecba0){const _0x5aeb6b=_0x4a5313,_0x382133=this[_0x5aeb6b(0x1b9)][_0x5aeb6b(0x1a8)](r['IExchangeService']);if(!_0x382133)throw new Error(_0x5aeb6b(0x1bb));return _0x382133[_0x5aeb6b(0x1c1)](_0xaecba0);}async[_0x4a5313(0x19e)](_0x368c1c){const _0x810640=_0x4a5313;return this[_0x810640(0x1ba)](_0x368c1c);}async[_0x4a5313(0x1ba)](_0x2e6ded){const _0x25e1f0=_0x4a5313,_0x245b87=this[_0x25e1f0(0x1b9)]['get'](r[_0x25e1f0(0x19f)]);if(!_0x245b87)throw new Error(_0x25e1f0(0x1bb));return _0x245b87[_0x25e1f0(0x1c2)](_0x2e6ded,o[_0x25e1f0(0x1ad)]);}async[_0x4a5313(0x1a3)](_0x1ad38e){const _0x30c590=_0x4a5313;return this[_0x30c590(0x1a7)](_0x1ad38e);}async['importDOCXToSnapshotAsync'](_0x513860){const _0x17648b=_0x4a5313,_0x558d0f=this['_injector'][_0x17648b(0x1a8)](r[_0x17648b(0x19f)]);if(!_0x558d0f)throw new Error(_0x17648b(0x1bb));return _0x558d0f[_0x17648b(0x1a3)](_0x513860);}}function _0x3b05(_0x5dcdff,_0x973fb4){const _0x3c1fc1=_0x3c1f();return _0x3b05=function(_0x3b05b3,_0x22c947){_0x3b05b3=_0x3b05b3-0x19e;let _0x4f36ca=_0x3c1fc1[_0x3b05b3];return _0x4f36ca;},_0x3b05(_0x5dcdff,_0x973fb4);}i[_0x4a5313(0x1b6)][_0x4a5313(0x1b3)](c);