@univerjs-pro/exchange-client 0.6.7-experimental.20250401-9542b43 → 0.6.7-experimental.20250401-8226dd6

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 _0x17f583=_0x148d;(function(_0x33bae5,_0x49b32c){const _0x2d8450=_0x148d,_0x4204c4=_0x33bae5();while(!![]){try{const _0xbbd425=parseInt(_0x2d8450(0x130))/0x1*(-parseInt(_0x2d8450(0x12c))/0x2)+-parseInt(_0x2d8450(0x148))/0x3*(parseInt(_0x2d8450(0x141))/0x4)+-parseInt(_0x2d8450(0x12f))/0x5+parseInt(_0x2d8450(0x149))/0x6+-parseInt(_0x2d8450(0x13c))/0x7*(-parseInt(_0x2d8450(0x147))/0x8)+-parseInt(_0x2d8450(0x12b))/0x9+parseInt(_0x2d8450(0x135))/0xa*(parseInt(_0x2d8450(0x142))/0xb);if(_0xbbd425===_0x49b32c)break;else _0x4204c4['push'](_0x4204c4['shift']());}catch(_0xa61098){_0x4204c4['push'](_0x4204c4['shift']());}}}(_0x2301,0xd614e));const r=require(_0x17f583(0x13f)),i=require('@univerjs/core/facade');var o=(_0x40dbc8=>(_0x40dbc8[_0x40dbc8[_0x17f583(0x134)]=0x0]=_0x17f583(0x134),_0x40dbc8[_0x40dbc8[_0x17f583(0x131)]=0x1]=_0x17f583(0x131),_0x40dbc8[_0x40dbc8[_0x17f583(0x132)]=0x2]='UNIVER_SHEET',_0x40dbc8[_0x40dbc8[_0x17f583(0x128)]=0x3]=_0x17f583(0x128),_0x40dbc8[_0x40dbc8[_0x17f583(0x12d)]=0x4]='UNIVER_PROJECT',_0x40dbc8[_0x40dbc8['UNRECOGNIZED']=-0x1]=_0x17f583(0x133),_0x40dbc8))(o||{});function _0x148d(_0x2c58e5,_0x839a80){const _0x2301a9=_0x2301();return _0x148d=function(_0x148db1,_0x31b163){_0x148db1=_0x148db1-0x128;let _0x31a6a4=_0x2301a9[_0x148db1];return _0x31a6a4;},_0x148d(_0x2c58e5,_0x839a80);}class c extends i['FUniver']{async['importXLSXToUnitId'](_0x273ffc){const _0x540e56=_0x17f583;return this[_0x540e56(0x145)](_0x273ffc);}async[_0x17f583(0x145)](_0x12adc0){const _0x20d69e=_0x17f583,_0x50bdfd=this[_0x20d69e(0x140)]['get'](r[_0x20d69e(0x12a)]);if(!_0x50bdfd)throw new Error(_0x20d69e(0x143));return _0x50bdfd['importFileToUnitId'](_0x12adc0,o[_0x20d69e(0x132)]);}async[_0x17f583(0x137)](_0x58ab36){const _0x43aef0=_0x17f583;return this[_0x43aef0(0x136)](_0x58ab36);}async[_0x17f583(0x136)](_0x14de48){const _0x4d64c8=_0x17f583,_0x52e673=this[_0x4d64c8(0x140)][_0x4d64c8(0x144)](r[_0x4d64c8(0x12a)]);if(!_0x52e673)throw new Error(_0x4d64c8(0x143));return _0x52e673[_0x4d64c8(0x137)](_0x14de48);}async[_0x17f583(0x13b)](_0x6f05ea){return this['exportXLSXByUnitIdAsync'](_0x6f05ea);}async[_0x17f583(0x138)](_0x543072){const _0x45f4c9=_0x17f583,_0x3e2fbd=this[_0x45f4c9(0x140)]['get'](r[_0x45f4c9(0x12a)]);if(!_0x3e2fbd)throw new Error(_0x45f4c9(0x143));return _0x3e2fbd[_0x45f4c9(0x13b)](_0x543072);}async[_0x17f583(0x12e)](_0x2071ac){const _0x41aba8=_0x17f583;return this[_0x41aba8(0x13a)](_0x2071ac);}async[_0x17f583(0x13a)](_0x105553){const _0x5b255f=_0x17f583,_0x1c728d=this['_injector'][_0x5b255f(0x144)](r['IExchangeService']);if(!_0x1c728d)throw new Error(_0x5b255f(0x143));return _0x1c728d[_0x5b255f(0x12e)](_0x105553);}async[_0x17f583(0x129)](_0x1e7e44){return this['importDOCXToUnitIdAsync'](_0x1e7e44);}async['importDOCXToUnitIdAsync'](_0x38ef5f){const _0x3ecf2a=_0x17f583,_0x1b6adf=this[_0x3ecf2a(0x140)]['get'](r[_0x3ecf2a(0x12a)]);if(!_0x1b6adf)throw new Error(_0x3ecf2a(0x143));return _0x1b6adf[_0x3ecf2a(0x13e)](_0x38ef5f,o[_0x3ecf2a(0x131)]);}async[_0x17f583(0x139)](_0x3c402d){const _0x2cde22=_0x17f583;return this[_0x2cde22(0x146)](_0x3c402d);}async[_0x17f583(0x146)](_0x5c0699){const _0x50e895=_0x17f583,_0x2c70ca=this['_injector'][_0x50e895(0x144)](r[_0x50e895(0x12a)]);if(!_0x2c70ca)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c70ca[_0x50e895(0x139)](_0x5c0699);}}i[_0x17f583(0x13d)]['extend'](c);function _0x2301(){const _0x532c4c=['8419zPlhNz','UNIVER_DOC','UNIVER_SHEET','UNRECOGNIZED','UNIVER_UNKNOWN','80CcTQOm','importXLSXToSnapshotAsync','importXLSXToSnapshot','exportXLSXByUnitIdAsync','importDOCXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXByUnitId','3593639QGSBby','FUniver','importFileToUnitId','@univerjs-pro/exchange-client','_injector','1321324cVTgcB','449031NSpyJH','The\x20exchange\x20service\x20is\x20not\x20available','get','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','16meDkKr','3ZBVvtz','3106692ZXunBv','UNIVER_SLIDE','importDOCXToUnitId','IExchangeService','27513KnBeUS','46DOWUsM','UNIVER_PROJECT','exportXLSXBySnapshot','2336005KYXXKs'];_0x2301=function(){return _0x532c4c;};return _0x2301();}
1
+ 'use strict';const _0x2fbe40=_0x4425;(function(_0x4e7402,_0x5d7d8f){const _0xa3ffd9=_0x4425,_0x340387=_0x4e7402();while(!![]){try{const _0x1fe63e=-parseInt(_0xa3ffd9(0xe0))/0x1*(parseInt(_0xa3ffd9(0xea))/0x2)+parseInt(_0xa3ffd9(0xd7))/0x3+parseInt(_0xa3ffd9(0xce))/0x4*(-parseInt(_0xa3ffd9(0xdf))/0x5)+-parseInt(_0xa3ffd9(0xe2))/0x6+parseInt(_0xa3ffd9(0xec))/0x7*(-parseInt(_0xa3ffd9(0xdd))/0x8)+parseInt(_0xa3ffd9(0xd3))/0x9+parseInt(_0xa3ffd9(0xe5))/0xa*(parseInt(_0xa3ffd9(0xe1))/0xb);if(_0x1fe63e===_0x5d7d8f)break;else _0x340387['push'](_0x340387['shift']());}catch(_0x521a80){_0x340387['push'](_0x340387['shift']());}}}(_0x2e89,0x3a2ce));function _0x4425(_0x4693fb,_0x18fa38){const _0x2e892a=_0x2e89();return _0x4425=function(_0x442597,_0xa21de2){_0x442597=_0x442597-0xce;let _0xa049ff=_0x2e892a[_0x442597];return _0xa049ff;},_0x4425(_0x4693fb,_0x18fa38);}const r=require(_0x2fbe40(0xd8)),i=require(_0x2fbe40(0xed));var o=(_0x5e44ae=>(_0x5e44ae[_0x5e44ae['UNIVER_UNKNOWN']=0x0]=_0x2fbe40(0xe6),_0x5e44ae[_0x5e44ae[_0x2fbe40(0xd4)]=0x1]='UNIVER_DOC',_0x5e44ae[_0x5e44ae[_0x2fbe40(0xee)]=0x2]='UNIVER_SHEET',_0x5e44ae[_0x5e44ae[_0x2fbe40(0xe8)]=0x3]=_0x2fbe40(0xe8),_0x5e44ae[_0x5e44ae[_0x2fbe40(0xd6)]=0x4]='UNIVER_PROJECT',_0x5e44ae[_0x5e44ae['UNRECOGNIZED']=-0x1]=_0x2fbe40(0xef),_0x5e44ae))(o||{});function _0x2e89(){const _0x421061=['932769NcEaVk','@univerjs-pro/exchange-client','The\x20exchange\x20service\x20is\x20not\x20available','_injector','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','167752RMMOzx','IExchangeService','10tybint','1382bwiSIg','44ARgcHM','724980UgVBKj','importDOCXToSnapshot','extend','1981470VYWtRM','UNIVER_UNKNOWN','importDOCXToSnapshotAsync','UNIVER_SLIDE','importDOCXToUnitId','530cPcHXP','exportXLSXBySnapshot','112yFRAvG','@univerjs/core/facade','UNIVER_SHEET','UNRECOGNIZED','importXLSXToUnitId','importXLSXToSnapshotAsync','FUniver','exportXLSXByUnitId','353988WjMyRs','importFileToUnitId','get','importXLSXToSnapshot','importDOCXToUnitIdAsync','1208997mlGtsd','UNIVER_DOC','exportXLSXBySnapshotAsync','UNIVER_PROJECT'];_0x2e89=function(){return _0x421061;};return _0x2e89();}class c extends i[_0x2fbe40(0xf2)]{async[_0x2fbe40(0xf0)](_0x2fcf67){return this['importXLSXToUnitIdAsync'](_0x2fcf67);}async[_0x2fbe40(0xdc)](_0x4ec51c){const _0x2bceac=_0x2fbe40,_0x31cfb8=this['_injector']['get'](r[_0x2bceac(0xde)]);if(!_0x31cfb8)throw new Error(_0x2bceac(0xd9));return _0x31cfb8[_0x2bceac(0xcf)](_0x4ec51c,o[_0x2bceac(0xee)]);}async[_0x2fbe40(0xd1)](_0xd3383c){const _0x3191bd=_0x2fbe40;return this[_0x3191bd(0xf1)](_0xd3383c);}async[_0x2fbe40(0xf1)](_0x59abc3){const _0x527ad6=_0x2fbe40,_0x3b24a3=this[_0x527ad6(0xda)][_0x527ad6(0xd0)](r[_0x527ad6(0xde)]);if(!_0x3b24a3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b24a3[_0x527ad6(0xd1)](_0x59abc3);}async['exportXLSXByUnitId'](_0x1ed6c4){const _0x2f5efd=_0x2fbe40;return this[_0x2f5efd(0xdb)](_0x1ed6c4);}async[_0x2fbe40(0xdb)](_0x2daa58){const _0x856caf=_0x2fbe40,_0x396e75=this['_injector'][_0x856caf(0xd0)](r[_0x856caf(0xde)]);if(!_0x396e75)throw new Error(_0x856caf(0xd9));return _0x396e75[_0x856caf(0xf3)](_0x2daa58);}async[_0x2fbe40(0xeb)](_0x418649){const _0x52d40e=_0x2fbe40;return this[_0x52d40e(0xd5)](_0x418649);}async[_0x2fbe40(0xd5)](_0x4e81ff){const _0x42437d=_0x2fbe40,_0x3adb18=this[_0x42437d(0xda)]['get'](r['IExchangeService']);if(!_0x3adb18)throw new Error(_0x42437d(0xd9));return _0x3adb18[_0x42437d(0xeb)](_0x4e81ff);}async[_0x2fbe40(0xe9)](_0x538d86){return this['importDOCXToUnitIdAsync'](_0x538d86);}async[_0x2fbe40(0xd2)](_0x12c1c1){const _0x8566fb=_0x2fbe40,_0x315af6=this[_0x8566fb(0xda)][_0x8566fb(0xd0)](r[_0x8566fb(0xde)]);if(!_0x315af6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x315af6['importFileToUnitId'](_0x12c1c1,o['UNIVER_DOC']);}async[_0x2fbe40(0xe3)](_0x35d234){return this['importDOCXToSnapshotAsync'](_0x35d234);}async[_0x2fbe40(0xe7)](_0x205ea1){const _0x465bd2=_0x2fbe40,_0x4dfb62=this[_0x465bd2(0xda)][_0x465bd2(0xd0)](r[_0x465bd2(0xde)]);if(!_0x4dfb62)throw new Error(_0x465bd2(0xd9));return _0x4dfb62[_0x465bd2(0xe3)](_0x205ea1);}}i[_0x2fbe40(0xf2)][_0x2fbe40(0xe4)](c);