@univerjs-pro/exchange-client 0.6.9-nightly.202504061606 → 0.6.9-nightly.202504081607

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 _0x4990(){const _0x6bdcf8=['extend','UNIVER_PROJECT','importXLSXToSnapshotAsync','UNIVER_SLIDE','690848kqRCTA','get','exportXLSXByUnitId','56wCDdhh','6OrOSgh','importDOCXToSnapshot','IExchangeService','importXLSXToUnitIdAsync','importXLSXToSnapshot','_injector','29678634MrAUcR','1025418qMLyhr','FUniver','@univerjs/core/facade','797955kaPoef','exportXLSXBySnapshot','UNRECOGNIZED','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','UNIVER_DOC','1551020bmfKJB','UNIVER_SHEET','1542990OjYqem','2154088sfwEbK','importFileToUnitId'];_0x4990=function(){return _0x6bdcf8;};return _0x4990();}const _0x11c763=_0x4525;(function(_0x537aac,_0xee8b7c){const _0x20a412=_0x4525,_0x525493=_0x537aac();while(!![]){try{const _0x62f21f=-parseInt(_0x20a412(0x128))/0x1+-parseInt(_0x20a412(0x13a))/0x2*(parseInt(_0x20a412(0x13e))/0x3)+parseInt(_0x20a412(0x131))/0x4+parseInt(_0x20a412(0x133))/0x5+parseInt(_0x20a412(0x125))/0x6*(-parseInt(_0x20a412(0x13d))/0x7)+-parseInt(_0x20a412(0x134))/0x8+parseInt(_0x20a412(0x124))/0x9;if(_0x62f21f===_0xee8b7c)break;else _0x525493['push'](_0x525493['shift']());}catch(_0x5600a4){_0x525493['push'](_0x525493['shift']());}}}(_0x4990,0xd4153));const r=require('@univerjs-pro/exchange-client'),i=require(_0x11c763(0x127));var o=(_0x350189=>(_0x350189[_0x350189[_0x11c763(0x12e)]=0x0]=_0x11c763(0x12e),_0x350189[_0x350189[_0x11c763(0x130)]=0x1]='UNIVER_DOC',_0x350189[_0x350189['UNIVER_SHEET']=0x2]=_0x11c763(0x132),_0x350189[_0x350189[_0x11c763(0x139)]=0x3]=_0x11c763(0x139),_0x350189[_0x350189[_0x11c763(0x137)]=0x4]=_0x11c763(0x137),_0x350189[_0x350189[_0x11c763(0x12a)]=-0x1]='UNRECOGNIZED',_0x350189))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x2384f6){const _0x566b21=_0x11c763;return this[_0x566b21(0x141)](_0x2384f6);}async[_0x11c763(0x141)](_0x542a93){const _0x488101=_0x11c763,_0x48b6ea=this[_0x488101(0x123)][_0x488101(0x13b)](r[_0x488101(0x140)]);if(!_0x48b6ea)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x48b6ea[_0x488101(0x135)](_0x542a93,o[_0x488101(0x132)]);}async[_0x11c763(0x122)](_0x27d8d7){return this['importXLSXToSnapshotAsync'](_0x27d8d7);}async[_0x11c763(0x138)](_0x366e47){const _0x1a66f6=_0x11c763,_0x4b5174=this[_0x1a66f6(0x123)][_0x1a66f6(0x13b)](r['IExchangeService']);if(!_0x4b5174)throw new Error(_0x1a66f6(0x12b));return _0x4b5174[_0x1a66f6(0x122)](_0x366e47);}async[_0x11c763(0x13c)](_0x20126f){return this['exportXLSXByUnitIdAsync'](_0x20126f);}async['exportXLSXByUnitIdAsync'](_0x4ebdb9){const _0x6bd822=_0x11c763,_0x18286f=this[_0x6bd822(0x123)][_0x6bd822(0x13b)](r['IExchangeService']);if(!_0x18286f)throw new Error(_0x6bd822(0x12b));return _0x18286f[_0x6bd822(0x13c)](_0x4ebdb9);}async['exportXLSXBySnapshot'](_0x25d3c7){const _0x5ad763=_0x11c763;return this[_0x5ad763(0x12f)](_0x25d3c7);}async[_0x11c763(0x12f)](_0x36fa68){const _0x1a9c90=_0x11c763,_0x457c23=this[_0x1a9c90(0x123)][_0x1a9c90(0x13b)](r[_0x1a9c90(0x140)]);if(!_0x457c23)throw new Error(_0x1a9c90(0x12b));return _0x457c23[_0x1a9c90(0x129)](_0x36fa68);}async['importDOCXToUnitId'](_0x4261ef){const _0x19c309=_0x11c763;return this[_0x19c309(0x12d)](_0x4261ef);}async[_0x11c763(0x12d)](_0x176eb4){const _0x2159a4=_0x11c763,_0xac7433=this['_injector'][_0x2159a4(0x13b)](r[_0x2159a4(0x140)]);if(!_0xac7433)throw new Error(_0x2159a4(0x12b));return _0xac7433[_0x2159a4(0x135)](_0x176eb4,o[_0x2159a4(0x130)]);}async[_0x11c763(0x13f)](_0x4f7493){const _0x514bc6=_0x11c763;return this[_0x514bc6(0x12c)](_0x4f7493);}async[_0x11c763(0x12c)](_0x438c5b){const _0x5d8a47=_0x11c763,_0x55e856=this[_0x5d8a47(0x123)][_0x5d8a47(0x13b)](r[_0x5d8a47(0x140)]);if(!_0x55e856)throw new Error(_0x5d8a47(0x12b));return _0x55e856[_0x5d8a47(0x13f)](_0x438c5b);}}function _0x4525(_0x33c9ca,_0x20721e){const _0x499003=_0x4990();return _0x4525=function(_0x45255e,_0x4140bb){_0x45255e=_0x45255e-0x122;let _0x387a13=_0x499003[_0x45255e];return _0x387a13;},_0x4525(_0x33c9ca,_0x20721e);}i[_0x11c763(0x126)][_0x11c763(0x136)](c);
1
+ 'use strict';const _0x502ccf=_0x5b88;(function(_0x81d488,_0x262d03){const _0x2c65a7=_0x5b88,_0x249c2b=_0x81d488();while(!![]){try{const _0x5ea3d4=parseInt(_0x2c65a7(0xe8))/0x1+-parseInt(_0x2c65a7(0xfc))/0x2+-parseInt(_0x2c65a7(0x100))/0x3+parseInt(_0x2c65a7(0xff))/0x4+parseInt(_0x2c65a7(0xe3))/0x5+-parseInt(_0x2c65a7(0xf0))/0x6*(-parseInt(_0x2c65a7(0xea))/0x7)+parseInt(_0x2c65a7(0xf4))/0x8;if(_0x5ea3d4===_0x262d03)break;else _0x249c2b['push'](_0x249c2b['shift']());}catch(_0xe69154){_0x249c2b['push'](_0x249c2b['shift']());}}}(_0xebfb,0x5dfda));const r=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core/facade');function _0xebfb(){const _0x573341=['2281455jepQTj','exportXLSXByUnitIdAsync','620515RSboCa','importXLSXToSnapshot','exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToUnitIdAsync','618835mYjLwU','UNIVER_PROJECT','2883181KMMVLh','UNRECOGNIZED','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshotAsync','FUniver','6BFIAAY','importDOCXToSnapshot','UNIVER_SLIDE','importDOCXToUnitId','506624mKOlSL','IExchangeService','UNIVER_SHEET','importDOCXToUnitIdAsync','UNIVER_DOC','exportXLSXBySnapshot','extend','get','988696WUtkTj','_injector','importDOCXToSnapshotAsync','1686680Yqrtlf'];_0xebfb=function(){return _0x573341;};return _0xebfb();}function _0x5b88(_0x470637,_0x405710){const _0xebfbac=_0xebfb();return _0x5b88=function(_0x5b88f7,_0x53198d){_0x5b88f7=_0x5b88f7-0xe2;let _0x5c3ed0=_0xebfbac[_0x5b88f7];return _0x5c3ed0;},_0x5b88(_0x470637,_0x405710);}var o=(_0x14bf7e=>(_0x14bf7e[_0x14bf7e[_0x502ccf(0xe6)]=0x0]=_0x502ccf(0xe6),_0x14bf7e[_0x14bf7e[_0x502ccf(0xf8)]=0x1]=_0x502ccf(0xf8),_0x14bf7e[_0x14bf7e[_0x502ccf(0xf6)]=0x2]=_0x502ccf(0xf6),_0x14bf7e[_0x14bf7e[_0x502ccf(0xf2)]=0x3]='UNIVER_SLIDE',_0x14bf7e[_0x14bf7e[_0x502ccf(0xe9)]=0x4]='UNIVER_PROJECT',_0x14bf7e[_0x14bf7e[_0x502ccf(0xeb)]=-0x1]='UNRECOGNIZED',_0x14bf7e))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x27d810){const _0x317463=_0x502ccf;return this[_0x317463(0xe7)](_0x27d810);}async[_0x502ccf(0xe7)](_0x347f58){const _0x5c01d0=_0x502ccf,_0x562b6c=this[_0x5c01d0(0xfd)][_0x5c01d0(0xfb)](r['IExchangeService']);if(!_0x562b6c)throw new Error(_0x5c01d0(0xed));return _0x562b6c['importFileToUnitId'](_0x347f58,o['UNIVER_SHEET']);}async[_0x502ccf(0xe4)](_0x43ca9b){const _0x1b1767=_0x502ccf;return this[_0x1b1767(0xee)](_0x43ca9b);}async[_0x502ccf(0xee)](_0x183d04){const _0x589f0d=_0x502ccf,_0x13198a=this['_injector'][_0x589f0d(0xfb)](r[_0x589f0d(0xf5)]);if(!_0x13198a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x13198a['importXLSXToSnapshot'](_0x183d04);}async['exportXLSXByUnitId'](_0x42eac){const _0x3aac3f=_0x502ccf;return this[_0x3aac3f(0xe2)](_0x42eac);}async[_0x502ccf(0xe2)](_0x323f02){const _0xd7bcef=_0x502ccf,_0x4cd8d5=this[_0xd7bcef(0xfd)][_0xd7bcef(0xfb)](r[_0xd7bcef(0xf5)]);if(!_0x4cd8d5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4cd8d5[_0xd7bcef(0xe5)](_0x323f02);}async[_0x502ccf(0xf9)](_0x2a652e){return this['exportXLSXBySnapshotAsync'](_0x2a652e);}async[_0x502ccf(0xec)](_0x24650b){const _0x3b319a=_0x502ccf,_0x2ef864=this[_0x3b319a(0xfd)]['get'](r[_0x3b319a(0xf5)]);if(!_0x2ef864)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2ef864[_0x3b319a(0xf9)](_0x24650b);}async[_0x502ccf(0xf3)](_0x308491){const _0x1bb80a=_0x502ccf;return this[_0x1bb80a(0xf7)](_0x308491);}async[_0x502ccf(0xf7)](_0x3bf983){const _0x47a42a=_0x502ccf,_0xd577ad=this[_0x47a42a(0xfd)][_0x47a42a(0xfb)](r['IExchangeService']);if(!_0xd577ad)throw new Error(_0x47a42a(0xed));return _0xd577ad['importFileToUnitId'](_0x3bf983,o[_0x47a42a(0xf8)]);}async[_0x502ccf(0xf1)](_0x1f3006){const _0x4c29cd=_0x502ccf;return this[_0x4c29cd(0xfe)](_0x1f3006);}async[_0x502ccf(0xfe)](_0x572cfb){const _0x44faae=_0x502ccf,_0x5f0c99=this[_0x44faae(0xfd)][_0x44faae(0xfb)](r['IExchangeService']);if(!_0x5f0c99)throw new Error(_0x44faae(0xed));return _0x5f0c99[_0x44faae(0xf1)](_0x572cfb);}}i[_0x502ccf(0xef)][_0x502ccf(0xfa)](c);