@univerjs-pro/exchange-client 0.8.1-nightly.202506131607 → 0.8.1-nightly.202506141606

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 _0x33bf(){const _0x588caf=['45339DXhcyO','82388VKBtuZ','UNIVER_PROJECT','importDOCXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','UNIVER_SLIDE','importDOCXToSnapshot','UNIVER_SHEET','importXLSXToUnitIdAsync','@univerjs/core/facade','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXByUnitId','exportDOCXByUnitIdAsync','importFileToUnitId','importDOCXToSnapshotAsync','2328845Axvxzw','2701536VUKJKN','FUniver','exportXLSXBySnapshot','240xmAUoT','21701JugNfB','exportDOCXByUnitId','importXLSXToSnapshot','UNIVER_UNKNOWN','3637712uegLnT','importDOCXToUnitId','_injector','239082lpAOcc','extend','exportXLSXBySnapshotAsync','get','UNIVER_DOC','IExchangeService'];_0x33bf=function(){return _0x588caf;};return _0x33bf();}const _0x1f2f24=_0x4e14;(function(_0x1da362,_0x3071c3){const _0x12f4bd=_0x4e14,_0x28b13c=_0x1da362();while(!![]){try{const _0x38d2e0=-parseInt(_0x12f4bd(0x86))/0x1+parseInt(_0x12f4bd(0x72))/0x2+-parseInt(_0x12f4bd(0x8d))/0x3+parseInt(_0x12f4bd(0x82))/0x4+-parseInt(_0x12f4bd(0x81))/0x5+-parseInt(_0x12f4bd(0x85))/0x6*(parseInt(_0x12f4bd(0x71))/0x7)+parseInt(_0x12f4bd(0x8a))/0x8;if(_0x38d2e0===_0x3071c3)break;else _0x28b13c['push'](_0x28b13c['shift']());}catch(_0x10cfae){_0x28b13c['push'](_0x28b13c['shift']());}}}(_0x33bf,0x543d8));function _0x4e14(_0x473248,_0x48a419){const _0x33bfd5=_0x33bf();return _0x4e14=function(_0x4e14bb,_0x32ac8f){_0x4e14bb=_0x4e14bb-0x6f;let _0x1512bb=_0x33bfd5[_0x4e14bb];return _0x1512bb;},_0x4e14(_0x473248,_0x48a419);}const r=require('@univerjs-pro/exchange-client'),o=require(_0x1f2f24(0x7b));var i=(_0x4d264b=>(_0x4d264b[_0x4d264b[_0x1f2f24(0x89)]=0x0]=_0x1f2f24(0x89),_0x4d264b[_0x4d264b[_0x1f2f24(0x6f)]=0x1]='UNIVER_DOC',_0x4d264b[_0x4d264b[_0x1f2f24(0x79)]=0x2]=_0x1f2f24(0x79),_0x4d264b[_0x4d264b['UNIVER_SLIDE']=0x3]=_0x1f2f24(0x77),_0x4d264b[_0x4d264b[_0x1f2f24(0x73)]=0x4]=_0x1f2f24(0x73),_0x4d264b[_0x4d264b[_0x1f2f24(0x76)]=-0x1]=_0x1f2f24(0x76),_0x4d264b))(i||{});class c extends o[_0x1f2f24(0x83)]{async['importXLSXToUnitId'](_0x4f5007){return this['importXLSXToUnitIdAsync'](_0x4f5007);}async[_0x1f2f24(0x7a)](_0x525486){const _0x431d57=_0x1f2f24,_0x20e350=this[_0x431d57(0x8c)][_0x431d57(0x90)](r[_0x431d57(0x70)]);if(!_0x20e350)throw new Error(_0x431d57(0x7c));return _0x20e350[_0x431d57(0x7f)](_0x525486,i[_0x431d57(0x79)]);}async[_0x1f2f24(0x88)](_0x4e4259){return this['importXLSXToSnapshotAsync'](_0x4e4259);}async[_0x1f2f24(0x75)](_0x529c32){const _0x5e6e75=_0x1f2f24,_0x11e65e=this[_0x5e6e75(0x8c)]['get'](r[_0x5e6e75(0x70)]);if(!_0x11e65e)throw new Error(_0x5e6e75(0x7c));return _0x11e65e['importXLSXToSnapshot'](_0x529c32);}async[_0x1f2f24(0x7d)](_0x47ae99){return this['exportXLSXByUnitIdAsync'](_0x47ae99);}async['exportXLSXByUnitIdAsync'](_0x49402){const _0x5ec42b=_0x1f2f24,_0x6f3fba=this[_0x5ec42b(0x8c)][_0x5ec42b(0x90)](r[_0x5ec42b(0x70)]);if(!_0x6f3fba)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6f3fba[_0x5ec42b(0x7d)](_0x49402);}async[_0x1f2f24(0x84)](_0x40d550){const _0x568d94=_0x1f2f24;return this[_0x568d94(0x8f)](_0x40d550);}async[_0x1f2f24(0x8f)](_0x9c9a28){const _0x32830e=_0x1f2f24,_0x4e2459=this[_0x32830e(0x8c)][_0x32830e(0x90)](r[_0x32830e(0x70)]);if(!_0x4e2459)throw new Error(_0x32830e(0x7c));return _0x4e2459[_0x32830e(0x84)](_0x9c9a28);}async[_0x1f2f24(0x8b)](_0x325409){const _0x30f53e=_0x1f2f24;return this[_0x30f53e(0x74)](_0x325409);}async[_0x1f2f24(0x74)](_0x5bbc87){const _0x232292=_0x1f2f24,_0x4c7aa4=this[_0x232292(0x8c)][_0x232292(0x90)](r[_0x232292(0x70)]);if(!_0x4c7aa4)throw new Error(_0x232292(0x7c));return _0x4c7aa4[_0x232292(0x7f)](_0x5bbc87,i[_0x232292(0x6f)]);}async[_0x1f2f24(0x78)](_0x273dab){const _0x57f969=_0x1f2f24;return this[_0x57f969(0x80)](_0x273dab);}async[_0x1f2f24(0x80)](_0x15e438){const _0x5c9038=_0x1f2f24,_0x148064=this['_injector'][_0x5c9038(0x90)](r[_0x5c9038(0x70)]);if(!_0x148064)throw new Error(_0x5c9038(0x7c));return _0x148064['importDOCXToSnapshot'](_0x15e438);}async['exportDOCXBySnapshotAsync'](_0x521abd){const _0x1bc247=_0x1f2f24,_0xf0b37f=this['_injector']['get'](r[_0x1bc247(0x70)]);if(!_0xf0b37f)throw new Error(_0x1bc247(0x7c));return _0xf0b37f['exportDOCXBySnapshot'](_0x521abd);}async[_0x1f2f24(0x7e)](_0x36c2ff){const _0x2f87fd=_0x1f2f24,_0x30e604=this[_0x2f87fd(0x8c)][_0x2f87fd(0x90)](r['IExchangeService']);if(!_0x30e604)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30e604[_0x2f87fd(0x87)](_0x36c2ff);}}o[_0x1f2f24(0x83)][_0x1f2f24(0x8e)](c);
1
+ 'use strict';const _0x1e4cb2=_0x4e34;(function(_0x66dc33,_0x3b5f26){const _0x557962=_0x4e34,_0x2379ce=_0x66dc33();while(!![]){try{const _0x556c17=-parseInt(_0x557962(0xa0))/0x1+parseInt(_0x557962(0x8a))/0x2*(parseInt(_0x557962(0x93))/0x3)+-parseInt(_0x557962(0x97))/0x4+-parseInt(_0x557962(0x91))/0x5+-parseInt(_0x557962(0xa8))/0x6*(parseInt(_0x557962(0xac))/0x7)+parseInt(_0x557962(0x8c))/0x8+-parseInt(_0x557962(0x8d))/0x9*(-parseInt(_0x557962(0x96))/0xa);if(_0x556c17===_0x3b5f26)break;else _0x2379ce['push'](_0x2379ce['shift']());}catch(_0x3efff7){_0x2379ce['push'](_0x2379ce['shift']());}}}(_0x5177,0xa82d3));const r=require(_0x1e4cb2(0xa1)),o=require(_0x1e4cb2(0x9f));var i=(_0x597201=>(_0x597201[_0x597201['UNIVER_UNKNOWN']=0x0]=_0x1e4cb2(0xa5),_0x597201[_0x597201['UNIVER_DOC']=0x1]=_0x1e4cb2(0x9b),_0x597201[_0x597201[_0x1e4cb2(0x9e)]=0x2]=_0x1e4cb2(0x9e),_0x597201[_0x597201['UNIVER_SLIDE']=0x3]=_0x1e4cb2(0x94),_0x597201[_0x597201[_0x1e4cb2(0xa9)]=0x4]='UNIVER_PROJECT',_0x597201[_0x597201[_0x1e4cb2(0xa7)]=-0x1]='UNRECOGNIZED',_0x597201))(i||{});function _0x4e34(_0x59a66a,_0x230b44){const _0x517766=_0x5177();return _0x4e34=function(_0x4e3461,_0x4c1d59){_0x4e3461=_0x4e3461-0x88;let _0x4c7b4f=_0x517766[_0x4e3461];return _0x4c7b4f;},_0x4e34(_0x59a66a,_0x230b44);}class c extends o['FUniver']{async[_0x1e4cb2(0x99)](_0x491f3d){const _0x358d3a=_0x1e4cb2;return this[_0x358d3a(0xa2)](_0x491f3d);}async[_0x1e4cb2(0xa2)](_0x44371c){const _0x4e0272=_0x1e4cb2,_0x427171=this[_0x4e0272(0x98)]['get'](r['IExchangeService']);if(!_0x427171)throw new Error(_0x4e0272(0x8f));return _0x427171[_0x4e0272(0x9d)](_0x44371c,i[_0x4e0272(0x9e)]);}async['importXLSXToSnapshot'](_0xf7163b){const _0x4c7268=_0x1e4cb2;return this[_0x4c7268(0xa6)](_0xf7163b);}async['importXLSXToSnapshotAsync'](_0x2d495c){const _0x49e980=_0x1e4cb2,_0x28d0a7=this[_0x49e980(0x98)][_0x49e980(0x9c)](r[_0x49e980(0x8e)]);if(!_0x28d0a7)throw new Error(_0x49e980(0x8f));return _0x28d0a7[_0x49e980(0x95)](_0x2d495c);}async[_0x1e4cb2(0xa4)](_0x475682){const _0xd575eb=_0x1e4cb2;return this[_0xd575eb(0x8b)](_0x475682);}async['exportXLSXByUnitIdAsync'](_0x5f35b5){const _0x10db27=_0x1e4cb2,_0x5d6c79=this[_0x10db27(0x98)][_0x10db27(0x9c)](r[_0x10db27(0x8e)]);if(!_0x5d6c79)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5d6c79['exportXLSXByUnitId'](_0x5f35b5);}async[_0x1e4cb2(0xab)](_0x25830e){const _0xd75a52=_0x1e4cb2;return this[_0xd75a52(0x88)](_0x25830e);}async[_0x1e4cb2(0x88)](_0x2bb438){const _0x3b4dd6=_0x1e4cb2,_0x1c791d=this[_0x3b4dd6(0x98)]['get'](r[_0x3b4dd6(0x8e)]);if(!_0x1c791d)throw new Error(_0x3b4dd6(0x8f));return _0x1c791d[_0x3b4dd6(0xab)](_0x2bb438);}async['importDOCXToUnitId'](_0x34c39f){const _0x452b73=_0x1e4cb2;return this[_0x452b73(0xa3)](_0x34c39f);}async['importDOCXToUnitIdAsync'](_0x2d1392){const _0x38351e=_0x1e4cb2,_0x23601a=this[_0x38351e(0x98)][_0x38351e(0x9c)](r['IExchangeService']);if(!_0x23601a)throw new Error(_0x38351e(0x8f));return _0x23601a[_0x38351e(0x9d)](_0x2d1392,i[_0x38351e(0x9b)]);}async['importDOCXToSnapshot'](_0x573865){const _0x123808=_0x1e4cb2;return this[_0x123808(0xaa)](_0x573865);}async[_0x1e4cb2(0xaa)](_0x4c7bdf){const _0x3a3429=_0x1e4cb2,_0x2d848a=this[_0x3a3429(0x98)][_0x3a3429(0x9c)](r[_0x3a3429(0x8e)]);if(!_0x2d848a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2d848a[_0x3a3429(0x92)](_0x4c7bdf);}async[_0x1e4cb2(0x89)](_0x1de2db){const _0xf95aae=_0x1e4cb2,_0xf690fd=this['_injector'][_0xf95aae(0x9c)](r['IExchangeService']);if(!_0xf690fd)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xf690fd['exportDOCXBySnapshot'](_0x1de2db);}async[_0x1e4cb2(0x9a)](_0x5eed85){const _0x777d16=_0x1e4cb2,_0x369628=this[_0x777d16(0x98)][_0x777d16(0x9c)](r['IExchangeService']);if(!_0x369628)throw new Error(_0x777d16(0x8f));return _0x369628['exportDOCXByUnitId'](_0x5eed85);}}function _0x5177(){const _0x406e11=['exportXLSXByUnitId','UNIVER_UNKNOWN','importXLSXToSnapshotAsync','UNRECOGNIZED','12594NKwoei','UNIVER_PROJECT','importDOCXToSnapshotAsync','exportXLSXBySnapshot','777OKwCAp','exportXLSXBySnapshotAsync','exportDOCXBySnapshotAsync','58FzSJva','exportXLSXByUnitIdAsync','3208400rPHglZ','3330GzUQRV','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','FUniver','4278355KfVbjy','importDOCXToSnapshot','91581mALDZl','UNIVER_SLIDE','importXLSXToSnapshot','57840ZbdWub','4561380WYKtIK','_injector','importXLSXToUnitId','exportDOCXByUnitIdAsync','UNIVER_DOC','get','importFileToUnitId','UNIVER_SHEET','@univerjs/core/facade','508557DrqifN','@univerjs-pro/exchange-client','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync'];_0x5177=function(){return _0x406e11;};return _0x5177();}o[_0x1e4cb2(0x90)]['extend'](c);