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

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 _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);
1
+ 'use strict';function _0x115b(_0x3a812c,_0x475b42){const _0x3e749c=_0x3e74();return _0x115b=function(_0x115b3a,_0x44ff6a){_0x115b3a=_0x115b3a-0x130;let _0x1609dd=_0x3e749c[_0x115b3a];return _0x1609dd;},_0x115b(_0x3a812c,_0x475b42);}const _0x1d56ae=_0x115b;(function(_0x18a5c9,_0x55232f){const _0x191b18=_0x115b,_0x2f7ae2=_0x18a5c9();while(!![]){try{const _0x2b68c0=parseInt(_0x191b18(0x141))/0x1+parseInt(_0x191b18(0x142))/0x2*(-parseInt(_0x191b18(0x14e))/0x3)+-parseInt(_0x191b18(0x133))/0x4+parseInt(_0x191b18(0x134))/0x5*(parseInt(_0x191b18(0x144))/0x6)+parseInt(_0x191b18(0x138))/0x7+parseInt(_0x191b18(0x149))/0x8*(parseInt(_0x191b18(0x130))/0x9)+-parseInt(_0x191b18(0x13d))/0xa;if(_0x2b68c0===_0x55232f)break;else _0x2f7ae2['push'](_0x2f7ae2['shift']());}catch(_0x12bb69){_0x2f7ae2['push'](_0x2f7ae2['shift']());}}}(_0x3e74,0xe67a6));function _0x3e74(){const _0x551e1a=['importDOCXToUnitIdAsync','150ePKdoo','exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','importDOCXToSnapshot','72mOCwxS','_injector','FUniver','UNRECOGNIZED','@univerjs/core/facade','3iqcJpg','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','1753119dvgynF','importDOCXToUnitId','importXLSXToUnitId','5704548icDnug','209265RyDYvv','get','extend','exportXLSXBySnapshotAsync','147014gpVkmQ','IExchangeService','UNIVER_SHEET','exportXLSXBySnapshot','UNIVER_PROJECT','8163260wQgezY','exportXLSXByUnitId','@univerjs-pro/exchange-client','UNIVER_SLIDE','1521608xxAZHT','2311106KeucbO'];_0x3e74=function(){return _0x551e1a;};return _0x3e74();}const r=require(_0x1d56ae(0x13f)),i=require(_0x1d56ae(0x14d));var o=(_0x2e41f8=>(_0x2e41f8[_0x2e41f8[_0x1d56ae(0x147)]=0x0]='UNIVER_UNKNOWN',_0x2e41f8[_0x2e41f8[_0x1d56ae(0x150)]=0x1]=_0x1d56ae(0x150),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x13a)]=0x2]=_0x1d56ae(0x13a),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x140)]=0x3]=_0x1d56ae(0x140),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x13c)]=0x4]=_0x1d56ae(0x13c),_0x2e41f8[_0x2e41f8[_0x1d56ae(0x14c)]=-0x1]=_0x1d56ae(0x14c),_0x2e41f8))(o||{});class c extends i['FUniver']{async[_0x1d56ae(0x132)](_0x43409a){return this['importXLSXToUnitIdAsync'](_0x43409a);}async['importXLSXToUnitIdAsync'](_0x5bb189){const _0x45b512=_0x1d56ae,_0x478ea1=this[_0x45b512(0x14a)][_0x45b512(0x135)](r[_0x45b512(0x139)]);if(!_0x478ea1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x478ea1['importFileToUnitId'](_0x5bb189,o[_0x45b512(0x13a)]);}async['importXLSXToSnapshot'](_0x29767f){return this['importXLSXToSnapshotAsync'](_0x29767f);}async['importXLSXToSnapshotAsync'](_0x48ddfa){const _0x1e4b8a=_0x1d56ae,_0x400e83=this['_injector'][_0x1e4b8a(0x135)](r[_0x1e4b8a(0x139)]);if(!_0x400e83)throw new Error(_0x1e4b8a(0x14f));return _0x400e83['importXLSXToSnapshot'](_0x48ddfa);}async[_0x1d56ae(0x13e)](_0x387ccd){const _0x59dcce=_0x1d56ae;return this[_0x59dcce(0x145)](_0x387ccd);}async[_0x1d56ae(0x145)](_0xd89cda){const _0x1bce96=_0x1d56ae,_0x125ee1=this['_injector'][_0x1bce96(0x135)](r[_0x1bce96(0x139)]);if(!_0x125ee1)throw new Error(_0x1bce96(0x14f));return _0x125ee1['exportXLSXByUnitId'](_0xd89cda);}async[_0x1d56ae(0x13b)](_0xef3102){const _0x3b5959=_0x1d56ae;return this[_0x3b5959(0x137)](_0xef3102);}async[_0x1d56ae(0x137)](_0x40cde5){const _0x1d267b=_0x1d56ae,_0x553289=this[_0x1d267b(0x14a)][_0x1d267b(0x135)](r['IExchangeService']);if(!_0x553289)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x553289[_0x1d267b(0x13b)](_0x40cde5);}async[_0x1d56ae(0x131)](_0x5177d4){return this['importDOCXToUnitIdAsync'](_0x5177d4);}async[_0x1d56ae(0x143)](_0x4074a1){const _0x48abc2=_0x1d56ae,_0x2265a9=this['_injector'][_0x48abc2(0x135)](r[_0x48abc2(0x139)]);if(!_0x2265a9)throw new Error(_0x48abc2(0x14f));return _0x2265a9['importFileToUnitId'](_0x4074a1,o[_0x48abc2(0x150)]);}async[_0x1d56ae(0x148)](_0x6d52c){const _0x43a268=_0x1d56ae;return this[_0x43a268(0x146)](_0x6d52c);}async['importDOCXToSnapshotAsync'](_0x5400dc){const _0x1dabfa=_0x1d56ae,_0x282140=this[_0x1dabfa(0x14a)][_0x1dabfa(0x135)](r[_0x1dabfa(0x139)]);if(!_0x282140)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x282140[_0x1dabfa(0x148)](_0x5400dc);}}i[_0x1d56ae(0x14b)][_0x1d56ae(0x136)](c);