@univerjs-pro/exchange-client 0.6.6-nightly.202503201607 → 0.6.6-nightly.202503221606

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 _0x274352=_0x23a6;function _0x23a6(_0x5d66c7,_0x2827bc){const _0x9d228f=_0x9d22();return _0x23a6=function(_0x23a664,_0x152f3a){_0x23a664=_0x23a664-0x90;let _0x24b57d=_0x9d228f[_0x23a664];return _0x24b57d;},_0x23a6(_0x5d66c7,_0x2827bc);}(function(_0x2b9ca7,_0x12e6bc){const _0x205c17=_0x23a6,_0x10742c=_0x2b9ca7();while(!![]){try{const _0x45bf3b=parseInt(_0x205c17(0x90))/0x1*(parseInt(_0x205c17(0x9c))/0x2)+parseInt(_0x205c17(0xa2))/0x3*(-parseInt(_0x205c17(0x97))/0x4)+parseInt(_0x205c17(0xb0))/0x5+parseInt(_0x205c17(0xab))/0x6+-parseInt(_0x205c17(0xad))/0x7+parseInt(_0x205c17(0x94))/0x8+parseInt(_0x205c17(0xa5))/0x9*(-parseInt(_0x205c17(0xa3))/0xa);if(_0x45bf3b===_0x12e6bc)break;else _0x10742c['push'](_0x10742c['shift']());}catch(_0x3b44d){_0x10742c['push'](_0x10742c['shift']());}}}(_0x9d22,0x90fe4));const r=require(_0x274352(0x92)),i=require(_0x274352(0x93));var o=(_0x5f0fad=>(_0x5f0fad[_0x5f0fad[_0x274352(0xac)]=0x0]='UNIVER_UNKNOWN',_0x5f0fad[_0x5f0fad['UNIVER_DOC']=0x1]=_0x274352(0x98),_0x5f0fad[_0x5f0fad[_0x274352(0xa8)]=0x2]=_0x274352(0xa8),_0x5f0fad[_0x5f0fad['UNIVER_SLIDE']=0x3]=_0x274352(0x9f),_0x5f0fad[_0x5f0fad[_0x274352(0xae)]=0x4]=_0x274352(0xae),_0x5f0fad[_0x5f0fad[_0x274352(0xa6)]=-0x1]=_0x274352(0xa6),_0x5f0fad))(o||{});class c extends i['FUniver']{async[_0x274352(0xa9)](_0x1e5197){const _0x3343c1=_0x274352;return this[_0x3343c1(0xb2)](_0x1e5197);}async[_0x274352(0xb2)](_0x3e0641){const _0x2bd585=_0x274352,_0x72fb2f=this['_injector'][_0x2bd585(0xa1)](r[_0x2bd585(0xa7)]);if(!_0x72fb2f)throw new Error(_0x2bd585(0xaa));return _0x72fb2f[_0x2bd585(0x9a)](_0x3e0641,o[_0x2bd585(0xa8)]);}async[_0x274352(0x99)](_0x474d29){const _0x3c80c6=_0x274352;return this[_0x3c80c6(0x96)](_0x474d29);}async[_0x274352(0x96)](_0x31777c){const _0x1ebea7=_0x274352,_0x428d5b=this['_injector']['get'](r[_0x1ebea7(0xa7)]);if(!_0x428d5b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x428d5b[_0x1ebea7(0x99)](_0x31777c);}async['exportXLSXByUnitId'](_0x4ae259){const _0x124e93=_0x274352;return this[_0x124e93(0xaf)](_0x4ae259);}async[_0x274352(0xaf)](_0x5e7870){const _0xf5999d=_0x274352,_0xd5af2b=this[_0xf5999d(0x95)][_0xf5999d(0xa1)](r[_0xf5999d(0xa7)]);if(!_0xd5af2b)throw new Error(_0xf5999d(0xaa));return _0xd5af2b[_0xf5999d(0xa0)](_0x5e7870);}async[_0x274352(0x9b)](_0x413a57){const _0x31d6a9=_0x274352;return this[_0x31d6a9(0xa4)](_0x413a57);}async[_0x274352(0xa4)](_0x636397){const _0x425d19=_0x274352,_0x1e1b37=this[_0x425d19(0x95)][_0x425d19(0xa1)](r[_0x425d19(0xa7)]);if(!_0x1e1b37)throw new Error(_0x425d19(0xaa));return _0x1e1b37[_0x425d19(0x9b)](_0x636397);}async['importDOCXToUnitId'](_0xb84408){const _0x1627fc=_0x274352;return this[_0x1627fc(0x9d)](_0xb84408);}async[_0x274352(0x9d)](_0x425bc7){const _0x201a5c=_0x274352,_0x2fb4f9=this['_injector'][_0x201a5c(0xa1)](r[_0x201a5c(0xa7)]);if(!_0x2fb4f9)throw new Error(_0x201a5c(0xaa));return _0x2fb4f9['importFileToUnitId'](_0x425bc7,o[_0x201a5c(0x98)]);}async[_0x274352(0xb1)](_0x1a4d8e){return this['importDOCXToSnapshotAsync'](_0x1a4d8e);}async[_0x274352(0x9e)](_0x20a675){const _0x5cff20=_0x274352,_0xeeda5=this[_0x5cff20(0x95)]['get'](r[_0x5cff20(0xa7)]);if(!_0xeeda5)throw new Error(_0x5cff20(0xaa));return _0xeeda5[_0x5cff20(0xb1)](_0x20a675);}}function _0x9d22(){const _0x43cfda=['UNIVER_PROJECT','exportXLSXByUnitIdAsync','4413390arFNuB','importDOCXToSnapshot','importXLSXToUnitIdAsync','26dRMAkP','extend','@univerjs-pro/exchange-client','@univerjs/core/facade','1197688yCkTrD','_injector','importXLSXToSnapshotAsync','16432cpXHou','UNIVER_DOC','importXLSXToSnapshot','importFileToUnitId','exportXLSXBySnapshot','47038yjWQWG','importDOCXToUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_SLIDE','exportXLSXByUnitId','get','555dKBIyj','10JUIFpk','exportXLSXBySnapshotAsync','8349651YLSAkp','UNRECOGNIZED','IExchangeService','UNIVER_SHEET','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','4064970HjgviW','UNIVER_UNKNOWN','278369iMcWxh'];_0x9d22=function(){return _0x43cfda;};return _0x9d22();}i['FUniver'][_0x274352(0x91)](c);
1
+ 'use strict';const _0x3f0bbd=_0x1682;(function(_0xd5e2ee,_0x240e81){const _0xb94b77=_0x1682,_0x3bb126=_0xd5e2ee();while(!![]){try{const _0x5719e7=parseInt(_0xb94b77(0xa9))/0x1+parseInt(_0xb94b77(0x8a))/0x2+parseInt(_0xb94b77(0x9e))/0x3+-parseInt(_0xb94b77(0x9b))/0x4*(-parseInt(_0xb94b77(0x95))/0x5)+parseInt(_0xb94b77(0x91))/0x6*(-parseInt(_0xb94b77(0x9c))/0x7)+-parseInt(_0xb94b77(0xa5))/0x8+-parseInt(_0xb94b77(0xa7))/0x9;if(_0x5719e7===_0x240e81)break;else _0x3bb126['push'](_0x3bb126['shift']());}catch(_0x31de36){_0x3bb126['push'](_0x3bb126['shift']());}}}(_0x1e05,0x2c65f));function _0x1e05(){const _0x55f16c=['importXLSXToSnapshotAsync','UNRECOGNIZED','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','61576ptmzKN','importDOCXToSnapshot','4773474Yzuope','get','145328ctaMGW','importXLSXToSnapshot','UNIVER_SLIDE','exportXLSXBySnapshotAsync','exportXLSXByUnitId','109364MfGbcj','@univerjs/core/facade','importXLSXToUnitId','IExchangeService','exportXLSXBySnapshot','importDOCXToUnitId','importFileToUnitId','491082NTBGjb','_injector','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','4670gtVSTU','exportXLSXByUnitIdAsync','UNIVER_PROJECT','@univerjs-pro/exchange-client','UNIVER_SHEET','importDOCXToSnapshotAsync','1492JDlkgl','14ELnAYi','FUniver','1005720hPtRFF','extend'];_0x1e05=function(){return _0x55f16c;};return _0x1e05();}const r=require(_0x3f0bbd(0x98)),i=require(_0x3f0bbd(0x8b));function _0x1682(_0x3aef96,_0x542c8b){const _0x1e053a=_0x1e05();return _0x1682=function(_0x1682ab,_0x206686){_0x1682ab=_0x1682ab-0x86;let _0x45318c=_0x1e053a[_0x1682ab];return _0x45318c;},_0x1682(_0x3aef96,_0x542c8b);}var o=(_0x1373f0=>(_0x1373f0[_0x1373f0[_0x3f0bbd(0xa2)]=0x0]=_0x3f0bbd(0xa2),_0x1373f0[_0x1373f0['UNIVER_DOC']=0x1]=_0x3f0bbd(0xa4),_0x1373f0[_0x1373f0[_0x3f0bbd(0x99)]=0x2]=_0x3f0bbd(0x99),_0x1373f0[_0x1373f0[_0x3f0bbd(0x87)]=0x3]='UNIVER_SLIDE',_0x1373f0[_0x1373f0[_0x3f0bbd(0x97)]=0x4]='UNIVER_PROJECT',_0x1373f0[_0x1373f0['UNRECOGNIZED']=-0x1]=_0x3f0bbd(0xa1),_0x1373f0))(o||{});class c extends i[_0x3f0bbd(0x9d)]{async[_0x3f0bbd(0x8c)](_0x3f37e3){const _0x356893=_0x3f0bbd;return this[_0x356893(0x93)](_0x3f37e3);}async[_0x3f0bbd(0x93)](_0x14acaa){const _0x59adda=_0x3f0bbd,_0x2b2654=this[_0x59adda(0x92)][_0x59adda(0xa8)](r[_0x59adda(0x8d)]);if(!_0x2b2654)throw new Error(_0x59adda(0xa3));return _0x2b2654[_0x59adda(0x90)](_0x14acaa,o[_0x59adda(0x99)]);}async[_0x3f0bbd(0x86)](_0x141d27){const _0x6e2ea2=_0x3f0bbd;return this[_0x6e2ea2(0xa0)](_0x141d27);}async[_0x3f0bbd(0xa0)](_0x158d37){const _0x2a1343=_0x3f0bbd,_0x307088=this[_0x2a1343(0x92)][_0x2a1343(0xa8)](r[_0x2a1343(0x8d)]);if(!_0x307088)throw new Error(_0x2a1343(0xa3));return _0x307088['importXLSXToSnapshot'](_0x158d37);}async[_0x3f0bbd(0x89)](_0x3b9c31){return this['exportXLSXByUnitIdAsync'](_0x3b9c31);}async[_0x3f0bbd(0x96)](_0x5d908e){const _0x152887=_0x3f0bbd,_0xe5796c=this['_injector'][_0x152887(0xa8)](r[_0x152887(0x8d)]);if(!_0xe5796c)throw new Error(_0x152887(0xa3));return _0xe5796c[_0x152887(0x89)](_0x5d908e);}async[_0x3f0bbd(0x8e)](_0x245986){return this['exportXLSXBySnapshotAsync'](_0x245986);}async[_0x3f0bbd(0x88)](_0x25dfea){const _0x50ce2e=_0x3f0bbd,_0x530223=this[_0x50ce2e(0x92)][_0x50ce2e(0xa8)](r[_0x50ce2e(0x8d)]);if(!_0x530223)throw new Error(_0x50ce2e(0xa3));return _0x530223[_0x50ce2e(0x8e)](_0x25dfea);}async[_0x3f0bbd(0x8f)](_0x54bef3){const _0x32dd24=_0x3f0bbd;return this[_0x32dd24(0x94)](_0x54bef3);}async[_0x3f0bbd(0x94)](_0x4e7736){const _0x5ac77d=_0x3f0bbd,_0x27bab2=this[_0x5ac77d(0x92)][_0x5ac77d(0xa8)](r[_0x5ac77d(0x8d)]);if(!_0x27bab2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x27bab2['importFileToUnitId'](_0x4e7736,o[_0x5ac77d(0xa4)]);}async[_0x3f0bbd(0xa6)](_0x4bbdc9){const _0x1126fa=_0x3f0bbd;return this[_0x1126fa(0x9a)](_0x4bbdc9);}async[_0x3f0bbd(0x9a)](_0x2a285e){const _0x3ac655=_0x3f0bbd,_0x5590e8=this[_0x3ac655(0x92)][_0x3ac655(0xa8)](r['IExchangeService']);if(!_0x5590e8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5590e8[_0x3ac655(0xa6)](_0x2a285e);}}i[_0x3f0bbd(0x9d)][_0x3f0bbd(0x9f)](c);