@univerjs-pro/exchange-client 0.5.1 → 0.5.2-nightly.202412281605

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 _0x242b25=_0x4cc8;(function(_0x280b1b,_0x19e265){const _0x367680=_0x4cc8,_0x588da7=_0x280b1b();while(!![]){try{const _0x165ff2=-parseInt(_0x367680(0xcf))/0x1+-parseInt(_0x367680(0xc8))/0x2*(-parseInt(_0x367680(0xc2))/0x3)+parseInt(_0x367680(0xd0))/0x4*(-parseInt(_0x367680(0xba))/0x5)+-parseInt(_0x367680(0xc0))/0x6+parseInt(_0x367680(0xc6))/0x7+parseInt(_0x367680(0xb8))/0x8+-parseInt(_0x367680(0xc5))/0x9*(-parseInt(_0x367680(0xc3))/0xa);if(_0x165ff2===_0x19e265)break;else _0x588da7['push'](_0x588da7['shift']());}catch(_0x41e871){_0x588da7['push'](_0x588da7['shift']());}}}(_0xc72f,0xc017c));function _0x4cc8(_0x4bd71d,_0x3318be){const _0xc72ff=_0xc72f();return _0x4cc8=function(_0x4cc823,_0x205f56){_0x4cc823=_0x4cc823-0xb3;let _0x21c6f9=_0xc72ff[_0x4cc823];return _0x21c6f9;},_0x4cc8(_0x4bd71d,_0x3318be);}const c=require(_0x242b25(0xbe)),n=require(_0x242b25(0xbd));var i=(_0x4a1e3f=>(_0x4a1e3f[_0x4a1e3f['UNIVER_UNKNOWN']=0x0]=_0x242b25(0xc4),_0x4a1e3f[_0x4a1e3f[_0x242b25(0xb3)]=0x1]=_0x242b25(0xb3),_0x4a1e3f[_0x4a1e3f[_0x242b25(0xb6)]=0x2]='UNIVER_SHEET',_0x4a1e3f[_0x4a1e3f['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4a1e3f[_0x4a1e3f[_0x242b25(0xca)]=0x4]=_0x242b25(0xca),_0x4a1e3f[_0x4a1e3f[_0x242b25(0xcd)]=-0x1]=_0x242b25(0xcd),_0x4a1e3f))(i||{});class o extends c[_0x242b25(0xbc)]{async[_0x242b25(0xce)](_0x5f073e){const _0x2ad6aa=_0x242b25,_0x5203a7=this[_0x2ad6aa(0xb9)][_0x2ad6aa(0xc1)](n[_0x2ad6aa(0xbf)]);if(!_0x5203a7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5203a7[_0x2ad6aa(0xcb)](_0x5f073e,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x5e9b44){const _0x6dc91e=_0x242b25,_0xb9bef1=this[_0x6dc91e(0xb9)][_0x6dc91e(0xc1)](n[_0x6dc91e(0xbf)]);if(!_0xb9bef1)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xb9bef1[_0x6dc91e(0xcc)](_0x5e9b44);}async[_0x242b25(0xc9)](_0x553570){const _0x56c62c=_0x242b25,_0x1e51b2=this['_injector'][_0x56c62c(0xc1)](n[_0x56c62c(0xbf)]);if(!_0x1e51b2)throw new Error(_0x56c62c(0xb7));return _0x1e51b2['exportXLSXByUnitId'](_0x553570);}async[_0x242b25(0xb4)](_0x3647a0){const _0x5d79c6=_0x242b25,_0x2449c5=this[_0x5d79c6(0xb9)][_0x5d79c6(0xc1)](n[_0x5d79c6(0xbf)]);if(!_0x2449c5)throw new Error(_0x5d79c6(0xb7));return _0x2449c5['exportXLSXBySnapshot'](_0x3647a0);}async[_0x242b25(0xb5)](_0x1d2b3c){const _0xbf10d8=_0x242b25,_0x24b43e=this[_0xbf10d8(0xb9)]['get'](n[_0xbf10d8(0xbf)]);if(!_0x24b43e)throw new Error(_0xbf10d8(0xb7));return _0x24b43e[_0xbf10d8(0xcb)](_0x1d2b3c,i[_0xbf10d8(0xb3)]);}async[_0x242b25(0xbb)](_0x7b1381){const _0x16a503=_0x242b25,_0x14261a=this[_0x16a503(0xb9)][_0x16a503(0xc1)](n[_0x16a503(0xbf)]);if(!_0x14261a)throw new Error(_0x16a503(0xb7));return _0x14261a[_0x16a503(0xbb)](_0x7b1381);}}function _0xc72f(){const _0x56324d=['726NwqnBb','160MNhncn','UNIVER_UNKNOWN','990567pgBLun','1333612oikTFn','extend','5426JmEUuW','exportXLSXByUnitId','UNIVER_PROJECT','importFileToUnitId','importXLSXToSnapshot','UNRECOGNIZED','importXLSXToUnitId','1396184MgnbbP','303260ihkPSa','UNIVER_DOC','exportXLSXBySnapshot','importDOCXToUnitId','UNIVER_SHEET','The\x20exchange\x20service\x20is\x20not\x20available','6932840zPkavt','_injector','10rPMAFV','importDOCXToSnapshot','FUniver','@univerjs-pro/exchange-client','@univerjs/core','IExchangeService','6840294mcpCCg','get'];_0xc72f=function(){return _0x56324d;};return _0xc72f();}c[_0x242b25(0xbc)][_0x242b25(0xc7)](o);
1
+ 'use strict';const _0x25a791=_0x1d8a;(function(_0x4f2094,_0x28a7a9){const _0x12b24f=_0x1d8a,_0x4d9729=_0x4f2094();while(!![]){try{const _0x1f490a=parseInt(_0x12b24f(0x1db))/0x1*(-parseInt(_0x12b24f(0x1e1))/0x2)+-parseInt(_0x12b24f(0x1f3))/0x3+-parseInt(_0x12b24f(0x1df))/0x4*(-parseInt(_0x12b24f(0x1f2))/0x5)+parseInt(_0x12b24f(0x1e3))/0x6+parseInt(_0x12b24f(0x1ef))/0x7+parseInt(_0x12b24f(0x1f0))/0x8*(parseInt(_0x12b24f(0x1e4))/0x9)+-parseInt(_0x12b24f(0x1f6))/0xa;if(_0x1f490a===_0x28a7a9)break;else _0x4d9729['push'](_0x4d9729['shift']());}catch(_0x5b07f2){_0x4d9729['push'](_0x4d9729['shift']());}}}(_0x4e2e,0x3ede5));function _0x4e2e(){const _0x41b051=['importXLSXToSnapshot','exportXLSXByUnitId','UNIVER_UNKNOWN','UNIVER_SHEET','@univerjs/core','UNIVER_SLIDE','IExchangeService','@univerjs-pro/exchange-client','get','2391641NnMkUQ','326728LujRfP','importXLSXToUnitId','268595uBCYCH','1024227LNOKKP','exportXLSXBySnapshot','importFileToUnitId','1391930yVRrcL','The\x20exchange\x20service\x20is\x20not\x20available','1yHXoVj','UNIVER_DOC','UNRECOGNIZED','importDOCXToUnitId','8tAvAIC','_injector','637462KCBvUn','UNIVER_PROJECT','2666262UAvSQY','36THnmxl','importDOCXToSnapshot'];_0x4e2e=function(){return _0x41b051;};return _0x4e2e();}function _0x1d8a(_0xb5520d,_0x4b3ddf){const _0x4e2e0f=_0x4e2e();return _0x1d8a=function(_0x1d8ae9,_0x11dacb){_0x1d8ae9=_0x1d8ae9-0x1da;let _0x31098e=_0x4e2e0f[_0x1d8ae9];return _0x31098e;},_0x1d8a(_0xb5520d,_0x4b3ddf);}const c=require(_0x25a791(0x1ea)),n=require(_0x25a791(0x1ed));var i=(_0x3e6a96=>(_0x3e6a96[_0x3e6a96[_0x25a791(0x1e8)]=0x0]=_0x25a791(0x1e8),_0x3e6a96[_0x3e6a96[_0x25a791(0x1dc)]=0x1]=_0x25a791(0x1dc),_0x3e6a96[_0x3e6a96[_0x25a791(0x1e9)]=0x2]=_0x25a791(0x1e9),_0x3e6a96[_0x3e6a96['UNIVER_SLIDE']=0x3]=_0x25a791(0x1eb),_0x3e6a96[_0x3e6a96[_0x25a791(0x1e2)]=0x4]=_0x25a791(0x1e2),_0x3e6a96[_0x3e6a96['UNRECOGNIZED']=-0x1]=_0x25a791(0x1dd),_0x3e6a96))(i||{});class o extends c['FUniver']{async[_0x25a791(0x1f1)](_0x259a5d){const _0xd0c0a7=_0x25a791,_0x2d66ac=this['_injector'][_0xd0c0a7(0x1ee)](n[_0xd0c0a7(0x1ec)]);if(!_0x2d66ac)throw new Error(_0xd0c0a7(0x1da));return _0x2d66ac[_0xd0c0a7(0x1f5)](_0x259a5d,i[_0xd0c0a7(0x1e9)]);}async['importXLSXToSnapshot'](_0x3363e3){const _0x51cc7e=_0x25a791,_0x42e2f7=this[_0x51cc7e(0x1e0)]['get'](n[_0x51cc7e(0x1ec)]);if(!_0x42e2f7)throw new Error(_0x51cc7e(0x1da));return _0x42e2f7[_0x51cc7e(0x1e6)](_0x3363e3);}async[_0x25a791(0x1e7)](_0xe21647){const _0x2549ba=_0x25a791,_0xd58b8f=this[_0x2549ba(0x1e0)][_0x2549ba(0x1ee)](n[_0x2549ba(0x1ec)]);if(!_0xd58b8f)throw new Error(_0x2549ba(0x1da));return _0xd58b8f['exportXLSXByUnitId'](_0xe21647);}async[_0x25a791(0x1f4)](_0x223fe1){const _0x486593=_0x25a791,_0x39169e=this[_0x486593(0x1e0)][_0x486593(0x1ee)](n[_0x486593(0x1ec)]);if(!_0x39169e)throw new Error(_0x486593(0x1da));return _0x39169e[_0x486593(0x1f4)](_0x223fe1);}async[_0x25a791(0x1de)](_0x2d4d6a){const _0x3c98e4=_0x25a791,_0x322752=this[_0x3c98e4(0x1e0)][_0x3c98e4(0x1ee)](n['IExchangeService']);if(!_0x322752)throw new Error(_0x3c98e4(0x1da));return _0x322752[_0x3c98e4(0x1f5)](_0x2d4d6a,i[_0x3c98e4(0x1dc)]);}async[_0x25a791(0x1e5)](_0xcbed32){const _0x44ac70=_0x25a791,_0x324b32=this['_injector'][_0x44ac70(0x1ee)](n['IExchangeService']);if(!_0x324b32)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x324b32[_0x44ac70(0x1e5)](_0xcbed32);}}c['FUniver']['extend'](o);