@univerjs-pro/exchange-client 0.6.3 → 0.6.4

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 _0xc0fa(){const _0x5ae8f6=['UNIVER_PROJECT','get','3816925fhJbYz','extend','37697540ZVktAh','importXLSXToSnapshot','exportXLSXBySnapshot','51538bskaBb','importFileToUnitId','UNIVER_DOC','UNIVER_SLIDE','importXLSXToUnitId','12hCYlKV','IExchangeService','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','FUniver','9wZTUfu','exportXLSXByUnitId','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','582816gvmgsk','importDOCXToSnapshotAsync','UNIVER_SHEET','4043481zCReJg','The\x20exchange\x20service\x20is\x20not\x20available','_injector','1555695fPQAWr','UNRECOGNIZED','importDOCXToSnapshot','8kXPvjt','exportXLSXBySnapshotAsync','2629212MJvoFs','@univerjs/core/facade','importXLSXToSnapshotAsync'];_0xc0fa=function(){return _0x5ae8f6;};return _0xc0fa();}const _0x44bd7e=_0x3808;(function(_0x38a734,_0x2dee26){const _0x246ed7=_0x3808,_0x442ad4=_0x38a734();while(!![]){try{const _0x1cf44e=-parseInt(_0x246ed7(0x15a))/0x1*(parseInt(_0x246ed7(0x166))/0x2)+-parseInt(_0x246ed7(0x154))/0x3+-parseInt(_0x246ed7(0x15c))/0x4+parseInt(_0x246ed7(0x157))/0x5+-parseInt(_0x246ed7(0x16b))/0x6*(parseInt(_0x246ed7(0x161))/0x7)+-parseInt(_0x246ed7(0x151))/0x8+parseInt(_0x246ed7(0x14d))/0x9*(parseInt(_0x246ed7(0x163))/0xa);if(_0x1cf44e===_0x2dee26)break;else _0x442ad4['push'](_0x442ad4['shift']());}catch(_0x5b6d10){_0x442ad4['push'](_0x442ad4['shift']());}}}(_0xc0fa,0xac6a1));const r=require('@univerjs-pro/exchange-client'),i=require(_0x44bd7e(0x15d));var o=(_0x17ed0b=>(_0x17ed0b[_0x17ed0b[_0x44bd7e(0x16e)]=0x0]=_0x44bd7e(0x16e),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x168)]=0x1]=_0x44bd7e(0x168),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x153)]=0x2]='UNIVER_SHEET',_0x17ed0b[_0x17ed0b[_0x44bd7e(0x169)]=0x3]=_0x44bd7e(0x169),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x15f)]=0x4]=_0x44bd7e(0x15f),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x158)]=-0x1]=_0x44bd7e(0x158),_0x17ed0b))(o||{});function _0x3808(_0x26f55a,_0x35545d){const _0xc0faff=_0xc0fa();return _0x3808=function(_0x38085d,_0x56fb96){_0x38085d=_0x38085d-0x14c;let _0x2fa35b=_0xc0faff[_0x38085d];return _0x2fa35b;},_0x3808(_0x26f55a,_0x35545d);}class c extends i[_0x44bd7e(0x14c)]{async[_0x44bd7e(0x16a)](_0x4e2ac8){return this['importXLSXToUnitIdAsync'](_0x4e2ac8);}async[_0x44bd7e(0x150)](_0x3ee0f4){const _0x145457=_0x44bd7e,_0x48a151=this[_0x145457(0x156)]['get'](r['IExchangeService']);if(!_0x48a151)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x48a151[_0x145457(0x167)](_0x3ee0f4,o[_0x145457(0x153)]);}async[_0x44bd7e(0x164)](_0x271754){const _0x270a53=_0x44bd7e;return this[_0x270a53(0x15e)](_0x271754);}async['importXLSXToSnapshotAsync'](_0x2dd12b){const _0x3d0667=_0x44bd7e,_0x3b422b=this[_0x3d0667(0x156)]['get'](r['IExchangeService']);if(!_0x3b422b)throw new Error(_0x3d0667(0x155));return _0x3b422b[_0x3d0667(0x164)](_0x2dd12b);}async[_0x44bd7e(0x14e)](_0x472ebc){return this['exportXLSXByUnitIdAsync'](_0x472ebc);}async[_0x44bd7e(0x14f)](_0x56465b){const _0x3fe37e=_0x44bd7e,_0x6bf696=this[_0x3fe37e(0x156)][_0x3fe37e(0x160)](r[_0x3fe37e(0x16c)]);if(!_0x6bf696)throw new Error(_0x3fe37e(0x155));return _0x6bf696['exportXLSXByUnitId'](_0x56465b);}async[_0x44bd7e(0x165)](_0x25a2c5){const _0x3de885=_0x44bd7e;return this[_0x3de885(0x15b)](_0x25a2c5);}async['exportXLSXBySnapshotAsync'](_0x1adebc){const _0x26efe1=_0x44bd7e,_0x571f3d=this[_0x26efe1(0x156)][_0x26efe1(0x160)](r['IExchangeService']);if(!_0x571f3d)throw new Error(_0x26efe1(0x155));return _0x571f3d['exportXLSXBySnapshot'](_0x1adebc);}async['importDOCXToUnitId'](_0x5130b3){return this['importDOCXToUnitIdAsync'](_0x5130b3);}async[_0x44bd7e(0x16d)](_0x24b96a){const _0x29b542=_0x44bd7e,_0xcdec79=this[_0x29b542(0x156)]['get'](r[_0x29b542(0x16c)]);if(!_0xcdec79)throw new Error(_0x29b542(0x155));return _0xcdec79[_0x29b542(0x167)](_0x24b96a,o[_0x29b542(0x168)]);}async['importDOCXToSnapshot'](_0x3c5cf9){return this['importDOCXToSnapshotAsync'](_0x3c5cf9);}async[_0x44bd7e(0x152)](_0x72f5c9){const _0x531881=_0x44bd7e,_0x414f01=this[_0x531881(0x156)][_0x531881(0x160)](r[_0x531881(0x16c)]);if(!_0x414f01)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x414f01[_0x531881(0x159)](_0x72f5c9);}}i[_0x44bd7e(0x14c)][_0x44bd7e(0x162)](c);
1
+ 'use strict';const _0x154623=_0x59da;(function(_0x281d2e,_0x16482d){const _0x316df7=_0x59da,_0x1fed30=_0x281d2e();while(!![]){try{const _0x57ff3a=-parseInt(_0x316df7(0x1d7))/0x1*(parseInt(_0x316df7(0x1b8))/0x2)+-parseInt(_0x316df7(0x1bf))/0x3*(-parseInt(_0x316df7(0x1d1))/0x4)+-parseInt(_0x316df7(0x1b9))/0x5+parseInt(_0x316df7(0x1ce))/0x6+-parseInt(_0x316df7(0x1c9))/0x7+-parseInt(_0x316df7(0x1d3))/0x8+parseInt(_0x316df7(0x1d4))/0x9*(parseInt(_0x316df7(0x1c5))/0xa);if(_0x57ff3a===_0x16482d)break;else _0x1fed30['push'](_0x1fed30['shift']());}catch(_0x4916e9){_0x1fed30['push'](_0x1fed30['shift']());}}}(_0x5785,0x34e25));const r=require(_0x154623(0x1c0)),i=require(_0x154623(0x1be));var o=(_0x190e4b=>(_0x190e4b[_0x190e4b[_0x154623(0x1c3)]=0x0]=_0x154623(0x1c3),_0x190e4b[_0x190e4b[_0x154623(0x1bb)]=0x1]=_0x154623(0x1bb),_0x190e4b[_0x190e4b['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x190e4b[_0x190e4b[_0x154623(0x1cb)]=0x3]=_0x154623(0x1cb),_0x190e4b[_0x190e4b[_0x154623(0x1b7)]=0x4]=_0x154623(0x1b7),_0x190e4b[_0x190e4b[_0x154623(0x1c2)]=-0x1]=_0x154623(0x1c2),_0x190e4b))(o||{});class c extends i['FUniver']{async[_0x154623(0x1c8)](_0x4a050d){const _0xb98b52=_0x154623;return this[_0xb98b52(0x1c6)](_0x4a050d);}async[_0x154623(0x1c6)](_0x38a6be){const _0x393a96=_0x154623,_0x33da47=this[_0x393a96(0x1ca)][_0x393a96(0x1bc)](r[_0x393a96(0x1bd)]);if(!_0x33da47)throw new Error(_0x393a96(0x1d0));return _0x33da47['importFileToUnitId'](_0x38a6be,o[_0x393a96(0x1c1)]);}async['importXLSXToSnapshot'](_0x46768c){const _0x36b81b=_0x154623;return this[_0x36b81b(0x1ba)](_0x46768c);}async[_0x154623(0x1ba)](_0x62b61b){const _0x108787=_0x154623,_0x5d54dd=this[_0x108787(0x1ca)][_0x108787(0x1bc)](r['IExchangeService']);if(!_0x5d54dd)throw new Error(_0x108787(0x1d0));return _0x5d54dd['importXLSXToSnapshot'](_0x62b61b);}async[_0x154623(0x1cd)](_0x224e52){const _0x2198ee=_0x154623;return this[_0x2198ee(0x1cf)](_0x224e52);}async[_0x154623(0x1cf)](_0x42c958){const _0x1c46a4=_0x154623,_0x15e19b=this[_0x1c46a4(0x1ca)][_0x1c46a4(0x1bc)](r[_0x1c46a4(0x1bd)]);if(!_0x15e19b)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x15e19b[_0x1c46a4(0x1cd)](_0x42c958);}async[_0x154623(0x1b6)](_0x499c07){return this['exportXLSXBySnapshotAsync'](_0x499c07);}async[_0x154623(0x1c7)](_0x1dd17e){const _0x4a83cc=_0x154623,_0xcf1a05=this[_0x4a83cc(0x1ca)]['get'](r['IExchangeService']);if(!_0xcf1a05)throw new Error(_0x4a83cc(0x1d0));return _0xcf1a05['exportXLSXBySnapshot'](_0x1dd17e);}async[_0x154623(0x1d5)](_0x153892){const _0x3b93ff=_0x154623;return this[_0x3b93ff(0x1d6)](_0x153892);}async[_0x154623(0x1d6)](_0x41ed82){const _0x279b82=_0x154623,_0x408a1d=this[_0x279b82(0x1ca)][_0x279b82(0x1bc)](r['IExchangeService']);if(!_0x408a1d)throw new Error(_0x279b82(0x1d0));return _0x408a1d[_0x279b82(0x1c4)](_0x41ed82,o[_0x279b82(0x1bb)]);}async[_0x154623(0x1d2)](_0x5ddb50){const _0x558af2=_0x154623;return this[_0x558af2(0x1cc)](_0x5ddb50);}async[_0x154623(0x1cc)](_0x29ef93){const _0x3c552d=_0x154623,_0x170772=this[_0x3c552d(0x1ca)][_0x3c552d(0x1bc)](r[_0x3c552d(0x1bd)]);if(!_0x170772)throw new Error(_0x3c552d(0x1d0));return _0x170772[_0x3c552d(0x1d2)](_0x29ef93);}}function _0x5785(){const _0x2acc85=['1526098bofZiz','_injector','UNIVER_SLIDE','importDOCXToSnapshotAsync','exportXLSXByUnitId','1241832FDaqaL','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','81460FEFnEc','importDOCXToSnapshot','223776Ufgdyy','9IYIBDe','importDOCXToUnitId','importDOCXToUnitIdAsync','4odqIpU','exportXLSXBySnapshot','UNIVER_PROJECT','90932Lxdbwp','144310QHMXsJ','importXLSXToSnapshotAsync','UNIVER_DOC','get','IExchangeService','@univerjs/core/facade','60gCEMDB','@univerjs-pro/exchange-client','UNIVER_SHEET','UNRECOGNIZED','UNIVER_UNKNOWN','importFileToUnitId','590530JAojts','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','importXLSXToUnitId'];_0x5785=function(){return _0x2acc85;};return _0x5785();}function _0x59da(_0x2c8334,_0x25f939){const _0x578573=_0x5785();return _0x59da=function(_0x59da9b,_0x38afeb){_0x59da9b=_0x59da9b-0x1b6;let _0x4c2881=_0x578573[_0x59da9b];return _0x4c2881;},_0x59da(_0x2c8334,_0x25f939);}i['FUniver']['extend'](c);