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

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 _0x95f523=_0x5541;(function(_0x5e402d,_0x3c60b3){const _0x4e1d10=_0x5541,_0x1c0e8a=_0x5e402d();while(!![]){try{const _0x4748fb=parseInt(_0x4e1d10(0x182))/0x1*(parseInt(_0x4e1d10(0x163))/0x2)+-parseInt(_0x4e1d10(0x174))/0x3+-parseInt(_0x4e1d10(0x179))/0x4*(-parseInt(_0x4e1d10(0x165))/0x5)+parseInt(_0x4e1d10(0x16d))/0x6+-parseInt(_0x4e1d10(0x180))/0x7+-parseInt(_0x4e1d10(0x168))/0x8*(-parseInt(_0x4e1d10(0x171))/0x9)+parseInt(_0x4e1d10(0x172))/0xa;if(_0x4748fb===_0x3c60b3)break;else _0x1c0e8a['push'](_0x1c0e8a['shift']());}catch(_0x3428e3){_0x1c0e8a['push'](_0x1c0e8a['shift']());}}}(_0x18ae,0xc270d));function _0x5541(_0x157036,_0x28a094){const _0x18ae89=_0x18ae();return _0x5541=function(_0x554163,_0x57b75f){_0x554163=_0x554163-0x163;let _0x23bdb6=_0x18ae89[_0x554163];return _0x23bdb6;},_0x5541(_0x157036,_0x28a094);}const r=require(_0x95f523(0x177)),i=require(_0x95f523(0x176));var o=(_0x18fefd=>(_0x18fefd[_0x18fefd[_0x95f523(0x16a)]=0x0]=_0x95f523(0x16a),_0x18fefd[_0x18fefd[_0x95f523(0x16f)]=0x1]=_0x95f523(0x16f),_0x18fefd[_0x18fefd[_0x95f523(0x17d)]=0x2]='UNIVER_SHEET',_0x18fefd[_0x18fefd['UNIVER_SLIDE']=0x3]=_0x95f523(0x17f),_0x18fefd[_0x18fefd['UNIVER_PROJECT']=0x4]=_0x95f523(0x16b),_0x18fefd[_0x18fefd['UNRECOGNIZED']=-0x1]=_0x95f523(0x17a),_0x18fefd))(o||{});function _0x18ae(){const _0x1720fb=['@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','28vVUjSX','UNRECOGNIZED','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_SHEET','importXLSXToSnapshot','UNIVER_SLIDE','9715174GYPSiM','exportXLSXByUnitId','29VpKUMo','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','FUniver','get','86606ReTKRJ','extend','123035CSCAyr','importXLSXToUnitIdAsync','_injector','4025464wXSFZA','importDOCXToSnapshot','UNIVER_UNKNOWN','UNIVER_PROJECT','importFileToUnitId','4539504ZiUWDp','exportXLSXBySnapshotAsync','UNIVER_DOC','exportXLSXBySnapshot','9oBzGgj','7660090QZpFCt','importDOCXToUnitId','3808503FOdPhm','IExchangeService','@univerjs/core/facade'];_0x18ae=function(){return _0x1720fb;};return _0x18ae();}class c extends i[_0x95f523(0x185)]{async['importXLSXToUnitId'](_0x496ec0){const _0x9a8009=_0x95f523;return this[_0x9a8009(0x166)](_0x496ec0);}async[_0x95f523(0x166)](_0x1379b0){const _0x30c858=_0x95f523,_0x4f1521=this[_0x30c858(0x167)][_0x30c858(0x186)](r[_0x30c858(0x175)]);if(!_0x4f1521)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4f1521['importFileToUnitId'](_0x1379b0,o[_0x30c858(0x17d)]);}async[_0x95f523(0x17e)](_0x188762){const _0x2956b8=_0x95f523;return this[_0x2956b8(0x184)](_0x188762);}async[_0x95f523(0x184)](_0x39565a){const _0x2cf3e4=_0x95f523,_0x3772d1=this[_0x2cf3e4(0x167)]['get'](r[_0x2cf3e4(0x175)]);if(!_0x3772d1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3772d1[_0x2cf3e4(0x17e)](_0x39565a);}async[_0x95f523(0x181)](_0x3c10cb){const _0x54d9cf=_0x95f523;return this[_0x54d9cf(0x183)](_0x3c10cb);}async[_0x95f523(0x183)](_0x30a868){const _0x4b7a28=_0x95f523,_0x6c6914=this[_0x4b7a28(0x167)][_0x4b7a28(0x186)](r[_0x4b7a28(0x175)]);if(!_0x6c6914)throw new Error(_0x4b7a28(0x178));return _0x6c6914[_0x4b7a28(0x181)](_0x30a868);}async['exportXLSXBySnapshot'](_0x6784fd){const _0xb9c2b=_0x95f523;return this[_0xb9c2b(0x16e)](_0x6784fd);}async[_0x95f523(0x16e)](_0x1fd1b8){const _0x2d09fb=_0x95f523,_0x3c9bb7=this[_0x2d09fb(0x167)][_0x2d09fb(0x186)](r[_0x2d09fb(0x175)]);if(!_0x3c9bb7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3c9bb7[_0x2d09fb(0x170)](_0x1fd1b8);}async[_0x95f523(0x173)](_0x1d18fa){const _0x4a90a6=_0x95f523;return this[_0x4a90a6(0x17b)](_0x1d18fa);}async[_0x95f523(0x17b)](_0x22d801){const _0x1869a0=_0x95f523,_0x36ab29=this[_0x1869a0(0x167)][_0x1869a0(0x186)](r[_0x1869a0(0x175)]);if(!_0x36ab29)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x36ab29[_0x1869a0(0x16c)](_0x22d801,o[_0x1869a0(0x16f)]);}async[_0x95f523(0x169)](_0xcbf3ca){const _0x4759c0=_0x95f523;return this[_0x4759c0(0x17c)](_0xcbf3ca);}async[_0x95f523(0x17c)](_0x5ab74d){const _0x552390=_0x95f523,_0x214960=this[_0x552390(0x167)][_0x552390(0x186)](r['IExchangeService']);if(!_0x214960)throw new Error(_0x552390(0x178));return _0x214960['importDOCXToSnapshot'](_0x5ab74d);}}i[_0x95f523(0x185)][_0x95f523(0x164)](c);
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);