@univerjs-pro/exchange-client 0.8.1-nightly.202506131607 → 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';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';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);