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

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 _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);
1
+ 'use strict';const _0x2becd8=_0xe096;(function(_0x1a5aa1,_0x20a303){const _0x4fb43a=_0xe096,_0x4037e5=_0x1a5aa1();while(!![]){try{const _0x125a14=-parseInt(_0x4fb43a(0xd4))/0x1+parseInt(_0x4fb43a(0xdd))/0x2+-parseInt(_0x4fb43a(0xd9))/0x3+parseInt(_0x4fb43a(0xca))/0x4+parseInt(_0x4fb43a(0xd0))/0x5*(parseInt(_0x4fb43a(0xd3))/0x6)+parseInt(_0x4fb43a(0xe6))/0x7+-parseInt(_0x4fb43a(0xdf))/0x8;if(_0x125a14===_0x20a303)break;else _0x4037e5['push'](_0x4037e5['shift']());}catch(_0x2a00cc){_0x4037e5['push'](_0x4037e5['shift']());}}}(_0x40f1,0xad137));const r=require(_0x2becd8(0xda)),i=require('@univerjs/core/facade');function _0xe096(_0x5f1846,_0x1dfc16){const _0x40f1d4=_0x40f1();return _0xe096=function(_0xe096a0,_0x24a384){_0xe096a0=_0xe096a0-0xc7;let _0x153549=_0x40f1d4[_0xe096a0];return _0x153549;},_0xe096(_0x5f1846,_0x1dfc16);}var o=(_0x1eabae=>(_0x1eabae[_0x1eabae['UNIVER_UNKNOWN']=0x0]=_0x2becd8(0xd8),_0x1eabae[_0x1eabae[_0x2becd8(0xdc)]=0x1]='UNIVER_DOC',_0x1eabae[_0x1eabae[_0x2becd8(0xce)]=0x2]=_0x2becd8(0xce),_0x1eabae[_0x1eabae[_0x2becd8(0xd2)]=0x3]=_0x2becd8(0xd2),_0x1eabae[_0x1eabae[_0x2becd8(0xe5)]=0x4]=_0x2becd8(0xe5),_0x1eabae[_0x1eabae['UNRECOGNIZED']=-0x1]=_0x2becd8(0xde),_0x1eabae))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x1e816e){return this['importXLSXToUnitIdAsync'](_0x1e816e);}async[_0x2becd8(0xe4)](_0x161222){const _0x25e615=_0x2becd8,_0x1acd46=this[_0x25e615(0xcc)][_0x25e615(0xe1)](r[_0x25e615(0xcf)]);if(!_0x1acd46)throw new Error(_0x25e615(0xe2));return _0x1acd46[_0x25e615(0xd5)](_0x161222,o[_0x25e615(0xce)]);}async[_0x2becd8(0xc7)](_0x55dd12){const _0x9cf949=_0x2becd8;return this[_0x9cf949(0xd6)](_0x55dd12);}async[_0x2becd8(0xd6)](_0x157f6b){const _0x79bf81=_0x2becd8,_0x83693d=this[_0x79bf81(0xcc)][_0x79bf81(0xe1)](r[_0x79bf81(0xcf)]);if(!_0x83693d)throw new Error(_0x79bf81(0xe2));return _0x83693d['importXLSXToSnapshot'](_0x157f6b);}async[_0x2becd8(0xcb)](_0x22fc1d){const _0x486c41=_0x2becd8;return this[_0x486c41(0xdb)](_0x22fc1d);}async[_0x2becd8(0xdb)](_0x17d97b){const _0x759689=_0x2becd8,_0x27cae0=this['_injector']['get'](r[_0x759689(0xcf)]);if(!_0x27cae0)throw new Error(_0x759689(0xe2));return _0x27cae0[_0x759689(0xcb)](_0x17d97b);}async[_0x2becd8(0xd1)](_0x472b83){return this['exportXLSXBySnapshotAsync'](_0x472b83);}async[_0x2becd8(0xc9)](_0x4d2edd){const _0x3d3f8e=_0x2becd8,_0x6cb223=this[_0x3d3f8e(0xcc)][_0x3d3f8e(0xe1)](r[_0x3d3f8e(0xcf)]);if(!_0x6cb223)throw new Error(_0x3d3f8e(0xe2));return _0x6cb223[_0x3d3f8e(0xd1)](_0x4d2edd);}async[_0x2becd8(0xe0)](_0xfb5761){return this['importDOCXToUnitIdAsync'](_0xfb5761);}async[_0x2becd8(0xc8)](_0x8f1bbe){const _0x2115d8=_0x2becd8,_0x1af118=this[_0x2115d8(0xcc)][_0x2115d8(0xe1)](r[_0x2115d8(0xcf)]);if(!_0x1af118)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1af118[_0x2115d8(0xd5)](_0x8f1bbe,o[_0x2115d8(0xdc)]);}async[_0x2becd8(0xd7)](_0x47a654){const _0x43c041=_0x2becd8;return this[_0x43c041(0xe3)](_0x47a654);}async[_0x2becd8(0xe3)](_0x264b1b){const _0x1463b3=_0x2becd8,_0x34cdfb=this[_0x1463b3(0xcc)][_0x1463b3(0xe1)](r[_0x1463b3(0xcf)]);if(!_0x34cdfb)throw new Error(_0x1463b3(0xe2));return _0x34cdfb[_0x1463b3(0xd7)](_0x264b1b);}}i[_0x2becd8(0xcd)]['extend'](c);function _0x40f1(){const _0x340656=['exportXLSXBySnapshotAsync','1207860TfOGfr','exportXLSXByUnitId','_injector','FUniver','UNIVER_SHEET','IExchangeService','148355OsiPIW','exportXLSXBySnapshot','UNIVER_SLIDE','258wzGylS','43233FMUzoY','importFileToUnitId','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNIVER_UNKNOWN','1743699fiHPVc','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','UNIVER_DOC','2212336eGRIoV','UNRECOGNIZED','13668960EbjgLy','importDOCXToUnitId','get','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','importXLSXToUnitIdAsync','UNIVER_PROJECT','2506133KSfSOy','importXLSXToSnapshot','importDOCXToUnitIdAsync'];_0x40f1=function(){return _0x340656;};return _0x40f1();}