@univerjs-pro/exchange-client 0.6.3-nightly.202503041606 → 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 _0x4a5313=_0x3b05;(function(_0x59a71d,_0x10bf37){const _0x1be38d=_0x3b05,_0x423221=_0x59a71d();while(!![]){try{const _0x3e4ad4=-parseInt(_0x1be38d(0x1b5))/0x1+-parseInt(_0x1be38d(0x1ae))/0x2*(parseInt(_0x1be38d(0x1a9))/0x3)+parseInt(_0x1be38d(0x1b8))/0x4+parseInt(_0x1be38d(0x1af))/0x5+-parseInt(_0x1be38d(0x1be))/0x6*(parseInt(_0x1be38d(0x1b1))/0x7)+parseInt(_0x1be38d(0x1bd))/0x8+-parseInt(_0x1be38d(0x1bf))/0x9*(parseInt(_0x1be38d(0x1a5))/0xa);if(_0x3e4ad4===_0x10bf37)break;else _0x423221['push'](_0x423221['shift']());}catch(_0x389db0){_0x423221['push'](_0x423221['shift']());}}}(_0x3c1f,0xc5583));const r=require(_0x4a5313(0x1b7)),i=require(_0x4a5313(0x1aa));var o=(_0x435a13=>(_0x435a13[_0x435a13['UNIVER_UNKNOWN']=0x0]=_0x4a5313(0x1b4),_0x435a13[_0x435a13[_0x4a5313(0x1ad)]=0x1]='UNIVER_DOC',_0x435a13[_0x435a13[_0x4a5313(0x1a0)]=0x2]='UNIVER_SHEET',_0x435a13[_0x435a13[_0x4a5313(0x1a4)]=0x3]=_0x4a5313(0x1a4),_0x435a13[_0x435a13[_0x4a5313(0x1ab)]=0x4]='UNIVER_PROJECT',_0x435a13[_0x435a13[_0x4a5313(0x1b0)]=-0x1]=_0x4a5313(0x1b0),_0x435a13))(o||{});function _0x3c1f(){const _0x49abb7=['2650jwoCwr','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','get','471423ADthBB','@univerjs/core/facade','UNIVER_PROJECT','importXLSXToUnitId','UNIVER_DOC','16RryTud','2919435MFglOi','UNRECOGNIZED','3002349zeETrz','exportXLSXBySnapshotAsync','extend','UNIVER_UNKNOWN','376444kSmebv','FUniver','@univerjs-pro/exchange-client','5438620RnblDT','_injector','importDOCXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','9807320TYnyyJ','6NTpsoW','10143fZVmUY','importXLSXToSnapshot','exportXLSXBySnapshot','importFileToUnitId','importDOCXToUnitId','IExchangeService','UNIVER_SHEET','exportXLSXByUnitIdAsync','importXLSXToSnapshotAsync','importDOCXToSnapshot','UNIVER_SLIDE'];_0x3c1f=function(){return _0x49abb7;};return _0x3c1f();}class c extends i['FUniver']{async[_0x4a5313(0x1ac)](_0x461b7c){const _0x22a6f5=_0x4a5313;return this[_0x22a6f5(0x1a6)](_0x461b7c);}async[_0x4a5313(0x1a6)](_0x5ca974){const _0x21d59f=_0x4a5313,_0x388384=this[_0x21d59f(0x1b9)][_0x21d59f(0x1a8)](r[_0x21d59f(0x19f)]);if(!_0x388384)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x388384[_0x21d59f(0x1c2)](_0x5ca974,o[_0x21d59f(0x1a0)]);}async[_0x4a5313(0x1c0)](_0x34b367){const _0x3e3a59=_0x4a5313;return this[_0x3e3a59(0x1a2)](_0x34b367);}async['importXLSXToSnapshotAsync'](_0x14b149){const _0x3a9a42=_0x4a5313,_0x5018f2=this[_0x3a9a42(0x1b9)][_0x3a9a42(0x1a8)](r[_0x3a9a42(0x19f)]);if(!_0x5018f2)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5018f2[_0x3a9a42(0x1c0)](_0x14b149);}async['exportXLSXByUnitId'](_0x57572f){return this['exportXLSXByUnitIdAsync'](_0x57572f);}async[_0x4a5313(0x1a1)](_0x2e46b5){const _0x238486=_0x4a5313,_0x38e02f=this[_0x238486(0x1b9)][_0x238486(0x1a8)](r['IExchangeService']);if(!_0x38e02f)throw new Error(_0x238486(0x1bb));return _0x38e02f[_0x238486(0x1bc)](_0x2e46b5);}async[_0x4a5313(0x1c1)](_0x5993f6){const _0xc57b59=_0x4a5313;return this[_0xc57b59(0x1b2)](_0x5993f6);}async[_0x4a5313(0x1b2)](_0xaecba0){const _0x5aeb6b=_0x4a5313,_0x382133=this[_0x5aeb6b(0x1b9)][_0x5aeb6b(0x1a8)](r['IExchangeService']);if(!_0x382133)throw new Error(_0x5aeb6b(0x1bb));return _0x382133[_0x5aeb6b(0x1c1)](_0xaecba0);}async[_0x4a5313(0x19e)](_0x368c1c){const _0x810640=_0x4a5313;return this[_0x810640(0x1ba)](_0x368c1c);}async[_0x4a5313(0x1ba)](_0x2e6ded){const _0x25e1f0=_0x4a5313,_0x245b87=this[_0x25e1f0(0x1b9)]['get'](r[_0x25e1f0(0x19f)]);if(!_0x245b87)throw new Error(_0x25e1f0(0x1bb));return _0x245b87[_0x25e1f0(0x1c2)](_0x2e6ded,o[_0x25e1f0(0x1ad)]);}async[_0x4a5313(0x1a3)](_0x1ad38e){const _0x30c590=_0x4a5313;return this[_0x30c590(0x1a7)](_0x1ad38e);}async['importDOCXToSnapshotAsync'](_0x513860){const _0x17648b=_0x4a5313,_0x558d0f=this['_injector'][_0x17648b(0x1a8)](r[_0x17648b(0x19f)]);if(!_0x558d0f)throw new Error(_0x17648b(0x1bb));return _0x558d0f[_0x17648b(0x1a3)](_0x513860);}}function _0x3b05(_0x5dcdff,_0x973fb4){const _0x3c1fc1=_0x3c1f();return _0x3b05=function(_0x3b05b3,_0x22c947){_0x3b05b3=_0x3b05b3-0x19e;let _0x4f36ca=_0x3c1fc1[_0x3b05b3];return _0x4f36ca;},_0x3b05(_0x5dcdff,_0x973fb4);}i[_0x4a5313(0x1b6)][_0x4a5313(0x1b3)](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);