@univerjs-pro/exchange-client 0.5.1-nightly.202412180637 → 0.5.1-nightly.202412180944

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 _0xf948c2=_0xb03c;(function(_0x2a0600,_0x5b17ff){const _0x2890de=_0xb03c,_0x2bd7d7=_0x2a0600();while(!![]){try{const _0x63b50d=parseInt(_0x2890de(0x1bb))/0x1*(parseInt(_0x2890de(0x1c5))/0x2)+parseInt(_0x2890de(0x1be))/0x3*(parseInt(_0x2890de(0x1ca))/0x4)+parseInt(_0x2890de(0x1c9))/0x5*(-parseInt(_0x2890de(0x1b9))/0x6)+parseInt(_0x2890de(0x1c1))/0x7+-parseInt(_0x2890de(0x1c3))/0x8*(parseInt(_0x2890de(0x1c4))/0x9)+parseInt(_0x2890de(0x1c6))/0xa*(parseInt(_0x2890de(0x1b0))/0xb)+-parseInt(_0x2890de(0x1bc))/0xc;if(_0x63b50d===_0x5b17ff)break;else _0x2bd7d7['push'](_0x2bd7d7['shift']());}catch(_0x3ecd22){_0x2bd7d7['push'](_0x2bd7d7['shift']());}}}(_0x5cb6,0x550eb));const c=require(_0xf948c2(0x1c0)),n=require('@univerjs-pro/exchange-client');var i=(_0x3b5db0=>(_0x3b5db0[_0x3b5db0['UNIVER_UNKNOWN']=0x0]=_0xf948c2(0x1b7),_0x3b5db0[_0x3b5db0[_0xf948c2(0x1c8)]=0x1]='UNIVER_DOC',_0x3b5db0[_0x3b5db0[_0xf948c2(0x1cb)]=0x2]=_0xf948c2(0x1cb),_0x3b5db0[_0x3b5db0['UNIVER_SLIDE']=0x3]=_0xf948c2(0x1b5),_0x3b5db0[_0x3b5db0['UNIVER_PROJECT']=0x4]=_0xf948c2(0x1b3),_0x3b5db0[_0x3b5db0['UNRECOGNIZED']=-0x1]=_0xf948c2(0x1bd),_0x3b5db0))(i||{});class o extends c[_0xf948c2(0x1b2)]{async[_0xf948c2(0x1b4)](_0x3c0293){const _0x29eab4=_0xf948c2,_0x48cc5d=this['_injector']['get'](n['IExchangeService']);if(!_0x48cc5d)throw new Error(_0x29eab4(0x1ba));return _0x48cc5d[_0x29eab4(0x1b1)](_0x3c0293,i[_0x29eab4(0x1cb)]);}async[_0xf948c2(0x1b6)](_0x417eea){const _0x1b0752=_0xf948c2,_0x543613=this[_0x1b0752(0x1cd)]['get'](n[_0x1b0752(0x1bf)]);if(!_0x543613)throw new Error(_0x1b0752(0x1ba));return _0x543613[_0x1b0752(0x1b6)](_0x417eea);}async[_0xf948c2(0x1cc)](_0x55aac5){const _0x238198=_0xf948c2,_0x1d8b21=this['_injector'][_0x238198(0x1b8)](n[_0x238198(0x1bf)]);if(!_0x1d8b21)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d8b21[_0x238198(0x1cc)](_0x55aac5);}async[_0xf948c2(0x1c2)](_0x485ad7){const _0x3b5463=_0xf948c2,_0x16dc51=this[_0x3b5463(0x1cd)]['get'](n['IExchangeService']);if(!_0x16dc51)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x16dc51[_0x3b5463(0x1c2)](_0x485ad7);}async[_0xf948c2(0x1c7)](_0x1cc950){const _0x3aca31=_0xf948c2,_0xc7511d=this[_0x3aca31(0x1cd)][_0x3aca31(0x1b8)](n[_0x3aca31(0x1bf)]);if(!_0xc7511d)throw new Error(_0x3aca31(0x1ba));return _0xc7511d[_0x3aca31(0x1b1)](_0x1cc950,i[_0x3aca31(0x1c8)]);}async['importDOCXToSnapshot'](_0x1d6ff7){const _0x139d52=_0xf948c2,_0x54b187=this[_0x139d52(0x1cd)][_0x139d52(0x1b8)](n['IExchangeService']);if(!_0x54b187)throw new Error(_0x139d52(0x1ba));return _0x54b187['importDOCXToSnapshot'](_0x1d6ff7);}}c['FUniver']['extend'](o);function _0xb03c(_0x4ccdb1,_0x167037){const _0x5cb676=_0x5cb6();return _0xb03c=function(_0xb03c97,_0x463640){_0xb03c97=_0xb03c97-0x1b0;let _0x20b505=_0x5cb676[_0xb03c97];return _0x20b505;},_0xb03c(_0x4ccdb1,_0x167037);}function _0x5cb6(){const _0x5aabf5=['importFileToUnitId','FUniver','UNIVER_PROJECT','importXLSXToUnitId','UNIVER_SLIDE','importXLSXToSnapshot','UNIVER_UNKNOWN','get','6aNVsRJ','The\x20exchange\x20service\x20is\x20not\x20available','889JdEukR','4263972ZEPdyc','UNRECOGNIZED','3pjZPrV','IExchangeService','@univerjs/core','1213205lbqdav','exportXLSXBySnapshot','24IILPIw','152991Kvxzbm','1520ELoyCH','670cTMofj','importDOCXToUnitId','UNIVER_DOC','3361105PClCfN','1550032OGPoSx','UNIVER_SHEET','exportXLSXByUnitId','_injector','31273QrSPgj'];_0x5cb6=function(){return _0x5aabf5;};return _0x5cb6();}
1
+ 'use strict';const _0xbc0ef8=_0x3119;(function(_0x1e5e5b,_0x21104c){const _0x3d1c8f=_0x3119,_0xfeea15=_0x1e5e5b();while(!![]){try{const _0x3fa239=-parseInt(_0x3d1c8f(0x96))/0x1+parseInt(_0x3d1c8f(0xa7))/0x2*(parseInt(_0x3d1c8f(0xa2))/0x3)+-parseInt(_0x3d1c8f(0xa4))/0x4*(parseInt(_0x3d1c8f(0xa6))/0x5)+parseInt(_0x3d1c8f(0xa9))/0x6+parseInt(_0x3d1c8f(0xa8))/0x7*(-parseInt(_0x3d1c8f(0x9f))/0x8)+-parseInt(_0x3d1c8f(0x9a))/0x9*(parseInt(_0x3d1c8f(0x90))/0xa)+parseInt(_0x3d1c8f(0xa5))/0xb*(parseInt(_0x3d1c8f(0x98))/0xc);if(_0x3fa239===_0x21104c)break;else _0xfeea15['push'](_0xfeea15['shift']());}catch(_0xd57c17){_0xfeea15['push'](_0xfeea15['shift']());}}}(_0x33df,0xe8310));const c=require(_0xbc0ef8(0xa1)),n=require(_0xbc0ef8(0xa0));var i=(_0x2c928c=>(_0x2c928c[_0x2c928c['UNIVER_UNKNOWN']=0x0]=_0xbc0ef8(0x9d),_0x2c928c[_0x2c928c[_0xbc0ef8(0x8b)]=0x1]='UNIVER_DOC',_0x2c928c[_0x2c928c['UNIVER_SHEET']=0x2]=_0xbc0ef8(0x9e),_0x2c928c[_0x2c928c['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x2c928c[_0x2c928c[_0xbc0ef8(0x94)]=0x4]=_0xbc0ef8(0x94),_0x2c928c[_0x2c928c[_0xbc0ef8(0x92)]=-0x1]=_0xbc0ef8(0x92),_0x2c928c))(i||{});class o extends c[_0xbc0ef8(0xa3)]{async[_0xbc0ef8(0x99)](_0x4aca90){const _0x3dff49=_0xbc0ef8,_0x2f1441=this[_0x3dff49(0x93)][_0x3dff49(0x8e)](n[_0x3dff49(0x95)]);if(!_0x2f1441)throw new Error(_0x3dff49(0x91));return _0x2f1441[_0x3dff49(0x8d)](_0x4aca90,i[_0x3dff49(0x9e)]);}async[_0xbc0ef8(0x97)](_0x1a3447){const _0xfa19ae=_0xbc0ef8,_0xfc8637=this[_0xfa19ae(0x93)][_0xfa19ae(0x8e)](n[_0xfa19ae(0x95)]);if(!_0xfc8637)throw new Error(_0xfa19ae(0x91));return _0xfc8637[_0xfa19ae(0x97)](_0x1a3447);}async[_0xbc0ef8(0x8c)](_0x75dccb){const _0x1e990b=_0xbc0ef8,_0x5e06a4=this['_injector']['get'](n[_0x1e990b(0x95)]);if(!_0x5e06a4)throw new Error(_0x1e990b(0x91));return _0x5e06a4[_0x1e990b(0x8c)](_0x75dccb);}async[_0xbc0ef8(0x9c)](_0x15dca0){const _0x42343e=_0xbc0ef8,_0x296b80=this[_0x42343e(0x93)][_0x42343e(0x8e)](n[_0x42343e(0x95)]);if(!_0x296b80)throw new Error(_0x42343e(0x91));return _0x296b80['exportXLSXBySnapshot'](_0x15dca0);}async[_0xbc0ef8(0x8f)](_0x560a2e){const _0x1ccb5d=_0xbc0ef8,_0x371457=this['_injector'][_0x1ccb5d(0x8e)](n[_0x1ccb5d(0x95)]);if(!_0x371457)throw new Error(_0x1ccb5d(0x91));return _0x371457[_0x1ccb5d(0x8d)](_0x560a2e,i[_0x1ccb5d(0x8b)]);}async[_0xbc0ef8(0x9b)](_0x2ef179){const _0x5a6f3b=_0xbc0ef8,_0x2bd010=this[_0x5a6f3b(0x93)][_0x5a6f3b(0x8e)](n[_0x5a6f3b(0x95)]);if(!_0x2bd010)throw new Error(_0x5a6f3b(0x91));return _0x2bd010[_0x5a6f3b(0x9b)](_0x2ef179);}}function _0x33df(){const _0x26e934=['_injector','UNIVER_PROJECT','IExchangeService','1797625wVdpWW','importXLSXToSnapshot','4470072fKgulI','importXLSXToUnitId','101889WOaZLI','importDOCXToSnapshot','exportXLSXBySnapshot','UNIVER_UNKNOWN','UNIVER_SHEET','24lMwBSe','@univerjs-pro/exchange-client','@univerjs/core','123PoomsZ','FUniver','4520388oIFIJG','143kEuDal','5uXgTmN','5914NYRCCk','2965970ZJWjoI','6958194hGdcKR','UNIVER_DOC','exportXLSXByUnitId','importFileToUnitId','get','importDOCXToUnitId','860TEWHyH','The\x20exchange\x20service\x20is\x20not\x20available','UNRECOGNIZED'];_0x33df=function(){return _0x26e934;};return _0x33df();}function _0x3119(_0x4adcaa,_0x3d8567){const _0x33dff2=_0x33df();return _0x3119=function(_0x3119d6,_0x5ab1b8){_0x3119d6=_0x3119d6-0x8b;let _0x5743ea=_0x33dff2[_0x3119d6];return _0x5743ea;},_0x3119(_0x4adcaa,_0x3d8567);}c[_0xbc0ef8(0xa3)]['extend'](o);