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

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 _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);
1
+ 'use strict';function _0x409e(){const _0x21bdea=['importXLSXToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitId','UNRECOGNIZED','exportDOCXByUnitId','1748ZImLzZ','importDOCXToSnapshotAsync','UNIVER_UNKNOWN','get','1176710TQyxuX','IExchangeService','755814fKghdH','exportXLSXByUnitIdAsync','exportDOCXBySnapshot','@univerjs/core/facade','3669066keTSpR','exportDOCXByUnitIdAsync','_injector','importFileToUnitId','importXLSXToSnapshot','17656mOXLrL','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','importDOCXToSnapshot','exportXLSXByUnitId','UNIVER_SHEET','extend','177WXfMCh','791oQxulN','338756DFqaiy','@univerjs-pro/exchange-client','318667sSwsFd','UNIVER_PROJECT','UNIVER_DOC','exportXLSXBySnapshot'];_0x409e=function(){return _0x21bdea;};return _0x409e();}const _0x539eed=_0x35f6;(function(_0x28aabe,_0x2a0786){const _0x206af7=_0x35f6,_0x107c7f=_0x28aabe();while(!![]){try{const _0x1d8990=-parseInt(_0x206af7(0x1b8))/0x1+parseInt(_0x206af7(0x1b6))/0x2+-parseInt(_0x206af7(0x1b4))/0x3*(-parseInt(_0x206af7(0x1c1))/0x4)+-parseInt(_0x206af7(0x1a1))/0x5+parseInt(_0x206af7(0x1a3))/0x6+-parseInt(_0x206af7(0x1b5))/0x7*(-parseInt(_0x206af7(0x1ac))/0x8)+parseInt(_0x206af7(0x1a7))/0x9;if(_0x1d8990===_0x2a0786)break;else _0x107c7f['push'](_0x107c7f['shift']());}catch(_0x59841c){_0x107c7f['push'](_0x107c7f['shift']());}}}(_0x409e,0x678fa));const r=require(_0x539eed(0x1b7)),o=require(_0x539eed(0x1a6));var i=(_0x244e3d=>(_0x244e3d[_0x244e3d['UNIVER_UNKNOWN']=0x0]=_0x539eed(0x1c3),_0x244e3d[_0x244e3d['UNIVER_DOC']=0x1]=_0x539eed(0x1ba),_0x244e3d[_0x244e3d[_0x539eed(0x1b2)]=0x2]=_0x539eed(0x1b2),_0x244e3d[_0x244e3d['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x244e3d[_0x244e3d[_0x539eed(0x1b9)]=0x4]=_0x539eed(0x1b9),_0x244e3d[_0x244e3d[_0x539eed(0x1bf)]=-0x1]=_0x539eed(0x1bf),_0x244e3d))(i||{});class c extends o['FUniver']{async[_0x539eed(0x1bc)](_0x47395d){const _0x25dd01=_0x539eed;return this[_0x25dd01(0x1ae)](_0x47395d);}async['importXLSXToUnitIdAsync'](_0x24aefe){const _0x47796c=_0x539eed,_0x512295=this[_0x47796c(0x1a9)][_0x47796c(0x1a0)](r[_0x47796c(0x1a2)]);if(!_0x512295)throw new Error(_0x47796c(0x1bd));return _0x512295[_0x47796c(0x1aa)](_0x24aefe,i[_0x47796c(0x1b2)]);}async['importXLSXToSnapshot'](_0x3b364c){const _0x34f7f1=_0x539eed;return this[_0x34f7f1(0x1ad)](_0x3b364c);}async[_0x539eed(0x1ad)](_0x3e0ecc){const _0x2928df=_0x539eed,_0x4a33c9=this[_0x2928df(0x1a9)][_0x2928df(0x1a0)](r['IExchangeService']);if(!_0x4a33c9)throw new Error(_0x2928df(0x1bd));return _0x4a33c9[_0x2928df(0x1ab)](_0x3e0ecc);}async['exportXLSXByUnitId'](_0x2e910c){const _0xc27043=_0x539eed;return this[_0xc27043(0x1a4)](_0x2e910c);}async[_0x539eed(0x1a4)](_0x4f5671){const _0x562d61=_0x539eed,_0xa76cb8=this[_0x562d61(0x1a9)]['get'](r[_0x562d61(0x1a2)]);if(!_0xa76cb8)throw new Error(_0x562d61(0x1bd));return _0xa76cb8[_0x562d61(0x1b1)](_0x4f5671);}async[_0x539eed(0x1bb)](_0x507d4a){return this['exportXLSXBySnapshotAsync'](_0x507d4a);}async[_0x539eed(0x1af)](_0x1c8a1c){const _0x2e7e42=_0x539eed,_0xe8826b=this[_0x2e7e42(0x1a9)][_0x2e7e42(0x1a0)](r[_0x2e7e42(0x1a2)]);if(!_0xe8826b)throw new Error(_0x2e7e42(0x1bd));return _0xe8826b['exportXLSXBySnapshot'](_0x1c8a1c);}async[_0x539eed(0x1be)](_0x1e8e05){return this['importDOCXToUnitIdAsync'](_0x1e8e05);}async['importDOCXToUnitIdAsync'](_0xbeefb5){const _0x5487ae=_0x539eed,_0x29789c=this[_0x5487ae(0x1a9)][_0x5487ae(0x1a0)](r[_0x5487ae(0x1a2)]);if(!_0x29789c)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x29789c['importFileToUnitId'](_0xbeefb5,i[_0x5487ae(0x1ba)]);}async[_0x539eed(0x1b0)](_0x359b34){const _0x1b6caf=_0x539eed;return this[_0x1b6caf(0x1c2)](_0x359b34);}async[_0x539eed(0x1c2)](_0x4ec777){const _0x55ac46=_0x539eed,_0x1af30c=this[_0x55ac46(0x1a9)][_0x55ac46(0x1a0)](r[_0x55ac46(0x1a2)]);if(!_0x1af30c)throw new Error(_0x55ac46(0x1bd));return _0x1af30c[_0x55ac46(0x1b0)](_0x4ec777);}async['exportDOCXBySnapshotAsync'](_0x6f753){const _0x4aa74e=_0x539eed,_0x3b162e=this[_0x4aa74e(0x1a9)][_0x4aa74e(0x1a0)](r[_0x4aa74e(0x1a2)]);if(!_0x3b162e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b162e[_0x4aa74e(0x1a5)](_0x6f753);}async[_0x539eed(0x1a8)](_0x8e6357){const _0x36eb8b=_0x539eed,_0x15714c=this[_0x36eb8b(0x1a9)][_0x36eb8b(0x1a0)](r[_0x36eb8b(0x1a2)]);if(!_0x15714c)throw new Error(_0x36eb8b(0x1bd));return _0x15714c[_0x36eb8b(0x1c0)](_0x8e6357);}}function _0x35f6(_0x351b5f,_0x288a64){const _0x409ea9=_0x409e();return _0x35f6=function(_0x35f647,_0x47ddd3){_0x35f647=_0x35f647-0x1a0;let _0x119ea5=_0x409ea9[_0x35f647];return _0x119ea5;},_0x35f6(_0x351b5f,_0x288a64);}o['FUniver'][_0x539eed(0x1b3)](c);