@univerjs-pro/exchange-client 0.6.0-nightly.202502191606 → 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';const _0x2b14be=_0x3333;function _0x3551(){const _0x293627=['importXLSXToUnitIdAsync','get','exportXLSXBySnapshot','2FbyCkm','UNIVER_PROJECT','extend','UNRECOGNIZED','4058943qCIhnj','54535NQHbPz','730036TRICNI','IExchangeService','582961aFNSxW','importDOCXToUnitId','FUniver','importDOCXToUnitIdAsync','importFileToUnitId','exportXLSXByUnitIdAsync','2660192UHPLpq','@univerjs/core/facade','UNIVER_UNKNOWN','54SoORRw','The\x20exchange\x20service\x20is\x20not\x20available','15427683DnzZyl','importDOCXToSnapshotAsync','importXLSXToSnapshot','UNIVER_DOC','importDOCXToSnapshot','importXLSXToSnapshotAsync','UNIVER_SHEET','@univerjs-pro/exchange-client','_injector','1756314WXGtsg'];_0x3551=function(){return _0x293627;};return _0x3551();}function _0x3333(_0x271c40,_0x14492b){const _0x355192=_0x3551();return _0x3333=function(_0x3333ec,_0x3a1289){_0x3333ec=_0x3333ec-0x15c;let _0x4adf86=_0x355192[_0x3333ec];return _0x4adf86;},_0x3333(_0x271c40,_0x14492b);}(function(_0x26d47a,_0xca6f1d){const _0x4af2e3=_0x3333,_0x19d3ed=_0x26d47a();while(!![]){try{const _0x40be58=-parseInt(_0x4af2e3(0x169))/0x1*(parseInt(_0x4af2e3(0x161))/0x2)+-parseInt(_0x4af2e3(0x15d))/0x3+parseInt(_0x4af2e3(0x167))/0x4+parseInt(_0x4af2e3(0x166))/0x5*(-parseInt(_0x4af2e3(0x172))/0x6)+-parseInt(_0x4af2e3(0x165))/0x7+parseInt(_0x4af2e3(0x16f))/0x8+parseInt(_0x4af2e3(0x174))/0x9;if(_0x40be58===_0xca6f1d)break;else _0x19d3ed['push'](_0x19d3ed['shift']());}catch(_0x4c8f00){_0x19d3ed['push'](_0x19d3ed['shift']());}}}(_0x3551,0x5d759));const r=require(_0x2b14be(0x17b)),i=require(_0x2b14be(0x170));var o=(_0x4290dd=>(_0x4290dd[_0x4290dd[_0x2b14be(0x171)]=0x0]=_0x2b14be(0x171),_0x4290dd[_0x4290dd[_0x2b14be(0x177)]=0x1]=_0x2b14be(0x177),_0x4290dd[_0x4290dd[_0x2b14be(0x17a)]=0x2]='UNIVER_SHEET',_0x4290dd[_0x4290dd['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4290dd[_0x4290dd['UNIVER_PROJECT']=0x4]=_0x2b14be(0x162),_0x4290dd[_0x4290dd[_0x2b14be(0x164)]=-0x1]=_0x2b14be(0x164),_0x4290dd))(o||{});class c extends i[_0x2b14be(0x16b)]{async['importXLSXToUnitId'](_0x1d0a3e){const _0x41ecd7=_0x2b14be;return this[_0x41ecd7(0x15e)](_0x1d0a3e);}async[_0x2b14be(0x15e)](_0x436c95){const _0x13cf7d=_0x2b14be,_0x38951b=this[_0x13cf7d(0x15c)][_0x13cf7d(0x15f)](r['IExchangeService']);if(!_0x38951b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x38951b[_0x13cf7d(0x16d)](_0x436c95,o[_0x13cf7d(0x17a)]);}async[_0x2b14be(0x176)](_0x5a4d00){const _0x543ec6=_0x2b14be;return this[_0x543ec6(0x179)](_0x5a4d00);}async['importXLSXToSnapshotAsync'](_0x45cd2d){const _0x460a06=_0x2b14be,_0x5c9c21=this[_0x460a06(0x15c)][_0x460a06(0x15f)](r[_0x460a06(0x168)]);if(!_0x5c9c21)throw new Error(_0x460a06(0x173));return _0x5c9c21[_0x460a06(0x176)](_0x45cd2d);}async['exportXLSXByUnitId'](_0x5ba0c7){const _0x1c1a3f=_0x2b14be;return this[_0x1c1a3f(0x16e)](_0x5ba0c7);}async[_0x2b14be(0x16e)](_0x23f45d){const _0x2016de=_0x2b14be,_0x5108cb=this[_0x2016de(0x15c)][_0x2016de(0x15f)](r['IExchangeService']);if(!_0x5108cb)throw new Error(_0x2016de(0x173));return _0x5108cb['exportXLSXByUnitId'](_0x23f45d);}async[_0x2b14be(0x160)](_0x2e8d57){return this['exportXLSXBySnapshotAsync'](_0x2e8d57);}async['exportXLSXBySnapshotAsync'](_0x3f3967){const _0x2cdb5a=_0x2b14be,_0x14a7dc=this[_0x2cdb5a(0x15c)][_0x2cdb5a(0x15f)](r[_0x2cdb5a(0x168)]);if(!_0x14a7dc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x14a7dc[_0x2cdb5a(0x160)](_0x3f3967);}async[_0x2b14be(0x16a)](_0x3ed22e){return this['importDOCXToUnitIdAsync'](_0x3ed22e);}async[_0x2b14be(0x16c)](_0x4d9003){const _0x6900f7=_0x2b14be,_0x37e356=this[_0x6900f7(0x15c)][_0x6900f7(0x15f)](r[_0x6900f7(0x168)]);if(!_0x37e356)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x37e356[_0x6900f7(0x16d)](_0x4d9003,o[_0x6900f7(0x177)]);}async[_0x2b14be(0x178)](_0x54ef7b){const _0x389851=_0x2b14be;return this[_0x389851(0x175)](_0x54ef7b);}async[_0x2b14be(0x175)](_0x310fbe){const _0x1abad9=_0x2b14be,_0x14981b=this[_0x1abad9(0x15c)][_0x1abad9(0x15f)](r[_0x1abad9(0x168)]);if(!_0x14981b)throw new Error(_0x1abad9(0x173));return _0x14981b[_0x1abad9(0x178)](_0x310fbe);}}i[_0x2b14be(0x16b)][_0x2b14be(0x163)](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);