@univerjs-pro/exchange-client 0.8.0-nightly.202506091607 → 0.8.0-nightly.202506101607

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 _0x280dc5=_0x1c38;(function(_0x20127d,_0x1f3672){const _0x262a7d=_0x1c38,_0x940863=_0x20127d();while(!![]){try{const _0x4cc457=parseInt(_0x262a7d(0x12f))/0x1+parseInt(_0x262a7d(0x11d))/0x2*(-parseInt(_0x262a7d(0x11f))/0x3)+-parseInt(_0x262a7d(0x113))/0x4*(-parseInt(_0x262a7d(0x120))/0x5)+parseInt(_0x262a7d(0x128))/0x6*(-parseInt(_0x262a7d(0x118))/0x7)+-parseInt(_0x262a7d(0x132))/0x8*(parseInt(_0x262a7d(0x127))/0x9)+-parseInt(_0x262a7d(0x124))/0xa*(parseInt(_0x262a7d(0x126))/0xb)+parseInt(_0x262a7d(0x138))/0xc;if(_0x4cc457===_0x1f3672)break;else _0x940863['push'](_0x940863['shift']());}catch(_0x22b0b){_0x940863['push'](_0x940863['shift']());}}}(_0x4ea7,0x9df7a));const r=require(_0x280dc5(0x119)),c=require('@univerjs/core/facade');function _0x1c38(_0x5e37c9,_0x3302cc){const _0x4ea71e=_0x4ea7();return _0x1c38=function(_0x1c38ee,_0x37f195){_0x1c38ee=_0x1c38ee-0x113;let _0x1fb158=_0x4ea71e[_0x1c38ee];return _0x1fb158;},_0x1c38(_0x5e37c9,_0x3302cc);}var o=(_0x30c407=>(_0x30c407[_0x30c407['UNIVER_UNKNOWN']=0x0]=_0x280dc5(0x133),_0x30c407[_0x30c407[_0x280dc5(0x136)]=0x1]=_0x280dc5(0x136),_0x30c407[_0x30c407[_0x280dc5(0x135)]=0x2]='UNIVER_SHEET',_0x30c407[_0x30c407[_0x280dc5(0x11e)]=0x3]='UNIVER_SLIDE',_0x30c407[_0x30c407[_0x280dc5(0x115)]=0x4]=_0x280dc5(0x115),_0x30c407[_0x30c407[_0x280dc5(0x114)]=-0x1]=_0x280dc5(0x114),_0x30c407))(o||{});class s extends c['FUniver']{async[_0x280dc5(0x11a)](_0x3fb844){const _0x187ce6=_0x280dc5;return this[_0x187ce6(0x121)](_0x3fb844);}async['importXLSXToUnitIdAsync'](_0x150503){const _0x22c710=_0x280dc5,_0x43abb8=this['_injector'][_0x22c710(0x137)](r[_0x22c710(0x125)]);if(!_0x43abb8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x43abb8[_0x22c710(0x11c)](_0x150503,o[_0x22c710(0x135)]);}async[_0x280dc5(0x139)](_0x22d177){const _0x4d5771=_0x280dc5;return this[_0x4d5771(0x12b)](_0x22d177);}async['importXLSXToSnapshotAsync'](_0x545b71){const _0x1f36f4=_0x280dc5,_0x210db4=this[_0x1f36f4(0x116)][_0x1f36f4(0x137)](r[_0x1f36f4(0x125)]);if(!_0x210db4)throw new Error(_0x1f36f4(0x134));return _0x210db4['importXLSXToSnapshot'](_0x545b71);}async[_0x280dc5(0x123)](_0x485a9b){const _0x538e39=_0x280dc5;return this[_0x538e39(0x12d)](_0x485a9b);}async['exportXLSXByUnitIdAsync'](_0x4f4a41,_0x2f6751){const _0x3f2d00=_0x280dc5,_0x15cb4c=this['_injector'][_0x3f2d00(0x137)](r[_0x3f2d00(0x125)]);if(!_0x15cb4c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15cb4c['exportXLSXByUnitId'](_0x4f4a41,_0x2f6751);}async[_0x280dc5(0x12e)](_0x43a973){const _0x5a7d8b=_0x280dc5;return this[_0x5a7d8b(0x117)](_0x43a973);}async['exportXLSXBySnapshotAsync'](_0x457443,_0x551ce1){const _0x2e64b6=_0x280dc5,_0x6701da=this[_0x2e64b6(0x116)][_0x2e64b6(0x137)](r['IExchangeService']);if(!_0x6701da)throw new Error(_0x2e64b6(0x134));return _0x6701da[_0x2e64b6(0x12e)](_0x457443,_0x551ce1);}async['importDOCXToUnitId'](_0x44011f){return this['importDOCXToUnitIdAsync'](_0x44011f);}async[_0x280dc5(0x131)](_0x43f5bf){const _0x5675d5=_0x280dc5,_0x23ec5b=this['_injector'][_0x5675d5(0x137)](r[_0x5675d5(0x125)]);if(!_0x23ec5b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x23ec5b[_0x5675d5(0x11c)](_0x43f5bf,o['UNIVER_DOC']);}async[_0x280dc5(0x129)](_0x448bcb){const _0x2651bf=_0x280dc5;return this[_0x2651bf(0x130)](_0x448bcb);}async[_0x280dc5(0x130)](_0x2f1edf){const _0x5e8ce1=_0x280dc5,_0x592480=this['_injector']['get'](r['IExchangeService']);if(!_0x592480)throw new Error(_0x5e8ce1(0x134));return _0x592480['importDOCXToSnapshot'](_0x2f1edf);}async[_0x280dc5(0x13a)](_0x528191){const _0xe6fed2=_0x280dc5,_0x1e6dae=this['_injector'][_0xe6fed2(0x137)](r[_0xe6fed2(0x125)]);if(!_0x1e6dae)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1e6dae[_0xe6fed2(0x12a)](_0x528191);}async[_0x280dc5(0x11b)](_0x14eb2c){const _0x4707d5=_0x280dc5,_0x797849=this['_injector'][_0x4707d5(0x137)](r[_0x4707d5(0x125)]);if(!_0x797849)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x797849['exportDOCXByUnitId'](_0x14eb2c);}}c[_0x280dc5(0x122)][_0x280dc5(0x12c)](s);function _0x4ea7(){const _0x59b2ab=['_injector','exportXLSXBySnapshotAsync','2165009FfPNOs','@univerjs-pro/exchange-client','importXLSXToUnitId','exportDOCXByUnitIdAsync','importFileToUnitId','554FLwSrC','UNIVER_SLIDE','1182PAwGpz','815wOZCYr','importXLSXToUnitIdAsync','FUniver','exportXLSXByUnitId','20yVgcnm','IExchangeService','7016306WUVzIK','3795300JJWcoL','6KXzRrG','importDOCXToSnapshot','exportDOCXBySnapshot','importXLSXToSnapshotAsync','extend','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','435493AsAyav','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','8NDnUBF','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','UNIVER_DOC','get','27280860mTCRxh','importXLSXToSnapshot','exportDOCXBySnapshotAsync','1324dvSfMr','UNRECOGNIZED','UNIVER_PROJECT'];_0x4ea7=function(){return _0x59b2ab;};return _0x4ea7();}
1
+ 'use strict';const _0x191b0b=_0x142c;(function(_0xe7be9e,_0x2f7027){const _0x3f85b1=_0x142c,_0x54c97a=_0xe7be9e();while(!![]){try{const _0x4f25f4=-parseInt(_0x3f85b1(0x129))/0x1+parseInt(_0x3f85b1(0x136))/0x2+parseInt(_0x3f85b1(0x119))/0x3*(parseInt(_0x3f85b1(0x122))/0x4)+parseInt(_0x3f85b1(0x124))/0x5*(parseInt(_0x3f85b1(0x12c))/0x6)+-parseInt(_0x3f85b1(0x116))/0x7+parseInt(_0x3f85b1(0x11f))/0x8*(-parseInt(_0x3f85b1(0x120))/0x9)+parseInt(_0x3f85b1(0x135))/0xa;if(_0x4f25f4===_0x2f7027)break;else _0x54c97a['push'](_0x54c97a['shift']());}catch(_0x296e26){_0x54c97a['push'](_0x54c97a['shift']());}}}(_0xfe97,0x981d0));function _0xfe97(){const _0x4efe2c=['get','@univerjs-pro/exchange-client','exportXLSXBySnapshot','234224uHSWJa','369FrPtWH','importDOCXToSnapshot','4vnTgkr','importXLSXToUnitId','15nmciZr','UNIVER_UNKNOWN','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','989251tjdJlh','UNIVER_SLIDE','exportXLSXByUnitId','1873038JdVjdz','UNIVER_DOC','UNIVER_SHEET','FUniver','importFileToUnitId','importXLSXToSnapshot','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','UNIVER_PROJECT','17849880unUGjM','682420XRFemT','_injector','extend','The\x20exchange\x20service\x20is\x20not\x20available','exportDOCXByUnitId','importXLSXToUnitIdAsync','7659001gNMbKx','IExchangeService','exportDOCXBySnapshot','2532393BrOfGM','exportDOCXByUnitIdAsync','UNRECOGNIZED'];_0xfe97=function(){return _0x4efe2c;};return _0xfe97();}const r=require(_0x191b0b(0x11d)),c=require('@univerjs/core/facade');var o=(_0x4bc248=>(_0x4bc248[_0x4bc248[_0x191b0b(0x125)]=0x0]=_0x191b0b(0x125),_0x4bc248[_0x4bc248[_0x191b0b(0x12d)]=0x1]='UNIVER_DOC',_0x4bc248[_0x4bc248['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4bc248[_0x4bc248[_0x191b0b(0x12a)]=0x3]=_0x191b0b(0x12a),_0x4bc248[_0x4bc248[_0x191b0b(0x134)]=0x4]=_0x191b0b(0x134),_0x4bc248[_0x4bc248[_0x191b0b(0x11b)]=-0x1]=_0x191b0b(0x11b),_0x4bc248))(o||{});class s extends c[_0x191b0b(0x12f)]{async[_0x191b0b(0x123)](_0x495ff3){const _0x13bc66=_0x191b0b;return this[_0x13bc66(0x115)](_0x495ff3);}async[_0x191b0b(0x115)](_0x4ad28b){const _0x13d7ca=_0x191b0b,_0x49b597=this['_injector'][_0x13d7ca(0x11c)](r[_0x13d7ca(0x117)]);if(!_0x49b597)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x49b597[_0x13d7ca(0x130)](_0x4ad28b,o[_0x13d7ca(0x12e)]);}async[_0x191b0b(0x131)](_0x3692de){return this['importXLSXToSnapshotAsync'](_0x3692de);}async[_0x191b0b(0x132)](_0x3365fe){const _0x341cf0=_0x191b0b,_0x4b73e6=this[_0x341cf0(0x111)][_0x341cf0(0x11c)](r[_0x341cf0(0x117)]);if(!_0x4b73e6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4b73e6['importXLSXToSnapshot'](_0x3365fe);}async[_0x191b0b(0x12b)](_0x3ddb80){return this['exportXLSXByUnitIdAsync'](_0x3ddb80);}async[_0x191b0b(0x128)](_0x23061e,_0xb5b564){const _0x2a04f2=_0x191b0b,_0x4a6b43=this['_injector'][_0x2a04f2(0x11c)](r[_0x2a04f2(0x117)]);if(!_0x4a6b43)throw new Error(_0x2a04f2(0x113));return _0x4a6b43[_0x2a04f2(0x12b)](_0x23061e,_0xb5b564);}async[_0x191b0b(0x11e)](_0x1c019c){const _0x6208=_0x191b0b;return this[_0x6208(0x133)](_0x1c019c);}async[_0x191b0b(0x133)](_0x550234,_0x52db80){const _0x17fa5c=_0x191b0b,_0x3fca9c=this[_0x17fa5c(0x111)][_0x17fa5c(0x11c)](r[_0x17fa5c(0x117)]);if(!_0x3fca9c)throw new Error(_0x17fa5c(0x113));return _0x3fca9c[_0x17fa5c(0x11e)](_0x550234,_0x52db80);}async['importDOCXToUnitId'](_0x1c9bfb){const _0x7c2a56=_0x191b0b;return this[_0x7c2a56(0x126)](_0x1c9bfb);}async[_0x191b0b(0x126)](_0x156efe){const _0x3e27a8=_0x191b0b,_0x4f7dc7=this[_0x3e27a8(0x111)]['get'](r[_0x3e27a8(0x117)]);if(!_0x4f7dc7)throw new Error(_0x3e27a8(0x113));return _0x4f7dc7['importFileToUnitId'](_0x156efe,o[_0x3e27a8(0x12d)]);}async[_0x191b0b(0x121)](_0x59fc36){const _0x3b392d=_0x191b0b;return this[_0x3b392d(0x127)](_0x59fc36);}async[_0x191b0b(0x127)](_0x5a0c4a){const _0xf10556=_0x191b0b,_0x226ec9=this[_0xf10556(0x111)][_0xf10556(0x11c)](r[_0xf10556(0x117)]);if(!_0x226ec9)throw new Error(_0xf10556(0x113));return _0x226ec9['importDOCXToSnapshot'](_0x5a0c4a);}async['exportDOCXBySnapshotAsync'](_0x41cefc){const _0x52d533=_0x191b0b,_0x2f3ab4=this[_0x52d533(0x111)][_0x52d533(0x11c)](r[_0x52d533(0x117)]);if(!_0x2f3ab4)throw new Error(_0x52d533(0x113));return _0x2f3ab4[_0x52d533(0x118)](_0x41cefc);}async[_0x191b0b(0x11a)](_0x1b1192){const _0x45eef1=_0x191b0b,_0x1606d4=this[_0x45eef1(0x111)][_0x45eef1(0x11c)](r[_0x45eef1(0x117)]);if(!_0x1606d4)throw new Error(_0x45eef1(0x113));return _0x1606d4[_0x45eef1(0x114)](_0x1b1192);}}function _0x142c(_0x3ca85c,_0x1d843c){const _0xfe970=_0xfe97();return _0x142c=function(_0x142c4f,_0x43bfff){_0x142c4f=_0x142c4f-0x111;let _0x3f8ca5=_0xfe970[_0x142c4f];return _0x3f8ca5;},_0x142c(_0x3ca85c,_0x1d843c);}c[_0x191b0b(0x12f)][_0x191b0b(0x112)](s);