@univerjs-pro/exchange-client 0.6.6 → 0.6.7

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';function _0x489c(){const _0x354996=['importXLSXToUnitIdAsync','30yhiaOm','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','1254456YRsCki','_injector','UNIVER_DOC','UNIVER_SLIDE','get','UNIVER_UNKNOWN','exportXLSXBySnapshot','importXLSXToSnapshot','IExchangeService','exportXLSXBySnapshotAsync','244482pzdpft','importDOCXToSnapshotAsync','extend','5166000GkHatQ','FUniver','importFileToUnitId','166112aOCQOW','UNIVER_SHEET','importDOCXToSnapshot','UNIVER_PROJECT','463197gvebPA','649190fgtwqP','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToUnitIdAsync','725304XEssRn','@univerjs-pro/exchange-client'];_0x489c=function(){return _0x354996;};return _0x489c();}const _0x4ce34b=_0x1fb3;function _0x1fb3(_0x579db4,_0x1d9caf){const _0x489c18=_0x489c();return _0x1fb3=function(_0x1fb369,_0x3ca51e){_0x1fb369=_0x1fb369-0x1b5;let _0x3cb37b=_0x489c18[_0x1fb369];return _0x3cb37b;},_0x1fb3(_0x579db4,_0x1d9caf);}(function(_0x317f3d,_0x5580ea){const _0x5c5ec2=_0x1fb3,_0x22612a=_0x317f3d();while(!![]){try{const _0x3e7e0e=-parseInt(_0x5c5ec2(0x1c4))/0x1+-parseInt(_0x5c5ec2(0x1d3))/0x2+-parseInt(_0x5c5ec2(0x1c8))/0x3+parseInt(_0x5c5ec2(0x1c1))/0x4+parseInt(_0x5c5ec2(0x1c9))/0x5+-parseInt(_0x5c5ec2(0x1d0))/0x6*(-parseInt(_0x5c5ec2(0x1be))/0x7)+parseInt(_0x5c5ec2(0x1cd))/0x8;if(_0x3e7e0e===_0x5580ea)break;else _0x22612a['push'](_0x22612a['shift']());}catch(_0x2617dc){_0x22612a['push'](_0x22612a['shift']());}}}(_0x489c,0xb464c));const r=require(_0x4ce34b(0x1ce)),i=require('@univerjs/core/facade');var o=(_0x39fea6=>(_0x39fea6[_0x39fea6[_0x4ce34b(0x1b9)]=0x0]=_0x4ce34b(0x1b9),_0x39fea6[_0x39fea6[_0x4ce34b(0x1b6)]=0x1]=_0x4ce34b(0x1b6),_0x39fea6[_0x39fea6[_0x4ce34b(0x1c5)]=0x2]='UNIVER_SHEET',_0x39fea6[_0x39fea6[_0x4ce34b(0x1b7)]=0x3]=_0x4ce34b(0x1b7),_0x39fea6[_0x39fea6[_0x4ce34b(0x1c7)]=0x4]=_0x4ce34b(0x1c7),_0x39fea6[_0x39fea6['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x39fea6))(o||{});class c extends i[_0x4ce34b(0x1c2)]{async['importXLSXToUnitId'](_0x113564){const _0x15b44b=_0x4ce34b;return this[_0x15b44b(0x1cf)](_0x113564);}async[_0x4ce34b(0x1cf)](_0x3cc1c8){const _0x3cb6c0=_0x4ce34b,_0xabbb94=this[_0x3cb6c0(0x1b5)][_0x3cb6c0(0x1b8)](r[_0x3cb6c0(0x1bc)]);if(!_0xabbb94)throw new Error(_0x3cb6c0(0x1d1));return _0xabbb94[_0x3cb6c0(0x1c3)](_0x3cc1c8,o[_0x3cb6c0(0x1c5)]);}async[_0x4ce34b(0x1bb)](_0x257b28){const _0x5379e6=_0x4ce34b;return this[_0x5379e6(0x1cb)](_0x257b28);}async[_0x4ce34b(0x1cb)](_0x56e7c0){const _0x319196=_0x4ce34b,_0xd721f7=this[_0x319196(0x1b5)][_0x319196(0x1b8)](r[_0x319196(0x1bc)]);if(!_0xd721f7)throw new Error(_0x319196(0x1d1));return _0xd721f7['importXLSXToSnapshot'](_0x56e7c0);}async[_0x4ce34b(0x1d2)](_0x33296e){const _0x603bb2=_0x4ce34b;return this[_0x603bb2(0x1ca)](_0x33296e);}async['exportXLSXByUnitIdAsync'](_0x4470ab){const _0x1f50c8=_0x4ce34b,_0x22c8e8=this[_0x1f50c8(0x1b5)]['get'](r[_0x1f50c8(0x1bc)]);if(!_0x22c8e8)throw new Error(_0x1f50c8(0x1d1));return _0x22c8e8[_0x1f50c8(0x1d2)](_0x4470ab);}async[_0x4ce34b(0x1ba)](_0x1b42bd){return this['exportXLSXBySnapshotAsync'](_0x1b42bd);}async[_0x4ce34b(0x1bd)](_0x2a0e0d){const _0x18a7b5=_0x4ce34b,_0x11900a=this[_0x18a7b5(0x1b5)][_0x18a7b5(0x1b8)](r[_0x18a7b5(0x1bc)]);if(!_0x11900a)throw new Error(_0x18a7b5(0x1d1));return _0x11900a[_0x18a7b5(0x1ba)](_0x2a0e0d);}async['importDOCXToUnitId'](_0x1fcac7){const _0x46b264=_0x4ce34b;return this[_0x46b264(0x1cc)](_0x1fcac7);}async[_0x4ce34b(0x1cc)](_0x3d829d){const _0x4651ed=_0x4ce34b,_0x237eb7=this[_0x4651ed(0x1b5)][_0x4651ed(0x1b8)](r[_0x4651ed(0x1bc)]);if(!_0x237eb7)throw new Error(_0x4651ed(0x1d1));return _0x237eb7[_0x4651ed(0x1c3)](_0x3d829d,o[_0x4651ed(0x1b6)]);}async[_0x4ce34b(0x1c6)](_0x3c6d59){const _0x12aba7=_0x4ce34b;return this[_0x12aba7(0x1bf)](_0x3c6d59);}async['importDOCXToSnapshotAsync'](_0x24c1c0){const _0x3d9fd5=_0x4ce34b,_0x51803c=this[_0x3d9fd5(0x1b5)][_0x3d9fd5(0x1b8)](r[_0x3d9fd5(0x1bc)]);if(!_0x51803c)throw new Error(_0x3d9fd5(0x1d1));return _0x51803c[_0x3d9fd5(0x1c6)](_0x24c1c0);}}i[_0x4ce34b(0x1c2)][_0x4ce34b(0x1c0)](c);
1
+ 'use strict';const _0x3b68b8=_0x1512;function _0x1512(_0x2da93,_0x476aed){const _0x57fbb5=_0x57fb();return _0x1512=function(_0x15122c,_0x1e88d8){_0x15122c=_0x15122c-0x1eb;let _0x36cfb5=_0x57fbb5[_0x15122c];return _0x36cfb5;},_0x1512(_0x2da93,_0x476aed);}(function(_0x2d2022,_0x3a5d1a){const _0x5bd52b=_0x1512,_0x2d8267=_0x2d2022();while(!![]){try{const _0x401bd7=-parseInt(_0x5bd52b(0x200))/0x1+parseInt(_0x5bd52b(0x1f8))/0x2*(parseInt(_0x5bd52b(0x1ff))/0x3)+-parseInt(_0x5bd52b(0x1f9))/0x4*(-parseInt(_0x5bd52b(0x1f7))/0x5)+-parseInt(_0x5bd52b(0x1fe))/0x6+parseInt(_0x5bd52b(0x206))/0x7+-parseInt(_0x5bd52b(0x1ef))/0x8*(-parseInt(_0x5bd52b(0x1ec))/0x9)+-parseInt(_0x5bd52b(0x1ee))/0xa;if(_0x401bd7===_0x3a5d1a)break;else _0x2d8267['push'](_0x2d8267['shift']());}catch(_0x54c06d){_0x2d8267['push'](_0x2d8267['shift']());}}}(_0x57fb,0x50fbe));const r=require(_0x3b68b8(0x1fd)),i=require(_0x3b68b8(0x207));var o=(_0x13da99=>(_0x13da99[_0x13da99['UNIVER_UNKNOWN']=0x0]=_0x3b68b8(0x1f2),_0x13da99[_0x13da99['UNIVER_DOC']=0x1]=_0x3b68b8(0x208),_0x13da99[_0x13da99['UNIVER_SHEET']=0x2]=_0x3b68b8(0x1f0),_0x13da99[_0x13da99[_0x3b68b8(0x1fb)]=0x3]=_0x3b68b8(0x1fb),_0x13da99[_0x13da99[_0x3b68b8(0x20a)]=0x4]=_0x3b68b8(0x20a),_0x13da99[_0x13da99[_0x3b68b8(0x1fa)]=-0x1]='UNRECOGNIZED',_0x13da99))(o||{});class c extends i[_0x3b68b8(0x1eb)]{async[_0x3b68b8(0x1f5)](_0x26b58d){return this['importXLSXToUnitIdAsync'](_0x26b58d);}async[_0x3b68b8(0x201)](_0x3d8864){const _0x2e6688=_0x3b68b8,_0x5af076=this['_injector'][_0x2e6688(0x209)](r[_0x2e6688(0x1ed)]);if(!_0x5af076)throw new Error(_0x2e6688(0x20c));return _0x5af076[_0x2e6688(0x1fc)](_0x3d8864,o[_0x2e6688(0x1f0)]);}async[_0x3b68b8(0x203)](_0x36064d){const _0x4c77ba=_0x3b68b8;return this[_0x4c77ba(0x1f1)](_0x36064d);}async[_0x3b68b8(0x1f1)](_0x5d1e83){const _0xddf828=_0x3b68b8,_0xcb03f9=this['_injector']['get'](r[_0xddf828(0x1ed)]);if(!_0xcb03f9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xcb03f9[_0xddf828(0x203)](_0x5d1e83);}async[_0x3b68b8(0x20b)](_0x25a6ab){return this['exportXLSXByUnitIdAsync'](_0x25a6ab);}async['exportXLSXByUnitIdAsync'](_0x56025c){const _0x1200e4=_0x3b68b8,_0x413251=this[_0x1200e4(0x1f4)][_0x1200e4(0x209)](r[_0x1200e4(0x1ed)]);if(!_0x413251)throw new Error(_0x1200e4(0x20c));return _0x413251[_0x1200e4(0x20b)](_0x56025c);}async[_0x3b68b8(0x1f3)](_0x237ee3){const _0x3abfb2=_0x3b68b8;return this[_0x3abfb2(0x1f6)](_0x237ee3);}async['exportXLSXBySnapshotAsync'](_0x5ab2e9){const _0xac88e4=_0x3b68b8,_0x35f6d5=this['_injector'][_0xac88e4(0x209)](r[_0xac88e4(0x1ed)]);if(!_0x35f6d5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x35f6d5[_0xac88e4(0x1f3)](_0x5ab2e9);}async['importDOCXToUnitId'](_0x4f989d){const _0x2bffd5=_0x3b68b8;return this[_0x2bffd5(0x202)](_0x4f989d);}async[_0x3b68b8(0x202)](_0x5bf908){const _0x4652dc=_0x3b68b8,_0x50969b=this['_injector'][_0x4652dc(0x209)](r['IExchangeService']);if(!_0x50969b)throw new Error(_0x4652dc(0x20c));return _0x50969b[_0x4652dc(0x1fc)](_0x5bf908,o[_0x4652dc(0x208)]);}async[_0x3b68b8(0x205)](_0x522a){const _0x324422=_0x3b68b8;return this[_0x324422(0x204)](_0x522a);}async['importDOCXToSnapshotAsync'](_0x5c0f60){const _0x5c7fd0=_0x3b68b8,_0x54792f=this['_injector'][_0x5c7fd0(0x209)](r[_0x5c7fd0(0x1ed)]);if(!_0x54792f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x54792f[_0x5c7fd0(0x205)](_0x5c0f60);}}i[_0x3b68b8(0x1eb)]['extend'](c);function _0x57fb(){const _0x3914c2=['UNIVER_PROJECT','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','9EbSTzF','IExchangeService','6420850NNLdra','3743000CYXoqB','UNIVER_SHEET','importXLSXToSnapshotAsync','UNIVER_UNKNOWN','exportXLSXBySnapshot','_injector','importXLSXToUnitId','exportXLSXBySnapshotAsync','15qDtdhn','4nxyVQy','356816bDpgBH','UNRECOGNIZED','UNIVER_SLIDE','importFileToUnitId','@univerjs-pro/exchange-client','1556016qoevmF','4803EfDnFc','132719DKkMef','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','importXLSXToSnapshot','importDOCXToSnapshotAsync','importDOCXToSnapshot','4390127TtbPMH','@univerjs/core/facade','UNIVER_DOC','get'];_0x57fb=function(){return _0x3914c2;};return _0x57fb();}