@univerjs-pro/exchange-client 0.6.3 → 0.6.4-nightly.202503101606

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 _0xc0fa(){const _0x5ae8f6=['UNIVER_PROJECT','get','3816925fhJbYz','extend','37697540ZVktAh','importXLSXToSnapshot','exportXLSXBySnapshot','51538bskaBb','importFileToUnitId','UNIVER_DOC','UNIVER_SLIDE','importXLSXToUnitId','12hCYlKV','IExchangeService','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','FUniver','9wZTUfu','exportXLSXByUnitId','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','582816gvmgsk','importDOCXToSnapshotAsync','UNIVER_SHEET','4043481zCReJg','The\x20exchange\x20service\x20is\x20not\x20available','_injector','1555695fPQAWr','UNRECOGNIZED','importDOCXToSnapshot','8kXPvjt','exportXLSXBySnapshotAsync','2629212MJvoFs','@univerjs/core/facade','importXLSXToSnapshotAsync'];_0xc0fa=function(){return _0x5ae8f6;};return _0xc0fa();}const _0x44bd7e=_0x3808;(function(_0x38a734,_0x2dee26){const _0x246ed7=_0x3808,_0x442ad4=_0x38a734();while(!![]){try{const _0x1cf44e=-parseInt(_0x246ed7(0x15a))/0x1*(parseInt(_0x246ed7(0x166))/0x2)+-parseInt(_0x246ed7(0x154))/0x3+-parseInt(_0x246ed7(0x15c))/0x4+parseInt(_0x246ed7(0x157))/0x5+-parseInt(_0x246ed7(0x16b))/0x6*(parseInt(_0x246ed7(0x161))/0x7)+-parseInt(_0x246ed7(0x151))/0x8+parseInt(_0x246ed7(0x14d))/0x9*(parseInt(_0x246ed7(0x163))/0xa);if(_0x1cf44e===_0x2dee26)break;else _0x442ad4['push'](_0x442ad4['shift']());}catch(_0x5b6d10){_0x442ad4['push'](_0x442ad4['shift']());}}}(_0xc0fa,0xac6a1));const r=require('@univerjs-pro/exchange-client'),i=require(_0x44bd7e(0x15d));var o=(_0x17ed0b=>(_0x17ed0b[_0x17ed0b[_0x44bd7e(0x16e)]=0x0]=_0x44bd7e(0x16e),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x168)]=0x1]=_0x44bd7e(0x168),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x153)]=0x2]='UNIVER_SHEET',_0x17ed0b[_0x17ed0b[_0x44bd7e(0x169)]=0x3]=_0x44bd7e(0x169),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x15f)]=0x4]=_0x44bd7e(0x15f),_0x17ed0b[_0x17ed0b[_0x44bd7e(0x158)]=-0x1]=_0x44bd7e(0x158),_0x17ed0b))(o||{});function _0x3808(_0x26f55a,_0x35545d){const _0xc0faff=_0xc0fa();return _0x3808=function(_0x38085d,_0x56fb96){_0x38085d=_0x38085d-0x14c;let _0x2fa35b=_0xc0faff[_0x38085d];return _0x2fa35b;},_0x3808(_0x26f55a,_0x35545d);}class c extends i[_0x44bd7e(0x14c)]{async[_0x44bd7e(0x16a)](_0x4e2ac8){return this['importXLSXToUnitIdAsync'](_0x4e2ac8);}async[_0x44bd7e(0x150)](_0x3ee0f4){const _0x145457=_0x44bd7e,_0x48a151=this[_0x145457(0x156)]['get'](r['IExchangeService']);if(!_0x48a151)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x48a151[_0x145457(0x167)](_0x3ee0f4,o[_0x145457(0x153)]);}async[_0x44bd7e(0x164)](_0x271754){const _0x270a53=_0x44bd7e;return this[_0x270a53(0x15e)](_0x271754);}async['importXLSXToSnapshotAsync'](_0x2dd12b){const _0x3d0667=_0x44bd7e,_0x3b422b=this[_0x3d0667(0x156)]['get'](r['IExchangeService']);if(!_0x3b422b)throw new Error(_0x3d0667(0x155));return _0x3b422b[_0x3d0667(0x164)](_0x2dd12b);}async[_0x44bd7e(0x14e)](_0x472ebc){return this['exportXLSXByUnitIdAsync'](_0x472ebc);}async[_0x44bd7e(0x14f)](_0x56465b){const _0x3fe37e=_0x44bd7e,_0x6bf696=this[_0x3fe37e(0x156)][_0x3fe37e(0x160)](r[_0x3fe37e(0x16c)]);if(!_0x6bf696)throw new Error(_0x3fe37e(0x155));return _0x6bf696['exportXLSXByUnitId'](_0x56465b);}async[_0x44bd7e(0x165)](_0x25a2c5){const _0x3de885=_0x44bd7e;return this[_0x3de885(0x15b)](_0x25a2c5);}async['exportXLSXBySnapshotAsync'](_0x1adebc){const _0x26efe1=_0x44bd7e,_0x571f3d=this[_0x26efe1(0x156)][_0x26efe1(0x160)](r['IExchangeService']);if(!_0x571f3d)throw new Error(_0x26efe1(0x155));return _0x571f3d['exportXLSXBySnapshot'](_0x1adebc);}async['importDOCXToUnitId'](_0x5130b3){return this['importDOCXToUnitIdAsync'](_0x5130b3);}async[_0x44bd7e(0x16d)](_0x24b96a){const _0x29b542=_0x44bd7e,_0xcdec79=this[_0x29b542(0x156)]['get'](r[_0x29b542(0x16c)]);if(!_0xcdec79)throw new Error(_0x29b542(0x155));return _0xcdec79[_0x29b542(0x167)](_0x24b96a,o[_0x29b542(0x168)]);}async['importDOCXToSnapshot'](_0x3c5cf9){return this['importDOCXToSnapshotAsync'](_0x3c5cf9);}async[_0x44bd7e(0x152)](_0x72f5c9){const _0x531881=_0x44bd7e,_0x414f01=this[_0x531881(0x156)][_0x531881(0x160)](r[_0x531881(0x16c)]);if(!_0x414f01)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x414f01[_0x531881(0x159)](_0x72f5c9);}}i[_0x44bd7e(0x14c)][_0x44bd7e(0x162)](c);
1
+ 'use strict';const _0xf6c543=_0x180e;(function(_0x1dd262,_0x391221){const _0x3b6306=_0x180e,_0x4efb0d=_0x1dd262();while(!![]){try{const _0x5d0050=-parseInt(_0x3b6306(0x184))/0x1+parseInt(_0x3b6306(0x16d))/0x2*(-parseInt(_0x3b6306(0x181))/0x3)+parseInt(_0x3b6306(0x17d))/0x4*(parseInt(_0x3b6306(0x176))/0x5)+-parseInt(_0x3b6306(0x18e))/0x6+-parseInt(_0x3b6306(0x17a))/0x7*(-parseInt(_0x3b6306(0x189))/0x8)+parseInt(_0x3b6306(0x188))/0x9*(-parseInt(_0x3b6306(0x16e))/0xa)+parseInt(_0x3b6306(0x179))/0xb;if(_0x5d0050===_0x391221)break;else _0x4efb0d['push'](_0x4efb0d['shift']());}catch(_0x3316c9){_0x4efb0d['push'](_0x4efb0d['shift']());}}}(_0x1d5f,0x61628));const r=require('@univerjs-pro/exchange-client'),i=require(_0xf6c543(0x172));function _0x1d5f(){const _0x2f37a6=['UNIVER_SHEET','218740dqPTAg','3389410ubrGRz','importFileToUnitId','importXLSXToUnitId','importDOCXToUnitId','@univerjs/core/facade','_injector','extend','importDOCXToUnitIdAsync','257215ciWfDT','exportXLSXByUnitId','importDOCXToSnapshot','9232542dxwYfE','83146dceVcu','importDOCXToSnapshotAsync','importXLSXToSnapshotAsync','36OCISJK','FUniver','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','18VbHoIk','get','The\x20exchange\x20service\x20is\x20not\x20available','207590XWNUCI','UNIVER_DOC','exportXLSXBySnapshotAsync','importXLSXToSnapshot','9IHpRwq','312qKikGP','UNIVER_PROJECT','importXLSXToUnitIdAsync','IExchangeService','UNIVER_UNKNOWN','983472EZhzqk','UNRECOGNIZED'];_0x1d5f=function(){return _0x2f37a6;};return _0x1d5f();}function _0x180e(_0x30988d,_0xfcc83e){const _0x1d5f98=_0x1d5f();return _0x180e=function(_0x180e4a,_0x217f29){_0x180e4a=_0x180e4a-0x16b;let _0x5f2494=_0x1d5f98[_0x180e4a];return _0x5f2494;},_0x180e(_0x30988d,_0xfcc83e);}var o=(_0x5493f8=>(_0x5493f8[_0x5493f8['UNIVER_UNKNOWN']=0x0]=_0xf6c543(0x18d),_0x5493f8[_0x5493f8[_0xf6c543(0x185)]=0x1]=_0xf6c543(0x185),_0x5493f8[_0x5493f8[_0xf6c543(0x16c)]=0x2]=_0xf6c543(0x16c),_0x5493f8[_0x5493f8['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5493f8[_0x5493f8[_0xf6c543(0x18a)]=0x4]=_0xf6c543(0x18a),_0x5493f8[_0x5493f8[_0xf6c543(0x16b)]=-0x1]=_0xf6c543(0x16b),_0x5493f8))(o||{});class c extends i[_0xf6c543(0x17e)]{async[_0xf6c543(0x170)](_0x453d36){const _0x12da96=_0xf6c543;return this[_0x12da96(0x18b)](_0x453d36);}async['importXLSXToUnitIdAsync'](_0x34696b){const _0x4f43a6=_0xf6c543,_0x5b72b9=this[_0x4f43a6(0x173)]['get'](r[_0x4f43a6(0x18c)]);if(!_0x5b72b9)throw new Error(_0x4f43a6(0x183));return _0x5b72b9[_0x4f43a6(0x16f)](_0x34696b,o[_0x4f43a6(0x16c)]);}async[_0xf6c543(0x187)](_0x3049d3){const _0x2d460e=_0xf6c543;return this[_0x2d460e(0x17c)](_0x3049d3);}async[_0xf6c543(0x17c)](_0x17dd69){const _0x3cf9ae=_0xf6c543,_0x2430eb=this[_0x3cf9ae(0x173)]['get'](r[_0x3cf9ae(0x18c)]);if(!_0x2430eb)throw new Error(_0x3cf9ae(0x183));return _0x2430eb[_0x3cf9ae(0x187)](_0x17dd69);}async[_0xf6c543(0x177)](_0x28849c){const _0x1d70b4=_0xf6c543;return this[_0x1d70b4(0x180)](_0x28849c);}async['exportXLSXByUnitIdAsync'](_0x4fd313){const _0x5826b3=_0xf6c543,_0x2586ef=this['_injector'][_0x5826b3(0x182)](r[_0x5826b3(0x18c)]);if(!_0x2586ef)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2586ef[_0x5826b3(0x177)](_0x4fd313);}async[_0xf6c543(0x17f)](_0x3e7fae){return this['exportXLSXBySnapshotAsync'](_0x3e7fae);}async[_0xf6c543(0x186)](_0x122b86){const _0x648537=_0xf6c543,_0x4ad2e2=this[_0x648537(0x173)][_0x648537(0x182)](r[_0x648537(0x18c)]);if(!_0x4ad2e2)throw new Error(_0x648537(0x183));return _0x4ad2e2[_0x648537(0x17f)](_0x122b86);}async[_0xf6c543(0x171)](_0x1d29d2){const _0x37de01=_0xf6c543;return this[_0x37de01(0x175)](_0x1d29d2);}async[_0xf6c543(0x175)](_0x6dd889){const _0x806141=_0xf6c543,_0x59aaeb=this[_0x806141(0x173)]['get'](r[_0x806141(0x18c)]);if(!_0x59aaeb)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x59aaeb[_0x806141(0x16f)](_0x6dd889,o[_0x806141(0x185)]);}async[_0xf6c543(0x178)](_0x4571ce){const _0x56c257=_0xf6c543;return this[_0x56c257(0x17b)](_0x4571ce);}async[_0xf6c543(0x17b)](_0x4dc551){const _0x504072=_0xf6c543,_0x5516ad=this[_0x504072(0x173)][_0x504072(0x182)](r[_0x504072(0x18c)]);if(!_0x5516ad)throw new Error(_0x504072(0x183));return _0x5516ad[_0x504072(0x178)](_0x4dc551);}}i[_0xf6c543(0x17e)][_0xf6c543(0x174)](c);