@univerjs-pro/exchange-client 0.5.4-nightly.202501171120 → 0.5.4-nightly.202501171606

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 _0x59094b=_0x56b9;(function(_0x1550b7,_0x2f714c){const _0x4a43de=_0x56b9,_0x2c0550=_0x1550b7();while(!![]){try{const _0x4e8c96=-parseInt(_0x4a43de(0x1c6))/0x1*(-parseInt(_0x4a43de(0x1d1))/0x2)+-parseInt(_0x4a43de(0x1dc))/0x3+-parseInt(_0x4a43de(0x1cd))/0x4*(-parseInt(_0x4a43de(0x1d0))/0x5)+parseInt(_0x4a43de(0x1c1))/0x6*(-parseInt(_0x4a43de(0x1bf))/0x7)+parseInt(_0x4a43de(0x1c8))/0x8*(-parseInt(_0x4a43de(0x1c5))/0x9)+-parseInt(_0x4a43de(0x1d3))/0xa+parseInt(_0x4a43de(0x1d6))/0xb;if(_0x4e8c96===_0x2f714c)break;else _0x2c0550['push'](_0x2c0550['shift']());}catch(_0x427488){_0x2c0550['push'](_0x2c0550['shift']());}}}(_0x449d,0x406fc));const r=require(_0x59094b(0x1c7)),i=require(_0x59094b(0x1d7));var o=(_0x293984=>(_0x293984[_0x293984['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x293984[_0x293984[_0x59094b(0x1d5)]=0x1]=_0x59094b(0x1d5),_0x293984[_0x293984[_0x59094b(0x1bc)]=0x2]=_0x59094b(0x1bc),_0x293984[_0x293984[_0x59094b(0x1c2)]=0x3]=_0x59094b(0x1c2),_0x293984[_0x293984[_0x59094b(0x1c4)]=0x4]=_0x59094b(0x1c4),_0x293984[_0x293984['UNRECOGNIZED']=-0x1]=_0x59094b(0x1ce),_0x293984))(o||{});function _0x449d(){const _0x5e922d=['UNIVER_SHEET','importXLSXToUnitId','importXLSXToUnitIdAsync','4137NgqEOq','_injector','4080iFdepn','UNIVER_SLIDE','extend','UNIVER_PROJECT','788652RXmUoI','8bOdlUy','@univerjs-pro/exchange-client','8vfoRjl','exportXLSXByUnitIdAsync','get','importFileToUnitId','importDOCXToSnapshotAsync','136OtipzW','UNRECOGNIZED','importXLSXToSnapshotAsync','64280UsVikN','27344VkcbAt','importDOCXToSnapshot','2009160tVMnSM','exportXLSXBySnapshotAsync','UNIVER_DOC','5825072JmIupT','@univerjs/core','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToSnapshot','FUniver','365028zIrPYj','importDOCXToUnitIdAsync','exportXLSXBySnapshot'];_0x449d=function(){return _0x5e922d;};return _0x449d();}class c extends i['FUniver']{async[_0x59094b(0x1bd)](_0x545b28){const _0x28eb14=_0x59094b;return this[_0x28eb14(0x1be)](_0x545b28);}async[_0x59094b(0x1be)](_0x14debc){const _0x1aa29c=_0x59094b,_0x532020=this['_injector'][_0x1aa29c(0x1ca)](r['IExchangeService']);if(!_0x532020)throw new Error(_0x1aa29c(0x1d9));return _0x532020[_0x1aa29c(0x1cb)](_0x14debc,o['UNIVER_SHEET']);}async[_0x59094b(0x1da)](_0xe81cfd){const _0x5a23a2=_0x59094b;return this[_0x5a23a2(0x1cf)](_0xe81cfd);}async[_0x59094b(0x1cf)](_0x2b92b9){const _0x5e8658=_0x59094b,_0x48349d=this['_injector']['get'](r[_0x5e8658(0x1d8)]);if(!_0x48349d)throw new Error(_0x5e8658(0x1d9));return _0x48349d['importXLSXToSnapshot'](_0x2b92b9);}async['exportXLSXByUnitId'](_0x2fa0e9){const _0x1a007d=_0x59094b;return this[_0x1a007d(0x1c9)](_0x2fa0e9);}async[_0x59094b(0x1c9)](_0x11e2cf){const _0x368858=_0x59094b,_0x5abde2=this[_0x368858(0x1c0)][_0x368858(0x1ca)](r[_0x368858(0x1d8)]);if(!_0x5abde2)throw new Error(_0x368858(0x1d9));return _0x5abde2['exportXLSXByUnitId'](_0x11e2cf);}async[_0x59094b(0x1bb)](_0x9879c9){const _0x55efd4=_0x59094b;return this[_0x55efd4(0x1d4)](_0x9879c9);}async[_0x59094b(0x1d4)](_0x484bd4){const _0x4cb17f=_0x59094b,_0x550d4e=this[_0x4cb17f(0x1c0)][_0x4cb17f(0x1ca)](r['IExchangeService']);if(!_0x550d4e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x550d4e[_0x4cb17f(0x1bb)](_0x484bd4);}async['importDOCXToUnitId'](_0x1d1c4e){const _0x24cb1a=_0x59094b;return this[_0x24cb1a(0x1ba)](_0x1d1c4e);}async[_0x59094b(0x1ba)](_0x2cadbb){const _0xc94c9f=_0x59094b,_0x506b35=this[_0xc94c9f(0x1c0)][_0xc94c9f(0x1ca)](r[_0xc94c9f(0x1d8)]);if(!_0x506b35)throw new Error(_0xc94c9f(0x1d9));return _0x506b35[_0xc94c9f(0x1cb)](_0x2cadbb,o[_0xc94c9f(0x1d5)]);}async[_0x59094b(0x1d2)](_0x10fe5e){const _0x2a1ed4=_0x59094b;return this[_0x2a1ed4(0x1cc)](_0x10fe5e);}async[_0x59094b(0x1cc)](_0x4b016e){const _0x352a06=_0x59094b,_0x141dd7=this[_0x352a06(0x1c0)][_0x352a06(0x1ca)](r[_0x352a06(0x1d8)]);if(!_0x141dd7)throw new Error(_0x352a06(0x1d9));return _0x141dd7[_0x352a06(0x1d2)](_0x4b016e);}}function _0x56b9(_0x4f9681,_0x1ca616){const _0x449d36=_0x449d();return _0x56b9=function(_0x56b9a8,_0x2fa251){_0x56b9a8=_0x56b9a8-0x1ba;let _0x4fc4f9=_0x449d36[_0x56b9a8];return _0x4fc4f9;},_0x56b9(_0x4f9681,_0x1ca616);}i[_0x59094b(0x1db)][_0x59094b(0x1c3)](c);
1
+ 'use strict';const _0x743f64=_0x3b01;(function(_0x49287a,_0x38f35b){const _0x479eb7=_0x3b01,_0x4ed400=_0x49287a();while(!![]){try{const _0x4ad577=parseInt(_0x479eb7(0xa2))/0x1*(parseInt(_0x479eb7(0xb2))/0x2)+parseInt(_0x479eb7(0xa9))/0x3*(-parseInt(_0x479eb7(0xaf))/0x4)+-parseInt(_0x479eb7(0xaa))/0x5*(-parseInt(_0x479eb7(0xa8))/0x6)+-parseInt(_0x479eb7(0x98))/0x7+parseInt(_0x479eb7(0x9f))/0x8+-parseInt(_0x479eb7(0xb1))/0x9+-parseInt(_0x479eb7(0xb9))/0xa*(-parseInt(_0x479eb7(0xb5))/0xb);if(_0x4ad577===_0x38f35b)break;else _0x4ed400['push'](_0x4ed400['shift']());}catch(_0x2d1b96){_0x4ed400['push'](_0x4ed400['shift']());}}}(_0x520a,0xc5f21));const r=require(_0x743f64(0xa6)),i=require(_0x743f64(0x9d));var o=(_0x124949=>(_0x124949[_0x124949['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x124949[_0x124949[_0x743f64(0xb6)]=0x1]=_0x743f64(0xb6),_0x124949[_0x124949[_0x743f64(0x9c)]=0x2]=_0x743f64(0x9c),_0x124949[_0x124949[_0x743f64(0xa0)]=0x3]=_0x743f64(0xa0),_0x124949[_0x124949[_0x743f64(0x97)]=0x4]=_0x743f64(0x97),_0x124949[_0x124949[_0x743f64(0xa7)]=-0x1]='UNRECOGNIZED',_0x124949))(o||{});function _0x3b01(_0x5751ad,_0x54cefe){const _0x520a30=_0x520a();return _0x3b01=function(_0x3b0157,_0x40e41a){_0x3b0157=_0x3b0157-0x96;let _0xfef8c7=_0x520a30[_0x3b0157];return _0xfef8c7;},_0x3b01(_0x5751ad,_0x54cefe);}class c extends i[_0x743f64(0xb8)]{async[_0x743f64(0x9e)](_0x23c746){const _0x5daaa5=_0x743f64;return this[_0x5daaa5(0x9a)](_0x23c746);}async[_0x743f64(0x9a)](_0x17b1a1){const _0x2bcbfd=_0x743f64,_0x4ad1fe=this['_injector'][_0x2bcbfd(0x99)](r[_0x2bcbfd(0xa1)]);if(!_0x4ad1fe)throw new Error(_0x2bcbfd(0xad));return _0x4ad1fe[_0x2bcbfd(0xa3)](_0x17b1a1,o[_0x2bcbfd(0x9c)]);}async[_0x743f64(0xb7)](_0x5b4b50){return this['importXLSXToSnapshotAsync'](_0x5b4b50);}async[_0x743f64(0xac)](_0x24fd87){const _0x6c5745=_0x743f64,_0x441954=this[_0x6c5745(0xb0)][_0x6c5745(0x99)](r[_0x6c5745(0xa1)]);if(!_0x441954)throw new Error(_0x6c5745(0xad));return _0x441954['importXLSXToSnapshot'](_0x24fd87);}async['exportXLSXByUnitId'](_0x5f2a73){const _0x173595=_0x743f64;return this[_0x173595(0x96)](_0x5f2a73);}async[_0x743f64(0x96)](_0x4866c8){const _0xfdf840=_0x743f64,_0x39d253=this[_0xfdf840(0xb0)]['get'](r['IExchangeService']);if(!_0x39d253)throw new Error(_0xfdf840(0xad));return _0x39d253[_0xfdf840(0xab)](_0x4866c8);}async[_0x743f64(0xba)](_0x5aba46){return this['exportXLSXBySnapshotAsync'](_0x5aba46);}async[_0x743f64(0xb3)](_0x26a11b){const _0x32b6a5=_0x743f64,_0x2e6d2a=this['_injector']['get'](r['IExchangeService']);if(!_0x2e6d2a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2e6d2a[_0x32b6a5(0xba)](_0x26a11b);}async[_0x743f64(0xa5)](_0x5358db){const _0xbc43c3=_0x743f64;return this[_0xbc43c3(0xb4)](_0x5358db);}async['importDOCXToUnitIdAsync'](_0x295b5b){const _0x4f03f6=_0x743f64,_0x428142=this[_0x4f03f6(0xb0)][_0x4f03f6(0x99)](r[_0x4f03f6(0xa1)]);if(!_0x428142)throw new Error(_0x4f03f6(0xad));return _0x428142[_0x4f03f6(0xa3)](_0x295b5b,o['UNIVER_DOC']);}async[_0x743f64(0xa4)](_0x7f2f3b){const _0x4fbe0=_0x743f64;return this[_0x4fbe0(0x9b)](_0x7f2f3b);}async['importDOCXToSnapshotAsync'](_0x1b2b2e){const _0x5019b5=_0x743f64,_0x3d1983=this['_injector'][_0x5019b5(0x99)](r[_0x5019b5(0xa1)]);if(!_0x3d1983)throw new Error(_0x5019b5(0xad));return _0x3d1983[_0x5019b5(0xa4)](_0x1b2b2e);}}function _0x520a(){const _0xe4dc=['11285988FYXifi','get','importXLSXToUnitIdAsync','importDOCXToSnapshotAsync','UNIVER_SHEET','@univerjs/core','importXLSXToUnitId','5833792TXaHqd','UNIVER_SLIDE','IExchangeService','47fTlTCu','importFileToUnitId','importDOCXToSnapshot','importDOCXToUnitId','@univerjs-pro/exchange-client','UNRECOGNIZED','18xXwSws','1119JTFTwJ','707705dzWgwl','exportXLSXByUnitId','importXLSXToSnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','extend','16432dLOqCG','_injector','7330275SUBGcI','35704OXfpDo','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','112717QuLhCc','UNIVER_DOC','importXLSXToSnapshot','FUniver','2710MsYHez','exportXLSXBySnapshot','exportXLSXByUnitIdAsync','UNIVER_PROJECT'];_0x520a=function(){return _0xe4dc;};return _0x520a();}i[_0x743f64(0xb8)][_0x743f64(0xae)](c);