@univerjs-pro/exchange-client 0.5.0-nightly.202411230545 → 0.5.0-nightly.202411231605

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 _0x2871(){const _0x1f8c26=['_injector','UNRECOGNIZED','11NywKob','The\x20exchange\x20service\x20is\x20not\x20available','60AqNkPX','2sItrpi','9189383ltMUvk','@univerjs-pro/exchange-client','129364oWIZyN','importDOCXToUnitId','FUniver','828MhZaYI','IExchangeService','importDOCXToSnapshot','UNIVER_UNKNOWN','18kypKtz','importXLSXToSnapshot','UNIVER_SLIDE','get','295102OEHHsQ','UNIVER_DOC','exportXLSXByUnitId','UNIVER_SHEET','8138830nfJQUK','374165TtHHai','5247180pbngZT','importFileToUnitId','@univerjs/core','42792jnZXju','UNIVER_PROJECT','importXLSXToUnitId'];_0x2871=function(){return _0x1f8c26;};return _0x2871();}const _0x283dd4=_0x16c2;(function(_0x1b03ae,_0x5159b2){const _0x265b52=_0x16c2,_0x242454=_0x1b03ae();while(!![]){try{const _0xe93c37=-parseInt(_0x265b52(0xab))/0x1*(parseInt(_0x265b52(0x9d))/0x2)+-parseInt(_0x265b52(0x9c))/0x3*(parseInt(_0x265b52(0xa0))/0x4)+parseInt(_0x265b52(0xb0))/0x5*(-parseInt(_0x265b52(0xa7))/0x6)+parseInt(_0x265b52(0x9e))/0x7+-parseInt(_0x265b52(0xb4))/0x8*(parseInt(_0x265b52(0xa3))/0x9)+-parseInt(_0x265b52(0xaf))/0xa*(-parseInt(_0x265b52(0xb9))/0xb)+parseInt(_0x265b52(0xb1))/0xc;if(_0xe93c37===_0x5159b2)break;else _0x242454['push'](_0x242454['shift']());}catch(_0x3fb170){_0x242454['push'](_0x242454['shift']());}}}(_0x2871,0xdd0ac));function _0x16c2(_0x2ab37b,_0x30b299){const _0x2871b8=_0x2871();return _0x16c2=function(_0x16c2f6,_0x33e919){_0x16c2f6=_0x16c2f6-0x9b;let _0x1fb982=_0x2871b8[_0x16c2f6];return _0x1fb982;},_0x16c2(_0x2ab37b,_0x30b299);}const c=require(_0x283dd4(0xb3)),n=require(_0x283dd4(0x9f));var i=(_0x192421=>(_0x192421[_0x192421[_0x283dd4(0xa6)]=0x0]=_0x283dd4(0xa6),_0x192421[_0x192421[_0x283dd4(0xac)]=0x1]=_0x283dd4(0xac),_0x192421[_0x192421[_0x283dd4(0xae)]=0x2]=_0x283dd4(0xae),_0x192421[_0x192421['UNIVER_SLIDE']=0x3]=_0x283dd4(0xa9),_0x192421[_0x192421['UNIVER_PROJECT']=0x4]=_0x283dd4(0xb5),_0x192421[_0x192421[_0x283dd4(0xb8)]=-0x1]=_0x283dd4(0xb8),_0x192421))(i||{});class o extends c[_0x283dd4(0xa2)]{async[_0x283dd4(0xb6)](_0x3dac38){const _0x51e864=_0x283dd4,_0x55742a=this[_0x51e864(0xb7)][_0x51e864(0xaa)](n['IExchangeService']);if(!_0x55742a)throw new Error(_0x51e864(0x9b));return _0x55742a[_0x51e864(0xb2)](_0x3dac38,i['UNIVER_SHEET']);}async[_0x283dd4(0xa8)](_0x174c72){const _0x1cb5f8=_0x283dd4,_0x252cc1=this[_0x1cb5f8(0xb7)]['get'](n[_0x1cb5f8(0xa4)]);if(!_0x252cc1)throw new Error(_0x1cb5f8(0x9b));return _0x252cc1['importXLSXToSnapshot'](_0x174c72);}async[_0x283dd4(0xad)](_0x5767f4){const _0x123307=_0x283dd4,_0x4a5c2d=this[_0x123307(0xb7)][_0x123307(0xaa)](n[_0x123307(0xa4)]);if(!_0x4a5c2d)throw new Error(_0x123307(0x9b));return _0x4a5c2d[_0x123307(0xad)](_0x5767f4);}async['exportXLSXBySnapshot'](_0x4e9788){const _0x12c9cd=_0x283dd4,_0x4c022a=this['_injector'][_0x12c9cd(0xaa)](n['IExchangeService']);if(!_0x4c022a)throw new Error(_0x12c9cd(0x9b));return _0x4c022a['exportXLSXBySnapshot'](_0x4e9788);}async[_0x283dd4(0xa1)](_0x5cff65){const _0x16382d=_0x283dd4,_0x10f0cc=this[_0x16382d(0xb7)]['get'](n[_0x16382d(0xa4)]);if(!_0x10f0cc)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x10f0cc['importFileToUnitId'](_0x5cff65,i[_0x16382d(0xac)]);}async[_0x283dd4(0xa5)](_0x266279){const _0x2e70c4=_0x283dd4,_0x2414a4=this['_injector'][_0x2e70c4(0xaa)](n[_0x2e70c4(0xa4)]);if(!_0x2414a4)throw new Error(_0x2e70c4(0x9b));return _0x2414a4[_0x2e70c4(0xa5)](_0x266279);}}c[_0x283dd4(0xa2)]['extend'](o);
1
+ 'use strict';const _0x1f00b9=_0x5b33;function _0x255d(){const _0x28c39e=['10336404mKaWHW','IExchangeService','_injector','3910105LWJLwX','exportXLSXByUnitId','FUniver','UNRECOGNIZED','importXLSXToUnitId','51301KPZmcf','UNIVER_PROJECT','@univerjs-pro/exchange-client','20IAkqlV','UNIVER_SHEET','importFileToUnitId','11cTIxBE','get','importXLSXToSnapshot','12htKdSU','45jnozju','35708920WDLzZh','exportXLSXBySnapshot','UNIVER_DOC','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_UNKNOWN','425235XnMvyU','675880mFkGfr','58yAjQEG','21YjPWlK','1598552EqfzaX','@univerjs/core'];_0x255d=function(){return _0x28c39e;};return _0x255d();}(function(_0x59a0b0,_0x1d293){const _0x3c15dc=_0x5b33,_0x29b0e1=_0x59a0b0();while(!![]){try{const _0x37b8e0=-parseInt(_0x3c15dc(0xc8))/0x1*(parseInt(_0x3c15dc(0xbc))/0x2)+-parseInt(_0x3c15dc(0xba))/0x3*(parseInt(_0x3c15dc(0xcb))/0x4)+parseInt(_0x3c15dc(0xc3))/0x5*(-parseInt(_0x3c15dc(0xb3))/0x6)+-parseInt(_0x3c15dc(0xbd))/0x7*(-parseInt(_0x3c15dc(0xbe))/0x8)+-parseInt(_0x3c15dc(0xb4))/0x9*(-parseInt(_0x3c15dc(0xbb))/0xa)+parseInt(_0x3c15dc(0xb0))/0xb*(parseInt(_0x3c15dc(0xc0))/0xc)+parseInt(_0x3c15dc(0xb5))/0xd;if(_0x37b8e0===_0x1d293)break;else _0x29b0e1['push'](_0x29b0e1['shift']());}catch(_0x4c6ceb){_0x29b0e1['push'](_0x29b0e1['shift']());}}}(_0x255d,0xbfad4));function _0x5b33(_0x4b3790,_0x103d5d){const _0x255de4=_0x255d();return _0x5b33=function(_0x5b3344,_0x3c1f0e){_0x5b3344=_0x5b3344-0xb0;let _0x1df127=_0x255de4[_0x5b3344];return _0x1df127;},_0x5b33(_0x4b3790,_0x103d5d);}const c=require(_0x1f00b9(0xbf)),n=require(_0x1f00b9(0xca));var i=(_0x1e38aa=>(_0x1e38aa[_0x1e38aa[_0x1f00b9(0xb9)]=0x0]=_0x1f00b9(0xb9),_0x1e38aa[_0x1e38aa[_0x1f00b9(0xb7)]=0x1]=_0x1f00b9(0xb7),_0x1e38aa[_0x1e38aa[_0x1f00b9(0xcc)]=0x2]=_0x1f00b9(0xcc),_0x1e38aa[_0x1e38aa['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x1e38aa[_0x1e38aa['UNIVER_PROJECT']=0x4]=_0x1f00b9(0xc9),_0x1e38aa[_0x1e38aa[_0x1f00b9(0xc6)]=-0x1]='UNRECOGNIZED',_0x1e38aa))(i||{});class o extends c[_0x1f00b9(0xc5)]{async[_0x1f00b9(0xc7)](_0x1bec53){const _0x28abdd=_0x1f00b9,_0x13590a=this['_injector'][_0x28abdd(0xb1)](n[_0x28abdd(0xc1)]);if(!_0x13590a)throw new Error(_0x28abdd(0xb8));return _0x13590a['importFileToUnitId'](_0x1bec53,i[_0x28abdd(0xcc)]);}async['importXLSXToSnapshot'](_0x1bcb85){const _0x411430=_0x1f00b9,_0x50e600=this[_0x411430(0xc2)]['get'](n['IExchangeService']);if(!_0x50e600)throw new Error(_0x411430(0xb8));return _0x50e600[_0x411430(0xb2)](_0x1bcb85);}async['exportXLSXByUnitId'](_0x5267bc){const _0x2584f9=_0x1f00b9,_0x2372d0=this[_0x2584f9(0xc2)][_0x2584f9(0xb1)](n[_0x2584f9(0xc1)]);if(!_0x2372d0)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2372d0[_0x2584f9(0xc4)](_0x5267bc);}async[_0x1f00b9(0xb6)](_0x38864d){const _0x573347=_0x1f00b9,_0x2c3092=this[_0x573347(0xc2)]['get'](n[_0x573347(0xc1)]);if(!_0x2c3092)throw new Error(_0x573347(0xb8));return _0x2c3092[_0x573347(0xb6)](_0x38864d);}async['importDOCXToUnitId'](_0x1298b9){const _0x2800fd=_0x1f00b9,_0x5db777=this['_injector']['get'](n['IExchangeService']);if(!_0x5db777)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5db777[_0x2800fd(0xcd)](_0x1298b9,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x1a73d4){const _0xb24269=_0x1f00b9,_0x12af7d=this[_0xb24269(0xc2)][_0xb24269(0xb1)](n[_0xb24269(0xc1)]);if(!_0x12af7d)throw new Error(_0xb24269(0xb8));return _0x12af7d['importDOCXToSnapshot'](_0x1a73d4);}}c['FUniver']['extend'](o);