@univerjs-pro/exchange-client 0.5.0-nightly.202411291606 → 0.5.1

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';function _0x39d1(){const _0x554de5=['801188DSnndz','UNIVER_DOC','10322109vISDmD','The\x20exchange\x20service\x20is\x20not\x20available','get','826650cCuNqS','_injector','3469347JBYIfO','UNIVER_SHEET','importFileToUnitId','6ehDJBR','IExchangeService','8942100rqfDWI','UNIVER_PROJECT','UNIVER_SLIDE','@univerjs/core','4944512NjqlTJ','3003802dYfBib','importDOCXToSnapshot','importXLSXToSnapshot','1HficWb','exportXLSXByUnitId','extend','UNRECOGNIZED','exportXLSXBySnapshot'];_0x39d1=function(){return _0x554de5;};return _0x39d1();}const _0x1d1942=_0x4389;(function(_0x441b63,_0x15eef4){const _0xea1fb3=_0x4389,_0x1abe3b=_0x441b63();while(!![]){try{const _0x189dd2=-parseInt(_0xea1fb3(0xe0))/0x1*(parseInt(_0xea1fb3(0xdd))/0x2)+-parseInt(_0xea1fb3(0xd3))/0x3+-parseInt(_0xea1fb3(0xcc))/0x4+parseInt(_0xea1fb3(0xd8))/0x5+-parseInt(_0xea1fb3(0xd6))/0x6*(-parseInt(_0xea1fb3(0xce))/0x7)+parseInt(_0xea1fb3(0xdc))/0x8+-parseInt(_0xea1fb3(0xd1))/0x9;if(_0x189dd2===_0x15eef4)break;else _0x1abe3b['push'](_0x1abe3b['shift']());}catch(_0x43d360){_0x1abe3b['push'](_0x1abe3b['shift']());}}}(_0x39d1,0xe330e));const c=require(_0x1d1942(0xdb)),n=require('@univerjs-pro/exchange-client');var i=(_0x1fef6b=>(_0x1fef6b[_0x1fef6b['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x1fef6b[_0x1fef6b[_0x1d1942(0xcd)]=0x1]='UNIVER_DOC',_0x1fef6b[_0x1fef6b['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1fef6b[_0x1fef6b[_0x1d1942(0xda)]=0x3]=_0x1d1942(0xda),_0x1fef6b[_0x1fef6b[_0x1d1942(0xd9)]=0x4]=_0x1d1942(0xd9),_0x1fef6b[_0x1fef6b[_0x1d1942(0xca)]=-0x1]='UNRECOGNIZED',_0x1fef6b))(i||{});function _0x4389(_0x2c5b08,_0x4b84c6){const _0x39d1e3=_0x39d1();return _0x4389=function(_0x4389dc,_0x3a7494){_0x4389dc=_0x4389dc-0xc9;let _0x510252=_0x39d1e3[_0x4389dc];return _0x510252;},_0x4389(_0x2c5b08,_0x4b84c6);}class o extends c['FUniver']{async['importXLSXToUnitId'](_0x4ce7cf){const _0x3b40dd=_0x1d1942,_0x366baa=this[_0x3b40dd(0xd2)][_0x3b40dd(0xd0)](n[_0x3b40dd(0xd7)]);if(!_0x366baa)throw new Error(_0x3b40dd(0xcf));return _0x366baa[_0x3b40dd(0xd5)](_0x4ce7cf,i[_0x3b40dd(0xd4)]);}async[_0x1d1942(0xdf)](_0x5007bd){const _0x1abf76=_0x1d1942,_0x331d90=this[_0x1abf76(0xd2)][_0x1abf76(0xd0)](n[_0x1abf76(0xd7)]);if(!_0x331d90)throw new Error(_0x1abf76(0xcf));return _0x331d90['importXLSXToSnapshot'](_0x5007bd);}async[_0x1d1942(0xe1)](_0x2e485f){const _0x229400=_0x1d1942,_0x300f11=this[_0x229400(0xd2)][_0x229400(0xd0)](n[_0x229400(0xd7)]);if(!_0x300f11)throw new Error(_0x229400(0xcf));return _0x300f11[_0x229400(0xe1)](_0x2e485f);}async[_0x1d1942(0xcb)](_0x251738){const _0x111f76=_0x1d1942,_0x375cf3=this[_0x111f76(0xd2)][_0x111f76(0xd0)](n[_0x111f76(0xd7)]);if(!_0x375cf3)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x375cf3[_0x111f76(0xcb)](_0x251738);}async['importDOCXToUnitId'](_0x3c32b8){const _0x2e8cde=_0x1d1942,_0x31be90=this[_0x2e8cde(0xd2)][_0x2e8cde(0xd0)](n[_0x2e8cde(0xd7)]);if(!_0x31be90)throw new Error(_0x2e8cde(0xcf));return _0x31be90[_0x2e8cde(0xd5)](_0x3c32b8,i[_0x2e8cde(0xcd)]);}async[_0x1d1942(0xde)](_0xb890f2){const _0x24b563=_0x1d1942,_0x18bf58=this[_0x24b563(0xd2)]['get'](n[_0x24b563(0xd7)]);if(!_0x18bf58)throw new Error(_0x24b563(0xcf));return _0x18bf58[_0x24b563(0xde)](_0xb890f2);}}c['FUniver'][_0x1d1942(0xc9)](o);
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);