@univerjs-pro/exchange-client 0.5.5-experimental.20250122-3362a4a → 0.5.5-experimental.20250123-34738ff

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 _0x4642(){const _0x44327b=['UNIVER_DOC','defineProperty','5926248byoCya','1120bWyJBv','1445864bBJOIk','extend','UNIVER_SLIDE','1733OxxYTY','importDOCXToSnapshotAsync','IExchangeService','exportXLSXBySnapshotAsync','966800usrUlj','importXLSXToUnitId','FUniver','importXLSXToSnapshotAsync','UNIVER_PROJECT','108IcnslA','get','FUniverExchangeClientMixin','38455geNUyS','importDOCXToSnapshot','importXLSXToUnitIdAsync','importFileToUnitId','The\x20exchange\x20service\x20is\x20not\x20available','159928wKxWsQ','exportXLSXByUnitIdAsync','exportXLSXBySnapshot','1354lTesGR','_injector','UNIVER_UNKNOWN','@univerjs-pro/exchange-client','exportXLSXByUnitId','@univerjs/core','51EFbcMG','21758DZuxhk','name','45AHIZzj','UNIVER_SHEET','UNRECOGNIZED'];_0x4642=function(){return _0x44327b;};return _0x4642();}const _0xf4294f=_0xf41c;(function(_0x13d041,_0x29cd8c){const _0x3aa10e=_0xf41c,_0x3a8a13=_0x13d041();while(!![]){try{const _0xd27c0b=-parseInt(_0x3aa10e(0x1cd))/0x1*(-parseInt(_0x3aa10e(0x1ba))/0x2)+parseInt(_0x3aa10e(0x1c0))/0x3*(parseInt(_0x3aa10e(0x1b7))/0x4)+-parseInt(_0x3aa10e(0x1b2))/0x5*(parseInt(_0x3aa10e(0x1af))/0x6)+-parseInt(_0x3aa10e(0x1ca))/0x7+parseInt(_0x3aa10e(0x1d1))/0x8*(-parseInt(_0x3aa10e(0x1c3))/0x9)+parseInt(_0x3aa10e(0x1c9))/0xa*(parseInt(_0x3aa10e(0x1c1))/0xb)+-parseInt(_0x3aa10e(0x1c8))/0xc;if(_0xd27c0b===_0x29cd8c)break;else _0x3a8a13['push'](_0x3a8a13['shift']());}catch(_0x388a63){_0x3a8a13['push'](_0x3a8a13['shift']());}}}(_0x4642,0x9a251));function _0xf41c(_0x40b3c9,_0x31a1a6){const _0x46422b=_0x4642();return _0xf41c=function(_0xf41c9a,_0x41c967){_0xf41c9a=_0xf41c9a-0x1ae;let _0x21946b=_0x46422b[_0xf41c9a];return _0x21946b;},_0xf41c(_0x40b3c9,_0x31a1a6);}var __defProp=Object[_0xf4294f(0x1c7)],__name=(_0x34d72a,_0x5e87a0)=>__defProp(_0x34d72a,_0xf4294f(0x1c2),{'value':_0x5e87a0,'configurable':!0x0});const exchangeClient=require(_0xf4294f(0x1bd)),core=require(_0xf4294f(0x1bf));var UniverType=(_0x2c0401=>(_0x2c0401[_0x2c0401['UNIVER_UNKNOWN']=0x0]=_0xf4294f(0x1bc),_0x2c0401[_0x2c0401[_0xf4294f(0x1c6)]=0x1]='UNIVER_DOC',_0x2c0401[_0x2c0401[_0xf4294f(0x1c4)]=0x2]='UNIVER_SHEET',_0x2c0401[_0x2c0401[_0xf4294f(0x1cc)]=0x3]=_0xf4294f(0x1cc),_0x2c0401[_0x2c0401[_0xf4294f(0x1ae)]=0x4]=_0xf4294f(0x1ae),_0x2c0401[_0x2c0401['UNRECOGNIZED']=-0x1]=_0xf4294f(0x1c5),_0x2c0401))(UniverType||{});const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core[_0xf4294f(0x1d3)]{async[_0xf4294f(0x1d2)](_0x1172b6){const _0x149c50=_0xf4294f;return this[_0x149c50(0x1b4)](_0x1172b6);}async[_0xf4294f(0x1b4)](_0x24d481){const _0x44cc42=_0xf4294f,_0x40a24b=this[_0x44cc42(0x1bb)][_0x44cc42(0x1b0)](exchangeClient[_0x44cc42(0x1cf)]);if(!_0x40a24b)throw new Error(_0x44cc42(0x1b6));return _0x40a24b[_0x44cc42(0x1b5)](_0x24d481,UniverType[_0x44cc42(0x1c4)]);}async['importXLSXToSnapshot'](_0x500fbd){const _0x1a88cf=_0xf4294f;return this[_0x1a88cf(0x1d4)](_0x500fbd);}async[_0xf4294f(0x1d4)](_0x2b4d99){const _0x27ef53=_0xf4294f,_0x5df7b6=this[_0x27ef53(0x1bb)][_0x27ef53(0x1b0)](exchangeClient['IExchangeService']);if(!_0x5df7b6)throw new Error(_0x27ef53(0x1b6));return _0x5df7b6['importXLSXToSnapshot'](_0x2b4d99);}async[_0xf4294f(0x1be)](_0x1414c3){const _0x2d7bde=_0xf4294f;return this[_0x2d7bde(0x1b8)](_0x1414c3);}async[_0xf4294f(0x1b8)](_0x3ba318){const _0x19afd3=_0xf4294f,_0x23f9de=this[_0x19afd3(0x1bb)][_0x19afd3(0x1b0)](exchangeClient[_0x19afd3(0x1cf)]);if(!_0x23f9de)throw new Error(_0x19afd3(0x1b6));return _0x23f9de[_0x19afd3(0x1be)](_0x3ba318);}async[_0xf4294f(0x1b9)](_0x48e6d6){const _0x8efc35=_0xf4294f;return this[_0x8efc35(0x1d0)](_0x48e6d6);}async[_0xf4294f(0x1d0)](_0x5c6133){const _0x22e4c6=_0xf4294f,_0x528cc5=this[_0x22e4c6(0x1bb)][_0x22e4c6(0x1b0)](exchangeClient['IExchangeService']);if(!_0x528cc5)throw new Error(_0x22e4c6(0x1b6));return _0x528cc5[_0x22e4c6(0x1b9)](_0x5c6133);}async['importDOCXToUnitId'](_0xa53b03){return this['importDOCXToUnitIdAsync'](_0xa53b03);}async['importDOCXToUnitIdAsync'](_0xc3a463){const _0x589ad5=_0xf4294f,_0x4dc972=this['_injector']['get'](exchangeClient['IExchangeService']);if(!_0x4dc972)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4dc972[_0x589ad5(0x1b5)](_0xc3a463,UniverType[_0x589ad5(0x1c6)]);}async[_0xf4294f(0x1b3)](_0x2037a5){const _0x5a2ba3=_0xf4294f;return this[_0x5a2ba3(0x1ce)](_0x2037a5);}async[_0xf4294f(0x1ce)](_0x361724){const _0x30efeb=_0xf4294f,_0x2e37c0=this[_0x30efeb(0x1bb)][_0x30efeb(0x1b0)](exchangeClient[_0x30efeb(0x1cf)]);if(!_0x2e37c0)throw new Error(_0x30efeb(0x1b6));return _0x2e37c0[_0x30efeb(0x1b3)](_0x361724);}};__name(_FUniverExchangeClientMixin,_0xf4294f(0x1b1));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver'][_0xf4294f(0x1cb)](FUniverExchangeClientMixin);
1
+ 'use strict';const _0x2dc3aa=_0x289e;(function(_0x48cc7b,_0x5b4b20){const _0x5a4dee=_0x289e,_0x4b8d56=_0x48cc7b();while(!![]){try{const _0x5ce777=parseInt(_0x5a4dee(0x86))/0x1*(parseInt(_0x5a4dee(0x89))/0x2)+parseInt(_0x5a4dee(0x9a))/0x3+parseInt(_0x5a4dee(0xa3))/0x4*(-parseInt(_0x5a4dee(0x8f))/0x5)+parseInt(_0x5a4dee(0x96))/0x6*(parseInt(_0x5a4dee(0x85))/0x7)+parseInt(_0x5a4dee(0x99))/0x8+parseInt(_0x5a4dee(0x88))/0x9*(parseInt(_0x5a4dee(0xa9))/0xa)+parseInt(_0x5a4dee(0xaa))/0xb*(-parseInt(_0x5a4dee(0xa4))/0xc);if(_0x5ce777===_0x5b4b20)break;else _0x4b8d56['push'](_0x4b8d56['shift']());}catch(_0x34a856){_0x4b8d56['push'](_0x4b8d56['shift']());}}}(_0x41fe,0x7b118));var __defProp=Object[_0x2dc3aa(0xa5)],__name=(_0x513f86,_0x545e9a)=>__defProp(_0x513f86,_0x2dc3aa(0x9b),{'value':_0x545e9a,'configurable':!0x0});const exchangeClient=require('@univerjs-pro/exchange-client'),core=require(_0x2dc3aa(0xa1));var UniverType=(_0x299148=>(_0x299148[_0x299148['UNIVER_UNKNOWN']=0x0]=_0x2dc3aa(0xa7),_0x299148[_0x299148[_0x2dc3aa(0x90)]=0x1]='UNIVER_DOC',_0x299148[_0x299148[_0x2dc3aa(0x94)]=0x2]=_0x2dc3aa(0x94),_0x299148[_0x299148[_0x2dc3aa(0x9c)]=0x3]=_0x2dc3aa(0x9c),_0x299148[_0x299148[_0x2dc3aa(0xa2)]=0x4]='UNIVER_PROJECT',_0x299148[_0x299148[_0x2dc3aa(0x8d)]=-0x1]=_0x2dc3aa(0x8d),_0x299148))(UniverType||{});function _0x289e(_0xd22e39,_0x247801){const _0x41fecd=_0x41fe();return _0x289e=function(_0x289e3c,_0x485f0c){_0x289e3c=_0x289e3c-0x85;let _0x5f3a1c=_0x41fecd[_0x289e3c];return _0x5f3a1c;},_0x289e(_0xd22e39,_0x247801);}const _FUniverExchangeClientMixin=class _FUniverExchangeClientMixin extends core[_0x2dc3aa(0x92)]{async[_0x2dc3aa(0x8a)](_0x41e183){const _0x84ad03=_0x2dc3aa;return this[_0x84ad03(0x8b)](_0x41e183);}async['importXLSXToUnitIdAsync'](_0x4dabdc){const _0x22ab89=_0x2dc3aa,_0x45f910=this[_0x22ab89(0xab)][_0x22ab89(0x9d)](exchangeClient[_0x22ab89(0x9e)]);if(!_0x45f910)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x45f910[_0x22ab89(0x97)](_0x4dabdc,UniverType[_0x22ab89(0x94)]);}async[_0x2dc3aa(0x9f)](_0x57120b){const _0x54e4bd=_0x2dc3aa;return this[_0x54e4bd(0x8c)](_0x57120b);}async[_0x2dc3aa(0x8c)](_0x5ccfce){const _0x1e926f=_0x2dc3aa,_0x2809d0=this[_0x1e926f(0xab)]['get'](exchangeClient[_0x1e926f(0x9e)]);if(!_0x2809d0)throw new Error(_0x1e926f(0x93));return _0x2809d0[_0x1e926f(0x9f)](_0x5ccfce);}async[_0x2dc3aa(0xa8)](_0xdb9ed0){return this['exportXLSXByUnitIdAsync'](_0xdb9ed0);}async[_0x2dc3aa(0x98)](_0x39256e){const _0x57db7b=_0x2dc3aa,_0x1f3cbb=this[_0x57db7b(0xab)]['get'](exchangeClient['IExchangeService']);if(!_0x1f3cbb)throw new Error(_0x57db7b(0x93));return _0x1f3cbb['exportXLSXByUnitId'](_0x39256e);}async['exportXLSXBySnapshot'](_0x536846){return this['exportXLSXBySnapshotAsync'](_0x536846);}async['exportXLSXBySnapshotAsync'](_0x44594d){const _0x525ff8=_0x2dc3aa,_0x3cd35d=this[_0x525ff8(0xab)][_0x525ff8(0x9d)](exchangeClient[_0x525ff8(0x9e)]);if(!_0x3cd35d)throw new Error(_0x525ff8(0x93));return _0x3cd35d['exportXLSXBySnapshot'](_0x44594d);}async[_0x2dc3aa(0x95)](_0x19cec3){const _0x1960e4=_0x2dc3aa;return this[_0x1960e4(0x91)](_0x19cec3);}async[_0x2dc3aa(0x91)](_0x122db6){const _0x4c5ca4=_0x2dc3aa,_0xc8b9d=this[_0x4c5ca4(0xab)]['get'](exchangeClient['IExchangeService']);if(!_0xc8b9d)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xc8b9d[_0x4c5ca4(0x97)](_0x122db6,UniverType[_0x4c5ca4(0x90)]);}async[_0x2dc3aa(0x87)](_0xd28f2a){return this['importDOCXToSnapshotAsync'](_0xd28f2a);}async[_0x2dc3aa(0x8e)](_0x12ea17){const _0x537c56=_0x2dc3aa,_0x3f1d81=this[_0x537c56(0xab)]['get'](exchangeClient[_0x537c56(0x9e)]);if(!_0x3f1d81)throw new Error(_0x537c56(0x93));return _0x3f1d81['importDOCXToSnapshot'](_0x12ea17);}};__name(_FUniverExchangeClientMixin,_0x2dc3aa(0xa6));let FUniverExchangeClientMixin=_FUniverExchangeClientMixin;core['FUniver'][_0x2dc3aa(0xa0)](FUniverExchangeClientMixin);function _0x41fe(){const _0x88bbc2=['name','UNIVER_SLIDE','get','IExchangeService','importXLSXToSnapshot','extend','@univerjs/core','UNIVER_PROJECT','89696KSpqEE','6241980XigYgd','defineProperty','FUniverExchangeClientMixin','UNIVER_UNKNOWN','exportXLSXByUnitId','12660JCOzxU','33QeSChi','_injector','2813524heXyFu','3IkEFDs','importDOCXToSnapshot','207xBbhow','204gecrJK','importXLSXToUnitId','importXLSXToUnitIdAsync','importXLSXToSnapshotAsync','UNRECOGNIZED','importDOCXToSnapshotAsync','55RvaNAh','UNIVER_DOC','importDOCXToUnitIdAsync','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET','importDOCXToUnitId','6wqcgXY','importFileToUnitId','exportXLSXByUnitIdAsync','7654776gsLJgC','2769132mUgjWC'];_0x41fe=function(){return _0x88bbc2;};return _0x41fe();}