@univerjs-pro/exchange-client 0.5.1-nightly.202412211605 → 0.5.1-nightly.202412221605

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 _0x57de42=_0x22b4;(function(_0x2a27da,_0x2c2f41){const _0x6868d0=_0x22b4,_0xcdced8=_0x2a27da();while(!![]){try{const _0x3322d4=parseInt(_0x6868d0(0x17a))/0x1*(parseInt(_0x6868d0(0x189))/0x2)+parseInt(_0x6868d0(0x18d))/0x3*(-parseInt(_0x6868d0(0x191))/0x4)+-parseInt(_0x6868d0(0x17f))/0x5*(-parseInt(_0x6868d0(0x17d))/0x6)+-parseInt(_0x6868d0(0x194))/0x7*(parseInt(_0x6868d0(0x17c))/0x8)+-parseInt(_0x6868d0(0x177))/0x9*(parseInt(_0x6868d0(0x192))/0xa)+-parseInt(_0x6868d0(0x184))/0xb*(parseInt(_0x6868d0(0x181))/0xc)+parseInt(_0x6868d0(0x17e))/0xd;if(_0x3322d4===_0x2c2f41)break;else _0xcdced8['push'](_0xcdced8['shift']());}catch(_0x42a819){_0xcdced8['push'](_0xcdced8['shift']());}}}(_0x2d6d,0x20b24));function _0x2d6d(){const _0x110d3b=['2727996Khtgso','importFileToUnitId','UNIVER_DOC','11yTZFcz','UNRECOGNIZED','UNIVER_SLIDE','UNIVER_SHEET','get','57074YSvzNd','extend','IExchangeService','importXLSXToUnitId','6iALMTv','exportXLSXByUnitId','importDOCXToUnitId','UNIVER_PROJECT','505588HhPSDU','18740NcjOsc','UNIVER_UNKNOWN','7231qoXoFp','_injector','189HaMGGj','importXLSXToSnapshot','The\x20exchange\x20service\x20is\x20not\x20available','1AJQjKV','exportXLSXBySnapshot','1992Pbwmhz','6jTvzEb','9648626fFWsnh','699415zyZkEz','FUniver'];_0x2d6d=function(){return _0x110d3b;};return _0x2d6d();}const c=require('@univerjs/core'),n=require('@univerjs-pro/exchange-client');function _0x22b4(_0x18a276,_0x309926){const _0x2d6d41=_0x2d6d();return _0x22b4=function(_0x22b42f,_0x418499){_0x22b42f=_0x22b42f-0x176;let _0x1587c1=_0x2d6d41[_0x22b42f];return _0x1587c1;},_0x22b4(_0x18a276,_0x309926);}var i=(_0x9ced15=>(_0x9ced15[_0x9ced15[_0x57de42(0x193)]=0x0]='UNIVER_UNKNOWN',_0x9ced15[_0x9ced15[_0x57de42(0x183)]=0x1]='UNIVER_DOC',_0x9ced15[_0x9ced15[_0x57de42(0x187)]=0x2]=_0x57de42(0x187),_0x9ced15[_0x9ced15[_0x57de42(0x186)]=0x3]=_0x57de42(0x186),_0x9ced15[_0x9ced15[_0x57de42(0x190)]=0x4]=_0x57de42(0x190),_0x9ced15[_0x9ced15[_0x57de42(0x185)]=-0x1]='UNRECOGNIZED',_0x9ced15))(i||{});class o extends c[_0x57de42(0x180)]{async[_0x57de42(0x18c)](_0x4a7d9a){const _0x2a590f=_0x57de42,_0x24a813=this[_0x2a590f(0x176)][_0x2a590f(0x188)](n[_0x2a590f(0x18b)]);if(!_0x24a813)throw new Error(_0x2a590f(0x179));return _0x24a813['importFileToUnitId'](_0x4a7d9a,i[_0x2a590f(0x187)]);}async[_0x57de42(0x178)](_0x1e1080){const _0x1994da=_0x57de42,_0x25fea8=this[_0x1994da(0x176)]['get'](n[_0x1994da(0x18b)]);if(!_0x25fea8)throw new Error(_0x1994da(0x179));return _0x25fea8[_0x1994da(0x178)](_0x1e1080);}async[_0x57de42(0x18e)](_0x4d7e8f){const _0xdaba95=_0x57de42,_0x194711=this[_0xdaba95(0x176)][_0xdaba95(0x188)](n['IExchangeService']);if(!_0x194711)throw new Error(_0xdaba95(0x179));return _0x194711[_0xdaba95(0x18e)](_0x4d7e8f);}async[_0x57de42(0x17b)](_0x198694){const _0x269d07=_0x57de42,_0x280de8=this[_0x269d07(0x176)]['get'](n[_0x269d07(0x18b)]);if(!_0x280de8)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x280de8[_0x269d07(0x17b)](_0x198694);}async[_0x57de42(0x18f)](_0xf56003){const _0x2e9711=_0x57de42,_0x397f33=this[_0x2e9711(0x176)]['get'](n['IExchangeService']);if(!_0x397f33)throw new Error(_0x2e9711(0x179));return _0x397f33[_0x2e9711(0x182)](_0xf56003,i['UNIVER_DOC']);}async['importDOCXToSnapshot'](_0x563425){const _0x3a6cb5=_0x57de42,_0x30afef=this[_0x3a6cb5(0x176)][_0x3a6cb5(0x188)](n[_0x3a6cb5(0x18b)]);if(!_0x30afef)throw new Error(_0x3a6cb5(0x179));return _0x30afef['importDOCXToSnapshot'](_0x563425);}}c[_0x57de42(0x180)][_0x57de42(0x18a)](o);
1
+ 'use strict';const _0x638ca2=_0x55f0;(function(_0x4d77df,_0x17d2d8){const _0x3d88a2=_0x55f0,_0x107bbc=_0x4d77df();while(!![]){try{const _0xbac7ae=parseInt(_0x3d88a2(0xf4))/0x1*(parseInt(_0x3d88a2(0xf1))/0x2)+-parseInt(_0x3d88a2(0xfe))/0x3+parseInt(_0x3d88a2(0x101))/0x4+parseInt(_0x3d88a2(0xf2))/0x5+-parseInt(_0x3d88a2(0xeb))/0x6+-parseInt(_0x3d88a2(0xfa))/0x7+parseInt(_0x3d88a2(0x103))/0x8;if(_0xbac7ae===_0x17d2d8)break;else _0x107bbc['push'](_0x107bbc['shift']());}catch(_0x3c1857){_0x107bbc['push'](_0x107bbc['shift']());}}}(_0x461a,0x1f8e7));function _0x461a(){const _0x35ad13=['UNIVER_SHEET','2gvyBaB','UNIVER_DOC','get','UNIVER_UNKNOWN','exportXLSXByUnitId','@univerjs/core','1421749MYLKFp','importXLSXToSnapshot','UNIVER_SLIDE','importXLSXToUnitId','417444Qkycsx','The\x20exchange\x20service\x20is\x20not\x20available','extend','239904dUBDSi','FUniver','4143320PnDXJe','exportXLSXBySnapshot','importDOCXToSnapshot','IExchangeService','UNRECOGNIZED','1361706vitmBD','UNIVER_PROJECT','@univerjs-pro/exchange-client','importDOCXToUnitId','_injector','importFileToUnitId','65834RvTEEd','273680jjtWnz'];_0x461a=function(){return _0x35ad13;};return _0x461a();}function _0x55f0(_0x11ed77,_0x5172a8){const _0x461afe=_0x461a();return _0x55f0=function(_0x55f0a2,_0x234a97){_0x55f0a2=_0x55f0a2-0xeb;let _0x135c3d=_0x461afe[_0x55f0a2];return _0x135c3d;},_0x55f0(_0x11ed77,_0x5172a8);}const c=require(_0x638ca2(0xf9)),n=require(_0x638ca2(0xed));var i=(_0x3f7d58=>(_0x3f7d58[_0x3f7d58[_0x638ca2(0xf7)]=0x0]=_0x638ca2(0xf7),_0x3f7d58[_0x3f7d58[_0x638ca2(0xf5)]=0x1]=_0x638ca2(0xf5),_0x3f7d58[_0x3f7d58['UNIVER_SHEET']=0x2]=_0x638ca2(0xf3),_0x3f7d58[_0x3f7d58[_0x638ca2(0xfc)]=0x3]=_0x638ca2(0xfc),_0x3f7d58[_0x3f7d58['UNIVER_PROJECT']=0x4]=_0x638ca2(0xec),_0x3f7d58[_0x3f7d58[_0x638ca2(0x107)]=-0x1]=_0x638ca2(0x107),_0x3f7d58))(i||{});class o extends c['FUniver']{async[_0x638ca2(0xfd)](_0x37e209){const _0x3648fd=_0x638ca2,_0x50ab5b=this[_0x3648fd(0xef)][_0x3648fd(0xf6)](n[_0x3648fd(0x106)]);if(!_0x50ab5b)throw new Error(_0x3648fd(0xff));return _0x50ab5b[_0x3648fd(0xf0)](_0x37e209,i['UNIVER_SHEET']);}async['importXLSXToSnapshot'](_0x3a4c27){const _0x2b1035=_0x638ca2,_0x165380=this['_injector']['get'](n[_0x2b1035(0x106)]);if(!_0x165380)throw new Error(_0x2b1035(0xff));return _0x165380[_0x2b1035(0xfb)](_0x3a4c27);}async[_0x638ca2(0xf8)](_0x1e2b8a){const _0x449ffd=_0x638ca2,_0x188ecc=this[_0x449ffd(0xef)][_0x449ffd(0xf6)](n[_0x449ffd(0x106)]);if(!_0x188ecc)throw new Error(_0x449ffd(0xff));return _0x188ecc['exportXLSXByUnitId'](_0x1e2b8a);}async[_0x638ca2(0x104)](_0x21476a){const _0x361d32=_0x638ca2,_0xaf5094=this[_0x361d32(0xef)][_0x361d32(0xf6)](n[_0x361d32(0x106)]);if(!_0xaf5094)throw new Error(_0x361d32(0xff));return _0xaf5094[_0x361d32(0x104)](_0x21476a);}async[_0x638ca2(0xee)](_0xae4e20){const _0x58df0a=_0x638ca2,_0x5c96d7=this[_0x58df0a(0xef)]['get'](n[_0x58df0a(0x106)]);if(!_0x5c96d7)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5c96d7[_0x58df0a(0xf0)](_0xae4e20,i[_0x58df0a(0xf5)]);}async[_0x638ca2(0x105)](_0x4f6ceb){const _0x9ad2a5=_0x638ca2,_0x19ab9e=this[_0x9ad2a5(0xef)][_0x9ad2a5(0xf6)](n[_0x9ad2a5(0x106)]);if(!_0x19ab9e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x19ab9e[_0x9ad2a5(0x105)](_0x4f6ceb);}}c[_0x638ca2(0x102)][_0x638ca2(0x100)](o);