@univerjs-pro/exchange-client 0.5.3-nightly.202501041605 → 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 _0x3ec0a3=_0x1a22;function _0x6094(){const _0x199617=['380919auEMbu','@univerjs/core','UNIVER_UNKNOWN','importDOCXToUnitId','UNIVER_SHEET','importDOCXToSnapshot','1707132JPoJXQ','UNIVER_SLIDE','get','exportXLSXBySnapshot','importFileToUnitId','87024EkyAUx','UNRECOGNIZED','92515QHKryd','UNIVER_PROJECT','8YqIHut','300082ZBtErl','exportXLSXByUnitId','FUniver','@univerjs-pro/exchange-client','78PuswDe','1201230MhAeGY','importXLSXToSnapshot','18VFjTIr','The\x20exchange\x20service\x20is\x20not\x20available','619712JIhYix','_injector','IExchangeService','extend','UNIVER_DOC'];_0x6094=function(){return _0x199617;};return _0x6094();}(function(_0x44494b,_0x11c23a){const _0x5752ce=_0x1a22,_0x57c01d=_0x44494b();while(!![]){try{const _0x1a3bb3=parseInt(_0x5752ce(0x1c3))/0x1+-parseInt(_0x5752ce(0x1be))/0x2+parseInt(_0x5752ce(0x1d1))/0x3*(parseInt(_0x5752ce(0x1c2))/0x4)+parseInt(_0x5752ce(0x1c0))/0x5*(-parseInt(_0x5752ce(0x1c7))/0x6)+parseInt(_0x5752ce(0x1b9))/0x7+-parseInt(_0x5752ce(0x1cc))/0x8+-parseInt(_0x5752ce(0x1ca))/0x9*(parseInt(_0x5752ce(0x1c8))/0xa);if(_0x1a3bb3===_0x11c23a)break;else _0x57c01d['push'](_0x57c01d['shift']());}catch(_0x297be6){_0x57c01d['push'](_0x57c01d['shift']());}}}(_0x6094,0x2fe2f));function _0x1a22(_0x1fec48,_0x5b436c){const _0x6094ed=_0x6094();return _0x1a22=function(_0x1a2271,_0x40e139){_0x1a2271=_0x1a2271-0x1b6;let _0x4f9412=_0x6094ed[_0x1a2271];return _0x4f9412;},_0x1a22(_0x1fec48,_0x5b436c);}const c=require(_0x3ec0a3(0x1d2)),n=require(_0x3ec0a3(0x1c6));var i=(_0x38da79=>(_0x38da79[_0x38da79[_0x3ec0a3(0x1d3)]=0x0]='UNIVER_UNKNOWN',_0x38da79[_0x38da79[_0x3ec0a3(0x1d0)]=0x1]=_0x3ec0a3(0x1d0),_0x38da79[_0x38da79[_0x3ec0a3(0x1b7)]=0x2]='UNIVER_SHEET',_0x38da79[_0x38da79[_0x3ec0a3(0x1ba)]=0x3]=_0x3ec0a3(0x1ba),_0x38da79[_0x38da79[_0x3ec0a3(0x1c1)]=0x4]=_0x3ec0a3(0x1c1),_0x38da79[_0x38da79[_0x3ec0a3(0x1bf)]=-0x1]=_0x3ec0a3(0x1bf),_0x38da79))(i||{});class o extends c[_0x3ec0a3(0x1c5)]{async['importXLSXToUnitId'](_0x31633d){const _0x3c6ae3=_0x3ec0a3,_0x4b979a=this['_injector'][_0x3c6ae3(0x1bb)](n['IExchangeService']);if(!_0x4b979a)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4b979a[_0x3c6ae3(0x1bd)](_0x31633d,i[_0x3c6ae3(0x1b7)]);}async[_0x3ec0a3(0x1c9)](_0x3957d4){const _0x3a44d6=_0x3ec0a3,_0x193883=this[_0x3a44d6(0x1cd)][_0x3a44d6(0x1bb)](n[_0x3a44d6(0x1ce)]);if(!_0x193883)throw new Error(_0x3a44d6(0x1cb));return _0x193883['importXLSXToSnapshot'](_0x3957d4);}async[_0x3ec0a3(0x1c4)](_0x10e27d){const _0x54408b=_0x3ec0a3,_0x224b53=this[_0x54408b(0x1cd)][_0x54408b(0x1bb)](n[_0x54408b(0x1ce)]);if(!_0x224b53)throw new Error(_0x54408b(0x1cb));return _0x224b53['exportXLSXByUnitId'](_0x10e27d);}async[_0x3ec0a3(0x1bc)](_0xcdc40b){const _0x579a82=_0x3ec0a3,_0x5d96c7=this[_0x579a82(0x1cd)][_0x579a82(0x1bb)](n[_0x579a82(0x1ce)]);if(!_0x5d96c7)throw new Error(_0x579a82(0x1cb));return _0x5d96c7[_0x579a82(0x1bc)](_0xcdc40b);}async[_0x3ec0a3(0x1b6)](_0xc938c3){const _0x2c19f0=_0x3ec0a3,_0x17d02a=this['_injector'][_0x2c19f0(0x1bb)](n[_0x2c19f0(0x1ce)]);if(!_0x17d02a)throw new Error(_0x2c19f0(0x1cb));return _0x17d02a[_0x2c19f0(0x1bd)](_0xc938c3,i[_0x2c19f0(0x1d0)]);}async[_0x3ec0a3(0x1b8)](_0x2e3223){const _0x26058d=_0x3ec0a3,_0x7aee19=this[_0x26058d(0x1cd)][_0x26058d(0x1bb)](n[_0x26058d(0x1ce)]);if(!_0x7aee19)throw new Error(_0x26058d(0x1cb));return _0x7aee19['importDOCXToSnapshot'](_0x2e3223);}}c[_0x3ec0a3(0x1c5)][_0x3ec0a3(0x1cf)](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);