@univerjs-pro/exchange-client 0.7.0-nightly.202505071607 → 0.7.0-nightly.202505101606

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 _0x1c5e(_0x5ca2bc,_0x35fbc9){const _0x23a305=_0x23a3();return _0x1c5e=function(_0x1c5e4c,_0x494271){_0x1c5e4c=_0x1c5e4c-0x14a;let _0x7e3347=_0x23a305[_0x1c5e4c];return _0x7e3347;},_0x1c5e(_0x5ca2bc,_0x35fbc9);}const _0x2244dc=_0x1c5e;(function(_0x2fdd60,_0x589657){const _0x225553=_0x1c5e,_0x11b446=_0x2fdd60();while(!![]){try{const _0x3e8eeb=-parseInt(_0x225553(0x156))/0x1+parseInt(_0x225553(0x165))/0x2*(-parseInt(_0x225553(0x151))/0x3)+-parseInt(_0x225553(0x16c))/0x4*(-parseInt(_0x225553(0x168))/0x5)+parseInt(_0x225553(0x150))/0x6*(parseInt(_0x225553(0x14f))/0x7)+parseInt(_0x225553(0x161))/0x8+-parseInt(_0x225553(0x15f))/0x9*(-parseInt(_0x225553(0x162))/0xa)+-parseInt(_0x225553(0x15d))/0xb;if(_0x3e8eeb===_0x589657)break;else _0x11b446['push'](_0x11b446['shift']());}catch(_0x474438){_0x11b446['push'](_0x11b446['shift']());}}}(_0x23a3,0x9ea8f));const r=require('@univerjs-pro/exchange-client'),i=require(_0x2244dc(0x159));var o=(_0x475f83=>(_0x475f83[_0x475f83['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x475f83[_0x475f83['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x475f83[_0x475f83[_0x2244dc(0x154)]=0x2]=_0x2244dc(0x154),_0x475f83[_0x475f83[_0x2244dc(0x14e)]=0x3]=_0x2244dc(0x14e),_0x475f83[_0x475f83[_0x2244dc(0x15a)]=0x4]='UNIVER_PROJECT',_0x475f83[_0x475f83[_0x2244dc(0x14d)]=-0x1]='UNRECOGNIZED',_0x475f83))(o||{});class c extends i[_0x2244dc(0x16b)]{async[_0x2244dc(0x153)](_0x22f469){const _0x469f6b=_0x2244dc;return this[_0x469f6b(0x155)](_0x22f469);}async['importXLSXToUnitIdAsync'](_0x35967f){const _0x196451=_0x2244dc,_0x3d3e24=this[_0x196451(0x152)]['get'](r[_0x196451(0x157)]);if(!_0x3d3e24)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3d3e24[_0x196451(0x164)](_0x35967f,o['UNIVER_SHEET']);}async[_0x2244dc(0x14c)](_0x358ab2){return this['importXLSXToSnapshotAsync'](_0x358ab2);}async[_0x2244dc(0x167)](_0x32d216){const _0x2c0347=_0x2244dc,_0x21374b=this['_injector'][_0x2c0347(0x169)](r[_0x2c0347(0x157)]);if(!_0x21374b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x21374b[_0x2c0347(0x14c)](_0x32d216);}async['exportXLSXByUnitId'](_0x4ba9e7){const _0x4c51d3=_0x2244dc;return this[_0x4c51d3(0x158)](_0x4ba9e7);}async[_0x2244dc(0x158)](_0x3bb19b){const _0x599fb7=_0x2244dc,_0x1ad2cd=this[_0x599fb7(0x152)][_0x599fb7(0x169)](r['IExchangeService']);if(!_0x1ad2cd)throw new Error(_0x599fb7(0x166));return _0x1ad2cd[_0x599fb7(0x15b)](_0x3bb19b);}async[_0x2244dc(0x14a)](_0x34080d){return this['exportXLSXBySnapshotAsync'](_0x34080d);}async[_0x2244dc(0x15e)](_0x29db23){const _0x2a2b50=_0x2244dc,_0x485b15=this[_0x2a2b50(0x152)][_0x2a2b50(0x169)](r[_0x2a2b50(0x157)]);if(!_0x485b15)throw new Error(_0x2a2b50(0x166));return _0x485b15[_0x2a2b50(0x14a)](_0x29db23);}async[_0x2244dc(0x16a)](_0x107b07){return this['importDOCXToUnitIdAsync'](_0x107b07);}async['importDOCXToUnitIdAsync'](_0x3ab323){const _0x4ab397=_0x2244dc,_0x47de75=this[_0x4ab397(0x152)][_0x4ab397(0x169)](r[_0x4ab397(0x157)]);if(!_0x47de75)throw new Error(_0x4ab397(0x166));return _0x47de75[_0x4ab397(0x164)](_0x3ab323,o[_0x4ab397(0x14b)]);}async[_0x2244dc(0x15c)](_0x5b57e1){const _0x2bfa0a=_0x2244dc;return this[_0x2bfa0a(0x160)](_0x5b57e1);}async['importDOCXToSnapshotAsync'](_0x3c7feb){const _0xcd9007=_0x2244dc,_0x9a94a4=this['_injector'][_0xcd9007(0x169)](r[_0xcd9007(0x157)]);if(!_0x9a94a4)throw new Error(_0xcd9007(0x166));return _0x9a94a4['importDOCXToSnapshot'](_0x3c7feb);}}i[_0x2244dc(0x16b)][_0x2244dc(0x163)](c);function _0x23a3(){const _0xb620c2=['5358104zElkcw','1470yyfiKI','extend','importFileToUnitId','3388RgXbqd','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','3916930ihWtpN','get','importDOCXToUnitId','FUniver','4mZpvxP','exportXLSXBySnapshot','UNIVER_DOC','importXLSXToSnapshot','UNRECOGNIZED','UNIVER_SLIDE','7BQLkbh','6705996wzWPjB','543QoQrAH','_injector','importXLSXToUnitId','UNIVER_SHEET','importXLSXToUnitIdAsync','204441yEzFIO','IExchangeService','exportXLSXByUnitIdAsync','@univerjs/core/facade','UNIVER_PROJECT','exportXLSXByUnitId','importDOCXToSnapshot','16322130Djeytq','exportXLSXBySnapshotAsync','4527hEEGsh','importDOCXToSnapshotAsync'];_0x23a3=function(){return _0xb620c2;};return _0x23a3();}
1
+ 'use strict';function _0x5824(_0x4aae12,_0x3c4489){const _0x1b3a31=_0x1b3a();return _0x5824=function(_0x5824f8,_0x41870b){_0x5824f8=_0x5824f8-0x13f;let _0x3f0521=_0x1b3a31[_0x5824f8];return _0x3f0521;},_0x5824(_0x4aae12,_0x3c4489);}const _0x2562b3=_0x5824;(function(_0x4d1b75,_0x51b6a9){const _0xd3aa88=_0x5824,_0x36ae40=_0x4d1b75();while(!![]){try{const _0xaf64d2=-parseInt(_0xd3aa88(0x155))/0x1+-parseInt(_0xd3aa88(0x15e))/0x2+-parseInt(_0xd3aa88(0x141))/0x3+parseInt(_0xd3aa88(0x156))/0x4+parseInt(_0xd3aa88(0x14c))/0x5*(parseInt(_0xd3aa88(0x13f))/0x6)+parseInt(_0xd3aa88(0x15b))/0x7+-parseInt(_0xd3aa88(0x151))/0x8;if(_0xaf64d2===_0x51b6a9)break;else _0x36ae40['push'](_0x36ae40['shift']());}catch(_0x53345d){_0x36ae40['push'](_0x36ae40['shift']());}}}(_0x1b3a,0xa4a08));function _0x1b3a(){const _0x3faf28=['@univerjs-pro/exchange-client','5EstPfj','importXLSXToSnapshotAsync','get','IExchangeService','UNIVER_DOC','1076504qwLHji','extend','exportXLSXBySnapshotAsync','UNIVER_PROJECT','524763qeZOgX','4409800haZTIT','exportXLSXByUnitId','importXLSXToSnapshot','exportXLSXBySnapshot','UNIVER_SLIDE','5078360AHFVfL','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','108042LWTYfw','importXLSXToUnitId','UNRECOGNIZED','@univerjs/core/facade','3289776RklqYA','UNIVER_SHEET','2965701lcYkbL','importDOCXToUnitIdAsync','importDOCXToUnitId','FUniver','importDOCXToSnapshotAsync','_injector','importDOCXToSnapshot','importFileToUnitId','exportXLSXByUnitIdAsync','UNIVER_UNKNOWN'];_0x1b3a=function(){return _0x3faf28;};return _0x1b3a();}const r=require(_0x2562b3(0x14b)),i=require(_0x2562b3(0x161));var o=(_0x219c18=>(_0x219c18[_0x219c18['UNIVER_UNKNOWN']=0x0]=_0x2562b3(0x14a),_0x219c18[_0x219c18[_0x2562b3(0x150)]=0x1]=_0x2562b3(0x150),_0x219c18[_0x219c18[_0x2562b3(0x140)]=0x2]=_0x2562b3(0x140),_0x219c18[_0x219c18[_0x2562b3(0x15a)]=0x3]=_0x2562b3(0x15a),_0x219c18[_0x219c18[_0x2562b3(0x154)]=0x4]='UNIVER_PROJECT',_0x219c18[_0x219c18[_0x2562b3(0x160)]=-0x1]=_0x2562b3(0x160),_0x219c18))(o||{});class c extends i[_0x2562b3(0x144)]{async[_0x2562b3(0x15f)](_0xd83254){return this['importXLSXToUnitIdAsync'](_0xd83254);}async[_0x2562b3(0x15c)](_0x3b501e){const _0x3747c4=_0x2562b3,_0x54d29d=this[_0x3747c4(0x146)]['get'](r['IExchangeService']);if(!_0x54d29d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x54d29d[_0x3747c4(0x148)](_0x3b501e,o[_0x3747c4(0x140)]);}async[_0x2562b3(0x158)](_0x1390c1){const _0x2465c5=_0x2562b3;return this[_0x2465c5(0x14d)](_0x1390c1);}async[_0x2562b3(0x14d)](_0x1bba88){const _0xd3f40f=_0x2562b3,_0x577cf0=this[_0xd3f40f(0x146)][_0xd3f40f(0x14e)](r['IExchangeService']);if(!_0x577cf0)throw new Error(_0xd3f40f(0x15d));return _0x577cf0[_0xd3f40f(0x158)](_0x1bba88);}async[_0x2562b3(0x157)](_0x13488b){const _0x29018f=_0x2562b3;return this[_0x29018f(0x149)](_0x13488b);}async[_0x2562b3(0x149)](_0x4708b1){const _0x17271f=_0x2562b3,_0x4ff91f=this['_injector'][_0x17271f(0x14e)](r[_0x17271f(0x14f)]);if(!_0x4ff91f)throw new Error(_0x17271f(0x15d));return _0x4ff91f[_0x17271f(0x157)](_0x4708b1);}async['exportXLSXBySnapshot'](_0x508b3c){const _0x5a2178=_0x2562b3;return this[_0x5a2178(0x153)](_0x508b3c);}async[_0x2562b3(0x153)](_0x5216e5){const _0x5d82f7=_0x2562b3,_0x254c5a=this[_0x5d82f7(0x146)]['get'](r[_0x5d82f7(0x14f)]);if(!_0x254c5a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x254c5a[_0x5d82f7(0x159)](_0x5216e5);}async[_0x2562b3(0x143)](_0x157994){const _0x53d591=_0x2562b3;return this[_0x53d591(0x142)](_0x157994);}async[_0x2562b3(0x142)](_0x2c6fd3){const _0xd6d480=_0x2562b3,_0x4a9fa6=this[_0xd6d480(0x146)][_0xd6d480(0x14e)](r[_0xd6d480(0x14f)]);if(!_0x4a9fa6)throw new Error(_0xd6d480(0x15d));return _0x4a9fa6[_0xd6d480(0x148)](_0x2c6fd3,o[_0xd6d480(0x150)]);}async[_0x2562b3(0x147)](_0x486871){const _0x278070=_0x2562b3;return this[_0x278070(0x145)](_0x486871);}async['importDOCXToSnapshotAsync'](_0x16f61b){const _0x4520bd=_0x2562b3,_0x10f7f8=this[_0x4520bd(0x146)]['get'](r[_0x4520bd(0x14f)]);if(!_0x10f7f8)throw new Error(_0x4520bd(0x15d));return _0x10f7f8[_0x4520bd(0x147)](_0x16f61b);}}i[_0x2562b3(0x144)][_0x2562b3(0x152)](c);