@univerjs-pro/exchange-client 0.6.10-experimental.20250410-f79ffef → 0.6.10-experimental.20250410-d40d076

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 _0x172ae6=_0x4f41;function _0x4f41(_0x4dd608,_0x2a1e3f){const _0x2235e6=_0x2235();return _0x4f41=function(_0x4f4113,_0x546c1b){_0x4f4113=_0x4f4113-0x1de;let _0x2671da=_0x2235e6[_0x4f4113];return _0x2671da;},_0x4f41(_0x4dd608,_0x2a1e3f);}(function(_0x334f4,_0x4a7d4f){const _0x331b14=_0x4f41,_0x3b7327=_0x334f4();while(!![]){try{const _0x12b177=parseInt(_0x331b14(0x1f5))/0x1*(-parseInt(_0x331b14(0x1e6))/0x2)+-parseInt(_0x331b14(0x1fe))/0x3+-parseInt(_0x331b14(0x1fb))/0x4+-parseInt(_0x331b14(0x1f3))/0x5+parseInt(_0x331b14(0x1f8))/0x6*(-parseInt(_0x331b14(0x1f0))/0x7)+-parseInt(_0x331b14(0x1e8))/0x8+-parseInt(_0x331b14(0x1f4))/0x9*(-parseInt(_0x331b14(0x200))/0xa);if(_0x12b177===_0x4a7d4f)break;else _0x3b7327['push'](_0x3b7327['shift']());}catch(_0x5f226a){_0x3b7327['push'](_0x3b7327['shift']());}}}(_0x2235,0x381a4));const r=require(_0x172ae6(0x1fc)),i=require(_0x172ae6(0x1f6));var o=(_0x288696=>(_0x288696[_0x288696[_0x172ae6(0x1eb)]=0x0]=_0x172ae6(0x1eb),_0x288696[_0x288696['UNIVER_DOC']=0x1]=_0x172ae6(0x1fa),_0x288696[_0x288696[_0x172ae6(0x1ef)]=0x2]=_0x172ae6(0x1ef),_0x288696[_0x288696[_0x172ae6(0x1ee)]=0x3]=_0x172ae6(0x1ee),_0x288696[_0x288696['UNIVER_PROJECT']=0x4]=_0x172ae6(0x1ea),_0x288696[_0x288696[_0x172ae6(0x1f1)]=-0x1]='UNRECOGNIZED',_0x288696))(o||{});function _0x2235(){const _0x2896c5=['exportXLSXBySnapshotAsync','exportXLSXByUnitId','FUniver','importFileToUnitId','674zMSqEE','get','292280sezkJP','importDOCXToUnitId','UNIVER_PROJECT','UNIVER_UNKNOWN','_injector','exportXLSXByUnitIdAsync','UNIVER_SLIDE','UNIVER_SHEET','7SlwBnP','UNRECOGNIZED','extend','797475IxgyUH','300393wJjBbT','1173CRsVSN','@univerjs/core/facade','importXLSXToSnapshot','2456310jzwjgj','exportXLSXBySnapshot','UNIVER_DOC','971904yzurEo','@univerjs-pro/exchange-client','importDOCXToSnapshot','686217dfeXNA','importXLSXToSnapshotAsync','510GSJMno','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','IExchangeService'];_0x2235=function(){return _0x2896c5;};return _0x2235();}class c extends i[_0x172ae6(0x1e4)]{async['importXLSXToUnitId'](_0x3c64cd){const _0x32290d=_0x172ae6;return this[_0x32290d(0x1de)](_0x3c64cd);}async['importXLSXToUnitIdAsync'](_0x514d0f){const _0x3663df=_0x172ae6,_0x1a2dc3=this[_0x3663df(0x1ec)][_0x3663df(0x1e7)](r[_0x3663df(0x1e1)]);if(!_0x1a2dc3)throw new Error(_0x3663df(0x1df));return _0x1a2dc3[_0x3663df(0x1e5)](_0x514d0f,o[_0x3663df(0x1ef)]);}async[_0x172ae6(0x1f7)](_0x2add60){const _0x1fe5e8=_0x172ae6;return this[_0x1fe5e8(0x1ff)](_0x2add60);}async[_0x172ae6(0x1ff)](_0x2ef973){const _0x2e7388=_0x172ae6,_0x41826c=this[_0x2e7388(0x1ec)][_0x2e7388(0x1e7)](r['IExchangeService']);if(!_0x41826c)throw new Error(_0x2e7388(0x1df));return _0x41826c[_0x2e7388(0x1f7)](_0x2ef973);}async['exportXLSXByUnitId'](_0x1feae5){const _0x4ea3b7=_0x172ae6;return this[_0x4ea3b7(0x1ed)](_0x1feae5);}async[_0x172ae6(0x1ed)](_0x436893){const _0x263c85=_0x172ae6,_0x100537=this[_0x263c85(0x1ec)][_0x263c85(0x1e7)](r[_0x263c85(0x1e1)]);if(!_0x100537)throw new Error(_0x263c85(0x1df));return _0x100537[_0x263c85(0x1e3)](_0x436893);}async['exportXLSXBySnapshot'](_0x8c605b){const _0xe9cb15=_0x172ae6;return this[_0xe9cb15(0x1e2)](_0x8c605b);}async[_0x172ae6(0x1e2)](_0x3c1690){const _0x56744d=_0x172ae6,_0x22c8f2=this[_0x56744d(0x1ec)][_0x56744d(0x1e7)](r[_0x56744d(0x1e1)]);if(!_0x22c8f2)throw new Error(_0x56744d(0x1df));return _0x22c8f2[_0x56744d(0x1f9)](_0x3c1690);}async[_0x172ae6(0x1e9)](_0x2d6b3b){return this['importDOCXToUnitIdAsync'](_0x2d6b3b);}async['importDOCXToUnitIdAsync'](_0x1cf754){const _0x37129a=_0x172ae6,_0x36ff0e=this[_0x37129a(0x1ec)][_0x37129a(0x1e7)](r[_0x37129a(0x1e1)]);if(!_0x36ff0e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x36ff0e[_0x37129a(0x1e5)](_0x1cf754,o[_0x37129a(0x1fa)]);}async[_0x172ae6(0x1fd)](_0x171693){const _0x46291f=_0x172ae6;return this[_0x46291f(0x1e0)](_0x171693);}async[_0x172ae6(0x1e0)](_0x487dda){const _0x2dd213=_0x172ae6,_0x3628d5=this[_0x2dd213(0x1ec)][_0x2dd213(0x1e7)](r[_0x2dd213(0x1e1)]);if(!_0x3628d5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3628d5[_0x2dd213(0x1fd)](_0x487dda);}}i['FUniver'][_0x172ae6(0x1f2)](c);
1
+ 'use strict';const _0x5ca0d0=_0x445d;(function(_0x364569,_0x2351e2){const _0xb1b83a=_0x445d,_0x16b64a=_0x364569();while(!![]){try{const _0x42c711=-parseInt(_0xb1b83a(0x1dc))/0x1*(-parseInt(_0xb1b83a(0x1d3))/0x2)+-parseInt(_0xb1b83a(0x1c8))/0x3+parseInt(_0xb1b83a(0x1d5))/0x4+-parseInt(_0xb1b83a(0x1d4))/0x5+-parseInt(_0xb1b83a(0x1df))/0x6+parseInt(_0xb1b83a(0x1ce))/0x7+parseInt(_0xb1b83a(0x1cb))/0x8*(parseInt(_0xb1b83a(0x1d0))/0x9);if(_0x42c711===_0x2351e2)break;else _0x16b64a['push'](_0x16b64a['shift']());}catch(_0x5791ac){_0x16b64a['push'](_0x16b64a['shift']());}}}(_0x1e7f,0x648d5));function _0x1e7f(){const _0x50be9b=['3047fomdDi','importXLSXToSnapshot','_injector','2702868hzGuLK','IExchangeService','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','UNIVER_SHEET','importXLSXToSnapshotAsync','importXLSXToUnitId','exportXLSXBySnapshotAsync','get','1840068wvtWqE','UNIVER_SLIDE','exportXLSXBySnapshot','1696728bQxmHn','importDOCXToSnapshot','importDOCXToSnapshotAsync','580741PIIriq','UNRECOGNIZED','81hlQTaj','importDOCXToUnitId','UNIVER_PROJECT','8HvktxZ','3586405VsUJZf','756024EnRBdO','importXLSXToUnitIdAsync','FUniver','UNIVER_DOC','importDOCXToUnitIdAsync','@univerjs/core/facade','importFileToUnitId'];_0x1e7f=function(){return _0x50be9b;};return _0x1e7f();}function _0x445d(_0x3fbc06,_0x51f0cb){const _0x1e7f36=_0x1e7f();return _0x445d=function(_0x445d2c,_0x4ac3b3){_0x445d2c=_0x445d2c-0x1c3;let _0x45485a=_0x1e7f36[_0x445d2c];return _0x45485a;},_0x445d(_0x3fbc06,_0x51f0cb);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x5ca0d0(0x1da));var o=(_0x3cca87=>(_0x3cca87[_0x3cca87[_0x5ca0d0(0x1e3)]=0x0]='UNIVER_UNKNOWN',_0x3cca87[_0x3cca87[_0x5ca0d0(0x1d8)]=0x1]='UNIVER_DOC',_0x3cca87[_0x3cca87[_0x5ca0d0(0x1c3)]=0x2]=_0x5ca0d0(0x1c3),_0x3cca87[_0x3cca87[_0x5ca0d0(0x1c9)]=0x3]=_0x5ca0d0(0x1c9),_0x3cca87[_0x3cca87[_0x5ca0d0(0x1d2)]=0x4]=_0x5ca0d0(0x1d2),_0x3cca87[_0x3cca87[_0x5ca0d0(0x1cf)]=-0x1]=_0x5ca0d0(0x1cf),_0x3cca87))(o||{});class c extends i[_0x5ca0d0(0x1d7)]{async[_0x5ca0d0(0x1c5)](_0x1e369a){const _0x2d12c4=_0x5ca0d0;return this[_0x2d12c4(0x1d6)](_0x1e369a);}async['importXLSXToUnitIdAsync'](_0x36efcd){const _0x517e3d=_0x5ca0d0,_0x168292=this[_0x517e3d(0x1de)][_0x517e3d(0x1c7)](r[_0x517e3d(0x1e0)]);if(!_0x168292)throw new Error(_0x517e3d(0x1e2));return _0x168292[_0x517e3d(0x1db)](_0x36efcd,o[_0x517e3d(0x1c3)]);}async[_0x5ca0d0(0x1dd)](_0x24e316){const _0x5e55b6=_0x5ca0d0;return this[_0x5e55b6(0x1c4)](_0x24e316);}async[_0x5ca0d0(0x1c4)](_0x57309f){const _0xd5459f=_0x5ca0d0,_0x3a5997=this[_0xd5459f(0x1de)][_0xd5459f(0x1c7)](r['IExchangeService']);if(!_0x3a5997)throw new Error(_0xd5459f(0x1e2));return _0x3a5997[_0xd5459f(0x1dd)](_0x57309f);}async[_0x5ca0d0(0x1e1)](_0x42c7ec){const _0x5eeb6d=_0x5ca0d0;return this[_0x5eeb6d(0x1e4)](_0x42c7ec);}async[_0x5ca0d0(0x1e4)](_0x29bca7){const _0x268725=_0x5ca0d0,_0x4cf2a4=this['_injector'][_0x268725(0x1c7)](r['IExchangeService']);if(!_0x4cf2a4)throw new Error(_0x268725(0x1e2));return _0x4cf2a4[_0x268725(0x1e1)](_0x29bca7);}async[_0x5ca0d0(0x1ca)](_0xe2e96){const _0x3ca040=_0x5ca0d0;return this[_0x3ca040(0x1c6)](_0xe2e96);}async[_0x5ca0d0(0x1c6)](_0x100536){const _0x2a74f0=_0x5ca0d0,_0x346106=this['_injector']['get'](r[_0x2a74f0(0x1e0)]);if(!_0x346106)throw new Error(_0x2a74f0(0x1e2));return _0x346106[_0x2a74f0(0x1ca)](_0x100536);}async[_0x5ca0d0(0x1d1)](_0x1a4831){const _0x4a1711=_0x5ca0d0;return this[_0x4a1711(0x1d9)](_0x1a4831);}async['importDOCXToUnitIdAsync'](_0x2062c3){const _0x2309e6=_0x5ca0d0,_0x566899=this[_0x2309e6(0x1de)][_0x2309e6(0x1c7)](r[_0x2309e6(0x1e0)]);if(!_0x566899)throw new Error(_0x2309e6(0x1e2));return _0x566899[_0x2309e6(0x1db)](_0x2062c3,o[_0x2309e6(0x1d8)]);}async['importDOCXToSnapshot'](_0x51c37f){const _0x507e45=_0x5ca0d0;return this[_0x507e45(0x1cd)](_0x51c37f);}async[_0x5ca0d0(0x1cd)](_0xc28790){const _0x275789=_0x5ca0d0,_0x3c975c=this[_0x275789(0x1de)]['get'](r[_0x275789(0x1e0)]);if(!_0x3c975c)throw new Error(_0x275789(0x1e2));return _0x3c975c[_0x275789(0x1cc)](_0xc28790);}}i[_0x5ca0d0(0x1d7)]['extend'](c);