@univerjs-pro/exchange-client 0.6.2 → 0.6.3-nightly.202503051607

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 _0x474c14=_0x375e;function _0x1ca9(){const _0x33e982=['importDOCXToUnitId','UNIVER_SHEET','16206324RqhWWs','UNIVER_PROJECT','get','UNRECOGNIZED','40150tuPbJB','8358QBhcMA','411874jDYBDk','22OEVAui','UNIVER_UNKNOWN','UNIVER_DOC','UNIVER_SLIDE','exportXLSXByUnitIdAsync','importXLSXToUnitId','7320rxECGG','FUniver','1078210UfXPWo','importDOCXToSnapshot','exportXLSXBySnapshotAsync','exportXLSXBySnapshot','1846287xiLYdI','2CcBSIF','4586430YvbqMi','IExchangeService','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','56SbuYBF','exportXLSXByUnitId','@univerjs/core/facade','importFileToUnitId','_injector','45xcviym'];_0x1ca9=function(){return _0x33e982;};return _0x1ca9();}(function(_0x1a3989,_0x4228cd){const _0x338935=_0x375e,_0x3c942a=_0x1a3989();while(!![]){try{const _0x396637=parseInt(_0x338935(0x1a4))/0x1*(-parseInt(_0x338935(0x1b9))/0x2)+parseInt(_0x338935(0x1a3))/0x3+-parseInt(_0x338935(0x1ab))/0x4*(-parseInt(_0x338935(0x1b7))/0x5)+-parseInt(_0x338935(0x1a5))/0x6+-parseInt(_0x338935(0x1b8))/0x7*(parseInt(_0x338935(0x19d))/0x8)+-parseInt(_0x338935(0x1b0))/0x9*(parseInt(_0x338935(0x19f))/0xa)+parseInt(_0x338935(0x1ba))/0xb*(parseInt(_0x338935(0x1b3))/0xc);if(_0x396637===_0x4228cd)break;else _0x3c942a['push'](_0x3c942a['shift']());}catch(_0x2ab713){_0x3c942a['push'](_0x3c942a['shift']());}}}(_0x1ca9,0x979d1));function _0x375e(_0x52a6a4,_0x408524){const _0x1ca9ae=_0x1ca9();return _0x375e=function(_0x375e13,_0x576873){_0x375e13=_0x375e13-0x19b;let _0x571fd3=_0x1ca9ae[_0x375e13];return _0x571fd3;},_0x375e(_0x52a6a4,_0x408524);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x474c14(0x1ad));var o=(_0x362433=>(_0x362433[_0x362433[_0x474c14(0x1bb)]=0x0]='UNIVER_UNKNOWN',_0x362433[_0x362433[_0x474c14(0x1bc)]=0x1]='UNIVER_DOC',_0x362433[_0x362433[_0x474c14(0x1b2)]=0x2]=_0x474c14(0x1b2),_0x362433[_0x362433[_0x474c14(0x1bd)]=0x3]=_0x474c14(0x1bd),_0x362433[_0x362433[_0x474c14(0x1b4)]=0x4]='UNIVER_PROJECT',_0x362433[_0x362433['UNRECOGNIZED']=-0x1]=_0x474c14(0x1b6),_0x362433))(o||{});class c extends i[_0x474c14(0x19e)]{async[_0x474c14(0x19c)](_0x4c12dc){return this['importXLSXToUnitIdAsync'](_0x4c12dc);}async[_0x474c14(0x1a9)](_0x11b9c1){const _0x1f2f16=_0x474c14,_0x52ebc5=this[_0x1f2f16(0x1af)][_0x1f2f16(0x1b5)](r[_0x1f2f16(0x1a6)]);if(!_0x52ebc5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52ebc5[_0x1f2f16(0x1ae)](_0x11b9c1,o[_0x1f2f16(0x1b2)]);}async['importXLSXToSnapshot'](_0x56de0b){return this['importXLSXToSnapshotAsync'](_0x56de0b);}async['importXLSXToSnapshotAsync'](_0x19f2af){const _0x565831=_0x474c14,_0x4026f1=this['_injector'][_0x565831(0x1b5)](r[_0x565831(0x1a6)]);if(!_0x4026f1)throw new Error(_0x565831(0x1a8));return _0x4026f1['importXLSXToSnapshot'](_0x19f2af);}async[_0x474c14(0x1ac)](_0x11a38f){const _0x1a701f=_0x474c14;return this[_0x1a701f(0x19b)](_0x11a38f);}async[_0x474c14(0x19b)](_0x5e10c7){const _0x55869e=_0x474c14,_0x2a1765=this[_0x55869e(0x1af)][_0x55869e(0x1b5)](r['IExchangeService']);if(!_0x2a1765)throw new Error(_0x55869e(0x1a8));return _0x2a1765[_0x55869e(0x1ac)](_0x5e10c7);}async[_0x474c14(0x1a2)](_0x56c2d5){const _0x15e9c1=_0x474c14;return this[_0x15e9c1(0x1a1)](_0x56c2d5);}async[_0x474c14(0x1a1)](_0x221c00){const _0x481670=_0x474c14,_0x54e267=this[_0x481670(0x1af)][_0x481670(0x1b5)](r[_0x481670(0x1a6)]);if(!_0x54e267)throw new Error(_0x481670(0x1a8));return _0x54e267[_0x481670(0x1a2)](_0x221c00);}async[_0x474c14(0x1b1)](_0x43dfc0){const _0x37bfff=_0x474c14;return this[_0x37bfff(0x1a7)](_0x43dfc0);}async['importDOCXToUnitIdAsync'](_0x4bc733){const _0x30fea3=_0x474c14,_0x2af81a=this['_injector'][_0x30fea3(0x1b5)](r['IExchangeService']);if(!_0x2af81a)throw new Error(_0x30fea3(0x1a8));return _0x2af81a[_0x30fea3(0x1ae)](_0x4bc733,o['UNIVER_DOC']);}async[_0x474c14(0x1a0)](_0x8c5b96){return this['importDOCXToSnapshotAsync'](_0x8c5b96);}async[_0x474c14(0x1aa)](_0x345837){const _0x449f06=_0x474c14,_0x41bf5c=this[_0x449f06(0x1af)][_0x449f06(0x1b5)](r[_0x449f06(0x1a6)]);if(!_0x41bf5c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x41bf5c['importDOCXToSnapshot'](_0x345837);}}i[_0x474c14(0x19e)]['extend'](c);
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);