@univerjs-pro/exchange-client 0.5.3-nightly.202501051605 → 0.5.3-nightly.202501060906

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 _0x92a0f5=_0x2824;function _0x2824(_0xbd669a,_0x5fea1e){const _0x446467=_0x4464();return _0x2824=function(_0x28240a,_0x31aa2d){_0x28240a=_0x28240a-0xff;let _0x426633=_0x446467[_0x28240a];return _0x426633;},_0x2824(_0xbd669a,_0x5fea1e);}(function(_0x16dd5c,_0x592cbb){const _0x4ca3b4=_0x2824,_0x2f4f47=_0x16dd5c();while(!![]){try{const _0x1e8c5c=parseInt(_0x4ca3b4(0x101))/0x1*(-parseInt(_0x4ca3b4(0x10f))/0x2)+parseInt(_0x4ca3b4(0x10c))/0x3*(-parseInt(_0x4ca3b4(0x111))/0x4)+parseInt(_0x4ca3b4(0x10e))/0x5+parseInt(_0x4ca3b4(0x10b))/0x6+-parseInt(_0x4ca3b4(0x119))/0x7+-parseInt(_0x4ca3b4(0xff))/0x8*(parseInt(_0x4ca3b4(0x105))/0x9)+parseInt(_0x4ca3b4(0x109))/0xa*(parseInt(_0x4ca3b4(0x100))/0xb);if(_0x1e8c5c===_0x592cbb)break;else _0x2f4f47['push'](_0x2f4f47['shift']());}catch(_0x454ecc){_0x2f4f47['push'](_0x2f4f47['shift']());}}}(_0x4464,0x4cadf));function _0x4464(){const _0x14bd96=['importXLSXToUnitId','importXLSXToSnapshot','extend','2280kHYOmT','The\x20exchange\x20service\x20is\x20not\x20available','3671076SKpKhK','4755JILgZx','UNIVER_PROJECT','1810255yPxThq','4550MgpHok','UNIVER_UNKNOWN','1372UyEjsY','importDOCXToUnitId','get','importFileToUnitId','importDOCXToSnapshot','UNIVER_SHEET','UNIVER_DOC','IExchangeService','940744tISWFG','UNRECOGNIZED','@univerjs/core','1071208bWqfBQ','26422kyCgJZ','115bIGqZX','exportXLSXBySnapshot','FUniver','_injector','18bAfQMn'];_0x4464=function(){return _0x14bd96;};return _0x4464();}const c=require(_0x92a0f5(0x11b)),n=require('@univerjs-pro/exchange-client');var i=(_0x237ce2=>(_0x237ce2[_0x237ce2[_0x92a0f5(0x110)]=0x0]=_0x92a0f5(0x110),_0x237ce2[_0x237ce2['UNIVER_DOC']=0x1]=_0x92a0f5(0x117),_0x237ce2[_0x237ce2[_0x92a0f5(0x116)]=0x2]=_0x92a0f5(0x116),_0x237ce2[_0x237ce2['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x237ce2[_0x237ce2[_0x92a0f5(0x10d)]=0x4]=_0x92a0f5(0x10d),_0x237ce2[_0x237ce2[_0x92a0f5(0x11a)]=-0x1]=_0x92a0f5(0x11a),_0x237ce2))(i||{});class o extends c[_0x92a0f5(0x103)]{async[_0x92a0f5(0x106)](_0x17af46){const _0x4f0fea=_0x92a0f5,_0x5d2407=this[_0x4f0fea(0x104)]['get'](n[_0x4f0fea(0x118)]);if(!_0x5d2407)throw new Error(_0x4f0fea(0x10a));return _0x5d2407[_0x4f0fea(0x114)](_0x17af46,i[_0x4f0fea(0x116)]);}async[_0x92a0f5(0x107)](_0x197510){const _0x1a45b7=_0x92a0f5,_0x2f64b7=this[_0x1a45b7(0x104)][_0x1a45b7(0x113)](n['IExchangeService']);if(!_0x2f64b7)throw new Error(_0x1a45b7(0x10a));return _0x2f64b7['importXLSXToSnapshot'](_0x197510);}async['exportXLSXByUnitId'](_0x395e10){const _0x2b5e57=_0x92a0f5,_0x95d4bc=this[_0x2b5e57(0x104)][_0x2b5e57(0x113)](n[_0x2b5e57(0x118)]);if(!_0x95d4bc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x95d4bc['exportXLSXByUnitId'](_0x395e10);}async[_0x92a0f5(0x102)](_0x442afe){const _0x2ab418=_0x92a0f5,_0x440470=this[_0x2ab418(0x104)][_0x2ab418(0x113)](n[_0x2ab418(0x118)]);if(!_0x440470)throw new Error(_0x2ab418(0x10a));return _0x440470['exportXLSXBySnapshot'](_0x442afe);}async[_0x92a0f5(0x112)](_0xf212cd){const _0xa6935e=_0x92a0f5,_0x507f85=this[_0xa6935e(0x104)]['get'](n[_0xa6935e(0x118)]);if(!_0x507f85)throw new Error(_0xa6935e(0x10a));return _0x507f85['importFileToUnitId'](_0xf212cd,i[_0xa6935e(0x117)]);}async[_0x92a0f5(0x115)](_0x28d483){const _0x48714b=_0x92a0f5,_0x58daa8=this[_0x48714b(0x104)]['get'](n[_0x48714b(0x118)]);if(!_0x58daa8)throw new Error(_0x48714b(0x10a));return _0x58daa8[_0x48714b(0x115)](_0x28d483);}}c[_0x92a0f5(0x103)][_0x92a0f5(0x108)](o);
1
+ 'use strict';const _0x5e5c56=_0x1394;(function(_0x328a27,_0x277192){const _0x1c28e0=_0x1394,_0x279c45=_0x328a27();while(!![]){try{const _0x6a7ab8=-parseInt(_0x1c28e0(0x1c1))/0x1*(-parseInt(_0x1c28e0(0x1d6))/0x2)+parseInt(_0x1c28e0(0x1d2))/0x3*(parseInt(_0x1c28e0(0x1d0))/0x4)+parseInt(_0x1c28e0(0x1dd))/0x5*(parseInt(_0x1c28e0(0x1db))/0x6)+-parseInt(_0x1c28e0(0x1ce))/0x7*(-parseInt(_0x1c28e0(0x1da))/0x8)+parseInt(_0x1c28e0(0x1cc))/0x9+parseInt(_0x1c28e0(0x1d4))/0xa+-parseInt(_0x1c28e0(0x1d5))/0xb*(parseInt(_0x1c28e0(0x1d3))/0xc);if(_0x6a7ab8===_0x277192)break;else _0x279c45['push'](_0x279c45['shift']());}catch(_0x3192be){_0x279c45['push'](_0x279c45['shift']());}}}(_0x489e,0xcf712));function _0x489e(){const _0x45a016=['UNIVER_DOC','4000888EvwjDe','2938818ylibxo','get','10dWPEjc','@univerjs/core','exportXLSXByUnitId','903851sTtXTn','UNIVER_UNKNOWN','importFileToUnitId','_injector','FUniver','The\x20exchange\x20service\x20is\x20not\x20available','importXLSXToUnitId','UNIVER_PROJECT','UNIVER_SHEET','UNRECOGNIZED','UNIVER_SLIDE','5336523PchmcP','exportXLSXBySnapshot','21KZnPpS','importDOCXToUnitId','2332EBiehU','importDOCXToSnapshot','4227kNvvkY','1644EahkAH','14373790felcgq','432443GPDczl','2ppctbV','IExchangeService','importXLSXToSnapshot'];_0x489e=function(){return _0x45a016;};return _0x489e();}const c=require(_0x5e5c56(0x1bf)),n=require('@univerjs-pro/exchange-client');var i=(_0x586830=>(_0x586830[_0x586830[_0x5e5c56(0x1c2)]=0x0]='UNIVER_UNKNOWN',_0x586830[_0x586830[_0x5e5c56(0x1d9)]=0x1]=_0x5e5c56(0x1d9),_0x586830[_0x586830['UNIVER_SHEET']=0x2]=_0x5e5c56(0x1c9),_0x586830[_0x586830['UNIVER_SLIDE']=0x3]=_0x5e5c56(0x1cb),_0x586830[_0x586830[_0x5e5c56(0x1c8)]=0x4]=_0x5e5c56(0x1c8),_0x586830[_0x586830[_0x5e5c56(0x1ca)]=-0x1]=_0x5e5c56(0x1ca),_0x586830))(i||{});function _0x1394(_0x45dda4,_0x4a3406){const _0x489e03=_0x489e();return _0x1394=function(_0x13942a,_0x5e98df){_0x13942a=_0x13942a-0x1bf;let _0x32e558=_0x489e03[_0x13942a];return _0x32e558;},_0x1394(_0x45dda4,_0x4a3406);}class o extends c[_0x5e5c56(0x1c5)]{async[_0x5e5c56(0x1c7)](_0x3eb637){const _0x57e31f=_0x5e5c56,_0x1313bb=this[_0x57e31f(0x1c4)][_0x57e31f(0x1dc)](n['IExchangeService']);if(!_0x1313bb)throw new Error(_0x57e31f(0x1c6));return _0x1313bb[_0x57e31f(0x1c3)](_0x3eb637,i[_0x57e31f(0x1c9)]);}async['importXLSXToSnapshot'](_0x597478){const _0x155a35=_0x5e5c56,_0x5cf334=this[_0x155a35(0x1c4)][_0x155a35(0x1dc)](n[_0x155a35(0x1d7)]);if(!_0x5cf334)throw new Error(_0x155a35(0x1c6));return _0x5cf334[_0x155a35(0x1d8)](_0x597478);}async[_0x5e5c56(0x1c0)](_0x2db3dc){const _0x2ac32f=_0x5e5c56,_0xff27bb=this[_0x2ac32f(0x1c4)]['get'](n[_0x2ac32f(0x1d7)]);if(!_0xff27bb)throw new Error(_0x2ac32f(0x1c6));return _0xff27bb[_0x2ac32f(0x1c0)](_0x2db3dc);}async[_0x5e5c56(0x1cd)](_0x37b9ce){const _0x28e1cb=_0x5e5c56,_0x3eff30=this['_injector'][_0x28e1cb(0x1dc)](n[_0x28e1cb(0x1d7)]);if(!_0x3eff30)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3eff30[_0x28e1cb(0x1cd)](_0x37b9ce);}async[_0x5e5c56(0x1cf)](_0x275481){const _0x13787b=_0x5e5c56,_0x2c4eb6=this[_0x13787b(0x1c4)]['get'](n[_0x13787b(0x1d7)]);if(!_0x2c4eb6)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2c4eb6[_0x13787b(0x1c3)](_0x275481,i[_0x13787b(0x1d9)]);}async[_0x5e5c56(0x1d1)](_0x4433a9){const _0x3f523a=_0x5e5c56,_0x5a1249=this[_0x3f523a(0x1c4)][_0x3f523a(0x1dc)](n[_0x3f523a(0x1d7)]);if(!_0x5a1249)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5a1249['importDOCXToSnapshot'](_0x4433a9);}}c[_0x5e5c56(0x1c5)]['extend'](o);