@univerjs-pro/exchange-client 0.6.0-nightly.202502181606 → 0.6.0-nightly.202502201606

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 _0x5842(_0x37e699,_0x1e1b3e){const _0x5f74e7=_0x5f74();return _0x5842=function(_0x58425f,_0x59e73d){_0x58425f=_0x58425f-0xdb;let _0x493869=_0x5f74e7[_0x58425f];return _0x493869;},_0x5842(_0x37e699,_0x1e1b3e);}const _0x4c4a34=_0x5842;(function(_0x384b07,_0x4c21d6){const _0x352342=_0x5842,_0x4f288a=_0x384b07();while(!![]){try{const _0x33d264=-parseInt(_0x352342(0xf8))/0x1+-parseInt(_0x352342(0xed))/0x2*(-parseInt(_0x352342(0xf9))/0x3)+-parseInt(_0x352342(0xf6))/0x4+parseInt(_0x352342(0xf7))/0x5*(parseInt(_0x352342(0xfa))/0x6)+parseInt(_0x352342(0xef))/0x7+-parseInt(_0x352342(0xe2))/0x8*(parseInt(_0x352342(0xdb))/0x9)+parseInt(_0x352342(0xfc))/0xa;if(_0x33d264===_0x4c21d6)break;else _0x4f288a['push'](_0x4f288a['shift']());}catch(_0x410465){_0x4f288a['push'](_0x4f288a['shift']());}}}(_0x5f74,0xd7e48));const r=require('@univerjs-pro/exchange-client'),i=require(_0x4c4a34(0xf0));var o=(_0x2d8ef8=>(_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xde)]=0x0]=_0x4c4a34(0xde),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xdd)]=0x1]=_0x4c4a34(0xdd),_0x2d8ef8[_0x2d8ef8['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xdf)]=0x3]=_0x4c4a34(0xdf),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xf5)]=0x4]=_0x4c4a34(0xf5),_0x2d8ef8[_0x2d8ef8[_0x4c4a34(0xe7)]=-0x1]='UNRECOGNIZED',_0x2d8ef8))(o||{});function _0x5f74(){const _0x14e7d0=['6lncUSV','importDOCXToSnapshot','8681380jNwWaq','importXLSXToSnapshot','1382688EtFojD','FUniver','UNIVER_DOC','UNIVER_UNKNOWN','UNIVER_SLIDE','get','exportXLSXBySnapshotAsync','48xynDUR','importDOCXToUnitId','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','importFileToUnitId','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','importXLSXToSnapshotAsync','UNIVER_SHEET','IExchangeService','2cpnEgc','_injector','10195696eVQAPG','@univerjs/core/facade','extend','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','importXLSXToUnitId','UNIVER_PROJECT','4339304GCtjzv','5826055pMvuDj','1433812ZgAJWN','2504547GBQYel'];_0x5f74=function(){return _0x14e7d0;};return _0x5f74();}class c extends i[_0x4c4a34(0xdc)]{async[_0x4c4a34(0xf4)](_0x385a64){const _0x438f2d=_0x4c4a34;return this[_0x438f2d(0xe4)](_0x385a64);}async['importXLSXToUnitIdAsync'](_0x5c6f6b){const _0x51c75e=_0x4c4a34,_0x133c82=this[_0x51c75e(0xee)][_0x51c75e(0xe0)](r[_0x51c75e(0xec)]);if(!_0x133c82)throw new Error(_0x51c75e(0xe8));return _0x133c82[_0x51c75e(0xe6)](_0x5c6f6b,o[_0x51c75e(0xeb)]);}async[_0x4c4a34(0xfd)](_0xf25380){const _0x57f8d5=_0x4c4a34;return this[_0x57f8d5(0xea)](_0xf25380);}async[_0x4c4a34(0xea)](_0x35a07c){const _0x2faba2=_0x4c4a34,_0x3d2b3=this[_0x2faba2(0xee)][_0x2faba2(0xe0)](r[_0x2faba2(0xec)]);if(!_0x3d2b3)throw new Error(_0x2faba2(0xe8));return _0x3d2b3[_0x2faba2(0xfd)](_0x35a07c);}async[_0x4c4a34(0xe9)](_0x153ff3){return this['exportXLSXByUnitIdAsync'](_0x153ff3);}async[_0x4c4a34(0xf2)](_0x1befcf){const _0x1ed856=_0x4c4a34,_0xa18e3a=this[_0x1ed856(0xee)][_0x1ed856(0xe0)](r['IExchangeService']);if(!_0xa18e3a)throw new Error(_0x1ed856(0xe8));return _0xa18e3a[_0x1ed856(0xe9)](_0x1befcf);}async[_0x4c4a34(0xf3)](_0x3491b7){const _0x8c8681=_0x4c4a34;return this[_0x8c8681(0xe1)](_0x3491b7);}async['exportXLSXBySnapshotAsync'](_0x1ab2c3){const _0x4d6a5b=_0x4c4a34,_0x4ff804=this[_0x4d6a5b(0xee)][_0x4d6a5b(0xe0)](r['IExchangeService']);if(!_0x4ff804)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ff804['exportXLSXBySnapshot'](_0x1ab2c3);}async[_0x4c4a34(0xe3)](_0x1ed824){return this['importDOCXToUnitIdAsync'](_0x1ed824);}async['importDOCXToUnitIdAsync'](_0x2e9f91){const _0x2746f5=_0x4c4a34,_0x2c6470=this['_injector'][_0x2746f5(0xe0)](r[_0x2746f5(0xec)]);if(!_0x2c6470)throw new Error(_0x2746f5(0xe8));return _0x2c6470[_0x2746f5(0xe6)](_0x2e9f91,o['UNIVER_DOC']);}async[_0x4c4a34(0xfb)](_0x3f1060){const _0x4ceac1=_0x4c4a34;return this[_0x4ceac1(0xe5)](_0x3f1060);}async[_0x4c4a34(0xe5)](_0xfe6ef0){const _0x5e01fe=_0x4c4a34,_0x1b8d03=this['_injector'][_0x5e01fe(0xe0)](r['IExchangeService']);if(!_0x1b8d03)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1b8d03['importDOCXToSnapshot'](_0xfe6ef0);}}i['FUniver'][_0x4c4a34(0xf1)](c);
1
+ 'use strict';function _0x5399(_0x3cdf3d,_0x42d722){const _0x253d58=_0x253d();return _0x5399=function(_0x539979,_0x119f3c){_0x539979=_0x539979-0x112;let _0x1e5bcc=_0x253d58[_0x539979];return _0x1e5bcc;},_0x5399(_0x3cdf3d,_0x42d722);}const _0x445c40=_0x5399;(function(_0x761ffc,_0x21a597){const _0x3a1f05=_0x5399,_0x108a60=_0x761ffc();while(!![]){try{const _0x17b151=-parseInt(_0x3a1f05(0x125))/0x1+parseInt(_0x3a1f05(0x128))/0x2*(parseInt(_0x3a1f05(0x12a))/0x3)+-parseInt(_0x3a1f05(0x115))/0x4+-parseInt(_0x3a1f05(0x116))/0x5+-parseInt(_0x3a1f05(0x12c))/0x6*(-parseInt(_0x3a1f05(0x11d))/0x7)+-parseInt(_0x3a1f05(0x133))/0x8*(parseInt(_0x3a1f05(0x120))/0x9)+parseInt(_0x3a1f05(0x12d))/0xa;if(_0x17b151===_0x21a597)break;else _0x108a60['push'](_0x108a60['shift']());}catch(_0x458e33){_0x108a60['push'](_0x108a60['shift']());}}}(_0x253d,0x3da88));function _0x253d(){const _0xe31d3c=['93527WVVTxX','get','exportXLSXBySnapshotAsync','2612565pOoyIS','exportXLSXByUnitId','UNIVER_DOC','UNIVER_SLIDE','UNRECOGNIZED','453208hNdnUu','importXLSXToUnitIdAsync','FUniver','2OPEWvR','IExchangeService','260715lzSJoE','importDOCXToSnapshot','204JwhThm','10246080XHPAjH','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','UNIVER_SHEET','importFileToUnitId','UNIVER_PROJECT','8JMUlhE','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','extend','_injector','898284HuZicg','1725855aGCNtQ','@univerjs-pro/exchange-client','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','importXLSXToSnapshot','exportXLSXBySnapshot','importXLSXToSnapshotAsync'];_0x253d=function(){return _0xe31d3c;};return _0x253d();}const r=require(_0x445c40(0x117)),i=require('@univerjs/core/facade');var o=(_0x45d57e=>(_0x45d57e[_0x45d57e['UNIVER_UNKNOWN']=0x0]=_0x445c40(0x119),_0x45d57e[_0x45d57e[_0x445c40(0x122)]=0x1]=_0x445c40(0x122),_0x45d57e[_0x45d57e[_0x445c40(0x130)]=0x2]='UNIVER_SHEET',_0x45d57e[_0x45d57e[_0x445c40(0x123)]=0x3]=_0x445c40(0x123),_0x45d57e[_0x45d57e[_0x445c40(0x132)]=0x4]=_0x445c40(0x132),_0x45d57e[_0x45d57e['UNRECOGNIZED']=-0x1]=_0x445c40(0x124),_0x45d57e))(o||{});class c extends i[_0x445c40(0x127)]{async['importXLSXToUnitId'](_0x46ce25){const _0x52778b=_0x445c40;return this[_0x52778b(0x126)](_0x46ce25);}async[_0x445c40(0x126)](_0x400488){const _0x481251=_0x445c40,_0x29644c=this[_0x481251(0x114)][_0x481251(0x11e)](r['IExchangeService']);if(!_0x29644c)throw new Error(_0x481251(0x134));return _0x29644c[_0x481251(0x131)](_0x400488,o['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x49b9cf){const _0x405aa6=_0x445c40;return this[_0x405aa6(0x11c)](_0x49b9cf);}async[_0x445c40(0x11c)](_0x117304){const _0x1a8eb8=_0x445c40,_0x29dd7f=this[_0x1a8eb8(0x114)][_0x1a8eb8(0x11e)](r['IExchangeService']);if(!_0x29dd7f)throw new Error(_0x1a8eb8(0x134));return _0x29dd7f[_0x1a8eb8(0x11a)](_0x117304);}async[_0x445c40(0x121)](_0x14411d){const _0x3877cf=_0x445c40;return this[_0x3877cf(0x12f)](_0x14411d);}async[_0x445c40(0x12f)](_0x553b8c){const _0x1e9d1f=_0x445c40,_0x1e1f45=this[_0x1e9d1f(0x114)][_0x1e9d1f(0x11e)](r[_0x1e9d1f(0x129)]);if(!_0x1e1f45)throw new Error(_0x1e9d1f(0x134));return _0x1e1f45[_0x1e9d1f(0x121)](_0x553b8c);}async[_0x445c40(0x11b)](_0x5559ca){const _0x38924a=_0x445c40;return this[_0x38924a(0x11f)](_0x5559ca);}async['exportXLSXBySnapshotAsync'](_0x31ac69){const _0x12927d=_0x445c40,_0xd012bc=this[_0x12927d(0x114)]['get'](r[_0x12927d(0x129)]);if(!_0xd012bc)throw new Error(_0x12927d(0x134));return _0xd012bc[_0x12927d(0x11b)](_0x31ac69);}async[_0x445c40(0x112)](_0x411c44){const _0x39301a=_0x445c40;return this[_0x39301a(0x118)](_0x411c44);}async[_0x445c40(0x118)](_0x142f04){const _0x3d468b=_0x445c40,_0x545fcd=this[_0x3d468b(0x114)]['get'](r[_0x3d468b(0x129)]);if(!_0x545fcd)throw new Error(_0x3d468b(0x134));return _0x545fcd[_0x3d468b(0x131)](_0x142f04,o[_0x3d468b(0x122)]);}async[_0x445c40(0x12b)](_0x2ace5d){return this['importDOCXToSnapshotAsync'](_0x2ace5d);}async[_0x445c40(0x12e)](_0x200082){const _0x1766cb=_0x445c40,_0x3a6612=this['_injector'][_0x1766cb(0x11e)](r[_0x1766cb(0x129)]);if(!_0x3a6612)throw new Error(_0x1766cb(0x134));return _0x3a6612[_0x1766cb(0x12b)](_0x200082);}}i[_0x445c40(0x127)][_0x445c40(0x113)](c);