@univerjs-pro/exchange-client 0.6.0-nightly.202502031606 → 0.6.0-nightly.202502051606

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 _0x306055=_0x53a6;function _0x53a6(_0x2305ae,_0x39bb00){const _0x1c736c=_0x1c73();return _0x53a6=function(_0x53a680,_0x5ebc6a){_0x53a680=_0x53a680-0xf1;let _0x20b0a5=_0x1c736c[_0x53a680];return _0x20b0a5;},_0x53a6(_0x2305ae,_0x39bb00);}(function(_0x19ff37,_0x4539fa){const _0x1a8b34=_0x53a6,_0x469b52=_0x19ff37();while(!![]){try{const _0x30ed7c=parseInt(_0x1a8b34(0xf8))/0x1+-parseInt(_0x1a8b34(0x10f))/0x2+parseInt(_0x1a8b34(0x107))/0x3+parseInt(_0x1a8b34(0xfa))/0x4*(parseInt(_0x1a8b34(0xfe))/0x5)+parseInt(_0x1a8b34(0xf2))/0x6+-parseInt(_0x1a8b34(0x109))/0x7+parseInt(_0x1a8b34(0x105))/0x8*(-parseInt(_0x1a8b34(0x100))/0x9);if(_0x30ed7c===_0x4539fa)break;else _0x469b52['push'](_0x469b52['shift']());}catch(_0x22bb8a){_0x469b52['push'](_0x469b52['shift']());}}}(_0x1c73,0xd9b07));const r=require(_0x306055(0x10e)),i=require('@univerjs/core');var o=(_0x4d12be=>(_0x4d12be[_0x4d12be[_0x306055(0xf5)]=0x0]='UNIVER_UNKNOWN',_0x4d12be[_0x4d12be[_0x306055(0x110)]=0x1]=_0x306055(0x110),_0x4d12be[_0x4d12be[_0x306055(0xf1)]=0x2]='UNIVER_SHEET',_0x4d12be[_0x4d12be[_0x306055(0x108)]=0x3]=_0x306055(0x108),_0x4d12be[_0x4d12be[_0x306055(0x104)]=0x4]=_0x306055(0x104),_0x4d12be[_0x4d12be['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4d12be))(o||{});class c extends i[_0x306055(0x102)]{async[_0x306055(0xff)](_0x3fec75){const _0x45e569=_0x306055;return this[_0x45e569(0x10b)](_0x3fec75);}async[_0x306055(0x10b)](_0x17fa13){const _0x50bab2=_0x306055,_0x39e8d0=this[_0x50bab2(0xf4)][_0x50bab2(0xf7)](r[_0x50bab2(0x101)]);if(!_0x39e8d0)throw new Error(_0x50bab2(0x111));return _0x39e8d0['importFileToUnitId'](_0x17fa13,o[_0x50bab2(0xf1)]);}async[_0x306055(0xfc)](_0x14245d){const _0x4d3386=_0x306055;return this[_0x4d3386(0x10a)](_0x14245d);}async['importXLSXToSnapshotAsync'](_0x4c3d8c){const _0x1a81bb=_0x306055,_0x594d19=this[_0x1a81bb(0xf4)]['get'](r['IExchangeService']);if(!_0x594d19)throw new Error(_0x1a81bb(0x111));return _0x594d19[_0x1a81bb(0xfc)](_0x4c3d8c);}async[_0x306055(0xf9)](_0x1bf611){const _0x5377a8=_0x306055;return this[_0x5377a8(0xf3)](_0x1bf611);}async[_0x306055(0xf3)](_0x495538){const _0x2fe25a=_0x306055,_0x29f715=this[_0x2fe25a(0xf4)][_0x2fe25a(0xf7)](r[_0x2fe25a(0x101)]);if(!_0x29f715)throw new Error(_0x2fe25a(0x111));return _0x29f715['exportXLSXByUnitId'](_0x495538);}async[_0x306055(0x10c)](_0x51cfd0){const _0x476a56=_0x306055;return this[_0x476a56(0xf6)](_0x51cfd0);}async[_0x306055(0xf6)](_0x23ed19){const _0x4d1380=_0x306055,_0x42fe59=this[_0x4d1380(0xf4)][_0x4d1380(0xf7)](r['IExchangeService']);if(!_0x42fe59)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x42fe59[_0x4d1380(0x10c)](_0x23ed19);}async[_0x306055(0xfd)](_0x5851a0){const _0x316c56=_0x306055;return this[_0x316c56(0x106)](_0x5851a0);}async[_0x306055(0x106)](_0x418cb2){const _0x17974f=_0x306055,_0x162573=this[_0x17974f(0xf4)][_0x17974f(0xf7)](r[_0x17974f(0x101)]);if(!_0x162573)throw new Error(_0x17974f(0x111));return _0x162573[_0x17974f(0x10d)](_0x418cb2,o[_0x17974f(0x110)]);}async[_0x306055(0x103)](_0x112ba5){const _0x5dca66=_0x306055;return this[_0x5dca66(0xfb)](_0x112ba5);}async[_0x306055(0xfb)](_0x453c26){const _0x704e49=_0x306055,_0x8b097c=this['_injector'][_0x704e49(0xf7)](r[_0x704e49(0x101)]);if(!_0x8b097c)throw new Error(_0x704e49(0x111));return _0x8b097c[_0x704e49(0x103)](_0x453c26);}}i[_0x306055(0x102)]['extend'](c);function _0x1c73(){const _0x10c715=['20528fNZaEK','importDOCXToUnitIdAsync','432375tvEalG','UNIVER_SLIDE','3795057kvFCYz','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXBySnapshot','importFileToUnitId','@univerjs-pro/exchange-client','261860jhAflI','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','9088530hHBEto','exportXLSXByUnitIdAsync','_injector','UNIVER_UNKNOWN','exportXLSXBySnapshotAsync','get','1624161vxlpKD','exportXLSXByUnitId','172jUdWdZ','importDOCXToSnapshotAsync','importXLSXToSnapshot','importDOCXToUnitId','66345buKkXY','importXLSXToUnitId','8028YHqtak','IExchangeService','FUniver','importDOCXToSnapshot','UNIVER_PROJECT'];_0x1c73=function(){return _0x10c715;};return _0x1c73();}
1
+ 'use strict';const _0x2afd0f=_0x8981;(function(_0x2551ac,_0x5471ff){const _0x437ec1=_0x8981,_0x312e29=_0x2551ac();while(!![]){try{const _0xf5243=-parseInt(_0x437ec1(0x1a6))/0x1*(parseInt(_0x437ec1(0x1a3))/0x2)+parseInt(_0x437ec1(0x1b9))/0x3+-parseInt(_0x437ec1(0x19d))/0x4+parseInt(_0x437ec1(0x1b3))/0x5+parseInt(_0x437ec1(0x1b8))/0x6+-parseInt(_0x437ec1(0x19a))/0x7+-parseInt(_0x437ec1(0x19c))/0x8;if(_0xf5243===_0x5471ff)break;else _0x312e29['push'](_0x312e29['shift']());}catch(_0x4858d1){_0x312e29['push'](_0x312e29['shift']());}}}(_0x5f3b,0x3781c));function _0x5f3b(){const _0x24f950=['UNIVER_SLIDE','importXLSXToSnapshot','extend','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','importDOCXToSnapshotAsync','get','UNRECOGNIZED','UNIVER_DOC','importFileToUnitId','896645TuxGtH','importXLSXToUnitIdAsync','importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','2459556tERmSP','381666TEkddq','@univerjs/core','_injector','368977oLkGSd','exportXLSXBySnapshot','662712Vnlffz','1409280yUBgVP','@univerjs-pro/exchange-client','exportXLSXByUnitIdAsync','UNIVER_PROJECT','importXLSXToSnapshotAsync','importDOCXToSnapshot','2IBmMUw','UNIVER_SHEET','exportXLSXByUnitId','1251NBNhNk','importDOCXToUnitId','UNIVER_UNKNOWN'];_0x5f3b=function(){return _0x24f950;};return _0x5f3b();}const r=require(_0x2afd0f(0x19e)),i=require(_0x2afd0f(0x1ba));function _0x8981(_0x269756,_0x2633aa){const _0x5f3b0d=_0x5f3b();return _0x8981=function(_0x8981af,_0x1b5005){_0x8981af=_0x8981af-0x19a;let _0x33598c=_0x5f3b0d[_0x8981af];return _0x33598c;},_0x8981(_0x269756,_0x2633aa);}var o=(_0x3d33bc=>(_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1a8)]=0x0]=_0x2afd0f(0x1a8),_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1b1)]=0x1]=_0x2afd0f(0x1b1),_0x3d33bc[_0x3d33bc['UNIVER_SHEET']=0x2]=_0x2afd0f(0x1a4),_0x3d33bc[_0x3d33bc['UNIVER_SLIDE']=0x3]=_0x2afd0f(0x1a9),_0x3d33bc[_0x3d33bc[_0x2afd0f(0x1a0)]=0x4]=_0x2afd0f(0x1a0),_0x3d33bc[_0x3d33bc['UNRECOGNIZED']=-0x1]=_0x2afd0f(0x1b0),_0x3d33bc))(o||{});class c extends i['FUniver']{async[_0x2afd0f(0x1b5)](_0x54f0a5){return this['importXLSXToUnitIdAsync'](_0x54f0a5);}async[_0x2afd0f(0x1b4)](_0x275e53){const _0x4441e6=_0x2afd0f,_0x25f782=this[_0x4441e6(0x1bb)][_0x4441e6(0x1af)](r[_0x4441e6(0x1b7)]);if(!_0x25f782)throw new Error(_0x4441e6(0x1b6));return _0x25f782[_0x4441e6(0x1b2)](_0x275e53,o[_0x4441e6(0x1a4)]);}async[_0x2afd0f(0x1aa)](_0x22e298){const _0x3e7ebc=_0x2afd0f;return this[_0x3e7ebc(0x1a1)](_0x22e298);}async[_0x2afd0f(0x1a1)](_0x24283c){const _0x3fb42a=_0x2afd0f,_0x209881=this[_0x3fb42a(0x1bb)]['get'](r[_0x3fb42a(0x1b7)]);if(!_0x209881)throw new Error(_0x3fb42a(0x1b6));return _0x209881[_0x3fb42a(0x1aa)](_0x24283c);}async[_0x2afd0f(0x1a5)](_0x57f1c9){const _0x3eb866=_0x2afd0f;return this[_0x3eb866(0x19f)](_0x57f1c9);}async['exportXLSXByUnitIdAsync'](_0x39d191){const _0x25bb30=_0x2afd0f,_0x12719b=this[_0x25bb30(0x1bb)][_0x25bb30(0x1af)](r['IExchangeService']);if(!_0x12719b)throw new Error(_0x25bb30(0x1b6));return _0x12719b[_0x25bb30(0x1a5)](_0x39d191);}async['exportXLSXBySnapshot'](_0x495834){const _0x124a42=_0x2afd0f;return this[_0x124a42(0x1ad)](_0x495834);}async['exportXLSXBySnapshotAsync'](_0x53f746){const _0x4f189c=_0x2afd0f,_0x1a9289=this['_injector'][_0x4f189c(0x1af)](r[_0x4f189c(0x1b7)]);if(!_0x1a9289)throw new Error(_0x4f189c(0x1b6));return _0x1a9289[_0x4f189c(0x19b)](_0x53f746);}async[_0x2afd0f(0x1a7)](_0x93c924){const _0x4dfca7=_0x2afd0f;return this[_0x4dfca7(0x1ac)](_0x93c924);}async[_0x2afd0f(0x1ac)](_0xa16a75){const _0x427c46=_0x2afd0f,_0x4ce9bf=this[_0x427c46(0x1bb)][_0x427c46(0x1af)](r[_0x427c46(0x1b7)]);if(!_0x4ce9bf)throw new Error(_0x427c46(0x1b6));return _0x4ce9bf[_0x427c46(0x1b2)](_0xa16a75,o[_0x427c46(0x1b1)]);}async[_0x2afd0f(0x1a2)](_0xd87a8){const _0x17f05f=_0x2afd0f;return this[_0x17f05f(0x1ae)](_0xd87a8);}async[_0x2afd0f(0x1ae)](_0x17e12e){const _0x5d0cea=_0x2afd0f,_0x500dfc=this[_0x5d0cea(0x1bb)][_0x5d0cea(0x1af)](r['IExchangeService']);if(!_0x500dfc)throw new Error(_0x5d0cea(0x1b6));return _0x500dfc[_0x5d0cea(0x1a2)](_0x17e12e);}}i['FUniver'][_0x2afd0f(0x1ab)](c);