@univerjs-pro/exchange-client 0.8.2-nightly.202506251607 → 0.8.2-nightly.202506261607

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 _0x513db9=_0xfb38;(function(_0x9fdf90,_0x3b4c44){const _0x357499=_0xfb38,_0x43e263=_0x9fdf90();while(!![]){try{const _0x14c10e=parseInt(_0x357499(0xff))/0x1*(parseInt(_0x357499(0xf6))/0x2)+parseInt(_0x357499(0xfb))/0x3+parseInt(_0x357499(0xfc))/0x4+-parseInt(_0x357499(0x101))/0x5*(parseInt(_0x357499(0xef))/0x6)+parseInt(_0x357499(0xe9))/0x7*(parseInt(_0x357499(0xe0))/0x8)+parseInt(_0x357499(0x100))/0x9*(parseInt(_0x357499(0xf1))/0xa)+parseInt(_0x357499(0xed))/0xb*(-parseInt(_0x357499(0xf3))/0xc);if(_0x14c10e===_0x3b4c44)break;else _0x43e263['push'](_0x43e263['shift']());}catch(_0x46d320){_0x43e263['push'](_0x43e263['shift']());}}}(_0x230b,0x9ec74));function _0x230b(){const _0x2169de=['importXLSXToSnapshotAsync','exportXLSXByUnitId','733138xWBHGb','45zsTDCb','154230aeNuKe','UNIVER_UNKNOWN','_injector','exportXLSXBySnapshotAsync','UNIVER_SLIDE','UNIVER_SHEET','UNRECOGNIZED','@univerjs/core/facade','259360MiiGGh','extend','importDOCXToSnapshotAsync','importDOCXToSnapshot','importXLSXToUnitIdAsync','get','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','exportDOCXBySnapshot','14cgMUOJ','exportDOCXByUnitId','FUniver','IExchangeService','11zMXpUK','importXLSXToSnapshot','84SNDFhO','exportXLSXBySnapshot','1928340IaFeVx','importXLSXToUnitId','15273636IXySmn','exportXLSXByUnitIdAsync','exportDOCXBySnapshotAsync','2npBvqY','UNIVER_DOC','UNIVER_PROJECT','exportDOCXByUnitIdAsync','importFileToUnitId','528015xDbLBU','1667400jiVGWM'];_0x230b=function(){return _0x2169de;};return _0x230b();}function _0xfb38(_0x662e72,_0x29c467){const _0x230b83=_0x230b();return _0xfb38=function(_0xfb385,_0x1016d7){_0xfb385=_0xfb385-0xde;let _0x6dc3da=_0x230b83[_0xfb385];return _0x6dc3da;},_0xfb38(_0x662e72,_0x29c467);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x513db9(0xdf));var i=(_0x2d4256=>(_0x2d4256[_0x2d4256[_0x513db9(0x102)]=0x0]='UNIVER_UNKNOWN',_0x2d4256[_0x2d4256['UNIVER_DOC']=0x1]=_0x513db9(0xf7),_0x2d4256[_0x2d4256[_0x513db9(0x106)]=0x2]=_0x513db9(0x106),_0x2d4256[_0x2d4256[_0x513db9(0x105)]=0x3]=_0x513db9(0x105),_0x2d4256[_0x2d4256[_0x513db9(0xf8)]=0x4]=_0x513db9(0xf8),_0x2d4256[_0x2d4256['UNRECOGNIZED']=-0x1]=_0x513db9(0xde),_0x2d4256))(i||{});class c extends o[_0x513db9(0xeb)]{async[_0x513db9(0xf2)](_0x442378){const _0x4d6e8f=_0x513db9;return this[_0x4d6e8f(0xe4)](_0x442378);}async['importXLSXToUnitIdAsync'](_0x81c7a1){const _0x257956=_0x513db9,_0x5e7188=this['_injector']['get'](r[_0x257956(0xec)]);if(!_0x5e7188)throw new Error(_0x257956(0xe6));return _0x5e7188[_0x257956(0xfa)](_0x81c7a1,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x242fb1){const _0x46ba83=_0x513db9;return this[_0x46ba83(0xfd)](_0x242fb1);}async[_0x513db9(0xfd)](_0x1fb6b3){const _0x376238=_0x513db9,_0x1b3799=this[_0x376238(0x103)][_0x376238(0xe5)](r[_0x376238(0xec)]);if(!_0x1b3799)throw new Error(_0x376238(0xe6));return _0x1b3799[_0x376238(0xee)](_0x1fb6b3);}async[_0x513db9(0xfe)](_0x2a9876){const _0x10e8d6=_0x513db9;return this[_0x10e8d6(0xf4)](_0x2a9876);}async['exportXLSXByUnitIdAsync'](_0x5b39e1){const _0x4ff598=_0x513db9,_0x25661d=this[_0x4ff598(0x103)]['get'](r[_0x4ff598(0xec)]);if(!_0x25661d)throw new Error(_0x4ff598(0xe6));return _0x25661d['exportXLSXByUnitId'](_0x5b39e1);}async[_0x513db9(0xf0)](_0x100731){const _0x1fd468=_0x513db9;return this[_0x1fd468(0x104)](_0x100731);}async[_0x513db9(0x104)](_0x3803cb){const _0x22307d=_0x513db9,_0xd13ac2=this[_0x22307d(0x103)][_0x22307d(0xe5)](r[_0x22307d(0xec)]);if(!_0xd13ac2)throw new Error(_0x22307d(0xe6));return _0xd13ac2['exportXLSXBySnapshot'](_0x3803cb);}async['importDOCXToUnitId'](_0x478748){const _0xa297b4=_0x513db9;return this[_0xa297b4(0xe7)](_0x478748);}async[_0x513db9(0xe7)](_0x12c337){const _0x3ff24e=_0x513db9,_0x13095c=this['_injector'][_0x3ff24e(0xe5)](r[_0x3ff24e(0xec)]);if(!_0x13095c)throw new Error(_0x3ff24e(0xe6));return _0x13095c[_0x3ff24e(0xfa)](_0x12c337,i['UNIVER_DOC']);}async[_0x513db9(0xe3)](_0x1a9ac4){const _0x36941f=_0x513db9;return this[_0x36941f(0xe2)](_0x1a9ac4);}async[_0x513db9(0xe2)](_0x673d06){const _0x3e0667=_0x513db9,_0xe83639=this[_0x3e0667(0x103)][_0x3e0667(0xe5)](r[_0x3e0667(0xec)]);if(!_0xe83639)throw new Error(_0x3e0667(0xe6));return _0xe83639[_0x3e0667(0xe3)](_0x673d06);}async[_0x513db9(0xf5)](_0x1d723d){const _0x1c5c26=_0x513db9,_0x3a430a=this[_0x1c5c26(0x103)][_0x1c5c26(0xe5)](r['IExchangeService']);if(!_0x3a430a)throw new Error(_0x1c5c26(0xe6));return _0x3a430a[_0x1c5c26(0xe8)](_0x1d723d);}async[_0x513db9(0xf9)](_0x1ef4b3){const _0x1b78c0=_0x513db9,_0x47594e=this[_0x1b78c0(0x103)]['get'](r[_0x1b78c0(0xec)]);if(!_0x47594e)throw new Error(_0x1b78c0(0xe6));return _0x47594e[_0x1b78c0(0xea)](_0x1ef4b3);}}o['FUniver'][_0x513db9(0xe1)](c);
1
+ 'use strict';const _0x1ddacc=_0x4d84;function _0x3b67(){const _0x5934c0=['IExchangeService','UNRECOGNIZED','importFileToUnitId','FUniver','UNIVER_SLIDE','_injector','importXLSXToUnitId','importXLSXToSnapshot','UNIVER_UNKNOWN','335085Ynfhtq','importDOCXToUnitId','exportDOCXByUnitId','1611496pmQXKB','exportXLSXByUnitId','importXLSXToSnapshotAsync','exportXLSXBySnapshot','14lstMxG','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','importDOCXToUnitIdAsync','375Yfljhq','UNIVER_SHEET','29730kSBacY','2083689OIkxNM','3594644dVfekz','@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','33178730aKXOXb','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','4CNzyuO','importDOCXToSnapshot','UNIVER_PROJECT','7252848zBrqWa','get','@univerjs/core/facade','exportXLSXBySnapshotAsync'];_0x3b67=function(){return _0x5934c0;};return _0x3b67();}(function(_0x1ceb47,_0x50ccc3){const _0xe4e87a=_0x4d84,_0x51a366=_0x1ceb47();while(!![]){try{const _0x484a37=parseInt(_0xe4e87a(0x143))/0x1*(parseInt(_0xe4e87a(0x133))/0x2)+parseInt(_0xe4e87a(0x151))/0x3+parseInt(_0xe4e87a(0x152))/0x4+parseInt(_0xe4e87a(0x14e))/0x5*(parseInt(_0xe4e87a(0x150))/0x6)+parseInt(_0xe4e87a(0x14a))/0x7*(parseInt(_0xe4e87a(0x146))/0x8)+parseInt(_0xe4e87a(0x136))/0x9+-parseInt(_0xe4e87a(0x155))/0xa;if(_0x484a37===_0x50ccc3)break;else _0x51a366['push'](_0x51a366['shift']());}catch(_0x2f1212){_0x51a366['push'](_0x51a366['shift']());}}}(_0x3b67,0x80644));const r=require(_0x1ddacc(0x153)),o=require(_0x1ddacc(0x138));var i=(_0x26a18d=>(_0x26a18d[_0x26a18d[_0x1ddacc(0x142)]=0x0]=_0x1ddacc(0x142),_0x26a18d[_0x26a18d[_0x1ddacc(0x14c)]=0x1]=_0x1ddacc(0x14c),_0x26a18d[_0x26a18d['UNIVER_SHEET']=0x2]=_0x1ddacc(0x14f),_0x26a18d[_0x26a18d[_0x1ddacc(0x13e)]=0x3]=_0x1ddacc(0x13e),_0x26a18d[_0x26a18d[_0x1ddacc(0x135)]=0x4]=_0x1ddacc(0x135),_0x26a18d[_0x26a18d[_0x1ddacc(0x13b)]=-0x1]='UNRECOGNIZED',_0x26a18d))(i||{});class c extends o[_0x1ddacc(0x13d)]{async[_0x1ddacc(0x140)](_0x5c1641){const _0x5a4461=_0x1ddacc;return this[_0x5a4461(0x154)](_0x5c1641);}async['importXLSXToUnitIdAsync'](_0x4bd639){const _0xbf84ad=_0x1ddacc,_0x40bf82=this[_0xbf84ad(0x13f)][_0xbf84ad(0x137)](r['IExchangeService']);if(!_0x40bf82)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x40bf82[_0xbf84ad(0x13c)](_0x4bd639,i[_0xbf84ad(0x14f)]);}async[_0x1ddacc(0x141)](_0x2861b3){return this['importXLSXToSnapshotAsync'](_0x2861b3);}async[_0x1ddacc(0x148)](_0x4928ae){const _0x4c15ff=_0x1ddacc,_0x1631c5=this[_0x4c15ff(0x13f)][_0x4c15ff(0x137)](r[_0x4c15ff(0x13a)]);if(!_0x1631c5)throw new Error(_0x4c15ff(0x14b));return _0x1631c5[_0x4c15ff(0x141)](_0x4928ae);}async['exportXLSXByUnitId'](_0x2521e5){return this['exportXLSXByUnitIdAsync'](_0x2521e5);}async['exportXLSXByUnitIdAsync'](_0x3a4466){const _0x244e1b=_0x1ddacc,_0x5eb41b=this[_0x244e1b(0x13f)][_0x244e1b(0x137)](r[_0x244e1b(0x13a)]);if(!_0x5eb41b)throw new Error(_0x244e1b(0x14b));return _0x5eb41b[_0x244e1b(0x147)](_0x3a4466);}async[_0x1ddacc(0x149)](_0x5e4a64){const _0x34c944=_0x1ddacc;return this[_0x34c944(0x139)](_0x5e4a64);}async[_0x1ddacc(0x139)](_0x37bbfb){const _0x421b60=_0x1ddacc,_0x742b8e=this['_injector']['get'](r[_0x421b60(0x13a)]);if(!_0x742b8e)throw new Error(_0x421b60(0x14b));return _0x742b8e[_0x421b60(0x149)](_0x37bbfb);}async[_0x1ddacc(0x144)](_0x101367){const _0x544657=_0x1ddacc;return this[_0x544657(0x14d)](_0x101367);}async[_0x1ddacc(0x14d)](_0x1b1988){const _0x48b003=_0x1ddacc,_0x538d4e=this[_0x48b003(0x13f)][_0x48b003(0x137)](r[_0x48b003(0x13a)]);if(!_0x538d4e)throw new Error(_0x48b003(0x14b));return _0x538d4e['importFileToUnitId'](_0x1b1988,i['UNIVER_DOC']);}async[_0x1ddacc(0x134)](_0x5d468d){const _0x591463=_0x1ddacc;return this[_0x591463(0x157)](_0x5d468d);}async['importDOCXToSnapshotAsync'](_0x5de602){const _0xc99b71=_0x1ddacc,_0xe860af=this[_0xc99b71(0x13f)][_0xc99b71(0x137)](r[_0xc99b71(0x13a)]);if(!_0xe860af)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe860af['importDOCXToSnapshot'](_0x5de602);}async['exportDOCXBySnapshotAsync'](_0x3e4493){const _0x129c5d=_0x1ddacc,_0x10dc1d=this['_injector'][_0x129c5d(0x137)](r['IExchangeService']);if(!_0x10dc1d)throw new Error(_0x129c5d(0x14b));return _0x10dc1d['exportDOCXBySnapshot'](_0x3e4493);}async[_0x1ddacc(0x156)](_0x5eadd6){const _0x245b78=_0x1ddacc,_0x53512c=this[_0x245b78(0x13f)][_0x245b78(0x137)](r['IExchangeService']);if(!_0x53512c)throw new Error(_0x245b78(0x14b));return _0x53512c[_0x245b78(0x145)](_0x5eadd6);}}function _0x4d84(_0x3bd463,_0x5eb6b1){const _0x3b67b1=_0x3b67();return _0x4d84=function(_0x4d842a,_0x4dc87a){_0x4d842a=_0x4d842a-0x133;let _0x5a4709=_0x3b67b1[_0x4d842a];return _0x5a4709;},_0x4d84(_0x3bd463,_0x5eb6b1);}o[_0x1ddacc(0x13d)]['extend'](c);