@univerjs-pro/exchange-client 0.6.4 → 0.6.5

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 _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);
1
+ 'use strict';const _0x1b1722=_0x22cb;(function(_0x385010,_0x351202){const _0x216b45=_0x22cb,_0xf62201=_0x385010();while(!![]){try{const _0x52ac76=-parseInt(_0x216b45(0x1f1))/0x1*(-parseInt(_0x216b45(0x1fa))/0x2)+parseInt(_0x216b45(0x1de))/0x3*(parseInt(_0x216b45(0x1fe))/0x4)+parseInt(_0x216b45(0x1e7))/0x5+-parseInt(_0x216b45(0x1ef))/0x6+-parseInt(_0x216b45(0x1e8))/0x7*(-parseInt(_0x216b45(0x1e1))/0x8)+parseInt(_0x216b45(0x1e0))/0x9*(parseInt(_0x216b45(0x1e3))/0xa)+-parseInt(_0x216b45(0x1eb))/0xb;if(_0x52ac76===_0x351202)break;else _0xf62201['push'](_0xf62201['shift']());}catch(_0x56c98f){_0xf62201['push'](_0xf62201['shift']());}}}(_0xa792,0x53c3b));function _0xa792(){const _0x48ee6c=['836432AVuhnt','IExchangeService','190kKjOJm','exportXLSXBySnapshot','_injector','UNRECOGNIZED','2165325MWnlRe','28MJHQtT','importXLSXToSnapshotAsync','importFileToUnitId','19579186zqkoHa','UNIVER_SHEET','importDOCXToSnapshot','UNIVER_SLIDE','76272UvvJBF','UNIVER_DOC','2SBnpsc','UNIVER_PROJECT','FUniver','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','exportXLSXByUnitId','importDOCXToUnitId','@univerjs/core/facade','get','401176xEcETE','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','4IPVKWG','@univerjs-pro/exchange-client','importXLSXToUnitId','exportXLSXByUnitIdAsync','1342317nZQfyP','importDOCXToSnapshotAsync','206451ezEkwN'];_0xa792=function(){return _0x48ee6c;};return _0xa792();}function _0x22cb(_0x40e857,_0x51125c){const _0xa792a5=_0xa792();return _0x22cb=function(_0x22cb48,_0x4f156c){_0x22cb48=_0x22cb48-0x1db;let _0x172e01=_0xa792a5[_0x22cb48];return _0x172e01;},_0x22cb(_0x40e857,_0x51125c);}const r=require(_0x1b1722(0x1db)),i=require(_0x1b1722(0x1f8));var o=(_0x20e6be=>(_0x20e6be[_0x20e6be['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x20e6be[_0x20e6be[_0x1b1722(0x1f0)]=0x1]=_0x1b1722(0x1f0),_0x20e6be[_0x20e6be[_0x1b1722(0x1ec)]=0x2]='UNIVER_SHEET',_0x20e6be[_0x20e6be[_0x1b1722(0x1ee)]=0x3]=_0x1b1722(0x1ee),_0x20e6be[_0x20e6be[_0x1b1722(0x1f2)]=0x4]=_0x1b1722(0x1f2),_0x20e6be[_0x20e6be[_0x1b1722(0x1e6)]=-0x1]=_0x1b1722(0x1e6),_0x20e6be))(o||{});class c extends i[_0x1b1722(0x1f3)]{async[_0x1b1722(0x1dc)](_0x447ba2){const _0xba5f5a=_0x1b1722;return this[_0xba5f5a(0x1fb)](_0x447ba2);}async['importXLSXToUnitIdAsync'](_0x491d76){const _0x5461d9=_0x1b1722,_0x34fd19=this[_0x5461d9(0x1e5)]['get'](r[_0x5461d9(0x1e2)]);if(!_0x34fd19)throw new Error(_0x5461d9(0x1fc));return _0x34fd19[_0x5461d9(0x1ea)](_0x491d76,o[_0x5461d9(0x1ec)]);}async[_0x1b1722(0x1fd)](_0x2afe56){const _0x4c6c78=_0x1b1722;return this[_0x4c6c78(0x1e9)](_0x2afe56);}async[_0x1b1722(0x1e9)](_0x253227){const _0x2268d8=_0x1b1722,_0x2f7577=this[_0x2268d8(0x1e5)][_0x2268d8(0x1f9)](r[_0x2268d8(0x1e2)]);if(!_0x2f7577)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f7577[_0x2268d8(0x1fd)](_0x253227);}async[_0x1b1722(0x1f6)](_0x558f95){const _0x398221=_0x1b1722;return this[_0x398221(0x1dd)](_0x558f95);}async[_0x1b1722(0x1dd)](_0x37c88d){const _0x494614=_0x1b1722,_0x7a58f7=this[_0x494614(0x1e5)][_0x494614(0x1f9)](r[_0x494614(0x1e2)]);if(!_0x7a58f7)throw new Error(_0x494614(0x1fc));return _0x7a58f7[_0x494614(0x1f6)](_0x37c88d);}async[_0x1b1722(0x1e4)](_0x2b9176){const _0x5b6514=_0x1b1722;return this[_0x5b6514(0x1f4)](_0x2b9176);}async[_0x1b1722(0x1f4)](_0x4e3d92){const _0x19381a=_0x1b1722,_0x2cc0da=this[_0x19381a(0x1e5)][_0x19381a(0x1f9)](r['IExchangeService']);if(!_0x2cc0da)throw new Error(_0x19381a(0x1fc));return _0x2cc0da[_0x19381a(0x1e4)](_0x4e3d92);}async[_0x1b1722(0x1f7)](_0x4fef24){const _0x265507=_0x1b1722;return this[_0x265507(0x1f5)](_0x4fef24);}async[_0x1b1722(0x1f5)](_0x278471){const _0x4e9d35=_0x1b1722,_0x2f0a37=this['_injector'][_0x4e9d35(0x1f9)](r[_0x4e9d35(0x1e2)]);if(!_0x2f0a37)throw new Error(_0x4e9d35(0x1fc));return _0x2f0a37[_0x4e9d35(0x1ea)](_0x278471,o[_0x4e9d35(0x1f0)]);}async['importDOCXToSnapshot'](_0x5bc7de){const _0x468fa5=_0x1b1722;return this[_0x468fa5(0x1df)](_0x5bc7de);}async[_0x1b1722(0x1df)](_0x2c2676){const _0x4432da=_0x1b1722,_0x53210e=this[_0x4432da(0x1e5)][_0x4432da(0x1f9)](r[_0x4432da(0x1e2)]);if(!_0x53210e)throw new Error(_0x4432da(0x1fc));return _0x53210e[_0x4432da(0x1ed)](_0x2c2676);}}i[_0x1b1722(0x1f3)]['extend'](c);