@univerjs-pro/exchange-client 0.6.3-nightly.202503051607 → 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 _0x2d4b(_0x582909,_0xfbaa16){const _0x5319a6=_0x5319();return _0x2d4b=function(_0x2d4bf3,_0x136e25){_0x2d4bf3=_0x2d4bf3-0x1d1;let _0x7750e2=_0x5319a6[_0x2d4bf3];return _0x7750e2;},_0x2d4b(_0x582909,_0xfbaa16);}const _0x1d3513=_0x2d4b;(function(_0x2f075c,_0x246520){const _0x248365=_0x2d4b,_0x1fd7db=_0x2f075c();while(!![]){try{const _0x5d1413=parseInt(_0x248365(0x1ef))/0x1+-parseInt(_0x248365(0x1d1))/0x2+parseInt(_0x248365(0x1ed))/0x3+parseInt(_0x248365(0x1d3))/0x4+parseInt(_0x248365(0x1d9))/0x5+parseInt(_0x248365(0x1de))/0x6+-parseInt(_0x248365(0x1df))/0x7*(parseInt(_0x248365(0x1e0))/0x8);if(_0x5d1413===_0x246520)break;else _0x1fd7db['push'](_0x1fd7db['shift']());}catch(_0x498fff){_0x1fd7db['push'](_0x1fd7db['shift']());}}}(_0x5319,0x20759));function _0x5319(){const _0x86f4b7=['The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','UNIVER_DOC','importFileToUnitId','510055kZTcdR','importXLSXToSnapshot','_injector','get','exportXLSXBySnapshot','1458702HhikUB','15862dccNXk','1048GtHXeR','@univerjs/core/facade','UNIVER_PROJECT','UNIVER_UNKNOWN','FUniver','importXLSXToUnitId','UNIVER_SHEET','IExchangeService','@univerjs-pro/exchange-client','extend','importDOCXToSnapshotAsync','UNRECOGNIZED','UNIVER_SLIDE','472842ucZrQO','importDOCXToUnitIdAsync','62232GOLLga','323216hVrMRI','importDOCXToSnapshot','105732AiuCbe','importXLSXToSnapshotAsync'];_0x5319=function(){return _0x86f4b7;};return _0x5319();}const r=require(_0x1d3513(0x1e8)),i=require(_0x1d3513(0x1e1));var o=(_0x3f9a67=>(_0x3f9a67[_0x3f9a67[_0x1d3513(0x1e3)]=0x0]=_0x1d3513(0x1e3),_0x3f9a67[_0x3f9a67[_0x1d3513(0x1d7)]=0x1]=_0x1d3513(0x1d7),_0x3f9a67[_0x3f9a67[_0x1d3513(0x1e6)]=0x2]=_0x1d3513(0x1e6),_0x3f9a67[_0x3f9a67[_0x1d3513(0x1ec)]=0x3]='UNIVER_SLIDE',_0x3f9a67[_0x3f9a67[_0x1d3513(0x1e2)]=0x4]=_0x1d3513(0x1e2),_0x3f9a67[_0x3f9a67[_0x1d3513(0x1eb)]=-0x1]=_0x1d3513(0x1eb),_0x3f9a67))(o||{});class c extends i[_0x1d3513(0x1e4)]{async[_0x1d3513(0x1e5)](_0x4a1874){const _0x3ce58a=_0x1d3513;return this[_0x3ce58a(0x1d6)](_0x4a1874);}async[_0x1d3513(0x1d6)](_0x27f641){const _0x329c97=_0x1d3513,_0x27b192=this[_0x329c97(0x1db)][_0x329c97(0x1dc)](r[_0x329c97(0x1e7)]);if(!_0x27b192)throw new Error(_0x329c97(0x1d5));return _0x27b192[_0x329c97(0x1d8)](_0x27f641,o[_0x329c97(0x1e6)]);}async[_0x1d3513(0x1da)](_0x3afa7f){const _0x354639=_0x1d3513;return this[_0x354639(0x1d4)](_0x3afa7f);}async[_0x1d3513(0x1d4)](_0x560391){const _0x5f2177=_0x1d3513,_0x3584f9=this[_0x5f2177(0x1db)][_0x5f2177(0x1dc)](r[_0x5f2177(0x1e7)]);if(!_0x3584f9)throw new Error(_0x5f2177(0x1d5));return _0x3584f9[_0x5f2177(0x1da)](_0x560391);}async['exportXLSXByUnitId'](_0x1a03f5){return this['exportXLSXByUnitIdAsync'](_0x1a03f5);}async['exportXLSXByUnitIdAsync'](_0x5395a2){const _0x52ea2b=_0x1d3513,_0x2d9b3a=this['_injector']['get'](r[_0x52ea2b(0x1e7)]);if(!_0x2d9b3a)throw new Error(_0x52ea2b(0x1d5));return _0x2d9b3a['exportXLSXByUnitId'](_0x5395a2);}async[_0x1d3513(0x1dd)](_0x380c11){return this['exportXLSXBySnapshotAsync'](_0x380c11);}async['exportXLSXBySnapshotAsync'](_0x5c7081){const _0x4517d4=_0x1d3513,_0x36647c=this['_injector'][_0x4517d4(0x1dc)](r[_0x4517d4(0x1e7)]);if(!_0x36647c)throw new Error(_0x4517d4(0x1d5));return _0x36647c[_0x4517d4(0x1dd)](_0x5c7081);}async['importDOCXToUnitId'](_0x7f1887){return this['importDOCXToUnitIdAsync'](_0x7f1887);}async[_0x1d3513(0x1ee)](_0x3acd24){const _0x531083=_0x1d3513,_0x43c0d1=this['_injector']['get'](r[_0x531083(0x1e7)]);if(!_0x43c0d1)throw new Error(_0x531083(0x1d5));return _0x43c0d1['importFileToUnitId'](_0x3acd24,o[_0x531083(0x1d7)]);}async[_0x1d3513(0x1d2)](_0x3ebb3d){const _0x185072=_0x1d3513;return this[_0x185072(0x1ea)](_0x3ebb3d);}async['importDOCXToSnapshotAsync'](_0x3094d7){const _0x486256=_0x1d3513,_0x5295bf=this['_injector'][_0x486256(0x1dc)](r[_0x486256(0x1e7)]);if(!_0x5295bf)throw new Error(_0x486256(0x1d5));return _0x5295bf[_0x486256(0x1d2)](_0x3094d7);}}i[_0x1d3513(0x1e4)][_0x1d3513(0x1e9)](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);